/* ==========================================================================
   YUNCORE CONSULTING — main stylesheet
   Concept: the painted bay line on a shop floor.
   Type: Archivo variable (width axis 62–125%) — one family, width as voice.
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

:root {
	--green: #0b3a2b;
	--green-2: #0f4535;
	--ink: #101312;
	--concrete: #d9dad5;
	--paper: #f0f1ed;
	--yellow: #f2c300;
	--steel: #4b5654;

	--gutter: clamp(20px, 4vw, 72px);
	--gl: var(--gutter);           /* margen izquierdo (deja sitio a la línea) */
	--sec: clamp(88px, 11vw, 170px);
	--col: 24px;
	--ease: cubic-bezier(.19, .9, .2, 1);
}
@media (min-width: 1000px) { :root { --gl: 104px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--paper); }

body.yc {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Archivo", system-ui, sans-serif;
	font-stretch: 100%;
	font-weight: 400;
	font-size: clamp(1.0625rem, 1rem + .25vw, 1.25rem);
	line-height: 1.5;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.yc-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 14px; font-weight: 600; }
.yc-skip:focus { left: 8px; }

/* ---------- Tipografía ---------- */
.d {
	font-stretch: 62%;
	font-weight: 850;
	text-transform: uppercase;
	line-height: .88;
	letter-spacing: -.005em;
}
.yc-h2 { font-size: clamp(3rem, 8.4vw, 9.75rem); }
.yc-lead { font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.35; max-width: 36ch; }
.yc-body { max-width: 52ch; }
.yc-note {
	max-width: 62ch; margin-top: clamp(48px, 6vw, 90px); padding-left: 18px;
	border-left: 4px solid var(--yellow); font-size: .95rem; color: var(--steel);
}

/* ---------- Botón ---------- */
.yc-btn {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--yellow); color: var(--ink); border: 0; border-radius: 0; cursor: pointer;
	padding: 20px 32px; text-decoration: none;
	font: inherit; font-stretch: 112%; font-weight: 700; font-size: 1.0625rem; line-height: 1;
	transition: background .25s, color .25s, transform .4s var(--ease);
}
.yc-btn:hover { background: var(--paper); transform: translateY(-3px); }
.yc-btn--ink { background: var(--ink); color: var(--paper); }
.yc-btn--ink:hover { background: var(--green); color: var(--paper); }

/* ---------- Header ---------- */
.yc-head {
	position: fixed; top: 0; left: 0; right: 0; z-index: 60;
	display: flex; justify-content: space-between; align-items: flex-start;
	padding: 22px var(--gutter) 16px var(--gl);
	color: #fff; pointer-events: none;
	transition: color .3s, background .3s, transform .5s var(--ease);
}
/* Selector de idioma EN | ES */
.yc-lang { display: flex; align-items: center; gap: 4px; pointer-events: none; }
.yc-lang a {
	pointer-events: auto; padding: 9px 11px 7px; position: relative;
	font-stretch: 112%; font-weight: 700; font-size: 1rem; line-height: 1; opacity: .8;
	text-shadow: 0 1px 14px rgba(11, 58, 43, .75);
	transition: opacity .25s;
}
.yc-head.is-ink .yc-lang a { text-shadow: none; }
.yc-lang a::after {
	content: ""; position: absolute; left: 11px; right: 11px; bottom: 0; height: 3px;
	background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.yc-lang a:hover { opacity: 1; }
.yc-lang a[aria-current="true"] { opacity: 1; }
.yc-lang a[aria-current="true"]::after { transform: scaleX(1); }
.yc-lang a + a::before {
	content: ""; position: absolute; left: -3px; top: 9px; height: 12px; width: 1px; background: currentColor; opacity: .4;
}
.yc-head.is-solid { background: var(--green); }
.yc-head.is-ink { background: var(--paper); color: var(--ink); }
.yc-head.is-hidden { transform: translateY(-100%); }
.yc-head a { pointer-events: auto; text-decoration: none; }
.yc-mark { font-stretch: 62%; font-weight: 900; font-size: 2rem; line-height: .9; text-transform: uppercase; }
.yc-mark small {
	display: block; margin-top: 6px; font-stretch: 112%; font-weight: 500; font-size: .72rem;
	line-height: 1.2; text-transform: none; letter-spacing: .01em; opacity: .85;
}

/* ---------- Línea de bahía (progreso + marcadores) ---------- */
.yc-bay {
	position: fixed; left: 26px; top: 0; bottom: 0; width: 6px; z-index: 40; pointer-events: none;
	background: rgba(128, 128, 128, .22);
}
.yc-bay__fill { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--p, 0) * 100%); background: var(--yellow); }
.yc-bay__list { position: absolute; left: -2px; top: 50%; transform: translateY(-50%); display: grid; gap: 30px; pointer-events: auto; }
.yc-bay__list a {
	position: relative; display: block; width: 10px; height: 10px; background: #fff; border: 2px solid var(--ink);
	transition: transform .35s var(--ease), background .25s;
}
.yc-bay__list a.is-active,
.yc-bay__list a[aria-current] { background: var(--yellow); transform: scale(1.5); }
.yc-bay__label {
	position: absolute; left: 24px; top: 50%; padding: 5px 11px; white-space: nowrap;
	background: var(--ink); color: var(--paper);
	font-stretch: 110%; font-weight: 600; font-size: .8rem; line-height: 1.2;
	opacity: 0; transform: translate(-8px, -50%); pointer-events: none;
	transition: opacity .25s, transform .35s var(--ease);
}
.yc-bay__list a:hover .yc-bay__label,
.yc-bay__list a:focus-visible .yc-bay__label { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 999px) {
	.yc-bay { left: 0; width: 4px; }
	.yc-bay__list { display: none; }
}

/* ---------- Pestaña "Index" en el borde derecho ---------- */
.yc-index {
	position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 70;
	width: 48px; height: 140px; padding: 0; border: 0; border-radius: 0; cursor: pointer;
	background: var(--yellow); color: var(--ink);
	display: grid; place-items: center; writing-mode: vertical-rl;
	font: inherit; font-stretch: 112%; font-weight: 700; font-size: 1.05rem;
	transition: width .4s var(--ease);
}
.yc-index:hover { width: 64px; }
.yc-index__t { transform: rotate(180deg); }
@media (max-width: 760px) {
	.yc-head { padding-right: calc(var(--gutter) + 92px); }
	.yc-index {
		top: 16px; right: var(--gutter); transform: none; width: auto; height: auto; padding: 11px 16px;
		writing-mode: horizontal-tb; font-size: .95rem;
	}
	.yc-index:hover { width: auto; }
	.yc-index__t { transform: none; }
}

/* ---------- Panel de navegación ---------- */
.yc-menu {
	position: fixed; inset: 0; z-index: 65; background: var(--green); color: var(--paper);
	clip-path: inset(0 0 0 100%); visibility: hidden;
	transition: clip-path .9s var(--ease), visibility 0s linear .9s;
}
.yc-menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.yc-menu__in {
	height: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	padding: 104px var(--gutter) 84px var(--gl); gap: clamp(24px, 4vw, 72px);
}
.yc-menu nav { align-self: center; }
.yc-menu__list li { overflow: hidden; }
.yc-menu__list a {
	display: block; text-decoration: none; color: var(--paper);
	font-stretch: 62%; font-weight: 850; text-transform: uppercase; line-height: .98;
	font-size: clamp(2.8rem, min(8.2vw, 10.2svh), 9rem);
	transform: translateY(105%);
	transition: transform .9s var(--ease) calc(var(--i, 0) * 60ms + .25s), opacity .3s, color .3s;
}
.yc-menu.is-open .yc-menu__list a { transform: none; }
/* Español: nombres más largos, se parten en dos líneas; el tamaño se limita por altura para que quepan los 6 */
.yc-lang-es .yc-menu__in { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.yc-lang-es .yc-menu__list a { font-size: clamp(2.4rem, min(7vw, 10svh), 7.5rem); }
.yc-menu__list:hover a { opacity: .28; }
.yc-menu__list a:hover, .yc-menu__list a:focus-visible { opacity: 1; color: var(--yellow); }
.yc-menu__imgs { position: relative; overflow: hidden; background: var(--green-2); }
.yc-menu__imgs img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transform: scale(1.08); transition: opacity .5s, transform 1.4s var(--ease);
}
.yc-menu__imgs img.is-on { opacity: 1; transform: none; }
.yc-menu__foot {
	position: absolute; left: var(--gl); bottom: 30px; font-stretch: 110%; font-weight: 500; font-size: .85rem; opacity: .75;
}
@media (max-width: 860px) {
	.yc-menu__in { grid-template-columns: 1fr; }
	.yc-menu__imgs { display: none; }
}

/* ---------- Fotos teñidas de verde ---------- */
.yc-tint { position: relative; isolation: isolate; background: var(--green); }
.yc-tint img { filter: grayscale(1) contrast(1.08); }
.yc-tint::after {
	content: ""; position: absolute; inset: 0; background: var(--green); mix-blend-mode: color;
	opacity: .9; transition: opacity .8s var(--ease); pointer-events: none;
}
.yc-pic:hover::after { opacity: 0; }
.yc-pic { overflow: hidden; }
.yc-pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero (carga orquestada: el velo sube, la foto se asienta, el titular sube) ---------- */
.yc-hero, .yc-phero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--green);
	display: grid; align-content: end;
	padding: 140px var(--gutter) clamp(32px, 5vw, 64px) var(--gl);
}
.yc-hero { min-height: 100svh; }
.yc-phero { min-height: 78svh; }
.yc-hero__bg, .yc-phero__bg { position: absolute; inset: 0; z-index: -1; }
.yc-hero__bg img, .yc-phero__bg img { width: 100%; height: 100%; object-fit: cover; animation: yc-settle 2.8s var(--ease) both; }
.yc-hero__bg::before, .yc-phero__bg::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(to top, rgba(11, 58, 43, .92) 0%, rgba(11, 58, 43, .45) 55%, rgba(11, 58, 43, .2) 100%);
}
.yc-hero__veil { position: absolute; inset: 0; z-index: 2; background: var(--green); animation: yc-lift 1.3s var(--ease) .15s both; pointer-events: none; }
.yc-hero > :not(.yc-hero__bg):not(.yc-hero__veil),
.yc-phero > :not(.yc-phero__bg):not(.yc-hero__veil) { position: relative; z-index: 3; }

.yc-hero__title, .yc-phero h1 { font-size: clamp(2.6rem, 9.2vw, 11.5rem); margin-left: -.03em; }
@media (min-width: 900px) { .yc-hero__title .yc-line { white-space: nowrap; } }
.yc-phero h1 { font-size: clamp(2.6rem, 8.6vw, 10rem); max-width: 14ch; }
.yc-line { display: block; overflow: hidden; padding-bottom: .04em; }
.yc-line > span {
	display: inline-block; transform: translateY(108%);
	animation: yc-rise 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + .8s);
}
.yc-hero__foot {
	display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
	margin-top: clamp(28px, 4.5vh, 56px);
	animation: yc-fade 1s ease 1.5s both;
}
.yc-hero__foot .yc-lead, .yc-phero__lead { color: #e8eeea; }
.yc-phero__lead { margin-top: 28px; animation: yc-fade 1s ease 1.4s both; }

@keyframes yc-lift { to { transform: translateY(-101%); } }
@keyframes yc-settle { from { transform: scale(1.16); } to { transform: none; } }
@keyframes yc-rise { to { transform: none; } }
@keyframes yc-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Estructura de sección ---------- */
.yc-sec { padding: var(--sec) var(--gutter) var(--sec) var(--gl); }
.yc-sec-head {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col); row-gap: 28px;
	align-items: end; margin-bottom: clamp(40px, 6vw, 90px);
}
.yc-sec-head .yc-h2 { grid-column: 1 / 9; }
.yc-sec-head .yc-lead { grid-column: 9 / 13; }
.yc-sec-head--light .yc-lead { color: #dfe8e3; }

/* Revelado de imágenes (el único scroll-reveal) */
.js [data-clip] img { clip-path: inset(0 0 100% 0); transform: scale(1.18); transition: clip-path 1.3s var(--ease), transform 1.9s var(--ease); }
.js [data-clip].is-in img { clip-path: inset(0); transform: none; }

/* ---------- About ---------- */
.yc-about { background: var(--paper); }
.yc-about__title { max-width: 11ch; }
.yc-about__grid {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col);
	margin-top: clamp(48px, 7vw, 110px); align-items: start;
}
.yc-about__pic { grid-column: 1 / 6; position: sticky; top: 96px; aspect-ratio: 4 / 5; }
.yc-about__text { grid-column: 7 / 13; display: grid; gap: 2rem; }
.yc-statement { font-stretch: 90%; font-weight: 500; font-size: clamp(1.45rem, 2.35vw, 2.3rem); line-height: 1.2; letter-spacing: -.01em; }
.yc-statement span { opacity: var(--o, .2); transition: opacity .35s linear; }

/* ---------- Services: filas editoriales ---------- */
.yc-services { background: var(--concrete); position: relative; }
.yc-rows { border-top: 2px solid var(--ink); }
.yc-row {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col); align-items: start;
	padding: clamp(22px, 2.6vw, 38px) 0; border-bottom: 1px solid rgba(16, 19, 18, .3);
	transition: background .35s, color .35s, padding .5s var(--ease);
}
.yc-row h3 { grid-column: 1 / 8; font-size: clamp(1.9rem, 3.9vw, 4.2rem); }
.yc-row p { grid-column: 8 / 13; color: var(--steel); padding-top: .3em; transition: color .35s; }
.yc-row:hover { background: var(--green); color: var(--paper); padding-left: 22px; padding-right: 22px; }
.yc-row:hover p { color: #cfdad4; }

.yc-float {
	position: fixed; left: 0; top: 0; z-index: 30; width: clamp(180px, 15vw, 260px); aspect-ratio: 4 / 3;
	overflow: hidden; pointer-events: none; opacity: 0; scale: .85; translate: -9999px 0;
	transition: opacity .25s, scale .4s var(--ease);
}
.yc-float.is-on { opacity: 1; scale: 1; }
.yc-float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 999px) { .yc-float { display: none; } }

/* ---------- Automotive: tres verbos ---------- */
.yc-auto { background: var(--green); color: var(--paper); }
.yc-auto__in { padding: var(--sec) var(--gutter) var(--sec) var(--gl); }
.yc-trio { border-top: 2px solid var(--paper); }
.yc-trio__row {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col); align-items: center;
	padding: clamp(14px, 2vw, 30px) 0; border-bottom: 1px solid rgba(240, 241, 237, .35);
}
.yc-trio__word { grid-column: 1 / 9; font-size: clamp(4.2rem, 14vw, 16rem); line-height: .8; }
.yc-trio__list { grid-column: 9 / 13; display: grid; gap: 10px; font-stretch: 105%; font-weight: 500; }
.yc-trio__list li { padding-top: 10px; border-top: 1px solid rgba(240, 241, 237, .35); }
.yc-band { height: clamp(300px, 62svh, 720px); }

/* ---------- Sound familiar: escena fija, una situación por pantalla ---------- */
.yc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.yc-fit { position: relative; background: var(--green); color: #fff; }
.yc-fit__stage {
	position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
	display: grid; align-content: end; padding: 120px var(--gutter) 120px var(--gl);
}

/* Fotos: se revelan con un barrido desde abajo; la anterior queda debajo hasta que la nueva la cubre */
.yc-fit__imgs { position: absolute; inset: 0; z-index: -2; }
.yc-fit__imgs img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	clip-path: inset(100% 0 0 0); transform: scale(1.14);
	transition: clip-path 1.1s var(--ease), transform 1.8s var(--ease);
}
.yc-fit__imgs img.is-prev { clip-path: inset(0); transform: none; z-index: 1; }
.yc-fit__imgs img.is-on { clip-path: inset(0); transform: none; z-index: 2; }
.yc-fit:not(.is-pinned) .yc-fit__imgs img:first-child { clip-path: inset(0); transform: none; }
.yc-fit__imgs::after { z-index: 5; }
.yc-fit__imgs::before {
	content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
	background:
		linear-gradient(to top, rgba(11, 58, 43, .95) 0%, rgba(11, 58, 43, .62) 45%, rgba(11, 58, 43, .48) 100%),
		linear-gradient(to right, rgba(11, 58, 43, .55) 0%, rgba(11, 58, 43, 0) 70%);
}

/* Texto fantasma: cruza la pantalla de derecha a izquierda con el scroll */
.yc-fit__ghost {
	position: absolute; left: var(--gl); top: 8svh; z-index: -1; white-space: nowrap; pointer-events: none;
	font-size: clamp(8rem, 24vw, 32rem); line-height: .8; letter-spacing: -.01em;
	color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .3);
	transform: translateX(calc(var(--p, 0) * -66vw)); will-change: transform;
}

.yc-fit__slides { display: grid; gap: 0; }
.yc-fit__slide { display: grid; gap: 28px; padding: clamp(28px, 5vw, 64px) 0; }
.yc-fit__say { font-size: clamp(2.3rem, 6.7vw, 8.2rem); line-height: .9; max-width: 19ch; text-shadow: 0 2px 40px rgba(11, 58, 43, .45); }
.yc-fit__help {
	max-width: 52ch; padding-left: 20px; border-left: 4px solid var(--yellow);
	font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.35;
}
.yc-fit__help b { display: block; margin-bottom: 4px; font-stretch: 112%; font-weight: 700; font-size: .9rem; color: var(--yellow); }
.yc-fit__bars { display: none; }

.yc-fit-after { background: var(--paper); padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(40px, 5vw, 72px) var(--gl); }
.yc-fit-after .yc-note { margin-top: 0; }

/* Modo fijo (lo activa JS si no hay preferencia de movimiento reducido) */
.yc-fit.is-pinned { height: calc(var(--n, 4) * 100svh); }
.is-pinned .yc-fit__stage { position: sticky; top: 0; height: 100svh; min-height: 0; padding: 0; }
.is-pinned .yc-fit__slides { position: absolute; inset: 0; display: block; }
.is-pinned .yc-fit__slide {
	position: absolute; left: var(--gl); right: var(--gutter); bottom: clamp(110px, 17svh, 180px);
	padding: 0; pointer-events: none;
}
.is-pinned .yc-fit__slide.is-active { pointer-events: auto; }

.yc-fit__say .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em 0 .08em; margin-bottom: -.08em; }
.yc-fit__say .w > span {
	display: inline-block; transform: translateY(112%);
	transition: transform 1s var(--ease) calc(var(--w, 0) * 38ms + .3s);
}
.is-pinned .yc-fit__slide.is-active .w > span { transform: none; }
.is-pinned .yc-fit__slide.is-past .w > span { transform: translateY(-112%); transition-delay: calc(var(--w, 0) * 14ms); }

.is-pinned .yc-fit__help { opacity: 0; transform: translateY(18px); transition: opacity .3s, transform .3s; }
.is-pinned .yc-fit__slide.is-active .yc-fit__help { opacity: 1; transform: none; transition: opacity .8s .95s, transform 1s var(--ease) .95s; }

/* Barras de progreso (también navegan) */
.is-pinned .yc-fit__bars {
	position: absolute; left: var(--gl); bottom: clamp(34px, 6svh, 60px); z-index: 3; display: flex; gap: 10px;
}
.yc-fit__bars button { position: relative; width: clamp(56px, 7vw, 110px); height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
.yc-fit__bars button::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 4px; background: rgba(255, 255, 255, .32); }
.yc-fit__bars i {
	position: absolute; left: 0; top: 8px; height: 4px; width: 100%; background: var(--yellow);
	transform: scaleX(var(--f, 0)); transform-origin: left;
}

/* ---------- How we help: paneles que se apilan ---------- */
.yc-how { background: var(--concrete); }
.yc-stack { display: grid; }
.yc-panel {
	position: sticky; top: calc(76px + var(--n) * 26px);
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col); align-items: center;
	min-height: min(66svh, 600px); margin-bottom: clamp(24px, 5vw, 64px);
	padding: clamp(24px, 3vw, 48px);
	background: var(--bg, var(--green)); color: var(--fg, var(--paper));
}
.yc-panel:nth-child(1) { --bg: var(--green); }
.yc-panel:nth-child(2) { --bg: #0e4232; }
.yc-panel:nth-child(3) { --bg: var(--ink); }
.yc-panel:nth-child(4) { --bg: #2a3633; }
.yc-panel:nth-child(5) { --bg: var(--yellow); --fg: var(--ink); }
.yc-panel__no { grid-column: 1 / 4; font-size: clamp(9rem, 24vw, 26rem); line-height: .7; opacity: .95; }
.yc-panel__text { grid-column: 4 / 9; display: grid; gap: 22px; }
.yc-panel__text h3 { font-size: clamp(2.2rem, 4.4vw, 5rem); overflow-wrap: anywhere; }
.yc-panel__text p { max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.4rem); }
.yc-panel__pic { grid-column: 9 / 13; aspect-ratio: 4 / 5; }
.yc-panel:nth-child(5) .yc-panel__pic { background: var(--ink); }

/* ---------- Why ---------- */
.yc-why__hero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: clamp(380px, 68svh, 760px);
	display: grid; align-content: end; padding: 48px var(--gutter) clamp(28px, 4vw, 56px) var(--gl);
}
.yc-why__hero .yc-h2 { position: relative; z-index: 3; }
.yc-why__list {
	background: var(--paper); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 7vw, 120px);
	align-items: start;
}
.yc-why__item { padding-top: 22px; border-top: 2px solid var(--ink); margin-bottom: clamp(36px, 5vw, 72px); }
.yc-why__item:nth-child(even) { margin-top: clamp(40px, 9vw, 140px); }
.yc-why__item h3 { font-size: clamp(2rem, 3.6vw, 3.8rem); margin-bottom: 18px; }
.yc-why__item p { max-width: 36ch; color: var(--steel); }

/* ---------- Contact ---------- */
.yc-contact-sec { background: var(--ink); color: var(--paper); }
.yc-contact-sec .yc-h2 { margin-bottom: clamp(40px, 6vw, 90px); }
.yc-contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col); row-gap: 48px; }
.yc-contact__info { grid-column: 1 / 6; display: grid; gap: 48px; align-content: start; }
.yc-contact__form { grid-column: 7 / 13; }
.yc-facts { display: grid; }
.yc-facts div { display: grid; grid-template-columns: 9rem 1fr; padding: 14px 0; border-top: 1px solid rgba(240, 241, 237, .3); }
.yc-facts dt { font-stretch: 110%; font-weight: 600; font-size: .9rem; color: #aab4b0; padding-top: .2em; }
.yc-facts dd { font-weight: 500; }

.yc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px; }
.yc-field { display: grid; gap: 8px; }
.yc-field--full { grid-column: 1 / -1; }
.yc-field > span { font-stretch: 110%; font-weight: 600; font-size: .9rem; color: #aab4b0; transition: color .25s; }
.yc-field:focus-within > span { color: var(--yellow); }
.yc-field input, .yc-field select, .yc-field textarea {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(240, 241, 237, .45); border-radius: 0;
	color: var(--paper); font: inherit; font-weight: 500; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.3;
	padding: 8px 0 14px; outline: none; resize: vertical; transition: border-color .25s;
}
.yc-field input:focus, .yc-field select:focus, .yc-field textarea:focus { border-color: var(--yellow); }
.yc-field select option { color: #000; }
.yc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.yc-notice { margin-bottom: 28px; padding: 16px 20px; border-left: 4px solid var(--yellow); background: rgba(242, 195, 0, .1); }
.yc-notice--err { border-left-color: #ff6b4a; background: rgba(255, 107, 74, .12); }

/* ---------- CTA band ---------- */
.yc-cta {
	background: var(--yellow); color: var(--ink); padding: var(--sec) var(--gutter) var(--sec) var(--gl);
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col); row-gap: 40px; align-items: end;
}
.yc-cta .yc-h2 { grid-column: 1 / 9; }
.yc-cta__side { grid-column: 9 / 13; display: grid; gap: 28px; justify-items: start; }

/* ---------- Legal / prose ---------- */
.yc-legal { background: var(--paper); }
.yc-prose { max-width: 70ch; }
.yc-prose h2 { font-stretch: 75%; font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.05; margin: 2.2em 0 .6em; }
.yc-prose h2:first-child, .yc-prose .yc-updated + p + h2 { margin-top: 1.6em; }
.yc-prose .yc-updated { color: var(--steel); font-weight: 600; margin-bottom: 1.6em; }
.yc-prose h3 { font-stretch: 90%; font-weight: 700; font-size: 1.25rem; margin: 1.8em 0 .5em; }
.yc-prose p, .yc-prose ul { margin-bottom: 1.2em; }
.yc-prose ul { list-style: disc; padding-left: 1.2em; }
.yc-prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.yc-foot { background: var(--green); color: var(--paper); padding: clamp(56px, 7vw, 100px) var(--gutter) 26px var(--gl); overflow: hidden; }
.yc-foot__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col); row-gap: 36px; }
.yc-foot__about { grid-column: 1 / 5; font-stretch: 90%; font-weight: 500; font-size: 1.25rem; line-height: 1.3; max-width: 28ch; }
.yc-foot__nav { grid-column: 6 / 9; }
.yc-foot__nav ul { display: grid; gap: 8px; }
.yc-foot__nav a { text-decoration: none; font-stretch: 105%; font-weight: 500; }
.yc-foot__nav a:hover { color: var(--yellow); }
.yc-foot__note { grid-column: 9 / 13; font-size: .9rem; color: #bccac3; }
.yc-foot__word { font-size: clamp(4.5rem, 22.4vw, 30rem); line-height: .74; margin: clamp(40px, 6vw, 90px) 0 0 -.03em; white-space: nowrap; }
.yc-foot__bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
	margin-top: clamp(20px, 3vw, 40px); padding-top: 20px; border-top: 1px solid rgba(240, 241, 237, .3);
	font-stretch: 105%; font-weight: 500; font-size: .85rem;
}
.yc-foot__legal { display: flex; gap: 28px; }
.yc-foot__bottom a { text-decoration: none; }
.yc-foot__bottom a:hover { color: var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.yc-sec-head .yc-h2, .yc-sec-head .yc-lead,
	.yc-row h3, .yc-row p,
	.yc-trio__word, .yc-trio__list,
	.yc-cta .yc-h2, .yc-cta__side,
	.yc-contact__info, .yc-contact__form,
	.yc-foot__about, .yc-foot__nav, .yc-foot__note { grid-column: 1 / -1; }
	.yc-row p { margin-top: 12px; }
	.yc-trio__list { margin-top: 18px; }

	.yc-about__pic, .yc-about__text { grid-column: 1 / -1; }
	/* relative (no static): el ::after del tinte necesita un contenedor posicionado */
	.yc-about__pic { position: relative; top: auto; aspect-ratio: 4 / 3; }
	.yc-about__text { margin-top: 36px; }

	.yc-panel { grid-template-columns: 1fr; row-gap: 20px; min-height: 0; top: calc(64px + var(--n) * 14px); }
	.yc-panel__no, .yc-panel__text, .yc-panel__pic { grid-column: 1 / -1; }
	.yc-panel__no { font-size: 6rem; }
	.yc-panel__pic { aspect-ratio: 16 / 9; }

	.yc-why__list { grid-template-columns: 1fr; }
	.yc-why__item:nth-child(even) { margin-top: 0; }
	.yc-form { grid-template-columns: 1fr; }
	.yc-facts div { grid-template-columns: 7rem 1fr; }
	.yc-mark { font-size: 1.6rem; }
}

/* ---------- Reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.yc-hero__veil { display: none; }
	.yc-line > span { transform: none; }
	.js [data-clip] img { clip-path: none; transform: none; }
	.yc-statement span { opacity: 1; }
}
