/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green-900: #0f2320;
    --green-800: #1a3c34;
    --green-700: #1e4d42;
    --green-600: #266354;
    --green-500: #2d7a64;
    --green-100: #d1e7de;
    --green-50:  #eaf5f0;
    --cream:     #f7f4ef;
    --cream-light:#faf8f4;
    --warm:      #d4cfc4;
    --warm-light:#e8e4dc;
    --text-dark:  #1a1a18;
    --text-mid:   #4a4a44;
    --text-light: #7a7a70;
    --white:      #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-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; font-size: 16px; }

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

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

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--green-600);
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--green-900);
    margin-bottom: 24px;
}

/* ── 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;
    padding: 14px 28px;
    border-radius: 6px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-800);
    color: var(--white);
    border: 2px solid var(--green-800);
}
.btn-primary:hover { background: var(--green-700); border-color: var(--green-700); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,60,52,0.25); }

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--green-800);
    border: 2px solid var(--green-800);
}
.btn-outline:hover { background: var(--green-800); color: var(--white); transform: translateY(-2px); }

.btn-nav {
    background: var(--green-800);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.875rem;
    border-radius: 6px;
}
.btn-nav:hover { background: var(--green-700); }

.btn-small {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 0.8125rem;
    background: var(--white);
    color: var(--green-800);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
}
.btn-small:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

.btn-full { width: 100%; }

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250,248,244,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26,60,52,0.08);
    transition: box-shadow 0.3s var(--ease-out);
}
.site-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.08); }

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--green-800);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}
.logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border: 2px solid var(--cream-light);
    border-radius: 50%;
}

.logo-text {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--green-900);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* Nav */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-menu li:not(:last-child) a {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-mid);
    border-radius: 6px;
    transition: all 0.2s ease;
}
.nav-menu li:not(:last-child) a:hover { color: var(--green-800); background: var(--green-50); }

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.nav-toggle:hover { background: var(--green-50); }
.hamburger {
    width: 20px;
    height: 14px;
    position: relative;
    display: block;
}
.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}
.hamburger::before { top: 0; }
.hamburger span { top: 6px; }
.hamburger::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after { bottom: 6px; transform: rotate(-45deg); }

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

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

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(45,122,100,0.3) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(30,77,66,0.4) 0%, transparent 60%);
}

.hero-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 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-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-100);
    margin-bottom: 24px;
    opacity: 0.8;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.hero-headline em {
    font-style: italic;
    color: var(--green-100);
}

.hero-sub {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}
.hero-trust strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.trust-dot {
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    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); }
}

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

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

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 32px;
    border: 1px solid rgba(26,60,52,0.06);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green-800);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(26,60,52,0.1); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--green-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--green-700);
    transition: all 0.3s var(--ease-out);
}
.service-card:hover .service-icon { background: var(--green-800); color: var(--white); }
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
    font-size: 1.25rem;
    color: var(--green-900);
    margin-bottom: 12px;
    font-weight: 700;
}
.service-card p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.7;
}

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

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

.about-image {
    position: relative;
}

.about-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(26,60,52,0.15);
}
.about-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.about-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    background: var(--green-800);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.08;
}

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

.about-text {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--warm-light);
    border-bottom: 1px solid var(--warm-light);
}

.stat { text-align: center; }
.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
}

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

/* ── Experience ── */
.experience {
    padding: 120px 0;
    background: var(--green-900);
    color: var(--white);
}

.experience .section-label { color: var(--green-100); }
.experience .section-label::before { background: var(--green-100); }
.experience .section-title { color: var(--white); }

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.exp-item { position: relative; }
.exp-num {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.08);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}
.exp-item h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}
.exp-item p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    font-weight: 300;
}

/* ── Testimonial ── */
.testimonial {
    padding: 100px 0;
    background: var(--cream-light);
}

.testimonial-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 8rem;
    line-height: 0.8;
    color: var(--green-800);
    opacity: 0.1;
    position: absolute;
    top: -40px;
    left: -20px;
    user-select: none;
}

.testimonial blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: var(--green-900);
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonial-attr {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

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

.contact-desc {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--green-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-700);
}
.contact-icon svg { width: 22px; height: 22px; }

.contact-detail strong {
    display: block;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-800);
    margin-bottom: 4px;
}
.contact-detail p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.6;
}
.contact-detail a { color: var(--green-700); font-weight: 500; transition: color 0.2s; }
.contact-detail a:hover { color: var(--green-900); }

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: 16px;
    padding: 48px;
    border: 1px solid rgba(26,60,52,0.06);
    box-shadow: 0 16px 48px rgba(26,60,52,0.06);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--green-900);
    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: 600;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--warm-light);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream-light);
    transition: all 0.2s ease;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-600);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(45,122,100,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; cursor: pointer; }

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: 8px;
    color: var(--green-800);
    font-weight: 500;
    font-size: 0.9375rem;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Map Strip ── */
.map-strip {
    position: relative;
    height: 300px;
    overflow: hidden;
}
.map-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5) brightness(0.7);
}
.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(15,35,32,0.5);
}
.map-overlay span {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
}

/* ── Footer ── */
.site-footer {
    background: var(--green-900);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.logo-footer .logo-text { color: var(--white); }
.footer-brand p {
    margin-top: 16px;
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-contact a { color: var(--green-100); font-weight: 500; transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }
.footer-contact p { font-size: 0.9375rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

/* ── Scroll Animations (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.8s var(--ease-out), transform 0.8s 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; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .experience-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .about-grid { gap: 48px; }
    .contact-grid { gap: 48px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250,248,244,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(26,60,52,0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s var(--ease-out);
        pointer-events: none;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-menu li a {
        display: block;
        padding: 14px 16px;
        font-size: 1rem;
    }
    .nav-menu li:last-child a {
        margin-top: 8px;
        text-align: center;
    }

    .hero { padding: 100px 24px 60px; }
    .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }

    .services { padding: 80px 0; }
    .services-grid { grid-template-columns: 1fr; }

    .about { padding: 80px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
    .about-img-wrapper { max-height: 400px; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }

    .experience { padding: 80px 0; }
    .experience-grid { grid-template-columns: 1fr; gap: 32px; }
    .exp-num { font-size: 2.5rem; }

    .testimonial { padding: 80px 0; }

    .contact { padding: 80px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 90px 16px 50px; }
    .about-stats { grid-template-columns: 1fr; text-align: left; display: flex; flex-direction: column; gap: 20px; }
    .stat { display: flex; align-items: center; gap: 12px; }
    .stat-number { font-size: 1.75rem; margin-bottom: 0; }
}
