/* ============================================================================
   Corbie — corbietech.com integrated site
   Design system. Brand: Green #8CC31F, Navy #192048.
   Static, dependency-free (Google Fonts only). Minimal by design.
   ========================================================================== */

:root {
  --green: #8cc31f;
  --green-600: #79ad14;
  --green-050: #f3f8e7;
  --navy: #192048;
  --navy-700: #232c5e;
  --ink: #14161f;
  --body: #4a4f5c;
  --muted: #6b7280;
  --line: #e7e8ec;
  --bg: #ffffff;
  --soft: #f4f5f3;
  --card: #ffffff;

  --maxw: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 22, 31, .04), 0 12px 30px rgba(20, 22, 31, .06);
  --shadow-sm: 0 1px 2px rgba(20, 22, 31, .05), 0 6px 16px rgba(20, 22, 31, .05);

  --font-display: "Poppins", "Cera Pro", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.soft { background: var(--soft); }

/* ---- eyebrow / kicker ---------------------------------------------------- */
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  background: #eef0f4;
  border-radius: 999px;
  padding: 9px 16px;
  margin-bottom: 26px;
}
.eyebrow {
  font-weight: 700; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  border-radius: 999px; padding: 14px 26px; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: #1c2b06; box-shadow: 0 8px 20px rgba(140, 195, 31, .35); }
.btn--primary:hover { background: var(--green-600); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #c9ccd4; }
.btn--onnavy { background: var(--green); color: #1c2b06; }
.linkarrow { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.linkarrow:hover { color: var(--green-600); }
.link-muted { color: #cfd3e0; text-decoration: underline; text-underline-offset: 3px; }

/* ---- top nav ------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -0.02em; }
.brand .dot { color: var(--green); }
.nav__links { display: flex; gap: 6px; margin-left: 18px; }
.nav__links a {
  font-weight: 500; font-size: .96rem; color: #3d414d;
  padding: 8px 12px; border-radius: 8px; transition: background .15s, color .15s;
}
.nav__links a:hover { background: #f2f3f5; color: var(--ink); }
.nav__links a.active { color: var(--ink); font-weight: 600; }
.nav__spacer { flex: 1; }
.langtoggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff;
}
.langtoggle button {
  font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .02em;
  border: 0; background: transparent; color: var(--muted); padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.langtoggle button.on { background: var(--navy); color: #fff; }
.nav__cta { }
.navtoggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.navtoggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---- hero ---------------------------------------------------------------- */
.hero { padding: 78px 0 64px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero p.lead { font-size: 1.16rem; color: var(--body); max-width: 30em; margin-bottom: 30px; }
.hero__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__mail { color: var(--muted); font-size: .95rem; margin-top: 18px; }

/* ---- decorative visual blocks (no external images) ----------------------- */
.visual {
  border-radius: var(--radius); min-height: 420px; position: relative; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.visual--green { background:
  radial-gradient(120% 120% at 15% 15%, #a7d63e 0%, #8cc31f 42%, #6fa015 100%); }
.visual--navy { background:
  radial-gradient(130% 130% at 85% 10%, #2b356f 0%, #192048 55%, #10152f 100%); }
.visual--soft { background: linear-gradient(160deg, #eef1f4 0%, #e7ebe1 100%); }
.visual__glyph { position: absolute; inset: 0; opacity: .9; }
.visual__tag {
  position: absolute; left: 22px; bottom: 20px; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  background: rgba(0,0,0,.18); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(4px);
}
.visual--soft .visual__tag { color: var(--navy); background: rgba(255,255,255,.6); }

/* ---- generic prose block ------------------------------------------------- */
.prose-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.lede { font-size: 1.18rem; color: var(--body); }
.center { text-align: center; }
.center .lead { max-width: 44ch; margin-left: auto; margin-right: auto; }

/* ---- cards --------------------------------------------------------------- */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--body); font-size: .98rem; margin: 0; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-050); color: var(--green-600); margin-bottom: 18px;
}
.card--link { display: flex; flex-direction: column; }
.card--link .linkarrow { margin-top: 20px; align-self: flex-start; }
.card__mini { font-size: .95rem; color: var(--body); }

/* ---- feature row (product little cards on soft bg) ----------------------- */
.miniquilt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.miniquilt .card { box-shadow: var(--shadow-sm); }

/* ---- logos / proof ------------------------------------------------------- */
.proof-chips { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.chip {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 26px; background: #fff;
  font-family: var(--font-display); font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm);
}

/* ---- dark CTA band ------------------------------------------------------- */
.band { background: var(--navy); border-radius: 26px; color: #fff; padding: 68px 40px; text-align: center; }
.band h2 { color: #fff; margin-bottom: 26px; }
.band .sub { color: #b9c0d8; margin: -12px auto 26px; max-width: 44ch; }
.band__cta { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }
.band__mail { color: #8f97b6; font-size: .95rem; }

/* ---- footer -------------------------------------------------------------- */
.foot { padding: 66px 0 40px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot .brand { display: inline-block; margin-bottom: 14px; }
.foot p { color: var(--muted); font-size: .96rem; max-width: 30ch; }
.foot__col h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 700; }
.foot__col a { display: block; color: #3d414d; padding: 5px 0; font-size: .97rem; }
.foot__col a:hover { color: var(--green-600); }
.foot__legal { max-width: var(--maxw); margin: 40px auto 0; padding: 22px 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

/* ---- helpers ------------------------------------------------------------- */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.stack > * + * { margin-top: 18px; }
[hidden] { display: none !important; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .navtoggle { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px; gap: 2px; margin: 0;
  }
  .hero__grid, .prose-2col { grid-template-columns: 1fr; gap: 34px; }
  .cards--3, .cards--2, .miniquilt { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .visual { min-height: 300px; }
}
@media (max-width: 560px) {
  .foot__grid { grid-template-columns: 1fr; }
  .band { padding: 48px 22px; border-radius: 20px; }
  .hero { padding: 48px 0 40px; }
}
