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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #545353;
    color: #2c1810;
}

/* ============================================
   HEADER Y FOOTER - Color #F25921
   ============================================ */

header, #main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #F25921;
    color: white;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Header más compacto al hacer scroll */
#main-header.scrolled {
    padding: 0.5rem 5%;
    background: rgba(242, 89, 33, 0.95);
    backdrop-filter: blur(10px);
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: white;
}

.logo span {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 70%;
}

nav ul li a.active {
    background: rgba(255,255,255,0.2);
}

/* Footer - Color #F25921 */
footer {
    background: #F25921;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content p {
    color: white;
    opacity: 0.9;
}

/* ============================================
   TÍTULOS - Color #545353
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: #545353;
}

.info-evento h2 {
    color: #545353;
    margin-bottom: 1rem;
}

.faq-section h2 {
    color: #545353;
}

.page-header h2 {
    color: #545353;
}

.detalle-card h3 {
    color: #545353;
    margin-bottom: 15px;
    border-bottom: 2px solid #545353;
    padding-bottom: 5px;
}

.categoria-card h3 {
    color: #545353;
    margin-bottom: 0.5rem;
}

legend {
    font-weight: bold;
    color: #545353;
    padding: 0 1rem;
}

/* ============================================
   BANNER DE CONTACTO - Color #F25921
   ============================================ */

.contacto-banner {
    background: #F25921;
    color: white;
    text-align: center;
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
}

.contacto-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contacto-banner p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: white;
}

.contacto-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-contacto {
    background: white;
    color: #F25921;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-contacto:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-contacto-whatsapp {
    background: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-contacto-whatsapp:hover {
    background: #20b859;
    transform: translateY(-2px);
}

/* ============================================
   BOTONES - Se mantienen como estaban
   ============================================ */

.btn-postular {
    background: #c0392b;
    color: white;
    padding: 2rem 5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
    font-size: 30px;
}

.btn-postular:hover {
    background: #e74c3c;
}

.btn-bases {
    background: #F25921;
    color: white;
    padding: 2rem 5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
    font-size: 30px;
}

.btn-bases:hover {
    background: #FC804E;
}

.btn-enviar {
    background: #8b1e1e;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.btn-enviar:hover {
    background: #c0392b;
}

.btn-continuar {
    background: #8b1e1e;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    width: 20%;
}

.btn-continuar:hover {
    background: #c0392b;
}

.btn-volver, .btn-cancelar {
    background: #6c757d;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-volver:hover, .btn-cancelar:hover {
    background: #5a6268;
    transform: translateY(-2px);
}


/* ============================================
   TARJETAS Y CONTENEDORES
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.info-evento {
    text-align: center;
    margin-bottom: 3rem;
}

.destacados {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.destacado {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 200px;
}

.icono {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.categoria-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #F25921;
    transition: transform 0.2s;
}

.categoria-card:hover {
    transform: translateY(-5px);
}

.codigo {
    display: inline-block;
    background: #545353;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.timeline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.plazo {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    flex: 1;
}

.fecha {
    font-weight: bold;
    color: #F25921;
    display: block;
    margin-bottom: 0.5rem;
}

/* ============================================
   FORMULARIOS
   ============================================ */

form, .seleccion-categoria {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

.campo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.campo label {
    font-weight: bold;
    font-size: 0.9rem;
}

.campo input, .campo select, .campo textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

.campo input:focus, .campo select:focus, .campo textarea:focus {
    outline: none;
    border-color: #F25921;
}

.check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.check-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.seleccion-categoria {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.seleccion-categoria select {
    flex: 1;
    padding: 0.75rem;
}

.nota {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    color: #856404;
}

.aceptacion {
    margin: 2rem 0;
    padding: 1rem;
    background: #e8f4f8;
    border-radius: 8px;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* ============================================
   PÁGINA DE GRACIAS
   ============================================ */

.gracias-box {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.icono-exito {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.folio-destacado {
    font-size: 1.5rem;
    background: #f0f0f0;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.info-adicional, .plazos-recordatorio {
    text-align: left;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-adicional ul {
    margin-left: 2rem;
    margin-top: 0.5rem;
}

.info-adicional li {
    margin: 0.5rem 0;
}

.plazos-recordatorio p {
    margin: 0.5rem 0;
}

/* ============================================
   SECCIÓN FAQ
   ============================================ */

.faq-section {
    margin: 4rem 0;
    padding: 2rem;
    background: #f9f6f0;
    border-radius: 20px;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.faq-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #fff5f0;
}

.faq-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 40px;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.1rem;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #F25921;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
    background: white;
    border-top: 1px solid #eee;
    line-height: 1.6;
    color: #555;
}

.faq-answer p {
    margin: 0;
    padding-top: 1rem;
}

.faq-answer strong {
    color: #F25921;
}

/* ============================================
   PANEL ADMINISTRATIVO
   ============================================ */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.admin-table th, .admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.admin-table tr:hover {
    background: #f5f5f5;
}

.estado-pendiente {
    background: #ffc107;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

.estado-en_revision {
    background: #17a2b8;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

.estado-aprobado {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

.estado-rechazado {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

.filtros {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filtros form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #545353;
}

/* ============================================
   DETALLE DE POSTULACIÓN
   ============================================ */

.detalle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detalle-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.campo-detalle {
    margin-bottom: 10px;
}

.campo-detalle label {
    font-weight: bold;
    display: inline-block;
    width: 180px;
}

.archivos-lista {
    list-style: none;
    padding: 0;
}

.archivos-lista li {
    margin: 5px 0;
}

.archivos-lista a {
    color: #007bff;
    text-decoration: none;
}

.estado-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

/* ============================================
   EDITAR ADJUNTOS
   ============================================ */

.edit-container {
    max-width: 1000px;
    margin: 0 auto;
}

.edit-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.edit-card h3 {
    color: #F25921;
    margin-bottom: 20px;
    border-bottom: 2px solid #F25921;
    padding-bottom: 10px;
}

.archivo-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.archivo-actual {
    margin-bottom: 10px;
    font-size: 14px;
}

.archivo-actual a {
    color: #007bff;
    word-break: break-all;
}

.foto-item {
    display: inline-block;
    margin: 10px;
    text-align: center;
}

.foto-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ddd;
}

.foto-item input {
    margin-top: 8px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}

.badge-categoria {
    background: #F25921;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    margin-left: 10px;
}

/* ============================================
   SCROLL PROGRESS Y SCROLL TOP
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #F25921;
    z-index: 1001;
    transition: width 0.1s ease;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #F25921;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #d94e1a;
    transform: translateY(-3px);
}

/* ============================================
   ELEMENTOS VARIOS
   ============================================ */

.plato-item, .juego-item {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.plato-item button, .juego-item button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

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

small {
    color: #666;
    font-size: 0.75rem;
}

.link {
    color: #F25921;
    text-decoration: none;
    font-weight: bold;
}

.link:hover {
    text-decoration: underline;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.error-box {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.volver-inicio {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   MENÚ HAMBURGUESA Y RESPONSIVE
   ============================================ */

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background: #F25921;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    nav ul li a {
        display: block;
        padding: 0.8rem 1rem;
    }
    
    #main-header {
        padding: 0.8rem 5%;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo span {
        font-size: 0.7rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .destacados, .timeline {
        flex-direction: column;
    }
    
    .seleccion-categoria {
        flex-direction: column;
    }
    
    .seleccion-categoria button {
        width: 100%;
    }
    
    .btn-continuar {
        width: 100%;
    }
    
    .form-grid, .detalle-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-section {
        padding: 1rem;
    }
    
    .faq-section h2 {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-icon {
        font-size: 1.2rem;
        margin-right: 0.8rem;
        min-width: 30px;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .contacto-banner {
        padding: 1.5rem;
    }
    
    .contacto-banner h3 {
        font-size: 1.3rem;
    }
    
    .scroll-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    section[id] {
        scroll-margin-top: 60px;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .filtros form {
        flex-direction: column;
    }
    
    .admin-table {
        font-size: 12px;
    }
    
    .admin-table th, .admin-table td {
        padding: 8px;
    }
}

/* ============================================
   ESTILOS PARA EL LOGO
   ============================================ */

.logo-img {
    height: 90px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Logo más pequeño cuando el header está comprimido */


/* Responsive para móviles */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    
    #main-header.scrolled .logo-img {
        height: 35px;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
}

/* ============================================
   IMPORTAR FUENTE CIRCLE
   ============================================ */

@font-face {
    font-family: 'CIRCLE';
    src: url('../fonts/circle.otf') format('opentype'),
         url('../fonts/circle.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Versión bold de la fuente (si existe en el archivo) */
@font-face {
    font-family: 'CIRCLE';
    src: url('../fonts/circle.otf') format('opentype'),
         url('../fonts/circle.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Títulos con tipografía CIRCLE */
h1, h2, h3, h4, h5, h6,
.info-evento h2,
.faq-section h2,
.page-header h2,
.detalle-card h3,
.categoria-card h3,
legend,
.hero-content h1,
.faq-question h3,
.contacto-banner h3,
.stat-number,
.folio-destacado,
.gracias-box h2 {
    font-family: 'CIRCLE', 'Segoe UI', 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Subtítulos y textos destacados */
.faq-subtitle,
.plazo p,
.destacado h3,
.campo label,
.fecha {
    font-family: 'CIRCLE', 'Segoe UI', 'Arial', sans-serif;
    font-weight: 600;
}

/* Botones con tipografía CIRCLE */
.btn-postular,
.btn-bases,
.btn-enviar,
.btn-continuar,
.btn-volver,
.btn-cancelar,
.nav-link,
.btn-guardar,
.btn-primary,
.btn-contacto,
.btn-contacto-whatsapp {
    font-family: 'CIRCLE', 'Segoe UI', 'Arial', sans-serif;
    font-weight: 600;
}

/* ============================================
   CARRUSEL DE IMÁGENES
   ============================================ */

.carousel-container {
    position: relative;
    width: 100%;
    height: 535px;
    overflow: hidden;
    background: #2c1810;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 80%;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption .fechas {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: white;
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 20;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Indicadores (puntos) */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #F25921;
    width: 30px;
    border-radius: 10px;
}

/* ============================================
   RESPONSIVE DEL CARRUSEL
   ============================================ */

@media (max-width: 1200px) {
    .carousel-container {
        height: 450px;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .carousel-container {
        height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption .fechas {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        height: 350px;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption .fechas {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 20px;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        height: 300px;
    }
    
    .carousel-caption h1 {
        font-size: 1.2rem;
    }
    
    .carousel-caption .fechas {
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
    }
    
    .btn-postular {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .btn-bases {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 280px;
    }
    
    .carousel-caption h1 {
        font-size: 1rem;
    }
    
    .carousel-caption .fechas {
        font-size: 0.6rem;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* ==================== TUTORIAL VIDEO ==================== */
.tutorial-section {
    background: linear-gradient(135deg, #fff5e8 0%, #ffe8d6 100%);
    border-radius: 20px;
    padding: 50px 30px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tutorial-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tutorial-section h2 {
    color: #F25921;
    font-size: 32px;
    margin-bottom: 10px;
}

.tutorial-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .tutorial-section {
        padding: 30px 20px;
    }
    
    .tutorial-section h2 {
        font-size: 24px;
    }
    
    .tutorial-subtitle {
        font-size: 14px;
    }
}

/* ==================== CUENTA REGRESIVA ==================== */
.countdown-container {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.countdown-label {
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: bold;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.countdown-box {
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
    padding: 10px 15px;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.countdown-number {
    font-size: 28px;
    font-weight: bold;
    color: #F25921;
    display: block;
    line-height: 1;
    font-family: monospace;
}

.countdown-label-small {
    font-size: 10px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 5px;
}

.countdown-separator {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-top: -10px;
}

.countdown-message {
    color: #ffc107;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .countdown-box {
        padding: 5px 10px;
        min-width: 55px;
    }
    
    .countdown-number {
        font-size: 20px;
    }
    
    .countdown-separator {
        font-size: 20px;
    }
    
    .countdown-label-small {
        font-size: 8px;
    }
}