@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 900;font-display:swap;src:url(../fonts/golos-text-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 900;font-display:swap;src:url(../fonts/golos-text-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/pt-sans-bold-latin.woff2) format('woff2')}
/* Compensati TORO — site by NODA. Built on the components of NODA's plywood-factory case, re-tuned to the
   Toro mark: teal stripes of the logo on a neutral, slightly cool ground; okoumé wood only in the drawings.
   Phone first, then tablet (700), desktop (1000; denser up to 1279), wide (1280), section links in the header (1360). */
:root {
  --bg: #F6F7F7; --alt: #EAF0F0; --card: #FFFFFF; --line: #D5DFDF; --ink: #1D2426; --muted: #55605F;
  --acc: #2D6A73; --acc-d: #285056; --acc-soft: #E0ECED; --num: #285056; --soft: #E6EEEE;
  --ph: #F2F6F6; --ph-edge: #9FB3B4; --focus: #A9741F; --gold: #F2D9A6; --on-dark: #E3ECEB;
  --foot: #142224; --foot-ink: #F3F7F7; --foot-muted: #BFCFCF;
  --on-acc: #FFFFFF; --hero-rgb: 16 28 31; --hero: rgb(var(--hero-rgb)); --sel: #CBE1E4; --cap-ink: #1C1F22; --placeholder: #66716F;
  --acc-ring: rgb(45 106 115 / .22); --err: #A3261D;
  --r: 12px; --rb: 10px; --shadow: 0 10px 28px rgb(20 40 44 / .08);
  --head: 'PT Sans', 'Golos Text', system-ui, sans-serif;
  --body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --side: 20px; --gap: 20px; --dock-h: 0px; --hdr-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; scrollbar-color: var(--ph-edge) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55;
  padding-bottom: var(--dock-h); overflow-x: hidden; caret-color: var(--acc); }
::selection { background: var(--sel); color: var(--ink); }
p, li, dd, summary, figcaption { text-wrap: pretty; }
img, svg, picture { display: block; max-width: 100%; }
a { color: var(--acc); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p, h1, h2, h3, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--acc); color: var(--on-acc); padding: 10px 16px; border-radius: var(--rb); }
.skip:focus { top: 12px; color: var(--on-acc); }
.skip:hover { color: var(--on-acc); background: var(--acc-d); }
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--side)); margin: 0 auto; padding: 0 var(--side); }
.ic { flex-shrink: 0; }


/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 18px; border-radius: var(--rb);
  border: 2px solid var(--acc); font-family: inherit; font-size: 18px; line-height: 1.3; font-weight: 700; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; text-wrap: balance; }
.btn--primary { background: var(--acc); color: var(--on-acc); }
.btn--primary:hover { background: var(--acc-d); border-color: var(--acc-d); color: var(--on-acc); }
.btn--secondary { background: var(--card); color: var(--acc); }
.btn--secondary:hover { background: var(--acc-soft); color: var(--acc-d); }
.btn--m { min-height: 50px; padding: 0 20px; font-size: 17px; }
.tel { font-weight: 700; color: inherit; white-space: nowrap; }
.tel--big { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.tel--big .ic { color: var(--acc); }

/* ---------- text ---------- */
.h1 { font-family: var(--head); font-weight: 700; font-size: 31px; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.h2 { font-family: var(--head); font-weight: 700; font-size: 28px; line-height: 1.16; letter-spacing: -0.01em; text-wrap: balance; }
.h3 { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.3; text-wrap: balance; }
.lead { max-width: 60ch; }
.small { color: var(--muted); max-width: 60ch; }
.figcap { font-size: 15px; line-height: 1.4; color: var(--muted); }

/* ---------- header ---------- */
.hdr { position: relative; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.hdr__logo { flex-shrink: 1; min-width: 0; }
.hdr__logo img { height: 38px; width: auto; }
.hdr__nav, .hdr__phone, .hdr__book { display: none; }
.hdr__call { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 24px; background: var(--acc);
  color: var(--on-acc); margin-left: auto; }
.hdr__call:hover { background: var(--acc-d); color: var(--on-acc); }
.hdr__menu { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; flex-shrink: 0; padding: 0 14px; border-radius: var(--rb);
  border: 2px solid var(--acc); background: transparent; color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; }
.menu { border-top: 1px solid var(--line); background: var(--bg); }
.menu__in { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 12px; }
.menu a { padding: 12px 0; font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a:last-child { border-bottom: 0; }

/* ---------- caption chip ---------- */
.photo__cap { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); font-size: 14px; line-height: 1.3; font-weight: 600;
  background: rgb(255 255 255 / .92); color: var(--cap-ink); padding: 4px 10px; border-radius: 999px; }

/* ---------- first screen: illustration as background, text on the dark gradient ---------- */
.hero { background: var(--alt); }
.hero__stage { position: relative; isolation: isolate; background: var(--hero); color: var(--on-acc); }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__pic, .hero__pic img { width: 100%; height: 100%; }
.hero__pic img { object-fit: cover; object-position: 50% 78%; }
.hero__bg { bottom: auto; height: 560px; }
.hero__stage::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 560px; z-index: -1;
  background: linear-gradient(180deg, rgb(var(--hero-rgb) / 0) 0, rgb(var(--hero-rgb) / .1) 120px, rgb(var(--hero-rgb) / .62) 230px, rgb(var(--hero-rgb) / .78) 420px, var(--hero) 560px); }
.hero__in { padding-top: clamp(96px, 26vw, 190px); padding-bottom: 48px; }
.hero__text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero .h1 { color: var(--on-acc); text-shadow: 0 2px 14px rgb(0 0 0 / .45); }
.hero__p, .hero .cta__sub, .hero .callline, .hero__certs { text-shadow: 0 1px 8px rgb(0 0 0 / .6); }
.hero__p, .hero .cta__sub, .hero__certs { color: var(--on-dark); }
.hero__p { max-width: 60ch; }
.hero__certs { font-size: 16px; line-height: 1.5; }
.hero__certs > span:first-child { font-weight: 700; color: var(--on-acc); }
.hero .callline { color: var(--on-acc); }
.hero .tel--big .ic { color: var(--on-acc); }
.hero .btn--secondary { background: transparent; color: var(--on-acc); border-color: rgb(255 255 255 / .7); }
.hero .btn--secondary:hover { background: rgb(255 255 255 / .12); color: var(--on-acc); }
.hero__cap { position: absolute; top: 12px; bottom: auto; right: 16px; left: auto; z-index: 1; }
.callline { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
.hero__more { padding: 20px 0 28px; }
.doors { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; }
.door { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 0 20px; border-top: 1px solid var(--ph-edge); text-decoration: none; color: var(--ink); }
.door:hover { color: var(--ink); }
.door__t { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.3; }
.door:hover .door__t { color: var(--acc-d); text-decoration: underline; text-underline-offset: 4px; }
.door__t .ic { color: var(--acc); transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.door:hover .door__t .ic { transform: translateX(4px); }
.door__d { color: var(--muted); line-height: 1.45; }

/* ---------- call to action and quote panel (collects nothing: e-mail and phone only) ---------- */
.cta { display: flex; flex-direction: column; gap: 12px; }
.cta__btns { display: flex; flex-direction: column; gap: 12px; }
.cta__btns .btn { width: 100%; }
.cta__sub { color: var(--muted); max-width: 60ch; text-wrap: balance; }
.form { width: 100%; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 20px;
  display: flex; flex-direction: column; gap: 14px; text-align: left; text-shadow: none; }
.form__head { display: flex; flex-direction: column; gap: 6px; }
.form__title { font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.3; text-wrap: balance; }
.form__lead { color: var(--muted); line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__req { color: var(--err); margin-left: 3px; }
.field__input.field__select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232D6A73' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field__input--area { height: auto; min-height: 96px; padding: 12px 16px; line-height: 1.45; resize: vertical; }
.err { font-size: 15px; line-height: 1.4; color: var(--err); font-weight: 700; }
.rq { max-width: 600px; }
.rq__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.rq__note { font-size: 15px; line-height: 1.45; color: var(--muted); }
.notice { display: flex; flex-direction: column; gap: 6px; padding: 14px 0 2px; border-top: 2px solid var(--acc); }
.notice:focus { outline: none; }
.notice__title { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.3; }
.notice__title .ic { color: var(--acc); }
.btn--full { width: 100%; }
.foot__credit { margin-top: 6px; }
.field__label { font-size: 16px; font-weight: 600; }
.field__hint { font-size: 15px; color: var(--muted); }
.field__hint.is-err { color: var(--err); font-weight: 700; }
.field__input { width: 100%; height: 52px; border: 1.5px solid var(--ph-edge); border-radius: var(--rb); padding: 0 16px; font: inherit; font-size: 18px;
  color: var(--ink); background: var(--card); font-variant-numeric: tabular-nums; }
.field__input::placeholder { color: var(--placeholder); }
.field__input:focus { border-color: var(--acc); outline: 3px solid var(--acc-ring); outline-offset: 0; }
.field__input[aria-invalid="true"] { border-color: var(--err); }
.share { width: 100%; max-width: 580px; background: var(--ph); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex;
  flex-direction: column; gap: 10px; }
.share__text { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; line-height: 1.55; user-select: all; -webkit-user-select: all;
  overflow-wrap: anywhere; }
.ask { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ask > .btn { width: 100%; }
.askp { width: 100%; max-width: 580px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px;
  display: flex; flex-direction: column; gap: 12px; }
.askp__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- sections ---------- */
.sec { padding: 44px 0 48px; }
.sec--alt { background: var(--alt); }
.sec > .wrap { display: flex; flex-direction: column; gap: var(--gap); }
.split { display: flex; flex-direction: column; gap: 24px; }
.col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.itile { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: var(--soft); color: var(--acc); display: flex; align-items: center;
  justify-content: center; }

/* pills (filter and calculator) */
.q { display: flex; flex-direction: column; gap: 12px; }
.q__label { font-weight: 700; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 48px; min-width: 56px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ph-edge); background: var(--card); color: var(--ink);
  font-size: 17px; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color .15s, border-color .15s, color .15s; }
.pill:hover { border-color: var(--acc); }
.pill[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }

/* range: cards below 1000px, a real table above (same data; only one is shown) */
.stable { display: none; }
.scards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.scard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 16px 10px; min-width: 0; }
.scard__t { font-family: var(--head); font-size: 20px; line-height: 1.3; text-wrap: balance; }
.scard__s { margin-top: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.45; }
.scard__dl > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 7px 0; font-size: 16px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.scard__dl dt { color: var(--muted); font-size: 15px; line-height: 1.5; }
.scard__dl dd { overflow-wrap: break-word; }
.scards--cert .scard__dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
.stab__count { color: var(--muted); font-size: 16px; font-variant-numeric: tabular-nums; }
.split--gamma { gap: 20px; }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "q" "r" "c" "s"; gap: 22px; }
.calc__qs { grid-area: q; display: flex; flex-direction: column; gap: 22px; }
.qty { max-width: 300px; }
.calc__card { grid-area: r; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px;
  display: flex; flex-direction: column; gap: 14px; min-width: 0; font-variant-numeric: tabular-nums; }
.calc__lines { display: flex; flex-direction: column; }
.calc__line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); line-height: 1.45; }
.calc__v { font-weight: 700; white-space: nowrap; }
.calc__total { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.calc__tl { color: var(--muted); }
.calc__sum { font-family: var(--head); font-weight: 700; font-size: clamp(26px, 8.5vw, 34px); line-height: 1.1; color: var(--num); white-space: nowrap; }
.calc__range { color: var(--muted); font-size: 16px; }
.calc__notes { display: flex; flex-direction: column; gap: 8px; }
.calc__notes:empty { display: none; }
.calc__note { padding-top: 12px; border-top: 1px solid var(--line); line-height: 1.5; }
.calc__foot { color: var(--muted); line-height: 1.5; }
.calc__cta { grid-area: c; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.calc__small { grid-area: s; }

/* supply terms: icon beside the heading, ruled list */
.terms { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--ink); }
.terms li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.terms li > .ic { color: var(--acc); margin-top: 2px; }
.terms__t { font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.3; margin-bottom: 4px; text-wrap: balance; }
.terms p { color: var(--muted); line-height: 1.5; }

/* production: numbered process */
.steps { counter-reset: s; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-content: start; column-gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1;
  color: var(--num); font-variant-numeric: tabular-nums; }
.steps__t { font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.3; margin-bottom: 4px; text-wrap: balance; }
.steps p { color: var(--muted); line-height: 1.5; }

/* laboratory: tests and standards */
.ltab { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  font-variant-numeric: tabular-nums; }
.ltab th, .ltab td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); line-height: 1.4; vertical-align: top; }
.ltab thead th { background: var(--num); color: var(--on-acc); font-size: 15px; }
.ltab tbody th { font-weight: 400; }
.ltab td { white-space: nowrap; font-weight: 700; }
.ltab tbody tr:last-child > * { border-bottom: 0; }

/* bonding, faces */
.spec { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.spec__row { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { font-weight: 600; line-height: 1.45; }
.bscale { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.bscale li { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bscale__m { grid-row: span 2; display: flex; gap: 3px; align-self: center; }
.bscale__m i { display: block; width: 16px; height: 10px; border-radius: 2px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.bscale li:nth-child(1) .bscale__m .on { background: #6AAAB5; box-shadow: none; }
.bscale li:nth-child(2) .bscale__m .on { background: #41858D; box-shadow: none; }
.bscale li:nth-child(3) .bscale__m .on { background: #285056; box-shadow: none; }
.bscale b { font-family: var(--head); font-size: 19px; line-height: 1.3; }
.bscale li > span:last-child { color: var(--muted); line-height: 1.4; }

/* made to measure: drawings */
.col--draw { gap: 16px; }
.draw { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.draw__svg { width: 100%; height: auto; }
.draw__svg--w { display: none; }
.draw--radius .draw__svg { display: none; }
.rlist { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rlist th, .rlist td { padding: 8px 0; text-align: left; border-bottom: 1px solid var(--line); }
.rlist th { font-size: 15px; color: var(--muted); font-weight: 600; }
.rlist td:last-child { font-weight: 700; }

/* technical panels and other products: ruled columns */
.prods { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; }
.prods li { display: flex; flex-direction: column; gap: 10px; padding: 20px 0 24px; border-top: 2px solid var(--ink); }
.prods__t { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.3; text-wrap: balance; }
.prods p:not(.tag) { color: var(--muted); line-height: 1.55; }
.tag { align-self: flex-start; font-family: var(--head); font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--acc-soft); color: var(--acc-d);
  font-variant-numeric: tabular-nums; }

/* history */
.hist { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.hist li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hist__y { font-family: var(--head); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--num); overflow-wrap: break-word; font-variant-numeric: tabular-nums; }
.hist__d { line-height: 1.5; }
.brandfig { background: var(--foot); border-radius: var(--r); padding: 28px 24px 22px; display: flex; flex-direction: column; gap: 18px; }
.brandfig img { width: 100%; max-width: 340px; height: auto; }
.brandfig__cap { color: var(--foot-muted); font-size: 16px; line-height: 1.45; }

/* FAQ */
.faq { display: flex; flex-direction: column; max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none;
  font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 11px; height: 11px; flex-shrink: 0; margin-right: 6px; border-right: 2.5px solid var(--acc); border-bottom: 2.5px solid var(--acc);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--acc-d); }
.faq details p { padding: 0 0 18px; max-width: 70ch; }

/* contacts */
.crows { display: flex; flex-direction: column; }
.crow { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.crow > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.crow__l { font-size: 16px; color: var(--muted); }
.crow__v { font-size: 19px; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
.crow__v a { display: inline-block; padding: 2px 0; color: var(--ink); }
.route { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.route__d { color: var(--muted); line-height: 1.45; }
.route .btn { width: 100%; }

/* ---------- 404 and legal pages ---------- */
.doc__in { max-width: calc(820px + 2 * var(--side)); }
.doc__code { font-weight: 700; color: var(--num); }
.doc__h1 { margin-bottom: 4px; }
.doc__meta { color: var(--muted); }
.doc__h2 { font-family: var(--head); font-weight: 700; font-size: 24px; line-height: 1.3; margin-top: 12px; text-wrap: balance; }
.doc p { max-width: 60ch; line-height: 1.6; }
.doc__links { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 480px; }
.doc__links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.doc__links a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.foot { background-color: var(--foot); background-image: linear-gradient(90deg, #6AAAB5 0 20%, #4F9EA7 20% 40%, #41858D 40% 60%, #346B72 60% 80%, #285056 80%);
  background-size: 100% 6px; background-repeat: no-repeat; color: var(--foot-ink); padding: 38px 0 40px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.foot__col { display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; color: var(--foot-muted); align-items: flex-start; }
.foot__col img { height: 44px; width: auto; margin-bottom: 8px; }
.foot a { display: inline-block; padding: 2px 0; color: var(--foot-ink); }
.foot a:hover { color: var(--on-acc); }

/* ---------- bottom of the phone screen ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; flex-direction: column; }
.panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--card);
  border-top: 1px solid var(--line); }
.panel__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; padding: 6px 4px; border-radius: var(--rb);
  border: 2px solid var(--acc); background: var(--card); color: var(--acc); font-size: 15px; font-weight: 700; line-height: 1.3; text-decoration: none; cursor: pointer; }
.panel__btn--main { background: var(--acc); color: var(--on-acc); }
.panel__btn--main:hover { color: var(--on-acc); background: var(--acc-d); }
.sheet { max-width: none; border-radius: 0; border: 0; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(0 0 0 / .08); padding: 14px 16px; }
.sheet p { font-size: 16px; line-height: 1.45; }
.sheet .askp__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sheet .askp__btns .btn { padding: 6px; font-size: 16px; min-height: 50px; gap: 6px; }
.typing .panel, .typing .sheet { display: none; }

/* ---------- narrow phone ---------- */
@media (max-width: 379px) {
  :root { --side: 16px; }
  .h1 { font-size: 28px; }
  .h2 { font-size: 26px; }
  .hdr__logo img { height: 32px; }
  .hdr__menu { padding: 0 12px; }
  .hdr__menu > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pill { min-width: 48px; padding: 8px 11px; font-size: 16px; }
  .hist li { grid-template-columns: 86px minmax(0, 1fr); }
  .scard__dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bclass li { padding: 12px 4px; }
  .bclass li > span:last-child { font-size: 14px; }
  .ltab th, .ltab td { padding: 10px 12px; }
  .calc__line { gap: 10px; }
}

/* ---------- tablet ---------- */
@media (min-width: 700px) {
  :root { --side: 32px; --gap: 28px; }
  .h1 { font-size: 40px; }
  .h2 { font-size: 34px; }
  .h3 { font-size: 24px; }
  .hero__in { padding-top: 64px; padding-bottom: 72px; }
  .hero__text { max-width: 660px; }
  .hero__bg { bottom: 0; height: auto; }
  .hero__pic img { object-position: 70% 50%; }
  .hero__stage::before { bottom: 0; height: auto; background: linear-gradient(90deg, rgb(var(--hero-rgb) / .84) 0, rgb(var(--hero-rgb) / .7) calc(50% + 120px), rgb(var(--hero-rgb) / .16) calc(50% + 380px),
    rgb(var(--hero-rgb) / 0) 100%); }
  .hero__cap { top: auto; bottom: 20px; right: 24px; }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__btns { flex-direction: row; flex-wrap: wrap; }
  .cta__btns .btn { width: auto; padding: 0 30px; min-height: 60px; }
  .ask > .btn { width: auto; padding: 0 30px; min-height: 60px; }
  .form { padding: 28px; }
  .form__title { font-size: 23px; }
  .field__input { height: 56px; }
  .field__input--area { height: auto; }
  .rq__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sec { padding: 64px 0 72px; }
  .scards { gap: 16px; }
  .scard__dl > div, .scards--cert .scard__dl > div { grid-template-columns: 160px minmax(0, 1fr); gap: 12px; }
  .pills { gap: 10px; }
  .pill { min-height: 52px; min-width: 64px; padding: 8px 18px; }
  .calc__card { padding: 28px; }
  .calc__sum { font-size: 44px; }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 16px 0; }
  .bclass { gap: 12px; }
  .bclass li { padding: 18px 12px; }
  .draw { padding: 24px; }
  .draw__svg--w { display: block; }
  .draw__svg--p { display: none; }
  .draw--radius .draw__svg { display: block; }
  .draw--radius .rlist { display: none; }
  .prods--2, .prods--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prods__t { font-size: 24px; }
  .hist li { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; }
  .hist__y { font-size: 22px; }
  .brandfig { padding: 40px 36px 28px; }
  .route { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
  .route .btn { width: auto; padding: 0 24px; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .faq summary { font-size: 21px; }
  .doc__h2 { font-size: 26px; }
}

/* ---------- desktop ---------- */
@media (min-width: 1000px) {
  :root { --side: 40px; --gap: 36px; --hdr-h: 88px; }
  html { scroll-padding-top: 100px; }
  .h1 { font-size: 44px; }
  .h2 { font-size: 40px; }
  .h3 { font-size: 26px; }
  .hdr { position: sticky; top: 0; }
  .hdr .wrap { max-width: calc(1280px + 2 * var(--side)); }
  .hdr__in { min-height: 88px; gap: 22px; padding-top: 0; padding-bottom: 0; }
  .hdr__logo img { height: 50px; }
  .hdr__phone { display: flex; flex-direction: column; align-items: flex-end; margin-left: auto; }
  .hdr__phone .tel { font-size: 17px; text-decoration: none; color: var(--ink); display: inline-block; padding: 1px 0; }
  .hdr__mail { display: inline-block; padding: 2px 0; font-size: 14px; white-space: nowrap; color: var(--muted); text-decoration: none; }
  .hdr__mail:hover { color: var(--acc); text-decoration: underline; }
  .hdr__book { display: inline-flex; white-space: nowrap; }
  .hdr__call { display: none; }
  .hero__in { padding-top: 56px; padding-bottom: 64px; min-height: 600px; display: flex; align-items: center; }
  .hero__text { max-width: 760px; gap: 24px; }
  .hero__pic img { object-position: 60% 50%; }
  .hero__stage::before { background: linear-gradient(90deg, rgb(var(--hero-rgb) / .82) 0, rgb(var(--hero-rgb) / .68) calc(50% + 140px), rgb(var(--hero-rgb) / .14) calc(50% + 420px),
    rgb(var(--hero-rgb) / 0) 100%); }
  .hero__more { padding: 36px 0 40px; }
  .doors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .door__t { font-size: 23px; }
  .sec { padding: 96px 0 104px; }
  .split { display: grid; gap: 64px; align-items: start; }
  .split--gamma { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .split--lab { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

  .scards { display: none; }
  .stable { display: block; }
  .stab { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-variant-numeric: tabular-nums; background: var(--card);
    border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
  .stab thead th:first-child { border-top-left-radius: calc(var(--r) - 1px); }
  .stab thead th:last-child { border-top-right-radius: calc(var(--r) - 1px); }
  .stab tbody tr:last-child > :first-child { border-bottom-left-radius: calc(var(--r) - 1px); }
  .stab tbody tr:last-child > :last-child { border-bottom-right-radius: calc(var(--r) - 1px); }
  .stab thead th { position: sticky; top: var(--hdr-h); z-index: 2; background: var(--num); color: var(--on-acc); font-size: 15px; line-height: 1.3; font-weight: 700;
    text-align: left; padding: 12px 14px; vertical-align: bottom; }
  .stab thead th small { display: block; font-size: 13px; font-weight: 400; color: var(--on-dark); }
  .stab tbody th, .stab td { padding: 14px; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; text-align: left; overflow-wrap: break-word; }
  .stab tbody th { font-weight: 400; }
  .stab tbody th b { display: block; margin-bottom: 3px; font-family: var(--head); font-size: 18px; line-height: 1.3; color: var(--ink); }
  .stab tbody th > span { display: block; color: var(--muted); }
  .stab tbody tr:last-child > * { border-bottom: 0; }
  .stab tbody tr:hover > * { background: var(--ph); }
  .stab thead th:nth-child(1) { width: 21%; }
  .stab thead th:nth-child(2) { width: 8%; }
  .stab thead th:nth-child(3) { width: 15%; }
  .stab thead th:nth-child(4) { width: 13%; }
  .stab thead th:nth-child(5) { width: 14%; }
  .stab thead th:nth-child(6) { width: 9%; }
  .stab thead th:nth-child(7) { width: 20%; }
  .stab--cert thead th:nth-child(1) { width: 40%; }
  .stab--cert thead th:nth-child(2) { width: 22%; }
  .stab--cert thead th:nth-child(3) { width: 16%; }
  .stab--cert thead th:nth-child(4) { width: 22%; }
  .stab--cert tbody th, .stab--cert td { font-size: 16px; }

  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); grid-template-areas: "q r" "c r" "s r"; grid-template-rows: auto auto 1fr; gap: 28px 56px;
    align-items: start; }
  .calc__qs { gap: 28px; }
  .calc__card { padding: 30px; }
  .calc__sum { font-size: 46px; }
  .calc__cta { margin-top: 6px; }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split--a7 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--a7 .col:first-child { gap: 28px; }
  .split--a7 .col:last-child { gap: 18px; }
  .split--a8 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--a8 .col:first-child { gap: 24px; }
  .prods--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prods--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
  .split--a11 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--a11 .col:first-child { gap: 24px; }
  .split--a12 { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
  .split--a12 .col:first-child { gap: 24px; }
  .foot { padding: 56px 0; }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .foot__col img { height: 50px; }
  .panel, .sheet { display: none !important; }
}
@media (min-width: 1000px) and (min-height: 820px) {
  .calc__card { position: sticky; top: calc(var(--hdr-h) + 24px); }
  .split--a8 .col:first-child, .split--a11 .col:last-child { position: sticky; top: calc(var(--hdr-h) + 24px); }
}

/* ---------- desktop in a small window ---------- */
@media (min-width: 1000px) and (max-width: 1279px) {
  .h1 { font-size: 40px; }
  .hero__text { max-width: 640px; }
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 28px 40px; }
  .calc__sum { font-size: 40px; }
  .split--gamma, .split--a7, .split--a8, .split--a11, .split--a12, .split--lab { gap: 40px; }
  .split--a12 { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
  .stab tbody th, .stab td { padding: 12px 10px; font-size: 14.5px; }
  .stab thead th { padding: 12px 10px; font-size: 14px; }
  .stab tbody th b { font-size: 17px; }
  .hist li { grid-template-columns: 150px minmax(0, 1fr); }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- wide ---------- */
@media (min-width: 1280px) {
  .h1 { font-size: 50px; }
  .hero__in { min-height: 640px; }
}

/* ---------- section links in the header ---------- */
@media (min-width: 1360px) {
  .hdr__nav { display: flex; gap: 22px; }
  .hdr__nav a { font-size: 16px; font-weight: 600; white-space: nowrap; color: var(--ink); text-decoration: none; padding: 4px 0; }
  .hdr__nav a:hover { color: var(--acc); text-decoration: underline; }
  .hdr__phone { margin-left: 0; }
  .hdr__menu { display: none; }
  .menu { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
