/* =============================================
   FOXBOX - Design System "Precision Velocity"
   Stack: CSS vanilla + Bootstrap 4 grid
   Mobile-first
   ============================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Paleta principal */
  /* #c41219 → ratio 4.8:1 con blanco (#fff) y 3.4:1 con negro (#181c1e) → cumple WCAG AA texto normal */
  --primary: #c41219;
  --primary-dark: #a31519;
  --on-primary: #ffffff;
  --surface: #f7fafc;
  --surface-container-low: #f1f4f6;
  --surface-container: #ebeef0;
  --surface-container-high: #e5e9eb;
  --surface-container-highest: #e0e3e5;
  --surface-container-lowest: #ffffff;
  --on-surface: #181c1e;
  --on-surface-variant: #5d3f3c;
  --tertiary: #006190;
  --secondary: #555f71;
  --secondary-container: #d6e0f6;
  --outline-variant: #e7bdb8;
  --inverse-surface: #2d3133;

  /* Gradientes */
  /* #c41219 → ratio 4.8:1 con blanco (#fff), cumple WCAG AA. #a31519 → ratio 5.7:1. */
  --gradient-foxbox: linear-gradient(135deg, #c41219, #a31519);
  --gradient-hero: radial-gradient(circle at top right, #3d0000 0%, #1a0202 50%, #000000 100%);

  /* Sombras ambient */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.06);
  --shadow-red: 0 8px 24px rgba(227,30,36,0.25);

  /* Radios */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Tipografía */
  --font-headline: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Legado (compatibilidad con JS existente) */
  --primary-color: #c41219;
  --secondary-color: #181c1e;
  --white-color: #ffffff;
  --black-color: #181c1e;
  --gray-color: #555f71;
  --navbar-bg-color: rgba(255,255,255,0.85);
  --navbar-text-color: #fff;
  --footer-bg-color: #1a1d1f;
  --footer-text-color: #ffffff;
  --faq-bg-color: var(--surface);
}

/* ---------- Reset & Base ---------- */
* { padding: 0; margin: 0; box-sizing: border-box; }

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--on-surface);
  background: var(--surface-container-lowest);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary-dark); text-decoration: none; }

h1, h2, h3 { font-family: var(--font-headline); font-weight: 800; color: var(--on-surface); }
h4, h5 { font-family: var(--font-headline); font-weight: 700; }
h6 { font-family: var(--font-headline); font-weight: 600; }

.white { color: var(--white-color) !important; }
.black { color: var(--on-surface); }

/* ---------- NAVBAR FLOTANTE ---------- */
.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  min-height: auto;
  line-height: normal;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  z-index: 1030;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  right: auto;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  max-width: 100%;
}

.navbar .active {
  color: var(--primary) !important;
}

.navbar .nav-item {
  margin: 0 4px;
  padding: 0;
}

.navbar .nav-item a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  display: block;
}

.navbar .nav-item a:hover {
  color: var(--primary);
  background: rgba(255,255,255,0.08);
}

.navbar .nav-link {
  position: relative;
  padding: 8px 12px;
}

/* Botón Ingresar (último nav-item) */
.navbar .nav-item.nav-cta a {
  background: var(--gradient-foxbox);
  color: var(--on-primary) !important;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  box-shadow: var(--shadow-red);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.navbar .nav-item.nav-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(227,30,36,0.35);
  background: var(--gradient-foxbox);
}

/* Hamburguesa — solo visible en mobile (< 992px), Bootstrap lo maneja con navbar-expand-lg */
.navbar .navbar-toggler {
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.35);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: all 0.3s ease;
  z-index: 1031;
  min-width: 44px;
  min-height: 44px;
  display: none; /* Oculto por defecto (desktop) */
  align-items: center;
  justify-content: center;
}

.navbar .navbar-toggler:hover {
  border-color: var(--primary);
}

.navbar .navbar-toggler span {
  color: #fff;
  font-size: 20px;
}

/* Logo — doble imagen para transición suave sin cambiar src (evita flicker) */
.navbar-logo {
  position: relative;
  display: flex;
  align-items: center;
  width: 120px;
  height: 40px;
}

.navbar-logo .logo-white,
.navbar-logo .logo-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: auto;
  transition: opacity 0.3s ease;
}

/* Estado inicial: logo blanco visible, logo oscuro oculto */
.navbar-logo .logo-white {
  opacity: 1;
}
.navbar-logo .logo-dark {
  opacity: 0;
}

/* Estado scroll: logo oscuro visible, logo blanco oculto */
.nav-scroll .navbar-logo .logo-white {
  opacity: 0;
}
.nav-scroll .navbar-logo .logo-dark {
  opacity: 1;
}

/* Logo unico para paginas internas (terminos, politica-privacidad) */
.logo-1 {
  width: 120px;
  height: auto;
}

.mini-logo {
  width: 150px;
  height: auto;
}

/* Navbar estado scroll (secciones claras) */
.nav-scroll {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(0,0,0,0.06) !important;
  box-shadow: var(--shadow-md);
}

.nav-scroll .navbar-nav > li > a {
  color: var(--on-surface);
}

.nav-scroll .navbar-brand img {
  transform: scale(1) !important;
}

.nav-scroll .navbar-toggler {
  border-color: rgba(0,0,0,0.2);
}

.nav-scroll .navbar-toggler span {
  color: var(--on-surface);
}

.nav-scroll .nav-link:hover:after {
  background-color: var(--primary);
}

.nav-scroll .active {
  position: relative;
}

/* Estilo viejo de enlace subrayado removido */
.navbar-style2 .active:after,
.navbar-style2 .nav-link:after {
  display: none;
}

/* ---------- HERO SECTION ---------- */
.banner {
  background: var(--gradient-hero);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Elementos decorativos de glow */
.banner::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,30,36,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.banner::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,30,36,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.banner a.weblink {
  color: #ffffff;
  border-bottom: 1px dotted #ffffff;
}

.banner a:hover {
  text-decoration: none;
}

/* Banner overlay (wrapper del contenido) */
.banner-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
}

.img-fluid {
  position: relative;
  z-index: 1;
}

.img-circle {
  height: 250px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.img-front {
  position: relative;
  z-index: 1;
}

/* App Carousel en el hero */
#appCarousel .carousel-inner img {
  width: 80%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  animation: floatPhone 6s ease-in-out infinite;
}

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

/* Wave SVG transición hero -> siguiente sección */
.svg-wave {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.banner-text {
  padding-right: 40px;
  margin: 0;
}

.banner-text h2 {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.banner-text .highlight-red {
  color: var(--primary);
}

.banner-text h6 {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.banner-text h6 strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

/* banner-subtitle: mismo estilo visual que h6 pero usando <p> para no romper la jerarquía */
.banner-text .banner-subtitle {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 1rem;
  margin-top: 0;
}

.banner-text .banner-subtitle strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.banner-text p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 24px 0;
  max-width: 540px;
}

/* Checks del banner (bullets con tilde) */
.banner-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  max-width: 540px;
}

.banner-checks li {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  font-weight: 500;
}

.banner-checks li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  color: var(--primary, #c41219);
  font-weight: 700;
}

.banner-text ul {
  list-style: none;
}

.banner-text ul li {
  display: inline-block;
  margin: 0 10px 10px 0;
}

.banner-text ul li a {
  display: block;
}

.banner-text ul li a img {
  width: 150px;
  border-radius: 7px;
  transition: transform 0.3s ease;
}

.banner-text ul li a img:hover {
  transform: translateY(-3px);
}

/* ---------- BOTONES CTA ---------- */
/* Botón primario sólido: usa --primary (#c41219) con texto blanco (#fff) → ratio 4.8:1. Cumple WCAG AA. */
.btn-grad {
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
  background: var(--gradient-foxbox);
  color: #ffffff;
  text-decoration: none;
}

.btn-grad:hover {
  background: var(--primary-dark);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-grad1 {
  padding: .7rem 2rem;
  display: inline-block;
  color: #fff;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--gradient-foxbox);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-grad1:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-grad-alt {
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}

.btn-grad-alt:hover {
  background: #ffffff;
  color: var(--on-surface);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Botones en zona hero */
.action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  position: relative;
  z-index: 5;
}

.action-buttons .btn-grad,
.action-buttons .btn-grad-alt {
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  min-width: 160px;
  justify-content: center;
}

/* Botones sobre fondo oscuro del hero — fondos sólidos con alta especificidad */
.banner .action-buttons .btn-grad {
  background: var(--gradient-foxbox) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(227, 30, 36, 0.4);
}

.banner .action-buttons .btn-grad:hover {
  color: #ffffff !important;
  box-shadow: 0 12px 32px rgba(227, 30, 36, 0.5);
  transform: translateY(-2px);
}

.banner .action-buttons .btn-grad-alt {
  background: #ffffff !important;
  color: var(--on-surface) !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.banner .action-buttons .btn-grad-alt:hover {
  background: #f1f4f6 !important;
  color: var(--on-surface) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.action-buttons .btn-grad {
  background: var(--gradient-foxbox);
  color: var(--on-primary);
  border: none;
  box-shadow: var(--shadow-red);
}

.action-buttons .btn-grad:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(227,30,36,0.4);
}

.action-buttons .btn-grad-alt {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.25);
}

.action-buttons .btn-grad-alt:hover {
  background: #ffffff;
  color: var(--on-surface);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Botones de descarga de apps */
.app-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
  z-index: 5;
}

.app-buttons li {
  list-style: none;
  margin: 0;
}

/* Botones App Store / Play Store con borde y glow rojo */
.app-buttons img {
  width: 140px;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px rgba(227, 30, 36, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-buttons img:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 25px rgba(227, 30, 36, 0.5);
}

/* ---------- FULL SCREEN CAROUSEL (banners) ---------- */
#fullScreenCarousel {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

#fullScreenCarousel .carousel-item {
  transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
}

#fullScreenCarousel .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
  border-radius: var(--radius-lg);
  pointer-events: none;
}

#fullScreenCarousel .carousel-item > a {
  display: block;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

#fullScreenCarousel .banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

#fullScreenCarousel .carousel-control-prev,
#fullScreenCarousel .carousel-control-next {
  z-index: 5;
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  opacity: 0.7;
  transition: all 0.3s ease;
}

#fullScreenCarousel .carousel-control-prev:hover,
#fullScreenCarousel .carousel-control-next:hover {
  opacity: 1;
  background: rgba(255,255,255,0.25);
}

#fullScreenCarousel .carousel-control-prev { left: 16px; }
#fullScreenCarousel .carousel-control-next { right: 16px; }

#fullScreenCarousel .carousel-indicators {
  z-index: 5;
}

#fullScreenCarousel .carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  margin: 0 4px;
  transition: all 0.3s ease;
}

#fullScreenCarousel .carousel-indicators li.active {
  background: var(--primary);
  width: 28px;
  border-radius: var(--radius-pill);
}

/* ---------- SECCIONES GENERALES ---------- */
.prelative {
  position: relative;
}

.section-padding {
  padding: 80px 0;
}

.sectioner-header {
  width: 69%;
  margin: 0 auto;
}

.sectioner-header h3 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 2rem;
  color: var(--on-surface);
}

/* Linea decorativa (sin bordes, solo color) */
.line {
  height: 3px;
  width: 48px;
  background: var(--gradient-foxbox);
  display: block;
  margin: 16px auto 20px;
  border-radius: 2px;
  position: relative;
}

.line::after {
  content: none; /* Removemos la línea punteada vieja */
}

.testimonial .line {
  height: 3px;
  width: 48px;
  background: rgba(255,255,255,0.6);
  display: block;
  margin: 16px auto 20px;
  border-radius: 2px;
}

.testimonial .line::after {
  content: none;
}

.sectioner-header p {
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.7;
}

.section-content {
  margin-top: 60px;
}

.section-content .row {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.section-content li {
  list-style: none;
  font-size: 18px;
}

/* ---------- SERVICIOS ---------- */
.Servicios {
  background: var(--surface);
  padding: 80px 0;
}

.icon-box {
  margin-bottom: 40px;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface-container-lowest);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.icon-box i {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-foxbox);
  color: var(--on-primary);
  font-size: 32px;
  line-height: 80px;
  margin: 0 auto;
  box-shadow: var(--shadow-red);
}

.icon-box h5 {
  margin-top: 20px;
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--on-surface);
}

.icon-box p {
  color: var(--secondary);
  font-size: 14px;
  width: 85%;
  margin: 8px auto 0;
  line-height: 1.6;
}

.Servicios-btn,
.about-btn {
  color: var(--on-primary);
  padding: 14px 40px;
  background: var(--gradient-foxbox);
  border-radius: var(--radius-pill);
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-red);
  border: none;
}

.Servicios-btn:hover,
.about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(227,30,36,0.4);
  color: var(--on-primary);
  text-decoration: none;
}

/* ---------- VIDEO (desactivado actualmente) ---------- */
.video-section {
  background: url(../images/video-bg.jpg) no-repeat fixed center;
  background-size: cover;
  overflow: hidden;
}

.video-overlay {
  background: linear-gradient(to left, rgba(255, 96, 130, 0.9), rgba(250, 159, 170, 0.9));
}

.video-section h3 { font-weight: 600; font-size: 38px; }

.video-section i {
  display: block;
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--white-color);
  color: var(--primary);
  font-size: 30px;
  line-height: 70px;
  margin: 0 auto;
  cursor: pointer;
}

.video-popup {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 99999; background: rgba(0,0,0,0.5);
  display: none; align-items: center; justify-content: center;
}

.video-popup .video-src { position: relative; width: 700px; max-width: 80%; }

.video-popup .iframe-src { width: 100%; height: 0; padding-top: 56.3%; position: relative; display: none; }

.video-popup .iframe-src iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ---------- FEATURES / NUESTRO MANEJO ---------- */
.feature {
  background: var(--surface-container-lowest);
}

.single-feature {
  margin-bottom: 60px;
  margin-top: 40px;
}

.single-feature h5 {
  font-size: 15px;
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--on-surface);
}

.media-right-margin {
  margin-right: 20px;
}

.single-feature p {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.6;
}

.icon-border span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--primary);
  font-size: 18px;
  background: rgba(227,30,36,0.08);
  border: none;
  transition: all 0.3s ease;
}

.single-feature:hover .icon-border span {
  background: var(--gradient-foxbox);
  color: var(--on-primary);
}

/* ---------- DIRECCIONES ---------- */
.team {
  background: var(--surface-container-low);
}

.team-detail {
  margin-top: 32px;
  padding: 28px;
  background: var(--surface-container-lowest);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-detail:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-detail img {
  border-radius: 50%;
  width: 70%;
}

.team-detail h4 {
  color: var(--primary);
  margin-top: 8px;
  font-size: 17px;
  font-family: var(--font-headline);
  margin-bottom: 0;
}

.team-detail p {
  word-break: break-word;
  overflow-wrap: break-word;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- PASOS / TESTIMONIAL ---------- */
.testimonial {
  background: var(--gradient-hero);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Texto blanco para toda la sección testimonial (fondo oscuro) */
.testimonial .sectioner-header h3 {
  color: #ffffff;
}

.testimonial .sectioner-header p {
  color: rgba(255,255,255,0.7);
}

.testimonial::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,30,36,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* BxSlider legado */
.bx-prev { left: -90px !important; background: url(../images/arrow-left.png) no-repeat !important; background-size: 100% 100% !important; }
.bx-next { right: -90px !important; background: url(../images/arrow-right.png) no-repeat !important; background-size: 100% 100% !important; }
.bx-wrapper { border: none !important; background: rgba(255,255,255,0.81) !important; border-radius: 5px !important; box-shadow: none !important; }

.slider-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.slider .test-img img { border: 12px solid var(--white-color); border-radius: 50%; width: 100%; height: auto; }
.test-img { float: left; width: 20%; margin-right: 5%; }
.test-text { float: left; width: 75%; font-size: 16px; color: #333; }
.slider .title { display: block; position: relative; margin: 0 0 20px; font-size: 1.125em; line-height: 1.25; }
.slider .title span { display: block; font-size: 1.5em; font-weight: 700; }
.test-icon { font-size: 70px; color: var(--on-surface); margin-bottom: 15px; text-align: center; }

/* Carousel de pasos estilizado */
.testimonial-steps #stepsCarousel { padding: 20px 0; }

.testimonial-steps .step-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  margin: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.testimonial-steps .step-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.testimonial-steps .step-link { text-decoration: none; display: block; color: #fff; }
.testimonial-steps .step-link:hover { text-decoration: none; color: #fff; }

.testimonial-steps .step-content {
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.testimonial-steps .step-icon {
  background: var(--gradient-foxbox);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-red);
  transition: all 0.3s ease;
}

.testimonial-steps .step-icon i { font-size: 36px; color: white; }

.testimonial-steps .step-info { flex-grow: 1; }

.testimonial-steps .step-title {
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-headline);
  margin-bottom: 8px;
  color: #ffffff;
}

.testimonial-steps .step-description {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.testimonial-steps .carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonial-steps .carousel-control-prev,
.testimonial-steps .carousel-control-next {
  position: relative;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-steps .carousel-control-prev:hover,
.testimonial-steps .carousel-control-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.testimonial-steps .carousel-indicators {
  position: relative;
  margin: 0;
  display: flex;
  gap: 8px;
}

.testimonial-steps .carousel-indicators button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
}

.testimonial-steps .carousel-indicators button.active {
  /* #c41219 → ratio 4.8:1 con blanco (#fff), cumple WCAG AA */
  background: #c41219;
  border-color: #c41219;
  color: #fff;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--surface);
}

.faq-content {
  margin: 16px 0;
  padding: 24px;
  background: var(--surface-container-lowest);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.faq-content:hover {
  background: var(--surface-container-low);
  transform: translateY(-2px);
}

.faq-content h4 {
  font-weight: 600;
  font-size: 17px;
  font-family: var(--font-headline);
  color: var(--on-surface);
  line-height: 1.4;
}

.faq-content p {
  color: var(--secondary);
  font-weight: 400;
  margin-top: 12px;
  line-height: 1.7;
}

/* ---------- DONDE COMPRAR / STORES ---------- */
.buy {
  background: var(--surface-container-lowest);
}

.store-card {
  text-decoration: none;
  display: block;
}

.store-card-container {
  border: none;
  background: var(--surface-container-lowest);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.store-card:hover .store-card-container {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.store-card .card img {
  max-height: 90px;
  object-fit: contain;
  padding: 14px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.store-card:hover .card img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- SECCIÓN CONTACTO — fondo oscuro ---------- */
.contact {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

/* Textos de la sección contacto en blanco */
.contact .sectioner-header h3 {
  color: #ffffff;
}

.contact .sectioner-header p {
  color: rgba(255,255,255,0.7);
}

.contact .line {
  background: rgba(255,255,255,0.6);
}

/* ---------- FORMULARIO DE CONTACTO ---------- */
#contact_form .form-input {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  font-family: var(--font-body);
  color: #ffffff;
}

#contact_form .form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(227,30,36,0.2);
}

#contact_form .form-input::placeholder {
  color: rgba(255,255,255,0.4);
}

input {
  height: 48px;
  padding: 0 1rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(231,189,184,0.2);
  font-family: var(--font-body);
  color: var(--on-surface);
}

/* Inputs dentro del formulario de contacto (fondo oscuro) */
.contact input,
.contact textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(227,30,36,0.1);
}

#contact_form textarea {
  resize: none;
  padding: 1rem;
  height: 150px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  color: #ffffff;
}

#contact_form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(227,30,36,0.2);
}

/* Botón enviar en sección contacto */
.contact .btn-grad {
  background: var(--gradient-foxbox);
  color: var(--on-primary);
  border: none;
  box-shadow: var(--shadow-red);
}

.contact .btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(227,30,36,0.4);
  color: var(--on-primary);
}

.contact-info {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--gradient-foxbox);
  box-shadow: var(--shadow-red);
}

.contact-item {
  margin: 20px 0;
}

.contact-item i { font-size: 20px; }
.contact-item p { line-height: 20px; margin: 0; }

/* ---------- DOWNLOAD / DESCARGA ---------- */
.download {
  background: var(--gradient-hero);
  padding: 100px 0;
  position: relative;
}

.download::before {
  content: "";
  display: block;
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: url(../images/pattern.png);
  opacity: 0.05;
}

.download ul { list-style: none; }
.download ul li { display: inline-block; margin: 0 10px 10px 0; }
.download ul li a { display: block; }
.download ul li a img { width: 150px; border-radius: 7px; }

/* ---------- FOOTER ---------- */
.footer-copy {
  background: var(--footer-bg-color);
  color: var(--footer-text-color);
  padding: 60px 0 24px;
}

.footer-content {
  margin-bottom: 30px;
}

.footer-content p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.7;
}

.footer-title {
  /* Blanco (#fff) sobre fondo footer (#1a1d1f) → ratio 17:1, cumple WCAG AA y AAA */
  color: #ffffff;
  font-size: 1.1rem;
  font-family: var(--font-headline);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-foxbox);
  border-radius: 2px;
}

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

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  /* Subrayado para que los links no se diferencien solo por color (accesibilidad WCAG 1.4.1) */
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-social { margin-top: 20px; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  text-align: center;
  border-radius: 50%;
  margin-right: 8px;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
  font-size: 16px;
}

.footer-social a:hover {
  /* #c41219 → ratio 4.8:1 con blanco (#fff), cumple WCAG AA */
  background: #c41219;
  color: var(--on-primary);
  transform: translateY(-3px);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary);
  width: 16px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  /* rgba(255,255,255,0.55) sobre #1a1d1f → color resultante ~#909294, ratio ≈6.5:1, cumple AA */
  color: rgba(255,255,255,0.55);
}

/* #ff6b6f sobre #1a1d1f → ratio 5.1:1, cumple WCAG AA */
.footer-bottom a {
  color: #ff6b6f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.company-info {
  margin: 15px 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.company-info p {
  margin-bottom: 4px;
  font-size: 13px;
  /* rgba(255,255,255,0.6) sobre #1a1d1f → color resultante ~#9fa1a3, ratio ≈6.8:1, cumple AA */
  color: rgba(255,255,255,0.6);
}

/* #ff6b6f sobre #1a1d1f → ratio 5.1:1, cumple WCAG AA */
.company-info strong {
  color: #ff6b6f;
}

/* ---------- DROPDOWN MENU ---------- */
.dropdown-menu-custom {
  background-color: rgba(0,0,0,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px;
}

.dropdown-menu-custom .dropdown-item {
  color: rgba(255,255,255,0.8);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  transition: all 0.2s ease;
}

.dropdown-menu-custom .dropdown-item.active,
.dropdown-menu-custom .dropdown-item:active,
.dropdown-menu-custom .dropdown-item:focus,
.dropdown-menu-custom .dropdown-item:hover {
  /* #c41219 → ratio 4.8:1 con blanco (#fff), cumple WCAG AA */
  background-color: #c41219 !important;
  color: #ffffff !important;
}

.dropdown-menu-custom .dropdown-item:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.dropdown-menu-custom .dropdown-item.show {
  background-color: #c41219 !important;
  color: #ffffff !important;
}

.dropdown-menu-custom .dropdown-item:visited {
  background-color: transparent;
  color: rgba(255,255,255,0.8);
}

.navbar-collapse {
  padding: 10px;
  border-radius: var(--radius-sm);
}

.nav-scroll .navbar-collapse {
  --background-color: rgba(255,255,255,0.95);
}

/* ---------- MODALES DE SERVICIOS ---------- */
.modal-content {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  overflow: hidden;
}

.modal-header {
  background: var(--surface);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1.5rem 2rem;
}

.modal-title {
  color: var(--on-surface);
  font-weight: 700;
  font-size: 1.3rem;
  font-family: var(--font-headline);
}

.modal-body { padding: 2rem; }

.servicio-icon { color: var(--primary); margin-bottom: 1.5rem; }

.servicio-descripcion { color: var(--secondary); font-size: 1rem; line-height: 1.7; }

.servicio-detalles {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.servicio-detalles ul { list-style-type: none; padding-left: 0; margin-bottom: 0; }

.servicio-detalles ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--surface-container);
  color: var(--secondary);
}

.servicio-detalles ul li:last-child { border-bottom: none; }

.modal-footer {
  border-top: none;
  padding: 1rem 2rem 1.5rem;
  background: var(--surface-container-lowest);
}

.modal-footer .btn {
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.modal-footer .btn-primary {
  background: var(--gradient-foxbox);
  border: none;
  color: white;
  box-shadow: var(--shadow-red);
}

.modal-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227,30,36,0.35);
}

.modal-footer .btn-secondary {
  background: transparent;
  border: 2px solid var(--surface-container-high);
  color: var(--secondary);
}

.modal-footer .btn-secondary:hover {
  background: var(--surface);
  color: var(--on-surface);
}

/* ---------- SLIDER (pasos legado) ---------- */
.slider-item {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 12px 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.06);
}

.slider-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(227,30,36,0.1);
  border-color: rgba(227,30,36,0.2);
}

.slider-link { display: flex; align-items: center; text-decoration: none; color: #333; }
.slider-link:hover { text-decoration: none; color: var(--primary); }

.slider-item .icon-box {
  background: var(--gradient-foxbox);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: var(--shadow-red);
  padding: 0;
}

.slider-item .icon-box i {
  color: white;
  font-size: 28px;
  line-height: 72px;
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
}

.slider-item .test-text { flex-grow: 1; }

.slider-item .title {
  color: var(--primary);
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.slider-item .title span {
  display: inline;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}

.slider-item p {
  color: var(--secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---------- SUCURSALES ---------- */
.sucursales {
  background: var(--surface-container-lowest);
  padding: 80px 0;
}

.sucursal-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sucursal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sucursal-title {
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
  font-family: var(--font-headline);
}

.sucursal-info { margin-bottom: 16px; }

.sucursal-info p {
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: 14px;
}

.sucursal-info i {
  color: var(--primary);
  width: 24px;
  margin-right: 8px;
}

.map-container {
  position: relative;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 16px;
}

.map-container iframe { width: 100%; height: 100%; border: none; pointer-events: auto; }

.map-overlay {
  position: absolute;
  bottom: 0; right: 0;
  width: 120px; height: 30px;
  background: white;
  opacity: 0;
  z-index: 2;
}

.google-maps-button {
  position: absolute;
  top: 10px;
  left: 10px;
  /* #c41219 → ratio 4.8:1 con blanco (#fff), cumple WCAG AA */
  background-color: #c41219;
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  z-index: 3;
  box-shadow: var(--shadow-red);
  transition: all 0.3s ease;
}

.google-maps-button:hover {
  background-color: var(--primary-dark);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Sombreado para agencias y sucursales autorizadas */
.agencias .sucursal-card.autorizada {
  box-shadow: 0 8px 24px rgba(227,30,36,0.12), 0 1px 3px rgba(0,0,0,0.06);
}

.agencias .sucursal-card.autorizada:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(227,30,36,0.2), 0 4px 6px rgba(0,0,0,0.06);
}

.sucursales .sucursal-card:not(.proximamente) {
  box-shadow: var(--shadow-md);
}

.sucursales .sucursal-card:not(.proximamente):hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.sucursales .sucursal-card.autorizada {
  box-shadow: 0 8px 24px rgba(227,30,36,0.12), 0 1px 3px rgba(0,0,0,0.06);
}

.sucursales .sucursal-card.autorizada:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(227,30,36,0.2);
}

/* Sucursal próximamente */
.sucursal-card.proximamente {
  position: relative;
  background: var(--surface-container-low);
  border: 2px dashed var(--surface-container-highest);
  opacity: 0.8;
}

.proximamente-badge {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--gradient-foxbox);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-red);
  z-index: 2;
}

.proximamente-badge i { margin-right: 4px; }

.sucursal-card.proximamente .sucursal-title { color: var(--secondary); }
.sucursal-card.proximamente .sucursal-info p { color: var(--secondary); }

.proximamente-map {
  background: var(--surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--surface-container-high);
  border-radius: var(--radius-sm);
}

.proximamente-content { text-align: center; color: var(--secondary); }
.proximamente-content i { color: var(--primary); margin-bottom: 12px; opacity: 0.6; }
.proximamente-content p { margin-bottom: 4px; font-weight: 500; }
.proximamente-content .small-text { font-size: 12px; color: var(--secondary); font-weight: normal; }

/* ---------- PDF ---------- */
.pdf-container {
  width: 100%;
  height: 50vh;
  overflow: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.pdf-mobile-download {
  display: none;
  text-align: center;
  padding: 20px 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
}

.pdf-mobile-download > i {
  font-size: 24px;
  color: var(--secondary, #555f71);
  margin-bottom: 8px;
  display: block;
}

.pdf-mobile-download p {
  color: var(--secondary);
  margin-bottom: 12px;
  font-size: 13px;
}

/* ---------- FORMULARIO: ESTADO ENVIANDO ---------- */
.btn-sending {
  opacity: 0.7;
  pointer-events: none;
}
.btn-sending i.fa-spin {
  margin-right: 6px;
}

/* ---------- WHATSAPP FLOTANTE ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  color: #fff;
  font-size: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
  color: #fff;
  text-decoration: none;
}

.whatsapp-float-pulse {
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- SCROLL REVEAL (IntersectionObserver) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* =============================================
   RESPONSIVE — MOBILE FIRST
   ============================================= */

/* Tablet y móvil (< 992px) */
@media all and (max-width: 991.98px) {
  /* Mostrar hamburguesa solo en mobile/tablet */
  .navbar .navbar-toggler {
    display: flex;
  }

  .navbar {
    top: 0.5rem;
    width: 96%;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-lg);
  }

  .navbar-collapse {
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    margin-top: 12px;
    padding: 16px;
    border-radius: var(--radius-md);
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.06);
  }

  .dropdown-menu-custom {
    max-height: none;
    overflow: visible;
    position: static;
    width: 100%;
    border: none;
    padding-left: 1.5rem;
    margin: 0 !important;
    background: rgba(0,0,0,0.4) !important;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    padding: 4px 0;
    text-align: center;
  }

  .navbar-nav .nav-item a {
    color: #fff !important;
    padding: 10px 16px;
    display: block;
    border-radius: var(--radius-sm);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-nav .nav-item a:hover {
    color: var(--primary) !important;
    background: rgba(255,255,255,0.06);
  }

  .nav-scroll .navbar-nav .nav-item a {
    color: #fff !important;
  }

  .nav-scroll .navbar-collapse {
    background: rgba(0,0,0,0.92);
  }

  .nav-scroll .navbar-brand img,
  .navbar-brand img {
    transform: scale(0.85) !important;
    -webkit-transform: scale(0.85) !important;
  }

  .banner-text {
    padding-right: 0;
    margin: 10px 0 0;
    text-align: center;
  }

  .banner-text h2 { font-size: 2rem; }

  .banner {
    padding: 100px 0 120px;
    min-height: auto;
  }

  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }

  .section-padding { padding: 48px 0; }

  .banner-text p { margin: 20px auto; }

  .banner-checks {
    display: inline-block;
    text-align: left;
  }

  .banner-text ul li a img { width: 130px; border-radius: 7px; }

  .sectioner-header { width: 90%; }
  .sectioner-header p { font-size: 14px; }

  .about-btn { padding: 8px 28px; margin-top: 0; font-size: 15px; }

  .single-feature { margin-bottom: 24px; margin-top: 16px; }

  .team-detail { margin-top: 16px; padding: 20px; }
  .team-detail img { width: 50%; }

  .bx-controls { display: none; }
  .bx-wrapper { margin: 0 20px !important; }

  .slider .test-img img { margin: 0 auto; }
  .test-img { float: none; width: 160px; height: 160px; margin: 0 auto; }
  .test-text { float: none; width: 100%; text-align: center; }

  .section-content { margin-top: 32px; }

  .faq-content { margin: 8px 0; padding: 20px; }
  .faq-content h4 { font-size: 15px; }
  .faq-content p { font-size: 13px; }

  #contact_form { margin-bottom: 20px; }
  .contact-item { font-size: 13px; }

  .download ul li a img { width: 120px; }

  .footer-copy p { font-size: 11px; }

  .slider-link { flex-direction: column; text-align: center; }
  .slider-item .icon-box { margin: 0 auto 12px; }
  .slider-item { padding: 20px 16px; }
  .slider-item .test-text { text-align: center; }

  /* App buttons centrados en mobile */
  .app-buttons {
    justify-content: center;
  }

  .action-buttons {
    justify-content: center;
  }
}

/* Mobile small (< 768px) */
@media (max-width: 767.98px) {
  .banner-text h2 { font-size: 1.7rem; }

  .app-buttons img { width: 120px; }

  .action-buttons .btn-grad,
  .action-buttons .btn-grad-alt {
    width: 100%;
    max-width: 280px;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-content { text-align: center; margin-bottom: 24px; }

  .footer-title:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social { margin-top: 12px; }
  .footer-contact p { justify-content: center; }

  /* Touch targets */
  .footer-social a { min-width: 44px; min-height: 44px; }
  .carousel-indicators li,
  .carousel-indicators button { min-width: 44px; min-height: 44px; }
  .dropdown-item { padding: 10px 20px; min-height: 44px; }

  /* PDF mobile: ocultar iframe, mostrar card de descarga, ocultar botón desktop */
  .pdf-container { display: none !important; }
  .pdf-mobile-download { display: block !important; }
  .pdf-desktop-download { display: none !important; }

  /* Maps mobile */
  .map-container iframe { pointer-events: none; }
  .map-container { position: relative; }
  .map-container::after {
    content: 'Toca para interactuar con el mapa';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    pointer-events: none;
  }

  .testimonial-steps .step-content {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 16px;
  }

  .testimonial-steps .step-icon {
    width: 72px;
    height: 72px;
  }

  .testimonial-steps .step-icon i { font-size: 28px; }

  .testimonial-steps .step-title { font-size: 18px; }
  .testimonial-steps .step-description { font-size: 14px; }

  /* PDF altura */
  .pdf-container { height: 30vh; }
}

/* Extra small (< 576px) */
@media (max-width: 576px) {
  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .action-buttons .btn-grad,
  .action-buttons .btn-grad-alt {
    width: 100%;
  }

  .store-card-container { height: 120px; }

  .sucursal-card { padding: 20px; }
}

/* =============================================
   DESKTOP (>= 992px)
   ============================================= */
@media (min-width: 992px) {
  .banner-text h2 {
    font-size: 3.5rem;
  }

  .sectioner-header h3 {
    font-size: 2.4rem;
  }

  .navbar .nav-item a {
    font-size: 12px;
  }
}

/* Large desktop (>= 1200px) */
@media (min-width: 1200px) {
  .banner-text h2 {
    font-size: 4rem;
  }
}

/* ---------- PRINT ---------- */
@media print {
  .whatsapp-float { display: none !important; }
  .navbar { display: none !important; }
}

/* ---------- AGENCIAS ---------- */
.agencias {
  background: var(--surface-container-low);
}
