*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ed;
    --cream-200: #ebe6da;
    --cream-300: #e0d9c8;
    --warm-100: #d4a373;
    --warm-200: #c49a6c;
    --text-dark: #1a1a1a;
    --text-mid: #3d3d3d;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    transition: color 0.3s;
}

.navbar.scrolled .logo {
    color: var(--emerald-900);
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    width: 44px;
    height: 44px;
    border: 1.5px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--text-mid);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s;
}

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

.nav-links a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--emerald-700);
}

.nav-cta {
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    padding: 10px 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    transition: all 0.3s !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--white);
    color: var(--emerald-900) !important;
    border-color: var(--white);
}

.navbar.scrolled .nav-cta {
    border-color: var(--emerald-900);
    color: var(--emerald-900) !important;
}

.navbar.scrolled .nav-cta:hover {
    background: var(--emerald-900);
    color: var(--white) !important;
}

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

.hamburger {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s;
}

.navbar.scrolled .hamburger {
    background: var(--emerald-900);
}

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

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

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

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, 
            #064e3b 0%, 
            #047857 25%, 
            #059669 50%, 
            #d4a373 75%, 
            #c49a6c 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(6, 78, 59, 0.9) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 163, 115, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(4, 120, 87, 0.7) 0%, transparent 50%);
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 30, 20, 0.3) 0%,
        rgba(6, 78, 59, 0.2) 50%,
        rgba(6, 30, 20, 0.4) 100%
    );
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-headline br {
    display: none;
}

@media (min-width: 640px) {
    .hero-headline br {
        display: block;
    }
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 44px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

.btn-dark {
    background: var(--emerald-900);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 78, 59, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--emerald-900);
}

.btn-white:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ── SECTION COMMON ── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.section-line {
    width: 48px;
    height: 1px;
    background: var(--warm-100);
    margin: 0 auto;
}

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

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

.service-card {
    padding: 44px 36px;
    background: var(--white);
    border-radius: 4px;
    border: 1px solid var(--cream-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(6, 78, 59, 0.08);
    border-color: transparent;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--emerald-700);
}

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

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.75;
    font-weight: 300;
}

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

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.about-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--warm-100);
    border-radius: 4px;
    z-index: -1;
}

.about-content .section-eyebrow {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-line {
    margin: 0;
}

.about-content > p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--cream-200);
    border-bottom: 1px solid var(--cream-200);
}

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

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

.stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.about-content .btn {
    margin-top: 8px;
}

/* ── WORK ── */
.work {
    padding: 120px 0;
    background: var(--cream-50);
}

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

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 32px;
    opacity: 0;
    transition: opacity 0.4s;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-overlay span {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.02em;
}

/* ── TESTIMONIALS ── */
.testimonials {
    padding: 120px 0;
    background: var(--emerald-900);
}

.testimonials .section-eyebrow {
    color: rgba(255, 255, 255, 0.5);
}

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

.testimonials .section-line {
    background: var(--warm-100);
}

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

.testimonial-card {
    padding: 44px 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: all 0.3s;
}

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

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--warm-100);
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* ── CTA ── */
.cta {
    padding: 120px 0;
    background: var(--cream-100);
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-inner .section-eyebrow {
    margin-bottom: 16px;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.cta-info {
    display: flex;
    justify-content: center;
}

.cta-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 300;
}

.cta-detail svg {
    width: 18px;
    height: 18px;
    color: var(--emerald-700);
    flex-shrink: 0;
}

/* ── FOOTER ── */
.footer {
    padding: 80px 0 0;
    background: var(--text-dark);
}

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

.footer .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    font-weight: 300;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 6px 0;
    font-weight: 300;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--warm-100);
}

.footer-contact p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    font-weight: 300;
}

.footer-contact a {
    color: var(--warm-100);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding: 28px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── MOBILE MENU ── */
@media (max-width: 1023px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--emerald-900);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .nav-links a:hover {
        color: var(--white) !important;
    }

    .nav-cta {
        border-color: rgba(255, 255, 255, 0.4) !important;
        color: var(--white) !important;
    }

    .nav-cta:hover {
        background: var(--white) !important;
        color: var(--emerald-900) !important;
    }
}

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

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

    .about-image img {
        height: 450px;
    }

    .about-content .section-eyebrow,
    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-line {
        margin: 0 auto;
    }

    .about-content {
        text-align: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

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

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .work-item img {
        height: 280px;
    }

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

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

    .about-stats {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .about-accent {
        display: none;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        will-change: opacity, transform;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-line {
        animation: none;
    }
}
