/* =========================================================================
   Gazo · Widgets — estilos de los bloques
   Usa los tokens del tema (--g-*) con valores de respaldo.
   ========================================================================= */

/* ---------- Sección ---------- */
.g-sec { --_pad: var(--g-section, 112px); padding-block: var(--_pad); position: relative; }
.g-space--compact { --_pad: calc(var(--g-section, 112px) * .55); }
.g-space--top0 { padding-top: 0; }
.g-space--bottom0 { padding-bottom: 0; }
.g-bg--white { background: var(--g-white, #fff); }
.g-bg--cream { background: var(--g-cream-soft, #f5f1ea); }
.g-bg--canvas { background: var(--g-canvas, #f0f0f0); }
.g-bg--black { background: var(--g-black, #000); color: #d6d6d6; }
.g-bg--black :is(h1, h2, h3, .g-sec__title) { color: #fff; }
/* Dentro de una sección negra se invierten los tonos de texto, líneas y azul. */
.g-bg--black { --g-ink: #fff; --g-text: #cfcfcf; --g-muted: #9a9a9a; --g-line: rgba(255, 255, 255, .16); --g-blue: var(--g-blue-light, #34a6de); }
.g-bg--black .g-stats { background: transparent; }
.g-bg--black .g-chart__chip { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

.g-sec__head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 46em; }
.g-sec__eyebrow { font-size: var(--g-fs-small, .875rem); font-weight: 500; color: var(--g-muted, #5c5c5c); margin: 0 0 14px; letter-spacing: .01em; }
.g-sec__title { font-size: var(--g-fs-h2, 3rem); letter-spacing: -.03em; line-height: 1.06; color: var(--g-ink, #121212); font-weight: 500; margin: 0; text-wrap: balance; }
.g-hero__title em, .g-sec__title em { font-style: normal; font-weight: 500; }
.g-sec__title:has(em) { font-weight: 300; }
.g-sec__intro { font-size: var(--g-fs-lead, 1.2rem); color: var(--g-text, #2b2b2b); line-height: 1.55; margin: 18px 0 0; max-width: 38em; }

/* ---------- Casilla de foto ---------- */
.g-tile { position: relative; display: block; overflow: hidden; background: var(--g-canvas, #f0f0f0); border-radius: var(--g-radius, 6px); margin: 0; }
.g-tile img { width: 100%; height: 100%; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1), scale .6s cubic-bezier(.2, .7, .2, 1); }
.g-tile--contain img { object-fit: contain; }
.g-tile--cover img { object-fit: cover; }
.g-tile__cap { position: absolute; left: 14px; bottom: 12px; font-size: .8125rem; line-height: 1.2; color: var(--g-text, #2b2b2b); background: rgba(240, 240, 240, .86); padding: 5px 9px; border-radius: 999px; pointer-events: none; }
a.g-tile:hover img { scale: 1.025; }
a.g-tile:focus-visible { outline-offset: 2px; }

/* ---------- Portada ---------- */
.g-hero { padding-top: clamp(16px, 3vw, 48px); }
.g-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.g-hero__title { font-size: var(--g-fs-h1, 4.5rem); letter-spacing: -.035em; line-height: 1.08; font-weight: 300; color: var(--g-ink, #121212); margin: 0 0 24px; text-wrap: balance; }
.g-hero__lead { font-size: var(--g-fs-lead, 1.2rem); line-height: 1.55; color: var(--g-text, #2b2b2b); max-width: 33em; margin: 0; }
.g-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 34px 0 30px; }
.g-hero__media { aspect-ratio: 1; max-height: min(76vh, 680px); width: 100%; }
.g-proof { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9375rem; color: var(--g-text, #2b2b2b); }
.g-proof li { display: inline-flex; align-items: center; gap: 9px; }
.g-proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g-blue, #0f72a3); flex: none; }
@media (max-width: 860px) {
	.g-hero { padding-top: 4px; }
	.g-hero__grid { grid-template-columns: 1fr; gap: 24px; }
	.g-hero__media { order: -1; aspect-ratio: 16 / 10; max-height: min(30vh, 300px); }
	.g-hero .g-sec__eyebrow { margin-bottom: 8px; }
	/* En móvil, el botón justo después del titular: así cabe en la primera pantalla incluso en teléfonos pequeños. */
	.g-hero__text { display: flex; flex-direction: column; }
	.g-hero__actions { order: 2; margin: 4px 0 20px; }
	.g-hero__lead { order: 3; }
	.g-proof { order: 4; margin-top: 18px; }
	.g-hero__title { margin-bottom: 16px; }
	.g-hero__actions { margin: 26px 0 22px; }
	.g-hero__actions .g-btn { width: 100%; }
}

/* Portada con fotos secundarias (recorte de la hoja de contactos) */
.g-hero__set { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 12px; width: 100%; aspect-ratio: 1.12; max-height: min(76vh, 680px); }
.g-hero__set .g-hero__media { grid-row: 1 / span 2; aspect-ratio: auto; max-height: none; height: 100%; }
.g-hero__extra { position: relative; margin: 0; min-height: 0; }
.g-hero__extra img { height: 100%; }
/* Misma tarjeta blanca que la de la foto grande, abajo a la izquierda y ajustada a su contenido. */
.g-hero__extra figcaption { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; font-style: normal; font-size: .75rem; color: var(--g-text, #2b2b2b); background: rgba(255, 255, 255, .96); border-radius: 8px; padding: 8px 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.g-hero__extra .g-frame__n { position: static; }
@media (max-width: 860px) { .g-hero__set { display: block; aspect-ratio: auto; max-height: none; order: -1; } .g-hero__set .g-hero__media { aspect-ratio: 16 / 10; max-height: min(30vh, 300px); height: auto; } .g-hero__extra { display: none; } }

/* Carta de color (colores medidos en la foto) */
.g-chart { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.g-chart li { display: flex; flex-direction: column; gap: 5px; }
.g-chart__chip { display: block; width: 14px; height: 14px; border-radius: 2px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.g-chart--chart { gap: 6px; }
.g-chart--chart .g-chart__chip { width: 44px; height: 30px; border-radius: 3px; }
.g-chart__hex { font-size: .6875rem; line-height: 1; letter-spacing: .03em; white-space: nowrap; text-align: left; color: var(--g-muted, #5c5c5c); font-variant-numeric: tabular-nums; }
.g-hero__media { position: relative; }
.g-hero__card { font-style: normal; position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .96); border-radius: 8px; padding: 12px 14px 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); display: grid; gap: 10px; }
.g-hero__card-label { font-size: .75rem; color: var(--g-text, #2b2b2b); display: flex; align-items: center; gap: 8px; }
.g-hero__card-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g-blue, #0f72a3); }
.g-hero__card-cap { font-size: .75rem; color: var(--g-muted, #5c5c5c); }
@media (max-width: 860px) {
	.g-chart--chart .g-chart__chip { width: 32px; height: 20px; }
	.g-chart__hex { font-size: .625rem; }
	/* En móvil la carta no tapa el producto: franja compacta bajo la foto. */
	.g-hero__media { display: flex; flex-direction: column; }
	.g-hero__media img { flex: 1 1 auto; min-height: 0; }
	.g-hero__card { position: static; flex: none; background: transparent; box-shadow: none; padding: 0 12px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
	.g-hero__card-label { font-size: .6875rem; }
	.g-hero__card .g-chart--chart .g-chart__chip { width: 22px; height: 14px; }
	.g-hero__card .g-chart__hex { display: none; }
}

/* ---------- Marcas ---------- */
.g-logos { padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--g-line, #e5e3df); }
.g-logos:has(.g-logos__marquee) { padding-block: clamp(22px, 2.6vw, 36px); border-bottom: 1px solid var(--g-line, #e5e3df); }
.g-logos:is(.g-bg--canvas, .g-bg--cream, .g-bg--black) { border-top: 0; border-bottom: 0; }
.g-logos__row { display: flex; align-items: center; }
.g-logos__row .g-logos__marquee { flex: 1 1 auto; min-width: 0; }
/* Etiqueta opcional: quieta, alineada con el contenido de la web; los logotipos se desvanecen al llegar a ella. */
.g-logos__label { flex: none; white-space: nowrap; margin: 0; padding: 0 clamp(12px, 1.5vw, 24px) 0 max(var(--g-gutter, 24px), calc((100% - var(--g-wrap, 1240px)) / 2)); font-size: var(--g-fs-small, .875rem); line-height: 1.35; color: var(--g-muted, #5c5c5c); }
@media (max-width: 860px) { .g-logos__row { flex-direction: column; align-items: stretch; } .g-logos__label { white-space: normal; padding: 0 var(--g-gutter, 24px); margin-bottom: 12px; } }
.g-logos__marquee { --_fade: clamp(48px, 14vw, 240px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--_fade), #000 calc(100% - var(--_fade)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--_fade), #000 calc(100% - var(--_fade)), transparent); }
.g-logos__track { display: flex; width: max-content; animation: g-marquee var(--g-speed, 45s) linear infinite; }
.g-logos__track--right { animation-direction: reverse; }
.g-logos__marquee:hover .g-logos__track { animation-play-state: paused; }
/* Con JavaScript, el carrusel lo mueve widgets.js y se puede arrastrar (el scroll vertical sigue funcionando). */
.g-logos__marquee.is-js { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.g-logos__marquee.is-js.is-dragging { cursor: grabbing; }
.g-logos__marquee.is-js .g-logos__track { animation: none; will-change: transform; }
.g-logos__marquee.is-js img { -webkit-user-drag: none; pointer-events: none; }
.g-logos__list { --_gap: clamp(40px, 5vw, 80px); list-style: none; margin: 0; padding: 0 var(--_gap) 0 0; display: flex; align-items: center; gap: var(--_gap); }
.g-logos__list li { flex: none; display: flex; align-items: center; min-height: 40px; }
/* Todos los logotipos en el mismo gris, para que la fila se lea uniforme. */
.g-logos__list img, .g-logos__grid img { filter: grayscale(1) brightness(0); }
.g-logos__list img { max-height: 38px; max-width: 150px; width: auto; height: auto; object-fit: contain; opacity: .55; }
@keyframes g-marquee { to { transform: translateX(-50%); } }
@media (max-width: 860px) { .g-logos__list li { min-height: 32px; } .g-logos__list img { max-height: 30px; max-width: 110px; } }
/* Con «reducir movimiento»: logotipos quietos, centrados y sin la copia. */
@media (prefers-reduced-motion: reduce) {
	.g-logos__marquee { -webkit-mask-image: none; mask-image: none; }
	.g-logos__track { width: auto; }
	.g-logos__list { flex-wrap: wrap; justify-content: center; padding: 0 var(--g-gutter, 24px); row-gap: 24px; }
	.g-logos__list[aria-hidden] { display: none; }
}
.g-logos__title { font-size: var(--g-fs-small, .875rem); font-weight: 500; color: var(--g-muted, #5c5c5c); letter-spacing: .01em; margin: 0 0 28px; }
.g-logos__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--g-cols, 6), minmax(0, 1fr)); gap: 28px 40px; align-items: center; }
.g-logos__grid li { display: flex; align-items: center; justify-content: center; min-height: 56px; }
.g-logos__grid img { max-height: 38px; max-width: 150px; width: auto; height: auto; object-fit: contain; opacity: .55; transition: opacity .2s; }
.g-logos__grid li:hover img { opacity: .8; }
@media (max-width: 860px) { .g-logos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 24px; } .g-logos__grid img { max-height: 30px; max-width: 110px; } }

/* ---------- Trabajos ---------- */
.g-work__grid { --_gap: 12px; --_cols: 4; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--_gap); grid-template-columns: repeat(var(--_cols), minmax(0, 1fr)); --_w: calc(min(100vw, var(--g-wrap, 1240px) + var(--g-gutter, 24px) * 2) - var(--g-gutter, 24px) * 2); --_meta: 36px; grid-auto-rows: calc((var(--_w) - (var(--_cols) - 1) * var(--_gap)) / var(--_cols) * 1.25 + var(--_meta)); }
.g-work__item { min-width: 0; }
.g-work__grid { row-gap: calc(var(--_gap) + 6px); }
.g-work__grid--bare { --_meta: 0px; row-gap: var(--_gap); }
.g-frame { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.g-frame__img { flex: 1 1 auto; min-height: 0; }
.g-frame:hover .g-frame__img img { scale: 1.025; }
.g-frame__meta { flex: none; height: var(--_meta, 36px); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--g-line, #e5e3df); font-size: .8125rem; color: var(--g-text, #2b2b2b); }
.g-frame__n { position: absolute; left: 12px; top: 10px; font-size: .75rem; color: var(--g-muted, #5c5c5c); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.g-tile--cover .g-frame__n { color: var(--g-ink, #121212); background: rgba(255, 255, 255, .88); padding: 2px 6px; border-radius: 4px; }
.g-hero__extra .g-frame__n { background: none; padding: 0; }
.g-frame__cap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.g-frame__meta .g-chart { margin-left: auto; }
.g-work__item--wide { grid-column: span 2; }
.g-work__item--tall { grid-row: span 2; }
.g-work__foot { margin: 32px 0 0; color: var(--g-muted, #5c5c5c); }
@media (max-width: 760px) { .g-work__grid { --_cols: 2; --_gap: 8px; --_meta: 32px; grid-auto-flow: dense; } .g-work__grid--bare { --_meta: 0px; } .g-frame__meta { font-size: .75rem; gap: 6px; } .g-frame__n { display: none; } }

/* ---------- Razones ---------- */
.g-reasons__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.g-reasons__side { position: sticky; top: calc(var(--g-header-h, 76px) + 32px); }
.g-reasons .g-sec__head { margin-bottom: 0; }
/* Elementor pone «margin: 0» a todas las figuras con un selector más fuerte. */
.g-reasons__fig, .g-sec.g-reasons .g-reasons__grid .g-reasons__side figure.g-reasons__fig { margin: clamp(24px, 3vw, 36px) 0 0; }
.g-reasons__fig .g-tile { aspect-ratio: 4 / 3; }
.g-reasons__fig figcaption { font-style: normal; display: grid; gap: 10px; margin-top: 14px; }
.g-reasons__fig .g-chart--chart .g-chart__chip { width: 56px; height: 40px; }
.g-reasons__list { list-style: none; margin: 0; padding: 0; }
.g-reasons__list li { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 28px 0; border-top: 1px solid var(--g-line, #e5e3df); }
.g-reasons__list li:last-child { border-bottom: 1px solid var(--g-line, #e5e3df); }
.g-reasons__n { grid-row: span 2; font-size: .9375rem; color: var(--g-blue, #0f72a3); font-weight: 500; padding-top: 6px; font-variant-numeric: tabular-nums; }
.g-reasons__list h3 { font-size: var(--g-fs-h3, 1.4rem); margin: 0 0 8px; }
.g-reasons__list p { margin: 0; color: var(--g-text, #2b2b2b); max-width: 34em; }
@media (max-width: 860px) { .g-reasons__grid { grid-template-columns: 1fr; gap: 8px; } .g-reasons__side { position: static; margin-bottom: 24px; } .g-reasons__fig .g-chart--chart .g-chart__chip { width: 40px; height: 28px; } .g-reasons__list li { grid-template-columns: 40px 1fr; padding: 22px 0; } }

/* ---------- Servicios ---------- */
.g-services__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.g-service__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.g-service__media { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.g-service__title { font-size: 1.375rem; margin: 0 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.g-service__text { color: var(--g-muted, #5c5c5c); font-size: .9688rem; margin: 0 0 14px; }
.g-service__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .9688rem; }
.g-service__more svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
a.g-service__link:hover .g-service__more svg { transform: translateX(4px); }
a.g-service__link:hover .g-service__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a.g-service__link:hover .g-tile img { scale: 1.03; }
.g-services__note { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--g-line, #e5e3df); color: var(--g-muted, #5c5c5c); font-size: .9688rem; max-width: 52em; }
@media (max-width: 960px) { .g-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .g-services__grid { gap: 28px 12px; } .g-service__title { font-size: 1.125rem; } .g-service__text { font-size: .875rem; } .g-service__media { aspect-ratio: 1; } }

/* ---------- Pasos ---------- */
.g-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
/* El haz del logo como hilo del proceso: nace en el primer paso y se abre hacia el último. */
.g-steps__list::before { content: ""; position: absolute; left: 17px; right: 0; top: 16px; height: 2px; background: linear-gradient(90deg, var(--g-blue, #0f72a3), var(--g-blue-light, #34a6de) 55%, rgba(52, 166, 222, .12)); }
.g-step { position: relative; }
.g-step__n { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--g-white, #fff); border: 1.5px solid var(--g-ink, #121212); font-size: .9375rem; font-weight: 500; margin-bottom: 24px; font-variant-numeric: tabular-nums; }
.g-step:first-child .g-step__n { background: var(--g-ink, #121212); color: #fff; }
.g-step__title { font-size: 1.25rem; margin: 0 0 10px; }
.g-step__text { color: var(--g-text, #2b2b2b); margin: 0; font-size: .9688rem; }
.g-steps__cta { margin: 48px 0 0; }
@media (max-width: 960px) { .g-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-steps__list::before { display: none; } .g-step { border-top: 1px solid var(--g-line, #e5e3df); padding-top: 22px; } }
@media (max-width: 560px) {
	.g-steps__list { grid-template-columns: 1fr; gap: 0; }
	.g-steps__list::before { display: block; left: 16px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: linear-gradient(180deg, var(--g-blue, #0f72a3), var(--g-blue-light, #34a6de) 55%, rgba(52, 166, 222, .12)); }
	.g-step { display: grid; grid-template-columns: 48px 1fr; padding: 20px 0; border-top: 0; }
	.g-step__n { grid-row: span 2; margin: 0; width: 32px; height: 32px; }
	.g-steps__cta .g-btn { width: 100%; }
}

/* ---------- Opiniones ---------- */
.g-quotes__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.g-quote { grid-column: span 6; margin: 0; background: var(--g-white, #fff); border-radius: calc(var(--g-radius, 6px) + 4px); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.g-quote--featured { grid-column: span 7; grid-row: span 2; background: transparent; padding: 8px clamp(0px, 4vw, 48px) 8px 0; justify-content: flex-start; }
.g-quote--featured blockquote p::before { content: ""; display: block; width: 40px; height: 2px; background: var(--g-ink, #121212); margin-bottom: 28px; }
.g-quote--featured ~ .g-quote { grid-column: span 5; }
.g-quote:only-child { grid-column: 1 / span 9; }
.g-quote:only-child blockquote p { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.3; letter-spacing: -.015em; }
.g-quote blockquote { margin: 0; padding: 0; border: 0; }
.g-quote blockquote p { margin: 0; font-size: 1.125rem; line-height: 1.5; color: var(--g-ink, #121212); }
.g-quote--featured blockquote p { font-size: clamp(1.375rem, 1rem + 1.45vw, 2.25rem); line-height: 1.25; letter-spacing: -.02em; }
.g-quote figcaption { font-style: normal; font-size: .9375rem; color: var(--g-muted, #5c5c5c); display: grid; gap: 2px; }
.g-quote figcaption strong { color: var(--g-ink, #121212); font-weight: 500; }
@media (max-width: 860px) { .g-quote, .g-quote:only-child, .g-quote--featured, .g-quote--featured ~ .g-quote { grid-column: 1 / -1; grid-row: auto; } .g-quote:only-child blockquote p, .g-quote--featured blockquote p { font-size: 1.3125rem; line-height: 1.35; } }

/* ---------- Preguntas frecuentes ---------- */
.g-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.g-faq__list { border-top: 1px solid var(--g-line, #e5e3df); }
.g-faq__item { border-bottom: 1px solid var(--g-line, #e5e3df); }
.g-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.1875rem; font-weight: 500; color: var(--g-ink, #121212); line-height: 1.3; }
.g-faq__item summary::-webkit-details-marker { display: none; }
.g-faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.g-faq__icon::before, .g-faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s; }
.g-faq__icon::after { transform: rotate(90deg); }
.g-faq__item[open] .g-faq__icon::after { transform: rotate(0); }
.g-faq__a { padding: 0 48px 24px 0; color: var(--g-text, #2b2b2b); }
/* Apertura suave (la anima widgets.js); sin él, se abre de golpe. */
.g-faq__item.is-animating .g-faq__a { overflow: hidden; }
.g-faq__a p { margin: 0; }
/* Enlaces dentro de respuestas y listas (p. ej., a artículos del blog): subrayados para que se vean. */
.g-faq__a a, .g-text__list span a { color: var(--g-ink, #121212); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.g-faq__a a:hover, .g-text__list span a:hover { text-decoration-thickness: 2px; }
@media (max-width: 860px) { .g-faq__grid { grid-template-columns: 1fr; gap: 0; } .g-faq__item summary { font-size: 1.0625rem; } .g-faq__a { padding-right: 0; } }

/* ---------- Contacto y formulario ---------- */
.g-contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "side form"; column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.g-contact__side { grid-area: side; position: sticky; top: calc(var(--g-header-h, 76px) + 32px); }
.g-contact__form { grid-area: form; }
.g-contact__points { margin: 0 0 36px; padding: 0; list-style: none; counter-reset: gp; display: grid; gap: 14px; }
.g-contact__points li { counter-increment: gp; display: grid; grid-template-columns: 32px 1fr; align-items: baseline; color: var(--g-text, #2b2b2b); }
.g-contact__points li::before { content: counter(gp); font-size: .875rem; font-weight: 500; color: var(--g-blue, #0f72a3); }
.g-contact__alt { border-top: 1px solid rgba(0, 0, 0, .1); padding-top: 28px; }
.g-contact__alt-title { font-weight: 500; color: var(--g-ink, #121212); margin: 0 0 16px; }
.g-contact__alt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; justify-items: start; }
.g-contact__wa { border: 1px solid rgba(0, 0, 0, .12); }
.g-contact__wa svg { width: 22px; height: 22px; color: #1fa855; }
.g-contact__line { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--g-ink, #121212); padding: 4px 0; }
.g-contact__line:hover { text-decoration: underline; text-underline-offset: .25em; }
.g-contact__line svg { width: 20px; height: 20px; }
.g-contact__form { background: var(--g-white, #fff); border-radius: 12px; padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 18px 48px rgba(60, 40, 10, .06); }
@media (max-width: 860px) { .g-contact__grid { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "alt"; grid-template-rows: auto; row-gap: 28px; } .g-contact__side { display: contents; } .g-contact__intro { grid-area: intro; } .g-contact__alt { grid-area: alt; } .g-contact__points { margin-bottom: 28px; } .g-contact__form { margin-inline: calc(var(--g-gutter, 20px) * -.5); } .g-contact__alt { margin-top: 36px; } }

/* Contact Form 7 */
.g-form { display: grid; gap: 22px; }
.g-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.g-form legend, .g-form .g-label { display: block; font-weight: 500; color: var(--g-ink, #121212); font-size: 1rem; margin: 0 0 10px; padding: 0; }
.g-form .g-label small, .g-form legend small { font-weight: 400; color: var(--g-muted, #5c5c5c); }
.g-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .g-form__row { grid-template-columns: 1fr; } }
.g-form input[type="text"], .g-form input[type="email"], .g-form input[type="tel"], .g-form input[type="url"], .g-form textarea {
	width: 100%; font: 400 1rem/1.4 var(--g-font, sans-serif); color: var(--g-ink, #121212);
	background: #fff; border: 1px solid #cfcac2; border-radius: 8px; padding: 13px 14px; min-height: 50px;
	transition: border-color .15s, box-shadow .15s;
}
.g-form textarea { min-height: 110px; resize: vertical; }
.g-form input::placeholder, .g-form textarea::placeholder { color: #8a8a8a; }
.g-form input:focus, .g-form textarea:focus { outline: none; border-color: var(--g-ink, #121212); box-shadow: 0 0 0 3px rgba(15, 114, 163, .18); }
.g-form .wpcf7-form-control-wrap { display: block; }
/* Opciones como botones («chips») */
.g-form .g-chips-field .wpcf7-form-control { display: flex; flex-wrap: wrap; gap: 8px; }
.g-form .g-chips-field .wpcf7-list-item { margin: 0; }
.g-form .g-chips-field label { position: relative; display: inline-flex; cursor: pointer; }
.g-form .g-chips-field input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.g-form .g-chips-field .wpcf7-list-item-label { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #cfcac2; border-radius: 999px; background: #fff; font-size: .9688rem; color: var(--g-ink, #121212); transition: background .15s, border-color .15s, color .15s; user-select: none; }
.g-form .g-chips-field label:hover .wpcf7-list-item-label { border-color: var(--g-ink, #121212); }
.g-form .g-chips-field input:checked + .wpcf7-list-item-label { background: var(--g-ink, #121212); border-color: var(--g-ink, #121212); color: #fff; }
.g-form .g-chips-field input:focus-visible + .wpcf7-list-item-label { outline: 2px solid var(--g-focus, #0f72a3); outline-offset: 2px; }
/* Consentimiento */
.g-form .g-consent { font-size: .875rem; color: var(--g-muted, #5c5c5c); line-height: 1.5; }
.g-form .g-consent .wpcf7-list-item { margin: 0; }
.g-form .g-consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.g-form .g-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--g-ink, #121212); }
.g-form .g-consent a { color: var(--g-ink, #121212); }
.g-form .g-legal { font-size: .8125rem; color: var(--g-muted, #5c5c5c); line-height: 1.5; margin: 0; }
.g-form :is(.g-legal, .g-consent) a { color: var(--g-ink, #121212); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
/* Enviar */
.g-form .wpcf7-submit { width: 100%; display: inline-flex; align-items: center; justify-content: center; background: var(--g-black, #000); color: #fff; border: 0; border-radius: 999px; min-height: 56px; padding: 1rem 1.6rem; font: 500 1.0625rem/1.2 var(--g-font, sans-serif); cursor: pointer; transition: background .2s; }
.g-form .wpcf7-submit:hover { background: #2a2a2a; }
.g-form .wpcf7-submit:disabled { opacity: .6; cursor: progress; }
.g-form__submit { position: relative; }
.g-form .wpcf7-spinner { position: absolute; right: 18px; top: 50%; margin: -12px 0 0; background-color: #fff; }
/* Mensajes */
.wpcf7 .wpcf7-not-valid-tip { color: #b3261e; font-size: .875rem; margin-top: 6px; display: block; }
.wpcf7 .wpcf7-not-valid { border-color: #b3261e !important; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px 16px; border-radius: 8px; border: 1px solid #cfcac2; font-size: .9688rem; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #1f7a45; background: #eef7f1; color: #14532d; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #b3261e; background: #fdf1f0; color: #7f1d1d; }
.wpcf7 .hidden-fields-container { display: none; border: 0; margin: 0; padding: 0; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; word-wrap: normal !important; }
.g-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Blog (bloque) ---------- */
.g-blog__top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.g-blog__top .g-sec__head { margin-bottom: 0; }
.g-blog__top .g-link { white-space: nowrap; }
@media (max-width: 600px) { .g-blog__top { flex-direction: column; align-items: start; } }

/* ---------- Texto con lista ---------- */
.g-text__grid.has-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.g-text__grid.has-media.is-left .g-text__media { order: -1; }
.g-text__body { max-width: 40em; }
.g-text__rich { color: var(--g-text, #2b2b2b); }
.g-text__rich p:last-child { margin-bottom: 0; }
.g-text__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.g-text__list li { display: grid; gap: 4px; padding: 16px 0 16px 30px; border-top: 1px solid var(--g-line, #e5e3df); position: relative; }
.g-text__list li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 12px; height: 6px; border-left: 1.5px solid var(--g-blue, #0f72a3); border-bottom: 1.5px solid var(--g-blue, #0f72a3); transform: rotate(-45deg); }
.g-text__list strong { color: var(--g-ink, #121212); font-weight: 500; }
.g-text__list span { color: var(--g-muted, #5c5c5c); font-size: .9688rem; }
.g-text__media { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .g-text__grid.has-media { grid-template-columns: 1fr; } .g-text__grid.has-media .g-text__media { order: -1; aspect-ratio: 4 / 3; } }

/* ---------- Subrayado de color en el titular (colores medidos en la foto) ---------- */
/* El subrayado queda a 0,12 em de la línea base (como el grosor del trazo) y crece hacia abajo.
   El titular reserva ese espacio para no acercarse a la entradilla. */
.g-hero__title[style*="--g-mark"] { padding-bottom: var(--g-mark-h, .11em); }
/* Tercera capa: contorno de 1 px, como el de las casillas de la carta, para que se vean los tonos claros. */
/* Si la parte destacada ocupa varias líneas, el subrayado va solo bajo la última: el script mide
   esa línea (--g-mark-w) y lo que la precede (--g-mark-x); con «slice» las líneas cuentan como
   una sola tira, así que el subrayado se coloca al final de esa tira. */
.g-hero__title[style*="--g-mark"] em { --_h: var(--g-mark-h, .11em); --_w: var(--g-mark-w, 100%); --_x: var(--g-mark-x, 0px); --_line: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)); background-image: var(--g-mark-next), var(--g-mark), var(--_line); background-repeat: no-repeat; background-size: calc(var(--_w) - 2px) var(--_h), calc(var(--_w) - 2px) var(--_h), var(--_w) calc(var(--_h) + 2px); background-position: left calc(var(--_x) + 1px) bottom 1px, left calc(var(--_x) + 1px) bottom 1px, left var(--_x) bottom 0; background-origin: border-box; padding-bottom: max(1px, calc(var(--_h) - .06em + 1px)); -webkit-box-decoration-break: slice; box-decoration-break: slice; }

/* ---------- Tarjeta de cifras ---------- */
.g-stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); margin: 0; border: 1px solid var(--g-line, #e5e3df); border-radius: 12px; background: var(--g-white, #fff); max-width: 34em; }
.g-stats > div { padding: 14px 18px; }
.g-stats > div + div { border-left: 1px solid var(--g-line, #e5e3df); }
.g-stats dt { font-size: .75rem; letter-spacing: .04em; color: var(--g-muted, #5c5c5c); margin: 0 0 4px; }
.g-stats dd { margin: 0; font-size: 1.25rem; font-weight: 500; color: var(--g-ink, #121212); letter-spacing: -.01em; line-height: 1.15; }
@media (max-width: 860px) { .g-stats { order: 4; margin-top: 18px; } .g-stats > div { padding: 12px 10px; } .g-stats dd { font-size: 1rem; white-space: nowrap; } }

/* ---------- Categorías bajo la portada ---------- */
.g-hero__cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.g-hero__cats-label { font-size: .875rem; color: var(--g-muted, #5c5c5c); margin-right: 4px; }
.g-hero__cats .g-chip { display: inline-flex; align-items: center; min-height: 36px; padding: .35rem .9rem; border: 1px solid var(--g-line, #e5e3df); border-radius: 999px; font-size: .875rem; text-decoration: none; color: var(--g-ink, #121212); background: var(--g-white, #fff); transition: border-color .2s, background .2s; }
.g-hero__cats .g-chip:hover { border-color: var(--g-ink, #121212); }
@media (max-width: 860px) { .g-hero__cats { order: 5; } }

/* ---------- Franja de llamada a la acción ---------- */
.g-band__card { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px 48px; align-items: end; background: var(--g-cream-soft, #f5f1ea); border-radius: 16px; padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
/* El haz del logo, muy suave, entrando desde la izquierda. */
.g-band__card::before { content: ""; position: absolute; left: -2%; top: 50%; width: 46%; height: 160%; transform: translateY(-50%); background: linear-gradient(90deg, rgba(15, 114, 163, .10), rgba(52, 166, 222, 0)); clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 54%); pointer-events: none; }
.g-band__text, .g-band__actions { position: relative; }
.g-band__text .g-sec__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); text-wrap: pretty; } /* «balance» no reparte bien las líneas tras un salto; «pretty» evita la palabra suelta. */
.g-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.g-band__wa { border: 1px solid rgba(0, 0, 0, .12); }
.g-band__wa svg { width: 20px; height: 20px; color: #1fa855; }
/* El título ocupa todo el ancho de la tarjeta (sin líneas sueltas); texto y botones, debajo en una fila. */
@media (min-width: 861px) {
	.g-band__card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eyebrow eyebrow" "title title" "text actions"; row-gap: 0; align-items: center; }
	.g-band__text { display: contents; }
	.g-band__text .g-sec__eyebrow { grid-area: eyebrow; }
	.g-band__text .g-sec__title { grid-area: title; margin-bottom: clamp(20px, 2.4vw, 32px); }
	.g-band__text .g-sec__intro { grid-area: text; margin: 0; max-width: 34em; }
	.g-band__actions { grid-area: actions; justify-self: end; }
}
@media (max-width: 860px) { .g-band__card { grid-template-columns: 1fr; } .g-band__actions .g-btn { flex: 1 1 100%; } }
@media (max-width: 360px) { .g-hero__title { font-size: 2.125rem; } .g-hero__media, .g-hero__set .g-hero__media { max-height: 26vh; } }

/* ---------- Portada: fotos que se alternan y movimiento ---------- */
.g-hero__frames { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); width: 100%; height: 100%; }
.g-hero__frames img { grid-area: 1 / 1; opacity: 0; transition: opacity 1s ease; }
.g-hero__frames img.is-active { opacity: 1; }
@media (max-width: 860px) { .g-hero__frames { flex: 1 1 auto; min-height: 0; height: auto; } }

/* Barrido de luz al cambiar de foto: la "medición" del color, con el azul del haz. */
.g-hero__scan { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.g-hero__scan::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 36%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .42) 72%, rgba(15, 114, 163, .28) 98%, rgba(255, 255, 255, 0)); opacity: 0; transform: translateX(-110%); }
.is-scanning .g-hero__scan::before { animation: g-scan 1.1s cubic-bezier(.45, .05, .25, 1) both; }

.g-hero__card .g-chart__chip { transition: background-color .6s ease; }
.g-hero__card .g-chart__hex { transition: opacity .2s; }
.g-hero__card .g-chart li.is-swap .g-chart__hex { opacity: 0; }
.g-chart li[hidden] { display: none; }


/* Entrada al cargar la página (Movimiento > Animación al cargar la página). */
.g-hero[data-g-motion] :is(.g-hero__title, .g-hero__lead, .g-hero__actions, .g-proof, .g-stats, .g-hero__cats) { animation: g-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.g-hero[data-g-motion] .g-hero__lead { animation-delay: .1s; }
.g-hero[data-g-motion] .g-hero__actions { animation-delay: .2s; }
.g-hero[data-g-motion] :is(.g-proof, .g-stats, .g-hero__cats) { animation-delay: .3s; }
.g-hero[data-g-motion] .g-hero__title[style*="--g-mark"] em { animation: g-draw 1s cubic-bezier(.6, 0, .2, 1) .55s both; }
.g-hero[data-g-motion] :is(.g-hero__media, .g-hero__extra) { animation: g-reveal 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.g-hero[data-g-motion] .g-hero__extra:nth-child(2) { animation-delay: .12s; }
.g-hero[data-g-motion] .g-hero__extra:nth-child(3) { animation-delay: .24s; }
.g-hero[data-g-motion] :is(.g-hero__frames, .g-hero__extra img) { animation: g-settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.g-hero[data-g-motion] .g-hero__card { animation: g-rise .7s cubic-bezier(.2, .7, .2, 1) .6s both; }
.g-hero[data-g-motion] .g-hero__card .g-chart__chip { animation: g-pop .45s cubic-bezier(.3, 1.5, .5, 1) .75s both; }
.g-hero[data-g-motion] .g-hero__card li:nth-child(2) .g-chart__chip { animation-delay: .83s; }
.g-hero[data-g-motion] .g-hero__card li:nth-child(3) .g-chart__chip { animation-delay: .91s; }
.g-hero[data-g-motion] .g-hero__card li:nth-child(4) .g-chart__chip { animation-delay: .99s; }
/* En el editor no se repite la entrada cada vez que se cambia un ajuste. */
.elementor-editor-active .g-hero[data-g-motion] :is(.g-hero__title, .g-hero__title em, .g-hero__lead, .g-hero__actions, .g-proof, .g-stats, .g-hero__cats, .g-hero__media, .g-hero__extra, .g-hero__extra img, .g-hero__frames, .g-hero__card, .g-chart__chip) { animation: none; }

@keyframes g-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes g-draw { from { background-size: 0 var(--_h), 0 var(--_h), 0 calc(var(--_h) + 2px); } to { background-size: calc(var(--_w) - 2px) var(--_h), calc(var(--_w) - 2px) var(--_h), var(--_w) calc(var(--_h) + 2px); } }
/* Al cambiar de foto, los colores nuevos se dibujan sobre los anteriores, al paso del barrido de luz.
   Dos nombres iguales para poder reiniciar la animación en cada cambio. */
.g-hero .g-hero__title[style*="--g-mark"].is-wipe-a em { animation: g-wipe-a 1s cubic-bezier(.6, 0, .2, 1) .15s both; }
.g-hero .g-hero__title[style*="--g-mark"].is-wipe-b em { animation: g-wipe-b 1s cubic-bezier(.6, 0, .2, 1) .15s both; }
@keyframes g-wipe-a { from { background-size: 0 var(--_h), calc(var(--_w) - 2px) var(--_h), var(--_w) calc(var(--_h) + 2px); } to { background-size: calc(var(--_w) - 2px) var(--_h), calc(var(--_w) - 2px) var(--_h), var(--_w) calc(var(--_h) + 2px); } }
@keyframes g-wipe-b { from { background-size: 0 var(--_h), calc(var(--_w) - 2px) var(--_h), var(--_w) calc(var(--_h) + 2px); } to { background-size: calc(var(--_w) - 2px) var(--_h), calc(var(--_w) - 2px) var(--_h), var(--_w) calc(var(--_h) + 2px); } }
@keyframes g-reveal { from { clip-path: inset(9% 9% 9% 9% round 18px); } to { clip-path: inset(0 round var(--g-radius, 6px)); } }
@keyframes g-settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes g-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes g-scan { 0% { opacity: 0; transform: translateX(-110%); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(290%); } }

/* ---------- Cifras en Razones ---------- */
.g-reasons .g-stats { margin-top: 28px; }

/* ---------- Portada más ancha que el contenido (Foto > Portada más ancha) ---------- */
/* Centrada, con más ancho que el resto de secciones para que las fotos se vean más grandes. */
@media (min-width: 861px) {
	.g-wrap.g-hero__grid--bleed { max-width: calc(var(--g-wrap-hero, 1680px) + var(--g-gutter, 24px) * 2); }
	.g-hero__grid--bleed .g-hero__media, .g-hero__grid--bleed .g-hero__set { max-height: min(calc(100vh - var(--g-header-h, 76px) - 72px), 820px); }
	.g-hero__grid--bleed .g-hero__set .g-hero__media { max-height: none; }
}
@media (min-width: 1280px) { .g-wrap.g-hero__grid--bleed { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); } }

/* ---------- Parte destacada del titular en una sola línea ---------- */
/* Sin esperar al script: no se parte y toma un tamaño estimado según el ancho de la columna. */
.g-hero__text { min-width: 0; container-type: inline-size; }
.g-hero__title[data-g-fit] { font-size: min(var(--g-fs-h1, 4.5rem), calc(98cqi / var(--g-fit, 9))); }
.g-hero__title[data-g-fit] em, .g-hero__title[data-g-lines] { white-space: nowrap; }

/* ---------- Tarjeta de muestras sobre la foto (misma que en la portada) ---------- */
.g-tile__card { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; background: rgba(255, 255, 255, .96); border-radius: 8px; padding: 8px 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); pointer-events: none; }
@media (max-width: 760px) { .g-tile__card { left: 8px; bottom: 8px; padding: 6px 7px; border-radius: 6px; } .g-tile__card .g-chart__chip { width: 11px; height: 11px; } }

/* ---------- Aparición al bajar (la activa widgets.js) ---------- */
.g-rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--g-rv, 0) * 90ms); }
.g-rv.is-in { opacity: 1; transform: none; }
/* La lista de pasos no se mueve: su hilo se dibuja de izquierda a derecha (de arriba abajo en móvil). */
.g-steps__list.g-rv { opacity: 1; transform: none; }
.g-steps__list.g-rv::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.6s cubic-bezier(.6, 0, .2, 1) .2s; }
.g-steps__list.g-rv.is-in::before { transform: none; }
@media (max-width: 560px) { .g-steps__list.g-rv::before { transform: scaleY(0); transform-origin: center top; } }

/* ---------- Contacto sin textos de apoyo: la columna izquierda acompaña al formulario ---------- */
.g-contact__intro .g-sec__head { margin-bottom: 0; }
.g-contact__alt { margin-top: 32px; }

/* ---------- Blog de la home: imagen, fecha y título (sin entradilla) ---------- */
.g-sec.g-blog .g-card__excerpt { display: none; }
.g-sec.g-blog .g-card__meta { margin-bottom: .4rem; }
.g-sec.g-blog .g-card__title { margin-bottom: 0; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); letter-spacing: -.015em; text-wrap: balance; }
.g-sec.g-blog .g-card__media { margin-bottom: 16px; }

/* ---------- «Ver más» de Trabajos ---------- */
.g-work__more { display: flex; justify-content: center; margin: clamp(28px, 3.2vw, 44px) 0 0; }
.g-work__more .g-btn { border: 1px solid var(--g-line, #e5e3df); }
.g-work__more .g-btn:hover { border-color: var(--g-ink, #121212); background: var(--g-white, #fff); }
.g-work__more[hidden] { display: none; }

/* ---------- Filtro de Trabajos ---------- */
/* Filtros bajo el título, alineados con la rejilla: se leen en orden (título, filtro, fotos). */
.g-work__top { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 1.8vw, 24px); margin-bottom: clamp(28px, 3.2vw, 44px); }
.g-work__top .g-sec__head { margin-bottom: 0; }
.g-work__top > .g-filter { align-self: stretch; } /* que la fila no sea más ancha que la pantalla en móvil */
.g-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.g-filter .g-chip { font: inherit; font-size: .9375rem; color: var(--g-ink, #121212); cursor: pointer; min-height: 40px; padding: .45rem 1rem; border: 1px solid var(--g-line, #e5e3df); border-radius: 999px; background: var(--g-white, #fff); transition: background .2s, border-color .2s, color .2s; }
.g-filter .g-chip:hover { border-color: var(--g-ink, #121212); }
.g-filter .g-chip.is-active { background: var(--g-ink, #121212); border-color: var(--g-ink, #121212); color: var(--g-white, #fff); }
.g-filter .g-chip:focus-visible { outline: 2px solid var(--g-focus, #0f72a3); outline-offset: 2px; }
/* En móvil, una sola fila que se desliza de lado. */
@media (max-width: 760px) {
	.g-work__top { margin-bottom: 24px; }
	.g-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--g-gutter, 20px) * -1); padding: 2px var(--g-gutter, 20px); scrollbar-width: none; }
	.g-filter::-webkit-scrollbar { display: none; }
	.g-filter .g-chip { flex: none; }
}
/* Al filtrar no quedan huecos y las fotos salen y entran fundiéndose. */
.g-work__grid.is-filtered { grid-auto-flow: dense; }
/* Con un filtro activo, todas las fotos al mismo tamaño: con pocas fotos, las anchas y altas dejarían huecos. */
.g-work__grid.is-filtered .g-work__item { grid-column: auto; grid-row: auto; }
.g-work__grid.is-leaving .g-work__item { opacity: 0; transition: opacity .2s ease; }
.g-work__grid.is-entering .g-work__item.is-new:not([hidden]) { animation: g-work-in .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--g-f, 0) * 50ms); }
@keyframes g-work-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- Razones: «Frase y cifras» ---------- */
.g-reasons--statement .g-wrap { display: grid; gap: clamp(40px, 6vw, 88px); }
.g-reasons__statement { font-size: var(--g-fs-h1, 4.5rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.06; color: var(--g-ink, #121212); margin: 0; max-width: 15em; text-wrap: balance; }
.g-reasons__big { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 64px); margin: 0; }
.g-reasons__big > div { padding-top: 20px; border-top: 1px solid var(--g-line, #e5e3df); }
.g-reasons__big dt { font-size: var(--g-fs-small, .875rem); color: var(--g-muted, #5c5c5c); margin: 0 0 14px; }
.g-reasons__big dd { margin: 0; display: grid; gap: 10px; }
.g-reasons__big strong { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--g-ink, #121212); white-space: nowrap; }
.g-reasons__big span { color: var(--g-text, #2b2b2b); max-width: 20em; }
@media (max-width: 860px) {
	.g-reasons__big { grid-template-columns: 1fr; gap: 0; }
	.g-reasons__big > div { padding: 22px 0; border-top: 1px solid var(--g-line, #e5e3df); }
	.g-reasons__big > div:last-child { border-bottom: 1px solid var(--g-line, #e5e3df); }
	.g-reasons__big dd { gap: 8px; }
	.g-reasons__big strong { font-size: 2.25rem; }
	.g-reasons__big dt { margin-bottom: 8px; }
}

/* ---------- Servicios: índice con foto al lado ---------- */
.g-services--index { --_pad: calc(var(--g-section, 112px) * .72); }
.g-services--index .g-sec__head { margin-bottom: clamp(20px, 2.4vw, 32px); }
.g-index { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.g-index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--g-line, #e5e3df); }
.g-index__item { border-bottom: 1px solid var(--g-line, #e5e3df); }
.g-index__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: clamp(14px, 1.5vw, 19px) 0; text-decoration: none; color: inherit; }
.g-index__thumb { display: none; }
.g-index__title { font-size: clamp(1.5rem, 1.05rem + 1.3vw, 2.25rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; margin: 0; color: var(--g-ink, #121212); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.g-index__text { margin: 4px 0 0; color: var(--g-muted, #5c5c5c); font-size: .9375rem; line-height: 1.45; max-width: 34em; }
.g-index__arrow { display: inline-flex; color: var(--g-ink, #121212); opacity: .35; transition: opacity .35s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.g-index__arrow svg { width: 26px; height: 26px; }
.g-index__item.is-active .g-index__title, a.g-index__link:hover .g-index__title { transform: translateX(10px); }
.g-index__item.is-active .g-index__arrow, a.g-index__link:hover .g-index__arrow { opacity: 1; transform: translateX(4px); }
a.g-index__link:focus-visible { outline: 2px solid var(--g-focus, #0f72a3); outline-offset: 4px; border-radius: 4px; }
/* La foto acompaña a la lista al bajar y cambia con un fundido. */
.g-index__panel { position: sticky; top: calc(var(--g-header-h, 76px) + 32px); }
.g-index__frames { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - var(--g-header-h, 76px) - 64px); }
.g-index__fig { position: absolute; inset: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; opacity: 0; transition: opacity .55s ease; }
.g-index__fig.is-active { opacity: 1; }
.g-index__fig--pair { grid-template-columns: 1fr 1fr; }
.g-index__fig .g-tile { height: 100%; min-height: 0; }
.g-index__label { font-style: normal; font-size: .75rem; color: var(--g-text, #2b2b2b); padding: 7px 10px; }
@media (max-width: 860px) {
	.g-index { grid-template-columns: 1fr; }
	.g-index__panel { display: none; }
	.g-index__link { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; }
	.g-index__thumb { display: block; width: 64px; aspect-ratio: 1; }
	.g-index__item:not(.has-img) .g-index__link { grid-template-columns: minmax(0, 1fr) auto; }
	.g-index__title { font-size: 1.375rem; }
	.g-index__text { font-size: .9063rem; margin-top: 4px; }
	.g-index__arrow svg { width: 22px; height: 22px; }
	.g-index__item.is-active .g-index__title { transform: none; }
}

/* ---------- Pasos en dos carriles (tú / nosotros) ---------- */
/* Rejilla: etiquetas de carril | un hueco por paso | remate. Filas: carril tú, línea, carril nosotros.
   La lista de pasos usa «display: contents» para que cada paso se coloque en su celda. */
.g-lanes { --_row: 56px; --_dot: 18px; display: grid; grid-template-columns: auto repeat(var(--n, 4), minmax(0, 1fr)) auto; grid-template-rows: auto var(--_row) auto; column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.g-lanes__steps { display: contents; list-style: none; margin: 0; padding: 0; }
.g-lanes__label { grid-column: 1; align-self: center; font-size: var(--g-fs-small, .875rem); font-weight: 500; color: var(--g-muted, #5c5c5c); padding-right: 8px; }
.g-lanes__label--you { grid-row: 1; }
.g-lanes__label--us { grid-row: 3; }
.g-lanes__start { grid-column: 1; grid-row: 2; align-self: center; justify-self: end; padding-right: 10px; font-size: 1.125rem; color: var(--g-ink, #121212); font-weight: 500; }
/* La línea es la pista gris; el azul la va rellenando con el scroll (--g-progress, lo pone widgets.js). */
.g-lanes__line { position: relative; grid-column: 2 / -2; grid-row: 2; align-self: center; height: 3px; background: var(--g-line, #e5e3df); overflow: hidden; }
.g-lanes__line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--g-blue, #0f72a3), var(--g-blue-light, #34a6de)); transform: scaleX(var(--g-progress, 1)); transform-origin: left center; }
.g-lanes__end { grid-column: -2; grid-row: 2; align-self: center; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); font-weight: 500; letter-spacing: -.025em; line-height: 1; color: var(--g-ink, #121212); white-space: nowrap; padding-left: 6px; }
.g-lane-step { position: relative; grid-column: calc(var(--i) + 1); min-width: 0; }
.g-lane-step--you { grid-row: 1; align-self: end; padding-bottom: calc(var(--_row) / 2 + 12px); }
.g-lane-step--us { grid-row: 3; padding-top: calc(var(--_row) / 2 + 12px); }
/* Punto sobre la línea y conector vertical hasta el paso. El punto se enciende en azul al llegar el relleno. */
.g-lane-step__dot { position: absolute; left: 0; width: var(--_dot); height: var(--_dot); border-radius: 50%; background: var(--g-white, #fff); border: 2.5px solid var(--g-ink, #121212); box-sizing: border-box; z-index: 1; transition: background-color .35s, border-color .35s, transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.g-lane-step--us .g-lane-step__dot { background: var(--g-ink, #121212); }
.g-lane-step__dot.is-lit { background: var(--g-blue, #0f72a3); border-color: var(--g-blue, #0f72a3); }
.g-lane-step--you .g-lane-step__dot { bottom: calc(var(--_row) / 2 * -1 - var(--_dot) / 2); }
.g-lane-step--us .g-lane-step__dot { top: calc(var(--_row) / 2 * -1 - var(--_dot) / 2); }
.g-lane-step::before { content: ""; position: absolute; left: calc(var(--_dot) / 2 - 1px); width: 2px; height: calc(var(--_row) / 2 + 12px); background: var(--g-line, #e5e3df); }
.g-lane-step--you::before { bottom: calc(var(--_row) / 2 * -1); }
.g-lane-step--us::before { top: calc(var(--_row) / 2 * -1); }
.g-lane-step__title { font-size: clamp(1.125rem, .95rem + .55vw, 1.4375rem); font-weight: 500; line-height: 1.2; letter-spacing: -.015em; margin: 0; color: var(--g-ink, #121212); text-wrap: balance; }
.g-lane-step__text { margin: 6px 0 0; font-size: .9063rem; line-height: 1.45; color: var(--g-muted, #5c5c5c); }
/* Fotos de muestra bajo un paso: aparecen una tras otra. */
.g-lane-step__set { display: flex; gap: 6px; margin-top: 14px; }
.g-lane-step__set .g-tile { width: 72px; aspect-ratio: 1; border-radius: 4px; background: var(--g-white, #fff); }
.g-lane-step.g-rv .g-lane-step__set .g-tile { opacity: 0; transform: translateY(8px) scale(.92); transition: opacity .5s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.5s + var(--i, 1) * 180ms + var(--k, 0) * 140ms); }
.g-lane-step.g-rv.is-in .g-lane-step__set .g-tile { opacity: 1; transform: none; }
/* Fondo partido: blanco en el carril del cliente, gris estudio en el nuestro, con la línea en la costura. */
/* El carril de Gazo va en un gris muy ligero (el gris estudio resultaba demasiado oscuro en una franja tan ancha). */
.g-steps { --_lane: #f7f7f6; }
.g-steps.has-split { background: linear-gradient(to bottom, var(--g-white, #fff) var(--g-split, 50%), var(--_lane) var(--g-split, 50%)); }
.g-steps.has-split.is-vertical { background: linear-gradient(to right, var(--g-white, #fff) var(--g-split, 50%), var(--_lane) var(--g-split, 50%)); }
/* Aparición: los puntos saltan y los pasos entran a su ritmo (la línea la lleva el scroll). */
.g-lane-step.g-rv { transition-delay: calc(.2s + var(--i, 1) * 160ms); }
.g-lane-step.g-rv .g-lane-step__dot { transform: scale(0); transition-delay: calc(.15s + var(--i, 1) * 160ms); }
.g-lane-step.g-rv.is-in .g-lane-step__dot { transform: none; }
.g-lanes__end.g-rv { transition-delay: calc(.3s + var(--n, 4) * 160ms); }
@media (max-width: 760px) {
	/* En móvil los carriles son dos columnas y la línea baja por el centro. */
	.g-lanes { --_col: 40px; grid-template-columns: minmax(0, 1fr) var(--_col) minmax(0, 1fr); grid-template-rows: auto repeat(var(--n, 4), auto) auto; row-gap: 24px; column-gap: 12px; }
	.g-lanes__label { grid-row: 1; align-self: start; padding: 0; }
	.g-lanes__label--you { grid-column: 1; }
	.g-lanes__label--us { grid-column: 3; }
	.g-lanes__start { grid-column: 2; grid-row: 1; justify-self: center; align-self: start; padding: 0; font-size: 1rem; }
	.g-lanes__line { grid-column: 2; grid-row: 2 / -2; justify-self: center; align-self: stretch; width: 3px; height: auto; }
	.g-lanes__line::after { background: linear-gradient(180deg, var(--g-blue, #0f72a3), var(--g-blue-light, #34a6de)); transform: scaleY(var(--g-progress, 1)); transform-origin: center top; }
	.g-lanes__end { grid-column: 2; grid-row: -2; justify-self: center; padding: 0; font-size: 1.625rem; }
	.g-lane-step { grid-row: calc(var(--i) + 1); align-self: start; padding: 0; }
	.g-lane-step--you { grid-column: 1; text-align: right; }
	.g-lane-step--us { grid-column: 3; }
	.g-lane-step__dot { top: 4px; bottom: auto; }
	.g-lane-step--you .g-lane-step__dot { left: auto; right: calc(var(--_col) / 2 * -1 - 12px - var(--_dot) / 2); }
	.g-lane-step--us .g-lane-step__dot { left: calc(var(--_col) / 2 * -1 - 12px - var(--_dot) / 2); top: 4px; }
	.g-lane-step::before { top: calc(4px + var(--_dot) / 2 - 1px); height: 2px; width: calc(var(--_col) / 2 + 12px - var(--_dot) / 2); bottom: auto; }
	.g-lane-step--you::before { left: auto; right: calc(var(--_col) / 2 * -1 - 12px + var(--_dot) / 2); }
	.g-lane-step--us::before { left: calc(var(--_col) / 2 * -1 - 12px + var(--_dot) / 2); }
	.g-lane-step--you .g-lane-step__set { justify-content: flex-end; }
	.g-lane-step__set .g-tile { width: 52px; }
	.g-lane-step__title { font-size: 1.0625rem; }
	.g-lane-step__text { font-size: .875rem; }
}

/* ---------- Opiniones: lectura ---------- */
.g-voices { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(0, 0, 0, .1); }
.g-voice { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.6fr); gap: 20px clamp(32px, 5vw, 80px); padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.g-voice__who { display: grid; gap: 6px; align-content: start; padding-top: .35em; }
.g-voice__who strong { font-size: 1.125rem; font-weight: 500; color: var(--g-ink, #121212); letter-spacing: -.01em; }
.g-voice__who span { font-size: .9375rem; color: var(--g-muted, #5c5c5c); }
.g-voice__q { margin: 0; padding: 0; border: 0; }
.g-voice__q p { margin: 0; font-size: clamp(1.375rem, 1rem + 1.4vw, 2.125rem); line-height: 1.32; letter-spacing: -.015em; font-weight: 300; color: var(--g-ink, #121212); text-wrap: pretty; max-width: 26em; }
/* Las palabras se encienden al bajar (widgets.js reparte las palabras y marca is-on). */
.g-voice__q .g-w { transition: color .4s ease; }
.g-voice__q p.g-read .g-w { color: rgba(18, 18, 18, .24); }
.g-bg--black .g-voice__q p.g-read .g-w { color: rgba(255, 255, 255, .3); }
.g-voice__q p.g-read .g-w.is-on { color: inherit; }
@media (max-width: 860px) {
	.g-voice { grid-template-columns: 1fr; gap: 16px; padding: 26px 0; }
	.g-voice__who { order: 2; padding-top: 0; gap: 2px; }
	.g-voice__who strong { font-size: 1rem; }
	.g-voice__who span { font-size: .875rem; }
	.g-voice__q p { font-size: 1.3125rem; line-height: 1.35; }
}

/* ---------- Opiniones: en escena ---------- */
.g-quotes .g-sec__head { margin-bottom: clamp(28px, 3vw, 40px); }
.g-stage { display: grid; gap: clamp(32px, 4vw, 56px); }
/* Pestañas: las marcas, con una línea debajo que se rellena mientras su opinión está en escena. */
.g-stage__tabs { display: flex; gap: clamp(20px, 3vw, 48px); border-bottom: 1px solid rgba(0, 0, 0, .12); }
.g-stage__tab { position: relative; font: inherit; font-size: 1.0625rem; font-weight: 500; color: var(--g-muted, #5c5c5c); background: none; border: 0; padding: 0 0 16px; cursor: pointer; transition: color .3s; white-space: nowrap; }
.g-stage__tab:hover, .g-stage__tab.is-active { color: var(--g-ink, #121212); }
.g-stage__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--g-ink, #121212); transform: scaleX(0); transform-origin: left center; }
.g-stage__tab.is-active::after { animation: g-stage-fill var(--g-dur, 9s) linear forwards; }
.g-stage.is-paused .g-stage__tab.is-active::after { animation-play-state: paused; }
.g-stage__tab:focus-visible { outline: 2px solid var(--g-focus, #0f72a3); outline-offset: 4px; border-radius: 3px; }
@keyframes g-stage-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* La opinión, en grande y con el peso fino de la portada. Todas en la misma celda, para que la altura no salte. */
.g-stage__panels { display: grid; min-height: 0; }
.g-stage__panel { grid-area: 1 / 1; margin: 0; display: grid; gap: clamp(20px, 2.4vw, 32px); align-content: start; }
.g-stage__panel[hidden] { display: grid; visibility: hidden; }
.g-stage__panel blockquote { margin: 0; padding: 0; border: 0; }
.g-stage__panel p { margin: 0; font-size: clamp(1.625rem, 1.05rem + 2.3vw, 3.25rem); line-height: 1.18; letter-spacing: -.025em; font-weight: 300; color: var(--g-ink, #121212); text-wrap: pretty; max-width: 24em; }
.g-stage__panel figcaption { font-style: normal; font-size: 1rem; color: var(--g-muted, #5c5c5c); }
/* Entra subiendo y fundiéndose; la que sale se funde. */
.g-stage__panel.is-active { animation: g-stage-in .7s cubic-bezier(.2, .7, .2, 1) both; }
.g-stage__panel.is-leaving { visibility: visible; animation: g-stage-out .3s ease both; }
@keyframes g-stage-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes g-stage-out { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 760px) {
	.g-stage__tabs { gap: 20px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--g-gutter, 20px) * -1); padding-inline: var(--g-gutter, 20px); }
	.g-stage__tabs::-webkit-scrollbar { display: none; }
	.g-stage__tab { font-size: .9375rem; padding-bottom: 12px; }
	.g-stage__panel p { font-size: 1.5rem; line-height: 1.25; }
}

/* ---------- Opiniones: frase destacada ---------- */
.g-pulls { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(0, 0, 0, .12); }
.g-pull { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 96px); align-items: start; padding: clamp(36px, 4.5vw, 64px) 0; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.g-pull__phrase { margin: 0; font-size: clamp(1.875rem, 1.1rem + 2.6vw, 3.75rem); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; color: var(--g-ink, #121212); text-wrap: balance; }
/* El subrayado de la portada: azul del haz por defecto; con foto, sus colores medidos. */
.g-pull__phrase em { --_h: .12em; font-style: normal; background-image: var(--g-mark, linear-gradient(90deg, var(--g-blue, #0f72a3), var(--g-blue-light, #34a6de))); background-repeat: no-repeat; background-size: 100% var(--_h); background-position: 0 92%; padding-bottom: .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.g-pull.g-rv .g-pull__phrase em { background-size: 0 var(--_h); transition: background-size 1.1s cubic-bezier(.6, 0, .2, 1) .3s; }
.g-pull.g-rv.is-in .g-pull__phrase em { background-size: 100% var(--_h); }
.g-pull__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: .6em; }
.g-pull__body:has(.g-pull__img) { grid-template-columns: 120px minmax(0, 1fr); }
.g-pull__body .g-pull__img { width: 120px; aspect-ratio: 1; grid-row: span 2; }
.g-pull__body blockquote { margin: 0; padding: 0; border: 0; }
.g-pull__body p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--g-text, #2b2b2b); }
.g-pull__body figcaption { font-style: normal; display: grid; gap: 2px; font-size: .9375rem; color: var(--g-muted, #5c5c5c); }
.g-pull__body figcaption strong { color: var(--g-ink, #121212); font-weight: 500; }
@media (max-width: 860px) {
	.g-pull { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
	.g-pull__phrase { font-size: clamp(1.625rem, 1.2rem + 2.2vw, 2.25rem); }
	.g-pull__body { padding-top: 0; }
	.g-pull__body:has(.g-pull__img) { grid-template-columns: 88px minmax(0, 1fr); }
	.g-pull__body .g-pull__img { width: 88px; }
	.g-pull__body p { font-size: 1rem; }
}

/* ---------- Opiniones: tarjetas deslizantes ---------- */
.g-cards__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3vw, 40px); }
.g-cards__top .g-sec__head { margin-bottom: 0; }
.g-cards__nav { display: flex; gap: 10px; flex: none; }
.g-cards__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .16); background: var(--g-white, #fff); color: var(--g-ink, #121212); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.g-cards__btn svg { width: 22px; height: 22px; }
.g-cards__btn:hover { border-color: var(--g-ink, #121212); }
.g-cards__btn:disabled { opacity: .3; cursor: default; }
.g-cards__btn:focus-visible { outline: 2px solid var(--g-focus, #0f72a3); outline-offset: 2px; }
/* La fila llega a los dos bordes de la pantalla: asoman la tarjeta siguiente y la anterior, y ninguna se corta a mitad
   de página (la sección la recorta en el borde). Las tarjetas encajan alineadas con el contenedor (scroll-padding). */
.g-quotes:has(.g-cards) { overflow-x: clip; }
.g-cards { --g-edge: calc(max(0px, (100vw - var(--g-wrap, 1240px) - var(--g-gutter, 20px) * 2) / 2) + var(--g-gutter, 20px)); list-style: none; margin: 0 calc(var(--g-edge) * -1); padding: 0 var(--g-edge) 8px; scroll-padding-left: var(--g-edge); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.g-cards::-webkit-scrollbar { display: none; }
.g-cards { cursor: grab; }
.g-cards.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.g-cards img { -webkit-user-drag: none; user-select: none; }
.g-card-q { flex: 0 0 min(760px, 82%); scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--g-white, #fff); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 18px 48px rgba(60, 40, 10, .06); }
.g-card-q--text { grid-template-columns: 1fr; }
.g-card-q__media { margin: 0; border-radius: 0; min-height: 100%; aspect-ratio: 4 / 5; }
.g-card-q__media .g-tile__card { left: 14px; bottom: 14px; }
.g-card-q__body { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 40px); }
.g-card-q__brand { font-size: var(--g-fs-small, .875rem); font-weight: 500; color: var(--g-muted, #5c5c5c); }
.g-card-q__phrase { margin: 0; font-size: clamp(1.375rem, 1.05rem + 1.1vw, 1.875rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; color: var(--g-ink, #121212); text-wrap: balance; }
/* Sin subrayado: en la ficha parecía un enlace y el color ya lo ponen la foto y sus muestras. */
.g-card-q__phrase em { font-style: normal; }
.g-card-q blockquote { margin: 0; padding: 0; border: 0; }
.g-card-q blockquote p { margin: 0; font-size: 1.0313rem; line-height: 1.55; color: var(--g-text, #2b2b2b); }
.g-card-q__who { margin-top: auto; padding-top: 8px; font-size: .9375rem; color: var(--g-muted, #5c5c5c); }
@media (max-width: 860px) {
	.g-cards__top { align-items: flex-start; }
	.g-cards__btn { width: 42px; height: 42px; }
	.g-cards { gap: 12px; }
	.g-card-q { flex-basis: 86%; grid-template-columns: 1fr; border-radius: 12px; }
	.g-card-q__media { aspect-ratio: 4 / 3; min-height: 0; }
	.g-card-q__body { padding: 20px; gap: 12px; }
	.g-card-q__phrase { font-size: 1.3125rem; }
	.g-card-q blockquote p { font-size: .9688rem; }
}

/* ---------- Blog en la home: destacado y lista ---------- */
.g-posts--nodate time { display: none; }
.g-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.g-feature__media { display: block; aspect-ratio: 4 / 3; }
.g-feature__media img { object-fit: cover; }
.g-feature__media:hover img { scale: 1.03; }
.g-feature__text { display: grid; gap: 28px; }
.g-feature__link { display: block; text-decoration: none; color: inherit; }
.g-feature__meta { font-size: var(--g-fs-small, .875rem); color: var(--g-muted, #5c5c5c); margin: 0 0 8px; }
.g-feature__title { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--g-ink, #121212); text-wrap: balance; }
.g-feature__link:hover .g-feature__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.g-feature__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--g-line, #e5e3df); }
.g-feature__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "meta arrow" "title arrow"; column-gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--g-line, #e5e3df); text-decoration: none; color: inherit; }
.g-feature__row .g-feature__meta { grid-area: meta; margin-bottom: 6px; }
.g-feature__row-title { grid-area: title; font-size: 1.1875rem; font-weight: 500; line-height: 1.3; color: var(--g-ink, #121212); }
.g-feature__row svg { grid-area: arrow; width: 22px; height: 22px; color: var(--g-ink, #121212); opacity: .35; transition: opacity .3s, transform .3s; }
.g-feature__row:hover svg { opacity: 1; transform: translateX(4px); }
.g-feature__row:hover .g-feature__row-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (max-width: 860px) {
	.g-feature { grid-template-columns: 1fr; gap: 16px; }
	.g-feature__text { gap: 20px; }
	.g-feature__title { font-size: 1.375rem; }
	.g-feature__row { padding: 16px 0; }
	.g-feature__row-title { font-size: 1.0625rem; }
}

/* ---------- Contacto: foto que responde al formulario y WhatsApp destacado ---------- */
.g-contact__pick { position: relative; aspect-ratio: 4 / 3; margin: 28px 0 0; }
.g-contact__fig { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease; }
.g-contact__fig.is-active { opacity: 1; }
.g-contact__fig .g-tile__card { left: 14px; bottom: 14px; }
.g-contact__alt { border-top: 0; padding-top: 0; margin-top: 28px; display: grid; gap: 18px; }
.g-contact__wa { width: 100%; }
.g-contact__wa svg { width: 22px; height: 22px; color: #1fa855; }
.g-contact__lines { display: flex !important; flex-wrap: wrap; gap: 10px 24px !important; }
.g-bg--black .g-contact__wa { background: var(--g-white, #fff); color: var(--g-black, #000) !important; }
.g-bg--black .g-contact__wa:hover { background: var(--g-cream, #e2d8c9); }
/* La tarjeta del formulario es blanca: recupera los colores de texto normales dentro de la sección negra. */
.g-bg--black .g-contact__form { --g-ink: #121212; --g-text: #2b2b2b; --g-muted: #5c5c5c; --g-line: #e5e3df; --g-blue: #0f72a3; color: var(--g-text); box-shadow: 0 24px 64px rgba(0, 0, 0, .45); }
/* Campos secundarios plegados: «Añadir teléfono o web». */
.g-form__more { border: 0; }
.g-form__more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--g-ink, #121212); padding: 2px 0; }
.g-form__more summary::-webkit-details-marker { display: none; }
.g-form__more summary::before { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; transition: transform .25s; }
.g-form__more[open] summary::before { transform: rotate(45deg); }
.g-form__more[open] summary { margin-bottom: 16px; }
.g-form__more summary:focus-visible { outline: 2px solid var(--g-focus, #0f72a3); outline-offset: 3px; border-radius: 3px; }
@media (max-width: 860px) {
	/* En móvil la foto quedaría por encima del formulario, sin verse al marcar: fuera, y la sección más corta. */
	.g-contact__pick { display: none; }
	.g-contact__alt { margin-top: 28px; }
}

/* ---------- Contacto: mensaje rápido por WhatsApp (g-quick; «g-wa» es el botón flotante del tema) ---------- */
.g-quick { margin-top: 28px; background: var(--g-white, #fff); border-radius: 12px; padding: clamp(20px, 2.4vw, 28px); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 18px 48px rgba(60, 40, 10, .06); display: grid; gap: 14px; }
.g-quick__title { font-weight: 500; color: var(--g-ink, #121212); font-size: 1.0625rem; }
.g-quick__text { width: 100%; font: 400 1rem/1.45 var(--g-font, sans-serif); color: var(--g-ink, #121212); background: #fff; border: 1px solid #cfcac2; border-radius: 8px; padding: 13px 14px; min-height: 96px; resize: vertical; transition: border-color .15s, box-shadow .15s; }
.g-quick__text:focus { outline: none; border-color: var(--g-ink, #121212); box-shadow: 0 0 0 3px rgba(15, 114, 163, .18); }
.g-quick__send { width: 100%; background: #1fa855; }
.g-quick__send:hover { background: #178a45; }
.g-quick__send svg { width: 22px; height: 22px; }
.g-contact__alt { margin-top: 24px; }
@media (max-width: 860px) { .g-quick { margin-top: 22px; padding: 18px; } }

/* ---------- Fondo «Noche»: oscuro, con la luz del haz del logo difuminada por detrás ---------- */
.g-bg--night { position: relative; isolation: isolate; overflow: clip; background: #0e1116; color: #cfd3d8; }
/* Fundido al negro del pie en el borde inferior: solo en el contacto, que cierra la página. */
.g-contact.g-bg--night::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000); }
.g-bg--night::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
	radial-gradient(65% 95% at 0% 100%, rgba(15, 114, 163, .55), rgba(15, 114, 163, 0) 72%),
	radial-gradient(45% 70% at 100% 0%, rgba(52, 166, 222, .22), rgba(52, 166, 222, 0) 70%),
	radial-gradient(40% 55% at 70% 110%, rgba(226, 216, 201, .10), rgba(226, 216, 201, 0) 70%);
	animation: g-night 18s ease-in-out infinite alternate; }
@keyframes g-night { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(2%, -3%, 0) scale(1.06); } }
.g-bg--night :is(h1, h2, h3, .g-sec__title) { color: #fff; }
.g-bg--night { --g-ink: #fff; --g-text: #cfd3d8; --g-muted: #96a0ab; --g-line: rgba(255, 255, 255, .14); --g-blue: var(--g-blue-light, #34a6de); }
/* Contacto en «Noche»: tarjetas blancas, el objeto iluminado sobre el fondo oscuro. Dentro, los colores normales. */
.g-bg--night .g-contact__form, .g-bg--night .g-quick { --g-ink: #121212; --g-text: #2b2b2b; --g-muted: #5c5c5c; --g-line: #e5e3df; --g-blue: #0f72a3; color: var(--g-text); background: var(--g-white, #fff); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.g-bg--night .g-contact__line { color: #fff; }
.g-bg--night .g-contact__wa { background: #fff; color: #0e1116 !important; }
.g-bg--night .g-reasons__big > div { border-top-color: rgba(255, 255, 255, .16); }

/* ---------- Fondo «Claro con el haz»: crema suave con el haz del logo entrando desde la izquierda (como la antigua Llamada) ---------- */
.g-bg--beam { position: relative; isolation: isolate; overflow: clip; background: var(--g-cream-soft, #f5f1ea); }
.g-bg--beam::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: -2%; top: 50%; width: 62%; height: 170%; transform: translateY(-50%); background: linear-gradient(90deg, rgba(32, 140, 200, .2), rgba(52, 166, 222, 0)); clip-path: polygon(0 47%, 100% 0, 100% 100%, 0 53%); }
/* En móvil la sección es mucho más alta que ancha: el haz se queda en la parte de arriba, detrás del título. */
@media (max-width: 860px) { .g-bg--beam::before { top: 0; width: 120%; height: min(140vw, 70%); transform: none; clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 60%); } }

/* ---------- Portada: «Producto grande, sin recuadro» (Foto > Presentación) ----------
   Páginas de servicio. La portada toma el color del fondo de la foto (--g-hero-bg, medido en el
   servidor), así que el producto ocupa media portada sin casilla, a sangre por la derecha.
   «Texto y foto al lado» es la de siempre (sin data-g-layout). */
.g-hero[data-g-layout="product"] { padding-top: 0; padding-bottom: 0; container-type: inline-size; }
.g-hero[data-g-layout="product"][style*="--g-hero-bg"] { background: var(--g-hero-bg); }
.g-hero[data-g-layout="product"] .g-hero__media { background: transparent; border-radius: 0; }
@keyframes g-fade { from { opacity: 0; } }
.g-hero[data-g-motion][data-g-layout="product"] .g-hero__media { animation-name: g-fade; }
@media (min-width: 861px) {
	/* El texto alineado con el logotipo de la cabecera; la foto, hasta el borde derecho de la pantalla. */
	.g-hero[data-g-layout="product"] { --g-fs-h1: clamp(2.75rem, 1.6rem + 2.6vw, 4.25rem); }
	.g-hero[data-g-layout="product"] .g-hero__grid { max-width: none; padding-right: 0; padding-left: max(var(--g-gutter, 24px), calc((100% - var(--g-wrap, 1240px)) / 2)); grid-template-columns: minmax(0, min(520px, 44%)) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; min-height: clamp(560px, calc(100vh - var(--g-header-h, 76px)), 860px); }
	.g-hero[data-g-layout="product"] .g-hero__text { align-self: center; padding-block: clamp(40px, 5vw, 72px); }
	/* La foto no da altura: la portada mide lo que el texto o la pantalla, y la foto la llena. */
	.g-hero[data-g-layout="product"] .g-hero__media { aspect-ratio: auto; max-height: none; }
	/* Si al ampliar el producto la sombra de la foto queda cortada en un borde, se funde con el fondo. */
	.g-hero[data-g-layout="product"] .g-hero__frames { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px), linear-gradient(0deg, transparent, #000 56px); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 56px), linear-gradient(0deg, transparent, #000 56px); mask-composite: intersect; }
	/* La carta de color, arriba a la derecha y alineada con el botón de la cabecera: abajo la tapa el botón de WhatsApp. */
	.g-hero[data-g-layout="product"] .g-hero__card { left: auto; bottom: auto; right: max(var(--g-gutter, 24px), calc((100cqw - var(--g-wrap, 1240px)) / 2)); top: clamp(24px, 3vw, 40px); }
}
@media (max-width: 860px) {
	/* La foto arriba, de borde a borde, y la carta de color pequeña sobre ella. */
	.g-hero[data-g-layout="product"] { padding-bottom: 32px; }
	.g-hero[data-g-layout="product"] .g-hero__media { aspect-ratio: 6 / 5; max-height: min(46vh, 420px); width: auto; }
	.g-sec.g-hero[data-g-layout="product"] .g-hero__grid > figure.g-hero__media { margin-inline: calc(-1 * var(--g-gutter, 20px)); }
	.g-hero[data-g-layout="product"] .g-hero__frames { -webkit-mask-image: linear-gradient(0deg, transparent, #000 40px); mask-image: linear-gradient(0deg, transparent, #000 40px); }
	.g-hero[data-g-layout="product"] .g-hero__card { position: absolute; left: var(--g-gutter, 20px); bottom: 10px; padding: 7px 9px; background: rgba(255, 255, 255, .96); border-radius: 6px; }
}

/* ---------- Portada sobre fondo oscuro (Sección > Fondo: Negro o Noche) ---------- */
.g-hero:is(.g-bg--black, .g-bg--night) .g-btn { background: var(--g-white, #fff); color: var(--g-black, #000) !important; }
.g-hero:is(.g-bg--black, .g-bg--night) .g-btn:hover { background: var(--g-cream, #e2d8c9); }
.g-hero:is(.g-bg--black, .g-bg--night) .g-hero__title[style*="--g-mark"] em { --_line: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)); }
/* Tarjetas de opinión y sus flechas sobre fondo oscuro: la tarjeta es blanca, así que recupera los colores de texto oscuros. */
:is(.g-bg--black, .g-bg--night) :is(.g-card-q, .g-cards__btn) { --g-ink: #121212; --g-text: #2b2b2b; --g-muted: #5c5c5c; --g-line: #e5e3df; --g-blue: #0f72a3; color: var(--g-text); }

/* ---------- Lista de cookies (política de cookies) ---------- */
.g-cookie-list { display: grid; gap: 40px; margin-top: 1.5em; }
.g-cookie-list .g-cookie-group__title { font-size: 1.3125rem; margin: 0 0 .5em; }
.g-cookie-group__text > :last-child { margin-bottom: 0; }
.g-cookie-group__text a { color: var(--g-blue, #0f72a3); text-underline-offset: .2em; }
.g-cookie-table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
/* El reset de Hello pone bordes y franjas a las tablas: aquí, solo líneas horizontales. */
.g-cookie-table :is(th, td) { border: 0; background: none; }
.g-cookie-table th { text-align: left; vertical-align: bottom; font-weight: 500; color: var(--g-ink, #121212); padding: 0 16px 10px 0; border-bottom: 1px solid var(--g-ink, #121212); }
.g-cookie-table td { vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--g-line, #e5e3df); }
.g-cookie-table :is(th, td):last-child { padding-right: 0; }
.g-cookie-table td:first-child { width: 24%; }
.g-cookie-table td:nth-child(2) { width: 17%; }
.g-cookie-table td:last-child { width: 16%; }
.g-cookie-table code { display: inline-block; margin: 0 6px 2px 0; font: .875rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--g-ink, #121212); overflow-wrap: anywhere; }
/* Solo en el editor: tipos que aún no se publican porque falta su ID. */
.g-cookie-group.is-off > :not(.g-cookie-group__off) { opacity: .45; }
.g-cookie-group__off { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--g-radius, 6px); background: var(--g-cream-soft, #f5f1ea); font-size: .875rem; }
@media (max-width: 600px) {
	/* En móvil, cada cookie es una ficha: el encabezado de cada dato va a su izquierda. */
	.g-cookie-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.g-cookie-table, .g-cookie-table tbody, .g-cookie-table tr, .g-cookie-table td { display: block; width: auto !important; }
	.g-cookie-table { border-top: 1px solid var(--g-ink, #121212); }
	.g-cookie-table tr { padding: 12px 0; border-bottom: 1px solid var(--g-line, #e5e3df); }
	.g-cookie-table td { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 3px 0; border: 0; }
	.g-cookie-table td::before { content: attr(data-label); color: var(--g-muted, #5c5c5c); }
}

/* ---------- Pareja «foto original → resultado» (portada «Dos fotos» y bloque «Original y resultado») ---------- */
.g-pair { display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, 1fr); align-items: end; }
.g-pair__to { grid-column: 2; grid-row: 1; }
.g-pair__to .g-tile { aspect-ratio: 3 / 4; }
/* La original va delante, como una copia apoyada sobre el resultado. */
.g-pair__from { grid-column: 1; grid-row: 1; position: relative; z-index: 1; margin: 0 -16% 9% 0; }
.g-pair__from .g-tile { aspect-ratio: 1; box-shadow: 0 0 0 6px var(--g-white, #fff), 0 18px 44px rgba(18, 18, 18, .16); }
.g-pair__arrow { position: absolute; right: -22px; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--g-ink, #121212); color: var(--g-white, #fff); box-shadow: 0 0 0 5px var(--g-white, #fff); }
.g-pair__arrow svg { width: 20px; height: 20px; }
.g-pair__tag { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); font-size: .8125rem; line-height: 1.2; color: var(--g-ink, #121212); background: rgba(255, 255, 255, .96); padding: 6px 11px; border-radius: 999px; box-shadow: 0 4px 16px rgba(18, 18, 18, .1); pointer-events: none; }
/* La etiqueta del resultado, a la derecha: a la izquierda la tapa la foto original. */
.g-pair__to .g-pair__tag { left: auto; right: 12px; }
.g-pair--single { display: block; }
.g-pair a.g-tile:focus-visible { outline: 2px solid var(--g-focus, #0f72a3); outline-offset: 3px; }
@media (max-width: 760px) {
	.g-pair__from .g-tile { box-shadow: 0 0 0 4px var(--g-white, #fff), 0 10px 28px rgba(18, 18, 18, .16); }
	.g-pair__arrow { width: 34px; height: 34px; right: -17px; box-shadow: 0 0 0 4px var(--g-white, #fff); }
	.g-pair__arrow svg { width: 16px; height: 16px; }
	.g-pair__tag { left: 7px; bottom: 7px; max-width: calc(100% - 14px); font-size: .6875rem; padding: 4px 8px; }
	.g-pair__to .g-pair__tag { right: 7px; }
}

/* Portada «Dos fotos» */
.g-hero__pair { width: 100%; max-width: min(100%, 700px, calc((100vh - var(--g-header-h, 76px) - 96px) * 1.16)); justify-self: center; }
.g-hero[data-g-motion] .g-hero__pair .g-pair__to { animation: g-reveal 1.1s cubic-bezier(.2, .7, .2, 1) .15s both; }
.g-hero[data-g-motion] .g-hero__pair .g-pair__from { animation: g-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.g-hero[data-g-motion] .g-hero__pair .g-pair__arrow { animation: g-pop .45s cubic-bezier(.3, 1.5, .5, 1) .8s both; }
.elementor-editor-active .g-hero[data-g-motion] .g-hero__pair :is(.g-pair__to, .g-pair__from, .g-pair__arrow) { animation: none; }
@media (max-width: 860px) { .g-hero__pair { order: -1; max-width: min(100%, 400px); } }

/* Bloque «Original y resultado» */
.g-compare__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 96px) clamp(32px, 6vw, 96px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-compare__grid--1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.g-compare__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); }
@media (max-width: 860px) { .g-compare__grid, .g-compare__grid--3 { grid-template-columns: minmax(0, 460px); justify-content: center; } }
