/* =========================================================
   Grupo MCU · Alumbrado Tecnológico — estilos
   Bandas a todo el ancho que alternan negro y blanco.
   Amarillo reservado para llamadas a la acción e iconos.

   Índice
   1. Fuentes y variables
   2. Base y utilidades
   3. Componentes (botones, etiquetas, títulos, secciones)
   4. Encabezado y menú
   5. Página principal
   6. Sub-páginas (portada compartida)
   7. Catálogo
   8. Proyectos
   9. Nosotros
   10. Servicios
   11. Financiamiento
   12. Visor de imágenes
   13. Pie de página
   14. Movimiento reducido
   ========================================================= */

/* =========================================================
   1. FUENTES Y VARIABLES
   Los archivos de Radnika Next van en assets/fonts/ con estos nombres.
   Mientras no estén, se usa Archivo (Google Fonts) como respaldo.
   ========================================================= */
@font-face {
  font-family: "Radnika Next";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("Radnika Next Regular"), local("RadnikaNext-Regular"),
       url("../fonts/RadnikaNext-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Radnika Next";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: local("Radnika Next Black"), local("RadnikaNext-Black"),
       url("../fonts/RadnikaNext-Black.woff2") format("woff2");
}

:root {
  /* Marca */
  --yellow: #FECE00;
  --yellow-light: #FEDC5E;
  --black: #000000;
  --graphite: #282828;
  --white: #FFFFFF;
  --leotek: #F7941D;
  /* Neutros (levemente cálidos, hacia el amarillo) */
  --mist: #F4F3EF;
  --ink: #111111;
  --ink-soft: #55534D;
  --on-dark-soft: rgba(255, 255, 255, 0.72);
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: #E2E0D9;

  /* Tipografía */
  --font-display: "Radnika Next", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1rem + 0.8vw, 1.5rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem);
  --fs-h2-xl: clamp(2.6rem, 1.6rem + 4vw, 4.5rem);
  --fs-page-title: clamp(2.3rem, 0.8rem + 4.2vw, 4.6rem);
  --fs-card-title: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem);

  /* Espaciado y forma */
  --container: 1200px;
  --container-wide: 1640px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 72px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, .06), 0 14px 30px -20px rgba(0, 0, 0, .3);
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* =========================================================
   2. BASE Y UTILIDADES
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Banda del área segura superior (notch) */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--black);
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure, address { margin: 0; }
address { font-style: normal; }
h1, h2, h3 { text-wrap: balance; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.zoom-open, .zoom-open body { overflow: hidden; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

:focus-visible {
  outline: 3px solid var(--yellow-light);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--white :focus-visible,
.section--mist :focus-visible,
.about__body :focus-visible,
.benefits :focus-visible { outline-color: var(--black); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.container--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--accent { color: var(--yellow); }
.icon--lg { width: 2.5rem; height: 2.5rem; stroke-width: 1.5; }

/* =========================================================
   3. COMPONENTES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; stroke-width: 2.2; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary { background: var(--yellow); color: var(--black); }
.btn--primary:hover { background: var(--yellow-light); }
.btn--outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); border-radius: 999px; color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--graphite); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-sm); }

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  transition: background-color .2s ease, transform .2s ease;
}
.round-btn .icon { width: 20px; height: 20px; stroke-width: 2.6; }
.round-btn:hover { background: var(--yellow-light); transform: translateX(2px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 3px;
  background: var(--yellow);
}
/* En fondos claros el texto pasa a negro para mantener el contraste */
.section--white .eyebrow,
.section--mist .eyebrow,
.eyebrow--dark { color: var(--ink); }

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section-title--xl { font-size: var(--fs-h2-xl); letter-spacing: -0.02em; }

.section { padding-block: var(--section-y); }
.section--white { background: var(--white); color: var(--ink); }
.section--mist { background: var(--mist); color: var(--ink); }
.section--black { background: var(--black); color: var(--white); }

/* Encabezado de sección con texto a un lado y acción o texto al otro */
.nos-head,
.lines__head,
.projects__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.nos-head { gap: 16px 40px; }
.nos-head > p { max-width: 46ch; color: var(--ink-soft); }

/* Llamado a la acción en banda negra (final de las sub-páginas) */
.proy-cta { background: var(--black); color: var(--white); }
.proy-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-block: clamp(48px, 6vw, 72px);
}
.proy-cta p { margin-top: 10px; max-width: 52ch; color: var(--on-dark-soft); }

/* Lista con iconos (beneficios y objetivos) */
.nos-ben { display: grid; gap: 12px; }
.nos-ben li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.nos-ben .icon { margin-top: 2px; }

/* =========================================================
   4. ENCABEZADO Y MENÚ
   Transparente sobre la portada; negro al bajar o con el menú abierto.
   ========================================================= */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header:not(.is-scrolled):not(.menu-open) {
  background: transparent;
  border-bottom-color: transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}
.brand__logo {
  width: auto;
  height: 56px;
  max-width: none;
  transition: height .25s ease, margin .25s ease;
}
.brand--lg .brand__logo { height: 96px; }

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.site-nav ul { display: flex; gap: clamp(14px, 1.4vw, 26px); }
.site-nav ul a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--white);
  transition: color .2s ease;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav ul a:hover { color: var(--yellow-light); }
.site-nav ul a[aria-current] { color: var(--yellow); }
.site-nav ul a[aria-current]::after { transform: scaleX(1); }
.site-nav .btn { white-space: nowrap; }

/* Botón hamburguesa: tres rayas que se convierten en X */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.nav-toggle[aria-expanded="true"] { border-color: var(--yellow); color: var(--yellow); }
.burger { position: relative; display: block; width: 22px; height: 16px; }
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .32s var(--ease-out), opacity .2s ease, top .32s var(--ease-out), width .25s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 7px; width: 70%; }
.burger span:nth-child(3) { top: 14px; }
.nav-toggle:hover .burger span:nth-child(2) { width: 100%; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Pantallas anchas: logo grande que sobresale del menú y se achica al bajar */
@media (min-width: 1366px) {
  .site-header .brand { align-self: flex-start; padding-top: 8px; }
  .site-header .brand__logo { height: 104px; margin-bottom: -76px; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .45)); }
  .site-header.is-scrolled .brand { align-self: center; padding-top: 0; }
  .site-header.is-scrolled .brand__logo { height: 56px; margin-bottom: 0; filter: none; }
  .site-nav { gap: 22px; }
  .site-nav ul { gap: 18px; }
  .site-nav ul a { font-size: 0.84rem; }
}
@media (min-width: 1500px) {
  .site-header .brand__logo { height: 132px; }
  .site-nav { gap: 32px; }
  .site-nav ul { gap: 26px; }
  .site-nav ul a { font-size: var(--fs-sm); }
}

/* Pantallas angostas: menú desplegable animado */
@media (max-width: 1365px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) 28px max(var(--gutter), env(safe-area-inset-left, 0px));
    overflow-y: auto;
    background: var(--black);
    border-bottom: 1px solid var(--line-dark);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    clip-path: inset(0 0 100% 0);
    transition: opacity .28s ease, transform .32s var(--ease-out), clip-path .38s var(--ease-out), visibility 0s linear .38s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
    transition: opacity .28s ease, transform .32s var(--ease-out), clip-path .38s var(--ease-out), visibility 0s;
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    padding: 14px 0;
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--line-dark);
  }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { width: 100%; min-height: 48px; font-size: var(--fs-base); }

  /* Los ítems entran uno detrás de otro */
  .site-nav ul li,
  .site-nav > .btn {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav.is-open ul li,
  .site-nav.is-open > .btn {
    opacity: 1;
    transform: none;
    transition: opacity .3s ease, transform .3s var(--ease-out);
  }
  .site-nav.is-open ul li:nth-child(1) { transition-delay: .06s; }
  .site-nav.is-open ul li:nth-child(2) { transition-delay: .10s; }
  .site-nav.is-open ul li:nth-child(3) { transition-delay: .14s; }
  .site-nav.is-open ul li:nth-child(4) { transition-delay: .18s; }
  .site-nav.is-open ul li:nth-child(5) { transition-delay: .22s; }
  .site-nav.is-open ul li:nth-child(6) { transition-delay: .26s; }
  .site-nav.is-open ul li:nth-child(7) { transition-delay: .30s; }
  .site-nav.is-open ul li:nth-child(8) { transition-delay: .34s; }
  .site-nav.is-open ul li:nth-child(9) { transition-delay: .38s; }
  .site-nav.is-open > .btn { transition-delay: .42s; }
}
@media (max-width: 379px) {
  .brand__logo { height: 48px; }
}

/* =========================================================
   5. PÁGINA PRINCIPAL
   ========================================================= */

/* ---------- Portada ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Sube detrás del menú para que la foto empiece en el borde superior */
  margin-top: calc(-1 * var(--header-h) - 1px);
  padding-block: calc(var(--header-h) + clamp(72px, 10vw, 140px)) clamp(96px, 12vw, 150px);
  background: var(--black);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 100% 50%;
}
/* Oscurecido para que el texto se lea sobre la foto */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .50) 42%, rgba(0, 0, 0, .05) 75%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 25%);
}
/* Remate geométrico amarillo */
.hero__wedge {
  position: absolute;
  right: 0; bottom: 0;
  z-index: 1;
  width: min(52%, 720px);
  height: clamp(56px, 8vw, 110px);
  background: var(--yellow);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero__wedge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  clip-path: polygon(0 100%, 100% 0, 100% 18%, 14% 100%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__title {
  display: grid;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 0.6rem + 3.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero__title em,
.cat-hero__title em { font-style: normal; color: var(--yellow); }
/* Palabra fina dentro de un título grueso ("SOLUCIONES", "CATÁLOGO"…) */
.hero__title-thin { font-weight: 400; letter-spacing: 0.01em; }
.hero__lead {
  max-width: 30ch;
  margin-bottom: 40px;
  font-size: clamp(1.1rem, 0.9rem + 0.7vw, 1.6rem);
  line-height: 1.3;
  color: var(--white);
}
.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
  margin-bottom: 44px;
}
.hero__benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.35;
}
.hero__benefits .icon { width: 2.6rem; height: 2.6rem; stroke-width: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; }
.hero__actions .btn { min-height: 56px; padding-inline: 28px; font-size: var(--fs-md); }

@media (min-width: 900px) {
  .hero__inner,
  .cat-hero__inner { padding-left: max(calc(var(--gutter) + 24px), env(safe-area-inset-left, 0px)); }
}
@media (max-width: 899px) {
  .hero::before { background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .65) 60%, rgba(0, 0, 0, .8) 100%); }
  .hero__bg img { object-position: 88% 50%; }
}
@media (max-width: 479px) {
  .hero__benefits { display: grid; gap: 14px; }
  .hero__benefits br { display: none; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Tarjetas de productos ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(28px, 4vw, 44px);
}
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 14px 34px -18px rgba(0, 0, 0, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 22px 44px -20px rgba(0, 0, 0, .38); }
/* Fondo nocturno + producto grande que sale por los bordes */
.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  max-width: 100%;
  background: #0b0d14 center / cover no-repeat;
}
.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .22) 100%);
  pointer-events: none;
}
.product-card__media img {
  position: absolute;
  z-index: 1;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55));
  transition: transform .4s ease;
}
.product-card--vial .product-card__media { background-image: url("../img/fondos/noche-vial.webp"); }
.product-card--vial img { width: 98%; left: -8%; top: 12%; transform: scaleX(-1) rotate(14deg); }
.product-card--vial:hover img { transform: scaleX(-1) rotate(14deg) scale(1.03); }
.product-card--solar .product-card__media { background-image: url("../img/fondos/noche-solar.webp"); }
.product-card--solar img { width: 122%; left: -20%; top: -6%; }
.product-card--solar:hover img { transform: scale(1.03); transform-origin: 30% 100%; }
/* Luz que proyecta la luminaria solar sobre la escena */
.product-card--solar .product-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 58% 62%, rgba(215, 230, 255, .22) 0%, transparent 70%),
    radial-gradient(45% 18% at 45% 96%, rgba(215, 230, 255, .18) 0%, transparent 70%);
  pointer-events: none;
}
.product-card--ornamental .product-card__media { background-image: url("../img/fondos/noche-plaza.webp"); }
.product-card--ornamental img { width: 84%; left: 8%; top: 6%; }
.product-card--ornamental:hover img { transform: scale(1.03); }
.product-card__body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 16px;
  flex: 1;
  padding: 22px 26px 26px;
}
.product-card__body > :not(.round-btn) { grid-column: 1; min-width: 0; }
.product-card__body .round-btn { grid-column: 2; grid-row: 1 / span 3; width: 50px; height: 50px; }
.product-card__type {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.product-card__name {
  margin-block: 2px 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 1.25rem + 1vw, 2rem);
  line-height: 1.1;
}
.product-card__spec { font-size: var(--fs-md); font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 899px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

/* ---------- Carrusel de luminarias ---------- */
.lines__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.lines__tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: var(--white);
}
.lines__tab {
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.lines__tab:hover { color: var(--ink); }
.lines__tab[aria-current="true"] { background: var(--black); color: var(--white); }
.lines__arrows { display: flex; gap: 8px; }
.arrow-btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  cursor: pointer;
  transition: background-color .2s ease, opacity .2s ease;
}
.arrow-btn:hover { background: var(--yellow-light); }
.arrow-btn .icon { stroke-width: 2.6; }
.arrow-btn[data-dir="-1"] .icon { transform: scaleX(-1); }
.arrow-btn:disabled { opacity: .35; cursor: default; }

.lines__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}
.lines__track::-webkit-scrollbar { display: none; }
.lines__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.lines__track:focus-visible { outline-offset: 6px; }
.slide { min-width: 0; padding-inline: 2px; scroll-snap-align: start; }

.lines__dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.lines__dots span { width: 8px; height: 8px; border-radius: 999px; background: #CFCCC3; transition: width .25s ease, background-color .25s ease; }
.lines__dots span.is-active { width: 28px; background: var(--black); }
.lines__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line-light);
  text-align: center;
}
.lines__more p { max-width: 52ch; color: var(--ink-soft); }
@media (max-width: 599px) {
  .lines__controls { width: 100%; justify-content: space-between; }
  .lines__tab { padding: 8px 12px; }
  .lines__arrows { display: none; }
}

/* Ficha de cada luminaria: galería + texto */
.gc {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.gc__viewer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.gc__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
}
.gc__stage img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.gc__stage figcaption {
  position: absolute;
  left: 16px; bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.gc__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gc__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 100%;
  padding: 0;
  border: 2px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color .2s ease;
}
.gc__thumb img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; }
.gc__thumb:hover { border-color: var(--ink-soft); }
.gc__thumb[aria-pressed="true"] { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }

.gc__text { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.gc__text p { max-width: 46ch; color: var(--ink-soft); }
.gc__text .eyebrow { margin-bottom: -6px; color: var(--ink); }
.gc__text .gc__spec {
  margin-top: -6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-lg);
  color: var(--ink);
}
.gc__text .gc__note {
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
  font-weight: 600;
  color: var(--ink);
}
.gc__specs { display: grid; width: 100%; max-width: 520px; border-top: 1px solid var(--line-light); }
.gc__specs div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line-light); }
.gc__specs dt { padding-top: 2px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.gc__specs dd { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.gc__actions { padding-top: 6px; }
@media (max-width: 899px) {
  .gc { grid-template-columns: minmax(0, 1fr); }
  .gc__text { order: -1; }
}
@media (max-width: 479px) {
  .gc__specs div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- Franja de servicios ---------- */
.services { padding-block: clamp(56px, 7vw, 88px); }
.services__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.services__head .section-title { max-width: 14ch; }
.services__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.services__list li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
@media (max-width: 1023px) {
  .services__inner { grid-template-columns: minmax(0, 1fr); }
  .services__head .section-title { max-width: none; }
}
@media (max-width: 639px) {
  .services__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .services__list li {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    gap: 16px;
    padding-block: 14px;
    border-bottom: 1px solid var(--line-dark);
    font-size: var(--fs-base);
    text-align: left;
  }
  .services__list li:last-child { border-bottom: 0; }
  .services__list .icon--lg { width: 2rem; height: 2rem; }
}

/* ---------- Nosotros (resumen) ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--white);
  color: var(--ink);
}
.about__media {
  position: relative;
  min-height: 460px;
  background: var(--black);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}
/* Franja amarilla en diagonal */
.about__media::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 46%;
  height: 90px;
  background: var(--yellow);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.about__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.about__body {
  display: flex;
  align-items: center;
  padding-block: var(--section-y);
  padding-left: clamp(24px, 4vw, 56px);
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.about__content { display: grid; gap: 22px; justify-items: start; max-width: 540px; }
.about__content .eyebrow { margin-bottom: -10px; }
.about__content > p:not(.eyebrow) { color: var(--ink-soft); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin-block: 6px 8px; }
.stats > div { padding-inline: 16px; border-left: 1px solid var(--line-light); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats dt {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stats dt.stats__word { font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem); line-height: 1.9; text-transform: uppercase; }
.stats dd {
  margin-top: 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 899px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__media { min-height: 0; aspect-ratio: 16 / 10; max-width: 100%; clip-path: none; }
  .about__body { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); }
}
@media (max-width: 479px) {
  .stats > div { padding-inline: 10px; }
}

/* ---------- Proyectos (resumen) ---------- */
.projects__head .section-title { max-width: 16ch; }
/* Tira de fotos en movimiento continuo; cada foto conserva su proporción */
.projects__rail {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.projects__track {
  display: flex;
  gap: clamp(10px, 1.4vw, 18px);
  width: max-content;
  animation: projects-scroll 160s linear infinite;
}
.projects__rail:hover .projects__track { animation-play-state: paused; }
.projects__item { flex: none; height: clamp(210px, 19vw, 280px); }
.projects__btn {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--graphite);
  cursor: zoom-in;
}
.projects__btn img { width: auto; height: 100%; max-width: none; transition: transform .4s ease; }
.projects__btn:hover img { transform: scale(1.04); }
.projects__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
  font-size: var(--fs-xs);
  font-weight: 600;
  text-align: left;
}
@keyframes projects-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - clamp(5px, 0.7vw, 9px))); }
}

/* ---------- Beneficios ---------- */
.benefits { padding-block: clamp(32px, 4vw, 48px); background: var(--mist); color: var(--ink); }
.benefits__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.benefits__list li {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-left: 1px solid var(--line-light);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.benefits__list li:first-child { border-left: 0; }
.benefits__list .icon--lg { width: 2.25rem; height: 2.25rem; }
@media (max-width: 639px) {
  .benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .benefits__list li { border-left: 0; }
  .benefits__list li:last-child { grid-column: 1 / -1; }
}

/* ---------- Municipios (carrusel de logos) ---------- */
.munis { overflow: hidden; padding-block: clamp(56px, 7vw, 96px); background: var(--white); color: var(--ink); }
.munis__head { margin-bottom: clamp(28px, 4vw, 44px); text-align: center; }
.munis__head .eyebrow { justify-content: center; }
.munis__head .section-title { max-width: 22ch; margin-inline: auto; }
.munis__rail {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.munis__row { overflow: hidden; }
.munis__track {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  width: max-content;
  animation: munis-scroll 70s linear infinite;
}
.munis__row--rev .munis__track { animation-direction: reverse; animation-duration: 80s; }
.munis__rail:hover .munis__track { animation-play-state: paused; }
.munis__item {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(150px, 15vw, 200px);
  height: clamp(100px, 10vw, 124px);
  padding: 14px 18px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
}
.munis__item img { width: auto; height: auto; max-width: 100%; max-height: clamp(70px, 7.4vw, 92px); object-fit: contain; }
@keyframes munis-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - clamp(7px, 1vw, 11px))); }
}

/* =========================================================
   6. SUB-PÁGINAS — portada compartida
   Cada página define su foto con --hero-img y --hero-pos.
   ========================================================= */
.page-sub { background: var(--mist); color: var(--ink); }
.page-catalogo { --hero-img: url("../img/ambiente/catalogo-hero.webp"); --hero-pos: center 35%; }
.page-proyectos { --hero-img: url("../img/ambiente/proyectos-hero.webp"); --hero-pos: center 55%; --hero-w: min(78%, 1300px); }
.page-nosotros { --hero-img: url("../img/ambiente/nosotros-hero.webp"); }
.page-srv { --hero-img: url("../img/ambiente/servicios-hero.webp"); }
.page-fin { --hero-img: url("../img/ambiente/financiamiento-hero.webp"); }

.cat-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h) - 1px);
  background: var(--black);
  color: var(--white);
}
/* Foto a la derecha, fundida a negro hacia el texto */
.cat-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: var(--hero-w, min(72%, 1200px));
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(0, 0, 0, .72) 32%, rgba(0, 0, 0, .2) 70%, rgba(0, 0, 0, .1) 100%),
    linear-gradient(0deg, var(--black) 0%, rgba(0, 0, 0, 0) 35%),
    var(--hero-img) var(--hero-pos, center 40%) / cover no-repeat;
}
.cat-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding-block: calc(var(--header-h) + clamp(72px, 9vw, 120px)) clamp(40px, 5vw, 64px);
}
.cat-hero__text { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.cat-hero__text .eyebrow { margin-bottom: 0; }
.cat-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 1rem + 5vw, 5.2rem);
  line-height: 1;
  text-transform: uppercase;
}
.cat-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }

/* Variante de una columna (Proyectos, Nosotros, Servicios, Financiamiento) */
.proy-hero__inner,
.nos-hero__inner { grid-template-columns: minmax(0, 1fr); }
.proy-hero__inner { padding-bottom: clamp(48px, 6vw, 80px); }
.nos-hero__inner { padding-bottom: clamp(56px, 7vw, 96px); }
.proy-hero .cat-hero__title,
.nos-hero .cat-hero__title,
.fin-hero .cat-hero__title,
.srv-hero .cat-hero__title { font-size: var(--fs-page-title); }
.proy-hero .cat-hero__title,
.fin-hero .cat-hero__title { max-width: 14ch; }
.nos-hero .cat-hero__title { max-width: 13ch; }
.nos-hero__lead { max-width: 50ch; font-size: var(--fs-lg); line-height: 1.45; color: var(--on-dark-soft); }

@media (max-width: 767px) {
  .cat-hero::before {
    width: 100%;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .78) 55%, var(--black) 100%),
      var(--hero-img) var(--hero-pos, center 40%) / cover no-repeat;
  }
  .cat-hero__inner { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   7. CATÁLOGO
   ========================================================= */
.cat-hero__cover {
  justify-self: end;
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius);
  transform: rotate(3deg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
}

/* Barra de categorías y buscador */
.cat-nav {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  z-index: 40;
  border-bottom: 1px solid var(--line-light);
  background: var(--white);
  box-shadow: 0 6px 18px -14px rgba(0, 0, 0, .3);
}
.cat-nav__inner { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.cat-nav__list {
  display: flex;
  flex: 1;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav__list::-webkit-scrollbar { display: none; }
.cat-nav__list a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background-color .2s ease, color .2s ease;
}
.cat-nav__list a:hover { background: var(--mist); color: var(--ink); }
.cat-nav__list a.is-active { background: var(--black); color: var(--white); }
.cat-search input {
  width: 220px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: var(--mist);
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.cat-search input:focus { outline: 2px solid var(--black); outline-offset: 1px; background: var(--white); }
.cat-empty { padding-block: 48px 0; font-weight: 600; }

/* Categorías */
.cat-sec { padding-block: clamp(48px, 6vw, 80px) 0; scroll-margin-top: calc(var(--header-h) + 70px); }
.cat-sec:last-of-type { padding-bottom: clamp(56px, 7vw, 96px); }
.cat-sec__head {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  margin-bottom: clamp(24px, 3vw, 36px);
}
.cat-sec__head .eyebrow { margin-bottom: 6px; }
.cat-sec__cover {
  flex: none;
  width: clamp(72px, 9vw, 110px);
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  object-fit: cover;
  object-position: center 40%;
}
.cat-sec__sub { margin-top: 6px; color: var(--ink-soft); }
.cat-sec__pdf { margin-left: auto; align-self: center; }

/* Fichas */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.cat-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.cat-card__img {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: var(--black);
  cursor: zoom-in;
}
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.cat-card__img:hover img { transform: scale(1.03); }
.cat-card__zoom {
  position: absolute;
  right: 10px; bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .75);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.cat-card__zoom .icon { width: 16px; height: 16px; }
.cat-card__body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.cat-card__type { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.cat-card__name { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; line-height: 1.15; }
.cat-card__specs { display: grid; gap: 6px; margin-top: 10px; font-size: var(--fs-sm); }
.cat-card__specs div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
.cat-card__specs dt { padding-top: 2px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.cat-card__specs dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.cat-card__cta { align-self: flex-start; margin-top: auto; }
.cat-card__specs + .cat-card__cta { margin-top: 14px; }
/* Hoja completa del catálogo (postes y accesorios) */
.cat-card--sheet .cat-card__img { background: var(--white); }
.cat-card--sheet .cat-card__img img { object-fit: contain; }
.cat-card--sheet .cat-card__cta { margin-top: 12px; }
/* Foto de producto recortada (ornamentales) */
.cat-card--product .cat-card__img { aspect-ratio: 1; border-bottom: 1px solid var(--line-light); background: var(--white); }
.cat-card--product .cat-card__img img { padding: 6%; object-fit: contain; }
.cat-card--product .cat-card__zoom { background: var(--black); }
.cat-card--product .cat-card__specs div { grid-template-columns: 70px minmax(0, 1fr); }

@media (max-width: 767px) {
  .cat-hero__cover { display: none; }
  .cat-nav__inner { flex-wrap: wrap; gap: 8px; }
  .cat-search { order: -1; width: 100%; }
  .cat-search input { width: 100%; }
}
@media (max-width: 599px) {
  .cat-sec__head { flex-wrap: wrap; }
  .cat-sec__pdf { margin-left: 0; }
}

/* =========================================================
   8. PROYECTOS
   ========================================================= */
.proy-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; padding-block: 4px 6px; }
.proy-stats dt {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
  line-height: 1;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.proy-stats dd { margin-top: 4px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); }

/* Galería en mosaico */
.obras { padding-bottom: clamp(56px, 7vw, 96px); }
.obras-grid {
  columns: 3 320px;
  column-gap: clamp(14px, 1.6vw, 22px);
  padding-top: clamp(28px, 4vw, 48px);
}
.obra {
  overflow: hidden;
  margin-bottom: clamp(14px, 1.6vw, 22px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  break-inside: avoid;
}
.obra__btn { display: block; overflow: hidden; width: 100%; padding: 0; border: 0; background: var(--black); cursor: zoom-in; }
.obra__btn img { width: 100%; height: auto; transition: transform .45s ease; }
.obra__btn:hover img { transform: scale(1.03); }
.obra__cap { display: grid; gap: 2px; padding: 14px 18px 16px; }
.obra__type { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.obra__name { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; line-height: 1.2; }
.obra__place { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: var(--fs-sm); color: var(--ink-soft); }
.obra__place .icon { width: 16px; height: 16px; color: var(--ink); }

/* =========================================================
   9. NOSOTROS
   ========================================================= */
/* Cifras */
.nos-stats { background: var(--yellow); color: var(--black); }
.nos-stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: clamp(24px, 3vw, 36px); }
.nos-stats__grid > div { padding-inline: clamp(12px, 2vw, 28px); border-left: 1px solid rgba(0, 0, 0, .18); }
.nos-stats__grid > div:first-child { padding-left: 0; border-left: 0; }
.nos-stats dt { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.nos-stats dd { margin-top: 6px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Quiénes somos, misión y visión */
.nos-about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.nos-about__main { display: grid; gap: 16px; }
.nos-about__main .eyebrow { margin-bottom: -6px; }
.nos-about__main > p:not(.eyebrow) { max-width: 54ch; font-size: var(--fs-md); line-height: 1.65; color: var(--ink-soft); }
.nos-about__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }
.nos-mv { display: grid; align-content: start; gap: 10px; padding: 24px 24px 26px; border-top: 4px solid var(--yellow); border-radius: var(--radius); background: var(--white); }
.nos-mv h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; }
.nos-mv p { font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-soft); }
.nos-mv--dark { grid-column: 1 / -1; background: var(--black); color: var(--white); }
.nos-mv--dark p { color: var(--on-dark-soft); }

/* Pasos de trabajo (también en Financiamiento) */
.nos-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.nos-step { position: relative; display: grid; align-content: start; gap: 12px; padding: 24px 22px 26px; border-radius: var(--radius); background: var(--mist); }
.nos-step__n { position: absolute; top: 18px; right: 20px; font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: rgba(0, 0, 0, .12); }
.nos-step .icon--lg { color: var(--black); }
.nos-step h3 { padding-right: 40px; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; line-height: 1.2; }
.nos-step p { font-size: var(--fs-sm); color: var(--ink-soft); }

/* Beneficios y certificaciones */
.nos-resp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(28px, 4vw, 44px); }
.nos-resp__title { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; }
.nos-cert { width: 100%; height: auto; }

/* Partner */
.nos-partner { border-bottom: 1px solid var(--line-light); background: var(--white); }
.nos-partner__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px clamp(28px, 5vw, 64px); padding-block: clamp(40px, 5vw, 64px); }
.nos-partner__title { font-family: var(--font-display); font-weight: 900; font-size: var(--fs-card-title); line-height: 1.1; }
.nos-partner__title span { color: var(--leotek); }
.nos-partner__logo { width: clamp(200px, 26vw, 340px); height: auto; }

/* Líneas de producto */
.nos-lines { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.nos-line { display: flex; flex-direction: column; overflow: hidden; height: 100%; border-radius: var(--radius); background: var(--black); color: var(--white); text-decoration: none; }
.nos-line img { width: 100%; max-width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 38%; transition: transform .4s ease; }
.nos-line:hover img { transform: scale(1.05); }
.nos-line__foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 14px; border-top: 2px solid var(--yellow); background: var(--black); }
.nos-line__count { font-size: var(--fs-sm); font-weight: 700; color: var(--yellow); }
.nos-line__foot .icon { width: 18px; height: 18px; color: var(--yellow); transition: transform .2s ease; }
.nos-line:hover .nos-line__foot .icon { transform: translateX(3px); }

/* Obras destacadas */
.nos-obras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.nos-obra { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius); }
.nos-obra img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nos-obra:hover img { transform: scale(1.04); }

/* Video de presentación (vertical) */
.nos-video {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}
.nos-video__text { display: grid; gap: 18px; justify-items: start; max-width: 580px; }
.nos-video__text .eyebrow { margin-bottom: -6px; }
.nos-video__text > p:not(.eyebrow) { max-width: 48ch; font-size: var(--fs-md); line-height: 1.6; color: var(--on-dark-soft); }
.nos-video__text .nos-ben { margin-block: 4px 8px; }
.nos-video__player {
  position: relative;
  justify-self: center;
  width: min(340px, calc(100% - 16px));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: var(--graphite);
  box-shadow: 16px 16px 0 var(--yellow), 0 30px 60px -24px rgba(0, 0, 0, .8);
}
.nos-video__player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.nos-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .45) 100%);
  color: var(--white);
  cursor: pointer;
}
.nos-video__icon {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 0 0 10px rgba(254, 206, 0, .22);
  transition: transform .2s ease, background-color .2s ease;
}
.nos-video__icon .icon { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; stroke: none; }
.nos-video__play:hover .nos-video__icon { transform: scale(1.06); background: var(--yellow-light); }
.nos-video__label {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .65);
  font-size: var(--fs-sm);
  font-weight: 700;
}

/* Cierre con dirección */
.nos-cta p { display: flex; align-items: center; gap: 8px; }
.nos-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1199px) {
  .nos-lines { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .nos-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .nos-about,
  .nos-resp,
  .nos-video { grid-template-columns: minmax(0, 1fr); }
  .nos-video__player { width: min(320px, calc(100% - 16px)); }
  .nos-obras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .nos-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .nos-stats__grid > div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}
@media (max-width: 599px) {
  .nos-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 559px) {
  .nos-steps,
  .nos-about__cards { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   10. SERVICIOS
   ========================================================= */
.srv-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.srv-chips a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.srv-chips a:hover { border-color: var(--yellow); background: var(--yellow); color: var(--black); }

.srv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.srv {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.srv__head { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line-light); }
.srv__icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 16px; background: var(--black); color: var(--yellow); }
.srv__icon .icon { width: 34px; height: 34px; stroke-width: 1.5; }
.srv__kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.srv__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.05; text-transform: uppercase; }
.srv__list { display: grid; flex: 1; align-content: start; gap: 12px; }
.srv__list li { position: relative; padding-left: 22px; line-height: 1.55; }
.srv__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 3px; background: var(--yellow); }
.srv__cta { align-self: flex-start; }
@media (max-width: 899px) {
  .srv-grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   11. FINANCIAMIENTO
   ========================================================= */
/* En qué consiste el proyecto */
.fin-proy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.fin-proy__text { display: grid; gap: 16px; }
.fin-proy__text .eyebrow { margin-bottom: -6px; }
.fin-proy__text > p:not(.eyebrow) { max-width: 52ch; font-size: var(--fs-md); line-height: 1.65; color: var(--ink-soft); }
.fin-proy__card { padding: clamp(24px, 3vw, 36px); border-top: 4px solid var(--yellow); border-radius: var(--radius); background: var(--mist); }
.fin-proy__card h3 { margin-bottom: 18px; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; text-transform: uppercase; }
.fin-check { display: grid; gap: 12px; }
.fin-check li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; line-height: 1.45; }
.fin-check .icon { margin-top: 1px; color: var(--black); }

/* Apoyo adicional y objetivos */
.fin-imp { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.fin-imp__apoyo { padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.fin-imp__lead { font-size: var(--fs-md); line-height: 1.6; color: var(--on-dark-soft); }
.fin-imp__obj { display: grid; gap: 18px; }
.fin-imp__obj .eyebrow { margin-bottom: -8px; }
.fin-imp__note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(254, 206, 0, .1); font-weight: 600; }
.fin-imp__note .icon { margin-top: 2px; }

/* Franja amarilla de WhatsApp */
.fin-wa { background: var(--yellow); color: var(--black); }
.fin-wa__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-block: clamp(32px, 4vw, 48px); }
.fin-wa__title { font-family: var(--font-display); font-weight: 900; font-size: var(--fs-card-title); line-height: 1.1; }
.fin-wa p { max-width: 54ch; margin-top: 6px; }

/* Qué necesitamos saber */
.fin-need { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.fin-need__text { display: grid; gap: 16px; justify-items: start; }
.fin-need__text .eyebrow { margin-bottom: -6px; }
.fin-need__text > p:not(.eyebrow) { max-width: 46ch; color: var(--ink-soft); }
.fin-need__list { display: grid; gap: 10px; }
.fin-need__list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--white); font-weight: 600; }
.fin-need__list .icon { margin-top: 2px; color: var(--black); }

@media (max-width: 899px) {
  .fin-proy,
  .fin-imp,
  .fin-need { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   12. VISOR DE IMÁGENES (catálogo y proyectos)
   ========================================================= */
.zoom {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: calc(64px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  background: rgba(0, 0, 0, .92);
  color: var(--white);
}
.zoom__fig { display: grid; justify-items: center; gap: 10px; min-width: 0; height: 100%; }
.zoom__fig img { align-self: center; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 140px); border-radius: 6px; object-fit: contain; }
.zoom__fig figcaption { font-size: var(--fs-sm); text-align: center; color: var(--on-dark-soft); }
.zoom__close {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: max(14px, env(safe-area-inset-right, 0px));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--yellow);
  color: var(--black);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
}
.zoom__close .icon { stroke-width: 2.6; }
.zoom__nav {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  cursor: pointer;
}
.zoom__nav:hover { background: var(--yellow); color: var(--black); }
.zoom__nav .icon { width: 22px; height: 22px; stroke-width: 2.4; }
.zoom__nav--prev .icon { transform: scaleX(-1); }
@media (max-width: 599px) {
  .zoom { grid-template-columns: minmax(0, 1fr); }
  .zoom__nav { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .zoom__nav--prev { left: 16px; }
  .zoom__nav--next { right: 16px; }
  .zoom__fig img { max-height: calc(100dvh - 190px); }
}

/* =========================================================
   13. PIE DE PÁGINA
   ========================================================= */
.site-footer {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--black);
  color: var(--white);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.15fr);
  gap: 40px clamp(24px, 3vw, 48px);
}
.footer__brand { display: grid; align-content: start; justify-items: start; gap: 20px; }
.footer__brand p { max-width: 32ch; font-size: var(--fs-sm); color: var(--on-dark-soft); }
.footer__col { min-width: 0; }
.footer__title { margin-bottom: 16px; font-family: var(--font-display); font-weight: 900; font-size: var(--fs-md); }
.footer__links { display: grid; gap: 4px; }
.footer__links a {
  display: inline-block;
  padding-block: 4px;
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--on-dark-soft);
}
.footer__links a:hover { color: var(--yellow); }

.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: var(--fs-sm); }
.contact-list a { overflow-wrap: anywhere; text-decoration: none; color: var(--white); }
.contact-list a:hover { color: var(--yellow); text-decoration: underline; }

.footer__city { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: var(--fs-sm); font-weight: 600; }
.map-slot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  text-decoration: none;
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(28deg, transparent 46%, rgba(254, 220, 94, .18) 46% 50%, transparent 50%),
    var(--graphite);
}
.map-slot__pin {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 0 0 8px rgba(254, 206, 0, .18);
}
.map-slot__pin .icon { stroke-width: 2.2; }
.map-slot__label {
  position: absolute;
  left: 10px; bottom: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .7);
  font-size: var(--fs-xs);
  color: var(--white);
}
.footer__bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs);
  color: var(--on-dark-soft);
}
@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   14. MOVIMIENTO REDUCIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .site-nav, .site-nav ul li, .site-nav > .btn, .burger span { transition: none !important; }
  .munis__track,
  .projects__track { animation: none; }
  .munis__row,
  .projects__rail { overflow-x: auto; scrollbar-width: thin; }
  .munis__item[aria-hidden="true"],
  .projects__item[aria-hidden="true"] { display: none; }
}
