/* JUST GRAPHICS — Brand Type System 1.0 (Site 2.0, package E).
   One typography layer for all 79 pages, loaded last on every page.
   Brand OS: display Unbounded (uppercase, tracking -0.055em), body Inter, technical Space Mono.
   Cyrillic: Unbounded and Inter carry Cyrillic; Space Mono has none, so "JG Mono" takes
   Cyrillic glyphs from JetBrains Mono (OFL) through unicode-range.
   Arabic pages keep IBM Plex Sans Arabic (ar.css); only italics are removed there.
   The logo is an image and is not affected. */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-700-latin-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-black-latin-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400-latin-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600-latin-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "JG Mono";
  src: url("../fonts/space-mono-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JG Mono";
  src: url("../fonts/space-mono-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JG Mono";
  src: url("../fonts/jetbrains-mono-400-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491;
}

@font-face {
  font-family: "JG Mono";
  src: url("../fonts/jetbrains-mono-700-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491;
}

/* Tokens. Equal specificity to ru.css, which this file follows, so EN and RU share one system. */
html:not([lang="ar"]) {
  --font-display: "Unbounded", "Arial Black", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-technical: "JG Mono", ui-monospace, Menlo, monospace;
  --font-ru-display: var(--font-display);
  --font-ru-body: var(--font-body);
  --type-h1: clamp(2rem, 1.2rem + 3.4vw, 4.4rem);
  --type-h2: clamp(1.55rem, 1.15rem + 1.75vw, 2.85rem);
  --type-h3: clamp(1.05rem, 0.98rem + 0.35vw, 1.35rem);
  --type-label: 0.74rem;
}

/* No synthetic bold or italic anywhere: the brand has no italic cuts. */
html {
  font-synthesis: none;
}

html body *,
html body *::before,
html body *::after {
  font-style: normal !important;
}

/* Body: Inter. */
html:not([lang="ar"]):not(#jg-type) body {
  font-family: var(--font-body);
  line-height: 1.6;
}

html:not([lang="ar"]):not(#jg-type) body :is(p, li, dd, dt, td, th, label, input, select, textarea, small, figcaption, blockquote) {
  font-family: var(--font-body);
}

/* Display: H1 and H2 — Unbounded Black, uppercase. */
html:not([lang="ar"]):not(#jg-type) body :is(h1, h2) {
  font-family: var(--font-display) !important;
  font-weight: 900 !important;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-transform: uppercase;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

html:not([lang="ar"]):not(#jg-type) body main h1 {
  font-size: var(--type-h1);
  max-width: 20ch;
}

html:not([lang="ar"]):not(#jg-type) body main h2 {
  font-size: var(--type-h2);
}

/* Cyrillic sets wider: slightly smaller display and a touch more tracking. */
html[lang="ru"]:not(#jg-type) body main h1 {
  font-size: calc(var(--type-h1) * 0.86);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

html[lang="ru"]:not(#jg-type) body main h2 {
  font-size: calc(var(--type-h2) * 0.88);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

/* H3, H4 and card titles — Unbounded Bold, sentence case. */
html:not([lang="ar"]):not(#jg-type) body :is(h3, h4, .service-card__title, .project-card__title, .service-item__copy h3, .page-link-card strong, .fleet-logic-card h3, .related-service-card strong) {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
}

html:not([lang="ar"]):not(#jg-type) body main :is(h3, h4) {
  font-size: var(--type-h3);
}

/* Buttons — Unbounded Bold, uppercase. */
html:not([lang="ar"]):not(#jg-type) body :is(.button, button.button, .desktop-quote, .contact-primary-action, .mobile-cta-bar a, .mobile-cta-bar button, .mega-approved__links a, .lx-cta a) {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

/* Navigation — Inter SemiBold. */
html:not([lang="ar"]):not(#jg-type) body :is(.nav-link, .site-nav a, .footer-services__list a, .mega-approved__mobile-links a, .language-switcher a, .language-switcher button) {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

/* Mega menu category names follow the display role. */
html:not([lang="ar"]):not(#jg-type) body .mega-approved__group strong {
  font-family: var(--font-display) !important;
  font-weight: 900 !important;
  font-size: clamp(1.05rem, 1.6vw, 1.7rem);
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

/* Inter has 400 and 600 cuts only. */
html:not([lang="ar"]):not(#jg-type) body :is(strong, b) {
  font-weight: 600;
}

/* Technical labels — JG Mono (Space Mono + JetBrains Mono Cyrillic), uppercase, wide tracking. */
html:not([lang="ar"]):not(#jg-type) body :is(.eyebrow, .mega-approved__tag, .footer-services__title, .service-card__number, .process-card__number, .material-card__label, .service-project-card__copy span, .service-hero__media--type span, .fleet-progress__meta, .fleet-level__copy span, .fleet-live-value, .payment-options__position, .project-provenance, .service-card__meta) {
  font-family: var(--font-technical) !important;
  font-weight: 700 !important;
  font-size: var(--type-label);
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Arabic: keep IBM Plex Sans Arabic everywhere, no display caps or tracking. */
html[lang="ar"]:not(#jg-type) body :is(h1, h2, h3, h4, .button, .nav-link, .eyebrow, .mega-approved__group strong, .mega-approved__links a) {
  font-family: var(--font-ar);
  letter-spacing: 0;
  text-transform: none;
}


/* ---------------------------------------------------------------------------------------------------------
   Type System 1.1 — line spacing and word breaks for every heading (typography audit 28.10.2026).
   Replaces ~30 page-level line-heights with one rule per role and script. Sizes, fonts, case and tracking
   stay as approved; only leading and breaking are set here.

   Leading comes from the real ink of the fonts (canvas bounds, em):
     Unbounded Black caps: cap 0.75 (0.77 with overshoot); Й 0.99, Ё 1.01; Д Ц Щ descend 0.15; comma 0.155.
     Unbounded Bold lower case: й 0.82, б 0.80; у g y descend 0.18.  Inter SemiBold: Й 0.95; у g 0.21.
     IBM Plex Sans Arabic Bold: alef/lam 0.74, madda 0.83; final ya descends 0.46, jim 0.30.
   Leading = tallest mark of the lower line + deepest descender of the upper line + at least 0.05 em of air (checked on all 90 pages × 7 widths),
   so neighbouring lines never touch, while the block stays as dense as the script allows.

   Word breaks: display and title lines never break inside a word — no automatic hyphens, no soft hyphens,
   no emergency breaks. A word that does not fit is solved by size, measure or wording, never by a hyphen.

   Specificity: three id-negations outrank every page layer (they use two), so no !important is needed.
   --------------------------------------------------------------------------------------------------------- */

/* E1 (rev. 3, proposal): EN display leading 1.00 → 1.06. At 1.00 a comma or Q tail came within 0.05 em of the
   capitals below («ENGINEERED, / NOT DECORATED.»): no geometric touch, but the lines read as one block. */
html {
  --lh-display: 1.06;
  --lh-title: 1.15;
  --lh-title-body: 1.2;
}

html[lang="ru"] {
  --lh-display: 1.22;
  --lh-title: 1.15;
  --lh-title-body: 1.2;
}

html[lang="ar"] {
  --lh-display: 1.45;
  --lh-title: 1.45;
  --lh-title-body: 1.45;
}

/* Display: hero H1, section H2, display-sized names. */
html:not(#ts-a):not(#ts-b):not(#ts-c) body :is(h1, h2, .mega-approved__group strong, .service-hero__media--type strong) {
  line-height: var(--lh-display);
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

/* Titles: H3, H4 and card titles (Unbounded Bold, or Inter SemiBold on the 2.3 pages). */
html:not(#ts-a):not(#ts-b):not(#ts-c) body :is(h3, h4, .service-card__title, .project-card__title, .page-link-card strong, .related-service-card strong, .pc-card__title, .faq-question, .s2-prices strong, .cookie-consent strong) {
  line-height: var(--lh-title);
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

html:not(#ts-a):not(#ts-b):not(#ts-c) body .pc :is(h3, h4, .pc-card__title) {
  line-height: var(--lh-title-body);
}

/* FAQ questions: the button was a two-column grid, so a Latin brand name inside Arabic text (bdi) became its own
   cell and drew over the question. Text now flows as one paragraph; the + sign keeps its place at the line end. */
html:not(#ts-a):not(#ts-b):not(#ts-c) body .faq-question {
  display: block;
  position: relative;
  padding-inline-end: calc(2.5rem + var(--space-4));
  text-align: start;
}

html:not(#ts-a):not(#ts-b):not(#ts-c) body .faq-question::after {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  translate: 0 -50%;
}

html:not(#ts-a):not(#ts-b):not(#ts-c) body .faq-question[aria-expanded="true"]::after {
  translate: 0 -50%;
}

/* ---------------------------------------------------------------------------------------------------------
   Rev. 2 (29.10.2026, owner's brief "Type System 1.1 — финализация").
   A. Technical fixes — layout bugs that pushed text or the page past its box; no change to the composition.
   --------------------------------------------------------------------------------------------------------- */

/* A1. Home hero photo: min-height 18rem × aspect 4:3 forced a 384 px wide box, wider than a 360 px phone
   (horizontal scroll on EN/RU home). The box now takes the column width and keeps its height. */
html:not(#ts-a):not(#ts-b):not(#ts-c) body .s2-hero__visual {
  width: 100%;
  min-width: 0;
}

/* A2. Legal pages: the storage table's min-content widened the single grid column past the phone screen
   (Cookies at 360). RU already had this rule in ru.css; now all languages. The table keeps its own scroller. */
html:not(#ts-a):not(#ts-b):not(#ts-c) body .legal-shell {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 54rem) {
  html:not([lang="ru"]):not(#ts-a):not(#ts-b):not(#ts-c) body .legal-shell {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  }
}

/* A3. Custom Livery hero: the outer page margin (--lx-pad, 384 px at 1920) was also applied on the side facing
   the photo, leaving the title a 134 px column. The inner side now uses the same gap as the other heroes. */
@media (min-width: 60rem) {
  html:not(#ts-a):not(#ts-b):not(#ts-c) body .lx-hero__copy {
    padding-inline-end: var(--space-7);
  }
}

/* A6 (rev. 4, final review). Custom Livery "team" and "collection" splits: the same outer margin as in A3 (--lx-pad,
   384 px at 1920) sat on the side facing the photo, leaving «ONE / TEAM. / ONE / IDENTITY.» a 265 px column. The side
   facing the photo now uses the gap of the other splits; the outer side keeps the page margin. Logical sides, so AR
   (mirrored) follows. */
@media (min-width: 60rem) {
  html:not(#ts-a):not(#ts-b):not(#ts-c) body .lx-split__copy {
    padding-inline-start: var(--space-7);
  }

  html:not(#ts-a):not(#ts-b):not(#ts-c) body .lx-collection .lx-split__copy {
    padding-inline-start: var(--lx-pad);
    padding-inline-end: var(--space-7);
  }
}

/* A7 (rev. 4). Printing, Supra proof photos on 360 px: the caption box inside a 141 px photo left 92 px for text,
   less than «профессионального» (104 px, RU). Below 390 px the caption sits 6 px from the photo edge with 10 px
   inner padding (was 10.4 / 12.8); text, size and look unchanged. */
@media (max-width: 24.374rem) {
  html:not(#ts-a):not(#ts-b):not(#ts-c) body .supra-proof__media figcaption {
    inset-inline: var(--space-1);
    padding-inline: var(--space-2);
  }
}

/* A8 (rev. 4). Fleet discount tiers, RU on 360 px: three 83 px columns, «автомобилей» is 85 px (2 px past its column,
   also before Type System). Below 390 px the gap is 6 px instead of 10, so each column is 86 px. */
@media (max-width: 24.374rem) {
  html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .fleet-discount-grid {
    column-gap: var(--space-1);
  }
}

/* A4. Cookie banner (RU at 1024): the buttons' column took all spare width and the title column became narrower
   than «конфиденциальность». The title column now never goes below its longest word; buttons wrap if needed. */
@media (min-width: 54rem) {
  html:not(#ts-a):not(#ts-b):not(#ts-c) body .cookie-consent__summary {
    grid-template-columns: minmax(min-content, 1fr) auto;
  }
}

/* A5. Trust Center RU (brief §6): «КОНФИДЕНЦИАЛЬНОСТИ» is wider than a third of the page and than the 12ch title
   measure. RU cards stand in one column at every width; the title uses the card width. */
html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .trust-grid {
  grid-template-columns: minmax(0, 1fr);
}

html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .trust-card h2 {
  max-width: none;
}

/* ---------------------------------------------------------------------------------------------------------
   B. Proposals — card grids where a whole word cannot fit at the approved size. Changes the number of columns
   only; content, order and sizes stay. Same rule in EN, RU and AR. Awaiting the owner's decision.
   --------------------------------------------------------------------------------------------------------- */

/* B1. Short service pages, process cards on phones: two columns of 117 px cannot hold «Производственный»
   (211 px) or «Installation». One column below 480 px. */
@media (max-width: 29.999rem) {
  html:not(#ts-a):not(#ts-b):not(#ts-c) body .process-grid--compact {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* B2. Price list rows on phones: the price took 192 px of the row, leaving the service name 116 px
   («Широкоформатная» needs 237). Below 480 px the price goes under the name. */
@media (max-width: 29.999rem) {
  html:not(#ts-a):not(#ts-b):not(#ts-c) body .s2-prices a {
    grid-template-columns: minmax(0, 1fr);
  }

  html:not(#ts-a):not(#ts-b):not(#ts-c) body .s2-prices b {
    grid-column: 1;
    grid-row: auto;
    text-align: start;
  }
}

/* B3. About, "why" cards (rev. 3, alternative B3-b). The approved desktop keeps four columns in EN and AR: there
   «Communication» fits at 1440/1920 and needs 88 % only at 1024 (CSS cap below). RU «Профессиональная» (12.9 em)
   would need 81–85 % in a 227 px column, so RU cards stay in two columns from 672 px up (as on tablets).
   Phones: one column, as approved. Variant B3-a (two columns in all languages) is shown in the report. */
@media (min-width: 42rem) {
  html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .why-grid:not(.why-grid--compact) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  html:not([lang="ru"]):not(#ts-a):not(#ts-b):not(#ts-c) body .why-grid article {
    container-type: inline-size;
  }

  html:not([lang="ru"]):not([lang="ar"]):not(#ts-a):not(#ts-b):not(#ts-c) body .why-grid h3 {
    font-size: min(var(--type-h3), calc(100cqi / 9.85 * 0.99));
  }
}

/* B4. Service heroes (rev. 3, variant B4-c): the text column is 41 % of the row; MERCHANDISE and COMMERCIAL would
   need 0.73–0.80 of their size there. Only heroes whose title carries such a word (ts-long, EN merchandise and
   commercial vehicle branding) share the row 50/50; the remaining step is the CSS cap of part D (88–97 %).
   Every other service hero keeps the approved 41/59 photo. RU heroes are one column already (ru.css).
   Variant B4-a (50/50 on every service hero) is shown in the report. */
@media (min-width: 60rem) {
  html:not([lang="ru"]):not(#ts-a):not(#ts-b):not(#ts-c) body .service-hero__grid:has(h1.ts-long) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* B5. Short service pages, project photo cards on phones: two columns of 144 px cannot hold «Иллюстрированная»
   (218 px) or «Коммерческий». One column below 480 px, as B1. */
@media (max-width: 29.999rem) {
  html:not(#ts-a):not(#ts-b):not(#ts-c) body .service-gallery--compact {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------------------------------------------------
   C. Exceptions (rev. 3) — one word longer than the line even after A and B, so the size goes below 85 %.
   Each needs the owner's approval; the report shows the alternatives. The size is capped by the column
   (container query, CSS only), so only the screens that need it are touched.
   --------------------------------------------------------------------------------------------------------- */

/* C1. Trust Center RU, variant C1-b. «КОНФИДЕНЦИАЛЬНОСТИ» = 16.73 em. All six card titles share one size, capped by
   the card so that word fits; on phones the card padding is 20 px (as the other phone cards, ux-mobile-cta.css)
   instead of 28: 360 → 16.9 px (78 %), 390 → 18.7 px (84 %), 430 → 93 %, 768 px and up unchanged. */
html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .trust-card__body {
  container-type: inline-size;
}

html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .trust-card h2 {
  font-size: min(calc(var(--type-h2) * 0.88), calc(100cqi / 16.73 * 0.99));
}

/* The card's star (::after, top-right) sat beside a 12ch title; RU titles now use the card width, so the first line
   keeps a one-line gap under the star and the long word on the next line still gets the full width. On phones the
   star moves to the 20 px padding corner, so it stays within the first line. */
html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .trust-card h2::before {
  content: "";
  float: right;
  width: 1.5rem;
  height: 1lh;
}

@media (max-width: 41.999rem) {
  html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .trust-card {
    padding: var(--space-4);
  }

  html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .trust-card::after {
    top: var(--space-4);
    right: var(--space-4);
  }

  html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .trust-card h2::before {
    width: calc(1.125rem + var(--space-3));
  }
}

/* C2. RU Privacy Policy, variant C2-b: only this document's title is capped (the other five keep their size):
   360 → 19.4 px (71 %), 390 → 76 %, 430 → 81 %, 1440 → 84 %, 1920 → 81 %. Its clause headings stay at most 88 % of
   the title, so the title remains the largest line of the page (360: 17.1 px instead of 21.8; desktop unchanged). */
html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .legal-copy:has(> h1.ts-long) section h2 {
  font-size: min(calc(var(--type-h2) * 0.88), calc(100cqi / var(--ts-word-h1) * 0.99 * 0.88));
}

html:not(#ts-a):not(#ts-b):not(#ts-c) body .legal-copy:has(> h1.ts-w-1673) {
  --ts-word-h1: 16.73;
}

/* C3. Printing RU hero «ШИРОКОФОРМАТНАЯ» = 14.28 em (marked ts-long, part D): 360 → 22.7 px (83 %), 390 → 89 %,
   430 and up ≥ 95 %. */

/* ---------------------------------------------------------------------------------------------------------
   D. Long words without JavaScript (rev. 3, 29.10.2026, brief "визуальная приёмка" §6). Nine headings whose
   longest word is a little wider than their column at some widths (88–98 % would fit). The page marks the
   heading with ts-long and the word's measured length in em (ts-w-868 = 8.68 em, Unbounded with its tracking);
   the column becomes a size container and the heading is capped at the size where that word fills the line.
   Below the cap nothing changes, so it acts only where needed, and type-fit.js finds nothing left to do.
   --------------------------------------------------------------------------------------------------------- */

html:not(#ts-a):not(#ts-b):not(#ts-c) body :has(> .ts-long) {
  container-type: inline-size;
}

html:not(#ts-a):not(#ts-b):not(#ts-c) body .ts-long {
  --ts-cap: calc(100cqi / var(--ts-word) * 0.99);
}

.ts-w-813 { --ts-word: 8.13; }
.ts-w-839 { --ts-word: 8.39; }
.ts-w-868 { --ts-word: 8.68; }
.ts-w-906 { --ts-word: 9.06; }
.ts-w-925 { --ts-word: 9.25; }
.ts-w-1030 { --ts-word: 10.30; }
.ts-w-1149 { --ts-word: 11.49; }
.ts-w-1272 { --ts-word: 12.72; }
.ts-w-1296 { --ts-word: 12.96; }
.ts-w-1428 { --ts-word: 14.28; }
.ts-w-1442 { --ts-word: 14.42; }
.ts-w-1656 { --ts-word: 16.56; }
.ts-w-1673 { --ts-word: 16.73; }

html:not(#ts-a):not(#ts-b):not(#ts-c) body h1.ts-long {
  font-size: min(var(--type-h1), var(--ts-cap));
}

html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body h1.ts-long {
  font-size: min(calc(var(--type-h1) * 0.86), var(--ts-cap));
}

html:not(#ts-a):not(#ts-b):not(#ts-c) body h2.ts-long {
  font-size: min(var(--type-h2), var(--ts-cap));
}

html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body h2.ts-long {
  font-size: min(calc(var(--type-h2) * 0.88), var(--ts-cap));
}

html:not(#ts-a):not(#ts-b):not(#ts-c) body .pc h2.ts-long {
  font-size: min(clamp(1.75rem, 1rem + 2.6vw, 3.4rem), var(--ts-cap));
}

html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .pc h2.ts-long {
  font-size: min(clamp(1.5rem, 0.95rem + 2.1vw, 2.9rem), var(--ts-cap));
}

/* ---------------------------------------------------------------------------------------------------------
   F. Final corrections (rev. 5, 30.10.2026, owner's brief "Final corrections"). Local compositions only; each
   rule is scoped by a modifier class set on the page, never on every hero or every included-block.
   --------------------------------------------------------------------------------------------------------- */

/* F1. Commercial Vehicle Branding, Merchandise, Stickers (EN, desktop): the landscape photo (16:9) or the type
   panel ended halfway down a four-line title, leaving an empty field under it. On these three heroes the visual
   takes the full height of the text column (same photo, cover crop); grid widths stay as approved (50/50 on
   CVB and Merchandise, 41/59 on Stickers). */
@media (min-width: 60rem) {
  html:not(#ts-a):not(#ts-b):not(#ts-c) body .service-hero--balance .service-hero__grid {
    align-items: stretch;
  }

  html:not(#ts-a):not(#ts-b):not(#ts-c) body .service-hero--balance .service-hero__media {
    align-self: stretch;
    aspect-ratio: auto;
  }
}

/* F2. Custom Car Design, "What's included" (EN/RU/AR, from 1024 px): the title column was a third of the row
   (285–411 px), so «ONE / SERVICE, / START / TO FINISH.» stood one word per line. On CD only the title and the
   checklist share the row equally; the title keeps its size (1440/1920) and runs in two lines. PPF and
   Colour Change keep their approved 4/8 grid. */
@media (min-width: 64rem) {
  html:not(#ts-a):not(#ts-b):not(#ts-c) body .sv-included--wide .sv-included__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* F3. Printing RU «Реальное оборудование. Реальный результат. Контроль внутри студии.» and Commercial Vehicle
   Branding RU «Одна утверждённая система. Контроль с каждого ракурса.»: each sentence now starts its own line
   (<br> in the page). On tablets (768–1023 px) the split heading gave the title 396 px, less than one sentence
   (≈ 600 px), so the sentences broke into six short lines; for these two headings only the title takes the full
   row there and the note goes under it, as on phones. From 1024 px the approved split stays. */
@media (min-width: 48rem) and (max-width: 63.999rem) {
  html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .section-heading--split:has(#equipment-title, #commercial-photo-title) {
    grid-template-columns: minmax(0, 1fr);
  }

  html[lang="ru"]:not(#ts-a):not(#ts-b):not(#ts-c) body .section-heading--split:has(#equipment-title, #commercial-photo-title) p {
    justify-self: start;
  }
}
