/* Safety Solutions — site styles */

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161a17;
  --ink-2: #2a302c;
  --muted: #5b645e;
  --faint: #9aa59e;
  --line: #e2e7e3;
  --white: #ffffff;
  --sage-50: #f3f6f3;
  --sage-100: #e9eeea;
  --sage-200: #dfe5e0;
  --sage-500: #7f8f86;
  --sage-700: #4c5a52;
  --panel-dark: #1d2420;
  --accent: #f2c21b;          /* safety yellow */
  --accent-soft: #fbf1c4;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-pill); }
.skip:focus { left: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; white-space: nowrap; align-items: center; gap: 12px; font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s; }
.nav-links a:hover { background: var(--sage-50); }
.nav-links a[aria-current="page"] { background: var(--sage-100); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: var(--sage-50); cursor: pointer; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 50px; padding: 0 22px; border-radius: var(--radius-pill);
  font-size: 15.5px; font-weight: 500; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: 0 8px 22px -10px rgba(0,0,0,.45); }
.btn-light { background: var(--sage-50); color: var(--ink); }
.btn-light:hover { background: var(--sage-100); }
.btn-white { background: #fff; color: var(--ink); }
.btn-ghost-light { background: rgba(255,255,255,.14); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); }
.btn-arrow { padding-right: 6px; }
.btn-arrow .arrow {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); transition: transform .25s var(--ease);
}
.btn-sm.btn-arrow { padding-right: 4px; }
.btn-sm.btn-arrow .arrow { width: 34px; height: 34px; }
.btn-white .arrow { background: var(--sage-500); color: #fff; }
.btn:hover .arrow { transform: rotate(45deg); }
.arrow svg { width: 16px; height: 16px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--sage-50); font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.section-tint .pill { background: #fff; }
.pill-on-dark { background: rgba(255,255,255,.14); color: #fff; }
.pill-on-dark::before { box-shadow: 0 0 0 3px rgba(242,194,27,.25); }

.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15.5px; }
.link-arrow .arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-100); transition: transform .25s var(--ease), background .2s; }
.link-arrow:hover .arrow { transform: rotate(45deg); background: var(--accent); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tint { background: var(--sage-50); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); display: grid; justify-items: center; gap: 18px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); }
.section-head p { color: var(--muted); font-size: 18px; max-width: 560px; }
.split-head { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 56px); }
.split-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 18px; }
.split-head p { color: var(--muted); max-width: 340px; }
.split-head .btn { justify-self: start; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 96px); text-align: center; }
.hero .pill { margin-bottom: 26px; }
.hero h1 { font-size: clamp(40px, 7vw, 80px); font-weight: 500; letter-spacing: -0.035em; max-width: 960px; margin-inline: auto; }
.hero-lead { margin: 24px auto 0; max-width: 600px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.hero-ctas { margin-top: 36px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.showcase {
  margin-top: clamp(48px, 7vw, 80px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #a9b5ad 0%, #74857b 55%, #5b6b62 100%);
  padding: clamp(28px, 6vw, 72px) clamp(16px, 6vw, 96px) 0;
  overflow: hidden;
  position: relative;
}
.showcase::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,.28), transparent 70%);
}

/* Dark "program board" UI used as product-style imagery */
.board {
  position: relative;
  background: rgba(24, 30, 27, .92);
  color: #e9eeea;
  border-radius: 20px 20px 0 0;
  border: 1px solid rgba(255,255,255,.08);
  border-bottom: 0;
  padding: 18px;
  text-align: left;
  font-size: 13px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.45);
}
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.board-brand { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; }
.board-brand .brand-mark { width: 26px; height: 26px; }
.board-tabs { display: flex; gap: 4px; background: rgba(255,255,255,.06); padding: 4px; border-radius: var(--radius-pill); }
.board-tabs span { padding: 5px 12px; border-radius: var(--radius-pill); font-size: 12px; color: rgba(255,255,255,.65); }
.board-tabs span.on { background: #fff; color: var(--ink); }
.board-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.tile { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 14px; }
.tile-label { color: rgba(255,255,255,.55); font-size: 11.5px; display: flex; align-items: center; gap: 6px; }
.tile-label::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.tile-title { font-size: 15px; font-weight: 500; margin-top: 6px; }
.roadmap { display: grid; gap: 8px; margin-top: 12px; }
.roadmap-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); }
.roadmap-row .num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: rgba(255,255,255,.1); }
.roadmap-row.done .num { background: var(--accent); color: var(--ink); }
.status { font-size: 11px; padding: 3px 9px; border-radius: var(--radius-pill); white-space: nowrap; }
.status.complete { background: rgba(120, 200, 140, .18); color: #9fe0b0; }
.status.progress { background: rgba(242, 194, 27, .18); color: #f5d46a; }
.status.planned { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.board-side { display: grid; gap: 12px; align-content: start; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meter { margin-top: 12px; height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--accent), #f7dc72); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; margin-top: 12px; }
.bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: rgba(255,255,255,.12); }
.bars i.hi { background: var(--accent); }
.checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 7px; color: rgba(255,255,255,.8); }
.checks li { display: flex; gap: 8px; align-items: center; }
.checks li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; flex: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23161a17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks li.todo::before { background: rgba(255,255,255,.12); }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; grid-template-rows: auto auto; gap: 16px; }
.card {
  position: relative; border-radius: var(--radius-lg); background: var(--sage-50);
  padding: 28px; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(22,26,23,.35); background: var(--sage-100); }
.card .icon { position: absolute; top: 28px; left: 28px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-200); color: var(--ink-2); }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 23px; }
.card p { color: var(--muted); font-size: 15.5px; max-width: 300px; }
.card-feature { color: #fff; background: var(--panel-dark); }
.card-feature:hover { background: var(--panel-dark); }
.card-feature::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(242,194,27,.35), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(127,143,134,.6), transparent 60%),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 14px, transparent 14px 28px);
}
.card-feature > * { position: relative; }
.card-feature .icon { background: rgba(255,255,255,.16); color: #fff; position: absolute; }
.card-feature p { color: rgba(255,255,255,.8); }
.card-image {
  grid-column: 3; grid-row: 1 / span 2; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #b7c2bb, #6f8077);
  padding: 32px 0 0 32px; display: flex; align-items: flex-end; position: relative;
}
.card-image .board { border-radius: 18px 0 0 0; border-right: 0; width: 100%; }
.card-image .board .roadmap { margin-top: 4px; }

/* ---------- Approach carousel ---------- */
.carousel { position: relative; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(760px, 86%); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 8px var(--gutter) 24px; margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter)));
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.step {
  scroll-snap-align: start; display: grid; grid-template-columns: 1fr 1fr; min-height: 320px;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 20px 50px -34px rgba(22,26,23,.4);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.step-body { padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.step-num { font-size: 13px; font-weight: 500; color: var(--sage-500); letter-spacing: .08em; text-transform: uppercase; }
.step h3 { font-size: clamp(24px, 2.4vw, 30px); }
.step p { color: var(--muted); font-size: 15.5px; }
.step .link-arrow { margin-top: auto; }
.step-art { position: relative; background: var(--sage-200); overflow: hidden; }
.step-art .art-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.step-art .chips { position: absolute; top: 18px; right: 18px; display: grid; gap: 8px; justify-items: end; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--radius-pill); background: rgba(22,26,23,.72); color: #fff; font-size: 12.5px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chip b { font-weight: 500; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.carousel-ui { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.dots { display: flex; gap: 8px; align-items: center; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: var(--sage-500); opacity: .5; cursor: pointer; transition: width .3s var(--ease), opacity .3s; }
.dots button[aria-current="true"] { width: 56px; opacity: 1; background: var(--sage-700); }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); transition: background .2s; }
.arrows button:hover { background: var(--sage-100); }
.arrows button:disabled { opacity: .35; cursor: default; }
.arrows svg { width: 18px; height: 18px; }

/* ---------- Benefits (scroll-highlight) ---------- */
.benefits { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.benefits-visual { position: sticky; top: 120px; }
.visual-frame {
  border-radius: var(--radius-lg); aspect-ratio: 5 / 4; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #9fb0a6 0%, #5f7167 100%);
  display: grid; place-items: center; padding: 8%;
}
.visual-frame::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 16px, transparent 16px 32px); }
.visual-frame .board { grid-area: 1 / 1; border-radius: 18px; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.visual-frame .board:not(.on) { opacity: 0; transform: translateY(10px) scale(.985); pointer-events: none; }
.benefit-list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.benefit {
  padding: clamp(40px, 9vh, 90px) 0 clamp(40px, 9vh, 90px) 32px; position: relative;
  opacity: .32; transition: opacity .4s var(--ease);
}
.benefit::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.benefit.is-active { opacity: 1; }
.benefit.is-active::before { transform: scaleY(1); }
.benefit h3 { font-size: clamp(26px, 2.8vw, 34px); }
.benefit p { margin-top: 14px; color: var(--muted); max-width: 380px; }

/* ---------- CTA band ---------- */
.cta {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(135deg, #8a9a90 0%, #66776d 100%);
  color: #fff; display: grid; grid-template-columns: 1fr 1fr; min-height: 420px;
}
.cta-body { padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(34px, 4.4vw, 52px); }
.cta p { color: rgba(255,255,255,.82); max-width: 400px; }
.cta .hero-ctas { justify-content: flex-start; margin-top: auto; padding-top: 24px; }
.cta-art { position: relative; padding: 48px 0 0 0; display: flex; align-items: flex-end; }
.cta-art .board { border-radius: 18px 0 0 0; border-right: 0; width: 100%; background: rgba(24,30,27,.55); backdrop-filter: blur(4px); }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid p { color: var(--muted); margin-top: 16px; max-width: 320px; font-size: 15.5px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 500; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15.5px; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: var(--faint); font-size: 14px; flex-wrap: wrap; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.03em; margin-top: 22px; }
.page-hero p { margin: 22px auto 0; max-width: 620px; color: var(--muted); font-size: 19px; }

.svc-nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 32px; }

.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:first-of-type { border-top: 0; }
.svc:nth-of-type(even) .svc-art { order: -1; }
.svc-body { display: grid; gap: 18px; align-content: start; }
.svc-body h2 { font-size: clamp(30px, 3.6vw, 44px); }
.svc-body > p { color: var(--muted); font-size: 18px; }
.svc-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.svc-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.svc-list li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23161a17' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.svc-art { border-radius: var(--radius-lg); aspect-ratio: 6 / 5; position: relative; overflow: hidden; background: linear-gradient(160deg, #b1bdb5 0%, #6b7c72 100%); display: grid; place-items: center; padding: 9%; }
.svc-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 16px, transparent 16px 32px); }
.svc-art .board { border-radius: 18px; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
.contact-card { border-radius: var(--radius-lg); background: var(--panel-dark); color: #fff; padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(100% 70% at 100% 0%, rgba(242,194,27,.22), transparent 60%), repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px); }
.contact-card > * { position: relative; }
.contact-card h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 18px; }
.contact-card > p { color: rgba(255,255,255,.75); margin-top: 14px; }
.contact-lines { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.contact-lines li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-md); background: rgba(255,255,255,.07); }
.contact-lines .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); flex: none; }
.contact-lines .ico svg { width: 18px; height: 18px; }
.contact-lines small { display: block; color: rgba(255,255,255,.55); font-size: 12.5px; }
.contact-steps { margin-top: 32px; display: grid; gap: 10px; color: rgba(255,255,255,.8); font-size: 15px; }
.contact-steps b { color: #fff; font-weight: 500; }

.form { border-radius: var(--radius-lg); background: var(--sage-50); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 0; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22,26,23,.08); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips-select label { position: relative; cursor: pointer; }
.chips-select input { position: absolute; opacity: 0; pointer-events: none; }
.chips-select span { display: inline-block; padding: 9px 16px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 400; transition: background .2s, border-color .2s; }
.chips-select input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips-select input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-status { font-size: 15px; padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); display: none; }
.form-status.show { display: block; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .card-image { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
  .split-head { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .nav-actions .btn-light { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav-open .nav-links {
    display: grid; position: absolute; top: 76px; left: 0; right: 0; padding: 12px var(--gutter) 20px;
    background: #fff; border-bottom: 1px solid var(--line); gap: 4px;
  }
  .nav-open .nav-links a { padding: 14px 16px; font-size: 17px; }
  .board-grid { grid-template-columns: 1fr; }
  .board-side { display: none; }
  .benefits { grid-template-columns: 1fr; }
  .benefits-visual { position: relative; top: 0; }
  .visual-frame { aspect-ratio: auto; }
  .benefit { opacity: 1; padding-block: 28px; }
  .benefit::before { transform: scaleY(1); background: var(--line); }
  .cta { grid-template-columns: 1fr; }
  .cta-art { display: none; }
  .svc, .contact-grid { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) .svc-art { order: 0; }
  .step { grid-template-columns: 1fr; }
  .step-art { min-height: 180px; order: -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .card { min-height: 220px; }
  .board-tabs span:not(.on) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-dark { display: none; }
}
