﻿:root {
	--haku-pink: #ef3c8f;
	--haku-ink: #171743;
	--haku-soft: #fff0f7;
	--haku-shadow: 0 18px 45px rgba(35, 31, 72, 0.13);
}

body.haku-page-template { margin: 0; background: #fff; color: var(--haku-ink); font-family: "Montserrat", "Poppins", Arial, sans-serif; }
.haku-page * { box-sizing: border-box; }
.haku-page a { text-decoration: none; }
.haku-page-hero { padding: 72px 24px 108px; text-align: center; background: linear-gradient(115deg, rgba(255,255,255,.72), rgba(255,236,247,.64)), linear-gradient(135deg, #eef8ff, #fff0f7 58%, #ffe6f2); }
.haku-page-hero > a { display: inline-flex; margin-bottom: 18px; color: var(--haku-pink); font-weight: 900; }
.haku-page-hero p { margin: 0 0 8px; color: var(--haku-pink); font-family: "Comic Sans MS", "Trebuchet MS", cursive; font-size: 24px; font-weight: 900; }
.haku-page-hero h1 { margin: 0 auto 16px; color: #202257; font-family: "Comic Sans MS", "Trebuchet MS", cursive; font-size: clamp(44px, 7vw, 76px); line-height: 1; }
.haku-page-hero span { display: block; max-width: 720px; margin: 0 auto; color: #424a66; font-size: 20px; line-height: 1.45; }
.haku-contact-layout, .haku-about, .haku-passenger-wrap { width: min(1140px, calc(100% - 48px)); margin: -54px auto 80px; }
.haku-contact-layout, .haku-about { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; }
.haku-contact-info, .haku-page-form, .haku-about > div, .haku-empty-box { background: #fff; border-radius: 22px; box-shadow: var(--haku-shadow); padding: 30px; }
.haku-contact-info h2, .haku-about h2 { margin-top: 0; font-size: 30px; }
.haku-contact-info p, .haku-about p { color: #424a66; line-height: 1.6; }
.haku-contact-info ul { padding-left: 18px; color: #424a66; line-height: 1.8; }
.haku-page-button, .haku-page-form button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--haku-pink); color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.haku-page-form { display: grid; gap: 18px; }
.haku-page-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 900; }
.haku-page-form input, .haku-page-form select, .haku-page-form textarea { width: 100%; border: 1px solid #d8dbe6; border-radius: 12px; background: #fff; color: var(--haku-ink); font: inherit; font-weight: 600; outline: none; }
.haku-page-form input, .haku-page-form select { min-height: 48px; padding: 0 14px; }
.haku-page-form textarea { padding: 14px; resize: vertical; }
.haku-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.haku-form-success { padding: 16px 18px; background: #e9fff1; border: 1px solid #b9f2cc; border-radius: 14px; color: #136c35; font-weight: 900; }
.haku-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.haku-values article { padding: 20px; background: var(--haku-soft); border-radius: 16px; }
.haku-values strong, .haku-values span { display: block; }
.haku-values span { margin-top: 8px; color: #424a66; line-height: 1.45; }
.haku-empty-box { text-align: center; }
.haku-site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(1140px, calc(100% - 48px)); margin: 0 auto 34px; padding: 26px 0 0; border-top: 1px solid rgba(239,60,143,.18); color: #25265f; font-size: 14px; font-weight: 800; }
.haku-footer-brand { line-height: 1.35; }
.haku-footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.haku-footer-links a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid rgba(239,60,143,.26); border-radius: 999px; background: #fff; color: var(--haku-pink); font-size: 13px; font-weight: 900; }

@media (max-width: 860px) {
	.haku-contact-layout, .haku-about, .haku-form-grid, .haku-values { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.haku-page-hero { padding: 48px 18px 86px; }
	.haku-contact-layout, .haku-about, .haku-passenger-wrap { width: min(100% - 28px, 520px); margin-top: -42px; }
	.haku-contact-info, .haku-page-form, .haku-about > div, .haku-empty-box { padding: 22px; }
	.haku-site-footer { width: min(100% - 28px, 520px); flex-direction: column; text-align: center; }
	.haku-footer-links { justify-content: center; }
}

/* Immersive visual refresh for contact, about, checkout and passenger pages */
.haku-page-hero {
	min-height: 400px;
	display: grid;
	align-content: center;
	background:
		linear-gradient(90deg, rgba(20,22,62,.86), rgba(28,29,74,.50) 55%, rgba(26,28,67,.24)),
		url("../images/fondo-haku.png") center / cover no-repeat,
		linear-gradient(135deg, #5d6595, #f583b8);
}

.haku-page-hero > a,
.haku-page-hero p,
.haku-page-hero h1,
.haku-page-hero span {
	position: relative;
	z-index: 1;
	color: #fff;
}

.haku-page-hero > a,
.haku-page-hero p {
	color: #ffd2e6;
}

.haku-page-hero h1 {
	text-shadow: 0 3px 20px rgba(13,14,44,.35);
}

.haku-contact-info,
.haku-page-form,
.haku-about > div,
.haku-empty-box,
.haku-checkout-card {
	border: 1px solid rgba(239,60,143,.10);
	box-shadow: 0 24px 54px rgba(35,31,72,.14);
}

.haku-contact-info {
	position: sticky;
	top: 24px;
	background: linear-gradient(155deg, #fff 0%, #fff1f8 100%);
}

.haku-contact-info h2::before,
.haku-about h2::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 10px 3px 0;
	border-radius: 50%;
	background: var(--haku-pink);
}

.haku-page-form {
	background: linear-gradient(180deg, #fff 0%, #fffafd 100%);
}

.haku-page-form input:focus,
.haku-page-form select:focus,
.haku-page-form textarea:focus {
	border-color: var(--haku-pink);
	box-shadow: 0 0 0 3px rgba(239,60,143,.12);
}

.haku-page-button:hover,
.haku-page-form button:hover,
.haku-pay-button:hover {
	background: #d82e79;
	transform: translateY(-2px);
}

.haku-about > div:first-child {
	background: linear-gradient(155deg, #fff 0%, #f6fbff 100%);
}

.haku-values article {
	transition: transform .2s ease, background .2s ease;
}

.haku-values article:hover {
	background: #fff7fb;
	transform: translateY(-4px);
}

.haku-checkout-card {
	box-shadow: 0 28px 60px rgba(35,31,72,.16);
}

.haku-passenger-form {
	position: relative;
	overflow: hidden;
}

.haku-passenger-form::before {
	content: "Datos protegidos para tu reserva Haku";
	display: block;
	margin: -4px -4px 4px;
	padding: 12px 16px;
	border-radius: 12px;
	background: #eef8ff;
	color: #25265f;
	font-size: 13px;
	font-weight: 900;
}

@media (max-width: 860px) {
	.haku-contact-info { position: static; }
}

@media (max-width: 640px) {
	.haku-page-hero { min-height: 360px; padding: 54px 20px 88px; background-position: 58% center; }
}

/* Haku visual layer */
body.haku-page-template {
	background:
		linear-gradient(180deg, #fff 0%, #fff 64%, #fff4fa 100%);
}

.haku-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.92) 78%),
		linear-gradient(135deg, #eef8ff 0%, #fff7fb 44%, #ffe6f2 100%);
}

.haku-page-hero::before {
	content: "";
	position: absolute;
	left: max(18px, calc(50% - 620px));
	top: 58px;
	width: 230px;
	height: 116px;
	border: 2px dashed rgba(239, 60, 143, 0.52);
	border-color: rgba(239, 60, 143, 0.52) transparent transparent rgba(239, 60, 143, 0.52);
	border-radius: 50%;
	transform: rotate(-14deg);
	z-index: -1;
}

.haku-page-hero::after {
	content: "✈";
	position: absolute;
	right: max(36px, calc(50% - 570px));
	top: 76px;
	color: var(--haku-pink);
	font-size: 38px;
	transform: rotate(-18deg);
	z-index: -1;
}

.haku-page-hero h1::after {
	content: "";
	display: block;
	width: min(260px, 54%);
	height: 3px;
	margin: 18px auto 0;
	background: linear-gradient(90deg, transparent, #f48ab9, transparent);
	border-radius: 999px;
}

.haku-page-hero p::after {
	content: "♡";
	display: inline-block;
	margin-left: 12px;
	color: var(--haku-pink);
	font-size: 28px;
	transform: rotate(14deg);
}

.haku-contact-info,
.haku-page-form,
.haku-about > div,
.haku-empty-box {
	border: 1px solid rgba(239, 60, 143, 0.08);
}

.haku-contact-layout,
.haku-about,
.haku-passenger-wrap {
	position: relative;
}

.haku-contact-layout::before,
.haku-about::before,
.haku-passenger-wrap::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -28px;
	width: min(620px, 86vw);
	height: 16px;
	background: linear-gradient(90deg, transparent, rgba(239, 60, 143, 0.16), transparent);
	transform: translateX(-50%);
	pointer-events: none;
}

.haku-values article {
	box-shadow: inset 0 0 0 1px rgba(239, 60, 143, 0.08);
}

.haku-values article::before {
	content: "✦";
	display: block;
	margin-bottom: 8px;
	color: var(--haku-pink);
	font-size: 18px;
}

.haku-page-button,
.haku-page-form button {
	box-shadow: 0 14px 28px rgba(239, 60, 143, 0.22);
}

.haku-page-button-soft {
	margin-left: 10px;
	background: #fff;
	color: var(--haku-pink);
	border: 2px solid rgba(239, 60, 143, 0.35);
}

.haku-checkout-section {
	width: min(1140px, calc(100% - 48px));
	margin: -54px auto 80px;
}

.haku-legal-wrap {
	width: min(980px, calc(100% - 48px));
	margin: -54px auto 80px;
	position: relative;
	z-index: 2;
}

.haku-legal-card {
	padding: clamp(26px, 4vw, 48px);
	border: 1px solid rgba(239, 60, 143, 0.1);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 28px 64px rgba(35, 31, 72, 0.14);
}

.haku-legal-card section + section {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(239, 60, 143, 0.12);
}

.haku-legal-card h2 {
	margin: 0 0 10px;
	color: var(--haku-ink);
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.2;
}

.haku-legal-card p {
	margin: 0;
	color: #424a66;
	font-size: 16px;
	line-height: 1.75;
}

.haku-legal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid rgba(239, 60, 143, 0.12);
}

.haku-legal-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--haku-pink);
	color: #fff;
	font-weight: 900;
}

.haku-checkout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 28px;
	align-items: start;
}

.haku-checkout-card {
	position: relative;
	overflow: hidden;
	padding: 30px;
	border: 1px solid rgba(239, 60, 143, 0.08);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--haku-shadow);
}

.haku-checkout-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 18% 0%, rgba(239, 60, 143, 0.1), transparent 30%),
		radial-gradient(circle at 100% 18%, rgba(176, 224, 235, 0.18), transparent 34%);
	pointer-events: none;
}

.haku-checkout-card > * {
	position: relative;
}

.haku-kicker {
	display: inline-flex;
	margin-bottom: 8px;
	color: var(--haku-pink);
	font-family: "Comic Sans MS", "Trebuchet MS", cursive;
	font-size: 22px;
	font-weight: 900;
}

.haku-checkout-card h2 {
	margin: 0 0 18px;
	color: var(--haku-ink);
	font-size: 32px;
	line-height: 1.1;
}

.haku-checkout-image {
	overflow: hidden;
	margin: 18px 0;
	border-radius: 20px;
	aspect-ratio: 16 / 8;
	background: var(--haku-soft);
}

.haku-checkout-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.haku-checkout-facts,
.haku-checkout-summary {
	display: grid;
	gap: 14px;
}

.haku-checkout-facts {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 18px;
}

.haku-checkout-facts p,
.haku-checkout-summary p {
	margin: 0;
	padding: 16px;
	border-radius: 16px;
	background: #fff7fb;
}

.haku-checkout-facts span,
.haku-checkout-summary span {
	display: block;
	margin-bottom: 4px;
	color: #73788f;
	font-size: 13px;
	font-weight: 800;
}

.haku-checkout-facts strong,
.haku-checkout-summary strong {
	color: var(--haku-ink);
	font-size: 17px;
}

.haku-pay-button,
.haku-paid-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--haku-pink);
	color: #fff;
	font: inherit;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 16px 30px rgba(239, 60, 143, 0.24);
}

.haku-checkout-total {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 76px;
	margin: 4px 0 4px;
	border-radius: 20px;
	background: linear-gradient(135deg, #fff0f7, #ffffff);
	color: var(--haku-pink);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 950;
	box-shadow: inset 0 0 0 1px rgba(239, 60, 143, 0.12);
}

.haku-paid-form button {
	margin-top: 8px;
	background: #fff;
	color: var(--haku-pink);
	border: 2px solid rgba(239, 60, 143, 0.38);
	box-shadow: none;
}

.haku-checkout-summary small {
	color: #73788f;
	font-size: 13px;
	line-height: 1.45;
}

.haku-form-warning {
	padding: 16px 18px;
	border: 1px solid rgba(239, 60, 143, 0.28);
	border-radius: 14px;
	background: #fff7fb;
	color: var(--haku-ink);
	font-weight: 800;
	line-height: 1.45;
}

@media (max-width: 760px) {
	.haku-page-hero::before {
		left: -72px;
		top: 78px;
		opacity: 0.45;
	}

	.haku-page-hero::after {
		right: 18px;
		top: 42px;
		font-size: 28px;
		opacity: 0.7;
	}
}

@media (max-width: 900px) {
	.haku-checkout-grid,
	.haku-checkout-facts {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.haku-checkout-section {
		width: min(100% - 28px, 520px);
		margin-top: -42px;
	}

	.haku-legal-wrap {
		width: min(100% - 28px, 520px);
		margin-top: -42px;
	}

	.haku-checkout-card {
		padding: 22px;
	}
}

/* Keep the travel photo as the final hero background rule. */
.haku-page-hero {
	min-height: 400px;
	display: grid;
	align-content: center;
	background:
		linear-gradient(90deg, rgba(20,22,62,.86), rgba(28,29,74,.50) 55%, rgba(26,28,67,.24)),
		url("../images/fondo-haku.png") center / cover no-repeat,
		linear-gradient(135deg, #5d6595, #f583b8);
}

.haku-page-hero > a,
.haku-page-hero p,
.haku-page-hero h1,
.haku-page-hero span { color: #fff; }
.haku-page-hero > a,
.haku-page-hero p { color: #ffd2e6; }

@media (max-width: 640px) {
	.haku-page-hero { min-height: 360px; padding: 54px 20px 88px; background-position: 58% center; }
}
