/* ============================================================
   CRISTANTE HNOS — Estilos Principales
   Fuentes: Barlow Condensed (display) + Barlow (body)
   Paleta: Blanco #ffffff, Negro #111111, Amarillo #f5c518,
           Naranja maquinaria #e87722, Gris claro #f4f4f4
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --verde: #f5c518;
  /* naranja maquinaria → reemplaza verde */
  --verde-dark: #c5601a;
  /* naranja oscuro */
  --amarillo: #f5c518;
  /* amarillo dorado exacto de la imagen */
  --amarillo-dark: #d4a80e;
  --acero: #111111;
  /* negro principal */
  --acero-mid: #222222;
  --crema: #f4f4f4;
  /* gris muy claro, casi blanco */
  --gris-lt: #e0e0e0;
  --blanco: #ffffff;
  --sombra: 0 4px 24px rgba(0, 0, 0, 0.12);
  --sombra-lg: 0 8px 48px rgba(0, 0, 0, 0.18);
  --radio: 6px;
  --transicion: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Barlow', sans-serif;
  background: var(--blanco);
  color: var(--acero);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gris-lt);
}

::-webkit-scrollbar-thumb {
  background: var(--amarillo);
  border-radius: 3px;
}

/* ── Tipografía ────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ── Navbar ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--blanco);
  border-bottom: 1px solid var(--gris-lt);
  transition: background var(--transicion), box-shadow var(--transicion);
  padding: 0 5%;
}

#navbar.scrolled {
  background: var(--blanco);
  box-shadow: var(--sombra);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--amarillo);
  border-radius: var(--radio);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--acero);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--acero);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.nav-logo-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--verde);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: var(--acero);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radio);
  transition: color var(--transicion), background var(--transicion);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--verde);
  background: rgba(232, 119, 34, 0.08);
}

.nav-cta {
  background: var(--amarillo) !important;
  color: var(--acero) !important;
  padding: 9px 20px !important;
  border-radius: var(--radio) !important;
}

.nav-cta:hover {
  background: var(--amarillo-dark) !important;
  color: var(--acero) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--acero);
  border-radius: 2px;
  transition: var(--transicion);
}

.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 nav */

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--blanco);
  padding: 16px 0 24px;
  border-top: 1px solid var(--gris-lt);
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: var(--sombra);
}

.nav-mobile.open {
  display: flex;
}

@media (max-width: 900px) {
  .nav-mobile {
    top: 64px;
  }
}

.nav-mobile a {
  color: var(--acero);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 5%;
  border-bottom: 1px solid var(--gris-lt);
  transition: color var(--transicion);
}

.nav-mobile a:hover {
  color: var(--verde);
  background: rgba(232, 119, 34, 0.05);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .sidebar {
    width: 100%;
    min-height: auto;
    position: relative;
  }

  .main-content {
    margin-left: 0;
  }

  .nav-inner {
    height: 64px;
  }
}

/* Asegurar que en desktop el menú móvil no se vea */
@media (min-width: 901px) {
  .nav-mobile {
    display: none !important;
  }
}


.btn-close-white {
  filter: invert(1);
}

.table-responsive {
  max-height: 600px;
  overflow-y: auto;
}

/* ── Hero Slider ───────────────────────────────────────── */
.hero-slider {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-slider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 220px;
  background: linear-gradient(to right, var(--acero) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 25, 0.28);
  z-index: 2;
  pointer-events: none;
}

.hero-slider-track {
  display: flex;
  height: 100%;
  width: 300%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  flex: 0 0 33.3333%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.hero-slide.active img {
  transform: scale(1);
}

.slide-caption {
  position: absolute;
  bottom: 80px;
  right: 24px;
  z-index: 4;
  background: rgba(26, 92, 42, 0.88);
  color: var(--amarillo);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radio);
  backdrop-filter: blur(4px);
}

.slider-dots {
  position: absolute;
  bottom: 32px;
  right: 50%;
  transform: translateX(50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: var(--transicion);
  padding: 0;
}

.slider-dot.active {
  background: var(--amarillo);
  border-color: var(--amarillo);
  transform: scale(1.2);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0, 0, 0, 0.45);
  color: var(--blanco);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: var(--amarillo);
  color: var(--acero);
}

.slider-prev {
  right: auto;
  left: 16px;
}

.slider-next {
  right: 16px;
  left: auto;
}

@media (max-width: 900px) {
  .hero-slider {
    display: none;
  }
}


/* ── Hero ──────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--blanco);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      transparent,
      transparent 60px,
      rgba(245, 197, 24, 0.05) 60px,
      rgba(245, 197, 24, 0.05) 61px);
  pointer-events: none;
}

.hero-accent {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  height: 110%;
  background: linear-gradient(135deg, rgba(244, 244, 244, 0.9) 0%, rgba(245, 197, 24, 0.08) 100%);
  border-radius: 60% 0 0 60%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 5% 80px;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 119, 34, 0.10);
  border: 1px solid rgba(228, 213, 208, 0.25);
  color: var(--verde);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--verde);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero-title {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 700;
  color: var(--acero);
  text-transform: uppercase;
  margin-bottom: 8px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-title span {
  color: var(--amarillo);
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 300;
  color: #f7f303;
  margin-bottom: 32px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-desc {
  font-size: 16px;
  color: #777;
  max-width: 520px;
  margin-bottom: 44px;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-stats {
  position: absolute;
  bottom: 48px;
  right: 5%;
  display: flex;
  gap: 32px;
  animation: fadeUp 0.6s 0.5s ease both;
}

.hero-stat {
  text-align: center;
  color: var(--acero);
}

.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--verde);
  display: block;
}

.hero-stat-label {
  font-size: 12px;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero-stats {
    position: static;
    margin-top: 48px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content {
    max-width: 100%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Botones ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transicion);
  text-transform: uppercase;
}

.btn-primary {
  background: var(--amarillo);
  color: var(--acero);
}

.btn-primary:hover {
  background: var(--amarillo-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--acero);
  border: 2px solid var(--gris-lt);
}

.btn-outline:hover {
  border-color: var(--acero);
  color: var(--acero);
  transform: translateY(-2px);
}

.btn-verde {
  background: var(--verde);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-verde:hover {
  background: var(--verde-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 92, 42, 0.3);
}

.btn-wa {
  background: #25D366;
  color: var(--blanco);
}

.btn-wa:hover {
  background: #1aa34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-amarillo {
  background: var(--amarillo);
  color: var(--acero);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-amarillo:hover {
  background: #c78a00;
}

.btn-ghost {
  background: transparent;
  color: #666;
  border: 1.5px solid #ddd;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: #999;
  color: var(--acero);
}

/* ── Secciones generales ───────────────────────────────── */
.section {
  padding: 96px 5%;
}

.section-dark {
  background: var(--acero);
  color: var(--blanco);
}

.section-verde {
  background: #1a1a1a;
  color: var(--blanco);
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 12px;
}

.section-label-form {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--verde);
  border-bottom: 2px solid var(--verde);
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title span {
  color: var(--amarillo);
}

.section-desc {
  font-size: 17px;
  color: inherit;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 56px;
}

.emoji-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.emoji-opt {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  background: #f8f8f8;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.emoji-opt:hover,
.emoji-opt.selected {
  border-color: var(--verde);
  background: #e8f5e9;
}

/* ── Empresa / Nosotros ────────────────────────────────── */
.empresa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.empresa-visual {
  position: relative;
}

.empresa-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--crema) 0%, var(--gris-lt) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.empresa-img-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 10px,
      rgba(0, 0, 0, 0.02) 10px, rgba(0, 0, 0, 0.02) 11px);
}

.empresa-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--amarillo);
  color: var(--acero);
  border-radius: 10px;
  padding: 18px 24px;
  font-family: 'Barlow Condensed', sans-serif;
}

.empresa-badge-float strong {
  font-size: 36px;
  font-weight: 900;
  display: block;
}

.empresa-badge-float span {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.valor-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 28px 24px;
  transition: var(--transicion);
}

.valor-card:hover {
  background: rgba(245, 197, 24, 0.08);
  border-color: var(--amarillo);
  transform: translateY(-4px);
}

.valor-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.valor-titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--amarillo);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.valor-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .empresa-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .valores-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .valores-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Servicios ─────────────────────────────────────────── */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 100px;
}

.servicio-card {
  background: var(--blanco);
  border-radius: 12px;
  padding: 36px 28px;
  border-left: 4px solid var(--amarillo);
  border: 1px solid var(--gris-lt);
  border-left: 4px solid var(--amarillo);
  transition: var(--transicion);
  position: relative;
  overflow: hidden;
  text-decoration:none;
  color:inherit;
  display:block;  
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: rgba(245, 197, 24, 0.06);
  border-radius: 0 0 0 80px;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-lg);
  border-left-color: var(--verde);
}

.servicio-icon {
  font-size: 42px;
  margin-bottom: 16px;
  display: block;
}

.servicio-titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--acero);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.servicio-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ── Catálogo / Productos ──────────────────────────────── */
#productos {
  background: var(--crema);
}

.catalogo-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  align-items: center;
}

.cat-search {
  flex: 1;
  min-width: 200px;
  max-width: 340px;
  display: flex;
  align-items: center;
  background: var(--blanco);
  border: 2px solid var(--gris-lt);
  border-radius: 100px;
  padding: 0 16px;
  gap: 10px;
  transition: border-color var(--transicion);
}

.cat-search:focus-within {
  border-color: var(--amarillo);
}

.cat-search input {
  border: none;
  outline: none;
  padding: 13px 0;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  width: 100%;
  background: transparent;
}

.cat-search svg {
  flex-shrink: 0;
  color: #999;
}

.filter-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 100px;
  border: 2px solid var(--gris-lt);
  background: var(--blanco);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transicion);
  text-transform: uppercase;
  color: var(--acero);
}

.filter-btn:hover {
  border-color: var(--amarillo);
  color: var(--acero);
}

.filter-btn.active {
  background: var(--amarillo);
  border-color: var(--amarillo);
  color: var(--acero);
}

.filter-btn[data-cat="usado"].active {
  background: var(--verde);
  border-color: var(--verde);
  color: var(--blanco);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.producto-card {
  background: var(--blanco);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--gris-lt);
  transition: var(--transicion);
  cursor: pointer;
  animation: fadeUp 0.4s ease both;
}

.producto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-lg);
  border-color: var(--amarillo);
}

.producto-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.producto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.producto-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-nuevo {
  background: var(--acero);
  color: var(--blanco);
}

.badge-usado {
  background: var(--verde);
  color: var(--blanco);
}

.badge-destacado {
  background: var(--amarillo);
  color: var(--acero);
}

.producto-info {
  padding: 20px 20px 16px;
}

.producto-marca {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 4px;
}

.producto-nombre {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--acero);
  margin-bottom: 6px;
  text-transform: uppercase;
  line-height: 1.15;
}

.producto-desc {
  font-size: 13px;
  color: #777;
  margin-bottom: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.producto-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--gris-lt);
  gap: 8px;
}

.producto-precio {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--acero);
}

.producto-precio small {
  font-size: 12px;
  font-weight: 400;
  color: #999;
  display: block;
  font-family: 'Barlow', sans-serif;
}

.btn-wa-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: var(--blanco);
  padding: 9px 14px;
  border-radius: 100px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: var(--transicion);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-wa-sm:hover {
  background: #1aa34a;
  transform: scale(1.04);
}

.btn-maps-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #4285F4;
  color: var(--blanco);
  padding: 9px 14px;
  border-radius: 100px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: var(--transicion);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-maps-sm:hover {
  background: #1a73e8;
  transform: scale(1.04);
  color: var(--blanco);
}

.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 0;
  color: #aaa;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
}

/* ── Modal de producto ─────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--blanco);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
  border-radius: 16px 16px 0 0;
  position: relative;
  overflow: hidden;
}

.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  color: var(--acero);
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.3);
}

.modal-content {
  border-radius: 16px;
  border: none;
  padding: 28px 28px 32px;
}

.modal-header {
  background: var(--acero);
  color: #fff;
  border-radius: 16px 16px 0 0;
  padding: 20px 24px;
  border-bottom: none;
}

.modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-marca {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 6px;
}

.modal-nombre {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--acero);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.modal-spec {
  background: var(--crema);
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid var(--gris-lt);
}

.modal-spec-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 2px;
}

.modal-spec-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--acero);
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-body {
  padding: 28px 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
}

.modal-actions .btn {
  flex: 1;
  justify-content: center;
  min-width: 160px;
}

/* ── Sucursales ────────────────────────────────────────── */
.sucursales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.sucursal-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 32px 28px;
  transition: var(--transicion);
  position: relative;
  overflow: hidden;
}

.sucursal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--amarillo);
}

.sucursal-card:hover {
  background: rgba(245, 197, 24, 0.07);
  transform: translateY(-4px);
}

.sucursal-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 8px;
}

.sucursal-nombre {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--blanco);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.sucursal-dato {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.sucursal-dato-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.sucursal-tel {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--amarillo);
  text-decoration: none;
  margin-top: 12px;
}

.sucursal-tel:hover {
  text-decoration: underline;
}

/* ── Contacto ──────────────────────────────────────────── */
#contacto {
  background: var(--acero);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border-radius: var(--radio);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--acero-mid);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transicion);
  resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amarillo);
}

.form-group select option {
  background: var(--acero);
}

.form-group textarea {
  min-height: 120px;
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(26, 92, 42, 0.1);
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cinfo-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cinfo-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 197, 24, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cinfo-text h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.cinfo-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.cinfo-text a {
  color: var(--amarillo);
  text-decoration: none;
}

.cinfo-text a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: #0a0a0a;
  padding: 48px 5% 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--amarillo);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transicion);
}

.footer-col ul li a:hover {
  color: var(--amarillo);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ── Reveal on scroll ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ── Separator ─────────────────────────────────────────── */
.sep {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.sep-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.sep-line-dark {
  background: var(--gris-lt);
}

/* ── Marcas / logos strip ──────────────────────────────── */
.marcas-strip {
  background: var(--crema);
  padding: 36px 5%;
  border-top: 1px solid var(--gris-lt);
  border-bottom: 1px solid var(--gris-lt);
  overflow: hidden;
}

.marcas-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marquee 20s linear infinite;
  width: max-content;
}

.marcas-track:hover {
  animation-play-state: paused;
}

.marca-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
  opacity: 0.5;
  white-space: nowrap;
  transition: opacity var(--transicion);
}

.marca-item:hover {
  opacity: 1;
  color: var(--verde);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Sección servicios fondo claro ─────────────────────── */
#servicios {
  background: var(--blanco) !important;
}

/* ── Toast ───────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.toast-custom {
  min-width: 280px;
  padding: 14px 20px;
  border-radius: 10px;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.3s ease;
}

.toast-ok {
  background: var(--verde);
}

.toast-err {
  background: #c0392b;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Empty state ─────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 64px 0;
  color: #bbb;
}

.empty-state i {
  font-size: 56px;
  margin-bottom: 16px;
  display: block;
}

.empty-state p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
}

/* ── Loading ─────────────────────────────────────── */
.loading-row td {
  text-align: center;
  padding: 48px;
  color: #bbb;
  font-size: 18px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #eee;
  border-top-color: var(--verde);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* productos.html styles */
:root {
  --verde: #1a5c2a;
  --verde-dk: #0f3a1a;
  --amarillo: #f0a500;
  --acero: #1e2022;
  --acero-mid: #2d3135;
  --crema: #f5f0e8;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Barlow', sans-serif;
  background: #f0f2f5;
  min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────── */
.sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--acero);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--amarillo);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--acero);
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  line-height: 1.1;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amarillo);
}

.sidebar-nav {
  padding: 16px 0;
  flex: 1;
}

.nav-item-custom {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.nav-item-custom:hover,
.nav-item-custom.active {
  color: #fff;
  background: rgba(240, 165, 0, 0.1);
  border-left-color: var(--amarillo);
}

.nav-item-custom i {
  font-size: 18px;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Main ────────────────────────────────────────── */
.main-content {
  margin-left: 260px;
  padding: 0;
  min-height: 100vh;
}

.topbar {
  background: #fff;
  padding: 16px 32px;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--acero);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-content {
  padding: 32px;
}

/* ── Stats cards ─────────────────────────────────── */
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border-left: 4px solid var(--verde);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.stat-card.amarillo {
  border-left-color: var(--amarillo);
}

.stat-card.rojo {
  border-left-color: #e74c3c;
}

.stat-card.azul {
  border-left-color: #3498db;
}

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--acero);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  margin-top: 4px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* ── Table ───────────────────────────────────────── */
.table-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.table-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.table-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--acero);
}

.table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  border-bottom: 2px solid #f0f0f0 !important;
  padding: 14px 16px;
  white-space: nowrap;
}

.table td {
  padding: 14px 16px;
  vertical-align: middle;
  border-color: #f8f8f8;
}

.table tbody tr:hover {
  background: #fafafa;
}

.emoji-cell {
  font-size: 28px;
  line-height: 1;
}

.prod-nombre {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--acero);
  text-transform: uppercase;
}

.prod-marca {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--verde);
}

.badge-cat {
  padding: 4px 12px;
  border-radius: 100px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cat-nuevo {
  background: #e8f5e9;
  color: var(--verde);
}

.cat-usado {
  background: #fff8e1;
  color: #b8860b;
}

.cat-destacado {
  background: #fdecea;
  color: #c0392b;
}

.tipo-badge {
  background: #f0f0f0;
  color: #555;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.precio-cell {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--acero);
}

.btn-action {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-edit {
  background: #e8f5e9;
  color: var(--verde);
}

.btn-edit:hover {
  background: var(--verde);
  color: #fff;
}

.btn-del {
  background: #fdecea;
  color: #c0392b;
}

.btn-del:hover {
  background: #c0392b;
  color: #fff;
}

/* ── Search / filter bar ─────────────────────────── */
.search-bar {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-input {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 220px;
}

.search-input:focus {
  border-color: var(--verde);
}

.filter-select {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
  background: #fff;
}

.filter-select:focus {
  border-color: var(--verde);
}

/* ── Buttons ─────────────────────────────────────── */
.btn-verde {
  background: var(--verde);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-verde:hover {
  background: var(--verde-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 92, 42, 0.3);
}

.btn-amarillo {
  background: var(--amarillo);
  color: var(--acero);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-amarillo:hover {
  background: #c78a00;
}

.btn-ghost {
  background: transparent;
  color: #666;
  border: 1.5px solid #ddd;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: #999;
  color: var(--acero);
}

/* ── Modal ───────────────────────────────────────── */
.modal-content {
  border-radius: 16px;
  border: none;
}

.modal-header {
  background: var(--acero);
  color: #fff;
  border-radius: 16px 16px 0 0;
  padding: 20px 24px;
  border-bottom: none;
}

.modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-body {
  padding: 28px 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(26, 92, 42, 0.1);
}

.section-label-form {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--verde);
  border-bottom: 2px solid var(--verde);
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.emoji-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.emoji-opt {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  background: #f8f8f8;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.emoji-opt:hover,
.emoji-opt.selected {
  border-color: var(--verde);
  background: #e8f5e9;
}

/* ── Toast ───────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.toast-custom {
  min-width: 280px;
  padding: 14px 20px;
  border-radius: 10px;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.3s ease;
}

.toast-ok {
  background: var(--verde);
}

.toast-err {
  background: #c0392b;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Empty state ─────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 64px 0;
  color: #bbb;
}

.empty-state i {
  font-size: 56px;
  margin-bottom: 16px;
  display: block;
}

.empty-state p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
}

/* ── Loading ─────────────────────────────────────── */
.loading-row td {
  text-align: center;
  padding: 48px;
  color: #bbb;
  font-size: 18px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #eee;
  border-top-color: var(--verde);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    min-height: auto;
    position: relative;
  }

  .main-content {
    margin-left: 0;
  }
}

.btn-close-white {
  filter: invert(1);
}

.table-responsive {
  max-height: 600px;
  overflow-y: auto;
}

/* ============================================================
   EXTENSIONES — index.php reescrito
   Nuevas clases para secciones agregadas / ajustadas
   ============================================================ */

/* ── Hero ajustes índice ────────────────────────────────── */
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 16px;
  animation: fadeUp 0.5s ease both;
}

.hero-title {
  animation: fadeUp 0.5s 0.1s ease both;
}

.hero-subtitle {
  animation: fadeUp 0.5s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeUp 0.5s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeUp 0.5s 0.4s ease both;
}

.hero-stat {
  text-align: center;
}

.hero-stat span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--amarillo);
  display: block;
  line-height: 1;
}

.hero-stat small {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Slider botones ─────────────────────────────────────── */
.slider-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-btn {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.slider-btn:hover {
  background: var(--amarillo);
  color: var(--acero);
}

/* ── Empresa grid index ──────────────────────────────────── */
.empresa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.empresa-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.empresa-img img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.empresa-texto p {
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 16px;
}

.empresa-hitos {
  display: flex;
  gap: 24px;
  margin: 24px 0 28px;
  flex-wrap: wrap;
}

.hito {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hito-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--amarillo);
  line-height: 1;
}

.hito-text {
  font-size: 12px;
  color: #888;
  text-align: center;
  max-width: 90px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .empresa-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Servicios grid ──────────────────────────────────────── */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.servicio-card {
  gap: 0;
}

.servicio-nombre {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--acero);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.servicio-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ── Section gris ────────────────────────────────────────── */
.section-gris {
  background: #f4f6f8;
}

/* ── Catálogo toolbar ────────────────────────────────────── */
.catalogo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.cat-search {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}

/* ── Spec chips en tarjeta ───────────────────────────────── */
.producto-specs-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.spec-chip {
  background: #f0f2f5;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 12px;
  color: #555;
}

/* ── Modal precio ────────────────────────────────────────── */
.modal-price {
  margin-bottom: 20px;
}

.modal-precio-valor {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--verde);
}

.modal-precio-consultar {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  color: #aaa;
  font-weight: 600;
}

/* ── Sucursales index ────────────────────────────────────── */
.sucursales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* ── Footer index ────────────────────────────────────────── */
.footer {
  background: #0d0f10;
  color: #fff;
  padding: 60px 5% 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--amarillo);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Contact form index ──────────────────────────────────── */
#contacto {
  background: #fff;
  padding: 80px 5%;
}

#contacto .form-group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
  display: block;
}

#contacto .form-group input,
#contacto .form-group select,
#contacto .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  background: #fafafa;
  color: var(--acero);
}

#contacto .form-group input:focus,
#contacto .form-group select:focus,
#contacto .form-group textarea:focus {
  border-color: var(--amarillo);
  background: #fff;
}

#contacto .form-group {
  margin-bottom: 14px;
}

.contact-form .btn-wa {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Modal Slider (producto_imagenes) ──────────────────────
   .modal-img ya tiene: aspect-ratio:16/9, overflow:hidden,
   position:relative. Solo necesitamos llenar ese espacio.
   ──────────────────────────────────────────────────────── */
#modal-img-wrap {
  /* Hereda todo de .modal-img — solo sobreponemos lo necesario */
  padding: 0;
  font-size: 0;
  /* quita espacio fantasma de inline */
}

/* Contenedor track del slider: ocupa todo el padre */
/* Asegurar que el contenedor del slider tenga position relative */
/* Modal slider - Asegurar dimensiones correctas */
#modal-img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
    background: #f5f5f5;
}

#modal-slides-wrap {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

#modal-slides-wrap .modal-slide {
    flex-shrink: 0;
    height: 100%;
    overflow: hidden;
}

#modal-slides-wrap .modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Botones de navegación */
.modal-sl-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    backdrop-filter: blur(3px);
}

.modal-sl-ctrl:hover {
    background: rgba(0, 0, 0, .75);
}

#modal-sl-prev { left: 10px; }
#modal-sl-next { right: 10px; }

/* Dots de navegación */
#modal-sl-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

#modal-sl-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: background .2s, transform .2s;
    display: block;
}

#modal-sl-dots span.active {
    background: #fff;
    transform: scale(1.35);
}

/* Fallback sin imágenes */
#modal-no-img {
    display: none;
    font-size: 90px;
    text-align: center;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}





/**************************** Redes Sociales Flotantes */
.social-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.social-float {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.social-float svg {
    width: 28px;
    height: 28px;
}

.social-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* WhatsApp */
.wa-float {
    background-color: #25D366;
    color: white;
}

.wa-float:hover {
    background-color: #128C7E;
}

/* Instagram */
.ig-float {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
    color: white;
}

.ig-float:hover {
    background: linear-gradient(45deg, #d6822a, #c21e68, #7b24a0);
}

/* Facebook */
.fb-float {
    background-color: #1877F2;
    color: white;
}

.fb-float:hover {
    background-color: #0d65d9;
}

/* Responsive: ajustar tamaño en móviles */
@media (max-width: 640px) {
    .social-floating {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .social-float {
        width: 48px;
        height: 48px;
    }
    
    .social-float svg {
        width: 24px;
        height: 24px;
    }
}


/* ── WhatsApp flotante ─────────────────────────────────── */
/* .wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  animation: bouncein 0.6s 1s cubic-bezier(0.4, 0, 0.2, 1) both;
  transition: transform var(--transicion), box-shadow var(--transicion);
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes bouncein {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
} */



/* ============================================================
   FIX HERO VIDEO — Agregar al final de css/style.css
   ============================================================ */
/* ============================================================
   HERO VIDEO + SLIDER - VERSIÓN CORREGIDA
   ============================================================ */

/* Contenedor principal hero */
#hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #0a0a0a;
}

/* ===== MODO VIDEO ===== */
.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Botón de sonido */
.hero-video-sound-btn {
    position: absolute;
    bottom: 50%;
    right: 50%;
    z-index: 20;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-video-sound-btn:hover {
    background: var(--amarillo);
    color: var(--acero);
    transform: scale(1.05);
}

/* Contenido superpuesto (para ambos modos) */
.hero-content-overlay,
.hero-content-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-content-inner {
    max-width: 650px;
    padding: 0 5%;
    animation: fadeUp 0.6s ease both;
}

/* ===== MODO SLIDER ===== */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-slide {
    position: relative;
    flex-shrink: 0;
    height: 100%;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-content-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Controles del slider */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--amarillo);
    color: var(--acero);
    border-color: var(--amarillo);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Dots de navegación */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--amarillo);
    transform: scale(1.2);
}

/* Caption de imagen */
.slide-caption {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: var(--amarillo);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
}

/* ===== ESTILOS COMUNES ===== */
.hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--amarillo);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(42px, 8vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title span {
    color: var(--amarillo);
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: var(--amarillo);
    display: block;
    line-height: 1;
}

.hero-stat small {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content-inner {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 32px;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    
    .slide-caption {
        bottom: 12px;
        right: 12px;
        font-size: 10px;
    }
}

/* Asegurar que los botones del slider sean visibles en móvil */
@media (max-width: 480px) {
    .slider-prev,
    .slider-next {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    
    .slider-prev {
        left: 8px;
    }
    
    .slider-next {
        right: 8px;
    }
}








/* Mejoras para el navbar */
.nav-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .nav-logo-img {
        height: 40px;
    }
}

/* Asegurar que el navbar tenga z-index alto */
#navbar {
    z-index: 1000;
}

/* Mejorar la animación del botón hamburguesa */
.nav-hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--acero);
    transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}