:root {
  --forest: #0b3d2e;
  --forest-2: #0f4d3a;
  --green: #16a34a;
  --green-bright: #22c55e;
  --mint: #dcfce7;
  --mint-2: #f0fdf4;
  --ink: #0f1f19;
  --muted: #4b5f56;
  --line: #e3ebe6;
  --cream: #fbfdfb;
  --radius: 20px;
  --shadow: 0 20px 50px -20px rgba(11, 61, 46, .25);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--green-bright); color: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  font-family: var(--body);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.wa { fill: currentColor; stroke: none; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(22, 163, 74, .7); }
.btn-primary:hover { background: #15803d; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(22, 163, 74, .8); }
.btn-ghost { background: #fff; color: var(--forest); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.nav.scrolled { background: rgba(251, 253, 251, .85); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--green); display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.brand.light { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--green); }
.nav-cta { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--green); background: var(--mint); padding: 7px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(34, 197, 94, .25); }

/* Hero */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 197, 94, .22), rgba(34, 197, 94, 0));
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .5;
  mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 65%);
  pointer-events: none;
}
.hero-grid > *, .contact-grid > *, .why-grid > *, .faq-wrap > * { min-width: 0; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 800; color: var(--forest); margin: 22px 0 22px; }
.hl { color: var(--green); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .18em;
  background: var(--green-bright); opacity: .25; border-radius: 4px; z-index: -1;
}
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Hero card */
.hero-card {
  background: var(--forest); color: #e8f5ee; border-radius: 28px; padding: 26px;
  box-shadow: 0 40px 80px -30px rgba(11, 61, 46, .6); position: relative;
  transform: rotate(1.5deg); animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(1.5deg) translateY(-10px); } }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-title { font-size: 14px; color: #9fd5b6; }
.chip { font-size: 12px; font-weight: 600; background: rgba(34, 197, 94, .18); color: var(--green-bright); padding: 5px 11px; border-radius: 999px; }
.card-metric { margin: 18px 0 6px; display: flex; flex-direction: column; }
.metric-label { font-size: 13px; color: #9fd5b6; }
.metric-value { font-family: var(--display); font-weight: 800; font-size: 44px; color: #fff; letter-spacing: -.03em; }
.spark { width: 100%; height: 110px; margin: 4px 0 18px; }
.card-rows { display: grid; gap: 12px; }
.row { display: grid; grid-template-columns: 28px 110px 1fr; align-items: center; gap: 10px; font-size: 14px; }
.ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: rgba(255, 255, 255, .08); }
.ico-meta { color: #60a5fa; } .ico-g { color: #fbbf24; } .ico-map { font-size: 13px; }
.bar { height: 8px; background: rgba(255, 255, 255, .08); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-bright)); border-radius: inherit; }
.card-foot {
  margin-top: 22px; padding: 12px 14px; background: rgba(255, 255, 255, .06); border-radius: 14px;
  font-size: 13px; display: flex; align-items: center; gap: 10px;
}
.ping { width: 9px; height: 9px; border-radius: 50%; background: var(--green-bright); position: relative; }
.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green-bright); animation: ping 1.6s infinite; }
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }

/* Trusted */
.trusted { padding: 30px 0 70px; }
.trusted-label { text-align: center; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 28px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: scroll 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile {
  width: 150px; height: 84px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  display: grid; place-items: center; padding: 12px; flex-shrink: 0;
}
.logo-tile img { max-height: 58px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logo-tile:hover img { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; color: var(--forest); margin: 18px 0 16px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.left { text-align: left; margin: 0; }
.section-head.left .btn { margin-top: 28px; }
.section-head.light h2 { color: #fff; }
.section-head.light .eyebrow { background: rgba(34, 197, 94, .15); color: var(--green-bright); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bbe5c9; }
.service h3 { font-size: 20px; font-weight: 700; color: var(--forest); margin: 20px 0 10px; }
.service p { color: var(--muted); font-size: 15px; }
.s-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; }
.s-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service.featured { background: var(--forest); border-color: var(--forest); }
.service.featured h3 { color: #fff; }
.service.featured p { color: #b9dcc7; }
.service.featured .s-ico { background: rgba(34, 197, 94, .15); }
.service.featured .s-ico svg { stroke: var(--green-bright); }
.tag { position: absolute; top: 22px; right: 20px; font-size: 12px; font-weight: 600; background: var(--green-bright); color: var(--forest); padding: 5px 12px; border-radius: 999px; }

/* Process */
.process-wrap { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.process-wrap::before {
  content: ""; position: absolute; width: 700px; height: 700px; left: -200px; bottom: -400px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 197, 94, .25), transparent);
}
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.process li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 28px; }
.num { font-family: var(--display); font-weight: 800; font-size: 46px; color: var(--green-bright); line-height: 1; }
.process h3 { font-size: 21px; margin: 18px 0 10px; }
.process p { color: #b9dcc7; font-size: 15px; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why { background: var(--mint-2); border: 1px solid #d3efdc; border-radius: var(--radius); padding: 26px; }
.why h3 { font-size: 19px; color: var(--forest); margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.why h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--green); flex-shrink: 0; }
.why p { color: var(--muted); font-size: 15px; }

/* Industries */
.industries-wrap { padding-top: 0; }
.industries { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.industries span {
  padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 500; color: var(--forest); font-size: 15px; transition: background .2s, color .2s, border-color .2s;
}
.industries span:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: border-color .2s; }
.faq details[open] { border-color: #bbe5c9; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; color: var(--forest);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--green); transition: transform .25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; font-size: 15px; }

/* Contact */
.contact-wrap { background: linear-gradient(180deg, var(--cream), var(--mint-2)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-copy h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; color: var(--forest); margin: 18px 0 16px; }
.contact-copy > p { color: var(--muted); font-size: 17px; max-width: 460px; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list small { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.contact-list a { color: var(--forest); font-weight: 600; text-decoration: none; font-size: 17px; }
.contact-list a:hover { color: var(--green); }
.contact-list span:not(.c-ico) { color: var(--ink); font-size: 15px; }
.c-ico { width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid #d3efdc; display: grid; place-items: center; flex-shrink: 0; }
.c-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--forest); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--cream); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); background: #fff; }
.field input.invalid { border-color: #dc2626; }
.form-error { color: #dc2626; font-size: 14px; min-height: 0; }
.form-error:empty { display: none; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* Footer */
.footer { background: var(--forest); color: #b9dcc7; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.f-about { margin-top: 18px; font-size: 15px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 15px; }
.footer a { color: #b9dcc7; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--green-bright); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 60px; padding-top: 26px; font-size: 13px; color: #7fae93; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .why-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 10px 20px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-cta { margin-top: 16px; }
  .nav.menu-open { background: var(--cream); }
  .hero { padding: 120px 0 60px; }
  .section { padding: 72px 0; }
  .services, .process, .why-list { grid-template-columns: 1fr; }
  .tag { position: static; display: inline-block; margin-top: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hl { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Code card (hero) */
.code-card { padding: 0; overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: rgba(0, 0, 0, .18); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.win-bar i:first-child { background: var(--green-bright); }
.win-bar span { margin-left: 10px; font-size: 13px; color: #9fd5b6; font-family: ui-monospace, Menlo, monospace; }
.code { margin: 0; padding: 22px; font: 14px/1.75 ui-monospace, "SF Mono", Menlo, monospace; color: #e8f5ee; white-space: pre; overflow: hidden; }
.code .k { color: #86efac; } .code .f { color: #fde68a; } .code .s { color: #93c5fd; }
.term { margin: 0 22px; padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .22); font: 13px/1.9 ui-monospace, Menlo, monospace; color: #cfe9da; }
.term .ok { color: var(--green-bright); margin-right: 8px; }
.code-card .card-foot { margin: 18px 22px 22px; }
@media (max-width: 760px) { .code { font-size: 12px; padding: 18px; } }
