/* =============================================
       ROOT — Variables de marca
    ============================================= */
:root {
  /* Colores */
  --blue: #2563eb;
  --blue-dark: #1849c6;
  --blue-light: #eef4ff;
  --orange: #e84b2b;
  --orange-light: #fff2ef;
  --dark: #1e2533;
  --dark2: #2d3444;
  --gray: #6b7280;
  --light: #f8f9fc;
  --white: #ffffff;
  --border: #e5e9f2;

  /* Tipografía */
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Roboto", sans-serif;
}

/* =============================================
       BASE
    ============================================= */
html {
  scrollbar-gutter: stable;
}
body {
  font-family: var(--font-body);
  background-color: #1e2533;
  color: var(--dark);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  max-width: 100vw;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
img,
video,
svg,
iframe,
embed {
  max-width: 100%;
}
@media (max-width: 991.98px) {
  .section-title,
  .section-label {
    text-align: left;
  }

  .hero-stats {
    justify-content: center !important;
  }

  .container-xl {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* =============================================
       NAVBAR
    ============================================= */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  min-height: 68px;
}
.navbar-brand {
  font-family: "Montserrat";
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--dark) !important;
}
.navbar-brand span {
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}
.navbar-brand-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-brand-icon svg {
  width: 50px;
  height: 50px;
}
.nav-link {
  color: var(--gray) !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--blue) !important;
}
.btn-nav-cta {
  background: var(--blue);
  color: white !important;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  transition:
    background 0.2s,
    transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-nav-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    margin-left: -12px;
    margin-right: -12px;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    width: calc(100% + 24px);
  }
}

/* =============================================
       HERO
    ============================================= */
#hero {
  min-height: 100vh;
  background: var(--dark);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-blob {
  position: absolute;
  width: min(600px, 100vw);
  height: min(600px, 100vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.18) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero-blob2 {
  position: absolute;
  width: min(400px, 80vw);
  height: min(400px, 80vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 75, 43, 0.12) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: 10%;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #7baeff;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  animation: fadeUp 0.6s ease both;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-title .accent {
  color: var(--orange);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-btns {
  animation: fadeUp 0.7s 0.3s ease both;
}
.btn-hero-primary {
  background: var(--orange);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}
.btn-hero-primary:hover {
  background: #c43b1f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 75, 43, 0.35);
  color: white;
}
.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  color: white;
}
.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeUp 0.7s 0.4s ease both;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}
.hero-stat-num span {
  color: var(--orange);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* =============================================
       SECTION LABELS & TITLES
    ============================================= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--orange);
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.text-blue {
  color: var(--blue);
}

/* =============================================
       BENEFICIOS
    ============================================= */
#beneficios {
  background: var(--light);
}
.benefit-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.benefit-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

#blue-card::after {
  background: var(--blue);
}
#orange-card::after {
  background: var(--orange);
}

#blue-card:hover {
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}
#blue-card:hover::after {
  transform: scaleX(1);
}
#blue-card:hover svg path {
  stroke: #ffffff !important;
}
#blue-card:hover div {
  background: var(--blue) !important;
}

#orange-card:hover {
  box-shadow: 0 12px 40px rgba(232, 75, 43, 0.1);
}
#orange-card:hover::after {
  transform: scaleX(1);
}
#orange-card:hover svg path {
  stroke: #ffffff !important;
}
#orange-card:hover div {
  background: var(--orange) !important;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.benefit-icon.bg-blue-light {
  background: var(--blue-light);
}
.benefit-icon.bg-orange-light {
  background: var(--orange-light);
}

/* =============================================
       PLANES
    ============================================= */
#planes {
  background: white;
}
.plan-card {
  border-radius: 20px;
  border: 1.5px solid var(--border);
  position: relative;
  transition: all 0.3s;
  background: white;
  height: 100%;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(30, 37, 51, 0.12);
}
.plan-card.featured {
  background: var(--dark);
  border-color: var(--blue);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  padding: 4px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  white-space: nowrap;
}
.plan-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}
.plan-card.featured .plan-label {
  color: rgba(255, 255, 255, 0.5);
}
.plan-card.featured h3 {
  color: white;
}
.plan-card.featured .text-muted {
  color: rgba(255, 255, 255, 0.45) !important;
}
.plan-price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.plan-card.featured .plan-price-amount {
  color: white;
}
.plan-delivery {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}
.plan-card.featured .plan-delivery {
  background: rgba(37, 99, 235, 0.2);
  color: #7baeff;
}
.plan-divider {
  background: var(--border);
}
.plan-card.featured .plan-divider {
  background: rgba(255, 255, 255, 0.1);
}
.plan-features {
  list-style: none;
  padding: 0;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray);
}
.plan-card.featured .plan-features li {
  color: rgba(255, 255, 255, 0.7);
}
.plan-features li::before {
  content: "✓";
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-card.featured .plan-features li::before {
  color: #7baeff;
}
.btn-plan {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
  text-align: center;
}
.btn-plan-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--dark);
}
.btn-plan-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-plan-orange {
  background: var(--orange);
  color: white;
  border: none;
}
.btn-plan-orange:hover {
  background: #c43b1f;
  transform: translateY(-1px);
  color: white;
}
.btn-plan-blue {
  background: var(--blue);
  color: white;
  border: none;
}
.btn-plan-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  color: white;
}

/* Combo Digital */
.combo-box {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.combo-box::before {
  content: "";
  position: absolute;
  top: -60px;
  right: 200px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
}
.combo-tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
}
.combo-price-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

/* =============================================
       PROCESO
    ============================================= */
#proceso {
  background: var(--light);
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
}
.step-num.n1 {
  background: var(--blue);
}
.step-num.n2 {
  background: linear-gradient(135deg, var(--blue), var(--orange));
}
.step-num.n3 {
  background: var(--orange);
}
.proceso-line {
  display: none; /* Default to hidden for mobile first */
}

@media (min-width: 992px) {
  .proceso-line {
    display: block; /* Show on larger screens */
    position: absolute;
    top: 32px;
    left: calc(50% + 32px);
    right: calc(-50% + 32px);
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
  }
}

/* =============================================
   DEMOS
============================================= */
/* Sección General */
#demos {
  background: white;
}

/* Tarjeta de Demo */
.demo-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
  background: white;
}

.demo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30, 37, 51, 0.12);
}

/* Contenedor de la imagen */
.demo-preview {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: block;
}

/* Fondos de color (Fallback) */

.dp1 {
  background: linear-gradient(135deg, #333333 10%, #666666 50%, #333333 100%);
}
.dp2 {
  background: linear-gradient(
    135deg,
    #133383 10%,
    var(--blue) 50%,
    #133383 100%
  );
}
.dp3 {
  background: linear-gradient(135deg, #555555 10%, #aaaaaa 50%, #555555 100%);
}

/* Estilos de la Imagen */
.demo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}

/* Efecto Zoom en la imagen al hacer hover */
.demo-card:hover .demo-preview img {
  transform: scale(1.08);
}

/* Badge (Opcional, si lo usas) */
.demo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}

/* Link de Acción (Ver Demo) */
.demo-cta {
  color: var(--blue) !important; /* Texto en oro */
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  transition: 0.3s;
}
.demo-cta:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #d4af37;
  transition: 0.3s;
}

.demo-card.coming-soon .demo-cta {
  color: var(--blue);
  text-decoration: none;
}

/* Tarjetas Demo Premium */
.demo-card-premium {
  background: #0d0d0d; /* Negro profundo para que el texto resalte */
  background: linear-gradient(135deg, #0d0d0d 0%, var(--dark) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.demo-card-premium:hover {
  transform: translateY(-10px);
  border-color: #d4af37;
  box-shadow: 0 15px 45px rgba(212, 175, 55, 0.2);
}

/* Badge de esquina */
.premium-badge {
  position: absolute;
  top: 25px;
  right: -32px;
  background: #d4af37;
  color: #292828;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 35px;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

/* Texto de categoría en Oro */
.premium-tag {
  color: #d4af37;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Título Blanco Puro */
.card-title-premium {
  color: #c2a135 !important;
  font-family: var(--font-display);
}

/* Descripción con gris ultra-claro para lectura fácil */
.card-description-premium {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
  font-family: var(--font-body);
}

/* Imagen */
.demo-card-premium .demo-preview img {
  filter: brightness(85%);
  transition: 0.5s ease;
}

.demo-card-premium:hover .demo-preview img {
  filter: brightness(100%);
  transform: scale(1.05);
}

/* Botón interactivo */
.demo-cta-premium {
  color: #d4af37 !important; /* Texto en oro */
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  transition: 0.3s;
  font-family: var(--font-display);
}

.demo-cta-premium span {
  display: inline-block;
  transition: 0.3s;
}

.demo-cta-premium:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #d4af37;
  transition: 0.3s;
}

.demo-cta-premium:hover:after {
  width: 100%;
}

.demo-cta-premium:hover span {
  transform: translateX(5px);
}

/* Tarjetas Demo Normales */
.demo-card-regular {
  background: #ffffff; /* Negro profundo para que el texto resalte */
  background: linear-gradient(135deg, #fffff 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.demo-card-regular:hover {
  transform: translateY(-10px);
  border-color: var(--blue);
  box-shadow: 0 15px 45px rgba(37, 99, 235, 0.2);
}

/* Texto de categoría en Oro */
.regular-tag {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Título Blanco Puro */
.card-title-regular {
  color: var(--blue) !important;
  font-family: var(--font-display);
}

/* Descripción con gris ultra-claro para lectura fácil */
.card-description-regular {
  color: var(--dark2) !important;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
  font-family: var(--font-body);
}

/* Imagen */
.demo-card-regular .demo-preview img {
  filter: brightness(85%);
  transition: 0.5s ease;
}

.demo-card-regular:hover .demo-preview img {
  filter: brightness(100%);
  transform: scale(1.05);
}

/* Botón interactivo */
.demo-cta-regular {
  color: var(--blue) !important; /* Texto en azul */
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  transition: 0.3s;
  font-family: var(--font-display);
}

.demo-cta-regular span {
  display: inline-block;
  transition: 0.3s;
}

.demo-cta-regular:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--blue);
  transition: 0.3s;
}

.demo-cta-regular:hover:after {
  width: 100%;
}

.demo-cta-regular:hover span {
  transform: translateX(5px);
}



/* Tarjetas Personalizadas por proyecto a medida */
.demo-card-proy {
  --current-color: var(--proy-color, var(--blue-dark));
  --current-color-light: var(--proy-shadow, rgba(37, 99, 235, 0.1));
  background: #ffffff; /* Negro profundo para que el texto resalte */
  background: linear-gradient(135deg, #fffff 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.demo-card-proy:hover {
  transform: translateY(-10px);
  border-color: var(--current-color);
  box-shadow: 0 15px 45px var(--current-color-light);
}

/* Texto de categoría en Oro */
.proy-tag {
  color: var(--current-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Título Blanco Puro */
.card-title-proy {
  color: var(--current-color) !important;
  font-family: var(--font-display);
}

/* Descripción con gris ultra-claro para lectura fácil */
.card-description-proy {
  color: var(--dark2) !important;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
  font-family: var(--font-body);
}

/* Imagen */
.demo-card-proy .demo-preview img {
  filter: brightness(85%);
  transition: 0.5s ease;
}

.demo-card-proy:hover .demo-preview img {
  filter: brightness(100%);
  transform: scale(1.05);
}

/* Botón interactivo */
.demo-cta-proy {
  color: var(--current-color) !important; /* Texto en azul */
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  transition: 0.3s;
  font-family: var(--font-display);
}

.demo-cta-proy span {
  display: inline-block;
  transition: 0.3s;
}

.demo-cta-proy:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--current-color);
  transition: 0.3s;
}

.demo-cta-proy:hover:after {
  width: 100%;
}
.demo-cta-proy:hover span {
  transform: translateX(5px);
}
/* =============================================
       SERVICIOS
    ============================================= */
#servicios {
  background: var(--light);
}
.servicio-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  height: 100%;
}
.servicio-card:hover {
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08);
  border-color: var(--blue);
}
.servicio-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--blue-light);
}
.addon-item {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.addon-item:hover {
  border-color: var(--blue);
}
/* =============================================
       CONTACTO
    ============================================= */
#contacto {
  background: white;
}
.contacto-wa {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #25d366;
  color: white;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-display);
  transition: all 0.2s;
}
.contacto-wa:hover {
  background: #1da84f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  color: white;
}
.contacto-form-wrap {
  background: var(--light);
  border-radius: 20px;
}
.form-control,
.form-select {
  border: 1.5px solid var(--border) !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  border-radius: 10px !important;
  padding: 12px 16px !important;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
}
.btn-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: var(--blue);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
}
.btn-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* =============================================
       CTA FINAL
    ============================================= */
.cta-final {
  background: linear-gradient(
    135deg,
    #133383 10%,
    var(--blue) 50%,
    #133383 100%
  );
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\'%3E%3Cg fill=\'%23ffffff\' fill-opacity=\'0.04\'%3E%3Ccircle cx=\'30\' cy=\'30\' r=\'2\'%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-final-inner {
  position: relative;
  z-index: 1;
}
.btn-cta-white {
  background: white;
  color: var(--blue);
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: var(--blue);
}

/* =============================================
       FOOTER
    ============================================= */
footer {
  background: var(--dark);
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  display: block;
}
.footer-link:hover {
  color: white;
}
.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.footer-brand {
  font-family: "Montserrat";
  font-weight: 800;
  font-size: 1.1rem;
  color: white !important;
}
.footer-brand span {
  color: var(--blue);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

/* =============================================
       WHATSAPP FLOTANTE
    ============================================= */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  animation: pulse 2s infinite;
}

/* =============================================
       ANIMACIONES
    ============================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow:
      0 4px 30px rgba(37, 211, 102, 0.8),
      0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

/* ==========================================================================
   ANIMACIONES (Scroll & Keyframes)
   ========================================================================== */
.scroll-animate,
.scroll-animate-left,
.scroll-animate-right,
.scroll-animate-scale {
  opacity: 0;
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.scroll-animate {
  transform: translateY(50px);
}
.scroll-animate-left {
  transform: translateX(-30px);
}
.scroll-animate-right {
  transform: translateX(30px);
}
.scroll-animate-scale {
  transform: scale(0.85);
  transition-duration: 0.6s;
}

.animate-in {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delays */
.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}
.delay-400 {
  transition-delay: 0.4s;
}
.delay-500 {
  transition-delay: 0.5s;
}

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

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

.animate-float {
  animation: float 3s ease-in-out infinite;
}
.old-price {
  position: relative;
  color: #999;
  margin-right: 10px;
  font-size: 0.9em;
}

.old-price::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: rotate(-10deg);
  transform-origin: center;
}

#beneficios,
#planes,
#proceso,
#demos,
#servicios,
#contacto,
.cta-final,
footer {
  overflow-x: hidden;
}

/* =============================================
   BURGER BUTTON
============================================= */
.burger-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
  position: relative;
  z-index: 1001;
}
.burger-btn:hover {
  background: var(--light);
  border-color: var(--blue);
}
.burger-line {
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition:
    transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.2s ease,
    width 0.3s ease;
  transform-origin: center;
}
/* Animación → X */
.burger-btn.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-btn.open .burger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.burger-btn.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   DRAWER OVERLAY
============================================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.35s ease;
  width: 100%;
}
.drawer-overlay.open {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: all;
  backdrop-filter: blur(2px);
}

/* =============================================
   DRAWER
============================================= */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--white);
  z-index: 1051;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    visibility 0s linear 0.4s;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
}
.drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    visibility 0s linear 0s;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  height: 68px;
}
.drawer-brand {
  font-family: "Montserrat";
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
}
.drawer-brand span {
  color: var(--orange);
  font-weight: 500;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  transition:
    background 0.2s,
    color 0.2s;
}
.drawer-close:hover {
  background: var(--dark);
  color: white;
}

.drawer-nav {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition:
    background 0.2s,
    color 0.2s,
    gap 0.2s;
  position: relative;
}
.drawer-link:hover {
  background: var(--blue-light);
  color: var(--blue);
  gap: 18px;
}
.drawer-link-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  min-width: 22px;
}
.drawer-link:hover .drawer-link-num {
  color: var(--blue);
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

#faqAccordion {
  min-height: 580px;
}

#faq {
  background: var(--light);
  padding-bottom: 0.7rem !important;
}
.accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.accordion-button {
  background-color: transparent;
  color: var(--dark);
  border-radius: 10px;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  transition: all 0.2s;
}

.accordion-button:not(.collapsed) {
  background-color: var(--blue);
  color: #ffffff;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}
.accordion-item {
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid white;
}
.accordion-body {
  color: var(--gray);
}

@media (max-width: 991.98px) {
  #faqAccordion {
    min-height: 800px;
  }
}

@media (max-width: 575.98px) {
  #faqAccordion {
    min-height: 750px;
  }
}
