:root{--ink:#203f37;--green:#16735b;--muted:#6d7c76;--line:#e3e9e4;--cream:#f7f8f2}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fdfefa;font-size:15px;line-height:1.65}a{color:var(--green);text-decoration:none}a:hover{color:#104f40}a:focus-visible,button:focus-visible{outline:3px solid #dcaa3a;outline-offset:4px}.container{max-width:1200px}.site-header{border-bottom:1px solid var(--line);padding:22px 0;background:#fff}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:24px;font-weight:800;letter-spacing:-1px}.brand-mark{background:var(--green);color:#fff;border-radius:11px;width:43px;height:43px;display:inline-flex;align-items:center;justify-content:center;font-size:23px;position:relative}.brand-mark span{color:#eed18a;font-size:10px;position:absolute;right:5px;top:0}.brand-tag{font-size:9px;letter-spacing:1.7px;font-weight:600;border-left:1px solid var(--line);padding-left:14px;margin-left:8px;color:var(--muted)}nav a{font-size:13px}.btn{border-radius:8px;font-weight:600;padding:10px 19px;font-size:14px}.btn-lg{padding:15px 25px;font-size:15px}.btn-primary{--bs-btn-bg:var(--green);--bs-btn-border-color:var(--green);--bs-btn-hover-bg:#105b47;--bs-btn-hover-border-color:#105b47;--bs-btn-disabled-bg:#6e9a88;--bs-btn-disabled-border-color:#6e9a88}.btn-outline-secondary{--bs-btn-color:#4e655b;--bs-btn-border-color:#d8e1da;--bs-btn-hover-bg:#eef2ec;--bs-btn-hover-color:var(--ink);--bs-btn-hover-border-color:#c8d5cb}.hero{padding-top:70px;padding-bottom:65px}.eyebrow,.section-kicker{font-size:10px;font-weight:800;letter-spacing:2px;color:#668576}.eyebrow{display:flex;align-items:center;gap:8px}.status-dot{width:7px;height:7px;background:var(--green);border-radius:50%}h1,h2,h3{letter-spacing:-.8px;line-height:1.18}h1{font-weight:750;font-size:clamp(40px,4.7vw,62px);margin:21px 0}h1 span{color:var(--green)}.hero-copy{font-size:17px;line-height:1.8;color:var(--muted);margin-bottom:27px}.hero-notes{display:flex;flex-wrap:wrap;gap:22px;font-size:11px;color:#6c8274;margin-top:18px}.market-art{height:330px;border-radius:110px 110px 28px 28px;background:#edf2e4;position:relative;overflow:hidden;max-width:420px;margin:auto}.art-label{font-size:9px;letter-spacing:2px;color:#76886e;position:absolute;top:32px;left:48px}.art-sun{width:56px;height:56px;background:#e8c46b;border-radius:50%;position:absolute;right:47px;top:63px}.shop{position:absolute;width:245px;bottom:35px;left:70px;z-index:2}.shop-roof{height:36px;background:#28634c;clip-path:polygon(12% 0,88% 0,100% 100%,0 100%)}.shop-awning{height:42px;display:flex;position:relative;z-index:2}.shop-awning i{flex:1;background:#f6e6b8;border-radius:0 0 13px 13px}.shop-awning i:nth-child(odd){background:#dd9b69}.shop-body{height:133px;background:#fef7df;margin:0 9px;position:relative;border-bottom:8px solid #d5c6a0}.shop-sign{position:absolute;top:12px;left:15px;font-weight:800;letter-spacing:-.4px;font-size:17px}.shop-window{position:absolute;left:15px;bottom:17px;background:#aec7a2;border:6px solid #fff8e5;width:126px;height:55px;display:flex;align-items:center;justify-content:center;font-size:22px}.shop-door{position:absolute;bottom:0;right:19px;width:50px;height:91px;background:#618f76;border:5px solid #fff8e5}.shop-door:after{content:'';position:absolute;right:5px;top:46px;width:5px;height:5px;background:#efcf78;border-radius:50%}.art-ground{position:absolute;bottom:27px;background:#d1ddc1;height:12px;width:340px;left:40px;border-radius:50%}.art-bubble{background:#fff;position:absolute;bottom:55px;right:15px;padding:13px 16px;border-radius:12px;box-shadow:0 8px 24px #355a3810;font-size:11px;transform:rotate(-5deg);z-index:3}.art-bubble span{color:#bf755d;margin-left:7px}.category-card{border:1px solid var(--line);border-radius:13px;padding:24px 20px;display:flex;gap:15px;background:#fff;height:100%;transition:transform .2s,box-shadow .2s;color:var(--ink)}.category-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #203f370a}.category-card h2{font-size:18px;margin:2px 0 8px;font-weight:700}.category-card p{font-size:12px;color:var(--muted);margin-bottom:12px}.category-card div>span{font-size:11px;font-weight:700}.category-icon{height:40px;width:40px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;font-size:25px;font-weight:600;background:#eaf2e9;color:#4d805b}.complaint .category-icon{background:#fff1da;color:#b58335}.report .category-icon{background:#fae9e3;color:#b9705d}.form-section{background:var(--cream);border-top:1px solid var(--line);padding:65px 0 75px}.section-title{font-size:34px;font-weight:750;line-height:1.25;margin-top:15px;margin-bottom:20px}.steps{padding:0;list-style:none;margin-top:32px}.steps li{display:flex;gap:15px;margin-bottom:24px}.steps li>span{display:grid;place-items:center;width:29px;height:29px;border:1px solid #d6dfd2;border-radius:50%;font-size:12px;flex-shrink:0;background:#fff}.steps strong{font-size:13px}.steps p{font-size:12px;color:var(--muted);margin:3px 0}.privacy-note{border:1px solid #dce4d5;background:#edf2e7;border-radius:11px;padding:20px;margin-top:32px;font-size:12px}.privacy-note strong{font-size:13px}.privacy-note p{margin:8px 0 0;color:#6b7e68}.surface{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 20px #26452f03}.message-form{padding:35px}fieldset{border:0;margin:0 0 29px;padding:0 0 28px;border-bottom:1px solid var(--line)}legend{font-size:17px;font-weight:700;display:flex;align-items:center;gap:10px;margin-bottom:23px;letter-spacing:-.3px}legend span{font-size:11px;color:#829680;border:1px solid var(--line);border-radius:6px;padding:3px 7px}.form-label{font-size:12px;font-weight:650;margin-bottom:8px}.form-control,.form-select{border-color:#dfe5de;background-color:#fff;border-radius:7px;padding:11px 13px;font-size:13px;color:var(--ink)}.form-control::placeholder{color:#9aa69e}.form-control:focus,.form-select:focus{border-color:#77a58d;box-shadow:0 0 0 .2rem #16735b16}.form-text{font-size:11px;line-height:1.7;color:#7b897f}.upload-box{padding:19px;background:#fafbf7;border:1px dashed #c8d7c3;border-radius:8px;display:flex;gap:14px;align-items:center}.upload-symbol{font-size:29px;color:#7c9776}.upload-box small{font-size:10px;color:#84907f}.consent{font-size:12px}.form-check-input:checked{background-color:var(--green);border-color:var(--green)}.photo-preview{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.photo-preview img{width:75px;height:65px;object-fit:cover;border-radius:6px}.site-footer{border-top:1px solid var(--line);background:#fff;padding:26px 0;color:#7d897f;font-size:11px}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.auth-card{max-width:460px;margin:30px auto;padding:38px}.stat-card{padding:22px}.stat-card span{font-size:12px;color:var(--muted)}.stat-card strong{display:block;font-size:36px;line-height:1.5}.stat-1{border-top:3px solid #8cac7c}.stat-2{border-top:3px solid #e5bd73}.stat-3{border-top:3px solid #d99780}.reception-control{border:1px solid var(--line);border-radius:9px;padding:17px}.reception-control strong{font-size:13px}.table{--bs-table-color:var(--ink);font-size:13px;--bs-table-border-color:#edf0ea}.table th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#819084;padding-bottom:16px}.table td{padding:17px 8px}.category-badge{font-size:10px;padding:4px 9px;border-radius:5px;display:inline-block;font-weight:600}.badge-1{background:#edf4e9;color:#648653}.badge-2{background:#fff3dc;color:#a37e3c}.badge-3{background:#faeae3;color:#ad6f58}.contact-details{background:#f7f9f4;padding:20px 10px;border-radius:8px}.contact-details dt{font-size:11px;color:var(--muted);font-weight:500}.contact-details dd{font-size:14px;margin-top:5px}.message-description{white-space:pre-wrap;overflow-wrap:anywhere;background:#fcfdfb;padding:20px;border-radius:8px}.detail-photos{display:flex;flex-wrap:wrap;gap:15px}.detail-photos img{max-width:100%;width:250px;height:200px;object-fit:contain;background:#f5f7f1;border-radius:8px;border:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:767px){.brand-tag,.nav-about{display:none}.brand{font-size:20px}.site-header{padding:16px 0}.site-header nav{gap:8px!important}.site-header .btn{padding:7px 10px;font-size:11px}.hero{padding-top:40px;padding-bottom:35px}.market-art{height:290px;max-width:350px}.shop{left:45px;transform:scale(.9);transform-origin:bottom}.art-label{left:35px}.form-section{padding:40px 0}.message-form{padding:24px 19px}.section-title{font-size:29px}.category-card{padding:20px}.auth-card{padding:25px}.hero-copy{font-size:15px}.upload-box{padding:12px}.upload-symbol{display:none}.site-header nav a{font-size:11px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.brand-logo{display:block;width:138px;height:auto;max-width:100%}.brand{flex-shrink:0}.site-header{padding:12px 0}@media(max-width:767px){.brand-logo{width:105px}.site-header{padding:10px 0}}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(32, 63, 55, .035);
}

.nav-report {
    color: #a75846;
    font-weight: 700;
}

.hero {
    position: relative;
    padding-top: 86px;
    padding-bottom: 78px;
}

.hero-glow {
    position: absolute;
    width: 470px;
    height: 470px;
    right: 2%;
    top: 6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 221, 180, .36), rgba(197, 221, 180, 0) 68%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(44px, 5.5vw, 74px);
    font-weight: 800;
    letter-spacing: -2.7px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-report {
    --bs-btn-color: #934b3b;
    --bs-btn-border-color: #edc7bb;
    --bs-btn-hover-color: #763829;
    --bs-btn-hover-bg: #fff1ed;
    --bs-btn-hover-border-color: #dfaa9a;
    background: #fff8f5;
}

.market-art {
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 32px 70px rgba(58, 95, 66, .13);
    transform: rotate(1.2deg);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 750;
}

.section-heading > p {
    max-width: 290px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 160px;
    padding: 27px 24px;
    border-radius: 18px;
    box-shadow: 0 5px 24px rgba(32, 63, 55, .035);
}

.category-card::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    background: currentColor;
    opacity: .04;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(32, 63, 55, .1);
}

.category-card h2 {
    font-size: 20px;
}

.category-card p {
    font-size: 13px;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.form-section {
    background:
        radial-gradient(circle at 10% 15%, rgba(218, 232, 204, .45), transparent 24%),
        linear-gradient(180deg, #f7f8f2, #f2f5ee);
    padding: 82px 0 90px;
}

.surface {
    border-color: rgba(212, 224, 210, .9);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(35, 68, 54, .08);
}

.message-form {
    padding: clamp(25px, 4vw, 46px);
}

.message-form fieldset {
    padding-bottom: 34px;
    margin-bottom: 34px;
}

.message-form legend {
    font-size: 19px;
}

.form-control,
.form-select {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
}

textarea.form-control {
    min-height: 145px;
}

.form-label {
    font-size: 13px;
}

.upload-box {
    padding: 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fafcf8, #f4f8f1);
}

.consent {
    padding: 18px;
    border-radius: 12px;
    background: #f8faf5;
}

.steps li > span {
    width: 34px;
    height: 34px;
    border-color: #bfcfba;
    color: var(--green);
    font-weight: 750;
}

.privacy-note {
    border-radius: 15px;
    background: linear-gradient(135deg, #edf4e8, #f7f9f3);
}

.report-link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 17px 18px;
    border: 1px solid #efd4cb;
    border-radius: 13px;
    background: #fff8f5;
    color: #8e4c3d;
}

.report-link span {
    color: #8c756e;
    font-size: 11px;
}

.report-link strong {
    font-size: 13px;
}

.report-link:hover {
    background: #fff0e9;
    color: #723426;
}

.report-hero {
    padding: 35px 0 48px;
    background:
        radial-gradient(circle at 82% 30%, rgba(235, 191, 174, .35), transparent 25%),
        linear-gradient(140deg, #fffaf7 20%, #f8efe9 100%);
    border-bottom: 1px solid #eedcd4;
}

.report-hero h1 {
    margin: 18px 0;
    font-size: clamp(40px, 5.2vw, 66px);
    font-weight: 800;
    letter-spacing: -2.4px;
}

.report-hero h1 span {
    color: #a55744;
}

.back-link {
    display: inline-flex;
    margin-bottom: 10px;
    color: #7f665f;
    font-size: 12px;
    font-weight: 650;
}

.report-eyebrow,
.report-eyebrow .status-dot {
    color: #a55744;
}

.report-eyebrow .status-dot {
    background: #b86a54;
}

.emergency-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 26px;
    border: 1px solid #e7b9a9;
    border-radius: 20px;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 18px 50px rgba(120, 62, 44, .08);
}

.emergency-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #b45d49;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
}

.emergency-note strong {
    color: #753c2d;
}

.emergency-note p {
    margin: 7px 0 0;
    color: #82675f;
    font-size: 12px;
}

.selected-category {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 5px;
    border-radius: 13px;
}

.selected-category-report {
    border: 1px solid #edd1c7;
    background: #fff5f1;
}

.selected-category-report .category-icon {
    background: #f3d5ca;
    color: #a25542;
}

.selected-category strong,
.selected-category small {
    display: block;
}

.selected-category small {
    margin-top: 3px;
    color: #8e7169;
}

.report-form-section {
    background:
        radial-gradient(circle at 12% 10%, rgba(236, 202, 188, .34), transparent 25%),
        #f7f6f2;
}

.message-hero {
    background:
        radial-gradient(circle at 82% 30%, rgba(174, 210, 170, .35), transparent 25%),
        linear-gradient(140deg, #f9fdf6 20%, #edf4e7 100%);
    border-bottom-color: #dce8d5;
}

.message-hero h1 span {
    color: var(--green);
}

.message-help {
    border-color: #c7dbc0;
}

.message-help .emergency-icon {
    background: var(--green);
}

.message-help strong {
    color: var(--ink);
}

.public-insights {
    padding: 76px 0 90px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f2 100%);
    border-top: 1px solid var(--line);
}

.insight-card {
    padding: 28px;
    height: 100%;
}

.insight-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.insight-heading > div > span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.insight-heading h3,
.recent-heading h3 {
    margin: 7px 0 0;
    font-size: 23px;
    font-weight: 750;
}

.insight-period {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 11px;
    color: var(--muted);
    font-size: 10px;
    text-transform: capitalize;
    white-space: nowrap;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(45px, 10vw, 95px);
    min-height: 245px;
    padding-top: 28px;
    border-bottom: 1px solid var(--line);
}

.chart-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    width: 92px;
}

.chart-column strong {
    font-size: 29px;
}

.chart-column > span {
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 13px;
}

.chart-bar {
    width: 72px;
    min-height: 8px;
    border-radius: 10px 10px 3px 3px;
    transition: height .3s ease;
}

.chart-bar.current {
    background: linear-gradient(180deg, #54a77f, #16735b);
}

.chart-bar.previous {
    background: linear-gradient(180deg, #d9be7d, #b88c43);
}

.status-total {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 230px;
}

.status-total .status-symbol {
    width: 12px;
    height: 12px;
    margin-bottom: 25px;
    border-radius: 50%;
    background: #d59b50;
    box-shadow: 0 0 0 7px #f8ead6;
}

.status-total strong {
    font-size: 43px;
    letter-spacing: -1px;
    line-height: 1;
}

.status-total > span:last-child {
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.status-total.status-resuelto .status-symbol {
    background: #4b9b72;
    box-shadow: 0 0 0 7px #e2f1e8;
}

.status-total.status-finalizado .status-symbol {
    background: #4c7cad;
    box-shadow: 0 0 0 7px #e5edf6;
}

.insight-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 17px 20px;
    border: 1px solid #dce5d8;
    border-radius: 13px;
    background: #eff5eb;
    color: #60765a;
    font-size: 12px;
}

.insight-summary strong {
    margin-right: 3px;
    color: var(--ink);
}

.insight-summary a {
    font-weight: 750;
    white-space: nowrap;
}

.recent-messages {
    overflow: hidden;
}

.recent-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 27px 30px 22px;
}

.recent-messages .table {
    margin: 0;
}

.recent-messages .table th,
.recent-messages .table td {
    padding-left: 30px;
    padding-right: 30px;
}

.recent-messages .table tbody tr:last-child td {
    border-bottom: 0;
}

.message-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 6px 10px;
    background: #f1f3f1;
    color: #66736b;
    font-size: 10px;
    font-weight: 700;
}

.message-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.message-status.status-visto {
    color: #527eac;
    background: #edf4fb;
}

.message-status.status-en_proceso {
    color: #a87828;
    background: #fff4dc;
}

.message-status.status-resuelto {
    color: #3f825d;
    background: #eaf5ed;
}

.message-status.status-finalizado {
    color: #4f6f90;
    background: #e9eff7;
}

.status-editor {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8faf5;
}

body {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    background:
        radial-gradient(circle, rgba(32, 63, 55, .035) .6px, transparent .8px) 0 0 / 7px 7px,
        linear-gradient(145deg, #f7fbf4 0%, #f5f8f1 42%, #fff8f2 100%);
}

body::before,
body::after {
    content: '';
    position: fixed;
    z-index: -1;
    width: 42rem;
    height: 42rem;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(18px);
    opacity: .65;
}

body::before {
    top: -6rem;
    left: -6rem;
    background:
        radial-gradient(circle at 65% 65%, rgba(111, 179, 132, .45), transparent 43%),
        radial-gradient(circle at 35% 45%, rgba(230, 194, 103, .32), transparent 50%);
    animation: ambient-drift-a 12s ease-in-out infinite alternate paused;
}

body::after {
    right: -8rem;
    bottom: -8rem;
    background:
        radial-gradient(circle at 35% 35%, rgba(85, 151, 189, .32), transparent 45%),
        radial-gradient(circle at 65% 65%, rgba(209, 128, 103, .24), transparent 52%);
    animation: ambient-drift-b 16s ease-in-out infinite alternate paused;
}

html[data-ambient-motion="on"] body::before,
html[data-ambient-motion="on"] body::after,
html[data-ambient-motion="on"] .hero::before {
    animation-play-state: running;
}

.motion-toggle {
    padding: 5px 10px;
    border: 1px solid #bfcfc2;
    border-radius: 6px;
    background: #fff;
    color: #365849;
    font-size: 12px;
    font-weight: 600;
}

.motion-toggle:hover { background: #edf4e8; }
.motion-toggle:disabled { color: #526457; cursor: default; }
.site-footer > .container { align-items: center; }

main {
    position: relative;
}

.public-insights {
    background:
        radial-gradient(ellipse at 0% 0%, #cce1d4 0%, transparent 55%),
        linear-gradient(135deg, #e1ede7, #d9e7e2);
    border-top-color: #c0d4c9;
    border-bottom: 1px solid #c0d4c9;
}

.public-insights .surface {
    background: #fff;
    border-color: #b9cfc3;
    box-shadow: 0 12px 30px rgba(32, 63, 55, .09), 0 2px 5px rgba(32, 63, 55, .04);
}

.public-insights .section-heading > p,
.public-insights .insight-heading > div > span,
.public-insights .chart-column > span {
    color: #50665b;
}

.public-insights .monthly-chart {
    border-top: 4px solid #16735b;
}

.public-insights .insight-period {
    background: #edf4ef;
    border-color: #c5d8cd;
    color: #42614f;
}

.public-insights .bar-chart {
    background: repeating-linear-gradient(to top, transparent 0, transparent 59px, #edf2ee 59px, #edf2ee 60px);
    border-bottom-color: #c5d5cb;
}

.public-insights .status-total {
    border-top: 4px solid var(--status-accent, #b77a27);
    background: linear-gradient(180deg, var(--status-tint, #fff4e1), #fff 75%);
}

.public-insights .status-total.status-resuelto {
    --status-accent: #28805a;
    --status-tint: #e5f3e9;
}

.public-insights .status-total.status-finalizado {
    --status-accent: #3a72a6;
    --status-tint: #e7f0fa;
}

.public-insights .status-total > span:last-child {
    color: #4f6257;
}

.public-insights .insight-summary {
    background: #205a47;
    border-color: #205a47;
    color: #fff;
    box-shadow: 0 5px 14px rgba(32, 63, 55, .1);
}

.public-insights .insight-summary strong,
.public-insights .insight-summary a {
    color: #fff;
}

.public-insights .insight-summary a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.public-insights .recent-heading {
    background: #f2f7f4;
    border-bottom: 1px solid #d2e0d7;
}

.public-insights .recent-messages .table th {
    background: #e8f0eb;
    color: #42614f;
}

.public-insights .recent-messages .table tbody tr:nth-child(even) td {
    background: #f8faf9;
}

.hero {
    overflow: hidden;
    isolation: isolate;
}

/* A local layer keeps the motion visible in the opening section. */
.hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    width: 75%;
    height: 100%;
    border-radius: 50%;
    mask-image: radial-gradient(ellipse, #000 25%, transparent 70%);
    left: -15%;
    top: -15%;
    background:
        radial-gradient(ellipse at 35% 45%, rgba(81, 166, 119, .25), transparent 60%),
        radial-gradient(ellipse at 70% 65%, rgba(75, 158, 209, .18), transparent 50%);
    animation: ambient-drift-a 12s ease-in-out infinite alternate paused;
}

.category-section {
    position: relative;
    padding-top: 30px;
    padding-bottom: 52px !important;
}

.category-section .section-heading {
    border-left: 4px solid #16735b;
    padding-left: 20px;
    margin-bottom: 26px;
}

.category-section .category-card {
    --card-accent: #23744f;
    --card-tint: #e4f1e7;
    border: 1px solid #bdcec4;
    border-top: 4px solid var(--card-accent);
    background: linear-gradient(130deg, #fff 35%, var(--card-tint));
    box-shadow: 0 10px 24px rgba(32, 63, 55, .11);
    min-height: 180px;
}

.category-section .complaint {
    --card-accent: #98651b;
    --card-tint: #fff0d5;
    border-color: #dfcba7;
    border-top-color: var(--card-accent);
}

.category-section .report {
    --card-accent: #a54e3b;
    --card-tint: #fbe4dc;
    border-color: #dfbfb5;
    border-top-color: var(--card-accent);
}

.category-section .category-icon {
    color: #fff;
    background: var(--card-accent);
    box-shadow: 0 5px 12px rgba(32, 63, 55, .12);
}

.category-section .category-card div > span {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--card-tint);
    color: var(--card-accent);
}

.category-section .category-card p {
    color: #52665b;
}

.category-section .category-card:hover {
    border-color: var(--card-accent);
    box-shadow: 0 16px 32px rgba(32, 63, 55, .16);
}

@keyframes ambient-drift-a {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(12rem, 5rem, 0) scale(1.14);
    }
}

@keyframes ambient-drift-b {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-10rem, -5rem, 0) scale(1.12);
    }
}

@media (max-width: 767px) {
    .public-insights {
        padding: 50px 0 60px;
    }

    .insight-card {
        padding: 22px;
    }

    .status-total {
        min-height: 145px;
        align-items: center;
    }

    .status-total .status-symbol {
        margin-bottom: 17px;
    }

    .status-total strong {
        font-size: 34px;
    }

    .insight-summary {
        flex-direction: column;
        text-align: center;
    }

    .recent-heading {
        align-items: flex-start;
        padding: 23px 20px 18px;
    }

    .recent-messages .table th,
    .recent-messages .table td {
        min-width: 140px;
        padding-left: 20px;
        padding-right: 20px;
    }

    body::before,
    body::after {
        width: 30rem;
        height: 30rem;
        opacity: .45;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    .hero::before {
        animation: none;
    }
}

.form-actions .btn-primary {
    min-width: 205px;
}

@media (max-width: 767px) {
    .nav-report {
        display: none;
    }

    .hero {
        padding-top: 45px;
        padding-bottom: 42px;
    }

    .hero h1,
    .report-hero h1 {
        letter-spacing: -1.7px;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .market-art {
        transform: none;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 12px;
    }

    .category-card {
        min-height: 0;
    }

    .form-section {
        padding: 50px 0 58px;
    }

    .report-hero {
        padding: 22px 0 34px;
    }

    .emergency-note {
        padding: 20px;
    }

    .form-actions .btn-primary {
        width: 100%;
    }
}
