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

:root {
    --forest-950: #0a1f18;
    --forest-900: #0f2e22;
    --forest-800: #1a3c34;
    --forest-700: #234f43;
    --forest-600: #2d6354;
    --forest-500: #367a66;
    --forest-400: #4a9e82;
    --forest-300: #6fb89e;
    --forest-200: #a3d4c0;
    --forest-100: #d0eadf;
    --forest-50: #eaf5ef;

    --cream-50: #faf9f6;
    --cream-100: #f5f4f0;
    --cream-200: #ebe9e3;
    --cream-300: #d4d1c8;

    --text-dark: #1a1f1d;
    --text-medium: #3d4440;
    --text-light: #6b7570;
    --text-muted: #9aa39e;

    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(10, 31, 24, 0.06), 0 1px 2px rgba(10, 31, 24, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 31, 24, 0.08), 0 2px 6px rgba(10, 31, 24, 0.04);
    --shadow-lg: 0 12px 40px rgba(10, 31, 24, 0.12), 0 4px 12px rgba(10, 31, 24, 0.06);
    --shadow-xl: 0 20px 60px rgba(10, 31, 24, 0.14), 0 8px 20px rgba(10, 31, 24, 0.08);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 60, 52, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--forest-900);
}

.nav-logo-icon {
    color: var(--forest-700);
}

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

.nav-menu a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--forest-800) !important;
    color: var(--white) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.nav-cta:hover {
    background: var(--forest-700) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--forest-800);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.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: rotate(-45deg) translate(5px, -5px);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(45, 99, 84, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 99, 84, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(26, 60, 52, 0.04) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--forest-50);
    border: 1px solid var(--forest-100);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--forest-700);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 28px;
}

.hero-badge svg {
    color: var(--forest-500);
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--forest-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--forest-800);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(26, 60, 52, 0.25);
}

.btn-primary:hover {
    background: var(--forest-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 60, 52, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--forest-800);
    border: 1.5px solid var(--forest-200);
}

.btn-secondary:hover {
    border-color: var(--forest-400);
    background: var(--forest-50);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--forest-800);
    border: 1.5px solid var(--forest-300);
}

.btn-outline:hover {
    background: var(--forest-50);
    border-color: var(--forest-600);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

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

/* ─── HERO VISUAL ─── */
.hero-visual {
    position: relative;
}

.hero-image-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 520 / 380;
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
}

.stat-card--1 {
    top: -20px;
    right: -20px;
}

.stat-card--2 {
    bottom: 40px;
    left: -30px;
}

.stat-card--3 {
    bottom: -20px;
    right: 40px;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-800);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ─── SECTION COMMON ─── */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--forest-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--forest-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ─── SERVICES ─── */
.services {
    padding: 100px 24px;
    background: var(--white);
}

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

.service-card {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--forest-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest-50);
    border: 1px solid var(--forest-100);
    border-radius: var(--radius-md);
    color: var(--forest-700);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--forest-800);
    border-color: var(--forest-800);
    color: var(--white);
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--forest-900);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ─── ABOUT ─── */
.about {
    padding: 100px 24px;
    background: var(--cream-50);
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: var(--forest-100);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

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

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

.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about-features svg {
    color: var(--forest-600);
    flex-shrink: 0;
}

/* ─── WHY US ─── */
.why-us {
    padding: 100px 24px;
    background: var(--forest-900);
}

.why-us .section-tag {
    color: var(--forest-300);
}

.why-us .section-title {
    color: var(--white);
}

.why-us .section-subtitle {
    color: var(--forest-200);
}

.why-us .section-header {
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.why-card-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--forest-400);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--forest-200);
    line-height: 1.7;
}

/* ─── CTA SECTION ─── */
.cta-section {
    padding: 100px 24px;
    background: var(--cream-100);
}

.cta-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 64px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    border: 1px solid var(--cream-200);
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--forest-900);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ─── CONTACT ─── */
.contact {
    padding: 100px 24px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

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

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest-50);
    border: 1px solid var(--forest-100);
    border-radius: var(--radius-md);
    color: var(--forest-700);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--forest-800);
    margin-bottom: 4px;
}

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

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

.contact-item a:hover {
    color: var(--forest-500);
    text-decoration: underline;
}

/* ─── CONTACT FORM ─── */
.contact-form-wrapper {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-title {
    font-size: 1.25rem;
    color: var(--forest-900);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest-400);
    box-shadow: 0 0 0 3px rgba(74, 158, 130, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--forest-50);
    border: 1px solid var(--forest-100);
    border-radius: var(--radius-md);
    color: var(--forest-800);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--forest-600);
    flex-shrink: 0;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--forest-950);
    padding: 64px 24px 32px;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--forest-300);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--forest-200);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--forest-300);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--forest-300);
    line-height: 1.5;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--forest-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--forest-400);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-subheadline {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        max-width: 560px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 560px;
    }

    .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 48px;
    }

    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(26, 60, 52, 0.08);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu a {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .stat-cards {
        display: none;
    }

    .services {
        padding: 64px 24px;
    }

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

    .about {
        padding: 64px 24px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .why-us {
        padding: 64px 24px;
    }

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

    .cta-section {
        padding: 64px 24px;
    }

    .cta-card {
        padding: 32px 24px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .contact {
        padding: 64px 24px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer {
        padding: 48px 24px 24px;
    }

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .section-title {
        font-size: 1.6rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}
