/* ── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a2e23;
    background: #f5f2eb;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.2; }

/* ── Tokens ─────────────────────────────────────── */
:root {
    --green-900: #0d3320;
    --green-800: #1a5c3a;
    --green-700: #237a4d;
    --green-600: #2d9b62;
    --green-500: #3db876;
    --cream: #f5f2eb;
    --cream-light: #faf8f4;
    --cream-dark: #e8e3d8;
    --charcoal: #1a2e23;
    --stone: #4a5c52;
    --stone-light: #7a8c82;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(26,46,35,0.08);
    --shadow-md: 0 4px 20px rgba(26,46,35,0.10);
    --shadow-lg: 0 8px 40px rgba(26,46,35,0.14);
    --shadow-xl: 0 16px 60px rgba(26,46,35,0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── Skip Link ──────────────────────────────────── */
.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--green-800); color: var(--white);
    padding: 8px 16px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600; z-index: 9999;
    transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

/* ── Loader ─────────────────────────────────────── */
.loader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--green-900);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader-bar {
    width: 120px; height: 3px; background: rgba(245,242,235,0.2);
    border-radius: 99px; overflow: hidden;
}
.loader-bar-fill {
    height: 100%; width: 0%; background: var(--cream);
    border-radius: 99px;
    animation: loaderFill 1.2s ease forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ── Buttons ────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Inter', sans-serif; font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary { background: var(--green-800); color: var(--white); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { border: 1.5px solid var(--green-800); color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: var(--white); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--green-800); border-color: var(--white); }
.btn-ghost-white { border: 1.5px solid rgba(255,255,255,0.6); color: var(--white); }
.btn-ghost-white:hover { background: var(--white); color: var(--green-800); }
.btn-white { background: var(--white); color: var(--green-800); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-full { width: 100%; }

/* ── Header ─────────────────────────────────────── */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    padding: 16px 0;
}
.header.scrolled {
    background: rgba(245,242,235,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--white); transition: color var(--transition); }
.logo-tag { font-size: 11px; color: rgba(245,242,235,0.7); letter-spacing: 0.08em; text-transform: uppercase; transition: color var(--transition); }
.header.scrolled .logo-name { color: var(--green-800); }
.header.scrolled .logo-tag { color: var(--stone-light); }
.logo-light .logo-name { color: var(--white); }
.logo-light .logo-tag { color: rgba(245,242,235,0.7); }

.nav-list { display: flex; gap: 32px; margin-left: auto; }
.nav-list a {
    font-size: 14px; font-weight: 500; color: rgba(245,242,235,0.85);
    position: relative; transition: color var(--transition);
}
.nav-list a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--green-500);
    transition: width var(--transition);
}
.nav-list a:hover { color: var(--white); }
.nav-list a:hover::after { width: 100%; }
.header.scrolled .nav-list a { color: var(--stone); }
.header.scrolled .nav-list a:hover { color: var(--green-800); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.menu-toggle { display: none; padding: 8px; }
.hamburger {
    display: block; width: 22px; height: 2px; background: var(--white);
    position: relative; transition: background var(--transition);
}
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; left: 0; width: 100%; height: 2px;
    background: var(--white); transition: transform var(--transition);
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.menu-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.menu-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); top: 0; }
.header.scrolled .hamburger, .header.scrolled .hamburger::before, .header.scrolled .hamburger::after { background: var(--green-800); }

/* ── Mobile Menu ────────────────────────────────── */
.mobile-menu {
    position: fixed; inset: 0; top: 0; z-index: 999;
    background: var(--green-900);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-nav-list { text-align: center; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-list a {
    display: block; padding: 14px 24px;
    font-family: 'DM Serif Display', serif; font-size: 24px;
    color: var(--cream); transition: color var(--transition);
}
.mobile-nav-list a:hover { color: var(--green-400); }
.btn-full { width: 100%; }

/* ── Hero ───────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(13,51,32,0.88) 0%, rgba(26,92,58,0.75) 50%, rgba(13,51,32,0.85) 100%);
}
.hero-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(245,242,235,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}
.hero-content {
    position: relative; z-index: 1;
    padding: 140px 24px 100px;
    max-width: 780px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--green-400); margin-bottom: 24px;
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green-500);
    animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.3); } }
.hero-title {
    font-size: clamp(36px, 5.5vw, 72px);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.08;
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(245,242,235,0.8);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 580px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }
.hero-stats {
    display: flex; align-items: center; gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(245,242,235,0.15);
}
.stat { display: flex; align-items: baseline; gap: 2px; }
.stat-number { font-family: 'DM Serif Display', serif; font-size: 36px; color: var(--white); }
.stat-suffix { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--green-400); }
.stat-label { display: block; font-size: 12px; color: rgba(245,242,235,0.6); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: rgba(245,242,235,0.15); flex-shrink: 0; }
.hero-scroll {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(245,242,235,0.5); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(245,242,235,0.5), transparent); animation: scrollLine 2s ease infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── Section Shared ─────────────────────────────── */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--green-700); margin-bottom: 16px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--green-600); }
.text-center { text-align: center; }
.text-center .section-label::before { display: none; }
.section-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--charcoal);
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 17px; color: var(--stone);
    max-width: 560px; line-height: 1.65;
}

/* ── Services ───────────────────────────────────── */
.services { padding: 100px 0; }
.services .container { text-align: center; }
.services .section-subtitle { margin: 0 auto 56px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-200, #c8e6d4);
}
.service-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--green-800), var(--green-700));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); margin-bottom: 20px;
    transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-3deg); }
.service-title { font-size: 20px; color: var(--charcoal); margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--stone); line-height: 1.7; margin-bottom: 20px; }
.service-link {
    font-size: 13px; font-weight: 600; color: var(--green-700);
    display: inline-flex; align-items: center; gap: 6px;
    transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* ── About ──────────────────────────────────────── */
.about { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-images { position: relative; min-height: 560px; }
.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-img-main img { width: 100%; height: 560px; object-fit: cover; }
.about-img-secondary {
    position: absolute; bottom: -32px; right: -32px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 200px; object-fit: cover; display: block; }
.about-accent {
    position: absolute; top: -24px; left: -24px;
    width: 120px; height: 120px;
    background: var(--green-800);
    border-radius: var(--radius-md);
    opacity: 0.12;
    z-index: -1;
}
.about-content .section-title { margin-bottom: 24px; }
.about-text { font-size: 15px; color: var(--stone); line-height: 1.75; margin-bottom: 16px; }
.about-features { margin-top: 32px; display: grid; gap: 14px; }
.about-feature { display: flex; align-items: center; gap: 12px; }
.feature-check {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--green-100, #d4eddf);
    display: flex; align-items: center; justify-content: center;
    color: var(--green-700); flex-shrink: 0;
}
.about-feature span { font-size: 14px; color: var(--charcoal); font-weight: 500; }

/* ── Why ────────────────────────────────────────── */
.why { padding: 100px 0; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.why-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--green-800), var(--green-500));
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--transition);
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-number {
    font-family: 'DM Serif Display', serif;
    font-size: 48px; color: var(--cream-dark);
    line-height: 1; margin-bottom: 16px;
    transition: color var(--transition);
}
.why-card:hover .why-number { color: var(--green-200, #c8e6d4); }
.why-title { font-size: 22px; color: var(--charcoal); margin-bottom: 12px; }
.why-desc { font-size: 14px; color: var(--stone); line-height: 1.75; }

/* ── CTA Banner ─────────────────────────────────── */
.cta-banner { position: relative; padding: 100px 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(13,51,32,0.92) 0%, rgba(26,92,58,0.85) 100%);
}
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-title {
    font-size: clamp(28px, 4vw, 52px);
    color: var(--white); margin-bottom: 16px;
}
.cta-subtitle { font-size: 17px; color: rgba(245,242,235,0.8); margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ── Contact ────────────────────────────────────── */
.contact { padding: 100px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-desc { font-size: 15px; color: var(--stone); line-height: 1.75; margin-bottom: 40px; }
.contact-details { display: grid; gap: 28px; }
.contact-item-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--green-700); margin-bottom: 6px;
}
.contact-item dd a, .contact-item dd {
    font-size: 15px; color: var(--charcoal); line-height: 1.7;
}
.contact-item dd a:hover { color: var(--green-700); text-decoration: underline; }

/* ── Form ───────────────────────────────────────── */
.contact-form-wrapper {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.form-title { font-size: 24px; color: var(--charcoal); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--charcoal); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif; font-size: 14px;
    color: var(--charcoal); background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(45,155,98,0.15);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--stone-light); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12px; color: var(--stone-light); margin-top: 12px; text-align: center; }
.form-success {
    text-align: center; padding: 40px 20px;
}
.success-icon { color: var(--green-600); margin-bottom: 16px; }
.success-title { font-size: 22px; color: var(--charcoal); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--stone); }

/* ── Footer ─────────────────────────────────────── */
.footer { background: var(--green-900); color: rgba(245,242,235,0.7); padding: 64px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px; padding-bottom: 48px;
}
.footer-desc { font-size: 13px; line-height: 1.75; margin-top: 16px; max-width: 280px; }
.footer-heading {
    font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream);
    margin-bottom: 20px;
}
.footer-links ul { display: grid; gap: 10px; }
.footer-links a { font-size: 13px; transition: color var(--transition); }
.footer-links a:hover { color: var(--cream); }
.footer-contact p { font-size: 13px; line-height: 1.8; }
.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--cream); }
.footer-bottom {
    border-top: 1px solid rgba(245,242,235,0.1);
    padding: 24px 0;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; }
.footer-legal { text-align: right; }

/* ── Back to Top ────────────────────────────────── */
.back-to-top {
    position: fixed; bottom: 32px; right: 32px;
    width: 48px; height: 48px;
    background: var(--green-800); color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition);
    z-index: 100;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--green-700); transform: translateY(-2px); }

/* ── Animations ─────────────────────────────────── */
.reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.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; }

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

@media (max-width: 768px) {
    .nav-list { display: none; }
    .header-actions .btn-outline { display: none; }
    .menu-toggle { display: block; }
    .hero-content { padding: 120px 24px 80px; }
    .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
    .stat-divider { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-images { min-height: 400px; }
    .about-img-main img { height: 400px; }
    .about-img-secondary { right: -16px; bottom: -16px; }
    .why-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrapper { padding: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { text-align: center; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
}
