/* ========================================
   VARIABLES Y RESET
   ======================================== */
:root {
    --bg-primary: #050810; 
    --bg-secondary: rgba(15,23,42,0.95);
    --bg-tertiary: #334155;
    
    --text-primary: #f5f7ff;
    --text-secondary: #cbd5f5; 
    --text-muted: #94a3b8; 
    
    --accent-primary: #0ea5e9;
    --accent-hover: #0284c7;
    --accent-light: #38bdf8;
    
    --success: #22c55e;
    --warning: #f59e0b;
    
    --border-color: rgba(148, 163, 184, 0.2);
    --border-hover: rgba(14, 165, 233, 0.4);
    
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #050810;  /* ERA: var(--bg-primary) que era 0f172a */
    background-image: radial-gradient(circle at top left, #111827 0%, #050810 55%, #020309 100%);
    background-attachment: fixed;
    color: #f5f7ff; 
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15,23,42,0.95); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(14,165,233,0.25);
    padding: 1rem 2rem;
    z-index: 1000;
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    /* quitar cualquier color/gradient de texto: */
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: inherit;
}



.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}


.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn-login):hover {
    color: var(--accent-light);
}

.btn-login {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--accent-hover); /* o var(--accent-hover) */
    color: #ffffff;                    /* fuerza texto blanco */
    border-color: var(--accent-primary);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(14, 165, 233, 0.1);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-white {
    background: white;
    color: var(--accent-primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-block {
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid var(--border-color);
    color: var(--accent-light);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    color: var(--success);
    font-weight: 600;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-light);
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Images */
.hero-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.image-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    aspect-ratio: 3/4;
    position: relative;
}

.image-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-dark {
    background: var(--bg-primary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ========================================
   USE CASES
   ======================================== */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.use-case-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

.use-case-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.use-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.use-case-card:hover .use-case-image img {
    transform: scale(1.05);
}

.use-case-content {
    padding: 2rem;
}

.use-case-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.use-case-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.list-check {
    list-style: none;
}

.list-check li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.list-check li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ========================================
   FEATURE BLOCKS (Alternados)
   ======================================== */
.feature-block-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.feature-block-section.section-dark {
    background: var(--bg-primary);
}

.feature-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-block-reverse {
    grid-template-columns: 1fr 1.2fr;
}

.feature-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.feature-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.feature-list svg {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 0.2rem;
}

.feature-list strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.feature-list p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Sequence Composition */
.sequence-composition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.sequence-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.sequence-step img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
}

.sequence-label {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.sequence-result {
    position: relative;
}

.result-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.sequence-arrow {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* RESPONSIVE MÓVIL - Feature Blocks */
@media (max-width: 768px) {
    .feature-block {
        display: flex;
        flex-direction: column-reverse; /* Primero texto, luego imagen */
    }
    
    .feature-block-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .feature-content h2 {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .feature-lead {
        font-size: 1rem;
        text-align: center;
    }
    
    .before-after-showcase {
        flex-direction: column !important; /* ⬅️ AGREGAR ESTO */
    }
    
    .before-after-arrow {
        transform: rotate(90deg); /* ⬅️ AGREGAR ESTO */
    }
}


/* Zoom Showcase */
.zoom-showcase {
    position: relative;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.zoom-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.zoom-main img {
    width: 100%;
    height: auto;
}

.zoom-detail {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid var(--accent-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--bg-primary);
}

.zoom-detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zoom-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.zoom-detail-1 {
    top: 10%;
    right: -60px;
}

.zoom-detail-2 {
    bottom: 15%;
    right: -60px;
}

/* Before/After Showcase */
.before-after-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.before-after-item {
    flex: 1;
    position: relative;
}

.before-after-item img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
}

.ba-label {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.ba-before {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.ba-after {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.before-after-arrow {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* ========================================
   AVATAR EN ACCIÓN
   ======================================== */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.action-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.action-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.action-card:hover .action-overlay {
    transform: translateY(0);
}

.action-overlay h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* ========================================
   PRICING
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.pricing-featured {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.25);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price-old {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.875rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    line-height: 1.6;
}

.guarantee-badge {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.guarantee-badge h4 {
    font-size: 1.5rem;
    color: var(--success);
    margin-bottom: 0.5rem;
}

.guarantee-badge p {
    color: var(--text-secondary);
}

/* ========================================
   FAQ ACORDEÓN
   ======================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-light);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   CTA FINAL
   ======================================== */
.cta-section {
    padding: 7rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
}

.cta-guarantee {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-images {
        max-width: 600px;
        margin: 0 auto;
    }

    .trust-badge {
        justify-content: center;
    }

    .feature-block,
    .feature-block-reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .zoom-detail-1,
    .zoom-detail-2 {
        right: 1rem;
    }

    .sequence-composition {
        flex-direction: column;
    }

    .sequence-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .hero-images {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .feature-content h2 {
        font-size: 2rem;
    }

    .feature-lead {
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .gallery-item img {
        height: 250px;
    }

    .action-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .before-after-showcase {
        flex-direction: column;
    }

    .zoom-detail {
        width: 100px;
        height: 100px;
    }

    .zoom-detail-1 {
        top: 5%;
        right: 0.5rem;
    }

    .zoom-detail-2 {
        bottom: 5%;
        right: 0.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }
}
.logo {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    color: #ffffff;
}


.logo-img {
    width: 200px;
    height: auto;
    flex-shrink: 0;
}

.logo span {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   PRICING - 2 COLUMNAS
   ======================================== */
.pricing-grid-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

/* Badge "Próximamente" */
.coming-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Card Premium (deshabilitada) */
.pricing-premium {
    opacity: 0.85;
    position: relative;
}

.pricing-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, transparent 100%);
    pointer-events: none;
    border-radius: var(--radius-lg);
}

.pricing-premium .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-muted);
}

.pricing-premium .btn:disabled:hover {
    transform: none;
}

/* Ajuste para centrar en desktop */
@media (min-width: 769px) {
    .pricing-grid-two {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: Stack vertical */
@media (max-width: 768px) {
    .pricing-grid-two {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-premium {
        opacity: 1;
    }
}


/* ========================================
   PÁGINAS LEGALES
   ======================================== */
.legal-page {
    --bg-primary: #0f172a;
}

.legal-content {
    min-height: calc(100vh - 200px);
    padding: 6rem 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.legal-date {
    color: var(--text-muted);
    font-size: 1rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section p,
.legal-section li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-section ul li {
    position: relative;
}

.legal-section ul li::before {
    content: '→';
    color: var(--accent-primary);
    font-weight: bold;
    position: absolute;
    left: -2rem;
    width: 1.5rem;
}

.legal-contact {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 3rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.footer-legal {
    padding: 2rem 0;
    margin-top: auto;
}

.footer-legal p {
    text-align: center;
    color: var(--text-muted);
}

.footer-legal a {
    color: var(--accent-light);
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* Responsive legales */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .legal-contact {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}


/* ========================================
   WHATSAPP FLOATING BUTTON - SOLO LOGO
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-btn:active {
    transform: scale(0.98);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-btn {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
}




/* ========================================
   RESPONSIVE MÓVIL - CORRECCIONES
   ======================================== */

/* 1. LOGO MÁS PEQUEÑO EN MÓVIL */
@media (max-width: 768px) {
    .logo-img {
        width: 100px; /* Reducido aún más de 120px */
        height: auto;
    }

    .header {
        padding: 0.5rem 1rem; /* Reducido de 0.75rem */
        margin-bottom: 1rem; /* ⬅️ AGREGAR ESTO */
    }
    
    /* Agregar padding top al hero para compensar */
    .hero {
        padding-top: 6rem; /* ⬅️ AGREGAR ESTO (era 5rem) */
    }
}


/* 2. MENÚ HAMBURGUESA - MOBILE MENU */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002; /* ⬅️ MÁS ALTO QUE TODO */
    position: relative;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998; /* ⬅️ DEBAJO DEL HEADER */
}

.mobile-overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .header {
        position: fixed;
        z-index: 1001; /* ⬅️ AGREGAR ESTO */
    }

    .nav-links {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        border-left: 1px solid var(--border-color);
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0 !important;
    }

    .nav-links a {
        width: 100%;
        padding: 0.75rem;
        text-align: left;
        font-size: 1.1rem;
    }

    .btn-login {
        width: 100%;
        text-align: center;
    }
}



/* 3. CORRECCIÓN DE GRIDS QUE SE SALEN */
@media (max-width: 768px) {
    /* Container general */
    .container {
        padding: 0 1rem;
        overflow-x: hidden;
    }

    /* Use cases grid */
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Gallery centrada */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    .gallery-item {
        max-width: 100%;
    }

    /* Action grid centrado */
    .action-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Hero images centradas */
    .hero-images {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 1rem;
    }

    /* Pricing centrado */
    .pricing-grid,
    .pricing-grid-two {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    /* Before/After centrado */
    .before-after-showcase {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    /* Sequence composition centrado */
    .sequence-composition {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    /* Zoom showcase ajustado */
    .zoom-showcase {
        padding: 1rem;
    }

    /* FAQ container */
    .faq-container {
        padding: 0;
    }

    /* Feature blocks */
    .feature-block,
    .feature-block-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* 4. HERO AJUSTES ADICIONALES */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 1rem 3rem;
        overflow-x: hidden;
    }

    .hero-content {
        gap: 2rem;
        padding: 0;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .trust-badge {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .stat {
        text-align: center;
    }
}

/* 5. SECCIONES PADDING AJUSTADO */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        padding: 0 0.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}

/* 6. CTA SECTION MÓVIL */
@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* 7. WHATSAPP BUTTON AJUSTE */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-btn {
        width: 52px;
        height: 52px;
    }
}

/* 8. PREVENIR SCROLL HORIZONTAL */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    .hero::before {
        width: 100%;
        overflow: hidden;
    }
}






/* --- Pricing Offer Styles --- */
.price-container-offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.old-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: -5px; /* Pega visualmente el precio viejo al nuevo */
}

.old-price {
    text-decoration: line-through;
    color: #94a3b8; /* Gris 'slate' para que se lea pero no compita */
    font-size: 1.1rem;
    font-weight: 500;
}

.offer-badge {
    background-color: #ef4444; /* Rojo vibrante */
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ajuste móvil por si acaso */
@media (max-width: 768px) {
    .old-price-row {
        flex-direction: row;
        gap: 6px;
    }
}





/* ========================================
   SECCIÓN DE TESTIMONIOS (Adaptado a PixSud Theme)
   ======================================== */

.reviews-section {
    padding: 6rem 0;
    /* Usamos el color secundario (o terciario) para diferenciar del fondo principal */
    background-color: var(--bg-primary); 
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Efecto de fondo sutil (opcional, igual que tu hero) */
.reviews-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.reviews-container {
    max-width: 1400px; /* Igual que tu .container */
    margin: 0 auto;
    padding: 0 2rem;
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-header h2 {
    font-size: 2.75rem; /* Igual que .section-title */
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.reviews-header .subtitle {
    font-size: 1.25rem; /* Igual que .section-subtitle */
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid: 4 columnas en Desktop Grande */
.reviews-grid {
    display: grid;
    /* En pantallas > 1200px intentará meter 4. Si no, baja a 3, 2, 1 */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

/* Tarjeta Estilo "Glass" Oscuro */
.review-card {
    background: rgba(30, 41, 59, 0.4); /* Consistente con .use-case-card */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15); /* Tu sombra glow */
}

/* Imagen Principal */
.review-result-img {
    position: relative;
    height: 240px; /* Altura controlada */
    width: 100%;
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.review-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efecto zoom suave en la imagen al hacer hover en la tarjeta */
.review-card:hover .review-result-img img {
    transform: scale(1.05);
}

.badge-result {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(5, 8, 16, 0.85); /* Fondo oscuro sólido */
    color: var(--accent-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* Cuerpo de la Tarjeta */
.review-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.stars {
    color: var(--warning); /* Usando tu variable amarilla #f59e0b */
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary); /* Tu gris azulado claro */
    font-style: italic;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

/* Perfil del Usuario */
.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.reviewer-meta {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 700;
    color: var(--text-primary); /* Blanco brillante */
    font-size: 0.9rem;
    font-style: normal;
}

.reviewer-location {
    font-size: 0.75rem;
    color: var(--text-muted); /* Gris apagado */
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Ajuste Responsive Móvil */
@media (max-width: 768px) {
    .reviews-section {
        padding: 4rem 1rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr; /* Una columna */
        max-width: 450px;
        margin: 0 auto;
    }

    .reviews-header h2 {
        font-size: 2rem;
    }
}

/* ========================================
   REGLA DE VISIBILIDAD MÓVIL (Max 3 tarjetas)
   ======================================== */
@media (max-width: 768px) {
    /* Selecciona desde la 4ta tarjeta en adelante y la oculta */
    .review-card:nth-child(n+4) {
        display: none;
    }
}



/* ========================================
   SELECTOR DE MONEDA (Dropdown)
   ======================================== */
.currency-selector-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 100; /* Asegura que flote sobre otros elementos */
}

.custom-select {
    position: relative;
    width: 260px;
    font-family: inherit;
    user-select: none;
    text-align: left;
}

/* --- Botón Trigger (Visible siempre) --- */
.select-trigger {
    background: #0f172a; /* Fondo oscuro (slate-900) */
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.75rem; /* 12px */
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #f8fafc; /* Texto blanco (slate-50) */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.select-trigger:hover {
    border-color: #0ea5e9; /* Azul neón al hover */
    background: #1e293b; /* Un poco más claro al hover (slate-800) */
}

.select-trigger .currency-text {
    font-size: 0.95rem;
    font-weight: 500;
    margin-right: auto;
    color: #e2e8f0;
}

.select-trigger .arrow {
    color: #94a3b8; /* Icono gris */
    transition: transform 0.3s ease;
    margin-left: 10px;
}

/* --- Menú de Opciones (Oculto por defecto) --- */
.select-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #1e293b; /* Fondo del menú (slate-800) */
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5); /* Sombra fuerte */
    
    /* Animación de entrada */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    z-index: 200; /* Siempre encima del trigger */
    overflow: hidden;
}

/* Estado Abierto (activado por JS) */
.custom-select.open .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select.open .arrow {
    transform: rotate(180deg);
}

/* --- Opciones Individuales --- */
.option {
    padding: 12px 16px;
    cursor: pointer;
    color: #cbd5e1; /* Texto gris claro */
    transition: background 0.15s;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05); /* Separador sutil */
}

.option:last-child {
    border-bottom: none;
}

.option:hover {
    background: rgba(14, 165, 233, 0.1); /* Azul muy suave al hover */
    color: white;
}

.option.selected {
    background: #0ea5e9; /* Azul activo sólido */
    color: white;
}

/* ========================================
   CORRECCIÓN PRECIO TACHADO
   ======================================== */
.price-old-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* Espacio entre el precio y el badge */
    margin-bottom: 4px;
    color: #94a3b8; /* Gris opaco (Slate 400) */
    font-size: 1.15rem;
}

/* Tachamos específicamente el símbolo y el valor */
.price-old-container .currency-symbol,
.price-old-container .price-old-value {
    text-decoration: line-through;
    text-decoration-thickness: 2px; /* Línea un poco más visible */
    opacity: 0.8;
}

/* Aseguramos que el Badge de Oferta NO se tache */
.price-old-container .offer-badge {
    text-decoration: none !important;
    display: inline-block;
}


