/* ============================================
   Region 1 Behavioral Health Authority
   Modern Site Styles
   ============================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Roboto+Slab:wght@400;700&display=swap');

:root {
    --green-primary: #006633;
    --green-dark: #004d26;
    --green-light: #e8f5e9;
    --accent-orange: #e8792b;
    --accent-teal: #049ebf;
    --text-dark: #1a2332;
    --text-body: #4a5568;
    --text-light: #6b7280;
    --bg-light: #f7f9fc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
}

* { box-sizing: border-box; }

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', 'Georgia', serif;
    color: var(--text-dark);
    line-height: 1.3;
}

a { text-decoration: none; transition: color 0.2s; }

img { max-width: 100%; height: auto; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3.5rem 0; }
.text-center { text-align: center; }

.section-heading {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.section-subheading {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 3rem;
}

.accent-bar {
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
    margin: 1rem auto 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}
.btn-primary {
    background: var(--accent-orange);
    color: #fff;
}
.btn-primary:hover {
    background: #d06820;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 121, 43, 0.35);
}
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn-secondary:hover {
    background: #fff;
    color: var(--green-primary);
}
.btn-green {
    background: var(--green-primary);
    color: #fff;
}
.btn-green:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 51, 0.3);
}
.btn-outline-green {
    background: transparent;
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
}
.btn-outline-green:hover {
    background: var(--green-primary);
    color: #fff;
}

/* ---------- Top Bar ---------- */
.top-bar {
    background: var(--green-dark);
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}
.top-bar a { color: #fff; font-weight: 600; }
.top-bar a:hover { text-decoration: underline; }
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.top-bar-left { display: flex; gap: 1.5rem; align-items: center; }
.top-bar-right { display: flex; gap: 1rem; align-items: center; }

/* ---------- Header ---------- */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.header-logo img { height: 80px; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 0; margin-left: auto; }
.main-nav > a,
.main-nav > .nav-dropdown > a {
    padding: 0.6rem 1rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.925rem;
    position: relative;
    transition: color 0.2s;
}
.main-nav > a:hover,
.main-nav > .nav-dropdown:hover > a {
    color: var(--green-primary);
}
.main-nav > a::after,
.main-nav > .nav-dropdown > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background: var(--green-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s;
}
.main-nav > a:hover::after,
.main-nav > .nav-dropdown:hover > a::after {
    transform: scaleX(1);
}

/* Dropdowns */
.nav-dropdown { position: relative; }
.nav-dropdown > a .chevron {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.2s;
    font-size: 0.7rem;
}
.nav-dropdown:hover > a .chevron { transform: rotate(180deg); }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text-body);
    font-size: 0.9rem;
    transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover {
    background: var(--green-light);
    color: var(--green-primary);
}

/* Header action buttons */
.header-actions { display: flex; gap: 0.5rem; align-items: center; }
.header-actions .btn { padding: 0.55rem 1.25rem; font-size: 0.85rem; }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(rgba(0, 77, 38, 0.45), rgba(0, 51, 25, 0.55)), url('images/monument.jpg') center/cover no-repeat;
    color: #fff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}
.hero p {
    font-size: 1.25rem;
    opacity: 0.92;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Page Banner ---------- */
.page-banner {
    background: linear-gradient(rgba(0, 77, 38, 0.45), rgba(0, 51, 25, 0.55)), url('images/north-platte-river.jpg') center/cover no-repeat;
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}
.page-banner h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.page-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 1rem;
    padding: 2rem 0;
}
.stat-item h3 {
    font-size: 2.5rem;
    color: var(--green-primary);
    margin-bottom: 0.25rem;
}
.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ---------- Cards ---------- */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}
.card-icon-green { background: var(--green-light); color: var(--green-primary); }
.card-icon-orange { background: #fef3e8; color: var(--accent-orange); }
.card-icon-teal { background: #e6f7fb; color: var(--accent-teal); }

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.card-link {
    color: var(--green-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.card-link:hover { color: var(--green-dark); }
.card-link .arrow { transition: transform 0.2s; }
.card-link:hover .arrow { transform: translateX(4px); }

/* Service cards grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* ---------- Providers ---------- */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.provider-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.provider-card:hover {
    border-color: var(--green-primary);
    box-shadow: 0 4px 12px rgba(0,102,51,0.08);
}
.provider-card .provider-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--green-light);
    color: var(--green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.provider-card .provider-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ---------- Crisis Banner ---------- */
.crisis-banner {
    background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}
.crisis-banner h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}
.crisis-numbers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}
.crisis-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}
.crisis-number .label {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--green-primary) 0%, #008844 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}
.cta-section h2 { color: #fff; font-size: 2rem; margin-bottom: 0.75rem; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- About Grid ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; }

/* Counties Grid */
.counties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}
.county-badge {
    background: var(--green-light);
    color: var(--green-primary);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--text-dark);
    color: #cbd5e0;
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}
.footer-brand p {
    font-size: 0.9rem;
    margin: 1rem 0;
    line-height: 1.7;
    color: #a0aec0;
}
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 0.9rem;
}
.footer-social a:hover { background: var(--green-primary); }

.footer-col h4 {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
    color: #a0aec0;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    align-items: flex-start;
}
.footer-contact-item .icon { color: var(--green-primary); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
    margin-top: 3rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #718096;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom a { color: #a0aec0; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom > span {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}
.footer-bottom .carf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-bottom .carf-link img {
    height: 32px;
    width: auto;
    background: #fff;
    padding: 2px;
    border-radius: 4px;
}

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 10px;
    background: var(--bg-light);
    margin-bottom: 1rem;
}
.contact-info-card .icon {
    width: 48px;
    height: 48px;
    background: var(--green-light);
    color: var(--green-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}
.contact-info-card h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.contact-info-card p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 51, 0.1);
}

/* Radio / fieldset groups (intake form) */
.form-group fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.form-group legend {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 0;
}
.radio-list { display: flex; flex-direction: column; gap: 0.4rem; }
.radio-list label {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 0 !important;
    font-weight: 400 !important;
    font-size: 0.95rem !important;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.radio-list label:hover { border-color: var(--green-primary); background: var(--bg-light); }
.radio-list input[type="radio"] {
    width: auto !important;
    margin: 0;
    accent-color: var(--green-primary);
}
.radio-list label:has(input[type="radio"]:checked) {
    border-color: var(--green-primary);
    background: var(--green-light);
}

/* ---------- Providers Split Layout ---------- */
.providers-split {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: start;
}
.providers-split-right {
    position: sticky;
    top: 100px;
}

/* ---------- Accordion ---------- */
.accordion {
    margin-bottom: 0.75rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.accordion-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.5rem;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    font-family: 'Roboto Slab', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: background 0.2s;
    gap: 1rem;
    text-align: left;
}
.accordion-toggle span { display: flex; align-items: center; gap: 0.65rem; }
.accordion-toggle span i { color: var(--green-primary); }
.accordion-toggle:hover { background: var(--green-light); }
.accordion-toggle.active { background: var(--green-primary); color: #fff; }
.accordion-toggle.active span i { color: #fff; }
.accordion-chevron { transition: transform 0.3s; font-size: 0.8rem; }
.accordion-toggle.active .accordion-chevron { transform: rotate(180deg); color: #fff; }
.accordion-panel {
    display: none;
    padding: 1.25rem 1.5rem;
    background: #fff;
}

/* Document links grid */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.5rem;
}
.doc-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}
.doc-link:hover {
    background: var(--bg-light);
    color: var(--green-primary);
}
.doc-icon { font-size: 1.3rem; flex-shrink: 0; }
.doc-icon.pdf { color: #e53935; }
.doc-icon.excel { color: #2e7d32; }
.doc-icon.word { color: #1565c0; }

/* ---------- Calendar ---------- */
.calendar-wrapper {
    max-width: 960px;
    margin: 0 auto;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.calendar-header h3 {
    font-size: 1.5rem;
    margin: 0;
}
.calendar-nav {
    display: flex;
    gap: 0.5rem;
}
.calendar-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.2s;
}
.calendar-nav button:hover {
    background: var(--green-primary);
    color: #fff;
    border-color: var(--green-primary);
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}
.calendar-day-name {
    background: var(--green-primary);
    color: #fff;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: 'Roboto', sans-serif;
}
.calendar-day {
    min-height: 100px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: #fff;
    font-size: 0.85rem;
    position: relative;
    transition: background 0.15s;
}
.calendar-day:hover { background: #fafbfc; }
.calendar-day.other-month { background: #f9fafb; color: #cbd5e0; }
.calendar-day.today { background: var(--green-light); }
.calendar-day .day-number {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.calendar-day.other-month .day-number { color: #cbd5e0; }
.calendar-day.today .day-number { color: var(--green-primary); }
.calendar-event {
    display: block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}
.calendar-event.event-green { background: var(--green-light); color: var(--green-primary); }
.calendar-event.event-orange { background: #fef3e8; color: var(--accent-orange); }
.calendar-event.event-teal { background: #e6f7fb; color: var(--accent-teal); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .header-actions .btn-green { display: none; }
    .mobile-toggle { display: block; }

    /* Mobile nav */
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        padding: 1rem;
        z-index: 200;
    }
    .main-nav.active > a,
    .main-nav.active > .nav-dropdown > a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .main-nav.active > a::after,
    .main-nav.active > .nav-dropdown > a::after { display: none; }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
        border-left: 3px solid var(--green-light);
    }
    .nav-dropdown:hover .dropdown-menu { display: block; }
    .nav-dropdown .dropdown-menu { display: none; }
    .nav-dropdown.open .dropdown-menu { display: block; }

    .hero { padding: 4rem 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.05rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .providers-grid { grid-template-columns: 1fr; }

    .top-bar-inner { justify-content: center; text-align: center; }
    .top-bar-left { flex-wrap: wrap; justify-content: center; }
    .top-bar-right { display: none; }

    .section-heading { font-size: 1.75rem; }
    .page-banner h1 { font-size: 1.75rem; }
    .crisis-numbers { flex-direction: column; align-items: center; }
    .providers-split { grid-template-columns: 1fr; }
    .providers-split-right { position: static; max-height: none; overflow-y: visible; }
    .doc-grid { grid-template-columns: 1fr; }
    .calendar-day { min-height: 60px; }
    .calendar-event { font-size: 0.6rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; }
}

/* ---------- Crisis Ticker (top bar marquee) ---------- */
.ticker {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
    min-width: 0;
}
.ticker-track {
    display: inline-flex;
    gap: 3rem;
    white-space: nowrap;
    animation: ticker-scroll 35s linear infinite;
    will-change: transform;
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track > span { display: inline-flex; align-items: center; gap: 0.5rem; }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
}

/* ---------- About: Mission/Vision/Values blocks ---------- */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.mvv-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}
.mvv-card h3 {
    color: var(--green-primary);
    font-size: 1.35rem;
    margin: 0 0 0.5rem;
}
.mvv-card .accent-bar { margin: 0.5rem 0 1rem; }
.values-list { list-style: none; padding: 0; margin: 0; }
.values-list li {
    padding: 0.5rem 0;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.values-list li i {
    color: var(--green-primary);
    margin-top: 4px;
    flex-shrink: 0;
}
.values-list li strong { color: var(--text-dark); }

/* ---------- About: CARF block ---------- */
.carf-block {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    max-width: 900px;
    margin: 2rem auto 0;
}
.carf-block img { max-width: 320px; height: auto; }
@media (max-width: 600px) {
    .carf-block { grid-template-columns: 1fr; text-align: center; }
    .carf-block img { margin: 0 auto; }
}

/* ---------- Network Manager line ---------- */
.network-manager-line {
    background: var(--green-light);
    border-left: 4px solid var(--green-primary);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.95rem;
}
.network-manager-line i {
    color: var(--green-primary);
    font-size: 1.1rem;
}

