/* ══════════════════════════════════════════════════════════
   VARIABLES DE COLORES - PALETA DEL PROYECTO
   ══════════════════════════════════════════════════════════ */
:root {
    /* Colores */
    --color-negro: #000000;
    --color-maroon: #7b0f10;
    --color-naranja: #dd8b01;
    --color-blanco: #ffffff;
    --color-firebrick: #c50906;
    --color-naranja-claro: #ee982c;
    --color-gray: #8c8c8c;
    --color-gainsboro: #e7e6e5;
    --color-firebrick-alt: #cf121e;
    
    /* Tipografías */
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* Aplicar tipografías globales */
body {
    font-family: var(--font-body);
    color: var(--color-negro);
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-headings);
    font-weight: 700;
}

p, .lead {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.8;
}
/* ══════════════════════════════════════════════════════════
   LANDING PAGE - FORMPAGE
   Adaptado de ejemplo.html con buenas prácticas
   ══════════════════════════════════════════════════════════ */

html {
    scroll-behavior: smooth;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR TRANSLÚCIDO
   ═══════════════════════════════════════════════════════════ */
.navbar {
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 18px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.3rem;
}

.nav-link {
    font-weight: 500;
    color: #ffffff !important;
    transition: all 0.3s ease;
    padding: 8px 15px !important;
}

.nav-link:hover {
    color: #CC0804 !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-item {
    margin-left: 15px;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
    background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
                url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 90vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero h1 {
    letter-spacing: 3px;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero .lead {
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 120px 20px 80px;
        text-align: center;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .hero .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   BOTONES
   ═══════════════════════════════════════════════════════════ */
.btn-success {
    background-color: #CC0804 !important;
    border: none !important;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #a00603 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(204, 8, 4, 0.3);
}

.btn-primary {
    background-color: #4a4a4a !important;
    border: none !important;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2f2f2f !important;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN VIDEO
   ═══════════════════════════════════════════════════════════ */
#video {
    background: linear-gradient(135deg, #f5f5f5 40%, #e9e9e9 100%);
    padding: 100px 0;
}

#video h2 {
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 50px;
}

#video .ratio {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN EQUIPO (NOSOTROS)
   ═══════════════════════════════════════════════════════════ */
#nosotros {
    background: #f8f9fa;
    padding: 100px 0;
}

#nosotros h2 {
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 2.5rem;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 60px;
}

.entrenador-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 80px 25px 35px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    margin-top: 60px;
}

.entrenador-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.entrenador-img-wrapper {
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
}

.entrenador-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #ffffff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.trainer-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #222;
}

.trainer-role {
    color: #20c997;
    font-weight: 600;
    margin-bottom: 10px;
}

.trainer-desc {
    font-size: 0.9rem;
    color: #6c757d;
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN BENEFICIOS
   ═══════════════════════════════════════════════════════════ */
#beneficios {
    background: #f3f4f6;
    padding: 100px 0;
}

.beneficios-title {
    font-weight: 900;
    letter-spacing: 2px;
    color: #3f3f3f;
    margin-bottom: 15px;
}

.beneficios-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 60px;
}

.beneficio-card {
    position: relative;
    background: #dbe3ea;
    border-radius: 20px;
    padding: 30px 25px 30px 90px;
    text-align: left;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 150px;
    margin-bottom: 30px;
}

.beneficio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.beneficio-icon {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    background: #c7d6e2;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.beneficio-icon i {
    font-size: 40px;
    color: #3f3f3f;
}

.beneficio-content h5 {
    font-weight: 700;
    margin-bottom: 6px;
    color: #222;
}

.beneficio-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #6c757d;
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN GALERÍA
   ═══════════════════════════════════════════════════════════ */
#galeria {
    padding: 100px 0;
    background: #ffffff;
}

#galeria h2 {
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 60px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}
/* ═══════════════════════════════════════════════════════════
   SECCIÓN INFO
   ═══════════════════════════════════════════════════════════ */
.info-section {
    background: #f3f4f6;
}

.info-title {
    font-weight: 900;
    letter-spacing: 2px;
    color: #3f3f3f;
}

.info-subtitle {
    color: #666;
    font-size: 0.95rem;
}

.info-card {
    background: #e6eaee;
    border-radius: 20px;
    padding: 35px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.info-icon {
    font-size: 48px;
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN FAQ
   ═══════════════════════════════════════════════════════════ */
#faq {
    background: #f8f9fa;
    padding: 100px 0;
}

#faq h2 {
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 60px;
}

.accordion-button {
    font-weight: 600;
    background-color: #ffffff;
}

.accordion-button:not(.collapsed) {
    background-color: #CC0804;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #CC0804;
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN FORMULARIO
   ═══════════════════════════════════════════════════════════ */
#form {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    padding: 100px 0;
}

#form h2 {
    color: white;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

#form .lead {
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #CC0804;
    box-shadow: 0 0 0 0.2rem rgba(204, 8, 4, 0.15);
}

.form-check-input:checked {
    background-color: #CC0804;
    border-color: #CC0804;
}

/* ═══════════════════════════════════════════════════════════
   BOTÓN FLOTANTE
   ═══════════════════════════════════════════════════════════ */
.sticky-cta {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(204, 8, 4, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ═══════════════════════════════════════════════════════════
   VISTA DE ÉXITO
   ═══════════════════════════════════════════════════════════ */
.success-view {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
}

.success-icon {
    font-size: 80px;
    color: #22c55e;
    animation: checkmark 0.5s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.qr-container {
    max-width: 300px;
    margin: 0 auto;
    padding: 20px;
    background: #f3f4f6;
    border-radius: 15px;
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN TESTIMONIOS
   ═══════════════════════════════════════════════════════════ */
#testimonios {
    background: #f0f1f3;
    padding: 100px 0;
}

.testimonials-title {
    font-weight: 900;
    letter-spacing: 2px;
    color: #222;
}

.testimonials-subtitle {
    color: #666;
    font-size: 0.95rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.testimonial-avatar {
    margin-bottom: 20px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #222;
}

.testimonial-role {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.testimonial-stars i {
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #444;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN DESCARGA DE BRIEF
   ═══════════════════════════════════════════════════════════ */
#descarga {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.download-icon {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

.download-icon i {
    font-size: 80px;
    color: #CC0804;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.download-title {
    font-weight: 900;
    letter-spacing: 2px;
    color: #222;
    font-size: 2rem;
}

.download-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.download-note {
    font-size: 0.85rem;
    color: #6c757d;
}

@media (max-width: 991px) {
    .download-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .download-subtitle {
        text-align: center;
    }
    
    .download-section .btn {
        display: block;
        margin: 0 auto;
    }
    
    .download-note {
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .beneficio-card {
        padding: 30px 20px;
        margin-left: 50px;
    }
    
    .beneficio-icon {
        left: -45px;
        width: 70px;
        height: 70px;
    }
    
    .beneficio-icon i {
        font-size: 30px;
    }
    
    .sticky-cta {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}