/* ==========================================================================
   TALENTO DEPORTIVO "MARÍA LARA" - ESTILOS PRINCIPALES
   ========================================================================== */

/* Importar Fuentes de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

/* Variables de Diseño (Design Tokens) */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Colores */
    --color-bg-dark: #0a0a0a;
    --color-bg-dark-card: #141414;
    --color-bg-dark-hover: #1e1e1e;
    --color-bg-light: #f7f9fa;
    --color-bg-white: #ffffff;
    
    --color-primary: #e53935; /* Rojo deportivo */
    --color-primary-hover: #c62828;
    --color-secondary: #fbc02d; /* Amarillo / Dorado */
    --color-secondary-hover: #f9a825;
    
    --color-text-light: #ffffff;
    --color-text-dark: #1a1a1a;
    --color-text-muted-light: #a0a0a0;
    --color-text-muted-dark: #666666;
    --color-border-light: rgba(255, 255, 255, 0.1);
    --color-border-dark: rgba(0, 0, 0, 0.1);

    /* Sombras y Efectos */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 20px rgba(229, 57, 53, 0.3);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --header-height: 80px;
}

/* Reset de Estilos */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-wrap: break-word;
}

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

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

/* Tipografía General */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilidades de Diseño */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

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

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-text-light);
    color: var(--color-text-light);
}

.btn-outline:hover {
    background-color: var(--color-text-light);
    color: var(--color-text-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   1. NAVBAR & HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-normal);
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    height: 70px;
    box-shadow: var(--shadow-md);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-wrapper img {
    height: 48px;
    border-radius: 4px;
    transition: var(--transition-normal);
}

.header.scrolled .logo-wrapper img {
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span:first-child {
    color: var(--color-text-light);
}

.logo-text span:last-child {
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-light);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Menú Hamburguesa para Móvil */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-light);
    margin: 5px 0;
    transition: var(--transition-normal);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: linear-gradient(rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.85)), url('../images/disciplinas/atletismo/atletismo-portada.jpg') no-repeat center center/cover;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-family: var(--font-heading);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-title span {
    color: var(--color-secondary);
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   3. STATS SECTION (FLOATING BAR)
   ========================================================================== */
.stats-section {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(20, 20, 20, 0.75);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--color-border-light);
    padding: 0 1rem;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-text-muted-light);
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ==========================================================================
   4. DISCIPLINAS SECTION
   ========================================================================== */
.disciplinas {
    background-color: var(--color-bg-dark);
}

.section-header {
    margin-bottom: 4rem;
}

.section-label {
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.section-title span {
    color: var(--color-secondary);
}

.section-desc {
    color: var(--color-text-muted-light);
    max-width: 600px;
    margin: 1rem auto 0;
}

.disciplinas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.discipline-card {
    background-color: var(--color-bg-dark-card);
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.discipline-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(20,20,20,0) 50%, rgba(20,20,20,0.9) 100%);
}

.discipline-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.discipline-card:hover img {
    transform: scale(1.08);
}

.card-icon {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background-color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 1.25rem;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.card-info {
    padding: 2rem 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.card-desc {
    color: var(--color-text-muted-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   5. ABOUT SECTION (FORMANDO CAMPEONES - LIGHT THEME)
   ========================================================================== */
.about {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.about .section-desc {
    color: var(--color-text-muted-dark);
    margin-left: 0;
    margin-right: 0;
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text-col {
    order: 1;
}

.about-visual-col {
    order: 2;
    position: relative;
}

.about-visual-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-bg-white);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    font-family: var(--font-heading);
    z-index: 10;
}

.about-badge .badge-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.about-badge .badge-txt {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Tabs en sección About */
.about-tabs-container {
    margin-top: 2.5rem;
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--color-border-dark);
    margin-bottom: 1.5rem;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--color-text-muted-dark);
    padding: 0.75rem 0;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--color-primary);
}

.tab-btn.active {
    color: var(--color-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

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

.tab-content p {
    color: var(--color-text-muted-dark);
    font-size: 0.98rem;
    margin-bottom: 1rem;
}

.tab-list {
    list-style: none;
    margin-top: 1rem;
}

.tab-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.tab-list li i {
    color: var(--color-primary);
}

/* ==========================================================================
   6. REGISTRATION SECTION (INSCRIPCIÓN 2026 - DARK THEME)
   ========================================================================== */
.registration {
    background-color: var(--color-bg-dark-card);
    position: relative;
}

.registration-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.reg-info-col h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.requirement-list {
    list-style: none;
    margin: 2rem 0;
}

.requirement-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.req-icon {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.req-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.req-text p {
    color: var(--color-text-muted-light);
    font-size: 0.9rem;
}

.reg-form-col {
    background-color: var(--color-bg-dark);
    border: 1px solid var(--color-border-light);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border-left: 4px solid var(--color-primary);
    padding-left: 0.75rem;
    color: var(--color-text-light);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text-muted-light);
}

.form-control {
    width: 100%;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    padding: 0.8rem 1rem;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255,255,255,0.06);
}

select.form-control {
    cursor: pointer;
}

select.form-control option {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 0.75rem;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(46, 125, 50, 0.2);
    border: 1px solid #2e7d32;
    color: #81c784;
}

.form-status.error {
    display: block;
    background-color: rgba(198, 40, 40, 0.2);
    border: 1px solid #c62828;
    color: #e57373;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* ==========================================================================
   7. BENEFIT LIST & CONTACT BOX STYLES (NEW)
   ========================================================================== */
.benefit-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.benefit-item i {
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-highlight-box {
    background-color: var(--color-bg-dark);
    border: 1px solid rgba(251, 192, 45, 0.25);
    border-left: 4px solid var(--color-secondary);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2.5rem;
    box-shadow: var(--shadow-md);
}

.contact-highlight-box h4 {
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
}

.contact-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-highlight-item:last-child {
    margin-bottom: 0;
}

.contact-highlight-item i {
    color: var(--color-secondary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-highlight-item a {
    color: var(--color-text-light);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    transition: var(--transition-fast);
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-highlight-item a:hover {
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
}

/* ==========================================================================
   8. FAQ SECTION (PREGUNTAS FRECUENTES - LIGHT THEME)
   ========================================================================== */
.faq {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border-dark);
    border-radius: 6px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text-dark);
    cursor: pointer;
}

.faq-question i {
    font-size: 1rem;
    color: var(--color-text-muted-dark);
    transition: var(--transition-normal);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
}

/* ==========================================================================
   9. CALL-TO-ACTION BANNER (HERO BANNER - DARK)
   ========================================================================== */
.cta-banner {
    position: relative;
    padding: 7rem 0;
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9)), url('../images/disciplinas/atletismo/atletismo-portada.jpg') no-repeat center center/cover;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-title span.red {
    color: var(--color-primary);
    display: block;
}

.cta-title span.yellow {
    color: var(--color-secondary);
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted-light);
    margin-bottom: 2rem;
}

/* ==========================================================================
   10. FOOTER (DEEP DARK)
   ========================================================================== */
.footer {
    background-color: #050505;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-brand h4 span {
    color: var(--color-secondary);
}

.footer-brand p {
    color: var(--color-text-muted-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: var(--color-bg-dark-card);
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    color: var(--color-text-muted-light);
    font-size: 1.1rem;
}

.social-link:hover {
    color: var(--color-text-light);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-col h5 {
    font-size: 1.05rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--color-text-light);
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted-light);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-text-light);
    padding-left: 4px;
}

.footer-info {
    list-style: none;
}

.footer-info li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
    color: var(--color-text-muted-light);
    align-items: flex-start;
}

.footer-info li i {
    color: var(--color-primary);
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-border-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted-light);
    font-size: 0.85rem;
}

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

.footer-bottom-links a:hover {
    color: var(--color-text-light);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE BEHAVIOR)
   ========================================================================== */

/* Breakpoint: Desktop / Large Tablets (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--color-border-light);
        padding-bottom: 1rem;
    }
    
    .stat-item:nth-child(3), .stat-item:nth-child(4) {
        border-bottom: none;
        padding-bottom: 0;
        padding-top: 1rem;
    }
    
    .disciplinas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-columns {
        gap: 2rem;
    }
    
    .registration-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Breakpoint: Mobile & Portrait Tablets (768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-bg-dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: var(--transition-normal);
        z-index: 999;
        border-top: 1px solid var(--color-border-light);
        overflow-y: auto;
    }
    
    .nav.open {
        left: 0;
    }
    
    .mobile-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero {
        min-height: 80vh;
        text-align: center;
        padding-top: calc(var(--header-height) + 3rem);
        padding-bottom: 4rem;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stats-section {
        margin-top: 2rem;
    }
    
    .stats-grid {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .disciplinas-grid {
        grid-template-columns: 1fr;
    }
    
    .about-columns {
        grid-template-columns: 1fr;
    }
    
    .about-text-col {
        order: 2;
    }
    
    .about-visual-col {
        order: 1;
        max-width: 500px;
        margin: 0 auto 2rem;
    }
    
    .about-badge {
        bottom: 10px;
        right: 10px;
        padding: 1rem;
    }
    
    .about-badge .badge-num {
        font-size: 2rem;
    }

    /* Tabs responsive design */
    .tabs-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        background-color: rgba(0, 0, 0, 0.04);
        padding: 0.35rem;
        border-radius: 8px;
        border-bottom: none;
        margin-bottom: 2rem;
    }
    
    .tab-btn {
        text-align: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
        border-radius: 6px;
        background: transparent;
        white-space: normal;
    }
    
    .tab-btn:hover {
        color: var(--color-primary);
    }
    
    .tab-btn.active {
        background-color: var(--color-primary);
        color: var(--color-text-light);
    }
    
    .tab-btn.active::after {
        display: none;
    }
    
    .reg-form-col {
        padding: 1.5rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .cta-banner {
        padding: 5rem 0;
    }

    .cta-title {
        font-size: 2.25rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Breakpoint: Small Mobile (480px) */
@media (max-width: 480px) {
    .logo-wrapper img {
        height: 36px;
    }
    
    .header.scrolled .logo-wrapper img {
        height: 32px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-text span:last-child {
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.85rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .about-badge {
        bottom: 10px;
        right: 10px;
        padding: 0.75rem;
    }

    .cta-banner {
        padding: 4rem 0;
    }
    
    .cta-title {
        font-size: 1.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item:nth-child(n) {
        border-right: none;
        border-bottom: 1px solid var(--color-border-light);
        padding-bottom: 1rem;
        padding-top: 1rem;
    }
    
    .stat-item:first-child {
        padding-top: 0;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   11. GALERÍA DE IMÁGENES (NUEVO)
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    height: 250px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Botón Flotante de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: var(--transition-normal);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(37, 211, 102, 0.5);
}

/* Ajustes de WhatsApp en móviles */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}
