
  /*Variables & Reset*/

:root {
    --color-primary: #E67E22; /* Naranja */
    --color-primary-dark: #D35400;
    --color-secondary: #5e4434; /* Naranja Grisáceo Oscuro */
    --color-accent: #f1c40f; /* Amarillo */
    --color-light: #484e4c; /* Gris muy claro */
    --color-dark: #50362c; /* Naranja muy oscuro */
    --color-text: #000000;
    --color-text-light: #515a5b; /* Gris medio */
    --color-white: #f6f6f6;
    --color-emergency: #e74c3c; /* Rojo */
    --color-emergency-dark: #c0392b;
    --color-success: #2ecc71; /* Verde */
    --color-success-dark: #27ae60;

    --font-primary: 'Roboto', sans-serif;
    --font-headings: 'Poppins', sans-serif;

    --container-width: 1140px;
    --border-radius: 6px;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease-in-out;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: #1e1c1c; /* Fondo blanco por defecto */
    line-height: 1.7;
    font-size: 16px;
    /* Mejorar renderizado de fuentes */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--color-primary); transition: var(--transition); }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-headings); font-weight: 700; color: #ffbf00; line-height: 1.3; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); } /* Tamaño fluido */
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1.5rem; text-align: center; }
h3 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.container { max-width: var(--container-width); margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; }

/*------------------------------------*\
  Utilidades Generales
\*------------------------------------*/
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
/* Añade más utilidades si las necesitas */


/*------------------------------------*\
  Header
\*------------------------------------*/
.site-header {
    background-color: #4f4f4f;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-header .logo img { height: 119px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; } /* Asegurar reset */
.main-nav ul li { margin: 0; padding: 0; } /* Asegurar reset */
.main-nav ul li a {
    color: #fff;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    font-size: 1rem;
}
.main-nav ul li a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -3px; left: 50%; transform: translateX(-50%);
    background-color: var(--color-primary); transition: width 0.3s ease;
}
.main-nav ul li a:hover::after,
.main-nav ul li a.active::after { width: 100%; }
.main-nav ul li a:hover,
.main-nav ul li a.active { color: var(--color-primary); }

.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: #ff9602; cursor: pointer; }

/*------------------------------------*\
  Emergency Notice
\*------------------------------------*/
.emergency-notice {
    background-color: var(--color-emergency);
    color: var(--color-white);
    padding: 12px 20px;
    text-align: center;
    font-weight: 500;
    border-bottom: 3px solid var(--color-emergency-dark);
    /* Considera si debe ser sticky o no dependiendo de tu diseño */
    /* position: sticky; */
    /* top: 70px; */ /* Ajustar si el header es sticky */
    z-index: 999; /* Debajo del header si es sticky */
}
.emergency-notice i { margin-right: 8px; }

/*------------------------------------*\
  Floating Announcements (Estilos Originales o Predeterminados)
\*------------------------------------*/
.floating-announcements-container {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 999;
    max-width: 320px;
}
.floating-announcement {
    background-color: #333;
    color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    opacity: 0.95;
    font-size: 0.9rem;
}
.close-announcement {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.close-announcement:hover {
    color: #fff;
}

/*------------------------------------*\
  Botones Generales (Ejemplo)
\*------------------------------------*/
.button,
.hero-button { /* Aplicar a ambos o crear una clase base */
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: none;
    cursor: pointer;
    text-align: center;
}
.button:hover,
.hero-button:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}
.button.secondary,
.hero-button.secondary {
     background-color: transparent;
     border: 2px solid var(--color-primary);
     color: var(--color-primary);
 }
.button.secondary:hover,
.hero-button.secondary:hover {
     background-color: var(--color-primary);
     color: var(--color-white);
 }


/*------------------------------------*\
  Footer (Estilos del footer mejorado)
\*------------------------------------*/
.site-footer {
    background-color: #312f2f;
    color: #743505;
    padding: 40px 0 20px 0;
    font-size: 0.95rem;
    line-height: 1.0;
    margin-top: 0px; /* Espacio sobre el footer */
}
.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-column { flex: 1; min-width: 200px; }
.footer-column h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-secondary);
    font-weight: 600;
}
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 8px; }
.footer-column ul li a { color: #ff9602; }
.footer-column ul li a:hover { color: var(--color-white); text-decoration: underline; }
.footer-column p { margin-bottom: 10px; color: #ff9602; }
.footer-column p a { color: #ff9602; }
.footer-column p a:hover { color: var(--color-white); text-decoration: underline; }
.social-icons { list-style: none; padding: 0; margin: 0; display: flex; gap: 15px; }
.social-icons li a { color: var(--color-light); font-size: 1.5rem; transition: var(--transition); display: inline-block; }
.social-icons li a:hover { color: var(--color-white); transform: scale(1.1); }
.footer-bottom {
    border-top: 1px solid var(--color-secondary);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-light);
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}


/*------------------------------------*\
  Responsividad General
\*------------------------------------*/
@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* Ocultar menú por defecto */
        position: absolute;
        top: 100%; /* Debajo del header */
        left: 0;
        right: 0;
        background-color: #333;
        flex-direction: column;
        padding: 10px 0;
        box-shadow: var(--shadow-light);
        border-top: 1px solid #312f2f;
    }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul li { width: 100%; text-align: center; }
    .main-nav ul li a { display: block; padding: 12px 15px; border-bottom: 1px solid #171716; }
    .main-nav ul li:last-child a { border-bottom: none; }
    .main-nav ul li a::after { display: none; }
    .menu-toggle { display: block; }
}

