/* SORTEO VELMATEX - Diseño Moderno y Minimalista */

/* Variables CSS - Nueva Paleta de Colores */
:root {
    /* Colores principales */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    
    /* Colores secundarios */
    --secondary-color: #dc2626;
    --secondary-dark: #b91c1c;
    --secondary-light: #ef4444;
    
    /* Colores de acento */
    --accent-color: #059669;
    --accent-dark: #047857;
    --accent-light: #10b981;
    
    /* Colores de texto */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Colores de fondo */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    
    /* Colores de borde */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --gradient-accent: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Estados */
    --success-color: #059669;
    --warning-color: #d97706;
    --error-color: #dc2626;
    --info-color: #2563eb;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    font-weight: 400;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

h1 { 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    font-weight: 800;
    color: var(--text-primary);
}
h2 { 
    font-size: clamp(1.5rem, 4vw, 2.5rem); 
    font-weight: 700;
    color: var(--text-primary);
}
h3 { 
    font-size: clamp(1.25rem, 3vw, 1.875rem); 
    font-weight: 600;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.7;
}

/* Contenedores */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
    padding: 2rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%236366f1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
}

.hero-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-col-izq {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex: 1 1 380px;
    min-width: 320px;
    max-width: 420px;
}

.hero-col-der {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 350px;
    min-width: 260px;
    max-width: 420px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-content h1 {
    margin-bottom: 0;
    color: var(--text-primary);
    font-weight: 800;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 0;
}

.hero-stats .stat.premios {
    background: #fff;
    border-radius: 1.1em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 1.5rem 2rem;
    width: 100%;
    margin: 0;
}

.premios-titulo {
    text-align: center;
    font-weight: 700;
    font-size: 1.3em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.premios-lista {
    text-align: left;
    padding-left: 20px;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

.premios-lista li {
    margin-bottom: 0.5rem;
}

.hero-yape {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 1.1em;
    box-shadow: 0 2px 12px rgba(109,40,217,0.07);
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.hero-yape img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(109,40,217,0.10);
    border-radius: 0.7em;
}

.hero-yape .yape-num {
    font-size: 1.1em;
    font-weight: 600;
    color: #6d28d9;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-align: center;
}

.hero-yape .yape-text {
    font-size: 0.9em;
    color: #444;
    text-align: center;
    max-width: 280px;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.premio-flyer {
    max-width: 100%;
    max-height: 520px;
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.premio-flyer:hover {
    transform: scale(1.02);
}

/* Countdown */
.countdown {
    background: var(--gradient-secondary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.countdown h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.countdown-item {
    text-align: center;
    min-width: 100px;
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 600;
}

.countdown-text {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Premio Section */
.premio {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.premio-container {
    display: flex;
    justify-content: center;
}

.premio-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    width: 100%;
    transition: transform 0.3s ease;
}

.premio-card:hover {
    transform: translateY(-10px);
}

.premio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.premio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.premio-card:hover .premio-image img {
    transform: scale(1.1);
}

.premio-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.premio-content {
    padding: 2rem;
}

.premio-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.premio-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.premio-prize {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
}

.prize-amount {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.prize-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.premio-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
}

.feature i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* Registro Section */
.registro {
    padding: 6rem 0;
    background: white;
}

.registro-container {
    max-width: 600px;
    margin: 0 auto;
}

.registro-form {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Buscar Ticket Section */
.buscar-ticket {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.buscar-container {
    max-width: 600px;
    margin: 0 auto;
}

.buscar-form {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    margin-bottom: 2rem;
}

.resultado-busqueda {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.ticket-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.ticket-details p {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.ticket-details p:last-child {
    border-bottom: none;
}

.ticket-details strong {
    color: var(--text-primary);
    font-weight: 700;
}

.tickets-list {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.tickets-list h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.ticket-item {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.ticket-item p {
    margin-bottom: 0.5rem;
}

.ticket-item p:last-child {
    margin-bottom: 0;
}

/* Contacto Section */
.contacto {
    padding: 6rem 0;
    background: white;
}

.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.contacto-item:hover {
    transform: translateX(10px);
}

.contacto-item i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 3rem;
    text-align: center;
}

.contacto-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.contacto-item p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.contacto-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1.5rem;
}

.contacto-form h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.cta-feature i {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--secondary-color);
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #374151;
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Modal de Ticket */
.ticket-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.ticket-modal-content {
    background: white;
    border-radius: 1.5rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.ticket-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.ticket-modal-header h2 {
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text-primary);
}

.ticket-info {
    padding: 2rem;
}

.ticket-number {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 1rem;
}

.ticket-number h3 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.ticket-numero {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.ticket-details p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.ticket-details p:last-child {
    border-bottom: none;
}

.ticket-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Estados */
.estado-pendiente {
    color: var(--warning-color);
    font-weight: 700;
    background: rgba(217, 119, 6, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    display: inline-block;
}

.estado-aprobado {
    color: var(--success-color);
    font-weight: 700;
    background: rgba(5, 150, 105, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    display: inline-block;
}

.estado-rechazado {
    color: var(--error-color);
    font-weight: 700;
    background: rgba(220, 38, 38, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        padding: 0 1rem;
    }
    
    .hero-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-header {
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-stats .stat.premios {
        padding: 1.2rem 1.5rem;
    }
    
    .premios-titulo {
        font-size: 1.2em;
    }
    
    .premios-lista {
        font-size: 0.9em;
    }
    
    .hero-yape {
        padding: 1.2rem;
        max-width: 350px;
    }
    
    .hero-yape img {
        width: 120px;
        height: 120px;
    }
    
    .hero-yape .yape-num {
        font-size: 1em;
    }
    
    .hero-yape .yape-text {
        font-size: 0.85em;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .premio-flyer {
        max-height: 400px;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .contacto-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .nav {
        display: none;
    }
    
    .header-buttons {
        display: none;
    }
}

@media (max-width: 480px) {
    .registro-form,
    .buscar-form {
        padding: 2rem 1.5rem;
    }
    
    .ticket-modal-content {
        margin: 1rem;
    }
    
    .ticket-modal-header,
    .ticket-info {
        padding: 1.5rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .hero-main {
        flex-direction: column;
        gap: 2.2rem;
        max-width: 98vw;
    }
    .hero-col-izq, .hero-col-der {
        max-width: 100%;
        min-width: 0;
    }
    .premio-flyer {
        max-height: 340px;
    }
}

@media (max-width: 600px) {
    .hero-header {
        margin-bottom: 1.2rem;
    }
    .hero-main {
        gap: 1.2rem;
    }
    .hero-col-izq {
        gap: 1.2rem;
    }
    .premio-flyer {
        max-height: 200px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible para accesibilidad */
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.hero-main-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.hero-flyer-center {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.premio-flyer {
    max-width: 320px;
    max-height: 220px;
    width: 100%;
    height: auto;
    border-radius: 1.2rem;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.hero-stats {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stats .stat.premios {
    width: 100%;
    padding: 1.1rem 1.2rem;
    font-size: 0.98em;
}

.premios-titulo {
    font-size: 1.1em;
    margin-bottom: 0.7em;
}

.premios-lista {
    font-size: 0.97em;
    padding-left: 18px;
}

.hero-yape {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 1.1rem 0.7rem;
}

.hero-yape img {
    width: 100px;
    height: 100px;
    margin-bottom: 0.7em;
}

.hero-buttons {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .hero-main-col {
        max-width: 98vw;
        gap: 1rem;
    }
    .premio-flyer {
        max-width: 98vw;
        max-height: 120px;
    }
    .hero-yape {
        max-width: 98vw;
        padding: 0.7rem 0.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.hero-main-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.1rem;
    width: 100%;
    max-width: 410px;
    margin: 0 auto;
    padding-top: 1.2rem;
}

.hero-title-small {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.2em;
    text-align: center;
}

.hero-flyer-stack {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.premio-flyer-main {
    max-width: 100%;
    max-height: 260px;
    width: 100%;
    height: auto;
    border-radius: 1.2rem;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.hero-stack-card {
    width: 100%;
    background: #fff;
    border-radius: 1.1em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 1rem 1.2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.premios-titulo {
    font-size: 1.05em;
    margin-bottom: 0.5em;
    text-align: center;
}

.premios-lista {
    font-size: 0.97em;
    padding-left: 18px;
    margin: 0;
}

.yape-qr-img {
    width: 90px;
    height: 90px;
    margin-bottom: 0.5em;
}

.yape-num {
    font-size: 1em;
    font-weight: 600;
    color: #6d28d9;
    letter-spacing: 1px;
    margin-bottom: 0.2em;
    text-align: center;
}

.yape-text {
    font-size: 0.93em;
    color: #444;
    text-align: center;
    max-width: 220px;
    line-height: 1.3;
}

.hero-stack-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    margin-top: 0.2rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

@media (max-width: 600px) {
    .hero-main-stack {
        max-width: 98vw;
        gap: 0.7rem;
        padding-top: 0.5rem;
    }
    .premio-flyer-main {
        max-height: 120px;
    }
    .hero-stack-card {
        padding: 0.7rem 0.3rem;
    }
    .yape-qr-img {
        width: 70px;
        height: 70px;
    }
    .hero-title-small {
        font-size: 1.2rem;
    }
}

.hero-title-wide {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
    text-align: center;
}

.hero-flex-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 2.2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 480px;
}

.hero-col-left {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.1rem;
    flex: 1 1 380px;
    min-width: 320px;
    max-width: 420px;
    height: 100%;
}

.hero-col-right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 2 1 900px;
    min-width: 320px;
    max-width: 900px;
    height: 100%;
}

.premio-flyer-wide {
    max-width: 100%;
    max-height: 600px;
    width: 100%;
    height: auto;
    border-radius: 1.2rem;
    box-shadow: none;
    background: none;
    transition: transform 0.3s ease;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    .hero-flex-row {
        max-width: 98vw;
        gap: 1.2rem;
    }
    .hero-col-right {
        max-width: 600px;
    }
    .premio-flyer-wide {
        max-height: 420px;
    }
}

@media (max-width: 1100px) {
    .hero-flex-row {
        gap: 0.7rem;
    }
    .hero-col-right {
        max-width: 420px;
    }
    .premio-flyer-wide {
        max-height: 320px;
    }
}

@media (max-width: 800px) {
    .hero-flex-row {
        flex-direction: column;
        gap: 1.2rem;
        max-width: 98vw;
        min-height: unset;
    }
    .hero-col-left, .hero-col-right {
        max-width: 100%;
        min-width: 0;
        height: auto;
    }
    .premio-flyer-wide {
        max-height: 180px;
    }
}

@media (max-width: 600px) {
    .premio-flyer-wide {
        max-height: 110px;
    }
}

.hero-flex-row-imgref {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 480px;
}

.hero-col-left-imgref {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.1rem;
    flex: 1 1 380px;
    min-width: 320px;
    max-width: 420px;
}

.hero-title-imgref {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
    text-align: left;
}

.hero-card-imgref {
    background: #fff;
    border-radius: 1.1em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 1.1rem 1.2rem;
    margin: 0 0 0.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    width: 100%;
}

.premios-titulo {
    font-size: 1.08em;
    margin-bottom: 0.5em;
    text-align: left;
}

.premios-lista {
    font-size: 0.97em;
    padding-left: 18px;
    margin: 0;
    width: 100%;
}

.hero-yape-imgref {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 0.2rem 0 0.7rem 0;
}

.yape-qr-img-imgref {
    width: 80px;
    height: 80px;
    margin-right: 0.5em;
}

.yape-num {
    font-size: 1em;
    font-weight: 600;
    color: #6d28d9;
    letter-spacing: 1px;
    margin-bottom: 0.2em;
    text-align: left;
}

.yape-text {
    font-size: 0.93em;
    color: #444;
    text-align: left;
    max-width: 180px;
    line-height: 1.3;
}

.hero-buttons-col-imgref {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
    width: 100%;
    margin-top: 0.2rem;
}

.btn-block-imgref {
    width: 100%;
    justify-content: center;
}

.hero-col-right-imgref {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 2 1 700px;
    min-width: 320px;
    max-width: 700px;
    height: 100%;
}

.premio-flyer-imgref {
    max-width: 100%;
    max-height: 600px;
    width: 100%;
    height: auto;
    border-radius: 1.2rem;
    box-shadow: none;
    background: none;
    transition: transform 0.3s ease;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .hero-flex-row-imgref {
        max-width: 98vw;
        gap: 1.2rem;
    }
    .hero-col-right-imgref {
        max-width: 420px;
    }
    .premio-flyer-imgref {
        max-height: 320px;
    }
}

@media (max-width: 800px) {
    .hero-flex-row-imgref {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        max-width: 100vw;
        min-height: unset;
        padding: 0 0.5rem;
    }
    .hero-col-mobile-flyer {
        display: block;
        width: 100%;
        margin-bottom: 1.1rem;
        text-align: center;
    }
    .hero-col-right-imgref {
        display: none !important;
    }
    .hero-col-left-imgref {
        max-width: 100vw;
        min-width: 0;
        width: 100%;
        height: auto;
        align-items: center;
        justify-content: center;
    }
    .hero-title-imgref {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .premio-flyer-imgref {
        max-width: 95vw;
        max-height: 450px;
        margin: 0 auto 0.7rem auto;
        display: block;
    }
    .hero-card-imgref {
        width: 100%;
        padding: 0.7rem 0.3rem;
        align-items: center;
        text-align: center;
        margin-bottom: 1.1rem;
    }
    .premios-titulo, .premios-lista {
        text-align: center;
    }
    .hero-yape-imgref {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        width: 100%;
        margin: 0.5rem 0 1.1rem 0;
    }
    .yape-qr-img-imgref {
        width: 60px;
        height: 60px;
        margin: 0 auto 0.3em auto;
    }
    .yape-num, .yape-text {
        text-align: center;
        width: 100%;
    }
    .hero-buttons-col-imgref {
        width: 100%;
        gap: 0.5rem;
        align-items: stretch;
        margin-bottom: 1.2rem;
    }
    .btn-block-imgref {
        width: 100%;
        font-size: 1em;
        padding: 0.8em 0;
    }
}

@media (max-width: 600px) {
    body {
        overflow-x: visible !important;
    }
    .header {
        min-height: 56px !important;
        padding-top: 1rem !important;
        overflow: visible !important;
    }
    .logo {
        max-height: 36px !important;
        padding-top: 0.5rem !important;
        margin-bottom: 0.3rem !important;
    }
    .premio-flyer-imgref {
        margin-bottom: 2.2rem !important;
    }
    .hero-card-imgref.premios {
        margin-top: 2.2rem !important;
    }
}

/* Lightbox para el flyer */
#lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
}
#lightbox.active, #lightbox[style*='flex'] {
  display: flex !important;
}
#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 30px #000;
}
#close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
}
@media (max-width: 600px) {
  #close-lightbox {
    top: 10px;
    right: 16px;
    font-size: 2.2rem;
  }
  #lightbox-img {
    max-width: 98vw;
    max-height: 80vh;
  }
}
@media (max-width: 900px) {
  .contacto-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .contacto-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }
  .contacto-form, .contacto-info {
    padding: 1rem !important;
    border-radius: 1rem !important;
  }
}

body, html {
  overflow-x: hidden;
}
@media (max-width: 900px) {
  .contacto-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .contacto-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }
  .contacto-form, .contacto-info {
    padding: 1rem !important;
    border-radius: 1rem !important;
  }
}

body, html {
  overflow-x: hidden;
}