/* ==========================================================================
   VINOGRAMA PREMIUM DESIGN SYSTEM
   ========================================================================== */
:root {
    --color-wine: #5e111d;
    --color-wine-dark: #2d080c;
    --color-gold: #c5a87e;
    --color-gold-light: #e0ccad;
    --color-cream: #f4f1ea;
    --color-white: #ffffff;
    --color-black: #0a0a0a;
    --color-text: #2d3436;
    --color-text-light: #636e72;
    --radius-md: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: #ffffff !important;
    /* Forzamos blanco para asegurar el diseño premium */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white) !important;
}

.text-gold {
    color: var(--color-gold) !important;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-wine-dark);
    box-shadow: 0 4px 15px rgba(197, 168, 126, 0.3), 0 0 20px rgba(197, 168, 126, 0.2);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(197, 168, 126, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(197, 168, 126, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(197, 168, 126, 0);
    }
}

.glow-soft {
    text-shadow: 0 0 15px rgba(197, 168, 126, 0.5);
}

.glow-box {
    box-shadow: 0 0 25px rgba(197, 168, 126, 0.2);
    border: 1px solid rgba(197, 168, 126, 0.3);
}

.highlight {
    color: var(--color-gold);
    position: relative;
    text-shadow: 0 0 10px rgba(197, 168, 126, 0.4);
}

/* Urgency Bar */
.urgency-bar {
    background: var(--color-wine);
    color: var(--color-white);
    text-align: center;
    padding: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 1000;
}

.urgency-bar span {
    color: var(--color-gold);
    font-weight: 800;
    text-shadow: 0 0 10px rgba(197, 168, 126, 0.8), 0 0 20px rgba(197, 168, 126, 0.4);
}

/* Header */
.header {
    background: var(--color-white);
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: var(--color-wine);
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: 2px;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    line-height: 1.2;
    color: var(--color-wine-dark);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0;
    background: #000000 !important;
    /* Aseguramos fondo negro para el overlay */
    color: var(--color-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero.jpg') center/cover no-repeat;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero .subheadline {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero .highlight {
    color: var(--color-gold);
    text-shadow: 0 0 15px rgba(197, 168, 126, 0.6);
}

.hero .badge {
    background: var(--color-gold);
    color: var(--color-wine-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    box-shadow: 0 0 15px rgba(197, 168, 126, 0.4);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stars {
    color: var(--color-gold);
    font-size: 1.2rem;
}

/* Testimonials - LIGHT SECTION */
.bg-white {
    background-color: var(--color-white);
}

/* REVIEWS CAROUSEL INFINITE */
.reviews-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    background: #fff;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    animation: scroll-infinite 60s linear infinite;
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.reviews-track .review-card-img {
    width: 450px;
    /* Tamaño mucho más grande */
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 1rem;
}

.reviews-track .review-card-img img {
    width: 100%;
    height: auto;
    border-radius: 0;
    /* Sin bordes redondeados si son capturas sin fondo */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    /* Sombra suave sobre el png */
    display: block;
}

.reviews-track .review-card-img:hover {
    transform: scale(1.1) rotate(1deg);
}

/* Ajustes para el contenedor del carrusel para quitar fondos */
.reviews-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: transparent;
    /* Fusión total */
}

.section.bg-white {
    background: #ffffff !important;
}

.reviews-track .stars {
    color: #c5a87e !important;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.reviews-track p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2d3436;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: italic;
}

.reviews-track .reviewer {
    font-size: 0.9rem;
    border-top: 1px solid #f1f1f1;
    padding-top: 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--color-wine);
}

.reviewer {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.reviewer-icon {
    width: 45px;
    height: 45px;
    background: var(--color-wine);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
}

/* Modules - LIGHT GRAY SECTION */
.bg-light {
    background-color: #f9f9f9;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.module-item {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--color-gold);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.module-item h4 {
    color: var(--color-wine);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.module-item p {
    color: var(--color-text);
}

/* Authority Section - CARD STYLE */
.authority-card {
    background: var(--color-cream);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.authority-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.authority-body {
    padding: 5rem;
}

.authority-body h3 {
    font-size: 2.5rem;
    color: var(--color-wine);
    margin-bottom: 1.5rem;
}

.authority-body p {
    margin-bottom: 1.5rem;
    color: var(--color-text);
    font-size: 1.15rem;
}

/* Price Logic - DARK SECTION */
.price-logic {
    background: var(--color-wine-dark);
    padding: 6rem 0;
}

.logic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.logic-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #fff;
}

.logic-card.highlighted {
    border: 2px solid var(--color-gold);
    background: rgba(197, 168, 126, 0.1);
    transform: scale(1.05);
}

.price-tag {
    display: block;
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--color-gold);
    margin: 1.5rem 0;
}

.logic-card h4 {
    font-size: 1.5rem;
    color: #fff;
}

/* Bonuses / Price List */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bonus-item {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e0ccad;
    text-align: center;
}

/* Modals - HIGH CONTRAST */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--color-white);
    color: var(--color-text);
    padding: 4rem 3rem;
    border-radius: 15px;
    position: relative;
    width: 95%;
    max-width: 480px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #333;
}

/* Sticky Button */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    padding: 1.2rem;
    z-index: 1500;
    border-top: 2px solid var(--color-gold);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    display: none;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h4 {
    color: var(--color-wine);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .authority-card {
        grid-template-columns: 1fr;
    }

    .authority-img {
        height: 350px;
    }

    .authority-body {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .logic-grid,
    .modules-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .mobile-sticky-cta {
        display: block;
    }
}