/* Dra. Carla Aguirre Mas — "cabina de noche"
   Azul medianoche + azul de marca, carta de navegación como motivo.
   Títulos: Archivo expandido. Texto: Source Serif 4. */
:root {
	--night: #0b1d38;
	--night-2: #132a4f;
	--night-3: #071428;
	--blue: #0054ff;
	--blue-dark: #0043cc;
	--blue-light: #8db4ff;
	--sky: #eaf1f8;
	--sky-2: #d9e6f3;
	--ink: #14213a;
	--text: #3a4456;
	--muted: #667186;
	--line: #d9e1eb;
	--serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--header-h: 84px;
	--wide: 112%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.72 var(--serif); color: var(--text); background: #fff; font-optical-sizing: auto; }
img, video, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--sans); font-stretch: var(--wide); color: var(--ink); line-height: 1.14; margin: 0 0 .55em; font-weight: 500; letter-spacing: -.005em; }
h2 { font-size: clamp(28px, 3.1vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 1.1em; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; font-family: var(--sans); }
.skip:focus { left: 8px; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.prose-lg { font-size: 19.5px; line-height: 1.75; }
.prose-lg p:last-child { margin-bottom: 0; }

/* Botones (rectángulos de esquina suave: instrumentos, no pastillas) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 22px; border-radius: 8px; font: 500 15.5px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 16.5px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--line { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--line-dark { color: var(--ink); border-color: var(--ink); }
.btn--line-dark:hover { background: var(--ink); color: #fff; }
.btn--ghost { color: var(--blue); border-color: var(--sky-2); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); }
.btn .ic { width: 19px; height: 19px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.link { font: 500 16px var(--sans); color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* Cabezal */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: background-color .25s, border-color .25s; }
.header__in { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 34px; height: 36px; color: var(--blue); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font: 500 19px/1.15 var(--sans); font-stretch: var(--wide); letter-spacing: .005em; }
.brand__tag { font: 400 13px/1.3 var(--sans); color: var(--muted); margin-top: 2px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li { position: relative; }
.nav a { font: 400 15.5px var(--sans); color: var(--ink); text-decoration: none; padding: 9px 12px; display: inline-block; }
.nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
.nav a:hover { color: var(--blue); }
.has-sub { display: flex; align-items: center; }
.sub-btn { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: inherit; }
.sub-btn .ic { width: 16px; height: 16px; transition: transform .2s; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px rgba(11, 29, 56, .14); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s; }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink) !important; }
.sub a:hover { background: var(--sky); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .nav__cta { color: #fff; padding: 10px 18px; min-height: 42px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.menu-btn .ic { width: 28px; height: 28px; }
/* Sobre el azul noche de la portada */
.header--over { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
.header--over .brand, .header--over .nav > ul > li > a, .header--over .menu-btn { color: #fff; }
.header--over .brand__mark { color: #fff; }
.header--over .brand__tag { color: rgba(255, 255, 255, .7); }
.header--over .nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue-light); }
.header--over.is-scrolled { background: rgba(11, 29, 56, .96); backdrop-filter: blur(8px); border-color: rgba(255, 255, 255, .08); }

@media (max-width: 1080px) {
	:root { --header-h: 70px; }
	.brand__name { font-size: 17px; }
	.brand__tag { font-size: 12px; }
	.brand__mark { width: 30px; height: 32px; }
	.menu-btn { display: block; }
	.nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; background: #fff; color: var(--ink); padding: 8px 24px 28px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; box-shadow: 0 24px 40px rgba(11, 29, 56, .16); transform: translateY(-140%); transition: transform .3s; z-index: -1; }
	.nav.is-open { transform: none; }
	.header--over .nav > ul > li > a { color: var(--ink); }
	.nav > ul { flex-direction: column; }
	.nav > ul > li { border-bottom: 1px solid var(--line); flex-wrap: wrap; }
	.nav a { padding: 15px 2px; font-size: 17px; flex: 1; }
	.nav > ul > li > a[aria-current="page"], .header--over .nav > ul > li > a[aria-current="page"] { box-shadow: none; color: var(--blue); }
	.sub-btn { display: block; color: var(--ink); }
	.sub { position: static; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; width: 100%; padding: 0 0 10px 12px; }
	.has-sub.is-open .sub { display: block; }
	.has-sub.is-open .sub-btn .ic { transform: rotate(180deg); }
	.sub a { padding: 10px 2px; font-size: 16px; color: var(--muted) !important; }
	.nav .nav__cta { align-self: stretch; min-height: 50px; }
}

/* Secciones */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--first { padding-top: clamp(48px, 6vw, 80px); }
.section--page { padding-top: clamp(36px, 5vw, 60px); }
.section--sky { background: var(--sky); }
.section--line { border-top: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.sec-head p { font-size: 19px; color: var(--muted); margin: 0; }
.sec-head--left { margin-left: 0; text-align: left; }

/* Portada: carta de navegación */
.hero { position: relative; background: var(--night); color: #fff; min-height: min(100vh, 920px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-top: var(--header-h); isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 78% 45%, rgba(0, 84, 255, .28), transparent 70%); z-index: -1; }
.hero__map { position: absolute; top: 0; bottom: 0; right: 0; left: 45%; width: 55%; height: 100%; z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
.map__grid path { fill: none; stroke: rgba(141, 180, 255, .12); stroke-width: 1; }
.map__trail { fill: none; stroke: rgba(141, 180, 255, .35); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.map__route { fill: none; stroke: var(--blue-light); stroke-width: 2; stroke-linecap: round; }
.map__city circle { fill: var(--blue-light); }
.map__city--home circle:first-child { fill: #fff; }
.map__ring { fill: none !important; stroke: rgba(255, 255, 255, .5); stroke-width: 1.2; }
.map__city text { font: 400 16px var(--sans); fill: rgba(255, 255, 255, .72); letter-spacing: .01em; }
.map__city--home text { fill: #fff; font-weight: 600; }
.map__plane { color: #fff; }
.hero__content { padding: clamp(40px, 8vh, 110px) 0 clamp(40px, 6vh, 70px); }
.hero h1 { color: #fff; font-weight: 400; font-stretch: 118%; font-size: clamp(40px, 4.7vw, 68px); line-height: 1.04; letter-spacing: -.015em; max-width: 9.6em; margin-bottom: 28px; }
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 30em; color: rgba(255, 255, 255, .82); margin-bottom: 36px; }
.hero__creds { border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__creds dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.hero__creds dl > div { padding: 24px 24px 28px 0; }
.hero__creds dl > div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero__creds dt { font: 500 16px/1.3 var(--sans); color: #fff; margin-bottom: 4px; }
.hero__creds dd { margin: 0; font-size: 15.5px; color: rgba(255, 255, 255, .62); }

/* Aplicaciones */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.intro__text p { font-size: 19.5px; }
.intro__topics h3 { font: 500 15.5px var(--sans); color: var(--muted); margin-bottom: 12px; }
.topics { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 36px; }
.topics li { break-inside: avoid; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); font: 400 16.5px/1.35 var(--sans); color: var(--ink); position: relative; }
.topics li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border: 1.5px solid var(--blue); border-radius: 50%; }

/* Áreas: tabla de instrumentos, celdas con línea fina */
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sky-2); border-left: 1px solid var(--sky-2); background: #fff; }
.area { padding: 34px 32px 36px; border-right: 1px solid var(--sky-2); border-bottom: 1px solid var(--sky-2); }
.area img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 22px; }
.area h3 { font-size: 20px; margin-bottom: 8px; }
.area p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--muted); }

/* Por qué importa */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.why__head { position: sticky; top: calc(var(--header-h) + 40px); }
.why__head p { font-size: 19.5px; color: var(--muted); margin-bottom: 30px; }
.why__list { list-style: none; margin: 0; padding: 0; }
.why__list li { display: grid; grid-template-columns: 128px 1fr; gap: 28px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__art { width: 128px; height: 128px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; overflow: hidden; }
.why__art img { width: 86%; height: 86%; object-fit: contain; }
.why__list p { margin: 0; font-size: 19px; color: var(--ink); }

/* Presentación de la Dra. (ventanilla de avión como marco de foto) */
.feature { background: var(--sky); padding: clamp(64px, 9vw, 120px) 0; }
.feature__in { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.feature__photo, .profile__photo { background: linear-gradient(180deg, #c9dcf0, #a9c6e6); border-radius: 220px 220px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; }
.feature__photo img, .profile__photo img { width: 100%; height: auto; }
.feature__role { font: 400 18px/1.45 var(--sans); color: var(--blue-dark); margin-bottom: 22px; }
.feature__facts { list-style: none; margin: 28px 0 34px; padding: 0; }
.feature__facts li { display: flex; flex-direction: column; padding: 14px 0; border-top: 1px solid var(--sky-2); }
.feature__facts strong { font: 500 16.5px/1.35 var(--sans); color: var(--ink); }
.feature__facts span { font-size: 16px; color: var(--muted); }

/* Reserva */
.reserva { background: var(--night); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.reserva__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.reserva h2 { color: #fff; font-size: clamp(32px, 3.6vw, 48px); }
.reserva__text p { color: rgba(255, 255, 255, .78); font-size: 19px; }
.reserva__alt { margin-top: 30px; font-size: 16px !important; }
.reserva__alt a { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: #fff; font: 500 17px var(--sans); text-decoration: none; }
.reserva__alt .ic { color: #3ddc84; width: 22px; height: 22px; }
.reserva__form { background: #fff; color: var(--text); border-radius: 18px; padding: clamp(26px, 3.4vw, 40px); }

/* Formularios */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: 500 14.5px var(--sans); color: var(--ink); margin-bottom: 7px; }
.form input, .form select, .form textarea { width: 100%; font: 16.5px var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #b9c6d6; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 84, 255, .14); }
.form .hp { position: absolute; left: -9999px; }
.form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__msg { margin: 0; font: 400 15.5px var(--sans); }
.form__msg:empty { display: none; }
.form__msg.ok { color: #1f7a45; } .form__msg.err { color: #b42318; }

/* Encabezado de páginas interiores */
.page-head { position: relative; background: var(--night); color: #fff; padding: clamp(56px, 8vw, 100px) 0 clamp(60px, 8vw, 104px); overflow: hidden; }
.page-head h1 { color: #fff; font-weight: 400; font-stretch: 118%; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.012em; max-width: 15em; margin: 0; }
.page-head__sub { max-width: 36em; margin: 20px 0 0; font-size: 19.5px; color: rgba(255, 255, 255, .74); }
.page-head__kicker { font: 500 15px var(--sans); color: var(--blue-light); margin-bottom: 14px; }
.page-head__route { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; }
.page-head__route path { fill: none; stroke: rgba(141, 180, 255, .3); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Equipo */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; gap: clamp(32px, 5vw, 72px); margin-top: clamp(48px, 6vw, 80px); }
.member__img { display: block; background: linear-gradient(180deg, #d4e3f2, #b5cde8); border-radius: 230px 230px 24px 24px; overflow: hidden; aspect-ratio: 1; margin-bottom: 26px; }
.member__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.member h2 { font-size: 26px; margin-bottom: 6px; }
.member h2 a { color: var(--ink); text-decoration: none; }
.member p { color: var(--muted); margin-bottom: 14px; }

/* Perfiles */
.profile { background: var(--sky); padding: clamp(40px, 6vw, 80px) 0 0; }
.profile__in { display: grid; grid-template-columns: 1.1fr minmax(0, 460px); gap: clamp(32px, 6vw, 90px); align-items: end; }
.profile__text { padding-bottom: clamp(40px, 7vw, 100px); }
.profile h1 { font-weight: 400; font-stretch: 118%; font-size: clamp(40px, 5vw, 66px); line-height: 1.04; letter-spacing: -.015em; }
.profile__role { font: 400 19px/1.5 var(--sans); color: var(--blue-dark); max-width: 28em; margin-bottom: 30px; }
.profile__photo { border-radius: 230px 230px 0 0; }
.profile__photo--square img { aspect-ratio: 1; object-fit: cover; height: 100%; }
.breadcrumbs { font: 400 14.5px var(--sans); color: var(--muted); margin-bottom: 22px; }
.breadcrumbs a { color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 34px; border-top: 1.5px dashed #9cb8dc; }
.timeline li { position: relative; padding: 0 20px 0 0; }
.timeline__year { display: block; font: 500 26px var(--sans); font-stretch: var(--wide); color: var(--blue); margin-bottom: 22px; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 29px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--sky); }
.timeline h3 { font-size: 17px; line-height: 1.3; margin: 12px 0 6px; }
.timeline p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); }
.split2 h2 { font-size: clamp(26px, 2.6vw, 34px); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.rows strong { font: 500 17px/1.35 var(--sans); color: var(--ink); }
.rows span { color: var(--muted); font-size: 16.5px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { font: 400 16px var(--sans); color: var(--ink); border: 1.5px solid var(--sky-2); background: var(--sky); border-radius: 8px; padding: 10px 16px; }
.interviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.interview { display: block; color: inherit; text-decoration: none; }
.interview__img { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--sky); margin-bottom: 16px; }
.interview__img img { width: 100%; height: 100%; object-fit: cover; }
.interview__play { position: absolute; left: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.interview__play .ic { width: 24px; height: 24px; }
.interview__medio { font: 500 14.5px var(--sans); color: var(--blue); margin: 0 0 6px; }
.interview h3 { font-size: 17px; line-height: 1.35; font-stretch: 100%; }
a.interview:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line); font: 400 16.5px/1.4 var(--sans); color: var(--ink); }
.checks .ic { color: var(--blue); width: 20px; height: 20px; margin-top: 1px; }

/* Biblioteca */
.files { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.file { display: flex; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.file__type { flex: none; width: 44px; height: 54px; border-radius: 4px 12px 4px 4px; display: grid; place-items: center; font: 600 11.5px var(--sans); letter-spacing: .04em; color: #fff; }
.file__type--pdf { background: #c8402c; } .file__type--doc { background: #2457c5; }
.file__info { flex: 1; min-width: 0; }
.file__info h2 { font-size: 18px; font-stretch: 100%; line-height: 1.35; margin: 0 0 3px; }
.file__info p { margin: 0; font: 400 14.5px var(--sans); color: var(--muted); }
.file__actions { display: flex; gap: 8px; flex: none; }
.file__actions .btn { min-height: 40px; padding: 8px 16px; font-size: 14.5px; }

/* Cursos */
.course { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1000px; }
.course__img { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.course__img img { width: 100%; height: auto; }
.course__meta { font: 500 15px var(--sans); color: var(--blue); margin-bottom: 10px; }
.course h2 a { color: var(--ink); text-decoration: none; }
.course-detail { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.course-detail__img { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.course-detail h1 { font-size: clamp(32px, 3.8vw, 50px); font-weight: 400; font-stretch: 118%; line-height: 1.08; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact__info { border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 48px); }
.contact__info h2 { font-size: 26px; }
.info { list-style: none; padding: 0; margin: 24px 0 0; }
.info li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.info .ic { color: var(--blue); width: 22px; height: 22px; }
.info a { font: 500 16.5px var(--sans); color: var(--ink); text-decoration: none; }
.info a:hover { color: var(--blue); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 44px 36px; }
.post-card { display: flex; flex-direction: column; }
.post-card__img { display: block; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--sky); margin-bottom: 18px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { display: grid; place-items: center; height: 100%; color: var(--blue); }
.post-card__ph .ic { width: 54px; height: 54px; }
.post-card__date { font: 400 14.5px var(--sans); color: var(--muted); margin-bottom: 8px; }
.post-card h2, .post-card h3 { font-size: 23px; line-height: 1.25; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--blue); }
.post-card__body p { color: var(--text); font-size: 17px; }
.empty { color: var(--muted); grid-column: 1 / -1; }
.article__head { background: var(--sky); padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 4vw, 50px); }
.article__head h1 { font-weight: 400; font-stretch: 116%; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -.012em; }
.article__meta { font: 400 15.5px var(--sans); color: var(--muted); margin: 0; }
.article__cover { width: 100%; border-radius: 14px; margin: clamp(30px, 4vw, 50px) 0 clamp(30px, 4vw, 44px); max-height: 460px; object-fit: contain; background: var(--sky); }
.prose { font-size: 19.5px; line-height: 1.8; color: #2f3949; padding-top: 10px; }
.prose h2 { font-size: 30px; margin-top: 1.5em; }
.prose h3 { font-size: 23px; margin-top: 1.3em; }
.prose img { border-radius: 10px; margin: 1.4em auto; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--blue); font-style: italic; color: var(--ink); font-size: 21px; }
.article__cta { border-top: 1px solid var(--line); margin-top: 50px; padding: 36px 0 clamp(60px, 8vw, 100px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.article__cta p { margin: 0; font: 500 20px var(--sans); color: var(--ink); }

/* Pie */
.footer { background: var(--night-3); color: rgba(255, 255, 255, .72); padding: clamp(56px, 7vw, 84px) 0 28px; font: 400 15.5px/1.6 var(--sans); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h2 { color: #fff; font-size: 15.5px; font-stretch: 100%; font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__logo { display: flex; align-items: center; gap: 14px; color: #fff !important; margin-bottom: 18px; text-decoration: none !important; }
.footer__mark { width: 42px; height: 44px; color: #fff; }
.footer__logo span { font: 500 18px/1.2 var(--sans); font-stretch: var(--wide); display: flex; flex-direction: column; }
.footer__logo small { font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .6); font-stretch: 100%; margin-top: 2px; }
.footer__brand p { max-width: 24em; }
.footer__wa { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 500; }
.footer__wa .ic { color: #3ddc84; width: 20px; height: 20px; }
.footer__pay { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; }
.footer__pay img { width: 84px; height: auto; opacity: .85; }
.footer__bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .5); }
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: underline; }

/* WhatsApp flotante */
.float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1fae55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(7, 20, 40, .28); }
.float-wa:hover { background: #17994a; }
.float-wa .ic { width: 30px; height: 30px; }

/* Tablet */
@media (max-width: 1000px) {
	.hero__map { left: 25%; width: 75%; opacity: .7; }
	.map__city text { font-size: 22px; }
	.hero__creds dl { grid-template-columns: repeat(2, 1fr); }
	.hero__creds dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.hero__creds dl > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
	.intro, .why, .reserva__in, .split2, .contact { grid-template-columns: 1fr; }
	.why__head { position: static; }
	.areas { grid-template-columns: repeat(2, 1fr); }
	.feature__in { grid-template-columns: minmax(0, 340px) 1fr; }
	.timeline { grid-template-columns: 1fr; padding-left: 28px; }
	.timeline::before { left: 5px; right: auto; top: 8px; bottom: 8px; border-top: 0; border-left: 1.5px dashed #9cb8dc; }
	.timeline li { padding: 0 0 30px; }
	.timeline li::before { left: -28px; top: 10px; }
	.timeline__year { margin-bottom: 2px; font-size: 22px; }
	.timeline h3 { margin-top: 0; }
	.interviews { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__brand { grid-column: 1 / -1; }
	.contact__info { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
	.course, .course-detail { grid-template-columns: 1fr; }
	.course__img, .course-detail__img { max-width: 420px; }
}

/* Celular */
@media (max-width: 720px) {
	body { font-size: 17.5px; }
	.container, .narrow { width: calc(100% - 36px); }
	.prose-lg { font-size: 18.5px; }
	.hero { min-height: 0; text-align: center; }
	.hero::before { background: radial-gradient(90% 50% at 50% 30%, rgba(0, 84, 255, .3), transparent 70%); }
	.hero__content { order: 1; padding-bottom: 8px !important; }
	.hero__map { order: 2; position: relative; inset: auto; left: auto; width: 100%; height: 330px; margin: 0 auto; -webkit-mask-image: none; mask-image: none; }
	.hero__creds { order: 3; }
	.map__city text { font-size: 30px; }
	.hero__content { padding: 56px 0 44px; }
	.hero h1 { font-size: clamp(34px, 9.6vw, 44px); margin-inline: auto; }
	.hero__lead { margin-inline: auto; }
	.hero .btn-row { flex-direction: column; }
	.hero .btn { width: 100%; }
	.hero__creds dl > div { padding: 18px 10px 20px 0; }
	.hero__creds dl > div + div { padding-left: 12px; }
	.hero__creds dl > div:nth-child(3) { padding-left: 0; }
	.hero__creds dt { font-size: 14.5px; }
	.hero__creds dd { font-size: 14px; }
	h2 { font-size: 28px; }
	.intro__text, .sec-head, .why__head { text-align: center; }
	.topics { columns: 1; }
	.areas { grid-template-columns: 1fr; }
	.area { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; padding: 24px 20px; }
	.area img { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
	.area h3 { font-size: 18px; margin: 0; }
	.area p { font-size: 15.5px; }
	.why__list li { grid-template-columns: 88px 1fr; gap: 18px; }
	.why__art { width: 88px; height: 88px; }
	.why__list p { font-size: 17px; }
	.feature__in { grid-template-columns: 1fr; text-align: center; }
	.feature__photo { width: min(300px, 80%); margin: 0 auto; }
	.feature__facts { text-align: left; }
	.reserva__text { text-align: center; }
	.form { grid-template-columns: 1fr; }
	.form__actions .btn { width: 100%; }
	.page-head { text-align: center; }
	.page-head h1, .page-head__sub { margin-inline: auto; }
	.team { grid-template-columns: 1fr; }
	.member { text-align: center; }
	.profile { text-align: center; }
	.profile__in { grid-template-columns: 1fr; gap: 10px; }
	.profile__text { padding-bottom: 20px; }
	.profile__role { margin-inline: auto; }
	.profile .btn-row { justify-content: center; }
	.profile__photo { width: min(320px, 82%); margin: 0 auto; }
	.sec-head--left { text-align: center; }
	.interviews { grid-template-columns: 1fr; gap: 32px; }
	.checks { grid-template-columns: 1fr; }
	.file { flex-wrap: wrap; gap: 14px 16px; }
	.file__info { flex-basis: calc(100% - 64px); }
	.file__actions { width: 100%; }
	.file__actions .btn { flex: 1; }
	.course, .course-detail { text-align: center; }
	.course__img, .course-detail__img { margin: 0 auto; }
	.course-detail .prose-lg { text-align: left; }
	.btn-row { justify-content: center; }
	.btn-row .btn { width: 100%; }
	.contact__info { text-align: center; }
	.info li { justify-content: center; }
	.article__head { text-align: center; }
	.article__cta { flex-direction: column; text-align: center; }
	.article__cta .btn { width: 100%; }
	.prose { font-size: 18.5px; }
	.footer { text-align: center; }
	.footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.footer__logo { justify-content: center; }
	.footer__brand p { margin-inline: auto; }
	.footer__pay { justify-content: center; }
	.footer__bottom { flex-direction: column; align-items: center; gap: 6px; }
	.float-wa { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .sub, .nav { transition: none; }
}
.map__plane { opacity: 0; transition: opacity .4s; }
/* Fotos con fondo blanco: se funden con el marco celeste */
.member__img img, .profile__photo--square img { mix-blend-mode: multiply; }
@media (max-width: 720px) {
	.intro__text p, .feature__text > p:not(.feature__role), .reserva__text p:not(.reserva__alt), .why__head p { text-align: left; }
}
