/* Chile Municipal - Encabezado corporativo */

.cm-header {
    background: #fff;
    padding: 18px 0;
}

.cm-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cm-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    max-width: 100%;
}

.cm-brand-title {
    display: block;
    font-family: system-ui, sans-serif;
    font-size: clamp(23px, 7vw, 36px);
    font-weight: 850;
    letter-spacing: -1.2px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #15365c;
}

.cm-brand-chile {
    color: #15365c;
}

.cm-brand-municipal {
    color: #c92335;
}

.cm-brand-subtitle {
    display: block;
    margin-top: 7px;
    color: #555;
    font-family: system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.cm-header-modules {
    max-width: 100%;
}

.cm-header-modules img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {

    .cm-header {
        padding: 28px 0;
    }

    .cm-header-inner {
        justify-content: space-between;
    }

    .cm-brand {
        align-items: flex-start;
    }

    .cm-brand-title {
        font-size: 44px;
    }

    .cm-brand-subtitle {
        font-size: 13px;
        text-align: left;
    }
}

@media (min-width: 1200px) {

    .cm-brand-title {
        font-size: 54px;
        letter-spacing: -2px;
    }
}
