/* Caribe en familia · Viajacontufamilia (convive con el tema Core Next: vmon-shell, Avenir/Inter) */
:root {
	--cef-sea: #00b4c6;
	--cef-sea-2: #0a8fb8;
	--cef-deep: #062f4f;
	--cef-ink: #071b33;
	--cef-sun: #ffc83d;
	--cef-sun-2: #ff9f1c;
	--cef-coral: #ff5a5f;
	--cef-pink: #ff6fae;
	--cef-paper: #f5f8fc;
	--cef-head: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
	--cef-serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ================= Banner (portada y cabecera de la página) ================= */
.cef-banner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(120deg, var(--cef-deep) 0%, var(--cef-sea-2) 45%, var(--cef-sea) 75%, #36d6c3 100%);
	padding: clamp(56px, 7vw, 104px) 0 clamp(84px, 9vw, 130px);
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.cef-banner__bg {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: 70% 50%; z-index: -3;
	transform: scale(1.04);
	animation: cef-drift 22s ease-in-out infinite alternate;
}
.cef-banner__veil {
	position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(120% 90% at 0% 100%, rgba(255, 90, 95, .55) 0%, rgba(255, 90, 95, 0) 55%),
		linear-gradient(95deg, rgba(4, 38, 66, .9) 0%, rgba(6, 70, 104, .72) 36%, rgba(0, 150, 180, .18) 64%, rgba(0, 180, 198, 0) 100%);
}
.cef-banner__sun {
	position: absolute; z-index: -1;
	width: clamp(220px, 30vw, 440px); aspect-ratio: 1;
	right: -6%; top: -18%;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 40%, #fff3c4 0%, var(--cef-sun) 38%, var(--cef-sun-2) 62%, rgba(255, 90, 95, 0) 72%);
	opacity: .9;
	filter: blur(.5px);
	animation: cef-pulse 6s ease-in-out infinite;
}
.cef-banner__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
}
.cef-kicker {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	margin: 0 0 18px;
	font: 800 13px/1.2 var(--cef-head);
	letter-spacing: .14em; text-transform: uppercase;
	color: #c9fbff;
}
.cef-pill {
	display: inline-block; padding: 6px 12px; border-radius: 999px;
	background: var(--cef-coral); color: #fff; letter-spacing: .1em;
	box-shadow: 0 6px 18px rgba(255, 90, 95, .45);
}
.cef-banner h1,
.cef-banner h2 {
	margin: 0 0 18px;
	font: 900 clamp(38px, 5.6vw, 78px)/.98 var(--cef-head);
	letter-spacing: -.03em;
	color: #fff;
	text-shadow: 0 3px 30px rgba(0, 20, 40, .35);
}
.cef-banner h1 em,
.cef-banner h2 em {
	display: inline-block;
	margin-top: .12em;
	font-family: var(--cef-serif);
	font-style: italic; font-weight: 600;
	font-size: .78em; letter-spacing: -.015em; line-height: 1.05;
	background: linear-gradient(90deg, var(--cef-sun) 0%, #ffd97a 35%, var(--cef-pink) 100%);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
	text-shadow: none;
}
.cef-banner__lead {
	max-width: 620px; margin: 0 0 28px;
	font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55;
	color: rgba(255, 255, 255, .92);
}
.cef-banner__lead strong { color: var(--cef-sun); }
.cef-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.cef-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 16px 26px; border-radius: 999px;
	font: 800 14px/1 var(--cef-head); letter-spacing: .08em; text-transform: uppercase;
	text-decoration: none !important; cursor: pointer; border: 0;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cef-btn:hover { transform: translateY(-2px); }
.cef-btn--sun {
	background: linear-gradient(90deg, var(--cef-sun) 0%, var(--cef-sun-2) 100%);
	color: var(--cef-ink) !important;
	box-shadow: 0 12px 30px rgba(255, 159, 28, .45);
}
.cef-btn--sun:hover { box-shadow: 0 16px 38px rgba(255, 159, 28, .6); }
.cef-btn--ghost { background: rgba(255, 255, 255, .12); color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); backdrop-filter: blur(4px); }
.cef-btn--ghost:hover { background: rgba(255, 255, 255, .22); }
.cef-btn--sea { background: linear-gradient(90deg, var(--cef-sea-2), var(--cef-sea)); color: #fff !important; box-shadow: 0 10px 24px rgba(0, 150, 180, .35); }
.cef-btn--ghost-dark { background: #fff; color: var(--cef-ink) !important; box-shadow: inset 0 0 0 2px var(--cef-ink); }
.cef-btn--full { width: 100%; margin-top: auto; }

.cef-banner__facts {
	display: flex; flex-wrap: wrap; gap: 10px 28px;
	list-style: none; margin: 30px 0 0; padding: 0;
}
.cef-banner__facts li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 3px solid var(--cef-sun); }
.cef-banner__facts b { font: 900 20px/1.1 var(--cef-head); color: #fff; }
.cef-banner__facts span { font-size: 13px; color: rgba(255, 255, 255, .8); }

.cef-banner__side { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.cef-sticker {
	position: relative;
	display: flex; flex-direction: column; gap: 4px;
	align-self: flex-end;
	width: min(100%, 330px);
	padding: 22px 26px;
	border-radius: 28px;
	background: linear-gradient(135deg, var(--cef-coral) 0%, var(--cef-pink) 55%, #ff9a6b 100%);
	color: #fff !important; text-decoration: none !important;
	transform: rotate(-3deg);
	box-shadow: 0 22px 50px rgba(255, 90, 95, .45), inset 0 0 0 3px rgba(255, 255, 255, .35);
	transition: transform .2s ease;
}
.cef-sticker:hover { transform: rotate(0) scale(1.03); }
.cef-sticker small { font: 800 12px/1.2 var(--cef-head); letter-spacing: .14em; text-transform: uppercase; opacity: .95; }
.cef-sticker strong { font: 900 clamp(34px, 3.6vw, 48px)/1 var(--cef-head); letter-spacing: -.02em; }
.cef-sticker strong span { font: italic 600 .45em/1 var(--cef-serif); vertical-align: middle; }
.cef-sticker em { font-style: normal; font-size: 13px; opacity: .95; }

.cef-minis { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cef-minis a {
	display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center;
	padding: 8px; border-radius: 18px;
	background: rgba(255, 255, 255, .95); color: var(--cef-ink) !important; text-decoration: none !important;
	box-shadow: 0 10px 28px rgba(0, 30, 60, .25);
	transition: transform .18s ease;
}
.cef-minis a:hover { transform: translateX(-4px); }
.cef-minis img { width: 92px; height: 70px; object-fit: cover; border-radius: 12px; display: block; }
.cef-minis span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cef-minis small { font: 800 11px/1.2 var(--cef-head); letter-spacing: .12em; text-transform: uppercase; color: var(--cef-sea-2); }
.cef-minis b { font: 800 15px/1.2 var(--cef-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cef-minis i { font-style: normal; font-weight: 800; font-size: 14px; color: var(--cef-coral); }
.cef-dests { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cef-dests a { display: block; padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, .95); color: var(--cef-ink) !important; font: 800 18px/1 var(--cef-head); text-decoration: none !important; }

.cef-banner__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 46px; fill: var(--cef-wave, #fff); }
.cef-banner--page { padding-bottom: clamp(90px, 9vw, 120px); }
.cef-banner--page .cef-banner__wave { fill: var(--cef-paper); }

@keyframes cef-drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.1) translateX(-1.5%); } }
@keyframes cef-pulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.06); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cef-banner__bg, .cef-banner__sun { animation: none; } }

@media (max-width: 900px) {
	.cef-banner__inner { grid-template-columns: 1fr; }
	.cef-sticker { align-self: flex-start; transform: rotate(-2deg); }
	.cef-banner__sun { right: -30%; top: -10%; }
	.cef-banner__veil { background: linear-gradient(180deg, rgba(4, 38, 66, .92) 0%, rgba(6, 70, 104, .85) 60%, rgba(255, 90, 95, .45) 100%); }
}
@media (max-width: 560px) {
	.cef-banner__actions .cef-btn { width: 100%; }
	.cef-minis a { grid-template-columns: 76px 1fr; }
	.cef-minis img { width: 76px; height: 60px; }
}

/* ================= Página escaparate ================= */
.cef-page { background: var(--cef-paper); padding-bottom: 72px; }
.cef { color: var(--cef-ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.cef-search {
	position: relative; z-index: 2;
	margin: -56px 0 34px; padding: 24px;
	background: #fff; border-radius: 26px;
	box-shadow: 0 24px 60px rgba(7, 27, 51, .14);
}
.cef-fams { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.cef-fam {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 20px; border-radius: 16px;
	background: var(--cef-paper); color: var(--cef-ink) !important; text-decoration: none !important;
	font: 800 15px/1 var(--cef-head);
	box-shadow: inset 0 0 0 2px #dbe5f0;
}
.cef-fam i { font-style: normal; font-size: 22px; }
.cef-fam.is-on { background: linear-gradient(90deg, var(--cef-sea-2), var(--cef-sea)); color: #fff !important; box-shadow: 0 10px 24px rgba(0, 150, 180, .3); }
.cef-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cef-chip {
	padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
	background: #fff4d6; color: #7a4b00 !important; text-decoration: none !important;
}
.cef-chip.is-on { background: var(--cef-coral); color: #fff !important; }
.cef-fields { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.cef-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #50627a; }
.cef-fields select { min-width: 190px; padding: 12px 14px; border-radius: 12px; border: 2px solid #dbe5f0; background: #fff; font-size: 15px; color: var(--cef-ink); }
.cef-note { margin: 14px 0 0; font-size: 13px; color: #5b6b80; }

.cef-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.cef-rhead { margin: 0; font: 900 clamp(24px, 2.6vw, 34px)/1.1 var(--cef-head); letter-spacing: -.02em; }
.cef-rhead span { font: 700 15px/1 Inter, sans-serif; color: var(--cef-sea-2); margin-left: 8px; }
.cef-tg { font-size: 14px; color: #5b6b80; }
.cef-tg a { margin-left: 8px; color: #5b6b80; text-decoration: none; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.cef-tg a.is-on { background: var(--cef-ink); color: #fff; }

.cef-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.cef-card { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 14px 40px rgba(7, 27, 51, .09); transition: transform .2s ease, box-shadow .2s ease; }
.cef-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(7, 27, 51, .15); }
.cef-card[hidden] { display: none; }
.cef-media { position: relative; aspect-ratio: 16/10; background: linear-gradient(120deg, var(--cef-sea-2), var(--cef-sea)); }
.cef-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cef-badge { position: absolute; left: 14px; top: 14px; padding: 8px 12px; border-radius: 999px; background: var(--cef-sun); color: var(--cef-ink); font: 800 12px/1 var(--cef-head); letter-spacing: .04em; box-shadow: 0 8px 18px rgba(0, 0, 0, .18); }
.cef-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.cef-meta { margin: 0; font: 800 12px/1.3 var(--cef-head); letter-spacing: .1em; text-transform: uppercase; color: var(--cef-sea-2); }
.cef-stars { color: var(--cef-sun-2); letter-spacing: 0; }
.cef-name { margin: 0; font: 800 20px/1.2 var(--cef-head); color: var(--cef-ink); }
.cef-price { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.cef-price small { font-size: 13px; color: #5b6b80; }
.cef-price strong { font: 900 32px/1 var(--cef-head); color: var(--cef-coral); letter-spacing: -.02em; }
.cef-price span { font-size: 13px; color: #5b6b80; }
.cef-pp { margin: 0; font-size: 13px; color: #5b6b80; }
.cef-kid { margin: 4px 0 0; padding: 10px 12px; border-radius: 12px; background: #e9fbfd; font-size: 14px; color: #0b4a63; }
.cef-inc { margin: 0; font-size: 13px; color: #5b6b80; }
.cef-dates { margin: 4px 0 8px; }
.cef-dates summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--cef-sea-2); }
.cef-dates ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; max-height: 220px; overflow: auto; }
.cef-dates a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--cef-paper); color: var(--cef-ink); text-decoration: none; font-size: 14px; }
.cef-dates a:hover { background: #fff4d6; }
.cef-dates b { color: var(--cef-coral); }
.cef-empty { padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 14px 40px rgba(7, 27, 51, .08); }
.cef-empty p { margin: 0 0 16px; font-size: 16px; }
.cef-link { margin-left: 12px; font-weight: 700; color: var(--cef-sea-2); }
.cef-morewrap { text-align: center; margin: 28px 0 0; }
.cef-more { margin: 22px 0 0; text-align: center; font-size: 15px; }
.cef-more a { color: var(--cef-coral); font-weight: 800; }
.cef-legal { margin: 28px 0 0; font-size: 12px; line-height: 1.5; color: #6b7b90; }
@media (max-width: 560px) {
	.cef-search { margin-top: -40px; padding: 18px; border-radius: 20px; }
	.cef-fields select, .cef-fields label, .cef-fields .cef-btn { width: 100%; min-width: 0; }
	.cef-fam { flex: 1 1 100%; }
}
