/* =========================================================
   DICERE · Centro Neuro-Psicoterapéutico Integral
   Hoja de estilos principal (sin dependencias)
   ========================================================= */

:root {
  --indigo: #1b129a;
  --indigo-600: #2a22b8;
  --indigo-50: #efeefe;
  --indigo-100: #e1dffd;
  --ink: #15123d;
  --ink-2: #3d3a63;
  --muted: #6b6889;
  --accent: #1f6fe5;
  --accent-600: #1557c0;
  --accent-50: #eaf2fe;
  --accent-light: #7fb0ff;
  --teal: #0098a0;
  --teal-600: #007a81;
  --teal-50: #e6f5f6;
  --teal-light: #5fd0d6;
  --sky: #8fd0f3;
  --sky-50: #eaf7fd;
  --mint: #bfe9d6;
  --mint-50: #eaf8f1;
  --sun: #ffd37a;
  --cream: #fbf8f3;
  --white: #ffffff;
  --line: #e7e3ef;

  --f-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 12px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(21, 18, 61, .06);
  --shadow-md: 0 14px 40px -12px rgba(21, 18, 61, .18);
  --shadow-lg: 0 30px 70px -20px rgba(27, 18, 154, .30);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Tipografía de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.title { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.title em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 60ch; }
.head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; font-size: 15.5px; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -8px rgba(31, 111, 229, .7); }
.btn-primary:hover { background: var(--accent-600); box-shadow: 0 16px 30px -10px rgba(31, 111, 229, .8); }
.btn-indigo { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -8px rgba(27, 18, 154, .55); }
.btn-indigo:hover { background: var(--indigo-600); }
.btn-ghost { border-color: var(--indigo-100); color: var(--indigo); background: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--indigo); background: #fff; }
.btn-white { background: #fff; color: var(--indigo); }
.btn-outline-white { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--indigo); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* =========================================================
   Barra superior + cabecera
   ========================================================= */
.topbar { background: var(--ink); color: #cfcde6; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent-light); }
.topbar .social a { width: 28px; height: 28px; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.topbar .social .icon { color: #fff; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(21,18,61,.25); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 82px; transition: height .3s; }
.header.scrolled .container { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--f-display); font-size: 27px; letter-spacing: .4em; margin-right: -.4em; color: var(--indigo); font-weight: 800; }
.brand-text small { font-size: 7.4px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav > ul > li > a:hover, .nav > ul > li > a.active, .nav .has-sub:hover > a { color: var(--indigo); background: var(--indigo-50); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 13px 22px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--indigo-50); color: var(--indigo); align-items: center; justify-content: center; }
.menu-toggle .icon { width: 22px; height: 22px; }

/* =========================================================
   Hero · slider a pantalla completa
   ========================================================= */
.hero { position: relative; display: grid; overflow: hidden; background: var(--ink); color: #fff; }
.slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 70% center); transform: scale(1.1); transition: transform 9s linear; }
.slide.active .slide-bg img { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 12, 32, .68) 0%, rgba(10, 12, 32, .46) 32%, rgba(10, 12, 32, .12) 58%, rgba(10, 12, 32, 0) 75%),
    linear-gradient(0deg, rgba(10, 12, 32, .35) 0%, transparent 30%);
}
.slide-content { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(540px, calc(100vh - 124px), 820px); padding: 72px 0 112px; }
.slide-inner { max-width: 660px; }
.slide .overline { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(13px, 1.3vw, 16px); letter-spacing: .32em; text-transform: uppercase; color: #d6dcff; margin-bottom: 14px; }
.slide .hero-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 6.2vw, 86px); line-height: .98; letter-spacing: -.035em; text-transform: uppercase; color: #fff; margin: 0 0 18px; text-shadow: 0 6px 30px rgba(0,0,0,.25); }
.slide .brandline { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(15px, 1.6vw, 20px); letter-spacing: .5em; color: var(--accent-light); margin-bottom: 22px; }
.slide .lead { color: rgba(255,255,255,.86); max-width: 54ch; margin-bottom: 32px; }
.slide .lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stat {
  display: inline-flex; align-items: center; gap: 18px; padding: 16px 24px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-stat b { font-family: var(--f-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent-light); }
.hero-stat span { font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.35; color: rgba(255,255,255,.9); }
.slide .anim { opacity: 0; transform: translateY(26px); }
.slide.active .anim { animation: rise .9s var(--ease) forwards; animation-delay: calc(.25s + var(--i, 0) * .12s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5; }
.hero-controls .container { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.dots { display: flex; gap: 10px; }
.dots button { width: 54px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.28); overflow: hidden; position: relative; }
.dots button::after { content: ""; position: absolute; inset: 0; width: 0; background: #fff; border-radius: 4px; }
.dots button.active::after { animation: fill var(--dur, 7s) linear forwards; }
.hero.paused .dots button.active::after { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.arrows button:hover { background: var(--accent); border-color: var(--accent); }
.arrows .icon { width: 20px; height: 20px; }
.arrows .prev .icon { transform: rotate(180deg); }

/* =========================================================
   Nosotros
   ========================================================= */
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; }
.about-media .photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 4.4; }
.about-media .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.about-media .quote-card {
  position: absolute; right: -6%; bottom: 8%; max-width: 280px; background: var(--accent); color: #fff;
  border-radius: 24px 24px 24px 6px; padding: 22px 24px; box-shadow: var(--shadow-md);
  font-family: var(--f-display); font-size: 17px; line-height: 1.4; font-weight: 600;
}
.about-media .blob { position: absolute; left: -8%; top: -6%; width: 55%; aspect-ratio: 1; background: var(--sky-50); border-radius: 50%; z-index: -1; }
.about-text p { color: var(--ink-2); }
.tabs-mini { display: flex; gap: 8px; margin: 28px 0 20px; flex-wrap: wrap; }
.tabs-mini button {
  border: 1px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--ink-2);
  transition: all .2s;
}
.tabs-mini button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panel { animation: fade .5s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.mv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(56px, 7vw, 88px); }
.mv-card { border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 44px); position: relative; overflow: hidden; }
.mv-card h3 { font-size: 28px; display: flex; align-items: center; gap: 14px; }
.mv-card h3 .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; }
.mv-card h3 .ic .icon { width: 24px; height: 24px; }
.mv-card p { margin: 0; font-size: 17px; }
.mv-card.m { background: var(--indigo); color: #dcdaf7; }
.mv-card.m h3 { color: #fff; }
.mv-card.m .ic { color: var(--indigo); }
.mv-card.v { background: var(--teal-50); }
.mv-card.v .ic { color: var(--teal); }
.mv-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 30px solid rgba(255,255,255,.07); }
.mv-card.v::after { border-color: rgba(31, 111, 229,.08); }

.values { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 20px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 16px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value .ic { width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 12px; display: grid; place-items: center; background: var(--indigo-50); color: var(--indigo); transition: background .3s, color .3s; }
.value:hover .ic { background: var(--indigo); color: #fff; }
.value .ic .icon { width: 24px; height: 24px; }
.value b { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }

/* =========================================================
   Modelo de atención
   ========================================================= */
.model { background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.model-grid::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; border-top: 2px dashed var(--indigo-100); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .num {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--cream); border: 2px solid var(--indigo-100); color: var(--indigo); transition: all .35s var(--ease);
}
.step .num .icon { width: 30px; height: 30px; }
.step .num::after {
  counter-increment: step; content: counter(step); position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; font-family: var(--f-body);
}
.step:hover .num { background: var(--indigo); color: #fff; border-color: var(--indigo); transform: scale(1.06); }
.step h3 { font-size: 21px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
.model-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.model-foot p { margin: 0; }

/* =========================================================
   Servicios
   ========================================================= */
.services { background: #fff; padding-top: 0; }
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.svc {
  grid-column: span 4; position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: 30px;
  background: var(--cream); border: 1px solid transparent; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s;
  overflow: hidden; text-align: left; color: inherit;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: #fff; border-color: var(--line); }
.svc .ic { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--indigo-50); color: var(--indigo); margin-bottom: 22px; transition: transform .35s var(--ease); }
.svc:hover .ic { background: var(--indigo); color: #fff; }
.svc .ic .icon { width: 28px; height: 28px; }
.svc h3 { font-size: 24px; margin-bottom: 10px; }
.svc p { font-size: 15.5px; color: var(--muted); flex: 1; }
.svc .more-btn { background: none; border: 0; padding: 0; margin-top: 8px; align-self: flex-start; }
.svc.feature { grid-column: span 8; flex-direction: row; gap: 0; padding: 0; background: var(--indigo); color: #cfcdf3; }
.svc.feature .body { padding: 36px; display: flex; flex-direction: column; flex: 1; }
.svc.feature h3 { color: #fff; font-size: 30px; }
.svc.feature p { color: #cfcdf3; }
.svc.feature .ic, .svc.feature:hover .ic { background: rgba(255,255,255,.12); color: var(--accent-light); }
.svc.feature .link-arrow { color: var(--accent-light); }
.svc.feature .media { width: 46%; flex: none; position: relative; }
.svc.feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc.photo { padding: 0; min-height: 320px; justify-content: flex-end; color: #fff; }
.svc.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc.photo:hover img { transform: scale(1.06); }
.svc.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,25,0) 42%, rgba(10,10,25,.74) 100%); z-index: 1; }
.svc.photo .body { position: relative; z-index: 2; padding: 28px; }
.svc.photo h3 { color: #fff; margin-bottom: 6px; }
.svc.photo p { color: rgba(255,255,255,.82); margin-bottom: 8px; }
.svc.photo .link-arrow { color: var(--accent-light); }
.svc.photo .tag { position: absolute; top: 20px; left: 20px; z-index: 2; background: rgba(255,255,255,.92); color: var(--ink); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }


/* =========================================================
   Unidades especializadas
   ========================================================= */
.units { background: var(--ink); color: #c9c7e4; overflow: hidden; }
.units::before { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(143,208,243,.18), transparent); }
.units .title, .units h3 { color: #fff; }
.units .title em { color: var(--accent-light); }
.units .eyebrow { color: var(--teal-light); }
.units .lead { color: #a9a6cf; }
.unit-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; margin-bottom: clamp(64px, 8vw, 100px); }
.unit-hero .media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4.4; position: relative; }
.unit-hero .media img { width: 100%; height: 100%; object-fit: cover; }
.unit-hero h3 { font-size: clamp(28px, 3.4vw, 40px); }
.unit-hero .kicker { font-family: var(--f-display); font-style: normal; font-weight: 600; color: var(--accent-light); font-size: 17px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.chips span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 14px; font-weight: 600; }
.chips.light span { background: var(--indigo-50); border-color: transparent; color: var(--indigo); }

.elder { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); }
.elder-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; margin-bottom: 36px; }
.elder-head h3 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; }
.elder-head p { margin: 0; }
.elder-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
.elder-tabs { display: flex; flex-direction: column; gap: 6px; }
.elder-tabs button {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 16px; border: 0;
  background: transparent; color: #c9c7e4; font-weight: 600; font-size: 15px; transition: all .25s;
}
.elder-tabs button .icon { width: 20px; height: 20px; color: var(--accent-light); flex: none; }
.elder-tabs button:hover { background: rgba(255,255,255,.06); color: #fff; }
.elder-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.elder-tabs button[aria-selected="true"] .icon { color: var(--accent); }
.elder-panels { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--indigo); }
.elder-panel { display: grid; grid-template-columns: 1fr 1fr; height: 100%; animation: fade .5s var(--ease); }
.elder-panel[hidden] { display: none; }
.elder-panel .txt { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.elder-panel .txt .kicker { font-family: var(--f-display); font-style: normal; font-weight: 600; color: var(--accent-light); font-size: 16.5px; line-height: 1.35; margin-bottom: 14px; }
.elder-panel h4 { color: #fff; font-size: 28px; }
.elder-panel p { color: #d9d7f5; font-size: 15.5px; margin: 0; }
.elder-panel .img { position: relative; min-height: 260px; }
.elder-panel .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Por qué elegirnos / beneficios
   ========================================================= */
.why { background: var(--teal-50); overflow: hidden; }
.why .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.why-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.why-list .ic { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--teal); color: #fff; }
.why-list .ic .icon { width: 20px; height: 20px; }
.why-list b { color: var(--ink); display: block; font-size: 16px; }
.why-list span { font-size: 14.5px; color: var(--muted); }
.why-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-media figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.why-media figure img { width: 100%; height: 100%; object-fit: cover; }
.why-media figure:nth-child(1) { grid-row: span 2; aspect-ratio: 3 / 4.6; }
.why-media figure:nth-child(2), .why-media figure:nth-child(3) { aspect-ratio: 1 / 1; }
.stat-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; border-radius: 50%;
  background: var(--indigo); color: #fff; display: grid; place-items: center; text-align: center; border: 8px solid var(--accent-50);
  box-shadow: var(--shadow-lg); line-height: 1.1;
}
.stat-badge b { font-family: var(--f-display); font-weight: 800; font-size: 42px; display: block; }
.stat-badge small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(56px, 7vw, 88px); grid-column: 1 / -1; }
.benefit { border-top: 2px solid var(--teal); padding-top: 18px; }
.benefit b { display: block; font-family: var(--f-display); font-size: 18px; color: var(--ink); margin-bottom: 6px; font-weight: 700; }
.benefit span { font-size: 15px; color: var(--ink-2); }

/* =========================================================
   Equipo + instalaciones
   ========================================================= */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--indigo-50); }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.member:hover img { transform: scale(1.05); }
.member figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 14px 16px; line-height: 1.3;
}
.member figcaption b { display: block; color: var(--ink); font-size: 15.5px; }
.member figcaption span { font-size: 13px; color: var(--muted); }
.team-areas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; margin-top: clamp(56px, 7vw, 90px); }
.gallery figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(21,18,61,.72); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }

/* =========================================================
   Testimonios
   ========================================================= */
.testi { background: var(--indigo-50); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card { margin: 0; background: #fff; border-radius: var(--r-lg); padding: 34px 30px 28px; position: relative; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.t-card .q { width: 44px; height: 44px; color: var(--accent); margin-bottom: 14px; }
.t-card blockquote { margin: 0 0 24px; font-family: var(--f-body); font-size: 18px; font-weight: 500; line-height: 1.55; color: var(--ink); flex: 1; }
.t-card .who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.t-card .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--indigo); background: var(--indigo-50); }
.t-card .who b { display: block; color: var(--ink); font-size: 15px; line-height: 1.2; }
.t-card .who span { font-size: 13px; color: var(--muted); }
.stars { display: flex; gap: 2px; color: #f5a623; margin-bottom: 8px; }
.stars .icon { width: 16px; height: 16px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq .container { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq .head { position: sticky; top: 120px; }
.faq-help { margin-top: 28px; display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow-sm); }
.faq-help .ic { width: 48px; height: 48px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; flex: none; }
.faq-help .ic .icon { width: 24px; height: 24px; }
.faq-help b { color: var(--ink); display: block; line-height: 1.3; }
.faq-help a { color: var(--indigo); font-weight: 700; font-size: 14.5px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: 20px; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer;
  padding: 22px 24px; font-weight: 700; color: var(--ink); font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { width: 34px; height: 34px; border-radius: 50%; background: var(--indigo-50); color: var(--indigo); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .3s; }
.faq-item summary .pm .icon { width: 18px; height: 18px; }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-item .ans { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; }
.faq-item .ans p:last-child { margin: 0; }

/* =========================================================
   Blog
   ========================================================= */
.blog { background: #fff; }
.blog-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--cream); transition: transform .35s var(--ease), box-shadow .35s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post .img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.post .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .img img { transform: scale(1.06); }
.post .cat { position: absolute; left: 16px; top: 16px; background: #fff; color: var(--indigo); font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.post .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post .meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.post h3 { font-size: 22px; margin-bottom: 12px; }
.post p { font-size: 15px; color: var(--muted); flex: 1; }

/* =========================================================
   Contacto
   ========================================================= */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sede { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.sede .map { aspect-ratio: 16 / 8; background: var(--indigo-50); position: relative; }
.sede .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.sede .body { padding: 26px 28px 28px; }
.sede .badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600); background: var(--accent-50); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.sede h3 { font-size: 25px; margin-bottom: 14px; }
.info-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.info-list .icon { width: 19px; height: 19px; color: var(--indigo); margin-top: 3px; }
.info-list a:hover { color: var(--indigo); text-decoration: underline; }
.sede .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sede .actions .btn { padding: 12px 18px; font-size: 14.5px; }

.contact-form-wrap { margin-top: 24px; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--indigo); border-radius: var(--r-xl); overflow: hidden; color: #d7d5f5; }
.cf-info { padding: clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.cf-info::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.05); }
.cf-info h3 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.cf-info .hours { margin-top: 28px; display: grid; gap: 14px; }
.cf-info .hours div { display: flex; gap: 14px; align-items: flex-start; }
.cf-info .hours .icon { width: 22px; height: 22px; color: var(--accent-light); margin-top: 3px; }
.cf-info .hours b { color: #fff; display: block; }
.cf-info .channels { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cf-info .channels a { display: flex; flex-direction: column; background: rgba(255,255,255,.07); border-radius: 14px; padding: 12px 14px; font-size: 13px; transition: background .2s; }
.cf-info .channels a:hover { background: rgba(255,255,255,.14); }
.cf-info .channels b { color: #fff; font-size: 15.5px; }
.cf-form { background: #fff; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-xl) 0 0 var(--r-xl); color: var(--ink-2); }
.cf-form h3 { font-size: 26px; }
.cf-form > p { color: var(--muted); font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); background: #fff; box-shadow: 0 0 0 4px var(--indigo-50); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 12.5px; max-width: 280px; }

/* CTA final */
.cta { padding: 0 0 clamp(72px, 9vw, 110px); background: var(--cream); }
.cta-box {
  position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--accent); color: #fff;
  padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta-box::before { content: ""; position: absolute; left: -100px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.1); }
.cta-box::after { content: ""; position: absolute; right: 30%; bottom: -180px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-box .actions .btn { min-width: 240px; }
.cta-box h2 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); position: relative; z-index: 1; }
.cta-box p { color: rgba(255,255,255,.9); font-size: 18px; position: relative; z-index: 1; margin: 0; }
.cta-box .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; position: relative; z-index: 1; }
.cta-box .btn-white { color: var(--accent-600); }
.cta-brain { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 360px; opacity: .1; z-index: 0; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: #a9a6cf; padding: 80px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand-text b { color: #fff; }
.footer .brand-text small { color: #a9a6cf; }
.footer .tagline { font-family: var(--f-display); font-style: normal; font-weight: 700; font-size: 18px; color: #fff; margin: 22px 0 10px; }
.footer h4 { color: #fff; font-family: var(--f-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .social { display: flex; gap: 10px; margin-top: 22px; }
.footer .social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .25s, transform .25s; }
.footer .social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer .social .icon { width: 19px; height: 19px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: ping 2.4s ease-out infinite; z-index: -1; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float .tip { position: absolute; right: 74px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; padding: 10px 14px; border-radius: 12px; white-space: nowrap; box-shadow: var(--shadow-md); opacity: 0; transform: translateX(8px); transition: all .3s; pointer-events: none; }
.wa-float:hover .tip { opacity: 1; transform: none; }

/* Modal de servicio */
.modal { border: 0; padding: 0; border-radius: var(--r-lg); max-width: 640px; width: calc(100% - 32px); box-shadow: var(--shadow-lg); color: var(--ink-2); background: #fff; }
.modal::backdrop { background: rgba(21,18,61,.55); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-inner { padding: clamp(28px, 4vw, 44px); position: relative; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--indigo-50); color: var(--indigo); display: grid; place-items: center; }
.modal-close .icon { width: 20px; height: 20px; }
.modal h3 { font-size: 30px; padding-right: 48px; }
.modal .kicker { font-family: var(--f-display); font-style: normal; font-weight: 600; font-size: 17px; color: var(--accent); line-height: 1.4; }
.modal .btn { margin-top: 10px; }

/* Animaciones de entrada */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1220px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 1100px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .elder-wrap { grid-template-columns: 1fr; }
  .elder-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .elder-tabs button { white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .topbar .hide-md { display: none; }
  .about .container, .why .container, .unit-hero, .faq .container, .contact-form-wrap, .cta-box, .elder-head { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .about-media .quote-card { right: 0; }
  .model-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .model-grid::before { display: none; }
  .model-foot { grid-template-columns: 1fr; gap: 16px; }
  .svc, .svc.feature { grid-column: span 6; }
  .svc.feature { flex-direction: column-reverse; }
  .svc.feature .media { width: 100%; aspect-ratio: 16 / 9; }
  .testi-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .t-card:nth-child(2) { transform: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr 1fr; }
  .faq .head { position: static; }
  .cf-form { border-radius: var(--r-xl) var(--r-xl) 0 0; order: -1; }
  .cta-box .actions { align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .slide-content { align-items: flex-end; padding: 96px 0 84px; min-height: 620px; }
  .slide::after { background: linear-gradient(0deg, rgba(10,12,32,.86) 0%, rgba(10,12,32,.6) 45%, rgba(10,12,32,.12) 78%, rgba(10,12,32,0) 100%); }
  .slide-inner { padding-bottom: 0; }
  .slide .lead { font-size: 16px; margin-bottom: 24px; }
  .hero-actions { margin-bottom: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stat { display: none; }
  .hero-controls { bottom: 26px; }
  .hero-controls .container { justify-content: flex-start; }
  .arrows { display: none; }
  .topbar .container { justify-content: center; }
  .topbar .hide-sm { display: none; }
  .header .container { height: 70px; }
  .brand img { width: 46px; }
  .brand-text b { font-size: 22px; letter-spacing: .36em; margin-right: -.36em; }
  .brand-text small { font-size: 6.6px; letter-spacing: .03em; }
  .header-cta .btn { display: none; }
  .mv, .testi-grid, .blog-grid, .form-grid, .values { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .svc, .svc.feature { grid-column: span 12; }
  .model-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .elder-panel { grid-template-columns: 1fr; }
  .elder-panel .img { min-height: 200px; order: -1; }
  .benefits { grid-template-columns: 1fr; }
  .team-grid { gap: 12px; }
  .member figcaption { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; }
  .member figcaption b { font-size: 13.5px; }
  .cf-info .channels { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-badge { width: 120px; height: 120px; }
  .stat-badge b { font-size: 34px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

/* Menú móvil */
.mobile-nav {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff; padding: 24px var(--gutter);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); visibility: hidden;
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.mobile-nav .top .brand-text b { color: #fff; }
.mobile-nav .close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; }
.mobile-nav .close .icon { width: 22px; height: 22px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mobile-nav ul a { display: block; font-family: var(--f-display); font-weight: 700; font-size: 26px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav .btn { margin-top: auto; }

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

/* Tarjeta de orientación en servicios */
.svc.svc-cta { background: var(--ink); color: #c9c7e4; }
.svc.svc-cta:hover { background: var(--indigo); border-color: transparent; }
.svc.svc-cta h3 { color: #fff; }
.svc.svc-cta p { color: #c9c7e4; }
.svc.svc-cta .ic, .svc.svc-cta:hover .ic { background: rgba(255,255,255,.1); color: var(--accent-light); }
.svc.svc-cta .link-arrow { color: var(--accent-light); }

/* =========================================================
   Áreas complementarias · estilo corporativo
   ========================================================= */
.complementary { background: #fff; }
.complementary .head-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 60px); }
.complementary .head-row .head { margin: 0; }
.complementary .head-row > p { margin: 0; color: var(--muted); font-size: 17px; }
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.comp { position: relative; padding: 40px 36px 38px; border-right: 1px solid var(--line); transition: background .35s var(--ease); }
.comp:last-child { border-right: 0; }
.comp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.comp:hover { background: var(--cream); }
.comp:hover::before { transform: scaleX(1); }
.comp .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.comp .ic { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--indigo-50); color: var(--indigo); transition: background .3s, color .3s; }
.comp:hover .ic { background: var(--indigo); color: #fff; }
.comp .ic .icon { width: 26px; height: 26px; }
.comp .num { font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .1em; color: var(--indigo-100); }
.comp h3 { font-size: 22px; margin-bottom: 10px; }
.comp .kicker { font-weight: 600; font-size: 15px; color: var(--teal); line-height: 1.5; margin-bottom: 14px; }
.comp p { font-size: 15px; color: var(--ink-2); }
.comp ul { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.comp li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.comp li .icon { width: 16px; height: 16px; color: var(--teal); margin-top: 3px; }
@media (max-width: 960px) {
  .complementary .head-row { grid-template-columns: 1fr; gap: 16px; }
  .comp-grid { grid-template-columns: 1fr; }
  .comp { border-right: 0; border-bottom: 1px solid var(--line); }
  .comp:last-child { border-bottom: 0; }
}

/* =========================================================
   v3 · Sitio multipágina
   ========================================================= */
/* Menú desplegable */
.nav .has-sub { position: relative; }
.nav .chev { width: 14px; height: 14px; transition: transform .25s; }
.nav .has-sub:hover .chev, .nav .has-sub:focus-within .chev { transform: rotate(180deg); }
.nav .sub {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px); padding-top: 10px;
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; z-index: 70;
}
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .sub-inner { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); padding: 14px; display: grid; grid-auto-flow: column; gap: 8px; }
.nav .sub-col { min-width: 230px; display: flex; flex-direction: column; }
.nav .sub-col b { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); padding: 8px 12px 6px; }
.nav .sub a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.nav .sub a .icon { width: 18px; height: 18px; color: var(--indigo); flex: none; }
.nav .sub a:hover, .nav .sub a.active { background: var(--indigo-50); color: var(--indigo); }
.nav .sub .all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--accent); }

/* Menú móvil con grupos */
.mobile-nav { overflow-y: auto; }
.mobile-nav ul a { font-size: 21px; }
.mobile-nav .m-group { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); padding: 18px 0 4px; font-weight: 700; }
.mobile-nav .m-sub a { font-family: var(--f-body); font-weight: 500; font-size: 16px; padding: 7px 0 7px 14px; color: #cfcde6; border-bottom: 0; }
.mobile-nav .btn { margin-top: 28px; flex: none; }

/* Encabezado de página interna */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 92px); }
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02); object-position: var(--pos, 70% center); }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,12,32,.76) 0%, rgba(10,12,32,.52) 42%, rgba(10,12,32,.14) 75%, rgba(10,12,32,.04) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .inner { max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 22px; list-style: none; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.page-hero .overline { display: block; font-family: var(--f-display); font-weight: 600; font-size: 13.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 14px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.8vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 18px; }
.page-hero .ph-sub { color: rgba(255,255,255,.86); font-size: clamp(16.5px, 1.5vw, 19px); max-width: 62ch; margin-bottom: 28px; }
.page-hero .hero-actions { margin: 0; }
.page-hero.compact { padding: clamp(48px, 6vw, 80px) 0; }

/* Cuerpo con barra lateral */
.page-body { padding: clamp(56px, 8vw, 96px) 0; background: #fff; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { min-width: 0; font-size: 17px; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(24px, 2.6vw, 31px); font-weight: 800; letter-spacing: -.025em; margin: 56px 0 18px; scroll-margin-top: 110px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p { margin-bottom: 1.1em; }
.prose ul:not([class]):not(.keypoints ul) { padding-left: 0; list-style: none; margin: 0 0 1.2em; display: grid; gap: 10px; }
.prose ul:not([class]) li:not(.keypoints li) { position: relative; padding-left: 28px; }
.prose ul:not([class]) li:not(.keypoints li)::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
.prose a:not(.btn) { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.answer { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.6; color: var(--ink); font-weight: 500; border-left: 4px solid var(--teal); padding: 4px 0 4px 22px; margin-bottom: 32px; }
.keypoints { background: var(--teal-50); border-radius: var(--r-lg); padding: 26px 28px; margin: 0 0 8px; }
.keypoints > b { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px; }
.keypoints > b .icon { width: 18px; height: 18px; }
.keypoints ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.keypoints li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: 16px; }
.keypoints li .icon { width: 18px; height: 18px; color: var(--teal); margin-top: 4px; }
.checklist { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 15.5px; color: var(--ink); line-height: 1.45; }
.checklist li .icon { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 1px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tags span { padding: 9px 16px; border-radius: 999px; background: var(--indigo-50); color: var(--indigo); font-weight: 600; font-size: 14.5px; }
.steps-v { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; }
.steps-v li { counter-increment: s; position: relative; padding: 0 0 26px 64px; }
.steps-v li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--indigo); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 15px; display: grid; place-items: center; }
.steps-v li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--indigo-100); }
.steps-v li:last-child::after { display: none; }
.steps-v b { display: block; color: var(--ink); font-size: 17.5px; font-family: var(--f-display); margin-bottom: 4px; padding-top: 9px; }
.steps-v p { margin: 0; font-size: 15.5px; color: var(--muted); }
.prose .faq-list { margin-top: 8px; }

/* Barra lateral */
.sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
.side-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: #fff; }
.side-card h3 { font-size: 17px; margin-bottom: 14px; }
.side-cta { background: var(--indigo); color: #d9d7f5; border: 0; position: relative; overflow: hidden; }
.side-cta::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 150px; height: 150px; border-radius: 50%; border: 26px solid rgba(255,255,255,.06); }
.side-cta h3 { color: #fff; font-size: 21px; }
.side-cta p { font-size: 15px; margin-bottom: 18px; }
.side-cta .btn { width: 100%; margin-top: 8px; position: relative; z-index: 1; }
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.side-nav a .icon { width: 16px; height: 16px; opacity: .4; }
.side-nav a:hover { background: var(--indigo-50); color: var(--indigo); }
.side-nav a[aria-current] { background: var(--indigo-50); color: var(--indigo); }
.side-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; }
.side-info li { display: flex; gap: 10px; align-items: flex-start; }
.side-info .icon { width: 18px; height: 18px; color: var(--teal); margin-top: 2px; }
.side-info b { color: var(--ink); display: block; }

/* Ecuasanitas */
.cover { display: flex; gap: 14px; align-items: flex-start; border-radius: var(--r-md); padding: 18px 20px; background: var(--teal-50); border: 1px solid rgba(0,152,160,.18); }
.cover .icon { width: 24px; height: 24px; color: var(--teal); flex: none; margin-top: 2px; }
.cover b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; font-family: var(--f-display); }
.cover p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.footer .cover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); margin-top: 24px; }
.footer .cover b { color: #fff; }
.footer .cover p { color: #b9b7d9; }
.footer .cover .icon { color: var(--teal-light); }

/* Tarjetas de hubs */
.hub-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.hub-intro p { margin: 0; color: var(--ink-2); font-size: 17px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hub-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.hub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.hub-card .img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--indigo-50); }
.hub-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hub-card:hover .img img { transform: scale(1.05); }
.hub-card .img .ic { position: absolute; left: 18px; bottom: -22px; width: 48px; height: 48px; border-radius: 12px; background: var(--indigo); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); }
.hub-card .img .ic .icon { width: 24px; height: 24px; }
.hub-card .body { padding: 36px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.hub-card h3 { font-size: 21px; margin-bottom: 8px; }
.hub-card p { font-size: 15px; color: var(--muted); flex: 1; }
.hub-card .img { overflow: visible; }
.hub-card .img .clip { position: absolute; inset: 0; overflow: hidden; }

/* Relacionados + banda CTA */
.related { background: var(--cream); padding: clamp(56px, 7vw, 88px) 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s; }
.rel:hover { border-color: var(--indigo-100); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.rel .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--indigo-50); color: var(--indigo); display: grid; place-items: center; flex: none; }
.rel .ic .icon { width: 22px; height: 22px; }
.rel b { display: block; color: var(--ink); font-size: 16px; line-height: 1.3; }
.rel span { font-size: 13.5px; color: var(--muted); }
.rel > .icon { width: 18px; height: 18px; color: var(--accent); margin-left: auto; flex: none; }
.band { background: var(--teal); color: #fff; padding: clamp(40px, 5vw, 56px) 0; }
.band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 0 0 6px; }
.band p { margin: 0; color: rgba(255,255,255,.9); }
.band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.band .btn-white { color: var(--teal-600); }

/* Profesionales */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.people.mini { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.person { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.person .ph { aspect-ratio: 4 / 5; overflow: hidden; background: #eef0f6; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.person:hover .ph img { transform: scale(1.04); }
.person figcaption { padding: 18px 18px 20px; line-height: 1.35; }
.person b { display: block; font-family: var(--f-display); color: var(--ink); font-size: 16.5px; margin-bottom: 4px; }
.person .role { display: block; color: var(--teal-600); font-weight: 700; font-size: 13.5px; }
.person .cred { display: block; color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.people.mini .person figcaption { padding: 14px; }
.people.mini .person b { font-size: 14.5px; }
.lead-team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: clamp(48px, 6vw, 72px); }
.leader { display: grid; grid-template-columns: 220px 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--indigo); color: #d9d7f5; }
.leader .ph { aspect-ratio: 4 / 5; }
.leader .ph img { width: 100%; height: 100%; object-fit: cover; }
.leader .txt { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.leader .tag { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light); font-weight: 700; margin-bottom: 10px; }
.leader b { color: #fff; font-family: var(--f-display); font-size: 22px; line-height: 1.2; margin-bottom: 8px; }
.leader p { margin: 0; font-size: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: all .2s; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.person[hidden] { display: none; }

/* Sedes */
.sede-map { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--indigo-50); position: relative; margin: 8px 0 8px; }
.sede-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sedes-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sede-link { display: grid; grid-template-columns: 180px 1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.sede-link:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sede-link .img img { width: 100%; height: 100%; object-fit: cover; }
.sede-link .body { padding: 24px; }
.sede-link .badge { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); background: var(--teal-50); padding: 5px 10px; border-radius: 999px; margin-bottom: 10px; }
.sede-link h3 { font-size: 21px; margin-bottom: 8px; }
.sede-link p { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }

/* Blog */
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: rgba(255,255,255,.8); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .icon { width: 16px; height: 16px; color: var(--teal-light); }
.sources { margin-top: 48px; padding: 22px 24px; border-radius: var(--r-md); background: var(--cream); font-size: 14px; }
.sources b { display: block; color: var(--ink); margin-bottom: 8px; }
.sources ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.sources a { color: var(--accent); word-break: break-word; }
.disclaimer { margin-top: 18px; font-size: 13.5px; color: var(--muted); font-style: normal; }

/* FAQ por categorías */
.faq-cats { display: grid; gap: 48px; }
.faq-cat h2 { font-size: 24px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.faq-cat h2 .icon { width: 26px; height: 26px; color: var(--teal); }

/* Bloques de texto (Nosotros) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.split h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.split p { color: var(--ink-2); }

/* 404 */
.notfound { text-align: center; padding: clamp(80px, 12vw, 160px) 0; }
.notfound b { display: block; font-family: var(--f-display); font-size: clamp(80px, 14vw, 160px); line-height: 1; color: var(--indigo-100); font-weight: 800; }

@media (max-width: 1100px) {
  .people { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .hub-intro, .split, .lead-team, .sedes-strip { grid-template-columns: 1fr; }
  .hub-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .page-hero::after { background: linear-gradient(90deg, rgba(10,12,32,.74), rgba(10,12,32,.5)); }
}
@media (max-width: 640px) {
  .sidebar { grid-template-columns: 1fr; }
  .hub-grid, .related-grid, .checklist { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person figcaption { padding: 12px; }
  .person b { font-size: 14.5px; }
  .leader { grid-template-columns: 120px 1fr; }
  .leader .txt { padding: 18px; }
  .leader b { font-size: 18px; }
  .sede-link { grid-template-columns: 1fr; }
  .sede-link .img { aspect-ratio: 16 / 8; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Crédito del desarrollador */
.footer .credit a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--teal-light); }
.footer .credit a:hover { color: var(--teal-light); }

/* =========================================================
   v4 · Cambios del cliente
   ========================================================= */
/* Texto legible sobre fotos con filtro suave */
.slide .overline, .slide .hero-title, .slide .brandline, .slide .lead, .page-hero .overline, .page-hero h1, .page-hero .ph-sub, .page-hero .crumbs {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35);
}
.hero-stat { background: rgba(10, 12, 32, .38); }

/* Foto completa en "Bienvenidos" */
.about-media .photo.full { aspect-ratio: auto; background: #fff; }
.about-media .photo.full img { height: auto; object-fit: contain; }

/* Barra superior con dos teléfonos */
.topbar a b { color: #fff; font-weight: 700; }
.topbar .tb-hours { display: inline-flex; gap: 7px; align-items: center; }
@media (max-width: 1240px) { .topbar .hide-lg { display: none; } }
@media (max-width: 640px) {
  .topbar .container { justify-content: center; }
  .topbar ul { gap: 16px; font-size: 12.5px; }
}

/* Testimonios */
.testi-grid.t2 { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin: 0 auto; }
.testi-grid.t1 { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.t-card blockquote { font-size: 17px; }

/* Programas del adulto mayor */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.program { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; background: var(--cream); }
.program h3 { margin: 0 0 8px; font-size: 17.5px; color: var(--indigo); }
.program p { margin: 0; font-size: 15px; }
.agenda-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 18px; }
.prose .agenda-actions a.btn { text-decoration: none; }

/* Página de sede (enfocada) */
.sede-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.sede-map.tall { aspect-ratio: auto; min-height: 460px; margin: 0; }
.sede-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); background: #fff; display: flex; flex-direction: column; gap: 18px; }
.sede-card .badge { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); background: var(--teal-50); padding: 5px 10px; border-radius: 999px; }
.sede-card h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin: 0; }
.sede-card .side-info { font-size: 15.5px; gap: 14px; }
.sede-card .side-info a { color: var(--accent); font-weight: 600; }
.sede-llegar { margin: 0; font-size: 15px; color: var(--muted); }
.sede-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sede-actions .btn { padding: 12px 18px; font-size: 14.5px; }
.sede-otra { margin: 28px 0 0; text-align: center; color: var(--muted); }
.sede-otra a { color: var(--accent); font-weight: 700; }

/* Contacto */
.channels-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.channel { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.channel .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); margin-bottom: 8px; }
.channel .ic .icon { width: 22px; height: 22px; }
.channel b { color: var(--ink); font-family: var(--f-display); }
.channel span:last-child { color: var(--ink-2); font-size: 15px; word-break: break-word; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.trust > div:first-child { display: flex; gap: 14px; align-items: flex-start; border-radius: var(--r-md); padding: 18px 20px; background: var(--indigo-50); }
.trust > div:first-child .icon { width: 24px; height: 24px; color: var(--indigo); flex: none; margin-top: 2px; }
.trust b { display: block; color: var(--ink); font-family: var(--f-display); margin-bottom: 4px; }
.trust p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.sede h3 a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .sede-layout, .trust { grid-template-columns: 1fr; }
  .sede-map.tall { min-height: 320px; }
  .channels-row { grid-template-columns: 1fr 1fr; }
  .testi-grid.t2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .programs { grid-template-columns: 1fr; }
  .channels-row { grid-template-columns: 1fr; }
}

/* Formulario: campo trampa anti-spam y estados de envío */
.cf-form .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-form { position: relative; }
.field label small { font-weight: 500; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; }
.form-status.ok { background: var(--teal-50); color: var(--teal-600); border: 1px solid rgba(0,152,160,.25); }
.form-status.error { background: #fdecee; color: #a8243a; border: 1px solid rgba(224,68,90,.25); }
.form-status a { color: inherit; font-weight: 700; text-decoration: underline; }
.cf-form button[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-foot small a { color: var(--accent); font-weight: 600; }

/* Encabezado con foto grupal completa (Nosotros, Equipo): la foto nunca se recorta */
.page-hero.ph-split { background: linear-gradient(135deg, var(--ink) 0%, #1d1a5c 100%); }
.page-hero.ph-split::after { display: none; }
.page-hero.ph-split .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.page-hero.ph-split .inner { max-width: none; }
.page-hero.ph-split h1 { font-size: clamp(30px, 3.6vw, 48px); }
.page-hero.ph-split .overline, .page-hero.ph-split h1, .page-hero.ph-split .ph-sub, .page-hero.ph-split .crumbs { text-shadow: none; }
.ph-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); background: #fff; }
.ph-photo img { width: 100%; height: auto; display: block; }
@media (max-width: 960px) {
  .page-hero.ph-split .container { grid-template-columns: 1fr; }
}
