/* ====================================================================
   DEEDPRI - CSS FINAL LIMPIO Y ORGANIZADO (2025)
   Sin duplicados - Optimizado para carrusel
   ==================================================================== */

/* ===== 1. VARIABLES Y RESET ===== */
:root {
  --amarillo: #ffd300;
  --gris-oscuro: #545454;
  --negro: #000;
  --blanco: #ffffff;
  --muted: #f6f6f6;
  --max-width: 1100px;
  --whatsapp: #25D366;
  --azul-rey: #004aad;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #ffd300 0%, #d6d4c4 35%, #fff 100%);
  line-height: 1.55;
  margin: 0;
  padding: 0;
  padding-top: 70px;
}

body.pagina-interna {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
}

a, button { color: var(--gris-oscuro); }
a:hover, button:hover { filter: brightness(1.1); }

section {
  padding: 40px 20px;
  margin-bottom: 30px;
  scroll-margin-top: 80px;
}


/* ===== 2. HEADER PREMIUM SIN TOP BAR ===== */

/* Z-index hierarchy */
.topbar { z-index: 999; }
.social-icons { z-index: 1050; }
.overlay { z-index: 998; }
.nav { z-index: 1000; }
.close-btn { z-index: 1001; }
.hamburger { z-index: 1001; }

/* Header principal - Todo en una línea */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--gris-oscuro);
  color: var(--blanco);
  padding: 1.5rem 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.topbar.scrolled {
  padding: 1.2rem 3rem;
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
  background-color: rgba(84, 84, 84, 0.98);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.topbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1600px;
  padding: 0 5%;
  gap: 2rem;
}

/* Logo */
.branding {
  flex-shrink: 0;
}

.brand-link {
  text-decoration: none;
}

.brand-name {
  font-family: 'League Spartan', sans-serif;
  color: var(--blanco);
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: 2px;
  text-transform: lowercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Punto amarillo animado */
.brand-name::after {
  content: '';
  position: absolute;
  bottom: 8px;
  right: -12px;
  width: 8px;
  height: 8px;
  background: var(--amarillo);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 211, 0, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.2); 
    opacity: 0.8; 
  }
}

.brand-name:hover {
  color: var(--amarillo);
}

/* Navegación Desktop - Nueva */
.nav-desktop {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-desktop a {
  color: var(--blanco);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 0.3rem;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--amarillo);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-desktop a:hover {
  color: var(--amarillo);
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* Social Icons - Ahora al final */
.social-icons {
  position: relative;
  top: auto;
  right: auto;
  display: flex;
  gap: 1.5rem;
  padding-right: 0;
}

.social-icons a {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.social-icons a i {
  pointer-events: none;
}

.social-icons a:hover {
  color: var(--amarillo);
  transform: translateY(-2px);
}

/* Hamburguesa - Solo móvil */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-box {
  width: 28px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 28px;
  height: 3px;
  background-color: var(--blanco);
  border-radius: 4px;
  position: absolute;
  transition: all 0.3s ease;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before {
  content: '';
  top: -9px;
}

.hamburger-inner::after {
  content: '';
  top: 9px;
}

/* Hamburguesa activa (X perfecta) */
/* Hamburguesa activa - OCULTAR cuando menú abierto */
.hamburger.open {
  opacity: 0;
  pointer-events: none;
   display: none !important;
}
.hamburger.open .hamburger-inner {
  transform: rotate(45deg);
}

.hamburger.open .hamburger-inner::before {
  top: 0;
  transform: rotate(90deg);
  background-color: var(--blanco);
}

.hamburger.open .hamburger-inner::after {
  opacity: 0;
  transform: scale(0);
}

/* Menú lateral móvil */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--gris-oscuro);
  padding: 5rem 2rem 2rem;
  box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.nav.open {
  right: 0;
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--blanco);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
  line-height: 1;
  transition: all 0.3s ease;
}

.close-btn:hover {
  color: var(--amarillo);
  transform: rotate(90deg);
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
}

.nav-list li {
  margin-bottom: 1rem;
}

.nav-list a {
  color: var(--blanco);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-list a:hover {
  background: rgba(255, 211, 0, 0.1);
  color: var(--amarillo);
  padding-left: 1.5rem;
}

/* Social en menú móvil */
.social-mobile {
  display: flex;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  justify-content: center;
}

.social-mobile a {
  color: rgba(255,255,255,0.8);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-mobile a:hover {
  color: var(--amarillo);
  transform: translateY(-2px);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 968px) {
  body {
    padding-top: 75px;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .social-icons {
    display: none;
  }
  
  .hamburger {
    display: block;
    margin-right: 0.5rem; /* Separación del borde derecho */
  }
  
  .topbar {
    padding: 1.2rem 1.5rem;
  }
  
  .topbar.scrolled {
    padding: 1rem 1.5rem;
  }
  
  .topbar .inner {
    padding: 0 1rem;
    gap: 1rem;
  }
  
  .brand-name {
    font-size: 2.2rem;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 70px;
  }
  
  .topbar {
    padding: 1rem 1rem;
  }
  
  .topbar.scrolled {
    padding: 0.9rem 1rem;
  }
  
  .topbar .inner {
    padding: 0 0.5rem;
    gap: 0.5rem;
  }
  
  .brand-name {
    font-size: 2rem;
  }
  
  .nav {
    width: 280px;
  }
}

/* Rango 481px a 900px - Hamburguesa necesita más espacio */
@media (min-width: 481px) and (max-width: 900px) {
  .hamburger {
    margin-right: 2.5rem !important; /* Forzar más separación en este rango */
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.8rem;
  }
  
  .nav {
    width: 100%;
  }

  
  .hamburger {
    margin-right: 1.2rem; /* Máxima separación en móvil muy pequeño */
  }
}


/* ===== 3. CARRUSEL HERO ===== */
.hero-carrusel {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.slides-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem 8%;
  min-height: 65vh;
  background: linear-gradient(135deg, #fff 60%, #fff7cc 100%);
  position: relative;
  overflow: hidden;
}

.slide::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -200px;
  width: 80%;
  height: 130%;
  background: linear-gradient(145deg, var(--amarillo) 0%, #ffe86a 100%);
  border-radius: 50% 35% 50% 65% / 50% 40% 60% 45%;
  opacity: 0.25;
  z-index: 0;
}

/* Variantes de color para diferentes slides */
.slide-2 {
  background: linear-gradient(135deg, #f0f9ff 60%, #e0f2fe 100%);
}

.slide-2::before {
  background: linear-gradient(145deg, #3b82f6 0%, #60a5fa 100%);
}

.slide-3 {
  background: linear-gradient(135deg, #fef3e2 60%, #fde68a 100%);
}

.slide-3::before {
  background: linear-gradient(145deg, #f59e0b 0%, #fbbf24 100%);
}

/* Contenido del slide */
.slide-content {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}

.slide-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--gris-oscuro);
  line-height: 1.1;
  text-shadow: 0 3px 10px rgba(0,0,0,0.08);
  margin: 0 0 0.5rem 0;
}

.slide-content p {
  font-size: 1.1rem;
  color: #444;
  margin: 0 0 1rem 0;
  max-width: 480px;
  line-height: 1.6;
}

.slide-content .btn {
  background: var(--amarillo);
  color: var(--gris-oscuro);
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  align-self: flex-start;
  line-height: 1.2;
}

.slide-content .btn:hover {
  background: #ffdf3a;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Imagen del slide */
.slide-image {
  flex: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #f7f7f7);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  max-height: 450px; /* ← Aumentado un poco */
  max-width: 500px;
  z-index: 2;
}

.slide-image img {
  width: auto;
  height: auto;
  max-width: 100%; /* ← AGREGAR */
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08));
  transition: transform 0.5s ease;
  border-radius: 16px;
}

.slide-image:hover img {
  transform: scale(1.04);
}

/* Controles del carrusel */
.carrusel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.nav-prev { left: 20px; }
.nav-next { right: 20px; }

.carrusel-nav button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  font-size: 1.5rem;
  color: var(--gris-oscuro);
}

.carrusel-nav button:hover {
  background: var(--amarillo);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.carrusel-nav button:active {
  transform: scale(0.95);
}

/* Indicadores (dots) */
.carrusel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(84, 84, 84, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background: var(--amarillo);
  border-color: var(--gris-oscuro);
  width: 32px;
  border-radius: 6px;
}

/* === SLIDE PROMOCIONAL === */
.slide-promo {
  background: linear-gradient(135deg, #545454 0%, #6a6a6a 50%, #ffd300 100%) !important;
  min-height: 65vh;
}

.slide-promo::before {
  background: linear-gradient(145deg, var(--amarillo) 0%, #ffe86a 100%);
  opacity: 0.15;
  animation: float-promo 6s ease-in-out infinite;
}

.slide-promo::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: rgba(255, 211, 0, 0.08);
  border-radius: 50%;
  z-index: 0;
  animation: float-promo 8s ease-in-out infinite reverse;
}

.promo-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.promo-badge {
  display: inline-block;
  background: var(--amarillo);
  color: var(--gris-oscuro);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(255, 211, 0, 0.5);
  animation: pulse-promo 2s ease-in-out infinite;
}

.slide-promo .promo-content h1 {
  font-family: 'League Spartan', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin: 0 0 1rem 0;
}

.precio-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

.precio-grande {
  font-family: 'League Spartan', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--amarillo);
  text-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  line-height: 1;
  animation: zoom-price 3s ease-in-out infinite;
}

.precio-antes {
  font-size: 1.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.slide-promo .promo-content p {
  font-size: 1.15rem;
  color: white;
  margin: 1rem 0 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  line-height: 1.6;
  max-width: 480px;
}

.btn-promo {
  background: white;
  color: var(--gris-oscuro);
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  border: 3px solid var(--amarillo);
}

.btn-promo i {
  font-size: 1.1rem;
}

.btn-promo:hover {
  background: var(--amarillo);
  color: var(--gris-oscuro);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 211, 0, 0.5);
}

.promo-image {
  flex: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  max-width: 450px; /* ← AGREGAR: Limita ancho */
  max-height: 400px; /* ← AGREGAR: Limita altura */
}

.promo-image img {
  width: auto; /* ← CAMBIAR de max-width: 100% */
  height: auto;
  max-width: 100%; /* ← AGREGAR */
  max-height: 100%; /* ← CAMBIAR de 380px a 100% */
  object-fit: contain; /* ← AGREGAR: Mantiene proporción */
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

/* ===== 4. SECCIONES ===== */
.section { padding: 28px 0; }
.section-title { font-size: 1.2rem; margin-bottom: 12px; color: var(--negro); }

.section h2 {
  font-size: 2rem;
  color: var(--negro);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: '';
  width: 50px;
  height: 4px;
  background-color: var(--gris-oscuro);
  display: block;
  margin: 10px auto 0;
}

.section-contacto {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #f7f7f7 100%);
  position: relative;
  overflow: hidden;
}

.section-contacto::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--azul-rey);
  opacity: 1;
  border-radius: 50%;
}

.section-title-contacto {
  font-size: 2.2rem;
  color: var(--negro);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title-contacto::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 4px;
  background: var(--amarillo);
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-contacto p {
  font-size: 1.1rem;
  color: var(--negro);
  max-width: 600px;
  margin: 20px auto;
  line-height: 1.6;
}

.section-contacto a {
  color: var(--negro);
  text-decoration: none;
  font-weight: bold;
  background: var(--amarillo);
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-contacto a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

#servicios {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  text-align: center;
}

#servicios .section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  text-align: center;
  width: 100%;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
  max-width: 1600px;  /* ← AGREGAR - mismo ancho que el carousel */
  margin: 0 auto;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  min-height: 380px;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card h3 { font-size: 1.15rem; color: var(--gris-oscuro); margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; color: #555; line-height: 1.5; margin-bottom: 1rem; }

.card img {
  display: block;
  margin: 0 auto;
  width: clamp(100px, 25vw, 140px);
  height: auto;
  background: rgba(255, 211, 0, 0.1);
  border-radius: 50%;
  padding: 10px;
  transition: transform 0.3s ease;
}

.card:hover img { transform: scale(1.08); }

.cards a {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards a:hover { transform: translateY(-6px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15); }
.cards a:active { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }

#ubicacion {
  padding: 1rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  text-align: center;
}

#ubicacion .section-title {
  font-size: 2rem;
  color: var(--negro);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ===== 5. BOTONES ===== */
.btn {
  color: darkblue;
  display: inline-block;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 700;
}

.btn-primary { background: var(--amarillo); color: #222; box-shadow: 0 10px 30px rgba(255,211,0,0.16); }

.btn-volver {
  display: inline-block;
  background-color: var(--amarillo);
  color: var(--gris-oscuro);
  font-weight: 600;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin: 2rem auto;
  text-align: center;
}

.btn-volver:hover {
  background-color: #ffdf3a;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .68s cubic-bezier(.2,.9,.3,1), transform .68s cubic-bezier(.2,.9,.3,1);
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== 7. WHATSAPP ===== */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  animation: fabIn .6s ease-out both;
  z-index: 55;
}

.whatsapp-fab .tooltip {
  position: absolute;
  right: 70px;
  bottom: 50%;
  transform: translateY(50%);
  background: #333;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-fab .tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

.whatsapp-fab:hover .tooltip { opacity: 1; transform: translateY(50%) translateX(-5px); }

/* ===== 8. ANIMACIONES ===== */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  60% { opacity: 1; transform: translateY(-4px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0% { transform: scale(0.9); opacity: 0.6; }
  60% { transform: scale(1.05); opacity: 1; }
  80% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fabIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-content.animating {
  animation: slideIn 0.6s ease-out;
}

@keyframes pulse-promo {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(255, 211, 0, 0.5);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 211, 0, 0.7);
  }
}

@keyframes float-promo {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes bounce-promo {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
}

@keyframes zoom-price {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== 9. PÁGINA DE COPIAS E IMPRESIONES ===== */
/* ====================================================================
   COTIZADOR - COLORES POR RANGO DE CANTIDAD
   ==================================================================== */

/* === RANGO 1-99: GRIS OSCURO === */
#resultado.rango-bajo {
  border-left: 5px solid #545454;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

#resultado.rango-bajo .precio-final {
  color: #545454;
}

#mensaje-descuento.rango-bajo {
  background: linear-gradient(135deg, #545454 0%, #6a6a6a 100%);
  color: white;
}

/* === RANGO 100-999: AMARILLO === */
#resultado.rango-medio {
  border-left: 5px solid #ffd300;
  background: linear-gradient(135deg, #fffef8 0%, #fff9d6 100%);
}

#resultado.rango-medio .precio-final {
  color: #d4a100;
}

#mensaje-descuento.rango-medio {
  background: linear-gradient(135deg, #ffd300 0%, #ffe86a 100%);
  color: #545454;
}

#mensaje-descuento.rango-medio i {
  animation: pulse-amarillo 2s ease-in-out infinite;
}

/* === RANGO 1000+: VERDE === */
#resultado.rango-alto {
  border-left: 5px solid #28a745;
  background: linear-gradient(135deg, #f0fff4 0%, #d4edda 100%);
}

#resultado.rango-alto .precio-final {
  color: #1e7e34;
  font-size: 1.8rem;
  text-shadow: 0 2px 4px rgba(30, 126, 52, 0.2);
}

#mensaje-descuento.rango-alto {
  background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

#mensaje-descuento.rango-alto i {
  animation: rotate-star 3s linear infinite;
}

/* === ANIMACIONES === */
@keyframes pulse-amarillo {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes rotate-star {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* === BADGE DE RANGO (opcional) === */
.badge-rango {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.badge-rango.bajo {
  background: #545454;
  color: white;
}

.badge-rango.medio {
  background: #ffd300;
  color: #545454;
}

.badge-rango.alto {
  background: #28a745;
  color: white;
}

/* === SLIDE 3: BENEFICIOS (MINIMALISTA) === */
.slide-beneficios {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  justify-content: center; /* ← AGREGAR ESTA LÍNEA */
  align-items: center; /* ← AGREGAR ESTA LÍNEA */
}

.slide-beneficios::before {
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--amarillo);
  opacity: 0.1;
  border-radius: 50%;
}

.beneficios-wrapper {
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.beneficios-titulo {
  font-family: 'League Spartan', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--gris-oscuro);
  margin-bottom: 3rem;
  line-height: 1.1;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.beneficio {
  background: white;
  padding: 2rem 1rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.beneficio:hover {
  transform: translateY(-8px);
  border-color: var(--amarillo);
  box-shadow: 0 8px 30px rgba(255, 211, 0, 0.2);
}

.beneficio .icono {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: float-beneficio 3s ease-in-out infinite;
}

.beneficio:nth-child(2) .icono {
  animation-delay: 0.3s;
}

.beneficio:nth-child(3) .icono {
  animation-delay: 0.6s;
}

.beneficio:nth-child(4) .icono {
  animation-delay: 0.9s;
}

.beneficio h3 {
  font-size: 1.1rem;
  color: var(--gris-oscuro);
  font-weight: 700;
}

.beneficios-ubicacion {
  font-size: 1.2rem;
  color: var(--gris-oscuro);
  font-weight: 600;
  margin-top: 2rem;
  opacity: 0.8;
}

@keyframes float-beneficio {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
/* ===========================
   FOOTER COLAPSABLE - DEEDPRI
   Versión: 2.0
   Fecha: 26 Noviembre 2024
   =========================== */

.footer-colapsable {
  background: var(--gris-oscuro);
  color: #f5f5f5;
  margin-top: 4rem;
  position: relative;
}

/* Barra principal del footer (siempre visible) */
.footer-main {
  padding: 1.5rem 0;
  border-top: 3px solid #ffd300;
}

.footer-main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-social-inline {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-link-inline {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f5f5;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.social-link-inline:hover {
  background: #ffd300;
  color: #222;
  transform: translateY(-2px);
}

/* Botón de colapsar/expandir */
.footer-toggle-btn {
  background: #ffd300;
  color: #222;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.footer-toggle-btn:hover {
  background: #ffdf3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 211, 0, 0.3);
}

.footer-toggle-btn:active {
  transform: translateY(0);
}

.footer-toggle-icon {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.footer-toggle-btn.active .footer-toggle-icon {
  transform: rotate(180deg);
}

/* Contenido expandible */
.footer-expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: #333;
}

.footer-expandable.open {
  max-height: 1200px;
  padding: 2rem 0;
  overflow-y: auto;
}

.footer-expandable-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.footer-expandable.open .footer-expandable-content {
  opacity: 1;
  transform: translateY(0);
}

/* Grid del contenido expandido */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
}

/* Columna de marca */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd300;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}
.acerca-de {
color: var(--amarillo);
font-family: 'Poppins', sans-serif;
}

/* Columna de enlaces */
.footer-column h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #ffd300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffd300;
  transform: translateX(5px);
}

/* Columna de contacto */
.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-info-item i {
  color: #ffd300;
  margin-top: 0.2rem;
  font-size: 1rem;
  min-width: 20px;
}

.footer-info-item a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info-item a:hover {
  color: #ffd300;
}

.footer-horario {
  margin-left: 1.75rem;
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.8;
}

.footer-btn-map {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #ffd300;
  color: #222;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.footer-btn-map:hover {
  background: #ffdf3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 211, 0, 0.3);
}

/* ============================================
   CAROUSEL HORIZONTAL DE TRABAJOS
   Agregar al final de deedpriv2.css
   ============================================ */

/* Sección principal */
.trabajos-carousel-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #fff 0%, #f9f9f9 100%);
  width: 100%;
  overflow: hidden;
}

/* Header con título y botón */
.trabajos-header {
  max-width: 1600px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trabajos-header-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gris-oscuro);
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.trabajos-header-content p {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

/* Botón "Ver todos" en desktop */
.btn-ver-todos {
  background: var(--amarillo);
  color: var(--gris-oscuro);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(255, 211, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-ver-todos:hover {
  background: #ffdf3a;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 211, 0, 0.4);
}

.btn-ver-todos i {
  transition: transform 0.3s ease;
}

.btn-ver-todos:hover i {
  transform: translateX(4px);
}

/* Contenedor del carousel */
.carousel-trabajos-container {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 70px;
}

/* Track del carousel */
.carousel-trabajos-track {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
}

.carousel-trabajos-track::-webkit-scrollbar {
  display: none;
}

/* Card individual del carousel */
.trabajo-carousel-card {
  min-width: 320px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.trabajo-carousel-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Imagen del trabajo */
.trabajo-carousel-imagen {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.trabajo-carousel-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trabajo-carousel-card:hover .trabajo-carousel-imagen img {
  transform: scale(1.1);
}

/* Badge destacado */
.trabajo-carousel-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--amarillo);
  color: var(--gris-oscuro);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 2;
}

/* Info del trabajo */
.trabajo-carousel-info {
  padding: 20px;
}

.trabajo-carousel-categoria {
  display: inline-block;
  background: var(--amarillo);
  color: var(--gris-oscuro);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 15px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trabajo-carousel-titulo {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gris-oscuro);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.trabajo-carousel-descripcion {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Botones de navegación */
.carousel-nav-trabajo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  z-index: 10;
  color: var(--gris-oscuro);
  font-size: 1.2rem;
}

.carousel-nav-trabajo:hover {
  background: var(--amarillo);
  transform: translateY(-50%) scale(1.1);
}

.prev-trabajo { left: 10px; }
.next-trabajo { right: 10px; }

/* Botón para móvil (oculto en desktop) */
.trabajos-footer-mobile {
  display: none;
  text-align: center;
  margin-top: 30px;
  padding: 0 20px;
}

.btn-ver-todos-mobile {
  background: var(--amarillo);
  color: var(--gris-oscuro);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(255, 211, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-ver-todos-mobile:hover {
  background: #ffdf3a;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 211, 0, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablets */
@media (max-width: 768px) {
  .trabajos-carousel-section {
    padding: 50px 0;
  }

  .trabajos-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .trabajos-header-content h2 {
    font-size: 2rem;
  }

  .trabajos-header-content p {
    font-size: 1rem;
  }

  /* Ocultar botón desktop, mostrar botón móvil */
  .btn-ver-todos {
    display: none;
  }

  .trabajos-footer-mobile {
    display: block;
  }

  .carousel-trabajos-container {
    max-width: 100%;  /* ← En móvil sí usa 100% */
    padding: 20px 55px;
    overflow: hidden;  /* ← IMPORTANTE: evita desbordamiento */
  }

  .carousel-nav-trabajo {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .prev-trabajo { left: 8px; }
  .next-trabajo { right: 8px; }

  .trabajo-carousel-card {
    min-width: 280px;
  }

  .trabajo-carousel-imagen {
    height: 220px;
  }

}

/* Móvil */
@media (max-width: 640px) {
  .trabajos-carousel-section {
    padding: 40px 0;
  }

  .trabajos-header {
    margin-bottom: 25px;
  }

  .trabajos-header-content h2 {
    font-size: 1.8rem;
  }

  .carousel-trabajos-container {
    padding: 15px 50px;
  }

  .trabajo-carousel-card {
    min-width: 260px;
  }

  .trabajo-carousel-imagen {
    height: 200px;
  }

  .trabajo-carousel-info {
    padding: 18px;
  }

  .carousel-nav-trabajo {
    width: 38px;
    height: 38px;
  }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  .trabajos-header-content h2 {
    font-size: 1.6rem;
  }

  .trabajos-header-content p {
    font-size: 0.95rem;
  }

  .carousel-trabajos-container {
    padding: 15px 45px;
  }

  .trabajo-carousel-card {
    min-width: 240px;
  }

  .trabajo-carousel-titulo {
    font-size: 1rem;
  }

  .trabajo-carousel-descripcion {
    font-size: 0.8rem;
  }

  .carousel-nav-trabajo {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .btn-ver-todos-mobile {
    width: 100%;
    max-width: 300px;
  }
}

/* Desktop grande (1200px+) */
@media (min-width: 1200px) {
  .slide {
    min-height: 85vh !important;
    padding: 4rem 8%;
  }
  
  .slide-promo {
    min-height: 80vh !important;
  }
}

/* Monitores muy grandes (1920px+) */
@media (min-width: 1920px) {
  .slide {
    min-height: 85vh !important;
    padding: 5rem 10%;
  }
  
  .slide-promo {
    min-height: 85vh !important;
  }
  .slide-image {
    max-height: 550px;
    max-width: 600px;
  }
  
}

/* ====================================================================
   AJUSTES PARA MÓVIL - Reemplazar en la sección de media queries
   ==================================================================== */
   /* ===== 10. MEDIA QUERIES ===== */

   /* Responsive */
@media (max-width: 968px) {
  body {
    padding-top: 75px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-expandable.open {
    max-height: 1000px;
    padding: 1.5rem 0;
  }
}

/* Tablet y móvil (max 900px) */
@media (max-width: 900px) {
  .topbar { padding: 1.4rem 0.8rem; }
  body { padding-top: 90px; }
  main > section { scroll-margin-top: 120px; }
  
  .branding { 
    padding-left: 1rem; 
    width: 100%; 
    text-align: left; 
  }
  .brand-name { font-size: 2.4rem; }
  .giro { font-size: 0.9rem; }
  
  .social-icons { 
    top: 0.6rem; 
    right: 1.2rem;
    gap: 0.8rem;
  }
  
  .hamburger {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 2.6rem;
    right: 1rem;
    z-index: 1001;
    pointer-events: auto;
  }
  
  .hamburger-box { display: inline-block !important; }
  
  /* === CARRUSEL EN TABLET/MÓVIL === */
  .hero-carrusel {
    border-radius: 0;
    margin-bottom: 0;
  }

  .slide {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    min-height: auto;
    gap: 1.5rem;
  }

  .slide-content {
    gap: 0.5rem;
    align-items: center;
    order: 1;
  }

  .slide-content h1 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
  }

  .slide-content p {
    font-size: 0.95rem;
    margin: 0.5rem auto 1rem;
    max-width: 100%;
  }

  .slide-content .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    align-self: center;
  }

  .slide::before {
    top: -80px;
    right: -120px;
    width: 100%;
    height: 100%;
  }
  
 .slide-image {
  max-height: 280px;
  width: 100%;
  order: 2;
  background: none; /* ← Quitar el fondo */
  box-shadow: none; /* ← Quitar sombra */
  border-radius: 0; /* ← Sin bordes redondeados */
   display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image img {
  max-height: 250px;
  width: 100%; /* ← Ocupar todo el ancho */
  max-width: 100%; /* ← Sin límite */
  object-fit: contain; /* ← Cubrir todo el espacio */
  border-radius: 0; /* ← Sin bordes */
}

  .carrusel-nav button {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .nav-prev { left: 8px; }
  .nav-next { right: 8px; }
  .carrusel-dots { bottom: 15px; }
  
  /* === PROMOCIÓN EN MÓVIL === */
  .slide-promo {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1rem;
  }
  
  .promo-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    margin-bottom: 0.5rem;
  }
  
  .slide-promo .promo-content h1 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
  }
  
  .precio-container {
    justify-content: center;
    flex-wrap: wrap;
    margin: 0.5rem 0;
    gap: 0.8rem;
  }
  
  .precio-grande {
    font-size: 2.5rem;
  }
  
  .precio-antes {
    font-size: 1.2rem;
  }
  
  .slide-promo .promo-content p {
    font-size: 0.9rem;
    margin: 0.5rem auto 1rem;
    max-width: 100%;
  }
  
  .btn-promo {
    padding: 0.85rem 1.8rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }
  
  .btn-promo i {
    font-size: 1rem;
  }
  
  .promo-image {
    width: 100%;
  }
  
  .promo-image img {
    max-width: 90%;
    max-height: 250px;
  }
  
  /* === SERVICIOS === */
  #servicios {
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #servicios .section-title {
    text-align: center;
    width: 100%;
  }
  
  .cards {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.5rem;
  }
  
  .cards a {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
  }
  
  .card {
    width: 100%;
  }
  
  .beneficios-titulo {
    font-size: 2rem;
  }

  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .beneficio {
    padding: 1.5rem 1rem;
  }

  .beneficio .icono {
    font-size: 2.5rem;
  }

  .beneficio h3 {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  /* Otros estilos responsive... */
  
  /* Cards en 2 columnas en móvil */
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .card {
    padding: 1.2rem 0.8rem;
    min-height: 280px;
  }
  
  .card h3 {
    font-size: 1rem;
  }
  
  .card p {
    font-size: 0.85rem;
  }
  
  .card img {
    width: 100px;
  }
}
@media (max-width: 640px) {
  .footer-main-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .footer-toggle-btn {
    width: auto; /* ← Cambiar de 100% a auto */
    min-width: 200px; /* ← Ancho mínimo */
    justify-content: center;
    margin-top: 0.5rem;
    align-self: center; 
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand {
    grid-column: 1;
  }
  
   .footer-info-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0.5rem;
  }
  
  .footer-horario {
    margin-left: 0;
    text-align: center;
  }
  
  .footer-btn-map {
    display: inline-block; /* ← Cambiar de block a inline-block */
    text-align: center;
    margin-top: 1rem;
  }
  
  /* Asegurar que el contenido sea visible */
  .footer-expandable.open {
    max-height: 1500px; /* ← Más alto para móvil */
    padding: 1rem 0;
  }
  
  .footer-expandable-content {
    padding: 0 1rem;
  }
}
/* === MÓVIL PEQUEÑO (max 600px) === 2 */
@media (max-width: 600px) {
  .slide {
    padding: 1.5rem 1rem;
    gap: 1rem;
    align-items: center;
    order: 1;
  }
  
  .slide-content h1 {
    font-size: 1.6rem;
  }

  .slide-content p {
    font-size: 0.9rem;
    margin: 0.4rem auto 0.8rem;
  }

  .slide-content .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    align-self: center;
  }

  .slide-image {
  max-height: 220px;
  width: 100%;
}

.slide-image img {
  max-height: 220px;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
}
  
  .carrusel-nav button {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .carrusel-dots {
    bottom: 12px;
    gap: 8px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .dot.active {
    width: 24px;
  }
  
  /* === PROMOCIÓN EN MÓVIL PEQUEÑO === */
  .slide-promo {
    padding: 1.5rem 1rem;
  }
  
  .promo-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.9rem;
  }
  
  .slide-promo .promo-content h1 {
    font-size: 1.5rem;
  }
  
  .precio-grande {
    font-size: 2.2rem;
  }
  
  .precio-antes {
    font-size: 1.1rem;
  }
  
  .slide-promo .promo-content p {
    font-size: 0.85rem;
    margin: 0.4rem auto 0.8rem;
  }
  
  .btn-promo {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }
  
  .promo-image img {
    max-height: 220px;
  }
  
  .social-icons { 
    right: 1rem;
    top: 0.8rem;
  }
  
  #servicios { 
    padding: 2rem 1rem; 
  }
  
  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr); /* ← 2x2 en móvil */
    gap: 1rem; /* Gap más pequeño */
  }

  .beneficios-titulo {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .beneficio {
    padding: 1.2rem 0.8rem;
  }

  .beneficio .icono {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .beneficio h3 {
    font-size: 0.9rem;
  }

  .beneficios-ubicacion {
    font-size: 1rem;
    margin-top: 1.5rem;
  }
}

/* === MÓVIL MUY PEQUEÑO (max 400px) === */
@media (max-width: 400px) {
  .slide {
    padding: 1.2rem 0.8rem;
  }
  
  .slide-content h1 {
    font-size: 1.4rem;
  }

  .slide-content p {
    font-size: 0.85rem;
  }

  .slide-content .btn {
    padding: 0.7rem 1.3rem;
    font-size: 0.8rem;
    align-self: center;
  }
  
  .slide-image {
  max-height: 200px;
  width: 100%;
}

.slide-image img {
  max-height: 200px;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
}
  
  .slide-promo .promo-content h1 {
    font-size: 1.3rem;
  }
  
  .precio-grande {
    font-size: 2rem;
  }
  
  .precio-antes {
    font-size: 1rem;
  }
  
  .promo-image img {
    max-height: 200px;
  }
   .cards {
    grid-template-columns: 1fr;
  }
  
  .card {
    min-height: auto;
  }
  .footer-expandable.open {
    max-height: none; /* ← Sin límite de altura */
    padding: 1rem 0;
  }
  
  .footer-links {
    font-size: 0.9rem;
  }
  
  .footer-info-item {
    font-size: 0.85rem;
  }
  
  .footer-btn-map {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}
/* Móvil muy pequeño - Asegurar footer visible */
@media (max-width: 480px) {
  .footer-colapsable {
    position: relative;
    z-index: 10;
  }
  
  .footer-expandable.open {
    max-height: none;
    overflow-y: visible;
  }
  .footer-toggle-btn {
    min-width: 180px; /* ← Un poco más pequeño en móviles muy pequeños */
    padding: 0.5rem 1.2rem; /* ← Padding reducido */
    font-size: 0.85rem;
  }
}
/* FIN */