/* ═══════════════════════════════════════════════════════════════════════
   DANIELA CORREDOR — Psicóloga Clínica
   Design tokens, base, layout, components, sections, responsive
   ═══════════════════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────────────────── */
:root {
  /* Brand colors */
  --c-green:        #587a4e;
  --c-green-dark:   #3e5937;
  --c-green-light:  #6e9462;
  --c-green-subtle: #eef3ec;
  --c-beige:        #F2E5DE;
  --c-beige-dark:   #e8d5cb;
  --c-white:        #FFFFFF;
  --c-black:        #0e1510;
  --c-text:         #1c1c1c;
  --c-text-muted:   #5a5a5a;
  --c-text-light:   #8a8a8a;
  --c-whatsapp:     #25d366;

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, -apple-system, sans-serif;

  /* Scale */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md:   1.125rem;  /* 18px */
  --text-lg:   1.25rem;   /* 20px */
  --text-xl:   1.5rem;    /* 24px */
  --text-2xl:  2rem;      /* 32px */
  --text-3xl:  2.5rem;    /* 40px */
  --text-4xl:  3rem;      /* 48px */
  --text-5xl:  3.75rem;   /* 60px */
  --text-6xl:  4.5rem;    /* 72px */

  /* Spacing (8pt grid) */
  --sp-1:  0.25rem;   /* 4px  */
  --sp-2:  0.5rem;    /* 8px  */
  --sp-3:  0.75rem;   /* 12px */
  --sp-4:  1rem;      /* 16px */
  --sp-5:  1.25rem;   /* 20px */
  --sp-6:  1.5rem;    /* 24px */
  --sp-8:  2rem;      /* 32px */
  --sp-10: 2.5rem;    /* 40px */
  --sp-12: 3rem;      /* 48px */
  --sp-16: 4rem;      /* 64px */
  --sp-20: 5rem;      /* 80px */
  --sp-24: 6rem;      /* 96px */
  --sp-32: 8rem;      /* 128px */

  /* Layout */
  --max-w:      1280px;
  --nav-h:      104px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full:9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.10), 0 4px 16px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.06);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   400ms;
  --dur-reveal: 700ms;
}

/* ── RESET & BASE ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { object-fit: cover; }

a { text-decoration: none; color: inherit; transition: color var(--dur-fast) var(--ease-out); }
ul, ol { list-style: none; }

em { font-style: italic; }
strong { font-weight: 600; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-green-dark);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  transition: top var(--dur-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* ── LAYOUT UTILITIES ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

section {
  padding: var(--sp-20) 0;
}

/* ── TYPOGRAPHY UTILITIES ────────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}

.section-title em {
  color: var(--c-green);
  font-style: italic;
  font-weight: 700;
}

.section-desc {
  font-size: var(--text-md);
  color: var(--c-text-muted);
  max-width: 540px;
}

.section-header {
  margin-bottom: var(--sp-12);
}

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

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

/* ── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  white-space: nowrap;
  touch-action: manipulation;
  min-height: 48px;
}

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

.btn--primary {
  background: var(--c-green);
  color: var(--c-white);
  border-color: var(--c-green);
}
.btn--primary:hover {
  background: var(--c-green-dark);
  border-color: var(--c-green-dark);
  box-shadow: 0 8px 24px rgba(88,122,78,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--c-white);
}

.btn--outline {
  background: transparent;
  color: var(--c-green);
  border-color: var(--c-green);
}
.btn--outline:hover {
  background: var(--c-green);
  color: var(--c-white);
}

.btn--white {
  background: var(--c-white);
  color: var(--c-green-dark);
  border-color: var(--c-white);
}
.btn--white:hover {
  background: var(--c-beige);
  border-color: var(--c-beige);
}

.btn--whatsapp {
  background: var(--c-whatsapp);
  color: var(--c-white);
  border-color: var(--c-whatsapp);
  font-size: var(--text-md);
  padding: 18px 36px;
}
.btn--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  box-shadow: 0 12px 32px rgba(37,211,102,.40);
}

.btn--lg  { padding: 16px 32px; font-size: var(--text-md); min-height: 52px; }
.btn--xl  { padding: 20px 44px; font-size: var(--text-lg); min-height: 60px; }
.btn--full { width: 100%; justify-content: center; }

/* ── TAGS ────────────────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--c-green-subtle);
  color: var(--c-green-dark);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid rgba(88,122,78,.15);
}

/* ── SCROLL REVEAL ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
}

.reveal--right {
  transform: translateX(32px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition:
    background var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out),
    backdrop-filter var(--dur-slow) var(--ease-out);
}

.nav.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), var(--shadow-sm);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: var(--radius-md);
  transition: background var(--dur-slow) var(--ease-out), padding var(--dur-slow) var(--ease-out);
}

.nav.scrolled .nav__logo {
  background: var(--c-green);
  padding: 6px 12px;
}

.nav__logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 3px 14px rgba(0,0,0,.5)) brightness(1.1);
  transition: transform .2s ease;
}
.nav__logo:hover .nav__logo-img {
  transform: scale(1.05);
}

.nav__logo-text {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--c-white);
  transition: color var(--dur-fast) var(--ease-out);
  line-height: 1.2;
}

.nav.scrolled .nav__logo-text { color: var(--c-green-dark); }

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(var(--sp-3), 2vw, var(--sp-6));
  margin-left: auto;
  flex-shrink: 1;
  min-width: 0;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,.85);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--c-green);
  border-radius: 2px;
  transition: width var(--dur-base) var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
  color: var(--c-white);
}

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

.nav.scrolled .nav__link { color: var(--c-text-muted); }
.nav.scrolled .nav__link:hover,
.nav.scrolled .nav__link.active { color: var(--c-green); }

/* ══ LINK FLORES DE BACH ════════════════════════════════════════════ */
.nav__link--flores {
  color: var(--c-green-light, #587a4e) !important;
  font-weight: 600;
}
.nav.scrolled .nav__link--flores { color: var(--c-green, #3e5937) !important; }
.nav__link--flores:hover { color: var(--c-green-dark, #2a3d25) !important; }

/* Flores de Bach — link especial en menú móvil */
.nav__mobile-link--flores {
  color: var(--c-green, #3e5937) !important;
  font-weight: 600;
}

/* Portal link — discret, pequeño candado */
.nav__portal-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.nav__portal-link:hover {
  color: var(--c-white);
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.1);
}

.nav.scrolled .nav__portal-link {
  color: var(--c-text-muted);
  border-color: var(--c-border);
}

.nav.scrolled .nav__portal-link:hover {
  color: var(--c-green);
  border-color: var(--c-green);
  background: var(--c-green-subtle);
}

/* Portal en menú móvil */
.nav__mobile-portal {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans) !important;
  font-size: var(--text-sm) !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text-muted) !important;
  border: 1px solid var(--c-border);
  padding: 10px 20px;
  border-radius: var(--radius-full);
}

.nav__mobile-portal:hover {
  color: var(--c-green) !important;
  border-color: var(--c-green);
  background: var(--c-green-subtle);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.nav__hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition:
    transform var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}

.nav.scrolled .nav__hamburger-bar { background: var(--c-text); }

.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--c-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  padding: var(--sp-20) var(--sp-8);
  overflow-y: auto;
}

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

.nav__mobile nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  width: 100%;
}

.nav__mobile-link {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--c-text);
  transition: color var(--dur-fast) var(--ease-out),
              padding-left var(--dur-fast) var(--ease-out);
  position: relative;
  padding-left: 0;
  width: 100%;
  text-align: left;
}

.nav__mobile-link:hover {
  color: var(--c-green);
  padding-left: var(--sp-3);
}

.nav__mobile-cta {
  margin-top: var(--sp-4);
  width: 100%;
  max-width: 280px;
}

/* ══════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,18,12,.78) 0%,
    rgba(42,61,37,.65) 45%,
    rgba(10,18,12,.50) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-20) var(--sp-6) 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--sp-12);
}

.hero__content {
  align-self: center;
  padding-bottom: var(--sp-20);
}

/* Text */
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: var(--sp-4);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--c-white);
  margin-bottom: var(--sp-6);
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: italic;
  color: #a8c99f;
}

.hero__subtitle {
  font-size: var(--text-md);
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  max-width: 480px;
  margin-bottom: var(--sp-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* Logo + eyebrow en fila horizontal */
.hero__brand-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.hero__logo-inline {
  width: clamp(64px, 7vw, 96px);
  height: auto;
  object-fit: contain;
  /* logo.png es blanco/transparente — se ve directo sobre el fondo oscuro del hero */
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.4));
  flex-shrink: 0;
}

/* Photo wrap — foto pegada al fondo */
.hero__photo-wrap {
  display: flex;
  align-items: flex-end;
}

.hero__photo-frame {
  position: relative;
  width: clamp(270px, 34vw, 460px);
}

.hero__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255,255,255,.15);
}

.hero__badge {
  position: absolute;
  bottom: var(--sp-6);
  right: calc(-1 * var(--sp-6));
  left: auto;
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  box-shadow: var(--shadow-lg);
}

.hero__badge-number {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--c-green);
  line-height: 1;
}

.hero__badge-text {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--c-text-muted);
  line-height: 1.4;
}

/* Photo — sin fondo (PNG transparente) */
.hero__photo--nobg {
  aspect-ratio: unset;
  height: auto;
  border-radius: 0;
  border: none;
  box-shadow: none;
  object-fit: unset;
  background: transparent;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,.45));
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  z-index: 1;
  opacity: .6;
  transition: opacity var(--dur-base);
}

.hero__scroll-hint:hover { opacity: 1; }

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero__scroll-label {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.15); }
}

/* ══════════════════════════════════════════════════════════════════════
   SI ESTO TE PASA
   ══════════════════════════════════════════════════════════════════════ */
.pain {
  background: var(--c-beige);
}

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

.pain .section-header .section-desc {
  margin: 0 auto;
}

.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

.pain__card {
  background: var(--c-white);
  padding: var(--sp-8);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  border: 1px solid rgba(88,122,78,.08);
}

/* Formas de nube — cada tarjeta tiene su propia silueta orgánica */
.pain__card:nth-child(1) { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; }
.pain__card:nth-child(2) { border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%; }
.pain__card:nth-child(3) { border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%; }
.pain__card:nth-child(4) { border-radius: 40% 60% 45% 55% / 60% 40% 55% 45%; }
.pain__card:nth-child(5) { border-radius: 55% 45% 50% 50% / 45% 55% 40% 60%; }
.pain__card:nth-child(6) { border-radius: 45% 55% 55% 45% / 55% 45% 55% 45%; }

.pain__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pain__icon {
  width: 56px;
  height: 56px;
  background: var(--c-green-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  transition: background var(--dur-base) var(--ease-out);
}

.pain__card:hover .pain__icon {
  background: var(--c-green);
}

.pain__card:hover .pain__icon svg path,
.pain__card:hover .pain__icon svg circle {
  stroke: var(--c-white);
}

.pain__icon svg path,
.pain__icon svg circle {
  transition: stroke var(--dur-base) var(--ease-out);
}

.pain__card-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
  line-height: 1.15;
}

.pain__card-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--c-text-muted);
}

.pain__cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}

.pain__cta-text {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--c-text);
}

/* ══════════════════════════════════════════════════════════════════════
   SOBRE MÍ
   ══════════════════════════════════════════════════════════════════════ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

/* Photo column */
.about__photo-wrap {
  position: relative;
}

.about__photo {
  width: 100%;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-xl);
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.about__photo-accent {
  position: absolute;
  inset: var(--sp-4) calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)) var(--sp-4);
  background: var(--c-green-subtle);
  border-radius: var(--radius-xl);
  z-index: 0;
}

/* Content column */
.about__content .section-title {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.about__text {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-5);
}

.about__text strong { color: var(--c-text); }

/* Stats */
.about__stats {
  display: flex;
  gap: var(--sp-8);
  margin: var(--sp-8) 0;
  padding: var(--sp-6) 0;
  border-top: 1px solid rgba(0,0,0,.07);
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.about__stat-number {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--c-green);
  line-height: 1;
}

.about__stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--c-text-muted);
  max-width: 100px;
  line-height: 1.4;
}

/* Tags */
.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}

/* ══════════════════════════════════════════════════════════════════════
   CÓMO TRABAJO
   ══════════════════════════════════════════════════════════════════════ */
.process {
  background:
    linear-gradient(rgba(242,229,222,.86), rgba(232,213,203,.90)),
    url('images/fondo 2.png') center / cover no-repeat;
}

.process__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.process__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--sp-5);
  align-items: start;
}

.process__step-number {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--c-green);
  line-height: 1;
  opacity: .4;
  transition: opacity var(--dur-base) var(--ease-out);
}

.process__step:hover .process__step-number { opacity: 1; }

.process__step-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-2);
  line-height: 1.2;
}

.process__step-text {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--c-text-muted);
}

/* Image with quote */
.process__image-wrap {
  position: relative;
  top: var(--sp-8);
}

.process__image {
  width: 100%;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-xl);
}

.process__quote {
  position: absolute;
  bottom: var(--sp-8);
  left: calc(-1 * var(--sp-8));
  right: var(--sp-8);
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-8);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--c-green);
}

.process__quote p {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.5;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}

.process__quote cite {
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 500;
  color: var(--c-green);
}

/* ══════════════════════════════════════════════════════════════════════
   SERVICIOS
   ══════════════════════════════════════════════════════════════════════ */
.services .section-header { text-align: center; }
.services .section-header .section-title { margin: 0 auto; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  align-items: stretch;
  max-width: 860px;
  margin: 0 auto;
}

.services__hc-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-10);
  padding: var(--sp-8) var(--sp-6);
  background: var(--c-beige);
  border-radius: var(--radius-xl);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.services__hc-text {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 480px;
  line-height: 1.6;
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--c-green);
  border-radius: var(--radius-full);
  color: var(--c-green);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}

.btn--outline:hover {
  background: var(--c-green);
  color: var(--c-white);
}

.service-card {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  border: 1px solid rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

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

.service-card--featured {
  background: var(--c-green);
  color: var(--c-white);
  border-color: var(--c-green);
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.service-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 24px 64px rgba(88,122,78,.35);
}

.service-card__badge {
  position: absolute;
  top: calc(-1 * var(--sp-4));
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-beige-dark);
  color: var(--c-green-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--c-green-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green);
}

.service-card--featured .service-card__icon {
  background: rgba(255,255,255,.15);
  color: var(--c-white);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 2.5vw, var(--text-3xl));
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text);
}

.service-card--featured .service-card__title { color: var(--c-white); }

.service-card__desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--c-text-muted);
}

.service-card--featured .service-card__desc { color: rgba(255,255,255,.8); }

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.service-card__list li {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  padding-left: var(--sp-5);
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--c-green);
  border-radius: 50%;
}

.service-card--featured .service-card__list li { color: rgba(255,255,255,.75); }
.service-card--featured .service-card__list li::before { background: rgba(255,255,255,.6); }

/* ── PRICING ROWS ────────────────────────────────────────────────────── */
.service-card__pricing {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-green-subtle);
  border-radius: var(--radius-md);
  border: 1px solid rgba(88,122,78,.12);
}

.service-card__pricing--featured {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-1) 0;
}

.price-row__label {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}

.price-row__value {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-green);
  white-space: nowrap;
}

.price-row--highlight {
  padding-top: var(--sp-2);
  margin-top: var(--sp-1);
  border-top: 1px solid rgba(88,122,78,.15);
}

.price-row--highlight .price-row__label { font-weight: 500; color: var(--c-text); }
.price-row--highlight .price-row__value { color: var(--c-green-dark); }

/* Featured card overrides */
.service-card--featured .price-row__label { color: rgba(255,255,255,.75); }
.service-card--featured .price-row__value { color: var(--c-white); }
.service-card--featured .price-row--highlight-featured { border-top-color: rgba(255,255,255,.2); }
.service-card--featured .price-row--highlight-featured .price-row__label { color: var(--c-white); }

/* ── PROCESS IMAGE SIN FONDO ────────────────────────────────────────── */
.process__image--nobg {
  aspect-ratio: unset;
  height: auto;
  object-fit: unset;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  filter: drop-shadow(0 16px 48px rgba(62,89,55,.25));
}

.process__image-wrap:has(.process__image--nobg) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.process__image-wrap:has(.process__image--nobg) .process__quote {
  position: static;
  margin-top: var(--sp-4);
  left: auto; right: auto;
}

/* ══════════════════════════════════════════════════════════════════════
   TESTIMONIOS
   ══════════════════════════════════════════════════════════════════════ */
.testimonials {
  background:
    linear-gradient(rgba(255,255,255,.80), rgba(242,229,222,.88)),
    url('images/fondo 2.png') center / cover no-repeat;
}

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

.testimonials__track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.testimonial-card {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  border: 1px solid rgba(88,122,78,.08);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

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

.testimonial-card__stars { flex-shrink: 0; }

.testimonial-card__quote {
  flex: 1;
}

.testimonial-card__quote p {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.65;
  color: var(--c-text);
}

.testimonial-card__quote p::before { content: '\201C'; }
.testimonial-card__quote p::after  { content: '\201D'; }

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(0,0,0,.06);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  background: var(--c-green);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--c-text);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--c-text-light);
  margin-top: 2px;
}

/* Dots */
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(88,122,78,.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    width var(--dur-base) var(--ease-out);
  min-width: 8px;
  min-height: 8px;
}

.testimonials__dot--active {
  background: var(--c-green);
  width: 24px;
  border-radius: 4px;
}

.testimonials__dot:hover:not(.testimonials__dot--active) {
  background: rgba(88,122,78,.5);
  transform: scale(1.2);
}

/* ══════════════════════════════════════════════════════════════════════
   RESEÑAS
   ══════════════════════════════════════════════════════════════════════ */
.reviews { background: var(--c-white); }
.reviews .section-desc { margin: 0 auto; }

/* ── Carrusel ── */
.reviews__carousel-wrap {
  margin-top: var(--sp-10);
}

.reviews__carousel {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.carousel__viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.carousel__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.carousel__page {
  width: 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  padding: var(--sp-2) var(--sp-1);
}

.carousel__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(88,122,78,.25);
  background: var(--c-white);
  color: var(--c-green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.carousel__arrow:hover:not(:disabled) {
  background: var(--c-green);
  border-color: var(--c-green);
  color: var(--c-white);
  transform: scale(1.08);
}
.carousel__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(88,122,78,.22);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  padding: 0;
}
.carousel__dot--active,
.carousel__dot:hover {
  background: var(--c-green);
  transform: scale(1.25);
}

.reviews__empty {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--c-text-light);
  font-size: var(--text-lg);
  text-align: center;
  padding: var(--sp-12) 0;
}

/* ── Formulario (debajo del carrusel) ── */
.reviews__form-wrap {
  margin-top: var(--sp-10);
}

.reviews__form-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--sp-5);
}

.reviews__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.reviews__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  background: var(--c-beige);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  border: 1px solid var(--c-beige-dark);
}

.reviews__form-field { display: flex; flex-direction: column; gap: var(--sp-2); position: relative; }

.reviews__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text);
}
.reviews__label span { color: var(--c-green); }

.reviews__input,
.reviews__textarea {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--c-text);
  background: var(--c-white);
  border: 1.5px solid rgba(88,122,78,.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  resize: none;
  min-height: 44px;
}
.reviews__input:focus,
.reviews__textarea:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(88,122,78,.15);
}

.reviews__char-count {
  font-size: var(--text-xs);
  color: var(--c-text-light);
  text-align: right;
  margin-top: -var(--sp-1);
}

.reviews__submit { margin-top: var(--sp-2); }

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(5px); }
}
.shake { animation: shake 0.4s var(--ease-inout); }

.reviews__hint {
  font-size: var(--text-xs);
  color: var(--c-text-light);
  line-height: 1.5;
  font-style: italic;
}

.reviews__privacy {
  font-size: var(--text-xs);
  color: var(--c-text-light);
  text-align: center;
  line-height: 1.5;
}

/* ── Estrellas picker ── */
.star-picker {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: var(--sp-1);
}

.star-picker__input { display: none; }

.star-picker__label {
  font-size: 2.4rem;
  color: #d0d0d0;
  cursor: pointer;
  line-height: 1;
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  user-select: none;
}

.star-picker__label:hover,
.star-picker__label:hover ~ .star-picker__label,
.star-picker__input:checked ~ .star-picker__label,
.star-picker__input:checked + .star-picker__label {
  color: #f5b731;
}

.star-picker__label:hover { transform: scale(1.2); }

/* ── Tarjeta de reseña ── */
.review-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  border: 1px solid rgba(88,122,78,.1);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  animation: reviewIn 0.4s var(--ease-out) both;
}

@keyframes reviewIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.review-card__stars { color: #f5b731; font-size: var(--text-lg); letter-spacing: 2px; }

.review-card__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--c-text);
  line-height: 1.6;
}

.review-card__footer {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(0,0,0,.06);
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-green);
  color: var(--c-white);
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text);
}

.review-card__date {
  font-size: var(--text-xs);
  color: var(--c-text-light);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .reviews__form-row { grid-template-columns: 1fr; }
  .carousel__page { grid-template-columns: repeat(2, 1fr); }
  .carousel__arrow { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
  .carousel__page { grid-template-columns: 1fr; }
  .carousel__arrow { display: none; }
  .carousel__dots { gap: var(--sp-3); }
  .carousel__dot { width: 12px; height: 12px; }
}

/* ══════════════════════════════════════════════════════════════════════
   CTA FINAL
   ══════════════════════════════════════════════════════════════════════ */
.cta-final {
  position: relative;
  padding: var(--sp-32) 0;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.cta-final__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,18,12,.88) 0%,
    rgba(42,61,37,.82) 100%
  );
}

.cta-final__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  text-align: center;
}

.cta-final__eyebrow {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--sp-4);
}

.cta-final__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--c-white);
  margin-bottom: var(--sp-6);
  letter-spacing: -0.01em;
}

.cta-final__title em {
  font-style: italic;
  color: #a8c99f;
}

.cta-final__text {
  font-size: var(--text-md);
  line-height: 1.75;
  color: rgba(255,255,255,.7);
  margin-bottom: var(--sp-10);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final .container {
  display: flex;
  justify-content: center;
}

.cta-final__note {
  margin-top: var(--sp-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
}

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--c-black);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Brand col */
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.footer__logo-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  opacity: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}

.footer__logo-text {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--c-white);
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  max-width: 260px;
  margin-bottom: var(--sp-5);
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}

.footer__social-link:hover {
  background: var(--c-green);
  color: var(--c-white);
}

/* Nav cols */
.footer__col-title {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: var(--sp-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__link:hover { color: var(--c-white); }

.footer__link--contact {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Bottom */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.25);
}

/* ══════════════════════════════════════════════════════════════════════
   WHATSAPP FLOAT
   ══════════════════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 900;
  width: 76px;
  height: 76px;
  background: var(--c-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,.50);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}

.whatsapp-float:active {
  transform: scale(0.96);
}

.whatsapp-float__icon {
  flex-shrink: 0;
}

/* Tooltip */
.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + var(--sp-3));
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-text);
  color: var(--c-white);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--c-text);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

/* Pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--c-whatsapp);
  opacity: 0;
  transform: scale(1);
}

.whatsapp-float.pulse::before {
  animation: waPulse 1s ease-out forwards;
}

@keyframes waPulse {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.6); }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ══════════════════════════════════════════════════════════════════════ */
/* ══ LAPTOP / DESKTOP — 1280px a 1600px ════════════════════════════ */
@media (min-width: 1280px) and (max-width: 1600px) {
  /* Mantiene max-w de :root (1280px) — no lo reduce */

  /* Hero más amplio */
  .hero__photo-frame { width: clamp(320px, 32vw, 490px); }

  /* Cards con más espacio */
  .pain__grid,
  .how__grid      { gap: var(--sp-8); }

  /* Secciones con generoso aire vertical */
  section         { padding: var(--sp-24) 0; }

  /* Servicios más anchos */
  .services__grid,
  .services__hc-cta { max-width: 1020px; }

  /* About section — más espacio entre columnas */
  .about__inner   { gap: var(--sp-20); }
}

/* ══ PANTALLAS GRANDES — más de 1600px (monitores de escritorio) ═══ */
@media (min-width: 1600px) {
  :root {
    --max-w: 1440px;
    --nav-h: 110px;
  }

  .hero__title   { font-size: clamp(4rem, 6vw, 7rem); }
  .section-title { font-size: clamp(3rem, 5vw, 5.5rem); }

  .hero__photo-frame { width: clamp(380px, 28vw, 540px); }

  section { padding: var(--sp-32) 0; }

  .container { padding: 0 var(--sp-8); }

  /* Servicios y about más anchos */
  .services__grid,
  .services__hc-cta { max-width: 1200px; }

  .about__inner     { gap: var(--sp-24); }
  .about__text      { font-size: var(--text-md); }
}

@media (max-width: 1200px) {
  .nav__link,
  .nav__dropdown-toggle {
    font-size: .78rem;
    white-space: nowrap !important;
  }
  .nav__links { gap: var(--sp-3); }
}
@media (max-width: 1080px) {
  .nav__link,
  .nav__dropdown-toggle {
    font-size: .73rem;
    white-space: nowrap !important;
  }
  .nav__links { gap: var(--sp-2); }
}

@media (max-width: 1024px) {

  .hero__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero__content {
    max-width: 600px;
  }

  .hero__subtitle { max-width: 100%; }
  .hero__actions  { justify-content: center; }

  .hero__photo-wrap {
    order: -1;
  }

  .hero__photo-frame {
    width: min(240px, 55vw);
  }

  .hero__badge {
    right: calc(-1 * var(--sp-2));
  }

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

  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .about__photo-col {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .about__stats {
    gap: var(--sp-6);
  }

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

  .process__image-wrap {
    top: 0;
    max-width: 480px;
    margin: 0 auto;
  }

  .process__quote {
    left: var(--sp-4);
    right: var(--sp-4);
    bottom: var(--sp-6);
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .service-card--featured:hover {
    transform: translateY(-4px);
  }

  .testimonials__track {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  :root { --nav-h: 72px; }

  .container { padding: 0 var(--sp-4); }
  section     { padding: var(--sp-16) 0; }

  /* ── Nav mobile ──────────────────────────────────────── */
  .nav__links     { display: none; }
  .nav__hamburger { display: flex; }

  /* Logo más pequeño para que quepa en 72px */
  .nav__logo-img  { width: 48px; height: 48px; }
  .nav__inner     { padding: 0 var(--sp-4); gap: var(--sp-3); }

  /* Cuando el menú está abierto: nav con fondo blanco para que se vea la X */
  body.menu-open .nav {
    background: var(--c-white);
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
  }
  body.menu-open .nav__hamburger-bar { background: var(--c-text); }
  body.menu-open .nav__logo-text     { color: var(--c-green-dark); }

  /* Menú móvil — alineado arriba con espacio para la nav */
  .nav__mobile {
    justify-content: flex-start;
    padding: calc(var(--nav-h) + var(--sp-6)) var(--sp-6) var(--sp-16);
    gap: 0;
    overflow-y: auto;
    max-height: 100dvh;
  }

  .nav__mobile nav {
    gap: var(--sp-3);
    width: 100%;
    align-items: flex-start;
    padding: 0;
  }

  /* Links compactos y legibles en móvil */
  .nav__mobile-link {
    font-size: 1.35rem;
    padding: var(--sp-2) 0;
  }

  /* Botón cerrar — visible dentro del menú en la esquina */
  .nav__mobile-close {
    position: absolute;
    top: 18px;
    right: var(--sp-5);
    background: var(--c-green-subtle);
    border: none;
    cursor: pointer;
    padding: var(--sp-2);
    display: flex;
    color: var(--c-green-dark);
    border-radius: var(--radius-sm);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: background var(--dur-fast);
  }
  .nav__mobile-close:hover { background: #d4e8cc; }

  /* Portal button en mobile */
  .nav__mobile-portal {
    margin-top: var(--sp-3);
    align-self: flex-start;
    text-align: left;
  }

  /* CTA button en mobile */
  .nav__mobile-cta {
    margin-top: var(--sp-5);
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero__inner {
    padding: var(--sp-12) var(--sp-4);
    gap: var(--sp-8);
  }

  .hero__photo-frame { width: min(220px, 55vw); }

  .hero__badge {
    right: 0;
    padding: var(--sp-2) var(--sp-3);
  }

  .hero__badge-number { font-size: var(--text-xl); }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Pain */
  .pain__grid { grid-template-columns: 1fr; }

  .pain__card { padding: var(--sp-6); }

  /* About */
  .about__stats {
    flex-direction: column;
    gap: var(--sp-4);
    align-items: flex-start;
  }

  /* Process */
  .process__step {
    grid-template-columns: 48px 1fr;
    gap: var(--sp-4);
  }

  .process__quote {
    position: static;
    margin-top: var(--sp-4);
  }

  /* Services */
  .service-card { padding: var(--sp-8) var(--sp-6); }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer__col--brand { grid-column: auto; }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-2);
  }

  /* WhatsApp float */
  .whatsapp-float {
    bottom: var(--sp-4);
    right: var(--sp-4);
    width: 52px;
    height: 52px;
  }

  /* CTA Final */
  .cta-final { padding: var(--sp-16) 0; }

  .cta-final__title { font-size: var(--text-3xl); }
}

/* ══════════════════════════════════════════════════════════════════════
   BOLD PAYMENT BUTTONS
   ══════════════════════════════════════════════════════════════════════ */
.bold-btns {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: 1.25rem;
}
.btn-bold {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .72rem 1rem;
  border-radius: 10px;
  font-size: .83rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  gap: .5rem;
  line-height: 1;
  font-family: var(--font-sans);
}
.btn-bold:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.13); }
.btn-bold:active { transform: translateY(0); }
.btn-bold__label { display: flex; align-items: center; gap: .4rem; }
.btn-bold__price {
  font-size: .75rem;
  font-weight: 700;
  padding: .18rem .5rem;
  border-radius: 6px;
  background: rgba(0,0,0,.09);
  white-space: nowrap;
}
.btn-bold--solid {
  background: var(--c-green-dark);
  color: #fff;
}
.btn-bold--outline {
  background: transparent;
  color: var(--c-green-dark);
  border: 1.5px solid var(--c-green-dark);
}
.btn-bold--white-solid {
  background: #fff;
  color: var(--c-green-dark);
}
.btn-bold--white-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn-bold--white-outline .btn-bold__price { background: rgba(255,255,255,.18); }
.bold-note {
  font-size: .72rem;
  color: var(--c-text-muted);
  text-align: center;
  margin-top: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
}

/* ══════════════════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════════════════ */
@media print {
  .nav, .whatsapp-float, .hero__scroll-hint { display: none; }
  .hero { min-height: auto; padding: var(--sp-8) 0; }
  .hero__bg, .hero__overlay, .cta-final__bg, .cta-final__overlay { display: none; }
  .hero__title, .hero__subtitle, .hero__eyebrow { color: var(--c-text); }
}
