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

:root {
    --green-900: #1a3a2a;
    --green-800: #2D4A3E;
    --green-700: #3d6354;
    --green-600: #4a7c65;
    --green-500: #5f9e7e;
    --green-400: #8fbfa8;
    --green-300: #b8d8c4;
    --green-200: #d4eade;
    --green-100: #eaf5ee;
    --green-50:  #f4faf7;

    --cream:      #faf9f6;
    --cream-dark: #f3f1ec;
    --white:      #ffffff;
    --text:       #1f2e26;
    --text-muted: #5a6b60;
    --text-light: #8a9a8f;
    --border:     #e2e8e3;

    --shadow-sm:  0 1px 3px rgba(45,74,62,.06), 0 1px 2px rgba(45,74,62,.04);
    --shadow-md:  0 4px 16px rgba(45,74,62,.08), 0 2px 6px rgba(45,74,62,.05);
    --shadow-lg:  0 12px 40px rgba(45,74,62,.10), 0 4px 12px rgba(45,74,62,.06);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font-sans: 'DM Sans', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

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

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

.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--green-800); color: #fff;
    padding: 8px 16px; border-radius: var(--radius-sm);
    z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 16px; }

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

/* ─── Typography ─── */
.text-gradient {
    background: linear-gradient(135deg, var(--green-700) 0%, var(--green-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; border-radius: var(--radius-md);
    transition: var(--transition); white-space: nowrap;
}
.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
    background: var(--green-800); color: #fff;
    box-shadow: 0 4px 14px rgba(45,74,62,.25);
}
.btn-primary:hover {
    background: var(--green-700);
    box-shadow: 0 6px 20px rgba(45,74,62,.32);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255,255,255,.7); color: var(--green-800);
    border: 1.5px solid var(--green-400);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: var(--white); border-color: var(--green-600);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white); color: var(--green-800);
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ─── Header ─── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,249,246,.85);
    backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid rgba(226,232,227,.6);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

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

.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.2rem; font-weight: 700; color: var(--green-800);
}
.logo-mark { color: var(--green-700); }
.logo-text { letter-spacing: -.02em; }
.logo-accent { color: var(--green-600); font-weight: 600; }

.nav-list {
    display: flex; align-items: center; gap: 8px;
}
.nav-list a {
    padding: 8px 16px; border-radius: var(--radius-sm);
    font-size: .9375rem; font-weight: 500; color: var(--text-muted);
    transition: var(--transition);
}
.nav-list a:hover { color: var(--green-800); background: var(--green-100); }

/* ─── Nav Toggle ─── */
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    padding: 8px; border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: var(--green-100); }
.nav-toggle-bar {
    display: block; width: 22px; height: 2px;
    background: var(--green-800); border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Hero ─── */
.hero {
    padding-top: 120px; padding-bottom: 0;
    background: linear-gradient(160deg, var(--cream) 0%, var(--green-50) 50%, var(--green-100) 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(95,158,126,.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; bottom: 80px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(143,191,168,.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    padding-bottom: 80px; position: relative; z-index: 1;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--green-100); color: var(--green-700);
    padding: 6px 14px; border-radius: 100px;
    font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
    margin-bottom: 20px; border: 1px solid var(--green-200);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700; line-height: 1.15;
    color: var(--green-900); margin-bottom: 20px;
    letter-spacing: -.02em;
}

.hero-desc {
    font-size: 1.125rem; color: var(--text-muted);
    line-height: 1.7; margin-bottom: 32px; max-width: 500px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
    display: flex; gap: 24px; flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: .875rem; font-weight: 500; color: var(--text-muted);
}
.trust-item svg { color: var(--green-600); flex-shrink: 0; }

/* ─── Hero Visual ─── */
.hero-visual { position: relative; }
.hero-img-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 600/700;
}
.hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.hero-float-card {
    position: absolute; bottom: -20px; left: -30px;
    background: var(--white);
    padding: 18px 22px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 14px;
    animation: float 4s ease-in-out infinite;
}
.float-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--green-100); color: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hero-float-card strong { display: block; font-size: .9375rem; color: var(--green-900); }
.hero-float-card span { font-size: .8125rem; color: var(--text-light); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-wave { position: relative; z-index: 1; }

/* ─── Section Shared ─── */
.section-header {
    text-align: center; max-width: 640px; margin: 0 auto 56px;
}
.section-tag {
    display: inline-block;
    font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--green-600); margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700; color: var(--green-900);
    line-height: 1.2; margin-bottom: 16px;
    letter-spacing: -.01em;
}
.section-desc { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.7; }

/* ─── Services ─── */
.services {
    padding: 96px 0;
    background: var(--cream);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-500), var(--green-300));
    opacity: 0; transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-200);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--green-100); color: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--green-200); transform: scale(1.05);
}
.service-card h3 {
    font-size: 1.125rem; font-weight: 700;
    color: var(--green-900); margin-bottom: 10px;
}
.service-card p { font-size: .9375rem; color: var(--text-muted); line-height: 1.7; }

/* ─── About ─── */
.about {
    padding: 96px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--green-50) 100%);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}
.about-visual { position: relative; }
.about-img-main {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 520/620;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-accent {
    position: absolute; bottom: -30px; right: -20px;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    aspect-ratio: 280/200;
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }

.about-content .section-tag { text-align: left; }
.about-content .section-title { text-align: left; margin-bottom: 24px; }
.about-body {
    font-size: 1.0625rem; color: var(--text-muted);
    line-height: 1.8; margin-bottom: 16px;
}
.about-stats {
    display: flex; gap: 32px; margin-top: 36px;
    padding-top: 32px; border-top: 1px solid var(--border);
}
.stat { text-align: left; }
.stat-number {
    display: block; font-size: 1.25rem; font-weight: 700;
    color: var(--green-700); margin-bottom: 4px;
}
.stat-label { font-size: .875rem; color: var(--text-light); }

/* ─── Why Us ─── */
.why-us {
    padding: 96px 0;
    background: var(--cream-dark);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px; max-width: 900px; margin: 0 auto;
}
.why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
}
.why-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-200);
}
.why-num {
    font-family: var(--font-serif);
    font-size: 2.5rem; font-weight: 700;
    background: linear-gradient(135deg, var(--green-200), var(--green-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1; margin-bottom: 12px;
}
.why-card h3 {
    font-size: 1.125rem; font-weight: 700;
    color: var(--green-900); margin-bottom: 10px;
}
.why-card p { font-size: .9375rem; color: var(--text-muted); line-height: 1.7; }

/* ─── CTA Banner ─── */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 50%, var(--green-600) 100%);
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,.06) 0%, transparent 60%);
    pointer-events: none;
}
.cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; position: relative; z-index: 1;
    flex-wrap: wrap;
}
.cta-content { max-width: 520px; }
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700; color: #fff;
    line-height: 1.3; margin-bottom: 12px;
}
.cta-desc { font-size: 1.0625rem; color: rgba(255,255,255,.75); line-height: 1.7; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── Contact ─── */
.contact {
    padding: 96px 0;
    background: var(--cream);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
    display: flex; gap: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    transition: var(--transition);
}
.contact-item:hover {
    border-color: var(--green-200);
    box-shadow: var(--shadow-sm);
}
.contact-icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    background: var(--green-100); color: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-item strong {
    display: block; font-size: .9375rem; color: var(--green-900);
    margin-bottom: 4px;
}
.contact-item p { font-size: .9375rem; color: var(--text-muted); line-height: 1.6; }
.contact-item a { color: var(--green-600); transition: var(--transition); }
.contact-item a:hover { color: var(--green-800); }

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

/* ─── Contact Form ─── */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px; box-shadow: var(--shadow-sm);
}
.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem; font-weight: 700;
    color: var(--green-900); margin-bottom: 6px;
}
.form-note { font-size: .875rem; color: var(--text-light); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label {
    font-size: .875rem; font-weight: 600; color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: .9375rem; color: var(--text);
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    transition: var(--transition);
    outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(95,158,126,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    display: flex; align-items: center; gap: 10px;
    margin-top: 16px; padding: 14px 18px;
    background: var(--green-100); color: var(--green-800);
    border-radius: var(--radius-sm); font-size: .9375rem;
    border: 1px solid var(--green-200);
}
.form-success svg { color: var(--green-600); flex-shrink: 0; }

/* ─── Footer ─── */
.site-footer {
    background: var(--green-900); color: rgba(255,255,255,.7);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo-accent { color: var(--green-400); }
.footer-brand p { font-size: .9375rem; line-height: 1.7; max-width: 300px; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: .9375rem; color: rgba(255,255,255,.6);
    transition: var(--transition);
}
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact p { font-size: .9375rem; margin-bottom: 6px; }
.footer-contact a { color: var(--green-400); transition: var(--transition); }
.footer-contact a:hover { color: #fff; }

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

/* ─── Scroll Animations ─── */
.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-list {
        position: fixed; top: 72px; left: 0; right: 0;
        background: rgba(250,249,246,.97);
        backdrop-filter: blur(16px);
        flex-direction: column; padding: 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%); opacity: 0;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    .nav-list.open { transform: translateY(0); opacity: 1; }
    .nav-list a { padding: 12px 16px; font-size: 1rem; width: 100%; }

    .hero { padding-top: 100px; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual { order: -1; }
    .hero-img-wrapper { aspect-ratio: 4/3; }
    .hero-float-card { left: 16px; bottom: -16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }

    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { order: -1; }
    .about-img-main { aspect-ratio: 4/3; }
    .about-img-accent { right: 10px; bottom: -20px; }
    .about-content .section-tag,
    .about-content .section-title { text-align: center; }
    .about-body { text-align: center; }
    .about-stats { justify-content: center; }

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

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2rem; }
    .hero-trust { flex-direction: column; gap: 12px; }
    .services, .about, .why-us, .contact { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }
}
