/* ============================================
   Tarifa Mantenimiento & Pintura — Design System v2
   Art Direction: Mediterranean, Editorial, Premium
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

/* --- Tokens --- */
:root {
  --yellow:       #E9C94A;
  --yellow-soft:  #F3E3A0;
  --yellow-hover: #d4b63e;
  --yellow-glow:  rgba(233,201,74,0.15);
  --teal:         #0E4B53;
  --teal-mid:     #234E5A;
  --teal-light:   #2d6a75;
  --teal-pale:    rgba(14,75,83,0.06);
  --black:        #1A1A1A;
  --white:        #ffffff;
  --ivory:        #F7F5EF;
  --gray:         #E9E6DD;
  --gray-mid:     #B8B4AA;
  --gray-dark:    #5A5750;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  --max-width: 1180px;
  --nav-height: 76px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-yellow: 0 4px 20px rgba(233,201,74,0.25);
  --shadow-teal: 0 4px 24px rgba(14,75,83,0.2);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--black);
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.15;
  color: var(--black);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
}

p {
  color: var(--gray-dark);
  max-width: 60ch;
}

.text-serif {
  font-family: var(--font-display);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-2xl);
  }
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-5xl) 0;
  }
}

.section--ivory { background: var(--ivory); }
.section--white { background: var(--white); }
.section--gray  { background: var(--gray); }

.section--teal {
  background: var(--teal);
  color: var(--white);
}
.section--teal h2,
.section--teal h3,
.section--teal h4 { color: var(--white); }
.section--teal p { color: rgba(255,255,255,0.8); }

.section--dark {
  background: var(--black);
  color: var(--white);
}
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.6); }

/* Section Headers */
.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header--center {
  text-align: center;
}

.section-header__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: var(--space-md);
}

.section-header__tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--yellow);
}

.section--teal .section-header__tag {
  color: var(--yellow);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.05rem;
  max-width: 540px;
}

.section-header--center p {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  box-shadow: var(--shadow-yellow);
}
.btn--primary:hover {
  background: var(--yellow-hover);
  border-color: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(233,201,74,0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--secondary:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn--white {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn--small {
  padding: 0.6rem 1.3rem;
  font-size: 0.82rem;
}

.btn--large {
  padding: 1rem 2.4rem;
  font-size: 1rem;
}

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(247, 245, 239, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--gray);
  box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__logo-text {
  line-height: 1.1;
}

.nav__logo-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--black);
  letter-spacing: -0.01em;
}

.nav__logo-subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-mid);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal-mid);
  position: relative;
  padding: 4px 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta { margin-left: var(--space-lg); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 10001;
}

.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--teal);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    background-color: var(--ivory);
    padding: var(--space-3xl) var(--space-lg);
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 10000;
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__links a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--teal);
  }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-md);
    width: 100%;
  }

  .nav__cta .btn { width: 100%; }

  .nav__hamburger { display: flex; }

  .nav__hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .nav__hamburger.open span:nth-child(2) { opacity: 0; }
  .nav__hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* ===========================
   HERO — Editorial Composition
   =========================== */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: 0;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  min-height: calc(100vh - var(--nav-height) - var(--space-2xl));
  padding-bottom: var(--space-3xl);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: var(--space-xl);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: var(--teal-pale);
  border: 1px solid rgba(14,75,83,0.1);
}

.hero__tag svg {
  width: 14px;
  height: 14px;
  color: var(--yellow);
}

.hero__title {
  margin-bottom: var(--space-lg);
  position: relative;
}

.hero__title span {
  color: var(--teal);
  position: relative;
}

.hero__title span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--yellow-soft);
  z-index: -1;
  opacity: 0.7;
}

.hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--gray-dark);
  font-weight: 500;
}

.hero__trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

/* Hero Visual Panel */
.hero__visual {
  position: relative;
}

.hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero__card-image {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--gray) 0%, rgba(14,75,83,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__card-image svg {
  width: 80px;
  height: 80px;
  opacity: 0.1;
  color: var(--teal);
}

.hero__card-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--teal) 100%);
}

.hero__card-bottom {
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__card-bottom p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  font-style: italic;
}

.hero__card-badge {
  background: var(--teal);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Decorative logo watermark behind hero */
.hero__watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 500px;
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
}

/* Hero wave bottom */
.hero__wave-bottom {
  position: relative;
  margin-top: -1px;
}

.hero__wave-bottom svg {
  display: block;
  width: 100%;
  height: 60px;
}

@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-3xl));
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    min-height: auto;
    padding-bottom: var(--space-4xl);
  }

  .hero__wave-bottom svg {
    height: 80px;
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 55% 45%;
    gap: var(--space-4xl);
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

/* ===========================
   SERVICES — Premium Cards
   =========================== */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  border: 1px solid var(--gray);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--teal));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--teal-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: background var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--yellow-soft);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--black);
}

.service-card p {
  font-size: 0.88rem;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================
   IDEAL PARA
   =========================== */
.ideal__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.ideal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.ideal-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray);
  transition: all var(--transition);
}

.ideal-item:hover {
  border-color: var(--yellow-soft);
  box-shadow: var(--shadow-sm);
}

.ideal-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ideal-item__icon svg {
  width: 20px;
  height: 20px;
}

.ideal-item h3 { font-size: 0.95rem; margin-bottom: 2px; }
.ideal-item p { font-size: 0.82rem; }

@media (min-width: 768px) {
  .ideal__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ideal__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================
   CASOS HABITUALES
   =========================== */
.casos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.caso-card {
  background: var(--ivory);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.caso-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.caso-card__image {
  height: 140px;
  background: linear-gradient(160deg, var(--gray) 0%, rgba(14,75,83,0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.caso-card__image svg {
  width: 36px;
  height: 36px;
  color: var(--gray-mid);
  opacity: 0.35;
}

.caso-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--teal);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.caso-card__content {
  padding: var(--space-lg);
  flex: 1;
}

.caso-card h3 {
  color: var(--teal);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.caso-card p {
  font-size: 0.82rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .casos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================
   BENEFITS — Por qué elegirnos
   =========================== */
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.benefit-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--yellow-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-item__icon svg {
  width: 20px;
  height: 20px;
  color: var(--yellow);
}

.benefit-item h3 {
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.benefit-item p { font-size: 0.84rem; }

@media (min-width: 768px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--space-3xl);
  }
}

/* ===========================
   GALLERY — Before / After
   =========================== */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray);
  background: var(--white);
  transition: all var(--transition);
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
}

.gallery-item__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.gallery-item__side {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
}

.gallery-item__side--before {
  background: linear-gradient(135deg, #ccc8bf 0%, #bfbbb2 100%);
}

.gallery-item__side--after {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--white) 100%);
}

.gallery-item__side svg {
  width: 28px;
  height: 28px;
  color: var(--gray-mid);
  opacity: 0.4;
}

.gallery-item__label {
  position: absolute;
  top: var(--space-sm);
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.gallery-item__side--before .gallery-item__label {
  left: var(--space-sm);
  background: rgba(0,0,0,0.2);
  color: var(--white);
}

.gallery-item__side--after .gallery-item__label {
  right: var(--space-sm);
  background: var(--yellow);
  color: var(--black);
}

.gallery-item__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 2;
}

.gallery-item__divider::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--teal);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gallery-item__caption {
  padding: var(--space-md) var(--space-lg);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-align: center;
  border-top: 1px solid var(--gray);
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item__side { height: 200px; }
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================
   PROCESS — Timeline
   =========================== */
.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step__number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-yellow);
}

/* Connecting line between steps */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 52px;
  left: 25px;
  width: 2px;
  bottom: 0;
  background: var(--yellow-soft);
}

.process-step__content { padding-top: var(--space-sm); }

.process-step h3 {
  margin-bottom: 4px;
  color: var(--teal);
}

.process-step p { font-size: 0.88rem; }

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--ivory);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  border: 1px solid var(--gray);
  position: relative;
}

.testimonial-card__quote {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--yellow-soft);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-card__stars svg {
  width: 15px;
  height: 15px;
  fill: var(--yellow);
}

.testimonial-card p {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
  color: var(--gray-dark);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--black);
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--gray-mid);
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================
   CONTACT — CTA + FORM
   =========================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact__info { padding: var(--space-lg) 0; }

.contact__info h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.contact__info > p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
  max-width: 460px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.contact__detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.65;
}

.contact__detail a:hover {
  color: var(--yellow);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Form */
.contact__form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-xl) var(--space-2xl);
  box-shadow: var(--shadow-xl);
}

.contact__form h3 {
  color: var(--teal);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-mid);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  border: 1.5px solid var(--gray);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  color: var(--black);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,75,83,0.08);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-mid);
}

.contact__form .btn {
  width: 100%;
  margin-top: var(--space-sm);
}

@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact__info { padding: var(--space-2xl) 0; }
}

/* ===========================
   FOOTER — Dark, Branded
   =========================== */
.footer {
  background: #111210;
  color: rgba(255,255,255,0.6);
  padding: var(--space-3xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.footer__wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.footer__wave svg {
  display: block;
  width: 100%;
  height: 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding-top: var(--space-xl);
}

.footer__brand img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: var(--space-md);
}

.footer__brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer h4 {
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--yellow); }

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__contact-info a,
.footer__contact-info span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__contact-info a:hover { color: var(--yellow); }

.footer__contact-info svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.4;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  align-items: center;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===========================
   WAVE SEPARATORS
   =========================== */
.wave-separator {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-separator svg {
  display: block;
  width: 100%;
  height: 50px;
}

@media (min-width: 768px) {
  .wave-separator svg {
    height: 70px;
  }
}

/* ===========================
   ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-in:nth-child(2) { transition-delay: 0.07s; }
.stagger > .fade-in:nth-child(3) { transition-delay: 0.14s; }
.stagger > .fade-in:nth-child(4) { transition-delay: 0.21s; }
.stagger > .fade-in:nth-child(5) { transition-delay: 0.28s; }
.stagger > .fade-in:nth-child(6) { transition-delay: 0.35s; }
.stagger > .fade-in:nth-child(7) { transition-delay: 0.42s; }

/* ===========================
   STRIPE / ACCENT BAR
   =========================== */
.accent-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow) 50%, var(--teal) 50%, var(--teal) 100%);
}
