/* ============================================================
   PBCPA PUBLIC WEBSITE
   FINAL PUBLIC STYLESHEET
============================================================ */

:root {
    --pbcpa-black: #0b0d0f;
    --pbcpa-black-soft: #15191d;
    --pbcpa-charcoal: #20262b;
    --pbcpa-red: #d71920;
    --pbcpa-red-dark: #a90f15;
    --pbcpa-red-soft: #f9e9ea;
    --pbcpa-silver: #c7cbd0;
    --pbcpa-light: #f5f6f7;
    --pbcpa-white: #ffffff;
    --pbcpa-text: #20272c;
    --pbcpa-muted: #68737b;
    --pbcpa-border: #e1e4e7;
    --pbcpa-green: #35c978;
    --max-width: 1180px;
    --radius: 16px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--pbcpa-white);
    color: var(--pbcpa-text);
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.section-container {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
}


/* ============================================================
   HEADER
============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--pbcpa-border);
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px);
}

.header-inner {
    width: min(1240px, calc(100% - 40px));
    min-height: 94px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.pbcpa-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--pbcpa-black);
    text-decoration: none;
}

.pbcpa-brand-logo {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    object-fit: contain;
}

.pbcpa-brand-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pbcpa-brand-text strong {
    color: var(--pbcpa-black);
    font-size: 1.65rem;
    line-height: 1;
    letter-spacing: 0.03em;
}

.pbcpa-brand-text span {
    margin-top: 5px;
    color: #343b40;
    font-size: 0.77rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.pbcpa-brand-text small {
    margin-top: 4px;
    color: var(--pbcpa-red);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-navigation > a {
    position: relative;
    color: #30383e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.main-navigation > a:not(.control-room-button)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -11px;
    height: 3px;
    background: var(--pbcpa-red);
    transition: right 0.2s ease;
}

.main-navigation > a:not(.control-room-button):hover::after,
.main-navigation > a.active:not(.control-room-button)::after {
    right: 0;
}

.control-room-button {
    min-height: 45px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--pbcpa-black);
    color: var(--pbcpa-white) !important;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.control-room-button:hover {
    background: var(--pbcpa-red);
    transform: translateY(-1px);
}

.mobile-nav-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 1px solid var(--pbcpa-border);
    border-radius: 8px;
    background: var(--pbcpa-white);
    cursor: pointer;
}

.mobile-nav-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: var(--pbcpa-black);
}


/* ============================================================
   IDENTITY BAR
============================================================ */

.identity-bar {
    position: relative;
    z-index: 20;
    background: var(--pbcpa-black);
    color: var(--pbcpa-white);
}

.identity-bar-inner {
    width: min(var(--max-width), calc(100% - 40px));
    min-height: 36px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

.identity-location {
    color: #ffffff;
}

.identity-divider {
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
    border-radius: 50%;
    background: var(--pbcpa-red);
}


/* ============================================================
   HERO
============================================================ */

.pbcpa-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            115deg,
            #080a0c 0%,
            #12171b 53%,
            #272d31 100%
        );
    color: var(--pbcpa-white);
}

.pbcpa-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 100%;
    background: var(--pbcpa-red);
}

.pbcpa-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -250px;
    width: 650px;
    height: 650px;
    border: 90px solid rgba(215, 25, 32, 0.05);
    border-radius: 50%;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );
    background-size: 55px 55px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(var(--max-width), calc(100% - 40px));
    min-height: 650px;
    margin: 0 auto;
    padding: 72px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
    align-items: center;
    gap: 80px;
}

.hero-main {
    min-width: 0;
}

.hero-logo-panel {
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 19px;
}

.hero-logo-panel img {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    object-fit: contain;
}

.hero-logo-panel > div {
    display: flex;
    flex-direction: column;
}

.hero-logo-panel span {
    margin-bottom: 5px;
    color: #b9bec2;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.hero-logo-panel strong {
    color: #ffffff;
    font-size: 1.17rem;
    line-height: 1.15;
    letter-spacing: 0.055em;
}

.hero-title {
    max-width: 720px;
}

.hero-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 11px;
    border-left: 3px solid var(--pbcpa-red);
    background: rgba(255, 255, 255, 0.055);
    color: #e1e3e5;
    font-size: 0.71rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.hero-title h1 {
    margin: 0;
    max-width: 760px;
    color: #ffffff;
    font-size: clamp(3rem, 5.5vw, 5rem);
    line-height: 0.99;
    letter-spacing: -0.05em;
}

.hero-title h1 span {
    display: block;
    color: var(--pbcpa-red);
}

.hero-title p {
    max-width: 680px;
    margin: 25px 0 0;
    color: #c6cbce;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-primary,
.hero-secondary {
    min-height: 54px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.hero-primary {
    background: var(--pbcpa-red);
    color: #ffffff;
}

.hero-primary:hover {
    background: #ec2027;
    transform: translateY(-2px);
}

.hero-secondary {
    border: 1px solid #5d6469;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.hero-secondary:hover {
    border-color: #ffffff;
    transform: translateY(-2px);
}


/* ============================================================
   CONTROL ROOM HERO PANEL
============================================================ */

.control-room-panel {
    position: relative;
    padding: 31px;
    border: 1px solid #41474c;
    border-radius: var(--radius);
    background:
        linear-gradient(
            145deg,
            rgba(35, 40, 44, 0.97),
            rgba(15, 18, 21, 0.98)
        );
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.control-room-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 31px;
    width: 75px;
    height: 4px;
    background: var(--pbcpa-red);
}

.control-room-panel-top {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #cbd0d3;
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.live-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--pbcpa-green);
    box-shadow: 0 0 0 5px rgba(53, 201, 120, 0.12);
}

.control-room-panel h2 {
    margin: 24px 0 13px;
    color: #ffffff;
    font-size: 1.65rem;
    line-height: 1.2;
}

.control-room-panel > p {
    margin: 0;
    color: #aeb6bb;
    line-height: 1.65;
}

.control-room-stats {
    margin: 27px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #3b4145;
    border-bottom: 1px solid #3b4145;
}

.control-room-stats > div {
    padding: 19px 12px 19px 0;
}

.control-room-stats > div + div {
    padding-left: 19px;
    border-left: 1px solid #3b4145;
}

.control-room-stats strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 1.5rem;
}

.control-room-stats span {
    color: #939da3;
    font-size: 0.74rem;
    font-weight: 700;
}

.staff-access-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 900;
}

.staff-access-link:hover {
    color: #ff555a;
}


/* ============================================================
   SECTION TITLES
============================================================ */

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--pbcpa-red);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.section-label.light {
    color: #ff6469;
}

.section-title-row {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr minmax(280px, 0.6fr);
    align-items: end;
    gap: 50px;
}

.section-title-row h2,
.about-heading h2,
.hotspot-information h2,
.partners-heading h2,
.safety-copy h2,
.community-copy h2 {
    margin: 0;
    color: var(--pbcpa-black);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-title-row > p,
.partners-heading > p {
    margin: 0;
    color: var(--pbcpa-muted);
    line-height: 1.7;
}


/* ============================================================
   REPORTING
============================================================ */

.reporting-section {
    padding: 90px 0;
    background: #f4f5f6;
}

.reporting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.report-channel {
    position: relative;
    min-height: 390px;
    padding: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--pbcpa-border);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--pbcpa-text);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.035);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.report-channel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--pbcpa-black);
}

.report-crime::before {
    background: var(--pbcpa-red);
}

.report-medical::before {
    background: #1974a6;
}

.report-activity::before {
    background: #278058;
}

.report-channel:hover {
    transform: translateY(-6px);
    border-color: #c9cdd0;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
}

.channel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.channel-number {
    color: #a2a9ae;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.channel-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eeeeef;
    color: var(--pbcpa-black);
    font-size: 1.5rem;
    font-weight: 900;
}

.report-crime .channel-icon {
    background: var(--pbcpa-red-soft);
    color: var(--pbcpa-red);
}

.report-medical .channel-icon {
    background: #e7f2f8;
    color: #1974a6;
}

.report-activity .channel-icon {
    background: #e8f4ed;
    color: #278058;
}

.channel-content {
    margin-top: 45px;
}

.channel-type {
    color: #8a9399;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.channel-content h3 {
    margin: 9px 0 13px;
    color: var(--pbcpa-black);
    font-size: 1.55rem;
}

.channel-content p {
    margin: 0;
    color: var(--pbcpa-muted);
    line-height: 1.7;
}

.channel-action {
    margin-top: auto;
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eceeef;
    color: var(--pbcpa-black);
    font-size: 0.85rem;
    font-weight: 900;
}

.report-crime .channel-action {
    color: var(--pbcpa-red);
}

.report-medical .channel-action {
    color: #1974a6;
}

.report-activity .channel-action {
    color: #278058;
}

.reporting-notice {
    margin-top: 23px;
    padding: 20px 23px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid #dedfe1;
    border-radius: 11px;
    background: #ffffff;
}

.notice-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pbcpa-black);
    color: #ffffff;
    font-weight: 900;
}

.reporting-notice strong {
    display: block;
    margin-bottom: 5px;
}

.reporting-notice p {
    margin: 0;
    color: var(--pbcpa-muted);
    font-size: 0.91rem;
    line-height: 1.55;
}


/* ============================================================
   ABOUT PBCPA
============================================================ */

.about-section {
    padding: 100px 0;
    background: #ffffff;
}

.about-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 90px;
}

.about-heading h2 {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    line-height: 0.9;
}

.about-heading h3 {
    max-width: 360px;
    margin: 18px 0 0;
    color: #4e575d;
    font-size: 1.2rem;
    line-height: 1.35;
}

.about-copy {
    max-width: 680px;
}

.about-copy p {
    margin: 0;
    color: var(--pbcpa-muted);
    line-height: 1.8;
}

.about-copy p + p {
    margin-top: 18px;
}

.about-copy .about-lead {
    color: var(--pbcpa-black);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.45;
}

.pbcpa-principles {
    margin-top: 65px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--pbcpa-border);
    border-bottom: 1px solid var(--pbcpa-border);
}

.pbcpa-principles article {
    min-height: 230px;
    padding: 29px;
}

.pbcpa-principles article + article {
    border-left: 1px solid var(--pbcpa-border);
}

.pbcpa-principles article > span {
    color: var(--pbcpa-red);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.pbcpa-principles h3 {
    margin: 25px 0 10px;
    font-size: 1.15rem;
}

.pbcpa-principles p {
    margin: 0;
    color: var(--pbcpa-muted);
    font-size: 0.91rem;
    line-height: 1.65;
}


/* ============================================================
   HOTSPOTS
============================================================ */

.hotspot-section {
    padding: 100px 0;
    background:
        linear-gradient(
            120deg,
            #0b0e10,
            #1a1f23
        );
    color: #ffffff;
}

.hotspot-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 70px;
    align-items: center;
}

.hotspot-information h2 {
    color: #ffffff;
}

.hotspot-information > p {
    margin: 20px 0 0;
    color: #abb3b8;
    line-height: 1.75;
}

.privacy-points {
    margin-top: 30px;
    display: grid;
    gap: 12px;
}

.privacy-points > div {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #d5d8da;
    font-size: 0.9rem;
}

.privacy-points > div > span {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(215, 25, 32, 0.15);
    color: #ff555b;
    font-size: 0.72rem;
    font-weight: 900;
}

.hotspot-dashboard {
    overflow: hidden;
    border: 1px solid #3b4145;
    border-radius: var(--radius);
    background: #171b1e;
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.28);
}

.dashboard-header {
    min-height: 78px;
    padding: 19px 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #383e42;
}

.dashboard-header > div:first-child {
    display: flex;
    flex-direction: column;
}

.dashboard-header > div:first-child span {
    color: #818b91;
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.dashboard-header strong {
    margin-top: 4px;
    color: #ffffff;
    font-size: 1.08rem;
}

.dashboard-live {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cdd2d5;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.11em;
}

.dashboard-live span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pbcpa-green);
    box-shadow: 0 0 0 5px rgba(53, 201, 120, 0.1);
}

.public-hotspot-map {
    min-height: 360px;
    padding: 24px;
    background:
        radial-gradient(
            circle at center,
            #23292d,
            #14181b
        );
}

.hotspot-loading,
.hotspot-empty,
.hotspot-error {
    min-height: 310px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 15px;
    text-align: center;
    color: #a9b1b6;
}

.loading-spinner {
    width: 34px;
    height: 34px;
    border: 4px solid #343b40;
    border-top-color: var(--pbcpa-red);
    border-radius: 50%;
    animation: pbcpa-spin 0.8s linear infinite;
}

@keyframes pbcpa-spin {
    to {
        transform: rotate(360deg);
    }
}

.dashboard-footer {
    min-height: 60px;
    padding: 15px 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #383e42;
    color: #8d979d;
    font-size: 0.75rem;
}

.dashboard-footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
}

.dashboard-footer a:hover {
    color: #ff555b;
}


/* ============================================================
   HOTSPOT DATA GENERATED BY public.js
============================================================ */

.hotspot-list {
    display: grid;
    gap: 10px;
}

.hotspot-item {
    padding: 16px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid #3c4347;
    border-radius: 9px;
    background: #202529;
}

.hotspot-item strong {
    color: #ffffff;
}

.hotspot-item span {
    color: #a7b0b5;
    font-size: 0.82rem;
}


/* ============================================================
   SECURITY PARTNERS
============================================================ */

.security-partners-section {
    padding: 100px 0;
    background: #f3f4f5;
}

.partners-heading {
    margin-bottom: 45px;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 0.65fr);
    align-items: end;
    gap: 60px;
}

.security-partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.security-partner-card {
    min-height: 330px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    border: 1px solid #dcdfe1;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
}

.partner-logo-area {
    min-height: 330px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-right: 1px solid #e4e6e7;
}

.partner-logo-area img {
    width: 100%;
    max-width: 230px;
    max-height: 220px;
    object-fit: contain;
}

.partner-information {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-information > span {
    color: var(--pbcpa-red);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.partner-information h3 {
    margin: 11px 0 12px;
    color: var(--pbcpa-black);
    font-size: 1.45rem;
}

.partner-information p {
    margin: 0;
    color: var(--pbcpa-muted);
    font-size: 0.91rem;
    line-height: 1.65;
}


/* ============================================================
   SAFETY
============================================================ */

.safety-section {
    padding: 70px 0;
    background: var(--pbcpa-red);
    color: #ffffff;
}

.safety-layout {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.safety-mark {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 900;
}

.safety-copy h2 {
    color: #ffffff;
}

.safety-copy p {
    max-width: 690px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
}

.safety-section .section-label.light {
    color: rgba(255, 255, 255, 0.75);
}

.safety-button {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.safety-button:hover {
    background: #ffffff;
    color: var(--pbcpa-red);
}


/* ============================================================
   COMMUNITY CTA
============================================================ */

.community-section {
    padding: 85px 0;
    background: #ffffff;
}

.community-layout {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 35px;
}

.community-logo img {
    width: 115px;
    height: 115px;
    object-fit: contain;
}

.community-copy {
    max-width: 660px;
}

.community-copy p {
    margin: 15px 0 0;
    color: var(--pbcpa-muted);
    line-height: 1.7;
}

.community-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.community-primary,
.community-secondary {
    min-width: 190px;
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 900;
}

.community-primary {
    background: var(--pbcpa-black);
    color: #ffffff;
}

.community-primary:hover {
    background: var(--pbcpa-red);
}

.community-secondary {
    border: 1px solid #d3d6d8;
    color: var(--pbcpa-black);
}

.community-secondary:hover {
    border-color: var(--pbcpa-black);
}


/* ============================================================
   FOOTER
============================================================ */

.site-footer {
    background: #0a0c0e;
    color: #ffffff;
}

.footer-main {
    padding: 65px 0;
}

.footer-container {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 0.7fr);
    gap: 50px;
}

.footer-brand {
    max-width: 370px;
}

.footer-brand-heading {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand-heading img {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    object-fit: contain;
}

.footer-brand-heading > div {
    display: flex;
    flex-direction: column;
}

.footer-brand-heading strong {
    font-size: 1.6rem;
    letter-spacing: 0.03em;
}

.footer-brand-heading span {
    margin-top: 4px;
    color: #a7afb4;
    font-size: 0.72rem;
    line-height: 1.35;
    text-transform: uppercase;
}

.footer-brand > p {
    margin: 22px 0 0;
    color: #8f999f;
    font-size: 0.87rem;
    line-height: 1.65;
}

.footer-powered {
    margin-top: 19px;
    color: #e0474c;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column > strong {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 0.7rem;
    letter-spacing: 0.13em;
}

.footer-column a {
    margin: 6px 0;
    color: #9aa4aa;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-private {
    margin-top: 8px;
    color: #616a70;
    font-size: 0.71rem;
}

.footer-bottom {
    border-top: 1px solid #272b2e;
}

.footer-bottom-inner {
    width: min(var(--max-width), calc(100% - 40px));
    min-height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    color: #717a80;
    font-size: 0.72rem;
}


/* ============================================================
   MOBILE REPORT BUTTON
============================================================ */

.mobile-report-action {
    display: none;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1050px) {

    .header-inner {
        gap: 20px;
    }

    .pbcpa-brand-text span {
        max-width: 220px;
    }

    .main-navigation {
        gap: 15px;
    }

    .main-navigation > a {
        font-size: 0.82rem;
    }

    .hero-inner {
        grid-template-columns: 1fr 0.65fr;
        gap: 45px;
    }

    .reporting-grid {
        gap: 14px;
    }

    .report-channel {
        padding: 25px;
    }

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

    .partner-logo-area {
        min-height: 220px;
        border-right: 0;
        border-bottom: 1px solid #e4e6e7;
    }

    .footer-container {
        grid-template-columns: 1.3fr repeat(3, 0.7fr);
        gap: 30px;
    }
}


/* ============================================================
   TABLET / MOBILE NAVIGATION
============================================================ */

@media (max-width: 900px) {

    .header-inner {
        min-height: 82px;
    }

    .pbcpa-brand-logo {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }

    .pbcpa-brand-text strong {
        font-size: 1.4rem;
    }

    .mobile-nav-button {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: calc(100% + 8px);
        left: 20px;
        right: 20px;
        display: none;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        border: 1px solid var(--pbcpa-border);
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    }

    .main-navigation.open,
    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation > a {
        padding: 13px 12px;
        border-radius: 7px;
        font-size: 0.9rem;
    }

    .main-navigation > a::after {
        display: none;
    }

    .control-room-button {
        margin-top: 5px;
    }

    .identity-bar-inner {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .identity-bar-inner::-webkit-scrollbar {
        display: none;
    }

    .hero-inner {
        min-height: auto;
        padding: 65px 0;
        grid-template-columns: 1fr;
    }

    .control-room-panel {
        max-width: 600px;
    }

    .reporting-grid {
        grid-template-columns: 1fr;
    }

    .report-channel {
        min-height: 330px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-copy {
        max-width: 800px;
    }

    .pbcpa-principles {
        grid-template-columns: repeat(2, 1fr);
    }

    .pbcpa-principles article:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--pbcpa-border);
    }

    .pbcpa-principles article:nth-child(4) {
        border-top: 1px solid var(--pbcpa-border);
    }

    .hotspot-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hotspot-information {
        max-width: 700px;
    }

    .security-partner-grid {
        grid-template-columns: 1fr;
    }

    .security-partner-card {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .partner-logo-area {
        min-height: 300px;
        border-right: 1px solid #e4e6e7;
        border-bottom: 0;
    }

    .safety-layout {
        grid-template-columns: auto 1fr;
    }

    .safety-button {
        grid-column: 2;
        justify-self: start;
    }

    .community-layout {
        grid-template-columns: auto 1fr;
    }

    .community-actions {
        grid-column: 2;
        flex-direction: row;
    }

    .footer-container {
        grid-template-columns: 1.3fr 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: 2;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 650px) {

    body {
        padding-bottom: 72px;
    }

    html {
        scroll-padding-top: 90px;
    }

    .section-container,
    .header-inner,
    .hero-inner,
    .identity-bar-inner,
    .footer-container,
    .footer-bottom-inner {
        width: min(100% - 28px, var(--max-width));
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        min-height: 76px;
    }

    .pbcpa-brand {
        gap: 10px;
    }

    .pbcpa-brand-logo {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .pbcpa-brand-text strong {
        font-size: 1.2rem;
    }

    .pbcpa-brand-text span {
        max-width: 190px;
        font-size: 0.6rem;
    }

    .pbcpa-brand-text small {
        font-size: 0.55rem;
    }

    .main-navigation {
        left: 14px;
        right: 14px;
    }

    .identity-bar-inner {
        min-height: 32px;
        gap: 12px;
        font-size: 0.57rem;
    }

    .pbcpa-hero::before {
        width: 4px;
    }

    .hero-inner {
        padding: 52px 0 60px;
    }

    .hero-logo-panel {
        margin-bottom: 27px;
    }

    .hero-logo-panel img {
        width: 75px;
        height: 75px;
        flex-basis: 75px;
    }

    .hero-logo-panel strong {
        font-size: 0.9rem;
    }

    .hero-logo-panel span {
        font-size: 0.62rem;
    }

    .hero-kicker {
        font-size: 0.6rem;
    }

    .hero-title h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .hero-title p {
        font-size: 0.98rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-primary,
    .hero-secondary {
        width: 100%;
    }

    .control-room-panel {
        padding: 25px 22px;
    }

    .control-room-panel h2 {
        font-size: 1.4rem;
    }

    .section-title-row,
    .partners-heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .reporting-section,
    .about-section,
    .hotspot-section,
    .security-partners-section {
        padding: 70px 0;
    }

    .report-channel {
        min-height: 315px;
        padding: 25px 22px;
    }

    .channel-content {
        margin-top: 32px;
    }

    .reporting-notice {
        padding: 18px;
    }

    .about-heading h2 {
        font-size: 4rem;
    }

    .about-copy .about-lead {
        font-size: 1.25rem;
    }

    .pbcpa-principles {
        grid-template-columns: 1fr;
    }

    .pbcpa-principles article {
        min-height: auto;
        padding: 27px 20px;
    }

    .pbcpa-principles article + article,
    .pbcpa-principles article:nth-child(3),
    .pbcpa-principles article:nth-child(4) {
        border-left: 0;
        border-top: 1px solid var(--pbcpa-border);
    }

    .hotspot-dashboard {
        border-radius: 12px;
    }

    .dashboard-header {
        padding: 17px;
    }

    .public-hotspot-map {
        min-height: 320px;
        padding: 17px;
    }

    .dashboard-footer {
        padding: 15px 17px;
        align-items: flex-start;
        flex-direction: column;
    }

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

    .partner-logo-area {
        min-height: 220px;
        padding: 25px;
        border-right: 0;
        border-bottom: 1px solid #e4e6e7;
    }

    .partner-logo-area img {
        max-height: 180px;
    }

    .partner-information {
        padding: 27px 23px;
    }

    .safety-section {
        padding: 55px 0;
    }

    .safety-layout {
        grid-template-columns: 1fr;
    }

    .safety-mark {
        width: 60px;
        height: 60px;
    }

    .safety-button {
        grid-column: auto;
        justify-self: stretch;
    }

    .community-section {
        padding: 65px 0;
    }

    .community-layout {
        grid-template-columns: 1fr;
    }

    .community-logo img {
        width: 90px;
        height: 90px;
    }

    .community-actions {
        grid-column: auto;
        flex-direction: column;
    }

    .community-primary,
    .community-secondary {
        width: 100%;
    }

    .footer-main {
        padding: 50px 0;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 38px 25px;
    }

    .footer-brand {
        max-width: none;
        grid-column: 1 / -1;
    }

    .footer-column:last-child {
        grid-column: auto;
    }

    .footer-bottom-inner {
        padding: 20px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-report-action {
        position: fixed;
        z-index: 1500;
        left: 12px;
        right: 12px;
        bottom: 10px;
        min-height: 54px;
        padding: 0 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid #ff343a;
        border-radius: 9px;
        background: var(--pbcpa-red);
        color: #ffffff;
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 900;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.28);
    }

    .mobile-report-action > span {
        font-size: 0.66rem;
        letter-spacing: 0.12em;
    }
}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 430px) {

    .pbcpa-brand-text span {
        display: none;
    }

    .pbcpa-brand-text small {
        margin-top: 3px;
    }

    .hero-logo-panel {
        align-items: center;
    }

    .hero-logo-panel img {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .hero-logo-panel strong {
        font-size: 0.8rem;
    }

    .control-room-stats {
        grid-template-columns: 1fr;
    }

    .control-room-stats > div + div {
        padding-left: 0;
        border-top: 1px solid #3b4145;
        border-left: 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}