/* ══════════════════════════════════════════════
   RED DE APOYO PARA EL CONOCIMIENTO — estilos v3
   Colores del logo. Para cambiarlos, edita solo :root
   ══════════════════════════════════════════════ */

:root {
  --tinta: #14215A;        /* azul oscuro del logo */
  --tinta-2: #1C2D72;
  --azul: #2457B0;         /* azul del cerebro */
  --azul-hover: #1B4590;
  --celeste: #5B95F5;      /* azul claro para detalles */
  --cielo: #EAF1FF;        /* fondos suaves */
  --hielo: #F6F9FF;
  --papel: #FFFFFF;
  --texto: #26304F;
  --gris: #5A6485;
  --linea: #DCE3F0;
  --sol: #FFD54A;          /* amarillo marcatexto, solo para acentos */
  --lapiz: #D23B33;        /* tinta roja de las correcciones */
  --wa: #1E9E50;

  --titulos: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Literata", Georgia, serif;
  --mano: "Caveat", "Segoe Print", cursive;

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --ancho: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --sombra: 0 1px 2px rgba(20,33,90,.06), 0 10px 30px -14px rgba(20,33,90,.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--papel); color: var(--texto);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-underline-offset: .18em; }
a:hover { color: var(--azul-hover); }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--titulos); color: var(--tinta);
  font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--tinta); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.sprite { display: none; }
.svgi { width: 1.15em; height: 1.15em; flex: none; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Botones ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--sans); padding: 1em 1.5em; border-radius: 999px;
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--azul); color: #fff; }
.btn--primary:hover { background: var(--azul-hover); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17843F; color: #fff; }
.btn--light { background: #fff; color: var(--tinta); }
.btn--light:hover { background: var(--cielo); color: var(--tinta); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--line { border-color: var(--linea); color: var(--tinta); background: #fff; }
.btn--line:hover { border-color: var(--azul); color: var(--azul); }
.btn--lg { font-size: 1.08rem; padding: 1.1em 1.7em; }
.btn--block { width: 100%; }

/* ── Header ──────────────────────────────── */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--linea); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); }
.brand img { width: 46px; height: auto; }
.brand span { font-family: var(--titulos); font-weight: 800; font-size: 1.08rem; line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; }
.brand small { display: block; font-weight: 500; font-size: .86rem; color: var(--gris); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--texto); text-decoration: none; font-weight: 500; font-size: .97rem; white-space: nowrap; }
.nav a:hover, .nav a.is-active { color: var(--azul); }
.nav .btn { color: #fff; padding: .75em 1.2em; font-size: .95rem; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--tinta); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--linea); padding: 8px var(--gutter) 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--linea); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
}

/* ── Fondo de cuaderno punteado (textura de marca) ── */
.dots {
  background-color: var(--tinta);
  background-image: radial-gradient(rgba(255,255,255,.13) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}

/* ── Hero ────────────────────────────────── */
.hero { color: #CFD9F2; padding: clamp(48px, 7vw, 96px) 0 clamp(110px, 12vw, 150px); position: relative; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1);
  color: #fff; font-weight: 600; font-size: .92rem; padding: 8px 14px 8px 10px; border-radius: 999px; margin-bottom: 22px;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.hero__lead { font-size: 1.18rem; max-width: 33em; color: #C9D4EE; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero__levels { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__levels span { border: 1px solid rgba(255,255,255,.22); color: #E3E9F8; border-radius: 999px; padding: 5px 13px; font-size: .9rem; }
@media (max-width: 920px) { .hero__inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hero__actions .btn { width: 100%; } }

/* La hoja corregida */
.sheet-wrap { position: relative; padding: 18px 10px 10px; }
.sheet {
  background: var(--papel); border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  padding: clamp(22px, 3.2vw, 36px); transform: rotate(1.2deg); position: relative;
}
.sheet__chapter { font-family: var(--serif); font-style: italic; color: var(--gris); font-size: .9rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--linea); }
.sheet__row { display: grid; grid-template-columns: 1fr 150px; gap: 16px; margin-bottom: 14px; }
.sheet__text { font-family: var(--serif); font-size: .96rem; line-height: 1.75; color: var(--texto); }
.sheet__text h3 { font-family: var(--serif); font-size: 1rem; letter-spacing: 0; margin: 0 0 4px; font-weight: 600; }
.sheet__notes { display: grid; align-content: start; gap: 10px; }
.note { font-family: var(--mano); color: var(--lapiz); font-size: 1.45rem; line-height: 1.02; border-left: 2px solid var(--lapiz); padding-left: 9px; }
.hl { background: linear-gradient(transparent 12%, var(--sol) 12%, var(--sol) 88%, transparent 88%); padding: 0 2px; }
.strike { color: #8A90A6; text-decoration: line-through 2px var(--lapiz); }
.circle { border: 2px solid var(--lapiz); border-radius: 50% 46% 52% 48%; padding: 0 5px; margin: 0 -3px; }
.sheet__sign { font-family: var(--mano); color: var(--lapiz); font-size: 1.7rem; line-height: 1.1; margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--linea); }
.sticky {
  position: absolute; top: -6px; right: -4px; z-index: 2; transform: rotate(5deg);
  background: var(--sol); color: var(--tinta); font-family: var(--mano); font-size: 1.45rem; line-height: 1;
  padding: 14px 16px 16px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.45); border-radius: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .js .note, .js .sheet__sign, .js .sticky { opacity: 0; animation: escribir .5s ease-out forwards; }
  .js .strike { text-decoration-color: transparent; animation: tachar .4s ease-out .5s forwards; }
  .js .hl { background-size: 0 100%; background-repeat: no-repeat; animation: resaltar .5s ease-out .2s forwards; }
  .js .n1 { animation-delay: .7s; } .js .n2 { animation-delay: 1.1s; } .js .n3 { animation-delay: 1.6s; }
  .js .sheet__sign { animation-delay: 2.1s; } .js .sticky { animation-delay: 2.5s; }
}
@keyframes escribir { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: 0 0; } }
@keyframes tachar { to { text-decoration-color: var(--lapiz); } }
@keyframes resaltar { to { background-size: 100% 100%; } }
@media (max-width: 560px) {
  .sheet { transform: none; }
  .sheet__row { grid-template-columns: 1fr; gap: 8px; }
  .sheet__notes { padding-left: 12px; }
  .sticky { font-size: 1.2rem; padding: 10px 12px; right: 4px; top: -14px; }
}

/* Franja de confianza, montada sobre el hero */
.trust { margin-top: -72px; position: relative; z-index: 3; }
.trust__grid {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sombra);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px;
}
.trust__item { display: flex; gap: 14px; align-items: center; padding: 20px 22px; }
.trust__item + .trust__item { border-left: 1px solid var(--linea); }
.trust__item strong { display: block; color: var(--tinta); font-size: 1rem; line-height: 1.25; }
.trust__item span { color: var(--gris); font-size: .9rem; line-height: 1.35; display: block; }
.bubble { width: 48px; height: 48px; border-radius: 14px; background: var(--cielo); color: var(--azul); display: grid; place-items: center; flex: none; }
@media (max-width: 960px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--linea); }
}
@media (max-width: 520px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--linea); }
}

/* ── Secciones ───────────────────────────── */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--cielo); }
.section--dark { color: #C9D4EE; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .head p, .section--dark .step p { color: #C9D4EE; }
.section--dark .steps::before { border-color: rgba(255,255,255,.28); }
.section--dark .step__num { background: var(--sol); color: var(--tinta); box-shadow: 0 0 0 8px var(--tinta); }
.head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head p { color: var(--gris); font-size: 1.12rem; }

/* ¿Te pasa esto? */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain { background: #fff; border: 1px solid var(--linea); border-radius: var(--r-md); padding: 26px 24px; display: flex; flex-direction: column; }
.pain .bubble { margin-bottom: 18px; }
.pain h3 { font-size: 1.13rem; }
.pain p { color: var(--gris); font-size: .97rem; margin: 0 0 18px; }
.pain__fix { margin-top: auto; display: flex; gap: 8px; align-items: flex-start; color: var(--tinta); font-weight: 600; font-size: .95rem; padding-top: 16px; border-top: 1px dashed var(--linea); }
.pain__fix .ico { width: 20px; height: 20px; color: var(--wa); margin-top: 1px; }
@media (max-width: 1000px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; } }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--r-md); padding: 28px 26px;
  display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s;
}
.svc:hover { border-color: #B9CBEE; box-shadow: var(--sombra); }
.svc .bubble { margin-bottom: 18px; }
.svc h3 { font-size: 1.3rem; }
.svc h3 a { color: inherit; text-decoration: none; }
.svc p { color: var(--gris); font-size: .98rem; }
.svc ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; font-size: .95rem; }
.svc li { display: flex; gap: 8px; align-items: flex-start; }
.svc li .ico { width: 18px; height: 18px; color: var(--azul); margin-top: 3px; }
.svc__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.svc__actions .btn { padding: .75em 1.2em; font-size: .95rem; }
.svc__more { font-weight: 600; font-size: .95rem; }
.svc--feature { grid-row: span 2; background: var(--azul); border-color: var(--azul); color: #DCE6FA; }
.svc--feature h3, .svc--feature h3 a { color: #fff; }
.svc--feature p { color: #D3DEF6; }
.svc--feature .bubble { background: rgba(255,255,255,.14); color: #fff; }
.svc--feature li .ico { color: var(--sol); }
.svc--feature .svc__more { color: #fff; }
.svc--feature .tag { display: inline-block; background: var(--sol); color: var(--tinta); font-weight: 700; font-size: .82rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; align-self: flex-start; }
.track { background: rgba(255,255,255,.1); border-radius: var(--r-sm); padding: 6px 14px; margin: 0 0 24px; font-size: .9rem; }
.track div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.track div:last-child { border-bottom: 0; }
.track span { color: #E3EAFA; }
.track b { font-weight: 600; font-size: .8rem; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.12); color: #C9D4EE; white-space: nowrap; }
.track b.ok { background: #3DDC84; color: #0B3D22; }
.track b.rev { background: var(--sol); color: var(--tinta); }
@media (max-width: 980px) { .services { grid-template-columns: 1fr 1fr; } .svc--feature { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

.services--two { grid-template-columns: 1fr 1fr; margin-top: 18px; }
@media (max-width: 620px) { .services--two { grid-template-columns: 1fr; } }
.others { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.others > span { font-weight: 600; color: var(--tinta); margin-right: 6px; }
.chip {
  background: #fff; color: var(--tinta); border: 1px solid var(--linea); border-radius: 999px;
  padding: 8px 15px; font: 500 .95rem var(--sans); cursor: pointer; transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--azul); background: #fff; }
.chip--link { text-decoration: none; display: inline-block; font-weight: 600; color: var(--azul); }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; border-top: 2px dashed #B9CBEE; }
.step { text-align: center; position: relative; padding: 0 6px; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--azul); color: #fff; margin: 0 auto 18px;
  display: grid; place-items: center; font-family: var(--titulos); font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 0 0 8px var(--hielo);
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--gris); font-size: .97rem; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 10px; bottom: 10px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed #B9CBEE; }
  .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding: 0; }
  .step__num { margin: 0; grid-row: span 2; }
}

/* Educación virtual */
.virtual { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: #fff; background: var(--wa); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 2.6; margin-top: 2px; }
.planner { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sombra); padding: 24px; border: 1px solid var(--linea); }
.planner__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.planner__top strong { font-family: var(--titulos); font-size: 1.15rem; color: var(--tinta); }
.planner__top span { font-size: .85rem; color: var(--gris); background: var(--cielo); padding: 4px 10px; border-radius: 999px; }
.task { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 13px 4px; border-top: 1px solid var(--linea); font-size: .95rem; }
.task__box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid #B9C3DA; display: grid; place-items: center; }
.task.is-done .task__box { background: var(--wa); border-color: var(--wa); }
.task.is-done .task__box .ico { width: 14px; height: 14px; color: #fff; stroke-width: 3.2; }
.task.is-done .task__name { color: var(--gris); text-decoration: line-through; }
.task__name small { display: block; color: var(--gris); font-size: .82rem; }
.task__when { font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--cielo); color: var(--gris); white-space: nowrap; }
.task__when--hoy { background: #FFF2C4; color: #7A5A00; }
.planner__bar { margin-top: 14px; height: 8px; background: var(--cielo); border-radius: 999px; overflow: hidden; }
.planner__bar i { display: block; height: 100%; width: 60%; background: var(--azul); border-radius: inherit; }
.planner__foot { font-size: .85rem; color: var(--gris); margin-top: 8px; }
@media (max-width: 900px) { .virtual { grid-template-columns: 1fr; } }

/* Asesor */
.advisor { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.advisor__card { background: #fff; box-shadow: var(--sombra); border-radius: var(--r-lg); padding: 30px; text-align: center; }
.advisor__photo { width: 200px; height: 200px; box-shadow: 0 12px 28px -12px rgba(20,33,90,.45); border-radius: 50%; margin: 0 auto 16px; background: var(--azul); color: #fff; display: grid; place-items: center; font-family: var(--titulos); font-weight: 800; font-size: 3rem; overflow: hidden; border: 5px solid #fff; }
.advisor__photo img { width: 100%; height: 100%; object-fit: cover; }
.advisor__card strong { font-family: var(--titulos); font-size: 1.3rem; color: var(--tinta); display: block; }
.advisor__card span { color: var(--gris); font-size: .95rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.pills span { background: #fff; border: 1px solid var(--linea); border-radius: 999px; padding: 6px 13px; font-size: .9rem; color: var(--tinta); font-weight: 500; }
.advisor h3 { font-size: 1.05rem; margin: 26px 0 0; }
@media (max-width: 820px) { .advisor { grid-template-columns: 1fr; } .advisor__card { max-width: 360px; } }

/* Banner de cotización */
.banner { border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; color: #CFD9F2; }
.banner h2 { color: #fff; margin-bottom: .3em; }
.banner p { margin: 0; font-size: 1.1rem; }
.banner__actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 780px) { .banner { grid-template-columns: 1fr; } .banner__actions { flex-direction: row; flex-wrap: wrap; } }

/* Preguntas frecuentes */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .head { position: sticky; top: 100px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--linea); border-radius: var(--r-sm); }
.faq details[open] { border-color: #B9CBEE; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; position: relative; font-weight: 600; color: var(--tinta); font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%;
  width: 28px; height: 28px; border-radius: 50%; background: var(--cielo); color: var(--azul);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 600; transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; background: var(--azul); color: #fff; }
.faq details p { color: var(--gris); margin: 0; padding: 0 22px 20px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .head { position: static; } }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--linea); border-radius: var(--r-md); padding: 14px 16px; }
.contact__list .bubble { width: 44px; height: 44px; border-radius: 12px; }
.contact__list .bubble .svgi { width: 22px; height: 22px; }
.contact__list strong { display: block; color: var(--tinta); font-size: .95rem; }
.contact__list span, .contact__list a { color: var(--gris); font-size: .95rem; word-break: break-word; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--cielo); color: var(--tinta); }
.social a:hover { background: var(--azul); color: #fff; }
.form { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sombra); padding: clamp(24px, 3.5vw, 38px); border: 1px solid var(--linea); }
.form h3 { font-size: 1.45rem; margin-bottom: 4px; }
.form > p { color: var(--gris); font-size: .95rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; color: var(--tinta); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--sans); color: var(--texto); border: 1px solid #C9D2E4; border-radius: var(--r-sm); padding: 12px 14px; background: var(--hielo); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul); background: #fff; box-shadow: 0 0 0 4px rgba(36,87,176,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form__hint { font-size: .86rem; color: var(--gris); margin: 12px 0 0; text-align: center; }
select.is-flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 5px var(--sol); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ── Páginas de servicio ─────────────────── */
.page-hero { color: #CFD9F2; padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 7vw, 84px); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.3rem); max-width: 16em; }
.page-hero p { font-size: 1.15rem; max-width: 36em; }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: #AFC0E6; }
.crumbs a { color: #E3E9F8; }
.page-hero .hero__actions { margin-bottom: 0; }
.page-body { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose > p { max-width: 68ch; }
.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; margin: 0 0 1em; }
.includes li { background: var(--hielo); border: 1px solid var(--linea); border-radius: var(--r-sm); padding: 14px 16px; display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.includes .ico { width: 20px; height: 20px; color: var(--azul); margin-top: 2px; }
@media (max-width: 640px) { .includes { grid-template-columns: 1fr; } }
.side { position: sticky; top: 100px; background: #fff; border: 1px solid var(--linea); border-radius: var(--r-lg); box-shadow: var(--sombra); padding: 28px; }
.side h3 { font-size: 1.3rem; }
.side p { color: var(--gris); font-size: .97rem; }
.side ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .95rem; }
.side li { display: flex; gap: 8px; }
.side li .ico { width: 18px; height: 18px; color: var(--wa); margin-top: 3px; }
.side .btn + .btn { margin-top: 10px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.related a { display: inline-block; background: var(--cielo); color: var(--tinta); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-weight: 500; }
.related a:hover { background: var(--azul); color: #fff; }
@media (max-width: 900px) { .page-body { grid-template-columns: 1fr; } .side { position: static; } }

/* ── Footer ──────────────────────────────── */
.footer { color: #BFC9E3; padding: 64px 0 28px; font-size: .95rem; }
.footer a { color: #DDE4F4; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__brand img { width: 64px; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: .9; }
.footer__brand strong { font-family: var(--titulos); color: #fff; font-size: 1.25rem; display: block; margin-bottom: 8px; }
.footer h4 { color: #fff; font: 600 1rem var(--sans); margin: 0 0 14px; letter-spacing: 0; }
.footer__col { display: grid; gap: 8px; align-content: start; }
.footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer__bottom p { margin: 0; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(0,0,0,.4); }
.fab:hover { background: #17843F; color: #fff; }
.fab svg { width: 30px; height: 30px; }

/* ── Blog ────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--r-md); padding: 26px 24px;
  display: flex; flex-direction: column; text-decoration: none; color: var(--texto);
  transition: border-color .2s, box-shadow .2s;
}
.post-card:hover { border-color: #B9CBEE; box-shadow: var(--sombra); color: var(--texto); }
.post-card__tag { align-self: flex-start; background: var(--cielo); color: var(--azul); font-weight: 600; font-size: .82rem; padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.post-card h3 { font-size: 1.22rem; }
.post-card p { color: var(--gris); font-size: .96rem; }
.post-card__meta { margin-top: auto; font-size: .88rem; color: var(--gris); font-weight: 500; }
@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.more-link { margin: 28px 0 0; text-align: center; }
.post-meta { font-size: .95rem !important; color: #AFC0E6; margin: 0; }

.article { font-size: 1.08rem; }
.article p, .article li { line-height: 1.75; }
.article h3 { font-size: 1.2rem; margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .45em; }
.article li::marker { color: var(--azul); font-weight: 600; }
.example { background: var(--hielo); border: 1px solid var(--linea); border-left: 4px solid var(--azul); border-radius: var(--r-sm); padding: 18px 22px; margin: 0 0 1.4em; }
.example p:last-child, .example ol:last-child { margin-bottom: 0; }
.example__label { font-weight: 700; color: var(--azul); font-size: .9rem; margin-bottom: 8px !important; }
.table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; display: block; overflow-x: auto; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.table th { background: var(--cielo); color: var(--tinta); font-weight: 600; }
.table tbody tr:nth-child(even) td { background: var(--hielo); }
.article-cta { margin-top: 40px; background: var(--cielo); border-radius: var(--r-md); padding: 24px 26px; }
.article-cta p { margin-bottom: 16px; }

/* Carreras */
.pills a { background: var(--azul); color: #fff; border: 1px solid var(--azul); border-radius: 999px; padding: 6px 13px; font-size: .9rem; font-weight: 500; text-decoration: none; }
.pills a:hover { background: var(--azul-hover); color: #fff; }
.pills a.pills__all { background: #fff; color: var(--azul); }
.svc--other { grid-row: auto; }
.areas-all { margin-top: 56px; max-width: 900px; }
.areas-all p { color: var(--gris); }

/* Cifras */
.stats { padding: clamp(48px, 6vw, 72px) 0 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { text-align: center; padding: 8px 16px; }
.stat + .stat { border-left: 1px solid var(--linea); }
.stat strong { display: block; font-family: var(--titulos); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--azul); letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--gris); font-size: .98rem; }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; }
}
