/* =============================================================================
   QUINCENITA - ESTILOS PRINCIPALES
   Variables globales, reset y estilos base
   ============================================================================= */

/* --- VARIABLES GLOBALES --- */
:root {
    --color-primary: #003366; /* Azul Oscuro (Confianza) */
    --color-secondary: #4CAF50; /* Verde (Crecimiento) */
    --color-accent: #f0b90b;   /* Dorado (Valor) */
    --color-text: #333333;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    --font-headings: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
    --header-height: 80px;
}

/* --- RESET Y ESTILOS GLOBALES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
}

/* --- SCROLLBAR PERSONALIZADA --- */
/* Para navegadores Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-secondary), #45a049);
    border-radius: 10px;
    border: 2px solid var(--color-light);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #45a049, var(--color-secondary));
    border-color: #e8e8e8;
}

::-webkit-scrollbar-thumb:active {
    background: var(--color-primary);
}

/* Para Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-secondary) var(--color-light);
}

/* --- ACCESIBILIDAD --- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* --- CONTENEDORES Y LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

/* --- TIPOGRAFÍA --- */
h1, h2, h3 {
    font-family: var(--font-headings);
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-family: var(--font-headings);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn:hover, .btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}
