﻿/* ==================== ESTILOS GENERALES Y RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Manrope", system-ui, sans-serif;
    background-color: #0b0b0b;
    color: #f3f4f6;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== NAVBAR ==================== */
.navbar {
    width: 100%;
    background-color: #0b0b0b;
    position: relative;
    border-bottom: 1px solid #1f1f1f;
    z-index: 100;
}

.navbar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1900px;
    margin: 0 auto;
    padding: 15px 20px;
    box-sizing: border-box;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 12px);
    min-width: 0;
    max-width: 100%;
    text-decoration: none;
}

.logo-box {
    min-width: 0;
    flex: 0 1 auto;
}

.logo-box img {
    height: clamp(24px, 4.2vw, 66px);
    max-width: 100%;
    width: auto;
    display: block;
    object-fit: cover;
}

.logo-vo img {
    height: clamp(26px, 4.5vw, 70px);
}

.logo-plus {
    color: #fff;
    flex: 0 0 auto;
    font-size: clamp(.8rem, 1.5vw, 1.2rem);
    font-weight: bold;
}

/* MENÚ ESCRITORIO */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    width: 100%;
    margin: 12px 0 0;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #ff2a2a;
}

/* BOTÓN HAMBURGUESA */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* MENÚ MÓVIL */
.mobile-nav {
    display: none !important;
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content h1 span {
    color: #ff2a2a;
}

.hero-content p {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #dc2626;
    color: #fff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    background-color: #b91c1c;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
}

.hero-media .video-card {
    background: #161616;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding-top: 0;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.video-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.75);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #fff;
}

.video-badge i {
    color: #22c55e;
    font-size: 0.6rem;
    margin-right: 5px;
}

/* El menú se compacta antes de que los logos y enlaces se recorten. */
@media (max-width: 1150px) {
    .nav-links { display: none !important; }
    .mobile-menu-btn {
        display: flex !important;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: 12px;
    }
    .navbar-container { flex-direction: row; gap: 0; }
    .logo-wrapper { justify-content: center; }
    .logo-box img { height: clamp(24px, 4vw, 54px); }
    .logo-vo img { height: clamp(26px, 4.2vw, 58px); }
    .mobile-nav {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 20px !important;
        border-top: 1px solid #222 !important;
        background: #111 !important;
        box-shadow: 0 10px 20px rgba(0,0,0,.5) !important;
        box-sizing: border-box !important;
        z-index: 1000 !important;
    }
    .mobile-nav a {
        display: block !important;
        width: 100% !important;
        padding: 8px 0 !important;
        border-bottom: 1px solid #1a1a1a !important;
        color: #fff !important;
        text-align: center !important;
        text-decoration: none !important;
        font-size: 1.1rem !important;
    }
    .mobile-nav.active { display: flex !important; }
}

/* ==================== SECCIONES Y GRILLAS GENERALES ==================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header .badge {
    display: inline-block;
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.section-header p {
    color: #9ca3af;
    font-size: 1.05rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: #121212;
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.step-card .step-number {
    font-size: 2rem;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 15px;
}

.step-card h3, .feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #fff;
}

.step-card p, .feature-card p {
    color: #9ca3af;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 20px;
}

/* ==================== GALERÍA ==================== */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #161616;
    border: 1px solid #1f1f1f;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    font-weight: 600;
}

/* ==================== FOOTER ==================== */
footer {
    background-color: #070707;
    border-top: 1px solid #1f1f1f;
    padding: 40px 0;
    text-align: center;
    color: #9ca3af;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-brand {
    font-weight: 600;
    color: #fff;
}

/* ==================== COMPORTAMIENTO VIDEOS RESPONSIVE ==================== */
.video-horizontal { 
    display: none; 
}
.video-vertical { 
    display: block; 
}

/* ==================== MEDIA QUERIES (RESPONSIVE) ==================== */
@media (min-width: 768px) {
    .video-horizontal { 
        display: block; 
    }
    .video-vertical { 
        display: none; 
    }
}

@media (max-width: 1150px) {
    .nav-links {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin-left: 12px;
    }

    .navbar-container { gap: 0; }
    .logo-box img { height: clamp(24px, 6vw, 48px); }
    .logo-vo img { height: clamp(26px, 6.5vw, 52px); }
    .logo-plus { font-size: clamp(.75rem, 3vw, 1rem); }

    .mobile-nav {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #111 !important;
        flex-direction: column !important;
        align-items: center !important; 
        text-align: center !important;  
        padding: 20px !important;
        box-sizing: border-box !important;
        gap: 15px !important;
        border-top: 1px solid #222 !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5) !important;
        z-index: 1000 !important;
        display: none !important; 
    }

    .mobile-nav a {
        color: #fff !important;
        text-decoration: none !important;
        font-size: 1.1rem !important;
        padding: 8px 0 !important;
        border-bottom: 1px solid #1a1a1a !important;
        display: block !important;
        width: 100% !important;
    }

    .mobile-nav a:hover {
        color: #ff2a2a !important;
    }

    .mobile-nav.active {
        display: flex !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .grid-3, .grid-gallery {
        grid-template-columns: 1fr;
    }
}
/* ==================== ACTUALIZACIÓN OCT 2026 ==================== */
.section-lead { max-width: 760px; margin: -20px auto 25px auto; text-align: center; color: #d1d5db; font-size: 1.05rem; }

.value-card {
    position: relative;
    max-width: 1120px;
    margin: 0 auto 48px;
    padding: clamp(24px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, .12), transparent 58%), linear-gradient(145deg, #151515, #0f0f0f 68%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .04);
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    width: 76%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dc2626, transparent);
}

.value-card .section-lead { margin: 0 auto 22px; }
.value-card .section-lead-strong { max-width: 900px; font-size: clamp(1.1rem, 2vw, 1.3rem); }
.value-card .benefit-list { margin: 32px 0 0; gap: 12px; }
.value-card .benefit-list li { flex: 1 1 220px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.035); }

@media (max-width: 600px) {
    .value-card { margin-bottom: 36px; padding: 24px 18px; border-radius: 18px; }
    .value-card .benefit-list { margin-top: 24px; }
    .value-card .benefit-list li { flex-basis: 100%; padding: 12px 14px; }
}

.benefit-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 0 auto 40px auto; padding: 0; color: #fff; }
.benefit-list i { color: #22c55e; margin-right: 6px; }

.alliance-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.alliance-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.alliance-card h3 { color: #fff; font-size: 1.25rem; }
.alliance-card p { color: #9ca3af; font-size: 0.95rem; }
.alliance-logo { height: 40px; width: auto; }
.alliance-icon { font-size: 2rem; color: #dc2626; }
.alliance-card .btn { margin-top: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; width: 100%; max-width: 1050px; margin: 0 auto; }
.spot-item { min-width: 0; }
.spot-frame { border-radius: 12px; overflow: hidden; background: #161616; border: 1px solid #1f1f1f; }
.spot-frame video { display: block; width: 100%; height: auto; }
.spot-title { text-align: center; color: #9ca3af; margin-top: 10px; font-size: 0.95rem; }
.spot-cta { text-align: center; margin-top: 35px; }

.team-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.team-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 3px solid #dc2626; margin-bottom: 8px; }
.team-initials { display: flex; align-items: center; justify-content: center; background: #1a1a1a; color: #dc2626; font-size: 2.5rem; font-weight: 800; }
.team-card h3 { color: #fff; font-size: 1.2rem; }
.team-role { color: #dc2626 !important; font-weight: 600; font-size: 0.9rem; }
.team-card p { color: #9ca3af; font-size: 0.95rem; }

/* Tipografía del sitio: títulos con carácter y textos fáciles de leer */
h1, h2, h3, .price {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-weight: 400;
    letter-spacing: .025em;
}

body, button, input, select, textarea {
    font-family: "Manrope", system-ui, sans-serif;
}

.section-header p, .section-lead, .spot-title, .team-role {
    font-family: "Manrope", system-ui, sans-serif;
    letter-spacing: .01em;
}

.cta-box { max-width: 800px; margin: 0 auto; text-align: center; }
.cta-box .whatsapp-badge-icon { display: inline-flex; justify-content: center; align-items: center; margin-bottom: 15px; }
.cta-box h2 { font-size: 2.25rem; color: #fff; margin-bottom: 15px; }
.cta-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 20px; }

.cta-box.value-card { max-width: 900px; margin-bottom: 0; padding: clamp(28px, 5vw, 56px); }
.cta-box .whatsapp-badge-icon { width: 64px; height: 64px; margin: 0 auto 22px; border: 1px solid rgba(37, 211, 102, .32); border-radius: 20px; background: rgba(37, 211, 102, .1); color: #25d366; }
.cta-box .whatsapp-badge-icon i { font-size: 2rem !important; }
.cta-box h2 { max-width: 19ch; margin: 0 auto 18px; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.05; }
.cta-box .cta-desc { max-width: 56ch; margin: 0 auto; color: #c3c3c3; font-size: clamp(.98rem, 1.8vw, 1.1rem); line-height: 1.65; }
.cta-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 700px; margin: 30px auto 0; gap: 14px; }
.cta-buttons .btn { justify-content: center; min-height: 58px; padding: 14px 18px; border: 1px solid rgba(37, 211, 102, .35); border-radius: 14px; font-size: .98rem; transition: transform .2s, background-color .2s, box-shadow .2s; }
.cta-buttons .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 211, 102, .2); }

@media (max-width: 600px) {
    .cta-box.value-card { padding: 28px 18px; }
    .cta-box h2 { max-width: 17ch; font-size: clamp(2rem, 9vw, 2.7rem); }
    .cta-box .cta-desc { line-height: 1.5; }
    .cta-buttons { grid-template-columns: 1fr; width: 100%; margin-top: 24px; gap: 12px; }
    .cta-buttons .btn { width: 100%; min-height: 54px; padding: 12px 14px; }
}

.footer-social a { color: #ff2a2a; text-decoration: none; transition: color 0.3s ease; }
.footer-social a:hover { color: #ff2a2a; }
.footer-social i { font-size: 1.4rem; margin-right: 6px; vertical-align: middle; }

@media (max-width: 1150px) {
    .alliance-grid { grid-template-columns: 1fr; }
}

#spots-ia .grid-2 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

@media (max-width: 767px) {
    #spots-ia .grid-2 { grid-template-columns: 1fr; }
}

/* Volver arriba + desplazamiento suave */
html { scroll-behavior: smooth; }
.section, .hero { scroll-margin-top: 10px; }
.section-lead-strong { color: #fff; font-weight: 600; font-size: 1.15rem; margin-top: -30px; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #dc2626; color: #fff; border-radius: 50%; text-decoration: none; font-size: 1.1rem; box-shadow: 0 4px 14px rgba(220,38,38,0.5); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, visibility .3s, transform .3s, background-color .3s; z-index: 900; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #b91c1c; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
