/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
   :root {
    /* Colors based on logo */
    --color-bg: #0d0d0d;
    --color-bg-darker: #050505;
    --color-bg-card: #161616;
    
    --color-primary: #F40000; /* Coca-Cola Red */
    --color-primary-hover: #cc0000;
    
    --color-secondary: #006ddb; /* Gear Blue */
    --color-secondary-hover: #1a85ff;
    
    --color-text: #e0e0e0;
    --color-text-muted: #a0a0a0;
    --color-text-heading: #ffffff;
    
    --color-border: #333333;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout & Utilities */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography & General Styles
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.2;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-hover);
}

.text-primary { color: var(--color-primary); }
.text-blue { color: var(--color-secondary); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--color-bg-darker);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #d44900);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 0, 0, 0.4);
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: #20b858;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    height: var(--nav-height);
    padding: 0 50px 0 20px;
    margin-left: -20px;
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
}

.nav-logo img {
    height: 65px;
    width: auto;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    position: relative;
}

.nav-link:not(.btn-outline)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-link:not(.btn-outline):hover::after {
    width: 100%;
}

.nav-link.btn-outline {
    padding: 8px 20px;
    border-radius: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--nav-height);
    background-image: url('https://images.unsplash.com/photo-1541625602330-2277a4c46182?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.4) 0%, rgba(13,13,13,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.2s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.4s;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
    border-left: 4px solid var(--color-primary);
    padding-left: 15px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-primary);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 6px solid var(--color-bg);
    z-index: 3;
    transform: translate(-40px, -40px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.badge-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: white;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    background: #1a1a1a;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   Features / Metodología Section
   ========================================================================== */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 109, 219, 0.1); /* Secondary blue transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-secondary);
    transition: var(--transition);
}

.feature-item:hover .feature-icon-wrapper {
    background: var(--color-secondary);
    color: white;
    transform: rotate(10deg);
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

/* ==========================================================================
   Entrenadores Section
   ========================================================================== */
.trainer-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    max-width: 900px;
    margin: 0 auto 40px;
}

@media (min-width: 768px) {
    .trainer-card {
        flex-direction: row;
        align-items: stretch;
    }
}

.trainer-image {
    flex: 1;
    min-height: 300px;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-info {
    flex: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trainer-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.trainer-role {
    display: block;
    color: var(--color-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.trainer-bio {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.trainer-titles h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
}

.trainer-titles ul {
    list-style: none;
}

.trainer-titles li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.trainer-titles li i {
    color: var(--color-secondary);
}

.join-team-banner {
    background: linear-gradient(135deg, rgba(244, 0, 0, 0.1), rgba(0, 109, 219, 0.1));
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    max-width: 700px;
    margin: 0 auto;
}

.join-team-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.join-team-banner p {
    margin-bottom: 20px;
    color: #ccc;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(244, 0, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #1a1a1a, #111);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(244, 0, 0, 0.2);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(244, 0, 0, 0.15);
}

.pricing-header {
    text-align: center;
    padding: 40px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.price {
    font-size: 4.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: white;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.currency {
    font-size: 2rem;
    margin-top: 10px;
    color: var(--color-primary);
}

.period {
    font-size: 1.2rem;
    align-self: flex-end;
    margin-bottom: 15px;
    color: var(--color-text-muted);
}

.pricing-desc {
    margin-top: 15px;
    color: var(--color-secondary);
    font-weight: 500;
}

.pricing-body {
    padding: 40px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.pricing-features li i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.badge-new {
    background: linear-gradient(135deg, var(--color-secondary), #1a85ff);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: auto;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 109, 219, 0.3);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(0, 109, 219, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(0, 109, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 109, 219, 0); }
}

/* ==========================================================================
   CTA / Contact Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, rgba(244, 0, 0, 0.1), rgba(0, 109, 219, 0.1));
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ccc;
    max-width: 600px;
    margin-inline: auto;
}

.contact-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--color-bg-card);
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-box:hover {
    background: #222;
    transform: scale(1.05);
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(244, 0, 0, 0.2);
}

.contact-icon {
    font-size: 2.2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #000;
    padding: 60px 0 20px;
    border-top: 2px solid var(--color-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 80px;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    mix-blend-mode: normal;
}

.footer-brand p {
    color: var(--color-text-muted);
    max-width: 300px;
}

.footer h4 {
    font-family: var(--font-heading);
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    color: white;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .pricing-body {
        padding: 30px 20px;
    }
    
    .contact-box {
        font-size: 1.4rem;
        padding: 15px 25px;
    }
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    z-index: 9999;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.cookie-banner.hidden {
    transform: translateY(110%);
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.cookie-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}
.cookie-content a {
    color: var(--color-primary);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-content .btn {
        width: 100%;
    }
}
