/* ==========================================================================
   Technotri Pvt. Ltd. — site stylesheet
   Professional digital-health company site. White ground, navy ink, red
   accent, real photography, soft cards. Monospace only for small data labels.
   ========================================================================== */

:root {
  --white:     #ffffff;
  --bg:        #f5f8fb;
  --bg-2:      #eaf0f6;
  --ink:       #0f1e2e;
  --ink-2:     #24384b;
  --slate:     #536578;
  --slate-2:   #7d8fa1;
  --line:      #e2e9f0;
  --line-2:    #cbd6e2;

  --navy:      #0f1e2e;
  --navy-2:    #16293c;
  --navy-3:    #22394f;
  --on-dark:   #e9f0f7;
  --on-dark-2: #9fb2c4;

  --red:       #d31220;
  --red-2:     #ab0d19;
  --red-pale:  #fdeced;
  --red-dim:   #ff6b73;

  --shadow-s: 0 1px 2px rgba(15,30,46,.06), 0 2px 8px rgba(15,30,46,.05);
  --shadow-m: 0 4px 12px rgba(15,30,46,.08), 0 12px 32px rgba(15,30,46,.08);
  --shadow-l: 0 18px 50px rgba(15,30,46,.16);

  --r:   10px;
  --r-s: 6px;

  --wrap: 1200px;
  --gut: 26px;

  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

h1, h2, h3, h4 {
  font-weight: 600; letter-spacing: -0.022em; line-height: 1.18;
  color: var(--ink); margin: 0; text-wrap: balance;
}

/* Small monospace data labels — used sparingly. */
.eyebrow, .label, .crumb, .prow dt, .field label, .keywords,
.index-cat, .work-meta .cat, .fig-l, .clause-tag, .step-n,
.client-m, .ftr-tag, .panel-h, .particulars-h, .foot-h, .spec-table th, .badge {
  font-family: var(--mono); text-transform: uppercase;
  letter-spacing: .09em; font-size: 11.5px; font-weight: 500;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; }
.skip:focus { left: 0; }
:where(a, button, input, textarea, select):focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Header ---------- */

.hdr { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand img { width: 158px; height: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a {
  font-size: 15.5px; font-weight: 500; color: var(--ink-2);
  padding: 9px 14px; border-radius: var(--r-s); transition: background .15s, color .15s;
}
.nav > a:not(.btn):hover { background: var(--bg); color: var(--ink); }
.nav > a.on:not(.btn) { color: var(--red); }
.nav .btn { margin-left: 10px; }

.burger { display: none; width: 44px; height: 40px; padding: 11px 9px; background: none; border: 1px solid var(--line-2); border-radius: var(--r-s); cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin-bottom: 5px; transition: transform .2s, opacity .2s; }
.burger span:last-child { margin-bottom: 0; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15.5px; font-weight: 600; padding: 13px 22px;
  border-radius: var(--r-s); border: 1px solid transparent; cursor: pointer;
  background: var(--red); color: #fff;
  transition: background .15s, box-shadow .15s, transform .12s, color .15s, border-color .15s;
  box-shadow: 0 1px 2px rgba(211,18,32,.2);
}
.btn:hover { background: var(--red-2); box-shadow: 0 6px 18px rgba(211,18,32,.24); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 17px; height: 17px; }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }

.btn-navy { background: var(--navy); box-shadow: 0 1px 2px rgba(15,30,46,.2); }
.btn-navy:hover { background: var(--navy-3); box-shadow: 0 6px 18px rgba(15,30,46,.22); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: var(--bg); border-color: var(--slate-2); box-shadow: none; }

.btn-on-dark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); box-shadow: none; }
.btn-on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }

.more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--red);
}
.more .ic { width: 16px; height: 16px; transition: transform .15s; }
.more:hover .ic { transform: translateX(4px); }

/* ---------- Sections ---------- */

.sec { padding-block: 88px; }
.sec-tight { padding-block: 58px; }
.sec-alt { background: var(--bg); }
.sec-dark { background: var(--navy); color: var(--on-dark); }
.sec-dark h1, .sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .sec-sub, .sec-dark p { color: var(--on-dark-2); }
.sec-dark .eyebrow { color: var(--red-dim); }

.sec-head { max-width: 720px; margin-bottom: 46px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { color: var(--red); display: block; margin-bottom: 14px; }
.sec-title { font-size: clamp(28px, 3.4vw, 40px); }
.sec-sub { margin-top: 16px; font-size: 17.5px; color: var(--slate); max-width: 64ch; }
.sec-head.center .sec-sub { margin-inline: auto; }

/* ---------- Hero ---------- */

.hero { padding-block: 72px 84px; background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.9vw, 56px); letter-spacing: -.032em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-lede { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--slate); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); border: 1px solid var(--line);
  color: var(--slate); padding: 7px 14px; border-radius: 999px;
  box-shadow: var(--shadow-s); margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }

/* Hero photo, with a small floating credential card */
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 8 / 5; object-fit: cover;
  border-radius: var(--r); box-shadow: var(--shadow-l);
}
.hero-chip {
  position: absolute; left: -20px; bottom: -24px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-m);
  padding: 14px 18px; max-width: 260px;
}
.hero-chip .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); }
.hero-chip .v { font-weight: 600; color: var(--ink); font-size: 15px; margin-top: 3px; }

/* ---------- Figures ---------- */

.figures {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-s); overflow: hidden;
}
.figure { padding: 26px 24px 28px; border-right: 1px solid var(--line); }
.figure:last-child { border-right: 0; }
.fig-n { font-size: 27px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.fig-l { color: var(--slate-2); margin-top: 7px; }

/* ---------- Cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px 26px; display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.card:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); border-color: var(--line-2); }
.card-ic {
  width: 46px; height: 46px; border-radius: var(--r-s);
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--red-pale); color: var(--red);
}
.card-ic .ic { width: 22px; height: 22px; }
.card h3 { font-size: 19px; margin-bottom: 9px; }
.card p { color: var(--slate); font-size: 15.5px; }
.card .more { margin-top: auto; padding-top: 18px; font-size: 14px; }

/* Card with a photo on top */
.card-photo { padding: 0; overflow: hidden; }
.card-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-photo .card-b { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }

/* ---------- Split: photo beside text ---------- */

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-m); }
.split--flip .split-media { order: -1; }

.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 13px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; }
.ticks .ic { width: 17px; height: 17px; color: var(--red); margin-top: 5px; }
.sec-dark .ticks li { color: var(--on-dark); }


/* Illustrated artwork (SVG) rather than photography — sized to fit, never cropped. */
.art { width: 100%; height: auto; display: block; border-radius: 0; box-shadow: none; }
.hero-media .art { aspect-ratio: auto; object-fit: contain; box-shadow: none; border-radius: 0; }
.split-media.art-panel img { aspect-ratio: auto; object-fit: contain; box-shadow: none; border-radius: 0; }

/* ---------- Photo band ---------- */

.band { position: relative; padding-block: 92px; background: var(--navy); overflow: hidden; }
.band-bg { position: absolute; inset: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom right, #000, transparent 70%);
}
.band .wrap { position: relative; z-index: 2; }
.band h2 { color: #fff; font-size: clamp(27px, 3.3vw, 38px); max-width: 20ch; }
.band p { color: var(--on-dark-2); margin-top: 16px; max-width: 56ch; font-size: 17px; }

/* ---------- Ruled index (services / nav lists) ---------- */

.index { border-top: 1px solid var(--line); }
.index-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 220px) 26px;
  gap: 22px; align-items: center; padding-block: 22px;
  border-bottom: 1px solid var(--line); transition: background .14s;
}
.index-row:hover { background: var(--bg); }
.index-n { font-family: var(--mono); font-size: 12.5px; color: var(--red); }
.index-t { font-size: 19px; font-weight: 600; color: var(--ink); }
.index-d { color: var(--slate); font-size: 15.5px; }
.index-cat { color: var(--slate-2); text-align: right; font-size: 10.5px; }
.index-go { color: var(--line-2); transition: color .14s, transform .14s; }
.index-go .ic { width: 18px; height: 18px; }
.index-row:hover .index-go { color: var(--red); transform: translateX(3px); }

/* ---------- Clauses (health systems) ---------- */

.clause {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 44px; padding-block: 44px; border-top: 1px solid var(--line); align-items: start;
}
.clause:last-of-type { border-bottom: 1px solid var(--line); }
.clause h3 { font-size: clamp(21px, 2.2vw, 26px); }
.clause-tag {
  display: inline-block; margin-bottom: 14px; color: var(--red);
  background: var(--red-pale); padding: 4px 10px; border-radius: 999px; font-size: 10.5px;
}
.clause-sum { margin-top: 14px; color: var(--slate); font-size: 16px; }

.ruled { list-style: none; margin: 0; padding: 0; counter-reset: ruled-item; }
.ruled li {
  padding-block: 11px; border-bottom: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink-2);
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px;
}
.ruled li:first-child { border-top: 1px solid var(--line); }
.ruled li::before {
  content: counter(ruled-item, decimal-leading-zero); counter-increment: ruled-item;
  font-family: var(--mono); font-size: 10.5px; color: var(--red); padding-top: 5px;
}
.ruled-plain li { grid-template-columns: 1fr; }
.ruled-plain li::before { content: none; }
.sec-dark .ruled li { color: var(--on-dark); border-bottom-color: rgba(255,255,255,.14); }
.sec-dark .ruled li:first-child { border-top-color: rgba(255,255,255,.14); }
.sec-dark .ruled li::before { color: var(--red-dim); }

/* ---------- Keywords ---------- */

.keywords { color: var(--slate-2); display: flex; flex-wrap: wrap; gap: 5px 0; font-size: 10.5px; }
.keywords span:not(:last-child)::after { content: "·"; color: var(--line-2); padding-inline: 8px; }
.sec-dark .keywords { color: var(--on-dark-2); }

/* ---------- Spec table ---------- */

.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.spec-table th { text-align: left; padding: 13px 18px; background: var(--bg); color: var(--slate-2); font-weight: 500; border-bottom: 1px solid var(--line); }
.spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td.k { font-family: var(--mono); font-size: 12px; color: var(--red); white-space: nowrap; }
.spec-table td.n { font-weight: 600; color: var(--ink); }
.spec-table td.m { font-family: var(--mono); font-size: 12.5px; color: var(--slate); }

/* ---------- Architecture diagram ---------- */

.diagram { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: var(--r); padding: 26px 24px 20px; }
.diagram-scroll { overflow-x: auto; }
.diagram svg { display: block; min-width: 660px; width: 100%; height: auto; }
.dg-cap { margin-top: 16px; color: var(--on-dark-2); font-size: 14px; }

/* ---------- Work ---------- */

.work-list { border-top: 1px solid var(--line); }
.work-item {
  display: grid; grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 1fr) 26px;
  gap: 22px; padding-block: 26px; border-bottom: 1px solid var(--line);
  transition: background .14s; align-items: start;
}
.work-item:hover { background: var(--bg); }
.work-n { font-family: var(--mono); font-size: 12.5px; color: var(--red); }
.work-item h3 { font-size: 19.5px; margin-bottom: 7px; }
.work-sum { color: var(--slate); font-size: 15.5px; }
.work-meta { display: flex; flex-direction: column; gap: 5px; }
.work-meta .cat { color: var(--ink); font-size: 10.5px; }
.work-meta .sub { font-size: 14.5px; color: var(--slate-2); }

/* ---------- Page hero ---------- */

.phero { padding-block: 60px 54px; background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%); border-bottom: 1px solid var(--line); }
.phero h1 { font-size: clamp(31px, 4.2vw, 46px); max-width: 20ch; }
.phero-sub { margin-top: 18px; color: var(--slate); font-size: 18.5px; max-width: 64ch; }
.crumb { color: var(--slate-2); margin-bottom: 22px; }
.crumb a:hover { color: var(--red); }
.crumb span { padding-inline: 8px; color: var(--line-2); }

/* ---------- Prose ---------- */

.prose { max-width: 68ch; }
.prose p { margin-bottom: 18px; font-size: 17px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 25px; margin: 40px 0 14px; }

/* ---------- Panels ---------- */

.panel { border: 1px solid var(--line); background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-s); overflow: hidden; }
.panel-h { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--slate-2); background: var(--bg); }
.panel-b { padding: 18px; }
.panel-b .prow { padding-inline: 0; }

.particulars { border: 1px solid var(--line); background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-s); overflow: hidden; }
.particulars-h { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--slate-2); background: var(--bg); }
.prow { display: grid; grid-template-columns: minmax(0, 138px) minmax(0, 1fr); gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
.prow:last-child { border-bottom: 0; }
.prow dt { color: var(--slate-2); font-size: 10.5px; }
.prow dd { margin: 0; font-size: 15.5px; color: var(--ink); overflow-wrap: anywhere; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); gap: 54px; align-items: start; }
.detail-grid--form { grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); }

/* ---------- Clients / steps ---------- */

.clients { border-top: 1px solid var(--line); }
.client-row { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 200px) minmax(0, 1fr); gap: 24px; padding-block: 19px; border-bottom: 1px solid var(--line); align-items: baseline; }
.client-row--2 { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.client-n { font-size: 17.5px; font-weight: 600; color: var(--ink); }
.client-m { color: var(--slate-2); font-size: 10.5px; }
.client-d { color: var(--slate); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 28px; }
.step-n { color: var(--red); margin-bottom: 12px; font-size: 11px; }
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--slate); }

/* ---------- CTA ---------- */

.cta { background: var(--bg); border-top: 1px solid var(--line); padding-block: 62px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3.2vw, 36px); max-width: 20ch; }
.cta p { margin-top: 12px; color: var(--slate); max-width: 52ch; }

/* ---------- Forms ---------- */

.field { margin-bottom: 19px; }
.field label { display: block; color: var(--slate-2); margin-bottom: 8px; }
.field .req { color: var(--red); }
.input, .textarea, .select {
  width: 100%; font-family: var(--sans); font-size: 16px; padding: 12px 14px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-s); color: var(--ink);
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--red); outline: 3px solid rgba(211,18,32,.12); }
.textarea { min-height: 152px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.note { padding: 15px 18px; border-left: 3px solid var(--red); background: var(--red-pale); margin-bottom: 22px; font-size: 15.5px; border-radius: 0 var(--r-s) var(--r-s) 0; }
.note-ok { border-left-color: #12805a; background: #e7f6ef; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */

.ftr { background: var(--navy); color: var(--on-dark-2); padding-block: 58px 0; }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; }
.ftr-logo { width: 166px; filter: brightness(0) invert(1); opacity: .95; }
.ftr-tag { margin-top: 14px; color: var(--red-dim); font-size: 10.5px; }
.ftr-blurb { margin-top: 13px; font-size: 15.5px; color: var(--on-dark-2); max-width: 40ch; }
.foot-h { color: #fff; margin-bottom: 15px; display: block; font-size: 10.5px; }
.ftr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; overflow-wrap: anywhere; }
.ftr-list a:hover { color: #fff; }
.ftr-facts { font-family: var(--mono); font-size: 12.5px; line-height: 1.7; }
.ftr-base {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--slate-2);
}

/* ---------- Utility ---------- */

.ic { width: 20px; height: 20px; flex: none; }
.ic-s { width: 16px; height: 16px; flex: none; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 44px; }
.lead { font-size: 18px; color: var(--ink-2); }
.muted { color: var(--slate); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-chip { left: 16px; bottom: 16px; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .split--flip .split-media { order: 0; }
  .detail-grid, .detail-grid--form { grid-template-columns: 1fr; gap: 42px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .index-row { grid-template-columns: 44px minmax(0, 1fr) 26px; }
  .index-cat { display: none; }
  .work-item { grid-template-columns: 44px minmax(0, 1fr) 26px; }
  .work-item .work-meta { grid-column: 2; }
  .clause { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 900px) {
  :root { --gut: 20px; }
  .burger { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px var(--gut) 20px; display: none; box-shadow: var(--shadow-m);
  }
  .nav.open { display: flex; }
  .nav > a { padding: 13px 12px; }
  .nav .btn { margin-left: 0; margin-top: 12px; }

  .figures { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(2n) { border-right: 0; }
  .figure:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .client-row, .client-row--2 { grid-template-columns: 1fr; gap: 5px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .sec { padding-block: 64px; }
  .hero { padding-block: 48px 62px; }
  .band { padding-block: 68px; }
}

@media (max-width: 620px) {
  :root { --gut: 16px; }
  .brand img { width: 138px; }
  .hdr-in { min-height: 66px; }
  .cards, .cards-2, .steps { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .figure { border-right: 0; border-bottom: 1px solid var(--line); }
  .figures .figure:last-child { border-bottom: 0; }
  .ftr-grid { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .index-row, .work-item { grid-template-columns: 34px minmax(0, 1fr); }
  .index-go { display: none; }
  .cta-in { align-items: flex-start; }
  .hero-chip { position: static; margin-top: 16px; max-width: none; }
  .btn { width: 100%; }
  .hero-cta .btn, .cta .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
