/* ---------------------------------------------------------------- tokens */

:root {
	--bg: #fbf9f4;
	--bg-warm: #f4efe3;
	--surface: #fffefb;
	--ink: #14120e;
	--ink-soft: #3d382e;
	--muted: #6e6758;
	--gold: #ffe000;
	--gold-deep: #7a5e00;
	--line: #e3dccb;
	--line-soft: #eee8da;

	--display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--text: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--page: 1180px;
	--prose: 68ch;
	--gutter: clamp(1.25rem, 5vw, 3rem);
	--section: clamp(4rem, 9vw, 7.5rem);

	--radius: 2px;
	--shadow: 0 1px 2px rgb(20 18 14 / 4%), 0 12px 32px -18px rgb(20 18 14 / 28%);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--text);
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration-color: color-mix(in srgb, var(--gold-deep) 45%, transparent);
	text-underline-offset: 0.22em;
	text-decoration-thickness: 1px;
}

a:hover {
	text-decoration-color: var(--gold-deep);
}

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

/* ------------------------------------------------------------ tipografia */

h1,
h2,
h3 {
	font-family: var(--display);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--ink);
	margin: 0;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.6rem, 6.5vw, 4.4rem);
}

h2 {
	font-size: clamp(2rem, 4.2vw, 3rem);
}

h3 {
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

p {
	margin: 0 0 1.15em;
	text-wrap: pretty;
}

.lead {
	font-size: clamp(1.1rem, 1.7vw, 1.32rem);
	line-height: 1.62;
	color: var(--ink-soft);
}

.eyebrow {
	display: block;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold-deep);
	margin: 0 0 1.1rem;
}

.prose {
	max-width: var(--prose);
}

.prose > * + h3 {
	margin-top: 2.4em;
}

.prose h3 + p {
	margin-top: 0.7em;
}

.quiet {
	color: var(--muted);
}

/* --------------------------------------------------------------- layout */

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

.section {
	padding-block: var(--section);
}

.section--warm {
	background: var(--bg-warm);
}

.section__head {
	max-width: var(--prose);
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.rule {
	width: 44px;
	height: 2px;
	background: var(--gold);
	border: 0;
	margin: 0 0 1.6rem;
}

.skip {
	position: absolute;
	left: -9999px;
}

.skip:focus {
	left: 1rem;
	top: 1rem;
	z-index: 200;
	background: var(--ink);
	color: var(--bg);
	padding: 0.7rem 1.1rem;
	border-radius: var(--radius);
}

/* -------------------------------------------------------------- botones */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.78rem 1.5rem;
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--bg);
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--ink);
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line);
}

.btn--ghost:hover {
	background: transparent;
	border-color: var(--ink);
	color: var(--ink);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2rem;
}

/* ----------------------------------------------------------- encabezado */

.site-head {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line-soft);
}

.site-head__inner {
	max-width: var(--page);
	margin-inline: auto;
	padding: 0.85rem var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--ink);
}

.brand img {
	width: 38px;
	height: 38px;
	flex: none;
}

.brand__name {
	font-family: var(--display);
	font-size: 1.42rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1;
	text-transform: uppercase;
}

.brand__tag {
	display: block;
	font-family: var(--text);
	font-size: 0.56rem;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 0.3rem;
}

.nav {
	display: flex;
	align-items: center;
	gap: clamp(1.1rem, 2.6vw, 2.1rem);
}

.nav a {
	font-size: 0.83rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink-soft);
	padding-block: 0.35rem;
	border-bottom: 1px solid transparent;
	transition: color 0.16s ease, border-color 0.16s ease;
}

.nav a:hover {
	color: var(--ink);
	border-bottom-color: var(--gold);
}

.nav a[aria-current="page"] {
	color: var(--ink);
	border-bottom-color: var(--gold);
}

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0.5rem 0.6rem;
	cursor: pointer;
	color: var(--ink);
}

.nav-toggle svg {
	display: block;
	width: 20px;
	height: 20px;
}

@media (max-width: 720px) {
	.nav-toggle {
		display: block;
	}

	.nav {
		position: absolute;
		inset: 100% 0 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
		padding: 0.5rem var(--gutter) 1.1rem;
		display: none;
	}

	.nav[data-open="true"] {
		display: flex;
	}

	.nav a {
		padding-block: 0.8rem;
		border-bottom: 1px solid var(--line-soft);
	}
}

/* ------------------------------------------------------------------ hero */

.hero {
	padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.hero__text h1 {
	margin-bottom: 1.4rem;
}

.hero__text h1 em {
	font-style: italic;
	color: var(--gold-deep);
}

.hero__media {
	position: relative;
}

.hero__media img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.hero__badge {
	position: absolute;
	left: -1.4rem;
	bottom: 1.6rem;
	background: var(--gold);
	color: var(--ink);
	padding: 0.85rem 1.2rem;
	border-radius: var(--radius);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.35;
	box-shadow: var(--shadow);
}

@media (max-width: 860px) {
	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__badge {
		left: auto;
		right: 1rem;
	}
}

/* --------------------------------------------------------------- tarjetas */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: clamp(1.2rem, 2.6vw, 2rem);
}

.card {
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 2.6vw, 2rem);
}

.card h3 {
	font-size: 1.28rem;
	margin-bottom: 0.7rem;
}

.card p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--muted);
}

.card__num {
	display: block;
	font-family: var(--display);
	font-size: 1.6rem;
	color: var(--gold-deep);
	line-height: 1;
	margin-bottom: 1rem;
}

/* ------------------------------------------------------------------ datos */

.facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
	border-top: 1px solid var(--line);
	padding-top: clamp(2rem, 4vw, 3rem);
}

.fact dt {
	font-family: var(--display);
	font-size: clamp(2.2rem, 4vw, 3rem);
	line-height: 1;
	color: var(--ink);
}

.fact dd {
	margin: 0.6rem 0 0;
	font-size: 0.83rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ---------------------------------------------------------------- galeria */

.gal-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.gal-nav a {
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-decoration: none;
	padding: 0.5rem 1rem;
	border: 1px solid var(--line);
	border-radius: 100px;
	color: var(--ink-soft);
	transition: border-color 0.16s ease, background 0.16s ease;
}

.gal-nav a:hover {
	border-color: var(--ink);
	background: var(--surface);
	color: var(--ink);
}

.gal-set {
	margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
	scroll-margin-top: 6rem;
}

.gal-set__head {
	max-width: var(--prose);
	margin-bottom: 1.8rem;
}

.gal-set__head h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.gal-set__head p {
	margin: 0.7rem 0 0;
	color: var(--muted);
}

.grid {
	columns: 3 280px;
	column-gap: 20px;
}

.grid > * {
	break-inside: avoid;
	margin-bottom: 20px;
}

.shot {
	margin: 0;
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	border-radius: var(--radius);
	overflow: hidden;
	font: inherit;
	color: inherit;
}

.shot img {
	width: 100%;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1),
		filter 0.35s ease;
}

.shot:hover img {
	transform: scale(1.035);
	filter: brightness(1.04);
}

/* ----------------------------------------------------------------- videos */

.videos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(1.2rem, 3vw, 2rem);
}

.video {
	margin: 0;
}

.video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--ink);
	cursor: pointer;
	display: block;
}

.video__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.8;
	transition: opacity 0.25s ease, transform 0.5s ease;
}

.video__frame:hover img {
	opacity: 1;
	transform: scale(1.03);
}

.video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: var(--gold);
	display: grid;
	place-items: center;
	pointer-events: none;
	box-shadow: 0 6px 24px rgb(0 0 0 / 35%);
}

.video__play svg {
	width: 24px;
	height: 24px;
	fill: var(--ink);
	margin-left: 4px;
}

.video figcaption {
	margin-top: 0.85rem;
	font-size: 0.92rem;
	color: var(--muted);
}

/* ------------------------------------------------------------------ media */

.media-pair {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	margin: 2.6rem 0;
}

.media-pair img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

.figure-wide {
	margin: 2.8rem 0;
}

.split .figure-wide {
	margin: 0;
}

.figure-wide img {
	width: 100%;
	border-radius: var(--radius);
}

.figure-wide figcaption,
.media-pair figcaption {
	margin-top: 0.8rem;
	font-size: 0.88rem;
	color: var(--muted);
}

/* ------------------------------------------------------------- dos columnas */

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.split--narrow {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: start;
}

.split img {
	width: 100%;
	border-radius: var(--radius);
}

@media (max-width: 800px) {
	.split,
	.split--narrow {
		grid-template-columns: 1fr;
	}
}

/* ----------------------------------------------------------------- archivo */

.timeline {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
	margin: 2.6rem 0;
}

.timeline figure {
	margin: 0;
}

.timeline img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--radius);
}

.timeline figcaption {
	margin-top: 0.7rem;
	font-family: var(--display);
	font-size: 1.15rem;
	color: var(--gold-deep);
	letter-spacing: 0.06em;
}

/* --------------------------------------------------------------- contacto */

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: clamp(1.6rem, 4vw, 3rem);
}

.contact-block {
	border-top: 2px solid var(--gold);
	padding-top: 1.4rem;
}

.contact-block h3 {
	font-size: 1.15rem;
	margin-bottom: 0.9rem;
}

.contact-block p,
.contact-block ul {
	margin: 0;
	font-size: 0.98rem;
	color: var(--ink-soft);
}

.contact-block ul {
	list-style: none;
	padding: 0;
}

.contact-block li + li {
	margin-top: 0.45rem;
}

.contact-block a {
	text-decoration: none;
	border-bottom: 1px solid color-mix(in srgb, var(--gold-deep) 35%, transparent);
	transition: border-color 0.16s ease;
}

.contact-block a:hover {
	border-bottom-color: var(--gold-deep);
}

.phone {
	font-family: var(--display);
	font-size: clamp(1.7rem, 3.4vw, 2.3rem);
	line-height: 1.2;
	text-decoration: none;
	border: 0 !important;
	display: inline-block;
}

/* ------------------------------------------------------------------- redes */

.social {
	display: flex;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--ink-soft);
	border-bottom-width: 1px !important;
	transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.social a:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--bg);
}

.social svg {
	width: 18px;
	height: 18px;
	fill: currentcolor;
}

/* ------------------------------------------------------------------ cierre */

.cta {
	background: var(--ink);
	color: var(--bg);
	border-radius: var(--radius);
	padding: clamp(2.5rem, 6vw, 4.5rem);
	text-align: center;
}

.cta h2 {
	color: var(--bg);
	margin-bottom: 1rem;
}

.cta p {
	color: color-mix(in srgb, var(--bg) 72%, transparent);
	max-width: 48ch;
	margin-inline: auto;
}

.cta .btn {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--ink);
}

.cta .btn:hover {
	background: transparent;
	border-color: var(--bg);
	color: var(--bg);
}

.cta .btn-row {
	justify-content: center;
}

/* --------------------------------------------------------------------- pie */

.site-foot {
	border-top: 1px solid var(--line);
	padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
	font-size: 0.9rem;
	color: var(--muted);
}

.site-foot__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 2rem clamp(1.5rem, 4vw, 3rem);
	margin-bottom: 2.5rem;
}

.site-foot h4 {
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0 0 0.9rem;
}

.site-foot ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-foot li + li {
	margin-top: 0.4rem;
}

.site-foot a {
	text-decoration: none;
}

.site-foot a:hover {
	color: var(--ink);
}

.site-foot__bar {
	border-top: 1px solid var(--line-soft);
	padding-top: 1.6rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.5rem;
	justify-content: space-between;
	font-size: 0.82rem;
}

/* -------------------------------------------------------------- lightbox */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	border: 0;
	padding: 0;
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	background: rgb(16 14 11 / 94%);
	color: #fff;
}

.lightbox::backdrop {
	background: rgb(16 14 11 / 90%);
}

.lightbox__stage {
	position: absolute;
	inset: clamp(3.5rem, 8vh, 5.5rem) clamp(1rem, 6vw, 5rem);
	display: grid;
	place-items: center;
}

.lightbox__stage img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--radius);
}

.lightbox__bar {
	position: absolute;
	inset: auto 0 0;
	padding: 1rem clamp(1rem, 6vw, 5rem) 1.4rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.85rem;
	color: rgb(255 255 255 / 70%);
}

.lb-btn {
	background: rgb(255 255 255 / 10%);
	border: 1px solid rgb(255 255 255 / 20%);
	color: #fff;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background 0.16s ease, border-color 0.16s ease;
}

.lb-btn:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--ink);
}

.lb-btn svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentcolor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lightbox__close {
	position: absolute;
	top: clamp(0.8rem, 2vw, 1.5rem);
	right: clamp(0.8rem, 2vw, 1.5rem);
}

.lightbox__prev,
.lightbox__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__prev {
	left: clamp(0.5rem, 2vw, 1.5rem);
}

.lightbox__next {
	right: clamp(0.5rem, 2vw, 1.5rem);
}

/* -------------------------------------------------------------- error 404 */

.error {
	min-height: 62vh;
	display: grid;
	place-items: center;
	text-align: center;
}

.error .btn-row {
	justify-content: center;
}

.error h1 {
	font-size: clamp(4rem, 14vw, 8rem);
	color: var(--gold-deep);
	line-height: 1;
	margin-bottom: 0.4rem;
}
