/* ==========================================
   VARIABLES Y RESETS (PREMIUM DARK THEME)
   ========================================== */
:root {
    --bg-color: #09090b;
    /* Zinc 950 */
    --surface: rgba(24, 24, 27, 0.6);
    /* Zinc 900 con opacidad para glassmorphism */
    --surface-hover: rgba(39, 39, 42, 0.8);
    /* Zinc 800 */
    --text-main: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --accent: #22c55e;
    /* Green 500 */
    --accent-hover: #16a34a;
    /* Green 600 */
    --accent-glow: rgba(34, 197, 94, 0.3);
    --accent-secondary: #f59e0b;
    /* Amber 500 */
    --accent-secondary-hover: #d97706;
    /* Amber 600 */
    --accent-secondary-glow: rgba(245, 158, 11, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);

    --font-heading: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --container-width: 800px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 15% 0%, rgba(22, 101, 52, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(6, 78, 59, 0.15) 0%, transparent 40%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ==========================================
   TIPOGRAFÍA
   ========================================== */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 400;
}

/* ==========================================
   LAYOUT Y CRISTALERÍA (GLASSMORPHISM)
   ========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

header {
    padding: 1rem 0;
    margin-bottom: 2rem;
}

footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    text-align: center;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 1rem;
    z-index: 100;
}

.logo {
    font-family: var(--font-heading);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ==========================================
   COMPONENTES
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #000;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 var(--accent-glow);
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
    box-shadow: none;
}

.btn-special {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, #d97706 100%);
    color: #000;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 var(--accent-secondary-glow);
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.btn-special:hover {
    background: linear-gradient(135deg, var(--accent-secondary-hover) 0%, #b45309 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.btn-outline:hover {
    background: var(--surface);
    border-color: var(--text-muted);
    box-shadow: none;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* UTILIDADES */
.text-center {
    text-align: center;
}

.mt-8 {
    margin-top: 1.5rem;
}

.mt-12 {
    margin-top: 2.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 4rem;
}

.pt-8 {
    padding-top: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.opacity-80 {
    opacity: 0.8;
}

.glass-card {
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* IMÁGENES MODERNAS */
.img-placeholder {
    width: 100%;
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--border-color);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.5);
}

.profile-img-container {
    aspect-ratio: 1/1;
    max-width: 320px;
    width: 100%;
    float: right;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    padding: 0;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: var(--surface);
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.profile-img-container:hover img {
    transform: scale(1.05);
}

/* URGENCIA Y CUENTA ATRÁS */
.urgency-bar {
    background: linear-gradient(90deg, rgba(22, 101, 52, 0.95) 0%, rgba(21, 128, 61, 0.95) 50%, rgba(22, 101, 52, 0.95) 100%);
    color: white;
    text-align: center;
    padding: 0.6rem;
    font-size: 0.9rem;
    font-weight: 700;
    width: 100%;
    z-index: 150;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.5s ease-out;
    transition: opacity 0.5s ease-in-out;
}

.urgency-bar.fade-out {
    opacity: 0;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.countdown-container {
    margin: 2rem 0;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1.25rem;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    text-shadow: 0 0 20px var(--accent-glow);
}

.countdown-unit {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Contenedor de imagen real (Hero y Carteles) */
.img-container {
    width: 100%;
    max-width: 100%;
    margin: 2rem 0;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--surface);
    display: flex;
    justify-content: center;
}

.img-container img {
    max-width: 100%;
    max-height: 70vh;
    /* Evita que los carteles verticales sean infinitos */
    height: auto;
    width: auto;
    /* Permite que la imagen mantenga su ancho natural si es muy vertical */
    display: block;
    object-fit: contain;
}

.img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: skewX(-20deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* LISTAS Y SHOWS */
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.bullet-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    color: var(--text-main);
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--accent-glow);
}

.bullet-list li::after {
    content: '✓';
    position: absolute;
    left: 0.3rem;
    top: 0.25rem;
    font-size: 0.8rem;
    color: #000;
    font-weight: bold;
}

.show-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.show-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

/* REVIEWS CAROUSEL */
.reviews-section {
    padding: 1.5rem 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    margin: 1rem auto;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    background: var(--surface);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.carousel-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #fff;
    /* Por si el fondo de la captura es transparente */
}

.carousel-btns {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--accent);
    color: black;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--accent-glow);
}

.show-item:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px -10px rgba(34, 197, 94, 0.2);
    background: var(--surface-hover);
}

.show-item:hover::before {
    transform: scaleY(1);
}

.show-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

.show-info p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

/* FORMS */
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    .show-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }

    .button-group {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .img-container {
        border-radius: 1rem;
        margin: 1.5rem 0;
    }

    .profile-img-container {
        float: none;
        margin: 0 auto 2rem auto;
        max-width: 280px;
    }
}