/* ==========================================
   VARIABLES DE DISEÑO (Cambia los colores aquí)
=========================================== */
:root {
    --primary-color: #0056b3;      /* Color principal de tu marca (Ej. Azul corporativo) */
    --primary-gradient: #003d82;   /* Un tono más oscuro para el degradado del buscador */
    --bg-light: #ffffff;           /* Fondo de la barra de navegación */
    --text-main: #333333;          /* Color del texto principal */
    --text-light: #ffffff;         /* Color del texto sobre fondos oscuros */
    --border-color: #e1e5e8;       /* Color de las líneas divisorias */
    --footer-bg: #1a252f;          /* Fondo oscuro para el pie de página */
}

/* ==========================================
   BARRA DE NAVEGACIÓN SUPERIOR
=========================================== */
.CustomHeader .Header__navbar {
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.CustomHeader .Header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.CustomHeader .Header__brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.CustomHeader .Header__logo img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

.CustomHeader .Header__name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    border-left: 2px solid var(--border-color);
    padding-left: 15px;
}

/* ==========================================
   MENÚ DE PESTAÑAS
=========================================== */
.CustomHeader .Header__menuList {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.CustomHeader .Header__tabsTab {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.3s ease;
}

.CustomHeader .Header__tabsTab:hover {
    color: var(--primary-color);
}

.CustomHeader .Header__userActions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 10px;
    padding-left: 25px;
    border-left: 1px solid var(--border-color);
}

/* ==========================================
   SECCIÓN HERO (BUSCADOR CENTRAL)
=========================================== */
.CustomHeader .Header__heroSection {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient) 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-light);
}

.CustomHeader .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.CustomHeader .Header__searchTitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.CustomHeader .Header__description {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 600px;
}

.CustomHeader .Header__mainSearch {
    width: 100%;
    max-width: 650px;
    /* Zoho inyecta su propio input aquí, esto asegura que el contenedor sea amplio */
}

/* ==========================================
   PIE DE PÁGINA
=========================================== */
.CustomFooter {
    background-color: var(--footer-bg);
    color: var(--text-light);
    padding: 50px 20px 20px;
    margin-top: auto; /* Empuja el footer al fondo si hay poco contenido */
}

.CustomFooter .Footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.CustomFooter .Footer__links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.CustomFooter .Footer__links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.CustomFooter .Footer__links a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.CustomFooter .Footer__footerCopyrigt {
    font-size: 0.85rem;
    color: #8c98a4;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    text-align: center;
    padding-top: 25px;
}

.CustomFooter .Footer__footerLink {
    color: #8c98a4;
    text-decoration: underline;
    margin-left: 5px;
}

.CustomFooter .Footer__footerLink:hover {
    color: var(--text-light);
}

/* ==========================================
   AJUSTES PARA MÓVILES (RESPONSIVE)
=========================================== */
@media (max-width: 850px) {
    .CustomHeader .Header__menuList {
        display: none; /* Ocultamos el menú normal para que Zoho active el ícono hamburguesa */
    }
    .CustomHeader .Header__searchTitle {
        font-size: 2rem;
    }
    .CustomHeader .Header__name {
        display: none; /* Oculta el texto del nombre si el logo es suficiente en móviles */
    }
}
