/* =========================================================
   Psic. Regina Méndez — Estilos
   Paleta y tipografía según el Brief de marca v1
   ========================================================= */

:root {
  /* Marca */
  --marino: #2B3A55;
  --azul-profundo: #4A6485;
  --azul-acero: #7F9BBB;
  --azul-niebla: #D6E0EC;
  --arena: #E4D9C8;
  --beige: #F1EDE6;
  --blanco: #FFFDFA;

  /* Semánticos */
  --bg: var(--beige);
  --surface: var(--blanco);
  --surface-alt: var(--azul-niebla);
  --text: var(--marino);
  --text-muted: var(--azul-profundo);
  --line: rgba(43, 58, 85, 0.14);
  --focus: #2B3A55;

  /* Tipografía */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4rem);

  /* Espaciado (escala 4/8) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(43, 58, 85, 0.05), 0 12px 32px -12px rgba(43, 58, 85, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); color-scheme: light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 var(--s-4); text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: var(--fs-h1); line-height: 1.06; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.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: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--marino); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: var(--fs-sm); }
.muted { color: var(--text-muted); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--azul-profundo); margin-bottom: var(--s-4);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--azul-acero); }
.center .eyebrow, .section-head .eyebrow { justify-content: center; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text); }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--marino);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn-primary { --btn-bg: var(--marino); --btn-fg: #fff; box-shadow: 0 8px 20px -10px rgba(43, 58, 85, 0.6); }
.btn-primary:hover { --btn-bg: #22304A; box-shadow: 0 12px 24px -10px rgba(43, 58, 85, 0.65); }
.btn-light { --btn-bg: var(--beige); --btn-fg: var(--marino); }
.btn-light:hover { --btn-bg: #fff; }
.btn-outline { border-color: var(--marino); }
.btn-outline:hover { --btn-bg: var(--marino); --btn-fg: #fff; }
.btn-link { min-height: 44px; padding: 0 4px; border-radius: 8px; color: var(--azul-profundo); text-decoration: underline; text-decoration-color: var(--azul-acero); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.btn-link:hover { color: var(--marino); text-decoration-color: currentColor; }
.btn-link span { transition: transform .2s var(--ease); }
.btn-link:hover span { transform: translateX(3px); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 237, 230, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(43, 58, 85, 0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 34px; height: auto; }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.brand-text small { font-family: var(--font-body); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--azul-profundo); margin-right: 2px; vertical-align: 0.25em; }

.main-nav { display: flex; align-items: center; gap: var(--s-5); }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.9688rem; color: var(--text);
  transition: background-color .2s var(--ease);
}
.main-nav ul a:hover { background: rgba(214, 224, 236, 0.7); }
.main-nav ul a[aria-current="true"] { background: var(--azul-niebla); }

.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
    border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; color: var(--marino);
  }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 40;
    flex-direction: column; align-items: stretch; gap: var(--s-4);
    padding: var(--s-4) clamp(16px, 4vw, 40px) var(--s-6);
    background: var(--beige); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(43, 58, 85, 0.35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .25s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { width: 100%; min-height: 52px; font-size: 1.0625rem; border-radius: 12px; padding: 0 12px; }
  .nav-cta { min-height: 52px; }
}

/* ---------- Arco (forma del logo) ---------- */
.arch { position: relative; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--arena); box-shadow: var(--shadow); isolation: isolate; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(43, 58, 85, 0.08); pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2rem, 1rem + 4vw, 5rem) 0 clamp(3rem, 2rem + 4vw, 6rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 70vw; max-width: 900px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(214, 224, 236, 0.9), rgba(214, 224, 236, 0) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--azul-profundo); }
.hero .lead { max-width: 34em; color: var(--text); margin-bottom: var(--s-6); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-bottom: var(--s-6); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: var(--text-muted); font-size: var(--fs-sm); font-weight: 600; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--azul-acero); }

.hero-media { position: relative; margin: 0; justify-self: end; width: min(100%, 460px); }
.hero-media .arch { aspect-ratio: 3 / 4; }
.hero-media .arch img { object-position: 30% 70%; }
.hero-note {
  position: absolute; left: -12%; bottom: 8%; max-width: 270px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--shadow); font-size: 0.9375rem; line-height: 1.45;
}
.hero-note strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; margin-bottom: 2px; }
.hero-note-mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--beige); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; width: min(100%, 420px); margin-top: var(--s-4); }
  .hero-note { left: 50%; transform: translateX(-50%); bottom: -24px; width: calc(100% - 32px); max-width: 360px; }
  .hero { padding-bottom: var(--s-8); }
}

/* ---------- Franja de respaldo ---------- */
.trust { padding: var(--s-2) 0 var(--s-6); }
.trust-title { margin: 0 0 var(--s-3); text-align: center; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--azul-profundo); }
.trust-band { border-block: 1px solid var(--line); background: rgba(255, 253, 250, 0.6); padding: var(--s-4) 0; overflow: hidden; }
/* Insignias en movimiento horizontal hacia la izquierda */
.trust-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.trust-track { display: flex; width: max-content; animation: trust-scroll 45s linear infinite; }
.trust-marquee:hover .trust-track { animation-play-state: paused; }
.trust-list { list-style: none; display: flex; flex-wrap: nowrap; gap: 10px; padding-right: 10px; }
.trust-list li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 9px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.3; color: var(--marino); }
.trust-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--azul-acero); flex: none; }
@keyframes trust-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trust-marquee { -webkit-mask-image: none; mask-image: none; }
  .trust-track { animation: none !important; width: auto; justify-content: center; padding-inline: 16px; }
  .trust-list { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .trust-list li { white-space: normal; }
  .trust-list[aria-hidden="true"] { display: none; }
}

/* ---------- Secciones ---------- */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 720px; margin: 0 auto var(--s-7); text-align: center; }
.section-head p:last-child { color: var(--text-muted); margin-bottom: 0; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head.left .eyebrow { justify-content: flex-start; }

/* Validación */
.intro { padding-bottom: calc(var(--section-y) * 0.6); }
.intro-leaf { width: 44px; height: 44px; margin: 0 auto var(--s-5); color: var(--azul-acero); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.h-quote { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 500; margin-bottom: var(--s-5); }
.intro p:not(.h-quote) { font-size: var(--fs-lead); color: var(--text); }

/* Sobre mí */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.about-media { margin: 0; }
.about-media .arch { aspect-ratio: 4 / 5; max-width: 440px; }
.about-media .arch img { object-position: 50% 30%; }
.about-copy h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.credentials { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s-3) var(--s-6); margin: var(--s-6) 0 var(--s-5); padding: var(--s-5) 0; border-block: 1px solid var(--line); }
.credentials dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--azul-profundo); }
.credentials dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media .arch { margin-inline: auto; max-width: 360px; }
  .credentials { grid-template-columns: 1fr 1fr; }
}

/* Tarjetas audiencias */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card > p { color: var(--text-muted); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px 999px 14px 14px; background: var(--azul-niebla); color: var(--marino); margin-bottom: var(--s-5); }
.card-icon .icon { width: 24px; height: 24px; }
.checklist { list-style: none; display: grid; gap: 10px; margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px dashed var(--line); }
.checklist li { position: relative; padding-left: 28px; line-height: 1.45; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--azul-niebla) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B3A55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.note { max-width: 620px; margin: var(--s-6) auto 0; color: var(--text-muted); }
.experience { display: flex; gap: var(--s-5); align-items: flex-start; max-width: 880px; margin: var(--s-7) auto 0; padding: var(--s-5) clamp(1.25rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius); background: var(--azul-niebla); }
.experience-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px 999px 14px 14px; background: var(--beige); color: var(--marino); }
.experience-icon .icon { width: 22px; height: 22px; }
.experience h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.experience p { margin: 0; color: var(--marino); }
@media (max-width: 560px) { .experience { flex-direction: column; gap: var(--s-4); } }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Enfoque */
.approach { background: var(--marino); color: #F6F3EE; }
.approach .eyebrow { color: var(--azul-niebla); }
.approach .eyebrow::before { background: var(--azul-acero); }
.approach .section-head p:last-child { color: rgba(246, 243, 238, 0.82); }
.approach-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.approach-item { padding: var(--s-6); border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(214, 224, 236, 0.16); }
.approach-item p { color: rgba(246, 243, 238, 0.85); margin: 0; }
.approach-tag {
  display: inline-grid; place-items: center; min-width: 64px; height: 64px; padding: 0 12px; margin-bottom: var(--s-5);
  border-radius: 999px 999px 16px 16px; background: var(--azul-niebla); color: var(--marino);
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: 0.02em;
}
@media (max-width: 960px) { .approach-list { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Proceso */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 0; border-top: 1.5px dashed var(--azul-acero); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 var(--s-2); }
.step p { color: var(--text-muted); margin: 0; }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto var(--s-5); border-radius: 50%;
  background: var(--beige); border: 1.5px solid var(--marino); color: var(--marino);
  font-family: var(--font-display); font-weight: 600; font-size: 1.375rem;
}
.step:first-child .step-num { background: var(--marino); color: #fff; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: var(--s-6); max-width: 560px; margin-inline: auto; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 1.5px dashed var(--azul-acero); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: var(--s-5); text-align: left; padding: 0; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { margin: 12px 0 6px; }
}

.details-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-top: var(--s-8); padding: var(--s-5); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.detail { display: flex; gap: 14px; padding: var(--s-3); }
.detail .icon { width: 26px; height: 26px; color: var(--azul-profundo); margin-top: 2px; }
.detail h3 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--azul-profundo); margin: 0 0 4px; }
.detail p { margin: 0; font-weight: 600; line-height: 1.45; }
@media (max-width: 960px) { .details-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .details-grid { grid-template-columns: 1fr; } }

/* Trayectoria */
.path { background: var(--surface); }
.path-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.path-title { font-size: 1.375rem; margin-bottom: var(--s-5); }
.path-title:not(:first-child) { margin-top: var(--s-7); }
.timeline { list-style: none; display: grid; gap: var(--s-5); border-left: 1.5px solid var(--azul-niebla); padding-left: var(--s-5); }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: calc(var(--s-5) * -1 - 6px); top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--azul-profundo); }
.tl-date { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--azul-profundo); font-variant-numeric: tabular-nums; }
.timeline strong { font-weight: 700; line-height: 1.4; }
.timeline span:last-child { color: var(--text-muted); font-size: var(--fs-sm); }
.path-side { align-self: start; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--radius); background: var(--beige); border: 1px solid var(--line); }
.path-side .path-title { margin-bottom: var(--s-2); }
.practice-intro { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--s-5); }
.practice-groups { display: grid; gap: var(--s-5); }
.practice-label { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s-2); font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--azul-profundo); }
.practice-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.practice-list { list-style: none; display: grid; }
.practice-list li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid rgba(43, 58, 85, 0.08); font-weight: 600; font-size: 0.9688rem; line-height: 1.4; }
.practice-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.practice-list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 8px; border-radius: 8px 8px 2px 2px; background: var(--azul-acero); }
.practice-list li span { display: block; font-weight: 400; font-size: 0.875rem; color: var(--text-muted); }
@media (max-width: 900px) { .path-grid { grid-template-columns: 1fr; } }

/* Ubicación */
.location-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.location-grid > div:first-child > p { color: var(--text-muted); }
.address { display: flex; gap: 12px; margin: var(--s-5) 0 var(--s-6); font-weight: 600; line-height: 1.55; }
.address .icon { color: var(--azul-profundo); margin-top: 3px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--azul-niebla); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.75) contrast(0.98); }
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } }

/* Preguntas (acordeón minimal, inspirado en "Ghost Accordion" de 21st.dev) */
.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: grid; grid-template-columns: 32px 1fr 28px; align-items: center; gap: var(--s-3);
  min-height: 64px; padding: var(--s-4) 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; line-height: 1.35;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover .acc-q { color: var(--azul-profundo); }
.acc-num { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; color: var(--azul-acero); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.acc-icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--beige); transition: background-color .2s var(--ease), transform .3s var(--ease); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; border-radius: 2px; background: var(--marino); transform: translate(-50%, -50%); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion details[open] .acc-icon { transform: rotate(45deg); background: var(--azul-niebla); }
.acc-body { padding: 0 44px var(--s-5) 44px; color: var(--text-muted); }
.acc-body p { margin: 0; }
.acc-body a { color: var(--marino); font-weight: 700; }
.accordion details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
.accordion details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq .section-head { position: static; margin-bottom: var(--s-5); }
  .acc-body { padding-right: 0; }
}

/* Cierre */
.cta-final { padding-top: calc(var(--section-y) * 0.7); }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(1.5rem, 1rem + 4vw, 4rem);
  border-radius: 32px; background: var(--marino); color: #F6F3EE;
}
.cta-card::before {
  content: ""; position: absolute; left: 50%; bottom: -55%; width: min(760px, 120%); aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50% 50% 0 0; border: 1.5px solid rgba(214, 224, 236, 0.18); pointer-events: none;
}
.cta-mark { width: 200px; margin: 0 auto var(--s-6); opacity: 0.95; }
.cta-card h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.cta-card p { max-width: 520px; margin: 0 auto var(--s-6); color: rgba(246, 243, 238, 0.85); font-size: var(--fs-lead); }

/* Crisis */
.crisis { padding: var(--s-7) 0 var(--section-y); }
.crisis-inner { display: flex; gap: var(--s-5); align-items: flex-start; max-width: 900px; padding-block: var(--s-6); padding-inline: clamp(1.25rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius); background: var(--arena); }
.crisis-icon { width: 30px; height: 30px; color: var(--marino); margin-top: 4px; }
.crisis h2 { font-family: var(--font-display); font-size: 1.3125rem; margin-bottom: var(--s-3); }
.crisis p { margin-bottom: var(--s-4); }
.crisis-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.crisis-link strong { white-space: nowrap; }
.crisis-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-height: 48px; padding: 10px 18px; border-radius: 24px; background: var(--blanco); text-decoration: none; font-variant-numeric: tabular-nums; border: 1px solid var(--line); transition: border-color .2s var(--ease); }
.crisis-link:hover { border-color: var(--marino); }
@media (max-width: 560px) { .crisis-inner { flex-direction: column; } }

/* Pie */
.site-footer { background: var(--marino); color: rgba(246, 243, 238, 0.86); padding: var(--s-8) 0 var(--s-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-7); padding-bottom: var(--s-7); border-bottom: 1px solid rgba(214, 224, 236, 0.16); }
.footer-brand img { width: 240px; margin-bottom: var(--s-5); }
.footer-title { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--azul-niebla); margin-bottom: var(--s-4); }
.footer-list { list-style: none; display: grid; gap: 4px; }
.footer-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.footer-list a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); padding-top: var(--s-5); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; }
.site-footer :focus-visible { outline-color: var(--azul-niebla); }
.cta-card :focus-visible, .approach :focus-visible { outline-color: var(--azul-niebla); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); } }

/* Botón flotante de WhatsApp (móvil) */
.wa-float {
  position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--marino); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(43, 58, 85, 0.7);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.wa-float .icon { width: 22px; height: 22px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 960px) { .wa-float { display: inline-flex; } .site-footer { padding-bottom: calc(var(--s-6) + 80px); } }

/* ---------- Aparición suave ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Páginas legales
   ========================================================= */
.legal-hero { padding: clamp(3rem, 2rem + 3vw, 5rem) 0 var(--s-6); }
.legal-hero h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); }
.legal-hero p { color: var(--text-muted); }
.legal { padding-bottom: var(--section-y); }
.legal-body { max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.legal-body h2 { font-size: 1.5rem; margin-top: var(--s-7); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.125rem; margin-top: var(--s-5); }
.legal-body ul, .legal-body ol { padding-left: 1.25rem; margin-bottom: var(--s-4); display: grid; gap: 6px; }
.legal-body a { color: var(--azul-profundo); font-weight: 700; }
.legal-back { display: flex; width: fit-content; margin-bottom: var(--s-5); }
.legal-toc { list-style: none; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-bottom: var(--s-6) !important; }
.legal-toc a { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--beige); text-decoration: none; font-size: 0.9375rem; font-weight: 600 !important; color: var(--marino) !important; }
