/* ============================================================
   CONTROL NEUMA PERÚ — style.css  v2
   Paleta: #207800 (verde) / #1E274A (azul oscuro) / #F4F4F4 / #000
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Michroma&display=swap');

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --green:        #207800;
  --green-light:  #2a9900;
  --green-glow:   rgba(32,120,0,.3);
  --green-nav:    #207800;
  --blue-dark:    #1E274A;
  --blue-deeper:  #141b35;
  --blue-card:    #252e52;
  --blue-border:  rgba(255,255,255,.09);
  --white:        #f8fafc;
  --muted:        rgba(248,250,252,.55);
  --muted2:       rgba(248,250,252,.35);
  --light-bg:     #F4F4F4;
  --light-card:   #D8D8D8;
  --black:        #000000;

  --font-display: 'Michroma', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --radius:       .75rem;
  --radius-lg:    1.25rem;
  --radius-xl:    1.75rem;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--blue-dark);
  color: var(--white);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ─── Scroll-snap container ──────────────────────────────── */
.snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* ─── Scrollbar ──────────────────────────────────────────── */
.snap-container::-webkit-scrollbar { width: 6px; }
.snap-container::-webkit-scrollbar-track { background: var(--blue-deeper); }
.snap-container::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ─── Utility ───────────────────────────────────────────── */
.text-green  { color: var(--green); }
.text-muted  { color: var(--muted); }
.text-muted2 { color: var(--muted2); }
.tag-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(32,120,0,.3);
  background: rgba(32,120,0,.08);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}
.tag-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--green-nav);
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,.5);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.navbar-logo img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}
#navbar.scrolled .navbar-logo img {
  filter: brightness(0) invert(1);
}
.navbar-logo-text {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.navbar-nav {
  margin-left: auto;
  display: flex;
  gap: 2.5rem;
}
.navbar-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  transition: opacity .2s;
}
.navbar-nav a:hover { opacity: .7; }

/* Hamburger */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.navbar-hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.navbar-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-hamburger.open span:nth-child(2) { opacity: 0; }
.navbar-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* navbar-mobile-menu: controlado por glassmorphism panel v24 */

/* ─── HERO ───────────────────────────────────────────────── */
#inicio {
  display: flex;
  flex-direction: column;
  padding-top: 72px;
  background: #d2d8d0;
  overflow: hidden;
}

/* Canvas fondo animado */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 3rem 1.5rem;
}

/* Título: "Soluciones integrales en" → Inter, "neumática industrial" → Michroma */
.hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-align: center;
  animation: fadeUp .9s ease-out both;
  color: var(--blue-dark);         /* azul oscuro sobre gris */
}
.hero-title em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  display: block;
  color: var(--green);             /* verde CNP */
  background: none;
  -webkit-text-fill-color: unset;
}

.hero-middle {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  margin-top: 2rem;
  min-height: 320px;
}
.hero-label {
  position: relative;
  z-index: 3;
  width: 30%;
  max-width: 260px;
}
.hero-label-item {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--blue-dark);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
  white-space: pre-line;
}
.hero-label-item.active { opacity: 1; transform: translateY(0); }

.hero-image-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-slot {
  position: absolute;
  width: 100%;
  max-width: 960px;
  height: 72vh;
  max-height: 620px;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .7s ease, transform .7s ease;
}
.hero-image-slot.active { opacity: 1; transform: scale(1); }

/* Rutas corregidas → assets/hero/ */
.hero-image-slot[data-hero="01"] { background-image: url('../assets/hero/hero-01.png'); }
.hero-image-slot[data-hero="02"] { background-image: url('../assets/hero/hero-02.png'); }
.hero-image-slot[data-hero="03"] { background-image: url('../assets/hero/hero-03.png'); }
.hero-image-slot[data-hero="04"] { background-image: url('../assets/hero/hero-04.png'); }
.hero-image-slot[data-hero="05"] { background-image: url('../assets/hero/hero-05.png'); }
.hero-image-slot[data-hero="06"] { background-image: url('../assets/hero/hero-06.png'); }
.hero-image-slot[data-hero="07"] { background-image: url('../assets/hero/hero-07.png'); }
.hero-image-slot[data-hero="08"] { background-image: url('../assets/hero/hero-08.png'); }

.hero-dots {
  position: absolute;
  bottom: 0; right: 2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  z-index: 4;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: background .3s, transform .3s;
  border: none; padding: 0;
}
.hero-dot.active { background: var(--green); transform: scale(1.4); }

.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 3rem 2rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: 100%;
  max-width: 760px;
  background: rgba(0,0,0,.10); box-shadow: 0 4px 24px rgba(0,0,0,.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-stat { background: rgba(255,255,255,.75); padding: 1rem; text-align: center; backdrop-filter: blur(12px); }
.hero-stat-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--blue-dark); }
.hero-stat-num span { color: var(--green); }
.hero-stat-label { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(0,0,0,.45); margin-top: .25rem; }
.hero-address {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(32,120,0,.35);
  background: rgba(32,120,0,.1);
  border-radius: 999px;
  padding: .4rem 1.25rem;
  font-size: .8rem; color: var(--green); font-weight: 500; background: rgba(255,255,255,.6); backdrop-filter: blur(8px);
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .65rem;
  background: var(--blue-card);
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  padding: .5rem 1.25rem .5rem .5rem;
  font-size: .8rem; font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none; color: var(--white);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(32,120,0,.25); }
.wa-float-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-float-icon img {
  width: 42px; height: 42px;
  object-fit: contain;
}

/* ─── NOSOTROS (Sección 2) — fondo claro ────────────────── */
#nosotros {
  background: var(--light-bg);
  background-image: url('../assets/redessociales/lacotizacion.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  position: relative;
}
#nosotros::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244,244,244,.65);
  pointer-events: none;
}
.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  position: relative;
  z-index: 1;
}
.about-left .tag-pill {
  border-color: rgba(32,120,0,.3);
  background: rgba(32,120,0,.08);
  color: var(--green);
}
.about-left h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-top: 1.5rem;
  color: var(--blue-dark);
}
.about-left p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(0,0,0,.6);
  margin-top: 1.25rem;
}
.about-left p strong { color: var(--blue-dark); }

.features-list { display: flex; flex-direction: column; }
.feature-item {
  display: flex; gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(0,0,0,.1);
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.feature-item:last-child { border-bottom: none; margin-bottom: 0; }
.feature-item.visible { opacity: 1; transform: translateX(0); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(32,120,0,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.feature-icon.accent { background: var(--green); }
.feature-text h3 { font-size: 1rem; font-weight: 700; color: var(--blue-dark); }
.feature-text p { font-size: .875rem; line-height: 1.65; color: rgba(0,0,0,.58); margin-top: .35rem; }

/* ─── PRODUCTOS (Sección 3) — fondo claro ───────────────── */
#productos {
  background: var(--light-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 0;
  padding-top: calc(68px + 3rem); /* navbar height + espacio */
  overflow: hidden;
}
#productos h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  text-align: center;
  margin-bottom: .5rem;
  padding: 0 2rem;
  color: var(--blue-dark);
}

/* Marquee */
.marquee-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0 1.5rem;
}
.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-fade-l, .marquee-fade-r {
  position: absolute; top: 0; bottom: 0; width: 100px;
  pointer-events: none; z-index: 2;
}
.marquee-fade-l { left: 0;  background: linear-gradient(to right, var(--light-bg), transparent); }
.marquee-fade-r { right: 0; background: linear-gradient(to left,  var(--light-bg), transparent); }

/* Product card — estilo gris claro */
.product-card {
  position: relative;
  width: 240px; height: 360px;
  flex-shrink: 0;
  border-radius: var(--radius-xl);
  background: var(--light-card);
  border: 1px solid rgba(0,0,0,.08);
  padding: 1.1rem;
  display: flex; flex-direction: column;
  overflow: hidden; cursor: default;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
  border-color: rgba(32,120,0,.3);
}
.product-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  color: rgba(0,0,0,.7);
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--green);
}
.product-img {
  flex: 1; margin: .5rem 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
/* Rutas → assets/cards/ */
.product-card[data-product="01"] .product-img { background-image: url('../assets/cards/card-01.png'); }
.product-card[data-product="02"] .product-img { background-image: url('../assets/cards/card-02.png'); }
.product-card[data-product="03"] .product-img { background-image: url('../assets/cards/card-03.png'); }
.product-card[data-product="04"] .product-img { background-image: url('../assets/cards/card-04.png'); }
.product-card[data-product="05"] .product-img { background-image: url('../assets/cards/card-06.png'); }
.product-card[data-product="06"] .product-img { background-image: url('../assets/cards/card-05.png'); }
.product-card[data-product="07"] .product-img { background-image: url('../assets/cards/card-07.png'); }
.product-card[data-product="08"] .product-img { background-image: url('../assets/cards/card-08.png'); }
.product-card[data-product="09"] .product-img { background-image: url('../assets/cards/card-09.png'); }
.product-card[data-product="10"] .product-img { background-image: url('../assets/cards/card-10.png'); }
.product-card[data-product="11"] .product-img { background-image: url('../assets/cards/card-11.png'); }
.product-card[data-product="12"] .product-img { background-image: url('../assets/cards/card-12.png'); }
.product-title {
  font-family: var(--font-display);
  font-size: .72rem; line-height: 1.4;
  color: rgba(0,0,0,.65);
  text-align: center;
}

/* Marcas estratégicas */
.brands-section {
  text-align: center;
  margin-top: 2rem;
}
.brands-subtitle {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(0,0,0,.4);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.brands-subtitle::before,
.brands-subtitle::after {
  content: '';
  position: absolute;
  top: 50%; width: 60px; height: 1px;
  background: rgba(0,0,0,.15);
}
.brands-subtitle::before { right: calc(100% + 1rem); }
.brands-subtitle::after  { left:  calc(100% + 1rem); }

/* ── Marquee de logos ─────────────────────────────────────── */
.brands-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: .5rem 0 2rem;
}
.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: marquee-brands 28s linear infinite;
}
.brands-marquee-track:hover { animation-play-state: paused; }
.brands-fade-l,
.brands-fade-r {
  position: absolute;
  top: 0; bottom: 0; width: 100px;
  pointer-events: none; z-index: 2;
}
.brands-fade-l { left: 0;  background: linear-gradient(to right, var(--light-bg), transparent); }
.brands-fade-r { right: 0; background: linear-gradient(to left,  var(--light-bg), transparent); }

.brand-logo-wrap {
  width: 140px; height: 60px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: var(--radius);
  background: #fff;
  padding: .5rem 1.1rem;
  transition: border-color .25s, box-shadow .25s;
}
.brand-logo-wrap:hover {
  border-color: rgba(32,120,0,.35);
  box-shadow: 0 2px 14px rgba(32,120,0,.12);
}
.brand-logo-wrap img {
  max-width: 100%; max-height: 38px;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(.55);
  transition: filter .3s;
}
.brand-logo-wrap:hover img {
  filter: grayscale(0%) opacity(1);
}
.brand-name-text {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(0,0,0,.5);
}

@keyframes marquee-brands {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── CONTACTO (Sección 4) — fondo stand.jpeg ───────────── */
#contacto {
  background: var(--black);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/redessociales/stand.jpeg');
  background-size: cover;
  background-position: center;
  opacity: .45;
}
.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.1) 0%,
    rgba(0,0,0,.2) 50%,
    rgba(0,0,0,.3) 100%
  );
}
.contact-grid {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 5rem 3rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; width: 100%;
}
.contact-left h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1; color: var(--white);
}
.contact-left h2 .text-green { color: var(--green); }
.contact-left p {
  font-size: .95rem; line-height: 1.75;
  color: rgba(255,255,255,.7);
  max-width: 440px; margin-top: 1.25rem;
}
.btn-wa {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--green); color: #fff;
  font-weight: 700; font-size: .95rem;
  border-radius: var(--radius-lg);
  padding: .9rem 1.75rem;
  margin-top: 2rem;
  transition: transform .25s, box-shadow .25s;
}
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--green-glow); }
.contact-checks {
  display: flex; flex-wrap: wrap;
  gap: .5rem 1.5rem; margin-top: 1rem;
  font-size: .78rem; color: rgba(255,255,255,.5);
}
.contact-checks span::before { content: '✓ '; color: var(--green); }
.contact-info {
  margin-top: 2rem; font-size: .85rem;
  color: rgba(255,255,255,.6);
  display: flex; flex-direction: column; gap: .5rem;
}
.contact-info .label { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.35); }
.contact-hours {
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem; text-align: right;
  backdrop-filter: blur(12px);
}
.hours-row { margin-bottom: 1.25rem; }
.hours-row:last-child { margin-bottom: 0; }
.hours-day { font-family: var(--font-display); font-size: 1.1rem; color: var(--green); }
.hours-time { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--white); }

/* ─── UBICACIÓN (Sección 5) — fondo lacotizacion.jpg ────── */
#ubicacion {
  background: var(--black);
  display: flex;
  flex-direction: column;
  position: relative;
}
.ubicacion-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/redessociales/lacotizacion.jpg');
  background-size: cover;
  background-position: center;
  opacity: .2;
}
.ubicacion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.6) 50%,
    rgba(0,0,0,.85) 100%
  );
}
.location-grid {
  position: relative; z-index: 2;
  flex: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 7rem 3rem 3rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; width: 100%;
}
.map-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden; aspect-ratio: 4/3;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }
.map-tag {
  position: absolute; top: 1.25rem; left: 1.25rem;
  background: rgba(0,0,0,.85); backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: .9rem 1.1rem; max-width: 220px;
  border: 1px solid rgba(255,255,255,.08);
}
.map-tag .label { font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4); }
.map-tag strong { display: block; font-size: .9rem; margin-top: .2rem; color: var(--white); }
.map-tag span { display: block; font-size: .75rem; color: rgba(255,255,255,.55); margin-top: .15rem; }

.channels-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4); }
.channels-list { display: flex; flex-direction: column; margin-top: 1.25rem; }
.channel-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.channel-item:last-child { border-bottom: none; }
.channel-icon {
  width: 46px; height: 46px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.channel-body { flex: 1; }
.channel-body strong { display: block; font-size: .9rem; color: var(--white); }
.channel-body span { display: block; font-size: .75rem; color: rgba(255,255,255,.5); }
.channel-tag {
  border: 1px solid rgba(32,120,0,.4);
  border-radius: 999px; padding: .2rem .7rem;
  font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green);
}

/* Footer bottom */
.footer-bottom {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
}
.footer-cols {
  max-width: 1200px; margin: 0 auto;
  padding: 3.5rem 3rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand p { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.45); margin-top: 1rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: .75rem; }
.footer-logo-wrap img { height: 38px; width: auto; filter: brightness(0) invert(1); }
.footer-logo-text strong { display: block; font-size: .9rem; color: var(--white); }
.footer-logo-text small { display: block; font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); }
.social-row { display: flex; gap: .5rem; margin-top: 1.1rem; }
.social-btn {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.07); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.5);
  transition: background .2s, color .2s; cursor: pointer;
}
.social-btn:hover { background: var(--green); color: #fff; }
.footer-col h4 { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--white); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col ul li a:hover { color: var(--green); }
.btn-wa-sm {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(32,120,0,.4); border-radius: var(--radius);
  padding: .5rem 1rem; font-size: .8rem; color: var(--green);
  margin-top: 1.25rem; transition: background .2s;
}
.btn-wa-sm:hover { background: rgba(32,120,0,.1); }
.footer-copy {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: .75rem 3rem 1.5rem;
  display: flex; justify-content: space-between;
  font-size: .72rem; color: rgba(255,255,255,.25);
}

/* ─── ANIMACIONES ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(32,120,0,.4); }
  70%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.animate-pulse-ring { animation: pulse-ring 2.2s infinite; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid, .contact-grid, .location-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-hours { justify-self: start; }
}
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-hamburger { display: flex; }
  .hero-content { padding: 1rem 1rem .5rem; }
  .hero-bottom { padding: 0 1rem 1.5rem; }
  .about-grid, .contact-grid, .location-grid { padding: 0 1.5rem; }
  .footer-cols { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; }
  .footer-copy { flex-direction: column; gap: .5rem; padding: 0 1.5rem 1.5rem; }

  /* ── Hero título ── */
  .hero-title {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    text-align: center;
  }

  /* ── Hero middle: columna, imagen arriba vía order ── */
  .hero-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    height: auto;
    margin-top: .75rem;
    position: relative;
    gap: .5rem;
  }

  /* Imagen: order 1 — aparece primero */
  .hero-image-stage {
    order: 1;
    position: relative;
    inset: auto;
    width: 100%;
    height: 58vw;        /* más alto */
    min-height: 220px;
    max-height: 320px;
  }
  .hero-image-slot {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background-size: contain;
    background-position: center;
  }

  /* Label: order 2 — debajo de la imagen */
  .hero-label {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 2.5rem;
    margin-top: .25rem;
    padding: 0 .5rem;
  }
  .hero-label-item {
    font-size: clamp(1rem, 4vw, 1.25rem);
    text-align: center;
    width: 100%;
    white-space: normal;
    position: relative;  /* saca del absolute para que ocupe espacio real */
    top: auto; left: auto;
    display: none;        /* oculto por defecto */
  }
  .hero-label-item.active {
    display: block;       /* solo el activo ocupa espacio */
    opacity: 1;
    transform: none;
  }

  /* Dots: order 3 — fila horizontal */
  .hero-dots {
    order: 3;
    position: relative;
    bottom: auto; right: auto;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    padding: .4rem 0 .25rem;
    gap: .4rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  .hero-address {
    font-size: .68rem;
    text-align: center;
    padding: .3rem .85rem;
  }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat-num { font-size: 1.1rem; }
  .hero-stat-label { font-size: .55rem; }
  #navbar { padding: .8rem 1rem; }
  .navbar-logo img { height: 40px; }
  .hero-image-stage { height: 62vw; min-height: 200px; max-height: 280px; }
  .hero-label { min-height: 2rem; }

  /* WA modal: esquina inferior derecha más arriba */
  .wa-modal-wrap {
    bottom: 1rem;
    right: 1rem;
  }
  button.wa-float {
    padding: .45rem 1rem .45rem .45rem;
    font-size: .72rem;
  }
  .wa-float-icon,
  button.wa-float .wa-float-icon {
    width: 36px;
    height: 36px;
  }
}

/* ═══════════════════════════════════════════════════════════
   INTRO SCREEN
═══════════════════════════════════════════════════════════ */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}
.intro-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/redessociales/intro.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 3.5s ease;
}
#intro-screen.loaded .intro-bg {
  opacity: 0.38;
  transform: scale(1);
}
.intro-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.35) 0%, rgba(0,0,0,.78) 100%);
}
.intro-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease .3s, transform .8s ease .3s;
}
#intro-screen.loaded .intro-content {
  opacity: 1;
  transform: translateY(0);
}
.intro-logo {
  width: 220px;
  max-width: 60vw;
  filter: brightness(0) invert(1);
  animation: introLogoPulse 2s ease-in-out infinite;
}
@keyframes introLogoPulse {
  0%, 100% { filter: brightness(0) invert(1) drop-shadow(0 0 0px rgba(32,120,0,0)); }
  50%       { filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(32,200,0,.65)); }
}
.intro-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.intro-bar-track {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  overflow: hidden;
}
.intro-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--green);
  border-radius: 2px;
  transition: width .05s linear;
  box-shadow: 0 0 8px var(--green);
}
.intro-label {
  font-family: var(--font-display);
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* Salida */
#intro-screen.hiding {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 1366×768 → escala al 82%
═══════════════════════════════════════════════════════════ */
@media (max-width: 1440px) and (min-width: 1025px) {
  html { font-size: 14px; }

  .hero-title  { font-size: clamp(1.8rem, 3.8vw, 3.4rem); }
  .hero-stats  { max-width: 640px; }
  .hero-stat-num { font-size: 1.35rem; }

  .about-grid  { gap: 3rem; padding: 0 2rem; }
  .about-left h2 { font-size: clamp(1.75rem, 3.2vw, 2.8rem); }

  .contact-grid  { padding: 3.5rem 2rem; gap: 2.5rem; }
  .location-grid { padding: 3.5rem 2rem; gap: 2.5rem; }
  .footer-cols   { padding: 2.5rem 2rem; }

  .product-card { width: 210px; height: 320px; }
  .product-num  { font-size: 2.5rem; }

  /* Slide del hero al 70% en 1366 */
  .hero-image-slot {
    max-width: 672px;   /* 960 × 0.70 */
    max-height: 434px;  /* 620 × 0.70 */
    height: 50vh;
  }
  .hero-image-stage { min-height: 260px; }

  #navbar { padding: .85rem 1.75rem; }
  .navbar-logo img { height: 46px; }
}

/* ── Hero SVG base (capa entre canvas y partículas) ───── */
.hero-svg-base {
  position: absolute;
  inset: 0;
  background-image: url('../assets/redessociales/intro.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 1;
  pointer-events: none;
}

/* ─── Ajustes individuales por logo ─────────────────────── */
.logorepresentada1 { max-height: 32px; } /* SMC      */
.logorepresentada2 { max-height: 30px; } /* Danfoss  */
.logorepresentada3 { max-height: 34px; } /* Festo    */
.logorepresentada4 { max-height: 36px; } /* ENXI     */
.logorepresentada5 { max-height: 30px; } /* Huamming */

/* ═══════════════════════════════════════════════════════════
   WHATSAPP MODAL — 2 contactos
═══════════════════════════════════════════════════════════ */
.wa-modal-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}

/* Modal popup — posición fija encima del botón flotante */
.wa-modal {
  position: fixed;
  bottom: 6rem;   /* altura del botón (≈44px) + bottom(2rem) + gap(12px) */
  right: 1.5rem;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  overflow: hidden;
  width: 290px;
  opacity: 0;
  transform: translateY(8px) scale(.97);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.wa-modal.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #25D366;
  padding: .9rem 1.1rem;
}
.wa-modal-title {
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}
.wa-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  cursor: pointer;
  padding: 0 .25rem;
  line-height: 1;
  transition: color .2s;
}
.wa-modal-close:hover { color: #fff; }

.wa-modal-contact {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s;
  color: #111;
}
.wa-modal-contact:last-child { border-bottom: none; }
.wa-modal-contact:hover { background: #f7fdf7; }

.wa-modal-contact-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-modal-contact-icon img {
  width: 24px; height: 24px;
  object-fit: contain;
}
.wa-modal-contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.wa-modal-contact-info strong {
  font-size: .82rem;
  font-weight: 700;
  color: #111;
}
.wa-modal-contact-info span {
  font-size: .72rem;
  color: rgba(0,0,0,.45);
}
.wa-modal-arrow {
  font-size: .8rem;
  color: #25D366;
  opacity: 0;
  transition: opacity .15s, transform .15s;
}
.wa-modal-contact:hover .wa-modal-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Botón flotante — ahora es <button> no <a> */
button.wa-float {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: var(--blue-card, #252e52);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .5rem 1.25rem .5rem .5rem;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
  transition: transform .25s, box-shadow .25s;
  color: var(--white, #f8fafc);
}
button.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,.2);
}
button.wa-float.active {
  background: #25D366;
  border-color: transparent;
}

@media (max-width: 480px) {
  .wa-modal-wrap { bottom: 1.25rem; right: 1.25rem; }
  .wa-modal { width: 260px; bottom: 5.5rem; right: 1.25rem; }
  button.wa-float { font-size: .72rem; padding: .4rem .9rem .4rem .4rem; }
}

/* ── Mesh canvas fondo productos ─────────────────────────── */
#mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
#productos > *:not(#mesh-canvas) {
  position: relative;
  z-index: 1;
}

/* ── Product card hover → verde agua ─────────────────────── */
.product-card {
  transition: transform .3s, box-shadow .3s, background .3s, border-color .3s;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.018);
  background: linear-gradient(160deg, #c8f0d8 0%, #a8e4c0 100%);
  border-color: rgba(32,120,0,.35);
  box-shadow: 0 12px 32px rgba(32,120,0,.15);
}
.product-card:hover .product-num {
  color: var(--green);
  text-decoration-color: var(--green);
}
.product-card:hover .product-title {
  color: #0a4a20;
}

/* ════════════════════════════════════════════════════════════
   LINEAS DE PRODUCTO — 12 cards grid, +20% más anchas
   Hover verde agua
════════════════════════════════════════════════════════════ */

.lineas-header {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.lineas-header .section-title {
  color: var(--blue-dark);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
}
.lineas-sub {
  font-size: .82rem;
  color: rgba(0,0,0,.45);
  margin-top: .4rem;
}

/* Grid: 4 columnas desktop → escala */
.lineas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  padding: 0 2rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative; z-index: 1;
}

/* Card */
.linea-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--light-card, #D8D8D8);
  border: 1px solid rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #222;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.linea-card:hover {
  transform: translateY(-6px) scale(1.01);
  background: linear-gradient(160deg, #b8edc8 0%, #7ed4a0 100%);
  border-color: rgba(32,120,0,.35);
  box-shadow: 0 14px 36px rgba(32,120,0,.18);
}

/* Imagen */
.linea-card-img {
  aspect-ratio: 4/3;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,.6);
  margin: .75rem .75rem 0;
  border-radius: var(--radius);
  transition: background-color .25s, transform .3s;
}
.linea-card:hover .linea-card-img {
  background-color: rgba(255,255,255,.85);
  transform: scale(1.03);
}

/* Body */
.linea-card-body {
  padding: .85rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.linea-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(0,0,0,.15);
  line-height: 1;
  transition: color .25s;
}
.linea-card:hover .linea-num { color: rgba(32,120,0,.3); }

.linea-name {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 400;
  color: #333;
  line-height: 1.35;
  margin: 0;
  transition: color .25s;
}
.linea-card:hover .linea-name { color: #0a4a20; }

.linea-cta {
  font-size: .65rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .06em;
  margin-top: .35rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s, transform .25s;
}
.linea-card:hover .linea-cta { opacity: 1; transform: translateX(0); }

/* Responsive */
@media (max-width: 1280px) { .lineas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .lineas-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; padding: 0 1.25rem 1.25rem; } }
@media (max-width: 480px)  { .lineas-grid { grid-template-columns: 1fr 1fr; gap: .6rem; padding: 0 .75rem 1rem; } }

/* ════════════════════════════════════════════════════════════

/* ════════════════════════════════════════════════════════════
   MOBILE FIXES v24 — CLEAN REWRITE
════════════════════════════════════════════════════════════ */

/* ─── GRID ESTÁTICO: oculto en desktop, visible en mobile ── */
.products-static-grid { display: none; }
.products-pager        { display: none; }

@media (max-width: 768px) {

  /* ─── 1. HERO ────────────────────────────────────────── */

  /* Título: más margen superior y más grande */
  .hero-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem) !important;
    margin-top: 1.25rem !important;
    text-align: center;
  }

  /* Contenido centrado verticalmente */
  .hero-content {
    flex: 1;
    justify-content: center !important;
    padding-top: .5rem !important;
    padding-bottom: .25rem !important;
  }
  .hero-middle {
    flex: 1;
    justify-content: center;
  }

  /* Label de producto más grande */
  .hero-label-item {
    font-size: clamp(1.3rem, 5vw, 1.6rem) !important;
    line-height: 1.25 !important;
  }

  /* Botón WA sube un 20% SOLO en sección hero —
     se logra subiendo el wa-modal-wrap cuando #inicio es visible */
  .wa-modal-wrap {
    bottom: 20% !important;
    right: 1rem !important;
  }
  /* Al salir del hero vuelve a posición normal via JS class */
  .wa-modal-wrap.wa-normal {
    bottom: 1.25rem !important;
  }

  /* ─── 2. SECCIÓN PRODUCTOS: grid estático ─────────────── */

  .marquee-track-wrap {
    display: none !important;
  }

  /* Mostrar grid estático */
  .products-static-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
    padding: .75rem 1rem 0;
    width: 100%;
  }
  .products-pager {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: .5rem 0 .75rem;
  }
  .products-pager-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(0,0,0,.2);
    border: none; cursor: pointer; padding: 0;
    transition: background .2s, width .2s;
  }
  .products-pager-dot.active {
    background: var(--green);
    width: 22px;
    border-radius: 5px;
  }
  .products-static-grid .product-card {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/4;
    flex-shrink: unset !important;
    cursor: pointer !important;
  }
  .products-static-grid .product-num { font-size: 2rem; }
  .products-static-grid .product-title { font-size: .68rem; }
  .brands-section { display: block !important; }

  /* ─── 3. NOSOTROS: fondo verde + imagen + glassmorphism ── */

  #nosotros {
    background:
      linear-gradient(160deg,
        rgba(32,120,0,.88) 0%,
        rgba(30,39,74,.95) 55%,
        rgba(0,0,0,.97) 100%),
      url('../assets/redessociales/lacotizacion.jpg')
        center / cover no-repeat !important;
  }
  #nosotros::before { background: transparent !important; }
  #nosotros .tag-pill {
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255,255,255,.3) !important;
    color: #fff !important;
  }
  #nosotros .tag-pill::before { background: #7dff50 !important; }
  #nosotros .about-left h2 {
    color: #fff !important;
    text-shadow: 0 2px 16px rgba(0,0,0,.35);
  }
  #nosotros .about-left p { color: rgba(255,255,255,.82) !important; }
  #nosotros .about-left p strong { color: #a8ff70 !important; }
  #nosotros .feature-item {
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 14px !important;
    padding: 1rem !important;
    margin-bottom: .75rem !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  #nosotros .feature-item.visible {
    animation: featureSlideIn .55s ease both;
  }
  #nosotros .feature-item:nth-child(1) { animation-delay: .05s; }
  #nosotros .feature-item:nth-child(2) { animation-delay: .18s; }
  #nosotros .feature-item:nth-child(3) { animation-delay: .31s; }
  #nosotros .feature-icon {
    background: rgba(160,255,80,.18) !important;
  }
  #nosotros .feature-icon.accent { background: var(--green) !important; }
  #nosotros .feature-text h3 { color: #fff !important; }
  #nosotros .feature-text p { color: rgba(255,255,255,.72) !important; }

  /* ─── 4. UBICACIÓN: mapa margen + canales compactos ────── */
  .location-grid {
    padding-top: 5rem !important;
    gap: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .channel-item { padding: .7rem 0 !important; }
  .channel-icon { width: 38px !important; height: 38px !important; font-size: .95rem !important; }
  .channel-body strong { font-size: .82rem !important; }
  .channel-body span { font-size: .7rem !important; }
  .channels-list { margin-top: .75rem !important; }
}

@keyframes featureSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 5. PÁGINAS PRODUCTOS: ocultar sidebar ─────────────── */
.sidebar,
aside.sidebar {
  display: none !important;
}
.main, .pcat-main {
  padding-top: 80px !important;
  max-width: 100% !important;
  width: 100% !important;
}
.page-wrap {
  flex-direction: column !important;
}

/* ── Cat tabs: menú pill horizontal verde ───────────────── */
.cat-tabs-nav {
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 90;
  display: flex;
  gap: 6px;
  padding: 8px 14px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: rgba(32,120,0,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.cat-tabs-nav::-webkit-scrollbar { display: none; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: .72rem; font-weight: 600;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.13);
  border: 1.5px solid rgba(255,255,255,.2);
  cursor: pointer; text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
  transition: background .18s, color .18s, transform .14s;
}
.cat-tab:hover {
  background: rgba(255,255,255,.24); color: #fff;
  transform: translateY(-1px);
}
.cat-tab.active {
  background: #fff; color: #207800;
  border-color: transparent; font-weight: 700;
  box-shadow: 0 3px 12px rgba(0,0,0,.2);
}
@media (min-width: 769px) {
  .cat-tabs-nav {
    flex-wrap: wrap; position: sticky;
    padding: 10px 24px 12px; gap: 8px;
  }
  .cat-tab { font-size: .78rem; padding: 7px 18px; }
}

/* ════════════════════════════════════════════════════════════

/* ════════════════════════════════════════════════════════════
   MENÚ MOBILE — GLASSMORPHISM VIVO v24
════════════════════════════════════════════════════════════ */

/* ── Backdrop con blur real ───────────────────────────────── */
.mm-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 197;
  opacity: 0;
  transition: opacity .32s ease;
}
.mm-backdrop.open { display: block; opacity: 1; }

/* ── Panel: fondo con glow verde ──────────────────────────── */
.navbar-mobile-menu {
  display: block;
  position: fixed;
  top: 0; right: 0;
  width: min(310px, 86vw);
  height: 100vh;
  z-index: 198;
  overflow-y: auto;
  overscroll-behavior: contain;

  /* Fondo oscuro con tinte verde sutil */
  background:
    radial-gradient(ellipse 80% 60% at 110% 0%, rgba(32,120,0,.28) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(30,39,74,.6) 0%, transparent 70%),
    linear-gradient(175deg, rgba(8,14,32,.97) 0%, rgba(14,22,46,.96) 60%, rgba(6,12,26,.98) 100%);

  backdrop-filter: blur(32px) saturate(1.8);
  -webkit-backdrop-filter: blur(32px) saturate(1.8);

  /* Borde iluminado izquierdo */
  border-left: 1px solid rgba(32,120,0,.35);
  box-shadow:
    -16px 0 60px rgba(0,0,0,.65),
    -1px 0 0 rgba(32,120,0,.18),
    inset 1px 0 0 rgba(255,255,255,.04);

  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.22,1,.36,1);

  scrollbar-width: thin;
  scrollbar-color: rgba(32,120,0,.35) transparent;
}
.navbar-mobile-menu::-webkit-scrollbar { width: 3px; }
.navbar-mobile-menu::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, rgba(32,120,0,.5), rgba(32,120,0,.2));
  border-radius: 2px;
}
.navbar-mobile-menu.open { transform: translateX(0); }

/* ── Header ───────────────────────────────────────────────── */
.mm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.25rem 1rem;
  position: sticky;
  top: 0; z-index: 2;
  background: rgba(8,14,32,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(32,120,0,.2);
}

/* Punto verde + nombre */
.mm-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Michroma', 'Inter', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}
.mm-brand::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(32,200,0,.7);
  flex-shrink: 0;
  animation: mmPulse 2.2s ease-in-out infinite;
}
@keyframes mmPulse {
  0%,100% { box-shadow: 0 0 6px rgba(32,200,0,.6); }
  50%      { box-shadow: 0 0 14px rgba(32,200,0,.9); }
}

.mm-close {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.45);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.mm-close svg { display: block; }
.mm-close:hover {
  background: rgba(220,40,40,.2);
  border-color: rgba(220,40,40,.4);
  color: #ff7070;
  transform: scale(1.08);
}

/* ── Body ─────────────────────────────────────────────────── */
.mm-body {
  padding: .85rem .85rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* ── Section label ────────────────────────────────────────── */
.mm-section-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  padding: 1rem .7rem .45rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.mm-section-label::after {
  content: '';
  flex: 1; height: 1px;
  background: linear-gradient(to right, rgba(32,120,0,.3), transparent);
}

/* ── Link base ────────────────────────────────────────────── */
.mm-link {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem 1rem;
  border-radius: 11px;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all .18s ease;
  position: relative;
  overflow: hidden;
}
/* Shimmer on hover */
.mm-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.04) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .45s ease;
  pointer-events: none;
}
.mm-link:hover::before { transform: translateX(100%); }

.mm-link:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
  transform: translateX(3px);
}
.mm-link:active {
  background: rgba(32,120,0,.2);
  transform: translateX(1px) scale(.99);
}

/* ── Links principales (Nosotros / Contacto) ─────────────── */
.mm-link-main {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  padding: .9rem 1rem;
  margin-bottom: 1px;
}
.mm-link-main:hover {
  background: linear-gradient(135deg, rgba(32,120,0,.25), rgba(32,120,0,.12));
  border-color: rgba(32,180,0,.45);
  color: #fff;
  box-shadow: 0 4px 24px rgba(32,120,0,.18), inset 0 1px 0 rgba(255,255,255,.06);
  transform: translateX(3px);
}

/* Icono cuadrado con glow en hover */
.mm-icon-wrap {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.55);
  transition: all .2s;
}
.mm-link-main:hover .mm-icon-wrap {
  background: rgba(32,180,0,.3);
  border-color: rgba(32,200,0,.5);
  color: #a0ff60;
  box-shadow: 0 0 12px rgba(32,180,0,.3);
}
.mm-link-text { flex: 1; }

/* ── Divider ──────────────────────────────────────────────── */
.mm-divider {
  height: 1px;
  margin: .55rem .4rem;
  background: linear-gradient(to right, transparent, rgba(32,120,0,.25), transparent);
}

/* ── Links de producto ────────────────────────────────────── */
.mm-link-prod {
  padding: .58rem .9rem .58rem .85rem;
  font-size: .82rem;
  color: rgba(255,255,255,.52);
  border-radius: 9px;
  border-left: 2px solid transparent;
}
.mm-link-prod:hover {
  background: linear-gradient(90deg, rgba(32,120,0,.15), rgba(32,120,0,.06));
  border-left-color: rgba(32,200,0,.55);
  color: rgba(180,255,140,.92);
  padding-left: calc(.85rem);
  transform: translateX(4px);
}

/* Número */
.mm-num {
  font-family: 'Michroma', monospace;
  font-size: .58rem;
  color: rgba(32,180,0,.55);
  width: 20px;
  flex-shrink: 0;
  letter-spacing: .04em;
  transition: color .18s;
}
.mm-link-prod:hover .mm-num { color: rgba(100,255,60,.8); }

/* Flecha ›  */
.mm-arrow {
  margin-left: auto;
  font-size: .85rem;
  color: rgba(255,255,255,.0);
  transform: translateX(-6px);
  transition: all .2s;
  line-height: 1;
}
.mm-link-prod:hover .mm-arrow {
  color: rgba(100,255,60,.5);
  transform: translateX(0);
}

/* ── Footer: botón WA con glow ────────────────────────────── */
.mm-footer {
  position: sticky;
  bottom: 0;
  padding: .85rem .85rem 1.4rem;
  background: linear-gradient(to top, rgba(8,14,32,1) 55%, transparent 100%);
}
.mm-footer-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  width: 100%;
  padding: .9rem 1.25rem;
  background: linear-gradient(135deg, #207800 0%, #1a9a00 50%, #14bd00 100%);
  border: none;
  border-radius: 13px;
  font-size: .86rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .03em;
  box-shadow:
    0 6px 28px rgba(32,160,0,.4),
    0 2px 8px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.mm-footer-wa::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-20deg);
  animation: mmWaShine 3.5s ease-in-out infinite;
}
@keyframes mmWaShine {
  0%,70%,100% { left: -75%; }
  40% { left: 125%; }
}
.mm-footer-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(32,180,0,.55), 0 2px 8px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.2);
}
.mm-footer-wa img {
  width: 20px; height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ── Desktop: ocultar ─────────────────────────────────────── */
@media (min-width: 769px) {
  .navbar-mobile-menu { display: none !important; }
  .mm-backdrop        { display: none !important; }
}
