/* Orpexo — site styles */

:root {
  --lime: #9dc33b;
  --lime-600: #86ab26;
  --lime-700: #5e7d14;
  --lime-50: #f2f8e3;
  --ink: #0e1a14;
  --ink-2: #16271e;
  --text: #1b2620;
  --muted: #5a6760;
  --line: #e3e9df;
  --bg: #ffffff;
  --bg-alt: #f6f9f1;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 26, 20, .06), 0 8px 24px rgba(14, 26, 20, .06);
  --shadow-lg: 0 24px 60px rgba(14, 26, 20, .14);
  --container: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }

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

.i {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-lg { padding: .9em 1.6em; font-size: 16px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14, 26, 20, .2); }
.btn-primary .i { color: var(--lime); transition: transform .2s ease; }
.btn-primary:hover .i { transform: translateX(3px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(14, 26, 20, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); position: relative; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--lime); transform: scaleX(0); transition: transform .25s ease; }
.nav a:not(.btn):hover, .nav a.active { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(157, 195, 59, .16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(157, 195, 59, .08), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14, 26, 20, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(157, 195, 59, .25); }

.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -0.035em; margin: 22px 0 20px; }
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .32em; background: var(--lime); opacity: .45; z-index: -1; border-radius: 4px; }
.hero h1 .hl { z-index: 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-weight: 600; font-size: 15px; color: var(--ink); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { color: var(--lime-700); }

/* Hero visual */
.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero-blob {
  position: absolute; width: 420px; height: 420px; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  background: linear-gradient(135deg, var(--lime) 0%, #c8e27a 100%); opacity: .9; z-index: 0;
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob { to { border-radius: 58% 42% 45% 55% / 42% 58% 42% 58%; transform: rotate(12deg); } }

.board {
  position: relative; z-index: 1; width: min(380px, 100%);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px;
}
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.board-title { font-weight: 800; color: var(--ink); }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lime-50); color: var(--lime-700); }
.board-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.board-steps li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--radius-sm); }
.board-steps li.active { background: var(--bg-alt); }
.board-steps strong { display: block; font-size: 15px; color: var(--ink); }
.board-steps small { color: var(--muted); font-size: 13px; }
.tick { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.done .tick { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.done .tick .i { width: 15px; height: 15px; stroke-width: 3; }
.active .tick { border-color: var(--lime); border-top-color: transparent; animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height: 8px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--lime-600), var(--lime)); border-radius: inherit; }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.3; }
.float-card small { font-size: 12px; color: var(--muted); }
.fc-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.hero-visual .board { margin-top: 56px; }
.fc-1 { top: 0; left: 0; }
.fc-2 { bottom: 4%; right: -2%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Who we serve */
.serve { border-block: 1px solid var(--line); background: var(--bg-alt); padding: 26px 0; }
.serve .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.serve-title { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.serve-list { display: flex; flex-wrap: wrap; gap: 12px 40px; list-style: none; margin: 0; padding: 0; }
.serve-list li { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.serve-list .i { color: var(--lime-700); width: 1.3em; height: 1.3em; }

/* Sections */
.section { padding: 110px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2, .about-copy h2, .contact-info h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-700); margin-bottom: 14px; }

.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--lime-50); color: var(--lime-700); margin-bottom: 22px; }
.icon-badge .i { width: 24px; height: 24px; }
.icon-badge-dark { background: rgba(157, 195, 59, .15); color: var(--lime); }

/* Services */
.service-feature {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  background: var(--ink); color: #c9d3cd; border-radius: calc(var(--radius) + 6px); padding: 44px 48px; margin-bottom: 24px;
  position: relative; overflow: hidden;
}
.service-feature::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(157, 195, 59, .35), transparent 70%); }
.service-feature h3 { color: #fff; font-size: 26px; }
.service-feature p { margin: 0; }
.sf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.sf-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fff; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.sf-list .i { color: var(--lime); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* Approach */
.section-dark { background: var(--ink); color: #b8c4bd; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: var(--lime); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 32px 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .07); transition: border-color .25s, transform .25s; }
.step:hover { border-color: rgba(157, 195, 59, .5); transform: translateY(-4px); }
.step-num { display: inline-block; font-weight: 800; font-size: 14px; color: var(--ink); background: var(--lime); padding: 4px 10px; border-radius: 8px; margin-bottom: 20px; }
.step h3 { font-size: 21px; }
.step p { margin: 0; font-size: 15.5px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); aspect-ratio: 585 / 426; object-fit: cover; }
.about-media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: calc(var(--radius) + 6px); background: var(--lime); z-index: -1; opacity: .9; }
.about-media { z-index: 0; }
.about-badge {
  position: absolute; left: -20px; bottom: 28px; display: flex; align-items: center; gap: 14px;
  background: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg);
}
.about-badge strong { font-size: 24px; font-weight: 800; color: var(--ink); background: var(--lime-50); padding: 6px 10px; border-radius: 10px; }
.about-badge span { font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.35; }
.about-copy > p { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats div { margin: 0; }
.stats dt { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.stats dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); font-weight: 500; }

/* Contact */
.contact { padding-top: 0; }
.contact-panel {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: calc(var(--radius) + 10px); padding: 56px;
}
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--lime-700); text-decoration: underline; }
.ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--lime-700); }

.contact-form { display: grid; gap: 16px; background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--lime-600); box-shadow: 0 0 0 4px rgba(157, 195, 59, .2); }
.contact-form .invalid { border-color: #c2412d; }
.contact-form button { justify-self: start; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-fine { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
.form-note:empty { display: none; }
.form-note.ok { color: var(--lime-700); font-weight: 600; }
.form-note.err { color: #c2412d; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form button[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Footer */
.site-footer { background: var(--ink); color: #9fb0a6; padding: 72px 0 0; margin-top: 110px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand img { height: 38px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 26em; font-size: 15px; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.footer-col a, .footer-bottom a { text-decoration: none; transition: color .2s; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom p { margin: 0; }

/* Thank-you page */
.thanks { min-height: calc(100vh - 76px); display: grid; place-items: center; }
.thanks-card { position: relative; max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: 56px 40px; box-shadow: var(--shadow-lg); }
.thanks-card h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.thanks-card .lead { margin: 0 auto 28px; }
.thanks-icon { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.thanks-icon .i { width: 30px; height: 30px; stroke-width: 3; }

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

/* Responsive */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(14, 26, 20, .08);
    padding: 8px 24px 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; }

  .hero { padding: 48px 0 72px; }
  .hero-grid, .about-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .service-feature { grid-template-columns: 1fr; padding: 36px 28px; }
  .about-grid { gap: 64px; }
  .about-media { margin-right: 24px; }
  .contact-panel { padding: 36px 28px; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-blob { width: 300px; height: 300px; }
  .hero-visual { min-height: 380px; }
  .fc-1 { left: 0; top: 0; }
  .fc-2 { right: 0; bottom: 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .contact-panel { padding: 28px 16px; border-radius: var(--radius); }
  .contact-form { padding: 22px; }
  .contact-form button { justify-self: stretch; }
  .about-badge { left: 12px; bottom: 12px; padding: 10px 12px; gap: 10px; }
  .about-badge strong { font-size: 18px; }
  .about-badge span { font-size: 12px; }
  .footer-grid { padding-bottom: 36px; }
  .serve .container { justify-content: center; text-align: center; }
  .serve-list { justify-content: center; gap: 12px 24px; }
  .site-footer { margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
