/**
 * PHP page templates — Metodología, Valores, etc.
 */

.ci-page,
.ci-page *,
.ci-admissions,
.ci-admissions *,
.cei-page-nav,
.cei-page-nav * {
	box-sizing: border-box;
}

.ci-page {
	background: var(--ci-paper);
	color: var(--ci-ink);
}

.cei-page-nav {
	background:
		radial-gradient(circle at 8% 120%, rgba(255, 187, 0, 0.12), transparent 28%),
		radial-gradient(circle at 92% 0%, rgba(255, 105, 118, 0.1), transparent 26%),
		#fffaf0;
	border-bottom: 0;
	box-shadow: 0 10px 28px rgba(19, 139, 186, 0.08);
	position: sticky;
	top: 0;
	z-index: 900;
}

.cei-page-nav::before {
	background: linear-gradient(90deg, #138bba 0%, #1aa3cf 45%, #ff808a 100%);
	color: #fff;
	content: "Matrículas abiertas - Periodo Académico 2026 - 2027";
	display: block;
	font-family: var(--ci-font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	padding: 11px 24px;
	text-align: center;
}

.cei-page-nav::after {
	background: linear-gradient(
		90deg,
		#138bba 0 25%,
		#ff6976 25% 50%,
		#ffbb00 50% 75%,
		#9dd12e 75% 100%
	);
	content: "";
	display: block;
	height: 4px;
	width: 100%;
}

.cei-page-nav .ci-nav__cta::before,
.cei-page-nav .ci-nav__cta::after {
	content: none !important;
	display: none !important;
}

.cei-page-nav__inner {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1180px;
	padding: 14px 24px;
}

.cei-page-nav__brand a {
	align-items: center;
	display: flex;
	min-height: 58px;
	padding: 0 !important;
	text-decoration: none;
}

.cei-page-nav__brand a::before,
.cei-page-nav__brand a::after {
	content: none !important;
	display: none !important;
}

.cei-page-nav__brand img {
	display: block;
	height: 58px;
	object-fit: contain;
	object-position: left center;
	width: auto;
	max-width: 200px;
}

/* Hide Hello Elementor default site header on PHP CEI templates */
body.page-template-page-admisiones .site-header,
body.page-template-page-privacidad .site-header,
body.page-template-page-admisiones header.site-header,
body.page-template-page-privacidad header.site-header {
	display: none !important;
}

/* Prevent brand.css logo pseudo-elements on our PHP nav (uses <img>) */
.cei-page-nav .ci-nav__brand a {
	color: inherit !important;
	font-size: inherit !important;
	min-height: auto !important;
	padding: 0 !important;
}

.cei-page-nav .ci-nav__brand a::before,
.cei-page-nav .ci-nav__brand a::after,
.cei-page-nav .ci-nav__brand::before,
.cei-page-nav .ci-nav__brand::after {
	content: none !important;
	display: none !important;
}

.ci-page-hero {
	align-items: end;
	background-color: var(--ci-ink);
	background-position: center;
	background-size: cover;
	display: flex;
	min-height: min(520px, 72vh);
	padding: clamp(64px, 9vw, 110px) 24px;
	position: relative;
}

.ci-page-hero::before {
	background: linear-gradient(95deg, rgba(19, 139, 186, 0.92) 0%, rgba(19, 139, 186, 0.72) 45%, rgba(54, 64, 74, 0.35) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.ci-page-hero__copy {
	color: #fff;
	margin: 0 auto;
	max-width: 1180px;
	position: relative;
	width: 100%;
	z-index: 1;
}

.ci-page-kicker {
	color: var(--ci-coral);
	font-family: "Poppins", "Segoe UI", sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.ci-page-hero .ci-page-kicker {
	color: var(--ci-yellow);
}

.ci-page-hero h1 {
	color: #fff;
	font-family: "Poppins", "Segoe UI", sans-serif;
	font-size: clamp(2.4rem, 5.5vw, 4.2rem);
	font-weight: 700;
	line-height: 1.05;
	margin: 0 0 16px;
	max-width: 780px;
}

.ci-page-hero__copy > p:last-child {
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.08rem;
	line-height: 1.7;
	max-width: 640px;
}

.ci-page-section {
	margin: 0 auto;
	max-width: 1180px;
	padding: clamp(64px, 8vw, 96px) 24px;
}

.ci-page-section--soft {
	background: var(--ci-blue-pale);
	max-width: none;
}

.ci-page-section--soft > * {
	margin-left: auto;
	margin-right: auto;
	max-width: 1180px;
}

.ci-page-section__head {
	margin-bottom: 36px;
	max-width: 760px;
}

.ci-page-section__head h2 {
	color: var(--ci-blue);
	font-family: "Poppins", "Segoe UI", sans-serif;
	font-size: clamp(1.9rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 14px;
}

.ci-page-section__head p {
	color: var(--ci-muted);
	line-height: 1.75;
	margin: 0;
}

.ci-page-split {
	align-items: center;
	display: grid;
	gap: 40px;
	grid-template-columns: 1.05fr 0.95fr;
}

.ci-page-split__copy h3 {
	color: var(--ci-blue);
	font-family: "Poppins", "Segoe UI", sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0 0 12px;
}

.ci-page-split__copy p {
	color: var(--ci-muted);
	line-height: 1.75;
}

.ci-page-split__media {
	aspect-ratio: 4 / 3;
	border-radius: 22px;
	overflow: hidden;
}

.ci-page-split__media img {
	border-radius: 22px;
	box-shadow: 0 22px 48px rgba(54, 64, 74, 0.14);
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.ci-pillar-grid,
.ci-symbol-grid,
.ci-mv-grid {
	display: grid;
	gap: 20px;
}

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

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

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

.ci-pillar,
.ci-symbol,
.ci-mv-card {
	background: #fff;
	border: 1px solid rgba(19, 139, 186, 0.12);
	border-radius: 20px;
	box-shadow: 0 12px 32px rgba(19, 139, 186, 0.08);
	padding: 28px 24px;
}

.ci-pillar__icon,
.ci-symbol__mark {
	align-items: center;
	border-radius: 16px;
	display: grid;
	font-size: 1.6rem;
	font-weight: 700;
	height: 52px;
	justify-content: center;
	margin-bottom: 16px;
	width: 52px;
}

.ci-pillar--blue .ci-pillar__icon,
.ci-symbol--blue .ci-symbol__mark {
	background: var(--ci-blue-pale);
	color: var(--ci-blue);
}

.ci-pillar--coral .ci-pillar__icon,
.ci-symbol--coral .ci-symbol__mark {
	background: var(--ci-coral-pale);
	color: var(--ci-coral);
}

.ci-pillar--green .ci-pillar__icon,
.ci-symbol--green .ci-symbol__mark {
	background: #eef8d4;
	color: #5a8f18;
}

.ci-pillar--yellow .ci-pillar__icon,
.ci-symbol--yellow .ci-symbol__mark {
	background: #fff3cc;
	color: #b8860b;
}

.ci-pillar h3,
.ci-symbol h3,
.ci-mv-card h3 {
	font-family: var(--ci-font-display);
	font-size: 1.25rem;
	margin: 0 0 10px;
}

.ci-pillar p,
.ci-symbol p,
.ci-mv-card p {
	color: var(--ci-muted);
	font-size: 0.95rem;
	line-height: 1.65;
	margin: 0;
}

.ci-photo-grid {
	display: grid;
	gap: 16px;
}

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

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

.ci-photo-grid figure {
	margin: 0;
	overflow: hidden;
}

.ci-photo-grid figure {
	aspect-ratio: 4 / 3;
}

.ci-photo-grid img {
	border-radius: 18px;
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
	width: 100%;
}

.ci-photo-grid figure:hover img {
	transform: scale(1.04);
}

.ci-page-cta {
	background:
		radial-gradient(circle at 85% 15%, rgba(255, 127, 45, 0.22), transparent 30%),
		linear-gradient(115deg, var(--ci-blue) 0%, var(--ci-turquoise, #00bdd1) 100%);
	color: #fff;
	padding: clamp(56px, 7vw, 84px) 24px;
	text-align: center;
}

.ci-page-cta h2 {
	color: #fff;
	font-family: "Poppins", "Segoe UI", sans-serif;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 700;
	margin: 0 0 12px;
}

.ci-page-cta p {
	margin: 0 auto 22px;
	max-width: 560px;
	opacity: 0.95;
}

.ci-page-cta__btn {
	background: var(--ci-yellow);
	border-radius: 999px;
	color: var(--ci-blue);
	display: inline-flex;
	font-weight: 700;
	padding: 14px 28px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.ci-page-cta__btn:hover {
	background: var(--ci-coral);
	color: #fff;
	transform: translateY(-2px);
}

/* Galería extendida (Elementor + JS) */
.ci-full-gallery {
	background: var(--ci-paper);
	padding: clamp(48px, 6vw, 72px) 24px;
}

.ci-full-gallery__inner {
	margin: 0 auto;
	max-width: 1180px;
}

.ci-full-gallery__head {
	margin-bottom: 28px;
	max-width: 680px;
}

.ci-full-gallery__head h2 {
	font-family: var(--ci-font-display);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	margin: 0 0 10px;
}

.ci-full-gallery__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.ci-full-gallery__tab {
	background: #fff;
	border: 1px solid rgba(19, 139, 186, 0.18);
	border-radius: 999px;
	color: var(--ci-ink);
	cursor: pointer;
	font-family: var(--ci-font-body);
	font-size: 0.82rem;
	font-weight: 600;
	padding: 8px 16px;
	transition: background 0.2s ease, color 0.2s ease;
}

.ci-full-gallery__tab.is-active,
.ci-full-gallery__tab:hover {
	background: var(--ci-blue);
	color: #fff;
}

.ci-page--galeria .ci-full-gallery__tab[data-album="all"] {
	--ci-gallery-tab: #138bba;
}

.ci-page--galeria .ci-full-gallery__tab[data-album="espacios"] {
	--ci-gallery-tab: #00bdd1;
}

.ci-page--galeria .ci-full-gallery__tab[data-album="experiencias"] {
	--ci-gallery-tab: #ff6976;
}

.ci-page--galeria .ci-full-gallery__tab[data-album="campamento"] {
	--ci-gallery-tab: #ff7f2d;
}

.ci-page--galeria .ci-full-gallery__tab[data-album="inauguracion"] {
	--ci-gallery-tab: #84cf23;
}

.ci-page--galeria .ci-full-gallery__tab {
	background: color-mix(in srgb, var(--ci-gallery-tab) 12%, #fff);
	border-color: color-mix(in srgb, var(--ci-gallery-tab) 38%, transparent);
	box-shadow: 0 7px 18px color-mix(in srgb, var(--ci-gallery-tab) 12%, transparent);
	color: color-mix(in srgb, var(--ci-gallery-tab) 72%, #0f4a6e);
	font-weight: 700;
	padding: 10px 18px;
	transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ci-page--galeria .ci-full-gallery__tab:is(.is-active, :hover) {
	background: var(--ci-gallery-tab);
	border-color: var(--ci-gallery-tab);
	box-shadow: 0 11px 25px color-mix(in srgb, var(--ci-gallery-tab) 24%, transparent);
	color: #fff;
	transform: translateY(-2px);
}

.ci-page--galeria .ci-full-gallery__tab[data-album="inauguracion"]:is(.is-active, :hover) {
	color: #173f52;
}

.ci-page--galeria .ci-full-gallery__tab:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--ci-gallery-tab) 42%, #fff);
	outline-offset: 3px;
}

.ci-page--galeria .ci-full-gallery__panel[hidden] {
	display: none;
}

.ci-page--galeria .ci-full-gallery__album-lead {
	color: var(--ci-muted);
	font-family: var(--ci-font-body);
	line-height: 1.65;
	margin: 0 0 1.5rem;
	max-width: 760px;
}

.ci-full-gallery__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ci-full-gallery__item {
	border-radius: 16px;
	margin: 0;
	overflow: hidden;
	position: relative;
}

.ci-full-gallery__item {
	aspect-ratio: 4 / 3;
}

.ci-full-gallery__open {
	background: transparent;
	border: 0;
	border-radius: inherit;
	cursor: zoom-in;
	display: block;
	height: 100%;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.ci-full-gallery__item img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
	width: 100%;
}

.ci-full-gallery__item:hover img {
	transform: scale(1.05);
}

.ci-full-gallery__open::after {
	background: linear-gradient(180deg, transparent 48%, rgba(7, 54, 79, 0.42));
	content: '';
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 0.3s ease;
}

.ci-full-gallery__zoom {
	align-items: center;
	backdrop-filter: blur(8px);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	bottom: 14px;
	box-shadow: 0 10px 28px rgba(5, 66, 94, 0.22);
	color: var(--ci-blue);
	display: flex;
	height: 44px;
	justify-content: center;
	opacity: 0;
	position: absolute;
	right: 14px;
	transform: translateY(10px) scale(0.9);
	transition: opacity 0.3s ease, transform 0.3s ease;
	width: 44px;
	z-index: 1;
}

.ci-full-gallery__zoom svg,
.ci-gallery-lightbox button svg {
	fill: currentColor;
	height: 22px;
	width: 22px;
}

.ci-full-gallery__open:is(:hover, :focus-visible)::after,
.ci-full-gallery__open:is(:hover, :focus-visible) .ci-full-gallery__zoom {
	opacity: 1;
}

.ci-full-gallery__open:is(:hover, :focus-visible) .ci-full-gallery__zoom {
	transform: translateY(0) scale(1);
}

.ci-full-gallery__open:focus-visible {
	outline: 4px solid rgba(0, 189, 209, 0.7);
	outline-offset: -4px;
}

body.ci-lightbox-open {
	overflow: hidden;
}

.ci-gallery-lightbox[hidden] {
	display: none;
}

.ci-gallery-lightbox {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: clamp(16px, 3vw, 38px);
	position: fixed;
	transition: opacity 0.18s ease;
	z-index: 99999;
}

.ci-gallery-lightbox.is-open {
	opacity: 1;
}

.ci-gallery-lightbox__backdrop {
	backdrop-filter: blur(14px);
	background: rgba(5, 35, 51, 0.9);
	inset: 0;
	position: absolute;
}

.ci-gallery-lightbox__dialog {
	align-items: center;
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) 58px;
	max-height: calc(100vh - 32px);
	max-width: 1280px;
	position: relative;
	transform: translateY(12px) scale(0.985);
	transition: transform 0.22s ease;
	width: 100%;
	z-index: 1;
}

.ci-gallery-lightbox.is-open .ci-gallery-lightbox__dialog {
	transform: translateY(0) scale(1);
}

.ci-gallery-lightbox__figure {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: 24px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	margin: 0;
	max-height: calc(100vh - 64px);
	overflow: hidden;
}

.ci-gallery-lightbox__image {
	background: #eef8fb;
	display: block;
	height: auto;
	max-height: calc(100vh - 142px);
	object-fit: contain;
	width: 100%;
}

.ci-gallery-lightbox__caption {
	align-items: center;
	color: var(--ci-ink);
	display: flex;
	font-family: var(--ci-font-body);
	font-size: 0.94rem;
	gap: 18px;
	justify-content: space-between;
	line-height: 1.45;
	min-height: 66px;
	padding: 14px 20px;
}

.ci-gallery-lightbox__count {
	color: var(--ci-blue);
	font-weight: 700;
	white-space: nowrap;
}

.ci-gallery-lightbox__close,
.ci-gallery-lightbox__nav {
	align-items: center;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
	color: var(--ci-blue);
	cursor: pointer;
	display: flex;
	height: 48px;
	justify-content: center;
	padding: 0;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
	width: 48px;
}

.ci-gallery-lightbox__close {
	position: absolute;
	right: 8px;
	top: -12px;
	z-index: 2;
}

.ci-gallery-lightbox__nav {
	justify-self: center;
}

.ci-gallery-lightbox__close:hover,
.ci-gallery-lightbox__nav:hover {
	background: var(--ci-turquoise);
	color: #fff;
	transform: scale(1.06);
}

.ci-gallery-lightbox button:focus-visible {
	outline: 3px solid var(--ci-yellow);
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.ci-pillar-grid,
	.ci-full-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (max-width: 782px) {
	.cei-page-nav__inner {
		flex-wrap: wrap;
		padding-top: 10px;
	}

	.cei-page-nav .ci-nav__links {
		display: none;
	}

	.cei-page-nav .ci-nav__links.is-open {
		background: #fff;
		border: 1px solid rgba(19, 139, 186, 0.12);
		border-radius: 16px;
		box-shadow: 0 16px 40px rgba(54, 64, 74, 0.12);
		display: grid;
		gap: 4px;
		left: 16px;
		padding: 12px;
		position: absolute;
		right: 16px;
		top: calc(100% - 8px);
		z-index: 20;
	}

	.cei-page-nav .ci-menu-toggle {
		display: grid;
		gap: 5px;
		margin-left: auto;
		padding: 10px;
	}

	.ci-page-split,
	.ci-mv-grid,
	.ci-symbol-grid,
	.ci-pillar-grid,
	.ci-photo-grid--3,
	.ci-full-gallery__grid,
	.ci-skill-grid,
	.ci-why-grid,
	.ci-benefit-grid,
	.ci-team-grid,
	.ci-contact-layout,
	.ci-program-detail {
		grid-template-columns: 1fr;
	}

	.ci-full-gallery__zoom {
		bottom: 10px;
		height: 40px;
		opacity: 1;
		right: 10px;
		transform: none;
		width: 40px;
	}

	.ci-full-gallery__open::after {
		opacity: 0.42;
	}

	.ci-gallery-lightbox {
		padding: 12px;
	}

	.ci-gallery-lightbox__dialog {
		display: block;
		max-height: calc(100vh - 24px);
	}

	.ci-gallery-lightbox__figure {
		border-radius: 18px;
		max-height: calc(100vh - 24px);
	}

	.ci-gallery-lightbox__image {
		max-height: calc(100vh - 112px);
	}

	.ci-gallery-lightbox__caption {
		font-size: 0.82rem;
		min-height: 62px;
		padding: 12px 14px;
	}

	.ci-gallery-lightbox__close {
		right: 8px;
		top: 8px;
	}

	.ci-gallery-lightbox__nav {
		bottom: 82px;
		position: absolute;
		z-index: 2;
	}

	.ci-gallery-lightbox__nav--prev {
		left: 10px;
	}

	.ci-gallery-lightbox__nav--next {
		right: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ci-full-gallery__item img,
	.ci-full-gallery__zoom,
	.ci-gallery-lightbox,
	.ci-gallery-lightbox__dialog {
		transition: none;
	}
}

/* ============================================================
   Contenido ampliado 2026 — Metodología, Programas, Contacto
   ============================================================ */

.ci-check-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.ci-check-list li {
	background: #fff;
	border-left: 4px solid var(--ci-blue);
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(19, 139, 186, 0.06);
	color: var(--ci-ink);
	font-size: 0.95rem;
	line-height: 1.5;
	padding: 12px 14px;
}

.ci-check-list li:nth-child(3n + 2) {
	border-left-color: var(--ci-coral);
}

.ci-check-list li:nth-child(3n + 3) {
	border-left-color: var(--ci-green);
}

.ci-skill-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ci-skill {
	background: #fff;
	border: 1px solid rgba(19, 139, 186, 0.1);
	border-radius: 20px;
	box-shadow: 0 12px 30px rgba(19, 139, 186, 0.07);
	padding: 22px 18px;
}

.ci-skill__icon {
	align-items: center;
	border-radius: 14px;
	display: grid;
	font-size: 1.3rem;
	height: 46px;
	justify-content: center;
	margin-bottom: 14px;
	width: 46px;
}

.ci-skill--blue .ci-skill__icon { background: var(--ci-blue-pale); color: var(--ci-blue); }
.ci-skill--coral .ci-skill__icon { background: var(--ci-coral-pale); color: var(--ci-coral); }
.ci-skill--green .ci-skill__icon { background: #eef8d4; color: #5a8f18; }
.ci-skill--yellow .ci-skill__icon { background: #fff3cc; color: #b8860b; }

.ci-skill h3 {
	font-family: var(--ci-font-display);
	font-size: 1.05rem;
	margin: 0 0 8px;
}

.ci-skill p {
	color: var(--ci-muted);
	font-size: 0.88rem;
	line-height: 1.55;
	margin: 0;
}

.ci-message-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ci-message-grid blockquote {
	background: linear-gradient(145deg, #fff, #f3f9fc);
	border: 0;
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(19, 139, 186, 0.08);
	color: var(--ci-ink);
	font-family: var(--ci-font-display);
	font-size: 1.05rem;
	line-height: 1.4;
	margin: 0;
	padding: 22px 20px;
}

.ci-program-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.ci-program-nav a {
	background: #fff;
	border: 1px solid rgba(19, 139, 186, 0.14);
	border-radius: 999px;
	color: var(--ci-blue);
	font-weight: 600;
	padding: 10px 16px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.ci-program-nav a:hover {
	background: var(--ci-blue);
	color: #fff;
}

.ci-program-detail {
	align-items: start;
	display: grid;
	gap: 28px;
	grid-template-columns: 0.9fr 1.1fr;
}

.ci-program-detail__media {
	border-radius: 22px;
	margin: 0;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(19, 139, 186, 0.14);
}

.ci-program-detail__media img {
	display: block;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	width: 100%;
}

.ci-program-detail__copy h2 {
	font-family: var(--ci-font-display);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin: 0 0 8px;
}

.ci-program-detail__copy h3 {
	font-family: var(--ci-font-display);
	font-size: 1.1rem;
	margin: 22px 0 10px;
}

.ci-program-detail__age,
.ci-program-detail__schedule {
	color: var(--ci-blue);
	font-weight: 600;
	margin: 0 0 6px;
}

.ci-why-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ci-why-card,
.ci-benefit-card,
.ci-team-card {
	background: #fff;
	border: 1px solid rgba(19, 139, 186, 0.1);
	border-radius: 18px;
	box-shadow: 0 12px 28px rgba(19, 139, 186, 0.07);
	padding: 20px;
}

.ci-why-card__icon,
.ci-benefit-card__icon {
	align-items: center;
	background: var(--ci-blue-pale);
	border-radius: 12px;
	color: var(--ci-blue);
	display: grid;
	font-size: 1.2rem;
	height: 42px;
	justify-content: center;
	margin-bottom: 12px;
	width: 42px;
}

.ci-why-card h3,
.ci-benefit-card h3,
.ci-team-card h3 {
	font-family: var(--ci-font-display);
	font-size: 1.05rem;
	margin: 0 0 8px;
}

.ci-why-card p,
.ci-benefit-card p {
	color: var(--ci-muted);
	font-size: 0.88rem;
	line-height: 1.55;
	margin: 0;
}

.ci-benefit-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ci-benefit-card {
	align-items: start;
	display: grid;
	gap: 12px;
	grid-template-columns: 42px 1fr;
}

.ci-benefit-card__icon {
	margin: 0;
}

.ci-team-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ci-team-card__role {
	color: var(--ci-coral);
	font-weight: 600;
	margin: 0 0 12px;
}

.ci-team-card ul {
	color: var(--ci-muted);
	margin: 0 0 14px;
	padding-left: 18px;
}

.ci-team-card a {
	color: var(--ci-blue);
	font-weight: 600;
	text-decoration: none;
}

.ci-contact-layout {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr 1.1fr;
}

.ci-contact-cards {
	display: grid;
	gap: 12px;
}

.ci-contact-card {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(19, 139, 186, 0.1);
	border-radius: 18px;
	box-shadow: 0 10px 26px rgba(19, 139, 186, 0.07);
	color: inherit;
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr);
	gap: 16px;
	padding: 18px 20px;
	text-decoration: none;
}

.ci-contact-card__body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.ci-contact-card__icon {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	color: var(--ci-blue);
	background: rgba(19, 139, 186, .1);
	border-radius: 16px;
}

.ci-contact-card__icon svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ci-contact-card__icon--whatsapp {
	color: #128c5e;
	background: rgba(37, 211, 102, .14);
}

.ci-contact-card__icon--whatsapp svg {
	fill: currentColor;
	stroke: none;
}

.ci-contact-card__icon--instagram {
	color: #fff;
	background: linear-gradient(145deg, #f58529, #dd2a7b 55%, #8134af);
}

.ci-contact-card__icon--instagram svg {
	stroke: currentColor;
}

.ci-contact-card__icon--instagram .ci-contact-card__icon-dot {
	fill: currentColor;
	stroke: none;
}

.ci-contact-card__label {
	color: var(--ci-blue);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ci-contact-card strong {
	font-size: 0.98rem;
	line-height: 1.4;
	word-break: break-word;
}

.ci-contact-card small {
	color: var(--ci-muted);
}

.ci-contact-card--wa {
	background: linear-gradient(135deg, #e8f8ef, #fff);
	border-color: rgba(37, 211, 102, 0.25);
}

.ci-contact-map {
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(19, 139, 186, 0.12);
}

.ci-contact-map iframe {
	border: 0;
	display: block;
	height: 380px;
	width: 100%;
}

.ci-contact-map__link {
	background: #fff;
	color: var(--ci-blue);
	display: block;
	font-weight: 600;
	padding: 14px 18px;
	text-align: center;
	text-decoration: none;
}

@media (max-width: 782px) {
	.ci-contact-layout {
		grid-template-columns: 1fr;
	}
}

.ci-steps {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.ci-steps li {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 12px 28px rgba(19, 139, 186, 0.08);
	padding: 22px 18px;
}

.ci-steps strong {
	display: block;
	font-family: var(--ci-font-display);
	font-size: 1.05rem;
	margin-bottom: 8px;
}

.ci-steps p {
	color: var(--ci-muted);
	font-size: 0.9rem;
	line-height: 1.55;
	margin: 0;
}

.ci-faq {
	display: grid;
	gap: 10px;
	margin: 0 auto;
	max-width: 860px;
}

.ci-faq__item {
	background: #fff;
	border: 1px solid rgba(19, 139, 186, 0.1);
	border-radius: 16px;
	padding: 4px 18px;
}

.ci-faq__item summary {
	cursor: pointer;
	font-family: var(--ci-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	list-style: none;
	padding: 16px 0;
}

.ci-faq__item summary::-webkit-details-marker {
	display: none;
}

.ci-faq__item p {
	color: var(--ci-muted);
	margin: 0 0 16px;
	line-height: 1.65;
}

.ci-admissions .ci-page-section,
.ci-admissions .ci-page-section--soft {
	padding-left: 24px;
	padding-right: 24px;
}

@media (max-width: 1100px) {
	.ci-skill-grid,
	.ci-why-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

@media (max-width: 782px) {
	.ci-message-grid,
	.ci-benefit-grid,
	.ci-skill-grid,
	.ci-why-grid,
	.ci-steps {
		grid-template-columns: 1fr;
	}

	.ci-program-detail__media img {
		min-height: 220px;
	}
}

/* ============================================================
   Boletín informativo
   ============================================================ */

.ci-boletin-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ci-boletin-card {
	background: #fff;
	border: 1px solid rgba(19, 139, 186, 0.1);
	border-radius: 22px;
	box-shadow: 0 14px 36px rgba(19, 139, 186, 0.08);
	overflow: hidden;
}

.ci-boletin-card__media {
	display: block;
	overflow: hidden;
	position: relative;
}

.ci-boletin-card__media img {
	aspect-ratio: 16 / 10;
	display: block;
	object-fit: cover;
	transition: transform 0.35s ease;
	width: 100%;
}

.ci-boletin-card:hover .ci-boletin-card__media img {
	transform: scale(1.04);
}

.ci-boletin-card__badge {
	backdrop-filter: blur(8px);
	background: rgba(255, 250, 240, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 999px;
	bottom: 16px;
	box-shadow: 0 10px 24px rgba(15, 74, 110, 0.18);
	color: var(--ci-blue);
	font-size: 0.7rem;
	font-weight: 800;
	left: 16px;
	letter-spacing: 0.06em;
	padding: 8px 12px;
	position: absolute;
	text-transform: uppercase;
}

.ci-boletin-card__body {
	padding: 22px 22px 26px;
}

.ci-boletin-card__body h2 {
	font-family: var(--ci-font-display);
	font-size: 1.35rem;
	line-height: 1.25;
	margin: 0 0 10px;
}

.ci-boletin-card__body h2 a {
	color: var(--ci-ink);
	text-decoration: none;
}

.ci-boletin-card__body h2 a:hover {
	color: var(--ci-blue);
}

.ci-boletin-card__body p {
	color: var(--ci-muted);
	line-height: 1.6;
	margin: 0 0 14px;
}

.ci-boletin-card__more {
	color: var(--ci-blue);
	font-weight: 700;
	text-decoration: none;
}

.ci-boletin-article__content {
	margin: 0 auto;
	max-width: 760px;
}

.ci-boletin-article__content h2 {
	font-family: var(--ci-font-display);
	font-size: 1.4rem;
	margin: 28px 0 12px;
}

.ci-boletin-article__content p,
.ci-boletin-article__content li {
	color: var(--ci-muted);
	font-size: 1.05rem;
	line-height: 1.75;
}

.ci-boletin-article__back {
	margin: 36px auto 0;
	max-width: 760px;
}

.ci-boletin-article__back a {
	color: var(--ci-blue);
	font-weight: 700;
	text-decoration: none;
}

.ci-boletin-empty {
	color: var(--ci-muted);
	text-align: center;
}

@media (max-width: 782px) {
	.ci-boletin-grid {
		grid-template-columns: 1fr;
	}
}
