/* =============================================
       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  { scroll-behavior: smooth; }
    body  { font-family: var(--font-body); color: var(--dark); overflow-x: hidden; }
    h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

    /* =============================================
       NAVBAR
    ============================================= */
    .navbar {
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      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: --blue; transform: translateY(-1px); }

    /* =============================================
       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: 600px; height: 600px; 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: 400px; height: 400px; 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%;
    }

    #blue-card::after {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
      background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
    }
    #orange-card::after {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
      background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
    }
    #blue-card:hover{transform: translateY(-4px); 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 { transform: translateY(-4px); 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 svg path {
      stroke: #ffffff !important;
      fill: #ffffff !important;
    }
    #orange-card--:hover div {
      background: var(--orange) !important;
    }
    #orange-card:hover div {
      background: var(--orange) !important;
    }

    .benefit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(37,99,235,0.1); }
    .benefit-card:hover::after { transform: scaleX(1); }
    .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 { height: 1px; 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 {
      position: absolute; top: 32px;
      left: calc(50% + 32px); right: calc(-50% + 32px);
      height: 2px; background: linear-gradient(90deg, var(--blue), var(--orange));
    }

    /* =============================================
       DEMOS
    ============================================= */
    #demos { background: white; }
    .demo-card {
      border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
      transition: all 0.3s; cursor: pointer; background: white;
    }
    .demo-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(30,37,51,0.12); }
    .demo-preview {
      height: 180px; display: flex; align-items: center; justify-content: center;
      font-size: 3rem; position: relative; overflow: hidden;
    }
    .dp1 { background: linear-gradient(135deg, #1a3a6b, #2563EB); }
    .dp2 { background: linear-gradient(135deg, #3d1f00, #c45c00); }
    .dp3 { background: linear-gradient(135deg, #0d3326, #0f9b6e); }
    .dp4 { background: linear-gradient(135deg, #2a0040, #8b2fc9); }
    .dp5 { background: linear-gradient(135deg, #1f1f1f, #555); }
    .dp6 { background: linear-gradient(135deg, #00284a, #0077b6); }
    .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;
    }
    .demo-cta {
      font-size: 0.82rem; color: var(--blue); font-weight: 700; text-decoration: none;
      display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s;
    }
    .demo-card:hover .demo-cta { gap: 8px; }

    /* =============================================
       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); }

    /* =============================================
       TESTIMONIOS
    ============================================= */
    #testimonios { background: var(--dark); }
    .testimonio-card {
      background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
      border-radius: 16px; height: 100%;
    }
    .testimonio-avatar {
      width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: white;
    }
    .av1 { background: var(--blue); }
    .av2 { background: var(--orange); }
    .av3 { background: #0f9b6e; }

    /* =============================================
       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, var(--blue) 0%, var(--blue-dark) 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); }
    .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(-50px); }
.scroll-animate-right   { transform: translateX(50px); }
.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); /* color de la línea */
  transform: rotate(-10deg);
  transform-origin: center;
}