/* =============================================================
   FERNANDA CORTÉS · NUTRICIÓN CLÍNICA — styles.css (v2, desde cero)
   Sistema de secciones SIMÉTRICO: mismo padding, mismo ratio de
   columnas (1fr/1fr) en todas las secciones de foto+texto, misma
   grilla (uniforme, sin spans) en especialidades.
   =============================================================
   1. Tokens
   2. Reset & base
   3. Utilities
   4. Typography
   5. Components
   6. Sections
   7. Effects
   8. Responsive
   9. Reduced-motion
   ============================================================= */

/* ============================= 1. TOKENS ============================= */
@property --mesh-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg:        #faf8f1;
  --bg-2:      #edf1e5;
  --paper:     #ffffff;
  --ink:       #1c1c1a;
  --ink-soft:  #2b2b28;
  --ink-mute:  #6f6a5f;

  --accent:      #1c7a3c;   /* verde del logotipo */
  --accent-soft: #3f9c5c;
  --accent-2:    #0f8fae;   /* azul-verdoso del logotipo */
  --gold:        #f3dfa0;   /* dorado del logotipo */
  --lime:        #7cb342;   /* verde-lima de la hoja */
  --cream:       #faf8f1;
  --line:        rgba(28, 28, 26, 0.12);

  --display: "Fraunces", "Georgia", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius: 20px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 76px;

  /* Ritmo vertical ÚNICO — todas las secciones usan esta misma escala */
  --section-pad: clamp(3.6rem, 8vw, 6.5rem);
}

/* ============================= 2. RESET & BASE ============================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: var(--ink-soft); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip; overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ============================= 3. UTILITIES ============================= */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; padding: .7rem 1.1rem;
  background: var(--ink); color: var(--cream); z-index: 9999; border-radius: 8px;
  font-weight: 600; font-size: 14px; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ============================= 4. TYPOGRAPHY ============================= */
h1, .h1 { font-family: var(--display); font-weight: 480; font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2, .h2 { font-family: var(--display); font-weight: 460; font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3, .h3 { font-family: var(--display); font-weight: 450; font-size: clamp(1.2rem, 2vw, 1.5rem); }
em, i { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-mute); max-width: 46ch; }

/* ============================= 5. COMPONENTS ============================= */
.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.7em;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s var(--ease-out);
  will-change: transform;
}
.btn-primary { background: var(--accent); color: var(--cream); box-shadow: 0 10px 30px -12px rgba(28,122,60,0.5); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -12px rgba(28,122,60,0.55); background: var(--accent-soft); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn svg { width: 1.1em; height: 1.1em; }

.pill { display: inline-flex; align-items: center; padding: .4em 1em; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); color: var(--ink-mute); }

.card { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -24px rgba(28,28,26,0.2); }

/* --- Nav --- */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; background: transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(250, 248, 241, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { font-family: var(--display); font-style: italic; font-size: 19px; font-weight: 500; display: flex; align-items: center; gap: .6rem; line-height: 1.1; }
.nav-brand img { width: 38px; height: 38px; object-fit: contain; flex: none; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand small { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.nav-links { display: none; align-items: center; gap: 2rem; font-size: 14.5px; font-weight: 500; }
.nav-links a { position: relative; padding: .2em 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--accent); transition: width .35s var(--ease-out); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: none; }
.nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.nav.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }
.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s linear .35s;
  display: flex; flex-direction: column; padding: 2rem var(--gutter); gap: 1.5rem; z-index: 99;
}
.nav.is-open .nav-mobile { opacity: 1; transform: translateY(0); visibility: visible; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.nav-mobile a { font-family: var(--display); font-size: 1.6rem; }

/* ============================= 6. SECTIONS ============================= */

/* --- Sistema simétrico foto+texto: SIEMPRE 1fr/1fr, misma proporción --- */
.split {
  display: grid; gap: 2.4rem; align-items: center;
  padding-block: var(--section-pad);
}
.split.is-reverse .split-media { order: -1; }
.split-media {
  position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line);
}
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(6px);
  border-radius: 14px; padding: .8rem 1rem; font-size: 12.5px; color: var(--ink-mute);
}
.split-caption strong { color: var(--ink); display: block; font-size: 13.5px; }

/* --- Logo del hero (más presencia de marca) --- */
.hero-logo { width: 56px; height: 56px; object-fit: contain; margin-bottom: 1.2rem; }
.hero-logo-lg { width: 88px; height: 88px; margin-bottom: 1.4rem; }
.nav-brand-logo { width: 46px; height: 46px; object-fit: contain; }

.hero-tagline {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--accent);
  margin-bottom: 1.1rem; max-width: 44ch;
}
.hero-note { font-size: 14.5px; color: var(--ink-mute); margin-bottom: 1.8rem; }

/* --- Cita de voz personal (Sobre mí) --- */
.voice-quote {
  margin-top: 1.6rem; padding: 1.3rem 1.5rem; border-left: 3px solid var(--accent);
  background: var(--bg-2); border-radius: 0 14px 14px 0;
  font-family: var(--display); font-style: italic; color: var(--ink-soft);
  font-size: 1rem; line-height: 1.55; max-width: 58ch;
}

/* --- Enlace a mapa --- */
.map-link { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: text-decoration-color .3s var(--ease-out); }
.map-link:hover { text-decoration-color: var(--accent); color: var(--accent); }

/* --- Hero (misma proporción 1fr/1fr que el resto) --- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-block: calc(var(--nav-h) + 1.5rem) var(--section-pad); overflow: clip;
}
.hero-blob {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 82% 12%, rgba(28,122,60,0.14), transparent 70%),
    radial-gradient(50% 45% at 8% 92%, rgba(15,143,174,0.10), transparent 70%),
    var(--bg);
}
.hero .split { padding-block: 0; }
/* En móvil, la foto queda en su posición natural del DOM (justo debajo del eslogan).
   En escritorio (≥720px), la reubicamos en la columna derecha con grid-areas,
   sin tocar el orden ni el HTML. */
@media (min-width: 720px) {
  .hero .split {
    row-gap: 0;
    grid-template-areas:
      "logo    photo"
      "eyebrow photo"
      "title   photo"
      "tagline photo"
      "sub     photo"
      "note    photo"
      "actions photo"
      "chips   photo";
  }
  .hero .hero-logo-lg { grid-area: logo; }
  .hero .eyebrow { grid-area: eyebrow; }
  .hero .hero-title { grid-area: title; }
  .hero .hero-tagline { grid-area: tagline; }
  .hero .hero-sub { grid-area: sub; }
  .hero .hero-note { grid-area: note; }
  .hero .hero-actions { grid-area: actions; align-self: start; }
  .hero .hero-chips { grid-area: chips; align-self: start; }
  .hero .split-media { grid-area: photo; align-self: center; }
}
.hero .eyebrow { margin-bottom: 1.1rem; }
.hero-title { margin-bottom: 1.1rem; }
.hero-title .line { display: block; }
.hero-sub { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
/* --- Cabecera de sección: SIEMPRE mismo formato y ancho máximo --- */
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head.is-centered { margin-inline: auto; text-align: center; }

/* --- Sobre mí + Enfoque: usan .split, mismo look --- */
.about, .approach { border-top: 1px solid var(--line); }
.about-list { margin-top: 1.6rem; display: grid; gap: 1rem; }
.about-list li { display: flex; gap: .8rem; align-items: baseline; padding-block: .9rem; border-top: 1px solid var(--line); }
.about-list li:first-child { border-top: none; }
.about-list .deg { font-weight: 600; color: var(--ink); }
.about-list .sch { color: var(--accent); font-weight: 600; }
.about-list .note { color: var(--ink-mute); font-size: 14px; display: block; }
.about-list .cedula { color: var(--ink-mute); font-size: 13px; display: block; }

/* --- Rotaciones clínicas (logos de instituciones) --- */
.rotations { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.rotations-label { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1rem; }
.rotations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.rotations-grid li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: .9rem .6rem; text-align: center;
}
.rotations-grid img, .rotations-grid svg { width: 100%; max-width: 52px; height: 52px; object-fit: contain; display: block; }
.rotations-grid span { font-size: 10.5px; font-weight: 600; color: var(--ink-mute); line-height: 1.25; }

.checklist { display: grid; gap: .9rem; margin-top: 1.2rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.checklist .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 1px; }

.includes-grid { display: grid; gap: .7rem; grid-template-columns: 1fr; margin-top: 1.2rem; }
.includes-grid li { display: flex; gap: .7rem; align-items: baseline; padding: .8rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.includes-grid li span.n { font-family: var(--display); font-style: italic; color: var(--accent-2); font-size: 1rem; flex: none; }

/* --- Especialidades: grilla UNIFORME (misma altura, sin spans asimétricos) --- */
.specialties { padding-block: var(--section-pad); background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specialty-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.specialty-card { padding: 1.7rem; display: flex; flex-direction: column; gap: .7rem; min-height: 172px; }
.specialty-card .num { font-family: var(--display); font-style: italic; color: var(--accent); font-size: 1.3rem; }
.specialty-card h3 { margin-top: auto; }
.specialty-card p { color: var(--ink-mute); font-size: 14.5px; }
.specialty-card.is-cta { background: var(--accent); color: var(--cream); border-color: var(--accent); justify-content: center; align-items: flex-start; }
.specialty-card.is-cta p { color: rgba(250,248,241,0.85); }
.specialty-card.is-cta .btn { margin-top: .8rem; }

/* --- ¿Te puede ayudar la nutrición clínica? (3 perfiles) --- */
.profiles { padding-block: var(--section-pad); border-top: 1px solid var(--line); }
.profiles-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.profile-card { padding: 1.9rem; }
.profile-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-2); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.profile-icon svg { width: 22px; height: 22px; }
.profile-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.profile-card p { color: var(--ink-mute); font-size: 14.5px; }

/* --- Tu primera consulta, paso a paso --- */
.first-visit { padding-block: var(--section-pad); background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.first-visit-steps { display: grid; gap: 1.6rem; counter-reset: step; max-width: 760px; }
.first-visit-step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step-n { flex: none; font-family: var(--display); font-style: italic; color: var(--accent); font-size: 1.5rem; line-height: 1; padding-top: .1rem; }
.first-visit-step h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.first-visit-step p { color: var(--ink-mute); font-size: 14.5px; max-width: 56ch; }
.first-visit-note {
  display: flex; align-items: center; gap: .6rem; margin-top: 2.2rem;
  padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink-mute); font-size: 14px; max-width: 760px;
}
.first-visit-note svg { flex: none; color: var(--accent); }

/* --- Opiniones de pacientes --- */
.testimonials { padding-block: var(--section-pad); border-top: 1px solid var(--line); }
.testimonials-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.testimonial-card { padding: 1.8rem; }
.testimonial-stars { color: var(--gold); letter-spacing: .1em; margin-bottom: .8rem; font-size: 14px; }
.testimonial-card p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 1rem; }
.testimonial-name { font-weight: 600; font-size: 13.5px; color: var(--ink-mute); }
.testimonials-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* --- FAQ --- */
.faq { padding-block: var(--section-pad); background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-list { display: grid; gap: .8rem; max-width: 760px; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem 1.3rem;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; color: var(--ink); font-size: 15px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; font-size: 1.3rem; color: var(--accent); font-weight: 400;
  transition: transform .3s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: .8rem; color: var(--ink-mute); font-size: 14.5px; }

/* --- Marquee --- */
.marquee-wrap { padding-block: 1.4rem; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.marquee { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 2.4rem; padding-inline-end: 2.4rem; }
.marquee span { font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--ink-mute); white-space: nowrap; }
.marquee span b { color: var(--accent); font-style: normal; font-family: var(--sans); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.marquee .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Modalidades: grilla simétrica 1/1 --- */
.modalities { padding-block: var(--section-pad); border-top: 1px solid var(--line); }
.modalities-grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
.modality-card { padding: 2.1rem; display: flex; flex-direction: column; gap: 1rem; }
.modality-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.modality-icon svg { width: 26px; height: 26px; }
.modality-card p { color: var(--ink-mute); }
.modality-card .btn { margin-top: .5rem; align-self: flex-start; }

/* --- CTA final --- */
.cta-final {
  position: relative; margin-inline: var(--gutter); margin-block: var(--section-pad);
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.6rem, 6vw, 3.5rem); border-radius: 28px;
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-2) 100%); color: var(--cream); overflow: clip;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: conic-gradient(from var(--mesh-angle), rgba(250,248,241,0.14), transparent 30%, rgba(250,248,241,0.1) 60%, transparent 90%, rgba(250,248,241,0.14));
  animation: mesh-rotate 18s linear infinite; opacity: .8;
}
@keyframes mesh-rotate { to { --mesh-angle: 360deg; } }
.cta-final-inner { position: relative; max-width: 620px; margin-inline: auto; text-align: center; }
.cta-final .eyebrow { justify-content: center; color: rgba(250,248,241,.85); }
.cta-final .eyebrow::before { background: rgba(250,248,241,.85); }
.cta-final h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-final h2 em { color: var(--gold); }
.cta-final p { color: rgba(250,248,241,0.82); margin-bottom: 1.8rem; max-width: 48ch; margin-inline: auto; }
.cta-final .hero-actions { justify-content: center; }
.cta-final .btn-primary { background: var(--cream); color: var(--accent); box-shadow: none; }
.cta-final .btn-primary:hover { background: #fff; }
.cta-final .btn-ghost { border-color: rgba(250,248,241,0.4); color: var(--cream); }

/* --- Footer --- */
.footer { padding-block: 2.6rem; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-direction: column; gap: 1.4rem; font-size: 13.5px; color: var(--ink-mute); }
.footer-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--ink); }
.footer-brand img { width: 28px; height: 28px; border-radius: 50%; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a:hover { color: var(--ink); }
.footer-social { display: inline-flex; align-items: center; gap: .4rem; }
.footer-social svg { width: 16px; height: 16px; flex: none; }

/* --- WhatsApp flotante --- */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: var(--accent); color: var(--cream); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(28,122,60,0.5); transition: transform .35s var(--ease-bounce);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 27px; height: 27px; }

/* --- Splash --- */
.splash { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: flex; align-items: center; justify-content: center; animation: splash-hide 4.5s forwards; }
.splash-mark { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--accent); opacity: .9; }
@keyframes splash-hide { 0%, 70% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
.splash.is-hidden { opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out); }

/* ============================= 7. EFFECTS ============================= */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ============================= 8. RESPONSIVE ============================= */
@media (min-width: 540px) {
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
  .modalities-grid { grid-template-columns: repeat(2, 1fr); }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .profiles-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .rotations-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 720px) {
  .split { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .specialty-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { flex-direction: row; justify-content: space-between; }
  .profiles-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) { .container { padding-inline: calc(var(--gutter) + 1rem); } }

/* ============================= 9. REDUCED MOTION ============================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta-final::before { animation: none; }
  .splash { animation-duration: 0.01s; }
}
