/* ==========================================================================
   Instituto Londres — styles.css
   1. Variables
   2. Base
   3. Estructura general
   4. Utilidades (eyebrow, lead, títulos de sección, grids)
   5. Botones
   6. Encabezado
   7. Hero
   8. Tarjetas y badges
   9. Oferta educativa
   10. Historia
   11. Visítanos y pasos
   12. Llamado a la acción final
   13. Pie de página
   14. Páginas internas
   15. Páginas de nivel (Preescolar, Primaria, Secundaria)
   16. Responsive
   17. Accesibilidad y movimiento reducido
   ========================================================================== */

/* 1. Variables
   ========================================================================== */
:root {
	--il-navy: var(--wp--preset--color--navy);
	--il-navy-deep: var(--wp--preset--color--navy-deep);
	--il-ink: var(--wp--preset--color--ink);
	--il-muted: var(--wp--preset--color--muted);
	--il-cream: var(--wp--preset--color--cream);
	--il-sky-soft: var(--wp--preset--color--sky-soft);
	--il-sun: var(--wp--preset--color--sun);
	--il-whatsapp: var(--wp--preset--color--whatsapp);
	--il-font-heading: var(--wp--preset--font-family--heading);
	--il-radius-sm: 14px;
	--il-radius: 28px;
	--il-radius-lg: 44px;
	--il-line: rgb(10 43 203 / 0.08);
	--il-shadow-sm: 0 1px 2px rgb(16 30 90 / 0.06);
	--il-shadow: 0 1px 2px rgb(16 30 90 / 0.05), 0 20px 44px -22px rgb(16 30 90 / 0.24);
	--il-shadow-hover: 0 2px 4px rgb(16 30 90 / 0.05), 0 30px 60px -26px rgb(16 30 90 / 0.32);
	--il-shadow-lg: 0 40px 80px -36px rgb(8 31 153 / 0.45);
	--il-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--il-section-y: clamp(4.5rem, 9vw, 8rem);
	--il-header-h: 96px;
}

/* 2. Base
   ========================================================================== */
html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--il-header-h) + 1rem);
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--il-font-heading);
	font-weight: 800;
	color: var(--il-navy);
	line-height: 1.12;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

h2.wp-block-heading {
	font-size: var(--wp--preset--font-size--xx-large);
	letter-spacing: -0.025em;
}

h3.wp-block-heading {
	font-size: var(--wp--preset--font-size--x-large);
}

p {
	text-wrap: pretty;
}

a {
	color: var(--il-navy);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.2em;
	transition: color 0.2s var(--il-ease);
}

a:hover {
	color: var(--wp--preset--color--sky);
}

img {
	max-width: 100%;
	height: auto;
}

/* 3. Estructura general
   ========================================================================== */
.wp-site-blocks > * {
	margin-block: 0;
}

body .il-main,
body .il-main .wp-block-post-content,
body .wp-block-post-content > .alignfull {
	margin-block: 0;
}

.il-section {
	padding-block: var(--il-section-y);
}

.il-section--cream {
	background-color: var(--il-cream);
}

.il-section--sky {
	background-color: var(--il-sky-soft);
}

body .il-section > * {
	margin-block: 0;
}

/* 4. Utilidades
   ========================================================================== */
.il-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: fit-content;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	background-color: var(--il-sky-soft);
	color: var(--il-navy);
	font-family: var(--il-font-heading);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
}

.il-eyebrow::before {
	content: "";
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background-color: var(--wp--preset--color--coral);
}

.il-hero .il-eyebrow,
.il-section--sky .il-eyebrow,
.il-section--cream .il-eyebrow {
	background-color: var(--wp--preset--color--base);
	box-shadow: var(--il-shadow-sm);
}

.il-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
	color: var(--il-muted);
}

.il-section-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.125rem;
	max-width: 46rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem) !important;
	text-align: center;
}

body .il-section-head > * {
	margin: 0;
}

.il-grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.5rem);
}

body .il-grid > * {
	margin: 0;
}

.il-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.il-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.il-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.il-checks li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--il-ink);
}

.il-checks li::before {
	content: "";
	flex: none;
	width: 1.375rem;
	height: 1.375rem;
	border-radius: 50%;
	background: var(--wp--preset--color--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230A2BCB' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

/* 5. Botones
   ========================================================================== */
.wp-block-button__link {
	padding: 0.95rem 1.6rem;
	border: 2px solid transparent;
	border-radius: 999px;
	background-color: var(--il-navy);
	color: var(--wp--preset--color--base);
	font-family: var(--il-font-heading);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.005em;
	transition: transform 0.25s var(--il-ease), box-shadow 0.25s var(--il-ease), background-color 0.25s var(--il-ease), border-color 0.25s var(--il-ease);
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	background-color: var(--il-navy-deep);
	color: var(--wp--preset--color--base);
	transform: translateY(-2px);
}

.wp-block-buttons .wp-block-button.is-style-whatsapp > .wp-block-button__link {
	background-color: var(--il-whatsapp);
	color: var(--wp--preset--color--base);
	box-shadow: 0 16px 32px -16px rgb(18 140 74 / 0.55);
}

.wp-block-buttons .wp-block-button.is-style-whatsapp > .wp-block-button__link::before {
	content: "";
	display: inline-block;
	width: 1.15em;
	height: 1.15em;
	margin-right: 0.55em;
	vertical-align: -0.2em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.7.5-.1 1.5-.6 1.8-1.2.2-.6.2-1.1.1-1.2l-.4-.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wp-block-buttons .wp-block-button.is-style-whatsapp > .wp-block-button__link:hover,
.wp-block-buttons .wp-block-button.is-style-whatsapp > .wp-block-button__link:focus-visible {
	background-color: #0E7A3F;
	box-shadow: 0 20px 38px -16px rgb(18 140 74 / 0.65);
}

.wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid rgb(10 43 203 / 0.2);
	background-color: transparent;
	color: var(--il-navy);
	box-shadow: none;
}

.wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	border-color: var(--il-navy);
	background-color: var(--wp--preset--color--base);
	color: var(--il-navy);
}

.il-btn-lg > .wp-block-button__link {
	padding: 1.1rem 1.9rem;
	font-size: 1.0625rem;
}

.il-btn-xl > .wp-block-button__link {
	padding: 1.35rem 2.6rem;
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
}

/* 6. Encabezado
   ========================================================================== */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
	background-color: rgb(255 255 255 / 0.86);
	border-bottom: 1px solid var(--il-line);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
}

.admin-bar header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.il-header {
	padding-block: 0.75rem;
}

.il-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: calc(var(--il-header-h) - 1.75rem);
}

body .il-header__inner > * {
	margin: 0;
}

.il-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

body .il-brand > * {
	margin: 0;
}

.il-logo {
	margin: 0;
	line-height: 0;
}

.il-logo a {
	display: inline-block;
	border-radius: 8px;
}

.il-logo img {
	display: block;
	width: auto;
	max-width: none;
}

.il-logo--header img {
	height: 72px;
}

.il-logo--footer img {
	height: 96px;
}

.wp-block-site-title {
	margin: 0;
	font-family: var(--il-font-heading);
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.wp-block-site-title a {
	color: var(--il-navy-deep);
	text-decoration: none;
}

.il-nav {
	margin-left: auto !important;
}

.il-nav .wp-block-navigation__container {
	gap: 0.25rem;
}

.il-nav .wp-block-navigation-item__content {
	padding: 0.5rem 0.9rem;
	border-radius: 999px;
	color: var(--il-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	transition: background-color 0.2s var(--il-ease), color 0.2s var(--il-ease);
}

.il-nav .wp-block-navigation-item__content:hover {
	background-color: var(--il-sky-soft);
	color: var(--il-navy);
}

.il-nav .wp-block-navigation__responsive-container-open,
.il-nav .wp-block-navigation__responsive-container-close {
	color: var(--il-navy);
}

.il-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 2rem 1.5rem;
	background-color: var(--il-cream);
}

.il-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	padding: 0.75rem 0;
	font-family: var(--il-font-heading);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--il-navy-deep);
}

.il-header__cta .wp-block-button__link {
	padding: 0.75rem 1.25rem;
	font-size: 0.9375rem;
	white-space: nowrap;
}

.il-brand .wp-block-site-title {
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.il-header__cta {
		display: none;
	}

	.il-nav .wp-block-navigation-item__content {
		padding: 0.5rem 0.6rem;
		font-size: 0.875rem;
	}
}

/* 7. Hero
   ========================================================================== */
.il-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-block: clamp(3rem, 7vw, 6rem) clamp(4.5rem, 9vw, 8rem);
	background-color: var(--il-cream);
}

.il-hero::before,
.il-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
}

.il-hero::before {
	top: -18rem;
	right: -12rem;
	width: 42rem;
	height: 42rem;
	background-color: var(--il-sky-soft);
}

.il-hero::after {
	bottom: -9rem;
	left: -7rem;
	width: 20rem;
	height: 20rem;
	background-color: var(--wp--preset--color--sun-soft);
}

.il-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: clamp(3rem, 6vw, 5.5rem);
}

body .il-hero__grid > * {
	margin: 0;
}

.il-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

body .il-hero__content > * {
	margin: 0;
}

.il-hero__title {
	font-size: var(--wp--preset--font-size--display);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.il-hero__title strong {
	font-weight: inherit;
	color: var(--wp--preset--color--coral);
}

.il-hero .il-lead {
	max-width: 34rem;
}

.il-actions {
	gap: 0.875rem;
	margin-top: 0.5rem !important;
}

.il-hero__media {
	position: relative;
	isolation: isolate;
}

body .il-hero__media > * {
	margin: 0;
}

.il-hero__media::before {
	content: "";
	position: absolute;
	right: -5%;
	bottom: -5%;
	z-index: -1;
	width: 72%;
	height: 72%;
	border-radius: 56px;
	background-color: var(--il-sun);
	transform: rotate(6deg);
}

.il-hero__image img {
	display: block;
	width: 100%;
	aspect-ratio: 20 / 23;
	object-fit: cover;
	border-radius: var(--il-radius-lg) var(--il-radius-lg) var(--il-radius-lg) 140px;
	box-shadow: var(--il-shadow-lg);
}

.il-hero__badge {
	position: absolute;
	bottom: 2.5rem;
	left: -2rem;
	display: flex;
	align-items: center;
	gap: 0.875rem;
	max-width: 16rem;
	padding: 1rem 1.25rem;
	border-radius: 22px;
	background-color: var(--wp--preset--color--base);
	box-shadow: var(--il-shadow);
}

body .il-hero__badge > * {
	margin: 0;
}

.il-hero__badge-num {
	font-family: var(--il-font-heading);
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1;
	color: var(--wp--preset--color--coral);
}

.il-hero__badge-label {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--il-ink);
}

/* 8. Tarjetas y badges
   ========================================================================== */
.il-card--sky { --il-accent: #0A2BCB; --il-accent-soft: var(--wp--preset--color--sky-soft); }
.il-card--sun { --il-accent: #C42820; --il-accent-soft: var(--wp--preset--color--sun-soft); }
.il-card--coral { --il-accent: #C42820; --il-accent-soft: var(--wp--preset--color--coral-soft); }
.il-card--mint { --il-accent: #0A2BCB; --il-accent-soft: var(--wp--preset--color--mint-soft); }

.il-card {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	padding: clamp(1.75rem, 3vw, 2.25rem);
	border: 1px solid var(--il-line);
	border-radius: var(--il-radius);
	background-color: var(--wp--preset--color--base);
	box-shadow: var(--il-shadow);
	transition: transform 0.35s var(--il-ease), box-shadow 0.35s var(--il-ease);
}

.il-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--il-shadow-hover);
}

body .il-card > * {
	margin: 0;
}

.il-card p:not([class]) {
	color: var(--il-muted);
}

.il-badge {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 0.5rem !important;
	border-radius: 18px;
	background-color: var(--il-accent-soft, var(--il-sky-soft));
	color: var(--il-accent, var(--il-navy));
	font-family: var(--il-font-heading);
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1;
}

.il-value .il-badge {
	border-radius: 50%;
}

/* 9. Oferta educativa
   ========================================================================== */
.il-level {
	gap: 0;
	padding: 0;
	overflow: hidden;
}

.il-level__image img {
	display: block;
	width: 100%;
	aspect-ratio: 10 / 7;
	object-fit: cover;
}

.il-level__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.875rem;
	padding: clamp(1.5rem, 3vw, 2rem);
}

body .il-level__body > * {
	margin: 0;
}

.il-tag {
	width: fit-content;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background-color: var(--il-accent-soft);
	color: var(--il-accent);
	font-size: 0.8125rem;
	font-weight: 700;
}

.il-schedule {
	display: grid;
	gap: 0.5rem;
	margin: 0.25rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px dashed rgb(10 43 203 / 0.18);
	list-style: none;
	font-size: var(--wp--preset--font-size--small);
	color: var(--il-muted);
}

.il-schedule strong {
	color: var(--il-navy-deep);
	font-weight: 700;
}

.il-level__actions {
	margin-top: auto !important;
	padding-top: 0.75rem;
}

.il-level__actions .wp-block-button {
	width: 100%;
}

.il-level__actions .wp-block-button__link {
	width: 100%;
}

/* 10. Historia
   ========================================================================== */
.il-story {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(3rem, 7vw, 6rem);
}

body .il-story > * {
	margin: 0;
}

.il-story__image img {
	display: block;
	width: 100%;
	aspect-ratio: 6 / 7;
	object-fit: cover;
	border-radius: var(--il-radius-lg) 140px var(--il-radius-lg) var(--il-radius-lg);
	box-shadow: var(--il-shadow-lg);
}

.il-story__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
}

body .il-story__content > * {
	margin: 0;
}

.il-story__content p:not([class]) {
	color: var(--il-muted);
}

.il-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	width: 100%;
	margin-top: 1rem !important;
	padding-top: 1.75rem;
	border-top: 1px solid rgb(10 43 203 / 0.12);
}

body .il-stats > *,
body .il-stat > * {
	margin: 0;
}

.il-stat__num {
	font-family: var(--il-font-heading);
	font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--il-navy);
}

.il-stat__label {
	margin-top: 0.5rem !important;
	font-size: var(--wp--preset--font-size--small);
	color: var(--il-muted);
}

/* 11. Visítanos (¿Listos para conocernos?)
   ========================================================================== */
.il-visit__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(3rem, 7vw, 7rem);
}

body .il-visit__grid > *,
body .il-visit__intro > *,
body .il-visit__info > *,
body .il-info > *,
body .il-map-card > * {
	margin: 0;
}

.il-visit__intro {
	position: sticky;
	top: calc(var(--il-header-h) + 2rem);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.il-visit__title {
	font-size: var(--wp--preset--font-size--display);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.il-visit__title em {
	display: block;
	font-style: normal;
	color: var(--wp--preset--color--coral);
}

.il-visit__intro .il-lead {
	max-width: 30rem;
}

.il-visit__actions {
	margin-top: 0.5rem !important;
}

.il-visit__info {
	display: flex;
	flex-direction: column;
}

.il-info {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 2rem 0 2rem 4.5rem;
	border-bottom: 1px solid rgb(10 43 203 / 0.12);
}

.il-info:first-child {
	padding-top: 0.25rem;
}

.il-info::before {
	content: "";
	position: absolute;
	top: 1.75rem;
	left: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--wp--preset--color--coral-soft) center / 1.25rem no-repeat;
}

.il-info:first-child::before {
	top: 0;
}

.il-info--visit::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0322A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
}

.il-info--talk::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0322A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}

.il-info--hours::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0322A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.il-visit .il-info__title {
	color: var(--wp--preset--color--coral);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4;
}

.il-info__text {
	color: var(--il-navy);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
}

.il-info__text a {
	color: var(--il-navy);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.il-info__text a:hover {
	color: var(--wp--preset--color--coral);
	text-decoration: underline;
}

.il-info__link a,
.il-map-card__link a {
	font-family: var(--il-font-heading);
	font-weight: 800;
	text-decoration: none;
}

.il-info__link a {
	color: #C42820;
}

.il-info__link a::after,
.il-map-card__link a::after {
	content: " \2197";
}

.il-info__link a:hover {
	color: var(--il-navy);
}

.il-hours-mini {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	column-gap: 2rem;
	max-width: 40rem;
}

.il-hours-mini__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	padding: 0.7rem 0;
	border-bottom: 1px dotted rgb(10 43 203 / 0.22);
}

body .il-hours-mini__row > * {
	margin: 0;
}

.il-hours-mini__label {
	color: var(--il-muted);
}

.il-hours-mini__time {
	color: var(--il-navy);
	font-weight: 700;
	white-space: nowrap;
}

.il-info__note {
	color: var(--il-muted);
	font-size: var(--wp--preset--font-size--small);
}

.il-map-card {
	overflow: hidden;
	margin-top: 2.5rem !important;
	border: 1px solid rgb(10 43 203 / 0.12);
	border-radius: var(--il-radius);
	background-color: var(--wp--preset--color--base);
	box-shadow: var(--il-shadow);
}

.il-map-card__map .il-map__frame {
	aspect-ratio: 16 / 9;
}

.il-map-card__link a {
	display: flex;
	justify-content: space-between;
	padding: 1.1rem 1.5rem;
	color: var(--il-navy);
}

.il-map-card__link a:hover {
	background-color: var(--il-sky-soft);
	color: var(--il-navy);
}

/* 11b. Pasos (proceso de admisión)
   ========================================================================== */
.il-steps {
	gap: clamp(2rem, 4vw, 3rem);
	counter-reset: none;
}

.il-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding-top: 0.5rem;
}

body .il-step > * {
	margin: 0;
}

.il-step .il-badge {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	font-size: 1.5rem;
}

.il-step p:not([class]) {
	max-width: 22rem;
	color: var(--il-muted);
}

.il-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 2.5rem;
	left: 5.5rem;
	right: -1rem;
	border-top: 2px dashed rgb(10 43 203 / 0.18);
}

/* 12. Llamado a la acción final
   ========================================================================== */
.il-section--cta {
	padding-top: 0;
}

.il-cta {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4rem);
	border-radius: var(--il-radius-lg);
	background-color: var(--il-navy);
	text-align: center;
	box-shadow: var(--il-shadow-lg);
}

body .il-cta > * {
	margin: 0;
}

.il-cta::before,
.il-cta::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
}

.il-cta::before {
	top: -7rem;
	left: -6rem;
	width: 18rem;
	height: 18rem;
	background-color: var(--il-sun);
	opacity: 0.95;
}

.il-cta::after {
	right: -8rem;
	bottom: -10rem;
	width: 24rem;
	height: 24rem;
	background-color: var(--il-navy-deep);
}

.il-cta .il-eyebrow {
	background-color: rgb(255 255 255 / 0.12);
	color: var(--wp--preset--color--base);
	box-shadow: none;
}

.il-cta .il-eyebrow::before {
	background-color: var(--il-sun);
}

.il-cta__title {
	max-width: 18ch;
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--display);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.02;
}

.il-cta__text {
	max-width: 36rem;
	color: rgb(255 255 255 / 0.86);
	font-size: var(--wp--preset--font-size--large);
}

.il-cta__actions {
	justify-content: center;
	margin-top: 0.75rem !important;
}

.il-cta__alt {
	color: rgb(255 255 255 / 0.86);
	font-size: var(--wp--preset--font-size--small);
}

.il-cta__alt a {
	color: var(--wp--preset--color--base);
	font-weight: 700;
}

.il-cta__alt a:hover {
	color: #FF9A93;
}

/* 13. Pie de página
   ========================================================================== */
footer.wp-block-template-part {
	background-color: var(--il-navy-deep);
	color: rgb(255 255 255 / 0.8);
}

.il-footer {
	padding-block: clamp(2.5rem, 4vw, 3.25rem) 1.5rem;
	font-size: var(--wp--preset--font-size--small);
}

body .il-footer > * {
	margin-block: 0;
}

.il-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(2rem, 4vw, 4rem);
}

.il-footer__cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.625rem;
	padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
	border: 1px solid rgb(255 255 255 / 0.12);
	border-radius: var(--il-radius);
	background-color: rgb(255 255 255 / 0.06);
}

body .il-footer__cta > * {
	margin: 0;
}

.il-footer__cta .il-eyebrow {
	background-color: rgb(255 255 255 / 0.12);
	color: var(--wp--preset--color--base);
	box-shadow: none;
}

.il-footer .il-footer__cta-title {
	color: var(--wp--preset--color--base);
	font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.il-footer__cta-text {
	max-width: 30rem;
	color: rgb(255 255 255 / 0.86);
	font-size: var(--wp--preset--font-size--small);
}

.il-footer__cta-actions {
	margin-top: 0.25rem !important;
}

.il-footer__cta-alt {
	color: rgb(255 255 255 / 0.8);
}

.il-footer__cta-alt a {
	font-weight: 700;
}

body .il-footer__grid > *,
body .il-footer__col > *,
body .il-footer__brand > * {
	margin: 0;
}

.il-footer__brand,
.il-footer__col {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.il-footer__brand {
	max-width: 26rem;
}

.il-footer .wp-block-site-title a {
	color: var(--wp--preset--color--base);
}

.il-footer .il-footer__title {
	color: #FF9A93;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.il-footer__list {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.il-footer__list strong {
	display: block;
	color: var(--wp--preset--color--base);
	font-weight: 600;
}

.il-footer a {
	color: var(--wp--preset--color--base);
	overflow-wrap: anywhere;
}

.il-footer a:hover {
	color: #FF9A93;
}

.il-map {
	overflow: hidden;
	margin-top: 0.25rem !important;
	border-radius: var(--il-radius-sm);
	background-color: rgb(255 255 255 / 0.08);
}

.il-map__frame {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	border: 0;
}

.il-footer .wp-block-social-links.il-social {
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.il-footer .wp-block-social-links.il-social .wp-social-link {
	background-color: rgb(255 255 255 / 0.1);
	color: var(--wp--preset--color--base);
	transition: background-color 0.2s var(--il-ease), transform 0.2s var(--il-ease);
}

.il-footer .wp-block-social-links.il-social .wp-social-link:hover {
	background-color: var(--il-sun);
	color: var(--il-navy-deep);
	transform: translateY(-2px);
}

.il-footer .wp-block-social-links.il-social .wp-social-link a {
	padding: 0.6rem;
}

.il-footer__bottom {
	margin-top: clamp(1.75rem, 3vw, 2.5rem) !important;
	padding-top: 1.25rem;
	border-top: 1px solid rgb(255 255 255 / 0.12);
	font-size: 0.8125rem;
	color: rgb(255 255 255 / 0.7);
}

body .il-footer__bottom > * {
	margin: 0;
}

/* 14. Páginas internas
   ========================================================================== */
.il-page {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.il-404 {
	text-align: center;
}

.il-404 .wp-block-buttons {
	justify-content: center;
}

/* 15. Páginas de nivel (Preescolar, Primaria, Secundaria)
   ========================================================================== */
.il-hero--level .il-hero__title {
	font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem);
}

.il-hours {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

body .il-hours > *,
body .il-hour > * {
	margin: 0;
}

.il-hour {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.5rem 1.75rem;
	border-top: 6px solid var(--il-accent-soft);
	border-radius: var(--il-radius);
	background-color: var(--wp--preset--color--base);
	box-shadow: var(--il-shadow);
}

.il-hour__label {
	color: var(--il-accent);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.il-hour__time {
	color: var(--il-navy-deep);
	font-family: var(--il-font-heading);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 800;
	line-height: 1.2;
}

.il-section--cta-top {
	padding-top: var(--il-section-y);
}

/* 16. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.il-grid--4.il-steps .il-step::after {
		display: none;
	}

	.il-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}


	.il-hero__badge {
		left: 1rem;
	}
}

@media (max-width: 900px) {
	.il-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.il-visit__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.il-visit__intro {
		position: static;
	}

	.il-hero__grid,
	.il-story {
		grid-template-columns: minmax(0, 1fr);
	}

	.il-hero__media {
		width: 100%;
		max-width: 34rem;
		margin-inline: auto !important;
	}

	.il-story__media {
		max-width: 30rem;
	}

	.il-grid--3 {
		grid-template-columns: minmax(0, 1fr);
		max-width: 36rem;
	}

	.il-step:not(:last-child)::after {
		display: none;
	}
}

@media (max-width: 600px) {
	:root {
		--il-header-h: 80px;
	}

	.il-logo--header img {
		height: 58px;
	}

	.il-header__cta {
		display: none;
	}

	.il-grid--4,
	.il-hours-mini {
		grid-template-columns: minmax(0, 1fr);
	}

	.il-info {
		padding-left: 0;
		padding-top: 4.5rem;
	}

	.il-info:first-child {
		padding-top: 4rem;
	}

	.il-info::before,
	.il-info:first-child::before {
		top: 0.75rem;
	}

	.il-info:first-child::before {
		top: 0;
	}

	.il-actions,
	.il-actions .wp-block-button,
	.il-actions .wp-block-button__link {
		width: 100%;
	}

	.il-hero__image img {
		border-radius: 32px 32px 32px 96px;
	}

	.il-hero__badge {
		bottom: 1.25rem;
		left: 0.75rem;
		padding: 0.75rem 1rem;
	}

	.il-hero__badge-num {
		font-size: 2rem;
	}

	.il-stats {
		gap: 0.75rem;
	}

	.il-cta {
		border-radius: 32px;
	}

	.il-cta__actions,
	.il-cta__actions .wp-block-button,
	.il-cta__actions .wp-block-button__link,
	.il-footer__cta-actions,
	.il-footer__cta-actions .wp-block-button,
	.il-footer__cta-actions .wp-block-button__link {
		width: 100%;
	}
}

/* 17. Accesibilidad y movimiento reducido
   ========================================================================== */
:focus-visible {
	outline: 3px solid var(--il-sun);
	outline-offset: 3px;
}

.wp-block-button__link:focus-visible {
	outline: 3px solid var(--il-sun);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}

	.il-card:hover,
	.wp-block-button__link:hover {
		transform: none;
	}
}
