@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --bg:           #EDEADF;
  --bg-card:      #F5F2EB;
  --olive:        #5C6B3A;
  --olive-dark:   #4A5630;
  --teal:         #2A6B7A;
  --teal-dark:    #1E5060;
  --text:         #2C2A26;
  --text-muted:   #7A7670;
  --border:       #D8D3C8;
  --cream:        #FAFAF7;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing (base-8) */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 80px;
  --s8: 96px;

  /* Shape */
  --radius:      16px;
  --radius-lg:   24px;
  --radius-full: 9999px;

  /* Elevation */
  --shadow:    0 2px 8px rgba(44, 42, 38, 0.07);
  --shadow-md: 0 6px 20px rgba(44, 42, 38, 0.10);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 280ms;

  /* Layout */
  --max-w: 1140px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul { list-style: none; }
p { max-width: 65ch; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s3);
}
.section        { padding-block: var(--s7); }
.section--sm    { padding-block: var(--s5); }

/* ============================================================
   NAVIGATION — retro-pop full-width, teal sólido
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1565C0;
}

/* Mobile: logo izquierda, hamburguesa derecha */
.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  width: 100%;
  padding-inline: var(--s3);
  padding-block: var(--s2);
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 2.75rem;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Menús izq/der — ocultos en mobile */
.nav__menu--left,
.nav__menu--right {
  display: none;
  align-items: center;
  list-style: none;
  gap: var(--s4);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: var(--s2);
}

/* Links: bold, mayúsculas, grandes */
.nav__link {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.82);
  padding-block: var(--s1);
  position: relative;
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--cream); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* CTA = mismo estilo que los demás en desktop */
.nav__link--cta {
  background: transparent;
  color: rgba(250, 250, 247, 0.82) !important;
  padding: 0 !important;
  border-radius: 0;
  min-height: auto;
  display: inline;
}
.nav__link--cta:hover { color: var(--cream) !important; background: transparent; }

/* Hamburger — líneas blancas */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--s1);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay oscuro (20% derecho cuando el menú está abierto) */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.nav__overlay.open { opacity: 1; pointer-events: auto; }

/* Panel lateral mobile — 80% ancho, slide desde izquierda */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 340px;
  height: 100vh;
  height: 100dvh;
  background: #1565C0;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 300ms cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  z-index: 99;
}
.nav__mobile-menu.open { transform: translateX(0); }

/* Header del panel */
.nav__mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(250,250,247,0.15);
  flex-shrink: 0;
}
.nav__mobile-header .nav__logo-mark { color: var(--cream); }
.nav__mobile-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.8;
  transition: opacity 200ms ease;
}
.nav__mobile-close:hover { opacity: 1; }
.nav__mobile-close svg { width: 22px; height: 22px; }

/* Items del menú */
.nav__mobile-items {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nav__mobile-item {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 20px 32px;
  border-bottom: 1px solid rgba(250,250,247,0.15);
  display: block;
  text-decoration: none;
  position: relative;
  transition: background 200ms ease;
}
.nav__mobile-item:hover { background: rgba(255,255,255,0.06); }
.nav__mobile-item[aria-current="page"]::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--cream);
}

/* CTA al final del menú */
.nav__mobile-cta-wrap { padding: 32px 24px 12px; }
.nav__mobile-cta {
  display: block;
  width: 100%;
  background: var(--cream);
  color: #1565C0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: opacity 200ms ease;
}
.nav__mobile-cta:hover { opacity: 0.88; }

/* Footer institucional */
.nav__mobile-footer {
  padding: 12px 24px 32px;
  margin-top: auto;
}
.nav__mobile-footer p {
  font-size: 0.75rem;
  color: rgba(250,250,247,0.55);
  text-align: center;
  max-width: none;
  line-height: 1.5;
}

/* Desktop: logo centrado, links distribuidos en todo el ancho */
@media (min-width: 768px) {
  .nav__container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    padding-inline: var(--s5);
    padding-block: var(--s3);
  }
  .nav__menu--left  {
    display: flex;
    justify-content: space-evenly;
    padding-right: var(--s4);
  }
  .nav__right { justify-content: flex-start; width: 100%; }
  .nav__menu--right {
    display: flex;
    justify-content: space-evenly;
    padding-left: var(--s4);
    flex: 1;
  }
  .nav__toggle      { display: none; }
  .nav__overlay,
  .nav__mobile-menu { display: none !important; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--olive);
  color: rgba(250, 250, 247, 0.8);
  padding-block: var(--s6);
}
.footer__container {
  display: grid;
  gap: var(--s4);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s3);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__logo-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 2rem;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.03em;
}
.footer__name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cream);
}
.footer__tagline {
  font-size: 0.8125rem;
  opacity: 0.55;
  max-width: none;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  align-items: flex-start;
}
.footer__nav a {
  font-size: 0.875rem;
  opacity: 0.65;
  transition: opacity var(--dur) var(--ease);
}
.footer__nav a:hover { opacity: 1; }
.footer__copy {
  font-size: 0.8125rem;
  opacity: 0.45;
  max-width: none;
  border-top: 1px solid rgba(250, 250, 247, 0.15);
  padding-top: var(--s3);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px var(--s4);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  min-height: 48px;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn--primary {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}
.btn--primary:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--olive);
  border-color: var(--olive);
}
.btn--outline:hover {
  background: var(--olive);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn--ghost-white {
  background: rgba(250, 250, 247, 0.12);
  color: var(--cream);
  border-color: rgba(250, 250, 247, 0.35);
}
.btn--ghost-white:hover {
  background: rgba(250, 250, 247, 0.22);
  transform: translateY(-1px);
}

/* ============================================================
   BADGE
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge--olive { background: rgba(92, 107, 58, 0.12); color: var(--olive); }
.badge--teal  { background: rgba(42, 107, 122, 0.12); color: var(--teal); }

/* ============================================================
   SECTION LABELS & HEADINGS (shared)
   ============================================================ */
.section__label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  text-align: center;
  margin-bottom: var(--s2);
  margin-inline: auto;
}
.section__heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  color: var(--teal);
  text-align: center;
  line-height: 1.15;
  margin-bottom: var(--s5);
}

/* ============================================================
   HERO V2 — Split 2 paneles (referencia Spark & Marnee)
   ============================================================ */
.hero-v2 {
  display: grid;
  grid-template-columns: 46fr 54fr;
  min-height: calc(100vh - 61px);
  max-height: 900px;
  overflow: hidden;
}

/* ── Panel izquierdo: crema + foto ── */
.hero-v2__left {
  background-image: url('foto hero.png');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: visible;
}

.hero-v2__photo-wrap {
  position: absolute;
  top: 50%;
  right: -22%;
  transform: translateY(-50%);
  width: min(48vw, 580px);
  aspect-ratio: 1 / 1;
  z-index: 5;
  clip-path: url(#scallop-clip);
}
.hero-v2__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

/* Badge circular en el hero */
.hero-v2__badge-wrap {
  position: absolute;
  bottom: var(--s4);
  left: var(--s4);
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.hero-v2__badge-wrap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 20s linear infinite;
}
.hero-v2__badge-center {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--teal);
  position: relative;
  z-index: 1;
}

/* Estrellas 4 puntas en panel izquierdo */
.hero-v2__star {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}
.hero-v2__star svg { display: block; }
.hero-v2__star--1 { top: 12%;  left: 6%;  width: 36px; }
.hero-v2__star--2 { top: 26%;  left: 14%; width: 18px; opacity: 0.8; }
.hero-v2__star--3 { bottom: 22%; left: 8%;  width: 28px; }
.hero-v2__star--4 { bottom: 12%; left: 17%; width: 14px; opacity: 0.7; }
/* Estrellas en panel olive */
.hero-v2__star--r1 { top: 9%;     right: 8%;  width: 30px; }
.hero-v2__star--r2 { bottom: 14%; right: 10%; width: 20px; opacity: 0.6; }
.hero-v2__star--r3 { bottom: 30%; right: 5%;  width: 14px; opacity: 0.4; }

/* ── Panel derecho: olive + texto ── */
.hero-v2__right {
  background: #3D7A1A;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* padding-left grande para dar espacio a la foto superpuesta + empujar texto a la derecha */
  padding: var(--s7) var(--s5) var(--s7) clamp(var(--s7), 18vw, 200px);
  position: relative;
  overflow: hidden;
}
.hero-v2__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: #1565C0;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: var(--s3);
  max-width: none;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease) forwards 0.1s;
}
.hero-v2__heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.75rem, 5.2vw, 5rem);
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: var(--s4);
  opacity: 0;
  animation: fadeUp 0.55s var(--ease) forwards 0.22s;
}
.hero-v2__sub {
  font-size: 1rem;
  color: rgba(250,250,247,0.72);
  line-height: 1.75;
  max-width: 36ch;
  margin-bottom: var(--s5);
  opacity: 0;
  animation: fadeUp 0.55s var(--ease) forwards 0.38s;
}
.hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  opacity: 0;
  animation: fadeUp 0.55s var(--ease) forwards 0.52s;
}
.hero-v2__btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--olive-dark);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--cream);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  letter-spacing: 0.01em;
}
.hero-v2__btn-main:hover {
  background: rgba(250,250,247,0.88);
  transform: translateY(-2px) rotate(-1.5deg);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.hero-v2__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cream);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(250,250,247,0.4);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.hero-v2__btn-ghost:hover {
  background: rgba(250,250,247,0.1);
  transform: translateY(-1px);
}

/* Mobile: stack vertical */
@media (max-width: 767px) {
  .hero-v2 {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
  }
  .hero-v2__left {
    height: 60vw;
    min-height: 260px;
    max-height: 380px;
  }
  .hero-v2__photo-wrap {
    /* En mobile: centrado en lugar de right:-22% que causa overflow */
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(82%, 290px);
    clip-path: url(#scallop-clip);
  }
  .hero-v2__badge-wrap {
    /* Badge más chico y reposicionado para no tapar la foto */
    width: 90px;
    height: 90px;
    bottom: var(--s1);
    left: var(--s3);
  }
  .hero-v2__right {
    padding: var(--s5) var(--s3);
    text-align: center;
    align-items: center;
  }
  .hero-v2__heading {
    font-size: clamp(3.25rem, 12vw, 5.5rem);
    text-align: center;
  }
  .hero-v2__eyebrow { text-align: center; }
  .hero-v2__sub { text-align: center; margin-inline: auto; }
  .hero-v2__actions { justify-content: center; }
  .hero-v2__star--1, .hero-v2__star--2,
  .hero-v2__star--3, .hero-v2__star--4 { display: none; }
}

/* Compat: keep .hero__badge-mark for spinning badge (kept in markup) */
.hero__badge-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--olive);
  position: relative;
  z-index: 1;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Marquee */
.marquee {
  background: #c787fa;
  padding-block: 13px;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--s4);
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__blob-wrap { width: 340px; }
  .hero__badge { right: 0; bottom: 10px; }
}

/* ============================================================
   ABOUT  (index.html)
   ============================================================ */
.about {
  padding-block: var(--s7);
  background: var(--bg-card);
  border-block: 1px solid var(--border);
}
.about__grid {
  display: grid;
  gap: var(--s6);
  align-items: center;
}
.about__label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: var(--s2);
}
.about__heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  color: var(--teal);
  line-height: 1.15;
  margin-bottom: var(--s3);
}
.about__text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--s2);
}
/* Decoración: badge circular + stats */
.about__deco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
}
.about__badge-wrap {
  width: 140px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about__badge-wrap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}
.about__badge-center {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--teal);
  position: relative;
  z-index: 1;
}
.about__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
  width: 100%;
}
.about__stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s3);
  text-align: center;
}
.about__stat-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.25rem;
  color: var(--teal);
  line-height: 1;
}
.about__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: none;
}

/* ============================================================
   SERVICES PREVIEW  (index.html)
   ============================================================ */
.services-grid {
  display: grid;
  gap: var(--s3);
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--olive);
  margin-bottom: var(--s3);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s1);
}
.service-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--s3);
}
.service-card__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.service-card__link:hover { gap: 9px; color: var(--teal-dark); }

/* ============================================================
   COTIZADOR
   ============================================================ */
.cotizador__card {
  max-width: 500px;
  margin-inline: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s5);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.cotizador__question {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--s4);
  margin-inline: auto;
}
.cotizador__stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  margin-bottom: var(--s4);
}
.cotizador__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              background var(--dur) var(--ease);
  flex-shrink: 0;
}
.cotizador__btn:hover:not(:disabled) {
  border-color: var(--olive);
  color: var(--olive);
  background: rgba(92, 107, 58, 0.06);
}
.cotizador__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.cotizador__hours-wrap { min-width: 80px; }
.cotizador__hours {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.cotizador__hours-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: none;
}
.cotizador__divider {
  height: 1px;
  background: var(--border);
  margin-block: var(--s4);
}
.cotizador__total {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #1565C0;
  line-height: 1.1;
  margin-bottom: var(--s1);
}
.cotizador__breakdown {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--s2);
  margin-inline: auto;
}
.cotizador__badge {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: #c787fa;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.cotizador__tiers {
  display: flex;
  justify-content: center;
  gap: var(--s3);
  flex-wrap: wrap;
}
.cotizador__tier {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}
.cotizador__tier-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background var(--dur) var(--ease);
}
.cotizador__tier--active { color: var(--olive); font-weight: 500; }
.cotizador__tier--active .cotizador__tier-dot { background: var(--olive); }

/* ============================================================
   CONTACT SPLIT — 2 columnas form + imagen
   ============================================================ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.contact-split__left {
  background: #1565C0;
  padding: var(--s7) var(--s6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-split__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.65);
  margin-bottom: var(--s2);
  max-width: none;
}
.contact-split__heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: var(--s2);
}
.contact-split__sub {
  font-size: 0.9375rem;
  color: rgba(250,250,247,0.72);
  margin-bottom: var(--s4);
  max-width: none;
}
.contact-split .form-group { margin-bottom: var(--s2); }
.contact-split__input,
.contact-split__textarea {
  width: 100%;
  background: var(--cream);
  border: none;
  border-radius: 8px;
  padding: 16px var(--s2);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  min-height: 52px;
  transition: box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
}
.contact-split__input:focus,
.contact-split__textarea:focus { box-shadow: 0 0 0 2px rgba(250,250,247,0.6); }
.contact-split__input::placeholder,
.contact-split__textarea::placeholder {
  color: rgba(44,42,38,0.4);
  letter-spacing: 0.03em;
}
.contact-split__textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.65;
}
.contact-split__btn {
  width: 100%;
  background: #c787fa;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: var(--s2);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.contact-split__btn:hover { background: #b865f5; transform: translateY(-1px); }
.contact-split .form-success {
  display: none;
  background: rgba(250,250,247,0.12);
  border: 1px solid rgba(250,250,247,0.3);
  border-radius: 8px;
  padding: var(--s3);
  color: var(--cream);
  text-align: center;
  line-height: 1.6;
  margin-top: var(--s3);
}
.contact-split__right {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.contact-split__right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-split__left { padding: var(--s5) var(--s3); }
  .contact-split__right { height: 280px; min-height: 0; }
}

/* ============================================================
   HOME CONTACT FORM
   ============================================================ */
.home-contact {
  background: var(--olive);
  padding-block: var(--s7);
}
.home-contact .section__label { color: rgba(250, 250, 247, 0.6); }
.home-contact .section__heading { color: var(--cream); }
.home-contact__form-wrap {
  max-width: 640px;
  margin-inline: auto;
}
.home-contact__sub {
  text-align: center;
  color: rgba(250, 250, 247, 0.72);
  font-size: 1rem;
  margin-inline: auto;
  margin-bottom: var(--s5);
}
.home-contact .form-label { color: rgba(250, 250, 247, 0.85); }
.home-contact .req { color: rgba(250, 250, 247, 0.6); }
.home-contact .form-input,
.home-contact .form-select,
.home-contact .form-textarea {
  background-color: rgba(250, 250, 247, 0.1);
  border-color: rgba(250, 250, 247, 0.25);
  color: var(--cream);
}
.home-contact .form-input::placeholder,
.home-contact .form-textarea::placeholder { color: rgba(250, 250, 247, 0.4); }
.home-contact .form-input:focus,
.home-contact .form-select:focus,
.home-contact .form-textarea:focus {
  border-color: rgba(250, 250, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(250, 250, 247, 0.1);
}
.home-contact .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(250,250,247,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.home-contact .form-select option { background: var(--olive-dark); color: var(--cream); }
.home-contact .btn--primary {
  background: var(--cream);
  color: var(--olive);
  border-color: var(--cream);
}
.home-contact .btn--primary:hover {
  background: rgba(250, 250, 247, 0.88);
  border-color: rgba(250, 250, 247, 0.88);
}
.home-contact .form-success {
  background: rgba(250, 250, 247, 0.12);
  border-color: rgba(250, 250, 247, 0.3);
  color: var(--cream);
}

/* ============================================================
   CTA BANNER  (shared)
   ============================================================ */
.cta-banner {
  background: var(--olive);
  padding-block: var(--s7);
  text-align: center;
}
.cta-banner__heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: var(--s2);
}
.cta-banner__sub {
  font-size: 1rem;
  color: rgba(250, 250, 247, 0.72);
  margin-bottom: var(--s4);
  margin-inline: auto;
}
.cta-banner__actions {
  display: flex;
  gap: var(--s2);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE BANNER  (servicios / testimonios / contacto)
   ============================================================ */
.page-banner {
  padding-block: var(--s7) var(--s5);
  border-bottom: 1px solid var(--border);
}
.page-banner__label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: var(--s2);
  text-align: center;
}
.page-banner__heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: var(--s3);
  text-align: center;
}
.page-banner__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 52ch;
  text-align: center;
}

/* ============================================================
   SERVICES FULL  (servicios.html)
   ============================================================ */
.service-full--color .service-full__icon    { color: #fff; }
.service-full--color .service-full__title   { color: #fff; }
.service-full--color .service-full__desc    { color: rgba(255,255,255,0.82); }
.service-full--color .service-full__meta-item { color: rgba(255,255,255,0.72); }
.service-full--color .service-full__meta-item svg { color: #fff; }
.service-full--color .badge { background: rgba(255,255,255,0.18); color: #fff; border: none; }
.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding-block: var(--s7);
}
.service-full {
  display: grid;
  gap: var(--s4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s5);
  box-shadow: var(--shadow);
  align-items: start;
}
.service-full__icon {
  width: 52px;
  height: 52px;
  color: var(--olive);
  flex-shrink: 0;
}
.service-full__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin-bottom: var(--s2);
}
.service-full__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  color: var(--teal);
  line-height: 1.2;
  margin-bottom: var(--s2);
}
.service-full__desc {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--s4);
}
.service-full__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}
.service-full__meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.service-full__meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--olive);
  flex-shrink: 0;
}

/* ============================================================
   CONTACTO — redesign con info cards + form block
   ============================================================ */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.contact-info-card {
  border-radius: 24px;
  padding: 32px;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
}
.contact-info-card__icon { width: 32px; height: 32px; flex-shrink: 0; }
.contact-info-card__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 24px;
  max-width: none;
  opacity: 0.75;
}
.contact-info-card__data {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.3;
  max-width: none;
}
.contact-info-card__sub {
  font-size: 0.875rem;
  font-weight: 400;
  margin-top: 8px;
  opacity: 0.65;
  max-width: none;
  line-height: 1.4;
}
/* Form block grande */
.contact-form-block {
  background: #3D7A1A;
  border-radius: 32px;
  padding: 80px 64px;
  margin-top: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-form-block__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
  max-width: none;
}
.contact-form-block__heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 16px;
}
.contact-form-block__sub {
  font-size: 1rem;
  color: rgba(250,250,247,0.8);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--s5);
  line-height: 1.6;
}
.contact-form-block__form {
  max-width: 560px;
  margin-inline: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cf-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
  max-width: none;
}
.cf-input, .cf-textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(250,250,247,0.2);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--cream);
  outline: none;
  min-height: 52px;
  transition: border-color var(--dur) var(--ease);
  -webkit-appearance: none;
}
.cf-input::placeholder, .cf-textarea::placeholder { color: rgba(250,250,247,0.45); }
.cf-input:focus, .cf-textarea:focus { border-color: rgba(250,250,247,0.5); }
.cf-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.cf-submit {
  width: 100%;
  background: #c787fa;
  color: var(--cream);
  border: none;
  border-radius: 12px;
  padding: 18px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cf-submit:hover { background: #b865f5; transform: translateY(-1px); }
.contact-form-block .form-success {
  display: none;
  color: var(--cream);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: var(--s3);
  text-align: center;
  margin-top: var(--s3);
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-card { aspect-ratio: auto; min-height: 200px; }
}
@media (max-width: 640px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
  .contact-form-block { padding: 48px 40px; }
}

/* ============================================================
   TESTIMONIALS — nuevo diseño editorial
   ============================================================ */
.testi-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.testi-card {
  border-radius: 24px;
  padding: 40px;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--dur) var(--ease);
}
.testi-card:hover { transform: translateY(-5px); }
.testi-card--offset { margin-top: 32px; }
.testi-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5.5rem;
  line-height: 0.75;
  opacity: 0.22;
  user-select: none;
  margin-bottom: var(--s1);
}
.testi-card__text {
  font-size: 1.0625rem;
  line-height: 1.68;
  font-style: normal;
  font-weight: 400;
  flex: 1;
  margin-top: var(--s2);
  max-width: none;
}
.testi-card__sparkle {
  text-align: center;
  margin-block: var(--s3);
  opacity: 0.45;
}
.testi-card__name {
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 8px;
  max-width: none;
}
.testi-card__pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .testi-grid-new { grid-template-columns: 1fr; }
  .testi-card--offset { margin-top: 0; }
  .testi-card { aspect-ratio: auto; min-height: 320px; }
}

/* ============================================================
   TESTIMONIALS  (testimonios.html)
   ============================================================ */
.testimonials-grid {
  display: grid;
  gap: var(--s3);
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--olive);
  opacity: 0.18;
  margin-bottom: -1rem;
  user-select: none;
}
.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testimonial-card__divider {
  height: 1px;
  background: var(--border);
}
.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.testimonial-card__name {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  max-width: none;
}
.testimonial-card__result {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--teal);
  text-transform: uppercase;
  max-width: none;
  margin-top: 2px;
}

/* ============================================================
   CONTACT  (contacto.html)
   ============================================================ */
.contact-grid {
  display: grid;
  gap: var(--s6);
}
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s5);
  box-shadow: var(--shadow);
}
.form-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.875rem;
  color: var(--teal);
  margin-bottom: var(--s4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s3);
}
.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.form-label .req { color: var(--teal); margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px var(--s2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 107, 122, 0.12);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7670' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}
.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--s1);
}
.form-success {
  display: none;
  background: rgba(92, 107, 58, 0.10);
  border: 1px solid rgba(92, 107, 58, 0.28);
  border-radius: var(--radius);
  padding: var(--s4);
  color: var(--olive);
  font-size: 0.9375rem;
  text-align: center;
  line-height: 1.6;
}
.contact-info-wrap { display: flex; flex-direction: column; gap: var(--s4); }
.contact-info-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.625rem;
  color: var(--teal);
  margin-bottom: var(--s3);
}
.contact-info-item {
  display: flex;
  gap: var(--s2);
  align-items: flex-start;
}
.contact-info-item svg {
  width: 22px;
  height: 22px;
  color: var(--olive);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-item__label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-info-item__value {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.55;
}
.contact-hours {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
}
.contact-hours-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--s2);
}
.contact-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  padding-block: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  gap: var(--s2);
}
.contact-hours-row:last-child { border-bottom: none; }
.contact-hours-row strong { color: var(--text); font-weight: 500; }

/* ============================================================
   FADE-UP ANIMATION (scroll-triggered)
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.52s var(--ease), transform 0.52s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up, .hero__eyebrow, .hero__heading, .hero__sub, .hero__actions {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   RETRO-POP / Y2K EXPRESIVO
   ============================================================ */

/* Hero con fondo oliva */
.hero--olive {
  background: var(--olive);
  padding-bottom: calc(var(--s7) + 50px);
}
.hero--olive .hero__eyebrow {
  color: rgba(250,250,247,0.6);
  letter-spacing: 0.18em;
}
.hero--olive .hero__heading {
  color: var(--cream);
  font-size: clamp(3.25rem, 9vw, 7rem);
  letter-spacing: -0.02em;
}
.hero--olive .hero__sub { color: rgba(250,250,247,0.72); }
.hero--olive .btn--primary {
  background: var(--cream);
  color: var(--olive-dark);
  border-color: var(--cream);
}
.hero--olive .btn--primary:hover {
  background: rgba(250,250,247,0.88);
  transform: translateY(-2px) rotate(-1deg);
}
.hero--olive .btn--outline {
  color: var(--cream);
  border-color: rgba(250,250,247,0.45);
}
.hero--olive .btn--outline:hover {
  background: rgba(250,250,247,0.12);
  transform: translateY(-2px) rotate(0.5deg);
}
.hero--olive .hero__blob-wrap {
  border: 4px solid rgba(250,250,247,0.2);
}

/* Sección teal para servicios */
.section--teal {
  background: #3D7A1A;
  position: relative;
  overflow: hidden;
  padding-top: var(--s7);
  padding-bottom: var(--s6);
}
.section--teal .section__label  { color: rgba(250,250,247,0.6); }
.section--teal .section__heading { color: var(--cream); }
.section--teal .service-card {
  background: var(--cream);
  border: 3px solid rgba(250,250,247,0.15);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.section--teal .service-card:hover {
  transform: translateY(-5px) rotate(-0.8deg);
  box-shadow: 0 12px 32px rgba(30,80,96,0.3);
}
.section--teal .service-card__title { color: var(--teal-dark); }
.section--teal .service-card__link  { color: var(--teal); }
.section--teal .service-card__link:hover { color: var(--teal-dark); }

/* Divisores de ola */
.wave-divider {
  display: block;
  line-height: 0;
  overflow: hidden;
  margin-top: -2px;
  margin-bottom: -2px;
}
.wave-divider svg { display: block; width: 100%; height: auto; }

/* Elementos decorativos */
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
  font-style: normal;
}
.deco--star {
  color: rgba(250,250,247,0.28);
  font-size: 1.4rem;
  animation: starPulse 3s ease-in-out infinite;
}
.deco--star-lg {
  color: rgba(250,250,247,0.15);
  font-size: 2.8rem;
  animation: starPulse 4.5s ease-in-out infinite 1.2s;
}
.deco--star-teal {
  color: rgba(42,107,122,0.22);
  font-size: 1.5rem;
  animation: starPulse 3.5s ease-in-out infinite 0.5s;
}
.deco--star-olive {
  color: rgba(92,107,58,0.22);
  font-size: 1.4rem;
  animation: starPulse 3s ease-in-out infinite 0.8s;
}
.deco--blob {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: rgba(250,250,247,0.07);
  width: 260px;
  height: 260px;
}
.deco--dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(250,250,247,0.25);
}
@keyframes starPulse {
  0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
  50%       { opacity: 1;   transform: scale(1.2) rotate(15deg); }
}

/* Texto fantasma en about */
.about {
  position: relative;
  overflow: hidden;
}
.about__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(5rem, 18vw, 14rem);
  color: rgba(42,107,122,0.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.02em;
}
.about > .container { position: relative; z-index: 1; }

/* Texto fantasma en teal section */
.section--teal__bg-text {
  position: absolute;
  bottom: -2%;
  right: -1%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 11rem);
  color: rgba(250,250,247,0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Patrón dot footer */
.footer {
  background-image: radial-gradient(rgba(250,250,247,0.12) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

/* Botones con micro-rotación */
.btn:active { transform: scale(0.97); }

/* ============================================================
   COTIZADOR — layout 2 columnas
   ============================================================ */
.cotizador__layout {
  display: grid;
  gap: var(--s6);
  align-items: center;
}
.cotizador__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
}
/* cuando está dentro del layout, la card no necesita centrarse */
.cotizador__layout .cotizador__card {
  max-width: none;
  margin-inline: 0;
}

/* sección cotizador con fondo de color */
.cotizador--dark {
  background: #1565C0;
  position: relative;
  overflow: hidden;
}
.cotizador--dark .about__label  { color: rgba(250,250,247,0.65); }
.cotizador--dark .about__heading { color: var(--cream); }
.cotizador--dark .about__text    { color: rgba(250,250,247,0.72); }
.cotizador--dark .btn--outline {
  color: var(--cream);
  border-color: rgba(250,250,247,0.5);
}
.cotizador--dark .btn--outline:hover {
  background: rgba(250,250,247,0.12);
  color: var(--cream);
}
.about__stat-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.about__stat-card--row {
  display: flex;
  align-items: baseline;
  gap: 0;
  text-align: left;
  padding: 10px var(--s2);
  background: #c787fa;
  border-color: transparent;
}
.about__stat-card--row .about__stat-number {
  flex: 0 0 120px;
  width: 120px;
  text-align: right;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  padding: 0;
}
.about__stat-card--row .about__stat-label {
  flex: 1;
  padding-left: 24px;
  margin-top: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: #fff;
  max-width: none;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .cotizador__layout { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PILLS CLUSTER — stickers decorativos flotantes
   ============================================================ */
.pills-cluster {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  height: 150px;
  pointer-events: none;
  z-index: 2;
}
.pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  line-height: 1;
}
.sparkle-deco {
  position: absolute;
  display: block;
}
@media (max-width: 767px) {
  .pills-cluster { display: none; }
}

/* ============================================================
   SVC-CARDS — nueva grilla editorial de servicios
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.svc-card {
  border-radius: 24px;
  aspect-ratio: 4/5;
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform var(--dur) var(--ease);
}
.svc-card:hover { transform: translateY(-6px); }
.svc-card--offset { margin-top: 40px; }
.svc-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.svc-card__text { flex: 1; }
.svc-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.15;
  margin-bottom: 10px;
}
.svc-card__desc {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  opacity: 0.8;
  max-width: 22ch;
}
.svc-card__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.6;
  color: inherit;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.svc-card__arrow:hover { opacity: 1; transform: scale(1.1); }
.svc-card__arrow svg  { width: 14px; height: 14px; }
.svc-card__illustration {
  height: 38%;
  display: flex;
  align-items: flex-end;
}
.svc-card__illustration svg { height: 100%; width: auto; opacity: 0.28; }

@media (max-width: 767px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card--offset { margin-top: 0; }
  .svc-card { aspect-ratio: auto; min-height: 280px; }
}

/* ============================================================
   TESTIMONIOS BANNER — 2 columnas texto + stat tiles
   ============================================================ */
.testi-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}
.testi-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
}
.testi-stat-tile {
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: var(--s3) var(--s3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.testi-stat-tile__number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #fff;
  line-height: 1;
  font-weight: 700;
}
.testi-stat-tile__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  max-width: none;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .testi-banner-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICIOS BANNER — 2 columnas con blob orgánico
   ============================================================ */
.svc-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}
.svc-blob-wrap {
  position: relative;
  width: min(420px, 42vw);
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.svc-blob-shadow {
  position: absolute;
  inset: 0;
  background: #c787fa;
  clip-path: url(#flower-clip);
  transform: translate(-24px, -24px);
  opacity: 0.55;
  z-index: 0;
}
.svc-blob-img {
  position: absolute;
  inset: 0;
  clip-path: url(#flower-clip);
  z-index: 1;
}
.svc-blob-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
@media (max-width: 767px) {
  .svc-banner-grid { grid-template-columns: 1fr; }
  .svc-blob-wrap { width: min(300px, 70vw); margin-top: var(--s4); }
}

/* ============================================================
   PAGE BANNER DARK — banners con fondo de color (páginas internas)
   ============================================================ */
.page-banner--dark {
  padding-bottom: calc(var(--s5) + 50px);
  position: relative;
  overflow: hidden;
}
.page-banner--dark .page-banner__label {
  display: inline-block;
  color: rgba(250,250,247,0.8);
  background: rgba(255,255,255,0.15);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-bottom: var(--s3);
}
.page-banner--dark .page-banner__heading {
  color: var(--cream);
  font-size: clamp(3rem, 6.5vw, 5.25rem);
}
.page-banner--dark .page-banner__sub {
  color: rgba(250,250,247,0.72);
  margin-inline: auto;
}

/* ============================================================
   WORD CYCLE — título animado del hero
   ============================================================ */
.word-cycle {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.1;
}
.word-cycle__current {
  display: inline-block;
  font-weight: 900;
  font-style: italic;
}
@keyframes wordSlideOut {
  from { transform: translateY(0);     opacity: 1; }
  to   { transform: translateY(-110%); opacity: 0; }
}
@keyframes wordSlideIn {
  from { transform: translateY(110%);  opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* ============================================================
   RESPONSIVE — 768px+
   ============================================================ */
@media (min-width: 768px) {
  .about__grid          { grid-template-columns: 1fr 1fr; }
  .services-grid        { grid-template-columns: repeat(3, 1fr); }
  .service-full         { grid-template-columns: 72px 1fr; }
  .testimonials-grid    { grid-template-columns: repeat(2, 1fr); }
  .contact-grid         { grid-template-columns: 1fr 1fr; }
  .footer__container    { grid-template-columns: 1fr auto; align-items: start; }
  .footer__copy         { grid-column: 1 / -1; }
}

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

/* ============================================================
   RESPONSIVE — Mobile (max 767px)
   ============================================================ */
@media (max-width: 767px) {
  .hero { padding-block: var(--s6) var(--s5); }
  .service-full { padding: var(--s4); }
  .nav__overlay { display: block; }
  .nav__mobile-menu { display: flex; }

  /* nav__menu--left/right hidden (defined in nav section)
     nav__mobile-menu handles mobile overlay */
  .nav__menu {
    position: fixed;
    inset: 0;
    top: 65px;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: var(--s3);
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    border-top: 1px solid var(--border);
    overflow-y: auto;
  }
  .nav__menu.open { transform: translateX(0); }

  .nav__link {
    font-size: 1.0625rem;
    padding: var(--s2);
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .nav__link--cta {
    margin-top: var(--s2);
    justify-content: center;
    text-align: center;
    padding: var(--s2) var(--s4) !important;
    border-radius: var(--radius-full);
  }

  .hero { padding-block: var(--s6) var(--s5); }
  .hero__decoration { display: none; }
  .about__photo { width: 200px; height: 200px; font-size: 3.25rem; }
  .service-full { padding: var(--s4); }
}
