@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sora:wght@100..800&display=swap');

:root {
    --ink: #0B2318;
    --ink-soft: #12331f;
    --brand: #068e43;
    --brand-dim: #057236;
    --brand-tint: #e7f5ec;
    --paper: #faf9f6;
    --paper-2: #f2f1ec;
    --line: #dfe3de;
    --muted: #5c6b63;
    --white: #ffffff;
    --radius: 14px;
    --maxw: 1180px;

    /* aliases used by the hero "stack" visual */
    --surface: var(--white);
    --green: var(--brand);
    --amber: #d99a2b;
    --shadow: 0 14px 30px -18px rgba(11, 35, 24, .3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.08;
    font-weight: 600;
}

.mono {
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.02em;
}

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

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

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--brand);
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 8px 22px rgba(6, 142, 67, .35);
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-dark:hover {
    box-shadow: 0 8px 22px rgba(11, 35, 24, .3);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
}

section {
    padding: 96px 0;
}

/* ---------- NAV ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 249, 246, .85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

nav {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sora';
    font-weight: 700;
    font-size: 20px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 34px;
    font-size: 14.5px;
    font-weight: 500;
}

.nav-links a {
    position: relative;
    color: var(--ink);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width .2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: .25s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 10px 20px 20px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-weight: 500;
}

.mobile-menu .btn {
    margin-top: 14px;
    justify-content: center;
}

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(180deg, #eef7f1 0%, var(--paper) 55%);
    color: var(--ink);
    padding: 80px 0 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 90px;
}

.hero h1 {
    font-size: clamp(38px, 5.4vw, 64px);
    color: var(--ink);
}

.hero h1 .hl {
    color: var(--brand);
    background: linear-gradient(transparent 62%, rgba(6, 142, 67, .18) 62%);
}

.hero p.lead {
    margin: 24px 0 32px;
    color: var(--muted);
    font-size: 16.5px;
    max-width: 440px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-outline-dark {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
}

.btn-outline-dark:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* signature visual: layered growth stack */
.stack-wrap {
    position: relative;
    height: 460px;
}

.growth-line {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.stack {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
}

.stack-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
    transform: translateX(var(--shift, 0));
    width: calc(100% - var(--inset, 0px));
    transition: transform .4s ease;
}

.stack-card:hover {
    transform: translateX(calc(var(--shift, 0px) - 6px));
}

.stack-card .num {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--green);
    background: rgba(6, 142, 67, 0.1);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stack-card h4 {
    font-size: 15.5px;
    font-weight: 600;
}

.stack-card p {
    font-size: 12.5px;
    color: var(--ink-soft);
}

.stack-card:nth-child(1) {
    --shift: 0px;
}

.stack-card:nth-child(2) {
    --shift: 26px;
    width: calc(100% - 26px);
}

.stack-card:nth-child(3) {
    --shift: 52px;
    width: calc(100% - 52px);
}

.stack-card:nth-child(4) {
    --shift: 78px;
    width: calc(100% - 78px);
    border-color: var(--green);
}

.float-stat {
    position: absolute;
    background: var(--surface);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
}

.float-stat.years {
    top: 16px;
    right: 6px;
}

.float-stat.clients {
    bottom: 36px;
    left: -10px;
    background: var(--ink);
    color: #fff;
}

.float-stat .icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(6, 142, 67, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-stat.clients .icon-circle {
    background: rgba(255, 255, 255, 0.14);
}

.float-stat b {
    font-family: 'Sora', sans-serif;
    font-size: 19px;
    display: block;
}

.float-stat span {
    font-size: 11.5px;
    color: var(--ink-soft);
}

.float-stat.clients span {
    color: rgba(255, 255, 255, 0.7);
}

.stars {
    position: absolute;
    bottom: -6px;
    right: 14px;
    background: var(--surface);
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: var(--shadow);
    font-size: 11.5px;
    color: var(--ink-soft);
    z-index: 3;
}

.stars .row {
    color: var(--amber);
    font-size: 13px;
    margin-bottom: 2px;
    letter-spacing: 2px;
}

/* ---------- WHO WE ARE ---------- */
.who {
    background: var(--paper-2);
}

.who-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.collage {
    position: relative;
}

.collage img {
    border-radius: 16px;
}

.collage .img-a {
    width: 78%;
}

.collage .img-b {
    width: 56%;
    position: absolute;
    right: -6%;
    bottom: -10%;
    border: 6px solid var(--paper-2);
    box-shadow: 0 20px 40px rgba(11, 35, 24, .15);
}

.who h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    margin-bottom: 18px;
}

.who h2 .accent {
    color: var(--brand);
}

.who p {
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 26px;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 15px;
}

.checklist .tick {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checklist .tick svg {
    width: 12px;
    height: 12px;
}

/* ---------- SERVICES ---------- */
.services-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.services-top h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    max-width: 600px;
}

.services-top h2 .accent {
    color: var(--brand);
}

.view-all {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--brand);
    white-space: nowrap;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px 22px;
    transition: .2s ease;
}

.service-card:nth-child(even) {
    margin-top: 26px;
}

.service-card:hover {
    border-color: var(--brand);
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(11, 35, 24, .06);
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--brand-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--brand);
}

.service-card h4 {
    font-size: 16.5px;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 13.5px;
    color: var(--muted);
}

/* ---------- WHY US ---------- */
.why {
    background: var(--paper-2);
}

.why-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 52px;
}

.why-head h2 {
    font-size: clamp(26px, 3.2vw, 38px);
}

.why-head h2 .accent {
    color: var(--brand);
}

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

.why-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid var(--line);
}

.why-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.why-icon svg {
    width: 19px;
    height: 19px;
    stroke: var(--brand);
}

.why-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 13.5px;
    color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 44px;
}

.faq-head h2 {
    font-size: clamp(26px, 3.2vw, 38px);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s ease;
}

.faq-item.active {
    border-color: var(--brand);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
}

.faq-q .plus {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: .2s ease;
}

.faq-item.active .plus {
    background: var(--brand);
    border-color: var(--brand);
    transform: rotate(45deg);
}

.faq-q .plus::before,
.faq-q .plus::after {
    content: '';
    position: absolute;
    background: var(--ink);
}

.faq-item.active .plus::before,
.faq-item.active .plus::after {
    background: #fff;
}

.faq-q .plus::before {
    width: 10px;
    height: 1.4px;
}

.faq-q .plus::after {
    width: 1.4px;
    height: 10px;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-a p {
    padding: 0 22px 20px;
    color: var(--muted);
    font-size: 14px;
    max-width: 600px;
}

/* ---------- CONTACT ---------- */
.contact {
    background: var(--paper-2);
}

.contact-grid {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    overflow: hidden;
}

.contact-left {
    padding: 48px;
    background: var(--ink);
    color: #fff;
}

.contact-left h2 {
    font-size: 28px;
    margin-bottom: 14px;
    color: #fff;
}

.contact-left p {
    color: rgba(255, 255, 255, .6);
    font-size: 14.5px;
    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-info .item .label {
    font-family: 'Sora';
    font-size: 11px;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.contact-info .item .value {
    font-size: 14.5px;
    font-weight: 500;
}

.contact-right {
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-family: 'Poppins';
    font-size: 14px;
    background: var(--paper);
    color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--brand);
    border-color: var(--brand);
}

.field {
    margin-bottom: 18px;
}

.contact-right .btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.contact-right .btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: #c0392b;
}

.field .error-msg {
    display: none;
    font-size: 12px;
    color: #c0392b;
    margin-top: 6px;
}

.field.has-error .error-msg {
    display: block;
}

.form-message {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 500;
    margin-top: 16px;
}

.form-message.visible {
    display: flex;
}

.form-message.success {
    background: var(--brand-tint);
    color: var(--brand-dim);
    border: 1px solid rgba(6, 142, 67, .25);
}

.form-message.error {
    background: #fbeae7;
    color: #a53321;
    border: 1px solid rgba(197, 57, 41, .25);
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .7);
    padding: 70px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-grid h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-grid .logo {
    color: #fff;
    margin-bottom: 14px;
}

.footer-grid p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 14px;
    max-width: 280px;
}

.footer-grid ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
}

.footer-grid ul a:hover {
    color: var(--brand);
}

.footer-cta {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 18px;
}

.footer-cta p {
    margin-bottom: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .4);
    flex-wrap: wrap;
    gap: 12px;
}

/* =========================================================
   RESPONSIVE — consolidated by breakpoint (one query per size)
   ========================================================= */

@media(max-width:900px) {
    section {
        padding: 64px 0;
    }

    .wrap {
        padding: 0 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-bottom: 50px;
    }

    .stack-wrap {
        height: auto;
        margin-top: 40px;
    }

    .nav-links {
        display: none;
    }

    .nav-right .btn {
        display: none;
    }

    .burger {
        display: flex;
    }

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

    .service-card:nth-child(even) {
        margin-top: 0;
    }
}

@media(max-width:860px) {
    .who-grid {
        grid-template-columns: 1fr;
    }

    .collage {
        height: 340px;
        margin-bottom: 20px;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

@media(max-width:560px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}