/* ==========================================================================
   We the Creative company · Propuesta B (editorial) · maqueta estática
   ========================================================================== */

/* ---------- Fuentes locales ---------- */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-regular.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-bold.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/roboto-black.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/playfair-display-semibold-italic.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--ink: #19171b;
	--paper: #f3f2ef;
	--stone: #e7e7e6;
	--line: #d6d4cf;
	--yellow: #ffd54b;
	--white: #ffffff;
	--muted: #5f5f5c;      /* 5,7:1 sobre papel */
	--muted-dark: #a9a7a3; /* 7,4:1 sobre tinta */
	--line-dark: rgba(255, 255, 255, 0.16);

	--font-sans: "Roboto", Arial, sans-serif;
	--font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

	--container: 1280px;
	--gutter: 24px;
	--header-h: 88px;
	--section: 144px;
	--section-sm: 96px;
	--block: 48px;
	--radius-pill: 999px;
}

@media (max-width: 767px) {
	:root {
		--gutter: 20px;
		--header-h: 64px;
		--section: 80px;
		--section-sm: 56px;
		--block: 32px;
	}
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
@media (max-width: 767px) { body { font-size: 16px; } }
body.menu-open { overflow: hidden; }

h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: 700; }

:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--ink);
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 600; letter-spacing: 0; text-transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 100;
	padding: 12px 18px; background: var(--yellow); color: var(--ink); font-weight: 700;
	transform: translateY(-160%); transition: transform 160ms ease;
}
.skip-link:focus { transform: none; }

/* ---------- Tipografía ---------- */
.label {
	font-size: 12px; font-weight: 700; line-height: 1.4;
	letter-spacing: 0.18em; text-transform: uppercase;
}
.label--muted { color: var(--muted); }
.on-dark .label--muted, .label--on-dark { color: var(--muted-dark); }

.display {
	font-size: 96px; font-weight: 700; line-height: 0.95;
	letter-spacing: -0.02em; text-transform: uppercase;
}
.display .serif { font-size: 1.12em; }
.h1 { font-size: 64px; font-weight: 700; line-height: 1; }
.h2 { font-size: 44px; font-weight: 700; line-height: 1.05; }
.lead { font-size: 20px; line-height: 1.55; }
.quote { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 32px; line-height: 1.25; }

@media (max-width: 1024px) {
	.display { font-size: 72px; }
	.h1 { font-size: 52px; }
	.h2 { font-size: 38px; }
}
@media (max-width: 767px) {
	.display { font-size: 52px; }
	.h1 { font-size: 40px; }
	.h2 { font-size: 32px; }
	.lead { font-size: 18px; }
	.quote { font-size: 26px; }
}

/* ---------- Marcador de sección: número · línea · etiqueta ---------- */
.marker { display: flex; align-items: center; gap: 16px; }
.marker__num { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 28px; line-height: 1; }
.marker__rule { width: 1px; height: 48px; background: currentColor; }
.on-dark .marker__num { color: var(--yellow); }
@media (max-width: 767px) {
	.marker { gap: 14px; }
	.marker__num { font-size: 24px; }
	.marker__rule { height: 40px; }
}

/* ---------- Botones y enlaces ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px;
	border: 1.5px solid transparent; border-radius: var(--radius-pill);
	font-size: 15px; font-weight: 700; line-height: 1; text-align: center;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: #ffe07a; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #2e2b31; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.on-dark .btn--outline { border-color: var(--white); color: var(--white); }
.on-dark .btn--outline:hover { background: var(--white); color: var(--ink); }
.btn--block { width: 100%; }

.link {
	font-size: 15px; font-weight: 700;
	text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.link:hover { text-decoration-color: var(--yellow); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767px) {
	.actions { flex-direction: column; }
	.actions .btn { width: 100%; }
}

/* ---------- Cabecera ---------- */
.site-header { position: relative; z-index: 40; }
.site-header--dark { background: var(--ink); color: var(--white); }
.site-header--light { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }

.site-header__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; }
.brand svg { width: 56px; height: 26px; }
.tagline {
	font-size: 12px; font-weight: 700; line-height: 1.3;
	letter-spacing: 0.18em; text-align: center; text-transform: uppercase;
}
.site-nav { justify-self: end; display: flex; align-items: center; gap: 4px; }
.site-nav a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
	font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.site-nav a:not(.nav-cta):hover,
.site-nav a[aria-current="page"]:not(.nav-cta) {
	text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px;
}
.site-nav a:not(.nav-cta):hover { text-decoration-color: var(--yellow); }
.nav-cta {
	height: 44px; margin-left: 8px; padding: 0 20px !important;
	border-radius: var(--radius-pill); background: var(--yellow); color: var(--ink);
}
.nav-cta:hover { background: #ffe07a; }

.header-actions { display: none; justify-self: end; align-items: center; gap: 4px; }
.menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit;
}
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }

.mobile-nav {
	display: none;
	position: absolute; top: 100%; left: 0; right: 0;
	max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	background: var(--ink); color: var(--white);
	border-top: 1px solid var(--line-dark);
	padding: 8px var(--gutter) 32px;
}
.site-header.is-open .mobile-nav { display: block; }
.mobile-nav a.mobile-nav__link {
	display: flex; align-items: center; justify-content: space-between; min-height: 64px;
	border-bottom: 1px solid var(--line-dark);
	font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 30px;
}
.mobile-nav__contact { display: grid; gap: 4px; margin-top: 24px; color: var(--muted-dark); font-size: 15px; }
.mobile-nav__contact a { display: inline-flex; align-items: center; min-height: 40px; color: var(--white); }

@media (max-width: 959px) {
	.site-header__inner { grid-template-columns: 1fr auto; }
	.tagline, .site-nav { display: none; }
	.header-actions { display: flex; }
	.header-actions .nav-cta {
		display: inline-flex; align-items: center; margin: 0;
		font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
	}
	.brand svg { width: 46px; height: 21px; }
}

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); color: var(--white); }
.section--yellow { background: var(--yellow); color: var(--ink); }
.section__head { margin-top: var(--block); }

/* ---------- Inicio: hero 50/50 ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__content {
	width: calc(50% - 64px); min-height: max(680px, min(840px, calc(100svh - var(--header-h))));
	display: flex; flex-direction: column; justify-content: flex-end; gap: 40px;
	padding-block: 96px 80px;
}
.hero__intro { display: flex; gap: 32px; align-items: stretch; }
.hero__intro::before { content: ""; flex: 0 0 1px; background: var(--white); }
.hero__intro p { max-width: 36ch; font-size: 19px; line-height: 1.6; }

@media (max-width: 1024px) {
	.hero__content { width: calc(55% - 40px); }
	.hero__media { width: 45%; }
}
@media (max-width: 767px) {
	.hero__media { position: static; width: auto; height: 440px; }
	.hero__content { width: auto; min-height: 0; gap: 24px; padding-block: 40px 56px; }
	.hero__intro { gap: 20px; }
	.hero__intro p { font-size: 17px; }
}

/* ---------- Inicio: estudio ---------- */
.studio { position: relative; overflow: hidden; }
.studio__mark { position: absolute; left: -40px; bottom: -260px; width: 340px; opacity: 0.55; pointer-events: none; }
.studio__grid {
	position: relative; margin-top: var(--block);
	display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: end;
}
.studio__text { display: grid; gap: 32px; padding-bottom: 24px; }
.studio__text .lead { max-width: 44ch; }
.figure figcaption { margin-top: 12px; color: var(--muted); }
.figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 959px) {
	.studio__grid { grid-template-columns: 1fr; gap: 32px; }
	.studio__mark { display: none; }
	.studio__text { padding-bottom: 0; gap: 24px; }
}

/* ---------- Inicio: servicios ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: var(--block); }
.step { padding-top: 24px; border-top: 2px solid var(--ink); }
.step__num { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 64px; line-height: 1; }
.step__name { display: block; margin-top: 16px; font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: 0.08em; text-transform: uppercase; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; margin-top: 64px; }
.two-col p { max-width: 60ch; }
@media (max-width: 959px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
@media (max-width: 767px) {
	.step { padding-top: 14px; }
	.step__num { font-size: 44px; }
	.step__name { margin-top: 8px; font-size: 14px; letter-spacing: 0.06em; }
	.two-col { grid-template-columns: 1fr; margin-top: 40px; gap: 16px; }
}

/* ---------- Cabecera de bloque con acción ---------- */
.bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: var(--block); }

/* ---------- Tarjeta de proyecto ---------- */
.card__link { display: grid; gap: 12px; }
.card__media { overflow: hidden; background: var(--stone); }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 300ms ease; }
.card__link:hover .card__media img { transform: scale(1.03); }
.card__head { display: flex; align-items: baseline; gap: 14px; }
.card__num { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 22px; color: var(--muted); }
.card__title { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 30px; line-height: 1.1; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--yellow); }
.card__meta { color: var(--muted); }
@media (max-width: 767px) {
	.card__num { font-size: 18px; }
	.card__title { font-size: 24px; }
}

/* Inicio: proyectos recientes */
.recent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; margin-top: var(--block); }
.recent .card__media img { aspect-ratio: 1 / 1; }
.recent .card:nth-child(2) { margin-top: 64px; }
.recent .card__title { font-size: 26px; }
@media (max-width: 959px) {
	.recent { grid-template-columns: 1fr; gap: 48px; }
	.recent .card:nth-child(2) { margin-top: 0; margin-left: 56px; }
	.recent .card__media img { aspect-ratio: 16 / 10; }
}

/* ---------- Banda amarilla de contacto ---------- */
.cta-band__grid { display: grid; grid-template-columns: 7fr 4fr; gap: 40px 96px; align-items: end; margin-top: var(--block); }
.cta-band__side { display: grid; gap: 20px; justify-items: start; }
.cta-band--compact .cta-band__grid { margin-top: 0; grid-template-columns: 1fr auto; align-items: center; }
.cta-band--compact { padding-block: var(--section-sm); }
@media (max-width: 959px) {
	.cta-band__grid, .cta-band--compact .cta-band__grid { grid-template-columns: 1fr; }
}

/* ---------- Texto SEO ---------- */
.seo { padding-block: 72px; }
.seo p { max-width: 80ch; color: var(--muted); font-size: 16px; line-height: 1.7; }
.prose-split { display: grid; grid-template-columns: 4fr 7fr; gap: 32px 96px; }
.prose { display: grid; gap: 20px; max-width: 66ch; font-size: 17px; line-height: 1.7; }
@media (max-width: 959px) { .prose-split { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.site-footer { padding-block: 80px 40px; background: var(--ink); color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1fr; gap: 48px 64px; }
.site-footer__brand { display: grid; gap: 20px; align-content: start; }
.site-footer__brand svg { width: 92px; height: 42px; }
.site-footer__col { display: grid; align-content: start; }
.site-footer__col .label { margin-bottom: 8px; }
.site-footer__col a { display: flex; align-items: center; min-height: 40px; }
.site-footer__col a:hover, .site-footer__legal a:hover { color: var(--yellow); }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
	margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-dark);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 24px; color: var(--muted-dark); font-size: 14px; }
.site-footer__legal > * { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__eu { width: 280px; }
@media (max-width: 959px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 767px) {
	.site-footer { padding-block: 56px 32px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.site-footer__eu { width: 240px; }
}

/* ---------- Proyectos: cabecera, filtros y retícula ---------- */
.page-hero { padding-block: 96px 56px; }
.page-hero__grid { display: grid; grid-template-columns: 8fr 3fr; gap: 32px 96px; align-items: end; margin-top: 40px; }
.page-hero__side { display: grid; gap: 20px; justify-items: start; font-size: 17px; }
@media (max-width: 959px) { .page-hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .page-hero { padding-block: 48px 32px; } .page-hero__grid { margin-top: 24px; } }

.filters {
	position: sticky; top: 0; z-index: 20;
	background: var(--paper); border-block: 1px solid var(--line);
}
.filters__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; padding-block: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 20px;
	border: 1px solid var(--ink); border-radius: var(--radius-pill);
	background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap;
}
.chip:hover { background: var(--stone); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.chip__count { font-weight: 400; opacity: 0.8; }
.filters__status { color: var(--muted); font-size: 14px; }
@media (max-width: 767px) {
	.filters__inner { min-height: 0; padding-block: 12px; }
	.chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.filters__status { display: none; }
}

.grid {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 32px; row-gap: 96px; align-items: start;
	padding-block: 96px 72px;
}
.grid .card.is-big { grid-column: span 7; }
.grid .card.is-small { grid-column: span 5; margin-top: 96px; }
.grid .card.is-small .card__media img { aspect-ratio: 4 / 3; }
.grid .card[hidden] { display: none; }
@media (max-width: 959px) {
	.grid { grid-template-columns: 1fr; row-gap: 48px; padding-block: 40px 56px; }
	.grid .card.is-big, .grid .card.is-small { grid-column: auto; margin-top: 0; }
	.grid .card.is-indent { margin-left: 56px; }
	.grid .card.is-indent .card__media img { aspect-ratio: 4 / 3; }
	.grid .card:not(.is-indent) .card__media img { aspect-ratio: 16 / 10; }
}

.more { display: grid; justify-items: center; gap: 16px; padding-bottom: var(--section-sm); }
.more p { color: var(--muted); font-size: 15px; }
.more[hidden] { display: none; }

/* ---------- Ficha de proyecto ---------- */
.project-hero {
	position: relative; display: flex; align-items: flex-end;
	min-height: min(760px, calc(100svh - var(--header-h)));
	background: var(--ink); color: var(--white); overflow: hidden;
}
.project-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
	background: linear-gradient(to top, rgba(25, 23, 27, 0.88), rgba(25, 23, 27, 0));
}
.project-hero__inner {
	position: relative; z-index: 1; padding-bottom: 56px;
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.project-title { margin-top: 20px; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 96px; line-height: 0.95; }
@media (max-width: 1024px) { .project-title { font-size: 72px; } }
@media (max-width: 767px) {
	.project-hero { min-height: 540px; }
	.project-hero__inner { padding-bottom: 28px; }
	.project-hero__inner .btn { display: none; }
	.project-title { font-size: 48px; margin-top: 14px; }
}
.mobile-only { display: none; }
@media (max-width: 767px) { .mobile-only { display: block; } }

.project-body { display: grid; grid-template-columns: 4fr 7fr; gap: 48px 96px; align-items: start; }
.spec {
	position: sticky; top: 24px;
	display: grid; gap: 20px; padding: 32px; background: var(--white);
}
.spec dl { border-top: 1px solid var(--ink); }
.spec dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--stone); }
.spec dt { color: var(--muted); font-size: 15px; }
.spec dd { max-width: 60%; font-size: 16px; font-weight: 700; line-height: 1.35; text-align: right; }
.spec__ask { font-size: 17px; font-weight: 700; line-height: 1.35; }
.project-content { display: grid; gap: 48px; }
.project-content .prose { font-size: 18px; }
.photo-row { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; align-items: start; }
.photo-row button:first-child img { aspect-ratio: 3 / 2; }
.photo-row button:last-child img { aspect-ratio: 1 / 1; }
.photo-btn { display: block; width: 100%; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; }
.photo-btn img { width: 100%; object-fit: cover; }
.photo-wide img { aspect-ratio: 16 / 9; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.thumbs img { aspect-ratio: 1 / 1; }
@media (max-width: 959px) {
	.project-body { grid-template-columns: 1fr; gap: 32px; }
	.spec { position: static; padding: 24px; }
	.project-content { gap: 32px; }
	.thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 767px) { .project-content .prose { font-size: 16px; } .photo-row { grid-template-columns: 1fr; } .photo-row button:last-child img { aspect-ratio: 3 / 2; } .lightbox__img { max-height: 70vh; } }

.next-project { position: relative; display: block; min-height: 360px; background: var(--ink); color: var(--white); overflow: hidden; }
.next-project > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; transition: opacity 200ms ease; }
.next-project:hover > img { opacity: 0.6; }
.next-project__inner { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.next-project__title { margin-top: 12px; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 56px; line-height: 1; }
.next-project__arrow { flex: 0 0 72px; height: 72px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow); color: var(--ink); }
@media (max-width: 767px) {
	.next-project, .next-project__inner { min-height: 240px; }
	.next-project__inner { align-items: flex-end; padding-bottom: 24px; }
	.next-project__title { font-size: 28px; }
	.next-project__arrow { display: none; }
}

/* Visor de imágenes */
.lightbox { width: min(94vw, 1400px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--white); }
.lightbox::backdrop { background: rgba(14, 13, 15, 0.94); }
.lightbox__img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.lightbox__count { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; }
.lightbox__nav { display: flex; gap: 8px; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
	background: var(--white); color: var(--ink);
}
.icon-btn:hover { background: var(--yellow); }

/* ---------- Contacto ---------- */
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: var(--block); }
.quick a {
	display: flex; justify-content: space-between; align-items: stretch; gap: 16px;
	min-height: 160px; padding: 28px; border: 1px solid var(--line-dark);
	transition: border-color 160ms ease, background-color 160ms ease;
}
.quick a:hover { border-color: var(--yellow); background: rgba(255, 255, 255, 0.04); }
.quick__text { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quick__icon { flex: 0 0 40px; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.quick__value { font-size: 26px; font-weight: 700; line-height: 1.2; }
@media (max-width: 959px) {
	.quick { grid-template-columns: 1fr; gap: 12px; }
	.quick a { min-height: 88px; padding: 18px 20px; align-items: center; }
	.quick__text { justify-content: center; gap: 2px; }
	.quick__value { font-size: 20px; }
}

.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 96px; align-items: start; }
.contact-info { display: grid; gap: 28px; }
.contact-info img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.contact-info address { font-style: normal; font-size: 20px; line-height: 1.45; margin-top: 8px; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; }
.social a:hover { background: var(--ink); color: var(--white); }
@media (max-width: 959px) { .contact-grid { grid-template-columns: 1fr; } .contact-info { order: 2; } }

.form-card { display: grid; gap: 24px; padding: 48px; background: var(--white); }
.form-card__note { margin-top: -8px; color: var(--muted); font-size: 15px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
	width: 100%; min-height: 52px; padding: 0 16px;
	border: 1px solid #8d8b87; border-radius: 0; background: var(--white); color: var(--ink);
}
.field textarea { min-height: 168px; padding: 14px 16px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--ink); }
.field input:user-invalid, .field textarea:user-invalid { border: 2px solid #b3261e; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; }
.check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.check a { text-decoration: underline; }
.form-message { padding: 16px 20px; border-left: 4px solid var(--yellow); background: var(--paper); font-size: 16px; }
.form-message[hidden] { display: none; }
@media (max-width: 767px) {
	.form-card { padding: 24px; gap: 20px; }
	.form-row { grid-template-columns: 1fr; gap: 20px; }
	.form-card .btn { width: 100%; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
