:root {
    --fucsia: #EE5B9B;
    --fucsia-dark: #d44182;
    --fucsia-soft: #FFF5F9;
    --border-soft: #fce2ee;
    --shadow: rgba(238, 91, 155, 0.2);
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #fdfdfd;
    color: #444;
    line-height: 1.6;
}

/* --- HEADER (ESTILO OHLALAB) --- */
#main-header {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 2px solid var(--fucsia);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 20px;
}

.brand-logo {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--fucsia); }

/* --- CONTENEDOR DE LA AGENDA --- */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.agenda-container {
    width: 100%;
    max-width: 800px;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.agenda-container h1 {
    color: var(--fucsia);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 10px;
}

/* --- GRID DEL FORMULARIO --- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.full-width {
    grid-column: span 2;
}

label {
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
}

input, select, textarea {
    padding: 12px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background-color: var(--fucsia-soft);
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--fucsia);
    background-color: #fff;
    box-shadow: 0 0 8px var(--shadow);
}

/* --- BOTÓN --- */
button {
    background: var(--fucsia) !important;
    color: white !important;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    grid-column: span 2;
}

button:hover {
    background: var(--fucsia-dark) !important;
    transform: scale(1.02);
}

/* --- BANNERS --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    border-top: 3px solid var(--fucsia);
    text-align: center;
    z-index: 999;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 10px; }
    .form-grid { grid-template-columns: 1fr; }
    .full-width, button { grid-column: span 1; }
    .agenda-container { padding: 20px; }
}
/* --- ESTILO DE FOOTER Y ENLACES LEGALES --- */

#main-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-soft);
    padding: 40px 20px;
    text-align: center;
    width: 100%;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-content p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

/* Contenedor de los enlaces de texto */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Espacio entre Privacidad y Términos */
}

.social-links a {
    text-decoration: none;
    color: #777; /* Gris elegante */
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

/* Efecto Hover: Cambia a fucsia y sube un poco */
.social-links a:hover {
    color: var(--fucsia);
    transform: translateY(-2px);
}

/* Línea animada fucsia debajo del texto */
.social-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: 0;
    left: 0;
    background-color: var(--fucsia);
    transition: var(--transition);
}

.social-links a:hover::after {
    width: 100%; /* La línea se expande al pasar el mouse */
}

/* Separador visual entre los dos enlaces */
.social-links a:not(:last-child)::before {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: #ddd; /* Línea divisoria vertical */
    pointer-events: none;
}

/* Ajuste para móviles */
@media (max-width: 480px) {
    .social-links {
        flex-direction: column;
        gap: 10px;
    }
    .social-links a:not(:last-child)::before {
        display: none; /* Quitamos el separador en vertical */
    }
}

/* --- FOOTER COMPLETO: ICONOS + LINKS LEGALES --- */

#main-footer {
    background: #fff;
    border-top: 1px solid var(--border-soft);
    padding: 40px 20px;
    text-align: center;
}

/* 1. Contenedor de Iconos (Redes Sociales) */
.social-icons-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px; /* Espacio antes del copyright */
}

.icono {
    width: 35px; /* Tamaño pequeño y estético */
    height: 35px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.social-icons-container a:hover .icono {
    transform: translateY(-5px) scale(1.1);
    /* Resplandor fucsia al pasar el mouse */
    filter: drop-shadow(0 5px 15px var(--fucsia)); 
}

/* 2. Texto de Copyright */
.footer-content p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

/* 3. Enlaces Legales (Privacidad y Términos) */
.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.legal-links a {
    text-decoration: none;
    color: #bbb; /* Más tenue que los iconos */
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.legal-links a:hover {
    color: var(--fucsia);
}

/* Separador "|" entre Privacidad y Términos */
.legal-links a:not(:last-child)::after {
    content: "|";
    margin-left: 15px;
    color: #eee;
    pointer-events: none;
}