/* ========================================
   Salisbury VFW Post 8826 — Stylesheet
   Classic & Elegant · Burgundy + Blush
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Burgundy palette */
    --burgundy-50: #fdf2f4;
    --burgundy-100: #fce7eb;
    --burgundy-200: #f9d0d9;
    --burgundy-300: #f4a8b8;
    --burgundy-400: #e9708a;
    --burgundy-500: #c44d62;
    --burgundy-600: #a83249;
    --burgundy-700: #7B2D3B;
    --burgundy-800: #5c1f2b;
    --burgundy-900: #3d131a;
    --burgundy-950: #2a0d12;

    /* Blush palette */
    --blush-50: #FDF8F6;
    --blush-100: #FAEDE8;
    --blush-200: #F5DDD4;
    --blush-300: #ECBFB2;
    --blush-400: #E09988;
    --blush-500: #D47862;
    --blush-600: #C45F48;
    --blush-700: #A84736;
    --blush-800: #8A382C;
    --blush-900: #703026;

    /* Neutrals */
    --neutral-50: #FAFAF8;
    --neutral-100: #F5F4F0;
    --neutral-200: #E8E6E0;
    --neutral-300: #D4D0C8;
    --neutral-400: #A8A296;
    --neutral-500: #787168;
    --neutral-600: #5C564E;
    --neutral-700: #443F38;
    --neutral-800: #2C2824;
    --neutral-900: #1A1714;
    --neutral-950: #0F0D0B;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --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;

    /* Layout */
    --container-max: 1280px;
    --container-narrow: 800px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-800);
    background-color: var(--blush-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--neutral-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.125rem; }

em {
    font-style: italic;
    color: var(--burgundy-700);
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--burgundy-700);
    color: #fff;
    border: 2px solid var(--burgundy-700);
}

.btn--primary:hover {
    background-color: var(--burgundy-800);
    border-color: var(--burgundy-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.25);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--ghost {
    background-color: transparent;
    color: var(--neutral-800);
    border: 2px solid var(--neutral-300);
}

.btn--ghost:hover {
    border-color: var(--burgundy-700);
    color: var(--burgundy-700);
    transform: translateY(-2px);
}

.btn--light {
    background-color: #fff;
    color: var(--burgundy-700);
    border: 2px solid #fff;
}

.btn--light:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.map-link {
    margin-top: var(--space-lg);
}

/* --- Section Labels --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy-700);
    margin-bottom: var(--space-lg);
}

.label-line {
    display: block;
    width: 40px;
    height: 1.5px;
    background-color: var(--burgundy-300);
    flex-shrink: 0;
}

.label-center {
    justify-content: center;
}

.label-line--light {
    background-color: rgba(255, 255, 255, 0.4);
}

/* --- Section Headings --- */
.section-heading {
    margin-bottom: var(--space-lg);
}

.section-heading--light {
    color: #fff;
}

.section-heading--light em {
    color: var(--burgundy-300);
}

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--neutral-500);
    max-width: 560px;
}

.section-subtitle--light {
    color: rgba(255, 255, 255, 0.7);
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    transition: color var(--transition-fast);
}

.logo--light {
    color: #fff;
}

.logo-mark {
    color: var(--burgundy-700);
}

.logo--light .logo-mark {
    color: var(--burgundy-300);
}

.logo-accent {
    font-weight: 400;
    font-size: 0.875em;
    color: var(--burgundy-700);
}

.logo--light .logo-accent {
    color: var(--burgundy-300);
}

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--neutral-700);
    padding: var(--space-sm) var(--space-md);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--burgundy-700);
    background-color: var(--burgundy-50);
}

.nav-link--cta {
    background-color: var(--burgundy-700);
    color: #fff !important;
    margin-left: var(--space-sm);
}

.nav-link--cta:hover {
    background-color: var(--burgundy-800);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color var(--transition-fast);
}

.mobile-menu-btn:hover {
    background-color: var(--burgundy-50);
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 20px;
    height: 1.5px;
    background-color: var(--neutral-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: rgba(253, 248, 246, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--neutral-800);
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--burgundy-700);
}

.mobile-nav-link--cta {
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 0.75rem 2rem;
    background-color: var(--burgundy-700);
    color: #fff;
    border-radius: 4px;
    margin-top: var(--space-sm);
}

.mobile-nav-link--cta:hover {
    background-color: var(--burgundy-800);
    color: #fff;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--burgundy-950);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, 
            rgba(42, 13, 18, 0.95) 0%, 
            rgba(123, 45, 59, 0.85) 50%,
            rgba(61, 19, 26, 0.9) 100%
        ),
        url('https://images.pexels.com/photos/157213/pexels-photo-157213.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

/* Hero Content */
.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.eyebrow-line {
    display: block;
    width: 48px;
    height: 1.5px;
    background-color: var(--burgundy-400);
    flex-shrink: 0;
}

.eyebrow-text {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy-300);
}

.hero-headline {
    font-size: clamp(2.75rem, 5.5vw, 4.75rem);
    font-weight: 600;
    line-height: 1.05;
    color: #fff;
    margin-bottom: var(--space-2xl);
    letter-spacing: -0.01em;
}

.hero-em {
    color: var(--burgundy-300);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

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

.hero-actions .btn--ghost {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero-actions .btn--ghost:hover {
    border-color: #fff;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

.hero-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    position: absolute;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.hero-img--1 {
    top: 0;
    right: 0;
    width: 75%;
    height: 85%;
}

.hero-img--2 {
    bottom: 0;
    left: 0;
    width: 55%;
    height: 60%;
    border: 4px solid var(--burgundy-950);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-badge {
    position: absolute;
    bottom: 38%;
    left: 58%;
    transform: translateX(-50%);
    background-color: var(--burgundy-700);
    color: #fff;
    padding: var(--space-md) var(--space-xl);
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.badge-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
}

/* --- Divider --- */
.section-divider {
    background-color: var(--burgundy-950);
}

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

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

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 5/6;
    object-fit: cover;
    display: block;
}

.about-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--burgundy-200);
    border-radius: 6px;
    z-index: -1;
}

.about-stat-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background-color: var(--burgundy-700);
    color: #fff;
    padding: var(--space-xl) var(--space-2xl);
    border-radius: 6px;
    box-shadow: 0 16px 48px rgba(123, 45, 59, 0.3);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--burgundy-200);
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
}

/* About Content */
.about-content {
    padding: var(--space-xl) 0;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--neutral-600);
    margin-bottom: var(--space-lg);
}

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

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

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--burgundy-50);
    border: 1px solid var(--burgundy-100);
    border-radius: 8px;
    color: var(--burgundy-700);
}

.value-title {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--neutral-900);
    margin-bottom: var(--space-xs);
}

.value-desc {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

/* --- Experience --- */
.experience {
    padding: var(--space-5xl) 0;
    background-color: var(--burgundy-950);
}

.experience-grid {
    margin-top: var(--space-4xl);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-xl);
}

.exp-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.exp-card:hover {
    background-color: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.exp-card--featured {
    grid-row: 1 / 3;
}

.exp-card-image {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.exp-card--featured .exp-card-image {
    height: 320px;
}

.exp-card-image:not(:first-child) {
    height: 200px;
}

.exp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slower);
}

.exp-card:hover .exp-card-image img {
    transform: scale(1.05);
}

.exp-card-content {
    padding: var(--space-xl);
}

.exp-card-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy-400);
    margin-bottom: var(--space-sm);
}

.exp-card-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: var(--space-md);
}

.exp-card-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-lg);
}

.exp-card-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.exp-card-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}

.exp-card-features li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--burgundy-400);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Community CTA --- */
.community-cta {
    position: relative;
    padding: var(--space-5xl) 0;
    background-color: var(--burgundy-800);
    overflow: hidden;
}

.community-cta-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, 
            rgba(92, 31, 43, 0.92) 0%, 
            rgba(61, 19, 26, 0.88) 100%
        ),
        url('https://images.pexels.com/photos/5531017/pexels-photo-5531017.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800') center/cover no-repeat;
    z-index: 0;
}

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

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

.community-cta-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    margin-top: var(--space-xl);
    max-width: 520px;
}

.cta-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    height: 500px;
}

.cta-img {
    border-radius: 6px;
    overflow: hidden;
}

.cta-img--1 {
    height: 100%;
}

.cta-img--2 {
    margin-top: var(--space-2xl);
    height: calc(100% - var(--space-2xl));
}

.cta-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Visit --- */
.visit {
    padding: var(--space-5xl) 0;
    background-color: var(--blush-50);
}

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

.visit-info {
    padding: var(--space-xl) 0;
}

.visit-details {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

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

.detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--burgundy-50);
    border: 1px solid var(--burgundy-100);
    border-radius: 8px;
    color: var(--burgundy-700);
}

.detail-title {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--neutral-900);
    margin-bottom: var(--space-xs);
}

.detail-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-500);
}

.detail-text a {
    color: var(--burgundy-700);
    transition: color var(--transition-fast);
}

.detail-text a:hover {
    color: var(--burgundy-600);
    text-decoration: underline;
}

/* Map */
.visit-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    height: 480px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
}

/* --- Contact --- */
.contact {
    padding: var(--space-5xl) 0;
    background-color: var(--neutral-100);
}

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

.contact-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--neutral-500);
    margin-bottom: var(--space-2xl);
}

.contact-quick-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1rem;
    color: var(--neutral-700);
    padding: var(--space-md) var(--space-lg);
    background-color: #fff;
    border: 1px solid var(--neutral-200);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.contact-link:hover {
    border-color: var(--burgundy-200);
    color: var(--burgundy-700);
    transform: translateX(4px);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: #fff;
    border-radius: 8px;
    padding: var(--space-2xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--neutral-200);
}

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

.form-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: var(--space-sm);
}

.form-optional {
    font-weight: 400;
    color: var(--neutral-400);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    border: 1.5px solid var(--neutral-200);
    border-radius: 6px;
    outline: none;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--burgundy-400);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--neutral-400);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--burgundy-50);
    border: 1px solid var(--burgundy-200);
    border-radius: 6px;
    color: var(--burgundy-800);
    font-size: 0.9375rem;
    margin-top: var(--space-lg);
}

.form-success svg {
    flex-shrink: 0;
    color: var(--burgundy-600);
}

/* --- Footer --- */
.footer {
    background-color: var(--neutral-950);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: var(--space-lg);
    color: rgba(255, 255, 255, 0.5);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-lg);
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--burgundy-300);
}

.footer-address {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-phone a,
.footer-email a {
    color: var(--burgundy-300);
    transition: color var(--transition-fast);
}

.footer-phone a:hover,
.footer-email a:hover {
    color: var(--burgundy-200);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-xl);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
    color: rgba(255, 255, 255, 0.2);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .hero-visual {
        height: 420px;
        max-width: 480px;
    }

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

    .about-visual {
        max-width: 480px;
    }

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

    .exp-card--featured {
        grid-row: auto;
    }

    .community-cta-inner {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .cta-image-grid {
        height: 360px;
        max-width: 480px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .visit-map {
        height: 360px;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --header-height: 68px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-3xl);
    }

    .hero-container {
        padding-top: var(--space-xl);
        padding-bottom: 0;
    }

    .hero-visual {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .about-stat-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: var(--space-lg);
        display: inline-flex;
        gap: var(--space-md);
    }

    .about-image-accent {
        display: none;
    }

    .experience {
        padding: var(--space-4xl) 0;
    }

    .community-cta {
        padding: var(--space-4xl) 0;
    }

    .cta-image-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .cta-img--2 {
        margin-top: 0;
    }

    .cta-img {
        height: 240px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.25rem;
    }

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

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

    .section-heading {
        font-size: 1.75rem;
    }

    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}
