/* AquaSol Lavado — Autolavado profesional · España */

:root {
  --ocean: #0077b6;
  --ocean-dark: #023e8a;
  --ocean-light: #00a8cc;
  --aqua: #90e0ef;
  --gold: #ffc400;
  --gold-dark: #e6a800;
  --red: #c60b1e;
  --white: #ffffff;
  --cream: #f4f9fc;
  --gray-100: #e9ecef;
  --gray-500: #6c757d;
  --gray-800: #212529;
  --ink: #1b263b;
  --shadow: 0 12px 40px rgba(2, 62, 138, 0.12);
  --shadow-lg: 0 24px 64px rgba(2, 62, 138, 0.18);
  --radius: 14px;
  --radius-xl: 28px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 91vw);
  margin-inline: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ocean-dark);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--gray-500);
  max-width: 58ch;
  font-size: 1.07rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  background: rgba(244, 249, 252, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 119, 182, 0.08);
  transition: box-shadow var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ocean-dark);
}

.logo-text span {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--ease);
}

.nav-desktop a:hover {
  color: var(--ocean);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 119, 182, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--ocean-dark);
  box-shadow: 0 8px 24px rgba(255, 196, 0, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ocean-dark);
  border-radius: 2px;
  transition: var(--ease);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--gray-100);
}

.mobile-nav.open {
  display: flex;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    rgba(2, 62, 138, 0.88) 0%,
    rgba(0, 119, 182, 0.72) 45%,
    rgba(0, 168, 204, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat span {
  font-size: 0.88rem;
  opacity: 0.85;
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  font-size: 1.8rem;
}

.trust-item strong {
  font-size: 0.95rem;
  color: var(--ocean-dark);
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-lead {
  margin-inline: auto;
}

/* Services */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-body {
  padding: 1.5rem;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ocean-dark);
  margin-bottom: 0.5rem;
}

.service-body p {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ocean);
}

.service-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-500);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-features {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
  color: var(--white);
  border-radius: 12px;
  font-size: 1.3rem;
}

.about-feature h4 {
  font-size: 1rem;
  color: var(--ocean-dark);
  margin-bottom: 0.25rem;
}

.about-feature p {
  font-size: 0.92rem;
  color: var(--gray-500);
}

/* Gallery */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(2, 62, 138, 0.85));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: border-color var(--ease), transform var(--ease);
}

.pricing-card.featured {
  border-color: var(--ocean);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.pricing-card.featured::before {
  content: "Más popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ocean-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ocean-dark);
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ocean);
  margin: 1rem 0;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-500);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100);
}

.pricing-features li::before {
  content: "✓ ";
  color: var(--ocean);
  font-weight: 700;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--gray-500);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--aqua));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ocean-dark);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean));
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}

.cta-section .section-title {
  color: var(--white);
}

.cta-section .section-lead {
  color: rgba(255, 255, 255, 0.85);
  margin-inline: auto;
  margin-bottom: 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto 1rem;
}

.contact-form input,
.contact-form select {
  padding: 0.9rem 1.1rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus {
  outline: 2px solid var(--gold);
}

.contact-form .full-width {
  grid-column: 1 / -1;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(255, 196, 0, 0.2);
  border-radius: var(--radius);
  margin-top: 1rem;
  font-weight: 600;
}

.form-success.visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  transition: color var(--ease);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

.spanish-flag {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
}

.spanish-flag span {
  display: inline-block;
  width: 12px;
  height: 8px;
}

.spanish-flag span:nth-child(1),
.spanish-flag span:nth-child(3) {
  background: var(--red);
}

.spanish-flag span:nth-child(2) {
  background: var(--gold);
}

/* Responsive */
@media (max-width: 960px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:first-child {
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    gap: 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
