/* <--- INDEX.HTML ---> */

/* RESET + BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0a0a0a;
    color: #e5e7eb;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #000;
    border-bottom: 1px solid #1f2933;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
}

.airsoft {
    color: #ffffff;
}

.guia {
    color: #3dc733;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 24px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #3dc733;
}

.nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* HERO */
.hero {
    min-height: 420px;
    background-image: url("img/hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 32px;
    border-bottom: 1px solid #1f2933;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 16px;
}

.hero p {
    font-size: 18px;
    color: #d1d5db;
}

/* INTRO */
.intro {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 32px;
    text-align: center;
}

.intro h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.intro p {
    font-size: 18px;
    color: #cbd5f5;
}

/* BLOQUES INFORMATIVOS */
.info-bloques {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.info-bloque {
    background: linear-gradient(145deg, #0a0a0a, #111827);
    padding: 24px;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.info-bloque:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.info-bloque h3 {
    color: #3dc733;
    margin-bottom: 12px;
}

.info-bloque p {
    color: #cbd5f5;
}

/* SECCIONES PRINCIPALES */
.cards-container {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    justify-content: center; /* centra filas incompletas */
}

.card {
    background: linear-gradient(145deg, #0a0a0a, #111827);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.card h3 {
    margin-bottom: 8px;
    color: #3dc733;
}

.card p {
    color: #cbd5f5;
}

.card img {
    border-radius: 8px;
    margin-bottom: 12px;
    max-height: 200px;
    object-fit: cover;
}

/* CTA FINAL */
.cta {
    background: linear-gradient(135deg, #0f172a, #020617);
    padding: 80px 32px;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.cta p {
    font-size: 18px;
    color: #d1d5db;
}

/* FOOTER */
.footer {
    border-top: 1px solid #1f2933;
    padding: 32px;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}

.footer-links {
    margin-bottom: 12px;
}

.footer-links a {
    margin: 0 12px;
    color: #e5e7eb;
    font-weight: 500;
}

.footer-links a:hover {
    color: #3dc733;
}

/* RESPONSIVE GENERAL */
@media (max-width: 900px) {
    .info-bloques {
        grid-template-columns: 1fr;
    }

    .cards-container {
        grid-template-columns: 1fr 1fr;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transition: right 0.3s ease;
    }

    .nav-menu.show {
        right: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .cards-container {
        grid-template-columns: 1fr;
        justify-content: center;
    }
}

/* <--- NORMAS.HTML ---> */

/* CARDS NORMAS */
.cards-container-normas {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    justify-content: center;
}

/* RESPONSIVE NORMAS */
@media (max-width: 900px) {
    .cards-container-normas {
        grid-template-columns: 1fr;
    }
}

/* <--- ROLES.HTML ---> */

/* CARDS ROLES */
.cards-container-roles {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-content: center;
}

/* RESPONSIVE ROLES */
@media (max-width: 900px) {
    .cards-container-roles {
        grid-template-columns: 1fr;
    }
}

/* BOTÓN "VER MÁS" INTEGRADO EN CARD */
.card .btn-card {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #3dc733, #2aa32a);
    color: #0a0a0a;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.card .btn-card:hover {
    background: linear-gradient(135deg, #2aa32a, #1f7f1f);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* BOTONES DE NAVEGACIÓN ENTRE ROLES */
.btn-role-nav {
    display: inline-block;
    background: #3dc733;
    color: #000;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-bottom: 15px;
}

.btn-role-nav:hover {
    background: #2ca52c;
    color: #fff;
    transform: translateX(4px);
}



/* <--- EQUIPAMIENTO.HTML ---> */

/* CARDS EQUIPAMIENTO */
.cards-container-equipamientos {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    justify-content: center;
}

/* RESPONSIVE EQUIPAMIENTO */
@media (max-width: 900px) {
    .cards-container-equipamientos {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .cards-container-equipamientos {
        grid-template-columns: 1fr;
    }
}
/* <--- EQUIPAMIENTO.HTML ---> */

/* <--- MODOS.HTML ---> */
/* CARDS MODOS */
.cards-container-modos {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cards-container-modos .card {
    background: linear-gradient(145deg, #0a0a0a, #111827);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.cards-container-modos .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.cards-container-modos .card h3 {
    margin-bottom: 12px;
    color: #3dc733;
}

.cards-container-modos .card p {
    color: #cbd5f5;
}

.cards-container-modos .card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

/* RESPONSIVE MODOS */
@media (max-width: 900px) {
    .cards-container-modos {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .cards-container-modos {
        grid-template-columns: 1fr;
    }
}
/* <--- MODOS.HTML ---> */


/* <--- FAQ.HTML ---> */
.faq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 32px;
}
.faq-card {
    background: linear-gradient(145deg, #0a0a0a, #111827);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #3dc733;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    font-size: 16px;
    color: #cbd5f5;
    margin-top: 12px;
    display: none;
}
.faq-card.active .faq-answer {
    display: block;
}
.arrow {
    transition: transform 0.3s ease;
}
.faq-card.active .arrow {
    transform: rotate(90deg);
}

