/* RESET y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primario: #e6a017;
    --secundario: #1e2a3e;
    --fondo: #f5f7fa;
    --texto: #2c3e50;
    --blanco: #ffffff;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--fondo);
    color: var(--texto);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.contenedor {
    max-width: 1100px;
    width: 100%;
    background: var(--blanco);
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding: 2rem 1.5rem;
}

/* Imagen principal */
.imagen-principal {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto 1.5rem auto;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Logo */
.logo {
    margin: 1rem 0;
}
.logo img {
    max-width: 180px;
    height: auto;
}

/* Tipografía */
h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    color: var(--secundario);
    margin: 1rem 0;
}

.destacado {
    color: var(--primario);
    border-bottom: 3px solid var(--primario);
    display: inline-block;
    padding-bottom: 5px;
}

.mensaje {
    margin: 1.5rem 0;
    font-size: 1.1rem;
}
.pequeno {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Redes sociales */
.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secundario);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--primario);
    color: var(--secundario);
}

.facebook:hover { background: #1877f2; }
.instagram:hover { background: linear-gradient(45deg, #f09433, #d62976); }
.whatsapp:hover { background: #25d366; }
.email:hover { background: #ea4335; }

/* Contador */
.contador {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contador-item {
    background: var(--secundario);
    color: white;
    border-radius: 1rem;
    padding: 1rem 0.8rem;
    min-width: 70px;
    text-align: center;
}

.contador-item span:first-child {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    font-weight: bold;
    display: block;
    font-family: monospace;
}

.contador-item span:last-child {
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Formulario */
.notificacion {
    margin: 1rem 0 0.5rem;
    font-weight: 500;
}

.formulario {
    display: flex;
    max-width: 400px;
    margin: 0.5rem auto 1rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.formulario input {
    flex: 2;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.formulario input:focus {
    border-color: var(--primario);
}

.formulario button {
    background: var(--primario);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    color: var(--secundario);
    cursor: pointer;
    transition: 0.3s;
}

.formulario button:hover {
    background: #c5830e;
    transform: scale(1.02);
}

footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #7f8c8d;
}

/* Móvil */
@media (max-width: 640px) {
    body {
        padding: 0.8rem;
    }
    .contenedor {
        padding: 1.2rem;
    }
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    .contador-item {
        padding: 0.6rem 0.5rem;
        min-width: 55px;
    }
    .formulario {
        flex-direction: column;
        align-items: center;
    }
    .formulario input, 
    .formulario button {
        width: 100%;
        max-width: 280px;
    }
}