:root {
    --color-primary: #0083c5;
    --color-hover-primary: color-mix(in srgb, var(--color-primary) 80%, black 20%);
    --color-secondary: #ff0000;
    --color-tertiary: #16a34a;
    --text-color: #333;
    --bg-light: #ffffff;
    --bg-dark: #f3f4f6;
    /* Fondo gris claro */
}

html,
body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-light);
    color: #333;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Contenedor principal para mantener el footer abajo */
main {
    flex: 1;
    padding-top: 0px;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

/* Botones */
button {
    background-color: var(--color-secondary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
}

button:hover {
    background-color: #e6b800;
}

/* Header Sticky */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    height: 100px;
    transition: all 0.6s ease-in-out;
    z-index: 1000;
    /* box-shadow: #333 4px 4px 4px; */
}

/* Reducir header al hacer scroll */
.header-small {
    height: 60px !important;
    padding: 10px 20px !important;
}

/* Ajustar logo */
.header-logo {
    transition: height 0.8s ease-in-out;
    height: 80px;
}

.header-small .header-logo {
    height: 60px !important;
}

/* Ocultar título y subtítulo al hacer scroll */
.header-title {
    transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out;
}

.header-small .header-title {
    opacity: 0;
    visibility: hidden;
    display: none;
}

/* Ajuste del nav */
.nav-container {
    transition: margin-top 0.6s ease-in-out;
}

.nav-link {
    color: var(--bg-primary);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 18px;
    transition: transform 0.2s ease, color 0.2s ease;
    
}

.nav-link:hover {
    color: #0059d5;
    font-weight: 900;
}

.nav-link-selected {
    color: #3300b4;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

#hamburger-btn {
    -webkit-tap-highlight-color: transparent;
    background-color: var(--bg-dark) !important;
}

.header-small+main {
    padding-top: 60px;
}

#resultado {
    color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

form input,
form select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: var(--color-secondary);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

form button:hover {
    background-color: #cc0000;
}

.btn-solgen {
    margin-top: 1.5rem;
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--bg-light);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: background-color 0.3s ease-in-out;
}

.btn-solgen:hover {
    background-color: var(--color-hover-primary);   
}
.btn-clients {
    margin-top: 1.5rem;
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--bg-light);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: background-color 0.3s ease-in-out;
}

.btn-clients:hover {
    background-color: var(--color-hover-primary);
}

.text-solgen {
    color: var(--color-primary) !important;
}

.text-solgen-secondary {
    color: var(--color-secondary) !important;
}

.bg-solgen-light {
    background-color: #ffffff !important;
}

.bg-solgen-primary {
    background-color: var(--color-primary) !important;
}

.bg-solgen-secondary {
    background-color: var(--color-secondary) !important;
}

/* Modal de Notificación */
.modal-open {
    overflow: hidden;
}

.hidden {
    display: none;
}

.fixed {
    position: fixed;
    inset: 0;
}

.bg-opacity-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

/* Caja del modal */
.w-96 {
    width: 24rem;
}

.bg-white {
    background-color: white;
}

.solgen-card {
    background-color: var(--bg-dark);
    border: var(--color-primary) 1px solid;
    box-shadow: #949494 4px 4px 4px;
}

.rounded-lg {
    border-radius: 8px;
}

.shadow-lg {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.text-lg {
    font-size: 1.125rem;
}

.font-semibold {
    font-weight: 600;
}

.mb-4 {
    margin-bottom: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Botón de cierre */
.bg-green-600 {
    background-color: #16a34a;
}

.text-white {
    color: white;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.rounded-md {
    border-radius: 6px;
}

.font-bold {
    font-weight: bold;
}

.faq-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-button {
    display: block;
    width: 100%;
    text-align: center;
    background: hsl(240, 1%, 71%);
    color: var(--text-color);
    font-weight: bold;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    border: none;
    outline: none;
    font-size: 16px;
}

.faq-button:hover {
    background: #005fa3;
    color: white;
    transform: scale(1.03);
}

.faq-button.selected {
    background: #cc0000;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}