:root {
    --forest: #0f2d1f;
    --forest-2: #17402b;
    --green: #2f5d2a;
    --olive: #5a6b1f;
    --gold: #f2b83a;
    --gold-dark: #d99d1f;
    --cream: #f5f3ec;
    --paper: #faf9f5;
    --ink: #1c2a22;
    --muted: #5d6b63;
    --line: #dcd9cc;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(15, 45, 31, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.ico { flex: none; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.olive { color: var(--olive); }

.eyebrow {
    font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600;
    color: var(--green); margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9rem;
    padding: .8rem 1.4rem; border-radius: 6px; border: 1.5px solid transparent; cursor: pointer;
    font-family: inherit;
}
.btn-gold { background: var(--gold); color: #2b2205; }
.btn-dark { background: var(--green); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(0,0,0,.2); }
.btn-sm { padding: .55rem 1rem; font-size: .82rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 62px; }
.brand img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.9rem; font-size: .82rem; font-weight: 500; }
.main-nav a:not(.btn) { position: relative; padding: .3rem 0; }
.main-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--gold);
}
.main-nav a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Home hero */
/* Photo backgrounds: the image is set inline (background-image) so its path resolves from the page, not this stylesheet. */
.hero, .vision, .page-hero, .tri-panel { position: relative; isolation: isolate; background-color: var(--forest); background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero::before, .vision::before, .page-hero::before, .tri-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.hero { color: #fff; min-height: 400px; display: flex; align-items: center; padding: 70px 0; }
.hero::before { background: linear-gradient(90deg, rgba(10,30,20,.82) 0%, rgba(10,30,20,.45) 55%, rgba(10,30,20,.2) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.hero .eyebrow { color: #fff; opacity: .9; }
.hero h1 { font-size: clamp(2.1rem, 4.3vw, 3.2rem); font-weight: 600; }
.hero p.lead { max-width: 520px; font-size: 1.02rem; margin: 1.2rem 0 1.8rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-card {
    justify-self: end; width: min(340px, 100%); background: rgba(40, 60, 35, .72); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: .5rem 1.2rem;
}
.hero-card li { display: flex; gap: .9rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero-card li:last-child { border: 0; }
.hero-card .badge { width: 46px; height: 46px; border-radius: 50%; background: rgba(15,45,31,.85); display: grid; place-items: center; color: #cfe8c0; flex: none; }
.hero-card strong { display: block; font-size: .88rem; font-weight: 600; }
.hero-card small { font-size: .72rem; opacity: .85; display: block; line-height: 1.35; }

/* Strips */
.strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1.2rem; color: var(--green); }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-item .ico { width: 38px; height: 38px; }
.strip-item strong { display: block; color: var(--ink); font-size: .9rem; }
.strip-item span { color: var(--muted); font-size: .78rem; }
.strip.stats strong { font-family: 'Montserrat'; font-size: 1.5rem; }

/* Process */
.process { background: var(--cream); padding: 60px 0; }
.process-grid { display: grid; grid-template-columns: 1fr 2.3fr; gap: 3rem; align-items: center; }
.process h2, .section-title { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.process h2 span { color: var(--olive); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; }
.step { text-align: center; position: relative; }
.step img { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; box-shadow: var(--shadow); }
.step h3 { font-size: 1rem; margin-bottom: .3rem; }
.step p { font-size: .85rem; color: var(--muted); margin: 0; }
.step:not(:last-child)::after {
    content: ''; position: absolute; top: 58px; right: -1.4rem; width: 52px; height: 1px; background: var(--ink); opacity: .6; transform: translateX(50%);
}

/* Products */
.products { background: var(--forest); color: #fff; padding: 56px 0; }
.products-grid { display: grid; grid-template-columns: 1fr 3.4fr; gap: 2.5rem; align-items: center; }
.products .eyebrow { color: #cfe0d4; }
.products h2 span { color: var(--gold); }
.p-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.p-card {
    background: var(--forest-2); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column;
}
.p-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.p-card .body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.p-card h3 { font-size: .95rem; margin-bottom: .4rem; }
.p-card p { font-size: .78rem; opacity: .85; margin-bottom: .8rem; }
.p-card .go { margin-top: auto; align-self: flex-end; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-items: center; }

/* Vision band */
.vision { color: #fff; padding: 56px 0; }
.vision::before { background: linear-gradient(90deg, rgba(10,30,20,.88), rgba(10,30,20,.55)); }
.vision-inner { display: grid; grid-template-columns: 1fr 2fr auto; gap: 2rem; align-items: center; }
.vision h2 { font-size: 1.7rem; }
.vision h2 span { color: var(--gold); }
.vision .eyebrow { color: #fff; }
.vision-icons { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.vision-icons li { display: flex; align-items: center; gap: .6rem; font-size: .8rem; }
.vision-icons .ring { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; background: rgba(15,45,31,.6); }

/* Inner pages */
.page-hero { color: #fff; padding: 90px 0 80px; }
.page-hero::before { background: linear-gradient(90deg, rgba(10,30,20,.88), rgba(10,30,20,.5)); }
.page-hero .eyebrow { color: #fff; opacity: .9; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 760px; }
.page-hero h1 span { color: var(--gold); }
.page-hero .lead { max-width: 640px; font-size: 1.05rem; opacity: .95; margin: 0; }

.section { padding: 70px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--forest); color: #fff; }
.section.dark .eyebrow { color: #cfe0d4; }
.section-head { max-width: 720px; margin-bottom: 2.4rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-title span { color: var(--olive); }
.dark .section-title span { color: var(--gold); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.rounded { border-radius: 14px; box-shadow: var(--shadow); width: 100%; object-fit: cover; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card .ico-wrap { width: 52px; height: 52px; border-radius: 50%; background: #e6efdc; color: var(--green); display: grid; place-items: center; margin-bottom: 1rem; }
.card h3 { font-size: 1.05rem; }
.card p { color: var(--muted); font-size: .92rem; margin: 0; }
.dark .card { background: var(--forest-2); border-color: rgba(255,255,255,.1); }
.dark .card p { color: #cdd9d1; }
.dark .card .ico-wrap { background: rgba(255,255,255,.08); color: var(--gold); }

.tag { display: inline-block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; padding: .25rem .6rem; border-radius: 99px; background: #e6efdc; color: var(--green); margin-bottom: .8rem; }
.tag.dev { background: #fdf0cd; color: #8a6200; }
.keywords { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* Service rows (Our Work) */
.service { display: grid; grid-template-columns: 340px 1fr; gap: 2.5rem; align-items: center; padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service img { border-radius: 22px; height: 240px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.service h3 { font-size: 1.5rem; }
.service p { color: var(--muted); font-size: 1.02rem; }
.service:nth-child(even) { grid-template-columns: 1fr 340px; }
.service:nth-child(even) img { order: 2; }

/* Tri panels (resource/solution/future) */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #fff; }
.tri-panel { min-height: 520px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; }
.tri-panel::before { background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.88) 78%); }
.tri-panel .num { font-size: .8rem; display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.tri-panel .num::after { content: ''; width: 40px; height: 1px; background: #fff; }
.tri-panel h3 { font-size: 2rem; font-weight: 500; }
.tri-panel h3 span { color: #9fd18a; font-weight: 600; }
.tri-panel h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: .6rem; }
.tri-panel p { font-size: .9rem; opacity: .92; }
.tri-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1rem; text-align: center; font-size: .68rem; }
.tri-icons .ring { width: 46px; height: 46px; margin: 0 auto .4rem; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-items: center; }

/* Process (our work, vertical timeline cards) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.flow .card { position: relative; padding-top: 2.4rem; }
.flow .card::before {
    counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 1.4rem; width: 34px; height: 34px; border-radius: 50%;
    background: var(--gold); color: #2b2205; font-weight: 700; display: grid; place-items: center; font-family: 'Montserrat';
}

/* Lists */
.checks li { display: flex; gap: .7rem; padding: .45rem 0; }
.checks .ico { color: var(--green); margin-top: 2px; }
.dark .checks .ico { color: var(--gold); }

/* Product detail blocks */
.product-block { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 2.5rem 0; }
.product-block + .product-block { border-top: 1px solid var(--line); }
.product-block:nth-child(even) .pb-img { order: 2; }
.product-block img { border-radius: 14px; height: 340px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.spec { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .9rem; }
.spec td { padding: .55rem .2rem; border-bottom: 1px solid var(--line); }
.spec td:first-child { color: var(--muted); width: 45%; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 2rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .3rem; }
input, select, textarea {
    width: 100%; padding: .8rem .9rem; font: inherit; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
textarea { min-height: 130px; resize: vertical; }
.alert { padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 1.4rem; font-size: .92rem; }
.alert.ok { background: #e3f1d9; color: #1f4d17; }
.alert.err { background: #fbe3e0; color: #7a1f14; }
.alert ul { list-style: disc; padding-left: 1.2rem; }
.hp { position: absolute; left: -9999px; }
.contact-cards li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-cards .ico { color: var(--green); margin-top: 2px; }

/* CTA band */
.cta-band { background: linear-gradient(90deg, var(--forest), var(--forest-2)); color: #fff; padding: 52px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.7rem; margin-bottom: .3rem; }
.cta-band p { margin: 0; opacity: .85; max-width: 620px; }

/* Footer */
.site-footer { background: #0a2016; color: #cfdcd3; padding-top: 50px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 2.5rem; padding-bottom: 36px; align-items: start; }
.footer-brand p { max-width: 300px; color: #9fb3a6; margin: 1rem 0 0; }
.site-footer h4 { margin-bottom: 1rem; }
.footer-logo { display: block; filter: brightness(0) invert(1); opacity: .95; height: 34px; width: auto; }
.site-footer h4 { color: #fff; font-size: .95rem; }
.site-footer li { padding: .22rem 0; }
.contact-list li { display: flex; gap: .6rem; align-items: center; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; opacity: .8; }

/* FAQ + testimonials */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.8fr; gap: 3rem; align-items: start; }
.faq-img { height: 320px; margin-top: 1.5rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 600; font-family: 'Montserrat', sans-serif; font-size: .98rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--green); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.7; }
.quote blockquote::before { content: '“'; display: block; font-family: 'Montserrat'; font-size: 3rem; line-height: .6; color: var(--gold); }
.quote figcaption { margin-top: auto; font-size: .88rem; }
.quote figcaption strong, .quote figcaption span { display: block; }
.quote figcaption span { color: var(--muted); }

/* WhatsApp button (footer) */
.whatsapp-btn { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.2rem; padding: .6rem 1.1rem .6rem .8rem; border-radius: 99px; background: #25d366; color: #073b1c; font-weight: 600; font-size: .85rem; }
.whatsapp-btn svg { flex: none; }

/* Floating WhatsApp icon (every page, bottom-right) */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
@media (max-width: 620px) { .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; } .wa-float svg { width: 26px; height: 26px; } }

/* Video modal */
.video-modal { position: fixed; inset: 0; z-index: 200; background: rgba(5, 15, 10, .86); display: flex; align-items: center; justify-content: center; padding: 20px; }
.video-modal[hidden] { display: none; }
.video-box { position: relative; max-width: min(960px, 100%); max-height: 100%; }
.video-box video { display: block; max-width: 100%; max-height: 82vh; border-radius: 10px; background: #000; }
.video-close { position: absolute; top: -44px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Accessibility */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #2b2205; padding: .7rem 1rem; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 10px; top: 10px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
[data-reveal].in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
    .hero::before { background: linear-gradient(180deg, rgba(10,30,20,.78), rgba(10,30,20,.6)); }
    .faq-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero-inner, .process-grid, .products-grid, .vision-inner, .grid-2, .product-block { grid-template-columns: 1fr; }
    .product-block:nth-child(even) .pb-img { order: 0; }
    .hero-card { justify-self: start; }
    .p-cards, .grid-4, .flow { grid-template-columns: repeat(2, 1fr); }
    .strip-inner { grid-template-columns: repeat(2, 1fr); }
    .strip-item:nth-child(3) { border-left: 0; }
    .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .grid-3, .tri { grid-template-columns: 1fr; }
    .tri-panel { min-height: 440px; }
    .service, .service:nth-child(even) { grid-template-columns: 1fr; }
    .service:nth-child(even) img { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: 62px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start;
        padding: 1rem 20px 1.4rem; gap: 1rem; border-bottom: 1px solid var(--line); display: none;
    }
    .main-nav.open { display: flex; }
}
@media (max-width: 620px) {
    .steps { grid-template-columns: 1fr 1fr; }
    .step::after { display: none; }
    .p-cards, .grid-4, .flow, .form-grid { grid-template-columns: 1fr; }
    .footer-contact { grid-column: 1 / -1; }
    .strip-inner { grid-template-columns: 1fr; }
    .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line); }
    .section { padding: 50px 0; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* Mobile: smaller, centred hero text */
@media (max-width: 620px) {
    .hero { padding: 44px 0; text-align: center; min-height: 0; }
    .hero .eyebrow { font-size: .62rem; letter-spacing: .16em; margin-bottom: .8rem; }
    .hero h1 { font-size: 1.6rem; line-height: 1.2; }
    .hero p.lead { font-size: .9rem; margin: 1rem auto 1.4rem; }
    .hero-actions { justify-content: center; }
    .hero-card { justify-self: center; text-align: left; }
    .page-hero { padding: 56px 0 48px; text-align: center; }
    .page-hero .eyebrow { font-size: .62rem; letter-spacing: .16em; }
    .page-hero h1 { font-size: 1.6rem; line-height: 1.2; margin-inline: auto; }
    .page-hero .lead { font-size: .92rem; margin-inline: auto; }
}
