/* ===============================================
   ENROA LANDING PAGE - STYLES v2
   Tema Dark/Light con variables CSS
   =============================================== */

/* ===============================================
   VARIABLES - PERSONALIZA AQUÍ
   =============================================== */
:root {
    /* Gradiente de marca ENROA */
    --brand-start: #C44BC4;
    --brand-mid: #6B5FBF;
    --brand-end: #3DCCE8;
    --brand-gradient: linear-gradient(135deg, #C44BC4 0%, #6B5FBF 50%, #3DCCE8 100%);
    --brand-gradient-text: linear-gradient(90deg, #7B6FD4 0%, #4FACD4 50%, #3DCCE8 100%);

    /* WhatsApp */
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;

    /* Tipografía */
    --font-display: 'Sora', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transiciones */
    --transition: 250ms ease;
    --transition-slow: 400ms ease;

    /* Espaciado secciones */
    --section-py: 5rem;
}

/* ============ TEMA DARK (por defecto) ============ */
[data-theme="dark"] {
    --bg-base: #0A0E1A;
    --bg-surface: #111827;
    --bg-card: #161D2E;
    --bg-card-hover: #1C2540;
    --bg-elevated: #1E2A40;
    --border: rgba(255,255,255,0.08);
    --border-focus: rgba(61, 204, 232, 0.5);

    --text-primary: #F0F4FF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --nav-bg: rgba(10, 14, 26, 0.85);
    --nav-border: rgba(255,255,255,0.06);

    --input-bg: #0F1628;
    --input-border: rgba(255,255,255,0.1);

    --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 80px rgba(61, 204, 232, 0.08);

    --section-alt: #0D1220;
    --footer-bg: #070B14;
}

/* ============ TEMA LIGHT ============ */
[data-theme="light"] {
    --bg-base: #F5F7FF;
    --bg-surface: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F0F4FF;
    --bg-elevated: #EEF2FF;
    --border: rgba(0,0,0,0.08);
    --border-focus: rgba(107, 95, 191, 0.5);

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    --nav-bg: rgba(255,255,255,0.9);
    --nav-border: rgba(0,0,0,0.06);

    --input-bg: #F8FAFC;
    --input-border: rgba(0,0,0,0.12);

    --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-glow: 0 0 80px rgba(107, 95, 191, 0.06);

    --section-alt: #EEF2FF;
    --footer-bg: #0F172A;
}

/* ===============================================
   RESET & BASE
   =============================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===============================================
   TIPOGRAFÍA
   =============================================== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.gradient-text {
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===============================================
   SECTION HEADER
   =============================================== */
.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-header p {
    color: var(--text-secondary);
    margin-top: 0.75rem;
    font-size: 1.05rem;
    max-width: 560px;
}

.section-header.center p {
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

/* ===============================================
   BOTONES
   =============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(107, 95, 191, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(107, 95, 191, 0.45);
    filter: brightness(1.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-focus);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

[data-theme="dark"] .btn-outline {
    border-color: rgba(255,255,255,0.15);
}

.btn-outline:hover {
    border-color: var(--brand-mid);
    color: var(--brand-mid);
    background: rgba(107, 95, 191, 0.08);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

/* ===============================================
   NAVEGACIÓN
   =============================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background var(--transition-slow), box-shadow var(--transition);
}

.nav.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.nav-menu a:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
}

.btn-cta-nav {
    background: var(--brand-gradient) !important;
    color: white !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 12px rgba(107, 95, 191, 0.3);
}

.btn-cta-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(107, 95, 191, 0.45) !important;
    background: var(--bg-elevated) !important;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-focus);
}

[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: block; }
[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: block; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===============================================
   HERO
   =============================================== */
.hero {
    padding-top: 68px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(107, 95, 191, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="light"] .hero-glow {
    background: radial-gradient(ellipse, rgba(107, 95, 191, 0.08) 0%, transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.hero-title {
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-item svg {
    color: var(--brand-end);
    flex-shrink: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-preview-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
    background: var(--bg-card);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .product-preview-frame {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.product-preview-frame img {
    width: 100%;
    display: block;
}

/* ===============================================
   VIDEO SECTION
   =============================================== */
.video-section {
    padding: var(--section-py) 0;
    background: var(--section-alt);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 45%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    background: var(--bg-card);
}

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

/* ===============================================
   PRODUCTOS
   =============================================== */
.products {
    padding: var(--section-py) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border);
    transition: background var(--transition);
}

.product-card:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.product-card.product-card-featured::before {
    background: var(--brand-gradient);
}

.product-card-featured {
    border-color: rgba(107, 95, 191, 0.3);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: -0.5rem;
}

.product-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.product-icon svg {
    color: var(--brand-mid);
}

.product-card h3 {
    font-size: 1.25rem;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-features li svg {
    color: var(--brand-end);
    flex-shrink: 0;
}

.product-screenshot {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    width: 100%;
    margin-top: 0.5rem;
    background: var(--bg-elevated);
    min-height: 140px;
}

/* ===============================================
   BENEFICIOS
   =============================================== */
.benefits {
    padding: var(--section-py) 0;
    background: var(--section-alt);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    transition: all var(--transition);
}

.benefit-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(107, 95, 191, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===============================================
   TESTIMONIOS
   =============================================== */
.testimonials {
    padding: var(--section-py) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.stars {
    color: #FBBF24;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-author span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===============================================
   CLIENTES - CARRUSEL
   =============================================== */
.clients {
    padding: var(--section-py) 0;
    background: var(--section-alt);
    overflow: hidden;
}

.logos-carousel-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 2.5rem;
    /* Gradiente en los bordes para efecto fade */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logos-track {
    display: flex;
    width: max-content;
    animation: scroll-logos 30s linear infinite;
}

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

@keyframes scroll-logos {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    flex-shrink: 0;
}

/* Placeholder para los logos (reemplazar con <img>) */
.logo-placeholder {
    height: 48px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all var(--transition);
}

/* Cuando tengas logos reales, usa:
.logo-item img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: filter var(--transition);
}
.logo-item img:hover {
    filter: grayscale(0%) opacity(1);
}
*/

/* ===============================================
   PLANES
   =============================================== */
.pricing {
    padding: var(--section-py) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--border);
}

.pricing-card-featured {
    border-color: rgba(107, 95, 191, 0.35);
    background: var(--bg-elevated);
}

.pricing-card-featured::before {
    background: var(--brand-gradient);
}

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

.plan-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.plan-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.plan-features li svg {
    color: var(--brand-end);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===============================================
   CTA FINAL
   =============================================== */
.final-cta {
    padding: var(--section-py) 0;
    background: var(--section-alt);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(107, 95, 191, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===============================================
   FORMULARIO DE CONTACTO
   =============================================== */
.contact-section {
    padding: var(--section-py) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 0.875rem;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-size: 1rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-feature svg {
    color: var(--brand-end);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-direct {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.contact-direct p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.875rem;
}

/* Formulario */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-mid);
    box-shadow: 0 0 0 3px rgba(107, 95, 191, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

/* ===============================================
   FOOTER
   =============================================== */
.footer {
    background: var(--footer-bg);
    color: #94A3B8;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.2);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 220px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    color: #64748B;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: rgba(107, 95, 191, 0.2);
    color: var(--brand-end);
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #CBD5E1;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a,
.footer-col ul li span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748B;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--brand-end);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    color: #475569;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #475569;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--brand-end);
}

/* ===============================================
   WHATSAPP FLOAT BUTTON
   =============================================== */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    animation: pulse-wa 3s ease infinite;
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50%       { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.65); }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    background: var(--whatsapp-dark);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 0.75rem);
    top: 50%;
    transform: translateY(-50%);
    background: #1F2937;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-md);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1F2937;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ===============================================
   ANIMACIONES
   =============================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

.hero-content {
    animation: fadeInUp 0.7s ease both;
}

.hero-visual {
    animation: fadeInUp 0.7s 0.15s ease both;
}

/* ===============================================
   NOTIFICATIONS
   =============================================== */
.notification {
    position: fixed;
    top: 90px;
    right: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    max-width: 380px;
    animation: slideInRight 0.3s ease;
}

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

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

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-grid .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 3.5rem;
    }

    /* Nav */
    .nav-menu {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.25rem;
        align-items: stretch;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid .pricing-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        justify-content: center;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .video-wrapper {
        padding-bottom: 56.25%;
    }

    .whatsapp-tooltip {
        display: none;
    }
}
