/* ============================================
   EASY CHIROPRACTIC — CLASSIC & ELEGANT
   Plum + Amber Palette | Serif Typography
   ============================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
    /* Plum palette */
    --plum-50: #F9F0F7;
    --plum-100: #F3E0F0;
    --plum-200: #E8C2E0;
    --plum-300: #D494C8;
    --plum-400: #C06AAF;
    --plum-500: #4A235A;
    --plum-600: #3D1D4C;
    --plum-700: #30173E;
    --plum-800: #23112F;
    --plum-900: #160B20;
    
    /* Amber palette */
    --amber-50: #FFF9F0;
    --amber-100: #FFF3E0;
    --amber-200: #FFE0B2;
    --amber-300: #D4A574;
    --amber-400: #C49A6C;
    --amber-500: #B8860B;
    --amber-600: #A07409;
    --amber-700: #8B6307;
    --amber-800: #755205;
    --amber-900: #5F4104;
    
    /* Neutrals */
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-200: #EEEEEE;
    --neutral-300: #E0E0E0;
    --neutral-400: #BDBDBD;
    --neutral-500: #9E9E9E;
    --neutral-600: #757575;
    --neutral-700: #616161;
    --neutral-800: #424242;
    --neutral-900: #212121;
    
    /* Semantic */
    --text-primary: var(--plum-900);
    --text-secondary: var(--neutral-700);
    --text-light: var(--neutral-500);
    --text-inverse: var(--neutral-50);
    
    --bg-primary: #FFFFFF;
    --bg-secondary: var(--plum-50);
    --bg-tertiary: var(--neutral-100);
    
    --accent: var(--amber-300);
    --accent-dark: var(--amber-500);
    --accent-light: var(--amber-100);
    
    --success: #2D6A4F;
    --success-light: #D8F3DC;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Borders & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(74, 35, 90, 0.08);
    --shadow-md: 0 4px 12px rgba(74, 35, 90, 0.1);
    --shadow-lg: 0 8px 30px rgba(74, 35, 90, 0.12);
    --shadow-xl: 0 16px 50px rgba(74, 35, 90, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--plum-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul {
    list-style: none;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--plum-500);
    color: var(--neutral-50);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 700;
}

.skip-link:focus {
    top: var(--space-sm);
}

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--text-secondary);
}

/* ---------- SECTION EYEBROW ---------- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-500);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: 1.125rem;
    max-width: 640px;
}

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

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

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.btn:focus-visible {
    outline: 3px solid var(--amber-300);
    outline-offset: 2px;
}

.btn-gold {
    background: var(--amber-300);
    color: var(--plum-900);
    border-color: var(--amber-300);
}

.btn-gold:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
    color: var(--plum-900);
}

.btn-plum {
    background: var(--plum-500);
    color: var(--neutral-50);
    border-color: var(--plum-500);
}

.btn-plum:hover {
    background: var(--plum-600);
    border-color: var(--plum-600);
    color: var(--neutral-50);
}

.btn-outline-light {
    background: transparent;
    color: var(--neutral-50);
    border-color: var(--neutral-50);
}

.btn-outline-light:hover {
    background: var(--neutral-50);
    color: var(--plum-500);
}

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

.btn-outline-plum:hover {
    background: var(--plum-500);
    color: var(--neutral-50);
}

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

.btn-full {
    width: 100%;
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    height: var(--header-height);
    transition: box-shadow var(--transition-base);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--plum-500);
}

.logo:hover {
    color: var(--plum-500);
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-300);
    transition: width var(--transition-base);
}

.main-nav a:hover {
    color: var(--plum-500);
}

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

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--plum-500);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--plum-500);
    left: 0;
    transition: all var(--transition-base);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

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

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--plum-800);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(22, 11, 32, 0.88) 0%,
        rgba(74, 35, 90, 0.82) 50%,
        rgba(22, 11, 32, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: var(--space-3xl) var(--space-lg);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-300);
    margin-bottom: var(--space-md);
}

.hero-title {
    color: var(--neutral-50);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.hero-title em {
    font-style: italic;
    color: var(--amber-300);
}

.hero-subtitle {
    font-size: 1.1875rem;
    color: rgba(250, 250, 250, 0.8);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(250, 250, 250, 0.85);
    letter-spacing: 0.02em;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--amber-300);
    flex-shrink: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(250, 250, 250, 0.5);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 28px;
    height: 28px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ---------- SERVICES ---------- */
.services {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

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

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-md);
    color: var(--plum-500);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--plum-500);
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

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

.about-images {
    position: relative;
    min-height: 550px;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--bg-secondary);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: var(--amber-300);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
}

.about-content {
    max-width: 520px;
}

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

.about-content > p {
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--neutral-200);
    border-bottom: 1px solid var(--neutral-200);
}

.stat {
    text-align: center;
    flex: 1;
}

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

.stat-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--neutral-300);
}

/* ---------- APPROACH ---------- */
.approach {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

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

.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--neutral-200);
}

.step:first-child {
    border-top: 1px solid var(--neutral-200);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--amber-300);
    line-height: 1;
    align-self: start;
}

.step-content h3 {
    color: var(--plum-500);
    margin-bottom: var(--space-sm);
}

.step-content p {
    font-size: 0.9375rem;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--plum-500);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials .section-eyebrow {
    color: var(--amber-300);
}

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

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    position: relative;
    transition: all var(--transition-base);
}

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

.testimonial-quote {
    width: 32px;
    height: 24px;
    margin-bottom: var(--space-md);
    opacity: 0.7;
}

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

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--amber-300);
}

.author-location {
    font-size: 0.8125rem;
    color: rgba(250, 250, 250, 0.5);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(22, 11, 32, 0.9) 0%,
        rgba(74, 35, 90, 0.85) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    color: var(--neutral-50);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(250, 250, 250, 0.8);
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

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

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

.contact-desc {
    margin-bottom: var(--space-xl);
}

.contact-details {
    font-style: normal;
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--plum-500);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--amber-500);
}

/* Form */
.contact-form-wrapper {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    color: var(--plum-500);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(74, 35, 90, 0.1);
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    text-align: center;
    margin-top: var(--space-sm);
}

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

.form-success svg {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
}

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

.form-success p {
    color: var(--text-secondary);
}

/* Map */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    display: block;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--plum-900);
    color: rgba(250, 250, 250, 0.7);
    padding: var(--space-3xl) 0 var(--space-lg);
}

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

.footer-brand p {
    margin-top: var(--space-md);
    font-size: 0.9375rem;
    color: rgba(250, 250, 250, 0.6);
    line-height: 1.7;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
}

.footer-logo .logo-text {
    color: var(--neutral-50);
}

.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: var(--amber-300);
    margin-bottom: var(--space-md);
}

.footer-links ul li {
    margin-bottom: var(--space-sm);
}

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

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--amber-300);
}

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

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

.footer-bottom a {
    color: rgba(250, 250, 250, 0.5);
}

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

/* ---------- SCROLL REVEAL ---------- */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    
    .scroll-indicator {
        animation: none;
    }
}

/* ---------- 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;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-primary);
        box-shadow: var(--shadow-xl);
        padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
        transition: right var(--transition-base);
        z-index: 999;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid var(--neutral-200);
    }
    
    .main-nav a {
        display: block;
        padding: var(--space-md) 0;
        font-size: 1rem;
        text-transform: none;
        letter-spacing: 0;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .main-nav .btn {
        margin-top: var(--space-md);
        text-align: center;
    }
    
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    /* Hero */
    .hero {
        min-height: 100svh;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        min-height: 400px;
        order: -1;
    }
    
    /* Approach */
    .step {
        grid-template-columns: 60px 1fr;
        gap: var(--space-md);
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    /* 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;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-content {
        padding: var(--space-2xl) var(--space-md);
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stat-divider {
        width: 48px;
        height: 1px;
    }
}
