/* =============================================================
   Ser Tú · Atención psicológica — hoja de estilos
   Sistema visual derivado del isotipo (arcos azul → cian con ojo)
   y de las fichas de servicio. Sin dependencias externas.
   ============================================================= */

/* ---------- Fuentes autoalojadas (SIL OFL 1.1, ver assets/fonts) ---------- */
@font-face {
  font-family: "League Spartan";
  src: url("../fonts/league-spartan.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens de marca ---------- */
:root {
  /* Marca (isotipo) */
  --blue-600: #1E77C5;   /* azul del logo: botones y detalles */
  --blue-700: #17609F;   /* azul para texto sobre claro (contraste AA) */
  --blue-800: #134E82;
  --cyan-400: #58D7E3;   /* cian del logo: acentos (nunca texto sobre claro) */
  --cyan-100: #E2F5F8;
  --sky-50:   #F1F7FA;
  --navy-900: #13304D;   /* títulos y bandas oscuras */
  --navy-950: #0D2238;
  --grad:     linear-gradient(110deg, var(--blue-600) 0%, #3AA6D8 58%, var(--cyan-400) 100%);

  /* Neutros cálidos */
  --cream:  #F7F5F1;
  --sand:   #EFEAE3;
  --white:  #FFFFFF;
  --ink:    #243444;     /* texto principal */
  --ink-2:  #4E5D6B;     /* texto secundario */
  --line:   #E1E6EB;

  /* Colores por servicio (de las fichas, versión sobria) */
  --c-adol:     #3E9B47;
  --c-adultos:  #2D44B5;
  --c-hipnosis: #6B41D1;
  --c-pnl:      #E2891B;

  --wa: #1DA851;         /* verde WhatsApp con contraste ≥ 3:1 para el ícono */

  --display: "League Spartan", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(19, 48, 77, .06), 0 4px 14px rgba(19, 48, 77, .05);
  --shadow-md: 0 18px 40px -20px rgba(19, 48, 77, .35);
  --shadow-lg: 0 30px 70px -32px rgba(19, 48, 77, .45);
  --container: 1180px;
  --header-h: 74px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--navy-900);
  text-wrap: balance;
}
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; }
section[id], [id].anchor { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 2000;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--blue-700); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--cyan-400); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn svg { flex-shrink: 0; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -12px rgba(30, 119, 197, .7); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: #B9C7D4; }
.btn-outline:hover { background: #fff; border-color: var(--navy-900); }
.btn-outline .wa-ico { color: var(--wa); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--cyan-100); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 999px; display: inline-grid; place-items: center;
  border: 2px solid #CFE0EA; background: #fff; color: var(--wa); text-decoration: none;
}
.icon-btn:hover { border-color: var(--wa); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(247, 245, 241, .82);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(247, 245, 241, .95); border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(19, 48, 77, .5); }
.nav-wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: inherit; }
.brand img { width: 36px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--display); font-weight: 700; font-size: 1.42rem; letter-spacing: -.02em; color: var(--navy-900); }
.brand-text small { margin-top: 4px; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-700); }
.nav { display: flex; gap: 2px; }
.nav a {
  padding: 10px 13px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-weight: 550; font-size: .95rem; color: var(--ink-2); transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--navy-900); background: rgba(30, 119, 197, .08); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Selector de idioma: barra fina sobre la cabecera (español por omisión, inglés y sueco) */
.lang-bar { background: var(--cream); border-bottom: 1px solid var(--line); }
.lang-bar .container { display: flex; justify-content: flex-end; }
.lang-switch { display: flex; gap: 4px; padding: 4px 0; }
.lang-switch a {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 650; letter-spacing: .08em; text-decoration: none; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.lang-switch a:hover { color: var(--navy-900); background: rgba(30, 119, 197, .08); }
.lang-switch a[aria-current="page"] { color: var(--navy-900); background: rgba(30, 119, 197, .12); }

/* ---------- Secciones genéricas ---------- */
.section { padding: 96px 0; }
.section-white { background: var(--white); }
.section-sky { background: var(--sky-50); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-700);
}
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.section-head .kicker::before { display: none; }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.lede { margin-top: 16px; font-size: 1.12rem; color: var(--ink-2); }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lede, .on-dark p { color: #C9D8E6; }
.on-dark .kicker { color: var(--cyan-400); }

/* ---------- Arco (máscara inspirada en el isotipo) ---------- */
.arch { border-radius: 9999px 9999px 0 0; overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero-deco { position: absolute; right: -140px; top: -60px; width: 520px; opacity: .08; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .86rem; font-weight: 600; color: var(--navy-900);
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(88, 215, 227, .25); }
.hero h1 { margin-top: 22px; font-size: clamp(2.6rem, 5.6vw, 4.35rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.hero h1 .grad-text {
  display: block;
  /* degradado más oscuro que el del logo: el texto grande necesita contraste ≥ 3:1 sobre crema */
  background: linear-gradient(100deg, var(--blue-700) 0%, #1F8DBF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .grad-text { color: var(--blue-700); }
}
.hero .lede { max-width: 560px; margin-top: 22px; font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: grid; gap: 10px; margin-top: 32px; }
.hero-trust li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.hero-trust svg { flex-shrink: 0; margin-top: 2px; color: var(--blue-600); }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 0 0 40px 48px; }
.portrait-stack { position: relative; width: min(100%, 380px); }
.portrait-stack::before, .portrait-stack::after {
  content: ""; position: absolute; inset: 0; border-radius: 9999px 9999px 0 0; z-index: 0;
}
.portrait-stack::before { transform: translate(-48px, 48px); background: linear-gradient(110deg, #4D86CB, #86D9E8); }
.portrait-stack::after { transform: translate(-24px, 24px); background: linear-gradient(110deg, #2C7FCA, #69D2E4); }
.portrait-stack .arch { position: relative; z-index: 1; aspect-ratio: 4 / 5; background: var(--sand); box-shadow: var(--shadow-lg); }
.portrait-stack .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.portrait-card {
  position: absolute; z-index: 2; right: -12px; bottom: 0; max-width: 270px;
  background: #fff; border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.portrait-card strong { display: block; font-family: var(--display); font-size: 1.12rem; color: var(--navy-900); }
.portrait-card span { display: block; margin-top: 2px; font-size: .84rem; color: var(--ink-2); line-height: 1.45; }

/* ---------- Franja de confianza ---------- */
.strip { background: var(--navy-900); color: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 24px; }
.strip-item { display: flex; align-items: center; gap: 14px; }
.strip-ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(88, 215, 227, .12); color: var(--cyan-400); }
.strip-item strong { display: block; font-size: .98rem; font-weight: 650; }
.strip-item small { display: block; font-size: .84rem; color: #B9CADB; }

/* ---------- Servicios ---------- */
.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.group-title h3 { font-size: 1.35rem; }
.group-title p { font-size: .95rem; color: var(--ink-2); }
.group + .group { margin-top: 56px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-grid.two { grid-template-columns: repeat(2, 1fr); }
.svc {
  --c: var(--blue-600);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.svc::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--c); z-index: 2; }
.svc.adol { --c: var(--c-adol); }
.svc.adultos { --c: var(--c-adultos); }
.svc.hipnosis { --c: var(--c-hipnosis); }
.svc.pnl { --c: var(--c-pnl); }
.svc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc:hover .svc-img img { transform: scale(1.04); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.svc h4 { font-size: 1.32rem; }
.svc-edad {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: normal;
  color: var(--ink-2);
}
.svc-desc { margin-top: 10px; font-size: .98rem; color: var(--ink-2); }
.svc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: var(--sky-50); border: 1px solid #D7E6EF; font-size: .8rem; font-weight: 600; color: var(--navy-900);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--blue-600)); }
.price { margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--navy-900); white-space: nowrap; }
.price small { font-family: var(--sans); font-weight: 500; font-size: .78rem; color: var(--ink-2); }
.note-adult { margin-top: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: #FFF8EC; border: 1px solid #F3DDB5; font-size: .86rem; color: #6A4B12; }
.svc details { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-body > .svc-meta + details, .svc-body > .note-adult + details { margin-top: 18px; }
.svc summary {
  display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none;
  font-weight: 650; font-size: .95rem; color: var(--blue-700); min-height: 32px;
}
.svc summary::-webkit-details-marker { display: none; }
.svc summary::after { content: "+"; font-size: 1.35rem; line-height: 1; transition: transform .25s; }
.svc details[open] summary::after { transform: rotate(45deg); }
.svc-detail { margin-top: 12px; display: grid; gap: 14px; font-size: .93rem; color: var(--ink-2); }
.svc-detail h5 { margin: 0 0 4px; font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900); }
.svc-detail li { position: relative; padding-left: 18px; }
.svc-detail li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.svc.wide { display: grid; grid-template-columns: .72fr 1.28fr; }
.svc.wide .svc-img { aspect-ratio: auto; min-height: 100%; }
.services-note { margin-top: 32px; text-align: center; font-size: .96rem; color: var(--ink-2); }

/* ---------- Puerta (por qué consultar a tiempo) ---------- */
.door-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.door-grid .lede + .lede { margin-top: 14px; }
.door-img { justify-self: center; width: min(100%, 360px); }
.door-img .arch { aspect-ratio: 3 / 4.4; box-shadow: var(--shadow-lg); }
.door-img .arch img { width: 100%; height: 100%; object-fit: cover; }
.door-grid .btn { margin-top: 28px; }

/* ---------- Ayuda / problemáticas ---------- */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tag {
  padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 550; font-size: .95rem; color: var(--navy-900); box-shadow: var(--shadow-sm);
}
.tag small { color: var(--ink-2); font-weight: 450; }
.footnote { margin-top: 22px; text-align: center; font-size: .86rem; color: var(--ink-2); }

/* ---------- Enfoque ---------- */
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.mission article { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mission h3 { font-size: 1.35rem; margin-bottom: 10px; }
.mission p { color: var(--ink-2); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 24px; border-radius: var(--r-lg); background: var(--sky-50); border: 1px solid #DCE9F0; }
.feature .n {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px;
  background: var(--grad); color: #fff; font-family: var(--display); font-weight: 700;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature p { font-size: .93rem; color: var(--ink-2); }

/* ---------- Proceso ---------- */
.section-navy { position: relative; overflow: hidden; background: var(--navy-900); }
.section-navy .deco { position: absolute; left: -120px; bottom: -160px; width: 460px; opacity: .07; pointer-events: none; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: paso; }
.step { padding: 26px 22px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.step::before {
  counter-increment: paso; content: counter(paso);
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px;
  background: var(--cyan-400); color: var(--navy-950); font-family: var(--display); font-weight: 700; font-size: 1.15rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .93rem; }

/* ---------- Valores ---------- */
.values-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.table-card { overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.price-table caption { padding: 22px 24px 6px; text-align: left; font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--navy-900); }
.price-table th, .price-table td { padding: 15px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: var(--sky-50); }
.price-table tbody th { font-weight: 600; color: var(--navy-900); }
.price-table tbody th span { display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--blue-600); }
.price-table .c-adol { background: var(--c-adol); }
.price-table .c-adultos { background: var(--c-adultos); }
.price-table .c-hipnosis { background: var(--c-hipnosis); }
.price-table .c-pnl { background: var(--c-pnl); }
.price-table td.num { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--navy-900); white-space: nowrap; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.table-foot { padding: 16px 24px; background: var(--sky-50); font-size: .9rem; color: var(--ink-2); }
.conditions { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.conditions h3 { font-size: 1.25rem; margin-bottom: 16px; }
.check-list { display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-size: .95rem; color: var(--ink-2); }
.check-list li strong { color: var(--navy-900); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cyan-100); border: 2px solid var(--blue-600);
}
.check-list li::after {
  content: ""; position: absolute; left: 7px; top: calc(.2em + 4px); width: 6px; height: 10px;
  border: solid var(--blue-700); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.conditions .btn { margin-top: 22px; }

/* ---------- Sandra ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.about-visual { justify-self: center; width: min(100%, 400px); }
.about-visual .arch { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.about-visual .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.about-copy h2 { margin-bottom: 6px; }
.role { font-weight: 600; color: var(--blue-700); margin-bottom: 18px; }
.about-copy > p { color: var(--ink-2); }
.about-copy > p + p { margin-top: 14px; }
blockquote.quote {
  margin: 22px 0 0; padding: 18px 22px; border-left: 4px solid var(--cyan-400); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--sky-50); font-size: 1.02rem; color: var(--navy-900);
}
blockquote.quote footer { margin-top: 8px; font-size: .86rem; color: var(--ink-2); }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 24px 0; }
.creds li { position: relative; padding-left: 22px; font-weight: 550; font-size: .95rem; color: var(--navy-900); }
.creds li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.registry {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 20px; border-radius: var(--r-md);
  background: #fff; border: 1px solid #CFE0EA; box-shadow: var(--shadow-sm);
}
.registry .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-100); color: var(--blue-700); }
.registry div { flex: 1 1 240px; }
.registry strong { display: block; color: var(--navy-900); }
.registry span { font-size: .9rem; color: var(--ink-2); }
.registry a { font-weight: 650; font-size: .95rem; }

/* ---------- Formación y membresías ---------- */
.cert-groups { display: grid; gap: 28px; }
.cert-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.05rem; }
.cert-group h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--blue-600)); }
.cert-group.hipnosis { --c: var(--c-hipnosis); }
.cert-group.pnl { --c: var(--c-pnl); }
.cert-group.coaching { --c: var(--blue-600); }
.cert-group.gremial { --c: var(--ink-2); }
.cert-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.cert {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 14px; height: 100%;
  border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-align: center;
}
.cert img { height: 56px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .3s, opacity .3s; }
.cert:hover img { filter: none; opacity: 1; }
.cert span { font-size: .82rem; line-height: 1.35; color: var(--ink-2); }
.cert span strong { display: block; font-size: .9rem; color: var(--navy-900); }
.disclaimer { margin-top: 26px; padding: 16px 20px; border-radius: var(--r-md); background: #fff; border: 1px dashed #BFD0DC; font-size: .9rem; color: var(--ink-2); }

/* ---------- Preguntas frecuentes ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq { display: grid; gap: 12px; }
.faq details { padding: 0 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: #BFD8E8; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0;
  cursor: pointer; list-style: none; font-weight: 650; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 1.5rem; line-height: 1; color: var(--blue-600); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Aviso de crisis ---------- */
.crisis {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md);
  background: #FFF5F3; border: 1px solid #F2C9C0; color: #6B2A1D; font-size: .93rem;
}
.crisis svg { flex-shrink: 0; margin-top: 2px; color: #B5452F; }
.crisis strong { color: #5A2014; }
.crisis a { color: #8E2F1D; font-weight: 700; }

/* ---------- Llamado a la acción ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-900) 0%, var(--blue-800) 55%, var(--blue-600) 100%); }
.cta-band .deco { position: absolute; right: -80px; top: -90px; width: 380px; opacity: .12; pointer-events: none; }
.cta-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 84px 24px; text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.cta-inner p { margin-top: 14px; font-size: 1.12rem; color: #D4E3F0; }
.cta-inner .hero-actions { justify-content: center; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-list li {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.contact-list .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--blue-700); }
.contact-list small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.contact-list a, .contact-list span.v { font-weight: 650; font-size: 1.02rem; color: var(--navy-900); text-decoration: none; }
.contact-list a:hover { color: var(--blue-700); text-decoration: underline; }
.contact-copy .crisis { margin-top: 20px; }
.form-card { padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 1.4rem; }
.form-help { margin: 6px 0 22px; font-size: .93rem; color: var(--ink-2); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-weight: 650; font-size: .9rem; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid #D3DCE4; background: var(--cream);
  color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(30, 119, 197, .15); }
.field .counter { display: block; margin-top: 6px; text-align: right; font-size: .78rem; color: var(--ink-2); }
.field-error { display: none; margin-top: 6px; font-size: .85rem; color: #A3321E; }
.field.invalid input { border-color: #C2412B; }
.field.invalid .field-error { display: block; }
.privacy-note { margin-top: 14px; font-size: .84rem; color: var(--ink-2); }
.form-alt { margin-top: 12px; text-align: center; font-size: .9rem; color: var(--ink-2); }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-950); color: #C2D2E1; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: var(--cyan-400); }
.footer-about p { margin-top: 16px; max-width: 300px; font-size: .93rem; line-height: 1.6; }
.footer-col h2 { margin-bottom: 14px; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer-col a, .footer-col span { display: block; padding: 5px 0; font-size: .94rem; color: #C2D2E1; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-crisis { margin-top: 36px; padding: 14px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); font-size: .9rem; color: #DCE7F1; }
.footer-crisis a { color: #fff; font-weight: 700; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem;
  padding-right: 76px; /* que el botón flotante no tape los enlaces */
}
.footer-bottom a { color: #C2D2E1; }

/* ---------- Botón flotante WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(29, 168, 81, .7); transition: transform .2s ease;
}
.fab-wa:hover { transform: scale(1.06); }

/* ---------- Páginas legales ---------- */
.legal { padding: 64px 0 96px; }
.legal-card { max-width: 820px; margin: 0 auto; padding: 48px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal .updated { margin-top: 8px; font-size: .9rem; color: var(--ink-2); }
.legal h2 { margin: 36px 0 12px; font-size: 1.35rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; margin: 12px 0; padding-left: 20px; list-style: disc; }
.legal .crisis { margin-top: 24px; }
.legal .legal-note { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--sky-50); font-size: .92rem; }
.back-link { display: inline-block; margin-bottom: 20px; font-weight: 600; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.notfound img { width: 90px; margin: 0 auto 24px; }
.notfound p { margin: 12px 0 26px; color: var(--ink-2); }
.notfound .notfound-idiomas { margin: 26px 0 0; font-size: .92rem; }

/* ---------- Animación al hacer scroll (solo si hay JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  html.js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1120px) {
  .nav, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open { background: var(--cream); box-shadow: var(--shadow-md); }
  .site-header.menu-open .nav-wrap { flex-wrap: wrap; padding-bottom: 18px; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; order: 3; width: 100%; padding-top: 10px; border-top: 1px solid var(--line);
  }
  .site-header.menu-open .nav a { padding: 13px 12px; font-size: 1.05rem; border-radius: 12px; }
  .site-header.menu-open .nav-cta { order: 4; width: 100%; }
  .site-header.menu-open .nav-cta .btn-primary { display: inline-flex; flex: 1; }
}
@media (max-width: 960px) {
  .hero-grid, .door-grid, .about-grid, .contact-grid, .values-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { padding: 0 0 40px 48px; }
  .svc.wide { grid-template-columns: 1fr; }
  .svc.wide .svc-img { aspect-ratio: 16 / 10; }
  .svc-grid.two { grid-template-columns: 1fr; }
  .mission { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .hero { padding: 40px 0 72px; }
  .hero-visual { padding: 0 0 30px 30px; }
  .portrait-stack::before { transform: translate(-30px, 30px); }
  .portrait-stack::after { transform: translate(-15px, 15px); }
  .portrait-card { right: 0; max-width: 230px; }
  .svc-grid, .features, .steps, .strip-grid, .creds { grid-template-columns: 1fr; }
  .group-title { flex-direction: column; gap: 4px; }
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 20px; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { padding: 2px 0; border: 0; }
  .price-table td.mod { grid-column: 1; font-size: .88rem; color: var(--ink-2); }
  .price-table td.num { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .legal-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- Impresión ---------- */
@media print {
  .lang-bar, .site-header, .fab-wa, .nav-toggle, .cta-band, .form-card { display: none !important; }
  body { background: #fff; }
  .section { padding: 24px 0; }
}
