:root {
    --ink: #1C2B27;
    --ink-soft: #4B5A55;
    --paper: #F6F4EE;
    --paper-deep: #EEEAE0;
    --card: #FFFFFF;
    --primary: #1F6F54;
    --primary-dark: #134A37;
    --primary-tint: #E4EFE9;
    --amber: #DD8A3E;
    --amber-dark: #B96D26;
    --amber-tint: #FBEDDC;
    --line: #DCD6C6;
    --blue: #2E6FA7;
    --blue-tint: #E5EEF6;
    --red: #B5443A;
    --red-tint: #F6E6E3;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(28,43,39,.04), 0 8px 24px -10px rgba(28,43,39,.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Lato', sans-serif;
    font-size: 15.5px;
      min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1, h2, h3, h4 {
    font-family: 'Lato', sans-serif;
}

.mono {
    font-family: 'Lato', sans-serif;
}

.bg-noise {
    background-image: radial-gradient(#ffb900 .6px, #00ffa9 .6px);
    background-size: 14px 14px;
}

.form-label {
    font-weight: 700;
    font-size: .82rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .03em;
}

.form-control,
.form-select {
    border-radius: 9px;
    border: 1.5px solid var(--line);
    padding: 10px 12px;
    font-size: .92rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-tint);
}

.btn-municipal {
    background: var(--primary);
    border: 1px solid var(--primary-dark);
    color: #fff;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 12px 18px;
    border-radius: 10px;
}

.btn-municipal:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-link-custom {
    border: 0;
    background: transparent;
    color: var(--amber);
    font-weight: 700;
    padding: 0;
    font-size: .86rem;
}

.btn-link-custom:hover {
    color: var(--amber-dark);
}











.gov-strip {
    background: var(--primary-dark);
    color: #EFE9DA;
    font-size: .74rem;
    letter-spacing: .04em;
    padding: 5px 0;
}

.gov-strip strong {
    color: #fff;
}

.brandbar {
    background: var(--primary);
    color: #fff;
}

.brandbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}

.brand-logo:hover {
    color: #fff;
}

.emblem {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;;
    font-weight: 800;
    font-size: 1.05rem;
    border: 2px solid rgba(255,255,255,.6);
}

.title-en {
    font-family: 'Lato', sans-serif;;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.1;
}

.title-sub {
    font-size: .72rem;
    color: #D9ECE3;
    letter-spacing: .03em;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-chip {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: .78rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.user-chip:hover {
    color: #fff;
    background: rgba(255,255,255,.2);
}

.logout-btn {
    color: #fff;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.logout-btn:hover {
    color: #FBE7C9;
}

.content-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
}

.card-head {
    margin-bottom: 18px;
}

.card-head h2 {
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0;
}

.card-head p {
    margin: 4px 0 0;
    color: var(--ink-soft);
    font-size: .86rem;
}

.site-footer {
    background: var(--primary-dark);
    color: #CFE3D9;
    padding: 26px 0;
    font-size: .8rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .brandbar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .top-actions {
        width: 100%;
        justify-content: space-between;
    }
}









.site-footer {
    margin-top: auto;
    background: #163a2f;
    color: #fff;
    padding: 16px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
}
