/* ==========================================================================
   ECOCUR — Sistema de diseño del frontend
   Continúa la identidad del demo aprobado: fondo claro, verde institucional
   #A2BE30, tipografía Plus Jakarta Sans y bandas en verde bosque.
   Estética plana: sin box-shadow ni desenfoques. El volumen se construye con
   bloques de color, bordes de 1px, espacio en blanco y tipografía.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --lime:        #A2BE30;   /* Verde institucional (extraído del logo) */
  --lime-dark:   #8CA627;
  --surface-2:   #F1F2F0;   /* Gris neutro para hovers y marcos de imagen */
  --green-deep:  #4A6210;   /* Verde profundo accesible sobre fondo claro */

  /* Verde bosque para las bandas oscuras */
  --forest:      #1B2418;
  --forest-2:    #141B11;
  --forest-line: #35402F;
  --on-dark:     #C9CFC4;   /* Texto secundario sobre fondo oscuro */

  /* Superficies y texto */
  --ink:         #111827;
  --ink-soft:    #4B5563;
  --bg:          #F9FAFB;
  --surface:     #FFFFFF;
  --line:        #E5E7EB;

  /* Tipografía */
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter:    1.25rem;
  --header-h:  84px;
  --r-lg:      22px;
  --r-md:      14px;
}

@media (min-width: 768px) { :root { --gutter: 2rem; } }

/* --------------------------------------------------------------------------
   1b. Tema oscuro — único tema del sitio, fijado en <html data-theme="dark">
   Profundiza los verdes de marca en lugar de introducir una paleta nueva.
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  --ink:        #FFFFFF;
  --ink-soft:   #C9CFC4;
  --bg:         #141B11;
  --surface:    #1B2418;
  --line:       #35402F;
  --surface-2: #232C1E;
  --green-deep: #A2BE30;   /* el acento se aclara para seguir legible */
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; }

::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }
.on-forest :focus-visible, .hero :focus-visible { outline-color: var(--lime); }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section         { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight  { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--bg     { background: var(--bg);      color: var(--ink); }
.section--surface{ background: var(--surface); color: var(--ink); }
.section--forest { background: var(--forest);  color: #fff; }
.section--lime   { background: var(--lime);    color: var(--ink); }

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 300;
  background: var(--lime); color: var(--ink);
  padding: .8rem 1.4rem; font-weight: 700; border-radius: 999px;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   4. Tipografía
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.section--forest .kicker,
.hero .kicker { color: var(--lime); }
.section--lime .kicker { color: var(--ink); }

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-top: .9rem;
}

.lead {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--ink-soft);
  max-width: 56ch;
}
.section--forest .lead { color: var(--on-dark); }
.section--lime .lead   { color: var(--ink); }

.section-head { display: grid; gap: 1.2rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.15fr .85fr; align-items: end; gap: 3rem; }
}

/* --------------------------------------------------------------------------
   5. Botones — cápsula, sin sombras, transiciones sólo de color
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 1.9rem;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn--primary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--ink { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.btn--ink:hover { background: transparent; color: var(--ink); }

.btn--outline-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-ink:hover { background: var(--ink); color: var(--surface); }

.btn--sm { padding: .75rem 1.4rem; font-size: .87rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   6. Topbar
   -------------------------------------------------------------------------- */
.topbar { background: var(--forest-2); color: var(--on-dark); font-size: .82rem; }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 42px; padding-block: .35rem;
}
.topbar__group { display: flex; gap: 1.4rem; flex-wrap: wrap; }
/* Cada texto de la barra en un solo renglón: en español los textos son más
   largos que en inglés y antes se partían («Escribinos por WhatsApp»). */
.topbar__group > a, .topbar__right a { white-space: nowrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .45rem; transition: color .2s ease; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--lime); flex-shrink: 0; }

.topbar__right { display: none; align-items: center; gap: 1.3rem; }
@media (min-width: 900px) { .topbar__right { display: flex; } }

.topbar__links { display: flex; align-items: center; gap: .5rem; }
.topbar__links a:hover { color: var(--lime); }

.topbar__social { display: flex; align-items: center; gap: .65rem; }
.topbar__social svg { width: 17px; height: 17px; }

/* Pantallas medianas (tablet horizontal, notebooks chicas): el correo se
   muestra sólo como ícono para que la barra siga en un solo renglón. */
@media (min-width: 900px) and (max-width: 1180px) {
  .topbar__group { flex-wrap: nowrap; gap: 1.1rem; }
  .topbar__right { gap: 1rem; }
  .topbar__correo-texto {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   7. Header — transparente sobre el héroe, sólido al hacer scroll
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.header.is-stuck { background: var(--surface); border-bottom-color: var(--line); }

.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand .logo-dark { display: none; }
.header.is-stuck .logo-light { display: none; }
.header.is-stuck .logo-dark  { display: block; }
body.nav-open .logo-light { display: none; }
body.nav-open .logo-dark  { display: block; }
/* En tema oscuro el logo claro sirve siempre */
[data-theme="dark"] .header.is-stuck .logo-light { display: block; }
[data-theme="dark"] .header.is-stuck .logo-dark  { display: none; }
[data-theme="dark"] body.nav-open .logo-light { display: block; }
[data-theme="dark"] body.nav-open .logo-dark  { display: none; }

.nav { display: none; }
.header__actions { display: none; }

/* Menú completo desde 1180px: el área útil de la cabecera nunca pasa de
   1176px (contenedor de 1240px), así que el menú y los botones tienen que
   entrar en ese ancho en los dos sitios. Por debajo, menú hamburguesa. */
@media (min-width: 1180px) {
  .nav { display: block; margin-left: auto; }
  .nav ul { display: flex; gap: .1rem; }
  .nav a {
    display: inline-block;
    padding: .55rem .75rem;
    font-size: .93rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .82);
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
  }
  .nav a:hover { color: #fff; }
  .nav a.is-active { color: #fff; border-bottom-color: var(--lime); }
  .header.is-stuck .nav a { color: var(--ink-soft); }
  .header.is-stuck .nav a:hover,
  .header.is-stuck .nav a.is-active { color: var(--ink); }

  .header__actions { display: flex; align-items: center; gap: .6rem; }
}

.header__catalog {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.25rem;
  font-size: .87rem; font-weight: 700;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.header__catalog:hover { background: #fff; color: var(--ink); border-color: #fff; }
.header.is-stuck .header__catalog { color: var(--ink); border-color: var(--line); }
.header.is-stuck .header__catalog:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.header__catalog svg { width: 16px; height: 16px; }

/* Hamburguesa */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 12px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  transition: border-color .2s ease, background-color .2s ease;
}
.burger span { display: block; width: 100%; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease, background-color .25s ease; }
.header.is-stuck .burger { border-color: var(--ink); }
.header.is-stuck .burger span { background: var(--ink); }
.burger[aria-expanded="true"] { border-color: var(--ink); background: var(--surface-2); }
.burger[aria-expanded="true"] span { background: var(--ink); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1180px) { .burger { display: none; } }

/* Panel móvil */
.mobile-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  /* Alto de lo que queda de pantalla bajo la barra y la cabecera: así se llega
     a los últimos botones aunque la pantalla sea baja. */
  max-height: calc(100vh - var(--header-h) - 42px);
  max-height: calc(100dvh - var(--header-h) - 42px);
  background: var(--surface);
  border-bottom: 1px solid var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 1.5rem;
  font-size: 1.05rem; font-weight: 700;
  border-top: 1px solid var(--line);
  transition: background-color .2s ease, color .2s ease;
}
.mobile-nav a:hover { background: var(--surface-2); }
.mobile-nav__cta { padding: 1.25rem 1.5rem 1.5rem; display: grid; gap: .7rem; border-top: 1px solid var(--line); }
@media (min-width: 1180px) { .mobile-nav { display: none !important; } }
body.nav-open .header { background: var(--surface); border-bottom-color: var(--line); }

/* --------------------------------------------------------------------------
   8. Hero — banda verde bosque con fotografía y la transformación NFU
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  background: var(--forest);
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(16, 22, 13, .82);
}
@media (min-width: 1024px) {
  .hero__bg::after { background: rgba(16, 22, 13, .78); }
}

.hero__inner {
  position: relative; z-index: 2;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vh, 5.5rem));
  padding-bottom: clamp(5.5rem, 12vh, 8rem);
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; }
}

.hero__chip {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: #fff;
}
.hero__chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero__title .accent { color: var(--lime); }
.hero__text { margin-top: 1.4rem; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .86); max-width: 52ch; }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__badge {
  margin-top: 1.9rem;
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .75);
}
.hero__badge svg { width: 16px; height: 16px; color: var(--lime); flex-shrink: 0; }

/* Transformación "Old me / New me" */
.transform {
  position: relative;
  display: grid;
  gap: 1rem;
  border-radius: var(--r-lg);
}
@media (min-width: 520px) { .transform { grid-template-columns: 1fr 1fr; } }

.transform__panel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--forest-line);
  aspect-ratio: 4 / 5;
  background: var(--forest-2);
}
.transform__panel img { width: 100%; height: 100%; object-fit: cover; }

/* Las etiquetas van siempre sobre fotografía: sus colores son fijos
   para no depender del tema activo. */
.transform__label {
  position: absolute; left: .9rem; bottom: .9rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .82rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  background: #FFFFFF; color: #111827;
}
.transform__panel--new .transform__label { background: var(--lime); color: #111827; }

.transform__arrow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.transform__arrow svg { width: 22px; height: 22px; }
@media (max-width: 519px) { .transform__arrow { transform: translate(-50%, -50%) rotate(90deg); } }

/* --------------------------------------------------------------------------
   9. Métricas — tarjeta blanca superpuesta al héroe
   -------------------------------------------------------------------------- */
.metrics { position: relative; z-index: 5; }
.metrics__card {
  margin-top: clamp(-5rem, -7vh, -4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}
@media (min-width: 1024px) { .metrics__card { grid-template-columns: repeat(4, 1fr); } }

.metric { padding: 1.7rem 1.3rem; min-width: 0; border-top: 1px solid var(--line); }
.metrics__card .metric:nth-child(1),
.metrics__card .metric:nth-child(2) { border-top: 0; }
.metric + .metric { border-left: 1px solid var(--line); }
@media (max-width: 1023px) { .metric:nth-child(3) { border-left: 0; } }
@media (min-width: 1024px) { .metric { border-top: 0; padding: 2.1rem 1.7rem; } }

/* La cifra nunca se parte («2.219.830 kg» en un renglón): el tamaño se ajusta
   al ancho de su casilla (cqi), con el de siempre como respaldo. */
.metric { container-type: inline-size; }
.metric__value {
  font-size: clamp(1.25rem, 3.4vw, 2.1rem);
  font-size: clamp(1.05rem, 12.5cqi, 2.1rem);
  white-space: nowrap;
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.metric__value .unit { color: var(--green-deep); }
.metric__label { margin-top: .3rem; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.metric__detail { margin-top: .25rem; font-size: .79rem; line-height: 1.45; color: var(--ink-soft); opacity: .8; }

/* --------------------------------------------------------------------------
   10. Tarjetas (categorías, productos, artículos)
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: 1.6rem; }
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s ease, background-color .25s ease;
}
.card:hover { border-color: var(--ink); background: var(--surface-2); }

.card__media { aspect-ratio: 4 / 3; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--product { display: grid; place-items: center; padding: 2rem; }
.card__media--product img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

.card__body { padding: 1.6rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .85rem; flex-grow: 1; }

.chip {
  align-self: flex-start;
  display: inline-flex; align-items: center;
  padding: .34rem .85rem;
  border-radius: 999px;
  background: var(--lime);
  border: 1px solid var(--lime);
  color: #111827;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.card:hover .chip { background: var(--lime); }

.card__title { font-size: 1.26rem; font-weight: 800; letter-spacing: -0.015em; }
.card__text { color: var(--ink-soft); font-size: .95rem; flex-grow: 1; }
.card__link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .92rem;
  color: var(--green-deep);
  transition: color .2s ease;
}
.card__link:hover { color: var(--ink); }
/* Toda la tarjeta es clicable sin anidar enlaces */
.card__hit::after { content: ""; position: absolute; inset: 0; }

/* Muestras de color de producto */
.swatches { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink); flex-shrink: 0; }
.swatches__count { font-size: .78rem; font-weight: 700; color: var(--ink-soft); margin-left: .25rem; }

/* Tarjeta final del catálogo rápido */
.card--cta { background: var(--lime); border-color: var(--ink); justify-content: center; }
.card--cta:hover { background: var(--surface); }
.card--cta .card__body { padding: 2.4rem 1.8rem; gap: 1rem; }
.card--cta .card__title { font-size: 1.5rem; }
.card--cta .card__text { color: var(--ink); flex-grow: 0; }
.card--cta .card__link { color: var(--ink); }

/* --------------------------------------------------------------------------
   11. Recepción de NFU — banda verde bosque
   -------------------------------------------------------------------------- */
.nfu__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .nfu__grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }
.nfu__title { color: #fff; }
.nfu__text { margin-top: 1.3rem; }
.nfu__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

.nfu__stats {
  border: 1px solid var(--forest-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.nfu__stat { padding: 1.5rem 1.6rem; }
.nfu__stat + .nfu__stat { border-top: 1px solid var(--forest-line); }
.nfu__stat-value { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--lime); font-variant-numeric: tabular-nums; }
.nfu__stat-label { margin-top: .3rem; font-size: .87rem; font-weight: 600; color: var(--on-dark); }

/* --------------------------------------------------------------------------
   12. Modal — panel plano, fondo sólido (sin desenfoque)
   -------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: flex-start; justify-content: center;
  padding: 1rem; overflow-y: auto;
  background: rgba(16, 22, 13, .88);
}
.modal.is-open { display: flex; }
body.modal-open { overflow: hidden; }

.modal__dialog {
  width: 100%; max-width: 700px;
  margin-block: clamp(1rem, 6vh, 4rem);
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.modal__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.6rem 1.7rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.modal__title { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.modal__close {
  flex-shrink: 0; width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.modal__close:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }

.modal__body { padding: 1.4rem 1.7rem 1.7rem; }
.modal__intro { color: var(--ink-soft); font-size: .96rem; }

.modal__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 1.4rem 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.modal__stat { padding: 1rem .9rem; text-align: center; background: var(--bg); }
.modal__stat + .modal__stat { border-left: 1px solid var(--line); }
.modal__stat-value { font-size: clamp(1.05rem, 2.2vw, 1.45rem); font-weight: 800; letter-spacing: -0.02em; color: var(--green-deep); }
.modal__stat-label { margin-top: .2rem; font-size: .72rem; color: var(--ink-soft); line-height: 1.3; }

.modal__subtitle {
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-deep); margin-bottom: .8rem;
}

.point {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
  transition: border-color .2s ease, background-color .2s ease;
}
.point + .point { margin-top: .7rem; }
.point:hover { border-color: var(--ink); background: var(--surface-2); }
.point__name { font-weight: 800; font-size: 1rem; }
.point__row { margin-top: .4rem; display: flex; gap: .55rem; font-size: .87rem; color: var(--ink-soft); }
.point__row svg { width: 15px; height: 15px; color: var(--green-deep); flex-shrink: 0; margin-top: .2rem; }
.point__note { margin-top: .55rem; font-size: .8rem; font-weight: 700; color: var(--green-deep); }

.modal__foot { margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .7rem; }

/* --------------------------------------------------------------------------
   13. Proceso
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 1.6rem; }
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .25s ease, background-color .25s ease;
}
.step:hover { border-color: var(--ink); background: var(--surface-2); }
.step__media { aspect-ratio: 5 / 4; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--surface-2); }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__body { padding: 1.5rem 1.5rem 1.7rem; }
.step__n {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--lime);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: .98rem; font-weight: 800;
}
.step__title { margin-top: 1rem; font-size: 1.1rem; font-weight: 800; }
.step__text { margin-top: .45rem; font-size: .92rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   14. Institucional
   -------------------------------------------------------------------------- */
.about__grid { display: grid; gap: 2.6rem; }
@media (min-width: 960px) { .about__grid { grid-template-columns: .95fr 1.05fr; gap: 4rem; align-items: start; } }

.about__media > img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.about__quote {
  margin: -3.4rem 1.2rem 0;
  position: relative; z-index: 2;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: var(--r-md);
  padding: 1.3rem 1.5rem;
}
@media (min-width: 960px) { .about__quote { margin: -3.8rem 1.6rem 0; } }
.about__quote .big { display: block; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
.about__quote p { margin-top: .35rem; font-weight: 600; color: var(--ink); font-size: .93rem; }

.about__body > p { color: var(--ink-soft); font-size: 1.02rem; }
.about__body > p + p { margin-top: 1rem; }
.about__body strong { color: var(--ink); }

/* Videos institucionales */
.videos { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .videos { grid-template-columns: 1fr 1fr; } }

.video {
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .25s ease, background-color .25s ease;
}
.video:hover { border-color: var(--ink); background: var(--surface-2); }
.video__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.video__media img { width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lime); color: var(--ink);
  border: 1px solid var(--ink);
}
.video__play svg { width: 19px; height: 19px; margin-left: 2px; }
.video__body { padding: .95rem 1.1rem 1.1rem; }
.video__title { font-weight: 800; font-size: .98rem; }
.video__subtitle { margin-top: .15rem; font-size: .82rem; color: var(--ink-soft); }

/* Misión / Visión / Valores */
.mvv { margin-top: 2.2rem; border-top: 1px solid var(--ink); }
.mvv__row { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.mvv__row dt { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); padding-top: .2rem; }
.mvv__row dd { color: var(--ink-soft); font-size: .96rem; }

/* Impacto medible */
.impact {
  margin-top: 2rem;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 700px) { .impact { grid-template-columns: repeat(4, 1fr); } }
.impact__item { background: var(--surface); padding: 1.15rem 1.1rem; min-width: 0; border-top: 1px solid var(--line); }
.impact__item:nth-child(1), .impact__item:nth-child(2) { border-top: 0; }
.impact__item + .impact__item { border-left: 1px solid var(--line); }
@media (max-width: 699px) { .impact__item:nth-child(3) { border-left: 0; } }
@media (min-width: 700px) { .impact__item { border-top: 0; } }
.impact__value { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.impact__label { margin-top: .25rem; font-size: .76rem; color: var(--ink-soft); line-height: 1.35; }

/* Certificaciones */
.certs { margin-top: 2.2rem; }
.certs__title { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 1rem; }
.certs__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.cert {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--ink);
  background: var(--surface);
  border-radius: 999px;
  padding: .55rem 1rem;
  font-size: .82rem; font-weight: 700;
  transition: background-color .2s ease;
}
.cert:hover { background: var(--surface-2); }
.cert svg { width: 15px; height: 15px; color: var(--green-deep); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   15. Obras — banda oscura con galería filtrable
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  padding: .6rem 1.2rem;
  font-size: .85rem; font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--forest-line);
  color: var(--on-dark);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.filter:hover { color: #fff; border-color: #fff; }
.filter.is-active { background: var(--lime); color: var(--ink); border-color: var(--lime); }

.gallery { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.shot {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--forest-line);
  aspect-ratio: 1;
}
.shot[hidden] { display: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10, 14, 8, .55);
}
.shot figcaption {
  position: absolute; z-index: 2;
  left: 1.1rem; right: 1.1rem; bottom: 1rem;
  font-size: .9rem; font-weight: 700; color: #fff;
}
.shot figcaption span {
  display: block;
  font-size: .72rem; font-weight: 700;
  color: var(--lime);
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: .15rem;
}
.gallery__empty { grid-column: 1 / -1; padding: 3rem 1rem; text-align: center; color: var(--on-dark); }

.works-foot {
  margin-top: 2.6rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  border-top: 1px solid var(--forest-line);
  padding-top: 1.8rem;
}
.works-foot p { color: var(--on-dark); font-size: .95rem; max-width: 60ch; }

/* --------------------------------------------------------------------------
   16. Actualidad
   -------------------------------------------------------------------------- */
.posts { display: grid; gap: 1.6rem; }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(3, 1fr); } }

.post {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s ease, background-color .25s ease;
}
.post:hover { border-color: var(--ink); background: var(--surface-2); }
.post__media { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .8rem; flex-grow: 1; }
.post__title { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.post__excerpt { color: var(--ink-soft); font-size: .92rem; flex-grow: 1; }
.post__meta { font-size: .8rem; color: var(--ink-soft); }
.post__hit::after { content: ""; position: absolute; inset: 0; }

/* --------------------------------------------------------------------------
   17. Franja CTA
   -------------------------------------------------------------------------- */
.cta-band { background: var(--lime); border-block: 1px solid var(--ink); padding-block: 4.8rem; }
.cta-band__inner { display: grid; gap: 2rem; }
@media (min-width: 960px) {
  .cta-band__inner { grid-template-columns: 1.25fr .75fr; align-items: center; }
  .cta-band__actions { justify-content: flex-end; }
}
.cta-band__title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; color: var(--ink); }
.cta-band__text { margin-top: .9rem; color: var(--ink); font-weight: 500; max-width: 54ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--forest); color: #fff; overflow: hidden; }
.footer__grid { display: grid; gap: 2.5rem; padding-block: 4.2rem 3rem; }
@media (min-width: 768px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; } }

.footer__brand img { height: 50px; width: auto; }
.footer__brand p { margin-top: 1.2rem; color: var(--on-dark); font-size: .93rem; max-width: 34ch; }

.social { margin-top: 1.4rem; display: flex; gap: .7rem; }
.social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--forest-line);
  border-radius: 50%;
  color: #fff;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.social a:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.social svg { width: 18px; height: 18px; }

.footer__col h3 { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.1rem; }
.footer__col li + li { margin-top: .6rem; }
.footer__col a { color: var(--on-dark); font-size: .94rem; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.footer__col a:hover { color: #fff; border-bottom-color: var(--lime); }

.contact-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--on-dark); font-size: .94rem; }
.contact-list li + li { margin-top: .8rem; }
.contact-list svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; margin-top: .15rem; }
.contact-list a { color: var(--on-dark); transition: color .2s ease; }
.contact-list a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid var(--forest-line);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .8rem;
  justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--on-dark);
}
.footer__bottom .tag { display: inline-flex; align-items: center; gap: .5rem; }
.footer__bottom .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
/* Al final de la página, la última línea del pie queda por encima del
   botón flotante de WhatsApp (58 px a 1,25rem del borde). */
.footer__bottom { padding-bottom: calc(1.25rem + 58px + 1rem); }

/* Firma del estudio (misma que en los demás sitios de Usable HQ) */
.footer__bottom .credito b { transition: color .3s; }
.footer__bottom .credito:hover b,
.footer__bottom .credito:focus-visible b { color: var(--lime); }

.footer__watermark {
  font-size: clamp(3.2rem, 17vw, 14rem);
  font-weight: 800; letter-spacing: .02em; line-height: .72;
  text-align: center;
  color: #232C1E;
  user-select: none;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   19. WhatsApp flotante
   -------------------------------------------------------------------------- */
.wa {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.wa:hover { background: #111827; color: #fff; }
.wa svg { width: 27px; height: 27px; }
.wa__text { display: none; }   /* el botón es sólo el ícono; el texto queda para lectores de pantalla */

/* --------------------------------------------------------------------------
   20. Páginas simples (Argentina / 404)
   -------------------------------------------------------------------------- */
.simple { padding-block: clamp(4rem, 10vw, 7rem); text-align: center; }
.simple__flag {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .76rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-deep);
}
.simple__title { margin-top: 1.4rem; font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.simple__title .accent { color: var(--green-deep); }
.simple__text { margin: 1.3rem auto 0; }
.simple__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* --------------------------------------------------------------------------
   21. Animaciones de entrada (sólo con JS activo)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .burger span { transition: none; }
}

/* --------------------------------------------------------------------------
   22. Páginas internas — cabecera con miga de pan
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--forest);
  color: #fff;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vh, 4rem));
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}
.page-hero .kicker { color: var(--lime); }
.page-hero__title {
  margin-top: .9rem;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.page-hero__text { margin-top: 1.1rem; color: var(--on-dark); }

.crumbs { margin-bottom: 1.4rem; font-size: .82rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .45rem; color: var(--on-dark); }
.crumbs li + li::before { content: "→"; opacity: .5; }
.crumbs a { border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.crumbs a:hover { color: #fff; border-bottom-color: var(--lime); }
.crumbs [aria-current] { color: var(--lime); font-weight: 700; }

/* --------------------------------------------------------------------------
   23. Visor de imágenes (lightbox)
   -------------------------------------------------------------------------- */
[data-lightbox] { cursor: zoom-in; }

.modal--imagen { padding: 0; background: rgba(10, 14, 8, .94); }
.modal__dialog--imagen {
  max-width: none;
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox { max-width: min(1100px, 92vw); text-align: center; }
.lightbox img {
  max-width: 100%;
  max-height: 76vh;
  width: auto; height: auto;
  margin-inline: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--forest-line);
  background: var(--forest-2);
}
.lightbox__caption { margin-top: 1rem; color: #fff; }
.lightbox__nota {
  display: block;
  font-size: .74rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime);
}
.lightbox__nota:empty { display: none; }
.lightbox__titulo { display: block; margin-top: .2rem; font-weight: 700; }
.lightbox__contador { display: block; margin-top: .35rem; font-size: .8rem; color: var(--on-dark); }

.modal__close--flotante {
  position: fixed;
  top: 1.1rem; right: 1.1rem;
  z-index: 5;
  background: var(--lime);
  color: #111827;
  border-color: var(--lime);
}
.modal__close--flotante:hover { background: #fff; border-color: #fff; color: #111827; }

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.lightbox__nav:hover { background: var(--lime); color: #111827; border-color: var(--lime); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav[hidden] { display: none; }
@media (max-width: 640px) {
  .lightbox__nav--prev { left: .4rem; }
  .lightbox__nav--next { right: .4rem; }
}

/* --------------------------------------------------------------------------
   24. Formularios públicos
   -------------------------------------------------------------------------- */
.form { max-width: 640px; }
.form__grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.form__field { margin-bottom: 1.1rem; }
.form__grid .form__field { margin-bottom: 0; }

.form__field label {
  display: block;
  font-size: .85rem; font-weight: 700;
  margin-bottom: .4rem;
}
.req { color: var(--green-deep); }

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s ease;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus { border-color: var(--green-deep); outline: none; }
.form__field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form__field [aria-invalid="true"] { border-color: #B3261E; }

.form__error { display: block; margin-top: .35rem; font-size: .8rem; font-weight: 600; color: #B3261E; }

.form__grid + .form__field { margin-top: 1.1rem; }

.form__trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.form__nota { margin-top: 1rem; font-size: .82rem; color: var(--ink-soft); }

.form__aviso {
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  border: 1px solid;
  font-size: .92rem;
  margin-bottom: 1.4rem;
}
.form__aviso--ok    { background: #EAF3E6; border-color: #2F6B2F; color: #235023; }
.form__aviso--error { background: #FCEAE8; border-color: #B3261E; color: #8C1D17; }
[data-theme="dark"] .form__aviso--ok    { background: #22301D; color: #C9E7BC; }
[data-theme="dark"] .form__aviso--error { background: #34201E; color: #F3C1BC; }

/* --------------------------------------------------------------------------
   25. Página de contacto
   -------------------------------------------------------------------------- */
.contacto__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .contacto__grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: start; } }

.datos {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.6rem 1.7rem;
}
.datos + .datos { margin-top: 1.2rem; }
.datos__titulo { font-size: 1.05rem; font-weight: 800; margin-bottom: 1rem; }
.datos__texto { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.datos__lista li { display: flex; gap: .8rem; font-size: .93rem; color: var(--ink-soft); }
.datos__lista li + li { margin-top: 1rem; }
.datos__lista svg { width: 19px; height: 19px; color: var(--green-deep); flex-shrink: 0; margin-top: .2rem; }
.datos__lista strong { color: var(--ink); }
.datos__lista a { transition: color .2s ease; }
.datos__lista a:hover { color: var(--green-deep); }
.datos--nfu { background: var(--surface-2); }

/* --------------------------------------------------------------------------
   26. Página de producto
   -------------------------------------------------------------------------- */
.producto__grid { display: grid; gap: 2.6rem; }
@media (min-width: 960px) { .producto__grid { grid-template-columns: .95fr 1.05fr; gap: 4rem; align-items: start; } }

.producto__visor {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.producto__principal {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  padding: 2rem;
}
.producto__principal img { max-width: 100%; max-height: 100%; object-fit: contain; }

.producto__miniaturas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-top: .9rem;
}
.producto__miniatura {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  transition: border-color .2s ease;
}
.producto__miniatura:hover { border-color: var(--ink); }
.producto__miniatura img { width: 100%; height: 100%; object-fit: cover; }

.producto__tagline { margin-top: .4rem; font-size: 1.05rem; color: var(--green-deep); font-weight: 700; }
.producto__resumen { margin-top: 1.1rem; color: var(--ink-soft); }

.ficha-bloque { margin-top: 1.8rem; }
.ficha-bloque h2 {
  font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: .8rem;
}
.opciones { display: flex; flex-wrap: wrap; gap: .55rem; }
.opcion {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .87rem; font-weight: 700;
}
.opcion .swatch { width: 15px; height: 15px; }
.opcion small { font-weight: 600; color: var(--ink-soft); }

.especificaciones { border-top: 1px solid var(--ink); }
.especificaciones div {
  display: grid; grid-template-columns: 150px 1fr; gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.especificaciones dt { font-weight: 800; }
.especificaciones dd { color: var(--ink-soft); }

.producto__acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.relacionados { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* --------------------------------------------------------------------------
   27. Blog interno
   -------------------------------------------------------------------------- */
.articulo { max-width: 760px; margin-inline: auto; }
.articulo__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  font-size: .85rem; color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.articulo__portada {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  margin-bottom: 2rem;
}
.articulo__cuerpo p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; }
.articulo__cuerpo p + p { margin-top: 1.2rem; }
.articulo__pie {
  margin-top: 2.5rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center;
}
.compartir { display: flex; gap: .6rem; align-items: center; font-size: .88rem; font-weight: 700; }
.compartir a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.compartir a:hover { background: var(--lime); border-color: var(--lime); color: #111827; }
.compartir svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   28. Utilidades finales
   -------------------------------------------------------------------------- */
.seccion-pie { margin-top: 2.4rem; display: flex; justify-content: center; }
.vacio {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.filter--link { text-decoration: none; display: inline-flex; align-items: center; }
.section--bg .filter,
.section--surface .filter { border-color: var(--line); color: var(--ink-soft); }
.section--bg .filter:hover,
.section--surface .filter:hover { color: var(--ink); border-color: var(--ink); }
.section--bg .filter.is-active,
.section--surface .filter.is-active { background: var(--lime); color: #111827; border-color: var(--lime); }

/* --------------------------------------------------------------------------
   20. Carrusel de obras (home) — actúa sólo con JS activo; sin JS la
   galería queda como grilla completa, igual que antes.
   -------------------------------------------------------------------------- */
.carrusel { position: relative; }

.js .gallery--carrusel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.2rem;
  padding-bottom: .5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.js .gallery--carrusel::-webkit-scrollbar { display: none; }

.js .gallery--carrusel .shot {
  flex: 0 0 min(300px, 76vw);
  scroll-snap-align: start;
}

.js .gallery--carrusel .gallery__empty { flex: 1 0 100%; }

/* Expandida («Ver galería completa»): vuelve a la grilla original */
.js .gallery--carrusel.is-expandida {
  display: grid;
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
}

.carrusel__flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: #111827;
  border: 1px solid var(--lime);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.carrusel__flecha:hover { background: #fff; border-color: #fff; }
.carrusel__flecha--prev { left: -10px; }
.carrusel__flecha--next { right: -10px; }
.carrusel__flecha svg { width: 20px; height: 20px; }

@media (max-width: 680px) {
  .carrusel__flecha { display: none; } /* en el teléfono se desliza con el dedo */
}

.works-foot__acciones { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --------------------------------------------------------------------------
   21. Contenido con formato (editor del panel): títulos, listas, citas
   -------------------------------------------------------------------------- */
.articulo__cuerpo h2,
.articulo__cuerpo h3 {
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 1.8rem 0 .7rem;
}

.articulo__cuerpo h2 { font-size: 1.45rem; }
.articulo__cuerpo h3 { font-size: 1.15rem; }

.articulo__cuerpo ul,
.articulo__cuerpo ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.articulo__cuerpo ul { list-style: disc; }
.articulo__cuerpo ol { list-style: decimal; }
.articulo__cuerpo li + li { margin-top: .4rem; }

.articulo__cuerpo a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.articulo__cuerpo blockquote {
  margin: 1.4rem 0;
  padding: .5rem 0 .5rem 1.1rem;
  border-left: 3px solid var(--lime);
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.articulo__cuerpo strong { color: var(--ink); }

.producto__descripcion { margin: 1.2rem 0 1.8rem; }
.producto__descripcion p { font-size: .98rem; }

/* Enlace a mapa en puntos de entrega (modal NFU) */
.point__map {
  display: inline-block;
  margin-top: .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.point__map:hover { color: #fff; }

/* Mapa "dónde encontrarnos" */
.mapa {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.mapa iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Sección productos + premios (home) */
.price-note {
  display: inline-flex;
  align-items: center;
  margin-top: 1.1rem;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  background: var(--lime);
  color: #111827;
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: -0.01em;
}

.card__price { font-weight: 800; font-size: .98rem; color: var(--lime); }
.card__price--rango { color: var(--ink-soft); font-weight: 700; }

.programas {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}
@media (min-width: 768px) {
  .programas { grid-template-columns: repeat(3, 1fr); }
}
.programa {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--lime);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.4;
}
.programa svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .15rem; }

.apoyo { margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.apoyo__titulo {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.apoyo__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.apoyo__card img { width: 100%; height: auto; display: block; }

/* La grilla de productos del home equilibra 2x2 en pantallas medias y 4 en anchas */
#productos .cards { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { #productos .cards { grid-template-columns: 1fr; } }
@media (min-width: 1200px) { #productos .cards { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   20. Footer — mapa + selectores de idioma/país (Agente A)
   -------------------------------------------------------------------------- */
.footer__extra {
  display: grid;
  gap: 2.5rem;
  padding-block: .5rem 3rem;
  border-top: 1px solid var(--forest-line);
  margin-top: .5rem;
}
@media (min-width: 768px) {
  .footer__extra { grid-template-columns: 1.5fr 1fr; align-items: start; }
}

.mapa-footer { margin-top: 1.1rem; }
.mapa-footer iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 1px solid var(--forest-line);
  border-radius: var(--r-md);
}
.mapa-footer__link {
  display: inline-block;
  margin-top: .8rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--lime);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.mapa-footer__link:hover { border-bottom-color: var(--lime); }

.footer__selectores-title { margin-top: 1.6rem; }

.footer .pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.footer .pill {
  padding: .4rem .95rem;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--forest-line);
  color: var(--on-dark);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.footer .pill:hover { color: #fff; border-color: #fff; }
/* Texto oscuro fijo sobre lime: en este tema oscuro var(--ink) es blanco y
   perdería contraste sobre el verde institucional. */
.footer .pill.is-active { background: var(--lime); color: #111827; border-color: var(--lime); }

/* Nota chica de espesor por país, debajo del bloque de espesores en /producto */
.ficha-bloque__nota {
  margin-top: .8rem;
  font-size: .85rem;
  color: var(--ink-soft);
}

/* ===== ZONA-AGENTE-A (i18n / footer) — insertar estilos ANTES de esta línea ===== */

/* Banda #premios: nota + programas como chips debajo de la tarjeta de logos */
.premios-nota {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  padding-top: clamp(1.6rem, 3.5vw, 2.2rem);
  border-top: 1px solid var(--line);
}
.premios-nota__texto {
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.premios-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.premios-chip {
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Card CTA del catálogo rápido: dos acciones (descargar + ver catálogo) sin overlay de card completa */
.card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.4rem;
  margin-top: .2rem;
}
.card--cta .card__actions .card__link { color: var(--ink); }
.card--cta .card__actions .card__link:hover { color: var(--green-deep); }

/* ===== ZONA-AGENTE-B (home / banda apoyo) — insertar estilos ANTES de esta línea ===== */

/* --------------------------------------------------------------------------
   Carrete de logos "Con el apoyo de" — monocromo, loop CSS puro, sin sombras
   -------------------------------------------------------------------------- */
.carrete-logos {
  overflow: hidden;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  /* fundido en los bordes: máscara plana por gradiente (no es blur) */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.carrete-logos__pista {
  display: flex;
  width: max-content;
  animation: carrete-desplazar 38s linear infinite;
}

.carrete-logos:hover .carrete-logos__pista { animation-play-state: paused; }

.carrete-logos__grupo {
  display: flex;
  align-items: center;
  gap: 4.2rem;
  padding-right: 4.2rem;
}

.carrete-logos__logo {
  height: 52px;
  width: auto;
  opacity: .75;
  transition: opacity .2s ease;
  flex-shrink: 0;
}

.carrete-logos__logo:hover { opacity: 1; }

@keyframes carrete-desplazar {
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .carrete-logos__logo { height: 40px; }
  .carrete-logos__grupo { gap: 2.6rem; padding-right: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .carrete-logos__pista { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 1.6rem; }
  .carrete-logos__grupo[aria-hidden="true"] { display: none; }
  .carrete-logos { -webkit-mask-image: none; mask-image: none; }
}

/* --------------------------------------------------------------------------
   Feedback 2 — header sin quiebres, pills de idioma arriba y en el menú
   -------------------------------------------------------------------------- */
.nav a, .header__catalog, .header__actions .btn { white-space: nowrap; }
.header__actions { flex-shrink: 0; }

/* Pills genéricas (topbar, menú móvil, página de importar) — flat, 1px */
.pills { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.pill {
  display: inline-flex; align-items: center;
  padding: .28rem .7rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  font-size: .74rem; font-weight: 800; letter-spacing: .06em;
  color: rgba(255, 255, 255, .85);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pill:hover { color: #fff; border-color: #fff; }
.pill.is-active { background: var(--lime); color: #111827; border-color: var(--lime); }

.topbar__idioma { display: flex; gap: .35rem; }
.topbar__idioma .pill { padding: .15rem .55rem; font-size: .7rem; }

.pills--menu { margin-bottom: .4rem; }
.pills--menu .pill { border-color: var(--line); color: var(--ink); font-size: .78rem; }
.pills--menu .pill.is-active { background: var(--lime); border-color: var(--lime); color: #111827; }

.importar-idioma { margin-bottom: 1.2rem; }
.importar-idioma .pill { border-color: var(--line); color: var(--ink); font-size: .82rem; letter-spacing: 0; padding: .45rem 1rem; }
.importar-idioma .pill:hover { border-color: var(--lime); color: var(--lime); }

/* Entre 1180 y 1280px el header va más ajustado para que nada quiebre */
@media (min-width: 1180px) and (max-width: 1280px) {
  .nav a { padding: .55rem .6rem; font-size: .88rem; }
  .header__catalog { padding-inline: .8rem; }
}

/* Cabecera compacta (sitio de Argentina): el catálogo va sólo con el ícono;
   el texto queda para lectores de pantalla y en el globo al pasar el mouse. */
.header--compacto .header__catalog { padding: .7rem; }
.header--compacto .header__catalog-texto {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* Precio de referencia en la ficha de producto */
.producto__precio {
  display: inline-block;
  margin-bottom: .9rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: var(--lime);
  color: #111827;
  font-weight: 800;
  font-size: .95rem;
}

/* --------------------------------------------------------------------------
   Barra superior + cabecera congeladas juntas (pedido del cliente)
   -------------------------------------------------------------------------- */
.site-top { position: sticky; top: 0; z-index: 100; }
.header { position: relative; top: auto; z-index: auto; }

/* WhatsApp dentro de la barra superior */
.topbar__wa { font-weight: 700; color: var(--lime); }
.topbar__wa:hover { color: #fff; }
.topbar__wa svg { color: inherit; }

/* En pantallas chicas la barra superior queda compacta y sin quiebres */
@media (max-width: 700px) {
  .topbar { font-size: .76rem; }
  .topbar__group { gap: .9rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .topbar__group::-webkit-scrollbar { display: none; }
  .topbar__group > a { white-space: nowrap; }
}

/* --------------------------------------------------------------------------
   Sello Marca País Paraguay
   Manual 2025: eje superior derecho (prohibido el margen izquierdo),
   versión de un color blanco sobre fondo oscuro, área de reserva respetada.
   -------------------------------------------------------------------------- */
.marca-pais {
  position: absolute;
  z-index: 3;
  top: calc(var(--header-h) + 1.1rem);
  right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  display: flex;
  align-items: center;
  gap: .85rem;
  pointer-events: none;
}

.marca-pais__logo {
  width: 104px;
  height: auto;
}

/* Línea divisoria vertical: criterio de co-branding del manual */
.marca-pais__leyenda {
  position: relative;
  padding-left: .85rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  white-space: nowrap;
}

.marca-pais__leyenda::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.9em;
  background: rgba(255, 255, 255, .45);
}

@media (max-width: 860px) {
  .marca-pais { top: calc(var(--header-h) + .6rem); gap: .6rem; }
  .marca-pais__logo { width: 76px; }
  .marca-pais__leyenda { font-size: .62rem; padding-left: .6rem; letter-spacing: .08em; }
}

@media (max-width: 560px) {
  .marca-pais__leyenda { display: none; }
}

/* Enlaces de la barra superior: «Ecocur ARG ↗» no se parte en dos líneas */
.topbar__links a { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Distribuidores oficiales en Argentina (includes/distribuidores.php)
   Los usan la portada argentina y la sección «¿Estás en Argentina?» de PY.
   -------------------------------------------------------------------------- */
.distribuidores-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px)  { .distribuidores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Correos y nombres largos cortan dentro de la tarjeta en vez de desbordarla */
.distribuidor-card__nombre,
.distribuidor-card__datos a,
.distribuidor-card__datos span { overflow-wrap: anywhere; min-width: 0; }
.btn--wa { white-space: normal; text-align: center; }

.distribuidor-card {
  padding: 1.8rem 1.8rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .2s ease, background-color .2s ease;
}
.distribuidor-card:hover { border-color: var(--ink); }

.distribuidor-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
.distribuidor-card__nombre {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.distribuidor-card__cobertura {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-top: 1rem;
  padding: .9rem 1rem;
  border: 1px solid var(--forest-line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--green-deep);
  font-size: .92rem;
  line-height: 1.4;
}
.distribuidor-card__cobertura svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .1rem; }

.distribuidor-card__datos {
  margin-top: 1.3rem;
  display: grid;
  gap: .1rem;
}
.distribuidor-card__datos .point__row {
  margin-top: 0;
  padding-block: .5rem;
  font-size: .92rem;
}
.distribuidor-card__datos .point__row + .point__row { border-top: 1px solid var(--line); }

.distribuidor-card__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

/* Botón de WhatsApp: el pedido fue que sea grande y vaya directo al celular */
.btn--wa {
  flex: 1 1 auto;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem 1.6rem;
}
.btn--wa .btn-ico { width: 19px; height: 19px; }

.btn-ico { width: 16px; height: 16px; flex-shrink: 0; }

/* Logo opcional del distribuidor: sobre una placa blanca, porque la mayoría
   de los logos están pensados para fondo claro. */
.distribuidor-card__head--logo { justify-content: flex-start; flex-wrap: nowrap; gap: 1rem; }
.distribuidor-card__logo {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 84px; height: 60px;
  padding: .45rem;
  border-radius: var(--r-md);
  background: #FFFFFF;
}
.distribuidor-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.distribuidor-card__titulos {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .6rem .8rem;
  flex: 1; min-width: 0;
}
.distribuidor-card__head--logo .distribuidor-card__titulos { justify-content: flex-start; }

/* Sección «¿Estás en Argentina?» del sitio paraguayo */
.distribuidores-ar__pie {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--ink-soft);
}
