/* Brothers 4 Tech — demo website styles
   One file for all pages. Colours, spacing and icons are variables in :root.
   Breakpoints: 1100px (phone menu), 1000px, 900px (one column), 600px (phone). */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy: #0E1E43;
  --navy-d: #08132D;
  --gold: #E0B54A;
  --paper: #F4F5F7;
  --white: #FFFFFF;
  --line: #D5DAE2;
  --line-s: #ECEEF2;
  --grey: #5B6472;
  --grey-l: #8A93A3;
  --dot: #C3C9D4;
  --w90: rgba(255, 255, 255, .9);
  --w82: rgba(255, 255, 255, .82);
  --w78: rgba(255, 255, 255, .78);
  --w60: rgba(255, 255, 255, .6);
  --w45: rgba(255, 255, 255, .45);
  --w22: rgba(255, 255, 255, .22);
  --w14: rgba(255, 255, 255, .14);
  --n30: rgba(14, 30, 67, .3);

  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1344px;
  --gut: 48px;
  --sec: 120px;
  --hdr: 92px;
  --edge: max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut)));
  --sub: var(--grey-l);

  --t: .2s ease;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --zoom: 1.04;
  --shadow: 0 24px 48px rgba(8, 19, 45, .22);
  --dots: radial-gradient(var(--dot) 1.2px, transparent 1.2px) 0 0 / 18px 18px;

  /* Icons (used as masks, so they take the text colour) */
  --i-arr: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M8 7h9v9'/></svg>");
  --i-arr-m: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M8 7h9v9'/></svg>");
  --i-arr-t: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M8 7h9v9'/></svg>");
  --i-down: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><path d='M12 5v14m-6-6 6 6 6-6'/></svg>");
  --i-chev: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  --i-prev: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m15 18-6-6 6-6'/></svg>");
  --i-next: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m9 18 6-6-6-6'/></svg>");
  --i-menu: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'><path d='M4 7h16M4 12h16M4 17h16'/></svg>");
  --i-close: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'><path d='m6 6 12 12M18 6 6 18'/></svg>");
  --i-pause: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'><path d='M9 6v12M15 6v12'/></svg>");
  --i-play: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'><path d='M8 5.5v13l10-6.5z'/></svg>");
  --i-plus: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>");
  --i-select: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1E43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
}

@media (max-width: 600px) {
  :root { --gut: 20px; --sec: 64px; --hdr: 72px; }
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; interpolate-size: allow-keywords; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap, .card, .card-in, .field, .ghost, .tag, .pmenu, .acard, .split-txt, .band-grid, .nl.on { box-sizing: border-box; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.dark { background: var(--navy); color: var(--white); --sub: rgba(255, 255, 255, .5); }
.white { background: var(--white); }
.sec { padding-block: var(--sec); }
.g12 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 72px; }
.sec-head { align-items: start; padding-bottom: var(--sh, 64px); }
.nudge { margin-top: 6px; }
.grow { flex: 1; }

/* Headings: the grey second line is the <span> */
.t-xl, .t-l, .t-m, .t-s { font-weight: 400; }
.t-xl { font-size: clamp(var(--min, 40px), 4.6vw, 68px); line-height: 1.06; letter-spacing: -.025em; }
.t-l { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -.025em; }
.t-m { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.02em; }
.t-s { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -.02em; }
:is(.t-xl, .t-l, .t-m) span { color: var(--sub); }

.lead { max-width: 640px; font-size: 18px; font-weight: 300; line-height: 1.65; }
.lead span { color: var(--grey); }
.dark .lead span { color: var(--w60); }
.sec-head .lead { margin-top: 6px; }
.txt { margin-top: 24px; max-width: 340px; font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--grey); }
.dark .txt { color: var(--w78); }
.note { margin-top: 24px; font-size: 13px; color: var(--grey); }
.label { font-size: 13px; font-weight: 500; }

/* ---------- 3. Icons and the arrow swap ---------- */
.i { display: inline-block; flex: none; width: var(--s, 16px); height: var(--s, 16px); background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ar { --m: var(--i-arr); position: relative; display: inline-block; flex: none; width: var(--s, 13px); height: var(--s, 13px); overflow: hidden; }
.ar.m { --m: var(--i-arr-m); }
.ar.t { --m: var(--i-arr-t); }
.ar.dn { --m: var(--i-down); }
.ar::before, .ar::after { content: ""; position: absolute; inset: 0; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; transition: transform .45s var(--ease); }
.ar::after { transform: translate(-100%, 100%); }
.ar.dn::after { transform: translateY(-100%); }
/* On hover the arrow leaves in the direction it points, and a copy slides in behind it */
:is(a, button):is(:hover, :focus-visible) .ar::before, .card:hover .corner .ar::before, .news-card:hover .ar::before { transform: translate(100%, -100%); }
:is(a, button):is(:hover, :focus-visible) .ar.dn::before { transform: translateY(100%); }
:is(a, button):is(:hover, :focus-visible) .ar::after, .card:hover .corner .ar::after, .news-card:hover .ar::after { transform: none; }

/* ---------- 4. Buttons and links ---------- */
.btn, .ghost, .btn-navy { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; font-size: 15px; white-space: nowrap; cursor: pointer; transition: background-color var(--t), border-color var(--t), filter var(--t); }
.btn { background: var(--gold); color: var(--navy-d); font-weight: 600; }
.btn:hover { filter: brightness(1.07); }
.ghost { border: 1px solid rgba(255, 255, 255, .55); color: var(--white); font-weight: 500; }
.ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-navy { border: 0; background: var(--navy); color: var(--white); font-weight: 500; }
.btn-navy:hover { background: var(--navy-d); }
:is(.btn, .ghost, .btn-navy) .ar { --s: 15px; }
.sm { gap: 8px; min-height: 44px; padding: 0 20px; font-size: 14px; }
.sm .ar { --s: 14px; }
.lnk { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid var(--n30); font-size: 14px; font-weight: 500; white-space: nowrap; transition: border-color var(--t); }
.lnk:hover { border-bottom-color: var(--navy); }
.lnk.w { border-bottom-color: var(--w45); color: var(--white); }
.lnk.w:hover { border-bottom-color: var(--white); }
.lnk.lg { font-size: 15px; }
.lnk.lg .ar { --s: 14px; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.aside { font-size: 13px; font-weight: 300; color: rgba(255, 255, 255, .65); }
.ttl { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color var(--t); }
.ttl:is(:hover, :focus-visible), .news-card:hover .ttl { text-decoration-color: currentColor; }

/* ---------- 5. Photos (navy colour filter + gradient) ---------- */
.ph { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ph::before, .ph::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ph::before { background: var(--navy); mix-blend-mode: color; opacity: var(--tint, .6); }
.ph::after { background: var(--grad, none); }
.ph.plain::before { content: none; }
.dotted { position: relative; }
.dotted::before { content: ""; position: absolute; width: 260px; height: 100px; right: 0; top: 0; background: var(--dots); opacity: .8; }

/* ---------- 6. Header, mega menus, phone menu ---------- */
.hdr { position: relative; z-index: 50; }
.hdr-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.logo img { width: auto; height: 38px; }
.logo img + img { height: 17px; }
.hdr-r { display: flex; align-items: center; gap: 36px; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nl { display: inline-flex; align-items: center; gap: 6px; color: var(--w82); transition: color var(--t); }
.nl:hover, .nl.on { color: var(--white); }
.nl.on { min-height: 44px; border-bottom: 1px solid var(--white); }
.nl .i { --s: 12px; --m: var(--i-chev); opacity: .8; transition: transform var(--t); }
.lang { font-size: 13px; color: var(--w60); }
.lang span, .pm-lang span { color: var(--white); }

.dd { display: inline-flex; align-items: center; padding: 34px 0; margin: -34px 0; }
.dd:is(:hover, :focus-within) .nl .i { transform: rotate(180deg); }
.mm { position: absolute; top: 100%; left: var(--gut); right: var(--gut); z-index: 30; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--navy); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s var(--ease), visibility 0s .25s; }
.dd:is(:hover, :focus-within) > .mm { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mm-main { padding: 32px 40px 28px; }
.mm-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.mi { display: block; padding: 12px 0; }
.mi b { display: block; font-size: 15px; font-weight: 400; border-bottom: 1px solid transparent; transition: border-color var(--t); }
.mi small { display: block; margin-top: 3px; font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--grey); }
.mi:is(:hover, :focus-visible) b { border-bottom-color: var(--navy); }
.mi.main { padding-bottom: 8px; }
.mi.main b { display: inline; font-weight: 500; }
.mi.main small { line-height: normal; }
.mm-sub { margin-top: 4px; padding-left: 16px; border-left: 1px solid var(--line); }
.mm-sub .mi { padding: 7px 0; font-size: 14px; font-weight: 300; color: var(--grey); }
.mm-sub .mi b { display: inline; font-size: inherit; font-weight: inherit; }
.mm-foot { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.mm .lnk { min-height: 40px; }
.mm-side { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 40px; background: var(--navy); color: var(--white); }
.mm-side p { font-size: 22px; line-height: 1.3; letter-spacing: -.01em; }
.mm-side p + p { margin-top: 14px; font-size: 14px; font-weight: 300; line-height: 1.65; letter-spacing: 0; color: rgba(255, 255, 255, .75); }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 0; background: none; color: var(--gold); cursor: pointer; }
.burger .i { --s: 24px; --m: var(--i-menu); }
.is-open .burger .i { --m: var(--i-close); }
.pmenu { position: absolute; top: 100%; left: 0; right: 0; z-index: 40; padding: 8px var(--gut) 32px; background: var(--navy-d); border-top: 1px solid var(--w14); box-shadow: 0 24px 48px rgba(8, 19, 45, .35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s var(--ease), visibility 0s .25s; }
.is-open .pmenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pm-row { border-bottom: 1px solid var(--w14); }
.pm-row > a, .pm-row summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; color: var(--white); font-size: 17px; cursor: pointer; list-style: none; }
.pm-row summary::-webkit-details-marker { display: none; }
.pm-row summary .i { --s: 16px; --m: var(--i-chev); transition: transform var(--t); }
.pm-row [open] > summary .i { transform: rotate(180deg); }
.pm-sub { padding-bottom: 20px; }
.pm-sub > a { display: block; padding: 10px 0; color: rgba(255, 255, 255, .85); font-size: 15px; font-weight: 300; transition: color var(--t); }
.pm-sub > a.hi, .pm-sub a:hover { color: var(--white); }
.pm-sub ul { margin-bottom: 6px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .2); }
.pm-sub ul a { display: block; padding: 7px 0; color: rgba(255, 255, 255, .65); font-size: 14px; font-weight: 300; transition: color var(--t); }
.pm-sub .lnk { margin-top: 8px; }
.pm-lang { margin: 20px 0 24px; font-size: 14px; color: var(--w60); }
.pm-cta { display: flex; justify-content: center; padding: 0 24px; }

/* Smooth open/close for every accordion (phone menu and questions) */
details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* ---------- 7. Page top (inner pages) ---------- */
.top { background: var(--navy-d); color: var(--white); --sub: rgba(255, 255, 255, .5); }
.top-in { padding-top: 72px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--w60); }
.crumbs a { transition: color var(--t); }
.crumbs a:hover, .crumbs [aria-current] { color: var(--white); }
.top h1 { margin-top: 28px; max-width: 980px; }
.top-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 72px; align-items: start; margin-top: 72px; padding-bottom: 72px; }
.top-row p { max-width: 360px; font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--w82); }
.top-row .lnk { margin-top: 20px; }
.top-row div p { max-width: 380px; }

/* ---------- 8. Homepage ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: 820px; background: var(--navy-d); color: var(--white); }
.hero-bg { position: absolute; inset: 0; --tint: .55; --grad: linear-gradient(0deg, var(--navy-d) 0%, rgba(8, 19, 45, 0) 45%), linear-gradient(90deg, var(--navy-d) 0%, rgba(8, 19, 45, .92) 38%, rgba(8, 19, 45, .35) 75%, rgba(8, 19, 45, .15) 100%); }
.hero-bg img { left: 273px; object-position: 70% 30%; }
.hero-in { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; padding-bottom: 56px; }
.hero h1 { --min: 38px; max-width: 940px; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--w22); }
.hero-row p { max-width: 380px; font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--w82); }

/* Services: the row of cards */
.svc { overflow: hidden; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; padding: var(--sec) 0 0 var(--edge); }
.svc-left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.arrows { display: flex; gap: 8px; margin-top: 36px; }
.arr { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; transition: border-color var(--t), opacity var(--t); }
.arr:hover:not(:disabled) { border-color: var(--navy); }
.arr:disabled { opacity: .35; cursor: default; }
.arr .i { --m: var(--i-prev); }
.arr + .arr .i { --m: var(--i-next); }
.svc-all { align-self: flex-start; }
.row { position: relative; display: flex; gap: 12px; overflow-x: auto; padding-right: var(--gut); cursor: grab; user-select: none; -webkit-user-select: none; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.row.is-drag { cursor: grabbing; }
.card { position: relative; flex: none; height: 520px; overflow: hidden; }
.card-in { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; padding: 28px 32px 30px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.corner { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.corner .ar { --s: 18px; }
.card-sp { width: 600px; background: var(--navy-d); color: var(--white); }
.card-sp .ph { position: absolute; inset: 0; --grad: linear-gradient(0deg, var(--navy-d) 0%, rgba(8, 19, 45, .9) 52%, rgba(8, 19, 45, .3) 100%); }
.card-sp .ph img { object-position: 50% 30%; }
.card-sp .card-top { align-items: center; gap: 16px; }
.kick { font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.fam { font-size: 12px; color: var(--w60); }
.card-sp h3 { margin-top: 10px; max-width: 500px; font-size: 28px; font-weight: 400; line-height: 1.2; letter-spacing: -.015em; }
.card-sp h3 + p { margin-top: 14px; max-width: 460px; font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--w78); }
.card-w { width: 320px; display: flex; flex-direction: column; padding: 16px 16px 24px; background: var(--white); border: 1px solid var(--line); transition: border-color .3s ease; }
.card-w:is(:hover, :focus-within) { border-color: var(--navy); }
.ico { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; background: var(--paper); }
.ico svg, .grp-ico svg { width: 96px; height: 96px; fill: none; stroke: currentColor; stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; }
.card-b { padding: 0 8px; }
.card-w h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.card-w h3 + p { margin-top: 8px; font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--grey); }
.sl { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-bottom: 1px solid; font-size: 14px; transition: color var(--t), border-color var(--t); }
.sl .ar { --s: 12px; }
.sp-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin-top: 22px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .2); }
.sp-links .sl { border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .86); }
.sp-links li:first-child .sl { color: var(--white); font-weight: 500; }
.sp-links .sl:hover { border-bottom-color: rgba(255, 255, 255, .7); }
.subs { margin-top: 18px; border-top: 1px solid var(--line); }
.subs .sl { border-color: var(--line-s); }
.subs li:last-child .sl { border-bottom: 0; }
.subs .sl:hover { color: var(--navy-d); border-bottom-color: var(--navy); }
/* The service list slides up when the card is hovered (no display or visibility change) */
.reveal { display: grid; grid-template-rows: 0fr; overflow: hidden; opacity: 0; transform: translateY(28px); transition: grid-template-rows .6s var(--ease), opacity .45s ease, transform .6s var(--ease); }
.reveal > * { min-height: 0; overflow: hidden; }
.card:is(:hover, :focus-within) .reveal { grid-template-rows: 1fr; opacity: 1; transform: none; }
.svc-note { padding-block: 72px; }
.svc-note > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.svc-note p { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--grey); }
.svc-note b, .for b { font-weight: 500; color: var(--navy); }

/* Diagnostic flash band */
.band { --bt: 80px; position: relative; padding-top: var(--bt); background: var(--white); }
.band.lg { --bt: 120px; }
.band::before { content: ""; position: absolute; top: var(--bt); bottom: 0; left: 0; right: max(24px, calc((100% - var(--max)) / 2 + 48px)); background: var(--navy); }
.band-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; max-width: var(--max); margin: 0 auto; padding: 80px 96px 80px 48px; color: var(--white); }
.band h2 { max-width: 640px; }
.band p { margin-top: 20px; max-width: 540px; font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--w78); }
.band .btn { justify-self: start; }

/* Moving list of sectors */
.sectors { padding-top: 24px; background: var(--white); }
.sec-row { display: flex; align-items: center; gap: 40px; min-height: 112px; border-bottom: 1px solid var(--line); }
.sec-label { flex: none; font-size: 13px; color: var(--grey); }
.mq { flex: 1; min-width: 0; overflow: hidden; }
.mq-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.mq:is(:hover, :focus-within) .mq-track, .sectors:has(.mq-btn :checked) .mq-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq ul { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.mq a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid transparent; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: color var(--t), border-color var(--t); }
.mq a:hover { color: var(--navy-d); border-bottom-color: var(--navy); }
.sec-ctrl { flex: none; display: flex; align-items: center; gap: 24px; }
.mq-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--grey); cursor: pointer; transition: color var(--t); }
.mq-btn:hover { color: var(--navy); }
.mq-btn:has(:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.mq-btn .i { --s: 14px; --m: var(--i-pause); }
.mq-btn:has(:checked) .i { --m: var(--i-play); }

/* Why B4T */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.why-fig { position: relative; padding: 0 56px 56px 0; }
.why-fig::before { content: ""; position: absolute; left: -40px; top: -40px; width: 200px; height: 160px; background: var(--dots); opacity: .8; }
.why-fig .ph { aspect-ratio: 4 / 5; --grad: linear-gradient(0deg, rgba(8, 19, 45, .7) 0%, rgba(8, 19, 45, .35) 55%, rgba(8, 19, 45, .3) 100%); }
.why-fig .ph img { object-position: 40% 50%; }
.badge { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; width: 168px; height: 168px; background: var(--navy); }
.badge img { width: auto; height: 64px; }
.why-list { margin-top: 48px; border-bottom: 1px solid var(--line); }
.why-list li { display: grid; gap: 10px; padding: 28px 0; border-top: 1px solid var(--line); }
.why-list h3 { font-size: 24px; font-weight: 400; line-height: 1.3; letter-spacing: -.01em; }
.why-list p { max-width: 560px; font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--grey); }
.why-list .lnk { margin-top: 8px; }

/* Client cases and news */
.refs-in { padding-bottom: var(--sec); }
.refs-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; padding-top: 96px; border-top: 1px solid var(--line); }
.refs-row h2 span { white-space: nowrap; }
.refs-row > div { display: flex; flex-direction: column; align-items: flex-end; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.case { display: flex; flex-direction: column; padding: 36px; background: var(--paper); }
.case .k { font-size: 13px; font-weight: 500; color: var(--grey); }
.case h3, .news-card h3 { margin-top: 14px; font-size: 21px; font-weight: 400; line-height: 1.35; letter-spacing: -.01em; }
.case div { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.case div p { font-size: 13px; font-weight: 500; color: var(--grey-l); }
.case div p + p { margin-top: 6px; font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--grey); }
.news-card { position: relative; display: flex; flex-direction: column; min-height: 460px; padding: 36px; overflow: hidden; background: var(--navy); color: var(--white); }
.news-card .ph { position: absolute; inset: 0; --grad: linear-gradient(0deg, var(--navy-d) 0%, rgba(8, 19, 45, .88) 45%, rgba(8, 19, 45, .25) 100%); }
.news-card:hover .ph img, .acard:hover .ph img { transform: scale(var(--zoom)); }
.news-in { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; }
.news-card .k { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.news-card .k span { font-weight: 400; color: var(--w60); }
.news-card h3 + p { margin-top: 14px; font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--w78); }
.more { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); transition: border-color var(--t); }
.news-card:hover .more { border-top-color: var(--w60); }
.more a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; font-weight: 500; }

/* ---------- 9. Let's talk (form) ---------- */
.talk { position: relative; overflow: hidden; }
.talk-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 72px; padding-block: var(--sec); }
.talk-l { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.contacts { border-top: 1px solid var(--line); }
.contacts li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contacts small { display: block; font-size: 12px; color: var(--grey); }
.contacts :is(a, span) { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; }
.nda { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-block: 1px solid var(--line); font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--grey); }
.nda svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nda b { font-weight: 500; color: var(--navy); }
.form { margin-top: 40px; }
.form .label { margin-bottom: 12px; }
.tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tag { display: flex; align-items: center; gap: 10px; text-align: center; min-height: 48px; padding: 0 16px 0 12px; border: 1px solid var(--grey-l); font-size: 13px; cursor: pointer; transition: border-color var(--t), background-color var(--t), color var(--t); }
.tag:hover { border-color: var(--navy); }
.tag:has(:checked) { border-color: var(--navy); background: var(--navy); color: var(--white); }
.tag:has(:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.tag input { color: inherit; flex: none; appearance: none; -webkit-appearance: none; width: 14px; height: 14px; margin: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .55; cursor: pointer; outline: 0; }
.tag input:checked { opacity: 1; background: radial-gradient(currentColor 3px, transparent 3.5px); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.full { grid-column: 1 / -1; }
.flabel { display: block; font-size: 13px; font-weight: 500; }
.flabel span { font-weight: 300; color: var(--grey); }
.field { display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--grey-l); border-radius: 0; background: var(--white); font-size: 16px; line-height: 1.4; color: var(--navy); transition: border-color var(--t), box-shadow var(--t); }
.field:hover { border-color: var(--grey); }
.field:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
textarea.field { min-height: 120px; resize: vertical; }
select.field { appearance: none; -webkit-appearance: none; padding-right: 48px; background: var(--white) var(--i-select) no-repeat right 16px center / 16px; cursor: pointer; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.consent label { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--grey); }
.consent a { color: var(--navy); text-decoration: underline; }
.submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.submit p { max-width: 360px; font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--grey); }
/* The button text follows the chosen request type */
.s0, .s1, .s2 { display: none; }
.form:has(#rt0:checked) .s0, .form:has(#rt1:checked) .s1, .form:has(#rt2:checked) .s2 { display: inline; }

/* ---------- 10. Footer ---------- */
.foot { background: var(--white); border-top: 1px solid var(--line); }
.foot-in { padding-top: 72px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot .logo img { height: 36px; }
.foot .logo img + img { height: 16px; }
.foot-about { margin-top: 20px; max-width: 300px; font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--grey); }
.foot-lang { margin-top: 16px; font-size: 13px; color: var(--grey); }
.foot-lang span { font-weight: 500; color: var(--navy); }
.foot-lang a { transition: color var(--t); }
.foot-lang a:hover { color: var(--navy); }
.fh { margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.fl { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; color: var(--grey); transition: color var(--t); }
.fl:hover { color: var(--navy); }
.addr { margin-top: 8px; font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--grey); }
.addr + .addr { margin-top: 14px; }
.addr b { display: block; font-weight: 500; color: var(--navy); }
.addr + .fl { margin-top: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 56px; padding: 24px 0 32px; border-top: 1px solid var(--line); }
.foot-copy { font-size: 13px; color: var(--grey); }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.foot-links .fl { min-height: 40px; font-size: 13px; }
.li { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--navy); transition: opacity var(--t); }
.li:hover { opacity: .7; }
.li svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 11. Services page ---------- */
.jump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.jl { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-top: 4px; border-top: 1px solid var(--w22); color: rgba(255, 255, 255, .86); font-size: 14px; transition: color var(--t), border-color var(--t); }
.jl:hover { color: var(--white); border-top-color: var(--white); }
.jl .ar { --s: 26px; }
.forms-t { margin-top: 56px; }
.rows { margin-top: 16px; border-top: 1px solid var(--navy); }
.grp .rows, .faqs, .drows, .wrows { margin-top: 0; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.srow > :first-child { font-size: 17px; font-weight: 500; }
.srow > :nth-child(2) { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--grey); }
a.srow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 112px 32px; padding-inline: 20px; transition: background-color var(--t); }
a.srow:is(:hover, :focus-visible) { background: var(--white); }
.sname { line-height: 1.4; letter-spacing: -.005em; }
.sname small { display: block; margin-top: 4px; font-size: 13px; font-weight: 300; letter-spacing: 0; color: var(--grey); }
.slen { font-size: 13px; color: var(--grey); white-space: nowrap; }
.sarr { align-self: center; display: inline-flex; color: var(--grey-l); transition: color var(--t); }
.sarr .ar { --s: 30px; }
a:hover > .sarr, .acard:hover .aarr { color: var(--navy); }
:is(a.srow, .wrow):hover .sname { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); container-type: inline-size; }
.split-txt { display: flex; flex-direction: column; justify-content: center; padding: 112px 72px 112px max(48px, calc((100cqw - var(--max)) / 2 + 48px)); }
.split h2 { margin-top: 20px; max-width: 560px; font-size: clamp(28px, 2.8vw, 40px); }
.split h2 + p { margin-top: 20px; max-width: 500px; font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--w78); }
.ticks { margin-top: 36px; max-width: 520px; border-top: 1px solid rgba(255, 255, 255, .2); }
.ticks li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: var(--w90); }
.split .acts { gap: 16px 28px; margin-top: 40px; }
.split-img { min-height: 640px; background: var(--navy-d); --grad: linear-gradient(90deg, rgba(14, 30, 67, .55) 0%, rgba(14, 30, 67, 0) 40%); }
.split-img img { object-position: 68% 40%; }
.all { position: relative; overflow: hidden; }
.all::before { height: 150px; }
.all-in { position: relative; padding-top: var(--sec); padding-bottom: 56px; }
.grp { padding: 64px 0; border-top: 1px solid var(--line); }
.grp-ico { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; background: var(--white); }
.grp-ico svg { width: 26px; height: 26px; stroke-width: 1.4; }
.grp-fig { aspect-ratio: 2 / 1; }
.grp-fig img { object-position: 50% 28%; }
.grp h3 { margin-top: 28px; font-size: 30px; font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.grp h3 + p { margin-top: 12px; max-width: 340px; font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--grey); }
.for { margin-top: 20px; max-width: 340px; font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--grey); }
.grp .lnk { margin-top: 16px; }

/* ---------- 12. Area page ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.facts div { padding-top: 16px; border-top: 1px solid var(--w22); }
.facts dt { font-size: 13px; color: var(--w60); }
.facts dd { margin-top: 8px; font-size: 16px; line-height: 1.5; }
.photo-band { background: linear-gradient(180deg, var(--navy-d) 50%, var(--paper) 50%); }
.photo-band .ph { height: 520px; --grad: linear-gradient(0deg, rgba(14, 30, 67, .35) 0%, rgba(14, 30, 67, 0) 45%); }
.photo-band img { object-position: 50% 28%; }
.area-svc { padding-top: 96px; }
.acards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.a-wide { grid-column: span 2; }
.acard { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; height: 100%; min-height: 400px; padding: 36px; border: 1px solid var(--line); background: var(--white); transition: border-color var(--t); }
.acard.tall { min-height: 480px; }
.acard:is(:hover, :focus-visible) { border-color: var(--navy); }
.acard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.acard-top p:not(.label) { max-width: 280px; font-size: 15px; font-weight: 300; line-height: 1.55; color: var(--grey); }
.acard-top .label { margin-bottom: 12px; font-weight: 600; }
.aarr { flex: none; display: inline-flex; color: var(--grey-l); transition: color var(--t); }
.aarr .ar { --s: 30px; }
.aname { font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.acard:is(:hover, :focus-visible) .aname { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.aname + p { margin-top: 12px; font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--grey); }
.ameta { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--grey); }
.acard-n { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0; border-color: var(--navy); background: var(--navy); color: var(--white); }
.acard-n .acard-p { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 36px; }
.acard-n .acard-top p:not(.label) { max-width: 300px; color: rgba(255, 255, 255, .72); }
.acard-n .aarr { color: var(--w60); }
.acard-n:hover .aarr { color: var(--white); }
.acard-n .aname { font-size: 32px; line-height: 1.15; }
.acard-n .aname + p { max-width: 380px; font-size: 15px; color: var(--w78); }
.acard-n .ameta { border-top-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .72); }
.acard-img { min-height: 300px; background: var(--navy-d); --grad: linear-gradient(90deg, rgba(14, 30, 67, .6) 0%, rgba(14, 30, 67, 0) 45%); }
.acard-img img { object-position: 42% 50%; }
.proof .ghost { margin-top: 36px; }
.proof .txt { max-width: 360px; }
.proof-head, .proof-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.proof-head { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .4); font-size: 13px; color: var(--w60); }
.proof-row { padding: 24px 0; border-bottom: 1px solid var(--w14); font-size: 15px; font-weight: 300; line-height: 1.55; color: var(--w82); }
.proof-row > :first-child { font-weight: 400; color: var(--white); }
.pl { display: none; margin-bottom: 4px; font-size: 12px; font-weight: 400; line-height: normal; color: rgba(255, 255, 255, .55); }
.proof-note { margin-top: 20px; font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--w60); }
.wrows { border-top: 1px solid var(--navy); }
.wrow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 32px; gap: 32px; align-items: center; padding: 30px 20px; border-bottom: 1px solid var(--line); transition: background-color var(--t); }
.wrow:is(:hover, :focus-visible) { background: var(--paper); }
.wrow .sname { font-size: 28px; font-weight: 400; line-height: 1.2; letter-spacing: -.015em; text-underline-offset: 6px; }
.wsv { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--grey); }
.wsv small { display: block; font-size: 12px; font-weight: 400; color: var(--grey-l); }

/* ---------- 13. Service page ---------- */
.top-row.solo { display: block; margin-top: 40px; padding-bottom: 96px; }
.top-row.solo p { max-width: 560px; font-size: 18px; line-height: 1.6; }
.top .solo-h { margin-top: 16px; max-width: 1040px; }
.top-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.top-btns .lnk { margin-top: 0; }
.why-img { margin-top: 48px; aspect-ratio: 4 / 5; }
.why-img img { object-position: 38% 40%; }
.lead + .lead { margin-top: 20px; color: var(--grey); }
.why-r .lead { max-width: 680px; }
.fit-wrap { margin-top: 64px; }
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-top: 16px; }
.fit li { padding-top: 20px; border-top: 1px solid var(--navy); }
.fit h3 { margin-top: 12px; font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.fit p { margin-top: 10px; font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--grey); }
.fit-wrap + .lnk { margin-top: 48px; }
.how { --sh: 72px; }
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phases > li { position: relative; padding: 36px 32px 0 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.phases > li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--white); }
.phases .k, .phases .yg { font-size: 13px; color: var(--w60); }
.phases h3 { margin-top: 8px; font-size: 28px; font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.phases h3 + p { margin-top: 14px; max-width: 280px; font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--w78); }
.phases .yg { margin-top: 28px; font-size: 12px; }
.phases ul { margin-top: 8px; }
.phases ul li { padding: 10px 0; border-top: 1px solid var(--w14); font-size: 14px; line-height: 1.5; }
.how-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 72px; }
.get-img { margin-top: 40px; height: 198px; }
.get-img img { object-position: 50% 30%; }
.drows { border-top: 1px solid var(--navy); }
.drows .srow > :first-child { line-height: 1.4; }
.std-row { margin-top: 96px; }
.std-row h3 { font-size: 22px; font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.std-row h3 + p { margin-top: 10px; max-width: 320px; font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--grey); }
.std { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.std li { padding-top: 16px; border-top: 1px solid var(--navy); }
.std b { display: block; font-size: 16px; font-weight: 500; }
.std span { display: block; margin-top: 6px; font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--grey); }
.faq .lnk, .g12 > div > .txt + .lnk { margin-top: 16px; }
.faqs { border-top: 1px solid var(--navy); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 0 20px; font-size: 18px; line-height: 1.4; cursor: pointer; list-style: none; transition: background-color var(--t); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--white); }
.faq summary .i { --s: 22px; --m: var(--i-plus); transition: transform .3s var(--ease); }
.faq[open] summary .i { transform: rotate(45deg); }
.faq p { max-width: 680px; padding: 0 20px 28px; font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--grey); }
.rel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 32px; align-items: baseline; }
.rel .sname { font-size: 26px; }
.rel .wsv span { display: block; margin-top: 6px; color: var(--grey-l); }

/* ---------- 14. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mq-track { animation: none; }
  .reveal { transform: none; transition: opacity .3s ease; }
  .ar::before, .ar::after, .ph img, .card-w { transition: none; }
}
@media (hover: none) {
  .reveal { grid-template-rows: 1fr; opacity: 1; transform: none; }
}

/* ---------- 15. Responsive ---------- */
@media (min-width: 1101px) {
  .pmenu { display: none; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 1000px) {
  .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .std { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
}
@media (max-width: 900px) {
  .g12, .hero-row, .top-row, .refs-row, .talk-grid, .band-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-right: 0; }
  .svc-left { padding-right: var(--gut); }
  .sec-row { flex-wrap: wrap; padding: 28px 0; }
  .sec-label { width: 100%; }
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .why-fig { max-width: 520px; }
  .cards3 { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-grid { padding: 56px 48px 56px 24px; }
  .split-txt { padding: 72px 24px; }
  .split-img { min-height: 360px; }
  .srow, a.srow, .wrow, .rel { grid-template-columns: minmax(0, 1fr) 32px; gap: 6px 16px; }
  .wrow, .rel { gap: 8px 16px; }
  .srow > :nth-child(2), .slen, .wsv { grid-column: 1 / 2; }
  .sarr { grid-row: 1; grid-column: 2; }
  .drows .srow { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .a-wide { grid-column: 1 / -1; }
  .facts { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .proof-head { display: none; }
  .proof-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pl { display: block; }
  .why-img, .get-img { max-width: 420px; }
}
@media (max-width: 600px) {
  .hdr-cta, .dotted::before, .why-fig::before { display: none; }
  .sec-head { --sh: 40px; }
  .tags, .fields, .foot-grid, .jump, .sp-links { grid-template-columns: minmax(0, 1fr); }
  /* Homepage */
  .hero { min-height: 720px; }
  .hero-bg { --grad: linear-gradient(0deg, var(--navy-d) 0%, rgba(8, 19, 45, .88) 38%, rgba(8, 19, 45, .25) 72%, rgba(8, 19, 45, .35) 100%); }
  .hero-bg img { left: 0; object-position: 65% 30%; }
  .hero-in { padding-bottom: 40px; }
  .hero-row { margin-top: 32px; padding-top: 24px; }
  .svc-left { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
  .svc-head { display: contents; }
  .svc-head > :is(h2, p) { flex-basis: 100%; }
  .arrows, .svc-all { margin-top: 28px; align-self: center; }
  .card-sp { width: 86vw; height: 560px; }
  .card-w { width: 78vw; }
  .reveal { grid-template-rows: 1fr; opacity: 1; transform: none; }
  .svc-note { padding-block: 40px; }
  .band { --bt: 0px; }
  .band.lg { --bt: 40px; }
  .band::before { right: 0; }
  .band-grid { padding: 48px 20px; gap: 28px; }
  .sec-row { padding: 20px 0; min-height: 0; row-gap: 12px; column-gap: 16px; }
  .sec-label { order: 1; flex: 1 1 auto; width: auto; }
  .sec-ctrl { display: contents; }
  .mq-btn { order: 2; margin-right: -12px; }
  .mq { order: 3; flex: 1 1 100%; }
  .sec-all { order: 4; }
  .why-grid { gap: 40px; }
  .why-fig { padding: 0 32px 32px 0; }
  .badge { width: 112px; height: 112px; }
  .badge img { height: 44px; }
  .why-list li { padding: 20px 0; }
  .refs-row { padding-top: 56px; }
  .foot-in { padding-top: 48px; }
  .foot-bottom { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 40px; }
  .foot-links { order: 1; column-gap: 20px; }
  .li { margin-left: auto; margin-right: -12px; }
  .foot-copy { order: 2; text-align: center; }
  /* Inner pages */
  .top-in { padding-top: 40px; }
  .top-row, .top-row.solo { margin-top: 40px; padding-bottom: 48px; }
  .top-btns { margin-top: 24px; }
  .split-txt { padding: 56px 20px; }
  .split-img { min-height: 280px; }
  .all-in { padding-bottom: 32px; }
  .grp { padding: 40px 0; }
  a.srow, .wrow { padding-inline: 0; }
  .photo-band .ph { height: 260px; }
  .acards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .acard-n { grid-template-columns: minmax(0, 1fr); }
  .acard-n .acard-img { min-height: 220px; order: -1; }
  .acard, .acard.tall { min-height: 0; }
  .acard-p, .acard-n .acard-p { padding: 28px 24px; gap: 32px; }
  .fit, .phases { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .std { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .faq summary { padding: 0; }
  .faq p { padding: 0 0 24px; }
  .wrow .sname { font-size: 22px; }
  .why-img, .get-img { margin-top: 32px; }
  .std-row { margin-top: 56px; }
  .how-cta, .fit-wrap { margin-top: 40px; }
  .area-svc { padding-top: var(--sec); }
}
