/* =====================================================================
   Viajes Megami — "cuaderno de viaje" (Japanese travel journal)
   Indigo (ai) dominates, vermilion (shu) is reserved for the seal and
   primary actions, washi paper is the ground everything sits on.
   ===================================================================== */

/* ---------- Fonts (self-hosted: no third-party requests from visitors) ----------
   Subset from the full families to Latin-1 + punctuation; the mincho files also
   carry the seven kanji the design uses: 女神 (the seal) and 一二三四五 (steps). */
@font-face {
	font-family: 'Zen Old Mincho';
	src: url('../fonts/zen-old-mincho-700.woff') format('woff');
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: 'Zen Old Mincho';
	src: url('../fonts/zen-old-mincho-900.woff') format('woff');
	font-weight: 900;
	font-display: swap;
}
@font-face {
	font-family: 'Zen Kaku Gothic New';
	src: url('../fonts/zen-kaku-gothic-400.woff') format('woff');
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: 'Zen Kaku Gothic New';
	src: url('../fonts/zen-kaku-gothic-700.woff') format('woff');
	font-weight: 700;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--ai: #1D2B4F;
	--ai-deep: #131D38;
	--ai-line: #2E3E68;
	--shu: #C73E26;
	--shu-deep: #A8321D;
	--shu-light: #E8664A;
	--sora: #2CA2DA;
	--sora-ink: #1B6E99;
	--washi: #F2EDE3;
	--washi-deep: #E6DDCB;
	--card: #FBF8F2;
	--ink: #2A2F45;
	--ink-soft: #5D6278;
	--line: #D6CAB4;
	/* WhatsApp-recognisable green, deep enough for AA contrast with white text */
	--wa: #15803D;
	--wa-deep: #116B33;

	--font-display: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', Georgia, serif;
	--font-body: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Segoe UI', sans-serif;

	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
	--radius: 4px;
	--max: 1200px;
	--ease-out: cubic-bezier(.2, .7, .2, 1);
	--paper-shadow: 0 1px 1px rgba(42, 47, 69, .08), 0 14px 28px -12px rgba(42, 47, 69, .38);
	--paper-shadow-lift: 0 2px 2px rgba(42, 47, 69, .08), 0 26px 40px -16px rgba(42, 47, 69, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink);
	background-color: var(--washi);
	/* washi: fine grain + sparse long fibres */
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .16' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sora-ink); text-underline-offset: 3px; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--ai);
	margin: 0 0 .5em;
	font-weight: 900;
	text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 1.04; letter-spacing: -.025em; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.85rem); line-height: 1.1; letter-spacing: -.018em; }
h3 { font-size: 1.45rem; line-height: 1.2; font-weight: 700; letter-spacing: -.008em; }

:focus-visible { outline: 3px solid var(--sora); outline-offset: 3px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section--flush-top { padding-top: var(--s5); }
.h3 { font-size: 1.45rem; line-height: 1.2; font-weight: 700; letter-spacing: -.008em; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -999px; top: 8px; z-index: 1000;
	background: var(--ai); color: var(--washi); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons: rubber-stamp feel ---------- */
.btn {
	--btn-bg: var(--shu);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s2);
	min-height: 50px;
	padding: 0 var(--s5);
	border: 0;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: .01em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .14s var(--ease-out), background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary {
	background: var(--btn-bg);
	color: #FFF;
	/* the inset double rule is the frame of a hanko stamp */
	box-shadow: inset 0 0 0 3px var(--btn-bg), inset 0 0 0 4.5px rgba(251, 243, 226, .55), 0 2px 0 var(--shu-deep);
}
.btn-primary:hover { --btn-bg: var(--shu-deep); color: #FFF; }
.btn-secondary {
	background: transparent;
	color: var(--ai);
	box-shadow: inset 0 0 0 2px var(--ai);
}
.btn-secondary:hover { background: var(--ai); color: var(--washi); }
.btn-light { background: var(--washi); color: var(--ai); }
.btn-light:hover { background: var(--card); color: var(--ai); }
.btn-whatsapp { background: var(--wa); color: #FFF; }
.btn-whatsapp:hover { background: var(--wa-deep); color: #FFF; }
.btn-whatsapp svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 42px; padding: 0 var(--s4); font-size: .95rem; }
.btn-block { width: 100%; }
.btn-block + .btn-block { margin-top: var(--s3); }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
	position: fixed;
	right: clamp(16px, 3vw, 28px);
	bottom: clamp(16px, 3vw, 28px);
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 22px 0 18px;
	border-radius: 999px;
	background: var(--wa);
	color: #FFF;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(19, 29, 56, .2), 0 12px 26px -8px rgba(19, 29, 56, .5);
	transition: transform .18s var(--ease-out), background-color .18s ease;
}
.wa-float:hover { background: var(--wa-deep); color: #FFF; transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
body:has(.wa-float) .site-footer { padding-bottom: 88px; }
@media (max-width: 720px) {
	.wa-float { width: 56px; padding: 0; }
	.wa-float span { display: none; }
}

.link-ink {
	font-weight: 700;
	color: var(--ai);
	text-decoration: none;
	background-image: linear-gradient(var(--shu), var(--shu));
	background-size: 100% 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	padding-bottom: 3px;
	transition: background-size .2s var(--ease-out);
}
.link-ink:hover { background-size: 100% 5px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--washi);
	border-bottom: 1px solid var(--line);
}
.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s5);
	min-height: 76px;
}
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; }
.brand__seal {
	width: 52px; height: 52px;
	border-radius: 50%;
	transform: rotate(-8deg);
	box-shadow: 0 0 0 3px var(--washi), 0 0 0 4px var(--line);
}
.brand__name {
	display: flex; flex-direction: column;
	font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; line-height: 1.05;
	color: var(--ai);
}
.brand__tag { font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--ink-soft); margin-top: 3px; }

.primary-nav { display: flex; align-items: center; gap: var(--s5); }
.primary-nav ul { display: flex; gap: var(--s5); list-style: none; margin: 0; padding: 0; }
.primary-nav ul a {
	color: var(--ai);
	font-weight: 700;
	text-decoration: none;
	padding: 10px 0;
	background-image: linear-gradient(var(--shu), var(--shu));
	background-size: 0 2px;
	background-position: 0 85%;
	background-repeat: no-repeat;
	transition: background-size .22s var(--ease-out);
}
.primary-nav ul a:hover,
.primary-nav .current-menu-item > a,
.primary-nav ul a[aria-current="page"] { background-size: 100% 2px; }

.nav-toggle {
	display: none;
	width: 48px; height: 48px;
	border: 0; border-radius: var(--radius);
	background: var(--ai); color: var(--washi);
	cursor: pointer;
	place-items: center;
	position: relative;
	z-index: 120;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
	.nav-toggle { display: grid; }
	.primary-nav {
		position: fixed;
		inset: 0;
		z-index: 110;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: var(--s6);
		padding: 96px clamp(24px, 8vw, 64px) 120px;
		background: var(--ai);
		visibility: hidden;
		opacity: 0;
		transition: opacity .25s ease, visibility 0s linear .25s;
	}
	.primary-nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s ease; }
	.primary-nav ul { flex-direction: column; gap: var(--s4); }
	.primary-nav ul a {
		color: var(--washi);
		font-family: var(--font-display);
		font-weight: 900;
		font-size: clamp(2rem, 8vw, 2.6rem);
		line-height: 1.15;
		padding: 0;
	}
	.primary-nav::after {
		content: "";
		position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
		--a: var(--ai); --b: var(--ai-line);
		background-color: var(--a);
	}
}

/* ---------- Seigaiha (blue-sea waves) ----------
   Declared on the elements themselves (not as a :root variable) so --a / --b
   resolve per element; a :root custom property would freeze them undefined. */
.waves,
.primary-nav::after {
	background-size: 60px 30px;
	background-image:
		radial-gradient(circle at 100% 150%, var(--a) 24%, var(--b) 24%, var(--b) 28%, var(--a) 28%, var(--a) 36%, var(--b) 36%, var(--b) 40%, transparent 40%, transparent),
		radial-gradient(circle at 0 150%, var(--a) 24%, var(--b) 24%, var(--b) 28%, var(--a) 28%, var(--a) 36%, var(--b) 36%, var(--b) 40%, transparent 40%, transparent),
		radial-gradient(circle at 50% 100%, var(--b) 10%, var(--a) 10%, var(--a) 23%, var(--b) 23%, var(--b) 30%, var(--a) 30%, var(--a) 43%, var(--b) 43%, var(--b) 50%, var(--a) 50%, var(--a) 63%, var(--b) 63%, var(--b) 71%, transparent 71%, transparent),
		radial-gradient(circle at 100% 50%, var(--b) 5%, var(--a) 5%, var(--a) 15%, var(--b) 15%, var(--b) 20%, var(--a) 20%, var(--a) 29%, var(--b) 29%, var(--b) 34%, var(--a) 34%, var(--a) 44%, var(--b) 44%, var(--b) 49%, transparent 49%, transparent),
		radial-gradient(circle at 0 50%, var(--b) 5%, var(--a) 5%, var(--a) 15%, var(--b) 15%, var(--b) 20%, var(--a) 20%, var(--a) 29%, var(--b) 29%, var(--b) 34%, var(--a) 34%, var(--a) 44%, var(--b) 44%, var(--b) 49%, transparent 49%, transparent);
}
.waves {
	--a: var(--washi-deep);
	--b: var(--washi);
	height: 44px;
	background-color: var(--a);
}
.waves--ai { --a: var(--ai); --b: var(--ai-line); }
.waves--deep { --a: var(--ai-deep); --b: #1F2C50; }

/* ---------- Hanko seal ---------- */
.hanko {
	display: inline-grid;
	place-items: center;
	width: 92px;
	aspect-ratio: 1;
	padding: 10px;
	border-radius: 12px;
	background: var(--shu);
	color: #FBF3E2;
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 2rem;
	line-height: 1;
	writing-mode: vertical-rl;
	letter-spacing: .06em;
	box-shadow: inset 0 0 0 4px var(--shu), inset 0 0 0 6.5px #FBF3E2;
	transform: rotate(-9deg);
	/* worn ink: speckles of paper showing through */
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.2 2.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.2 2.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	-webkit-mask-size: cover;
	mask-size: cover;
}

/* ---------- Home: hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 0; }
.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}
.hero__copy h1 { max-width: 12ch; margin-bottom: var(--s5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero__note { margin-top: var(--s5); font-size: .92rem; color: var(--ink-soft); }

.hero__art {
	position: relative;
	width: 100%;
	max-width: 540px;
	aspect-ratio: 1 / 1.02;
	justify-self: end;
}
.hero__sun {
	position: absolute;
	inset: 0 4% 8% 4%;
	border-radius: 50%;
	background: var(--sora);
	overflow: hidden;
	box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .18);
}
/* rays radiating from behind the fox's head — the same gesture as the goddess emblem */
.hero__sun::before {
	content: "";
	position: absolute;
	inset: -30%;
	background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .34) 0deg 2.6deg, transparent 2.6deg 11deg);
	transform: translateY(-6%);
}
.hero__sun::after {
	content: "";
	position: absolute;
	left: 50%; top: 44%;
	width: 50%; aspect-ratio: 1;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: #FBF3E2;
	box-shadow: 0 0 0 14px rgba(251, 243, 226, .28), 0 0 0 30px rgba(251, 243, 226, .12);
}
.hero__fox {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 80%;
	transform: translateX(-50%);
	filter: drop-shadow(0 16px 18px rgba(19, 29, 56, .28));
}
.hero__seal { position: absolute; top: 3%; right: 0; }
.hero .waves { margin-top: clamp(40px, 6vw, 72px); }

/* page-load sequence: copy settles, sun opens, fox rises, seal stamps last */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sun-open { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes fox-rise { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes stamp {
	0% { opacity: 0; transform: scale(1.7) rotate(-22deg); }
	70% { opacity: 1; transform: scale(.94) rotate(-8deg); }
	100% { opacity: 1; transform: scale(1) rotate(-9deg); }
}
.hero__copy > * { animation: rise .7s var(--ease-out) both; }
.hero__copy > :nth-child(2) { animation-delay: .1s; }
.hero__copy > :nth-child(3) { animation-delay: .2s; }
.hero__copy > :nth-child(4) { animation-delay: .3s; }
.hero__sun { animation: sun-open .8s var(--ease-out) .15s both; }
.hero__fox { animation: fox-rise .7s var(--ease-out) .45s both; }
.hero__seal .hanko { animation: stamp .42s cubic-bezier(.3, 1.4, .6, 1) 1.05s both; }

/* ---------- Postcards ---------- */
.postcard {
	--tilt: 0deg;
	--tape: rgba(44, 162, 218, .5);
	--tape-x: 50%;
	--tape-rot: -3deg;
	position: relative;
	display: block;
	background: var(--card);
	padding: 12px 12px 20px;
	border-radius: 2px;
	box-shadow: var(--paper-shadow);
	transform: rotate(var(--tilt));
	transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
	color: var(--ink);
	text-decoration: none;
}
.postcard::before {
	content: "";
	position: absolute;
	top: -14px;
	left: var(--tape-x);
	width: 104px;
	height: 30px;
	transform: translateX(-50%) rotate(var(--tape-rot));
	background-color: var(--tape);
	background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .28) 0 5px, transparent 5px 11px);
	clip-path: polygon(0 12%, 3% 0, 97% 0, 100% 14%, 97% 32%, 100% 50%, 97% 68%, 100% 86%, 97% 100%, 3% 100%, 0 88%, 3% 70%, 0 50%, 3% 30%);
	z-index: 2;
}
.postcard--shu { --tape: rgba(199, 62, 38, .55); }
.postcard--ai { --tape: rgba(29, 43, 79, .45); }
a.postcard:hover, a.postcard:focus-visible { transform: rotate(0deg) translateY(-6px); box-shadow: var(--paper-shadow-lift); }
.postcard__img { width: 100%; border-radius: 1px; }
.postcard__img--cover { aspect-ratio: 4 / 3; object-fit: cover; }
.postcard__body { padding: var(--s4) var(--s2) 0; }
.postcard__body p { color: var(--ink-soft); margin-bottom: var(--s3); }

/* ---------- Home: explore ---------- */
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.explore {
	display: grid;
	align-items: start;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 56px);
}
.explore .postcard:nth-child(1) { --tilt: -1.6deg; --tape-x: 30%; }
.explore .postcard:nth-child(2) { --tilt: 1.2deg; --tape: rgba(199, 62, 38, .5); --tape-rot: 4deg; margin-top: clamp(0px, 6vw, 72px); }
.explore .postcard:nth-child(3) { --tilt: .9deg; --tape: rgba(29, 43, 79, .42); --tape-x: 68%; }
.explore .postcard:nth-child(4) { --tilt: -1.1deg; --tape-rot: -5deg; margin-top: clamp(0px, 6vw, 72px); }

/* ---------- Home: steps (indigo) ---------- */
.steps-section { background: var(--ai); color: var(--washi); position: relative; }
.steps-section h2 { color: var(--washi); }
.steps-section .section-head p { color: rgba(242, 237, 227, .75); }
.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 4vw, 56px);
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
}
.step { border-top: 1px solid var(--ai-line); padding-top: var(--s5); }
.step__num {
	display: block;
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 5rem;
	line-height: .9;
	color: var(--shu-light);
	margin-bottom: var(--s4);
}
.step h3 { color: var(--washi); margin-bottom: var(--s3); }
.step p { color: rgba(242, 237, 227, .78); margin: 0; }

/* ---------- Home: closing CTA ---------- */
.cta-strip {
	display: grid;
	grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	max-width: 960px;
}
.cta-strip img { width: 100%; max-width: 260px; }
.cta-strip h2 { margin-bottom: var(--s3); }
.cta-strip p { color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; }
.cta-strip .hero__actions { margin-top: var(--s5); }

/* ---------- Inner page banner ---------- */
.page-banner { padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 4vw, 40px); }
.page-banner .postcard {
	--tilt: -.6deg;
	max-width: 1080px;
	margin: 0 auto;
	padding: 12px;
}
.page-banner .postcard::after {
	content: "";
	position: absolute;
	right: 28px; bottom: -12px;
	width: 96px; height: 28px;
	transform: rotate(-4deg);
	background-color: rgba(199, 62, 38, .5);
	background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .28) 0 5px, transparent 5px 11px);
	clip-path: polygon(0 12%, 3% 0, 97% 0, 100% 14%, 97% 32%, 100% 50%, 97% 68%, 100% 86%, 97% 100%, 3% 100%, 0 88%, 3% 70%, 0 50%, 3% 30%);
}
.page-intro { max-width: 680px; margin: 0 auto; text-align: center; }
.page-intro p { color: var(--ink-soft); font-size: 1.12rem; }

/* ---------- Destinos / Ofertas listings ---------- */
.card-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: clamp(36px, 5vw, 56px) clamp(24px, 3vw, 40px);
}
.card-list .postcard:nth-child(3n+1) { --tilt: -1deg; }
.card-list .postcard:nth-child(3n+2) { --tilt: .8deg; --tape: rgba(199, 62, 38, .5); --tape-rot: 3deg; }
.card-list .postcard:nth-child(3n) { --tilt: -.5deg; --tape: rgba(29, 43, 79, .42); }
.card-meta { font-size: .92rem; color: var(--ink-soft); margin-bottom: var(--s2); }
.price {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1.5rem;
	color: var(--ai);
	line-height: 1.1;
}
.price small { font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--ink-soft); margin-right: 4px; }
.price s { font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--ink-soft); margin-right: 8px; }

/* Ofertas read as travel tickets: stub on the left, perforation, details on the right */
.tickets { display: grid; gap: clamp(24px, 3vw, 36px); }
.ticket {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	background: var(--card);
	border-radius: 6px;
	box-shadow: var(--paper-shadow);
	color: var(--ink);
	text-decoration: none;
	transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.ticket:hover, .ticket:focus-visible { transform: translateY(-4px); box-shadow: var(--paper-shadow-lift); }
.ticket__img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; border-radius: 6px 0 0 6px; }
.ticket__body {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--s2);
	padding: var(--s5) var(--s6) var(--s5) var(--s7);
	border-left: 2px dashed var(--line);
}
.ticket__body::before, .ticket__body::after {
	content: "";
	position: absolute;
	left: -14px;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--washi);
}
.ticket__body::before { top: -13px; }
.ticket__body::after { bottom: -13px; }
.ticket__stamp {
	position: absolute;
	top: var(--s4); right: var(--s5);
	width: 72px; font-size: 1rem; padding: 8px; border-radius: 8px;
	writing-mode: horizontal-tb;
	letter-spacing: .02em;
	transform: rotate(8deg);
}
.ticket__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s3); padding-top: var(--s3); }

.empty {
	display: grid;
	grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	max-width: 760px;
	margin: 0 auto;
}
.empty h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.empty p { color: var(--ink-soft); font-size: 1.1rem; }

/* Fox holding a blank sign — we write on the sign */
.fox-sign { position: relative; width: 100%; max-width: 220px; }
.fox-sign img { width: 100%; }
.fox-sign span {
	position: absolute;
	left: 47.9%; top: 59.3%;
	width: 39.2%; height: 18.7%;
	display: grid; place-items: center;
	font-family: var(--font-display); font-weight: 900;
	font-size: clamp(.8rem, 2vw, 1.02rem);
	color: var(--shu);
	transform: rotate(-2deg);
}

/* ---------- Single destino / oferta ---------- */
.single { padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.single__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.single .postcard { --tilt: -.8deg; }
.postcard + .single__title { margin-top: var(--s7); }
.single__meta { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s4) 0 var(--s5); }
.tag {
	display: inline-flex; align-items: center;
	min-height: 34px; padding: 0 var(--s3);
	border: 1.5px solid var(--ai); border-radius: var(--radius);
	font-weight: 700; font-size: .92rem; color: var(--ai);
}
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }

.ask {
	overflow: hidden;
	background: var(--ai);
	color: var(--washi);
	border-radius: 6px;
	padding: var(--s6);
	position: sticky;
	top: 104px;
}
.ask::before {
	content: "";
	position: absolute; inset: -40% -40% auto auto;
	width: 320px; aspect-ratio: 1;
	background: repeating-conic-gradient(from 0deg, rgba(232, 102, 74, .2) 0deg 2.6deg, transparent 2.6deg 11deg);
	-webkit-mask-image: radial-gradient(circle, #000 0 34%, transparent 70%);
	mask-image: radial-gradient(circle, #000 0 34%, transparent 70%);
}
.ask > * { position: relative; }
.ask h2 { color: var(--washi); font-size: 1.7rem; }
.ask p { color: rgba(242, 237, 227, .8); }
.ask .price { color: var(--washi); margin-bottom: var(--s4); }
.ask .price small, .ask .price s { color: rgba(242, 237, 227, .7); }
.back-link { display: inline-block; margin-top: var(--s6); }

/* ---------- Forms ---------- */
.form-layout {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.form-aside { position: sticky; top: 108px; }
.form-aside img { width: 170px; margin-bottom: var(--s4); }
.form-aside h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.form-aside p { color: var(--ink-soft); }
.form-index { list-style: none; margin: var(--s5) 0 0; padding: 0; border-top: 1px solid var(--line); }
.form-index li { border-bottom: 1px solid var(--line); }
.form-index a {
	display: flex; align-items: baseline; gap: var(--s3);
	padding: var(--s3) 0;
	color: var(--ai); font-weight: 700; text-decoration: none;
}
.form-index a span { font-family: var(--font-display); font-weight: 900; color: var(--shu); min-width: 1.6em; }
.form-index a:hover { color: var(--shu); }

.sheet {
	background: var(--card);
	border-radius: 4px;
	box-shadow: var(--paper-shadow);
	padding: clamp(24px, 4vw, 56px);
}
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sheet fieldset + fieldset { margin-top: clamp(40px, 5vw, 56px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line); }
/* floated so the legend is laid out as normal content rather than sitting
   on the fieldset's top border (which drew the divider line through it) */
.sheet legend {
	float: left;
	width: 100%;
	display: flex; align-items: baseline; gap: var(--s3);
	padding: 0; margin-bottom: var(--s5);
	font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--ai);
	scroll-margin-top: 110px;
}
.sheet legend span { color: var(--shu); font-size: 1.9rem; }
.sheet legend + * { clear: both; }
.field { margin-bottom: var(--s5); }
.field:last-child { margin-bottom: 0; }
.field > label, .field > .sub-label { display: block; font-weight: 700; color: var(--ai); margin-bottom: var(--s2); font-size: .98rem; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); margin-bottom: var(--s5); }
.field-row:last-child { margin-bottom: 0; }
.field-row > .field { margin-bottom: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	font-size: 1rem;
	color: var(--ink);
	background: #FFF;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	transition: border-color .15s ease, box-shadow .15s ease;
}
select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231D2B4F' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ai); box-shadow: 0 0 0 3px rgba(29, 43, 79, .16); }
input::placeholder, textarea::placeholder { color: #9A9486; }

.choice-group { display: flex; flex-wrap: wrap; gap: var(--s2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
	display: inline-flex; align-items: center;
	min-height: 44px; padding: 0 var(--s4);
	border: 1.5px solid var(--line); border-radius: var(--radius);
	background: #FFF;
	font-weight: 700; font-size: .95rem; color: var(--ai);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
	cursor: pointer;
}
.choice:hover span { border-color: var(--ai); }
.choice input:checked + span { background: var(--ai); border-color: var(--ai); color: var(--washi); }
.choice input:focus-visible + span { outline: 3px solid var(--sora); outline-offset: 2px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-submit { margin-top: clamp(32px, 4vw, 48px); }
.form-legal { margin-top: var(--s3); font-size: .88rem; color: var(--ink-soft); }

.notice {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: var(--s4);
	align-items: center;
	padding: var(--s4) var(--s5);
	margin-bottom: var(--s6);
	border-radius: 6px;
	font-weight: 700;
}
.notice img { width: 96px; }
.notice p { margin: 0; }
.notice--ok { background: #E3EEDF; color: #23502B; }
.notice--error { background: #F7DED7; color: #8A2915; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.meishi {
	position: relative;
	margin-top: 90px;
	background: var(--ai);
	color: var(--washi);
	border-radius: 6px;
	padding: 72px var(--s6) var(--s6);
	box-shadow: var(--paper-shadow);
}
.meishi__fox { position: absolute; top: -104px; left: 20px; width: 150px; }
.meishi h2 { color: var(--washi); font-size: 1.9rem; }
.meishi > p { color: rgba(242, 237, 227, .8); }
.meishi dl { margin: var(--s5) 0 0; }
.meishi dt { font-size: .88rem; color: rgba(242, 237, 227, .65); }
.meishi dd { margin: 2px 0 var(--s4); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.meishi dd:last-child { margin-bottom: 0; }
.meishi dd a { color: var(--washi); text-decoration-color: rgba(242, 237, 227, .45); }
.meishi dd a:hover { text-decoration-color: var(--washi); }
.meishi .btn-whatsapp { margin-top: var(--s5); }
.meishi .hanko { position: absolute; right: 24px; top: 24px; width: 64px; font-size: 1.35rem; padding: 7px; border-radius: 9px; }

/* placeholders the agent still has to fill in — deliberately loud */
.placeholder {
	background: #FFE9A8;
	color: #6B4B00;
	padding: 1px 6px;
	border-radius: 3px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: .92em;
}

/* ---------- Generic page / legal ---------- */
.doc { max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: var(--s6); }
.doc h2 { font-size: 1.55rem; margin-top: 2em; padding-top: var(--s5); border-top: 1px solid var(--line); }
.doc ul { padding-left: 1.1em; }
.doc li { margin-bottom: var(--s2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ai-deep); color: rgba(242, 237, 227, .78); position: relative; }
.site-footer .waves { --a: var(--ai-deep); --b: #22305A; }
.footer-inner { padding-top: clamp(48px, 7vw, 80px); padding-bottom: var(--s6); position: relative; }
.footer-fox { position: absolute; right: clamp(16px, 4vw, 40px); top: -132px; width: 140px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(32px, 4vw, 56px); }
.footer-brand .brand__name { color: var(--washi); }
.footer-brand .brand__tag { color: rgba(242, 237, 227, .6); }
.footer-brand .brand__seal { box-shadow: 0 0 0 3px var(--ai-deep), 0 0 0 4px var(--ai-line); }
.footer-brand p { margin-top: var(--s4); max-width: 40ch; }
.affiliate { display: inline-block; margin-top: var(--s4); background: #FFF; padding: 12px 16px; border-radius: 4px; }
.affiliate img { width: 300px; max-width: 100%; }
.site-footer h3 { font-family: var(--font-display); color: var(--washi); font-size: 1.15rem; margin-bottom: var(--s4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s2); }
.site-footer a { color: rgba(242, 237, 227, .85); text-decoration: none; }
.site-footer a:hover { color: #FFF; text-decoration: underline; }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6);
	margin-top: clamp(40px, 5vw, 64px); padding-top: var(--s5);
	border-top: 1px solid #22305A;
	font-size: .9rem; color: rgba(242, 237, 227, .6);
}
.footer-bottom nav { display: flex; gap: var(--s5); }

/* ---------- 404 ---------- */
.lost { text-align: center; }
.lost .fox-sign { margin: 0 auto var(--s5); }
.lost .lede { margin: 0 auto var(--s6); }
.lost .hero__actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__copy { text-align: left; }
	.hero__art { justify-self: center; max-width: 440px; }
	.single__grid { grid-template-columns: 1fr; }
	.ask { position: relative; top: auto; }
	.form-layout { grid-template-columns: 1fr; }
	.form-aside { position: static; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s4); align-items: center; }
	.form-aside img { width: 120px; margin: 0; }
	.form-index { display: none; }
	.contact-layout { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
	.explore { grid-template-columns: 1fr; }
	.explore .postcard:nth-child(n) { margin-top: 0; }
	.steps { grid-template-columns: 1fr; }
	.cta-strip { grid-template-columns: 1fr; }
	.cta-strip img { max-width: 180px; }
	.ticket { grid-template-columns: 1fr; }
	.ticket__img { border-radius: 6px 6px 0 0; aspect-ratio: 16 / 9; height: auto; min-height: 0; }
	.ticket__body { border-left: 0; border-top: 2px dashed var(--line); padding: var(--s6) var(--s5) var(--s5); }
	.ticket__body::before { top: -14px; left: -13px; }
	.ticket__body::after { top: -14px; bottom: auto; left: auto; right: -13px; }
	.empty { grid-template-columns: 1fr; text-align: center; }
	.empty .fox-sign, .empty > img { margin: 0 auto; max-width: 180px; }
	.field-row { grid-template-columns: 1fr; }
	.notice { grid-template-columns: 64px minmax(0, 1fr); }
	.notice img { width: 64px; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-fox { width: 104px; top: -98px; }
	.hanko { width: 76px; font-size: 1.65rem; }
	.brand__tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
