/* Shared map shell (listado, detalles, mapa) */
.schools-map-shell {
	background: #f5f5f5;
}

.schools-map-canvas {
	height: clamp(120px, 62vh, 320px);
	transition: height .5s ease;
}

.schools-map-canvas--mapa {
	height: clamp(280px, 62vh, 520px);
}

.schools-map-overlay {
	z-index: 2;
}

.schools-map-loader {
	z-index: 3;
	display: none;
}

.schools-map-modal-canvas {
	width: 100%;
	height: 500px;
}

/* Colegios index */
.country-card {
	border-radius: 12px;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}

.country-card .country-card-link {
	display: block;
	overflow: hidden;
}

.country-card img {
	transition: transform .45s ease;
}

.country-card .btn {
	transition: transform .2s ease, box-shadow .2s ease;
}

.country-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 1.2rem 2rem rgba(0, 0, 0, .16) !important;
}

.country-card:hover img {
	transform: scale(1.06);
}

.country-card:hover .btn {
	transform: translateY(-2px);
	box-shadow: 0 .45rem .9rem rgba(0, 0, 0, .2);
}

/* Colegios listado */
.school-list-shell {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.school-card {
	border: 1px solid rgba(10, 24, 40, 0.08);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(9, 30, 66, 0.08);
	transition: transform .25s ease, box-shadow .25s ease;
	background: #fff;
}

.school-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(9, 30, 66, 0.14);
}

.school-card-media {
	display: block;
	position: relative;
	overflow: hidden;
}

.school-card-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.school-card .card-body {
	padding: 1rem 1rem .95rem;
}

.school-card-title {
	color: #12263a;
	line-height: 1.3;
	min-height: 2.6em;
	margin-bottom: .5rem;
}

.school-card-location {
	color: #4f5d75;
	font-size: .92rem;
	margin-bottom: .7rem;
	display: flex;
	align-items: center;
	gap: .35rem;
}

.school-card-location i {
	color: #0d6efd;
}

.school-card-desc {
	color: #4f5d75;
	font-size: .92rem;
	min-height: 4.1em;
	margin-bottom: .85rem;
}

.school-card-tags .badge {
	border-radius: 999px;
	border: 1px solid rgba(10, 24, 40, 0.1);
	background: #f8fafc;
	color: #243b53;
	font-weight: 600;
	margin-right: .35rem;
	margin-bottom: .45rem;
}

.school-empty-state {
	border: 1px solid rgba(255, 193, 7, 0.35);
	background: linear-gradient(135deg, #fff8e8 0%, #fffdf8 100%);
	border-radius: 16px;
	padding: 2rem 1.5rem;
	text-align: center;
}

.school-empty-state i {
	font-size: 2rem;
	color: #c98900;
	margin-bottom: .6rem;
	display: inline-block;
}

.school-empty-state p {
	margin: .25rem 0 0;
	color: #6b5d33;
}

.school-pagination-wrap {
	margin-top: 1.2rem;
	padding: 1rem 1.1rem;
}

.school-pagination-wrap .pagination {
	margin-bottom: 0;
	gap: .3rem;
	justify-content: center;
}

.school-pagination-wrap .page-link {
	border-radius: 10px;
	border: 1px solid rgba(10, 24, 40, 0.12);
	color: #1f3a56;
	min-width: 40px;
	text-align: center;
}

.school-pagination-wrap .page-item.active .page-link {
	background: #0d6efd;
	border-color: #0d6efd;
	color: #fff;
}

.school-pagination-meta {
	font-size: .88rem;
	color: #52606d;
	text-align: center;
	margin-bottom: .75rem;
}

/* Colegios detalles */
.school-info-card {
	background: #fff;
	border: 1px solid rgba(10, 24, 40, 0.08);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(9, 30, 66, 0.08);
}

.school-info-card-image {
	aspect-ratio: 16/9;
	object-fit: cover;
}

/* Colegios detalles - Header section */
.school-header-card {
	background: #fff;
	border: 1px solid rgba(10, 24, 40, 0.08);
	border-radius: 16px;
	padding: 2rem;
	box-shadow: 0 10px 24px rgba(9, 30, 66, 0.08);
	margin-bottom: 2rem;
}

.school-name {
	color: #0a1828;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
}

.school-characteristics-icons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.school-characteristics-icons i {
	font-size: 1.5rem;
	color: #0d6efd;
	opacity: 0.9;
	transition: opacity 0.2s ease;
}

.school-characteristics-icons i:hover {
	opacity: 1;
}

.school-info-card {
	background: #fff;
	border: 1px solid rgba(10, 24, 40, 0.08);
	border-radius: 16px;
	padding: 2rem;
	box-shadow: 0 10px 24px rgba(9, 30, 66, 0.08);
	margin-bottom: 2rem;
}

.school-header-logo {
	max-height: 120px;
	object-fit: contain;
}

.school-contact-info {
	display: flex;
	flex-direction: column;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.contact-item i {
	color: #0d6efd;
	margin-top: 0.2rem;
	font-size: 1rem;
	flex-shrink: 0;
}

.contact-item span,
.contact-item a {
	font-size: 0.95rem;
	line-height: 1.5;
}

.contact-item a {
	color: #0d6efd;
	text-decoration: none;
}

.contact-item a:hover {
	text-decoration: underline;
}

.school-detail-icon {
	font-size: 1.25rem;
}

.school-detail-external-icon {
	font-size: 0.85rem;
}

.school-side-card {
	background: #fff;
	border: 1px solid rgba(10, 24, 40, 0.08);
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: 0 10px 24px rgba(9, 30, 66, 0.08);
	position: sticky;
	top: 90px;
}

.school-side-logo {
	max-height: 150px;
	object-fit: contain;
}

.school-detail-section {
	background: #fff;
	border: 1px solid rgba(10, 24, 40, 0.08);
	border-radius: 16px;
	padding: 2rem;
	box-shadow: 0 10px 24px rgba(9, 30, 66, 0.08);
	margin-bottom: 2rem;
}

.school-detail-section h2 {
	color: #0d6efd;
	font-weight: 600;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid rgba(13, 110, 253, 0.15);
}

.school-detail-section h3 {
	color: #243b53;
	font-weight: 600;
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

.badge-custom {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: #f0f6ff;
	color: #0d6efd;
	border: 1px solid rgba(13, 110, 253, 0.2);
	border-radius: 12px;
	padding: 0.5rem 1rem;
	font-weight: 500;
	margin-right: 0.5rem;
	margin-bottom: 0.5rem;
}

.school-detail-list {
	list-style: none;
	padding: 0;
}

.school-detail-list-item {
	margin-bottom: 0.5rem;
}

.school-gallery-image {
	border-radius: 12px;
}

/* Colegios mapa */
.schools-map-adm-card {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.schools-map-adm-image {
	object-fit: cover;
	height: 150px;
}

.price-range-slider {
    position: relative;
    height: 34px;
    display: flex;
    align-items: center;
}

.price-range-track {
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, #d9dee3 0%, #d9dee3 100%);
}

.price-range-input {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    left: 0;
    width: 100%;
    margin: 0;
    background: transparent;
    pointer-events: none;
}

.price-range-input::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
}

.price-range-input::-moz-range-track {
    height: 6px;
    background: transparent;
}

.price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    margin-top: -6px;
    pointer-events: auto;
    position: relative;
}

.price-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    pointer-events: auto;
    position: relative;
}

.price-range-input:focus {
    outline: none;
}

.search-submit-transition {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.search-submit-transition.search-submit-hidden {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.camp-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8ecf2;
    transition: all 0.25s ease;
}

.camp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(26, 39, 68, 0.12);
}

.camp-cover {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.camp-title {
    letter-spacing: 0.02em;
}

.camp-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.camp-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    background: #f8fafc;
    color: #3b4a60;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: -0.18em;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.header-nav .material-symbols-outlined,
.dropdown-item .material-symbols-outlined,
.nav-link .material-symbols-outlined {
    font-size: 1.05em;
    margin-right: 0.25rem;
}

.camp-price-col {
    background: linear-gradient(180deg, #f7fbff 0%, #eef4ff 100%);
}

.camp-cta {
    border-radius: 8px;
}

.camp-top-meta-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.camp-detail-header-wrap {
	padding: 0.85rem 0 0.15rem;
}

.camp-detail-hero-title {
	font-size: clamp(2.15rem, 4.4vw, 3.7rem);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.01em;
	max-width: none;
	white-space: normal;
	overflow-wrap: anywhere;
}

.camp-top-meta-item {
	background: #fff;
	border-color: #dce4ef;
	font-size: 0.78rem;
	letter-spacing: 0.02em;
}

.camp-detail-map {
	height: clamp(180px, 42vh, 360px);
}

.camp-media-block {
	background: #fff;
	border: 1px solid #e8ecf2;
	border-radius: 12px;
	padding: 1rem;
	box-shadow: 0 8px 22px rgba(26, 39, 68, 0.06);
}

.camp-media-feature {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	background: #dce4ef;
	height: 100%;
	min-height: 220px;
}

.camp-media-feature img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.camp-media-feature:hover img,
.camp-media-thumb:hover img {
	transform: scale(1.04);
}

.camp-media-stack {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 0.75rem;
	height: 100%;
}

.camp-media-chip {
	position: absolute;
	left: 10px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.6rem;
	border-radius: 999px;
	background: rgba(11, 18, 32, 0.75);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	z-index: 2;
}

.camp-media-video::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 15%, rgba(0, 0, 0, 0.45) 100%);
	z-index: 1;
}

.camp-media-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
}

.camp-media-thumb {
	display: block;
	border-radius: 8px;
	overflow: hidden;
	min-height: 90px;
	position: relative;
	background: #dce4ef;
}

.camp-media-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.camp-detail-page {
	padding-bottom: 1.5rem;
}

.camp-detail-block {
	background: #fff;
	border: 1px solid #e8ecf2;
	border-radius: 12px;
	padding: 1.25rem 1.25rem 1rem;
	box-shadow: 0 8px 22px rgba(26, 39, 68, 0.06);
}

.camp-detail-heading {
	margin-bottom: 0.9rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid #e9eef5;
}

.camp-price-list {
	border: 1px solid #e9eef5;
	border-radius: 12px;
	background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
	padding: 1rem;
}

.camp-price-intro {
	font-size: 0.94rem;
	line-height: 1.45;
	color: #4a5972;
	max-width: 75ch;
}

.camp-price-card {
	border: 1px solid #dde6f2;
	border-radius: 12px;
	background: #fff;
	padding: 1rem;
	height: 100%;
	box-shadow: 0 8px 18px rgba(31, 52, 84, 0.06);
}

.camp-price-card--featured {
	border-color: #98c0ff;
	background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 85%);
	box-shadow: 0 12px 24px rgba(33, 95, 193, 0.14);
}

.camp-price-card--compact {
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.camp-price-card-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 0.8rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid #e7eef8;
}

.camp-price-badge {
	display: inline-block;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	color: #184eac;
	background: #e7f0ff;
	border-radius: 999px;
	padding: 0.2rem 0.55rem;
	margin-bottom: 0.4rem;
}

.camp-price-title {
	font-size: 1.05rem;
	line-height: 1.3;
	color: #15243b;
}

.camp-price-meta {
	font-size: 0.88rem;
	line-height: 1.35;
	color: #5d6b82;
}

.camp-price-value {
	text-align: right;
	white-space: nowrap;
}

.camp-price-value span {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #5d6b82;
}

.camp-price-value strong {
	font-size: 1.3rem;
	line-height: 1.2;
	color: #0f2d57;
}

.camp-price-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
}

.camp-price-grid h4 {
	font-size: 0.79rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 0.35rem;
	color: #355072;
}

.camp-price-grid p,
.camp-price-grid ul {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #21344f;
}

.camp-price-grid ul {
	padding-left: 1rem;
}

@media (max-width: 991px) {
	.camp-price-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {
	.camp-price-list {
		padding: 0.8rem;
	}

	.camp-price-card {
		padding: 0.85rem;
	}

	.camp-price-card-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.camp-price-value {
		text-align: left;
	}
}

.camp-detail-sidebar {
	position: sticky;
	top: 96px;
}

.camp-detail-side-card {
	border-radius: 12px;
	border: 1px solid #e8ecf2;
	box-shadow: 0 8px 22px rgba(26, 39, 68, 0.06);
}

.camp-detail-side-card .card-body {
	padding: 0.95rem 0.95rem;
}

.camp-detail-side-card .card-footer {
	padding: 0.55rem 0.8rem;
}

.camp-side-card-title {
	font-size: 1.25rem;
	line-height: 1.2;
}

.camp-contact-card .form-control {
	border-radius: 8px;
}

.camp-contact-card .form-check-label {
	color: #475467;
}

.camp-contact-card--highlight {
	border: 2px solid #7ab6ff;
	background: linear-gradient(180deg, #f6fbff 0%, #ffffff 80%);
	box-shadow: 0 14px 30px rgba(35, 88, 161, 0.16);
}

.camp-contact-mini {
	display: grid;
	gap: 0.55rem;
	text-align: center;
	max-width: 270px;
	margin: 0 auto;
	justify-items: center;
}

.camp-contact-mini span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	font-size: 0.94rem;
	line-height: 1.25;
	color: #1f2f46;
}

.camp-contact-mini .material-symbols-outlined {
	font-size: 1.1rem;
	color: #0d6efd;
}

.camp-contact-cta {
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-weight: 700;
	padding-top: 0.8rem;
	padding-bottom: 0.8rem;
}

.camp-adsense-card {
	background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.camp-bottom-nav {
	padding-top: 1rem;
	padding-bottom: 1.35rem;
}

.camp-nav-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-height: 84px;
	padding: 0.95rem 1rem;
	border: 1px solid #dfe7f2;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(23, 43, 77, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.camp-nav-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(23, 43, 77, 0.14);
	border-color: #bed1ea;
}

.camp-nav-card-center {
	justify-content: center;
	text-align: center;
	background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.camp-nav-card-prev {
	justify-content: flex-start;
}

.camp-nav-card-next {
	justify-content: flex-end;
}

.camp-nav-card-next .camp-nav-copy {
	align-items: flex-end;
	text-align: right;
}

.camp-nav-icon {
	font-size: 1.9rem;
	color: #0f3f7a;
	flex-shrink: 0;
}

.camp-nav-copy {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	min-width: 0;
}

.camp-nav-label {
	text-transform: uppercase;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: #60758f;
	margin-bottom: 0.25rem;
}

.camp-nav-title {
	font-size: 0.98rem;
	font-weight: 700;
	color: #102a43;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 991.98px) {
    .camp-meta-grid {
        grid-template-columns: 1fr;
    }

	.camp-media-feature {
		min-height: 180px;
	}

	.camp-detail-hero-title {
		font-size: clamp(1.85rem, 8vw, 2.6rem);
	}

	.camp-media-stack {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
	}

	.camp-media-thumbs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.camp-detail-sidebar {
		position: static;
	}

	.camp-nav-card {
		min-height: 72px;
	}

	.camp-nav-card-center {
		order: -1;
	}

	.camp-nav-title {
		white-space: normal;
	}
}

