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

:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #fafaf5;
    --cream-100: #f5f5ee;
    --cream-200: #ede8d8;
    --cream-300: #e0d9c4;
    --warm-gray-50: #f8f7f4;
    --warm-gray-100: #f0eeea;
    --warm-gray-200: #e2dfda;
    --warm-gray-300: #c4c0b8;
    --warm-gray-400: #9e9a92;
    --warm-gray-500: #7a766e;
    --warm-gray-600: #5c5852;
    --warm-gray-700: #3d3a36;
    --warm-gray-800: #2a2724;
    --warm-gray-900: #1a1816;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--warm-gray-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;
}

address {
    font-style: normal;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-800);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
    font-weight: 500;
}

.skip-link:focus {
    top: 16px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    color: var(--warm-gray-900);
}

.serif-italic {
    font-style: italic;
    font-weight: 400;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--emerald-600);
    outline-offset: 2px;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--warm-gray-800);
    border-color: var(--warm-gray-300);
}

.btn-outline:hover {
    border-color: var(--emerald-700);
    color: var(--emerald-700);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    padding: 16px 32px;
    font-size: 1rem;
}

/* ========== SECTION HEADERS ========== */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    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: 16px;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 20px;
    color: var(--warm-gray-900);
}

.section-description {
    font-size: 1.125rem;
    color: var(--warm-gray-600);
    max-width: 640px;
    line-height: 1.7;
}

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

.section-header--centered .section-description {
    margin: 0 auto;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--warm-gray-900);
    line-height: 1.3;
}

.logo--light .logo-text {
    color: white;
}

.logo-text--light {
    color: white !important;
}

/* ========== NAVIGATION ========== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--warm-gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

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

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--warm-gray-600);
    transition: color var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-600);
    transition: width var(--transition);
}

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

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

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, var(--cream-200) 0%, var(--cream-100) 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--warm-gray-900);
}

.hero-headline .serif-italic {
    color: var(--emerald-700);
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--warm-gray-600);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--emerald-800);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--warm-gray-500);
    line-height: 1.4;
}

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

.hero-image {
    position: relative;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 200px;
    height: 200px;
    background: var(--emerald-800);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.1;
}

/* ========== SERVICES ========== */
.services {
    padding: 120px 0;
    background: var(--cream-50);
}

.services .section-header {
    margin-bottom: 64px;
}

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

.service-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 40px 32px;
    border: 1px solid var(--cream-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-100);
    border-radius: var(--radius-sm);
    color: var(--emerald-700);
    margin-bottom: 24px;
    transition: var(--transition);
}

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

.service-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
    color: var(--warm-gray-900);
}

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

/* ========== ABOUT ========== */
.about {
    padding: 120px 0;
    background: var(--cream-100);
}

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

.about-images {
    position: relative;
}

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

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

.about-image-secondary img {
    width: 340px;
    height: 260px;
    object-fit: cover;
    display: block;
}

.about-accent-box {
    position: absolute;
    top: -24px;
    left: -24px;
    background: var(--emerald-800);
    color: white;
    padding: 24px 28px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-lg);
}

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

.accent-text {
    font-size: 0.8125rem;
    opacity: 0.85;
    line-height: 1.4;
}

.about-content .section-eyebrow {
    margin-bottom: 16px;
}

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

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

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0 40px;
}

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

.value-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--emerald-600);
}

.value-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--warm-gray-900);
    margin-bottom: 4px;
}

.value-item span {
    font-size: 0.9375rem;
    color: var(--warm-gray-500);
    line-height: 1.6;
}

/* ========== APPROACH ========== */
.approach {
    padding: 120px 0;
    background: var(--emerald-900);
    color: white;
    position: relative;
    overflow: hidden;
}

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

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

.approach .section-title {
    color: white;
}

.approach .section-description {
    color: rgba(255,255,255,0.7);
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
    position: relative;
}

.approach-step {
    position: relative;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 600;
    color: rgba(255,255,255,0.08);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.step-title {
    font-size: 1.375rem;
    color: white;
    margin-bottom: 12px;
}

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

.step-connector {
    display: none;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: 120px 0;
    background: var(--cream-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 40px 32px;
    border: 1px solid var(--cream-200);
    position: relative;
    transition: var(--transition);
}

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

.testimonial-quote {
    color: var(--emerald-200);
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--warm-gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-footer {
    border-top: 1px solid var(--cream-200);
    padding-top: 20px;
}

.testimonial-author {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--warm-gray-500);
    font-style: normal;
}

/* ========== CONTACT ========== */
.contact {
    padding: 120px 0;
    background: var(--cream-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

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

.contact-description {
    font-size: 1rem;
    color: var(--warm-gray-600);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

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

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-sm);
    color: var(--emerald-700);
    box-shadow: var(--shadow-sm);
}

.contact-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--warm-gray-900);
    margin-bottom: 4px;
}

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

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

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

/* ========== FORM ========== */
.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.form-description {
    font-size: 0.9375rem;
    color: var(--warm-gray-500);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--warm-gray-700);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--warm-gray-800);
    background: var(--cream-50);
    border: 1.5px solid var(--cream-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

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

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

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

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

.form-success svg {
    margin: 0 auto 20px;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--emerald-800);
}

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

/* ========== FOOTER ========== */
.site-footer {
    background: var(--warm-gray-900);
    color: white;
    padding: 80px 0 0;
}

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

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

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

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

.footer-links a:hover {
    color: white;
}

.footer-contact address p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

.footer-contact a {
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-disclaimer {
    max-width: 500px;
    text-align: right;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        max-width: 480px;
    }

    .hero-image img {
        height: 500px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .about-image-secondary {
        right: 0;
    }

    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 100;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.125rem;
    }

    .nav-menu .btn {
        margin-top: 8px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-bg-pattern {
        width: 100%;
        opacity: 0.5;
        clip-path: none;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-stats {
        gap: 24px;
    }

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

    .hero-image {
        display: none;
    }

    .services {
        padding: 80px 0;
    }

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

    .about {
        padding: 80px 0;
    }

    .about-image-main img {
        height: 400px;
    }

    .about-image-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }

    .about-accent-box {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 16px;
        display: inline-block;
    }

    .approach {
        padding: 80px 0;
    }

    .approach-steps {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 48px;
    }

    .step-number {
        font-size: 3rem;
    }

    .testimonials {
        padding: 80px 0;
    }

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

    .contact {
        padding: 80px 0;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .footer-disclaimer {
        text-align: center;
        max-width: 100%;
    }
}

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

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .service-card {
        padding: 28px 24px;
    }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
