:root {
    --navy: #0B1F3A;
    --navy-2: #12345f;
    --fire: #D62828;
    --fire-2: #a61d1d;
    --paper: #FFFFFF;
    --soft: #F7F9FC;
    --ink: #2D3748;
    --muted: #718096;
    --line: rgba(11, 31, 58, .10);
    --success: #16A34A;
    --warning: #F97316;
    --shadow: 0 18px 48px rgba(11, 31, 58, .10);
    --shadow-strong: 0 28px 80px rgba(11, 31, 58, .22);
    --radius: 22px;
    --radius-sm: 14px;
    --institutional-bg:
        linear-gradient(115deg, rgba(11, 31, 58, .95), rgba(214, 40, 40, .64)),
        url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1800&q=84");
}

[data-theme="dark"] {
    --paper: #0f1a2a;
    --soft: #081421;
    --ink: #E5EDF7;
    --muted: #9FB0C6;
    --line: rgba(255, 255, 255, .10);
    --shadow: 0 18px 48px rgba(0, 0, 0, .28);
    --shadow-strong: 0 28px 80px rgba(0, 0, 0, .42);
}

* {
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 18% 0%, rgba(214, 40, 40, .08), transparent 28rem),
        linear-gradient(180deg, var(--soft), #fff 42rem);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

[data-theme="dark"] body {
    background:
        radial-gradient(circle at 18% 0%, rgba(214, 40, 40, .16), transparent 30rem),
        linear-gradient(180deg, #07111f, var(--soft));
}

a {
    color: var(--navy-2);
    text-decoration: none;
}

[data-theme="dark"] a {
    color: #9cc7ff;
}

.app-nav {
    backdrop-filter: blur(24px);
    background: rgba(11, 31, 58, .88);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 10px 30px rgba(11, 31, 58, .16);
}

.navbar-brand {
    align-items: center;
    display: inline-flex;
    gap: .7rem;
}

.brand-mark {
    background: linear-gradient(135deg, var(--fire), var(--warning));
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(214, 40, 40, .34);
    color: #fff;
    display: inline-grid;
    font-size: .82rem;
    font-weight: 900;
    height: 42px;
    place-items: center;
    width: 42px;
}

.brand-mark-seal {
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    padding: 0;
}

.brand-mark-seal img {
    height: 100%;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.nav-link {
    border-radius: 999px;
    color: rgba(255, 255, 255, .78) !important;
    font-weight: 700;
    padding: .62rem .9rem !important;
}

.nav-link:hover {
    background: rgba(255, 255, 255, .10);
    color: #fff !important;
}

.theme-toggle,
.sidebar-toggle {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.theme-toggle:hover,
.sidebar-toggle:hover {
    background: rgba(255, 255, 255, .20);
}

.utility-logout-link {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 900;
    gap: .4rem;
    min-height: 38px;
    padding: .42rem .72rem;
    text-decoration: none;
    white-space: nowrap;
}

.utility-logout-link:hover {
    background: rgba(255, 255, 255, .20);
    color: #fff;
}

.user-chip {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    gap: .56rem;
    max-width: 260px;
    min-height: 42px;
    padding: .28rem .82rem .28rem .34rem;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.user-chip:hover {
    background: rgba(255, 255, 255, .20);
    border-color: rgba(255, 255, 255, .26);
    transform: translateY(-1px);
}

.user-chip-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--fire), var(--warning));
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 auto;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.user-chip-text {
    display: grid;
    line-height: 1.05;
    min-width: 0;
}

.user-chip-text strong,
.user-chip-text small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-chip-text strong {
    color: #fff;
    font-size: .88rem;
    font-weight: 900;
}

.user-chip-text small {
    color: rgba(255, 255, 255, .68);
    font-size: .68rem;
    font-weight: 800;
    margin-top: 2px;
}

.btn {
    border-radius: 999px;
    font-weight: 800;
    padding: .72rem 1.08rem;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-sm {
    padding: .48rem .82rem;
}

.btn-lg {
    padding: .95rem 1.34rem;
}

.btn-fire {
    --bs-btn-bg: var(--fire);
    --bs-btn-border-color: var(--fire);
    --bs-btn-hover-bg: var(--fire-2);
    --bs-btn-hover-border-color: var(--fire-2);
    box-shadow: 0 16px 34px rgba(214, 40, 40, .28);
    color: #fff;
}

.btn-alert {
    --bs-btn-bg: var(--warning);
    --bs-btn-border-color: var(--warning);
    --bs-btn-hover-bg: #ea580c;
    --bs-btn-hover-border-color: #ea580c;
    box-shadow: 0 16px 34px rgba(249, 115, 22, .24);
    color: #111827;
}

.btn-outline-primary,
.btn-outline-danger,
.btn-outline-light,
.btn-outline-secondary {
    border-color: var(--line);
    color: var(--ink);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.hero {
    background:
        linear-gradient(105deg, rgba(5, 13, 28, .88) 0%, rgba(11, 31, 58, .74) 48%, rgba(214, 40, 40, .42) 100%),
        url("../img/bombeirocivil/shopping.png");
    background-position: center;
    background-size: cover;
    color: #fff;
    display: flex;
    min-height: calc(100vh - 72px);
    overflow: hidden;
    padding: 92px 0 72px;
    position: relative;
}

.hero::after {
    background: linear-gradient(180deg, transparent, rgba(247, 249, 252, .98));
    bottom: -1px;
    content: "";
    height: 150px;
    left: 0;
    position: absolute;
    right: 0;
}

[data-theme="dark"] .hero::after {
    background: linear-gradient(180deg, transparent, var(--soft));
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.7rem, 6vw, 6.4rem);
    font-weight: 950;
    line-height: .94;
    max-width: 930px;
}

.hero .lead {
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1.05rem, 1.7vw, 1.38rem);
    max-width: 680px;
}

.hero-search {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
    padding: 18px;
}

.seal-card {
    align-items: center;
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
    display: flex;
    gap: 18px;
    padding: 18px;
}

.seal-card-dark {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .18);
    color: #fff;
}

.site-seal {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: inline-block;
    flex: 0 0 auto;
    height: 98px;
    overflow: hidden;
    width: 98px;
}

.site-seal img {
    height: 100%;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.site-seal-lg {
    height: 150px;
    width: 150px;
}

.eyebrow {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 900;
    gap: .5rem;
    padding: .5rem .8rem;
    text-transform: uppercase;
}

.section-pad {
    padding: 78px 0;
}

.section-kicker {
    color: var(--fire);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3.25rem);
    font-weight: 950;
    line-height: 1.02;
}

.stat-card,
.feature-card,
.profile-card,
.panel-card,
.event-card,
.benefit-card,
.timeline-item,
.assoc-card {
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-card {
    min-height: 150px;
    overflow: hidden;
    padding: 24px;
    position: relative;
}

.stat-card::after {
    background: linear-gradient(135deg, rgba(214, 40, 40, .13), transparent);
    border-radius: 999px;
    content: "";
    height: 110px;
    position: absolute;
    right: -38px;
    top: -38px;
    width: 110px;
}

.stat-value {
    color: var(--fire);
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 950;
    line-height: 1;
}

.feature-card,
.profile-card,
.panel-card,
.benefit-card {
    padding: 24px;
}

.feature-card,
.profile-card,
.event-card,
.benefit-card {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card:hover,
.profile-card:hover,
.event-card:hover,
.benefit-card:hover {
    border-color: rgba(214, 40, 40, .22);
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
}

.icon-pill {
    align-items: center;
    background: rgba(214, 40, 40, .10);
    border: 1px solid rgba(214, 40, 40, .14);
    border-radius: 18px;
    color: var(--fire);
    display: inline-flex;
    font-size: 1.25rem;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.map-shell {
    background: var(--navy);
    border-radius: 30px;
    box-shadow: var(--shadow-strong);
    color: #fff;
    overflow: hidden;
    padding: 16px;
}

.map-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 12px 18px;
}

.map-box {
    border-radius: 22px;
    height: 520px;
    overflow: hidden;
}

.map-small {
    height: 360px;
}

.map-side-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    bottom: 28px;
    box-shadow: var(--shadow-strong);
    color: var(--ink);
    max-width: 330px;
    opacity: 0;
    padding: 20px;
    pointer-events: none;
    position: absolute;
    right: 28px;
    transform: translateX(18px);
    transition: .22s ease;
    z-index: 500;
}

.map-side-card.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.leaflet-container {
    background: #09192e;
    font-family: inherit;
}

.leaflet-popup-content-wrapper {
    border-radius: 18px;
}

.avatar {
    aspect-ratio: 1;
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
}

.avatar-sm {
    border-radius: 16px;
    height: 72px;
    object-fit: cover;
    width: 72px;
}

.pro-card {
    display: grid;
    gap: 18px;
    grid-template-columns: 138px 1fr;
}

.verified,
.associate-badge,
.availability-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 900;
    gap: .38rem;
    padding: .42rem .72rem;
}

.verified,
.associate-badge {
    background: rgba(22, 163, 74, .12);
    color: var(--success);
}

.availability-badge {
    background: rgba(249, 115, 22, .12);
    color: var(--warning);
}

.rating-stars {
    color: #f59e0b;
    font-weight: 900;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-item {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 58px 1fr;
    padding: 20px;
    position: relative;
}

.timeline-number {
    align-items: center;
    background: var(--navy);
    border-radius: 18px;
    color: #fff;
    display: inline-flex;
    font-size: 1.1rem;
    font-weight: 950;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.event-card {
    overflow: hidden;
}

.event-media {
    background:
        linear-gradient(135deg, rgba(11, 31, 58, .30), rgba(214, 40, 40, .22)),
        url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=900&q=84");
    background-position: center;
    background-size: cover;
    min-height: 190px;
}

.event-body {
    padding: 22px;
}

.event-info-list {
    display: grid;
    gap: 8px;
}

.event-info-list div {
    align-items: flex-start;
    background: rgba(11, 31, 58, .04);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--muted);
    display: flex;
    font-size: .86rem;
    font-weight: 800;
    gap: .55rem;
    padding: 10px 12px;
}

.event-info-list i {
    color: var(--fire);
    margin-top: 1px;
}

.profile-hero {
    background: var(--institutional-bg);
    background-position: center;
    background-size: cover;
    color: #fff;
    overflow: hidden;
    padding: 86px 0 118px;
    position: relative;
}

.profile-hero::after {
    background: linear-gradient(180deg, transparent, var(--soft));
    bottom: -1px;
    content: "";
    height: 118px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.profile-hero .container,
.profile-hero .container-fluid {
    position: relative;
    z-index: 2;
}

.profile-shell {
    margin-top: -96px;
    position: relative;
    z-index: 2;
}

.profile-main-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow-strong);
    padding: 26px;
}

.profile-photo-xl {
    border: 6px solid var(--paper);
    border-radius: 28px;
    height: 190px;
    object-fit: cover;
    width: 190px;
}

.gallery-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.gallery-grid img {
    aspect-ratio: 1;
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
}

.assoc-card {
    background:
        linear-gradient(135deg, rgba(11, 31, 58, .98), rgba(18, 52, 95, .96)),
        radial-gradient(circle at 80% 10%, rgba(214, 40, 40, .34), transparent 16rem);
    color: #fff;
    overflow: hidden;
    padding: 24px;
}

.assoc-number {
    color: rgba(255, 255, 255, .72);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .92rem;
}

.dashboard-hero {
    background: var(--institutional-bg);
    background-position: center;
    background-size: cover;
    border-radius: 30px;
    box-shadow: var(--shadow-strong);
    color: #fff;
    margin-bottom: 26px;
    padding: 28px;
}

.widget-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.widget {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.widget strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 950;
}

.admin-widget-link {
    color: var(--ink);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.admin-widget-link:hover {
    border-color: rgba(214, 40, 40, .24);
    box-shadow: var(--shadow-strong);
    color: var(--ink);
    transform: translateY(-2px);
}

.sidebar {
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
    color: var(--ink);
    padding: 14px;
    position: sticky;
    top: 92px;
}

.sidebar a {
    align-items: center;
    border-radius: 16px;
    color: var(--muted);
    display: flex;
    font-weight: 800;
    gap: .6rem;
    padding: 11px 12px;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(214, 40, 40, .10);
    color: var(--fire);
}

.admin-shell.is-collapsed .sidebar {
    padding: 10px;
}

.admin-shell.is-collapsed .sidebar h2,
.admin-shell.is-collapsed .sidebar a span {
    display: none;
}

.admin-shell.is-collapsed .admin-sidebar-col {
    width: 86px;
}

.admin-shell.is-collapsed .admin-content-col {
    width: calc(100% - 86px);
}

.global-search {
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    color: #fff;
    min-height: 42px;
    padding: 0 16px;
}

.global-search::placeholder {
    color: rgba(255, 255, 255, .68);
}

.admin-section-head,
.admin-table-title {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.admin-section-head {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 20px 22px;
}

.admin-current-tab {
    align-items: center;
    background: rgba(214, 40, 40, .10);
    border: 1px solid rgba(214, 40, 40, .16);
    border-radius: 999px;
    color: var(--fire);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 950;
    gap: .45rem;
    padding: .62rem .82rem;
    white-space: nowrap;
}

.admin-table-title {
    border-bottom: 1px solid var(--line);
    margin: -4px -2px 18px;
    padding: 0 2px 18px;
}

.admin-data-table td,
.admin-data-table th {
    min-width: 120px;
}

.admin-empty-state {
    background: rgba(11, 31, 58, .04);
    border: 1px dashed var(--line);
    border-radius: 18px;
    color: var(--muted);
    font-weight: 800;
    padding: 22px;
    text-align: center;
}

.form-control,
.form-select {
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--ink);
    min-height: 50px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(214, 40, 40, .38);
    box-shadow: 0 0 0 .22rem rgba(214, 40, 40, .10);
}

.form-label {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 900;
}

.table-responsive {
    border-radius: 20px;
}

.table {
    color: var(--ink);
    margin: 0;
    vertical-align: middle;
}

.table thead th {
    background: transparent;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.table tbody td {
    background: transparent;
    border-bottom: 1px solid var(--line);
    padding: 1rem .75rem;
}

.badge {
    border-radius: 999px;
    font-weight: 900;
    padding: .46rem .68rem;
}

.list-group-item {
    background: var(--paper);
    border-color: var(--line);
    color: var(--ink);
}

.alert {
    border: 0;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.skeleton {
    animation: pulse 1.4s ease-in-out infinite;
    background: linear-gradient(90deg, rgba(148, 163, 184, .16), rgba(148, 163, 184, .32), rgba(148, 163, 184, .16));
    background-size: 220% 100%;
    border-radius: 18px;
}

.fade-up {
    animation: fadeUp .55s ease both;
}

.footer {
    background:
        radial-gradient(circle at 85% 10%, rgba(214, 40, 40, .20), transparent 18rem),
        linear-gradient(135deg, var(--navy), #071321);
    color: #fff;
}

.footer-link {
    color: rgba(255,255,255,.78);
    margin-left: 18px;
}

.footer-link:hover {
    color: #fff;
}

.whatsapp-float {
    align-items: center;
    background: #16A34A;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    bottom: 24px;
    box-shadow: 0 18px 44px rgba(22, 163, 74, .36);
    color: #fff !important;
    display: inline-flex;
    font-weight: 900;
    gap: .58rem;
    padding: .86rem 1.08rem;
    position: fixed;
    right: 24px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    z-index: 1050;
}

.whatsapp-float i {
    font-size: 1.18rem;
}

.whatsapp-float:hover {
    background: #128C3D;
    box-shadow: 0 22px 54px rgba(22, 163, 74, .46);
    transform: translateY(-2px);
}

.bg-white {
    background-color: var(--paper) !important;
}

.text-muted {
    color: var(--muted) !important;
}

.benefit-partner-logo {
    align-items: center;
    background: rgba(11, 31, 58, .06);
    border-radius: 18px;
    color: var(--navy);
    display: inline-flex;
    font-size: 1.4rem;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.story-image {
    aspect-ratio: 16 / 11;
    border-radius: 30px;
    box-shadow: var(--shadow-strong);
    object-fit: cover;
    width: 100%;
}

.story-image-tall {
    aspect-ratio: 4 / 5;
}

.image-mosaic {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.image-mosaic img {
    border-radius: 24px;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    width: 100%;
}

.mascot-figure {
    filter: drop-shadow(0 24px 34px rgba(11, 31, 58, .22));
    margin: 0 auto;
    max-width: 230px;
    width: min(100%, 230px);
}

.mascot-figure-sm {
    max-width: 150px;
    width: min(100%, 150px);
}

[data-theme="dark"] .benefit-partner-logo {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 1199px) {
    .widget-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .sidebar {
        position: static;
    }

    .admin-section-head,
    .admin-table-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-current-tab {
        white-space: normal;
    }

    .pro-card {
        grid-template-columns: 110px 1fr;
    }

    .map-side-card {
        bottom: 18px;
        left: 18px;
        right: 18px;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .navbar-brand {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-chip {
        max-width: 46px;
        padding-right: .34rem;
    }

    .user-chip-text {
        display: none;
    }

    .whatsapp-float {
        bottom: 16px;
        left: 16px;
        justify-content: center;
        right: 16px;
    }

    .hero {
        min-height: auto;
        padding: 58px 0 54px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .section-pad {
        padding: 52px 0;
    }

    .map-box {
        height: 390px;
    }

    .widget-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pro-card {
        grid-template-columns: 1fr;
    }

    .profile-photo-xl {
        height: 150px;
        width: 150px;
    }
}

/* Premium redesign layer */
:root {
    --navy: #071327;
    --navy-2: #10213d;
    --fire: #D62828;
    --paper: #FFFFFF;
    --soft: #F5F7FA;
    --ink: #1F2937;
    --muted: #697586;
    --success: #22C55E;
    --warning: #F97316;
    --line: rgba(7, 19, 39, .10);
    --radius: 8px;
    --radius-sm: 6px;
    --shadow: 0 18px 48px rgba(7, 19, 39, .10);
    --shadow-strong: 0 26px 78px rgba(7, 19, 39, .18);
}

body {
    background:
        linear-gradient(180deg, rgba(245, 247, 250, .88), var(--soft)),
        linear-gradient(135deg, rgba(7, 19, 39, .04), rgba(214, 40, 40, .04));
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

.app-nav {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    box-shadow: none;
    left: 0;
    position: fixed !important;
    right: 0;
    top: 0;
    transition: background .24s ease, border-color .24s ease, box-shadow .24s ease, backdrop-filter .24s ease;
    z-index: 1080;
}

body.modal-open .app-nav {
    z-index: 1040;
}

.nav-container {
    gap: 18px;
    max-width: 1480px;
    min-height: 78px;
}

.app-nav.is-scrolled,
.app-nav:has(.navbar-collapse.show) {
    backdrop-filter: blur(22px);
    background: rgba(7, 19, 39, .92);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 16px 45px rgba(7, 19, 39, .20);
}

.navbar-brand {
    color: #fff !important;
    font-size: 1.05rem;
    letter-spacing: 0;
    min-width: max-content;
}

.brand-text {
    white-space: nowrap;
}

.brand-mark {
    border-radius: 8px;
}

.brand-mark-seal {
    height: 44px;
    width: 44px;
}

.nav-link {
    color: rgba(255, 255, 255, .82) !important;
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.1;
    padding: .54rem .66rem !important;
    white-space: nowrap;
}

.nav-link-button {
    background: transparent;
    border: 0;
    text-align: left;
}

.nav-shell {
    flex: 1 1 auto;
    gap: 14px;
    justify-content: flex-end;
    margin-left: 14px;
    min-width: 0;
}

.main-nav-list {
    align-items: center;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 999px;
    display: flex;
    gap: 2px;
    justify-content: center;
    padding: 5px;
}

.nav-actions,
.nav-utility {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.nav-utility {
    order: 3;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    height: 40px;
    padding: 0;
    width: 40px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .18rem rgba(255, 255, 255, .14);
}

.nav-cta,
.nav-panel-link {
    align-items: center;
    display: inline-flex;
    gap: .42rem;
    justify-content: center;
    min-height: 42px;
    padding: .52rem .82rem;
    white-space: nowrap;
}

.nav-logout-link,
.nav-login-link {
    align-items: center;
    display: inline-flex;
    min-height: 42px;
}

.signup-choice-modal .modal-content {
    background: color-mix(in srgb, var(--paper) 96%, transparent);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
}

.signup-choice-modal .modal-header {
    border-bottom: 1px solid var(--line);
    padding: 20px;
}

.signup-choice-modal .modal-body {
    padding: 20px;
}

.signup-choice-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signup-choice-card,
.login-role-option {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.signup-choice-card {
    display: grid;
    gap: 8px;
    min-height: 168px;
    padding: 18px;
}

.signup-choice-card:hover {
    background: var(--paper);
    border-color: rgba(214, 40, 40, .28);
    box-shadow: var(--shadow);
    color: var(--ink);
    transform: translateY(-2px);
}

.signup-choice-card span,
.login-role-option span {
    align-items: center;
    background: rgba(214, 40, 40, .10);
    border: 1px solid rgba(214, 40, 40, .14);
    border-radius: 8px;
    color: var(--fire);
    display: inline-flex;
    justify-content: center;
}

.signup-choice-card span {
    font-size: 1.3rem;
    height: 46px;
    width: 46px;
}

.signup-choice-card strong {
    font-size: 1.05rem;
    font-weight: 950;
}

.signup-choice-card small {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.45;
}

.login-role-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.login-role-option {
    align-items: center;
    cursor: pointer;
    display: grid;
    gap: 8px;
    justify-items: center;
    min-height: 106px;
    padding: 14px 10px;
    position: relative;
    text-align: center;
}

.login-role-option input {
    inset: 0;
    opacity: 0;
    position: absolute;
}

.login-role-option span {
    font-size: 1.18rem;
    height: 42px;
    width: 42px;
}

.login-role-option strong {
    font-size: .9rem;
    font-weight: 950;
}

.login-role-option:has(input:checked) {
    background: rgba(214, 40, 40, .08);
    border-color: rgba(214, 40, 40, .44);
    box-shadow: 0 0 0 .18rem rgba(214, 40, 40, .08);
}

.welcome-modal .modal-content {
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    position: relative;
}

.welcome-close {
    background-color: rgba(255, 255, 255, .88);
    border-radius: 999px;
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 3;
}

.welcome-modal-grid {
    display: grid;
    grid-template-columns: minmax(260px, .86fr) minmax(0, 1.14fr);
    min-height: 560px;
}

.welcome-modal-media {
    overflow: hidden;
    position: relative;
}

.welcome-carousel,
.welcome-slide {
    inset: 0;
    position: absolute;
}

.welcome-carousel {
    background: var(--navy);
}

.welcome-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .8s ease, transform 4.4s ease;
}

.welcome-slide::before {
    background:
        linear-gradient(180deg, rgba(7, 19, 39, .10), rgba(7, 19, 39, .92)),
        linear-gradient(115deg, rgba(7, 19, 39, .64), rgba(214, 40, 40, .62));
    content: "";
    inset: 0;
    position: absolute;
}

.welcome-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.welcome-slide-copy {
    bottom: 32px;
    color: #fff;
    display: grid;
    gap: 8px;
    left: 28px;
    max-width: 390px;
    position: absolute;
    right: 28px;
    z-index: 2;
}

.welcome-slide-copy span {
    align-items: center;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 8px;
    display: inline-flex;
    font-size: 1.2rem;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.welcome-slide-copy strong {
    font-size: clamp(1.55rem, 2.4vw, 2.35rem);
    font-weight: 950;
    line-height: 1;
}

.welcome-slide-copy small {
    color: rgba(255, 255, 255, .82);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.45;
}

.welcome-modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 52px);
}

.welcome-modal-body h2 {
    color: var(--navy);
    font-size: clamp(1.85rem, 3vw, 3rem);
    font-weight: 950;
    line-height: 1.04;
    margin-bottom: 18px;
}

.welcome-modal-body h3 {
    color: var(--fire);
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    font-weight: 950;
    margin: 8px 0 10px;
}

.welcome-modal-body p {
    color: var(--muted);
    font-size: .98rem;
    font-weight: 650;
    line-height: 1.58;
    margin-bottom: 12px;
}

.welcome-modal-body .btn {
    align-self: flex-start;
    margin-top: 8px;
}

.nav-cta,
.btn-alert {
    background: linear-gradient(135deg, var(--warning), #ff6b00);
    border: 0;
    box-shadow: 0 14px 32px rgba(249, 115, 22, .26);
    color: #08111f !important;
}

.btn-fire {
    background: linear-gradient(135deg, var(--fire), #b91c1c);
    border: 0;
    box-shadow: 0 14px 32px rgba(214, 40, 40, .28);
}

.btn-glass {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .24);
    color: #fff;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, .20);
    color: #fff;
}

.premium-hero {
    isolation: isolate;
    min-height: 94vh;
    overflow: hidden;
    padding: 154px 0 80px;
    position: relative;
}

.hero-slider,
.hero-slide,
.hero-overlay {
    inset: 0;
    position: absolute;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.1s ease, transform 6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 19, 39, .96) 0%, rgba(7, 19, 39, .74) 42%, rgba(214, 40, 40, .42) 100%),
        linear-gradient(180deg, rgba(7, 19, 39, .28), rgba(7, 19, 39, .68));
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.premium-hero h1 {
    color: #fff;
    font-size: clamp(2.55rem, 4.15vw, 4.85rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    margin-top: 22px;
    max-width: 780px;
}

.premium-hero .lead {
    color: rgba(255, 255, 255, .80);
    font-size: clamp(1.05rem, 1.7vw, 1.36rem);
    line-height: 1.6;
    max-width: 740px;
}

.hero-eyebrow,
.eyebrow {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
}

.hero-proof-row {
    color: rgba(255, 255, 255, .76);
    display: flex;
    flex-wrap: wrap;
    font-size: .92rem;
    font-weight: 800;
    gap: 12px;
    margin-top: 28px;
}

.hero-proof-row span {
    align-items: center;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    display: inline-flex;
    gap: .45rem;
    padding: .55rem .75rem;
}

.premium-search {
    backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(7, 19, 39, .32);
    padding: 20px;
}

.premium-search-head {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.premium-search-head strong {
    color: var(--ink);
    display: block;
    font-size: 1.05rem;
    font-weight: 950;
}

.premium-search-head small {
    color: var(--muted);
    font-weight: 700;
}

.premium-search-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
}

.premium-search label {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
}

.premium-search label span {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.premium-search input,
.premium-search select {
    background: transparent;
    border: 0;
    color: var(--ink);
    font-weight: 850;
    min-height: 34px;
    outline: 0;
    width: 100%;
}

.social-proof-band {
    margin-top: -46px;
    position: relative;
    z-index: 3;
}

.stat-grid-premium {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.stat-card-premium {
    border-right: 1px solid var(--line);
    padding: 26px;
}

.stat-card-premium:last-child {
    border-right: 0;
}

.stat-card-premium strong {
    color: var(--navy);
    display: block;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 950;
    line-height: .95;
}

.stat-card-premium span {
    color: var(--muted);
    display: block;
    font-weight: 850;
    margin-top: 8px;
}

.section-heading {
    margin: 0 auto 34px;
    max-width: 840px;
    text-align: center;
}

.section-heading p,
.map-feature-head p,
.premium-cta p {
    color: var(--muted);
    font-size: 1.05rem;
}

.section-title {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 4.2rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
}

.coverage-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.coverage-card {
    align-items: end;
    aspect-ratio: 1 / 1.1;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
    color: #fff;
    display: flex;
    overflow: hidden;
    padding: 18px;
    position: relative;
    transition: transform .22s ease, box-shadow .22s ease;
}

.coverage-card::before {
    background: linear-gradient(180deg, transparent 18%, rgba(7, 19, 39, .88));
    content: "";
    inset: 0;
    position: absolute;
}

.coverage-card > div {
    position: relative;
}

.coverage-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
}

.coverage-card span {
    align-items: center;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 8px;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    margin-bottom: 12px;
    width: 42px;
}

.coverage-card h3 {
    font-size: 1.22rem;
    font-weight: 950;
}

.coverage-card p {
    color: rgba(255, 255, 255, .78);
    font-weight: 650;
    margin: 0;
}

.map-feature-section {
    background: linear-gradient(135deg, var(--navy), #0b1a33);
    overflow: hidden;
}

.map-feature-head {
    align-items: end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: 0 auto 24px;
    max-width: 1440px;
}

.map-feature-head .section-title,
.premium-cta h2 {
    color: #fff;
}

.premium-map {
    border-radius: 8px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .28);
}

.map-shell,
.map-box,
.panel-card,
.profile-card,
.event-card,
.feature-card,
.benefit-card,
.timeline-item,
.stat-card,
.widget,
.sidebar {
    border-radius: 8px;
}

.process-timeline {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-timeline article {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
    position: relative;
}

.process-timeline article:not(:last-child)::after {
    color: var(--fire);
    content: "↓";
    font-size: 1.4rem;
    font-weight: 950;
    position: absolute;
    right: -12px;
    top: 24px;
    transform: rotate(-90deg);
}

.process-timeline span {
    align-items: center;
    background: var(--navy);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-weight: 950;
    height: 38px;
    justify-content: center;
    margin-bottom: 16px;
    width: 38px;
}

.process-timeline h3,
.differentials-grid h3 {
    font-size: 1.02rem;
    font-weight: 950;
}

.process-timeline p,
.differentials-grid p {
    color: var(--muted);
    font-weight: 650;
    margin: 0;
}

.differentials-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.differentials-grid div {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.differentials-grid i {
    color: var(--fire);
    font-size: 1.55rem;
}

.premium-cta {
    align-items: center;
    background:
        linear-gradient(115deg, rgba(7, 19, 39, .98), rgba(214, 40, 40, .68)),
        url("../img/bombeirocivil/show1.png");
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
    color: #fff;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: clamp(28px, 6vw, 64px);
}

.premium-cta h2 {
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    margin: 14px 0;
}

.profile-hero {
    background:
        linear-gradient(115deg, rgba(7, 19, 39, .96), rgba(214, 40, 40, .56)),
        url("../img/bombeirocivil/show2.png");
    background-position: center;
    background-size: cover;
    padding: 148px 0 118px;
}

.profile-shell {
    margin-top: -74px;
}

.pro-card {
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pro-card:hover,
.event-card:hover,
.panel-card:hover {
    border-color: rgba(214, 40, 40, .20);
    box-shadow: var(--shadow-strong);
}

.event-card {
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.event-media {
    min-height: 220px;
}

.admin-section-head,
.widget,
.sidebar,
.panel-card {
    box-shadow: var(--shadow);
}

.premium-footer {
    background:
        linear-gradient(135deg, rgba(7, 19, 39, .98), rgba(7, 19, 39, .90)),
        url("../img/bombeirocivil/hero.png");
    background-position: center;
    background-size: cover;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.premium-footer::before {
    background:
        linear-gradient(90deg, rgba(214, 40, 40, .18), transparent 40%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 70px);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.premium-footer .container {
    position: relative;
}

.footer-brand {
    align-items: center;
    color: #fff !important;
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 950;
    gap: .8rem;
}

.footer-lead {
    color: rgba(255, 255, 255, .72);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 560px;
}

.premium-footer h6 {
    color: #fff;
    font-size: .8rem;
    font-weight: 950;
    letter-spacing: .04em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.premium-footer .footer-link {
    color: rgba(255, 255, 255, .70);
    display: block;
    font-weight: 750;
    margin: 0 0 10px;
}

.footer-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-trust-row span {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    font-size: .84rem;
    font-weight: 850;
    padding: .5rem .72rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .58);
    display: flex;
    flex-wrap: wrap;
    font-size: .86rem;
    font-weight: 750;
    gap: 12px;
    justify-content: space-between;
    margin-top: 42px;
    padding-top: 22px;
}

@media (max-width: 1499px) {
    .nav-container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-shell {
        gap: 8px;
        margin-left: 16px;
    }

    .main-nav-list {
        gap: 0;
    }

    .nav-link {
        font-size: .8rem;
        padding: .5rem .52rem !important;
    }

    .nav-cta,
    .nav-panel-link {
        font-size: .8rem;
        padding-left: .72rem;
        padding-right: .72rem;
    }

    .user-chip {
        max-width: 46px;
        padding-right: .34rem;
    }

    .user-chip-text {
        display: none;
    }
}

@media (max-width: 1199px) {
    .nav-container {
        gap: 12px;
    }

    .navbar-brand {
        font-size: .96rem;
    }

    .brand-mark-seal {
        height: 40px;
        width: 40px;
    }

    .nav-shell {
        gap: 10px;
    }

    .main-nav-list {
        padding: 4px;
    }

    .nav-link {
        font-size: .78rem;
        padding: .5rem .5rem !important;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-cta,
    .nav-panel-link {
        font-size: .78rem;
        padding-inline: .7rem;
    }

    .user-chip {
        max-width: 46px;
    }

    .coverage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-timeline article:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 991px) {
    .app-nav {
        background: rgba(7, 19, 39, .92);
        backdrop-filter: blur(22px);
    }

    .nav-container {
        gap: 10px;
        min-height: 70px;
    }

    .navbar-brand {
        max-width: calc(100% - 112px);
        min-width: 0;
    }

    .brand-text {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-mark-seal {
        flex: 0 0 auto;
    }

    .nav-utility {
        margin-left: auto;
    }

    .utility-logout-link {
        min-height: 40px;
    }

    .nav-shell {
        background: rgba(7, 19, 39, .97);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 8px;
        box-shadow: 0 22px 58px rgba(0, 0, 0, .28);
        flex-basis: 100%;
        margin-top: 10px;
        max-height: calc(100vh - 92px);
        overflow-y: auto;
        padding: 12px;
    }

    .main-nav-list {
        align-items: stretch;
        background: transparent;
        border: 0;
        border-radius: 0;
        gap: 4px;
        padding: 0;
    }

    .nav-link {
        border-radius: 8px;
        font-size: .95rem;
        padding: .82rem .9rem !important;
        white-space: normal;
    }

    .nav-actions {
        align-items: stretch;
        border-top: 1px solid rgba(255, 255, 255, .10);
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
    }

    .nav-actions .btn,
    .nav-actions .nav-link,
    .nav-actions .user-chip {
        justify-content: center;
        width: 100%;
    }

    .user-chip {
        max-width: none;
        min-height: 48px;
    }

    .user-chip-text {
        display: grid;
    }

    .premium-hero {
        min-height: auto;
        padding: 118px 0 58px;
    }

    .premium-search {
        margin-top: 12px;
    }

    .stat-grid-premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-cta,
    .map-feature-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .welcome-modal .modal-dialog {
        margin: 14px;
    }

    .welcome-modal-grid {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 28px);
        min-height: 0;
        overflow-y: auto;
    }

    .welcome-modal-media {
        min-height: 220px;
    }

    .welcome-slide-copy {
        bottom: 22px;
        left: 22px;
        right: 22px;
    }

    .welcome-slide-copy strong {
        font-size: 1.55rem;
    }

    .welcome-slide-copy small {
        font-size: .9rem;
    }

    .welcome-modal-body {
        padding: 24px;
    }
}

@media (max-width: 767px) {
    .premium-hero h1 {
        font-size: clamp(2.15rem, 9vw, 3.1rem);
        line-height: 1.06;
        max-width: 100%;
    }

    .premium-hero {
        padding: 108px 0 48px;
    }

    .premium-hero .lead {
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-eyebrow,
    .eyebrow {
        font-size: .68rem;
        max-width: 100%;
        white-space: normal;
    }

    .premium-search {
        padding: 14px;
    }

    .premium-search-head {
        align-items: flex-start;
        gap: 10px;
    }

    .premium-search-head strong {
        font-size: .98rem;
    }

    .premium-search-head small {
        display: block;
        line-height: 1.35;
    }

    .navbar-brand {
        max-width: calc(100% - 104px);
    }

    .brand-mark-seal {
        height: 36px;
        width: 36px;
    }

    .theme-toggle,
    .sidebar-toggle,
    .navbar-toggler {
        height: 38px;
        width: 38px;
    }

    .whatsapp-float {
        border-radius: 50%;
        bottom: 16px;
        font-size: 0;
        height: 58px;
        left: auto;
        padding: 0;
        right: 16px;
        width: 58px;
    }

    .whatsapp-float i {
        font-size: 1.45rem;
    }

    .premium-search-grid,
    .coverage-grid,
    .signup-choice-grid,
    .differentials-grid,
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .signup-choice-modal .modal-dialog {
        margin: 12px;
    }

    .signup-choice-card {
        min-height: auto;
    }

    .login-role-grid {
        grid-template-columns: 1fr;
    }

    .login-role-option {
        align-items: center;
        grid-template-columns: 42px 1fr;
        justify-items: start;
        min-height: 70px;
        text-align: left;
    }

    .welcome-modal-body h2 {
        font-size: 1.65rem;
    }

    .welcome-modal-body p {
        font-size: .94rem;
    }

    .welcome-modal-body .btn {
        align-self: stretch;
        width: 100%;
    }

    .stat-grid-premium {
        grid-template-columns: 1fr;
    }

    .stat-card-premium {
        border-bottom: 1px solid var(--line);
        border-right: 0;
        padding: 22px;
    }

    .stat-card-premium:last-child {
        border-bottom: 0;
    }

    .coverage-card {
        aspect-ratio: 16 / 11;
    }

    .hero-proof-row {
        display: none;
    }
}
