/* ===================================
   WHITE HALL FIRE DEPARTMENT
   Vibrant Modern — Terracotta & Sand
   =================================== */

/* --- Custom Properties --- */
:root {
    --terra-50: #FEF0ED;
    --terra-100: #FDE4DC;
    --terra-200: #F9CDC3;
    --terra-300: #F4A996;
    --terra-400: #ED7B65;
    --terra-500: #C0523A;
    --terra-600: #A8432E;
    --terra-700: #8B3624;
    --terra-800: #732D1F;
    --terra-900: #5E2519;
    
    --sand-50: #FFFCF8;
    --sand-100: #FDF5EB;
    --sand-200: #FAE8D0;
    --sand-300: #F5D4A8;
    --sand-400: #EDBA78;
    --sand-500: #E5A050;
    --sand-600: #D4883A;
    --sand-700: #B8702E;
    --sand-800: #965825;
    --sand-900: #7A471F;
    
    --dark-900: #1A1210;
    --dark-800: #2A1F1B;
    --dark-700: #3D2E28;
    --dark-600: #5A453D;
    --dark-500: #7A6058;
    --dark-400: #9C857C;
    
    --white: #FFFFFF;
    --off-white: #FFFAF5;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(26, 18, 16, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 18, 16, 0.1);
    --shadow-lg: 0 8px 32px rgba(26, 18, 16, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 18, 16, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark-800);
    background: var(--sand-50);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--sand-100);
}
::-webkit-scrollbar-thumb {
    background: var(--terra-400);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--terra-500);
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 250, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo-text {
    color: var(--dark-800);
}

.logo-accent {
    color: var(--terra-400);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--dark-600);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link:hover {
    color: var(--terra-600);
    background: var(--terra-50);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark-800);
    background: var(--sand-400);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    margin-left: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background: var(--sand-500);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.nav-toggle-bar {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle-bar {
    background: var(--dark-800);
}

.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;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-900);
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 18, 16, 0.85) 0%,
        rgba(192, 82, 58, 0.6) 50%,
        rgba(26, 18, 16, 0.8) 100%
    );
}

.hero-geometric {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.12;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--terra-400);
    top: -200px;
    right: -150px;
}

.geo-circle-2 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--sand-400);
    bottom: -100px;
    left: -80px;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid var(--terra-500);
    top: 20%;
    left: 8%;
    transform: rotate(15deg);
    opacity: 0.08;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--sand-300) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    bottom: 15%;
    right: 10%;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--sand-200);
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

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

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.headline-accent {
    background: linear-gradient(135deg, var(--sand-300), var(--terra-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--terra-500);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(192, 82, 58, 0.4);
}

.btn-primary:hover {
    background: var(--terra-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(192, 82, 58, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-primary-light {
    background: var(--sand-400);
    color: var(--dark-900);
    box-shadow: 0 4px 20px rgba(229, 160, 80, 0.4);
}

.btn-primary-light:hover {
    background: var(--sand-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(229, 160, 80, 0.5);
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scroll-line-anim 2s ease-in-out infinite;
}

@keyframes scroll-line-anim {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================================
   STATS STRIP
   =================================== */
.stats-strip {
    background: var(--terra-500);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(245, 212, 168, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 250, 245, 0.1) 0%, transparent 50%);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--sand-200);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ===================================
   SECTION COMMON
   =================================== */
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terra-600);
    background: var(--terra-100);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.section-tag-light {
    color: var(--sand-200);
    background: rgba(255, 255, 255, 0.15);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-800);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title-light {
    color: var(--white);
}

.title-accent {
    color: var(--terra-500);
}

.title-accent-light {
    background: linear-gradient(135deg, var(--sand-300), var(--terra-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-500);
    max-width: 600px;
    line-height: 1.7;
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
}

/* ===================================
   SERVICES
   =================================== */
.services {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--sand-50);
}

.section-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-accent {
    position: absolute;
    border-radius: 50%;
}

.geo-accent-1 {
    width: 400px;
    height: 400px;
    background: var(--terra-100);
    top: -150px;
    right: -100px;
    opacity: 0.5;
}

.geo-accent-2 {
    width: 250px;
    height: 250px;
    background: var(--sand-200);
    bottom: -80px;
    left: -60px;
    opacity: 0.6;
}

.geo-accent-3 {
    width: 120px;
    height: 120px;
    background: var(--terra-200);
    top: 40%;
    left: 5%;
    opacity: 0.4;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terra-500), var(--sand-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--terra-50);
    border-radius: 50%;
    bottom: -40px;
    right: -40px;
    transition: var(--transition-slow);
    opacity: 0.5;
}

.service-card:hover .service-card-accent {
    transform: scale(1.5);
    opacity: 0.3;
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--terra-500), var(--terra-600));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.05) rotate(-3deg);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-800);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-description {
    font-size: 0.95rem;
    color: var(--dark-500);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--terra-600);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--terra-500);
    gap: 10px;
}

/* ===================================
   ABOUT
   =================================== */
.about {
    padding: 120px 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.about-image-frame {
    position: absolute;
    inset: 20px -20px -20px 20px;
    border: 3px solid var(--terra-400);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.4;
}

.about-image-accent {
    position: absolute;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--sand-300), var(--terra-300));
    border-radius: var(--radius-lg);
    bottom: -30px;
    right: -30px;
    z-index: -1;
    opacity: 0.6;
}

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

.about-text .section-tag {
    margin-bottom: 16px;
}

.about-text .section-title {
    margin-bottom: 24px;
}

.about-body {
    font-size: 1.05rem;
    color: var(--dark-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--terra-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terra-600);
    transition: var(--transition);
}

.value-item:hover .value-icon {
    background: var(--terra-500);
    color: var(--white);
    transform: rotate(-5deg) scale(1.05);
}

.value-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.value-text strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--dark-800);
}

.value-text span {
    font-size: 0.9rem;
    color: var(--dark-500);
}

/* ===================================
   COMMUNITY
   =================================== */
.community {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--dark-800), var(--dark-900));
    position: relative;
    overflow: hidden;
}

.community-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(192, 82, 58, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(229, 160, 80, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.community-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.community-header .section-subtitle {
    margin: 0 auto;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.community-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.community-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--terra-400), var(--sand-400));
    transform: scaleX(0);
    transition: var(--transition);
}

.community-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.community-card:hover::after {
    transform: scaleX(1);
}

.community-card-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    margin-bottom: 16px;
}

.community-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--terra-500), var(--terra-600));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
}

.community-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.community-card-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 24px;
}

.community-card-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--sand-400);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.community-card-link:hover {
    color: var(--sand-300);
    gap: 10px;
}

/* ===================================
   JOIN
   =================================== */
.join {
    padding: 120px 0;
    background: var(--terra-500);
    position: relative;
    overflow: hidden;
}

.join-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.join-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.join-shape {
    position: absolute;
    border-radius: 50%;
}

.join-shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    top: -200px;
    right: -150px;
}

.join-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(245, 212, 168, 0.1);
    bottom: -100px;
    left: -80px;
}

.join-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.join-text .section-tag {
    margin-bottom: 16px;
}

.join-text .section-title {
    margin-bottom: 24px;
}

.join-body {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 32px;
}

.join-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.join-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.join-benefits li svg {
    color: var(--sand-300);
    flex-shrink: 0;
}

.join-cta-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    backdrop-filter: blur(20px);
    text-align: center;
}

.join-cta-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.join-cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 32px;
}

.join-cta-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.join-cta-phone,
.join-cta-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--sand-200);
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
}

.join-cta-phone:hover,
.join-cta-email:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    justify-content: center;
}

/* ===================================
   CONTACT
   =================================== */
.contact {
    padding: 120px 0 80px;
    background: var(--sand-50);
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.contact-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
}

.contact-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--terra-100);
    top: -100px;
    left: -80px;
    opacity: 0.5;
}

.contact-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--sand-200);
    bottom: 10%;
    right: 5%;
    opacity: 0.5;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-info-text {
    font-size: 1.05rem;
    color: var(--dark-500);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--terra-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terra-600);
    transition: var(--transition);
}

.contact-detail:hover .contact-detail-icon {
    background: var(--terra-500);
    color: var(--white);
    transform: rotate(-5deg);
}

.contact-detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-detail-content strong {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-400);
}

.contact-detail-content a,
.contact-detail-content span {
    font-size: 1rem;
    color: var(--dark-700);
    font-weight: 500;
}

.contact-detail-content a:hover {
    color: var(--terra-600);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-800);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark-700);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark-800);
    background: var(--sand-50);
    border: 1.5px solid var(--sand-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terra-400);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(192, 82, 58, 0.1);
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--terra-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--terra-600);
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-800);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 1rem;
    color: var(--dark-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-map {
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-900);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
}

.footer-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(192, 82, 58, 0.08);
    top: -200px;
    right: -100px;
}

.footer-shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(229, 160, 80, 0.06);
    bottom: -80px;
    left: 10%;
}

.footer-shape-3 {
    width: 150px;
    height: 150px;
    background: rgba(245, 212, 168, 0.05);
    top: 30%;
    left: 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 64px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.footer-logo-text span {
    color: var(--sand-400);
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-contact-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.footer-contact-item:hover {
    color: var(--sand-300);
}

.footer-links-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sand-400);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links a:hover {
    color: var(--white);
    padding-left: 6px;
}

.footer-emergency-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-emergency-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--sand-300);
    padding: 14px 20px;
    background: rgba(229, 160, 80, 0.1);
    border: 1px solid rgba(229, 160, 80, 0.2);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.footer-emergency-link:hover {
    background: rgba(229, 160, 80, 0.2);
    color: var(--sand-200);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    line-height: 1.8;
}

/* ===================================
   BACK TO TOP
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--terra-500);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--terra-400);
    transform: translateY(-4px);
}

/* ===================================
   ANIMATIONS
   =================================== */
[data-animate] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    [data-animate] {
        opacity: 0;
        transform: translateY(24px);
    }
    
    [data-animate].animated {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .community-grid .community-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .about-container {
        gap: 48px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--dark-800);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1.05rem;
        padding: 12px 16px;
        width: 100%;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--white) !important;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        justify-content: center;
        width: 100%;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrapper img {
        height: 350px;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .community-grid .community-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .join-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .hero-content {
        padding-top: 60px;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 8px 16px;
    }
    
    .services,
    .about,
    .community,
    .join,
    .contact {
        padding: 80px 0;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile menu overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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