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

:root {
    --forest: #1A4731;
    --forest-light: #2D6A4F;
    --forest-dark: #0F2E1F;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --text: #1A1A1A;
    --text-light: #4A4A4A;
    --text-muted: #7A7A7A;
    --white: #FFFFFF;
    --line: rgba(26, 71, 49, 0.12);
    --line-strong: rgba(26, 71, 49, 0.25);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 8px 16px;
    background: var(--forest);
    color: var(--white);
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    font-size: 14px;
}

.skip-link:focus {
    top: 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.scrolled {
    background-color: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--forest);
    letter-spacing: -0.01em;
}

.logo-text {
    white-space: nowrap;
}

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

.nav-menu a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--forest);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--forest) !important;
    font-weight: 400;
    border: 1px solid var(--line-strong);
    padding: 6px 14px;
    border-radius: 100px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-phone::after {
    display: none;
}

.nav-phone:hover {
    background: var(--forest);
    color: var(--white) !important;
    border-color: var(--forest);
}

.nav-phone:hover svg {
    stroke: var(--white);
}

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

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
    transform-origin: center;
}

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

.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: translateY(-6.5px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--forest-dark) 0%,
        var(--forest) 35%,
        var(--forest-light) 65%,
        #40916C 100%
    );
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(45, 106, 79, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(64, 145, 108, 0.4) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    opacity: 0.85;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.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: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

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

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

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

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

/* Section shared */
.section-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

/* Services */
.services {
    padding: 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.service-card {
    background: var(--cream);
    padding: 40px 32px;
    transition: background-color 0.3s ease;
}

.service-card:hover {
    background: var(--white);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--forest);
}

.service-icon svg {
    stroke: currentColor;
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* About */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.about-image-wrap {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 6/7;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-image-wrap:hover img {
    transform: scale(1.03);
}

.about-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--forest);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--line-strong);
}

/* Gallery */
.gallery {
    padding: 120px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.gallery-item--wide {
    grid-column: span 6;
}

.gallery-item:not(.gallery-item--wide) {
    grid-column: span 3;
}

/* Process */
.process {
    padding: 120px 0;
    background: var(--forest);
    color: var(--white);
}

.process .section-label {
    color: rgba(255, 255, 255, 0.5);
}

.process .section-title {
    color: var(--white);
    margin-bottom: 64px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.process-step {
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 24px;
    width: 1px;
    height: calc(100% - 48px);
    background: rgba(255, 255, 255, 0.15);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 10px;
}

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

/* Contact */
.contact {
    padding: 120px 0;
}

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

.contact-intro {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s ease;
}

.contact-item:hover {
    color: var(--forest);
}

.contact-item-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-item-value {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

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

.contact-item address {
    font-style: normal;
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 40px;
}

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

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--text);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--forest);
    background: var(--white);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7A7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success svg {
    color: var(--forest);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: var(--forest-dark);
    color: var(--white);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.footer-contact a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

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

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

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
    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; }

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 180px;
    }
    
    .gallery-item--wide {
        grid-column: span 6;
    }
    
    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 3;
    }
    
    .about-layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 20px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-menu a {
        font-size: 16px;
    }
    
    .nav-phone {
        font-size: 13px;
    }
    
    .hero {
        min-height: 100svh;
        padding: 100px 24px 60px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrap {
        aspect-ratio: 4/3;
    }
    
    .gallery {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
    }
    
    .gallery-item--wide {
        grid-column: span 2;
    }
    
    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 1;
    }
    
    .process {
        padding: 80px 0;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        padding: 24px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-contact {
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
}

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