/* ==========================================================================
   gesto · estilos del sitio
   Colores, tipografías y recursos según el Manual de marca 2026.
   Para cambiar un color en todo el sitio, edita las variables de :root.
   ========================================================================== */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-soft.woff2") format("woff2");
	font-weight: 600 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("../fonts/instrument-sans.woff2") format("woff2");
	font-weight: 400 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "DM Mono";
	src: url("../fonts/dm-mono.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Paleta oficial */
	--bosque: #0b231a;
	--botella: #1c4634;
	--chispa: #fa782a;
	--lino: #f4efe4;
	--arena: #e6decb;
	--piedra: #55625c;
	--tinta: #101311;

	/* Tipografías */
	--f-titulo: "Fraunces", Georgia, "Times New Roman", serif;
	--f-texto: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "DM Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

	/* Medidas */
	--wrap: 1240px;
	--gutter: clamp(1rem, 4vw, 3rem);
	--sec: clamp(4.5rem, 9vw, 8rem);
	--radio: 6px;
	--header-h: 76px;

	/* Movimiento */
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-back: cubic-bezier(0.34, 1.3, 0.64, 1);

	/* Valores por defecto (fondo lino) */
	--g-bg: var(--lino);
	--g-ink: var(--tinta);
	--g-line: rgba(16, 19, 17, 0.14);
	--g-soft: var(--piedra);
}

/* --------------------------------------------------------------------------
   Colores de la paleta (los mismos que ofrece el editor de WordPress)
   -------------------------------------------------------------------------- */
.has-bosque-color { color: var(--bosque) !important; }
.has-botella-color { color: var(--botella) !important; }
.has-chispa-color { color: var(--chispa) !important; }
.has-lino-color { color: var(--lino) !important; }
.has-arena-color { color: var(--arena) !important; }
.has-piedra-color { color: var(--piedra) !important; }
.has-tinta-color { color: var(--tinta) !important; }

.has-bosque-background-color { background-color: var(--bosque) !important; }
.has-botella-background-color { background-color: var(--botella) !important; }
.has-chispa-background-color { background-color: var(--chispa) !important; }
.has-lino-background-color { background-color: var(--lino) !important; }
.has-arena-background-color { background-color: var(--arena) !important; }
.has-piedra-background-color { background-color: var(--piedra) !important; }
.has-tinta-background-color { background-color: var(--tinta) !important; }

.has-lino-background-color,
.has-arena-background-color,
.has-chispa-background-color {
	--g-ink: var(--tinta);
	--g-line: rgba(16, 19, 17, 0.14);
	--g-soft: var(--piedra);
}
.has-lino-background-color { --g-bg: var(--lino); }
.has-arena-background-color { --g-bg: var(--arena); --g-soft: #46524c; --g-line: rgba(16, 19, 17, 0.16); }
.has-bosque-background-color,
.has-botella-background-color,
.has-tinta-background-color,
.has-piedra-background-color {
	--g-ink: var(--lino);
	--g-line: rgba(244, 239, 228, 0.16);
	--g-soft: rgba(244, 239, 228, 0.74);
}
.has-bosque-background-color { --g-bg: var(--bosque); }
.has-botella-background-color { --g-bg: var(--botella); }
.has-tinta-background-color { --g-bg: var(--tinta); }

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
	scrollbar-color: var(--botella) var(--lino);
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--lino);
	color: var(--tinta);
	font-family: var(--f-texto);
	font-size: 1.0625rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

::selection { background: var(--chispa); color: var(--bosque); }

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

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color 0.2s, text-decoration-color 0.2s, opacity 0.2s;
}

h1, h2, h3, h4,
.wp-block-heading {
	font-family: var(--f-titulo);
	font-weight: 700;
	font-variation-settings: "SOFT" 100;
	font-optical-sizing: auto;
	letter-spacing: -0.015em;
	text-wrap: balance;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.75rem, 1.5rem + 4.6vw, 5.25rem); line-height: 0.95; }
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); line-height: 1.02; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child,
ul:last-child,
ol:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

.g-main { display: block; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* El espacio entre bloques (blockGap) es 0 en theme.json: el ritmo lo define este archivo. */

.g-wrap {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}

.g-section { padding-block: var(--sec); position: relative; }

.g-lead {
	font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
	line-height: 1.4;
	font-weight: 500;
	max-width: 40ch;
}

.g-label {
	font-family: var(--f-mono);
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	text-transform: lowercase;
	color: var(--g-soft);
	margin: 0 0 0.5rem;
}

.g-textlink a {
	font-weight: 500;
	text-decoration-color: var(--chispa);
	text-decoration-thickness: 2px;
}
.g-textlink a:hover { text-decoration-color: currentColor; }

/* Saltar al contenido (WordPress lo agrega solo) */
.skip-link.screen-reader-text:focus {
	background: var(--lino);
	color: var(--bosque);
	padding: 0.75rem 1rem;
	z-index: 100;
}

/* --------------------------------------------------------------------------
   Recursos gráficos de la marca
   -------------------------------------------------------------------------- */

/* Punto final: cierra los titulares que afirman algo. */
.is-style-punto::after {
	content: "";
	display: inline-block;
	width: 0.19em;
	height: 0.19em;
	margin-left: 0.06em;
	border-radius: 50%;
	background: var(--chispa);
}

/* Mordisco: el punto muerde la esquina de una foto, con aire. */
.is-style-mordisco { position: relative; }
.is-style-mordisco::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: clamp(3.25rem, 7vw, 5.75rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--chispa);
	box-shadow: 0 0 0 clamp(7px, 1vw, 12px) var(--g-bg);
	transform: translate(32%, -32%);
	pointer-events: none;
}

/* Recorte: la g en gran escala, cortada por el borde. */
.is-style-recorte,
.g-footer { position: relative; isolation: isolate; overflow: hidden; }
.is-style-recorte::before,
.g-footer::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -6vw;
	bottom: -22vw;
	width: clamp(320px, 44vw, 700px);
	aspect-ratio: 1150 / 1700;
	background: url("../img/isotipo-botella.svg") center / contain no-repeat;
	opacity: 0.55;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.wp-block-buttons.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}
.wp-block-button { margin: 0; }
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.85rem 1.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--bosque);
	color: var(--lino);
	font-family: var(--f-texto);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.wp-block-button__link:hover { background: var(--botella); }
.wp-block-button__link:active { transform: scale(0.97); }

.is-style-claro .wp-block-button__link { background: var(--lino); color: var(--bosque); }
.is-style-claro .wp-block-button__link:hover { background: var(--chispa); color: var(--bosque); }

.is-style-linea .wp-block-button__link {
	background: transparent;
	color: inherit;
	box-shadow: inset 0 0 0 1.5px currentColor;
}
.is-style-linea .wp-block-button__link:hover {
	background: color-mix(in srgb, currentColor 10%, transparent);
}

/* --------------------------------------------------------------------------
   Encabezado
   -------------------------------------------------------------------------- */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 60;
}
.admin-bar header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }

.g-header {
	padding-block: 0.875rem;
	border-bottom: 1px solid rgba(244, 239, 228, 0.08);
}
.g-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	min-height: calc(var(--header-h) - 1.75rem);
}
.g-logo { flex: none; }
.g-logo a { display: block; }
.g-logo img { width: 104px; }

.g-nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.4vw, 2rem);
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
}
.g-nav li { margin: 0; }
.g-nav a {
	display: inline-block;
	padding-block: 0.5rem;
	text-decoration: none;
	opacity: 0.86;
}
.g-nav a:hover { opacity: 1; text-decoration: underline; }
.g-nav a[aria-current="page"] {
	opacity: 1;
	text-decoration: underline;
	text-decoration-color: var(--chispa);
	text-decoration-thickness: 2px;
}
.g-header__cta .wp-block-button__link { min-height: 2.6rem; padding: 0.6rem 1.15rem; font-size: 0.9375rem; }

.g-menu-toggle {
	display: none;
	margin-left: auto;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	padding: 0.5rem 1rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	box-shadow: inset 0 0 0 1px rgba(244, 239, 228, 0.35);
	font: 500 0.9375rem/1 var(--f-texto);
	cursor: pointer;
}
.g-menu-toggle__icon {
	position: relative;
	width: 16px;
	height: 10px;
}
.g-menu-toggle__icon::before,
.g-menu-toggle__icon::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
.g-menu-toggle__icon::before { top: 1px; }
.g-menu-toggle__icon::after { top: 7.5px; }
.g-header.is-open .g-menu-toggle__icon::before { top: 4.25px; transform: rotate(45deg); }
.g-header.is-open .g-menu-toggle__icon::after { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 880px) {
	.g-js .g-menu-toggle { display: inline-flex; }
	.g-js .g-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 59;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
		margin: 0;
		padding: 2rem var(--gutter) 3rem;
		background: var(--bosque);
		font-family: var(--f-titulo);
		font-weight: 700;
		font-size: clamp(2rem, 8vw, 2.75rem);
		letter-spacing: -0.015em;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
	}
	.admin-bar.g-js .g-nav { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px)); }
	.g-js .g-header.is-open .g-nav {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s;
	}
	.g-js .g-nav a { opacity: 1; padding-block: 0.35rem; }
	.g-header .g-header__cta.wp-block-buttons { display: none; }
	html:not(.g-js) .g-header__inner { flex-wrap: wrap; }
}

/* --------------------------------------------------------------------------
   Portada de inicio
   -------------------------------------------------------------------------- */
.g-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: clamp(2.5rem, 7vw, 5.5rem);
}
.g-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	align-items: end;
	gap: clamp(1.5rem, 4vw, 3rem);
	min-height: min(calc(100svh - var(--header-h)), 860px);
}
.g-hero__text {
	align-self: center;
	padding-bottom: clamp(3rem, 6vw, 5rem);
}
.g-hero__title {
	font-size: clamp(3.1rem, 1.3rem + 6vw, 6rem);
	line-height: 0.92;
	letter-spacing: -0.025em;
	max-width: 9.5ch;
	margin-bottom: 0.38em;
}
.g-hero .g-lead { color: rgba(244, 239, 228, 0.86); margin-bottom: 2.25rem; }
.g-hero__tags { margin-top: 2.5rem; color: rgba(244, 239, 228, 0.6); }
.g-hero__phone {
	position: absolute;
	z-index: -1;
	top: 0;
	right: 0;
	bottom: 0;
	width: 52%;
}
.g-hero__phone img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 78%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}

@media (prefers-reduced-motion: no-preference) {
	.g-hero__title.is-style-punto::after {
		animation: g-punto 0.9s var(--ease-back) 0.55s both;
	}
	.g-hero__phone img {
		animation: g-subir 1.1s var(--ease-out) 0.1s both;
	}
}
@keyframes g-punto {
	0% { transform: translateY(-1.4em) scale(0.2); opacity: 0; }
	55% { transform: translateY(0) scale(1.18); opacity: 1; }
	100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes g-subir {
	from { transform: scale(1.04); opacity: 0; }
	to { transform: none; opacity: 1; }
}

@media (max-width: 820px) {
	.g-hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.g-hero__text { padding-bottom: 0; }
	.g-hero__phone { position: relative; z-index: 0; width: auto; margin: 1rem calc(-1 * var(--gutter)) 0; height: 360px; }
	.g-hero__phone img { object-position: 50% 80%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
}

/* --------------------------------------------------------------------------
   Bloques de texto + imagen
   -------------------------------------------------------------------------- */
.g-split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: center;
}
.g-split--reverse .g-split__media { order: 2; }
.g-split__media img,
.g-pagehero__media img,
.g-svc__media img,
.g-contacto__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radio);
}
.g-split__text h2 { max-width: 13ch; margin-bottom: 0.6em; }
.g-split__text .g-lead { margin-bottom: 1.25rem; }
.g-split__text p:not(.g-lead) { max-width: 54ch; color: var(--g-soft); }
.g-split__text .g-textlink { margin-top: 1.75rem; color: var(--g-ink); }

@media (max-width: 820px) {
	.g-split { grid-template-columns: 1fr; }
	.g-split--reverse .g-split__media { order: 0; }
	.g-split__media { width: min(100%, 460px); }
}

/* --------------------------------------------------------------------------
   Servicios en inicio: lista con punto viajero y foto
   -------------------------------------------------------------------------- */
.g-section__head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 1.5rem clamp(2rem, 6vw, 6rem);
	align-items: end;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.g-section__head h2 { max-width: 14ch; margin: 0; }
.g-section__head p { color: var(--g-soft); max-width: 44ch; margin: 0; }

.g-services { position: relative; border-bottom: 1px solid var(--g-line); }
.g-service {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 2rem;
	align-items: center;
	padding-block: clamp(1.25rem, 2.4vw, 1.75rem);
	border-top: 1px solid var(--g-line);
}
.g-service__name {
	grid-column: 1;
	margin: 0;
	font-size: clamp(1.65rem, 1rem + 2.3vw, 2.75rem);
	line-height: 1.02;
	transition: transform 0.5s var(--ease-out);
}
.g-service__name a { text-decoration: none; }
.g-service__desc {
	grid-column: 1;
	margin: 0.45rem 0 0;
	max-width: 48ch;
	color: var(--g-soft);
	font-size: 0.9875rem;
	transition: transform 0.5s var(--ease-out);
}
.g-service__meta {
	grid-column: 2;
	grid-row: 1 / span 2;
	margin: 0;
	max-width: 19ch;
	text-align: right;
	font-family: var(--f-mono);
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--g-soft);
}
/* Sin JavaScript (y en el editor) las fotos se ven como miniaturas. */
.g-service__img { grid-column: 1 / -1; margin-top: 1rem; max-width: 220px; }
.g-service__img img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radio); }

.g-js .g-service__name a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.g-js .g-service__img { display: none; }

@media (min-width: 900px) {
	.g-js .g-services { padding-right: calc(34% + clamp(2rem, 4vw, 4rem)); }
	.g-js .g-service { position: static; }
	.g-js .g-service > * { position: relative; }
	.g-js .g-service__name a::after { inset: auto; }
	.g-js .g-service__img {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 34%;
		max-width: none;
		margin: 0;
		clip-path: inset(100% 0 0 0 round var(--radio));
		transition: clip-path 0.75s var(--ease-out);
		pointer-events: none;
	}
	.g-js .g-service__img img { width: 100%; height: auto; }
	.g-js .g-service.is-active .g-service__img {
		clip-path: inset(0 0 0 0 round var(--radio));
		z-index: 1;
	}
	.g-js .g-service.is-active .g-service__name,
	.g-js .g-service.is-active .g-service__desc { transform: translateX(1.6rem); }
	.g-js .g-service:hover { cursor: pointer; }
}

.g-services__dot {
	position: absolute;
	left: 0;
	top: 0;
	width: 0.85rem;
	height: 0.85rem;
	margin-top: -0.425rem;
	border-radius: 50%;
	background: var(--chispa);
	transition: transform 0.6s var(--ease-back), opacity 0.3s;
	pointer-events: none;
	z-index: 2;
}
@media (max-width: 899px) {
	.g-services__dot { display: none; }
	.g-service { grid-template-columns: 1fr; }
	.g-service__meta { grid-column: 1; grid-row: auto; text-align: left; max-width: none; margin-top: 0.6rem; }
}

/* --------------------------------------------------------------------------
   Proceso en 4 pasos
   -------------------------------------------------------------------------- */
.g-proceso__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: start;
}
.g-proceso__intro h2 { max-width: 12ch; }
.g-proceso__intro p { color: var(--g-soft); max-width: 40ch; }
.g-proceso__img { margin-top: 2.25rem; }
.g-proceso__img img { aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radio); }

.g-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: paso;
}
.g-steps li {
	counter-increment: paso;
	position: relative;
	padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(1.5rem, 3vw, 2.25rem) clamp(4.25rem, 8vw, 6.5rem);
	border-top: 1px solid var(--g-line);
	color: var(--g-soft);
	max-width: 60ch;
}
.g-steps li:last-child { border-bottom: 1px solid var(--g-line); }
.g-steps li::before {
	content: counter(paso, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: clamp(1.3rem, 2.8vw, 2rem);
	font-family: var(--f-titulo);
	font-weight: 700;
	font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem);
	line-height: 1;
	color: var(--botella);
}
.g-steps strong {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--f-titulo);
	font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--g-ink);
}
@media (max-width: 820px) {
	.g-proceso__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Escenario: tres principios bajo tres focos
   -------------------------------------------------------------------------- */
.g-stage {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	min-height: clamp(600px, 56.25vw, 900px);
}
.g-stage__bg { position: absolute; inset: 0; z-index: -1; }
.g-stage__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 60%;
}
.g-stage__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(16, 19, 17, 0.7) 0%, rgba(16, 19, 17, 0) 32%, rgba(16, 19, 17, 0) 58%, rgba(16, 19, 17, 0.88) 84%);
}
.g-stage__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4.5rem);
}
.g-stage__title {
	text-align: center;
	max-width: 16ch;
	margin-inline: auto;
}
.g-stage__trio {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: min(60vw, 100%);
	margin-inline: auto;
	text-align: center;
}
.g-stage__item { padding-inline: clamp(0.5rem, 1.5vw, 1.25rem); }
.g-stage__item h3 { font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem); margin-bottom: 0.45em; }
.g-stage__item p { color: rgba(244, 239, 228, 0.78); font-size: 0.9875rem; max-width: 28ch; margin-inline: auto; }

@media (max-width: 900px) {
	.g-stage { min-height: 0; }
	.g-stage__bg img { object-position: 50% 55%; }
	.g-stage__bg::after { background: linear-gradient(180deg, rgba(16, 19, 17, 0.55) 0%, rgba(16, 19, 17, 0.25) 30%, rgba(16, 19, 17, 0.92) 62%); }
	.g-stage__content { gap: 16rem; }
	.g-stage__trio { grid-template-columns: 1fr; width: 100%; gap: 1.75rem; }
}

/* --------------------------------------------------------------------------
   Para quién + compromisos
   -------------------------------------------------------------------------- */
.g-quienes__title { max-width: 16ch; margin-bottom: 1.5rem; }
.g-wordlist {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.4em;
	margin: 0 0 clamp(3.5rem, 7vw, 6rem);
	padding: 0;
	list-style: none;
	font-family: var(--f-titulo);
	font-weight: 700;
	font-size: clamp(1.75rem, 1rem + 2.8vw, 3.5rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--botella);
}
.g-wordlist li:not(:last-child)::after {
	content: "/";
	margin-left: 0.4em;
	font-weight: 600;
	color: rgba(85, 98, 92, 0.45);
}

.g-promesas {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
}
.g-promesa { border-top: 1px solid var(--tinta); padding-top: 1.25rem; }
.g-promesa h3 { margin-bottom: 0.5rem; }
.g-promesa p { color: var(--g-soft); font-size: 0.9875rem; }
@media (max-width: 980px) { .g-promesas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .g-promesas { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Cierre: hablemos de tu marca
   -------------------------------------------------------------------------- */
.g-cierre {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: clamp(620px, 52vw, 820px);
	padding-block: var(--sec);
}
.g-cierre__bg { position: absolute; inset: 0; z-index: -1; }
.g-cierre__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.g-cierre__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11, 35, 26, 0.92) 0%, rgba(11, 35, 26, 0.62) 42%, rgba(11, 35, 26, 0) 72%);
}
.g-cierre__title { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5rem); line-height: 0.95; max-width: 9ch; }
.g-cierre__actions { margin-top: 2.25rem; }

.g-pasos {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	counter-reset: p;
	max-width: 30rem;
}
.g-pasos li {
	counter-increment: p;
	position: relative;
	padding: 0.85rem 0 0.85rem 2.75rem;
	border-top: 1px solid rgba(244, 239, 228, 0.22);
	font-size: 1.0625rem;
}
.g-pasos li::before {
	content: counter(p, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 1.05rem;
	font-family: var(--f-mono);
	font-size: 0.8125rem;
	opacity: 0.7;
}
.g-pasos--oscuro li { border-top-color: var(--g-line); font-size: 1.125rem; }
.g-pasos--oscuro li:last-child { border-bottom: 1px solid var(--g-line); }

@media (max-width: 820px) {
	.g-cierre { align-items: flex-end; min-height: 760px; }
	.g-cierre__bg img { object-position: 50% 30%; }
	.g-cierre__bg::after { background: linear-gradient(180deg, rgba(11, 35, 26, 0.2) 0%, rgba(11, 35, 26, 0.75) 45%, rgba(11, 35, 26, 0.96) 70%); }
}

/* --------------------------------------------------------------------------
   Pie de página
   -------------------------------------------------------------------------- */
.g-footer {
	padding-top: clamp(4rem, 8vw, 6.5rem);
	padding-bottom: 1.75rem;
	font-size: 0.9375rem;
}
.g-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
	gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem);
}
.g-footer__logo img { width: 168px; }
.g-footer__claim { margin-top: 1.5rem; max-width: 34ch; color: rgba(244, 239, 228, 0.74); }
.g-footer .g-label { color: rgba(244, 239, 228, 0.55); margin-bottom: 1rem; }
.g-footer__list { list-style: none; margin: 0; padding: 0; }
.g-footer__list li { margin: 0 0 0.55rem; }
.g-footer__list a { text-decoration: none; overflow-wrap: anywhere; }
.g-footer__list a:hover { text-decoration: underline; }
.g-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-top: clamp(3.5rem, 7vw, 5.5rem);
	padding-top: 1.25rem;
	border-top: 1px solid rgba(244, 239, 228, 0.14);
	font-size: 0.8125rem;
	color: rgba(244, 239, 228, 0.62);
}
.g-footer__bottom p { margin: 0; }
.g-footer__bottom p:last-child { font-family: var(--f-mono); }
@media (max-width: 900px) {
	.g-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.g-footer__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Portadas de páginas interiores
   -------------------------------------------------------------------------- */
.g-pagehero { padding-block: clamp(3.5rem, 8vw, 7rem); }
.g-pagehero__grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: center;
}
.g-pagehero h1 { max-width: 12ch; }
.g-pagehero .g-lead { color: var(--g-soft); }
.g-pagehero--dark .g-lead { max-width: 52ch; }
.g-pagehero__media { max-width: 480px; justify-self: end; }
@media (max-width: 820px) {
	.g-pagehero__grid { grid-template-columns: 1fr; }
	.g-pagehero__media { justify-self: start; }
}

.g-index {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 2.75rem 0 0;
	padding: 0;
	list-style: none;
}
.g-index li { margin: 0; }
.g-index a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px rgba(244, 239, 228, 0.32);
	font-size: 0.9375rem;
	text-decoration: none;
	transition: background-color 0.25s, box-shadow 0.25s;
}
.g-index a:hover { background: rgba(244, 239, 228, 0.1); box-shadow: inset 0 0 0 1px rgba(244, 239, 228, 0.7); }

/* --------------------------------------------------------------------------
   Sobre nosotros
   -------------------------------------------------------------------------- */
.g-manifiesto {
	font-family: var(--f-titulo);
	font-weight: 600;
	font-variation-settings: "SOFT" 100;
	font-size: clamp(1.75rem, 1rem + 2.5vw, 3.1rem);
	line-height: 1.12;
	letter-spacing: -0.015em;
	max-width: 27ch;
	margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.g-esencia__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
}
.g-esencia__item { position: relative; border-top: 1px solid rgba(244, 239, 228, 0.3); padding-top: 1.25rem; }
.g-esencia__item p:not(.g-label) { color: rgba(244, 239, 228, 0.86); }
.g-esencia__simbolo::after {
	content: "";
	position: absolute;
	top: -1.4rem;
	right: 0;
	width: 2.8rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--chispa);
	box-shadow: 0 0 0 8px var(--bosque);
}
@media (max-width: 980px) { .g-esencia__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .g-esencia__grid { grid-template-columns: 1fr; } }

.g-principios__title { max-width: 14ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.g-principios__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem);
}
.g-principio { border-top: 1px solid var(--tinta); padding-top: 1.25rem; }
.g-principio h3 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem); max-width: 18ch; }
.g-principio p { color: var(--g-soft); max-width: 52ch; }
@media (max-width: 720px) { .g-principios__list { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Lo que hacemos
   -------------------------------------------------------------------------- */
.g-svc { scroll-margin-top: var(--header-h); }
.g-svc__head {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
	margin-bottom: clamp(3rem, 6vw, 5rem);
}
.g-svc__intro h2 { font-size: clamp(2.4rem, 1.3rem + 3.8vw, 4.25rem); line-height: 0.98; max-width: 11ch; }
.g-svc__intro .g-lead { max-width: 30ch; margin-bottom: 1.25rem; }
.g-svc__intro p:not(.g-lead):not(.g-svc__facts) { color: var(--g-soft); max-width: 58ch; }
.g-svc__facts {
	margin-top: 1.75rem;
	padding-top: 1rem;
	border-top: 1px solid var(--g-line);
	font-family: var(--f-mono);
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--g-soft);
	max-width: 62ch;
}
.g-svc__media { max-width: 420px; justify-self: end; width: 100%; }

.g-svc__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem clamp(2rem, 6vw, 5rem);
	margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.g-svc__col h3 { margin-bottom: 0.9rem; }

.g-checks { list-style: none; margin: 0; padding: 0; }
.g-checks li {
	position: relative;
	padding: 0.7rem 0 0.7rem 1.9rem;
	border-top: 1px solid var(--g-line);
}
.g-checks li::before {
	content: "";
	position: absolute;
	left: 0.1rem;
	top: 1.02rem;
	width: 0.95rem;
	height: 0.95rem;
	background: currentColor;
	opacity: 0.7;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.6l3.4 3.2L13.5 4.2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.6l3.4 3.2L13.5 4.2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.g-plans {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: stretch;
}
.g-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	border-radius: var(--radio);
	box-shadow: inset 0 0 0 1px var(--g-line);
}
.g-plan.is-recomendado {
	background: var(--bosque);
	color: var(--lino);
	box-shadow: 0 18px 40px -24px rgba(11, 35, 26, 0.55);
}
.has-bosque-background-color .g-plan.is-recomendado { background: var(--lino); color: var(--tinta); }
.g-plan__name { font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem); margin-bottom: 0.4rem; }
.g-plan__for { font-size: 0.9375rem; opacity: 0.82; margin-bottom: 1.25rem; }
.g-plan__list { list-style: none; margin: 0 0 1.75rem; padding: 0; font-size: 0.9375rem; }
.g-plan__list li { padding: 0.55rem 0; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 16%, transparent); }
.g-plan__cta { margin-top: auto; }
.g-plan__cta a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.65rem 1.2rem;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1.5px currentColor;
	font-weight: 500;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: background-color 0.25s, color 0.25s;
}
.g-plan__cta a:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.g-plan.is-recomendado .g-plan__cta a { background: var(--lino); color: var(--bosque); box-shadow: none; }
.has-bosque-background-color .g-plan.is-recomendado .g-plan__cta a { background: var(--bosque); color: var(--lino); }
.g-plan.is-recomendado .g-plan__cta a:hover { background: var(--chispa); color: var(--bosque); }

/* Sello: el círculo chispa para lo que debe verse primero. */
.g-sello {
	position: absolute;
	top: -1.35rem;
	right: 1.25rem;
	display: grid;
	place-items: center;
	width: 5.1rem;
	height: 5.1rem;
	margin: 0;
	border-radius: 50%;
	background: var(--chispa);
	color: var(--bosque);
	font-family: var(--f-mono);
	font-size: 0.75rem;
	line-height: 1;
	text-align: center;
	transform: rotate(-10deg);
	box-shadow: 0 0 0 6px var(--g-bg);
}

.g-svc__note { margin-top: 1.75rem; font-size: 0.9375rem; color: var(--g-soft); }
.g-sueltas {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 1rem clamp(2rem, 6vw, 5rem);
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: 1.75rem;
	border-top: 1px solid var(--g-line);
}
.g-sueltas h3 { margin: 0; }
.g-sueltas p { color: var(--g-soft); max-width: 64ch; }

@media (max-width: 980px) {
	.g-plans { grid-template-columns: 1fr; max-width: 560px; }
	.g-plan.is-recomendado { order: -1; }
}
@media (max-width: 820px) {
	.g-svc__head,
	.g-svc__cols,
	.g-sueltas { grid-template-columns: 1fr; }
	.g-svc__media { justify-self: start; max-width: 360px; }
}

/* Preguntas frecuentes */
.g-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 2rem clamp(2rem, 6vw, 6rem);
	align-items: start;
}
.g-faq__grid > h2 { max-width: 10ch; }
.g-faq__item { border-top: 1px solid var(--g-line); }
.g-faq__item:last-child { border-bottom: 1px solid var(--g-line); }
.g-faq__item summary {
	position: relative;
	padding: 1.3rem 3rem 1.3rem 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--f-titulo);
	font-weight: 700;
	font-variation-settings: "SOFT" 100;
	font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem);
	line-height: 1.25;
}
.g-faq__item summary::-webkit-details-marker { display: none; }
.g-faq__item summary::after {
	content: "";
	position: absolute;
	right: 0.35rem;
	top: 50%;
	width: 15px;
	height: 15px;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
		linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
	transform: translateY(-50%);
	transition: transform 0.35s var(--ease-out);
}
.g-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.g-faq__item p { padding-bottom: 1.4rem; max-width: 62ch; color: var(--g-soft); }
@media (max-width: 820px) { .g-faq__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Contacto
   -------------------------------------------------------------------------- */
.g-contacto { padding-block: clamp(3rem, 7vw, 6rem) var(--sec); }
.g-contacto__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
.g-contacto__info h1 { max-width: 9ch; }
.g-contacto__info .g-lead { color: var(--g-soft); }
.g-canales {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 2rem;
	margin: 2.5rem 0 3rem;
}
.g-canal { border-top: 1px solid var(--g-line); padding-top: 0.9rem; }
.g-canal:first-child { grid-column: 1 / -1; }
.g-canal .g-label { margin-bottom: 0.25rem; }
.g-canal__dato {
	margin: 0;
	font-family: var(--f-titulo);
	font-weight: 700;
	font-variation-settings: "SOFT" 100;
	font-size: 1.1875rem;
	line-height: 1.25;
	overflow-wrap: anywhere;
}
.g-canal__dato a { text-decoration: none; }
.g-canal__dato a:hover { text-decoration: underline; }
.g-contacto__media { max-width: 420px; }
.g-contacto__media img { aspect-ratio: 5 / 4; object-position: 50% 75%; }

.g-form-card {
	border-radius: 10px;
	padding: clamp(1.5rem, 4vw, 3.25rem);
	scroll-margin-top: calc(var(--header-h) + 1rem);
}
.g-form-card__title { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); margin-bottom: 0.4rem; }
.g-form-card__intro { color: rgba(244, 239, 228, 0.72); font-size: 0.9375rem; margin-bottom: 2rem; }
.g-form-fallback a { font-weight: 500; }

.g-despues__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 2rem clamp(2rem, 6vw, 6rem);
	align-items: start;
}
.g-despues__grid h2 { max-width: 12ch; }

@media (max-width: 900px) {
	.g-contacto__grid,
	.g-despues__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.g-canales { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Páginas legales y de texto
   -------------------------------------------------------------------------- */
.g-legal__wrap {
	max-width: 760px;
	padding-block: clamp(3rem, 7vw, 6rem) var(--sec);
}
.g-legal__title { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4rem); margin-bottom: 0.6em; }
.g-legal h2 { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.75rem); margin-top: 2.4em; }
.g-legal h3 { font-size: 1.1875rem; margin-top: 1.75em; }
.g-legal ul { padding-left: 1.2rem; margin: 0 0 1.25em; }
.g-legal li { margin-bottom: 0.5em; }
.g-legal li::marker { color: var(--botella); }
.g-legal .g-lead { max-width: none; margin-bottom: 1.5rem; }
.g-legal__nota { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--piedra); }
.g-legal a { color: var(--botella); font-weight: 500; }
.g-preferencias a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.65rem 1.2rem;
	border-radius: 999px;
	background: var(--bosque);
	color: var(--lino) !important;
	text-decoration: none;
}

/* 404 */
.g-404 { min-height: 60vh; display: flex; align-items: center; }
.g-404 .g-lead { margin-bottom: 2rem; }


/* --------------------------------------------------------------------------
   Contenido de @gestocl (franja de posts)
   -------------------------------------------------------------------------- */
.g-feed__head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 1rem clamp(2rem, 6vw, 6rem);
	align-items: end;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.g-feed__head h2 { max-width: 13ch; margin: 0; grid-row: span 2; }
.g-feed__head p { color: var(--g-soft); max-width: 44ch; margin: 0; }
.g-feed__head .g-textlink { color: var(--g-ink); }
.g-feed__track {
	--borde: max(var(--gutter), calc((100% - var(--wrap)) / 2));
	display: flex;
	gap: clamp(1rem, 2vw, 1.5rem);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--borde);
	padding: 0 var(--borde) 1.25rem;
	scrollbar-width: thin;
	scrollbar-color: var(--botella) transparent;
}
.g-post { flex: 0 0 clamp(250px, 23vw, 330px); scroll-snap-align: start; }
.g-post__img { overflow: hidden; border-radius: var(--radio); }
.g-post__img img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.9s var(--ease-out);
}
.g-post:hover .g-post__img img { transform: scale(1.04); }
.g-post__meta {
	margin: 1rem 0 0.35rem;
	font-family: var(--f-mono);
	font-size: 0.75rem;
	color: var(--g-soft);
}
.g-post__hook {
	margin: 0;
	font-family: var(--f-titulo);
	font-weight: 700;
	font-variation-settings: "SOFT" 100;
	font-size: 1.25rem;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
@media (max-width: 820px) {
	.g-feed__head { grid-template-columns: 1fr; }
	.g-feed__head h2 { grid-row: auto; }
	.g-post { flex-basis: 72vw; }
}

/* --------------------------------------------------------------------------
   Sobre nosotros: "no partimos de una plantilla"
   -------------------------------------------------------------------------- */
.g-plantilla__no {
	margin: 0 0 0.15em;
	font-family: var(--f-titulo);
	font-weight: 700;
	font-variation-settings: "SOFT" 100;
	font-size: clamp(1.9rem, 1rem + 3.6vw, 4.25rem);
	line-height: 1;
	letter-spacing: -0.02em;
	color: rgba(85, 98, 92, 0.6);
	text-decoration: line-through;
	text-decoration-thickness: 0.06em;
	text-decoration-color: var(--tinta);
}
.g-plantilla__si {
	font-size: clamp(2.6rem, 1.2rem + 5.2vw, 6rem);
	line-height: 0.95;
	letter-spacing: -0.025em;
	color: var(--botella);
	max-width: 13ch;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.g-plantilla__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--tinta);
}
.g-plantilla__cols p:not(.g-lead) { color: var(--g-soft); margin: 0; }
.g-plantilla__cols .g-lead { margin: 0; }
@media (max-width: 820px) { .g-plantilla__cols { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Lo que hacemos: la foto alterna de lado en cada servicio
   -------------------------------------------------------------------------- */
@media (min-width: 821px) {
	.g-svc:nth-of-type(odd) .g-svc__head { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
	.g-svc:nth-of-type(odd) .g-svc__media { order: -1; justify-self: start; }
}

/* Cierres con foto distinta en cada página */
.g-cierre--cine { align-items: flex-start; min-height: clamp(760px, 64vw, 940px); }
.g-cierre--cine .g-cierre__bg img { object-position: 50% 40%; }
.g-cierre--cine .g-cierre__bg::after { background: linear-gradient(180deg, rgba(11, 35, 26, 0.92) 0%, rgba(11, 35, 26, 0.55) 34%, rgba(11, 35, 26, 0) 52%); }
.g-cierre--cine .g-cierre__content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem clamp(2rem, 6vw, 6rem); align-items: end; }
.g-cierre--cine .g-pasos { margin: 0; grid-row: span 2; }
.g-cierre--cine .g-cierre__actions { margin-top: 0; }
@media (max-width: 820px) {
	.g-cierre--cine .g-cierre__content { grid-template-columns: 1fr; }
	.g-cierre--cine .g-cierre__bg img { object-position: 50% 45%; }
}
.g-cierre--tienda .g-cierre__bg img { object-position: 60% 55%; }

/* --------------------------------------------------------------------------
   Fotos que se revelan y se mueven con el scroll (navegadores compatibles)
   -------------------------------------------------------------------------- */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.g-split__media img,
		.g-pagehero__media img,
		.g-svc__media img,
		.g-proceso__img img,
		.g-contacto__media img {
			animation: g-revelar linear both;
			animation-timeline: view();
			animation-range: entry 5% cover 40%;
		}
		.g-stage__bg img,
		.g-cierre__bg img {
			animation: g-paralaje linear both;
			animation-timeline: view();
			animation-range: cover;
		}
	}
}
@keyframes g-revelar {
	from { clip-path: inset(22% 0 0 0 round var(--radio)); filter: saturate(0.6); }
	to { clip-path: inset(0 0 0 0 round var(--radio)); filter: none; }
}
@keyframes g-paralaje {
	from { transform: scale(1.12) translateY(-4%); }
	to { transform: scale(1.12) translateY(4%); }
}

/* --------------------------------------------------------------------------
   Movimiento reducido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
