/* ============================================
   CECIM Centro de Estudios - Estilos Globales
   ============================================
   Variables, reset, tipografía, utilidades y botones.
   Se importa en TODAS las páginas del sitio.
*/

/* --- VARIABLES --- */
:root {
    --primary-blue: #1b3a57;
    --primary-dark: #0f2438;
    --accent-teal: #4c9f87;
    --accent-teal-dark: #3a7a68;
    --accent-gold: #d4a853;
    --accent-rose: #e66b6b;
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #777777;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
    --transition: all 0.3s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* --- RESET --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-center { text-align: center; }
.text-white { color: var(--text-white); }
.text-dark { color: var(--primary-blue); }
.text-gold { color: var(--accent-gold); }

/* --- BOTONES --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-teal {
    background-color: var(--accent-teal);
    color: white;
}
.btn-teal:hover {
    background-color: var(--accent-teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}
.btn-outline:hover {
    background: white;
    color: var(--primary-blue);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: white;
}
.btn-gold:hover {
    background-color: #c09840;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-rounded {
    border-radius: 25px;
}

/* --- RESPONSIVE BASE --- */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.4rem;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 14px 32px;
        font-size: 0.9rem;
    }
}
