/* ============================================
   Dr. Troy R. Weidlich DC — Chiropractic Website
   Classic & Elegant Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Primary Palette */
    --forest-green-50: #f0f7f0;
    --forest-green-100: #d9eed9;
    --forest-green-200: #b5dfb5;
    --forest-green-300: #7ec67e;
    --forest-green-400: #4fa84f;
    --forest-green-500: #2d8a2d;
    --forest-green-600: #1a6b1a;
    --forest-green-700: #145214;
    --forest-green-800: #0f5132;
    --forest-green-900: #0a3d26;
    --forest-green-950: #052014;
    
    /* Off-White / Cream */
    --off-white: #faf9f6;
    --off-white-50: #f5f4f0;
    --cream: #f0efe8;
    --warm-gray-50: #f8f7f4;
    --warm-gray-100: #f2f1ed;
    --warm-gray-200: #e5e3dd;
    --warm-gray-300: #d4d0c8;
    --warm-gray-400: #b8b3a8;
    --warm-gray-500: #8c8578;
    --warm-gray-600: #6b6458;
    --warm-gray-700: #524c42;
    --warm-gray-800: #3d3830;
    --warm-gray-900: #2a2520;
    
    /* Accent */
    --gold: #c9a84c;
    --gold-light: #e8d5a0;
    
    /* Typography */
    --font-serif: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', '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;
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 81, 50, 0.08);
    --shadow-md: 0 4px 12px rgba(15, 81, 50, 0.1);
    --shadow-lg: 0 8px 30px rgba(15, 81, 50, 0.12);
    --shadow-xl: 0 16px 50px rgba(15, 81, 50, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--warm-gray-800);
    background-color: var(--off-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--forest-green-700);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--forest-green-500);
}

ul {
    list-style: none;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--forest-green-800);
    color: #ffffff;
    border-color: var(--forest-green-800);
}

.btn-primary:hover {
    background-color: var(--forest-green-700);
    border-color: var(--forest-green-700);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--forest-green-800);
    border-color: var(--forest-green-800);
}

.btn-outline-dark:hover {
    background-color: var(--forest-green-800);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

/* --- Section Utilities --- */
.section {
    padding: var(--space-4xl) 0;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-green-700);
    background-color: var(--forest-green-100);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
    color: var(--warm-gray-900);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--warm-gray-600);
    line-height: 1.7;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--warm-gray-200);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--warm-gray-900);
}

.logo-icon {
    color: var(--forest-green-800);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--warm-gray-900);
}

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

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--warm-gray-700);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--forest-green-800);
    transition: width var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--forest-green-800);
}

.nav-links .btn-primary {
    font-size: 0.8125rem;
    padding: 0.625rem 1.25rem;
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--warm-gray-800);
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--forest-green-900) 0%,
        var(--forest-green-800) 25%,
        #1a5c3a 50%,
        var(--forest-green-700) 75%,
        var(--forest-green-600) 100%
    );
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/18448916/pexels-photo-18448916.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 61, 38, 0.92) 0%,
        rgba(15, 81, 50, 0.88) 50%,
        rgba(26, 107, 26, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gold-light);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: var(--space-2xl);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: var(--space-xl);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    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.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* --- About Section --- */
.about {
    background-color: var(--off-white);
}

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

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

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--forest-green-200);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-heading {
    font-size: 1.75rem;
    margin-bottom: var(--space-lg);
    color: var(--forest-green-800);
}

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

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

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

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--forest-green-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-green-800);
}

.about-feature h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-xs);
}

.about-feature p {
    font-size: 0.9375rem;
    color: var(--warm-gray-600);
    line-height: 1.6;
}

/* --- Services Section --- */
.services {
    background-color: var(--warm-gray-50);
}

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

.service-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--warm-gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--forest-green-700), var(--forest-green-500));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--forest-green-200);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--forest-green-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-green-800);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background-color: var(--forest-green-800);
    color: #ffffff;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--warm-gray-900);
}

.service-description {
    font-size: 0.9375rem;
    color: var(--warm-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--warm-gray-700);
}

.service-benefits li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--forest-green-500);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Why Choose Us Section --- */
.why-choose {
    background-color: var(--off-white);
}

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

.why-content .section-tag {
    margin-bottom: var(--space-md);
}

.why-content .section-title {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.why-content .section-subtitle {
    text-align: left;
    margin-bottom: var(--space-2xl);
}

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

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

.why-number {
    flex-shrink: 0;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-green-200);
    line-height: 1;
    padding-top: var(--space-xs);
}

.why-feature h4 {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-xs);
}

.why-feature p {
    font-size: 0.9375rem;
    color: var(--warm-gray-600);
    line-height: 1.7;
}

.why-image-side {
    position: relative;
}

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

.why-image-float {
    position: absolute;
    bottom: -30px;
    left: -30px;
}

.float-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background-color: #ffffff;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.float-card-icon {
    width: 52px;
    height: 52px;
    background-color: var(--forest-green-800);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.float-card-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--warm-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.float-card-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--forest-green-800);
    line-height: 1.2;
}

/* --- Testimonials Section --- */
.testimonials {
    background: linear-gradient(
        135deg,
        var(--forest-green-900) 0%,
        var(--forest-green-800) 50%,
        var(--forest-green-700) 100%
    );
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/11589208/pexels-photo-11589208.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}

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

.testimonials .section-tag {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--gold-light);
}

.testimonials .section-title {
    color: #ffffff;
}

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

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

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    backdrop-filter: blur(8px);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: var(--space-lg);
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--forest-green-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9375rem;
}

.author-location {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Contact Section --- */
.contact {
    background-color: var(--warm-gray-50);
}

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

.contact-info .section-tag {
    margin-bottom: var(--space-md);
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.contact-info .section-subtitle {
    text-align: left;
    margin-bottom: var(--space-2xl);
}

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

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

.contact-icon {
    width: 52px;
    height: 52px;
    background-color: var(--forest-green-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-green-800);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--warm-gray-500);
    margin-bottom: var(--space-xs);
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--warm-gray-800);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--forest-green-700);
}

.contact-form-wrapper {
    position: sticky;
    top: 100px;
}

.contact-form-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--warm-gray-200);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--warm-gray-900);
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--warm-gray-500);
    margin-bottom: var(--space-xl);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--warm-gray-700);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--warm-gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--warm-gray-800);
    background-color: var(--warm-gray-50);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--forest-green-600);
    box-shadow: 0 0 0 3px var(--forest-green-100);
    background-color: #ffffff;
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-2xl);
}

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

.success-icon {
    width: 72px;
    height: 72px;
    background-color: var(--forest-green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--forest-green-800);
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--warm-gray-900);
}

.form-success p {
    font-size: 1rem;
    color: var(--warm-gray-600);
    line-height: 1.7;
}

/* --- Map Section --- */
.map-section {
    position: relative;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 400px;
    filter: grayscale(30%) contrast(1.05);
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: #ffffff;
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    color: var(--forest-green-400);
}

.footer-logo span {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: var(--space-lg);
}

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

.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(--forest-green-400);
}

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

.footer-contact li {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--forest-green-400);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--forest-green-500);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-xl);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    font-size: 0.75rem !important;
    max-width: 500px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    /* Mobile Navigation */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--off-white);
        flex-direction: column;
        align-items: center;
        padding: var(--space-xl);
        gap: var(--space-lg);
        border-bottom: 1px solid var(--warm-gray-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Hero */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image-wrapper {
        order: -1;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Why Choose */
    .why-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .why-image-float {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: var(--space-lg);
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-form-wrapper {
        position: static;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.625rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
