/* ============================================
   Cristina Pérez González — Psicóloga Sanitaria
   Hoja de estilos principal
   ============================================ */

/* ---------- Tipografías (auto-alojadas: más rápido y sin depender de terceros) ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  src: url('fonts/playfair-display.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 500 600;
  font-style: italic;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('fonts/lato-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('fonts/lato-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('fonts/lato-700.woff2') format('woff2');
}

:root {
  --beige: #F2EDE6;
  --rosa: #E8BFB8;
  --verde: #B8C9B0;
  --marron-oscuro: #2A1E16;
  --marron-medio: #524030;
  --acento: #C4A99E;

  --white: #FFFFFF;

  --font-title: 'Playfair Display', serif;
  --font-subtitle: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;

  --shadow-soft: 0 10px 26px rgba(42, 30, 22, 0.13);
  --shadow-card: 0 16px 44px rgba(42, 30, 22, 0.16);
  --shadow-lift: 0 30px 70px rgba(42, 30, 22, 0.24);

  --surface-alt: #FBF8F2;

  --ease-out: cubic-bezier(.16,.8,.28,1);
  --ease-soft: cubic-bezier(.22,.61,.36,1);

  --container-w: 1320px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; scroll-snap-type: y proximity; }
section[id] { scroll-margin-top: 92px; scroll-snap-align: start; }
.site-footer { scroll-snap-align: start; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--marron-oscuro);
  background-color: var(--beige);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.32 0 0 0 0 0.25 0 0 0 0 0.19 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; color: var(--marron-oscuro); margin: 0 0 .5em; line-height: 1.2; text-wrap: balance; }
h2 { text-shadow: 0 4px 30px rgba(255,255,255,.7), 0 1px 4px rgba(255,255,255,.5); }
p { margin: 0 0 1em; }
button { font-family: inherit; }
:focus-visible { outline: 2.5px solid var(--acento); outline-offset: 3px; }
::selection { background: var(--rosa); color: var(--marron-oscuro); }
html { scrollbar-color: var(--acento) var(--beige); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--beige); }
::-webkit-scrollbar-thumb { background: var(--acento); border-radius: 999px; border: 3px solid var(--beige); }
::-webkit-scrollbar-thumb:hover { background: var(--marron-medio); }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

section.section { position: relative; padding: 110px 0; overflow: hidden; }
.section-alt { background: var(--surface-alt); box-shadow: inset 0 1px 0 rgba(82,64,48,.06), inset 0 -1px 0 rgba(82,64,48,.06); }

.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  position: relative;
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  text-shadow: 0 4px 30px rgba(255,255,255,.7), 0 1px 4px rgba(255,255,255,.5), 0 16px 28px rgba(196,169,158,.3);
  filter: blur(7px);
  transform: scale(1.045);
  transition: filter 1s var(--ease-soft), transform 1s var(--ease-soft);
}
.section-head.is-visible h2 { filter: blur(0); transform: scale(1); }
.about-text h2, .contact-text h2 { position: relative; }

/* mancha de acuarela detrás de cada título, para dar profundidad */
.section-head h2::before,
.about-text h2::before,
.contact-text h2::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 340px; height: 150px;
  transform: translate(-50%, -50%);
  background: var(--rosa);
  filter: blur(34px);
  opacity: .32;
  mix-blend-mode: multiply;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  animation: morph 15s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}
.about-text h2::before { left: 0; transform: translate(-8%, -50%); background: var(--verde); }
#servicios h2::before { background: var(--acento); }
#areas-trabajo h2::before { background: var(--rosa); }
#como-trabajo h2::before { background: var(--verde); }
#consulta h2::before { background: var(--acento); }
#testimonios h2::before { background: var(--verde); }
#faq h2::before { background: var(--rosa); }
.contact-text h2::before { left: 0; transform: translate(-4%, -50%); background: var(--acento); }
.section-lead { font-size: 1.1rem; color: var(--marron-medio); }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--marron-oscuro);
  background: var(--white);
  border: 1px solid rgba(82,64,48,.12);
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.trust-chip svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--acento); }
.section-emblem-wrap {
  position: relative;
  width: 290px;
  height: 290px;
  margin: 0 auto 26px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 6px solid var(--white);
  outline: 1px solid rgba(82,64,48,.1);
}
.section-emblem-wrap::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--acento);
  opacity: .5;
  animation: emblemPulse 4.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes emblemPulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.06); opacity: .15; }
}
.section-emblem {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 46%;
  transform: scale(1.15);
}
.section-emblem-video { opacity: 0; transition: opacity 1.2s ease; }
.section-emblem-video.is-ready { opacity: 1; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--rosa), var(--acento), var(--verde));
  z-index: 2000;
  transition: transform .1s linear;
  will-change: transform;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, background .25s ease, color .25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  will-change: transform;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(120%); }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.5) 0%, rgba(255,255,255,.18) 45%, transparent 72%);
  transform: scale(0);
  opacity: 1;
  pointer-events: none;
  animation: btnRipple .7s var(--ease-out) forwards;
}
@keyframes btnRipple {
  to { transform: scale(1); opacity: 0; }
}
.btn-primary {
  background: var(--marron-oscuro);
  color: var(--beige);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-lift); }
.magnetic { transition: transform .22s ease-out; }
.btn-outline {
  background: transparent;
  border-color: var(--marron-oscuro);
  color: var(--marron-oscuro);
}
.btn-outline:hover { background: var(--marron-oscuro); color: var(--beige); transform: translateY(-3px) scale(1.03); }
.btn-block { width: 100%; text-align: center; }

/* ============================================
   Reveal-on-scroll system
   ============================================ */
.reveal { opacity: 0; transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
.reveal-up { transform: translateY(32px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: translateY(20px) scale(.96); }
.reveal.is-visible { opacity: 1; transform: translate(0, 0) scale(1); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .22s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .42s; }

/* legacy alias kept for safety */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Blobs (manchas de acuarela)
   ============================================ */
.blob {
  position: absolute;
  filter: blur(52px);
  opacity: .58;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  animation: drift 20s ease-in-out infinite, morph 15s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; }
  34% { border-radius: 63% 37% 41% 59% / 38% 63% 41% 59%; }
  67% { border-radius: 37% 63% 56% 44% / 59% 34% 66% 41%; }
}
.blob-2 { animation-direction: reverse; }

.blob-about { width: 400px; height: 400px; background: var(--verde); top: -130px; left: -170px; opacity: .4; animation-duration: 23s, 16s; }
.blob-about-2 { width: 260px; height: 260px; background: var(--rosa); top: 30%; right: -100px; opacity: .3; animation-duration: 19s, 13s; }

.blob-services { width: 360px; height: 360px; background: var(--acento); top: -140px; right: -140px; opacity: .34; animation-duration: 21s, 14s; }

.blob-topics { width: 360px; height: 360px; background: var(--acento); bottom: -150px; left: -130px; opacity: .32; animation-duration: 18s, 12s; }
.blob-topics-2 { width: 240px; height: 240px; background: var(--rosa); top: -80px; right: 10%; opacity: .26; animation-duration: 24s, 17s; }

.blob-process { width: 400px; height: 400px; background: var(--rosa); bottom: -170px; right: -150px; opacity: .38; animation-duration: 20s, 15s; }

.blob-consulta { width: 320px; height: 320px; background: var(--verde); top: -110px; left: -120px; opacity: .3; animation-duration: 22s, 16s; }

.blob-testimonials { width: 360px; height: 360px; background: var(--verde); top: -130px; right: -130px; opacity: .32; animation-duration: 22s, 14s; }
.blob-testimonials-2 { width: 240px; height: 240px; background: var(--acento); bottom: -90px; left: 8%; opacity: .26; animation-duration: 17s, 13s; }

.blob-faq { width: 300px; height: 300px; background: var(--rosa); bottom: -120px; right: -100px; opacity: .28; animation-duration: 19s, 15s; }

.blob-contacto { width: 340px; height: 340px; background: var(--verde); bottom: -140px; left: -130px; opacity: .3; animation-duration: 21s, 16s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, -22px) scale(1.05); }
  66% { transform: translate(-14px, 14px) scale(.97); }
}

/* ---------- Botanical decorations ---------- */
.botanical { position: absolute; opacity: .6; stroke: var(--verde); stroke-width: 2; fill: var(--rosa); }
.botanical path { stroke: var(--verde); stroke-width: 2; fill: none; stroke-linecap: round; }
.botanical ellipse { fill: var(--verde); opacity: .8; }
.botanical-hero { width: 130px; height: 130px; bottom: -30px; right: -30px; }
.botanical-about { width: 110px; height: 110px; top: -20px; right: -20px; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(242, 237, 230, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(82, 64, 48, .08);
  transition: box-shadow .3s ease, padding .3s ease, transform .45s var(--ease-soft), opacity .35s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(42,30,22,.08); }
.site-header.scrolled .header-inner { padding-top: 10px; padding-bottom: 10px; }
.site-header.scrolled .brand-logo { transform: scale(.88); }
.site-header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  transition: padding .3s ease;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 34px; height: 41px; flex-shrink: 0; transition: transform .3s ease; }
.drop { fill: var(--rosa); }
.drop-shine { stroke: var(--white); stroke-width: 2.5; fill: none; opacity: .55; stroke-linecap: round; }
.ring { fill: var(--verde); animation: pulse-ring 3.6s ease-in-out infinite; transform-origin: center; }
.ring1 { opacity: .85; animation-delay: 0s; }
.ring2 { opacity: .65; animation-delay: .25s; }
.ring3 { opacity: .45; animation-delay: .5s; }
.ring4 { opacity: .3; animation-delay: .75s; }

@keyframes pulse-ring {
  0%, 100% { transform: scaleX(1); opacity: var(--o, .6); }
  50% { transform: scaleX(1.12); opacity: calc(var(--o, .6) * .6); }
}

.brand-text {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--marron-oscuro);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text small {
  font-family: var(--font-subtitle);
  font-style: italic;
  font-weight: 600;
  font-size: .78rem;
  color: var(--marron-medio);
}

.main-nav { position: relative; display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: .92rem;
  font-weight: 400;
  color: var(--marron-medio);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--marron-oscuro); }
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--acento);
  transition: width .25s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-indicator {
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--marron-oscuro);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), width .35s var(--ease-out), opacity .2s ease;
  opacity: 0;
  pointer-events: none;
}
.nav-cta {
  background: var(--marron-oscuro);
  color: var(--beige) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  transition: background .25s ease, transform .25s var(--ease-out);
}
.nav-cta:hover { background: var(--marron-medio); transform: scale(1.04); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--marron-oscuro);
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 140px 0 90px;
}

.hero-bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.06);
  transition: transform .5s ease-out;
  will-change: transform;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform .5s ease-out;
  will-change: transform;
}
.hero-bg-video.is-ready { opacity: 1; }
.hero-inner, .hero > .trust-badge { transition: transform .4s ease-out; will-change: transform; }

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(42,30,22,.34) 0%,
    rgba(42,30,22,.4) 45%,
    rgba(42,30,22,.5) 75%,
    rgba(42,30,22,.6) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero-text { max-width: 700px; text-align: center; }
.hero-subtitle { font-size: 1.12rem; color: rgba(242,237,230,.88); max-width: 560px; margin-left: auto; margin-right: auto; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); letter-spacing: -.01em; color: var(--beige); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; justify-content: center; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 4px 0 0; justify-content: center; }
.hero-tags span {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(242,237,230,.85);
  padding-right: 14px;
  margin-right: 14px;
  border-right: 1px solid rgba(242,237,230,.35);
}
.hero-tags span:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.btn-outline-light {
  background: transparent;
  border-color: var(--beige);
  color: var(--beige);
}
.btn-outline-light:hover { background: var(--beige); color: var(--marron-oscuro); transform: translateY(-3px) scale(1.03); }

.hero-anim {
  opacity: 0;
  transform: translateY(26px);
  animation: heroReveal .9s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * .14s + .1s);
}
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--marron-medio);
  border-radius: 20px;
  opacity: .55;
  z-index: 2;
}
.scroll-cue-light { border-color: rgba(242,237,230,.7); }
.scroll-cue span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--marron-medio);
  animation: cueDrop 1.8s ease-in-out infinite;
}
.scroll-cue-light span { background: var(--beige); }
@keyframes cueDrop {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  80% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  z-index: 1;
  pointer-events: none;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 100%; display: block; }
.hero-wave-path { fill: var(--beige); animation: waveBob 7s ease-in-out infinite; transform-origin: center; }
@keyframes waveBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ---------- Costuras onduladas entre secciones ---------- */
.wave-seam {
  width: 100%;
  height: 40px;
  line-height: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.wave-seam-bg-beige { background: var(--beige); }
.wave-seam-bg-alt { background: var(--surface-alt); }

/* veta de acuarela que sangra de una sección a la siguiente, para unificar la transición */
.wave-seam::before {
  content: '';
  position: absolute;
  left: 12%;
  top: 50%;
  width: 46%;
  height: 220px;
  transform: translateY(-50%);
  background: var(--rosa);
  filter: blur(46px);
  opacity: .26;
  mix-blend-mode: multiply;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  animation: morph 18s ease-in-out infinite;
  pointer-events: none;
}
.wave-seam:nth-of-type(3n+2)::before { background: var(--verde); left: auto; right: 14%; }
.wave-seam:nth-of-type(3n+3)::before { background: var(--acento); left: 38%; }
.wave-seam svg { width: 100%; height: 100%; display: block; }
.wave-seam-path { animation: waveBob 8s ease-in-out infinite; transform-origin: center; }
.wave-seam:nth-of-type(3n+1) .wave-seam-path { animation-duration: 7.5s; animation-delay: -1s; }
.wave-seam:nth-of-type(3n+2) .wave-seam-path { animation-duration: 8.5s; animation-delay: -3s; }

.hero > .trust-badge {
  position: absolute;
  right: 32px;
  bottom: 32px;
  left: auto;
  z-index: 2;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255,255,255,.6);
}
.trust-badge-icon { width: 22px; height: 22px; color: var(--acento); flex-shrink: 0; }
.trust-badge strong { display: block; font-family: var(--font-title); font-size: .95rem; color: var(--marron-oscuro); line-height: 1.2; }
.trust-badge span { display: block; font-size: .75rem; color: var(--marron-medio); }

/* ============================================
   About
   ============================================ */
.about-inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.about-photo { position: relative; max-width: 340px; margin: 0 auto; }
.about-photo::before {
  content: '';
  position: absolute;
  top: 26px; right: -22px; bottom: -22px; left: 22px;
  background: linear-gradient(155deg, var(--rosa) 0%, var(--verde) 100%);
  opacity: .55;
  border-radius: var(--radius-lg);
  z-index: 0;
}
.photo-placeholder {
  aspect-ratio: 4/5; background: linear-gradient(150deg, var(--verde), var(--beige) 75%);
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lift); position: relative; z-index: 1; overflow: hidden;
}
.photo-placeholder img { width: 100%; height: 100%; object-fit: cover; object-position: center 4%; transform: scale(1.32); transform-origin: center top; will-change: transform; }
.about-photo-caption {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 16px 0 0;
  font-family: var(--font-subtitle);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--marron-oscuro);
}
.about-photo-caption span {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: .78rem;
  letter-spacing: .02em;
  color: var(--marron-medio);
  margin-top: 3px;
}

.about-highlights { margin-top: 22px; }
.about-highlights li { padding: 10px 0 10px 30px; position: relative; color: var(--marron-medio); border-bottom: 1px solid rgba(82,64,48,.1); }
.about-highlights li::before { content: ''; position: absolute; left: 0; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--rosa); }

/* ============================================
   Divisor fino entre secciones
   ============================================ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 420px;
  margin: 0 auto;
  padding: 56px 24px;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82,64,48,.25));
}
.divider-line:last-child { background: linear-gradient(90deg, rgba(82,64,48,.25), transparent); }
.divider-mark-wrap { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 41px; }
.divider-mark { width: 34px; height: 41px; flex-shrink: 0; opacity: .85; position: relative; z-index: 2; }
.divider-mark .drop { fill: var(--rosa); }
.divider-mark .drop-shine { stroke: var(--white); stroke-width: 2.5; fill: none; opacity: .55; stroke-linecap: round; }
.divider-mark .ring { fill: var(--verde); }
.divider-mark .ring1 { opacity: .85; } .divider-mark .ring2 { opacity: .65; } .divider-mark .ring3 { opacity: .45; } .divider-mark .ring4 { opacity: .3; }

.water-ripple {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 30px;
  height: 12px;
  margin-left: -15px;
  border: 1.5px solid var(--verde);
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
  animation: waterRippleOut 3.6s ease-out infinite;
}
.water-ripple-delay { animation-delay: 1.2s; }
.water-ripple-delay2 { animation-delay: 2.4s; }
@keyframes waterRippleOut {
  0% { transform: scale(.4); opacity: .65; border-color: var(--verde); }
  70% { opacity: .25; }
  100% { transform: scale(3.6); opacity: 0; }
}

/* ============================================
   Services
   ============================================ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; z-index: 1; }
.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(82,64,48,.06);
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}
.service-card:hover { box-shadow: var(--shadow-lift); }
.service-icon {
  width: 120px; height: 120px;
  border-radius: var(--radius-md);
  background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .35s var(--ease-out);
}
.service-card:hover .service-icon { transform: scale(1.05) rotate(-2deg); }
.service-icon img { width: 100%; height: 100%; object-fit: cover; }
.icon-draw {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  transition: stroke-dashoffset 1.1s var(--ease-out);
}
.reveal-stagger.is-visible .icon-draw { stroke-dashoffset: 0; }
.reveal-stagger.is-visible .service-card:nth-child(2) .icon-draw { transition-delay: .15s; }
.reveal-stagger.is-visible .service-card:nth-child(3) .icon-draw { transition-delay: .3s; }
.service-card h3 { font-size: 1.35rem; margin-bottom: .4em; }
.service-card p { color: var(--marron-medio); font-size: .98rem; margin: 0 0 20px; }
.service-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(82,64,48,.12);
}
.service-online-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(184,201,176,.3);
  border: 1px solid rgba(184,201,176,.6);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--marron-oscuro);
}
.service-online-icon { flex-shrink: 0; }
.service-online-icon svg { width: 20px; height: 20px; display: block; }
.service-online-box strong { font-family: var(--font-title); font-weight: 700; }
.meta-chip {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--marron-medio);
  background: var(--beige);
  padding: 5px 12px;
  border-radius: 999px;
}
.meta-price {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--marron-oscuro);
}
.meta-price small { font-family: var(--font-body); font-weight: 400; font-size: .68rem; color: var(--marron-medio); margin-left: 2px; }

/* ============================================
   Áreas de trabajo
   ============================================ */
.topics-grid { grid-template-columns: repeat(3, 1fr); }
.topic-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(82,64,48,.06);
  text-align: center;
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.topic-icon {
  width: 90px; height: 90px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--beige);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.topic-icon img { width: 100%; height: 100%; object-fit: cover; }
.topic-card h3 { font-size: 1.1rem; margin-bottom: .4em; }
.topic-card p { color: var(--marron-medio); font-size: .9rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(82,64,48,.08);
  box-shadow: var(--shadow-soft);
  padding: 6px 26px;
  transition: box-shadow .25s ease;
}
.faq-item[open] { box-shadow: var(--shadow-card); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--marron-oscuro);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: linear-gradient(var(--marron-oscuro), var(--marron-oscuro)) center / 100% 2px no-repeat,
              linear-gradient(var(--marron-oscuro), var(--marron-oscuro)) center / 2px 100% no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--marron-medio); font-size: .95rem; padding-bottom: 22px; margin: 0; }

/* ============================================
   Process
   ============================================ */
.steps-wrap { position: relative; }
.steps-connector {
  position: absolute;
  top: 89px;
  left: 0;
  width: 100%;
  height: 20px;
  pointer-events: none;
  z-index: 0;
}
.steps-connector .wave-base {
  fill: none;
  stroke: var(--acento);
  stroke-width: 2;
  stroke-dasharray: 6 10;
  stroke-linecap: round;
  stroke-dashoffset: 760;
  opacity: .7;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.steps-connector.is-drawn .wave-base { stroke-dashoffset: 0; }
.steps-connector .wave-flow {
  fill: none;
  stroke: var(--verde);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 26 700;
  stroke-dashoffset: 0;
  opacity: 0;
  transition: opacity .6s ease .8s;
}
.steps-connector.is-drawn .wave-flow {
  opacity: .85;
  animation: waveFlow 3.6s linear infinite 1.6s;
}
@keyframes waveFlow { to { stroke-dashoffset: -726; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; z-index: 1; }
.step { text-align: center; padding: 30px 20px; position: relative; }
.step-number {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--marron-oscuro);
  color: var(--beige);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step-icon {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: transform .3s var(--ease-out);
}
.step:hover .step-icon { transform: translateY(-4px) scale(1.05); }
.step-icon svg { width: 34px; height: 34px; stroke: var(--marron-medio); stroke-width: 2.2; fill: none; stroke-linecap: round; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--marron-medio); font-size: .95rem; max-width: 260px; margin: 0 auto; }

/* ============================================
   Location
   ============================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}
.location-photo, .location-map-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s ease;
}
.location-photo:hover, .location-map-card:hover { box-shadow: var(--shadow-lift); }
.location-photo img { width: 100%; height: 380px; object-fit: cover; display: block; transform: scale(1.32); will-change: transform; }
.location-map-card iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ============================================
   Testimonials
   ============================================ */
.testimonial-carousel { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.testimonial-track {
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform .6s var(--ease-soft);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 100%;
  background: var(--white);
  padding: 46px 44px;
  box-shadow: var(--shadow-card);
  margin: 0;
  position: relative;
  transition: transform .6s var(--ease-soft);
}
.testimonial-card::before {
  content: '“';
  font-family: var(--font-title);
  font-size: 3.4rem;
  color: var(--rosa);
  position: absolute;
  top: 6px; left: 24px;
  line-height: 1;
}
.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #4a7a44;
  background: rgba(184,201,176,.35);
  padding: 5px 12px 5px 9px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}
.testimonial-badge svg { width: 13px; height: 13px; stroke: #4a7a44; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.testimonial-card p {
  font-family: var(--font-subtitle);
  font-size: 1.22rem;
  font-weight: 600;
  font-style: italic;
  color: var(--marron-oscuro);
  margin-top: 18px;
  min-height: 4em;
}
.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
}
.testimonial-card footer strong {
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--marron-oscuro);
  font-weight: 700;
}
.testimonial-card footer span {
  font-family: var(--font-body);
  font-size: .8rem;
  color: var(--marron-medio);
}
.doctoralia-link {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--marron-oscuro);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.doctoralia-link:hover { color: var(--acento); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 26px; }
.carousel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.carousel-btn:hover { transform: translateY(-2px) scale(1.08); box-shadow: var(--shadow-card); }
.carousel-btn svg { width: 20px; height: 20px; stroke: var(--marron-oscuro); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.carousel-dots { display: flex; gap: 10px; }
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--acento);
  opacity: .4;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity .25s ease, transform .25s ease, width .25s ease;
}
.dot.is-active { opacity: 1; width: 24px; border-radius: 5px; background: var(--marron-oscuro); }

/* ============================================
   Contact
   ============================================ */
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; position: relative; z-index: 1; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  font-size: .95rem;
}
.contact-method:hover { transform: translateX(8px); box-shadow: var(--shadow-card); }
.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--beige);
  color: var(--marron-oscuro);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-method strong { color: var(--marron-oscuro); }

.contact-form { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.form-row { margin-bottom: 22px; display: flex; flex-direction: column; }
.form-row-label { font-size: .88rem; font-weight: 700; margin-bottom: 8px; color: var(--marron-oscuro); }

.form-row.floating { position: relative; }
.form-row.floating input,
.form-row.floating textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 24px 16px 10px;
  border: 1.5px solid rgba(82,64,48,.18);
  border-radius: var(--radius-sm);
  background: var(--beige);
  color: var(--marron-oscuro);
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
  width: 100%;
}
.form-row.floating textarea { padding-top: 26px; }
.form-row.floating label {
  position: absolute;
  left: 17px;
  top: 17px;
  font-size: .95rem;
  font-weight: 400;
  color: var(--marron-medio);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .2s var(--ease-out), color .2s ease, font-weight .2s ease;
}
.form-row.floating input:focus,
.form-row.floating textarea:focus {
  outline: none;
  border-color: var(--acento);
  box-shadow: 0 0 0 3px rgba(196,169,158,.25);
}
.form-row.floating input:focus + label,
.form-row.floating input:not(:placeholder-shown) + label,
.form-row.floating textarea:focus + label,
.form-row.floating textarea:not(:placeholder-shown) + label {
  transform: translateY(-9px) scale(.76);
  color: var(--marron-oscuro);
  font-weight: 700;
}
.form-row.has-error input,
.form-row.has-error textarea { border-color: #b8564a; }
.form-error {
  font-size: .8rem;
  color: #b8564a;
  min-height: 1.2em;
  margin-top: 5px;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .25s ease, transform .25s ease;
}
.form-row.has-error .form-error { opacity: 1; transform: translateY(0); }

.radio-group { display: flex; gap: 24px; }
.radio-option { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: .95rem; cursor: pointer; }
.radio-option input { accent-color: var(--marron-oscuro); width: 16px; height: 16px; }

.form-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #5c7a52;
  font-weight: 700;
  margin: 14px 0 0;
  min-height: 1.2em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.form-success.is-visible { opacity: 1; transform: translateY(0); }
.success-check { width: 26px; height: 26px; flex-shrink: 0; }
.success-check circle {
  fill: none; stroke: #5c7a52; stroke-width: 3;
  stroke-dasharray: 152; stroke-dashoffset: 152;
  transition: stroke-dashoffset .6s var(--ease-out);
}
.success-check path {
  fill: none; stroke: #5c7a52; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 36; stroke-dashoffset: 36;
  transition: stroke-dashoffset .4s var(--ease-out) .5s;
}
.form-success.is-visible .success-check circle { stroke-dashoffset: 0; }
.form-success.is-visible .success-check path { stroke-dashoffset: 0; }
.form-success.is-error { color: #b8564a; }
.form-success.is-error .success-check circle,
.form-success.is-error .success-check path { stroke: #b8564a; }

.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-row-consent { margin-bottom: 18px; }
.consent-option { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.consent-option input {
  accent-color: var(--marron-oscuro); width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px;
}
.consent-option span { font-size: .85rem; line-height: 1.5; color: var(--marron-medio); }
.consent-option span a { color: var(--marron-oscuro); font-weight: 700; text-decoration: underline; }
.form-row-consent.has-error .consent-option span { color: #b8564a; }
.form-row-consent .form-error { margin-top: 6px; }

.map-consent {
  height: 100%; min-height: 380px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px; text-align: center; padding: 30px; box-sizing: border-box;
  background: var(--beige);
}
.map-consent p { font-size: .9rem; color: var(--marron-medio); max-width: 32ch; margin: 0; }
.map-consent a { font-size: .88rem; text-decoration: underline; }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--marron-oscuro); color: var(--beige); padding-top: 60px; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start;
  padding-bottom: 40px; border-bottom: 1px solid rgba(242,237,230,.15);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .drop { fill: var(--rosa); }
.footer-brand .ring { fill: var(--verde); }
.footer-brand .drop-shine { stroke: var(--beige); }
.footer-name { font-family: var(--font-title); font-weight: 600; font-size: 1.1rem; margin: 0; }
.footer-role { font-size: .85rem; color: var(--acento); margin: 0; }

.footer-links, .footer-legal { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer-links a, .footer-legal a { transition: color .2s ease, transform .2s ease; display: inline-block; }
.footer-links a:hover, .footer-legal a:hover { color: var(--rosa); transform: translateX(3px); }

.footer-bottom { text-align: center; font-size: .82rem; padding: 22px 0; color: rgba(242,237,230,.6); }

.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 999;
  transition: transform .25s ease;
  animation: float-bob 3.2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); animation-play-state: paused; }
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }
@keyframes float-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ============================================
   Legal pages
   ============================================ */
.legal-page { padding: 160px 0 100px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: 2.2rem; }
.legal-page h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal-page p, .legal-page li { color: var(--marron-medio); }
.legal-page ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-page a.back-link { display: inline-block; margin-bottom: 30px; font-weight: 700; color: var(--marron-oscuro); }

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.error-page .container { max-width: 560px; text-align: center; }
.error-code {
  font-family: var(--font-title);
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 700;
  color: var(--acento);
  margin-bottom: 0;
  line-height: 1;
}
.error-page h1 { margin-top: .2em; }
.error-page p { color: var(--marron-medio); margin-bottom: 1.6em; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .about-inner, .location-grid, .contact-inner { grid-template-columns: 1fr; }
  .about-photo { order: -1; max-width: 240px; margin: 0 auto 8px; }
  .about-photo::before { top: 16px; right: -14px; bottom: -14px; left: 14px; }
  .cards-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps-connector { display: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 80vw); background: var(--beige);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding: 40px;
    transform: translateX(100%); transition: transform .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,.12);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-indicator { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 600px) {
  section.section { padding: 80px 0; }
  .hero { padding: 140px 0 80px; }
  .contact-form { padding: 28px 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .testimonial-card { padding: 34px 26px; }
  .trust-badge { left: 50%; transform: translateX(-50%); bottom: -22px; width: calc(100% - 40px); justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in, .reveal, .reveal-stagger > * { transition: none; opacity: 1; transform: none; }
  .hero-anim { animation: none; opacity: 1; transform: none; }
  .blob { animation: none; }
  .section-head h2::before, .about-text h2::before, .contact-text h2::before, .wave-seam::before { animation: none; }
  .hero { animation: none; }
  .hero-bg-video, .hero-photo-video, .section-emblem-video { display: none; }
  .site-header { transition: box-shadow .3s ease, padding .3s ease; }
  .site-header.header-hidden { transform: none; opacity: 1; pointer-events: auto; }
  .hero-bg-fallback, .hero-bg-video { transition: opacity 1.4s ease; }
  .hero-inner, .hero > .trust-badge { transition: none; }
  [data-img-parallax] { transform: none !important; }
  .section-emblem-wrap::after { animation: none; opacity: .3; }
  .ring { animation: none; }
  .sonar { animation: none; display: none; }
  .whatsapp-float { animation: none; }
  .scroll-cue span { animation: none; opacity: .6; }
  .icon-draw { transition: none; stroke-dashoffset: 0; }
  .steps-connector .wave-base { transition: none; stroke-dashoffset: 0; }
  .steps-connector .wave-flow { animation: none; opacity: .5; }
  .water-ripple { animation: none; display: none; }
  .hero-wave-path { animation: none; }
  .wave-seam-path { animation: none; }
  .section-head h2 { filter: none; transform: none; transition: none; }
  .testimonial-track { scroll-behavior: auto; transition: none; }
  .testimonial-card { transition: none; }
}
