/* ============================================================
   SCALEXPERTS DIGITAL — style.css
   Estructura:
   1.  Variables & Reset
   2.  Keyframes / Animaciones
   3.  Loading Screen
   4.  Barra de progreso de scroll
   5.  Barra de anuncio
   6.  Navegación
   7.  Menú mobile
   8.  Componente Glass & utilidades compartidas
   9.  Layout (container, section-header)
   10. Botones
   11. Hero
   12. Logos Marquee
   13. Servicios (Features)
   14. Proceso
   15. Estadísticas
   16. Testimonios
   17. Precios
   18. FAQ
   19. Modal / Formulario de contacto
   20. CTA
   21. Footer
   22. Botones flotantes
   23. Reveal (animación de entrada)
   24. Responsive
============================================================ */


/* ── 1. VARIABLES & RESET ──────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --verde:        #00d084;
    --verde-dark:   #00a86b;
    --fondo:        #050505;
    --glass:        rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-hover:  rgba(255, 255, 255, 0.10);
    --muted:        rgba(255, 255, 255, 0.65);
    --gradient:     linear-gradient(135deg, #00d084, #00a86b);
    --t:            all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--fondo);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}


/* ── 2. KEYFRAMES / ANIMACIONES ────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0   rgba(0, 208, 132, 0.4); }
    70%       { box-shadow: 0 0 0 8px rgba(0, 208, 132, 0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes loadFill {
    from { width: 0; }
    to   { width: 100%; }
}


/* ── 3. LOADING SCREEN ─────────────────────────────────── */
#loading {
    position: fixed;
    inset: 0;
    background: var(--fondo);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity .5s ease, visibility .5s ease;
}

#loading.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.load-logo {
    font-size: 26px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.load-bar {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, .10);
    border-radius: 99px;
    overflow: hidden;
}

.load-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 99px;
    animation: loadFill 1.2s ease forwards;
}


/* ── 4. BARRA DE PROGRESO DE SCROLL ────────────────────── */
#progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--gradient);
    z-index: 9998;
    transition: width .1s linear;
}


/* ── 5. BARRA DE ANUNCIO ───────────────────────────────── */
#ann {
    background: var(--gradient);
    color: #0a0a0a;
    text-align: center;
    padding: 10px 48px 10px 20px;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: height .3s ease, opacity .3s ease, padding .3s ease;
}

#ann a {
    color: #0a0a0a;
    text-decoration: underline;
    font-weight: 700;
}

#ann .ann-close {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: #0a0a0a;
    font-size: 20px;
    line-height: 1;
    opacity: .6;
    transition: opacity .2s;
}

#ann .ann-close:hover {
    opacity: 1;
}


/* ── 6. NAVEGACIÓN ─────────────────────────────────────── */
nav {
    position: fixed;
    top: 40px; /* espacio para la barra de anuncio */
    left: 0;
    right: 0;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--t);
    animation: slideDown .6s ease-out;
}

/* Nav con fondo al hacer scroll */
nav.scrolled {
    background: rgba(5, 5, 5, .93);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: 11px 40px;
    top: 0;
}

/* Nav cuando se cierra la barra de anuncio sin scroll */
nav.ann-gone {
    top: 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 1001;
}

.logo img {
    height: 46px;
    width: auto;
}

/* Botón hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--verde);
    border-radius: 2px;
    transition: var(--t);
    display: block;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Menú desktop */
.nav-menu {
    display: flex;
    gap: 34px;
    align-items: center;
    list-style: none;
}

.nav-menu a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: color .3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--verde);
    transition: width .3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--verde);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Botón CTA del nav */
.nav-cta {
    background: var(--gradient) !important;
    color: #0a0a0a !important;
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--t);
    box-shadow: 0 4px 15px rgba(0, 208, 132, .30);
    text-decoration: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 208, 132, .45);
}

.nav-cta::after {
    display: none !important;
}


/* ── 7. MENÚ MOBILE ────────────────────────────────────── */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 998;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 40px;
}

.mobile-menu.active {
    display: flex;
    animation: fadeIn .3s ease;
}

.mobile-menu a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    font-weight: 600;
    font-size: 22px;
    padding: 14px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: color .3s;
}

.mobile-menu a:hover {
    color: var(--verde);
}

.mobile-menu .nav-cta {
    font-size: 18px !important;
    padding: 14px 40px;
    margin-top: 16px;
    width: auto;
}


/* ── 8. GLASS & UTILIDADES COMPARTIDAS ─────────────────── */
.glass {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}


/* ── 9. LAYOUT ─────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 208, 132, .10);
    border: 1px solid rgba(0, 208, 132, .20);
    color: var(--verde);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.12;
}

.section-header h2 .verde {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 17px;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
}


/* ── 10. BOTONES ───────────────────────────────────────── */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--t);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient);
    color: #0a0a0a;
    box-shadow: 0 8px 24px rgba(0, 208, 132, .30);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 208, 132, .45);
}

.btn-secondary {
    background: var(--glass);
    color: #fff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-hover);
    border-color: rgba(0, 208, 132, .40);
    color: var(--verde);
}


/* ── 11. HERO ──────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 40px 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Orbs decorativos de fondo */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0, 208, 132, .12), transparent 70%);
    top: -200px; left: -200px;
    animation: float 7s ease-in-out infinite;
}

.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 208, 132, .08), transparent 70%);
    bottom: -100px; right: -100px;
    animation: float 9s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0, 168, 107, .10), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: float 5s ease-in-out infinite;
}

.hero-content {
    max-width: 860px;
    position: relative;
    z-index: 1;
}

/* Badge superior */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 208, 132, .10);
    border: 1px solid rgba(0, 208, 132, .25);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--verde);
    margin-bottom: 28px;
    animation: fadeUp .6s ease-out .1s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--verde);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Título principal */
.hero h1 {
    font-size: clamp(42px, 7vw, 78px);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 22px;
    animation: fadeUp .6s ease-out .2s both;
}

/* Texto rotativo */
.rotating-text {
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity .35s ease, transform .35s ease;
}

.rotating-text.out {
    opacity: 0;
    transform: translateY(-10px);
}

/* Subtítulo */
.hero .subtitle {
    font-size: 18px;
    color: var(--muted);
    margin: 0 auto 20px;
    max-width: 600px;
    line-height: 1.7;
    animation: fadeUp .6s ease-out .3s both;
}

.hero .subtitle strong {
    color: var(--verde);
    font-weight: 600;
}

/* Badges de confianza */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    animation: fadeUp .6s ease-out .35s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.trust-check {
    width: 18px;
    height: 18px;
    background: rgba(0, 208, 132, .15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde);
    font-size: 10px;
    flex-shrink: 0;
}

/* Botones del hero */
.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeUp .6s ease-out .4s both;
}

/* Prueba social */
.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    animation: fadeUp .6s ease-out .5s both;
}

.avatars {
    display: flex;
}

.av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--fondo);
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #0a0a0a;
    margin-left: -10px;
}

.av:first-child {
    margin-left: 0;
}

.proof-text {
    font-size: 13px;
    color: var(--muted);
}

.proof-text strong {
    color: #fff;
}

.stars {
    color: #ffc107;
    font-size: 12px;
}


/* ── 12. LOGOS MARQUEE ─────────────────────────────────── */
.logos-section {
    padding: 36px 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    overflow: hidden;
}

.logos-label {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .30);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 22px;
}

.marquee-wrap {
    position: relative;
    overflow: hidden;
}

/* Fade en los bordes */
.marquee-wrap::before,
.marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
}

.marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--fondo), transparent);
}

.marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--fondo), transparent);
}

.marquee-track {
    display: flex;
    gap: 64px;
    width: max-content;
    animation: marquee 22s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.client-name {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, .22);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .3s;
}

.marquee-track:hover .client-name {
    color: rgba(255, 255, 255, .38);
}


/* ── 13. SERVICIOS (FEATURES) ──────────────────────────── */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
    perspective: 1200px; /* necesario para el efecto 3D tilt */
}

.feature-card {
    padding: 36px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--t);
    transform-style: preserve-3d;
}

/* Línea verde superior al hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.feature-card:hover {
    border-color: rgba(0, 208, 132, .20);
    box-shadow: 0 24px 48px rgba(0, 208, 132, .08);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feat-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 208, 132, .10);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--t);
}

.feature-card:hover .feat-icon {
    background: rgba(0, 208, 132, .18);
    transform: scale(1.06);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card h3 .verde {
    color: var(--verde);
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}


/* ── 14. PROCESO ───────────────────────────────────────── */
.process {
    padding: 100px 0;
    background: rgba(255, 255, 255, .018);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
}

.process-connector {
    display: none;
    position: absolute;
    top: 68px;
    left: calc(33.33% + 12px);
    right: calc(33.33% + 12px);
    height: 1px;
    background: rgba(0, 208, 132, .30);
}

.process-step {
    text-align: center;
    padding: 36px 24px;
}

/* Número de paso circular */
.step-num {
    width: 62px;
    height: 62px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #0a0a0a;
    margin: 0 auto 22px;
    position: relative;
    z-index: 1;
}

/* Borde giratorio */
.step-num::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 208, 132, .30);
    animation: spin 12s linear infinite;
}

.process-step h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}


/* ── 15. ESTADÍSTICAS ──────────────────────────────────── */
.stats {
    padding: 80px 0;
}

.stats-inner {
    padding: 56px 80px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.stats-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 208, 132, .05), transparent 65%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

/* Separador vertical entre stats */
.stat-item::after {
    content: '';
    position: absolute;
    right: 0; top: 15%; bottom: 15%;
    width: 1px;
    background: rgba(255, 255, 255, .07);
}

.stat-item:last-child::after {
    display: none;
}

.stat-item h3 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}


/* ── 16. TESTIMONIOS ───────────────────────────────────── */
.testimonials {
    padding: 100px 0;
}

.t-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.t-card {
    padding: 34px;
    border-radius: 20px;
    position: relative;
    transition: var(--t);
}

.t-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 208, 132, .20);
}

.t-card.featured {
    border-color: rgba(0, 208, 132, .30);
    background: rgba(0, 208, 132, .04);
}

.t-stars {
    color: #ffc107;
    font-size: 13px;
    margin-bottom: 14px;
}

.t-quote {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    line-height: 1.72;
    margin-bottom: 22px;
    font-style: italic;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-av {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0a0a0a;
    font-size: 15px;
    flex-shrink: 0;
}

.t-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.t-info span {
    font-size: 12px;
    color: var(--muted);
}

/* Comilla decorativa */
.t-mark {
    position: absolute;
    top: 18px; right: 22px;
    font-size: 56px;
    color: rgba(0, 208, 132, .10);
    font-family: Georgia, serif;
    line-height: 1;
}


/* ── 17. PRECIOS ───────────────────────────────────────── */
.pricing {
    padding: 100px 0;
    background: rgba(255, 255, 255, .018);
}

/* Toggle mensual / anual */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
}

.t-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color .3s;
}

.t-label.on {
    color: #fff;
}

.toggle {
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, .10);
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    border: none;
    transition: var(--t);
}

.toggle.on {
    background: rgba(0, 208, 132, .30);
}

.toggle::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: var(--t);
}

.toggle.on::after {
    transform: translateX(24px);
    background: var(--verde);
}

.save-tag {
    background: rgba(0, 208, 132, .15);
    color: var(--verde);
    border: 1px solid rgba(0, 208, 132, .25);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

/* Grid de planes */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    align-items: center;
}

.p-card {
    padding: 38px 34px;
    border-radius: 20px;
    position: relative;
    transition: var(--t);
}

.p-card:hover {
    transform: translateY(-5px);
}

.p-card.popular {
    border-color: rgba(0, 208, 132, .40);
    background: rgba(0, 208, 132, .05);
    transform: scale(1.03);
}

.p-card.popular:hover {
    transform: scale(1.03) translateY(-5px);
}

.popular-tag {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #0a0a0a;
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.p-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--verde);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.p-price {
    margin-bottom: 6px;
}

.p-amount {
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
}

.p-period {
    font-size: 14px;
    color: var(--muted);
}

.p-desc {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 26px;
    line-height: 1.5;
}

.p-features {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.p-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: rgba(255, 255, 255, .82);
}

.p-features li .fc {
    color: var(--verde);
    font-size: 13px;
    margin-top: 1px;
    flex-shrink: 0;
}

.p-features li.off {
    color: rgba(255, 255, 255, .28);
}

.p-features li.off .fc {
    color: rgba(255, 255, 255, .20);
}

/* Botones de precio */
.p-btn {
    width: 100%;
    padding: 13px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--t);
    text-align: center;
    display: block;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    border: none;
}

.p-btn-green {
    background: var(--gradient);
    color: #0a0a0a;
    box-shadow: 0 8px 24px rgba(0, 208, 132, .30);
}

.p-btn-green:hover {
    box-shadow: 0 12px 32px rgba(0, 208, 132, .45);
    transform: translateY(-2px);
}

.p-btn-ghost {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .10);
}

.p-btn-ghost:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(0, 208, 132, .30);
    color: var(--verde);
}


/* ── 18. FAQ ────────────────────────────────────────────── */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    transition: border-color .3s;
}

.faq-item.open {
    border-color: rgba(0, 208, 132, .25);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    transition: color .3s;
}

.faq-item.open .faq-q {
    color: var(--verde);
}

.faq-ic {
    width: 26px;
    height: 26px;
    background: rgba(0, 208, 132, .10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde);
    font-size: 16px;
    flex-shrink: 0;
    transition: var(--t);
}

.faq-item.open .faq-ic {
    transform: rotate(45deg);
    background: rgba(0, 208, 132, .20);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.faq-a-inner {
    padding: 0 24px 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.72;
}


/* ── 19. MODAL / FORMULARIO DE CONTACTO ────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .80);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #0e0e0e;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    width: 100%;
    max-width: 540px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    animation: fadeUp .35s ease;
    scrollbar-width: none;
}

.modal-box::-webkit-scrollbar {
    display: none;
}

.modal-close {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255, 255, 255, .07);
    border: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    color: rgba(255, 255, 255, .50);
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t);
}

.modal-close:hover {
    background: rgba(255, 255, 255, .13);
    color: #fff;
}

/* Indicador de pasos */
.modal-steps {
    display: flex;
    gap: 6px;
    margin-bottom: 22px;
}

.mdot {
    height: 3px;
    border-radius: 2px;
    flex: 1;
    background: rgba(255, 255, 255, .12);
    transition: background .3s;
}

.mdot.on {
    background: var(--verde);
}

.modal-head {
    margin-bottom: 26px;
}

.modal-head h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 5px;
}

.modal-head p {
    color: var(--muted);
    font-size: 13px;
}

/* Pasos del formulario */
.mstep {
    display: none;
}

.mstep.active {
    display: block;
}

/* Grid de 2 columnas en campos */
.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Grupo de campo */
.fg {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.fg label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .50);
    letter-spacing: .8px;
    text-transform: uppercase;
}

/* Inputs, selects y textareas del modal */
.fi, .fs, .ft {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
    padding: 11px 14px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color .3s;
    width: 100%;
}

.fi:focus, .fs:focus, .ft:focus {
    border-color: rgba(0, 208, 132, .50);
    background: rgba(0, 208, 132, .04);
}

.fi::placeholder, .ft::placeholder {
    color: rgba(255, 255, 255, .22);
}

.fs {
    appearance: none;
    cursor: pointer;
}

.fs option {
    background: #1a1a1a;
    color: #fff;
}

.ft {
    resize: none;
    height: 88px;
}

/* Acciones del modal */
.mactions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.mactions .btn {
    flex: 1;
    justify-content: center;
    font-size: 14px;
    padding: 12px 20px;
}

/* Pantalla de éxito */
.msuccess {
    display: none;
    text-align: center;
    padding: 16px 0 8px;
}

.msuccess-icon {
    width: 64px; height: 64px;
    background: rgba(0, 208, 132, .12);
    border: 2px solid rgba(0, 208, 132, .30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 18px;
}

.msuccess h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.msuccess p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

/* Campo con error */
.fi.error, .fs.error {
    border-color: rgba(255, 80, 80, .50);
}


/* ── 20. CTA ────────────────────────────────────────────── */
.cta-section {
    padding: 100px 0;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-inner h2 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
}

.cta-inner h2 .verde {
    color: var(--verde);
}

.cta-inner p {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 38px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cta-fine {
    font-size: 12px;
    color: rgba(255, 255, 255, .35);
}

.cta-fine strong {
    color: rgba(255, 255, 255, .55);
}


/* ── 21. FOOTER ─────────────────────────────────────────── */
footer {
    background: rgba(0, 0, 0, .40);
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 60px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 48px;
}

.foot-brand img {
    height: 38px;
    width: auto;
    margin-bottom: 14px;
    display: block;
}

.foot-brand p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 240px;
}

.socials {
    display: flex;
    gap: 8px;
}

.soc {
    width: 36px; height: 36px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
    transition: var(--t);
    font-weight: 700;
}

.soc:hover {
    background: rgba(0, 208, 132, .15);
    border-color: rgba(0, 208, 132, .30);
    color: var(--verde);
    transform: translateY(-2px);
}

.foot-col h4 {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.foot-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.foot-col ul a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color .3s;
}

.foot-col ul a:hover {
    color: var(--verde);
}

/* Newsletter */
.foot-news p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.nl-form {
    display: flex;
    gap: 6px;
}

.nl-input {
    flex: 1;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 10px 16px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color .3s;
}

.nl-input:focus {
    border-color: rgba(0, 208, 132, .40);
}

.nl-input::placeholder {
    color: rgba(255, 255, 255, .28);
}

.nl-btn {
    background: var(--gradient);
    color: #0a0a0a;
    border: none;
    border-radius: 50px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--t);
    font-family: 'Poppins', sans-serif;
}

.nl-btn:hover {
    box-shadow: 0 4px 16px rgba(0, 208, 132, .35);
}

.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.foot-bottom p {
    color: rgba(255, 255, 255, .30);
    font-size: 13px;
}

.foot-bottom strong {
    color: var(--verde);
}

.foot-links {
    display: flex;
    gap: 18px;
}

.foot-links a {
    color: rgba(255, 255, 255, .30);
    text-decoration: none;
    font-size: 12px;
    transition: color .3s;
}

.foot-links a:hover {
    color: var(--verde);
}


/* ── 22. BOTONES FLOTANTES ─────────────────────────────── */
.floats {
    position: fixed;
    bottom: 26px; right: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 990;
}

.float-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--t);
    border: none;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
}

.wa-btn {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .40);
}

.wa-btn:hover {
    box-shadow: 0 6px 28px rgba(37, 211, 102, .55);
}

.top-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--verde);
    backdrop-filter: blur(10px);
    font-size: 18px;
    opacity: 0;
    pointer-events: none;
}

.top-btn.show {
    opacity: 1;
    pointer-events: all;
}

.top-btn:hover {
    background: rgba(0, 208, 132, .15);
    border-color: rgba(0, 208, 132, .30);
}


/* ── 23. REVEAL (animación de entrada al scroll) ───────── */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}

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


/* ── 24. RESPONSIVE ────────────────────────────────────── */
@media (min-width: 900px) {
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .process-connector { display: block; }
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hamburger          { display: flex; }
    .nav-menu           { display: none; }
    nav                 { padding: 14px 20px; }
    nav.scrolled        { padding: 10px 20px; }
    .container          { padding: 0 20px; }
    .hero               { padding: 120px 20px 60px; }
    .hero h1            { font-size: 36px; }
    .features           { padding: 70px 0; }
    .features-grid      { grid-template-columns: 1fr; gap: 14px; }
    .process            { padding: 70px 0; }
    .testimonials       { padding: 70px 0; }
    .t-grid             { grid-template-columns: 1fr; }
    .pricing            { padding: 70px 0; }
    .pricing-grid       { grid-template-columns: 1fr; }
    .p-card.popular     { transform: none; }
    .p-card.popular:hover { transform: translateY(-5px); }
    .stats-inner        { padding: 36px 20px; }
    .stats-grid         { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-item::after   { display: none; }
    .faq                { padding: 70px 0; }
    .cta-section        { padding: 70px 0; }
    .footer-grid        { grid-template-columns: 1fr; gap: 26px; }
    .foot-bottom        { flex-direction: column; text-align: center; }
    .hero-buttons,
    .cta-buttons        { flex-direction: column; align-items: center; }
    .btn                { width: 100%; max-width: 300px; justify-content: center; }
}

@media (max-width: 480px) {
    .hero h1            { font-size: 30px; }
    .stats-grid         { grid-template-columns: 1fr 1fr; }
    .stat-item h3       { font-size: 38px; }
    .frow               { grid-template-columns: 1fr; }
    .modal-box          { padding: 24px 20px; }
}
