:root {
    --primary: #14365b;
    --primary-light: #20517f;
    --accent: #f5ba45;
    --background: #f5f7fb;
    --text: #253247;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

.container,
.header-container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

/* Encabezado */

.site-header {
    background: var(--primary);
    color: var(--white);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
}

.brand {
    color: var(--white);
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
}

.main-nav a:hover {
    color: var(--accent);
}

.login-link {
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 7px;
}

/* Portada */

.hero {
    background: linear-gradient(135deg, #14365b, #27699a);
    color: var(--white);
    text-align: center;
    padding: 115px 20px;
}

.hero .container {
    max-width: 850px;
}

.eyebrow {
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.15;
    margin: 22px 0;
}

.hero p {
    font-size: 19px;
    color: #e7edf5;
    margin-bottom: 35px;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #14283f;
    text-decoration: none;
    font-weight: 700;
    padding: 13px 25px;
    border-radius: 8px;
}

.btn-primary:hover {
    background: #ffcf72;
}

/* Secciones */

.section {
    padding: 85px 0;
    text-align: center;
    background: var(--white);
}

.section-alt {
    background: var(--background);
}

.section h2 {
    color: var(--primary);
    font-size: clamp(27px, 4vw, 36px);
    margin: 0 0 18px;
}

.section p {
    max-width: 730px;
    margin: 0 auto;
    font-size: 17px;
}

/* Pie de página */

.site-footer {
    background: #102b49;
    color: #dbe5ef;
    text-align: center;
    padding: 28px 15px;
    font-size: 14px;
}

/* Celulares */

@media (max-width: 800px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .main-nav {
        justify-content: center;
        gap: 12px 16px;
    }

    .hero {
        padding: 85px 20px;
    }

    .hero p {
        font-size: 17px;
    }

    .section {
        padding: 65px 0;
    }
}

/* MGWEB_APARIENCIA_V12 */
:root { --mg-primary: #14365b; --mg-secondary: #20517f; }
.site-header { background: var(--mg-primary); }
.hero { background: linear-gradient(120deg,var(--mg-primary),var(--mg-secondary)); }
.btn-primary { background-color: #f5ba45; }
.site-logo { max-width: 46px; max-height: 46px; object-fit: contain; vertical-align: middle; margin-right: 10px; }
.festive-banner { text-align: center; padding: 12px 10px; font-size: clamp(17px,2.6vw,26px); letter-spacing: 7px; background: #f4f7fa; }
.festive-navidad { background: #e7f3ea; }
.festive-halloween { background: #fff0df; }
.festive-fiestas_patrias { background: #e9f1fe; }
.festive-ano_nuevo { background: #f8ecff; }
.festive-personalizada { background: #f7f5e8; }
@media (prefers-reduced-motion: reduce) { .festive-banner { animation: none !important; } }

/* MGWEB overrides v1.2 */
.site-header{background:var(--mg-primary)!important;}
.hero:not(.hero-with-photo){background:linear-gradient(120deg,var(--mg-primary),var(--mg-secondary))!important;}
