/* ========================
   VARIABLES GLOBALES - Identidad Naranja Strikebox
======================== */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --primary-orange: #FF4D00; /* Naranja extraído del logo */
    --primary-orange-hover: #e64500;
    
    --font-agresiva: 'Oswald', sans-serif;
    --font-cuerpo: 'Roboto', sans-serif;
}

/* ========================
   RESETEO BÁSICO
======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-cuerpo);
    line-height: 1.6;
}

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

.text-center { text-align: center; }

.section-title {
    font-family: var(--font-agresiva);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4rem;
}

.highlight { color: var(--primary-orange); }

/* ========================
   NAVEGACIÓN (NAVBAR)
======================== */
.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 1;
}

.logo-img {
    height: 55px;
    display: block;
    transition: transform 0.3s ease;
}

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

.nav-links {
    flex: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover { color: var(--text-main); }

.nav-links a.btn-primary {
    margin-left: auto; 
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ========================
   BOTONES GENERALES
======================== */
.btn-primary, .btn-large {
    background-color: var(--primary-orange);
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-primary {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-large {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-family: var(--font-agresiva);
    letter-spacing: 1px;
    margin-top: 2rem;
}

.btn-primary:hover, .btn-large:hover {
    background-color: var(--primary-orange-hover);
}

/* ========================
   HERO & SLIDER
======================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.slider-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slider-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9));
}

.slider-bg.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: var(--font-agresiva);
    font-size: clamp(2.5rem, 6vw, 6rem); 
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 3px 5px 10px rgba(0, 0, 0, 0.9); 
}

.hero-content p {
    color: #ffffff;
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.9);
}

/* ========================
   DISCIPLINAS
======================== */
.disciplinas { padding: 8rem 0; }

.grid-disciplinas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border-bottom: 4px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-orange);
}

.card h3 {
    font-family: var(--font-agresiva);
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.card p { color: var(--text-muted); font-size: 1rem; }

/* ========================
   HORARIOS Y FILTROS
======================== */
.horarios { padding: 8rem 0; }

.filtros { margin-bottom: 3rem; }

.btn-filtro {
    background: none;
    border: 2px solid #333;
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-filtro:hover, .btn-filtro.active {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.tabla-horarios {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}

.clase-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    padding: 1rem 2rem;
    border-bottom: 1px solid #222;
}

.clase-row:last-child { border-bottom: none; }
.clase-row .hora { font-weight: bold; color: var(--primary-orange); }
.clase-row .nombre { font-weight: 500; }
#mensaje-vacio { color: var(--primary-orange); }

/* ========================
   IMPLEMENTOS / EQUIPAMIENTO
======================== */
.implementos { padding: 6rem 0; }

.grid-implementos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card-implemento {
    background-color: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid #222;
    border-top: 4px solid var(--primary-orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-implemento:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 77, 0, 0.15);
}

.card-implemento h3 {
    font-family: var(--font-agresiva);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-implemento ul { list-style: none; }

.card-implemento ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-implemento ul li:last-child { margin-bottom: 0; }

.card-implemento ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ========================
   PLANES Y PRECIOS (TABS)
======================== */
.planes { padding: 8rem 0; }

.banner-clase-suelta {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid var(--primary-orange);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.1);
}

.banner-clase-suelta h3 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.precio-suelta {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-orange);
    font-family: var(--font-agresiva);
}

.tabs-planes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background-color: var(--bg-card);
    color: var(--text-muted);
    border: 2px solid #333;
    padding: 0.8rem 2rem;
    font-family: var(--font-agresiva);
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary-orange);
    color: var(--text-main);
}

.tab-btn.active {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 77, 0, 0.3);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.grid-planes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: center;
}

.card-plan {
    background-color: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #222;
    position: relative;
    transition: transform 0.3s ease;
}

.card-plan:hover { transform: translateY(-10px); }

.card-plan h3 {
    font-family: var(--font-agresiva);
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.precio {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.precio span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.features-plan {
    list-style: none;
    margin-bottom: 2rem;
}

.features-plan li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #222;
    color: var(--text-muted);
}

.features-plan li:last-child { border-bottom: none; }

.btn-plan {
    display: block;
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--primary-orange);
    color: var(--text-main);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    background-color: var(--primary-orange);
}

.destacado {
    border-color: var(--primary-orange);
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.2);
    transform: scale(1.05);
    padding: 4rem 2rem;
}

.destacado:hover { transform: scale(1.05) translateY(-10px); }
.destacado h3 { color: var(--primary-orange); }

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* ========================
   ¿QUIÉNES SOMOS?
======================== */
.quienes-somos { padding: 6rem 0 2rem; }

.about-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.about-text strong { color: var(--text-main); }

.about-text em {
    color: var(--primary-orange);
    font-style: normal;
    font-family: var(--font-agresiva);
    letter-spacing: 1px;
}

/* ========================
   PREGUNTAS FRECUENTES (FAQ) Y ACORDEÓN
======================== */
.faq { padding: 6rem 0; }

.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid #222;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    color: var(--text-main);
    font-family: var(--font-cuerpo);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover { background-color: #1a1a1a; }

.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #0d0d0d;
}

/* Aplica para Párrafos y Listas dentro del acordeón (Términos y condiciones) */
.accordion-content p, .accordion-content ul {
    padding: 0 1.5rem;
    color: var(--text-muted);
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg); /* Convierte el + en una x */
}

.accordion-item.active .accordion-content {
    max-height: 500px; /* Ampliado para cubrir listas largas */
    padding: 0 0 1.5rem 0;
}

.accordion-item.active .accordion-content p,
.accordion-item.active .accordion-content ul {
    opacity: 1;
}

/* ========================
   COMUNIDAD INSTAGRAM
======================== */
.comunidad { padding: 8rem 0; }

.grid-instagram {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.grid-instagram iframe {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    background-color: var(--bg-card);
}

/* ========================
   UBICACIÓN Y MAPA
======================== */
.ubicacion { padding: 6rem 0; }

.ubicacion-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.direccion-info strong {
    color: var(--text-main);
    font-size: 1.5rem;
    font-family: var(--font-agresiva);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.mapa-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: 1px solid #222;
}

.mapa-container iframe { display: block; }

/* ========================
   FOOTER Y CONTACTO
======================== */
.footer {
    background-color: #0d0d0d;
    padding: 4rem 0 2rem;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-family: var(--font-agresiva);
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.contact-info svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-orange);
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #1a1a1a;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: var(--text-main);
    transition: fill 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-orange);
    transform: translateY(-5px);
}

.social-links a:hover svg { fill: white; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.9rem;
}

/* ========================
   RESPONSIVE (MOBILE) - SIEMPRE AL FINAL
======================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; 
    }

    .mapa-container iframe {
        height: 300px; 
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        padding-bottom: 40px;
        overflow-y: auto;
        transition: 0.4s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active { right: 0; }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.4rem;
        font-family: var(--font-agresiva);
        text-transform: uppercase;
        text-align: center;
    }

    .nav-links a.btn-primary { margin: 1rem 0; }

    .logo-img { height: 45px; }

    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero-content h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
}