/* ============================================================================
   FERMAX — hoja de estilos
   ============================================================================
   Organizada en secciones (buscá los títulos en MAYÚSCULAS con ===).
   Los colores y tipografías principales están en :root como variables,
   así que para cambiar el color institucional o la fuente alcanza con
   tocarlos ahí arriba y se actualiza en todo el sitio.
   ========================================================================== */

/* cdnfonts declara tres veces Sansation 400 y la ultima es la cursiva, por eso
   el texto normal salia en italica. Esta regla (posterior) fija la Regular. */
@font-face {
  font-family: 'Sansation';
  font-style: normal;
  font-weight: 400;
  src: url('https://fonts.cdnfonts.com/s/382/Sansation-Regular.woff') format('woff');
}

:root {
  --yellow: #fccd2f;
  --dark: #0a0a0a;
  --dark-2: #050505;
  --gray-bg: #f5f5f5;
  --gray-border: #e8e8e8;
  --font-heading: 'Sansation', 'Roboto', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, sans-serif;
}

/* ============================================================================
   RESET / BASE
   ========================================================================== */

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

html { scroll-behavior: smooth; }

/* Evita que la página se pueda correr de costado en el celular: las
   animaciones de entrada desplazan bloques unos píxeles hacia los lados
   y eso alcanzaba para que apareciera una franja blanca a la derecha. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

body {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

button { font-family: inherit; cursor: pointer; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, p { margin: 0; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--dark); border-radius: 3px; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px) {
  .container { padding: 0 80px; }
}

.text-yellow { color: var(--yellow); }

/* Secciones genéricas: fondo + separador de título */
.section { padding: 96px 0; }
.section--white { background: #fff; }
.section--gray { background: var(--gray-bg); }
.section--black { background: var(--dark-2); }

.section__head { margin-bottom: 56px; }
.section__head h2 {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  color: var(--dark);
}
/* Va después de .section__head h2 para que gane sobre el color oscuro */
.section--black h2, .section--black .section__head h2,
.section--black .section__sub { color: #efefef; }
.section__sub {
  margin-top: 10px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: #777;
}

/* ============================================================================
   BOTONES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-heading);
  border: none;
  transition: opacity .2s, background-color .2s, color .2s, border-color .2s;
}
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { justify-content: center; width: 100%; }
.btn--yellow { background: var(--yellow); color: var(--dark); }
.btn--yellow:hover { opacity: .85; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--yellow); color: var(--dark); }
.btn--dark-alt { background: #1e1e1e; color: #c8c8c8; }
.btn--dark-alt:hover { background: #2a2a2a; }
.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--outline:hover { border-color: var(--yellow); color: var(--yellow); }
.icon { flex-shrink: 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  width: fit-content;
  transition: color .2s;
}
.link-arrow:hover { color: var(--yellow); }

/* ============================================================================
   HEADER
   ========================================================================== */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Logotipo: el archivo original (assets/logo-fermax.svg) es solo el
   emblema (escudo + rayo), sin texto — por eso el nombre "FERMAX" se
   escribe acá al lado como texto real, no como parte de la imagen.
   Para cambiar el tamaño del logo, tocar --brand-icon-size. */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  --brand-icon-size: 52px;
}
.brand__icon {
  height: var(--brand-icon-size);
  width: var(--brand-icon-size);
  filter: brightness(0) invert(1);
}
.brand__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .06em;
  color: #fff;
}
.brand--footer { --brand-icon-size: 56px; }
.brand--footer .brand__text { font-size: 26px; }

.nav { display: none; align-items: center; gap: 34px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: .04em;
  transition: color .2s;
}
.nav a:hover { color: var(--yellow); }
.header__cta { display: none; }

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
}
.header__burger span {
  display: block;
  height: 2px;
  background: #fff;
  transition: transform .2s, opacity .2s;
}
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(10,10,10,0.97);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu__cta { justify-content: center; margin-top: 4px; }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .header__burger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ============================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.85);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 100%);
}
.hero__content {
  position: relative;
  /* padding-block (y no "padding: 128px 0") para no pisar el margen
     lateral que trae .container: si se pisa, el texto queda pegado al borde */
  padding-block: 128px;
  width: 100%;
}
.hero__text { max-width: 640px; }
.hero__text h1 {
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
}
.hero__text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats {
  position: relative;
  width: 100%;
  background: rgba(252,205,47,0.08);
  border-top: 1px solid rgba(252,205,47,0.18);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stats-grid__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
.stats-grid__value {
  font-weight: 700;
  font-size: 16px;
  color: var(--yellow);
}
.stats-grid__label { font-size: 12px; color: rgba(255,255,255,0.45); }

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid__item { border-bottom: none; }
  .stats-grid__item:nth-child(-n+3) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stats-grid__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
}

/* ============================================================================
   SERVICIOS — acordeón
   ========================================================================== */

.accordion { border-top: 1px solid var(--gray-border); }
.accordion__item { border-bottom: 1px solid var(--gray-border); }

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
}
.accordion__left { display: flex; align-items: center; gap: 20px; }
.accordion__num {
  font-size: 14px;
  font-weight: 600;
  color: #bbb;
  min-width: 28px;
  flex-shrink: 0;
  transition: color .2s;
}
.accordion__title {
  font-weight: 600;
  font-size: 17px;
  color: #444;
  transition: color .2s;
}
.accordion__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: #f0f0f0;
  position: relative;
  transition: transform .3s, background-color .3s;
}
.accordion__icon::before, .accordion__icon::after {
  content: '';
  position: absolute;
  background: #888;
  transition: background-color .3s;
}
.accordion__icon::before { top: 50%; left: 22%; right: 22%; height: 1.5px; transform: translateY(-50%); }
.accordion__icon::after { left: 50%; top: 22%; bottom: 22%; width: 1.5px; transform: translateX(-50%); }

.accordion__item.is-open .accordion__num,
.accordion__item.is-open .accordion__title { color: var(--dark); }
.accordion__item.is-open .accordion__num { color: var(--yellow); }
.accordion__item.is-open .accordion__icon { background: var(--yellow); transform: rotate(45deg); }
.accordion__item.is-open .accordion__icon::before,
.accordion__item.is-open .accordion__icon::after { background: var(--dark); }

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1);
}
.accordion__item.is-open .accordion__panel { max-height: 600px; }

.accordion__panel-inner {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
}
.accordion__text { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.accordion__text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}
.accordion__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  min-height: 200px;
}
.accordion__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.8);
}

@media (min-width: 1024px) {
  .accordion__panel-inner { grid-template-columns: 1fr 1fr; }
  .accordion__text { padding-right: 32px; }
}

/* ============================================================================
   CLIENTES — marquee
   ========================================================================== */

.clients {
  /* --clients-gap = separación entre los nombres de la cinta.
     Tocar acá para juntarlos o separarlos (más chico = más juntos). */
  --clients-gap: 56px;
  padding: 56px 0;
  overflow: hidden;
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-border);
}
@media (min-width: 768px) {
  .clients { --clients-gap: 84px; }
}
.clients__label {
  max-width: 1280px;
  margin: 0 auto 32px;
  padding: 0 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  letter-spacing: .04em;
}
.clients__viewport { position: relative; overflow: hidden; }
.clients__viewport::before, .clients__viewport::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.clients__viewport::before { left: 0; background: linear-gradient(to right, var(--gray-bg), transparent); }
.clients__viewport::after { right: 0; background: linear-gradient(to left, var(--gray-bg), transparent); }

.clients__track {
  display: flex;
  align-items: center;
  gap: var(--clients-gap);
  width: max-content;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.clients__track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.clients__item {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .02em;
  color: #8a8a8a;
  transition: color .3s;
}
.clients__item:hover { color: var(--c, var(--yellow)); }

/* ============================================================================
   OBRAS — grilla + tarjetas (el markup interno lo genera main.js)
   ========================================================================== */

.obras__grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.obras__grid::-webkit-scrollbar { display: none; }

.obras__grid { cursor: grab; }
.obras__grid.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.obra-card {
  position: relative;
  overflow: hidden;
  cursor: inherit;
  flex: 0 0 85%;
  height: 360px;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .obra-card { flex-basis: calc((100% - 12px) / 2); height: 440px; }
}
@media (min-width: 1100px) {
  .obra-card { flex-basis: calc((100% - 24px) / 3); }
}

.obras__arrows { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.obras__arrows button {
  width: 44px; height: 44px;
  background: #1e1e1e; color: #efefef;
  border: 1px solid #333;
  font-size: 24px; line-height: 1;
  transition: background-color .2s, color .2s, opacity .2s;
}
.obras__arrows button:hover:not(:disabled) { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.obras__arrows button:disabled { opacity: .3; cursor: default; }
.obra-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform .5s;
}
.obra-card:hover img { transform: scale(1.05); }
.obra-card__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 55%);
}
.obra-card__info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; }
.obra-card__info .name { font-weight: 700; font-size: 16px; color: #efefef; }
.obra-card__info .loc { font-style: italic; font-size: 14px; margin-top: 2px; color: var(--yellow); font-family: var(--font-body); font-weight: 300; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.92);
}
.lightbox[hidden] { display: none; }
.lightbox__panel {
  position: relative;
  width: 100%;
  max-width: 1152px;
  max-height: 100%;
  overflow-y: auto;
  background: #121212;
}
.lightbox__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #1e1e1e;
  color: #8d8d8d;
  border: none;
  font-size: 16px;
  transition: color .2s;
}
.lightbox__close:hover { color: #efefef; }
.lightbox__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.lightbox__details[hidden], .lightbox__footer-actions .btn[hidden] { display: none; }
@media (min-width: 1024px) {
  .lightbox__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lightbox__grid--solo { grid-template-columns: minmax(0, 1fr); }
}
.lightbox__media { min-width: 0; display: flex; flex-direction: column; background: var(--dark-2); }
.lightbox__photo-wrap { position: relative; aspect-ratio: 4/3; }
.lightbox__photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  font-size: 22px;
  transition: background-color .2s, color .2s;
}
.lightbox__nav:hover { background: var(--yellow); color: var(--dark); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__caption { padding: 8px 16px; font-size: 12px; color: #8d8d8d; font-family: var(--font-body); }
.lightbox__thumbs { display: flex; gap: 8px; padding: 0 16px 16px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.lightbox__thumbs button {
  flex-shrink: 0;
  width: 64px; height: 44px;
  padding: 0;
  border: 2px solid transparent;
  overflow: hidden;
  background: none;
}
.lightbox__thumbs button.is-active { border-color: var(--yellow); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.lightbox__thumbs button.is-active img { filter: none; }
.lightbox__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  overflow-y: auto;
  max-height: 600px;
}
@media (min-width: 1024px) { .lightbox__details { padding: 32px; } }
.lightbox__type { font-style: italic; font-size: 14px; color: var(--yellow); font-family: var(--font-body); font-weight: 300; }
.lightbox__details h3 { font-weight: 700; margin-top: 4px; font-size: clamp(22px,3vw,32px); color: #efefef; }
.lightbox__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid #2a2a2a;
}
.lightbox__footer span { font-size: 14px; color: #8d8d8d; font-family: var(--font-body); }
.lightbox__footer-actions { display: flex; gap: 8px; }
.lightbox__footer-actions .btn { padding: 10px 16px; font-size: 14px; }

/* ============================================================================
   REFERENCIAS
   ========================================================================== */

.ref-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .ref-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ref-grid { grid-template-columns: 1fr 1.2fr 1fr; } }

.ref-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-top: 3px solid var(--yellow);
}
.ref-card__kicker {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #888;
}
.ref-card__list { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; column-gap: 14px; }
@media (min-width: 480px) { .ref-card__list { column-gap: 20px; } }
.ref-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.ref-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: .5em;
  width: 6px; height: 6px;
  background: var(--yellow);
}

.ref-card--dark { background: var(--dark); border-color: var(--dark); border-top-color: var(--yellow); }
.ref-card--dark .ref-card__kicker { color: var(--yellow); }
.ref-card__big { font-size: 22px; font-weight: 700; line-height: 1.25; color: #efefef; }
.ref-card__note {
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: #8d8d8d;
}

.ref-counter {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-border);
}
.ref-counter__num {
  font-weight: 700;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1;
  color: var(--dark);
}
.ref-counter__label { font-family: var(--font-body); font-size: 18px; color: #666; max-width: 360px; }

/* Los contadores no "bailan" de ancho mientras suben */
[data-count] { font-variant-numeric: tabular-nums; }

/* ============================================================================
   ANIMACIONES AL HACER SCROLL
   main.js agrega .reveal a los bloques y .is-visible cuando entran en
   pantalla. Solo se ocultan si JS está activo (clase .js en <html>), así
   sin JS el sitio se ve completo igual.
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal--left { transform: translateX(-32px); }
.js .reveal--right { transform: translateX(32px); }
.js .reveal--zoom { transform: scale(.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* La barrita amarilla de los pasos del proceso se "dibuja" al aparecer */
.js .proceso__step.reveal .proceso__rule { transform: scaleX(0); transform-origin: left; transition: transform .8s ease .3s; }
.js .proceso__step.reveal.is-visible .proceso__rule { transform: scaleX(1); }
/* Con "reducir movimiento" activado, main.js directamente no agrega .reveal */

/* ============================================================================
   NOSOTROS
   ========================================================================== */

.nosotros__grid { display: grid; gap: 64px; align-items: start; }
@media (min-width: 1024px) { .nosotros__grid { grid-template-columns: 1fr 1fr; } }
.nosotros__col p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}
.nosotros__photo { position: relative; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 32px; }
.nosotros__photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75) saturate(0.8); }
.nosotros__photo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 24px;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.nosotros__stat span { display: block; font-weight: 700; font-size: 30px; color: var(--yellow); }
.nosotros__stat small { font-size: 12px; color: rgba(255,255,255,0.6); }
.nosotros__divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

.nosotros__diffs { display: flex; flex-direction: column; gap: 16px; }
.diff-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ebebeb;
  transition: background-color .2s, border-color .2s;
}
.diff-card:hover { background: var(--dark); border-color: var(--dark); }
.diff-card__check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
}
.diff-card__title { font-weight: 600; font-size: 16px; margin-bottom: 4px; color: var(--dark); transition: color .2s; }
.diff-card:hover .diff-card__title { color: var(--yellow); }
.diff-card__desc { font-family: var(--font-body); font-weight: 300; font-size: 14px; line-height: 1.6; color: #666; transition: color .2s; }
.diff-card:hover .diff-card__desc { color: rgba(255,255,255,0.5); }

/* ============================================================================
   COBERTURA
   ========================================================================== */

.cobertura__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .cobertura__grid { grid-template-columns: 1fr 1fr; } }
.cobertura__map { display: flex; justify-content: center; }
.cobertura__map svg { max-width: 100%; }
.zone-halo, .zone-points, .zone-label { transition: opacity .3s; }

.cobertura__zones { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 480px) { .cobertura__zones { grid-template-columns: 1fr 1fr; } }
.zone-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-left: 3px solid var(--yellow);
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.zone-card--dashed { border-left: 2px dashed var(--yellow); }
.zone-card__title { font-weight: 700; font-size: 16px; color: var(--dark); }
.zone-card__presence { font-weight: 600; font-size: 12px; color: var(--yellow); }
.zone-card__note { font-family: var(--font-body); font-weight: 300; font-size: 14px; color: #888; }

/* Estados activo/atenuado, controlados por JS agregando estas clases */
.zone-card.is-active { background: var(--dark); border-color: var(--dark); border-left-color: var(--yellow); }
.zone-card.is-active .zone-card__title { color: #fff; }
.zone-card.is-active .zone-card__note { color: rgba(255,255,255,0.5); }
.zone-card.is-dimmed { opacity: .45; }

/* ============================================================================
   PROCESO
   ========================================================================== */

.proceso__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 64px;
}
@media (min-width: 768px) { .proceso__steps { grid-template-columns: repeat(3, 1fr); } }
.proceso__step { display: flex; flex-direction: column; gap: 16px; }
.proceso__num { font-weight: 700; font-size: 44px; line-height: 1; color: var(--yellow); }
@media (min-width: 768px) { .proceso__num { font-size: 72px; } }
.proceso__rule { width: 40px; height: 1px; background: var(--gray-border); }
.proceso__step h3 { font-weight: 600; font-size: 16px; color: var(--dark); }
.proceso__step p { font-family: var(--font-body); font-weight: 300; font-size: 14px; line-height: 1.6; color: #777; }

.maint-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #f9f9f9;
  border: 1px solid var(--gray-border);
  border-left: 3px solid var(--yellow);
}
@media (min-width: 640px) { .maint-banner { flex-direction: row; align-items: center; } }
.maint-banner__title { font-weight: 600; font-size: 16px; margin-bottom: 4px; color: var(--dark); }
.maint-banner__desc { font-family: var(--font-body); font-weight: 300; font-size: 14px; color: #777; }
.maint-banner > div:first-child { flex: 1; }

/* ============================================================================
   CTA FINAL
   ========================================================================== */

.cta-final {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background: var(--dark);
  text-align: center;
}
.cta-final__glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.cta-final__glow::before {
  content: '';
  width: 600px; height: 600px;
  background: var(--yellow);
  border-radius: 50%;
  filter: blur(140px);
  opacity: .08;
}
.cta-final__content { position: relative; max-width: 720px; margin: 0 auto; }
.cta-final h2 { font-weight: 700; font-size: clamp(32px,5vw,56px); line-height: 1.05; color: #fff; margin-bottom: 16px; }
.cta-final__lead { font-family: var(--font-body); font-weight: 300; font-size: 18px; color: #c8c8c8; margin-bottom: 12px; }
.cta-final__sub { font-family: var(--font-body); font-weight: 300; font-size: 16px; color: #8d8d8d; margin-bottom: 40px; }
.cta-final__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }

/* ============================================================================
   CONTACTO
   ========================================================================== */

.contacto__grid { display: grid; gap: 64px; }
@media (min-width: 1024px) { .contacto__grid { grid-template-columns: 1fr 1fr; } }

.contacto__form-wrap { background: #fff; padding: 20px; border: 1px solid var(--gray-border); }
@media (min-width: 768px) { .contacto__form-wrap { padding: 32px; } }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-row .field { margin-bottom: 0; }
.field label { font-size: 14px; font-weight: 600; color: #666; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--gray-bg);
  border: 1.5px solid var(--gray-border);
  outline: none;
  transition: border-color .2s;
}
.field textarea { resize: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e53e3e; }
.field__error { font-size: 12px; color: #e53e3e; min-height: 0; }
.field__error:empty { display: none; }

.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form-success[hidden] { display: none; }
.form-success__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  font-size: 20px;
}
.form-success h3 { font-weight: 600; font-size: 22px; color: var(--dark); }
.form-success p { font-family: var(--font-body); color: #555; }
.link-reset { background: none; border: none; padding: 0; font-size: 14px; font-weight: 500; color: var(--yellow); }

.contacto__side { display: flex; flex-direction: column; gap: 20px; }
.contact-card { padding: 24px; background: var(--dark); }
.contact-card__title { font-weight: 600; font-size: 16px; margin-bottom: 20px; color: var(--yellow); }
.contact-card__item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-card__item:last-child { margin-bottom: 0; }
.contact-card__item .icon { color: var(--yellow); margin-top: 2px; }
.contact-card__item p { font-size: 14px; font-weight: 500; color: #efefef; }
.contact-card__item small { font-size: 12px; color: #8d8d8d; font-family: var(--font-body); }

/* ============================================================================
   FOOTER
   ========================================================================== */

.footer { background: var(--dark-2); border-top: 1px solid rgba(252,205,47,0.1); }
.footer__inner { padding-block: 56px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p {
  max-width: 380px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.35);
}
.footer__legal { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; font-size: 12px; color: #8d8d8d; font-family: var(--font-body); }
.footer__social { display: flex; align-items: center; gap: 12px; }
.footer__social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: #8d8d8d;
  transition: color .2s;
}
.footer__social a:hover { color: var(--yellow); }

.footer__heading {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.2);
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; color: #c8c8c8; font-family: var(--font-body); transition: color .2s; }
.footer__col a:hover { color: var(--yellow); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  font-family: var(--font-body);
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

.footer__credit {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-body);
}
.footer__credit a { color: rgba(255,255,255,0.4); transition: color .2s; }
.footer__credit a:hover { color: var(--yellow); }

/* ============================================================================
   RESPALDO — distribuidor oficial, proveedor y premio
   ========================================================================== */

.respaldo { background: #fff; border-bottom: 1px solid var(--gray-border); padding: 24px 0; }
@media (min-width: 768px) { .respaldo { padding: 36px 0; } }
.respaldo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
@media (min-width: 768px) { .respaldo__grid { gap: 24px; } }
.respaldo__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.respaldo__logo { height: 40px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 8px; }
.respaldo__logo--wide { height: 20px; margin: 10px 0 10px; }
@media (min-width: 768px) { .respaldo__logo { height: 64px; } .respaldo__logo--wide { height: 34px; margin: 15px 0 23px; } }
.respaldo__title { font-family: var(--font-heading); font-weight: 700; font-size: 12px; line-height: 1.3; color: var(--dark); }
@media (min-width: 768px) { .respaldo__title { font-size: 16px; } }
.respaldo__desc { font-size: 11px; line-height: 1.3; color: #666; }
@media (min-width: 768px) { .respaldo__desc { font-size: 14px; } }

.cta-final__pay { font-size: 15px; color: #c8c8c8; margin-bottom: 28px; }
.cta-final__pay a, .contacto__pay a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.contacto__pay { margin-top: 14px; font-size: 14px; color: #555; text-align: center; }
.contacto__pay a { color: #8a6a00; }

/* Encuadre cuadrado: trabajador y camioneta visibles. */
.nosotros__photo { width:100%; max-width:440px; aspect-ratio:1/1; margin-inline:auto; }
.nosotros__photo img { object-fit:cover; object-position:50% 55%; }

/* Cobertura provincial: geometría IGN y áreas locales orientativas. */
.province { fill:#dedede; stroke:#aaa; stroke-width:.7; stroke-linejoin:round; }
.zone-region { fill:#ffd12c; stroke:#aa8614; stroke-width:1; transition:opacity .2s,fill .2s; }
.zone-region.is-active { fill:#ffc400; stroke:#705400; stroke-width:1.5; }
.coverage-labels { font:700 13px system-ui,sans-serif; fill:#1a1a1a; }
.coverage-labels path { fill:none; stroke:#999; stroke-width:1; }
.zone-card { cursor:pointer; }
.zone-card:focus-visible { outline:2px solid #b28b00; outline-offset:4px; }

/* Espacios reservados para contenido confirmado. */
.content-pending { border-left:3px solid var(--yellow); padding:20px 24px; background:rgba(128,128,128,.045); max-width:760px; }
.content-pending p { margin:0; color:#666; line-height:1.7; }

/* ¿ y ? : Sansation los dibuja poco legibles; main.js los envuelve en .q */
.q { font-family: 'Roboto', Arial, sans-serif; font-weight: 700; font-style: normal; }

/* FAQ: solo se ven las primeras; el resto con "Ver mas" */
.faq .faq-extra { display: none; }
.faq.is-expanded .faq-extra { display: block; }
.faq-more { display: block; margin: 24px auto 0; padding: 12px 24px; background: none; border: 1px solid var(--dark); color: var(--dark); font-weight: 600; font-size: 14px; transition: background-color .2s, color .2s; }
.faq-more:hover { background: var(--dark); color: #fff; }
