/* Estilos compartidos propios del sitio (se cargan en todas las páginas,
   después de main.css). El menú del header usa clases Tailwind de
   main.css; aquí solo va lo que Tailwind compilado no cubre. */

/* ============ Paleta de marca AZ Sunset — Steel & Sunset ============
   Tema NEGRO + NARANJA: lienzo casi negro con el naranja de marca como color
   PROTAGONISTA (CTAs, links, precios, números, estrellas, eyebrows, brillos),
   y texto claro para lectura. Estas variables pisan las de main.css (este
   archivo carga después), así que casi todo el re-tematizado sucede acá sin
   tocar el Tailwind ya compilado.
     Negro:   #0D0D0D fondo · #141414 / #171717 superficies · #000 footer
     Naranja: #F26A21 marca/CTA/acento · #FF8033 hover · #F9B24A ámbar/brillo
     Texto:   #E8E8E8 cuerpo · #F4F4F4 títulos/labels */
:root {
	--color-primary: #161616;       /* casi negro: fondo de secciones "bg-primary" (heros, CTA, footer alterno) */
	--color-primary-dark: #0d0d0d;  /* negro: extremo del degradado del hero */
	--color-primary-light: #2a2a2a; /* gris muy oscuro */
	--color-accent: #f26a21;        /* NARANJA protagonista: CTA, links, precios, números */
	--color-accent-hover: #ff8033;  /* naranja más brillante: hover de los CTA */
	--color-sun: #f9b24a;           /* ámbar: brillo del hero, estrellas, detalles cálidos */
	--color-brand-red: #98291e;     /* rojo del logo: errores de formulario */

	--color-dark: #f4f4f4;          /* "text-dark" (títulos/labels) ahora es claro sobre negro */

	/* Texto claro sobre superficies negras (hero y secciones bg-primary). */
	--color-blue-100: #ededed;      /* subtítulos */
	--color-blue-200: #bdbdbd;      /* rótulos apagados */

	/* Escala de grises remapeada a oscuro (el tema base asumía fondo blanco). */
	--color-gray-50: #141414;       /* secciones alternas */
	--color-gray-100: #1a1a1a;      /* fondos suaves / imágenes */
	--color-gray-200: #2b2b2b;      /* bordes de tarjetas y divisores */
	--color-gray-300: #3a3a3a;      /* bordes de inputs */
	--color-gray-400: #8f8f8f;      /* rótulos apagados */
	--color-gray-500: #a2a2a2;      /* texto terciario */
	--color-gray-600: #c6c6c6;      /* texto secundario */
	--color-gray-700: #d8d8d8;      /* texto de párrafos largos */
}

/* ---- Superficies oscuras (clases del tema que asumían fondo blanco) ---- */
body { background-color: #0d0d0d; color: #e8e8e8; }
.bg-white { background-color: #171717; }                       /* tarjetas y paneles */
.bg-white\/95 { background-color: rgba(13, 13, 13, 0.9); }    /* barra del header */
.bg-dark { background-color: #000; }                           /* footer, el más negro */
.text-dark { color: #f4f4f4; }                                 /* títulos y labels claros */
.text-gray-300 { color: #c6c6c6; }                             /* texto del footer */

/* ---- El NARANJA toma protagonismo (utilidades que eran del primario) ---- */
.text-primary { color: var(--color-accent); }                  /* links, precios, números, "View →" */
.border-primary { border-color: var(--color-accent); }
.bg-primary\/10 { background-color: rgba(242, 106, 33, 0.14); } /* círculos numerados */

/* Campos de formulario con relleno propio sobre el negro. */
form input:not([type="hidden"]), form select, form textarea {
	background-color: #141414;
	color: #ededed;
}

/* CTAs sólidos: relleno naranja con texto casi negro (look naranja+negro y
   contraste AA, que el texto blanco sobre naranja no alcanza). Los botones
   "bg-primary" (Sign In, Back to Home) pasan a naranja para que se vean. */
a.bg-accent, button.bg-accent,
a.bg-primary, button.bg-primary {
	color: #160a02 !important;
}
a.bg-primary, button.bg-primary { background-color: var(--color-accent); }
.hover\:bg-primary:hover { background-color: var(--color-accent) !important; color: #160a02 !important; }

/* ===== Micro-interacciones del header (hover con el cursor) =====
   Subrayado que crece, chevron que gira, dropdown con slide, sub-links que
   se desplazan, logo con zoom y CTA con brillo + imán (el imán en main.js).
   Todo scoped al <header> y desactivado con prefers-reduced-motion. */

/* Logo: leve zoom/tilt. */
header .site-logo { transition: transform .35s cubic-bezier(.2, .7, .3, 1); }
header a:hover .site-logo { transform: scale(1.06) rotate(-1deg); }

/* Links de nav (nivel superior): subrayado naranja que crece desde el centro
   + micro-lift. */
.site-nav > a,
.site-nav > .group > a { position: relative; transition: color .2s ease, transform .2s ease; }
.site-nav > a::after,
.site-nav > .group > a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 1.5rem;
	height: 2px;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .3s cubic-bezier(.2, .7, .3, 1);
}
.site-nav > a:hover::after,
.site-nav > .group:hover > a::after,
.site-nav > .group:focus-within > a::after { transform: scaleX(1); }
.site-nav > a:hover,
.site-nav > .group:hover > a { transform: translateY(-1px); }

/* Icono guía de cada ítem del nav (Product, Financing, …). */
.site-nav .mega-icon { width: 1.05rem; height: 1.05rem; flex: none; color: var(--color-accent); transition: transform .28s cubic-bezier(.2, .7, .3, 1); }
#ironclad-mobile-nav .mega-icon { width: 1rem; height: 1rem; flex: none; color: var(--color-accent); }
.site-nav > a:hover .mega-icon,
.site-nav > .group:hover > a .mega-icon,
.site-nav > .group:focus-within > a .mega-icon { transform: translateY(-1px) scale(1.08); }

/* Chevron (el svg SIN clase .mega-icon): gira al abrir el menú. */
.site-nav > .group > a svg:not(.mega-icon) { transition: transform .28s cubic-bezier(.2, .7, .3, 1); }
.site-nav > .group:hover > a svg:not(.mega-icon),
.site-nav > .group:focus-within > a svg:not(.mega-icon) { transform: rotate(180deg); }

/* Dropdown: aparece con fade + slide hacia abajo. */
.site-nav .group > div { transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.site-nav .group:hover > div,
.site-nav .group:focus-within > div { transform: translateY(0); }

/* Sub-links del dropdown: se desplazan a la derecha al hover. */
.site-nav .group > div a { transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.site-nav .group > div a:hover { transform: translateX(4px); }

/* Teléfono: micro-lift al hover. */
header a[href^="tel:"] { transition: color .2s ease, transform .2s ease; }
header a[href^="tel:"]:hover { transform: translateY(-1px); }

/* CTA del header: brillo que barre (el lift/sombra vienen del hover de
   bg-accent; el imán lo agrega main.js). */
header a.bg-accent { position: relative; overflow: hidden; }
header a.bg-accent::before {
	content: "";
	position: absolute;
	top: 0; left: -120%;
	width: 55%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
	transform: skewX(-18deg);
	transition: left .6s ease;
	pointer-events: none;
}
header a.bg-accent:hover::before { left: 140%; }

/* ===== Header rediseñado: barra de utilidad + main bar premium ===== */
.site-header { border-bottom: 1px solid rgba(255, 255, 255, 0.08); transition: box-shadow .3s ease, background-color .3s ease; }
/* Hairline naranja de atardecer bajo el header. */
.site-header::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(242, 106, 33, .55), rgba(249, 178, 74, .5), rgba(242, 106, 33, .55), transparent);
	pointer-events: none;
}
.site-header.is-scrolled { box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .75); background-color: rgba(10, 10, 10, .92); }

/* Barra superior de utilidad (ubicación · garantía · email · redes).
   Visible sólo en desktop vía media query propia (Tailwind compilado no
   incluye lg:block, así que no lo usamos aquí). */
.top-utility { display: none; background: rgba(0, 0, 0, .28); border-bottom: 1px solid rgba(255, 255, 255, 0.06); max-height: 3rem; overflow: hidden; transition: max-height .35s ease, opacity .3s ease; }
@media (min-width: 1024px) { .top-utility { display: block; } }
.top-utility .util-left, .top-utility .util-link, .top-utility .util-social { color: #9a9a9a; }
.util-ic { width: .9rem; height: .9rem; color: var(--color-accent); flex: none; }
.util-sep { color: rgba(255, 255, 255, .2); }
.util-link { transition: color .2s ease; }
.util-link:hover { color: var(--color-accent); }
.util-social { display: inline-flex; width: 1.15rem; height: 1.15rem; transition: color .2s ease, transform .2s ease; }
.util-social svg { width: 100%; height: 100%; }
.util-social:hover { color: var(--color-accent); transform: translateY(-1px); }
/* Al hacer scroll, la barra de utilidad se pliega (header más compacto). */
.site-header.is-scrolled .top-utility { max-height: 0; opacity: 0; border-bottom-color: transparent; }

/* Logo: leve resplandor cálido para que el emblema resalte sobre el negro. */
.logo-badge { position: relative; }
.logo-badge::before {
	content: "";
	position: absolute;
	left: -10px; top: 50%;
	width: 66px; height: 66px;
	transform: translateY(-50%);
	border-radius: 9999px;
	background: radial-gradient(circle, rgba(242, 106, 33, .30), transparent 70%);
	opacity: .45;
	z-index: -1;
	pointer-events: none;
	transition: opacity .3s ease;
}
.logo-badge:hover::before { opacity: 1; }

/* Teléfono como "pill" con ícono. */
.phone-pill { border: 1px solid rgba(242, 106, 33, .35); border-radius: 9999px; padding: .5rem .95rem; font-size: .875rem; font-weight: 600; color: #f4f4f4; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.phone-pill .phone-ic { width: 1rem; height: 1rem; color: var(--color-accent); flex: none; }
.phone-pill:hover { border-color: var(--color-accent); background: rgba(242, 106, 33, .1); }

/* CTA "Get a Free Quote": más presencia + flecha que avanza al hover. */
.cta-quote { border-radius: .6rem; padding: .7rem 1.2rem; font-size: .875rem; font-weight: 700; box-shadow: 0 8px 22px -10px rgba(242, 106, 33, .6); transition: box-shadow .25s ease, transform .2s ease; }
.cta-quote .cta-arrow { width: 1rem; height: 1rem; flex: none; transition: transform .25s ease; }
.cta-quote:hover { box-shadow: 0 12px 28px -8px rgba(242, 106, 33, .78); }
.cta-quote:hover .cta-arrow { transform: translateX(3px); }

/* ===== Visor 3D del garaje (Three.js) ===== */
.g3d-stage {
	position: relative;
	width: 100%;
	height: 380px;
	border-radius: 1.25rem;
	overflow: hidden;
	background: radial-gradient(120% 100% at 50% 0%, #2a1d12 0%, #141414 55%, #0d0d0d 100%);
	border: 1px solid rgba(242, 106, 33, .2);
	box-shadow: inset 0 0 60px rgba(0, 0, 0, .5);
	cursor: grab;
	touch-action: pan-y;
}
.g3d-stage:active { cursor: grabbing; }
.g3d-stage canvas { display: block; }
@media (min-width: 768px) { .g3d-stage { height: 520px; } }
.g3d-hint {
	position: absolute;
	bottom: .85rem; left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	pointer-events: none;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .4rem .85rem;
	border-radius: 9999px;
	background: rgba(0, 0, 0, .45);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, .1);
	font-size: .72rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #cfcfcf;
}
.g3d-hint-ic { color: var(--color-accent); font-size: .95rem; }

/* Tarjetas de producto (Top Picks / grilla): flotación continua (arriba/abajo
   + lateral) para que se vean dinámicas en reposo, un "brillo" que barre cada
   tarjeta, y la inclinación 3D + foco que siguen al cursor. La flotación usa la
   propiedad translate (independiente de transform) para que NO pelee con la
   inclinación 3D de main.js ni con el hover-lift de Tailwind. */
.js-tilt-card { position: relative; transform-style: preserve-3d; transition: transform .3s cubic-bezier(.2, .7, .3, 1), border-color .3s ease, box-shadow .3s ease; }
.js-tilt-card.is-tilting { transition: transform .08s linear, border-color .3s ease, box-shadow .3s ease; }
/* Foco de luz que sigue al cursor. */
.js-tilt-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	border-radius: inherit;
	opacity: 0;
	transition: opacity .3s ease;
	background: radial-gradient(20rem 20rem at var(--mx, 50%) var(--my, 50%), rgba(242, 106, 33, .18), transparent 60%);
}
/* Brillo diagonal que barre la tarjeta en bucle. */
.js-tilt-card::after {
	content: "";
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: 60%;
	z-index: 3;
	pointer-events: none;
	border-radius: inherit;
	opacity: 0;
	background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .06) 45%, rgba(242, 106, 33, .10) 55%, transparent);
	transform: translateX(-180%) skewX(-12deg);
}
.js-tilt-card:hover { border-color: rgba(242, 106, 33, .5); box-shadow: 0 16px 40px -20px rgba(242, 106, 33, .38); }
.js-tilt-card:hover::before { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
	.js-tilt-card { animation: card-float 8s ease-in-out infinite; }
	.js-tilt-card:nth-child(3n+2) { animation-delay: -2.8s; animation-duration: 9s; }
	.js-tilt-card:nth-child(3n) { animation-delay: -5s; animation-duration: 8.6s; }
	.js-tilt-card:hover { animation-play-state: paused; }
	.js-tilt-card::after { animation: card-sheen 9s ease-in-out infinite; }
	.js-tilt-card:nth-child(3n+2)::after { animation-delay: 3s; }
	.js-tilt-card:nth-child(3n)::after { animation-delay: 5.5s; }
}
@keyframes card-float {
	0%   { translate: 0 0; }
	20%  { translate: 3px -5px; }
	50%  { translate: 0 -7px; }
	80%  { translate: -3px -5px; }
	100% { translate: 0 0; }
}
@keyframes card-sheen {
	0%   { transform: translateX(-180%) skewX(-12deg); opacity: 0; }
	8%   { opacity: .7; }
	28%  { transform: translateX(240%) skewX(-12deg); opacity: 0; }
	100% { transform: translateX(240%) skewX(-12deg); opacity: 0; }
}

/* Botón flotante para silenciar el sonido de interfaz (lo inyecta sound.js). */
.snd-toggle {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 60;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	border: 1px solid rgba(242, 106, 33, .4);
	background: rgba(20, 20, 20, .8);
	color: var(--color-accent);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .7);
	cursor: pointer;
	transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.snd-toggle svg { width: 1.25rem; height: 1.25rem; }
.snd-toggle:hover { transform: translateY(-2px); border-color: var(--color-accent); }
.snd-toggle.is-muted { color: #9a9a9a; border-color: rgba(255, 255, 255, .14); }
@media (min-width: 1024px) { .snd-toggle { right: 1.5rem; bottom: 1.5rem; } }

/* Botón flotante "Get in Touch" -> Google Maps. Pill fija en la esquina
   inferior derecha, con texto siempre visible. */
.review-float {
	position: fixed;
	right: 0.85rem;
	bottom: 0.85rem;
	z-index: 60;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.1rem;
	border-radius: 9999px;
	background: var(--color-accent);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 6px 16px -7px rgba(242, 106, 33, 0.6);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.review-float svg { width: 1.05rem; height: 1.05rem; flex: none; }
.review-float:hover,
.review-float:focus-visible {
	transform: translateY(-2px);
	background: var(--color-accent-hover);
	box-shadow: 0 12px 24px -9px rgba(242, 106, 33, 0.75);
}
@media (min-width: 1024px) { .review-float { right: 1.25rem; bottom: 1.25rem; } }
@media (prefers-reduced-motion: reduce) {
	.review-float { transition: none; }
	.review-float:hover,
	.review-float:focus-visible { transform: none; }
}

/* Reducir movimiento: sin desplazamientos ni brillos. */
@media (prefers-reduced-motion: reduce) {
	.js-tilt-card { animation: none !important; transform: none !important; translate: none !important; }
	.js-tilt-card::before, .js-tilt-card::after { display: none; }
	header .site-logo,
	.site-nav > a, .site-nav > .group > a,
	.site-nav .group > div, .site-nav .group > div a,
	header a[href^="tel:"] { transition: none; transform: none; }
	.site-nav > a::after, .site-nav > .group > a::after { transition: none; }
	header a.bg-accent::before { display: none; }
}

/* ===== Testimonios: marquee vertical infinito (puerto del componente React
   "TestimonialsColumn"). Cada columna se desliza sola en bucle y se PAUSA al
   pasar el cursor; las tarjetas tienen micro-lift naranja. El bucle usa
   margin-bottom (no gap) para que el -50% sea perfectamente continuo. ===== */
.tcols {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 2.5rem;
	max-height: 44rem;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
	mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.tcol { width: 100%; max-width: 22rem; }
/* Columnas responsivas propias (la Tailwind compilada no trae md:block /
   lg:block): 1 columna en móvil, 2 desde 768px, 3 desde 1024px. */
.tcol--md, .tcol--lg { display: none; }
@media (min-width: 768px) { .tcol--md { display: block; } }
@media (min-width: 1024px) { .tcol--lg { display: block; } }
.tcol-track {
	display: flex;
	flex-direction: column;
	animation: tcol-scroll var(--dur, 26s) linear infinite;
	will-change: transform;
}
.tcol-track > .tcard { margin-bottom: 1.5rem; }
.tcol--reverse .tcol-track { animation-direction: reverse; }
.tcol:hover .tcol-track { animation-play-state: paused; } /* pausa al pasar el cursor */

@keyframes tcol-scroll {
	from { transform: translateY(0); }
	to { transform: translateY(-50%); }
}

/* Tarjetas de testimonio: micro-lift + borde/sombra naranja al hover. */
.tcard { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.tcard:hover {
	transform: translateY(-4px);
	border-color: rgba(242, 106, 33, .55);
	box-shadow: 0 14px 34px -14px rgba(242, 106, 33, .4);
}

/* Reducir movimiento: sin marquee. Se muestran todas las columnas y tarjetas
   (sin duplicados) en un layout estático que envuelve en pantallas chicas. */
@media (prefers-reduced-motion: reduce) {
	.tcols {
		max-height: none;
		overflow: visible;
		flex-wrap: wrap;
		align-items: flex-start;
		-webkit-mask-image: none;
		mask-image: none;
	}
	.tcol, .tcol--md, .tcol--lg { display: block; flex: 1 1 18rem; }
	.tcol-track { animation: none; }
	.tcol-track > .tdup { display: none; }
	.tcard:hover { transform: none; }
}

/* ===== Reseñas reales de Google: marquee HORIZONTAL infinito (a diferencia
   del de arriba, pensado para 9 tarjetas de ejemplo en 3 columnas, este sirve
   para cualquier cantidad de reseñas reales — hoy son 4). Se desliza solo y
   se pausa al pasar el cursor; el track duplica las tarjetas (.rev-dup) para
   que el bucle al -50% sea perfectamente continuo. ===== */
.rev-marquee {
	margin-top: 3rem;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.rev-track {
	display: flex;
	width: max-content;
	gap: 1.5rem;
	animation: rev-scroll 32s linear infinite;
	will-change: transform;
}
.rev-marquee:hover .rev-track {
	animation-play-state: paused;
}
@keyframes rev-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
.rev-card {
	width: 320px;
	flex: none;
	transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.rev-card:hover {
	transform: translateY(-4px);
	border-color: rgba(242, 106, 33, .55);
	box-shadow: 0 14px 34px -14px rgba(242, 106, 33, .4);
}
@media (max-width: 40rem) {
	.rev-card { width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
	.rev-marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
	.rev-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.rev-track > .rev-dup { display: none; }
	.rev-card:hover { transform: none; }
}

/* ---- Sistema tipográfico (con carácter, no "de fábrica") ----
   Títulos en Fraunces (serif display con personalidad — soft/wonky, óptico),
   todo lo demás en Hanken Grotesk (grotesque humanista cálido). Deliberadamente
   NO usamos Inter/Roboto ni Playfair (las opciones "por defecto" de lo premium).
   Se cargan por <link> en el <head>. */
body {
	font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* H1 / H2: serif display Fraunces. Peso 600, óptico automático (opsz) para que
   en tamaños grandes gane presencia editorial; ligero tracking negativo. */
h1, h2 {
	font-family: "Fraunces", Georgia, "Times New Roman", serif;
	font-weight: 600;
	font-optical-sizing: auto;
	letter-spacing: -0.015em;
}

/* H3–H6: Hanken Grotesk en negrita, contraste "galería" con el serif. */
h3, h4, h5, h6 {
	font-family: "Hanken Grotesk", sans-serif;
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* Contadores y precios: Hanken Grotesk con cifras tabulares (no "saltan"). */
[data-counter] {
	font-family: "Hanken Grotesk", sans-serif;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

/* Menús de navegación y links del pie: Inter en MAYÚSCULAS con espaciado
   amplio ("alta costura"). Sólo los ítems de menú, no los CTA ni el cuerpo. */
.site-nav > a,
.site-nav > .group > a,
footer ul a {
	text-transform: uppercase;
	letter-spacing: 0.13em;
}
footer ul a { font-size: 0.75rem; }

/* Selección de texto con el naranja de marca — antes usaba un naranja muy
   oscuro a baja opacidad que sobre el fondo oscuro del sitio se veía gris. */
::selection {
	background: rgba(242, 106, 33, 0.45);
	color: #fff;
}

/* ---- Rótulos de sección (eyebrows) ---- */
.eyebrow-red {
	color: var(--color-accent);   /* atardecer sobre fondos claros */
}

.eyebrow-amber {
	color: var(--color-sun);      /* ámbar sobre secciones de acero */
}

/* ---- Botones sólidos (CTA de atardecer y de acero) ----
   Transición suave, leve elevación y sombra cálida al pasar el mouse. */
a.bg-accent, button.bg-accent,
a.bg-primary, button.bg-primary {
	transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.bg-accent:hover, button.bg-accent:hover {
	background-color: var(--color-accent-hover);
	opacity: 1;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -8px rgba(194, 65, 12, 0.55);
}

.footer-review-btn svg { width: 0.9rem; height: 0.9rem; flex: none; }

a.bg-primary:hover, button.bg-primary:hover {
	opacity: 1;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -10px rgba(20, 26, 33, 0.5);
}

/* En las tarjetas (enlaces con .group) el borde se tiñe de atardecer
   al pasar el mouse, reforzando el "hover-lift" del diseño base. */
a.group:hover {
	border-color: rgba(194, 65, 12, 0.35);
}

/* Enlaces y textos que usaban el azul primario ahora van al atardecer
   al pasar el mouse (nav, "quick links", etc.). */
.hover\:text-primary:hover {
	color: var(--color-accent);
}

/* Foco visible y cálido para navegación por teclado (accesibilidad). */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Campos de formulario: foco en naranja de marca (en vez del azul base). */
.focus\:border-primary:focus {
	border-color: var(--color-accent);
}

.focus\:ring-primary:focus {
	--tw-ring-color: var(--color-accent);
}

/* Permite abrir los desplegables del menú también con teclado (Tab),
   no solo con el mouse. */
.site-nav .group:focus-within > div {
	visibility: visible;
	opacity: 1;
}

/* Logo (assets/images/logo/logo-header.png). */
.site-logo {
	height: 3.5rem;
	width: auto;
	border-radius: 0.375rem;
}

.footer-logo {
	height: 4.5rem;
	width: auto;
	border-radius: 0.375rem;
	animation: footerFloat 6s ease-in-out infinite;
}
@keyframes footerFloat {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-6px); }
}

/* ============ PIE DE PÁGINA DINÁMICO ============
   Aurora de atardecer que "respira", hairline naranja que recorre el borde,
   columnas que entran al hacer scroll, enlaces con marcador deslizante y
   redes sociales como píldoras que se elevan. */
.site-footer {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
/* Resplandor de atardecer que sube desde el borde superior y late suave. */
.site-footer::before {
	content: "";
	position: absolute;
	top: -160px;
	left: 50%;
	width: 130%;
	height: 340px;
	transform: translateX(-50%);
	background: radial-gradient(60% 100% at 50% 100%,
		rgba(242, 106, 33, 0.22), rgba(242, 106, 33, 0.06) 45%, transparent 72%);
	pointer-events: none;
	z-index: -1;
	animation: footerAurora 9s ease-in-out infinite;
}
@keyframes footerAurora {
	0%, 100% { opacity: 0.5;  transform: translateX(-50%) scale(1); }
	50%      { opacity: 1;    transform: translateX(-50%) scale(1.08); }
}
/* Filamento naranja que barre el borde superior del pie. */
.footer-hairline {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(242, 106, 33, 0.95), transparent);
	background-size: 45% 100%;
	background-repeat: no-repeat;
	animation: footerSweep 6s linear infinite;
}
@keyframes footerSweep {
	0%   { background-position: -45% 0; }
	100% { background-position: 145% 0; }
}

/* Entrada de columnas al hacer scroll (main.js pone .is-in). */
.footer-col {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.footer-col.is-in {
	opacity: 1;
	transform: none;
}

/* Título de columna con barra de acento que crece al pasar el mouse. */
.footer-col-title {
	position: relative;
	display: inline-block;
}
.footer-col-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	height: 2px;
	width: 0;
	background: var(--color-accent);
	transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.footer-col:hover .footer-col-title::after {
	width: 100%;
}

/* Enlaces del pie: aparece un marcador naranja y el texto se desliza. */
.footer-link {
	position: relative;
	display: inline-block;
	transition: color 0.25s ease, transform 0.25s ease, padding-left 0.25s ease;
}
.footer-link::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 1.5px;
	background: var(--color-accent);
	transform: translateY(-50%);
	transition: width 0.25s ease;
}
.footer-link:hover {
	color: #fff;
	transform: translateX(2px);
	padding-left: 18px;
}
.footer-link:hover::before {
	width: 12px;
}

/* Redes sociales como píldoras circulares que se elevan. */
.footer-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #c6c6c6;
	transition: transform 0.25s ease, background-color 0.25s ease,
		border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.footer-social svg {
	width: 18px;
	height: 18px;
}
.footer-social:hover {
	transform: translateY(-3px);
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #fff;
	box-shadow: 0 12px 24px -8px rgba(242, 106, 33, 0.6);
}

@media (prefers-reduced-motion: reduce) {
	.footer-logo,
	.site-footer::before,
	.footer-hairline {
		animation: none;
	}
	.footer-col {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ============ REVELADO GENÉRICO AL HACER SCROLL ============
   Para páginas internas (sin GSAP). main.js añade .is-in cuando el elemento
   entra en pantalla; el escalonado (transition-delay) también lo pone main.js
   según la posición entre hermanos. */
.reveal-rise {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: transform, opacity;
}
.reveal-rise.is-in {
	opacity: 1;
	transform: none;
}

/* ============ PÁGINA DE PRODUCTO DINÁMICA ============ */
/* Hero: la foto de fondo hace un "Ken Burns" lento + un resplandor de marca. */
.product-hero-img {
	animation: kenBurns 20s ease-in-out infinite alternate;
	transform-origin: center;
}
@keyframes kenBurns {
	from { transform: scale(1); }
	to   { transform: scale(1.12) translateY(-1.5%); }
}
.product-hero-glow {
	position: absolute;
	top: -20%;
	right: -10%;
	width: 55%;
	height: 140%;
	background: radial-gradient(45% 50% at 50% 50%,
		rgba(242, 106, 33, 0.28), transparent 70%);
	pointer-events: none;
	animation: heroGlowDrift 12s ease-in-out infinite;
}
@keyframes heroGlowDrift {
	0%, 100% { opacity: 0.55; transform: translate(0, 0); }
	50%      { opacity: 1;    transform: translate(-6%, 4%); }
}

/* Parallax 3D del hero: la imagen (capa lejana) y el texto (capa cercana) se
   mueven a distinta velocidad siguiendo el cursor, y toda la escena se inclina
   un poco en 3D → sensación de profundidad. Lo maneja main.js. */
.product-hero {
	perspective: 1200px;
}
.ph-bg-layer {
	transform: scale(1.08);
	transform-origin: center;
	transition: transform 0.3s ease-out;
	will-change: transform;
}
.ph-fg-layer {
	min-height: 23rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition: transform 0.3s ease-out;
	will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
	.ph-bg-layer,
	.ph-fg-layer {
		transition: none;
	}
}

/* Lista de características: cada ítem se desliza y el check "salta" al hover. */
.feature-item {
	transition: transform 0.25s ease, color 0.25s ease;
}
.feature-item:hover {
	transform: translateX(5px);
	color: var(--color-accent);
}
.feature-check {
	display: inline-block;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-item:hover .feature-check {
	transform: scale(1.35);
}

/* Tarjetas de tamaños: se elevan, borde de acento, barra lateral que crece
   y el precio hace un leve "punch". */
.size-card {
	position: relative;
	overflow: hidden;
	/* Sin fondo propio: se funde con el fondo de la sección (claro u oscuro). */
	background: transparent;
	transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
		border-color 0.28s ease, box-shadow 0.28s ease;
}
.size-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--color-accent);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.3s ease;
}
.size-card:hover {
	transform: translateY(-4px);
	border-color: rgba(242, 106, 33, 0.4);
	box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.45);
}
.size-card:hover::before {
	transform: scaleY(1);
}
.size-price {
	display: inline-block;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.size-card:hover .size-price {
	transform: scale(1.08);
}

/* ============ TARJETAS CON ELEVACIÓN (páginas internas) ============
   Se elevan al hover, con una barra de acento que se despliega arriba.
   Usadas en Financiamiento (opciones y socios) y reutilizables en más páginas. */
.lift-card {
	position: relative;
	overflow: hidden;
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
		border-color 0.3s ease, box-shadow 0.3s ease;
}
.lift-card::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--color-accent), var(--color-sun));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}
.lift-card:hover {
	transform: translateY(-6px);
	border-color: rgba(242, 106, 33, 0.4);
	box-shadow: 0 22px 42px -26px rgba(0, 0, 0, 0.6);
}
.lift-card:hover::before {
	transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
	.lift-card {
		transition: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reveal-rise {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.product-hero-img,
	.product-hero-glow {
		animation: none;
	}
}

.portal-logo {
	height: 5rem;
	width: auto;
	margin-inline: auto;
	border-radius: 0.375rem;
}

/* Texto solo para lectores de pantalla (el logo ya muestra el nombre). */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ===== Scroll-to-expand media hero (.sxm-*) — puerto vanilla del componente
   React "ScrollExpandMedia". Compartido por la portada (index) y "Our Work".
   El JS (assets/js/scroll-expand.js) sólo actualiza tamaños y opacidades. ===== */
.sxm { overflow-x: hidden; }
.sxm-stage { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 100dvh; }
.sxm-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 90% at 82% 0%, rgba(242, 106, 33, 0.42), rgba(242, 106, 33, 0) 58%), linear-gradient(160deg, #1a1a1a 0%, #0f0f0f 55%, #000 100%); }
.sxm-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.12); }
.sxm-container { position: relative; z-index: 10; width: 100%; max-width: 80rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.sxm-center { position: relative; width: 100%; height: 100dvh; display: flex; align-items: center; justify-content: center; }
.sxm-media { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 0; border-radius: 1rem; overflow: hidden; width: min(1100px, 95vw); height: min(78vh, 680px); max-width: 95vw; max-height: 85vh; box-shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.6); }
.sxm-media > video, .sxm-media > img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; display: block; }
/* Parallax de profundidad de la imagen del hero (main.js la desplaza dentro
   del marco recortado siguiendo el cursor). El scroll-expand no toca .sxm-scene. */
.sxm-scene { transition: transform 0.3s ease-out; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .sxm-scene { transition: none; } }
.sxm-veil { position: absolute; inset: 0; border-radius: 1rem; background: rgba(15, 20, 26, 0.35); }
.sxm-hint { position: absolute; left: 0; right: 0; bottom: 1.25rem; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 0.15rem; text-align: center; pointer-events: none; transition: opacity 0.4s ease; }
.sxm-date { font-family: "Hanken Grotesk", sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-sun); }
.sxm-scroll { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; color: #c9cfd6; }
.sxm.is-expanded .sxm-hint { opacity: 0; }
.sxm-title { position: relative; z-index: 10; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; width: 100%; text-align: center; }
.sxm-title-first, .sxm-title-rest { display: block; margin: 0; color: #fff; font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.05; font-size: clamp(2.6rem, 7.2vw, 4.25rem); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.sxm-content { width: 100%; padding: 3rem 2rem 5rem; opacity: 0; }
.sxm-media, .sxm-title-first, .sxm-title-rest, .sxm-date, .sxm-scroll { transition: none; }
.sxm-bg, .sxm-veil { transition: opacity 0.1s linear; }
.sxm-content { transition: opacity 0.7s ease; }
@media (prefers-reduced-motion: reduce) { .sxm-content { opacity: 1; } .sxm-hint { display: none; } }

/* ===== Hero de la portada: imagen a pantalla completa con parallax =====
   La imagen (.home-hero-bg) se desplaza más lento que el contenido al hacer
   scroll (main.js) y hay un parallax sutil de ratón sobre el contenido
   (motion.js, [data-hero-parallax]). El scrim asegura legibilidad del texto. */
.home-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 92vh;
	min-height: 92dvh;
	overflow: hidden;
	background: #0d0d0d;
}
.home-hero-bg {
	position: absolute;
	inset: -12% 0;
	z-index: 0;
	overflow: hidden;
	will-change: transform;
}
.home-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.06);
}
.home-hero-scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(6, 8, 10, 0.88) 0%, rgba(6, 8, 10, 0.55) 42%, rgba(6, 8, 10, 0.12) 72%, rgba(6, 8, 10, 0.32) 100%),
		linear-gradient(0deg, rgba(6, 8, 10, 0.72) 0%, rgba(6, 8, 10, 0) 46%);
}
.home-hero-inner {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	/* Top relativo al alto de pantalla → el bloque baja de forma responsiva
	   (más abajo en pantallas altas), con mínimo y máximo para no pasarse. */
	padding: clamp(11rem, 30vh, 18rem) 1.5rem 3rem;
}
@media (min-width: 640px) {
	.home-hero-inner { padding-left: 2rem; padding-right: 2rem; }
}
.home-hero-content {
	box-sizing: border-box;
	width: 100%;
	max-width: 42rem;
	text-align: center;
}

/* Entrada animada del hero (CSS puro, sin GSAP): la imagen hace fade-in y los
   textos + botones suben escalonados al cargar la página. */
.home-hero-bg {
	animation: heroFadeIn 1.1s ease both;
}
.home-hero-content > * {
	animation: heroRise 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.home-hero-eyebrow { animation-delay: 0.15s; }
.home-hero-title   { animation-delay: 0.28s; }
.home-hero-sub     { animation-delay: 0.44s; }
.home-hero-actions { animation-delay: 0.60s; }
@keyframes heroFadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes heroRise {
	from { opacity: 0; transform: translateY(26px); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.home-hero-bg,
	.home-hero-content > * {
		animation: none;
	}
}
.home-hero-eyebrow {
	font-family: "Hanken Grotesk", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.17em;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--color-sun);
}
.home-hero-title {
	margin-top: 0.7rem;
	color: #fff;
	font-family: "Fraunces", Georgia, "Times New Roman", serif;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.015em;
	font-size: clamp(1.95rem, 6.6vw, 4.6rem);
	max-width: 100%;
	overflow-wrap: break-word;
	text-shadow: 0 3px 34px rgba(0, 0, 0, 0.5);
}
.home-hero-sub {
	margin: 1.3rem auto 0;
	max-width: 38rem;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(0.98rem, 3.4vw, 1.2rem);
	line-height: 1.6;
	overflow-wrap: break-word;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
.home-hero-actions {
	margin-top: 2.1rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}
.hero-cta-primary,
.hero-cta-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.6rem;
	padding: 0.95rem 2rem;
	font-weight: 600;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.hero-cta-primary {
	background: var(--color-accent);
	color: #fff;
	box-shadow: 0 14px 30px -12px rgba(242, 106, 33, 0.6);
}
.hero-cta-primary:hover {
	transform: translateY(-2px);
	background: var(--color-accent-hover);
	box-shadow: 0 18px 38px -12px rgba(242, 106, 33, 0.7);
}
.hero-cta-ghost {
	border: 1px solid rgba(255, 255, 255, 0.42);
	color: #fff;
	backdrop-filter: blur(4px);
}
.hero-cta-ghost:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}
.home-hero-trust {
	margin-top: 2.3rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.5rem;
	list-style: none;
	padding: 0;
	margin-bottom: 0;
}
.home-hero-trust li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.86rem;
}
.home-hero-trust strong { color: #fff; font-weight: 700; }
.hero-stars { color: var(--color-sun); letter-spacing: 0.05em; }
.home-hero-trust li svg { flex-shrink: 0; }
.hero-trust-g { width: 16px; height: 16px; }
.hero-trust-ic { width: 16px; height: 16px; color: var(--color-sun); }
.home-hero-scroll {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 1.5rem;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
}
.home-hero-scroll svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
	.home-hero-img { transform: scale(1.03); }
}

/* ===== Resplandor ambiental (portada): reemplaza las chispas por un brillo
   cálido, tenue y muy lento que da profundidad sin robar atención. Con
   mix-blend screen sólo aclara zonas oscuras; sobre tarjetas claras es
   invisible. ===== */
.ambient {
	position: fixed;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	mix-blend-mode: screen;
	background:
		radial-gradient(42% 46% at 16% 20%, rgba(242, 106, 33, 0.09), transparent 60%),
		radial-gradient(46% 52% at 84% 80%, rgba(242, 150, 70, 0.07), transparent 62%);
	animation: ambientDrift 46s ease-in-out infinite alternate;
	will-change: transform, opacity;
}
@keyframes ambientDrift {
	0%   { opacity: 0.75; transform: translate3d(0, 0, 0) scale(1); }
	100% { opacity: 1;    transform: translate3d(-3%, 2.5%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
	.ambient { animation: none; opacity: 0.85; }
}

/* ===== "The AZ Sunset Difference": tarjetas con ícono circular =====
   Mismo lenguaje visual que el viejo "Cómo funciona" (círculo con borde
   naranja + ícono + número + línea conectora tipo "camino"), pero en dos
   filas (4 + 3) porque acá son 7 razones en vez de 4 pasos. Cada fila
   dibuja su propia línea conectora, igual que la versión original. */
.reason-rows { display: flex; flex-direction: column; gap: 3.5rem; }
.reason-row {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
@media (min-width: 640px) { .reason-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.reason-row--4 { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
	.reason-row--3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 78%; margin: 0 auto; }
	.reason-row--4::before,
	.reason-row--3::before {
		content: "";
		position: absolute;
		top: 40px;
		height: 2px;
		background: linear-gradient(90deg, transparent, rgba(242, 106, 33, 0.45) 15%, rgba(242, 106, 33, 0.45) 85%, transparent);
		z-index: 0;
	}
	.reason-row--4::before { left: 12.5%; right: 12.5%; }
	.reason-row--3::before { left: 16.67%; right: 16.67%; }
}
.reason-step { position: relative; z-index: 1; text-align: center; }
.reason-badge {
	position: relative;
	margin: 0 auto;
	width: 80px;
	height: 80px;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #141414;
	border: 1px solid rgba(242, 106, 33, 0.35);
	color: var(--color-accent);
	box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.7);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.reason-step:hover .reason-badge {
	transform: translateY(-4px);
	border-color: rgba(242, 106, 33, 0.7);
	box-shadow: 0 18px 36px -16px rgba(242, 106, 33, 0.4);
}
.reason-badge svg { width: 34px; height: 34px; }
.reason-num {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 26px;
	height: 26px;
	border-radius: 9999px;
	background: var(--color-accent);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px -3px rgba(242, 106, 33, 0.6);
}

/* ===== Galería de proyectos (obra real) ===== */
.projects-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
}
@media (min-width: 640px) {
	.projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.projects-grid { grid-template-columns: repeat(3, 1fr); }
}
.project-card {
	position: relative;
	display: flex;
	flex-direction: column;
	text-align: left;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1rem;
	overflow: hidden;
	background: #141414;
	box-shadow: 0 14px 40px -22px rgba(0, 0, 0, 0.9);
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.project-card:hover,
.project-card:focus-within {
	transform: translateY(-6px);
	border-color: rgba(242, 106, 33, 0.45);
	box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.95);
}
.project-card-media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #0d0d0d;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}
.project-card-media:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: -3px;
}
.project-card-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project-card:hover .project-card-media img,
.project-card:focus-within .project-card-media img { transform: scale(1.07); }
.project-card-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 45%);
}
.project-card-badge {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.32rem 0.6rem;
	border-radius: 9999px;
	background: rgba(13, 13, 13, 0.72);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
}
.project-card-badge svg { width: 15px; height: 15px; }
.project-card-zoom {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: rgba(242, 106, 33, 0.92);
	color: #fff;
	opacity: 0;
	transform: scale(0.8);
	transition: opacity 0.3s ease, transform 0.3s ease;
	box-shadow: 0 10px 24px -8px rgba(242, 106, 33, 0.7);
}
.project-card-zoom svg { width: 26px; height: 26px; }
.project-card:hover .project-card-zoom,
.project-card:focus-within .project-card-zoom { opacity: 1; transform: scale(1); }
.project-card-body { display: flex; flex-direction: column; padding: 1.15rem 1.25rem 1.35rem; }
.project-card-tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-accent);
}
.project-card-title {
	display: block;
	margin-top: 0.35rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--color-text-strong, #f5f5f5);
}
.project-card-loc {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.86rem;
	color: #9ca3af;
}
.project-card-link {
	align-self: flex-start;
	margin-top: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.15rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: none;
	transition: gap 0.25s ease;
}
.project-card-link:hover,
.project-card-link:focus-visible { text-decoration: underline; gap: 0.4rem; }
.project-card-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }

/* ===== Lightbox ===== */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(0.75rem, 3vw, 2rem);
	background: rgba(8, 8, 8, 0.94);
	backdrop-filter: blur(10px);
	opacity: 0;
	transition: opacity 0.28s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-backdrop { position: absolute; inset: 0; cursor: zoom-out; }
.lightbox-stage {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: min(100%, 1200px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
}
.lightbox-img {
	max-width: 100%;
	max-height: 74vh;
	width: auto;
	height: auto;
	border-radius: 0.75rem;
	box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.9);
	animation: lightboxIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes lightboxIn {
	from { opacity: 0; transform: scale(0.97); }
	to { opacity: 1; transform: scale(1); }
}
.lightbox-caption {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	color: #e5e7eb;
	font-size: 0.92rem;
}
.lightbox-title { font-weight: 600; }
.lightbox-counter { color: #9ca3af; font-variant-numeric: tabular-nums; }
.lightbox-thumbs {
	position: relative;
	z-index: 1;
	margin-top: 1rem;
	display: flex;
	gap: 0.55rem;
	max-width: 100%;
	overflow-x: auto;
	padding: 0.35rem 0.15rem 0.5rem;
	scrollbar-width: thin;
}
.lightbox-thumb {
	flex: 0 0 auto;
	width: 74px;
	height: 54px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 0.5rem;
	overflow: hidden;
	background: #111;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity 0.25s ease, border-color 0.25s ease;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox-thumb:hover { opacity: 0.85; }
.lightbox-thumb.is-active { opacity: 1; border-color: var(--color-accent); }
.lightbox-close,
.lightbox-nav {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: rgba(20, 20, 20, 0.72);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--color-accent); }
.lightbox-close { top: 1rem; right: 1rem; width: 44px; height: 44px; }
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-nav svg { width: 24px; height: 24px; }
.lightbox-prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox-next { right: clamp(0.5rem, 2vw, 1.5rem); }
@media (max-width: 600px) {
	.lightbox-nav { width: 40px; height: 40px; }
	.lightbox-img { max-height: 62vh; }
}
@media (prefers-reduced-motion: reduce) {
	.project-card,
	.project-card-media img,
	.project-card-zoom,
	.lightbox,
	.lightbox-img { transition: none; animation: none; }
}

/* ===== Modal HSF Portal (financiación) ===== */
.fin-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 4vw, 2rem);
	background: rgba(8, 8, 8, 0.9);
	backdrop-filter: blur(10px);
	opacity: 0;
	transition: opacity 0.28s ease;
}
.fin-modal[hidden] { display: none; }
.fin-modal.is-open { opacity: 1; }
.fin-modal-backdrop { position: absolute; inset: 0; cursor: pointer; }
.fin-modal-panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 640px;
	max-height: 88vh;
	overflow-y: auto;
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1.25rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
	opacity: 0;
	transform: translateY(16px) scale(0.98);
	transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}
.fin-modal.is-open .fin-modal-panel { opacity: 1; transform: none; }
.fin-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
}
.fin-modal-close:hover { background: var(--color-accent); transform: rotate(90deg); }
.fin-modal-close svg { width: 20px; height: 20px; }
.fin-modal-eyebrow {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--color-accent);
}
.fin-modal-title {
	margin-top: 0.5rem;
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 700;
	color: #f5f5f5;
	line-height: 1.15;
}
.fin-modal-sub {
	margin-top: 0.65rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #9ca3af;
}
.fin-modal-stats {
	margin-top: 1.4rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem;
}
.fin-stat {
	flex: 0 1 285px;
	background: #1b1b1b;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 0.75rem;
	padding: 0.95rem 1.4rem;
	text-align: center;
}
.fin-stat b { display: block; color: var(--color-accent); font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.fin-stat span { display: block; margin-top: 0.2rem; font-size: 0.7rem; color: #9ca3af; }
.fin-modal-list { margin-top: 1.5rem; display: grid; gap: 0.7rem; list-style: none; padding: 0; width: fit-content; margin-left: auto; margin-right: auto; }
.fin-modal-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1.2rem; color: #d1d5db; }
.fin-modal-list svg { flex: 0 0 auto; width: 23px; height: 23px; color: var(--color-accent); margin-top: 3px; }
.fin-modal-heading {
	margin-top: 1.6rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #e5e7eb;
}
.fin-steps { margin-top: 0.9rem; display: grid; gap: 0.8rem; }
.fin-step { display: flex; gap: 0.75rem; align-items: flex-start; }
.fin-step-num {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 9999px;
	background: rgba(242, 106, 33, 0.15);
	color: var(--color-accent);
	font-weight: 700;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fin-step p { font-size: 0.9rem; color: #d1d5db; line-height: 1.5; }
.fin-modal-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.fin-modal-trust { margin-top: 1.3rem; font-size: 0.8rem; color: #9ca3af; }
.fin-modal-note { margin-top: 0.6rem; font-size: 0.72rem; color: #6b7280; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
	.fin-modal,
	.fin-modal-panel { transition: none; }
	.fin-modal-close:hover { transform: none; }
}

/* ===== Mapa de zona de servicio (silueta de Arizona) ===== */
.az-map-wrap {
	position: relative;
	max-width: 560px;
	margin: 3.5rem auto 0;
	padding: 0 1rem;
}
.az-map-glow {
	position: absolute;
	inset: 6% 12%;
	z-index: 0;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(242, 106, 33, 0.35), rgba(242, 106, 33, 0.08) 60%, transparent 75%);
	filter: blur(26px);
	animation: azGlowPulse 6s ease-in-out infinite alternate;
	will-change: transform, opacity;
	transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes azGlowPulse {
	0% { opacity: 0.6; transform: scale(0.96); }
	100% { opacity: 1; transform: scale(1.06); }
}
.az-map-svg {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.azm-county {
	fill-opacity: 0.92;
	stroke: rgba(255, 255, 255, 0.42);
	stroke-width: 0.7;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}
.az-outline {
	fill: none;
	stroke: var(--color-accent);
	stroke-width: 3.1;
	stroke-linejoin: round;
	stroke-linecap: round;
	filter: drop-shadow(0 0 10px rgba(242, 106, 33, 0.45));
}
.az-word {
	font-family: "Hanken Grotesk", sans-serif;
	font-weight: 800;
	font-size: 140px;
	letter-spacing: 1px;
	text-anchor: middle;
	dominant-baseline: central;
	fill: var(--color-accent);
	filter: drop-shadow(0 0 9px rgba(242, 106, 33, 0.55));
	pointer-events: none;
}
.az-cities { pointer-events: none; }
.az-city-dot {
	fill: #fbe4d3;
	stroke: var(--color-accent);
	stroke-width: 1.4;
	filter: drop-shadow(0 0 3px rgba(242, 106, 33, 0.55));
}
.az-city-star {
	fill: #ffd9a8;
	stroke: var(--color-accent);
	stroke-width: 1.2;
	stroke-linejoin: round;
	filter: drop-shadow(0 0 5px rgba(242, 106, 33, 0.7));
}
.az-city-label {
	fill: #eef0f2;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.2px;
	dominant-baseline: middle;
	paint-order: stroke;
	stroke: rgba(0, 0, 0, 0.72);
	stroke-width: 3px;
	stroke-linejoin: round;
}
.az-city-label.is-capital {
	fill: #ffffff;
	font-size: 15px;
	font-weight: 700;
}
.azm-ring { fill: none; stroke: var(--color-accent); stroke-width: 1.5; opacity: 0.45; }
.azm-hit { fill: transparent; }
.azm-city { cursor: pointer; }
.azm-city:focus { outline: none; }
.azm-dot {
	fill: #221a12;
	stroke: #fff;
	stroke-width: 1;
	transition: r 0.15s ease;
}
.azm-city:hover .azm-dot,
.azm-city:focus .azm-dot { r: 7; fill: var(--color-accent); }
.azm-star {
	fill: #fff;
	stroke: #221a12;
	stroke-width: 0.8;
	stroke-linejoin: round;
	filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
}
.azm-county-label {
	fill: #241c14;
	font-family: inherit;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-anchor: middle;
	dominant-baseline: middle;
	paint-order: stroke;
	stroke: rgba(255, 255, 255, 0.4);
	stroke-width: 2px;
	stroke-linejoin: round;
	pointer-events: none;
}
.azm-neighbor {
	fill: rgba(255, 255, 255, 0.42);
	font-family: inherit;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	dominant-baseline: middle;
	pointer-events: none;
}
.azm-label {
	fill: #f3f4f6;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	paint-order: stroke;
	stroke: rgba(0, 0, 0, 0.75);
	stroke-width: 3.5px;
	stroke-linejoin: round;
	dominant-baseline: middle;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease;
}
.azm-city:hover .azm-label,
.azm-city:focus .azm-label { opacity: 1; }
.azm-label.is-capital-label { opacity: 1; font-size: 14px; font-weight: 700; fill: #fff; }
.az-county-wrap { max-width: 620px; }
.azc-county {
	stroke: var(--color-accent);
	stroke-width: 1.3;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}
.azc-state {
	fill: #0b0b0b;
	stroke: var(--color-accent);
	stroke-width: 2.2;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	filter: drop-shadow(0 0 9px rgba(242, 106, 33, 0.5));
}
.azc-county-label {
	fill: #2b2119;
	font-family: inherit;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.4px;
	text-anchor: middle;
	dominant-baseline: middle;
	paint-order: stroke;
	stroke: rgba(255, 255, 255, 0.55);
	stroke-width: 2.4px;
	stroke-linejoin: round;
	pointer-events: none;
}
.azc-county-label.is-small { font-size: 8.5px; letter-spacing: 0.2px; }
.azc-neighbor {
	fill: #9aa3ac;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	dominant-baseline: middle;
	pointer-events: none;
}
.azc-seat { pointer-events: none; }
.azc-seat-dot { fill: #3b332c; }
.azc-seat-label {
	fill: #2b2119;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	dominant-baseline: middle;
	paint-order: stroke;
	stroke: rgba(255, 255, 255, 0.7);
	stroke-width: 2.2px;
	stroke-linejoin: round;
}
.azc-capital-label {
	fill: #1c140d;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	dominant-baseline: middle;
	paint-order: stroke;
	stroke: rgba(255, 255, 255, 0.75);
	stroke-width: 2.6px;
	stroke-linejoin: round;
	pointer-events: none;
}
.az-map-caption {
	position: relative;
	z-index: 1;
	margin: 1.5rem auto 0;
	max-width: 34rem;
	text-align: center;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}
@media (prefers-reduced-motion: reduce) {
	.az-map-glow { animation: none; }
	.az-map-glow, .az-map-svg { transition: none; }
}

/* ===== Galería/catálogo de fotos en las páginas de producto ===== */
.catalog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
@media (min-width: 640px) { .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.catalog-item {
	position: relative;
	display: block;
	padding: 0;
	margin: 0;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 0.85rem;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #e9e9e9;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	/* Estado inicial del reveal (el JS añade .is-in al entrar en pantalla). */
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
	will-change: transform, opacity;
}
.catalog-item.is-in { opacity: 1; transform: none; }
.catalog-item.is-in:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22); }
.catalog-item:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
/* Envoltorio para el parallax: se desplaza (var --py, lo pone el JS al hacer
   scroll) y va escalado para que el desplazamiento no muestre bordes. */
.catalog-media {
	position: absolute;
	inset: 0;
	transform: translate3d(0, var(--py, 0px), 0) scale(1.16);
	will-change: transform;
}
.catalog-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.catalog-item:hover img { transform: scale(1.07); }
.catalog-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 45%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}
.catalog-item:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.catalog-item { opacity: 1; transform: none; transition: none; }
	.catalog-media { transform: scale(1.16); transition: none; }
	.catalog-item img { transition: none; }
	.catalog-item:hover img { transform: none; }
}

/* Utilidad faltante en el build estático de Tailwind (main.css): no existía
   porque ningún elemento la usaba al momento de compilarlo. La necesita el
   checkbox de consentimiento SMS para alinearse con la primera línea del texto. */
.items-start { align-items: flex-start; }
