/* ============================================
   Canterbury Chimney Sweeps — Custom Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;
    
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #faf3e0;
    --cream-300: #f5e8c8;
    --cream-400: #eddb9a;
    --cream-500: #e0c06e;
    
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --stone-950: #0c0a09;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.05);
}

/* --- 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(--stone-800);
    background-color: var(--cream-50);
    line-height: 1.6;
    -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;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Typography --- */
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: var(--space-md);
}

.section-eyebrow--light {
    color: var(--emerald-300);
}

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

.section-title .accent {
    color: var(--emerald-700);
    font-style: italic;
}

.section-sub {
    font-size: 1.125rem;
    color: var(--stone-600);
    max-width: 560px;
    line-height: 1.7;
}

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

.section-header--center .section-sub {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--emerald-700);
    color: #ffffff;
    border-color: var(--emerald-700);
}

.btn--primary:hover {
    background-color: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn--outline:hover {
    background-color: var(--emerald-700);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn--light {
    background-color: #ffffff;
    color: var(--emerald-800);
    border-color: #ffffff;
}

.btn--light:hover {
    background-color: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(4, 120, 87, 0.08);
    transition: all 0.3s ease;
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--stone-900);
    font-size: 1.1rem;
    line-height: 1.2;
}

.nav-logo-icon {
    color: var(--emerald-700);
    flex-shrink: 0;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--stone-600);
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--emerald-700);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald-700);
    background-color: var(--emerald-50);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background-color: var(--emerald-100);
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--stone-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 50%, var(--emerald-50) 100%);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(4, 120, 87, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(4, 120, 87, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(4, 120, 87, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Floating Stat Cards */
.hero-stat {
    position: absolute;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-xl);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-stat--top {
    top: 18%;
    right: calc(50% - 580px);
    animation-delay: 0s;
}

.hero-stat--mid {
    top: 45%;
    right: calc(50% - 620px);
    animation-delay: -2s;
}

.hero-stat--bottom {
    bottom: 20%;
    right: calc(50% - 560px);
    animation-delay: -4s;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--emerald-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--stone-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: var(--space-lg);
}

.hero-eyebrow-line {
    display: block;
    width: 32px;
    height: 2px;
    background-color: var(--emerald-700);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--stone-900);
    margin-bottom: var(--space-lg);
}

.hero-headline .accent {
    color: var(--emerald-700);
    font-style: italic;
}

.hero-sub {
    font-size: 1.1875rem;
    color: var(--stone-600);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

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

/* Hero Card */
.hero-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.hero-card-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255,255,255,0.95);
    color: var(--emerald-800);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
}

/* Scroll Indicator */
.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: var(--stone-400);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--stone-400), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    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; }
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--space-5xl) 0;
    background-color: var(--cream-50);
}

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

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--stone-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-50);
    border-radius: var(--radius-md);
    color: var(--emerald-700);
    margin-bottom: var(--space-lg);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: var(--space-md);
}

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

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

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

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

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--space-5xl) 0;
    background-color: var(--cream-100);
}

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

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

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-100);
}

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

.about-accent-badge {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    background: var(--emerald-700);
    color: #ffffff;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.accent-badge-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.accent-badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

/* About Content */
.about-content {
    max-width: 520px;
}

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

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

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

.value-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-50);
    border-radius: var(--radius-sm);
    color: var(--emerald-700);
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-size: 1rem;
    color: var(--stone-800);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.875rem;
    color: var(--stone-500);
}

/* ============================================
   Process Section
   ============================================ */
.process {
    padding: var(--space-5xl) 0;
    background-color: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.process .section-eyebrow {
    color: var(--emerald-400);
}

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

.process .section-title .accent {
    color: var(--emerald-400);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-4xl);
    position: relative;
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.08);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.step-content {
    padding: var(--space-xl);
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.step-desc {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

.step-connector {
    display: none;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: var(--space-5xl) 0;
    background-color: var(--cream-50);
}

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

.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--stone-200);
    transition: all 0.3s ease;
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-lg);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--stone-700);
    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: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-50);
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--stone-800);
}

.author-location {
    font-size: 0.8125rem;
    color: var(--stone-500);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    position: relative;
    padding: var(--space-5xl) 0;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-950) 100%);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(110, 231, 183, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

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

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
}

.cta-headline .accent-light {
    color: var(--emerald-300);
    font-style: italic;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

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

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

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

.contact-info {
    max-width: 480px;
}

.contact-desc {
    font-size: 1.0625rem;
    color: var(--stone-600);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

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

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

.detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-50);
    border-radius: var(--radius-md);
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--stone-800);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 520px;
}

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

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: var(--space-sm);
}

.form-sub {
    font-size: 0.9375rem;
    color: var(--stone-500);
    margin-bottom: var(--space-2xl);
}

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

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

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--stone-800);
    background-color: var(--cream-50);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--emerald-500);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: var(--stone-400);
}

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

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

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

.success-icon {
    margin: 0 auto var(--space-lg);
    color: var(--emerald-600);
}

.success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: var(--space-sm);
}

.success-text {
    font-size: 0.9375rem;
    color: var(--stone-600);
    margin-bottom: var(--space-xl);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--stone-900);
    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-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    color: var(--emerald-400);
    flex-shrink: 0;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    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 0.2s ease;
}

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

.footer-contact p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--emerald-400);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--emerald-300);
    text-decoration: underline;
}

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

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

.footer-bottom a {
    color: var(--emerald-400);
    transition: color 0.2s ease;
}

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

/* ============================================
   Reveal Animations (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-card {
        max-width: 500px;
        margin: 0 auto;
        order: 1;
    }
    
    .hero-stat {
        display: none;
    }
    
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-group {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        border-bottom: 1px solid var(--stone-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-cta {
        justify-content: center;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image-accent {
        right: -20px;
        bottom: -20px;
    }
    
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero {
        padding-top: 72px;
    }
    
    .hero-container {
        padding: var(--space-2xl) var(--space-md);
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-card {
        padding: var(--space-xl);
    }
}
