/* ─── TOKENS ─── */
:root {
  --black:        #ffffff;          
  --dark:         #f4f5f7;          
  --card-bg:      #ffffff;         
  --border:       #dde0e8;          
  --border-mid:   #c4c9d8;        
  --orange:       #de0101;          
  --orange-glow:  #ff6822;          
  --orange-dim:   #b83d00;          
  --orange-soft:  rgba(222, 1, 1, 0.08);  
  --white:        #111213;          
  --white-dim:    #5a5e6b;          
  --steel:        #e8eaf0;          
  --success:      #25d366; 
  --button: #080909; 
  --surface-alt: #eef0f5;
  --nav-bg:        rgba(255,255,255,0.97);
  --nav-bg-scroll: rgba(255,255,255,0.98);
  --drawer-bg:     rgba(255,255,255,0.98);
  --slide-bg-1:    linear-gradient(135deg, #f0f2f5 0%, #e8eaf2 50%, #f5f6f8 100%);
  --slide-bg-2:    linear-gradient(135deg, #f8f9fb 0%, #eceff5 50%, #f5f7fa 100%);
  --slide-bg-3:    linear-gradient(135deg, #f2f3f5 0%, #eaecf4 50%, #f3f5f8 100%);
  --slide-overlay: linear-gradient(105deg, rgba(255,255,255,.88) 40%, rgba(255,255,255,.55) 100%);
  --hero-nav-btn:  rgba(255,255,255,.8);        
  --ff-display:   'Bebas Neue', sans-serif;
  --ff-cond:      'Barlow Condensed', sans-serif;
  --ff-body:      'Barlow', sans-serif;
}

html.darkmode {
  --black:        #080909;
  --dark:         #0f1114;
  --card-bg:      #14171d;
  --border:       #1e2330;
  --border-mid:   #2c3144;
  --orange:       #de0101;
  --orange-glow:  #ff6822;
  --orange-dim:   #7a2a06;
  --orange-soft:  rgba(232, 80, 10, 0.12);
  --white:        #f0ede8;
  --white-dim:    #8a8880;
  --steel:        #2a2f3d;
  --success:      #25d366;
  --button: #f0ede8; 
  --surface-alt: #0f1114;
   --nav-bg:        rgba(8,9,9,0.97);
  --nav-bg-scroll: rgba(8,9,9,0.98);
  --drawer-bg:     rgba(15,17,20,0.98);
  --slide-bg-1:    linear-gradient(135deg, #0f1114 0%, #12151a 50%, #0d1013 100%);
  --slide-bg-2:    linear-gradient(135deg, #101316 0%, #13161c 50%, #0f1215 100%);
  --slide-bg-3:    linear-gradient(135deg, #0e1013 0%, #11141a 50%, #0d1012 100%);
  --slide-overlay: linear-gradient(105deg, rgba(8,9,9,.88) 40%, rgba(8,9,9,.55) 100%);
  --hero-nav-btn:  rgba(20,23,29,.8);
  --ff-display:   'Bebas Neue', sans-serif;
  --ff-cond:      'Barlow Condensed', sans-serif;
  --ff-body:      'Barlow', sans-serif;    
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  overflow-x: hidden;
}

a { color: inherit; }

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.018;
}

/* ═══════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════ */
.nav-main {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5vw;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, padding .3s;
  gap: 1.5rem;
}
.nav-main.scrolled {
  background: var(--nav-bg-scroll);;
  border-bottom-color: var(--border);
  padding: .65rem 5vw;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

/* Logo Impulse Bajío */
.nav-logo {
  display: flex; align-items: center; gap: .9rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  width: 105px; height: 105px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: width .3s ease, height .3s ease;
}
.nav-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}
.nav-logo-text {
  font-family: var(--ff-display);
  font-size: 2.1rem; letter-spacing: .1em;
  color: var(--white); line-height: 1;
}
.nav-logo-text span {
  color: var(--orange);
  margin: 0 .15em;
}

.nav-main.scrolled .nav-logo-img {
  width: 80px; height: 80px;
}
.nav-main.scrolled .nav-logo-text {
  font-size: 1.75rem;
}

.nav-links {
  display: flex; gap: 2rem; list-style: none; flex: 1; justify-content: center;
}
.nav-links a {
  font-family: var(--ff-cond); font-size: .85rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white-dim); text-decoration: none;
  transition: color .2s; position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.nav-cta {
  font-family: var(--ff-cond); font-size: .85rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--orange); color: #fff; border: none;
  padding: .7rem 1.6rem; cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background .2s, transform .15s;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: .5rem;
}
.nav-cta:hover { background: var(--orange-glow); transform: translateY(-1px); }
.nav-cta i { font-size: .95rem; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: .4rem; width: 2.2rem;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s, opacity .3s, background .2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--drawer-bg); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem; padding: 2rem;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--ff-display); font-size: 2.5rem; letter-spacing: .08em;
  color: var(--white); text-decoration: none;
  transition: color .2s;
}
.nav-drawer a:hover { color: var(--orange); }
.nav-drawer .drawer-cta {
  font-family: var(--ff-cond); font-size: 1rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--orange); color: #fff; border: none;
  padding: 1rem 2.5rem; cursor: pointer;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  margin-top: 1rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.nav-drawer-close {
  position: absolute; top: 1.5rem; right: 5vw;
  background: none; border: none; color: var(--white-dim);
  font-size: 1.8rem; cursor: pointer; line-height: 1;
  transition: color .2s;
}
.nav-drawer-close:hover { color: var(--orange); }

/* ─── DARK MODE BUTTON ─── */
.darkmode-btn {
  position: relative;
  background: var(--steel);
  color: var(--white);
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s, color .25s, transform .2s, box-shadow .25s;
  border: 1px solid var(--border-mid);
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.darkmode-btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: scale(1.08) rotate(12deg);
  box-shadow: 0 4px 16px rgba(222,1,1,.35);
}
html.darkmode .darkmode-btn {
  background: var(--steel);
  color: var(--white);
  border-color: var(--border-mid);
}
html.darkmode .darkmode-btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* Drawer version — slightly bigger for touch */
.nav-drawer .darkmode-btn {
  width: 3rem; height: 3rem;
  font-size: 1.15rem;
  margin-top: .5rem;
}

/* ═══════════════════════════════════════════════════════
   HERO SLIDER
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  overflow: hidden; display: flex; align-items: center;
  margin-top: 100px; /* para evitar borde inferior del nav */
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity .9s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }

.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  overflow: hidden;
}
/* En tema claro el overlay sobre las imágenes del hero se aclara un poco */
.slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background: var(--slide-overlay);
  z-index: 2;
}

.slide-image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
  animation: slideZoom 12s ease-in-out infinite alternate;
}
.hero-slide.active .slide-image {
  animation: slideZoom 12s ease-in-out infinite alternate;
}
@keyframes slideZoom {
  0%   { transform: scale(1) translateX(0); }
  100% { transform: scale(1.08) translateX(-1%); }
}

/* Slide backgrounds — ahora en tonos claros */
.slide-1 .slide-bg {
  background: var(--slide-bg-1);
}
.slide-1 .slide-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(222,1,1,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(222,1,1,.05) 0%, transparent 50%);
}

.slide-2 .slide-bg {
  background: var(--slide-bg-2);
}
.slide-2 .slide-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 65% 40%, rgba(222,1,1,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 70%, rgba(196,201,216,.4) 0%, transparent 40%);
}

.slide-3 .slide-bg {
  background: var(--slide-bg-3);
}
.slide-3 .slide-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 72% 60%, rgba(222,1,1,.09) 0%, transparent 50%),
    radial-gradient(circle at 15% 30%, rgba(222,1,1,.04) 0%, transparent 35%);
}

/* Icono decorativo gigante de fondo */
.slide-machine {
  position: absolute; right: 6vw; top: 50%;
  transform: translateY(-50%);
  width: 35vw; max-width: 500px; height: 35vw; max-height: 500px;
  display: flex; align-items: center; justify-content: center;
  opacity: .04;
  pointer-events: none;
}
.slide-machine i {
  font-size: clamp(15rem, 30vw, 28rem);
  color: var(--orange); line-height: 1;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 5vw; max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--ff-cond); font-size: .82rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1.25rem; padding: .5rem 1rem;
  background: var(--orange-soft);
  border: 1px solid rgba(222,1,1,.25);
}
.hero-eyebrow i { font-size: 1rem; }

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: .92; letter-spacing: .02em;
  color: var(--white); margin-bottom: 1.5rem;
}
.hero-title em { font-style: normal; color: var(--orange); display: block; }
.hero-body {
  font-size: 1.05rem; font-weight: 400; line-height: 1.7;
  color: var(--white-dim); max-width: 500px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Botones reutilizables */
.btn-primary-imp {
  font-family: var(--ff-cond); font-size: .9rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--orange); color: #fff; border: none;
  padding: .95rem 2.2rem; cursor: pointer; text-decoration: none;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background .2s, transform .15s;
  display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap;
}
.btn-primary-imp:hover { background: var(--orange-glow); transform: translateY(-2px); color: #fff; }
.btn-primary-imp i { font-size: 1rem; }

.btn-ghost-imp {
  font-family: var(--ff-cond); font-size: .9rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  background: transparent; color: var(--white);
  border: 1px solid var(--border-mid);
  padding: .9rem 2.2rem; cursor: pointer; text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
  display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap;
}
.btn-ghost-imp:hover {
  border-color: var(--orange); color: var(--orange);
  background: var(--orange-soft);
}
.btn-ghost-imp i { font-size: 1rem; }

/* Hero stats */
.hero-stats {
  display: flex; gap: 3rem; margin-top: 3.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--ff-display); font-size: 2.4rem; color: var(--orange); line-height: 1;
}
.hero-stat-label {
  font-family: var(--ff-cond); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--white-dim); margin-top: .25rem;
}

/* Slider controls */
.hero-controls {
  position: absolute; bottom: 2.5rem; left: 5vw; z-index: 3;
  display: flex; gap: .75rem; align-items: center;
}
.hero-dot {
  width: 2rem; height: 3px; background: var(--border-mid);
  cursor: pointer; transition: background .3s, width .3s; border: none;
}
.hero-dot.active { background: var(--orange); width: 3.5rem; }

.hero-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; background: var(--hero-nav-btn); border: 1px solid var(--border-mid);
  color: var(--white); width: 2.8rem; height: 2.8rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.hero-nav-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.hero-prev { left: 2vw; }
.hero-next { right: 2vw; }

/* ═══════════════════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════════════════ */
.ticker {
  background: var(--orange); padding: .8rem 0;
  overflow: hidden; position: relative; z-index: 5;
}
.ticker-track {
  display: flex; gap: 0;
  animation: ticker 32s linear infinite;
  white-space: nowrap; width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--ff-cond); font-size: .9rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  padding: 0 2.5rem;
}
.ticker-item i { font-size: 1.1rem; }
.ticker-sep { color: rgba(255,255,255,.5); font-size: 1.2rem; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ═══════════════════════════════════════════════════════
   SECTION COMMONS
   ═══════════════════════════════════════════════════════ */
section { position: relative; z-index: 1; }

/* ─── SECTION BACKGROUND IMAGE (opcional) ─────────────────
   Añade data-bg="ruta/imagen.jpg" al elemento <section> en HTML
   o usa la clase .has-bg-img con un style="--section-img:url(...)"
   Si no se define imagen, el fondo del CSS queda como siempre.
   ─────────────────────────────────────────────────────── */
section[data-bg]::before,
section.has-bg-img::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--section-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}
section[data-bg]::after,
section.has-bg-img::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: var(--section-overlay, rgba(0,0,0,.55));
  pointer-events: none;
}
section[data-bg] > *,
section.has-bg-img > * { position: relative; z-index: 2; }

.section-label {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--ff-cond); font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1rem;
}
.section-label::before {
  content: ''; display: block; width: 2rem; height: 2px; background: var(--orange);
}
.section-label i { font-size: 1rem; margin-left: -.25rem; }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: .95; letter-spacing: .02em; color: var(--white);
}
.section-title span { color: var(--orange); }
.section-body {
  font-size: 1rem; font-weight: 400; line-height: 1.75;
  color: var(--white-dim); max-width: 520px;
}

/* ═══════════════════════════════════════════════════════
   VENTAJAS
   ═══════════════════════════════════════════════════════ */
.ventajas { padding: 7rem 5vw; background: var(--dark); }
.ventajas-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; margin-top: 4rem;
}
.ventaja-card {
  background: var(--card-bg);
  padding: 3rem 2.5rem;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .25s, box-shadow .3s;
}
.ventaja-card:hover {
  border-color: rgba(222,1,1,.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.ventaja-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--orange);
  transition: height .4s ease;
}
.ventaja-card:hover::before { height: 100%; }
.ventaja-num {
  font-family: var(--ff-display); font-size: 5rem; line-height: 1;
  color: var(--border); position: absolute; top: 1.5rem; right: 2rem;
  user-select: none; pointer-events: none;
  transition: color .3s;
}
.ventaja-card:hover .ventaja-num { color: rgba(222,1,1,.15); }
.ventaja-icon {
  font-size: 2.6rem; margin-bottom: 1.5rem; color: var(--orange); display: block;
}
.ventaja-title {
  font-family: var(--ff-cond); font-size: 1.4rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--white); margin-bottom: .75rem;
}
.ventaja-text {
  font-size: .92rem; font-weight: 400; line-height: 1.7; color: var(--white-dim);
}

/* ═══════════════════════════════════════════════════════
   SECTORES
   ═══════════════════════════════════════════════════════ */
.sectores { padding: 7rem 5vw; background: var(--black); }
.sectores-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end; margin-bottom: 4rem;
}
.sectores-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
}
.sector-card {
  background: var(--card-bg); border: 1px solid var(--border);
  padding: 2.5rem 1.5rem; text-align: center;
  cursor: default; position: relative; overflow: hidden;
  transition: border-color .3s, background .3s, transform .25s, box-shadow .3s;
}
.sector-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(222,1,1,.05) 100%);
  opacity: 0; transition: opacity .3s;
}
.sector-card:hover {
  border-color: rgba(222,1,1,.35); background: var(--surface-alt);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
}
.sector-card:hover::after { opacity: 1; }
.sector-icon {
  font-size: 2.6rem; margin-bottom: 1.25rem; color: var(--orange); display: block;
}
.sector-name {
  font-family: var(--ff-cond); font-size: .95rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--white);
}
.sector-sub { font-size: .78rem; color: var(--white-dim); margin-top: .4rem; font-weight: 400; }

/* ═══════════════════════════════════════════════════════
   CATÁLOGO (Best Sellers)
   ═══════════════════════════════════════════════════════ */
.catalogo { padding: 7rem 5vw; background: var(--dark); }
.catalogo-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem; margin-bottom: 3rem;
}
.catalogo-header > div:first-child { flex: 1; min-width: 280px; }

.filter-select {
  font-family: var(--ff-cond); font-size: .85rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--card-bg); color: var(--white);
  border: 1px solid var(--border-mid); padding: .85rem 1.5rem;
  outline: none; cursor: pointer; min-width: 240px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23de0101' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; transition: border-color .2s;
}
.filter-select:focus { border-color: var(--orange); }

/* ─── BANNER PDF SUPERIOR (compacto) ─── */
.pdf-banner {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 1.5rem; align-items: center;
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border-mid);
  border-left: 3px solid var(--orange);
  padding: 1.5rem 2rem; margin-bottom: 3rem;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.pdf-banner::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 200px; height: 100%;
  background: radial-gradient(ellipse at right center, rgba(222,1,1,.05) 0%, transparent 70%);
  pointer-events: none;
}
.pdf-banner-icon {
  width: 3.5rem; height: 3.5rem;
  background: var(--orange-soft);
  border: 1px solid rgba(222,1,1,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 1.6rem; flex-shrink: 0;
}
.pdf-banner-text { min-width: 0; }
.pdf-banner-title {
  font-family: var(--ff-cond); font-size: 1.15rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: .25rem;
}
.pdf-banner-sub { font-size: .88rem; color: var(--white-dim); line-height: 1.4; }
.pdf-banner-actions { display: flex; gap: .75rem; flex-shrink: 0; }

/* ─── BANNER PDF INFERIOR (destacado / feature) ─── */
.pdf-banner-feature {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--card-bg) 0%,  var(--surface-alt));
  border: 1px solid var(--border-mid);
  padding: 4rem 3rem; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.pdf-banner-feature::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(222,1,1,.04) 0%, transparent 50%);
  pointer-events: none;
}
.pdf-banner-feature::after {
  content: 'CATÁLOGO';
  position: absolute; right: -1vw; bottom: -2rem;
  font-family: var(--ff-display); font-size: 14vw;
  color: transparent; -webkit-text-stroke: 1px var(--border);
  white-space: nowrap; pointer-events: none; user-select: none; line-height: 1;
}
.pdf-banner-feature > * { position: relative; z-index: 2; }

.pdf-banner-feature-icon {
  width: 4.5rem; height: 4.5rem; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem; margin: 0 auto 1.5rem;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.pdf-banner-feature-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: .95; letter-spacing: .02em; color: var(--white); margin-bottom: 1.25rem;
}
.pdf-banner-feature-title span { color: var(--orange); }
.pdf-banner-feature-text {
  font-size: 1rem; font-weight: 400; line-height: 1.75;
  color: var(--white-dim); max-width: 600px; margin: 0 auto 2rem;
}
.pdf-banner-feature-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem;
}
.pdf-banner-feature-meta {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
  font-family: var(--ff-cond); font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--white-dim);
}
.pdf-banner-feature-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.pdf-banner-feature-meta i { color: var(--orange); }

/* ─── GALLERY GRID ─── */
#gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.gallery-card {
  position: relative; overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1; cursor: pointer;
  transition: border-color .3s, box-shadow .3s;
}
.gallery-card:hover {
  border-color: rgba(222,1,1,.4);
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.gallery-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  background: var(--orange); color: #fff;
  font-family: var(--ff-cond); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem;
  display: inline-flex; align-items: center; gap: .35rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.gallery-badge i { font-size: .8rem; }

.gallery-code {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  background: var(--card-bg);
  border: 1px solid var(--border-mid);
  color: var(--white);
  font-family: var(--ff-cond); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; padding: .3rem .6rem;
}

.gallery-card-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.gallery-card img,
.gallery-placeholder {
  width: 100%; height: 100%;
  object-fit:contain; transition: transform .45s ease;
}
.gallery-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--steel); color: var(--border-mid); font-size: 3rem;
}
.gallery-card:hover img,
.gallery-card:hover .gallery-placeholder { transform: scale(1.06); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 50%, transparent 80%);
  opacity: 0; transition: opacity .35s;
  display: flex; align-items: flex-end; padding: 1.5rem;
  flex-direction: column; justify-content: flex-end;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-item-title {
  font-family: var(--ff-cond); font-size: 1.05rem; font-weight: 700;
  letter-spacing: .04em; color: #fff; line-height: 1.2; text-transform: uppercase;
}
.gallery-cat {
  font-family: var(--ff-cond); font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--orange); margin-bottom: .3rem;
}

/* Pagination */
#pagination .page-item .page-link {
  font-family: var(--ff-cond); font-size: .82rem; font-weight: 700;
  letter-spacing: .08em;
  background: var(--card-bg); border-color: var(--border);
  color: var(--white-dim);
  transition: background .2s, color .2s, border-color .2s;
}
#pagination .page-item.active .page-link,
#pagination .page-item .page-link:hover {
  background: var(--orange); border-color: var(--orange); color: #fff;
}

/* ═══════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════ */
.modal-content {
  background: var(--card-bg); border: 1px solid var(--border-mid); border-radius: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.modal-header {
  background: var(--dark); border-bottom: 1px solid var(--border); padding: 1.5rem 2rem;
}
.modal-title {
  font-family: var(--ff-cond); font-size: 1.4rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--white);
}
.btn-close { filter: none; } /* en tema claro ya no hace falta invertir */
.modal-body { padding: 2rem; }
.modal-img-wrap {
  aspect-ratio: 1 / 1; overflow: hidden; background: var(--dark); margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.modal-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--border-mid);
}

.modal-meta {
  display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem;
}
.modal-code {
  font-family: var(--ff-cond); font-size: .78rem; font-weight: 700;
  letter-spacing: .15em;
  background: var(--dark); border: 1px solid var(--border-mid);
  color: var(--white); padding: .35rem .8rem;
}
#modal-category {
  font-family: var(--ff-cond); font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  background: var(--orange-soft); color: var(--orange);
  border: 1px solid rgba(222,1,1,.25); border-radius: 0; padding: .35rem .8rem;
}
#modal-description {
  font-size: .95rem; font-weight: 400; color: var(--white-dim); line-height: 1.7; margin-top: 1rem;
}

.modal-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.modal-wha {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--ff-cond); font-size: .88rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--success); color: #fff; text-decoration: none;
  padding: .9rem 1.6rem;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background .2s, transform .15s;
}
.modal-wha:hover { background: #1ebe5d; color: #fff; transform: translateY(-1px); }
.modal-wha i { font-size: 1.1rem; }

.modal-pdf {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--ff-cond); font-size: .88rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  background: transparent; color: var(--white);
  border: 1px solid var(--border-mid);
  padding: .9rem 1.6rem; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.modal-pdf:hover { border-color: var(--orange); color: var(--orange); }

/* ═══════════════════════════════════════════════════════
   CTA PRINCIPAL
   ═══════════════════════════════════════════════════════ */
.cta-main {
  padding: 7rem 5vw; background: var(--black);
  position: relative; overflow: hidden;
}
.cta-main::before {
  content: 'IMPULSE';
  position: absolute; right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--ff-display); font-size: 22vw;
  color: transparent; -webkit-text-stroke: 1px var(--border);
  white-space: nowrap; pointer-events: none; user-select: none; line-height: 1;
}
.cta-inner { position: relative; z-index: 2; max-width: 720px; }
.cta-tagline {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .92; color: var(--white); margin-bottom: 1.5rem;
}
.cta-tagline span { color: var(--orange); display: block; }
.cta-sub {
  font-size: 1rem; font-weight: 400; color: var(--white-dim);
  line-height: 1.75; max-width: 500px; margin-bottom: 2.5rem;
}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════════════════ */
.contacto { padding: 7rem 5vw; background: var(--dark); }
.contacto-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; margin-top: 4rem;
}
.contact-info-block { display: flex; flex-direction: column; gap: 2.25rem; }
.contact-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-icon-wrap {
  width: 3rem; height: 3rem; flex-shrink: 0;
  background: var(--card-bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.contact-item-label {
  font-family: var(--ff-cond); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: .4rem;
}
.contact-item-value {
  font-size: .98rem; font-weight: 400; color: var(--white); line-height: 1.5;
}
.contact-item-value a {
  color: var(--white); text-decoration: none; transition: color .2s;
}
.contact-item-value a:hover { color: var(--orange); }
.contact-item-sub { font-size: .82rem; color: var(--white-dim); margin-top: .2rem; }

/* Redes sociales en contacto */
.contact-social { margin-top: .5rem; }
.social-links { display: flex; gap: .6rem; }
.social-link {
  width: 2.5rem; height: 2.5rem;
  background: var(--card-bg); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white-dim); font-size: 1rem; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.social-link:hover {
  background: var(--orange); color: #fff; border-color: var(--orange); transform: translateY(-2px);
}

/* ─── FORMULARIO DE CONTACTO ─── */
.contact-form-wrap {
  background: var(--card-bg); border: 1px solid var(--border);
  padding: 2.5rem; position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.contact-form-wrap::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--orange);
}
.form-header {
  display: flex; gap: 1.25rem; align-items: flex-start;
  margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.form-header > i { color: var(--orange); font-size: 1.8rem; flex-shrink: 0; margin-top: .2rem; }
.form-title {
  font-family: var(--ff-cond); font-size: 1.3rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--white); margin-bottom: .35rem;
}
.form-sub { font-size: .88rem; color: var(--white-dim); line-height: 1.5; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-label {
  font-family: var(--ff-cond); font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--orange);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--ff-body); font-size: .95rem;
  background: var(--dark); color: var(--white);
  border: 1px solid var(--border-mid);
  padding: .85rem 1rem; outline: none;
  transition: border-color .2s, background .2s; width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--orange); background: var(--surface-alt); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--white-dim); opacity: .7; }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23de0101' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}

.form-actions {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; margin-top: .5rem;
}
.form-submit {
  border: none; font-family: var(--ff-cond); font-size: .9rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.form-disclaimer { font-size: .8rem; color: var(--white-dim); }

.form-message {
  margin-top: 1rem; padding: 0;
  font-family: var(--ff-cond); font-size: .9rem; font-weight: 600;
  letter-spacing: .05em; display: none;
}
.form-message.success {
  display: block; padding: 1rem 1.25rem;
  background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.3); color: #1a9e4d;
}
.form-message.error {
  display: block; padding: 1rem 1.25rem;
  background: rgba(222,1,1,.08); border: 1px solid rgba(222,1,1,.25); color: var(--orange);
}

/* Mapa */
.map-wrap {
  width: 100%; height: 600px; min-height: 500px;
  background: var(--card-bg); border: 1px solid var(--border);
  overflow: hidden; position: relative;
  border-radius: 12px; margin-top: 2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.map-wrap iframe {
  width: 100%; height: 100%; border: none;
  filter: grayscale(.2) contrast(.95);
  transition: filter .4s ease;
}
.map-wrap:hover iframe { filter: grayscale(0) contrast(1); }
html.darkmode .map-wrap iframe {
  filter: grayscale(.4) invert(.92) hue-rotate(180deg) brightness(.85) contrast(.9);
}
html.darkmode .map-wrap:hover iframe {
  filter: grayscale(.1) invert(.92) hue-rotate(180deg) brightness(.9) contrast(.95);
}
.map-overlay-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, var(--card-bg), transparent);
  padding: 2rem 1.5rem 1.5rem;
  font-family: var(--ff-cond); font-size: .95rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange);
  display: flex; align-items: center; gap: .5rem; pointer-events: none;
}

@media (max-width: 768px) {
  .map-wrap { height: 400px; min-height: 350px; }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
footer {
  background: var(--dark); border-top: 1px solid var(--border);
  padding: 2.5rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-left { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.footer-logo-img {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden;
}
.footer-logo-img img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 4px; }
.footer-logo-text {
  font-family: var(--ff-display); font-size: 1.4rem; letter-spacing: .1em; color: var(--white);
}
.footer-logo-text span { color: var(--orange); margin: 0 .15em; }
.footer-tagline {
  font-family: var(--ff-cond); font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--white-dim);
}

.footer-right { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 2.2rem; height: 2.2rem;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white-dim); text-decoration: none;
  border: 1px solid var(--border);
  transition: color .2s, border-color .2s, background .2s;
}
.footer-social a:hover {
  color: var(--orange); border-color: rgba(222,1,1,.4); background: var(--orange-soft);
}
.footer-copy {
  font-family: var(--ff-cond); font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white-dim);
}
.footer-legal {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  align-items: center; justify-content: flex-end;
  font-family: var(--ff-cond); font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white-dim);
}
.footer-legal a { color: var(--white-dim); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--orange); }
.footer-legal .sep { opacity: .4; }

/* Enlace de privacidad dentro del formulario */
.form-privacy {
  font-family: var(--ff-cond); font-size: .78rem; letter-spacing: .04em;
  color: var(--white-dim); margin-top: .85rem; line-height: 1.5;
}
.form-privacy a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.form-privacy a:hover { color: var(--orange-dim); }

/* ═══════════════════════════════════════════════════════
   WHATSAPP BTN FLOTANTE
   ═══════════════════════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--success);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.35);
  text-decoration: none; color: #fff; font-size: 1.6rem;
  transition: transform .25s, box-shadow .25s;
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.12); box-shadow: 0 6px 32px rgba(37,211,102,.55); color: #fff;
}
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,.35) }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,.6), 0 0 0 8px rgba(37,211,102,.08) }
}

/* ═══════════════════════════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-logo-text { font-size: 1.4rem; }
  .nav-logo-img { width: 72px; height: 72px; }
  .ventajas-grid { grid-template-columns: 1fr; }
  .sectores-grid { grid-template-columns: repeat(3, 1fr); }
  .sectores-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .contacto-grid { grid-template-columns: 1fr; gap: 3rem; }
  #gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .pdf-banner {
    grid-template-columns: 1fr; text-align: center; gap: 1rem;
  }
  .pdf-banner-icon { margin: 0 auto; }
  .pdf-banner-actions {
    justify-content: center; flex-wrap: wrap; width: 100%;
  }
  .pdf-banner-actions .btn-primary-imp,
  .pdf-banner-actions .btn-ghost-imp { flex: 1 1 auto; min-width: 0; justify-content: center; }
  .pdf-banner::before { display: none; }

  .pdf-banner-feature { padding: 3rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  footer { flex-direction: column; text-align: center; }
  .footer-left, .footer-right { justify-content: center; }
}

@media (max-width: 576px) {
  .hero { margin-top: 80px; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stats > div { min-width: 100px; }
  .hero-content { padding: 0 1.25rem; }
  .hero-nav-btn { display: none; }

  .sectores-grid { grid-template-columns: repeat(2, 1fr); }
  #gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ventaja-card { padding: 2.5rem 1.75rem; }
  .ventaja-num { font-size: 3.5rem; }

  .ventajas, .sectores, .catalogo, .cta-main, .contacto, .antes-despues, .video-section {
    padding-left: 1.25rem; padding-right: 1.25rem;
    padding-top: 4rem; padding-bottom: 4rem;
  }

  .section-title { font-size: clamp(2rem, 8vw, 3rem); }

  .pdf-banner { padding: 1.5rem; }
  .pdf-banner-actions { flex-direction: column; gap: .6rem; }
  .pdf-banner-actions .btn-primary-imp,
  .pdf-banner-actions .btn-ghost-imp { width: 100%; }
  .pdf-banner-feature { padding: 2.5rem 1.25rem; }
  .pdf-banner-feature-meta { gap: 1rem; }

  .contact-form-wrap { padding: 1.75rem; }
  .form-header { flex-direction: column; gap: .75rem; }
  .modal-actions { flex-direction: column; }
  .modal-actions a { width: 100%; justify-content: center; }

  .nav-logo-img { width: 56px; height: 56px; }
  .nav-logo-text { font-size: 1.2rem; }

  .hero-eyebrow { font-size: .72rem; }
  .hero-body { font-size: .95rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .btn-primary-imp, .btn-ghost-imp { width: 100%; justify-content: center; font-size: .85rem; }

  .sectores-grid { gap: 4px; }
  .sector-card { padding: 1.75rem 1rem; }
  .sector-icon { font-size: 2rem; margin-bottom: 1rem; }
  .sector-name { font-size: .85rem; }

  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary-imp,
  .cta-actions .btn-ghost-imp { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════
   AVISO DE PRIVACIDAD
   ═══════════════════════════════════════════════════════ */
.privacy-hero {
  padding: 10rem 5vw 4rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--surface-alt) 100%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.privacy-hero::before {
  content: 'PRIVACIDAD';
  position: absolute; right: -2vw; bottom: -2rem;
  font-family: var(--ff-display); font-size: 16vw;
  color: transparent; -webkit-text-stroke: 1px var(--border);
  white-space: nowrap; pointer-events: none; user-select: none; line-height: 1;
}
.privacy-hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.privacy-breadcrumb {
  font-family: var(--ff-cond); font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--white-dim);
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.privacy-breadcrumb a { color: var(--orange); text-decoration: none; transition: color .2s; }
.privacy-breadcrumb a:hover { color: var(--orange-dim); }
.privacy-breadcrumb i { font-size: .7rem; opacity: .5; }

.privacy-title {
  font-family: var(--ff-display); font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: .95; letter-spacing: .02em; color: var(--white); margin-bottom: 1.25rem;
}
.privacy-title span { color: var(--orange); }
.privacy-subtitle {
  font-size: 1.05rem; font-weight: 400; line-height: 1.7; color: var(--white-dim); max-width: 700px;
}
.privacy-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border);
  font-family: var(--ff-cond); font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--white-dim);
}
.privacy-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.privacy-meta i { color: var(--orange); }

.privacy-body { padding: 5rem 5vw; max-width: 900px; margin: 0 auto; }
.privacy-section {
  margin-bottom: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--border);
}
.privacy-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.privacy-section-num {
  font-family: var(--ff-display); font-size: 3rem; color: var(--orange);
  line-height: 1; display: block; margin-bottom: .5rem; opacity: .45;
}
.privacy-section h2 {
  font-family: var(--ff-display); font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: .02em; color: var(--white); margin-bottom: 1.5rem; line-height: 1.1;
}
.privacy-section h3 {
  font-family: var(--ff-cond); font-size: 1.05rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--orange);
  margin-top: 2rem; margin-bottom: 1rem;
}
.privacy-section p {
  font-size: 1rem; font-weight: 400; line-height: 1.8; color: var(--white-dim); margin-bottom: 1.25rem;
}
.privacy-section ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; }
.privacy-section ul li {
  position: relative; padding-left: 1.75rem; margin-bottom: .75rem;
  font-size: 1rem; font-weight: 400; line-height: 1.7; color: var(--white-dim);
}
.privacy-section ul li::before {
  content: ''; position: absolute; left: 0; top: .65rem;
  width: 10px; height: 2px; background: var(--orange);
}
.privacy-section strong { color: var(--white); font-weight: 600; }
.privacy-section a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.privacy-section a:hover { color: var(--orange-dim); }

.privacy-callout {
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border-mid); border-left: 3px solid var(--orange);
  padding: 1.75rem 2rem; margin: 2rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.privacy-callout p { margin-bottom: 0; }

.privacy-contact-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border-mid); padding: 2rem; margin-top: 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.privacy-contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.privacy-contact-icon {
  width: 2.5rem; height: 2.5rem; background: var(--orange-soft);
  border: 1px solid rgba(222,1,1,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 1rem; flex-shrink: 0;
}
.privacy-contact-label {
  font-family: var(--ff-cond); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--white-dim); margin-bottom: .25rem;
}
.privacy-contact-value { font-size: .95rem; color: var(--white); line-height: 1.4; }
.privacy-contact-value a { color: var(--white); text-decoration: none; }
.privacy-contact-value a:hover { color: var(--orange); }

.privacy-back {
  display: inline-flex; align-items: center; gap: .65rem;
  margin-top: 3rem; padding: 1rem 1.75rem;
  background: transparent; border: 1px solid var(--border-mid);
  color: var(--white); font-family: var(--ff-cond); font-size: .9rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: all .25s;
}
.privacy-back:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

@media (max-width: 768px) {
  .privacy-hero { padding: 8rem 1.25rem 3rem; }
  .privacy-body { padding: 3.5rem 1.25rem; }
  .privacy-section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; }
  .privacy-section-num { font-size: 2.25rem; }
  .privacy-contact-card { grid-template-columns: 1fr; padding: 1.5rem; }
  .privacy-meta { gap: 1rem; }
}

/* ═══════════════════════════════════════════════════════
   MODAL DE AGRADECIMIENTO
   ═══════════════════════════════════════════════════════ */
.success-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}
.success-modal.open { opacity: 1; visibility: visible; pointer-events: auto; }

.success-modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.success-modal-content {
  position: relative;
  background: linear-gradient(145deg, var(--card-bg) 0%, var(--dark) 100%);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 3rem 2.5rem 2.5rem;
  max-width: 520px; width: 100%; text-align: center;
  box-shadow: 0 25px 80px rgba(0,0,0,.18), 0 0 0 1px rgba(222,1,1,.1) inset;
  transform: scale(.9) translateY(20px);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.success-modal.open .success-modal-content { transform: scale(1) translateY(0); }

.success-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 38px; height: 38px; border: none;
  background: rgba(0,0,0,.06); color: var(--white-dim); border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all .25s ease;
}
.success-modal-close:hover {
  background: rgba(222,1,1,.1); color: var(--orange); transform: rotate(90deg);
}

.success-modal-icon {
  width: 90px; height: 90px; margin: 0 auto 1.5rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, .12) 0%, rgba(74, 222, 128, 0) 70%);
  display: flex; align-items: center; justify-content: center;
}

.checkmark {
  width: 70px; height: 70px; border-radius: 50%; display: block;
  stroke-width: 3; stroke: #4ade80; stroke-miterlimit: 10;
  box-shadow: 0 0 30px rgba(74, 222, 128, .2);
  animation: checkmarkScale .4s ease-in-out .3s both;
}
.checkmark-circle {
  stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 3;
  stroke-miterlimit: 10; stroke: #4ade80; fill: none;
  animation: checkmarkStroke .7s cubic-bezier(.65, 0, .45, 1) forwards;
}
.checkmark-check {
  transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: checkmarkStroke .35s cubic-bezier(.65, 0, .45, 1) .8s forwards;
}
.success-modal.open .checkmark-circle {
  animation: checkmarkStroke .7s cubic-bezier(.65, 0, .45, 1) forwards;
}
.success-modal.open .checkmark-check {
  animation: checkmarkStroke .35s cubic-bezier(.65, 0, .45, 1) .8s forwards;
}
@keyframes checkmarkStroke { 100% { stroke-dashoffset: 0; } }
@keyframes checkmarkScale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

.success-modal-title {
  font-family: var(--ff-display); font-size: 2rem; letter-spacing: .04em;
  color: var(--white); margin: 0 0 1rem; line-height: 1.15;
}
.success-modal-text {
  font-family: var(--ff-body); font-size: 1rem; color: var(--white-dim);
  line-height: 1.6; margin: 0 0 2rem;
}
.success-modal-text strong { color: var(--orange); font-weight: 600; }

.success-modal-actions {
  display: flex; flex-direction: column; gap: .75rem; align-items: stretch;
}
.success-modal-actions .btn-primary-imp,
.success-modal-actions .btn-ghost-imp { width: 100%; justify-content: center; }

@media (min-width: 480px) {
  .success-modal-actions { flex-direction: row; justify-content: center; }
  .success-modal-actions .btn-primary-imp,
  .success-modal-actions .btn-ghost-imp { width: auto; flex: 1; }
}
@media (max-width: 480px) {
  .success-modal-content { padding: 2.5rem 1.5rem 2rem; }
  .success-modal-title { font-size: 1.6rem; }
  .success-modal-text { font-size: .95rem; }
}

/* Bloquear scroll del body cuando el modal está abierto */
body.modal-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════
   ANTES & DESPUÉS — Comparador drag
   ═══════════════════════════════════════════════════════ */
.antes-despues {
  padding: 7rem 5vw;
  background: var(--black);
  overflow: hidden;
}
.ad-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

/* Contenedor principal del comparador */
.ad-slider-wrap { position: relative; }

.ad-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  touch-action: pan-y;
  border: 1px solid var(--border-mid);
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
}

/* Imagen DESPUÉS (fondo, ancho total) */
.ad-img {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ad-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Imagen ANTES (se recorta con overflow hidden + width dinámico) */
.ad-img-before {
  overflow: hidden;
  width: 50%; /* JS lo cambia en tiempo real */
  transition: none;
}

/* Etiquetas Antes / Después */
.ad-label {
  position: absolute;
  bottom: 1.25rem;
  font-family: var(--ff-cond);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .9rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  pointer-events: none;
}
.ad-label-before {
  left: 1rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  backdrop-filter: blur(4px);
}
.ad-label-after {
  right: 1rem;
  background: var(--orange);
  color: #fff;
}

/* Handle / divisor */
.ad-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;          /* JS lo mueve */
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: col-resize;
  z-index: 10;
  pointer-events: auto;
}
.ad-handle-line {
  flex: 1;
  width: 2px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 0 8px rgba(0,0,0,.4);
}
.ad-handle-btn {
  width: 2.8rem; height: 2.8rem;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  gap: 0; color: #fff; font-size: .9rem;
  box-shadow: 0 2px 16px rgba(222,1,1,.45), 0 0 0 3px rgba(255,255,255,.9);
  flex-shrink: 0;
  transition: transform .15s, background .15s;
}
.ad-handle:hover .ad-handle-btn,
.ad-handle:active .ad-handle-btn {
  background: var(--orange-glow);
  transform: scale(1.12);
}
.ad-handle-btn i { line-height: 1; }
.ad-handle-btn i:first-child { margin-right: -3px; }
.ad-handle-btn i:last-child  { margin-left:  -3px; }

/* Hint debajo del comparador */
.ad-hint {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--ff-cond); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--white-dim); margin-top: 1.25rem;
  animation: ad-hint-pulse 2.5s ease-in-out infinite;
}
.ad-hint i { color: var(--orange); }
@keyframes ad-hint-pulse {
  0%, 100% { opacity: .7; }
  50%       { opacity: 1;  }
}

@media (max-width: 768px) {
  .ad-compare { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .ad-compare { aspect-ratio: 1 / 1; }
  .antes-despues { padding: 5rem 1.25rem; }
}


/* ═══════════════════════════════════════════════════════
   SLIDER DE VIDEOS
   ═══════════════════════════════════════════════════════ */
.video-section {
  padding: 7rem 5vw;
  background: var(--dark);
  overflow: hidden;
}
.video-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.vslider-wrap {
  position: relative;
  max-width: 760px;   /* Videos más pequeños — era 100% del contenedor */
  margin-left: auto;
  margin-right: auto;
}

/* Cada slide */
.vslide {
  display: none;
  animation: vslide-in .5s ease forwards;
}
.vslide.active { display: block; }

@keyframes vslide-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Media wrapper — ratio 16:9 */
.vslide-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: var(--card-bg);
  border: 1px solid var(--border-mid);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
}
.vslide-media iframe,
.vslide-media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Franja decorativa izquierda */
.vslider-wrap::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -1px;
  width: 3px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  pointer-events: none;
}

/* Botones prev / next */
.vslider-btn {
  position: absolute;
  top: calc(56.25% / 2); /* centro vertical del video */
  transform: translateY(-50%);
  z-index: 5;
  width: 3rem; height: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--border-mid);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.15rem;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
}
.vslider-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.vslider-prev { left: -2.5rem; }
.vslider-next { right: -2.5rem; }

@media (max-width: 900px) {
  .vslider-prev { left: -.25rem; }
  .vslider-next { right: -.25rem; }
}

/* Info debajo del video */
.vslider-info {
  padding: 1.75rem 0 1rem;
  border-bottom: 1px solid var(--border);
}
.vslider-info-title {
  font-family: var(--ff-cond);
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--white); margin-bottom: .4rem;
}
.vslider-info-desc {
  font-size: .92rem; color: var(--white-dim); line-height: 1.6;
}

/* Puntos de navegación */
.vslider-dots {
  display: flex; gap: .65rem; align-items: center;
  margin-top: 1.25rem;
}
.vslider-dot {
  width: 2rem; height: 3px;
  background: var(--border-mid);
  border: none; cursor: pointer;
  transition: background .3s, width .3s;
  padding: 0;
}
.vslider-dot.active {
  background: var(--orange);
  width: 3.5rem;
}

/* CTA WhatsApp debajo del slider de videos */
.vslider-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .vslider-prev { left: -.25rem; }
  .vslider-next { right: -.25rem; }
  .video-section { padding: 5rem 1.25rem; }
  .vslider-wrap { max-width: 100%; }
}
@media (max-width: 480px) {
  .vslider-btn { width: 2.4rem; height: 2.4rem; font-size: .95rem; }
}


/* ═══════════════════════════════════════════════════════
   MODAL CANDADO — Catálogo Gate
   ═══════════════════════════════════════════════════════ */
.catalog-gate {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}
.catalog-gate.open {
  opacity: 1; visibility: visible; pointer-events: auto;
}

.catalog-gate-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.catalog-gate-content {
  position: relative;
  background: linear-gradient(145deg, var(--card-bg) 0%, var(--dark) 100%);
  border: 1px solid var(--border-mid);
  border-top: 3px solid var(--orange);
  max-width: 520px; width: 100%;
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  transform: scale(.92) translateY(24px);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
  overflow: hidden;
}
/* Marca de agua decorativa */
.catalog-gate-content::after {
  content: 'PDF';
  position: absolute; right: -1rem; bottom: -2.5rem;
  font-family: var(--ff-display); font-size: 10rem;
  color: transparent; -webkit-text-stroke: 1px var(--border);
  pointer-events: none; user-select: none; line-height: 1; z-index: 0;
}
.catalog-gate.open .catalog-gate-content {
  transform: scale(1) translateY(0);
}

/* Botón cerrar */
.catalog-gate-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: rgba(0,0,0,.06); border: none; border-radius: 50%;
  color: var(--white-dim); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all .25s; z-index: 2;
}
.catalog-gate-close:hover {
  background: var(--orange-soft);
  color: var(--orange);
  transform: rotate(90deg);
}

/* Encabezado del gate */
.gate-header {
  display: flex; gap: 1.25rem; align-items: flex-start;
  margin-bottom: 2rem; padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 1;
}
.gate-icon-wrap {
  width: 3.5rem; height: 3.5rem; flex-shrink: 0;
  background: var(--orange);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
}
.gate-eyebrow {
  font-family: var(--ff-cond); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: .3rem;
}
.gate-title {
  font-family: var(--ff-display); font-size: 1.8rem;
  letter-spacing: .04em; color: var(--white); line-height: 1; margin-bottom: .4rem;
}
.gate-sub {
  font-size: .88rem; color: var(--white-dim); line-height: 1.5;
}
.gate-sub strong { color: var(--white); }

/* Formulario dentro del gate */
.gate-form {
  display: flex; flex-direction: column; gap: 1rem;
  position: relative; z-index: 1;
}
.gate-submit {
  width: 100%; justify-content: center;
  margin-top: .25rem; border: none;
}
.gate-submit:disabled {
  opacity: .6; cursor: not-allowed; transform: none !important;
}

/* Mensaje de estado */
.gate-msg {
  font-family: var(--ff-cond); font-size: .88rem; font-weight: 600;
  letter-spacing: .04em; min-height: 1.2em;
  transition: color .2s;
}
.gate-msg--error   { color: #ff6b6b; }
.gate-msg--success { color: #4ade80; }

@media (max-width: 576px) {
  .catalog-gate-content { padding: 2rem 1.5rem; }
  .gate-title { font-size: 1.5rem; }
  .gate-header { flex-direction: column; gap: .75rem; }
  .gate-icon-wrap { width: 2.8rem; height: 2.8rem; font-size: 1.3rem; }
}
/* ── FIX NAV MÓVIL: hamburguesa y botón dark mode visibles ── */
@media (max-width: 576px) {

  .nav-main {
    padding: .75rem 1rem;   /* menos padding lateral */
    gap: .5rem;
    overflow: visible;      /* nunca cortar el nav-right */
  }

  .nav-logo {
    gap: .5rem;             /* reduce espacio entre img y texto */
    min-width: 0;           /* permite que el logo se encoja */
    flex: 1;                /* ocupa el espacio sobrante, no todo */
  }

  .nav-logo-text {
    font-size: 1rem;        /* más compacto que el 1.2rem actual */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-logo-img {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0;
  }

  .nav-right {
    flex-shrink: 0;         /* NUNCA comprimir los botones */
    gap: .5rem;
  }

  .darkmode-btn {
    width: 2.2rem;
    height: 2.2rem;
    font-size: .9rem;
  }

}