/* ── Home: hero (portada del manual) ── */
.fast-hero {
	--curva-fondo: var(--fast-blanco);
	position: relative;
	overflow: clip;
	padding-top: clamp(40px, 5vw, 72px);
}

.fast-hero__texto {
	display: grid;
	justify-items: start;
	gap: 28px;
}

.fast-hero .fast-claim {
	max-width: 12ch;
	font-size: var(--fast-claim);
}

.fast-hero__escena {
	--l: clamp(140px, 17.5vw, 280px);
	position: relative;
	z-index: 1;
	height: calc(var(--l) * 1.31);
	margin: clamp(8px, 1vw, 16px) 0 calc(var(--fast-curva-alto) * -0.8);
}

@media (max-width: 760px) {
	.fast-hero__escena {
		margin-top: 44px;
	}
}

.fast-hero__franja {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(var(--l) * 0.436);
	height: calc(var(--l) * 0.381);
	--franja-alto: calc(var(--l) * 0.381);
}

.fast-hero__latas {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 100%;
}

.fast-hero__latas li {
	flex: none;
	--escala: 1;
	--formato: 1;
	height: calc(var(--l) * var(--escala) * var(--formato));
}

.fast-hero__latas li[data-formato="4gl"] {
	--formato: 1.31;
}

.fast-hero__latas li + li {
	margin-left: calc(var(--l) * -0.06);
}

.fast-hero__latas li:nth-child(1),
.fast-hero__latas li:nth-child(6) {
	--escala: 0.62;
}

.fast-hero__latas li:nth-child(2),
.fast-hero__latas li:nth-child(5) {
	--escala: 0.8;
	z-index: 1;
}

.fast-hero__latas li:nth-child(3),
.fast-hero__latas li:nth-child(4) {
	z-index: 2;
}

.fast-hero__latas img {
	height: 100%;
	width: auto;
	max-width: none;
}

/* ── Home: colores (muestrario digital) ── */
.fast-colores {
	padding-top: clamp(72px, 10vw, 144px);
}

.fast-muestrario__tarjeta {
	border: 1px solid var(--fast-linea);
	border-top: 0;
}

.fast-muestrario__cabeza {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(20px, 3vw, 36px);
}

.fast-muestrario__logo {
	flex: none;
	width: clamp(96px, 10vw, 150px);
}

.fast-muestrario__cabeza p {
	text-align: right;
}

.fast-muestrario__cabeza b {
	display: block;
	font-size: var(--fast-t2);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
}

.fast-muestrario__cabeza span {
	display: block;
	margin-top: 6px;
	font-size: 1.2rem;
	font-weight: 700;
}

.fast-muestrario__franja {
	--franja-alto: clamp(48px, 5vw, 72px);
}

.fast-muestrario__cuerpo {
	padding: clamp(24px, 3vw, 40px);
}

.fast-muestrario__chips {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
	gap: 22px 18px;
}

.fast-muestrario__chips li {
	display: grid;
	justify-items: center;
	gap: 8px;
	text-align: center;
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.2;
}

.fast-muestrario__chips .fast-ovalo {
	width: 92%;
}

.fast-muestrario__nuevos h3,
.fast-muestrario__pie h3 {
	font-size: 1.15rem;
	letter-spacing: 0;
}

.fast-muestrario__nuevos h3 {
	margin-block: 36px 18px;
}

.fast-muestrario__pie {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 24px;
	padding: 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 36px);
}

.fast-muestrario__pie p {
	max-width: 62ch;
	margin-top: 6px;
}

.fast-muestrario__rotulo {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fast-muestrario__pie .fast-muestrario__uso {
	max-width: 46ch;
	margin-top: 8px;
	font-size: var(--fast-t3);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.fast-muestrario__pie .fast-muestrario__nota {
	margin-top: 18px;
	color: var(--fast-texto-suave);
	font-size: 0.82rem;
	font-style: italic;
}

.fast-muestrario__lata {
	height: clamp(130px, 14vw, 200px);
	width: auto;
}

/* ── Home: qué vas a pintar ── */
.fast-pintar {
	padding-top: clamp(72px, 10vw, 144px);
}

.fast-pintar h3 {
	color: inherit;
}

/* ── Tabla de superficies ── */
.fast-pintar2 {
	position: relative;
	overflow-x: auto;
}

.fast-pintar2 table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
}

.fast-pintar2 thead th {
	padding: 0 6px 16px;
	vertical-align: bottom;
}

.fast-pintar2 thead a {
	display: grid;
	justify-items: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.fast-pintar2 thead img {
	height: 96px;
	width: auto;
}

.fast-pintar2 tbody tr {
	border-top: 3px solid var(--fast-tinta);
}

.fast-pintar2 tbody tr:last-child {
	border-bottom: 3px solid var(--fast-tinta);
}

.fast-pintar2 tbody th {
	width: 30%;
	padding: 20px 20px 20px 0;
	text-align: left;
	font-weight: 500;
}

.fast-pintar2 tbody th b {
	display: block;
	font-size: 1.35rem;
	font-weight: 800;
}

.fast-pintar2 tbody th span {
	display: block;
	margin-top: 4px;
	color: var(--fast-texto-suave);
	font-size: 0.9rem;
}

.fast-pintar2 td {
	text-align: center;
	vertical-align: middle;
}

.fast-pintar2 td .fast-ovalo {
	--c: var(--color);
	width: 64px;
	margin-inline: auto;
}

/* ── Tabla de superficies: móvil ── */
@media (max-width: 760px) {
	.fast-pintar2 {
		overflow: visible;
	}

	.fast-pintar2 table {
		min-width: 0;
	}

	.fast-pintar2 thead tr,
	.fast-pintar2 tbody tr {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.fast-pintar2 thead td {
		display: none;
	}

	.fast-pintar2 thead th {
		padding: 0 2px 14px;
		vertical-align: top;
	}

	.fast-pintar2 thead a {
		align-content: start;
		gap: 6px;
		font-size: clamp(0.66rem, 0.5rem + 0.7vw, 0.8rem);
		line-height: 1.15;
		text-align: center;
		hyphens: auto;
		hyphenate-limit-chars: 8 4 4;
		overflow-wrap: anywhere;
	}

	.fast-pintar2 thead img {
		height: clamp(48px, 13vw, 76px);
	}

	.fast-pintar2 tbody th {
		grid-column: 1 / -1;
		width: auto;
		padding: 18px 0 14px;
	}

	.fast-pintar2 tbody th b {
		font-size: 1.15rem;
	}

	.fast-pintar2 td {
		display: grid;
		place-items: center;
		min-height: 32px;
		padding: 0 2px 20px;
	}

	.fast-pintar2 td .fast-ovalo {
		width: min(48px, 100%);
	}
}

/* ── Guiño: telar ── */
.fast-guino1 {
	--alto: clamp(240px, 32vw, 440px);
	position: relative;
	display: grid;
	place-items: center;
	height: var(--alto);
}

.fast-guino1__franja {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-rows: 153fr 70fr 105fr 145fr 70fr 86fr;
}

.fast-guino1__banda {
	background: url("../../img/franja.svg") 0 0 / auto var(--alto) repeat-x;
	transform-origin: left;
}

.fast-guino1__banda--2 { background-position-y: calc(var(--alto) * -153 / 629); }
.fast-guino1__banda--3 { background-position-y: calc(var(--alto) * -223 / 629); }
.fast-guino1__banda--4 { background-position-y: calc(var(--alto) * -328 / 629); }
.fast-guino1__banda--5 { background-position-y: calc(var(--alto) * -473 / 629); }
.fast-guino1__banda--6 { background-position-y: calc(var(--alto) * -543 / 629); }

.fast-guino1__logo {
	position: relative;
	width: min(44%, 480px);
}

[data-telar="listo"] .fast-guino1__banda {
	transform: scaleX(0);
}

[data-telar="tejiendo"] .fast-guino1__banda {
	animation: fast-tejer 160ms steps(4, end) both;
}

[data-telar="tejiendo"] .fast-guino1__banda--2 { animation-delay: 140ms; }
[data-telar="tejiendo"] .fast-guino1__banda--3 { animation-delay: 280ms; }
[data-telar="tejiendo"] .fast-guino1__banda--4 { animation-delay: 420ms; }
[data-telar="tejiendo"] .fast-guino1__banda--5 { animation-delay: 560ms; }
[data-telar="tejiendo"] .fast-guino1__banda--6 { animation-delay: 700ms; }

[data-telar="listo"] .fast-guino1__logo {
	transform: scale(0);
}

[data-telar="tejiendo"] .fast-guino1__logo {
	animation: fast-sello 220ms 880ms var(--fast-curva-mov) both;
}

@keyframes fast-tejer {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes fast-sello {
	from { transform: scale(0); }
	to { transform: scale(1); }
}

/* ── Home: blog, noticias y lanzamientos ── */
.fast-blog-home {
	padding-top: clamp(96px, 12vw, 176px);
}

.fast-blog-mosaico {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: clamp(220px, 21vw, 320px);
}

.fast-bm--grande {
	grid-column: span 2;
	grid-row: span 2;
}

.fast-bm__enlace {
	position: relative;
	display: block;
	height: 100%;
	overflow: hidden;
	text-decoration: none;
}

.fast-bm--envase {
	background: var(--color);
}

.fast-bm__foto {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--fast-rapido) var(--fast-curva-mov);
}

.fast-bm__lata {
	position: absolute;
	inset: 7% 0 134px;
	width: 100%;
	height: calc(93% - 134px);
	object-fit: contain;
	transition: transform var(--fast-rapido) var(--fast-curva-mov);
}

.fast-bm__enlace:hover .fast-bm__foto {
	transform: scale(1.04);
}

.fast-bm__enlace:hover .fast-bm__lata {
	transform: rotate(-3deg) scale(1.04);
	filter: drop-shadow(10px 10px 0 var(--acento));
}

.fast-bm__base {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	display: grid;
	justify-items: start;
	gap: 6px;
	padding: 12px 16px 14px;
}

.fast-bm__titulo {
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.2;
}

.fast-bm__base time {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--fast-texto-suave);
}

.fast-bm--grande .fast-bm__base {
	left: 16px;
	right: 16px;
	bottom: 16px;
	padding: 20px 24px 22px;
}

.fast-bm--grande .fast-bm__titulo {
	font-size: clamp(1.5rem, 1rem + 1.4vw, 2.4rem);
	line-height: 1.05;
}

.fast-bm__enlace:hover .fast-bm__titulo {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

@media (max-width: 760px) {
	.fast-blog-mosaico {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 58vw;
	}

	.fast-bm__titulo {
		font-size: 0.9rem;
	}

	.fast-bm__base time {
		display: none;
	}
}

/* ── Home v2.5: hero con luz ── */
.fast-hero--luz {
	--luz: color-mix(in oklab, var(--color), var(--fast-blanco) 26%);
	--penumbra: color-mix(in oklab, var(--color), var(--fast-negro) 24%);
	--pie: clamp(24px, 3.5vw, 56px);
	padding-bottom: calc(var(--fast-curva-alto) + var(--pie));
	background:
		linear-gradient(var(--fast-blanco) 0 0) 0 100% / 100% var(--pie) no-repeat,
		radial-gradient(ellipse 48% 70% at 68% 30%, var(--luz), transparent 100%),
		radial-gradient(ellipse 110% 105% at 64% 28%, var(--color) 30%, var(--penumbra) 100%);
	background-color: var(--color);
}

.fast-hero--luz .fast-hero__texto {
	position: relative;
	z-index: 1;
}

.fast-hero--luz::after {
	bottom: calc(var(--pie) - 1px);
}

.fast-hero--luz .fast-hero__escena {
	--l: min(clamp(120px, 22vw, 340px), 25vw);
	--hundir: calc(var(--l) * 0.06);
	height: var(--l);
	margin-bottom: calc((var(--fast-curva-alto) + var(--pie) - var(--hundir)) * -1);
}

.fast-hero--luz .fast-hero__latas {
	isolation: isolate;
}

.fast-hero--luz .fast-hero__latas::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	bottom: calc(var(--l) * -0.06);
	width: calc(var(--l) * 3.9);
	height: calc(var(--l) * 0.16);
	translate: -50% 0;
	background: radial-gradient(closest-side, rgb(0 0 0 / 0.38), rgb(0 0 0 / 0.14) 55%, transparent);
	pointer-events: none;
}
