﻿/* Inicio CSS */

/* 1. Variables y Reset */
:root {
    --primary: #f5c542;
    /* Dorado BookyBot */
    --primary-dark: #d4a017;
    --primary-light: #fae39e;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    --accent: #fffbeb;
    --footer-bg: #1f2937;
    --footer-text: #e5e7eb;

    --font-main: 'Inter', sans-serif;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 4px 20px -5px rgba(245, 197, 66, 0.5);

    --container-width: 1200px;
    --header-height: 72px;
    --secondary-nav-height: 58px;
    --page-top-offset: calc(var(--header-height) + var(--secondary-nav-height));
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--page-top-offset);
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 16px;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

/* 2. Utilidades Generales */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.5rem);
}

.small-container {
    max-width: 800px;
}

.text-gold {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary);
    /* Fallback */
}

.text-muted {
    color: var(--text-muted);
}

.bg-gradient {
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-light));
}

.hidden {
    display: none !important;
}

/* 3. Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #1a1a1a;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(245, 197, 66, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--bg-light);
    border-color: var(--primary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

/* 4. Header & NavegaciÃ³n */
.header-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: box-shadow 0.3s;
}

.header-main.scrolled {
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    overflow: hidden;
}

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* MenÃº MÃ³vil Botones */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* NavegaciÃ³n Secundaria */
.header-secondary {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 90;
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
}

/* Ocultar scrollbar */
.nav-container::-webkit-scrollbar {
    display: none;
}

.desktop-nav {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 6px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--bg-light);
    color: var(--text-main);
}

.nav-link.active {
    font-weight: 700;
    color: #d4a017;
    background: linear-gradient(135deg, rgba(245, 197, 66, 0.22), rgba(245, 197, 66, 0.08));
    border-color: rgba(245, 197, 66, 0.35);
    box-shadow: 0 12px 25px -22px rgba(245, 197, 66, 0.9);
}

/* Color activo dorado oscuro */

.nav-link svg {
    width: 16px;
    height: 16px;
}

.nav-link.active svg {
    color: var(--primary-dark);
}

.nav-link:focus-visible,
.mobile-link:focus-visible {
    outline: 3px solid rgba(245, 197, 66, 0.55);
    outline-offset: 2px;
}

/* Mobile Nav Toggle (solo visible en mÃ³vil) */
.mobile-nav-toggle-btn {
    display: none;
    /* Oculto en desktop */
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
}

/* 5. Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    justify-content: flex-end;
}

.mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

.mobile-menu-panel {
    position: relative;
    width: 280px;
    height: 100%;
    background: white;
    padding: 1.5rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu-panel.open {
    transform: translateX(0);
}

.mobile-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-link:hover {
    background-color: var(--bg-light);
}

.mobile-link.active {
    background: linear-gradient(135deg, rgba(245, 197, 66, 0.22), rgba(245, 197, 66, 0.08));
    border-color: rgba(245, 197, 66, 0.35);
    box-shadow: 0 18px 30px -26px rgba(245, 197, 66, 0.9);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* 6. Hero Section */
.main-content {
    margin-top: var(--page-top-offset);
}

/* Header + Nav heights */

.section {
    padding: 4rem 0;
    scroll-margin-top: var(--page-top-offset);
}

@media (max-width: 600px) {
    :root {
        --header-height: 64px;
        --secondary-nav-height: 56px;
    }

    .section {
        padding: 3.25rem 0;
    }

    .header-secondary {
        padding: 0.35rem 0;
    }

    .mobile-nav-toggle-btn {
        padding: 0.65rem 0.75rem;
        font-size: 0.92rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-buttons {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .plan-header {
        padding: 1.75rem 1.25rem 1rem;
    }

    .plan-features {
        padding: 1.25rem;
    }

    .plan-features.scrollable {
        max-height: none;
        overflow-y: visible;
    }

    .plan-action {
        padding: 0 1.25rem 1.75rem;
    }

    .btn-plan {
        padding: 0.9rem;
    }

    .modern-form {
        padding: 1.6rem 1.25rem;
        border-radius: 18px;
    }

    .footer-desc {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .plan-selector-group {
        grid-template-columns: 1fr;
    }

    .action-selector-group {
        grid-template-columns: 1fr;
    }
}

.hero-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--primary-dark);
    border: 1px solid rgba(245, 197, 66, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.05rem, 4.2vw, 3.2rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    opacity: 0.7;
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Image & Blobs */
.hero-image-container {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: white;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.floating-icon {
    width: 40px;
    height: 40px;
    background: #dcfce7;
    color: #166534;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.blob-1 {
    background: rgba(245, 197, 66, 0.2);
    top: -10%;
    right: -10%;
}

.blob-2 {
    background: rgba(59, 130, 246, 0.1);
    bottom: -10%;
    left: -10%;
}

/* 7. Secciones Comunes */
.section-header {
    text-align: center;
    margin-bottom: clamp(2.25rem, 4vw, 4rem);
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    max-width: 600px;
    margin: 0 auto;
}

/* 8. Pricing Grid - CARDS CENTRADAS / TEXTO IZQUIERDA */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Centra las cards horizontalmente en el contenedor */
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta Individual */
.card.pricing-card {
    flex: 1 1 300px;
    /* Flexibilidad: base 300px, puede crecer/encoger */
    max-width: 380px;
    /* Ancho mÃ¡ximo para mantener estÃ©tica de tarjeta */
    width: 100%;
    /* Asegura ancho completo en mÃ³viles */

    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;

    /* AlineaciÃ³n de TEXTO original (Izquierda) */
    text-align: left;
    align-items: flex-start;
}

.card.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Tarjeta Popular */
.card.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-gold);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    /* La etiqueta sÃ­ va centrada respecto a la card */
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: #1a1a1a;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Icono */
.card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-main);
    flex-shrink: 0;
}

.card-icon.gold {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #1a1a1a;
}

/* TÃ­tulos y Descripciones (Alineados a la izquierda) */
.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    width: 100%;
}

.pricing-card p.text-muted {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Precio (Alineado a la izquierda) */
.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 2rem;
    color: var(--text-main);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Lista de CaracterÃ­sticas */
.features-list {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
    flex-grow: 1;
    /* Empuja el botÃ³n hacia el fondo de la card */
    width: 100%;
}

.features-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    align-items: flex-start;
}

.check {
    width: 20px;
    height: 20px;
    background: #dcfce7;
    color: #166534;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check.gold {
    background: rgba(245, 197, 66, 0.2);
    color: var(--primary-dark);
}

/* BotÃ³n */
.pricing-card button {
    width: 100%;
    margin-top: auto;
    /* Asegura que el botÃ³n quede al final */
}

/* Responsive: Ajustes menores si es necesario */
@media (max-width: 767px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .card.pricing-card {
        max-width: 100%;
    }
}


/* 9. Steps (CÃ³mo Funciona) */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    margin-bottom: 4rem;
}

.step-item {
    background: white;
    /* Para tapar la lÃ­nea en mÃ³vil si fuera necesario, aunque aquÃ­ es grid */
    position: relative;
    z-index: 2;
}

.step-marker {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.step-num {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a1a1a;
}

.step-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* CTA Box */
.cta-box {
    background: var(--accent);
    border: 1px solid rgba(245, 197, 66, 0.3);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

/* 10. Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.f-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.f-icon.blue {
    background: #3b82f6;
}

.f-icon.green {
    background: #10b981;
}

.f-icon.gold {
    background: var(--primary);
    color: #1a1a1a;
}

.f-icon.purple {
    background: #8b5cf6;
}

/* 11. FAQ Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
}

.accordion-header:hover {
    background-color: var(--bg-light);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-body {
    padding-bottom: 1.5rem;
}

/* JS lo abrirÃ¡ */

/* 12. Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary);
    border-color: transparent;
}


/* 13. Footer - ESTRUCTURA ORGANIZADA */
.footer {
    background-color: #1f2933;
    /* Fondo oscuro */
    color: #9ca3af;
    padding: clamp(3rem, 6vw, 4rem) 0 32px;
    font-size: 0.95rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* GRID PRINCIPAL */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile: 1 sola columna vertical */
    gap: 40px;
    /* Espacio vertical en mÃ³vil */
    margin-bottom: 48px;
}

/* ESTILOS COLUMNA MARCA */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.footer-col-brand .logo.inverted {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
}

.footer-col-brand .logo.inverted .logo-text {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
}

.footer-desc {
    color: #9ca3af;
    line-height: 1.6;
    max-width: 300px;
    /* Controla el ancho del texto para que no se estire */
    margin: 0;
}

/* DATOS DE CONTACTO */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-item:hover {
    color: #ffffff;
}

.contact-item i {
    width: 18px;
    height: 18px;
    color: var(--primary);
    /* Icono dorado */
}

/* ESTILOS COLUMNAS ENLACES (Producto, Empresa, Legal) */
.footer-col-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* Asegura que ocupen su celda completa */
}

.footer-col-links h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    /* Espaciado cÃ³modo entre enlaces */
}

.footer-col-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-col-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
    /* PequeÃ±a animaciÃ³n al pasar mouse */
}



/* REDES SOCIALES */
.socials {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(245, 197, 66, 0.08);
    border: 1.5px solid rgba(245, 197, 66, 0.35);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #1a1a1a;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(245, 197, 66, 0.4);
}



.socials a i {
    width: 18px;
    height: 18px;
}

/* --- RESPONSIVE DESKTOP (OrganizaciÃ³n clave) --- */
@media (min-width: 1024px) {
    .footer-grid {
        /* 1.5fr = Marca (espacio amplio para descripciÃ³n)
           1fr 1fr 1fr = Las 3 columnas de enlaces iguales y alineadas 
        */
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 64px;
        /* SeparaciÃ³n generosa entre bloques */
        align-items: start;
    }


}


/* 14. Media Queries (Responsiveness) */

/* Tablet & Desktop */
@media (min-width: 768px) {
    .header-actions {
        display: flex;
    }

    .header-container .mobile-toggle {
        display: none;
    }

    .pricing-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: clamp(2.25rem, 4vw, 3.25rem);
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-nav-toggle-btn {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-text {
        text-align: left;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cta-box {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .contact-grid {
        grid-template-columns: 1fr 2fr;
    }

    /* Mostrar lÃ­nea en desktop steps */
    .step-line {
        position: absolute;
        top: 30px;
        left: 50px;
        right: 50px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary), transparent);
        opacity: 0.3;
        z-index: 1;
    }
}

@media (max-width: 1023px) {
    .desktop-nav {
        display: none;
    }

    /* Ocultar nav normal en mobile/tablet */
    .mobile-nav-toggle-btn {
        display: flex;
    }

    /* Mostrar botÃ³n toggle */
    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .header-actions {
        display: none;
    }

    /* Ocultar botones login en header mÃ³vil */
    .mobile-toggle {
        display: block;
    }

    /* Mostrar hamburguesa */
    .hero-title {
        font-size: clamp(1.95rem, 9vw, 2.45rem);
    }
}

/* Animaciones CSS */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-500 {
    animation-delay: 0.5s;
}


.features-list li.feature-disabled {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #777;
}

.features-list li.feature-disabled .x [data-lucide="x"] {
    width: 18px;
    height: 18px;
    color: #777;
}

.features-list li.feature-disabled .text {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}




/* --- Nuevos Estilos del Formulario de Contacto --- */

/* 1. Checkbox Privacy */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.4;
    text-align: left;
}

.form-check input {
    margin-top: 4px;
    cursor: pointer;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.form-check a {
    color: var(--primary-dark);
    text-decoration: underline;
    font-weight: 500;
}

/* 2. Caja Contrato Destacada */
.contract-box {
    background: var(--bg-light);
    /* Fondo claro suave */
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.5rem;
    text-align: left;
}

.contract-box input {
    margin-top: 5px;
    cursor: pointer;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.contract-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contract-text strong {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.3;
}

.contract-text .small-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 3. BotÃ³n Uppercase */
.btn-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800;
}

/* 4. Separador */
.form-divider {
    height: 1px;
    background-color: var(--border);
    margin: 1.5rem 0;
    width: 100%;
}

/* 5. SecciÃ³n WhatsApp */
.whatsapp-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-section p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin: 0;
    font-weight: 500;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #25D366;
    /* Verde WhatsApp */
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.whatsapp-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.whatsapp-link i {
    width: 24px;
    height: 24px;
}


/* --- Estilos para Nuevas ImÃ¡genes Decorativas --- */

/* Imagen en CÃ³mo Funciona */
.process-visual {
    width: 100%;
    max-width: 900px;
    height: 300px;
    object-fit: cover;
    /* Recorta la imagen para que llene el espacio sin deformarse */
    border-radius: 16px;
    margin: 0 auto 3rem;
    /* Centrado y margen inferior */
    display: block;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    opacity: 0.9;
}

/* Imagen en Contacto */
.contact-visual {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.contact-visual:hover {
    transform: scale(1.02);
}

/* Ajuste Mobile para las imÃ¡genes */
@media (max-width: 767px) {
    .process-visual {
        height: 200px;
        margin-bottom: 2rem;
    }

    .contact-visual {
        height: 180px;
        margin-bottom: 2rem;
        /* SeparaciÃ³n extra en mÃ³vil antes del formulario */
    }
}

/* ===== NUEVO CÃ“DIGO: ESTILOS LEGALES Y COOKIES ===== */

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    /* Oculto inicialmente */
    left: 0;
    width: 100%;
    background-color: #1f2937;
    color: #fff;
    padding: 1rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: var(--container-width);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
}

.cookie-text {
    font-size: 0.9rem;
    color: #e5e7eb;
    flex: 1;
}

.cookie-btn {
    background: var(--primary);
    color: #1a1a1a;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s;
}

.cookie-btn:hover {
    transform: scale(1.05);
}

/* Modal Legal (Reutiliza lÃ³gica visual pero independiente del auth) */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: none;
    /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.legal-modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    color: #333;
}

.legal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.legal-body h2 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.legal-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #444;
}

.legal-body p,
.legal-body ul {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555;
}

.legal-body ul {
    padding-left: 1.5rem;
}

/* ===== NUEVO CÃ“DIGO: ESTILOS PÃGINAS EMPRESA (OVERLAY) ===== */

/* Contenedor principal de pantalla completa (oculto por defecto) */
.company-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 20000;
    /* Por encima de todo */
    overflow-y: auto;
    transform: translateY(100%);
    /* Oculto abajo */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.company-overlay.active {
    transform: translateY(0);
    /* Mostrar */
}

/* Cabecera del overlay */
.overlay-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem var(--container-width);
    /* Usar variable si existe, sino fallback */
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.overlay-close {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s;
}

.overlay-close:hover {
    background: var(--primary);
    color: #1a1a1a;
}

/* Contenido interno */
.overlay-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    width: 100%;
}

/* Estilos especÃ­ficos Sobre Nosotros */
.about-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.about-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Estilos especÃ­ficos Blog */
.blog-grid {
    display: grid;
    gap: 2rem;
}

.blog-post {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: box-shadow 0.3s;
}

.blog-post:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Utilidad para ocultar secciones dentro del overlay */
.page-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page-section.active-section {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: transla/3teY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NUEVO CÃ“DIGO: MEJORAS UI/UX Y ACCESIBILIDAD ===== */

/* 1. Feedback visual en botones (Estado Active) */
.btn:active {
    transform: scale(0.96) translateY(0);
    filter: brightness(0.9);
}

/* 2. ValidaciÃ³n Visual del Formulario */
/* Clase que aÃ±adiremos con JS cuando se intente enviar */
.contact-form.was-validated input:invalid {
    border-color: #ef4444; /* Rojo error */
    background-color: #fef2f2;
}

.contact-form.was-validated input:invalid + label,
.contact-form.was-validated input[type="checkbox"]:invalid ~ label {
    color: #ef4444;
}

/* Mensaje de error personalizado inyectado */
.form-error-message {
    background-color: #fef2f2;
    color: #b91c1c;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #fecaca;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: none; /* Oculto por defecto */
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* 3. Accesibilidad: Foco visible mejorado para navegaciÃ³n por teclado */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* 4. Fix Scroll iOS en Overlays */
body.scroll-locked {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ===== NUEVO CSS: REPLICANDO DISEÃ‘O DE IMAGEN REFERENCIA ===== */

/* Contenedor Grid EspecÃ­fico */
.pricing-grid-ref {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start; /* AlineaciÃ³n superior */
    margin-top: 2rem;
}

/* Base de las Tarjetas Nuevas */
.price-card-ref {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 340px; /* Ancho similar a la imagen */
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb; /* Borde gris sutil por defecto */
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card-ref:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Cuerpo de la tarjeta */
.price-card-ref .card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    text-align: center;
}

/* --- Estilos EspecÃ­ficos por Tarjeta --- */

/* HOST */
.card-host {
    margin-top: 1.5rem; /* Para alinear visualmente con las otras que tienen banner */
}

/* STAFF (Dorado) */
.card-staff {
    border: 3px solid #ECA72C; /* Borde dorado grueso */
}
.banner-gold {
    background-color: #ECA72C;
    color: #fff;
}

/* MAÃŽTRE (Morado) */
.card-maitre {
    border: 3px solid #9333ea; /* Borde morado grueso */
}
.banner-purple {
    background-color: #9333ea;
    color: #fff;
}
.text-purple {
    color: #9333ea !important;
}

/* Banners Superiores */
.card-banner {
    width: 100%;
    padding: 0.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* TipografÃ­a Interna */
.plan-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #1f2937;
    text-transform: uppercase;
}

.plan-price {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.text-gold {
    color: #ECA72C;
}

.plan-desc {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Listas y Scroll */
.scroll-wrapper {
    width: 100%;
    height: 220px; /* Altura fija para forzar scroll */
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 5px; /* Espacio para scrollbar */
}

/* Personalizar Scrollbar */
.scroll-wrapper::-webkit-scrollbar {
    width: 6px;
}
.scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.scroll-wrapper::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
.scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.features-ref {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.features-ref li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #4b5563;
}

.features-ref li.disabled {
    color: #d1d5db;
}

.features-ref li .strike {
    text-decoration: line-through;
}

.icon-gold {
    color: #ECA72C;
    width: 18px;
    height: 18px;
    min-width: 18px; /* Evitar que se aplaste */
}

.features-ref li.disabled i {
    color: #d1d5db;
    width: 18px;
    height: 18px;
}

/* Botones Nuevos */
.btn-ref {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    margin-top: auto; /* Empujar al fondo si sobra espacio */
    transition: opacity 0.2s;
}

.btn-ref:hover {
    opacity: 0.9;
}

.btn-dark {
    background-color: #1f2937; /* Gris muy oscuro */
    color: #fff;
}

.btn-gold {
    background-color: #ECA72C; /* Dorado imagen */
    color: #1f2937; /* Texto oscuro para contraste */
}

/* Responsive */
@media (max-width: 1024px) {
    .price-card-ref {
        max-width: 100%;
    }
    .card-host {
        margin-top: 0;
    }
}

/* ... (todo tu CSS anterior) ... */

/* ===== NUEVO CSS: SLIDER IMÃGENES EN HEADER (HERO) ===== */

/* Contenedor tipo Grid para apilar imÃ¡genes */
.hero-slider-box {
    display: grid;
    grid-template-areas: "stack";
    overflow: hidden;
    width: 100%;
    height: 100%; /* Ocupa el espacio del wrapper */
    border-radius: 16px;
}

/* ImÃ¡genes superpuestas */
.hero-slide {
    grid-area: stack; /* Todas ocupan la misma celda */
    width: 100%;
    height: auto; /* Mantiene proporciÃ³n, el wrapper del hero define lÃ­mites */
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: block;
}

/* Estado activo visible */
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Asegurar que el overlay y la tarjeta flotante queden encima */
.image-overlay {
    z-index: 2;
}

.floating-card {
    z-index: 10;
}

/* ... CSS anterior ... */

/* ===== NUEVO DISEÃ‘O: SLIDER HORIZONTAL CÃ“MO FUNCIONA ===== */

.process-carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Botones de NavegaciÃ³n (Flechas) */
.slider-btn {
    background: var(--bg-white);
    border: 1px solid var(--border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    z-index: 10;
    color: var(--text-main);
    flex-shrink: 0;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
    color: #1a1a1a;
}

/* Ãrea visible (Viewport) */
.slider-viewport {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0 2rem; /* Espacio para sombras */
}

/* Pista que se mueve (Track) */
.slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Tarjeta Individual */
.slider-card {
    min-width: 100%; /* Por defecto mÃ³vil: 1 tarjeta ocupa todo el ancho */
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

/* DiseÃ±o interno de la tarjeta */
.card-inner {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 350px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-inner:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-inner.highlight-card {
    background: linear-gradient(135deg, #fffbeb, #ffffff);
    border: 1px solid var(--primary);
}

/* Elementos visuales */
.step-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.icon-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px dashed var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-size: 2rem;
}

.icon-ring svg {
    width: 32px;
    height: 32px;
}

.icon-ring.filled {
    background: var(--primary);
    border-style: solid;
    color: #1a1a1a;
}

.slider-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slider-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Puntos de navegaciÃ³n */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--border);
    border-radius: 50%;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* RESPONSIVE: Mostrar mÃ¡s tarjetas en pantallas grandes */
@media (min-width: 768px) {
    .slider-card {
        min-width: calc(50% - 1rem); /* 2 tarjetas en tablet */
    }
}

@media (min-width: 1024px) {
    .slider-card {
        min-width: calc(33.333% - 1.33rem); /* 3 tarjetas en desktop */
    }
    
    /* Ocultar botones si caben todas (opcional, pero mejor dejar botones para navegar si hay 4 pasos y mostramos 3) */
}

/* ... (todo tu CSS anterior) ... */

/* ===== NUEVO DISEÃ‘O: CÃ“MO FUNCIONA (FLECHAS ENCADENADAS) ===== */

.arrow-process-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    /* Sombra suave aplicada al conjunto para dar profundidad */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    padding: 1rem 0;
}

/* Contenedor principal: Ahora es una fila flexible transparente */
.big-arrow-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: transparent; /* El color pasa a las flechas individuales */
    padding: 0;
    box-shadow: none;
    clip-path: none;
    gap: 0;
    border-radius: 0;
}

/* Ocultamos los separadores antiguos */
.arrow-divider {
    display: none;
}

/* --- ESTILO DE CADA PASO (FLECHA INDIVIDUAL) --- */
.arrow-step {
    flex: 1; /* Todos ocupan el mismo ancho */
    position: relative;
    
    /* FONDO EXACTO ACTUAL: Aplicamos tu degradado a cada flecha */
    background: linear-gradient(135deg, #fffbeb 0%, var(--primary) 100%);
    
    margin: 0;
    /* CONEXIÃ“N: Margen negativo para que la punta de una entre en la cola de la siguiente */
    margin-left: -20px; 
    
    /* ESPACIADO: MÃ¡s margen a la izquierda para compensar el corte entrante */
    padding: 2.5rem 1rem 2.5rem 3.5rem; 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 1;
    border: none;

    /* LA FORMA: Recorte poligonal idÃ©ntico a tu imagen de referencia */
    clip-path: polygon(
        0% 0%,                  /* Arriba Izq */
        calc(100% - 30px) 0%,   /* Inicio punta superior */
        100% 50%,               /* Punta extrema derecha */
        calc(100% - 30px) 100%, /* Inicio punta inferior */
        0% 100%,                /* Abajo Izq */
        30px 50%                /* Muesca hacia adentro (centro izq) */
    );
}

/* El primer paso tiene el lado izquierdo plano (sin muesca) */
.arrow-step:first-child {
    margin-left: 0;
    padding-left: 1.5rem;
    clip-path: polygon(
        0% 0%, 
        calc(100% - 30px) 0%, 
        100% 50%, 
        calc(100% - 30px) 100%, 
        0% 100%
    );
    z-index: 5; /* Asegura orden de apilamiento */
}

/* --- INTERACCIÃ“N Y ESTADOS --- */

/* Hover: Se ilumina ligeramente y pasa al frente */
.arrow-step:hover {
    filter: brightness(1.05); /* Brillo sutil para no cambiar el color base */
    z-index: 10; 
    transform: translateY(-5px);
}

/* Elementos internos: Mantienen tus estilos actuales */
.step-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.5); /* Ajuste sutil para el fondo degradado */
    border: 2px solid #1f2937; /* Contraste oscuro como en tu diseÃ±o */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s;
}

.step-icon-circle svg {
    width: 28px;
    height: 28px;
    color: #1f2937;
    transition: all 0.3s;
}

/* Hover en el icono */
.arrow-step:hover .step-icon-circle {
    background: #1f2937;
    border-color: #1f2937;
}
.arrow-step:hover .step-icon-circle svg {
    color: var(--primary); /* Dorado al pasar el mouse */
}

/* Badge del nÃºmero */
.step-idx {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #1f2937;
    color: var(--primary);
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}

/* Ajustes del paso final (Check) */
.final-step .step-icon-circle.filled {
    background: #1f2937;
    color: var(--primary);
    border: none;
}
.final-step .step-icon-circle.filled svg {
    color: var(--primary);
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.step-content p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.4;
    margin: 0;
}

/* --- RESPONSIVE (MÃ³vil) --- */
@media (max-width: 900px) {
    .arrow-process-wrapper {
        filter: none;
        padding: 0;
    }

    .big-arrow-container {
        flex-direction: column; /* Apilar verticalmente */
        gap: 0;
    }

    .arrow-step {
        width: 100%;
        margin-left: 0;
        margin-top: -20px; /* ConexiÃ³n vertical */
        
        padding: 3rem 2rem 2rem 2rem; 
        
        /* Flecha apuntando hacia ABAJO en mÃ³vil */
        clip-path: polygon(
            0% 0%, 
            50% 30px, 
            100% 0%, 
            100% calc(100% - 30px), 
            50% 100%, 
            0% calc(100% - 30px)
        );
        
        flex-direction: row;
        gap: 1.5rem;
        text-align: left;
    }

    /* Primer paso en mÃ³vil (plano arriba) */
    .arrow-step:first-child {
        margin-top: 0;
        padding-top: 2rem;
        clip-path: polygon(
            0% 0%, 
            100% 0%, 
            100% calc(100% - 30px), 
            50% 100%, 
            0% calc(100% - 30px)
        );
    }
    
    .step-icon-circle {
        margin-bottom: 0;
        flex-shrink: 0;
        background: rgba(255,255,255,0.6);
    }
}

/* ===== NUEVO DISEÃ‘O SECCIÃ“N PLANES (MODERNO) ===== */

.pricing-grid-modern {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: stretch; /* Para que todas las tarjetas tengan la misma altura */
    margin-top: 1rem;
}

/* Tarjeta Base */
.plan-card {
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 360px; /* Ancho optimizado */
    position: relative;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(245, 197, 66, 0.3); /* Sutil brillo dorado en hover */
}

/* Header de la Tarjeta */
.plan-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    background: linear-gradient(to bottom, #ffffff, #fafafa);
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.plan-price-box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.plan-price-box .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 6px;
    margin-right: 2px;
}

.plan-price-box {
    font-size: clamp(2.6rem, 4.2vw, 3.25rem);
    font-weight: 800;
}

.plan-price-box .period {
    font-size: 1rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 8px;
    font-weight: 500;
    margin-left: 2px;
}

.plan-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* Lista de CaracterÃ­sticas */
.plan-features {
    padding: 2rem;
    flex-grow: 1;
    background: #fff;
}

.plan-features.scrollable {
    /* Si la lista es muy larga en mÃ³viles, permite scroll suave */
    max-height: 400px; /* Altura mÃ¡xima segura */
    overflow-y: auto;
}

.plan-features.scrollable::-webkit-scrollbar {
    width: 4px;
}
.plan-features.scrollable::-webkit-scrollbar-thumb {
    background-color: #eee;
    border-radius: 4px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.4;
}

.plan-features li.disabled {
    color: #d1d5db;
    text-decoration: line-through;
}

.plan-features li.highlight-feature {
    color: var(--text-main);
    font-weight: 600;
    background: var(--bg-light);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    margin-left: -0.8rem;
    margin-right: -0.8rem;
}

/* Iconos */
.icon-check { color: var(--text-main); width: 18px; min-width: 18px; }
.icon-gold { color: var(--primary); width: 18px; min-width: 18px; }
.icon-purple { color: #9333ea; width: 18px; min-width: 18px; }

/* Botones y AcciÃ³n */
.plan-action {
    padding: 0 2rem 2.5rem;
    text-align: center;
    background: #fff;
    margin-top: auto;
}

.btn-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    text-decoration: none; /* Importante para <a> */
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.no-card-needed {
    display: block;
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- ESTILOS ESPECÃFICOS POR TARJETA --- */

/* 1. HOST (Gratis - Minimalista) */
.host-card {
    border-top: 4px solid #333;
}
.btn-host {
    background: transparent;
    border: 2px solid #333;
    color: #333;
}
.btn-host:hover {
    background: #333;
    color: #fff;
}

/* 2. STAFF (Recomendado - Dorado) */
.staff-card {
    border: 2px solid var(--primary);
    box-shadow: 0 15px 40px rgba(245, 197, 66, 0.15); /* Sombra dorada suave */
    z-index: 2; /* Que sobresalga sobre las otras en desktop */
}
.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(245, 197, 66, 0.25);
}

.popular-badge {
    background: var(--primary);
    color: #1a1a1a;
    text-align: center;
    padding: 0.6rem;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0.5px;
}
.btn-staff {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(245, 197, 66, 0.4);
    border: none;
}
.btn-staff:hover {
    box-shadow: 0 8px 25px rgba(245, 197, 66, 0.6);
    filter: brightness(1.05);
}

/* 3. MAÃŽTRE (Premium - Morado) */
.maitre-card {
    border-top: 4px solid #9333ea;
}
.premium-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(147, 51, 234, 0.1);
    color: #9333ea;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}
.text-purple { color: #9333ea !important; }

.plan-features li.highlight-feature.purple {
    background: rgba(147, 51, 234, 0.05);
    color: #9333ea;
}
.btn-maitre {
    background: #1f2937; /* Oscuro elegante */
    color: #fff;
    border: 1px solid #1f2937;
}
.btn-maitre:hover {
    background: #9333ea; /* Hover morado */
    border-color: #9333ea;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .staff-card {
        z-index: 1;
        transform: scale(1);
    }
    .staff-card:hover {
        transform: translateY(-8px);
    }
}
@media (max-width: 768px) {
    .pricing-grid-modern {
        flex-direction: column;
        align-items: center;
    }
    .plan-card {
        max-width: 100%;
    }
}


/* ... (MantÃ©n tu CSS anterior) ... */

/* ===== NUEVO DISEÃ‘O SECCIÃ“N CONTACTO CON IMAGEN INTERACTIVA ===== */

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

/* Sidebar de InformaciÃ³n (Izquierda) */
.contact-sidebar {
    flex: 1 1 300px;
}

.contact-info-box {
    background: #1f2937; /* Fondo oscuro elegante */
    color: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.contact-info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-info-box .text-muted {
    color: #9ca3af;
    margin-bottom: 2rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.i-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.info-item label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 2px;
    font-weight: 700;
}

.i-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: color 0.3s;
}

.i-link:hover {
    color: var(--primary);
}

/* ... (CSS anterior) ... */

/* --- IMAGEN CONTACTO (CORREGIDA) --- */
.contact-mini-visual {
    margin-top: auto;
    height: 200px; /* Altura fija */
    border-radius: 12px;
    position: relative;
    overflow: hidden; /* Para recortar la imagen */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Estilo para la imagen interna */
.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cubre todo el espacio sin deformarse */
    object-position: center 20%; /* Enfoca la cara de la persona */
    transition: transform 0.6s ease;
    display: block;
}

/* Efecto Hover: Zoom en la imagen */
.contact-mini-visual:hover .visual-img {
    transform: scale(1.1);
}

/* El badge flotante se mantiene encima */
.floating-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2; /* Asegura que estÃ© sobre la imagen */
    transition: all 0.3s ease;
}

.contact-mini-visual:hover .floating-badge {
    transform: translateY(-5px);
    color: var(--primary-dark);
}

.floating-badge svg {
    width: 16px;
    height: 16px;
    color: #10b981;
}

.floating-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95); /* Un poco mÃ¡s opaco */
    color: #1a1a1a;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-mini-visual:hover .floating-badge {
    transform: translateY(-5px); /* El badge tambiÃ©n flota un poco */
    color: var(--primary-dark);
}

.floating-badge svg {
    width: 16px;
    height: 16px;
    color: #10b981;
}

/* Contenedor Formulario (Derecha) */
.contact-form-container {
    flex: 2 1 500px;
}

.modern-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Selector de Planes */
.plan-selector-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.plan-radio-option {
    cursor: pointer;
    position: relative;
}

.plan-radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--bg-light);
    height: 100%;
    text-align: center;
}

.r-icon {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.r-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.r-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Estados Activos del Selector */
.plan-radio-option input:checked + .radio-tile {
    background: #fff;
    border-color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.plan-radio-option input:checked + .radio-tile .r-icon {
    color: #333;
}

.plan-radio-option input:checked + .radio-tile.tile-gold {
    border-color: var(--primary);
}
.plan-radio-option input:checked + .radio-tile.tile-gold .r-icon {
    color: var(--primary-dark);
}

.plan-radio-option input:checked + .radio-tile.tile-purple {
    border-color: #9333ea;
}
.plan-radio-option input:checked + .radio-tile.tile-purple .r-icon {
    color: #9333ea;
}

.plan-radio-option:hover .radio-tile {
    border-color: #ccc;
}

/* Selector de Acciones (Contrato/Preguntar) */
.action-selector-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.75rem;
}

.action-radio-option {
    cursor: pointer;
    position: relative;
}

.action-radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.action-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: var(--bg-light);
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
}

.action-pill-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.action-radio-option input:checked + .action-pill {
    background: var(--primary);
    border-color: var(--primary-dark);
    color: #111827;
    box-shadow: 0 4px 12px rgba(245, 197, 66, 0.3);
    transform: translateY(-1px);
}

.action-radio-option input:checked + .action-pill .action-pill-icon {
    color: #111827;
}

.action-radio-option:hover .action-pill {
    border-color: var(--primary);
}

/* Animación suave para mostrar/ocultar el mensaje */
.form-group-message {
    max-height: 500px;
    overflow: hidden;
}

.form-group-message.visible {
    display: block !important;
    opacity: 1 !important;
}

/* Inputs Modernos */
.form-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: #374151;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
}

.input-wrapper input,
.modern-form textarea {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: all 0.3s;
    background: #fff;
}

.modern-form textarea {
    padding: 0.85rem;
    resize: vertical;
}

.input-wrapper input:focus,
.modern-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.1);
    outline: none;
}

/* Checkbox Legal */
.check-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
    margin-bottom: 1.5rem;
}

.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s;
}

.check-container:hover .checkmark {
    border-color: var(--primary);
}

.check-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.check-container input:checked ~ .checkmark:after {
    display: block;
}

.check-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #1a1a1a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-sidebar {
        height: auto;
    }

    .form-grid-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .plan-selector-group {
        gap: 0.5rem;
    }
    
    .radio-tile {
        padding: 0.75rem 0.25rem;
    }
}


/* ... (MantÃ©n tu CSS anterior) ... */

/* ===== CORRECCIÃ“N IMAGEN Y ENLACES CONTACTO ===== */

/* Estilos de la imagen de contacto */
.contact-mini-visual {
    margin-top: auto;
    height: 220px; /* Altura fija para buen tamaÃ±o */
    border-radius: 12px;
    position: relative;
    overflow: hidden; /* Recorta la imagen para que no se salga */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 0; /* Asegurar que no empuje demasiado */
}

/* La imagen en sÃ­ */
.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Clave: Mantiene proporciones rellenando el espacio */
    object-position: center top; /* Enfoca la parte superior (caras) */
    transition: transform 0.6s ease;
    display: block;
}

/* Efecto Hover: Zoom suave */
.contact-mini-visual:hover .visual-img {
    transform: scale(1.1);
}

/* Badge flotante sobre la imagen */
.floating-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.contact-mini-visual:hover .floating-badge {
    transform: translateY(-5px);
    color: var(--primary-dark);
}

.floating-badge svg {
    width: 16px;
    height: 16px;
    color: #10b981;
}

/* Ajuste responsive para la imagen */
@media (max-width: 768px) {
    .contact-mini-visual {
        height: 180px; /* Un poco mÃ¡s pequeÃ±a en mÃ³viles */
    }
}

/* ... (MantÃ©n tu CSS anterior) ... */

/* ===== NUEVO DISEÃ‘O SECCIÃ“N CONTACTO MODERNO ===== */

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

/* --- Columna Izquierda (Info) --- */
.contact-sidebar {
    flex: 1 1 320px;
}

.contact-info-box {
    background: #1f2937; /* Fondo oscuro elegante */
    color: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-info-box .text-muted {
    color: #9ca3af;
    margin-bottom: 2rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Tarjetas de enlaces de contacto */
.info-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: var(--primary);
}

.i-icon {
    width: 40px;
    height: 40px;
    background: rgba(245, 197, 66, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.info-item-card label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 2px;
    font-weight: 700;
    cursor: pointer;
}

.i-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
}

.external-icon {
    margin-left: auto;
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.info-item-card:hover .external-icon {
    opacity: 1;
    color: var(--primary);
}

/* Imagen Decorativa */
.contact-mini-visual {
    margin-top: auto;
    height: 180px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s ease;
    display: block;
}

.contact-mini-visual:hover .visual-img {
    transform: scale(1.1);
}

/* --- Columna Derecha (Formulario) --- */
.contact-form-container {
    flex: 2 1 500px;
}

.modern-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    height: 100%;
}

.form-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.step-indicator {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.form-section-head h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

/* --- SELECTOR DE PLANES (Radio Tiles) --- */
.plan-selector-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.plan-radio-option {
    cursor: pointer;
    position: relative;
}

.plan-radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.5rem;
    border: 2px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: var(--bg-light);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tile-icon {
    margin-bottom: 0.5rem;
    color: #9ca3af;
    transition: color 0.3s;
}

.tile-icon svg {
    width: 24px;
    height: 24px;
}

.r-label {
    display: block;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.r-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Estados Activos del Selector */
.plan-radio-option input:checked + .radio-tile {
    background: #fff;
    border-color: #333;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.plan-radio-option input:checked + .radio-tile .tile-icon {
    color: #333;
}

/* STAFF (Dorado) */
.plan-radio-option input:checked + .radio-tile.tile-gold {
    border-color: var(--primary);
    background: linear-gradient(to bottom right, #fff, #fffbeb);
}
.plan-radio-option input:checked + .radio-tile.tile-gold .tile-icon {
    color: var(--primary-dark);
}

/* MAÃŽTRE (Morado) */
.plan-radio-option input:checked + .radio-tile.tile-purple {
    border-color: #9333ea;
    background: linear-gradient(to bottom right, #fff, #f3e8ff);
}
.plan-radio-option input:checked + .radio-tile.tile-purple .tile-icon {
    color: #9333ea;
}

.plan-radio-option:hover .radio-tile {
    border-color: #ccc;
    background: #fff;
}

/* Inputs Modernos */
.input-wrapper {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
}
.input-wrapper input,
.modern-form textarea {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: all 0.3s;
    background: #fff;
}
.modern-form textarea {
    padding: 0.85rem;
    min-height: 100px;
}
.input-wrapper input:focus, .modern-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.1);
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    .form-grid-row {
        grid-template-columns: 1fr;
    }
    .plan-selector-group {
        gap: 0.5rem;
    }
    .radio-tile {
        padding: 1rem 0.25rem;
    }
    .contact-info-box {
        padding: 2rem 1.5rem;
    }
}

/* ... (MantÃ©n tu CSS anterior) ... */

/* ===== NUEVO DISEÃ‘O: CARACTERÃSTICAS BENTO GRID ===== */

.bento-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 360px;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Estilo Base de las Tarjetas --- */
.bento-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-grid-wrapper .bento-card {
    min-height: 250px;
    height: 100%;
}

/* Efecto Hover Base (si falla JS) */
.bento-card:hover {
    box-shadow: 0 20px 40px -10px rgba(245, 197, 66, 0.15);
    border-color: rgba(245, 197, 66, 0.3);
}

.bento-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
}

/* --- TipografÃ­a --- */
.bento-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.bento-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.bento-card p.small {
    font-size: 0.85rem;
    margin: 0;
}

/* --- Iconos con "Glow" --- */
.bento-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-icon-box {
    transform: scale(1.1) rotate(-5deg);
}

.gold-glow { background: rgba(245, 197, 66, 0.15); color: var(--primary-dark); }
.green-glow { background: #dcfce7; color: #16a34a; }
.blue-glow { background: #dbeafe; color: #2563eb; }
.purple-glow { background: #f3e8ff; color: #9333ea; }
.dark { background: #1f2937; color: #fff; }

/* --- ConfiguraciÃ³n del Grid (Desktop) --- */

/* Columna 1: TelÃ©fono (Ocupa 2 filas de alto) */
.bento-tall {
    grid-column: span 1;
    grid-row: span 1;
    background: linear-gradient(to bottom, #fff, #fffbeb);
}

/* WhatsApp (Ocupa 2 columnas de ancho) */
.bento-wide {
    grid-column: span 1;
}

/* Visual del TelÃ©fono (Onda de sonido) */
.bento-visual.phone-visual {
    margin-top: auto;
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 0.55rem;
    column-gap: 0.8rem;
    color: #ffffff;
}

.wave-animation {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    flex-shrink: 0;
}

.wave-animation span {
    width: 4px;
    background: var(--primary);
    border-radius: 3px;
    animation: wave 1s infinite ease-in-out;
}

.wave-animation span:nth-child(1) { height: 10px; animation-delay: 0.1s; }
.wave-animation span:nth-child(2) { height: 22px; animation-delay: 0.2s; }
.wave-animation span:nth-child(3) { height: 16px; animation-delay: 0.3s; }
.wave-animation span:nth-child(4) { height: 9px; animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

.visual-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(245, 197, 66, 0.14);
    border: 1px solid rgba(245, 197, 66, 0.35);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    color: #f5c542;
    letter-spacing: 0.01em;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    flex: 1 1 auto;
    min-width: 0;
}

/* Card Doble (Analytics + Seguridad) */
.bento-content.row-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.1rem;
    text-align: left;
}

.half-feature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    margin: 0;
    text-align: left;
}

.half-feature .bento-icon-box {
    margin-bottom: 0;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
}

.divider-vertical {
    display: none;
}

/* Card Gold (Idiomas) */
.bg-gold {
    background: var(--primary);
    border: none;
}

/* --- Responsive Layout --- */

/* Tablet (2 columnas) */
@media (max-width: 1024px) {
    .bento-grid-wrapper {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(250px, auto);
        grid-template-rows: auto;
    }
    .bento-grid-wrapper .bento-card {
        height: auto;
    }
    .bento-tall, .bento-wide {
    grid-column: span 1;
}
}

/* Mobile (1 columna) */
@media (max-width: 600px) {
    .bento-grid-wrapper {
        display: flex;
        flex-direction: column;
    }
    .bento-card {
        min-height: auto;
    }
    .bento-content.row-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    text-align: left;
}
    .divider-vertical {
    display: none;
}
    .half-feature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    margin: 0;
    text-align: left;
}
}

/* ... (MantÃ©n tu CSS anterior) ... */

/* ===== NUEVOS ESTILOS PARA COMPLETAR EL GRID ===== */

/* Glow Rosa para CRM */
.pink-glow { 
    background: #fce7f3; 
    color: #db2777; 
}

/* Tarjeta Oscura Especial (Anti No-Shows) */
.bento-card.bg-dark-card {
    background: #1f2937; /* Fondo oscuro elegante */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.bento-card.bg-dark-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

/* Efecto de luz decorativo en la tarjeta oscura */
.glow-effect {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 197, 66, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Ajuste responsive para la nueva fila */
@media (max-width: 1024px) {
    /* En tablet, las 'wide' siguen ocupando 2 columnas, asÃ­ que el grid fluye bien */
}

@media (max-width: 600px) {
    /* En mÃ³vil todo es columna Ãºnica, se apila correctamente */
    .bento-card.bg-dark-card {
        min-height: auto;
    }
}

/* ... (MantÃ©n tu CSS anterior) ... */

/* ===== NUEVO DISEÃ‘O: FAQs MOSAICO INTERACTIVO ===== */

.faq-section-modern {
    background: linear-gradient(to bottom, #ffffff 0%, #fffbeb 100%); /* Fondo sutil dorado muy claro */
    position: relative;
    overflow: hidden;
}

/* DecoraciÃ³n de fondo opcional */
.faq-section-modern::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 197, 66, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.faq-masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columnas en escritorio */
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* TARJETA FAQ BASE */
.faq-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: fit-content; /* Importante para Masonry visual */
}

/* Efecto Hover: ElevaciÃ³n y Borde Dorado */
.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(245, 197, 66, 0.15);
    border-color: rgba(245, 197, 66, 0.4);
}

/* Estado Activo (Abierto) */
.faq-card.active {
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(245, 197, 66, 0.2);
    background: #fff;
}

/* CABECERA DE LA TARJETA */
.faq-card-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

/* Icono TemÃ¡tico (PequeÃ±o cÃ­rculo a la izquierda) */
.faq-icon-wrapper {
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-card:hover .faq-icon-wrapper,
.faq-card.active .faq-icon-wrapper {
    background: var(--primary);
    color: #1a1a1a;
    transform: scale(1.1);
}

.faq-icon-wrapper svg {
    width: 18px;
    height: 18px;
}

/* TÃ­tulo de la Pregunta */
.faq-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-main);
    flex-grow: 1; /* Ocupa el espacio disponible */
    line-height: 1.4;
    transition: color 0.3s;
}

.faq-card.active .faq-title {
    color: #d4a017; /* Dorado oscuro al abrir */
}

/* BotÃ³n Toggle (+/-) */
.faq-toggle-btn {
    background: transparent;
    border: 1px solid var(--border);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-card:hover .faq-toggle-btn {
    border-color: var(--primary);
    color: var(--primary);
}

.faq-card.active .faq-toggle-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: #1a1a1a;
    transform: rotate(45deg); /* AnimaciÃ³n a X */
}

/* CUERPO DE LA RESPUESTA (AcordeÃ³n) */
.faq-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    opacity: 0.5;
}

.faq-card.active .faq-card-body {
    opacity: 1;
    max-height: 1000px;
}

.faq-content {
    padding: 0 1.5rem 1.5rem 4.5rem; /* Indentado para alinear con tÃ­tulo */
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .faq-masonry-grid {
        grid-template-columns: 1fr; /* 1 columna en mÃ³vil */
        gap: 1rem;
    }
    
    .faq-content {
        padding: 0 1.5rem 1.5rem 1.5rem; /* Menos indentaciÃ³n en mÃ³vil */
    }
    
    .faq-card-header {
        padding: 1.25rem;
    }
}