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

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --cream-50:    #fdf8f0;
    --cream-100:   #f9f0e0;
    --cream-200:   #f2e6cc;
    --cream-300:   #e8d5b0;
    --stone-50:    #fafaf9;
    --stone-100:   #f5f5f4;
    --stone-200:   #e7e5e4;
    --stone-400:   #a8a29e;
    --stone-500:   #78716c;
    --stone-600:   #57534e;
    --stone-700:   #44403c;
    --stone-800:   #292524;
    --stone-900:   #1c1917;
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   22px;
    --radius-xl:   32px;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:   0 4px 16px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.05);
    --transition:  .28s cubic-bezier(.4,0,.2,1);
}

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

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--stone-800);
    background: var(--cream-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.25;
    color: var(--stone-900);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: .9375rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    padding: 12px 28px;
}

.btn-primary {
    background: var(--emerald-600);
    color: #fff;
    border-color: var(--emerald-600);
    box-shadow: 0 4px 14px rgba(5,150,105,.30);
}
.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5,150,105,.35);
}

.btn-outline-light {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.5);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--emerald-700);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1.0625rem; }
.btn-sm { padding: 8px 20px; font-size: .875rem; }
.btn-block { width: 100%; justify-content: center; padding: 14px 28px; }

/* ── Navbar ───────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253,248,240,.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: box-shadow var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--emerald-700);
}
.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--emerald-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links li a {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: .9375rem;
    color: var(--stone-700);
    transition: all var(--transition);
}
.nav-links li a:hover {
    background: var(--emerald-50);
    color: var(--emerald-700);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--stone-700);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.pexels.com/photos/8423020/pexels-photo-8423020.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(6,78,59,.82) 0%,
        rgba(4,120,87,.72) 50%,
        rgba(5,150,105,.62) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
    max-width: 780px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    color: var(--emerald-100);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.2);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.375rem);
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -.01em;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.85);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.625rem;
    font-weight: 700;
    color: #fff;
}
.stat-label {
    font-size: .8125rem;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,.25);
    align-self: stretch;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ── Section shared ───────────────────────────────── */
.section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;
}
.section-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--emerald-600);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
}
.section-header p {
    font-size: 1.0625rem;
    color: var(--stone-500);
}

/* ── Services ─────────────────────────────────────── */
.services { background: var(--cream-50); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-200);
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
}

.service-icon {
    width: 58px;
    height: 58px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    margin-bottom: 20px;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--emerald-600);
    color: #fff;
    border-color: var(--emerald-600);
}

.service-card h3 {
    font-size: 1.1875rem;
    margin-bottom: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}
.service-card p {
    font-size: .9375rem;
    color: var(--stone-500);
    line-height: 1.7;
}

/* ── About ────────────────────────────────────────── */
.about { background: #fff; }

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

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 7/8;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: var(--emerald-100);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 20px;
}
.about-content > p {
    color: var(--stone-600);
    font-size: 1rem;
    margin-bottom: 14px;
    line-height: 1.75;
}
.about-features {
    display: grid;
    gap: 12px;
    margin: 28px 0 32px;
}
.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--stone-700);
}
.about-features svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* ── Testimonials ─────────────────────────────────── */
.testimonials {
    background: var(--cream-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-200);
    transition: all var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.testimonial-text {
    font-size: .9375rem;
    color: var(--stone-600);
    line-height: 1.75;
    margin-bottom: 22px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--emerald-100);
    color: var(--emerald-700);
    font-weight: 700;
    font-size: .9375rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.author-name {
    font-weight: 600;
    color: var(--stone-800);
    font-size: .9375rem;
}

/* ── Contact ──────────────────────────────────────── */
.contact { background: #fff; }

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

.contact-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 16px;
}
.contact-info > p {
    color: var(--stone-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    flex-shrink: 0;
}
.contact-item strong {
    display: block;
    font-size: .8125rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--stone-500);
    margin-bottom: 4px;
}
.contact-item span,
.contact-item a {
    font-size: 1rem;
    color: var(--stone-800);
    font-weight: 500;
}
.contact-item a:hover { color: var(--emerald-600); }

/* ── Form ─────────────────────────────────────────── */
.contact-form-wrapper {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-xl);
    padding: 36px;
}
.contact-form h3 {
    font-size: 1.375rem;
    margin-bottom: 24px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--stone-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-md);
    font-family: 'DM Sans', sans-serif;
    font-size: .9375rem;
    color: var(--stone-800);
    background: #fff;
    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(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

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

/* ── Footer ───────────────────────────────────────── */
.footer {
    background: var(--stone-900);
    color: rgba(255,255,255,.7);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo-icon { background: var(--emerald-600); }
.footer-brand p { font-size: .9375rem; line-height: 1.7; max-width: 280px; }

.footer-links h4,
.footer-contact h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: .8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.4);
    margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: .9375rem;
    color: rgba(255,255,255,.7);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--emerald-400); }
.footer-contact p { font-size: .9375rem; line-height: 1.7; margin-bottom: 6px; }
.footer-contact a:hover { color: var(--emerald-400); }

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

/* ── Scroll reveal ────────────────────────────────── */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease, transform .6s ease;
}
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

/* ── Mobile ───────────────────────────────────────── */
@media (max-width: 900px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image { max-height: 400px; aspect-ratio: auto; }
    .about-image img { max-height: 400px; object-fit: cover; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253,248,240,.97);
        backdrop-filter: blur(14px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--cream-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-110%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }
    .nav-links.open {
        transform: none;
        opacity: 1;
        pointer-events: all;
    }
    .nav-links li a {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
    }
    .nav-toggle { display: flex; }

    .hero { min-height: 85vh; }
    .hero-content { padding: 100px 20px 60px; }
    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
    .stat { flex: 0 0 auto; }

    .section { padding: 64px 0; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .contact-form-wrapper { padding: 24px; }
}
