/* --- style.css --- */
:root {
    /* Paleta CMYK "Pop" basada en tu imagen */
    --c-cyan: #29C5F6;
    /* El azul claro */
    --c-magenta: #F0386B;
    /* El rosa fuerte */
    --c-yellow: #FFDE00;
    /* El amarillo intenso */
    --c-black: #1A1A1A;
    /* Negro tinta */
    --c-white: #FFFFFF;

    --radius: 12px;
    --font-heading: "Montserrat", "Poppins", sans-serif;
    --font-body: "Open Sans", sans-serif;
}

body {
    font-family: var(--font-body);
    margin: 0;
    color: var(--c-black);
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    /* Letra bien gruesa */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

/* --- CLASES DE SECCIONES DE COLOR --- */
/* Estas clases harán que el fondo ocupe todo el ancho */

.bg-magenta {
    background-color: var(--c-magenta);
    color: var(--c-white);
}

.bg-yellow {
    background-color: var(--c-yellow);
    color: var(--c-black);
    /* Texto negro sobre amarillo para contraste */
}

.bg-cyan {
    background-color: var(--c-cyan);
    color: var(--c-white);
}

.section {
    padding: 60px 0;
}

/* --- BOTONES ESTILO "POP" --- */
.btn-pop {
    display: inline-block;
    background: var(--c-white);
    color: var(--c-black);
    padding: 12px 24px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
    /* Sombra dura tipo sticker */
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.btn-pop:hover {
    transform: translate(2px, 2px);
    /* Efecto de presionar */
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

/* Variantes de botones según el fondo */
.bg-yellow .btn-pop {
    background: var(--c-black);
    color: var(--c-yellow);
}

/* --- GRID Y LAYOUT --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Imágenes flotantes estilo vector */
.floating-img {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(10px 10px 0px rgba(0, 0, 0, 0.15));
    /* Sombra vectorial */
}

/* Responsive */
@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .floating-img {
        margin-top: 20px;
        max-width: 300px;
    }
}

/* =========================================
   CABECERA (HEADER) & LOGO
   ========================================= */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Altura fija para la barra */
}

/* Arreglo del Logo Gigante */
.logo-img {
    max-height: 50px; /* Restringe la altura */
    width: auto;      /* Mantiene la proporción */
    display: block;
}

/* =========================================
   MENÚ DE NAVEGACIÓN (NAV)
   ========================================= */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--c-black);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--c-cyan);
}

/* Botón destacado en el menú */
.btn-nav {
    background: var(--c-magenta);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 30px;
    transition: transform 0.2s;
}

.btn-nav:hover {
    transform: scale(1.05);
    background: #d12656; /* Un tono más oscuro */
}

/* Botón hamburguesa (oculto en escritorio) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--c-black);
    border-radius: 2px;
}

/* =========================================
   PÁGINA DE CONTACTO
   ========================================= */
.contact-hero {
    text-align: center;
    padding-bottom: 30px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #666;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Formulario ancho, Info angosta */
    gap: 50px;
    align-items: start;
}

/* Estilos del Formulario */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    box-sizing: border-box; /* Importante para que no se salga */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-cyan);
    box-shadow: 0 0 0 3px rgba(41, 197, 246, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--c-black);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #333;
}

/* Barra lateral de información */
.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 20px;
}

.contact-card h4 {
    margin-top: 0;
    color: var(--c-magenta);
}

/* =========================================
   RESPONSIVE (MÓVIL)
   ========================================= */
@media (max-width: 768px) {
    /* Ajuste Header */
    .header-inner {
        height: 60px;
    }
    
    .logo-img {
        max-height: 40px;
    }

    /* Mostrar hamburguesa */
    .nav-toggle {
        display: flex;
        z-index: 2000;
    }

    /* Menú móvil oculto por defecto */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1500;
    }

    .nav-links.open {
        right: 0;
    }

    /* Contacto en una columna */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FOOTER (PIE DE PÁGINA)
   ========================================= */
.site-footer {
    background-color: var(--c-black); /* Fondo negro de tu paleta */
    color: #fff;                      /* Texto blanco */
    padding: 60px 0 20px;             /* Espaciado arriba/abajo */
    font-size: 0.95rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap; /* Para que se adapte en móviles */
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Línea divisoria sutil */
}

.footer-col {
    flex: 1;             /* Las columnas ocupan espacio igual */
    min-width: 200px;    /* Ancho mínimo para que no se aplasten */
}

.footer-col h4 {
    color: var(--c-cyan); /* Títulos en cian para resaltar */
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    color: #bbb;         /* Gris claro para lectura suave */
    line-height: 1.6;
}

/* Lista de enlaces del footer */
.footer-col ul {
    list-style: none;    /* Quita los puntos (bullets) */
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--c-yellow); /* Color amarillo al pasar el mouse */
    padding-left: 5px;      /* Pequeño movimiento a la derecha */
}

/* Parte final (Copyright) */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #666;
    font-size: 0.85rem;
}

/* Ajuste Mobile para el Footer */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column; /* Apilar columnas en vertical */
        gap: 30px;
    }
}