/* =============================================================
   La Sonrisa de Gardel — estilos del theme
   Tokens de diseño extraídos del mural en trencadís (ver brief §2).
   Mobile-first · contraste alto · motion con mesura.
   ============================================================= */

:root {
	/* Paleta */
	--hueso: #F5F0E6;
	--hueso-alt: #EFE6D4;
	--tinta: #15191F;
	--ocre: #C8791E;
	--ocre-claro: #E3A24A;
	--rojo: #A62B25;
	--teal: #2E7D6B;
	--celeste: #6C97B8;
	--linea: #DCD1BB;

	/* Tipografías */
	--f-script: 'Milonga', cursive;
	--f-serif: 'Fraunces', Georgia, serif;
	--f-sans: 'Inter', system-ui, -apple-system, sans-serif;

	/* Ritmo */
	--radius: 16px; /* = border-radius de cards/medios en el bosquejo aprobado */
	--section-pad: clamp(3.5rem, 8vw, 6.5rem);
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-h: 72px;

	--shadow-card: 0 6px 24px rgba(21, 25, 31, .08);
	--shadow-card-hover: 0 14px 36px rgba(21, 25, 31, .16);
	--ease: cubic-bezier(.22, .8, .36, 1);
}

/* ------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
	margin: 0;
	font-family: var(--f-sans);
	font-size: 17px; /* mockup: body 17px (16px en <560px) */
	line-height: 1.65;
	color: var(--tinta);
	background: var(--hueso);
	-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
/* El atributo `hidden` SIEMPRE gana: cualquier overlay/visor con display
   propio (grid/flex) nace y permanece cerrado hasta que el JS lo abre. */
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--tinta);
	color: var(--hueso);
	padding: .6rem 1rem;
	border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
	outline: 3px solid var(--ocre);
	outline-offset: 2px;
	border-radius: 4px;
}

/* --------------------------------------------------------- Tipografía */
.h2 {
	font-family: var(--f-serif);
	font-weight: 500;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.08;
	margin: .35rem 0 0;
	letter-spacing: -.01em;
}
.h2--light { color: var(--hueso); }

.eyebrow {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--rojo);
	margin: .8rem 0 0;
}
.eyebrow--light { color: var(--ocre-claro); }

/* ------------------------------------------------------------ Botones */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .72rem 1.35rem;
	border-radius: 999px;
	border: 2px solid transparent;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: .9rem 1.8rem; font-size: 16px; }
.btn--solid {
	background: var(--rojo);
	color: #fff;
	box-shadow: 0 4px 14px rgba(166, 43, 37, .3);
}
.btn--solid:hover { background: #8f2420; box-shadow: 0 8px 22px rgba(166, 43, 37, .38); }
.btn--outline {
	border-color: var(--tinta);
	color: var(--tinta);
	background: transparent;
}
.btn--outline:hover { background: var(--tinta); color: var(--hueso); }
.btn--ghost {
	border-color: rgba(255, 255, 255, .7);
	color: #fff;
	background: rgba(21, 25, 31, .25);
	backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--glass {
	background: rgba(255, 255, 255, .92);
	color: var(--tinta);
	border-color: var(--tinta);
	box-shadow: var(--shadow-card);
}

/* ------------------------------------------------------------- Header */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	transition: background .3s var(--ease), box-shadow .3s var(--ease);
	background: linear-gradient(rgba(21, 25, 31, .55), transparent);
}
.site-header.is-solid {
	background: rgba(245, 240, 230, .96);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 18px rgba(21, 25, 31, .1);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 1240px;
	margin: 0 auto;
	padding: .5rem var(--gutter);
	min-height: var(--header-h);
}
.brand {
	display: flex;
	align-items: center;
	gap: .65rem;
	text-decoration: none;
	color: #fff;
	margin-right: auto;
}
.site-header.is-solid .brand { color: var(--tinta); }
.brand__img {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: contain;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
	transition: transform .3s var(--ease);
}
.brand:hover .brand__img { transform: rotate(-6deg) scale(1.05); }
.brand__name {
	font-family: var(--f-script);
	font-size: 24px; /* mockup */
	letter-spacing: .01em;
	white-space: nowrap;
}

.nav__list {
	display: flex;
	gap: .25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav__link {
	display: inline-block;
	padding: .5rem .8rem;
	border-radius: 8px;
	font-size: .92rem;
	font-weight: 500;
	text-decoration: none;
	color: rgba(255, 255, 255, .92);
	transition: background .2s, color .2s;
}
.site-header.is-solid .nav__link { color: var(--tinta); }
.nav__link:hover { background: rgba(200, 121, 30, .18); color: var(--ocre); }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: .7rem;
}
/* Selector de idioma: píldora del bosquejo (borde + fondo crema, activo tinta) */
.lang {
	display: flex;
	border: 1px solid var(--linea);
	border-radius: 999px;
	overflow: hidden;
	background: #fff9ef;
}
.lang__item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 11px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .05em;
	text-decoration: none;
	color: #8a8172;
	transition: background .2s, color .2s;
}
/* Banderitas de Polylang (AR/US/BR) en el selector. */
.lang__flag {
	display: block;
	width: 16px;
	height: 11px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(21, 25, 31, .12);
}
.lang__item:hover { color: var(--tinta); background: rgba(200, 121, 30, .14); }
.lang__item.is-active {
	background: var(--tinta);
	color: var(--hueso);
}
.btn--header { padding: .55rem 1.15rem; font-size: .88rem; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: .5rem;
}
.nav-toggle__bar {
	width: 24px;
	height: 2.5px;
	border-radius: 2px;
	background: #fff;
	transition: transform .25s var(--ease), opacity .2s;
}
.site-header.is-solid .nav-toggle__bar { background: var(--tinta); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
	.brand__name { display: none; }
	.nav-toggle { display: flex; }
	.nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		background: rgba(245, 240, 230, .98);
		backdrop-filter: blur(10px);
		box-shadow: 0 14px 30px rgba(21, 25, 31, .18);
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: transform .25s var(--ease), opacity .25s, visibility .25s;
	}
	.nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; padding: 1rem var(--gutter) 1.4rem; gap: .2rem; }
	.nav__link { color: var(--tinta); font-size: 1.05rem; padding: .7rem .8rem; }
}
@media (max-width: 520px) {
	.lang__item { padding: 5px 8px; }
	.btn--header { padding: .5rem .85rem; }
}

/* --------------------------------------------------------------- Hero */
.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	place-items: center;
	overflow: hidden;
	color: #fff;
	text-align: center;
}
.hero__media {
	position: absolute;
	inset: -8% 0;
	z-index: 0;
	will-change: transform;
}
.hero__media img,
.hero__media picture,
.hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__media picture img { animation: sg-kenburns 26s var(--ease) infinite alternate; }
@keyframes sg-kenburns {
	from { transform: scale(1); }
	to   { transform: scale(1.09) translateY(-1.5%); }
}
.hero__veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(21, 25, 31, .45) 0%, rgba(21, 25, 31, .25) 40%, rgba(21, 25, 31, .62) 100%);
}
.hero__content {
	position: relative;
	z-index: 2;
	max-width: 820px;
	padding: calc(var(--header-h) + 2rem) var(--gutter) 4.5rem;
}
.hero__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
	margin: 0 0 1.3rem;
}
.chip {
	display: inline-block;
	padding: .35rem .85rem;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .05em;
	background: var(--ocre);
	color: #fff;
}
.chip--ghost {
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .45);
	backdrop-filter: blur(4px);
}
.hero__title { margin: 0; }
/* Jerarquía (pedido del cliente 23/09 y 30/09/2026): «Mi Buenos Aires querido»
   es la línea protagonista. Antes iba en ocre, más chica que el titular, y se
   perdía contra el mosaico del fondo; ahora va en blanco cálido, más grande y
   con sombra doble, y el titular serif pasa a acompañar. */
.hero__script {
	display: block;
	font-family: var(--f-script);
	font-weight: 400;
	font-size: clamp(38px, 6.4vw, 80px);
	line-height: 1.1;
	color: #FFF8EA;
	text-shadow: 0 2px 4px rgba(0, 0, 0, .55), 0 6px 28px rgba(0, 0, 0, .6);
	margin-bottom: .45rem;
	text-wrap: balance;
}
.hero__headline {
	display: block;
	font-family: var(--f-serif);
	font-weight: 500;
	font-size: clamp(20px, 3.1vw, 36px);
	line-height: 1.2;
	color: rgba(255, 255, 255, .94);
	text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}
.hero__sub {
	max-width: 560px;
	margin: 1.2rem auto 1.8rem;
	font-size: clamp(16px, 1.6vw, 20px);
	color: rgba(255, 255, 255, .92);
	text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .8rem;
}
.hero__scroll {
	position: absolute;
	bottom: 1.4rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	width: 26px;
	height: 42px;
	border: 2px solid rgba(255, 255, 255, .7);
	border-radius: 14px;
}
.hero__scroll span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: #fff;
	animation: sg-scrollhint 1.8s ease-in-out infinite;
}
@keyframes sg-scrollhint {
	0%, 100% { transform: translateY(0); opacity: 1; }
	60%      { transform: translateY(12px); opacity: 0; }
}

/* ----------------------------------------------------------- Secciones */
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--hueso-alt); }
.section--dark {
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(108, 151, 184, .12), transparent),
		radial-gradient(900px 420px at 0% 110%, rgba(200, 121, 30, .12), transparent),
		#191d24;
	color: rgba(245, 240, 230, .92);
}
.section__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.section__head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto clamp(2rem, 5vw, 3.4rem);
}
.section__cta { text-align: center; margin: clamp(1.8rem, 4vw, 2.6rem) 0 0; }
.section__cta--left { text-align: left; }

/* Firulete fileteado: se dibuja al aparecer */
.flourish {
	width: 150px;
	height: auto;
	color: var(--ocre);
	display: inline-block;
}
.flourish--light { color: var(--ocre-claro); }
.flourish path {
	stroke-dasharray: 320;
	stroke-dashoffset: 320;
}
.flourish circle { opacity: 0; transition: opacity .4s .9s; }
.flourish.is-visible path {
	animation: sg-draw 1.4s var(--ease) forwards;
}
.flourish.is-visible path:nth-of-type(2) { animation-delay: .35s; }
.flourish.is-visible circle { opacity: 1; }
@keyframes sg-draw { to { stroke-dashoffset: 0; } }

/* Banda de mosaico: las teselas «arman» el divisor */
.mosaic-band {
	line-height: 0;
	background: var(--hueso);
	overflow: hidden;
}
.mosaic-band svg { width: 100%; height: 22px; display: block; }
.mosaic-band .tessera {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mosaic-band.is-visible .tessera {
	opacity: 1;
	transform: none;
}
/* Escalonado de teselas (agrupado en 12 tiempos) */
.mosaic-band.is-visible .tessera:nth-child(12n+1) { transition-delay: 0s; }
.mosaic-band.is-visible .tessera:nth-child(12n+2) { transition-delay: .05s; }
.mosaic-band.is-visible .tessera:nth-child(12n+3) { transition-delay: .1s; }
.mosaic-band.is-visible .tessera:nth-child(12n+4) { transition-delay: .15s; }
.mosaic-band.is-visible .tessera:nth-child(12n+5) { transition-delay: .2s; }
.mosaic-band.is-visible .tessera:nth-child(12n+6) { transition-delay: .25s; }
.mosaic-band.is-visible .tessera:nth-child(12n+7) { transition-delay: .3s; }
.mosaic-band.is-visible .tessera:nth-child(12n+8) { transition-delay: .35s; }
.mosaic-band.is-visible .tessera:nth-child(12n+9) { transition-delay: .4s; }
.mosaic-band.is-visible .tessera:nth-child(12n+10) { transition-delay: .45s; }
.mosaic-band.is-visible .tessera:nth-child(12n+11) { transition-delay: .5s; }
.mosaic-band.is-visible .tessera:nth-child(12n) { transition-delay: .55s; }
.mosaic-band--footer { background: transparent; }

/* Scroll-reveal */
[data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal].is-visible:nth-child(2) { transition-delay: .08s; }
[data-reveal].is-visible:nth-child(3) { transition-delay: .16s; }
[data-reveal].is-visible:nth-child(4) { transition-delay: .24s; }

/* ---------------------------------------------------------------- Cards */
.cards {
	display: grid;
	gap: 26px; /* mockup: 3 columnas iguales, gap 26px */
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
}
@media (max-width: 900px) {
	.cards { grid-template-columns: 1fr; }
}
.card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--linea);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover);
}
.card--featured { outline: 2px solid var(--ocre); outline-offset: -2px; }
.card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.tag {
	position: absolute;
	top: .8rem;
	left: .8rem;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	background: var(--ocre);
	color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.tag--rojo { background: var(--rojo); }
.tag--teal { background: var(--teal); }
.card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.2rem 1.3rem 1.3rem;
}
.card__title {
	font-family: var(--f-serif);
	font-size: 22px; /* mockup */
	font-weight: 500;
	margin: 0 0 .5rem;
	line-height: 1.25;
}
.card__body p { margin: 0 0 1rem; font-size: 15.5px; }
.card__more {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	background: none;
	font-weight: 600;
	font-size: 15px;
	color: var(--rojo);
}
.card__more::before {
	content: "";
	width: 0;
	height: 0;
	border-left: 8px solid currentColor;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
}
.card__more:hover { text-decoration: underline; }
.card__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	flex-wrap: wrap;
	padding-top: 6px;
	border-top: 1px dashed var(--linea);
}
.card__price {
	font-family: var(--f-serif);
	font-style: italic;
	font-weight: 400;
	font-size: 15px;
	color: #7a7060;
}

/* ---------------------------------------------------------------- Pasos */
.steps {
	display: grid;
	gap: 1.4rem;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: paso;
}
.step {
	position: relative;
	background: #fff;
	border: 1px solid var(--linea);
	border-radius: var(--radius);
	padding: 1.6rem 1.4rem 1.4rem;
	text-align: center;
	box-shadow: var(--shadow-card);
}
.step__num {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ocre);
	color: #fff;
	font-weight: 700;
	font-size: .95rem;
	box-shadow: 0 3px 10px rgba(200, 121, 30, .4);
}
.step__icon {
	width: 46px;
	height: 46px;
	margin: .4rem auto .6rem;
	color: var(--teal);
}
.step__title {
	font-family: var(--f-serif);
	font-weight: 500;
	font-size: 21px; /* mockup */
	margin: 0 0 .4rem;
}
.step p { margin: 0; font-size: 15.5px; }

/* ------------------------------------------------ La Casa / El Mural */
.mural {
	display: grid;
	gap: clamp(1.6rem, 4vw, 3rem);
	align-items: center;
	margin-bottom: clamp(2.4rem, 6vw, 4rem);
}
@media (min-width: 880px) {
	.mural { grid-template-columns: 1fr 1.1fr; }
	.mural--reverse .mural__media { order: 2; }
}
.mural__media {
	position: relative;
	border-radius: var(--radius);
	overflow: visible;
}
.mural__media > img {
	border-radius: var(--radius);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
.medallion {
	display: inline-block;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid var(--ocre);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .4);
	background: #fff;
}
.medallion img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.medallion--float {
	position: absolute;
	right: -14px;
	bottom: -26px;
}
.medallion--lg {
	width: clamp(180px, 40vw, 230px);
	height: clamp(180px, 40vw, 230px);
	border-width: 5px;
	box-shadow: 0 12px 30px rgba(21, 25, 31, .22);
}
.mural__story p { margin: 0 0 .9rem; }
.mural__lead {
	font-family: var(--f-serif);
	font-size: 1.25rem;
	line-height: 1.45;
	color: var(--hueso);
}
.mural__exclaim {
	font-family: var(--f-script);
	font-size: 1.6rem;
	color: var(--ocre-claro);
	margin: 1.1rem 0 !important;
}
.mural__firma {
	font-style: italic;
	color: rgba(245, 240, 230, .75);
}

.frase {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	margin: 0 0 clamp(2.4rem, 6vw, 4rem);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
.frase img { width: 100%; object-fit: cover; max-height: 420px; }
.frase figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 2.2rem 1.4rem 1rem;
	background: linear-gradient(transparent, rgba(21, 25, 31, .88));
	text-align: center;
}
/* Solo el crédito: la frase ya se lee en la foto del fileteado (antes se
   repetía debajo, en ocre). */
.frase__credit {
	display: block;
	font-size: .9rem;
	color: rgba(245, 240, 230, .88);
}

.cert {
	display: grid;
	gap: clamp(1.4rem, 4vw, 2.6rem);
	align-items: center;
	background: rgba(245, 240, 230, .05);
	border: 1px solid rgba(245, 240, 230, .14);
	border-radius: var(--radius);
	padding: clamp(1.4rem, 4vw, 2.4rem);
}
@media (min-width: 760px) {
	.cert { grid-template-columns: minmax(220px, 320px) 1fr; }
}
.cert__frame {
	justify-self: center;
	width: 100%;
	background: var(--hueso);
	padding: 12px;
	border: 6px solid var(--ocre);
	border-radius: 6px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
	transition: transform .3s var(--ease);
}
.cert:hover .cert__frame { transform: scale(1.01); }
/* El certificado abre en el visor (mismo lightbox de la Galería). */
.cert__zoom {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}
.cert__zoom img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}
.cert__title {
	font-family: var(--f-serif);
	font-size: 1.5rem;
	color: var(--hueso);
	margin: 0 0 .6rem;
}
.cert__body p { margin: 0 0 1.1rem; }

.factlist {
	display: grid;
	gap: .55rem;
	margin: 1.2rem 0 0;
}
.factlist div {
	display: flex;
	gap: .6rem;
	align-items: baseline;
	border-bottom: 1px dashed var(--linea);
	padding-bottom: .55rem;
}
.section--dark .factlist div { border-color: rgba(245, 240, 230, .2); }
.factlist dt {
	font-weight: 700;
	font-size: .82rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--ocre);
	min-width: 110px;
}
.factlist--light dt { color: var(--ocre-claro); }
.factlist dd { margin: 0; }
.factlist a { color: var(--celeste); }

/* -------------------------------------------------------- Protagonistas */
.people {
	display: grid;
	gap: clamp(2rem, 5vw, 3.5rem);
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.person { text-align: center; max-width: 480px; margin: 0 auto; }
.person__name {
	font-family: var(--f-serif);
	font-weight: 500;
	font-size: 26px; /* mockup */
	margin: 1.1rem 0 .15rem;
}
.person__role {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rojo);
	margin: 0 0 .9rem;
}
.person p { text-align: left; margin: 0 0 .8rem; font-size: .96rem; }
.person p:first-of-type { text-align: center; }

/* ----------------------------------------------------------------- Split */
.split {
	display: grid;
	gap: clamp(1.8rem, 4vw, 3rem);
	align-items: center;
}
@media (min-width: 880px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--reverse .split__media { order: 2; }
}
.split__media img {
	border-radius: var(--radius);
	box-shadow: var(--shadow-card-hover);
	width: 100%;
	object-fit: cover;
	max-height: 560px;
}
.split__media--map {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
	min-height: 320px;
}
.split__media--map iframe {
	width: 100%;
	height: 100%;
	min-height: 380px;
	border: 0;
	display: block;
	filter: saturate(.9);
}
.split__body .h2 { margin-bottom: .8rem; }
.split__foot {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1.4rem;
}

/* ------------------------------------------------------ Galería (cover) */
/* Formato vertical 4:5 (1080×1350), el mismo en que vienen las fotos de
   Instagram/celular: recorta mucho menos que el 4:3 apaisado que había antes.
   Las celdas chicas fijan su proporción y con eso definen el alto de fila; la
   grande ocupa 2×2, así que le queda la misma proporción. */
.gallery-cover {
	position: relative;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: auto;
	border-radius: var(--radius);
	overflow: hidden;
}
.gallery-cover__item {
	position: relative;
	padding: 0;
	border: 0;
	background: var(--hueso-alt);
	overflow: hidden;
	cursor: zoom-in;
	aspect-ratio: 4 / 5;
}
.gallery-cover__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* El punto focal por foto llega inline (meta _sg_focus); centro por defecto. */
	object-position: 50% 50%;
	transition: transform .5s var(--ease), filter .3s;
}
.gallery-cover__item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gallery-cover__item--main {
	grid-column: span 2;
	grid-row: span 2;
	aspect-ratio: auto; /* la marcan las dos filas que abarca */
}
@media (max-width: 640px) {
	.gallery-cover { grid-template-columns: repeat(2, 1fr); }
	/* En mobile la grande ocupa el ancho completo en UNA fila: si siguiera
	   abarcando dos filas se quedaría sin celdas hermanas que las dimensionen
	   (las piezas 4 y 5 están ocultas) y colapsaría a alto cero. */
	.gallery-cover__item--main {
		grid-column: span 2;
		grid-row: span 1;
		aspect-ratio: 4 / 5;
	}
	.gallery-cover__item:nth-child(4),
	.gallery-cover__item:nth-child(5) { display: none; }
}
.gallery-cover__all {
	position: absolute;
	right: 14px;
	bottom: 14px;
	font-size: .85rem;
	padding: .55rem 1rem;
}

.play-badge {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(21, 25, 31, .25);
	pointer-events: none;
}
.play-badge::before {
	content: "";
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23A62B25'><path d='M8 5.5v13l11-6.5z'/></svg>") center / 22px no-repeat;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
	transition: transform .25s var(--ease);
}
.gallery-cover__item:hover .play-badge::before,
.gallery-item:hover .play-badge::before { transform: scale(1.1); }

/* --------------------------------------------------- Galería (overlay) */
.gallery-overlay {
	position: fixed;
	inset: 0;
	z-index: 150;
	background: var(--hueso);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.gallery-overlay[hidden] { display: none !important; }
.gallery-overlay__bar {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding: .8rem var(--gutter);
	background: rgba(245, 240, 230, .96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--linea);
}
.gallery-overlay__close {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	border: 0;
	background: none;
	font-weight: 600;
	font-size: .95rem;
	padding: .5rem .6rem;
	border-radius: 8px;
}
.gallery-overlay__close:hover { background: var(--hueso-alt); }
.gallery-overlay__filters {
	display: flex;
	gap: .4rem;
	flex-wrap: wrap;
}
.filter-chip {
	padding: .42rem .95rem;
	border-radius: 999px;
	border: 1.5px solid var(--linea);
	background: #fff;
	font-size: .85rem;
	font-weight: 600;
	transition: background .2s, color .2s, border-color .2s;
}
.filter-chip:hover { border-color: var(--ocre); }
.filter-chip.is-active {
	background: var(--tinta);
	border-color: var(--tinta);
	color: var(--hueso);
}
.gallery-overlay__grid {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.4rem var(--gutter) 4rem;
	columns: 3 260px;
	column-gap: 12px;
}
.gallery-item {
	position: relative;
	display: block;
	width: 100%;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	overflow: hidden;
	background: var(--hueso-alt);
	cursor: zoom-in;
	break-inside: avoid;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gallery-item:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-card-hover);
}
/* El visor «Ver todas las fotos y videos» NO recorta: la grilla es de tipo
   mosaico (columns), cada foto entra con su proporción real y el archivo que
   se sirve es el tamaño sin recortar (sg-gallery-soft). Acá no hay que pelear
   por espacio como en la portada, así que se ve la composición completa. */
.gallery-item img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}
.gallery-item.is-hidden { display: none; }

/* -------------------------------------------------------------- Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 160;
	display: grid;
	grid-template-rows: 1fr auto;
	align-items: center;
}
.lightbox[hidden] { display: none !important; }
.lightbox__scrim {
	position: absolute;
	inset: 0;
	background: rgba(13, 15, 19, .96);
}
.lightbox__stage {
	position: relative;
	z-index: 1;
	display: grid;
	/* La fila tiene que ser DEFINIDA (minmax(0,1fr)) y no auto: con una fila
	   auto, el `max-height: 100%` de la imagen no tiene contra qué resolver y
	   el navegador lo ignora. Sin esto, una foto vertical (4:5, 3:4) se salía
	   del visor por arriba y por abajo y se veía cortada. */
	grid-template-rows: minmax(0, 1fr);
	grid-template-columns: minmax(0, 1fr);
	place-items: center;
	width: 100%;
	height: calc(100svh - 74px);
	padding: 3.4rem 4.4rem 0;
	touch-action: pan-y;
}
.lightbox__stage img,
.lightbox__stage video {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
	animation: sg-lightbox-in .35s var(--ease);
}
@keyframes sg-lightbox-in {
	from { opacity: 0; transform: scale(.97); }
	to   { opacity: 1; transform: none; }
}
/* Visor «compacto»: solo para instancias que a pantalla completa quedan
   demasiado grandes (el certificado de Sitio de Interés Cultural). La mitad
   del tamaño del visor normal. NO afecta a la Galería, que usa el visor base. */
.lightbox--compact .lightbox__stage img {
	max-width: 50%;
	max-height: 50%;
}
@media (max-width: 640px) {
	/* En mobile el ancho ya es el límite real: bajar al 50% lo dejaría ilegible. */
	.lightbox--compact .lightbox__stage img { max-width: 90%; max-height: 60%; }
}
.lightbox__close,
.lightbox__nav {
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	transition: background .2s, transform .2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .26); }
.lightbox__close {
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	font-size: 1.7rem;
	line-height: 1;
}
.lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	font-size: 2.1rem;
	line-height: 1;
}
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__caption {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 1rem var(--gutter) 1.3rem;
	text-align: center;
	color: rgba(245, 240, 230, .9);
	font-size: .92rem;
}
.lightbox__counter {
	display: inline-block;
	margin-left: .6rem;
	font-variant-numeric: tabular-nums;
	color: rgba(245, 240, 230, .6);
}
@media (max-width: 640px) {
	.lightbox__stage { padding: 3.2rem .6rem 0; }
	.lightbox__nav { display: none; } /* en mobile se navega con swipe */
}
/* Modo «un solo video» (Ver más de las cards): sin flechas ni contador */
.lightbox--single .lightbox__nav,
.lightbox--single .lightbox__counter { display: none; }

/* ----------------------------------------------------------- Testimonios */
.quotes {
	display: grid;
	gap: 1.4rem;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.quote {
	position: relative;
	margin: 0;
	background: #fff;
	border: 1px solid var(--linea);
	border-radius: var(--radius);
	padding: 2.4rem 1.5rem 1.4rem;
	box-shadow: var(--shadow-card);
}
.quote::before {
	content: "\201C";
	position: absolute;
	top: .4rem;
	left: 1.1rem;
	font-family: var(--f-serif);
	font-size: 3.2rem;
	line-height: 1;
	color: var(--ocre);
}
.quote p {
	margin: 0 0 .9rem;
	font-family: var(--f-serif);
	font-style: italic;
	font-size: 18px; /* mockup */
}
.quote footer {
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--teal);
}

/* ---------------------------------------------------------------- Footer */
.site-footer {
	background: #12151b;
	color: rgba(245, 240, 230, .85);
}
.site-footer__inner {
	display: grid;
	gap: 2.2rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(2.4rem, 6vw, 3.6rem) var(--gutter) 1.6rem;
}
.site-footer__logo {
	width: 84px;
	height: 84px;
	border-radius: 50%;
}
.site-footer__tagline {
	font-family: var(--f-serif);
	font-style: italic;
	margin: .9rem 0 0;
	max-width: 260px;
}
.site-footer__title {
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ocre-claro);
	margin: 0 0 .8rem;
}
.site-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .45rem;
}
.site-footer__col a {
	color: rgba(245, 240, 230, .85);
	text-decoration: none;
}
.site-footer__col a:hover { color: var(--ocre-claro); text-decoration: underline; }
.site-footer__muted { color: rgba(245, 240, 230, .45); }
.site-footer__social {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}
.site-footer__social .social-icon { flex: 0 0 auto; opacity: .85; }
.site-footer__credit a {
	color: inherit;
	text-decoration: none;
}
.site-footer__credit a:hover { color: var(--ocre-claro); text-decoration: underline; }
.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	justify-content: space-between;
	max-width: 1180px;
	margin: 0 auto;
	padding: 1.1rem var(--gutter) 1.6rem;
	border-top: 1px solid rgba(245, 240, 230, .12);
	font-size: .82rem;
	color: rgba(245, 240, 230, .55);
}
.site-footer__base p { margin: 0; }

/* --------------------------------------------------------- Modal reservas */
.booking-modal {
	position: fixed;
	inset: 0;
	z-index: 170;
	display: grid;
	place-items: center;
	padding: 1rem;
	/* Cerrado por defecto. Se oculta con visibility/opacity (no display:none):
	   el form de Amelia necesita un contenedor con layout para inicializarse
	   bien al cargar la página; display:none lo deja sin servicios. */
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.booking-modal.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transition: opacity .25s var(--ease);
}
.booking-modal[hidden] { display: none !important; }
.booking-modal__scrim {
	position: absolute;
	inset: 0;
	background: rgba(13, 15, 19, .7);
	backdrop-filter: blur(3px);
}
.booking-modal__panel {
	position: relative;
	width: min(760px, 100%);
	max-height: min(88svh, 900px);
	overflow-y: auto;
	background: var(--hueso);
	border-radius: var(--radius);
	padding: clamp(1.4rem, 4vw, 2.2rem);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.booking-modal.is-open .booking-modal__panel {
	animation: sg-lightbox-in .3s var(--ease);
}
.booking-modal__close {
	position: absolute;
	top: .7rem;
	right: .7rem;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--hueso-alt);
	font-size: 1.5rem;
	line-height: 1;
}
.booking-modal__close:hover { background: var(--linea); }
.booking-modal__title {
	font-family: var(--f-serif);
	font-size: 1.5rem;
	margin: 0 0 1rem;
}

/* Amelia: acompañar la paleta del theme */
.booking-modal .amelia-v2-booking,
.booking-modal #amelia-app-booking {
	--amelia-primary-color: #A62B25;
	font-family: var(--f-sans) !important;
}
/* Amelia le pone 100px de margen arriba y abajo a su formulario (pensado para
   una página propia). Dentro del modal eso empujaba el botón «Continuar» fuera
   de la vista y obligaba a scrollear en cada paso. */
.booking-modal .am-fs__wrapper {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
@media (max-width: 640px) {
	.booking-modal { padding: .5rem; }
	.booking-modal__panel {
		max-height: 96svh;
		padding: 1rem .75rem .75rem;
	}
	.booking-modal__title {
		font-size: 1.2rem;
		margin: .15rem 2.6rem .6rem 0;
	}
}

/* ------------------------------------------------------- Páginas internas */
.page-wrap {
	max-width: 860px;
	margin: 0 auto;
	padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem;
}
.page-wrap--404 { text-align: center; }
.page-header { text-align: center; margin-bottom: 2rem; }
.page-title {
	font-family: var(--f-serif);
	font-size: clamp(1.8rem, 5vw, 2.6rem);
	margin: .4rem 0 0;
}
.entry-content img { border-radius: var(--radius); }

/* ------------------------------------------------------ Mobile (mockup) */
@media (max-width: 560px) {
	body { font-size: 16px; }
}

/* ------------------------------------------------- prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	[data-reveal],
	.mosaic-band .tessera { opacity: 1 !important; transform: none !important; }
	.flourish path { stroke-dashoffset: 0 !important; }
	.flourish circle { opacity: 1 !important; }
	.hero__media { transform: none !important; }
	.hero__media picture img { animation: none !important; }
	.hero__scroll { display: none; }
}

/* ------------------------------------------------- Tienda (catálogo de obras) */
/* Página interna: la primera sección respira debajo del header fijo. */
.section--first { padding-top: calc(var(--header-h) + clamp(2.2rem, 6vw, 4rem)); }
.section__lead {
	max-width: 640px;
	margin: .9rem auto 0;
	color: rgba(21, 25, 31, .72);
}
/* Las obras son piezas de arte: se muestran enteras, sin recorte. */
.card__media--obra { aspect-ratio: 1 / 1; background: var(--hueso-alt); }
.card__media--obra img { object-fit: contain; }
.card--obra .card__text { color: rgba(21, 25, 31, .78); }
.card--obra .card__text p { margin: 0 0 .8rem; }
.factlist--card { margin: .4rem 0 1rem; font-size: .92rem; }
.card__foot--obra { margin-top: auto; }

/* --------------------------------------------- Tienda (teaser en la portada) */
/* Mismo patrón que el teaser de Galería: unas pocas piezas + botón «Ver todas».
   Las obras van sin recorte (contain): el encuadre lo decidió la artista. */
.tienda-teaser {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(12px, 2vw, 20px);
}
.tienda-teaser__item {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	text-decoration: none;
	color: inherit;
}
.tienda-teaser__media {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--hueso-alt);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tienda-teaser__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.tienda-teaser__item:hover .tienda-teaser__media {
	transform: translateY(-3px);
	box-shadow: var(--shadow-card-hover);
}
.tienda-teaser__title {
	font-size: .92rem;
	font-weight: 600;
	text-align: center;
	color: rgba(21, 25, 31, .78);
}
.tienda-teaser__item:hover .tienda-teaser__title { color: var(--rojo); }
@media (max-width: 640px) {
	.tienda-teaser { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   v1.3.2 (20/09/2026) — Mención de prensa bajo el certificado + videos de Mora
   ========================================================================== */

/* Mención @buenosaires.ar: tarjeta-link sobre el fondo oscuro de la sección mural. */
.press-mention {
	display: grid;
	gap: .35rem;
	margin: clamp(1.2rem, 3vw, 1.8rem) 0 0;
	padding: clamp(1.1rem, 3vw, 1.6rem) clamp(1.2rem, 4vw, 2.4rem);
	border: 1px solid rgba(245, 240, 230, .14);
	border-left: 4px solid var(--ocre);
	border-radius: var(--radius);
	background: rgba(245, 240, 230, .05);
	color: var(--hueso);
	text-decoration: none;
	transition: background .25s var(--ease), border-color .25s var(--ease);
}
.press-mention:hover,
.press-mention:focus-visible { background: rgba(245, 240, 230, .1); border-color: var(--ocre-claro); }
.press-mention__source {
	font-family: var(--f-sans);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ocre-claro);
}
.press-mention__text {
	font-family: var(--f-serif);
	font-style: italic;
	font-size: clamp(1.2rem, 2.6vw, 1.5rem);
	line-height: 1.3;
}
.press-mention__meta { font-size: .9rem; color: rgba(245, 240, 230, .8); } /* color y no opacity: la opacidad apagaba también el ocre del link */
/* El link al posteo en ocre, para que se distinga del resto de la línea. */
.press-mention__link {
	color: var(--ocre-claro);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.press-mention:hover .press-mention__link,
.press-mention:focus-visible .press-mention__link { color: #F0B75F; }

/* Videos de YouTube de Mora: Short vertical + video horizontal lado a lado. */
.tango-videos {
	display: grid;
	grid-template-columns: minmax(0, 9fr) minmax(0, 16fr);
	gap: clamp(1rem, 3vw, 1.6rem);
	align-items: center;
	margin-top: clamp(2rem, 5vw, 3.2rem);
}
.tango-videos__item {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--tinta);
	box-shadow: var(--shadow-card);
}
.tango-videos__item--vertical { aspect-ratio: 9 / 16; }
.tango-videos__item iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
@media (max-width: 700px) {
	.tango-videos { grid-template-columns: 1fr; }
	.tango-videos__item--vertical { width: min(100%, 340px); justify-self: center; }
}
