/* ========================================
   Z Home Inspections — Stylesheet
   Classic & Elegant · Emerald + Cream
   ======================================== */

/* CSS Custom Properties */
:root {
    --color-emerald-950: #022c22;
    --color-emerald-900: #064e3b;
    --color-emerald-800: #065f46;
    --color-emerald-700: #047857;
    --color-emerald-600: #059669;
    --color-emerald-500: #10b981;
    --color-emerald-100: #d1fae5;
    --color-emerald-50:  #ecfdf5;
    
    --color-cream-950:  #1a1710;
    --color-cream-900:  #2a2318;
    --color-cream-800:  #3d3425;
    --color-cream-700:  #5c4f38;
    --color-cream-600:  #7a6b50;
    --color-cream-500:  #9a8a6e;
    --color-cream-400:  #b8a88c;
    --color-cream-300:  #d4c9b0;
    --color-cream-200:  #e8dfc8;
    --color-cream-100:  #f5f0e3;
    --color-cream-50:   #faf8f2;
    --color-cream-25:   #fdfcfa;
    
    --color-white: #ffffff;
    --color-black: #0a0a0a;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;
    
    --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);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 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(--color-cream-900);
    background-color: var(--color-cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--color-emerald-600);
}

ul {
    list-style: none;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--color-emerald-900);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    z-index: 1000;
    font-weight: 500;
}

.skip-link:focus {
    top: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-nav {
    background: var(--color-emerald-700);
    color: var(--color-white);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.btn-nav:hover {
    background: var(--color-emerald-600);
    color: var(--color-white);
}

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

/* Section Base */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.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(--color-emerald-700);
    margin-bottom: 1rem;
    position: relative;
    padding: 0 1rem;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--color-emerald-300);
}

.section-tag::before {
    left: -1rem;
}

.section-tag::after {
    right: -1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: var(--color-cream-950);
}

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

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 242, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-cream-200);
    transition: box-shadow var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--color-cream-950);
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--color-emerald-700);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-cream-950);
}

.logo-accent {
    color: var(--color-emerald-700);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-cream-700);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

.main-nav a:not(.btn):hover {
    color: var(--color-emerald-700);
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-emerald-600);
    transition: width var(--transition);
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

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

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-cream-900);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-emerald-950);
    overflow: hidden;
    padding-top: 72px;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 44, 34, 0.92) 0%,
        rgba(6, 78, 59, 0.88) 50%,
        rgba(4, 120, 87, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 4rem 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-cream-200);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: var(--color-cream-300);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

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

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

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
}

.hero-scroll svg {
    width: 20px;
    height: 20px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ========================================
   SERVICES
   ======================================== */
.services {
    background: var(--color-cream-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-cream-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-emerald-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

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

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

.service-card:hover .service-icon {
    background: var(--color-emerald-700);
    color: var(--color-white);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 1.1875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-cream-950);
}

.service-description {
    font-size: 0.9375rem;
    color: var(--color-cream-600);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-cream-700);
}

.service-features li::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    background: var(--color-emerald-500);
    border-radius: 50%;
    margin-top: 0.5rem;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

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

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

.about-image-secondary {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-white);
}

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

.about-experience-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--color-emerald-700);
    color: var(--color-white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

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

.experience-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 0.25rem;
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    font-size: 1rem;
    color: var(--color-cream-600);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.value-icon svg {
    width: 22px;
    height: 22px;
}

.value-title {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-cream-950);
    margin-bottom: 0.25rem;
}

.value-desc {
    font-size: 0.875rem;
    color: var(--color-cream-600);
    line-height: 1.6;
}

/* ========================================
   PROCESS
   ======================================== */
.process {
    background: var(--color-emerald-950);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(5, 150, 105, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.process .section-header {
    position: relative;
    z-index: 1;
}

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

.process .section-tag::before,
.process .section-tag::after {
    background: rgba(255, 255, 255, 0.2);
}

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

.process .section-subtitle {
    color: var(--color-cream-400);
}

.process-timeline {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.process-step {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

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

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.step-text {
    font-size: 0.9375rem;
    color: var(--color-cream-400);
    line-height: 1.7;
}

.step-text a {
    color: var(--color-emerald-400);
}

.step-text a:hover {
    color: var(--color-emerald-300);
}

.process-connector {
    position: absolute;
    top: 2rem;
    right: -0.75rem;
    width: 1.5rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.process-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
}

/* ========================================
   TRUST / TESTIMONIAL
   ======================================== */
.trust {
    background: var(--color-cream-100);
    padding: 5rem 0;
}

.trust-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.trust-quote-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.trust-quote-mark {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    color: var(--color-emerald-300);
    opacity: 0.6;
}

.trust-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--color-cream-800);
    line-height: 1.7;
    font-weight: 400;
}

.trust-divider {
    width: 60px;
    height: 2px;
    background: var(--color-emerald-400);
    margin: 2rem auto;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-cream-700);
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: var(--color-emerald-600);
}

/* ========================================
   AREAS
   ======================================== */
.areas {
    background: var(--color-white);
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.areas-content {
    padding: 1rem 0;
}

.areas-text {
    font-size: 1rem;
    color: var(--color-cream-600);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.areas-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.area-group-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-emerald-800);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-emerald-200);
}

.area-items {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.area-items li {
    font-size: 0.9375rem;
    color: var(--color-cream-700);
    padding-left: 1rem;
    position: relative;
}

.area-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 4px;
    background: var(--color-emerald-400);
    border-radius: 50%;
}

.areas-note {
    font-size: 0.9375rem;
    color: var(--color-cream-600);
}

.areas-note a {
    font-weight: 500;
    color: var(--color-emerald-700);
}

.areas-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.areas-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-cream-200);
}

.areas-map iframe {
    width: 100%;
    height: 400px;
    display: block;
}

.areas-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-emerald-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-emerald-200);
}

.areas-address svg {
    width: 20px;
    height: 20px;
    color: var(--color-emerald-600);
    flex-shrink: 0;
}

.areas-address address {
    font-style: normal;
    font-size: 0.9375rem;
    color: var(--color-cream-800);
    line-height: 1.6;
}

/* ========================================
   CTA / CONTACT
   ======================================== */
.cta {
    background: var(--color-cream-50);
    padding: 6rem 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-cream-200);
}

.cta-content {
    padding: 3.5rem;
    background: var(--color-emerald-900);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content .section-tag {
    color: var(--color-emerald-400);
}

.cta-content .section-tag::before,
.cta-content .section-tag::after {
    background: rgba(255, 255, 255, 0.2);
}

.cta-content .section-title {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1rem;
    color: var(--color-cream-300);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--transition);
}

.cta-phone:hover {
    color: var(--color-emerald-300);
}

.cta-phone svg {
    width: 24px;
    height: 24px;
    color: var(--color-emerald-400);
}

.cta-form-wrapper {
    padding: 3.5rem;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-cream-950);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-cream-700);
    margin-bottom: 0.375rem;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-cream-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-cream-900);
    background: var(--color-cream-50);
    transition: all var(--transition);
    appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-emerald-500);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%237a6b50'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--color-cream-500);
    margin-top: 1rem;
    text-align: center;
}

/* Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    color: var(--color-emerald-600);
}

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

.success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-cream-950);
    margin-bottom: 0.75rem;
}

.success-text {
    font-size: 0.9375rem;
    color: var(--color-cream-600);
    line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--color-cream-950);
    color: var(--color-cream-400);
    padding: 4rem 0 0;
}

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

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-cream-500);
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.footer-contact address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--color-cream-500);
}

.footer-phone a {
    color: var(--color-emerald-400);
    font-weight: 500;
}

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

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-cream-500);
    transition: color var(--transition);
}

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

.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    gap: 1rem;
}

.hours-day {
    color: var(--color-cream-500);
}

.hours-time {
    color: var(--color-cream-400);
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: var(--color-cream-600);
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ========================================
   SCROLL REVEAL (Progressive Enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .process-connector {
        display: none;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 248, 242, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem 1.5rem;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 100;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--color-cream-200);
    }

    .main-nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1.0625rem;
    }

    .main-nav a:not(.btn)::after {
        display: none;
    }

    .btn-nav {
        margin-top: 1rem;
        text-align: center;
        justify-content: center;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-divider {
        display: none;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: -1rem;
    }

    .about-experience-badge {
        top: auto;
        bottom: -1rem;
        right: 1rem;
    }

    /* Process */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Areas */
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .areas-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* CTA */
    .cta-card {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 2.5rem;
    }

    .cta-form-wrapper {
        padding: 2.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stat {
        flex: 1;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .cta-content,
    .cta-form-wrapper {
        padding: 2rem 1.5rem;
    }
}
