/* ==========================================================================
   BeWag Solutions — design system
   Sibling of bewag.org: same bones (Questrial/Outfit, hexagon motif, pill
   buttons, gold ramp), inverted temperature. Ink is the page, cream is the
   type, gold is the accent, and a cool teal carries the product chrome.
   ========================================================================== */

:root {
  /* --- surfaces --- */
  --bg:          #141310;
  --bg-soft:     #1A1814;
  --surface:     #1F1C17;
  --surface-2:   #272218;
  --line:        rgba(251, 244, 228, .10);
  --line-strong: rgba(251, 244, 228, .20);

  /* --- type --- */
  --ink:   #FBF4E4;
  --muted: #B7AD94;
  --faint: #8A8169;

  /* --- gold: inherited straight from bewag.org --- */
  --gold:          #D2A32A;
  --gold-bright:   #F6C63F;
  --gold-brighter: #FFD86A;
  --gold-deep:     #A87E14;
  --gold-wash:     rgba(246, 198, 63, .12);

  /* --- cool secondary: new here, for prices, specs & product chrome --- */
  --cool:        #5CCBBE;
  --cool-bright: #86E6DA;
  --cool-deep:   #2A9D8F;
  --cool-wash:   rgba(92, 203, 190, .12);

  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --comb: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2728%27%20height=%2749%27%20viewBox=%270%200%2028%2049%27%3E%3Cpath%20d=%27M13.99%209.25l13%207.5v15l-13%207.5L1%2031.75v-15l12.99-7.5zM3%2038.59l-2.83-1.63M27%2038.59l2.83-1.63M13.99%204.5V.02M13.99%2049v-4.5%27%20stroke=%27%23D2A32A%27%20stroke-width=%271%27%20fill=%27none%27%3E%3C/path%3E%3C/svg%3E");

  --r:    20px;
  --r-lg: 26px;
  --pad:  64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Outfit', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--gold-brighter); }

img { max-width: 100%; }

h1, h2, h3, .display {
  font-family: 'Questrial', sans-serif;
  font-weight: 400;
}

:focus-visible {
  outline: 2px solid var(--cool);
  outline-offset: 3px;
  border-radius: 4px;
}

.page { max-width: 1180px; margin: 0 auto; position: relative; }

.skip {
  position: absolute; left: -9999px;
  background: var(--gold); color: #141310;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; z-index: 100;
}
.skip:focus { left: 24px; top: 16px; }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 19, 16, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad);
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { height: 28px; width: auto; }
.brand-name {
  font-family: 'Questrial', sans-serif;
  font-size: 26px;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--gold-bright);
}
.brand-name b { font-weight: 400; color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); border-bottom-color: var(--gold); }

/* the tie back to the parent org */
.kin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  transition: all .2s ease;
}
.kin:hover { color: var(--gold-bright); border-color: var(--line-strong); }
.kin .dot { width: 6px; height: 7px; clip-path: var(--hex); background: var(--gold); flex: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold-bright);
  color: #141310;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
}
.btn-gold:hover { background: var(--gold-brighter); color: #141310; transform: translateY(-2px); }

.btn-gold-lg { font-size: 17px; padding: 17px 36px; }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 27px;
}
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); transform: translateY(-2px); }

.btn-cool {
  background: var(--cool);
  color: #10201E;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
}
.btn-cool:hover { background: var(--cool-bright); color: #10201E; transform: translateY(-2px); }

.btn-sm { font-size: 14.5px; padding: 11px 22px; }

.btn-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-bright);
  cursor: pointer;
}
.btn-text:hover { color: var(--gold-brighter); }

/* ==========================================================================
   Shared bits
   ========================================================================== */

.eyebrow {
  display: inline-block;
  background: var(--gold-wash);
  color: var(--gold-bright);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}
.eyebrow.cool { background: var(--cool-wash); color: var(--cool); }

.chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}
.chip.gold { color: var(--gold-bright); border-color: rgba(246, 198, 63, .3); background: var(--gold-wash); }
.chip.cool { color: var(--cool); border-color: rgba(92, 203, 190, .3); background: var(--cool-wash); }

.hexicon {
  display: grid;
  place-items: center;
  width: 46px; height: 53px;
  clip-path: var(--hex);
  background: var(--gold);
  font-size: 20px; line-height: 1;
  flex: none;
}
.hexicon.cool { background: var(--cool); }

.section { padding: 64px var(--pad); }
.section.tight { padding-top: 32px; }
.section h2 { font-size: 36px; margin: 0 0 10px; line-height: 1.12; }
.section .lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 660px;
  margin: 0 0 36px;
}
.section-head { margin-bottom: 36px; }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-bottom: 0; }

.rule {
  height: 49px;
  margin: 0 var(--pad);
  opacity: .22;
  background-image: var(--comb);
  background-size: 28px 49px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}

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

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  padding: 72px var(--pad) 84px;
  overflow: hidden;
}
.hero-comb {
  position: absolute;
  inset: 0 0 auto auto;
  width: 620px; height: 560px;
  background-image: var(--comb);
  background-size: 28px 49px;
  opacity: .16;
  -webkit-mask-image: radial-gradient(60% 60% at 70% 35%, #000, transparent 72%);
  mask-image: radial-gradient(60% 60% at 70% 35%, #000, transparent 72%);
  pointer-events: none;
}
.hero-copy { position: relative; }
.hero h1 {
  font-size: 60px;
  line-height: 1.04;
  margin: 22px 0 0;
  letter-spacing: -.01em;
}
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.hero p.sub {
  font-size: 19px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 500px;
  margin: 22px 0 0;
}
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { width: 8px; height: 9px; clip-path: var(--hex); background: var(--gold); font-style: normal; flex: none; }

/* --- hero visual: a stylised product surface --- */
.hero-art { position: relative; }
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.panel-bar .dots { display: flex; gap: 6px; }
.panel-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.panel-bar .dots i:first-child { background: var(--gold); }
.panel-bar .title { font-size: 12.5px; color: var(--faint); letter-spacing: .04em; margin-left: 6px; }
.panel-body { padding: 20px; }

.row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  margin-bottom: 9px;
  font-size: 14px;
}
.row:last-child { margin-bottom: 0; }
.row .who { color: var(--ink); font-weight: 500; }
.row .amt { color: var(--muted); font-variant-numeric: tabular-nums; }
.row .pill {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 999px;
}
.row.paid    { border-color: rgba(92, 203, 190, .26); }
.row.paid    .pill { background: var(--cool-wash); color: var(--cool); }
.row.partial { border-color: rgba(246, 198, 63, .26); }
.row.partial .pill { background: var(--gold-wash); color: var(--gold-bright); }
.row.due     { border-color: rgba(233, 110, 92, .28); }
.row.due     .pill { background: rgba(233, 110, 92, .14); color: #E96E5C; }

.panel-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 13px; color: var(--faint);
}
.panel-foot b { color: var(--cool); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Sits on the panel's empty top-right corner — anywhere along the bottom
   collides with the reconciliation line in the footer. */
.bee-float {
  position: absolute;
  right: -26px; top: -30px;
  height: 76px;
  transform: rotate(14deg);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .55));
}

/* ==========================================================================
   Subpage hero
   ========================================================================== */

.subhero {
  position: relative;
  padding: 62px var(--pad) 18px;
  max-width: 860px;
  overflow: hidden;
}
.subhero h1 { font-size: 50px; line-height: 1.06; margin: 18px 0 0; letter-spacing: -.01em; }
.subhero h1 em { font-style: normal; color: var(--gold-bright); }
.subhero p { font-size: 18.5px; line-height: 1.64; color: var(--muted); margin: 20px 0 0; }
.subhero .hero-actions { margin-top: 30px; }

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 30px 32px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card h3 { font-size: 23px; margin: 18px 0 0; }
.card p { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin: 10px 0 0; }
.card .btn-text { display: inline-block; margin-top: 18px; }

.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

.card.accent-gold:hover { border-color: rgba(246, 198, 63, .42); }
.card.accent-cool:hover { border-color: rgba(92, 203, 190, .42); }

.card .num {
  font-family: 'Questrial', sans-serif;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--faint);
}

/* feature list inside cards */
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 10px 0;
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 10px; height: 11px;
  clip-path: var(--hex);
  background: var(--gold);
}
.ticks.cool li::before { background: var(--cool); }
.ticks strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Product cards — the commerce layer bewag.org doesn't have
   ========================================================================== */

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.product:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.product.featured {
  border-color: rgba(246, 198, 63, .38);
  background: linear-gradient(180deg, rgba(246, 198, 63, .05), transparent 220px), var(--surface);
}

.product-head { padding: 30px 30px 0; }
.product-head h3 { font-size: 26px; margin: 16px 0 0; }
.product-head p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; }
.product-body { padding: 0 30px; flex: 1; }

.price-rail {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 30px 0;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.price-rail .from { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.price-rail .amount {
  font-family: 'Questrial', sans-serif;
  font-size: 34px;
  color: var(--cool);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.price-rail .unit { font-size: 14px; color: var(--muted); }

.product-foot { padding: 24px 30px 30px; }
.product-foot .btn { width: 100%; text-align: center; }
.product-note { font-size: 13px; color: var(--faint); margin: 12px 0 0; text-align: center; }

.ribbon {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em;
  color: #141310; background: var(--gold-bright);
  padding: 5px 11px; border-radius: 999px;
}

/* --- spec table --- */
.spec-wrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; margin-top: 8px; min-width: 520px; }
.spec th, .spec td {
  text-align: left;
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.spec th { color: var(--faint); font-weight: 600; width: 38%; }
.spec td { color: var(--muted); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec .yes { color: var(--cool); font-weight: 600; }

/* ==========================================================================
   Case studies / portfolio
   ========================================================================== */

.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
  transition: border-color .25s ease;
}
.case:hover { border-color: var(--line-strong); }
.case-copy { padding: 38px 40px; }
.case-copy h3 { font-size: 27px; margin: 16px 0 0; }
.case-copy > p { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin: 12px 0 0; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.case-art {
  position: relative;
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 34px;
  min-height: 300px;
}
.case.flip .case-copy { order: 2; }
.case.flip .case-art { border-left: 0; border-right: 1px solid var(--line); }

.case-shot {
  width: 100%;
  min-height: 230px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  padding: 20px;
}

.metrics { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.metric .val {
  font-family: 'Questrial', sans-serif;
  font-size: 28px;
  color: var(--cool);
  line-height: 1;
}
.metric .lbl { font-size: 12.5px; color: var(--faint); margin-top: 6px; letter-spacing: .03em; }

/* ==========================================================================
   Steps
   ========================================================================== */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 4px; }
.step .num {
  display: grid; place-items: center;
  width: 46px; height: 53px;
  clip-path: var(--hex);
  background: var(--gold-bright);
  color: #141310;
  font-weight: 800; font-size: 18px;
}
.step h3 { font-size: 20px; margin: 18px 0 0; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 8px 0 0; }

/* ==========================================================================
   Band (raised panel) + CTA
   ========================================================================== */

.band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin: 24px var(--pad);
  padding: 48px 52px;
}
.band h2 { font-size: 32px; margin: 0 0 10px; }
.band .lead { margin-bottom: 26px; }

.cta {
  position: relative;
  margin: 40px var(--pad) 64px;
  background: var(--gold);
  border-radius: 30px;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
}
.cta .bee-bg {
  position: absolute;
  right: 230px; bottom: -34px;
  height: 172px; opacity: .22;
  transform: rotate(14deg);
}
.cta-copy { position: relative; }
.cta h2 { font-size: 38px; margin: 0; color: #141310; }
.cta p { font-size: 16px; color: rgba(20, 19, 16, .72); margin: 10px 0 0; max-width: 520px; }
.btn-cta {
  position: relative;
  background: #141310;
  color: var(--gold-bright);
  font-size: 17px; font-weight: 600;
  padding: 17px 36px;
  border-radius: 999px;
  flex: none;
  transition: transform .2s ease;
}
.btn-cta:hover { transform: scale(1.04); color: var(--gold-bright); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 17.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold-bright);
  font-size: 22px;
  line-height: 1;
  flex: none;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 15.5px; line-height: 1.68; color: var(--muted); margin: 14px 0 0; max-width: 760px; }

/* ==========================================================================
   Form
   ========================================================================== */

.form { max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field .opt { color: var(--faint); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: var(--bg-soft);
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
}
.field select option { background: var(--bg-soft); color: var(--ink); }

.form-note { font-size: 13.5px; color: var(--faint); margin-top: 14px; line-height: 1.6; }
.form-ok {
  display: none;
  background: var(--cool-wash);
  border: 1px solid rgba(92, 203, 190, .3);
  color: var(--cool-bright);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 16px;
}
.form-ok.show { display: block; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  padding: 24px var(--pad) 56px;
  align-items: start;
}
.contact-aside .card { margin-bottom: 18px; }
.contact-aside .card:hover { transform: none; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--line);
  padding: 46px var(--pad) 34px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
}
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--faint);
  max-width: 300px;
  margin: 16px 0 0;
}
.footer h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; }
.footer li a { font-size: 14.5px; color: var(--muted); }
.footer li a:hover { color: var(--gold-bright); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--faint);
}
.footer-bottom a { color: var(--faint); }
.footer-bottom a:hover { color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
  :root { --pad: 40px; }
  .hero { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { max-width: 540px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --pad: 28px; }
  .nav { flex-wrap: wrap; gap: 14px; padding: 14px var(--pad); }
  .nav-links { gap: 20px; width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .kin { display: none; }

  .hero { padding: 44px var(--pad) 56px; }
  .hero h1 { font-size: 42px; }
  .hero p.sub { font-size: 17.5px; }
  .hero-comb { width: 100%; opacity: .1; }

  .subhero { padding: 40px var(--pad) 8px; }
  .subhero h1 { font-size: 38px; }
  .subhero p { font-size: 17px; }

  .section { padding: 46px var(--pad); }
  .section h2 { font-size: 29px; }

  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }

  .case { grid-template-columns: 1fr; }
  .case-copy { padding: 30px 28px; }
  .case.flip .case-copy { order: 0; }
  .case-art { border-left: 0; border-right: 0; border-top: 1px solid var(--line); min-height: 230px; padding: 24px; }
  .case.flip .case-art { border-right: 0; }

  .band { margin: 20px var(--pad); padding: 34px 28px; }
  .band h2 { font-size: 27px; }

  .cta {
    margin: 32px var(--pad) 48px;
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 30px;
  }
  .cta h2 { font-size: 29px; }
  .cta .bee-bg { right: 16px; bottom: -40px; height: 140px; }

  .contact-grid { grid-template-columns: 1fr; padding: 18px var(--pad) 44px; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 34px; }
  .subhero h1 { font-size: 31px; }
  .section h2 { font-size: 25px; }
  .brand-name { font-size: 22px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .footer-top { grid-template-columns: 1fr; }
  .metrics { gap: 20px; }
}

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