/* ============================================================
   Workbay Group — site design system
   Editorial consulting aesthetic: big grotesque headlines,
   warm paper surfaces, ink-dark feature bands, plum accent
   drawn from the Workbay logomark (#B939D7 / #373643 / #FF9900)
   ============================================================ */

:root {
  --paper: #F7F5F0;
  --white: #FFFFFF;
  --ink: #25242C;
  --ink-2: #5E5C68;
  --night: #16151C;
  --night-2: #201F28;
  --line: #E3E0D8;
  --line-dark: rgba(255, 255, 255, 0.13);

  --accent: #B939D7;
  --accent-deep: #8E22AB;
  --accent-soft: #F7E9FB;
  --amber: #FF9900;

  --font-head: "Bricolage Grotesque", "Source Serif 4", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-serif: "Source Serif 4", serif;

  --maxw: 1240px;
  --r-lg: 22px;
  --r-md: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

html[data-font="serif"] {
  --font-head: "Source Serif 4", "Bricolage Grotesque", serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

html[data-font="serif"] h1,
html[data-font="serif"] h2,
html[data-font="serif"] h3,
html[data-font="serif"] h4 { font-weight: 600; letter-spacing: -0.012em; }

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---- type helpers ---- */

.fancy {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent-deep);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--amber);
  flex: none;
}

.on-dark .eyebrow { color: rgba(255, 255, 255, 0.62); }

.lede {
  font-size: 19.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
}

.on-dark .lede { color: rgba(255, 255, 255, 0.68); }

/* ---- buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 7px 6px 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn .arr {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.3s var(--ease), background 0.25s var(--ease);
}

.btn .arr svg { width: 15px; height: 15px; }

.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn:hover .arr { transform: rotate(-45deg); background: rgba(255, 255, 255, 0.18); }

.btn.btn-outline { background: transparent; color: var(--ink); }
.btn.btn-outline .arr { background: var(--ink); }
.btn.btn-outline:hover { background: var(--ink); color: #fff; }
.btn.btn-outline:hover .arr { background: var(--accent); }

.btn.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.btn-light .arr { background: var(--accent); color: #fff; }
.btn.btn-light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s, gap 0.25s var(--ease);
}

.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { color: var(--accent-deep); border-color: var(--accent-deep); gap: 12px; }

/* ---- topbar ---- */

.topbar {
  background: var(--night);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
}

.topbar-contacts { display: flex; align-items: center; gap: 26px; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.topbar-contacts a:hover { color: #fff; }
.topbar-contacts svg { width: 14px; height: 14px; opacity: 0.7; }

.topbar-social { display: flex; align-items: center; gap: 4px; }
.topbar-social a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.topbar-social a:hover { background: var(--accent); color: #fff; }
.topbar-social svg { width: 14px; height: 14px; }

/* ---- header ---- */

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.header.scrolled { border-bottom-color: var(--line); background: rgba(247, 245, 240, 0.96); }

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 78px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }

.nav > a, .nav .has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 550;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}

.nav > a:hover, .nav .has-sub > a:hover { background: rgba(37, 36, 44, 0.06); }
.nav > a.active, .nav .has-sub > a.active { background: var(--ink); color: #fff; }
.nav .has-sub > a.active:hover { background: var(--ink); }

.has-sub { position: relative; }
.has-sub > a svg { width: 11px; height: 11px; opacity: 0.55; transition: transform 0.25s; }
.has-sub:hover > a svg { transform: rotate(180deg); }

.sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 290px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 8px;
  box-shadow: 0 24px 60px -18px rgba(22, 21, 28, 0.22);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }

.sub a {
  display: grid;
  gap: 1px;
  padding: 11px 14px;
  border-radius: 10px;
  transition: background 0.18s;
}

.sub a:hover { background: var(--accent-soft); }
.sub a b { font-size: 15px; font-weight: 600; }
.sub a span { font-size: 13px; color: var(--ink-2); }

.header-cta { flex: none; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  place-items: center;
}

/* ---- hero ---- */

.hero { position: relative; overflow: clip; padding: 84px 0 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 88px;
}

.hero h1 {
  font-size: clamp(54px, 6.4vw, 92px);
  margin: 26px 0 28px;
}

.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 38px; }

.hero-visual { position: relative; }

.hero-badges {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 14px 36px -14px rgba(22, 21, 28, 0.26);
}

.chip .dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  flex: none;
}

.chip .dot svg { width: 13px; height: 13px; }

.stat-card {
  background: var(--night);
  color: #fff;
  border-radius: var(--r-md);
  padding: 18px 22px;
  display: grid;
  gap: 2px;
  box-shadow: 0 20px 48px -16px rgba(22, 21, 28, 0.45);
}

.stat-card b { font-family: var(--font-head); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.stat-card span { font-size: 13px; color: rgba(255, 255, 255, 0.62); }

/* ---- marquee ---- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 26s linear infinite;
}

html[data-motion="off"] .marquee-track { animation: none; }

@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-seq { display: flex; align-items: center; flex: none; }

.mq {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding: 0 18px;
}

.mq.ghost {
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(37, 36, 44, 0.4);
}

.mq-dot { width: 10px; height: 10px; background: var(--amber); flex: none; }

/* ---- sections ---- */

.section { padding: 110px 0; }
.section.tight { padding: 84px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

.section-head h2 { font-size: clamp(38px, 4vw, 56px); max-width: 18ch; margin-top: 18px; }
.section-head .side { max-width: 380px; padding-bottom: 6px; }

.on-dark { background: var(--night); color: #fff; }
.on-white { background: var(--white); }

/* ---- service rows (Gixus numbered list) ---- */

.svc-rows { border-top: 1px solid var(--line); }

.svc-row {
  display: grid;
  grid-template-columns: 110px 1.05fr 1.2fr 64px;
  gap: 40px;
  align-items: start;
  padding: 46px 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease);
}

.svc-row:hover { background: var(--white); }

.svc-num {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-2);
  padding-top: 8px;
  transition: color 0.25s;
}

.svc-row:hover .svc-num { color: var(--accent-deep); }

.svc-row h3 { font-size: clamp(26px, 2.6vw, 36px); max-width: 13ch; }
.svc-row h3 a::after { content: ""; position: absolute; inset: 0; }

.svc-body { display: grid; gap: 18px; }
.svc-body p { color: var(--ink-2); font-size: 16.5px; }

.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
}

.svc-row:hover .tag { border-color: #EBD9F2; background: var(--accent-soft); color: var(--accent-deep); }

.svc-go {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  justify-self: end;
  align-self: center;
  transition: background 0.28s var(--ease), border-color 0.28s, color 0.28s, transform 0.34s var(--ease);
}

.svc-go svg { width: 18px; height: 18px; }
.svc-row:hover .svc-go { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }

/* ---- stats band ---- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 16px 36px;
  border-left: 1px solid var(--line-dark);
  display: grid;
  gap: 8px;
  align-content: start;
}

.stat:first-child { border-left: none; padding-left: 0; }

.stat b {
  font-family: var(--font-head);
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat b sup { font-size: 0.45em; color: var(--accent); top: -0.85em; position: relative; }
.stat span { font-size: 15px; color: rgba(255, 255, 255, 0.6); max-width: 22ch; }

/* ---- feature cards (why us) ---- */

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.fcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 32px;
  display: grid;
  gap: 14px;
  align-content: start;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.3s;
}

.fcard:hover { transform: translateY(-6px); box-shadow: 0 26px 52px -22px rgba(22, 21, 28, 0.22); border-color: #EBD9F2; }

.fcard .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid; place-items: center;
}

.fcard .ic svg { width: 21px; height: 21px; }
.fcard h3 { font-size: 21px; }
.fcard p { font-size: 15.5px; color: var(--ink-2); }

.on-dark .fcard { background: var(--night-2); border-color: var(--line-dark); }
.on-dark .fcard p { color: rgba(255, 255, 255, 0.62); }
.on-dark .fcard:hover { border-color: rgba(185, 57, 215, 0.45); box-shadow: none; }
.on-dark .fcard .ic { background: rgba(185, 57, 215, 0.16); color: #E59BF5; }

/* ---- credentials / badges ---- */

.cred-band { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.cred {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 34px;
}

.cred .seal {
  width: 74px; height: 74px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  background: var(--night);
  color: #fff;
  position: relative;
}

.cred .seal::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(37, 36, 44, 0.35);
}

.cred.alt .seal { background: var(--accent-deep); }
.cred h3 { font-size: 20px; margin-bottom: 4px; }
.cred p { font-size: 15px; color: var(--ink-2); }

/* ---- platform / logo strip ---- */

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px 48px;
  padding: 38px 0 6px;
}

.wordmark {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0.42;
  transition: opacity 0.25s;
  white-space: nowrap;
}

.wordmark:hover { opacity: 1; }

/* ---- testimonials ---- */

.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.t-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 32px;
  display: grid;
  gap: 22px;
  align-content: space-between;
}

.t-card .q-mark {
  font-family: var(--font-serif);
  font-size: 58px;
  line-height: 0.6;
  color: var(--accent);
  height: 26px;
}

.t-card blockquote { margin: 0; font-size: 16.5px; line-height: 1.62; color: var(--ink); }

.t-meta { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }

.t-meta .av {
  width: 42px; height: 42px;
  border-radius: 50%;
  flex: none;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  background: var(--night);
  color: #fff;
}

.t-meta b { display: block; font-size: 15px; }
.t-meta span { font-size: 13.5px; color: var(--ink-2); }

/* ---- insights ---- */

.i-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.i-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.i-card:hover { transform: translateY(-6px); box-shadow: 0 26px 52px -22px rgba(22, 21, 28, 0.2); }
.i-card image-slot { width: 100%; height: 200px; }

.i-body { padding: 26px 26px 30px; display: grid; gap: 12px; align-content: start; }
.i-kicker { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }
.i-body h3 { font-size: 21px; line-height: 1.2; }
.i-body p { font-size: 15px; color: var(--ink-2); }

/* ---- CTA band ---- */

.cta-band { position: relative; overflow: clip; }

.cta-band .wrap {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 30px;
  padding-top: 110px;
  padding-bottom: 118px;
}

.cta-band h2 { font-size: clamp(42px, 5vw, 72px); max-width: 16ch; }

.cta-band .glow {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 57, 215, 0.22), transparent 62%);
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* ---- footer ---- */

.footer { background: var(--night); color: rgba(255, 255, 255, 0.66); font-size: 15px; }

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding: 76px 0 60px;
}

.footer-main .brand img { height: 44px; }
.footer-about { display: grid; gap: 22px; align-content: start; }
.footer-about p { max-width: 36ch; }

.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-family: var(--font-body); font-weight: 650; }

.footer-col { display: grid; gap: 11px; align-content: start; }
.footer-col a { transition: color 0.2s; width: fit-content; }
.footer-col a:hover { color: #fff; }

.footer-contact { display: grid; gap: 13px; align-content: start; }
.footer-contact a { display: flex; gap: 10px; align-items: center; transition: color 0.2s; }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 15px; height: 15px; opacity: 0.6; flex: none; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 24px 0;
}

.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13.5px; }

.footer-social { display: flex; gap: 6px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-social svg { width: 15px; height: 15px; }

/* ---- inner page hero ---- */

.page-hero { padding: 78px 0 0; }

.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 26px; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs .sep { opacity: 0.45; }

.page-hero h1 { font-size: clamp(46px, 5.6vw, 80px); max-width: 15ch; margin: 20px 0 26px; }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 72px;
}

.page-hero-side { display: grid; gap: 24px; padding-bottom: 8px; }

.fact-row { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 18px; }
.fact-row svg { width: 18px; height: 18px; color: var(--accent-deep); flex: none; margin-top: 4px; }
.fact-row p { font-size: 15.5px; color: var(--ink-2); }
.fact-row b { color: var(--ink); display: block; font-size: 16px; }

/* ---- big statement ---- */

.statement {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.018em;
  max-width: 26ch;
  text-wrap: balance;
}

.page-hero-visual { position: relative; }
.page-hero-visual image-slot { width: 100%; height: 440px; }
.split image-slot { width: 100%; height: 460px; }

.cta-band.on-white .lede { color: var(--ink-2); }

/* ---- contact ---- */

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 42px;
}

.contact-info { display: grid; gap: 6px; }

/* ---- capability grid (service pages) ---- */

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.cap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 34px;
  display: grid;
  gap: 13px;
  align-content: start;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.3s;
}

.cap:hover { transform: translateY(-6px); box-shadow: 0 26px 52px -22px rgba(22, 21, 28, 0.2); border-color: #EBD9F2; }

.cap .cap-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-deep);
}

.cap h3 { font-size: 21.5px; }
.cap p { font-size: 15.5px; color: var(--ink-2); }

/* ---- checklist ---- */

.check-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }

.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16.5px; }
.check-list li svg { width: 19px; height: 19px; color: var(--accent-deep); flex: none; margin-top: 4px; }
.on-dark .check-list li svg { color: #E59BF5; }

/* ---- industries (bookkeeping) ---- */

.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.ind {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 28px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.ind h3 { font-size: 18.5px; }
.ind ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.ind li { font-size: 14.5px; color: var(--ink-2); display: flex; gap: 9px; align-items: baseline; }
.ind li::before { content: ""; width: 5px; height: 5px; background: var(--amber); flex: none; position: relative; top: -2px; }

/* ---- split section ---- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-body { display: grid; gap: 24px; }
.split-body h2 { font-size: clamp(34px, 3.6vw, 50px); margin-top: 16px; }
.split-body p { color: var(--ink-2); }
.on-dark .split-body p { color: rgba(255, 255, 255, 0.68); }

/* ---- forms ---- */

.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }

.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(185, 57, 215, 0.14); }

.form-ok {
  display: none;
  background: var(--accent-soft);
  border: 1px solid #EBD9F2;
  color: var(--accent-deep);
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 15px;
}

.form-grid.sent .form-ok { display: block; }

/* ---- image slots ---- */

image-slot { display: block; }

.ph-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* ---- reveal animations ---- */

@media (prefers-reduced-motion: no-preference) {
  html.js-anim:not([data-motion="off"]) .rv {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  html.js-anim:not([data-motion="off"]) .rv.in { opacity: 1; transform: none; }
  html.js-anim:not([data-motion="off"]) .rv.d1 { transition-delay: 0.08s; }
  html.js-anim:not([data-motion="off"]) .rv.d2 { transition-delay: 0.16s; }
  html.js-anim:not([data-motion="off"]) .rv.d3 { transition-delay: 0.24s; }
}

/* ---- responsive ---- */

@media (max-width: 1080px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { gap: 40px 0; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .cap-grid, .t-grid, .i-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 64px 1fr 64px; }
  .svc-row .svc-body { grid-column: 2; }
  .svc-go { grid-row: 1; grid-column: 3; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  .topbar .topbar-contacts a span { display: none; }
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-btn { display: grid; }
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .cards-4, .cap-grid, .t-grid, .i-grid, .ind-grid, .cred-band, .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 0 0 0 24px; }
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .svc-row { grid-template-columns: 1fr; gap: 18px; padding: 34px 4px; }
  .svc-row .svc-body { grid-column: 1; }
  .svc-go { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 56px; }
  .mq { font-size: 30px; }
  .page-hero-visual image-slot, .split image-slot { height: 340px; }
  .contact-card { padding: 28px 22px; }
}

/* ---- mobile nav drawer ---- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--night);
  color: #fff;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a { font-family: var(--font-head); font-size: 30px; font-weight: 700; padding: 8px 18px; }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .close {
  position: absolute;
  top: 26px; right: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}


/* ---- production images (replace image-slots) ---- */

.ph-img { display: block; width: 100%; object-fit: cover; border-radius: var(--r-lg); }
.hero-visual .ph-img { height: 540px; }
.page-hero-visual .ph-img { height: 440px; }
.split .ph-img { height: 460px; }
.i-card .ph-img { height: 200px; border-radius: 0; }

@media (max-width: 1080px) {
  .hero-visual .ph-img { height: 420px; }
}
@media (max-width: 760px) {
  .page-hero-visual .ph-img, .split .ph-img { height: 340px; }
}
