/* Estilos personalizados y configuración de Tailwind */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F9FA; /* Niebla Clara */
    color: #1E1E1E; /* Grafito Profundo */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
}

.bg-primary { background-color: #0A2540; }
.text-primary { color: #0A2540; }
.bg-accent { background-color: #FFB900; }
.text-accent { color: #FFB900; }
.bg-light { background-color: #F8F9FA; }
.text-light { color: #F8F9FA; }
.border-interface { border-color: #D1D5DB; }

.text-secondary { color: #004b00; }
.bg-secondary { background-color: #004b00; }

/* Animación de aparición al hacer scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === LÓGICA PARA MENÚS DESPLEGABLES === */
.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* === Estilo para el selector de idioma activo === */
.lang-selector .active, .lang-selector-mobile .active {
    font-weight: 700;
    color: #0A2540;
}

/* === Estilos para el Acordeón Móvil === */
.accordion-submenu {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-in-out;
}
.accordion-submenu > div {
    overflow: hidden;
}
.accordion-submenu.open {
    grid-template-rows: 1fr;
}

/* Utilidad para justificar texto */
.text-justify-all {
    text-align: justify;
}

/* === ESTILOS PARA LA SECCIÓN DE VALORES === */
.tab-button {
    color: #6B7280;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}
.tab-button:hover {
    color: #0A2540;
}
.tab-button.active-tab {
    color: #0A2540;
    border-bottom-color: #FFB900;
}
.value-selector {
    transition: all 0.3s ease-in-out;
}
.value-selector.active-value {
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    transform: scale(1.05) translateY(-4px);
    border-radius: 1rem;
}
.value-selector.active-value i {
    color: #004b00;
}

/* === ESTILOS PARA LA SECCIÓN FUNDADOR === */
.founder-tab-button {
    color: #6B7280;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease-in-out;
}
.founder-tab-button:hover {
    color: #0A2540;
}
.founder-tab-button.active-founder-tab {
    color: #0A2540;
    border-bottom-color: #0A2540;
}

/* === EFECTO HOVER PARA ICONOS DEL FOOTER (AÑADIDO) === */
/* Prepara los iconos para una transición suave */
footer a[aria-label] {
    transition: all 0.2s ease-in-out;
}
/* Al pasar el ratón, cambia el color a amarillo y los agranda un poco */
footer a[aria-label]:hover {
    color: #FFB900; /* Tu color de acento amarillo */
    transform: scale(1.1);
}

/* === ESTILOS PARA EL MODAL DE CONTACTO (AÑADIDO) === */
.modal-container {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
}
.modal-container.visible {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s ease;
}
.modal-container.visible .modal-content {
    transform: scale(1);
}
.modal-content {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}