/* ============================================
   ALARKA VOLUNTEER FIRE DEPARTMENT
   Bold Editorial — Plum & Amber Palette
   ============================================ */

/* --- Custom Properties --- */
:root {
    --plum-50: #faf5f7;
    --plum-100: #f3e8ed;
    --plum-200: #e8d0d9;
    --plum-300: #d4a8b8;
    --plum-400: #c07d93;
    --plum-500: #a35572;
    --plum-600: #8a3f58;
    --plum-700: #6e3046;
    --plum-800: #552536;
    --plum-900: #3e1b27;
    --plum-950: #261018;

    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;

    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.2);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--neutral-900);
    background: var(--neutral-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* --- Typography --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-700);
    background: var(--amber-100);
    padding: 0.35em 0.9em;
    border-radius: 100px;
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--plum-950);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--plum-700), var(--plum-500), var(--amber-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.75;
    color: var(--neutral-700);
    max-width: 640px;
    margin-bottom: var(--space-lg);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85em 1.8em;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--amber-600);
    color: var(--neutral-950);
    border-color: var(--amber-600);
}

.btn-primary:hover {
    background: var(--amber-500);
    border-color: var(--amber-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--neutral-100);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--plum-700);
    border-color: var(--plum-300);
}

.btn-outline-light:hover {
    background: var(--plum-50);
    border-color: var(--plum-500);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(38, 16, 24, 0.0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
    background: rgba(38, 16, 24, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--neutral-100);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-logo-icon {
    color: var(--amber-500);
}

.nav-logo-accent {
    color: var(--amber-500);
    font-weight: 800;
}

.nav-logo-text {
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--amber-400);
}

.nav-cta {
    background: var(--amber-600) !important;
    color: var(--neutral-950) !important;
    padding: 0.55em 1.3em;
    border-radius: var(--radius-xl);
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.nav-cta:hover {
    background: var(--amber-500) !important;
    color: var(--neutral-950) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--neutral-100);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--plum-950);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(38, 16, 24, 0.92) 0%,
        rgba(62, 27, 39, 0.82) 40%,
        rgba(110, 48, 70, 0.65) 70%,
        rgba(163, 85, 114, 0.5) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(251, 191, 36, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    padding-top: var(--space-5xl);
    padding-bottom: var(--space-4xl);
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: var(--space-2xl);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--neutral-50);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xl);
    max-width: 800px;
}

.hero-accent {
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.75;
    color: rgba(250, 250, 250, 0.75);
    max-width: 560px;
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* --- Floating Stat Cards --- */
.hero-stats {
    position: absolute;
    bottom: var(--space-3xl);
    right: var(--space-xl);
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    min-width: 140px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.13);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--amber-400);
    line-height: 1;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.stat-number span {
    font-size: 1.4rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(250, 250, 250, 0.7);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* --- About --- */
.about {
    padding: var(--space-5xl) 0;
    background: var(--neutral-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--amber-400);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: var(--space-xl);
}

.about-content p {
    color: var(--neutral-700);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: 500;
    color: var(--plum-800);
    font-size: 0.95rem;
}

.about-feature-icon {
    color: var(--amber-600);
    flex-shrink: 0;
}

/* --- Services --- */
.services {
    padding: var(--space-5xl) 0;
    background: var(--plum-950);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(251, 191, 36, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-4xl);
}

.section-header .section-tag {
    background: rgba(251, 191, 36, 0.15);
    color: var(--amber-400);
}

.section-header .section-title {
    color: var(--neutral-50);
}

.section-header .section-sub {
    color: rgba(250, 250, 250, 0.6);
    font-size: 1.05rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--amber-600), var(--amber-700));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-950);
    margin-bottom: var(--space-lg);
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neutral-50);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.service-card p {
    color: rgba(250, 250, 250, 0.6);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* --- Community --- */
.community {
    padding: var(--space-5xl) 0;
    background: var(--plum-50);
}

.community-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.involvement-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0 var(--space-2xl);
}

.involvement-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 0.95rem;
    color: var(--neutral-700);
    line-height: 1.6;
}

.involvement-list svg {
    color: var(--amber-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.involvement-list strong {
    color: var(--plum-800);
}

.community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.community-image-stack {
    position: relative;
    height: 650px;
}

.community-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 75%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.community-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-img-float {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 50%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--plum-50);
}

.community-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- History --- */
.history {
    padding: var(--space-5xl) 0;
    background: var(--neutral-50);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.timeline-header .section-tag {
    background: var(--amber-100);
    color: var(--amber-700);
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 380px;
    bottom: 200px;
    width: 2px;
    background: linear-gradient(to bottom, var(--plum-200), var(--amber-300));
    transform: translateX(-50%);
}

.timeline-items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--amber-500);
    border: 3px solid var(--neutral-50);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--amber-200);
}

.timeline-item {
    position: relative;
    padding-left: var(--space-2xl);
    border-left: 2px solid var(--plum-200);
    margin-left: 18px;
    padding-bottom: var(--space-2xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.timeline-item:nth-child(odd) {
    border-left-color: var(--plum-300);
}

.timeline-item:nth-child(even) {
    border-left-color: var(--amber-300);
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--amber-700);
    background: var(--amber-100);
    padding: 0.2em 0.7em;
    border-radius: 100px;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.04em;
}

.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--plum-900);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.timeline-content p {
    color: var(--neutral-600);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* --- Contact --- */
.contact {
    padding: var(--space-5xl) 0;
    background: var(--plum-900);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(251, 191, 36, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-info .section-tag {
    background: rgba(251, 191, 36, 0.15);
    color: var(--amber-400);
}

.contact-info .section-title {
    color: var(--neutral-50);
    margin-bottom: var(--space-lg);
}

.contact-info .lead {
    color: rgba(250, 250, 250, 0.65);
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-detail {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.contact-detail svg {
    color: var(--amber-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail strong {
    display: block;
    color: var(--neutral-100);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-detail p {
    color: rgba(250, 250, 250, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-detail a {
    color: var(--amber-400);
    transition: color 0.2s;
}

.contact-detail a:hover {
    color: var(--amber-300);
}

/* --- Form --- */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-50);
    margin-bottom: var(--space-2xl);
    letter-spacing: -0.01em;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(250, 250, 250, 0.7);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8em 1em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--neutral-100);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(250, 250, 250, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--amber-500);
    background: rgba(255, 255, 255, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(250,250,250,0.5)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    padding-right: 2.5em;
}

.form-group select option {
    background: var(--plum-900);
    color: var(--neutral-100);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    color: #4ade80;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: var(--space-lg);
}

.form-success svg {
    flex-shrink: 0;
    color: #4ade80;
}

/* --- Footer --- */
.footer {
    background: var(--plum-950);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--neutral-100);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.footer-logo-icon {
    color: var(--amber-500);
}

.footer-brand p {
    color: rgba(250, 250, 250, 0.5);
    font-size: 0.88rem;
    line-height: 1.75;
}

.footer-links-group h4 {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neutral-400);
    margin-bottom: var(--space-lg);
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-links-group a {
    font-size: 0.88rem;
    color: rgba(250, 250, 250, 0.55);
    transition: color 0.2s;
}

.footer-links-group a:hover {
    color: var(--amber-400);
}

.emergency-label {
    font-size: 0.88rem;
    color: rgba(250, 250, 250, 0.55);
    line-height: 1.6;
}

.emergency-label strong {
    color: var(--amber-500);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(250, 250, 250, 0.35);
}

.footer-bottom a {
    color: rgba(250, 250, 250, 0.45);
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--amber-400);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-stats {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: var(--space-3xl);
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 var(--space-xl);
    }

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--plum-950);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        padding: var(--space-2xl);
        transition: right 0.35s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.4);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.85);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-content {
        padding-top: var(--space-4xl);
        padding-bottom: var(--space-3xl);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .stat-card {
        padding: var(--space-md);
        min-width: auto;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .about-grid,
    .community-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .about-image-wrap {
        order: -1;
    }

    .about-image-wrap img {
        height: 350px;
    }

    .about-image-accent {
        width: 80px;
        height: 80px;
        bottom: -12px;
        right: -12px;
    }

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

    .community-image-stack {
        height: 400px;
        order: -1;
    }

    .timeline-item {
        padding-left: var(--space-lg);
        margin-left: 10px;
    }

    .timeline-dot {
        left: -28px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-headline {
        font-size: 2.1rem;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

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

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

    .community-actions .btn {
        width: 100%;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
