/* Pescamapa theme — generated by wordpress/build/generar-css.mjs from the
   Astro components. Edit the components or this file's generator, not here. */
@import url('fuentes.css');
/* Pescamapa — tokens and base. Palette from the first prototype (forest /
   cream / lime). Every colour used in components is a token defined here.

   Type: three faces, three jobs — never more.
   - Playfair Display (editorial serif): headlines; its italic carries the
     emphasis ("de mil formas.").
   - Outfit (clean sans): body, buttons, UI.
   - Bebas Neue (condensed caps): the wordmark and small labels — eyebrows,
     pills, numbering — the "signage" of the map. */

:root {
	--ink: #14251f;
	--forest: #11251f;
	--moss: #344a3d;
	--cream: #f4f2e9;
	--paper: #fbfaf6;
	--white: #ffffff;
	--line: #d9ddd2;
	--muted: #5f685e;
	--orange: #ee7a48;
	--lime: #d8e46a;
	--olive: #5e6b33;
	--warn-bg: #fff4d6;
	--warn-line: #e8c56a;
	--on-dark: #cbd3c9;

	--font-head: 'Playfair Display Variable', Georgia, serif;
	--font-body: 'Outfit Variable', system-ui, sans-serif;
	--font-label: 'Bebas Neue', 'Outfit Variable', sans-serif;

	--shell: 1180px;
	--gutter: clamp(16px, 4vw, 34px);
	--radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font: 16px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 0.5em; }
h1 em, h2 em { font-style: italic; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
	display: flex; gap: 10px; align-items: center;
	font: 400 16px/1 var(--font-label); letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--olive);
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--lime); }

.button {
	display: inline-flex; align-items: center; gap: 12px;
	border-radius: 99px; padding: 14px 20px;
	font-weight: 600; font-size: 15px; text-decoration: none;
	transition: transform 0.2s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--lime); color: var(--forest); }
.button.secondary { border: 1px solid rgb(255 255 255 / 0.3); color: var(--white); }
.button.dark { background: var(--forest); color: var(--white); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.chips li, .chips a {
	font-size: 12px; background: var(--cream); padding: 6px 10px; border-radius: 99px; color: var(--moss); text-decoration: none;
}

.note { font-size: 13px; color: var(--muted); }

.visually-hidden {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* .nav */
.nav {
	& { border-bottom: 1px solid var(--line); background: var(--paper); }
	&.oscuro { position: absolute; inset: 0 0 auto; z-index: 4; background: transparent; border-color: rgb(255 255 255 / 0.16); color: var(--white); }
	.inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
	.brand { font: 400 27px/1 var(--font-label); letter-spacing: 0.06em; display: flex; align-items: center; gap: 10px; text-decoration: none; }
	.mark { width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--forest); display: grid; place-items: center; font: 600 17px var(--font-body); }
	.right { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 26px); }
	nav { display: flex; gap: clamp(14px, 3vw, 30px); align-items: center; font-size: 14px; }
	nav a { text-decoration: none; }
	nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
	.cta { padding: 10px 16px; border-radius: 99px; background: var(--lime); color: var(--forest); font-weight: 700; }
	.idiomas { gap: 2px; font: 400 15px/1 var(--font-label); letter-spacing: 0.1em; border: 1px solid currentColor; border-radius: 99px; padding: 3px; opacity: 0.9; }
	.idiomas a { padding: 5px 8px; border-radius: 99px; }
	.idiomas a[aria-current] { background: var(--forest); color: var(--white); }
	.oscuro .idiomas a[aria-current] { background: var(--lime); color: var(--forest); }
	.idiomas a:hover { text-decoration: none; }
	@media (max-width: 760px) { .opt { display: none; } .cta { padding: 8px 12px; font-size: 13px; } }
	@media (max-width: 420px) { .cta { display: none; } }
}

/* footer */
footer {
	& { background: var(--forest); color: var(--on-dark); padding: 56px 0 28px; margin-top: 0; }
	.inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
	.brand { font: 400 30px/1 var(--font-label); letter-spacing: 0.06em; color: var(--white); text-decoration: none; }
	.firma { font-size: 13px; letter-spacing: 0.02em; margin: 18px 0 0; }
	.firma span { color: var(--lime); font: italic 600 18px var(--font-head); }
	nav { display: flex; gap: 20px; flex-wrap: wrap; }
	nav a { text-decoration: none; }
	.legal { font-size: 13px; border-top: 1px solid rgb(255 255 255 / 0.12); padding-top: 18px; margin-top: 24px; }
}

/* .foto */
.foto {
	& { position: relative; margin: 0; overflow: hidden; }
	& img { display: block; width: 100%; height: 100%; object-fit: cover; }
	figcaption {
		position: absolute; right: 0; bottom: 0; max-width: 100%;
		padding: 3px 8px; font-size: 10px; line-height: 1.4;
		color: var(--white); background: rgb(17 37 31 / 0.72);
		border-top-left-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	}
	figcaption a { color: inherit; }
}

/* .mapa-hero */
.mapa-hero {
	& { width: 100%; height: auto; display: block; overflow: visible; }
	.vecinos { fill: rgb(255 255 255 / 0.03); stroke: rgb(255 255 255 / 0.12); stroke-width: 0.8; }
	.pais { fill: rgb(216 228 106 / 0.08); stroke: var(--lime); stroke-width: 1.4; stroke-linejoin: round; }
	.rio { fill: none; stroke: #7fb3b0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
	.punto circle { fill: var(--cream); stroke: var(--forest); stroke-width: 2; }
	.nucleo { fill: var(--orange); stroke: var(--paper); stroke-width: 2.5; }
	.pulso { fill: none; stroke: var(--orange); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulso 2.4s ease-out infinite; }
	.destacado text { fill: var(--white); font: 400 22px var(--font-label); letter-spacing: 0.06em; paint-order: stroke; stroke: var(--forest); stroke-width: 4px; }
	.destacado:hover text, .destacado:focus text { fill: var(--lime); }
	@keyframes pulso { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }
	@media (prefers-reduced-motion: reduce) { .pulso { animation: none; } }
}

/* .curvas */
.curvas {
	& { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
	path { fill: none; stroke: #a8bd92; stroke-width: 1; opacity: 0.28; vector-effect: non-scaling-stroke; }
}

/* .mapa */
.mapa {
	& { height: var(--alto); border-radius: var(--radius); overflow: hidden; background: var(--cream); z-index: 0; }
}

/* .v-inicio */
.v-inicio {
	.hero { background: radial-gradient(ellipse at 75% 40%, #24443a 0%, var(--forest) 60%); color: var(--white); padding: 130px 0 64px; position: relative; overflow: hidden; }
	.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
	.hero h1 { font-size: clamp(46px, 6.4vw, 84px); line-height: 0.98; margin: 22px 0; }
	.hero h1 em { font-style: normal; color: var(--lime); }
	.copy { color: var(--on-dark); font-size: 18px; max-width: 520px; }
	.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
	.stats { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; padding: 0; margin: 48px 0 0; color: var(--on-dark); font-size: 13px; }
	.stats li { border-left: 1px solid rgb(255 255 255 / 0.2); padding-left: 13px; }
	.stats strong { display: block; color: var(--white); font: 600 16px var(--font-body); }
	.hero-map { position: relative; max-width: 440px; justify-self: center; width: 100%; }
	.tag { position: absolute; background: var(--paper); color: var(--ink); border-radius: 12px; padding: 12px 15px; box-shadow: 0 14px 34px rgb(5 15 12 / 0.45); font-size: 13px; text-decoration: none; line-height: 1.4; }
	.tag strong { display: block; font: italic 600 17px var(--font-head); }
	.tag-top { right: -6%; top: 9%; }
	.tag-bottom { left: -8%; bottom: 14%; transition: transform 0.2s; }
	.tag-bottom:hover { transform: translateY(-3px); }
	.map-note { position: absolute; right: 0; bottom: 0; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 0.45); }
	@media (max-width: 900px) {
		.hero { padding-top: 110px; }
		.hero-grid { grid-template-columns: 1fr; }
		.hero-map { max-width: 360px; }
		.tag-top { right: 0; }
		.tag-bottom { left: 0; }
	}

	.strip { background: var(--lime); color: var(--forest); padding: 15px 0 13px; font: 400 18px/1 var(--font-label); letter-spacing: 0.08em; }
	.strip-inner { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }

	.section { padding: clamp(56px, 9vw, 94px) 0; }
	.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
	.head h2 { font-size: clamp(32px, 4vw, 48px); margin: 12px 0 0; }
	.head p { max-width: 400px; color: var(--muted); margin: 0; }

	.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 17px; margin-bottom: 20px; }
	.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
	.card.live { transition: transform 0.22s, box-shadow 0.22s; border-color: var(--forest); }
	.card.live:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgb(23 37 28 / 0.08); }
	.card.soon .body, .card.soon .foot { opacity: 0.8; }
	.img { height: 170px; position: relative; background: var(--moss); }
	.img.river, .img.litoral { background: linear-gradient(170deg, transparent 48%, #8aa49a 49%, #2d5146 100%), linear-gradient(130deg, #6e7d5e 0 34%, #283d31 35% 54%, #a9a783 55% 66%, #314538 67%); }
	.img.patagonia { background: linear-gradient(180deg, #aabbb1 0 37%, #658277 38% 50%, #56716c 51% 64%, #263d34 65%); }
	.img.pampa { background: linear-gradient(180deg, #abb9ad 0 45%, #607d6d 46% 58%, #8b9d82 59% 64%, #c2b68a 65%); }
	.img.costa { background: linear-gradient(178deg, #a7b9b4 0 42%, #718e8c 43% 62%, #d5c9a9 63% 69%, #405649 70%); }
	.img .cover { position: absolute; inset: 0; }
	.card.soon .img img { filter: saturate(0.75); }
	.pill { z-index: 1; position: absolute; left: 14px; top: 14px; background: var(--paper); padding: 6px 11px 4px; border-radius: 99px; font: 400 14px/1 var(--font-label); letter-spacing: 0.08em; }
	.body { padding: 18px 19px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
	.body h3 { font-size: 22px; margin: 4px 0 6px; }
	.body p { font-size: 14px; color: var(--muted); }
	.body .chips { margin-top: auto; }
	.loc { font: 400 15px/1 var(--font-label); letter-spacing: 0.1em; color: var(--muted); }
	.foot { border-top: 1px solid var(--line); padding: 12px 19px; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
	.arrow { color: var(--forest); font-weight: 700; }

	.map-section { background: var(--cream); }
	.map-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 54px); align-items: center; }
	.map-grid h2 { font-size: clamp(34px, 4vw, 52px); margin: 14px 0 18px; }
	.map-grid p { color: var(--muted); max-width: 440px; }
	@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; } }

	.purpose { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 17px; }
	.purpose article { border-top: 2px solid var(--forest); padding-top: 18px; }
	.num { font: 400 17px var(--font-label); color: var(--olive); letter-spacing: 0.1em; margin-bottom: 10px; }
	.purpose p { color: var(--muted); }

	.join { background: var(--lime); }
	.join h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 12px; }
	.join-inner { max-width: 760px; }
}

/* .v-destino */
.v-destino {
	.top { background: var(--forest); color: var(--white); padding: 40px 0 44px; }
	.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 24px; font-size: 13px; color: var(--on-dark); }
	.migas li + li::before { content: '›'; margin-right: 6px; }
	.top h1 { font-size: clamp(30px, 4.6vw, 52px); max-width: 900px; }
	.bajada { font-size: 18px; color: var(--on-dark); max-width: 720px; }
	.confianza { font-size: 13px; color: var(--on-dark); margin: 0; }
	.confianza strong { color: var(--lime); }

	.resumen dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; margin: -22px 0 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
	.resumen dl > div { padding: 18px 20px; border-right: 1px solid var(--line); }
	.resumen dt { font: 400 16px/1 var(--font-label); letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
	.resumen dd { margin: 0; font-size: 15px; }

	.layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; padding-block: 48px 80px; align-items: start; }
	.aside { position: sticky; top: 20px; }
	.aside .portada { aspect-ratio: 4 / 3; border-radius: var(--radius); margin-bottom: 16px; }
	@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .aside { position: static; order: -1; } }

	.prose { max-width: 720px; }
	.prose h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 1.6em; }
	.prose blockquote { margin: 1em 0; padding: 12px 16px; background: var(--warn-bg); border-left: 3px solid var(--warn-line); border-radius: 6px; font-size: 14px; }
	.prose blockquote p { margin: 0; }
	table { width: 100%; border-collapse: collapse; font-size: 15px; }
	th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
	th { font: 400 15px/1 var(--font-label); letter-spacing: 0.1em; color: var(--muted); }
	.regla { background: var(--cream); border-radius: var(--radius); padding: 18px 20px; }
	details { border-bottom: 1px solid var(--line); padding: 12px 0; }
	summary { cursor: pointer; font-weight: 700; }
	details p { margin: 10px 0 0; }
	.fuentes { padding-left: 18px; font-size: 14px; }
	.fuentes li { margin-bottom: 6px; }
	.ofi { font-size: 11px; background: var(--lime); border-radius: 99px; padding: 2px 8px; margin-left: 6px; font-weight: 700; }
	.aguas { list-style: none; padding: 0; margin: 16px 0 0; font-size: 14px; }
	.aguas li { border-top: 1px solid var(--line); padding: 10px 0; display: grid; gap: 2px; }
	.aguas span { color: var(--muted); }
}

/* .v-especie */
.v-especie {
	.top { background: var(--forest); color: var(--white); padding: 48px 0; }
	.top .eyebrow { color: var(--lime); }
	h1 { font-size: clamp(34px, 5vw, 56px); margin-top: 14px; }
	h1 small { font-size: 0.4em; font-weight: 500; color: var(--on-dark); letter-spacing: 0; }
	.top p { color: var(--on-dark); max-width: 640px; font-size: 18px; }
	.body { padding-block: 40px 80px; max-width: 820px; }
	.prose blockquote { margin: 1em 0; padding: 12px 16px; background: var(--warn-bg); border-left: 3px solid var(--warn-line); border-radius: 6px; font-size: 14px; }
	.prose blockquote p { margin: 0; }
	h2 { margin-top: 1.4em; }
}

/* .v-mapa */
.v-mapa {
	.wrap { padding-block: 32px 72px; }
	h1 { font-size: clamp(30px, 4vw, 44px); }
	.lista { columns: 2 260px; padding-left: 18px; }
}

/* .v-creditos */
.v-creditos {
	.wrap { padding-block: 40px 80px; max-width: 860px; }
	li { margin-bottom: 10px; }
}

/* .v-404 */
.v-404 {}

/* Base layout: draft banner, post content blocks */
.borrador { background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); font-size: 14px; padding: 10px 0; position: relative; z-index: 10; }
.prose .wp-block-quote, .prose blockquote { margin: 1em 0; padding: 12px 16px; background: var(--warn-bg); border-left: 3px solid var(--warn-line); border-radius: 6px; font-size: 14px; }
.prose .wp-block-quote p, .prose blockquote p { margin: 0; }
