/* ==========================================================================
   RENOVETEC — Hoja de estilos
   Lenguaje: claro y cálido, paneles redondeados, titulares finos,
   tarjetas de cristal sobre fotografía y un único acento oscuro.
   ========================================================================== */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0b1d33;
  --navy-2: #13294a;
  --navy-3: #1d3a63;
  --ink: #0b1d33;
  --text: #46536a;
  --muted: #6e7a8f;
  --line: #dfe8d2;
  --line-2: #ecf3e2;
  --bg: #ffffff;
  --panel: #f1f7e8;
  --panel-2: #daeead;
  --orange: #ff6b1a;
  --orange-2: #f2551b;
  --orange-soft: #fff1e8;
  --grad: linear-gradient(120deg, #ffb26b 0%, #ff6b1a 45%, #e8414e 100%);
  --ok: #0f7a4c;

  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Outfit", "Inter", system-ui, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sh-sm: 0 1px 2px rgba(11, 29, 51, .04), 0 4px 14px rgba(11, 29, 51, .05);
  --sh: 0 18px 40px -18px rgba(11, 29, 51, .22);
  --sh-lg: 0 40px 80px -30px rgba(11, 29, 51, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --container: 1200px;
  --wide: 1400px;
  --gutter: clamp(16px, 3.5vw, 32px);
  --section: clamp(64px, 8vw, 112px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; font-family: var(--f-sans); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #fff; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon--sm { width: 1em; height: 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.wide { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: clamp(12px, 2vw, 24px); }

/* ---------- Tipografía ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px; background: var(--panel-2); color: var(--navy-3); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.eyebrow--light { background: rgba(255, 255, 255, .1); color: #fff; }
.display { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; }
.h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 300; letter-spacing: -.015em; }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 400; }
.lead { font-size: clamp(1.05rem, 1.2vw, 1.15rem); line-height: 1.65; color: var(--muted); }
.text-accent { color: var(--orange); }
.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent; background: var(--navy); color: #fff; font-weight: 500; font-size: .9688rem; line-height: 1.2; white-space: nowrap; transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.btn .icon { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary:hover, .btn--dark:hover { background: var(--navy-3); box-shadow: 0 12px 24px -12px rgba(11, 29, 51, .6); }
.btn--accent { background: var(--orange); }
.btn--accent:hover { background: var(--orange-2); box-shadow: 0 12px 24px -10px rgba(255, 107, 26, .6); }
.btn--ghost, .btn--ghost-dark { background: transparent; color: var(--ink); border-color: rgba(11, 29, 51, .22); }
.btn--ghost:hover, .btn--ghost-dark:hover { border-color: var(--navy); background: rgba(11, 29, 51, .04); }
.btn--outline-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--panel); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9063rem; }
.btn--lg { min-height: 54px; padding: 14px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--navy-3); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--orange-2); }
.link-arrow:hover .icon { transform: translateX(4px); }
.linklike { text-decoration: underline; color: inherit; font-size: inherit; }
.round-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(11, 29, 51, .2); background: #fff; color: var(--navy); transition: background .25s, color .25s, border-color .25s, opacity .25s; }
.round-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.round-btn[disabled] { opacity: .35; pointer-events: none; }
.round-btn .icon { width: 18px; height: 18px; }

/* ---------- Topbar + cabecera ---------- */
.topbar { background: var(--panel); color: var(--muted); font-size: .8125rem; border-bottom: 1px solid var(--line-2); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.topbar__claim { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__claim .icon { width: 14px; height: 14px; color: var(--orange); }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar__links a:hover { color: var(--ink); }
.topbar__links .icon { width: 14px; height: 14px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 29, 51, .4); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand__logo { width: 148px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 999px; font-size: .9375rem; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s; }
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--panel); }
.nav__item.is-current > .nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--orange); }
.nav__link .icon { width: 15px; height: 15px; transition: transform .25s; }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.nav__mobile-cta { display: none; }

.mega { position: absolute; top: calc(100% + 12px); left: 50%; width: 620px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__link { display: flex; gap: 14px; padding: 14px; border-radius: var(--r); transition: background .2s; }
.mega__link:hover { background: var(--panel); }
.mega__link strong { display: block; font-weight: 500; font-size: .9688rem; }
.mega__link small { display: block; color: var(--muted); font-size: .8438rem; line-height: 1.45; margin-top: 2px; }
.mega__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--panel-2); color: var(--navy-3); transition: background .25s, color .25s; }
.mega__link:hover .mega__icon { background: var(--orange); color: #fff; }
.mega__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 14px 16px; border-radius: var(--r); background: var(--panel); color: var(--ink); font-size: .9063rem; font-weight: 500; transition: background .2s; }
.mega__foot:hover { background: var(--panel-2); }
.mega__foot .icon { color: var(--orange); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.header__phone .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-2); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; background: var(--panel); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21.5px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--alt { background: var(--panel); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lead { margin-top: 14px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.section-head--split > div { max-width: 660px; }

/* Panel: bloque redondeado en tono cálido, separado de los bordes (lenguaje principal) */
.panel { background: var(--panel); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 64px); position: relative; overflow: hidden; }
.panel--white { background: #fff; border: 1px solid var(--line); }
.section--panel { padding-block: clamp(24px, 3vw, 40px); }
.section--panel > .container, .section--panel > .wide { max-width: var(--wide); }
.section--panel > .container { background: var(--panel); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 72px) clamp(20px, 5vw, 72px); }

/* Banda oscura (solo para cifras) */
.section--dark { background: var(--navy); color: #c3cee0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #aebbd0; }
.blueprint { position: relative; }

/* Manchas de degradado decorativas */
.blob { position: absolute; border-radius: 50%; filter: blur(0); pointer-events: none; background: var(--grad); }
.blob--a { width: 340px; height: 340px; right: -110px; top: -140px; opacity: .9; }
.blob--b { width: 180px; height: 180px; left: -60px; bottom: -80px; opacity: .25; }

/* ---------- Cristal ---------- */
.glass { background: rgba(255, 255, 255, .78); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 20px 50px -24px rgba(11, 29, 51, .35); }

/* ---------- HERO portada (slider) ---------- */
.hero { padding-top: clamp(12px, 1.6vw, 20px); }
.hero__stage { position: relative; height: clamp(560px, 78vh, 740px); border-radius: var(--r-xl); overflow: hidden; background: var(--navy); isolation: isolate; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-active > img { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 29, 51, .35) 0%, rgba(11, 29, 51, 0) 60%); }
.hero__card { position: absolute; z-index: 2; left: clamp(16px, 4vw, 64px); bottom: clamp(16px, 4vw, 64px); width: min(620px, calc(100% - 32px)); padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-lg); opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) .25s, transform .8s var(--ease) .25s; }
.hero__slide.is-active .hero__card { opacity: 1; transform: none; }
.hero__card .display { margin-bottom: 16px; }
.hero__card p { color: var(--text); font-size: 1.0625rem; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__controls { position: absolute; z-index: 3; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 999px; }
.hero__dot { position: relative; width: 34px; height: 4px; border-radius: 4px; background: rgba(11, 29, 51, .18); overflow: hidden; }
.hero__dot span { position: absolute; inset: 0; width: 0; background: var(--navy); }
.hero__dot.is-active span { animation: progress var(--hero-time, 7s) linear forwards; }
.hero.is-paused .hero__dot.is-active span { animation-play-state: paused; }
.hero__dot:hover { background: rgba(11, 29, 51, .35); }
.hero__pause { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--navy); }
.hero__pause:hover { background: rgba(11, 29, 51, .08); }
.hero__pause .icon { width: 16px; height: 16px; }
@keyframes progress { to { width: 100%; } }
.hero__slide--brand { background: radial-gradient(900px 500px at 85% 20%, rgba(255, 107, 26, .55), transparent 60%), linear-gradient(135deg, #0b1d33, #1d3a63); }
.hero__slide--brand::after { display: none; }
.hero__mock { position: absolute; right: 4%; top: 50%; width: min(56%, 760px); transform: translateY(-55%); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .35)); }

/* Indicadores bajo el hero */
.hero-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.hero-strip a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--panel); color: var(--ink); font-family: var(--f-display); font-size: 1.05rem; transition: background .3s, transform .3s var(--ease); }
.hero-strip a:hover { background: var(--panel-2); transform: translateY(-2px); }
.hero-strip .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #fff; color: var(--orange-2); transition: background .3s, color .3s; }
.hero-strip a:hover .icon { background: var(--orange); color: #fff; }

/* ---------- Franja de sectores ---------- */
.sectors { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line-2); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sectors__track { display: flex; gap: 48px; width: max-content; animation: marquee 50s linear infinite; }
.sectors:hover .sectors__track { animation-play-state: paused; }
.sectors__item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 1.05rem; color: var(--muted); white-space: nowrap; }
.sectors__item .icon { color: var(--orange); width: 18px; height: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cifras ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: flex; align-items: baseline; gap: 4px; font-family: var(--f-display); font-weight: 200; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.stat__num .plus { font-size: .6em; color: var(--orange); font-weight: 300; }
.stat__label { margin-top: 12px; font-size: .9375rem; color: var(--muted); line-height: 1.5; max-width: 240px; }
.section--dark .stat { border-color: rgba(255, 255, 255, .12); }
.section--dark .stat__num { color: #fff; }
.section--dark .stat__label { color: #9fb0c8; }
.stats-band { position: relative; overflow: hidden; }
.stats-band .blob--a { width: 420px; height: 420px; right: -160px; top: -200px; opacity: .85; }
.stats-band h2 { margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento__card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 14px; border-radius: var(--r-lg); background: var(--panel); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.bento__bg { position: absolute; inset: 0; z-index: -1; }
.bento__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__card:hover .bento__bg img { transform: scale(1.05); }
.bento__body { padding: 22px 24px; border-radius: var(--r); }
.bento__card h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-bottom: 8px; }
.bento__card p { color: var(--text); font-size: .9688rem; max-width: 460px; }
.bento__card .link-arrow { margin-top: 14px; }
.bento__tag { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.bento__tag .icon { width: 14px; height: 14px; color: var(--orange-2); }
.bento__card--a { grid-column: span 7; min-height: 460px; }
.bento__card--b { grid-column: span 5; min-height: 460px; }
.bento__card--c, .bento__card--d, .bento__card--e { grid-column: span 4; }
.bento__card--plain { padding: 32px; justify-content: space-between; }
.bento__card--plain .bento__body { padding: 0; }
.bento__card--plain .bento__tag { position: static; align-self: flex-start; background: #fff; }
.bento__card--navy { background: var(--navy); color: #c3cee0; }
.bento__card--navy h3, .bento__card--navy .link-arrow { color: #fff; }
.bento__card--navy p { color: #aebbd0; }
.bento__card--navy .blob--a { width: 220px; height: 220px; right: -70px; top: -90px; }
.bento__deco { position: absolute; right: 24px; top: 24px; width: 72px; height: 72px; color: var(--orange); opacity: .9; }
.bento__deco svg { width: 100%; height: 100%; stroke-width: 1; }

/* ---------- Carrusel (servicios) ---------- */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 28vw, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__nav { display: flex; gap: 10px; }
.xcard { position: relative; scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: 12px; background: var(--panel-2); }
.xcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease); }
.xcard:hover img { transform: scale(1.06); }
.xcard__body { width: 100%; padding: 20px; border-radius: var(--r); transition: transform .4s var(--ease); }
.xcard__body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.xcard__body p { font-size: .9063rem; color: var(--text); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xcard__go { position: absolute; right: 30px; top: 30px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--navy); transition: background .3s, color .3s, transform .3s var(--ease); }
.xcard:hover .xcard__go { background: var(--orange); color: #fff; transform: rotate(-45deg); }
.xcard__go .icon { width: 18px; height: 18px; }

/* ---------- Tarjetas ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--panel); color: var(--navy-3); margin-bottom: 22px; transition: background .3s, color .3s; }
.card__icon .icon { width: 22px; height: 22px; }
a.card:hover .card__icon { background: var(--orange); color: #fff; }
.card h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .9688rem; }
.card .link-arrow { margin-top: auto; padding-top: 18px; font-size: .9375rem; }
.card__num { position: absolute; top: 28px; right: 28px; font-family: var(--f-display); font-size: .875rem; color: #9fb08c; }
.panel .card, .section--alt .card, .section--panel .card { border-color: transparent; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media > img { width: 100%; border-radius: var(--r-lg); object-fit: cover; aspect-ratio: 4 / 3.4; }
.split__badge { position: absolute; left: 20px; bottom: 20px; padding: 18px 22px; border-radius: var(--r); max-width: 240px; }
.split__badge strong { display: block; font-family: var(--f-display); font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.split__badge span { display: block; margin-top: 6px; font-size: .875rem; color: var(--text); line-height: 1.4; }


/* ---------- Proceso ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.process__step { position: relative; padding: 26px; border-radius: var(--r-lg); background: #fff; }
.process__step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 26px; font-family: var(--f-display); font-weight: 200; font-size: 2.6rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.process__step h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 8px; }
.process__step p { font-size: .9375rem; color: var(--muted); }

/* ---------- Pestañas ---------- */
.tabs__list { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--panel); margin-bottom: 40px; }
.tabs__btn { padding: 10px 20px; border-radius: 999px; font-size: .9375rem; color: var(--muted); transition: background .3s, color .3s, box-shadow .3s; }
.tabs__btn[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.tabs__btn:hover:not([aria-selected="true"]) { color: var(--ink); }
.tabs__panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-in { animation: fadeUp .6s var(--ease); }
.tabs__media { border-radius: var(--r-lg); background: radial-gradient(70% 70% at 60% 40%, #fbfdf7 0%, var(--panel) 70%); padding: clamp(16px, 3vw, 36px); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Editorial: portadas diseñadas ---------- */
.books { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 28px); }
.book { display: flex; flex-direction: column; }
.book__cover {
  --c1: #13294a; --c2: #0b1d33; --ac: #ff6b1a;
  position: relative; aspect-ratio: 2 / 3; border-radius: 4px 10px 10px 4px; overflow: hidden; isolation: isolate;
  padding: 16% 12% 12% 16%; display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(120% 70% at 100% 0%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: 0 2px 4px rgba(11, 29, 51, .12), 0 22px 40px -18px rgba(11, 29, 51, .55);
  transform: perspective(900px) rotateY(0deg); transform-origin: left center; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.book__cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8%; z-index: 2; background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .12) 55%, rgba(0, 0, 0, .1)); }
.book__cover::after { content: ""; position: absolute; z-index: -1; width: 120%; aspect-ratio: 1; right: -55%; bottom: -30%; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255, 255, 255, .09) 0 1px, transparent 1px 14px); }
.book:hover .book__cover { transform: perspective(900px) rotateY(-14deg); box-shadow: 14px 26px 40px -20px rgba(11, 29, 51, .6); }
.book__brand { font-size: .5rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85; font-weight: 600; }
.book__type { align-self: flex-start; margin-top: 8%; padding: 3px 8px; border-radius: 999px; background: var(--ac); color: #fff; font-size: .5rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.book__art { flex: 1; display: grid; place-items: center; }
.book__art svg { width: 48%; height: auto; stroke-width: .9; color: var(--ac); }
.book__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(.86rem, 1.05vw, 1.02rem); line-height: 1.15; letter-spacing: -.005em; }
.book__sub { margin-top: 6px; font-size: .55rem; line-height: 1.35; opacity: .75; letter-spacing: .02em; }
.book__rule { width: 26px; height: 2px; background: var(--ac); margin-bottom: 10px; }
.book__info { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.book__title { font-family: var(--f-display); font-size: 1rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.book__desc { margin-top: 6px; font-size: .8438rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.book__meta { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .875rem; }
.book__price { font-family: var(--f-display); font-size: 1.1rem; color: var(--ink); }
.book__meta .link-arrow { font-size: .8438rem; }

/* ---------- Cita / equipo ---------- */
.quote { position: relative; padding: clamp(32px, 4vw, 52px); border-radius: var(--r-lg); background: var(--navy); color: #c3cee0; overflow: hidden; isolation: isolate; }
.quote .blob--a { width: 240px; height: 240px; right: -90px; top: -110px; z-index: -1; }
.quote__text { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.35; color: #fff; }
.quote__by { margin-top: 22px; color: #9fb0c8; font-size: .9375rem; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person { display: flex; align-items: center; gap: 20px; padding: 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.person__img { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; flex: none; }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 1.15rem; font-weight: 500; }
.person p { margin: 2px 0 0; color: var(--muted); font-size: .9375rem; }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero { padding-top: clamp(12px, 1.6vw, 20px); }
.page-hero__panel { position: relative; min-height: clamp(440px, 58vh, 560px); display: flex; align-items: flex-end; padding: clamp(16px, 4vw, 56px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--panel); }
.page-hero__panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: heroZoom 9s var(--ease) both; }
.page-hero__panel.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 29, 51, .3), rgba(11, 29, 51, 0) 65%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.page-hero__panel:not(.has-image) { min-height: 0; padding-top: clamp(48px, 6vw, 88px); }
.page-hero__panel:not(.has-image) .blob--a { opacity: .85; }
.page-hero__card { position: relative; width: min(720px, 100%); padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); }
.page-hero__panel:not(.has-image) .page-hero__card { padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.page-hero h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 16px; }
.page-hero .lead { color: var(--text); max-width: 620px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.page-hero__fact { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--panel); font-size: .9063rem; color: var(--muted); line-height: 1.4; }
.page-hero__fact strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.page-hero__fact .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: #fff; color: var(--orange-2); }
.page-hero__icon { display: none; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8438rem; color: var(--muted); margin-bottom: 18px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #9fb08c; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* Sub-navegación */
.subnav { position: sticky; top: var(--header-h); z-index: 40; padding-block: 10px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.subnav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 999px; background: var(--panel); width: max-content; max-width: 100%; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { display: inline-block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-size: .9063rem; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.subnav__list a:hover { color: var(--ink); }
.subnav__list a.is-active { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }

/* Bloque de servicio */
.service { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 80px); padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; }
.service__aside { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; }
.service__num { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--orange-2); }
.service__aside h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 300; margin: 10px 0 20px; }
.service__aside .card__icon { margin-bottom: 18px; }
.service__body > p:first-child { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--ink); }
.service__body h3 { font-size: 1.15rem; font-weight: 500; margin: 32px 0 12px; }
.mini-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.mini-card { padding: 20px 22px; border-radius: var(--r); background: var(--panel); }
.mini-card h4 { font-size: 1rem; font-weight: 500; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.mini-card h4 .icon { color: var(--orange-2); width: 18px; height: 18px; }
.mini-card p { font-size: .9375rem; color: var(--muted); margin: 0; }
.service__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 16px 16px 16px 24px; border-radius: 999px; background: var(--panel); }
.service__cta p { margin: 0 auto 0 0; color: var(--ink); font-weight: 500; }
.phases { counter-reset: ph; display: grid; gap: 8px; margin-top: 16px; }
.phases li { counter-increment: ph; display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: var(--r-sm); background: var(--panel); color: var(--ink); }
.phases li::before { content: counter(ph); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--orange-2); font-size: .8125rem; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .875rem; color: var(--ink); }

/* Garantías */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust__item { padding: 28px; border-radius: var(--r-lg); background: #fff; }
.trust__item .icon { width: 28px; height: 28px; color: var(--orange-2); margin-bottom: 18px; }
.trust__item h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.trust__item p { color: var(--muted); font-size: .9375rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--sh-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-family: var(--f-display); font-size: 1.1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--panel); color: var(--navy); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq__a { padding: 0 24px 22px; color: var(--muted); }
.section--alt .faq details { border-color: transparent; }

.logos-text { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.logos-text li { padding: 12px 22px; border-radius: var(--r); background: var(--panel); font-family: var(--f-display); font-weight: 500; letter-spacing: .08em; color: var(--navy-3); font-size: .9375rem; }

/* Tarjetas de imagen */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 260px; padding: 12px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile h3 { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: var(--r); font-size: 1.15rem; background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.tile h3 .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--navy); color: #fff; transition: transform .3s var(--ease), background .3s; }
.tile:hover h3 .icon { transform: rotate(-45deg); background: var(--orange); }
.tile small { display: block; font-family: var(--f-sans); font-size: .8125rem; color: var(--muted); }

.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.list-grid a { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 100%; padding: 16px 20px; border-radius: var(--r); background: var(--panel); color: var(--ink); transition: background .25s, transform .25s var(--ease); }
.list-grid a:hover { background: var(--panel-2); transform: translateX(3px); }
.list-grid .icon { color: var(--orange-2); width: 18px; height: 18px; }

/* ---------- Contacto ---------- */
.map-card { position: relative; display: flex; align-items: flex-end; min-height: 240px; padding: 28px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--panel); }
.map-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 42%, rgba(255, 107, 26, .18), transparent 40%), repeating-radial-gradient(circle at 50% 42%, rgba(11, 29, 51, .05) 0 1px, transparent 1px 26px); }
.map-card__pin { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 0 0 10px rgba(255, 107, 26, .18); }
.map-card__pin .icon { width: 26px; height: 26px; }
.map-card strong { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 400; }
.map-card span span { color: var(--muted); }

/* ---------- Legales ---------- */
.legal-hero { padding: clamp(48px, 6vw, 80px) 0 32px; }
.legal-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 300; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; font-weight: 400; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.15rem; font-weight: 500; margin: 1.6em 0 .5em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--panel); font-weight: 500; }
.pending { background: #fff4c2; padding: 0 4px; border-radius: 4px; }

/* ---------- Fichas de curso ---------- */
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.course-body { max-width: none; }
.course-body h2 { font-size: clamp(1.35rem, 2vw, 1.65rem); margin: 1.8em 0 .7em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.course-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.course-body ul { list-style: none; padding: 0; }
.course-body ul li { position: relative; padding-left: 22px; }
.course-body ul li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.course-body table { display: block; overflow-x: auto; }
.course-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
.course-box { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); display: grid; gap: 14px; }
.course-box__title { font-family: var(--f-display); font-size: 1.2rem; color: var(--ink); margin: 0; display: flex; align-items: center; gap: 10px; }
.course-box__text { color: var(--muted); font-size: .9375rem; margin: 0; }
.course-box__fundae { display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 14px; border-radius: var(--r-sm); background: #ecfdf3; color: var(--ok); font-weight: 500; font-size: .9063rem; }
.course-box__link { font-size: .9063rem; justify-content: center; }
.course-box__phone { margin: 0; text-align: center; font-size: .875rem; color: var(--muted); }
.course-box__phone a { color: var(--ink); font-weight: 500; }
.course-box--dark { background: var(--panel); border-color: transparent; box-shadow: none; }
.course-box--dark .course-box__title .icon { color: var(--orange-2); }
.course-facts { margin: 0; display: grid; }
.course-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: .9375rem; }
.course-facts dt { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.course-facts dt .icon { color: var(--orange-2); width: 17px; height: 17px; }
.course-facts dd { margin: 0; color: var(--ink); text-align: right; font-weight: 500; }
.course-card { padding: 0; overflow: hidden; }
.course-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.course-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.course-card:hover .course-card__img img { transform: scale(1.05); }
.course-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.course-card h3 { font-size: 1.1rem; }
.course-card p { font-size: .9063rem; }
.course-card__mode { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--panel); color: var(--navy-3); font-size: .75rem; font-weight: 600; }
.course-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; font-size: .8438rem; color: var(--muted); }
.course-card__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.badge { padding: 3px 9px; border-radius: 999px; background: #ecfdf3; color: var(--ok); font-weight: 600; font-size: .7rem; letter-spacing: .04em; }
.cat-group + .cat-group { margin-top: clamp(44px, 6vw, 64px); }
.cat-group__title { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; font-weight: 300; margin-bottom: 20px; }
.cat-group__title .icon { color: var(--orange-2); }

/* ---------- CTA final ---------- */
.cta-band { padding-block: clamp(24px, 3vw, 40px) clamp(48px, 6vw, 80px); }
.cta-band__box { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: clamp(36px, 5vw, 72px); border-radius: var(--r-xl); background: var(--navy); color: #c3cee0; }
.cta-band__box .blob--a { width: 380px; height: 380px; right: -120px; top: -180px; z-index: -1; }
.cta-band__box .blob--b { z-index: -1; opacity: .2; }
.cta-band__title { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 300; letter-spacing: -.015em; margin-bottom: 14px; }
.cta-band__text { font-size: 1.05rem; max-width: 560px; color: #aebbd0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; justify-self: end; width: 100%; max-width: 340px; }

/* ---------- Footer ---------- */
.footer { background: var(--panel); color: var(--muted); font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding-block: 64px 48px; }
.footer__brand p { margin: 20px 0 22px; max-width: 330px; }
.footer__title { font-family: var(--f-sans); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { width: 17px; height: 17px; color: var(--orange-2); margin-top: 4px; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); transition: background .25s, color .25s; }
.social a:hover { background: var(--navy); color: #fff; }
.social .icon { width: 17px; height: 17px; }
.footer__bottom { border-top: 1px solid var(--line); font-size: .8438rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--ink); }

/* ---------- Móvil y cookies ---------- */
.mobile-bar { display: none; }
.cookie { position: fixed; z-index: 90; left: 20px; bottom: 20px; max-width: 420px; padding: 22px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); font-size: .9375rem; }
.cookie__title { font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; }
.cookie a { text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; margin-top: 16px; justify-content: flex-end; }

/* ---------- 404 ---------- */
.notfound { min-height: 56vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound__code { font-family: var(--f-display); font-weight: 200; font-size: clamp(6rem, 16vw, 11rem); line-height: 1; letter-spacing: -.04em; }
.notfound h1 { font-size: 2rem; font-weight: 300; margin: 10px 0 12px; }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > :nth-child(2) { transition-delay: .07s; }
.js .reveal-stagger.is-visible > :nth-child(3) { transition-delay: .14s; }
.js .reveal-stagger.is-visible > :nth-child(4) { transition-delay: .21s; }
.js .reveal-stagger.is-visible > :nth-child(5) { transition-delay: .28s; }
.js .reveal-stagger.is-visible > :nth-child(n+6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) { .header__phone span { display: none; } }
@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .books { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .topbar__claim { display: none; }
  .topbar__inner { justify-content: center; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: #fff; overflow-y: auto; padding: 8px var(--gutter) 40px; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-2); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.15rem; font-family: var(--f-display); border-radius: 0; }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: transparent; }
  .nav__item.is-current > .nav__link::after { display: none; }
  .mega { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none; padding: 0 0 12px; border: 0; box-shadow: none; }
  .mega::before { display: none; }
  .nav__item.is-open .mega { display: block; transform: none; }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__link { padding: 10px 4px; }
  .nav__mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }

  .split, .tabs__panel, .contact, .cta-band__box, .course-layout { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .cta-band__actions { justify-self: start; }
  .bento__card--a, .bento__card--b { grid-column: span 12; min-height: 400px; }
  .bento__card--c, .bento__card--d { grid-column: span 6; }
  .bento__card--e { grid-column: span 12; }
  .cards, .cards--4, .tiles, .trust, .process { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 1fr; gap: 16px; }
  .service__aside, .course-aside { position: static; }
  .hero__mock { width: 70%; right: -6%; top: 28%; }
  .books { grid-template-columns: repeat(3, 1fr); }
  .page-hero__facts { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { padding-bottom: 68px; }
  .topbar { display: none; }
  .brand__logo { width: 128px; }
  .header__phone { display: none; }
  .hero__stage { height: 640px; border-radius: var(--r-lg); }
  .hero__card { left: 10px; right: 10px; bottom: 64px; width: auto; padding: 24px; }
  .hero__card p { font-size: 1rem; }
  .hero__controls { left: 50%; right: auto; transform: translateX(-50%); bottom: 14px; }
  .hero__actions .btn, .page-hero__actions .btn { width: 100%; }
  .hero__mock { width: 92%; right: 4%; top: 4%; transform: none; }
  .page-hero__panel { min-height: 520px; padding: 10px; border-radius: var(--r-lg); }
  .page-hero__panel:not(.has-image) { padding: 36px 20px; }
  .page-hero__card { padding: 22px; }
  .cards, .cards--2, .cards--4, .tiles, .mini-cards, .list-grid, .team, .form__grid, .checklist--2, .trust, .process, .hero-strip { grid-template-columns: 1fr; }
  .bento__card--c, .bento__card--d { grid-column: span 12; }
  .bento__card { min-height: 320px; }
  .books { grid-template-columns: repeat(2, 1fr); }
  .stat__num { font-size: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 36px; }
  .section--panel > .container { border-radius: var(--r-lg); }
  .service__cta { border-radius: var(--r-lg); padding: 18px; }
  .service__cta .btn { width: 100%; }
  .person { flex-direction: column; text-align: center; }
  .tabs__list { display: flex; border-radius: var(--r-lg); }
  .tabs__btn { flex: 1; padding: 9px 10px; font-size: .875rem; }
  .cta-band__actions { max-width: none; }
  .mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px; border-radius: 14px; color: var(--ink); font-size: .75rem; font-weight: 500; }
  .mobile-bar .icon { width: 20px; height: 20px; }
  .mobile-bar a.is-primary { background: var(--navy); color: #fff; }
  .cookie { left: 12px; right: 12px; bottom: 80px; max-width: none; }
}

/* Maqueta de software en el slider */
.hero__slide > img.hero__mock { inset: auto; right: 4%; top: 50%; width: min(54%, 760px); height: auto; object-fit: contain; transform: translateY(-55%); transition: transform 1s var(--ease); }
.hero__slide.is-active > img.hero__mock { transform: translateY(-50%); }
@media (max-width: 1024px) { .hero__slide > img.hero__mock { width: 70%; right: -6%; top: 30%; } }
@media (max-width: 680px) { .hero__slide > img.hero__mock { width: 92%; right: 4%; top: 22%; } }

/* Ajustes finos */
.quote .blob--a { width: 200px; height: 200px; right: -110px; top: -120px; opacity: .55; }
.cta-band__box .blob--a { opacity: .75; }
.book__type { color: var(--c2); }
.brand__logo { width: 168px; }
.footer__brand img { width: 168px; height: auto; }
@media (max-width: 680px) { .brand__logo { width: 136px; } }

/* Móvil: foto arriba, tarjeta debajo (la foto se ve entera) */
@media (max-width: 680px) {
  .hero__stage { height: 700px; background: var(--panel); }
  .hero__slide > img:not(.hero__mock) { height: 290px; bottom: auto; }
  .hero__slide::after { display: none; }
  .hero__card { top: 240px; bottom: auto; left: 10px; right: 10px; padding: 22px; }
  .hero__card .eyebrow { display: none; }
  .hero__card .display { font-size: 2rem; }
  .hero__actions { margin-top: 18px; }
  .hero__slide > img.hero__mock { top: 130px; }
  .page-hero__panel.has-image { display: block; min-height: 0; padding: 0; background: var(--panel); }
  .page-hero__panel.has-image > img { position: relative; height: 230px; animation: none; }
  .page-hero__panel.has-image::before { display: none; }
  .page-hero__panel.has-image .page-hero__card { margin: -36px 10px 10px; width: auto; }
  .page-hero h1 { font-size: 1.95rem; }
}

/* Cabecera: elementos de ancho fijo para que nunca se solapen */
.brand { flex: none; }
.header__actions { flex: none; }
.nav { min-width: 0; }
.header__phone span { display: none; }

/* Símbolo de marca (engranaje) como decoración, en gris */
.mark { position: absolute; z-index: 0; pointer-events: none; height: auto; color: #8796ab; opacity: .16; }
.stats-band { isolation: isolate; }
.stats-band .mark { right: 3%; bottom: -2px; width: min(46vw, 640px); }
.stats-band .container { position: relative; z-index: 1; }
.cta-band__box .mark { right: 4%; bottom: -2px; width: min(40vw, 480px); z-index: -1; }
.bento__card--navy .mark { right: -24px; bottom: -2px; width: 280px; z-index: -1; opacity: .14; }
.quote .mark { right: -20px; bottom: -2px; width: 260px; z-index: -1; opacity: .12; }
.page-hero__panel:not(.has-image) .mark { right: 4%; bottom: -2px; width: min(44vw, 560px); color: var(--navy); opacity: .06; z-index: -1; }
.stats-band .mark { right: -3%; width: min(36vw, 500px); opacity: .11; }
.bento__card--navy .mark { right: -40px; width: 210px; opacity: .1; }
.cta-band__box .mark { opacity: .12; }

/* ==========================================================================
   Estructura corporativa: tarjeta única para líneas, servicios y formación
   ========================================================================== */
.section-head__aside { max-width: 420px; margin: 0; }
.features { display: grid; gap: clamp(16px, 2vw, 24px); }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.features--4 { grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; flex-direction: column; color: inherit; }
.feature__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--panel); margin-bottom: 18px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.05); }
.feature__media--contain { display: grid; place-items: center; padding: 14px; background: radial-gradient(80% 80% at 50% 40%, #fff 0%, var(--panel) 75%); }
.feature__media--contain img { object-fit: contain; }
.feature__title { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; transition: color .25s; }
.feature:hover .feature__title { color: var(--navy-3); }
.feature__text { font-size: .9375rem; color: var(--muted); margin-bottom: 14px; }
.feature .link-arrow { margin-top: auto; font-size: .9063rem; }
.feature--card { background: #fff; border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.feature--card:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.feature--card .feature__media { border-radius: 0; margin: 0; }
.feature__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }

/* Libros en miniatura dentro de la tarjeta Editorial */
.feature__books { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(80% 80% at 50% 40%, #fff 0%, var(--panel) 75%); }
.feature__books .book__cover { width: 30%; flex: none; padding: 10% 8% 8% 10%; margin: 0 -3%; font-size: 7px; }
.feature__books .book__cover:nth-child(1) { transform: rotate(-8deg) translateY(6%); }
.feature__books .book__cover:nth-child(2) { z-index: 2; transform: translateY(-4%); }
.feature__books .book__cover:nth-child(3) { transform: rotate(8deg) translateY(6%); }
.feature__books .book__sub, .feature__books .book__brand { display: none; }
.feature__books .book__name { font-size: .55rem; }
.feature__books .book__type { font-size: .4rem; padding: 2px 6px; }
.feature:hover .feature__books .book__cover:nth-child(1) { transform: rotate(-12deg) translate(-6%, 4%); }
.feature:hover .feature__books .book__cover:nth-child(3) { transform: rotate(12deg) translate(6%, 4%); }

/* Pasos del método (línea horizontal sobria) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 80px); counter-reset: st; }
.steps li { counter-increment: st; padding-top: 18px; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(st); display: block; font-family: var(--f-display); font-size: .875rem; color: var(--orange-2); margin-bottom: 10px; }
.steps strong { display: block; font-family: var(--f-display); font-size: 1.1rem; font-weight: 500; margin-bottom: 4px; }
.steps span { font-size: .9375rem; color: var(--muted); }

/* Sectores (fila estática) */
.sector-row { display: flex; align-items: center; gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding: 20px 24px; border-radius: var(--r-lg); background: var(--panel); }
.sector-row__label { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); flex: none; }
.sector-row ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sector-row li { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--text); }
.sector-row .icon { width: 17px; height: 17px; color: var(--orange-2); }

@media (max-width: 1024px) {
  .features--3, .features--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sector-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .features--3, .features--4, .steps { grid-template-columns: 1fr; }
}

/* Símbolo oficial (engranaje del logotipo) como máscara: forma exacta, color por CSS */
.mark { display: block; aspect-ratio: 900 / 349; background-color: currentColor;
  -webkit-mask: url("../img/mark-gear.png") no-repeat center bottom / contain; mask: url("../img/mark-gear.png") no-repeat center bottom / contain; }
.stats-band .mark { right: 2%; width: min(34vw, 460px); opacity: .1; }
.cta-band__box .mark { right: 4%; width: min(32vw, 400px); opacity: .1; }
.page-hero__panel:not(.has-image) .mark { width: min(40vw, 520px); opacity: .07; }
.quote .mark, .bento__card--navy .mark { width: 220px; }

/* ==========================================================================
   Catálogo de cursos con buscador y filtros
   ========================================================================== */
.catalog__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.catalog__count { margin: 0; color: var(--muted); }
.catalog__count strong { font-family: var(--f-display); font-size: 1.4rem; font-weight: 400; color: var(--ink); }
.catalog__bar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.catalog__search { flex: 1 1 300px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; background: var(--panel); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.catalog__search:focus-within { background: #fff; border-color: var(--navy-3); }
.catalog__search .icon { color: var(--muted); width: 18px; height: 18px; }
.catalog__search input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; font: inherit; color: var(--ink); outline: none; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--panel); }
.seg button { padding: 8px 14px; border-radius: 999px; font-size: .875rem; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: .875rem; color: var(--text); cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--navy); }
.catalog__areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .875rem; color: var(--text); transition: all .2s; }
.chip span { font-size: .75rem; color: var(--muted); }
.chip:hover { border-color: var(--navy-3); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-on span { color: #aebbd0; }
.catalog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.catalog__grid > li[hidden] { display: none; }
.catalog__empty { padding: 36px; border-radius: var(--r-lg); background: var(--panel); text-align: center; display: grid; gap: 14px; justify-items: center; }
.catalog__empty[hidden] { display: none; }

/* Tarjeta compacta de curso (sin foto) */
.ccard { position: relative; display: flex; flex-direction: column; height: 100%; padding: 22px 24px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.ccard:hover { border-color: transparent; box-shadow: var(--sh); transform: translateY(-3px); }
.ccard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ccard__area { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-2); }
.ccard__title { font-size: 1.08rem; font-weight: 500; line-height: 1.3; margin-bottom: 8px; padding-right: 28px; }
.ccard__text { font-size: .875rem; color: var(--muted); margin-bottom: 14px; }
.ccard__meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: .8125rem; color: var(--muted); }
.ccard__meta > span { display: inline-flex; align-items: center; gap: 5px; }
.ccard__price { margin-left: auto; font-family: var(--f-display); font-size: .95rem; color: var(--ink); }
.ccard__go { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--panel); color: var(--navy); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
.ccard:hover .ccard__go { opacity: 1; transform: none; }
.ccard__go .icon { width: 15px; height: 15px; }
.ccard .badge { flex: none; }

@media (max-width: 1024px) { .catalog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .catalog__grid { grid-template-columns: 1fr; }
  .catalog__bar { position: static; }
  .seg { width: 100%; } .seg button { flex: 1; padding: 8px 6px; font-size: .8125rem; white-space: normal; }
  .ccard__go { opacity: 1; transform: none; }
}

/* Temario plegable */
.syllabus { margin: 2em 0; padding-top: 1.4em; border-top: 1px solid var(--line); }
.syllabus__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.syllabus__head h2 { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.syllabus__toggle { font-size: .875rem; font-weight: 500; color: var(--navy-3); padding: 6px 14px; border-radius: 999px; background: var(--panel); }
.syllabus__toggle:hover { background: var(--panel-2); }
.syllabus details, .syllabus__row { border-bottom: 1px solid var(--line-2); }
.syllabus summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 4px; font-weight: 500; color: var(--ink); }
.syllabus summary::-webkit-details-marker { display: none; }
.syllabus summary:hover .syllabus__t { color: var(--navy-3); }
.syllabus summary .icon { margin-left: auto; flex: none; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--panel); color: var(--navy); transition: transform .3s var(--ease), background .3s, color .3s; }
.syllabus details[open] summary .icon { transform: rotate(45deg); background: var(--navy); color: #fff; }
.syllabus__n { flex: none; font-family: var(--f-display); font-size: .85rem; color: var(--orange-2); min-width: 22px; }
.syllabus__row { display: flex; gap: 14px; padding: 14px 4px; color: var(--ink); font-weight: 500; }
.syllabus__body { padding: 0 4px 16px 40px; font-size: .9375rem; color: var(--text); }
.syllabus__body ul { margin: 0; }
.course-body a, .prose a { color: var(--navy-3); text-decoration: underline; text-decoration-color: rgba(29, 58, 99, .3); text-underline-offset: 3px; }
.course-body a:hover, .prose a:hover { text-decoration-color: var(--navy-3); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ccard__top { padding-right: 34px; }

/* ==========================================================================
   Contacto directo (sin formulario)
   ========================================================================== */
.contact-topic { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 10px 18px; border-radius: 999px; background: var(--panel); color: var(--text); font-size: .9375rem; }
.contact-topic .icon { color: var(--orange-2); }
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-way { display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.contact-way:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.contact-way__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--panel); color: var(--orange-2); margin-bottom: 22px; transition: background .3s, color .3s; }
.contact-way__icon .icon { width: 24px; height: 24px; }
.contact-way:hover .contact-way__icon { background: var(--navy); color: #fff; }
.contact-way__label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-way__value { margin-top: 6px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--ink); word-break: break-word; }
.contact-way__note { margin: 8px 0 20px; font-size: .9063rem; color: var(--muted); }
.contact-way .link-arrow { margin-top: auto; }
.contact-help { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; margin-top: 24px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--panel); }
.contact-help .h3 { margin-bottom: 4px; }
.contact-help__quote { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.contact-office { display: grid; gap: 14px; margin: 22px 0 6px; }
.contact-office li { display: flex; gap: 12px; align-items: flex-start; }
.contact-office .icon { color: var(--orange-2); margin-top: 3px; }
.contact-office a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .contact-ways { grid-template-columns: 1fr; } .contact-help { grid-template-columns: 1fr; } }

/* Listas con check */
.checklist { display: grid; gap: 12px; margin-top: 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-2); margin-top: 1px; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
@media (max-width: 680px) { .checklist--2 { grid-template-columns: 1fr; } }

/* Portada real dentro del formato de libro */
.book__cover--photo { padding: 0; background: #1b2433; }
.book__cover--photo::after { display: none; }
.book__cover--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -1; }
.book__cover--photo::before { width: 6%; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .18) 50%, rgba(0, 0, 0, .12)); }
.book__cover--photo { box-shadow: inset -1px 0 0 rgba(255, 255, 255, .25), 0 2px 4px rgba(11, 29, 51, .12), 0 22px 40px -18px rgba(11, 29, 51, .55); }
.feature__books .book__cover--photo { padding: 0; }

/* Imágenes de software: fotografía a sangre con esquinas redondeadas */
.tabs__media { padding: 0; background: none; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
.tabs__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* Móvil/tableta: sin desenfoque en la cabecera. backdrop-filter convierte la cabecera en el contenedor
   del menú fijo y el panel quedaba encerrado en 64 px de alto (no se veía al desplegarlo). */
@media (max-width: 1024px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav { height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 60; }
}

/* Fichas de curso y calendario: nada puede ensanchar la página en móvil */
.course-layout > * { min-width: 0; }
@media (max-width: 1024px) { .course-layout { grid-template-columns: minmax(0, 1fr); } }

/* Calendario y tablas de curso en móvil: cada fila pasa a ser una tarjeta */
@media (max-width: 680px) {
  .course-body table, .course-body tbody, .course-body tr, .course-body td { display: block; width: 100%; }
  .course-body table { overflow: visible; margin: 1em 0 1.6em; }
  .course-body tr { padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
  .course-body td { padding: 0; border: 0; }
  .course-body td p { margin: 0; }
  .course-body td + td { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
  .course-body td:first-child { font-weight: 500; color: var(--ink); }
  /* Fila de título del bloque (una sola celda) y fila de cabecera (Curso / Fechas / Modalidad) */
  .course-body tr:first-child:has(td:only-child) { background: var(--panel); border-color: transparent; }
  .course-body tr:first-child + tr { display: none; }
}
