/* DDR-P04-WEBSITE «Сайты» (digital.deladel.ru) — page styles.
 * Design: package v3.2 (Desktop 1440, Mobile 390/360, control 768). One column up to 999 px, Desktop from 1000 px.
 * Material: white satin scenes with red accents, dark satin for the cases and the form (native scrim #080e17 / 0.22).
 * Every rule is scoped to .p04 / .p04-* so nothing leaks into or from other pages of the host.
 */

/* Nimbus Sans: unmodified urw-base35-fonts 20200910 files, GNU AGPL v3 — see ../assets/fonts/NOTICE.txt, LICENSE, COPYING.
   Do not subset or convert these files (that would be a modified version). */
@font-face { font-family: 'P04 Nimbus Sans'; src: url('../assets/fonts/NimbusSans-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'P04 Nimbus Sans'; src: url('../assets/fonts/NimbusSans-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }

.p04 {
  --red: #f60019;
  --red-hover: #d90016;
  --red-pressed: #bc0013;
  --ink: #090c10;
  --muted: #546b8d;
  --muted-dark: #c9d8e7;
  --focus: #3354b5;
  --disabled: #a5adb9;
  --line: #ccd5df;
  --rule: #c3cfdc;
  --input-off: #eef2f6;
  --scrim: rgba(8, 14, 23, 0.22);
  --gutter: 56px;
  --header-h: 107px;
  --ease: 160ms ease;
  margin: 0;
  background: #f4f4f3;
  color: var(--ink);
  font-family: 'P04 Nimbus Sans', 'Nimbus Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.28;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.p04 *, .p04 *::before, .p04 *::after { box-sizing: border-box; }
/* the resets are zero-specificity (:where) so that every single-class rule below wins over them */
:where(.p04) img { display: block; max-width: 100%; height: auto; }
:where(.p04) :where(h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote) { margin: 0; }
:where(.p04) :where(ol, ul) { padding: 0; list-style: none; }
:where(.p04) a { color: inherit; }
:where(.p04) :where(button, input, textarea) { font: inherit; color: inherit; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .p04 *, .p04 *::before, .p04 *::after { transition: none !important; animation: none !important; }
}

.p04-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.p04 :focus { outline: none; }
.p04 :focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.p04 [tabindex="-1"]:focus-visible { outline: none; }
.p04-only-mobile { display: none; }

/* ---------- material ---------- */
.p04-light { position: relative; background: #f2f2f1 url('../assets/scenes/light-satin.webp') 0 0 / 100% 100% no-repeat; }
.p04-dark { position: relative; color: #fff; background: #0b111a url('../assets/scenes/dark-satin.webp') 0 0 / 100% 100% no-repeat; isolation: isolate; }
.p04-dark::before { content: ''; position: absolute; inset: 0; background: var(--scrim); z-index: -1; pointer-events: none; }

.p04-wrap { width: 100%; max-width: calc(1328px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.p04-section { scroll-margin-top: 80px; }
.p04-accent { color: var(--red); }
.p04-dash { display: block; width: 44px; height: 4px; background: var(--red); }

/* ---------- type ---------- */
.p04-h2 { font-size: 52px; line-height: 67px; font-weight: 700; }
.p04-h3 { font-size: 28px; line-height: 36px; font-weight: 700; }
.p04-h4 { font-size: 30px; line-height: 38px; font-weight: 700; }
.p04-body { font-size: 24px; line-height: 31px; color: var(--muted); }
.p04-dark .p04-body { color: var(--muted-dark); }
.p04-small { font-size: 20px; line-height: 26px; color: var(--muted); }

/* ---------- controls ---------- */
.p04-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 34px; min-width: 360px;
  border: 0; border-radius: 7px; background: var(--red); color: #fff;
  font-size: 22px; line-height: 24px; font-weight: 700; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color var(--ease), color var(--ease), border-color var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.p04-btn:hover { background: var(--red-hover); }
.p04-btn:active { background: var(--red-pressed); }
.p04-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 7px; }
.p04-btn[disabled], .p04-btn[aria-disabled="true"] { background: var(--disabled); color: #fff; cursor: not-allowed; }
.p04-btn--block { display: flex; width: 100%; min-width: 0; }
.p04-btn--light { background: #fff; color: var(--ink); min-width: 251px; }
.p04-btn--light:hover { background: #eef1f5; }
.p04-btn--light:active { background: #dfe5ec; }
.p04-btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.p04-btn--ghost:hover { background: #f3f5f8; }
.p04-btn--ghost:active { background: #e6ebf1; }
@media (hover: none) { .p04-btn:hover { background: var(--red); } .p04-btn--light:hover, .p04-btn--ghost:hover { background: #fff; } }

.p04-link-arrow { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 10px; min-height: 44px; font-size: 22px; line-height: 28px; font-weight: 700; text-decoration: none; }
.p04-link-arrow:hover span { text-decoration: underline; text-underline-offset: 4px; }
.p04-icon { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.p04-header { position: sticky; top: 0; z-index: 30; height: var(--header-h); margin-bottom: calc(-1 * var(--header-h)); transition: background-color var(--ease), box-shadow var(--ease); }
.p04-header.is-scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: 0 1px 0 rgba(9, 12, 16, 0.08), 0 8px 24px rgba(9, 12, 16, 0.06); }
.p04-header__inner { display: flex; align-items: center; height: 100%; max-width: calc(1328px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.p04-brand { display: inline-flex; flex: none; }
.p04-header__brand .p04-brand__logo { width: 200px; height: auto; }
.p04-header__nav { display: flex; gap: 0; margin-left: 404px; margin-right: auto; }
.p04-header__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px 0 0; font-size: 18px; line-height: 23px; text-decoration: none; }
.p04-header__link:first-child { width: 155px; }
.p04-header__link:hover { color: var(--red); }
.p04-header__cta { min-width: 260px; }
.p04-header__menu-btn { display: none; }
.p04-header.is-scrolled { --header-h: 76px; }
.p04-header.is-scrolled .p04-header__brand .p04-brand__logo { width: 152px; }
.p04-header.is-scrolled .p04-header__cta { min-height: 48px; }

.p04-menu { position: fixed; inset: 0; z-index: 60; overflow-y: auto; padding: 0 24px 32px; background: #f2f2f1 url('../assets/scenes/light-satin.webp') 0 0 / cover no-repeat; }
.p04-menu[hidden] { display: none; }
.p04-menu__bar { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.p04-menu__brand .p04-brand__logo { width: 140px; }
.p04-menu__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; cursor: pointer; }
.p04-menu__close .p04-icon { width: 16px; height: 16px; stroke-width: 2.4; }
.p04-menu__nav { display: flex; flex-direction: column; }
.p04-menu__link { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--rule); font-size: 28px; line-height: 36px; font-weight: 700; text-decoration: none; }
.p04-menu__cta { margin-top: 34px; min-height: 52px; font-size: 18px; }

/* ---------- B01 hero ---------- */
.p04-hero { padding-top: 126px; text-align: center; }
.p04-hero__title { font-size: clamp(56px, 5.42vw, 78px); line-height: 1.05; font-weight: 700; letter-spacing: -0.005em; }
.p04-hero__title .p04-accent { display: block; }
.p04-hero__lead { margin-top: 18px; font-size: 30px; line-height: 38px; font-weight: 700; }
.p04-hero__body { max-width: 1010px; margin: 18px auto 0; font-size: 24px; line-height: 31px; color: var(--muted); }
.p04-hero__cta { margin-top: 26px; min-width: 365px; }
.p04-hero__note { margin-top: 14px; font-size: 18px; line-height: 23px; color: var(--muted); }
.p04-hero__scene { margin-top: 20px; }
.p04-hero__scene img { width: 100%; max-width: 1469px; margin: 0 auto; }
.p04-hero__support { padding-top: 18px; padding-bottom: 42px; font-size: 20px; line-height: 26px; color: var(--muted); }

/* ---------- B02 method ---------- */
.p04-method { padding: 40px 0 42px; }
.p04-method__title { font-size: 48px; line-height: 61px; text-align: center; }
.p04-method__title .p04-accent { display: block; }
.p04-method__body { max-width: 1080px; margin: 20px auto 0; text-align: center; }
.p04-method__grid { display: grid; grid-template-columns: minmax(0, 960px) minmax(0, 1fr); align-items: start; margin-top: 30px; max-width: 1440px; margin-left: auto; margin-right: auto; }
.p04-method__scene img { width: 100%; }
.p04-method__points { display: flex; flex-direction: column; gap: 48px; padding: 40px var(--gutter) 0 30px; }
.p04-method__point { position: relative; padding-left: 26px; }
.p04-method__point::before { content: ''; position: absolute; left: 0; top: 5px; width: 5px; height: 32px; background: var(--red); }
.p04-method__point-body { margin-top: 14px; font-size: 23px; line-height: 29px; color: var(--muted); }
.p04-method__mscene { display: none; }
.p04-method__closing { margin-top: 20px; font-size: 22px; line-height: 28px; color: var(--muted); text-align: center; }

/* ---------- B03 consultation ---------- */
.p04-consult { padding: 34px 0 42px; }
.p04-consult__grid { display: grid; grid-template-columns: minmax(0, 784px) minmax(0, 1fr); column-gap: 0; }
.p04-consult__intro { grid-column: 1; }
.p04-eyebrow { display: block; font-size: 16px; line-height: 20px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.p04-eyebrow .p04-dash { margin-bottom: 18px; }
.p04-consult__title { max-width: 800px; margin-top: 24px; }
.p04-consult__body { max-width: 750px; margin-top: 21px; }
.p04-consult__scene { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 21px; margin-right: calc(-1 * var(--gutter)); }
.p04-consult__scene img { width: 100%; max-width: 625px; margin-left: auto; }
.p04-consult__steps { grid-column: 1; display: flex; flex-direction: column; gap: 17px; margin-top: 24px; max-width: 760px; }
.p04-consult__steps li { display: flex; gap: 16px; align-items: flex-start; font-size: 23px; line-height: 29px; color: var(--muted); }
.p04-consult__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--red); font-size: 18px; line-height: 1; font-weight: 700; }
.p04-consult__more { grid-column: 1 / -1; margin-top: 34px; }
.p04-note-bar { position: relative; padding-left: 20px; font-size: 24px; line-height: 31px; font-weight: 700; }
.p04-note-bar::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); }
.p04-note-bar--regular { font-weight: 400; }
.p04-quote { margin-top: 24px; padding-left: 20px; }
.p04-quote__text { font-size: 25px; line-height: 32px; }
.p04-quote__author { margin-top: 16px; font-size: 18px; line-height: 23px; color: var(--muted); }
.p04-consult__decision { margin-top: 32px; font-size: 30px; line-height: 38px; font-weight: 700; }
.p04-consult__more .p04-btn { margin-top: 24px; }
.p04-cta-note { margin-top: 15px; font-size: 19px; line-height: 24px; color: var(--muted); }

/* ---------- B04 cases ---------- */
.p04-cases { padding: 40px 0 45px; }
.p04-cases__title { margin-top: 18px; max-width: 1200px; }
.p04-cases__lead { margin-top: 18px; }
.p04-cases__bar { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.p04-cases__tabs { display: flex; gap: 0; }
.p04-cases__tab { position: relative; display: inline-flex; align-items: center; min-width: 240px; padding: 0 0 8px; border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 28px; font-weight: 400; text-align: left; cursor: pointer; }
.p04-cases__tab[aria-selected="true"] { font-weight: 700; }
.p04-cases__tab[aria-selected="true"]::after { content: ''; position: absolute; left: 0; bottom: 0; width: 160px; height: 3px; background: var(--red); }
.p04-cases__tab:nth-child(2)[aria-selected="true"]::after { width: 286px; }
.p04-cases__tab-short { display: none; }
.p04-cases__tab:hover { color: var(--muted-dark); }
.p04-cases__nav { display: flex; align-items: center; gap: 0; margin-right: 100px; }
.p04-cases__arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 -16px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.p04-cases__arrow .p04-icon--chev { width: 6px; height: 10px; }
.p04-cases__counter { min-width: 56px; font-size: 22px; line-height: 28px; text-align: center; }
.p04-cases__panel { margin-top: 11px; }
.p04-cases__frames { display: grid; grid-template-columns: 820px minmax(0, 1fr); gap: 28px; margin-left: -4px; }
.p04-cases__frame { min-width: 0; }
.p04-cases__shot { display: block; width: 100%; padding: 4px; border: 0; border-radius: 7px; background: #fff; cursor: zoom-in; aspect-ratio: 820 / 390; overflow: hidden; }
.p04-cases__shot img { width: 100%; height: 100%; object-fit: contain; object-position: center top; border-radius: 4px; }
.p04-cases__frame--detail .p04-cases__shot img { object-fit: contain; object-position: center; }
.p04-cases__frame--detail .p04-cases__shot { aspect-ratio: auto; height: 100%; max-height: 390px; }
.p04-cases__frame-label { margin-top: 14px; padding-left: 4px; font-size: 20px; line-height: 26px; color: var(--muted-dark); }
.p04-cases__info { margin-top: 44px; }
.p04-cases__name { font-size: 48px; line-height: 61px; font-weight: 700; }
.p04-cases__period { margin-top: 12px; font-size: 19px; line-height: 24px; color: var(--muted-dark); }
.p04-cases__facts { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 400px) minmax(0, 428px); gap: 50px; margin-top: 30px; }
.p04-cases__fact dt { position: relative; padding-top: 18px; font-size: 25px; line-height: 32px; font-weight: 700; }
.p04-cases__fact dt::before { content: ''; position: absolute; left: 0; top: 0; width: 30px; height: 3px; background: var(--red); }
.p04-cases__fact dd { margin-top: 12px; font-size: 23px; line-height: 29px; color: var(--muted-dark); }
.p04-cases__note { margin-top: 26px; font-size: 20px; line-height: 26px; color: var(--muted-dark); }
.p04-cases__open { margin-top: 28px; }
.p04-cases__similar { margin-top: 14px; color: #fff; }
.p04-cases__closing { margin-top: 28px; font-size: 25px; line-height: 32px; font-weight: 700; }
.p04-cases__panel.is-switching .p04-cases__shot img { opacity: 0.55; transition: opacity 120ms ease; }

/* ---------- B05 scope ---------- */
.p04-scope__formats { padding-top: 40px; padding-bottom: 24px; }
.p04-scope__title { margin-top: 18px; line-height: 67px; }
.p04-scope__title .p04-accent { display: block; }
.p04-scope__body { margin-top: 18px; max-width: 1290px; }
.p04-scope__scenes { margin-top: 32px; }
.p04-scope__scenes img { width: 100%; }
.p04-scope__options { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 400px) minmax(0, 428px); gap: 50px; margin-top: 18px; }
.p04-scope__option h3 { font-size: 28px; line-height: 36px; }
.p04-scope__option p { margin-top: 14px; font-size: 23px; line-height: 29px; color: var(--muted); max-width: 405px; }
.p04-scope__mscene { display: none; }
.p04-scope__options-note { margin-top: 28px; }
.p04-scope__start { margin-top: 34px; }
.p04-scope__tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 25px; margin-top: 24px; }
.p04-task { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 8px 20px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 22px; line-height: 24px; font-weight: 700; text-align: center; text-decoration: none; transition: border-color var(--ease), background-color var(--ease); }
.p04-task:hover { border-color: var(--red); }
.p04-task:active { background: #fdecee; }
.p04-panel { margin-top: 44px; padding: 24px 24px; border-radius: 12px; background: #fff; font-size: 28px; line-height: 36px; font-weight: 700; text-align: center; }

.p04-scope__launch { padding-top: 32px; }
.p04-scope__launch-title { margin-top: 18px; font-size: 54px; line-height: 69px; }
.p04-scope__launch .p04-body { margin-top: 18px; font-size: 26px; line-height: 33px; }
.p04-flow { margin: 28px auto 0; max-width: 1440px; }
.p04-flow__stage { position: relative; margin: 0 auto; }
.p04-flow__stage--desktop { width: min(1190px, calc(100% - 2 * var(--gutter))); }
.p04-flow__stage--desktop img { width: 100%; }
.p04-flow__stage--mobile { display: none; }
.p04-flow__arrows { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.p04-flow__arrows polyline { fill: none; stroke: var(--red); stroke-width: 3; stroke-linejoin: round; }
.p04-flow__caption { margin-top: 0; }
.p04-flow__feedback { font-size: 27px; line-height: 35px; font-weight: 700; color: var(--red); text-align: center; }
.p04-flow__description { margin-top: 14px; font-size: 23px; line-height: 29px; color: var(--muted); }
.p04-flow__illustration { margin-top: 12px; font-size: 18px; line-height: 23px; }
.p04-scope__caps { padding-top: 34px; padding-bottom: 42px; }
.p04-caps { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 400px) minmax(0, 428px); gap: 50px; }
.p04-caps__item .p04-dash { width: 35px; }
.p04-caps__item h3 { margin-top: 19px; font-size: 30px; line-height: 38px; }
.p04-caps__item p { margin-top: 18px; font-size: 23px; line-height: 29px; color: var(--muted); max-width: 400px; }
.p04-scope__optional { margin-top: 28px; padding-left: 20px; font-size: 24px; line-height: 31px; color: var(--muted); }

.p04-scope__measure { padding-top: 32px; padding-bottom: 46px; }
.p04-scope__measure-title { font-size: 44px; line-height: 56px; }
.p04-scope__measure > .p04-body { margin-top: 18px; }
.p04-measure { margin-top: 23px; border-top: 1px solid var(--rule); }
.p04-measure__row { display: grid; grid-template-columns: 529px minmax(0, 1fr); align-items: start; padding: 21px 0 20px; border-bottom: 1px solid var(--rule); }
.p04-measure__row:last-child { border-bottom: 0; padding-bottom: 14px; }
.p04-measure dt { font-size: 26px; line-height: 33px; font-weight: 700; }
.p04-measure dd { font-size: 24px; line-height: 31px; color: var(--muted); max-width: 790px; }
.p04-scope__measure .p04-note-bar { margin-top: 10px; }
.p04-scope__channels-title { margin-top: 38px; font-size: 32px; line-height: 41px; }
.p04-scope__channels-title + .p04-body { margin-top: 14px; }
.p04-channels { display: grid; grid-template-columns: repeat(2, max-content); gap: 16px 56px; margin-top: 16px; }
.p04-route { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--red); font-size: 22px; line-height: 28px; font-weight: 700; text-decoration: none; }
.p04-route:hover span { text-decoration: underline; text-underline-offset: 4px; }
.p04-route .p04-icon--arrow { width: 16px; height: 12px; }
.p04-scope__commercial { margin-top: 36px; font-size: 21px; line-height: 27px; }
.p04-scope__measure > .p04-btn { margin-top: 28px; }

/* ---------- B06 process ---------- */
.p04-process { padding: 40px 0 44px; }
.p04-process .p04-h2 { margin-top: 18px; }
.p04-process__lead { margin-top: 18px; }
.p04-process__scenes { margin-top: 36px; }
.p04-process__scenes img { width: 100%; }
.p04-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin-top: 18px; }
.p04-stage__title { font-size: 23px; line-height: 29px; }
.p04-stage p { margin-top: 12px; font-size: 20px; line-height: 26px; color: var(--muted); }
.p04-stage__mscene { display: none; }
.p04-role { display: grid; grid-template-columns: minmax(0, 848px) minmax(0, 480px); align-items: start; margin-top: 40px; }
.p04-role__title { max-width: 820px; font-size: 32px; line-height: 41px; }
.p04-role__text .p04-body { margin-top: 16px; max-width: 810px; }
.p04-role__scene { grid-row: 1 / span 2; grid-column: 2; margin-top: 56px; }
.p04-role__scene img { width: 480px; max-width: 100%; margin-left: auto; }
.p04-role__terms { grid-column: 1 / -1; grid-row: 2; margin-top: 29px; }
.p04-process__responsibility { margin-top: 11px; font-size: 23px; line-height: 29px; }

/* ---------- B07 FAQ ---------- */
.p04-faq { padding: 40px 0 50px; }
.p04-faq__grid { display: grid; grid-template-columns: 464px minmax(0, 1fr); }
.p04-faq__title { margin-top: 18px; max-width: 410px; }
.p04-faq__title .p04-accent { display: block; }
.p04-faq__list { padding-top: 22px; }
.p04-faq__item { border-bottom: 1px solid var(--rule); }
.p04-faq__q { font-size: inherit; }
.p04-faq__btn { display: flex; width: 100%; align-items: flex-start; justify-content: space-between; gap: 24px; min-height: 68px; padding: 19px 0 19px; border: 0; background: transparent; text-align: left; cursor: pointer; font-size: 23px; line-height: 30px; font-weight: 700; }
.p04-faq__btn[aria-expanded="true"] { padding-bottom: 16px; }
.p04-faq__btn:hover .p04-faq__text { color: #2a3443; }
.p04-faq__sign { flex: none; display: inline-flex; width: 24px; height: 30px; align-items: center; justify-content: center; color: var(--muted); }
.p04-faq__btn[aria-expanded="true"] .p04-faq__sign { color: var(--red); }
.p04-faq__btn[aria-expanded="true"] .p04-icon__v { opacity: 0; }
.p04-faq__sign .p04-icon { width: 13px; height: 13px; stroke-width: 1.6; }
.p04-faq__a { padding: 0 60px 20px 0; font-size: 22px; line-height: 28px; color: var(--muted); }
.p04-faq__a[hidden] { display: none; }
.p04-faq__links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 12px; }
.p04-route--faq { font-size: 20px; line-height: 26px; }

/* ---------- B08 contact ---------- */
.p04-contact { padding: 50px 0 50px; }
.p04-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) 614px; gap: 40px; align-items: start; }
.p04-contact__title { margin-top: 18px; font-size: 54px; line-height: 69px; max-width: 600px; }
.p04-contact__title .p04-accent { display: block; }
.p04-contact__body { margin-top: 24px; max-width: 580px; font-size: 25px; line-height: 32px; }
.p04-form-card { margin-top: 8px; padding: 28px 28px 28px; border-radius: 12px; background: #fff; color: var(--ink); }
.p04-form__fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.p04-field { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.p04-field__label { display: block; margin-bottom: 8px; padding: 0; font-size: 18px; line-height: 23px; font-weight: 700; }
.p04-input { display: block; width: 100%; min-height: 50px; padding: 12px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-size: 18px; line-height: 23px; transition: border-color var(--ease), box-shadow var(--ease); }
.p04-input::placeholder { color: var(--muted); opacity: 1; }
.p04-input:hover:not(:disabled) { border-color: #9fb0c3; }
.p04-input:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 2px var(--focus); border-radius: 5px; }
.p04-input:disabled { background: var(--input-off); cursor: not-allowed; }
.p04-input--area { min-height: 94px; resize: vertical; }
.p04-field.is-invalid .p04-input { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.p04-field__hint { margin-top: 14px; font-size: 17px; line-height: 22px; color: var(--muted); }
.p04-field__error { margin-top: 8px; font-size: 17px; line-height: 22px; color: var(--red); }
.p04-channel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.p04-channel__opt { position: relative; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 12px 0 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-size: 17px; line-height: 22px; cursor: pointer; transition: border-color var(--ease), background-color var(--ease); }
.p04-channel__opt:hover { border-color: #9fb0c3; }
.p04-channel__opt input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--red); cursor: pointer; }
.p04-channel__opt input:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 50%; }
.p04-channel__opt:has(input:checked) { border-color: var(--red); background: #fff4f5; }
.p04-channel .p04-field__label { margin-bottom: 12px; }
.p04-field[data-field="contact"], .p04-field[data-field="task"] { margin-bottom: 22px; }
.p04-channel { margin-bottom: 10px; }
.p04-consent { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: start; margin-top: 0; }
.p04-consent__input { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.p04-consent__box { grid-column: 1; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 3px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: #fff; transition: background-color var(--ease), border-color var(--ease); }
.p04-consent__box .p04-icon { width: 15px; height: 15px; stroke-width: 3; opacity: 0; }
.p04-consent__input:checked + .p04-consent__box { background: var(--red); border-color: var(--red); }
.p04-consent__input:checked + .p04-consent__box .p04-icon { opacity: 1; }
.p04-consent__input:focus-visible + .p04-consent__box { outline: 2px solid var(--focus); outline-offset: 3px; }
.p04-consent.is-invalid .p04-consent__box { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.p04-consent__text { grid-column: 2; font-size: 17px; line-height: 22px; }
.p04-consent__text label { cursor: pointer; }
.p04-consent__doc { color: inherit; text-decoration: underline; text-decoration-color: rgba(9, 12, 16, 0.35); text-underline-offset: 3px; }
.p04-consent__doc:hover { color: var(--red); text-decoration-color: currentColor; }
.p04-consent .p04-field__error { grid-column: 1 / -1; margin-top: 12px; }
.p04-consent__policy { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; min-height: 24px; margin-top: 4px; font-size: 17px; line-height: 22px; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(84, 107, 141, 0.45); text-underline-offset: 3px; }
.p04-consent__policy:hover { color: var(--ink); text-decoration-color: currentColor; }
@media (pointer: coarse) { .p04-consent__policy { min-height: 44px; margin-top: 0; } }
.p04-form__status { margin-top: 18px; font-size: 18px; line-height: 23px; color: var(--red); }
.p04-form__submit { margin-top: 22px; }
.p04-form[aria-busy="true"] .p04-form__submit { background: var(--red-pressed); cursor: progress; }
.p04-form.is-unavailable .p04-form__submit { background: var(--disabled); cursor: not-allowed; }
.p04-form__note { margin-top: 17px; font-size: 17px; line-height: 22px; color: var(--muted); }
.p04-context { margin-bottom: 18px; }
.p04-context__label { font-size: 17px; line-height: 22px; color: var(--muted); }
.p04-context__value { margin-top: 6px; font-size: 19px; line-height: 24px; font-weight: 700; }
.p04-context__reset { display: inline-flex; align-items: center; min-height: 32px; margin-top: 2px; padding: 0; border: 0; background: transparent; color: var(--red); font-size: 17px; line-height: 22px; cursor: pointer; }
.p04-context__reset:hover { text-decoration: underline; text-underline-offset: 3px; }
.p04-success { display: flex; flex-direction: column; justify-content: center; min-height: 100%; }
.p04-success[hidden] { display: none; }
.p04-success__mark { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; }
.p04-success__mark .p04-icon { width: 28px; height: 28px; stroke-width: 3; }
.p04-success__title { margin-top: 24px; font-size: 32px; line-height: 41px; font-weight: 700; }
.p04-success__body { margin-top: 18px; font-size: 18px; line-height: 23px; color: var(--muted); }
.p04-success .p04-btn { margin-top: 26px; font-size: 18px; min-height: 52px; }
/* success: the accepted design shows a compact card with the message at the top (states/form/form_success_*);
 * js/p04-form.js pins the previous card height inline, so the override needs !important */
.p04-form-card.is-success { display: flex; flex-direction: column; justify-content: flex-start; }

/* ---------- footer ---------- */
.p04-footer { padding: 30px 0 24px; }
.p04-footer__inner { display: grid; grid-template-columns: 434px minmax(0, 1fr); row-gap: 14px; }
.p04-footer__brand .p04-brand__logo { width: 190px; }
.p04-footer__tagline { margin-top: 14px; font-size: 18px; line-height: 23px; color: var(--muted); }
.p04-footer__nav { display: grid; grid-template-columns: repeat(4, 215px); align-self: start; margin-top: 14px; }
.p04-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; line-height: 23px; text-decoration: none; }
.p04-footer__nav a:hover { color: var(--red); }
.p04-footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 20px; color: var(--muted); }
.p04-footer__links a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; }
.p04-footer__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- viewer ---------- */
.p04-viewer { position: fixed; inset: 0; z-index: 80; overflow-y: auto; color: #fff; background: #0b111a url('../assets/scenes/dark-satin.webp') 0 0 / cover no-repeat; }
.p04-viewer[hidden] { display: none; }
.p04-viewer__inner { max-width: calc(1328px + 2 * var(--gutter)); min-height: 100%; margin: 0 auto; padding: 26px var(--gutter) 40px; display: flex; flex-direction: column; }
.p04-viewer__head { position: relative; }
.p04-viewer__title { padding-right: 64px; font-size: 32px; line-height: 38px; font-weight: 700; }
.p04-viewer__counter { margin-top: 16px; font-size: 19px; line-height: 24px; color: var(--muted-dark); }
.p04-viewer__label { margin-top: 18px; font-size: 25px; line-height: 32px; font-weight: 700; }
.p04-viewer__close { position: absolute; right: -14px; top: -6px; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.p04-viewer__close .p04-icon { width: 15px; height: 15px; stroke-width: 2.6; }
.p04-viewer__stage { position: relative; flex: 1 1 auto; min-height: 320px; height: min(700px, calc(100vh - 380px)); margin-top: 26px; border-radius: 8px; background: #0e1520; overflow: auto; overscroll-behavior: contain; display: flex; align-items: flex-start; justify-content: center; padding: 12px; }
.p04-viewer__stage[data-zoom="fit"] { overflow: hidden; align-items: center; }
.p04-viewer__stage[data-zoom="fit"] .p04-viewer__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.p04-viewer__stage[data-zoom="full"] { align-items: flex-start; justify-content: flex-start; cursor: grab; }
.p04-viewer__stage[data-zoom="full"] .p04-viewer__img { max-width: none; max-height: none; width: auto; margin: 0 auto; }
.p04-viewer__stage[data-state="loading"] .p04-viewer__img, .p04-viewer__stage[data-state="error"] .p04-viewer__img { visibility: hidden; }
.p04-viewer__status { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 24px; text-align: center; }
.p04-viewer__status[hidden] { display: none; }
.p04-viewer__status-text { font-size: 22px; line-height: 30px; font-weight: 700; max-width: 360px; }
.p04-viewer__controls { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; }
.p04-viewer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; margin-top: 22px; }
.p04-viewer__original { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 22px; line-height: 28px; color: #fff; text-decoration: none; }
.p04-viewer__original:hover span { text-decoration: underline; text-underline-offset: 4px; }
.p04-viewer__original .p04-icon { width: 14px; height: 14px; }
.p04-viewer__zoom { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted-dark); font-size: 20px; line-height: 26px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.p04-viewer__zoom[aria-pressed="true"] { color: #fff; }
.p04-viewer__caption { margin-top: 18px; font-size: 20px; line-height: 26px; color: var(--muted-dark); }
.p04-lock { overflow: hidden; }

/* =====================================================================================================
 * Intermediate desktop 1000–1439: same composition, the container follows the viewport.
 * ===================================================================================================== */
@media (min-width: 1000px) and (max-width: 1439px) {
  .p04-header__nav { margin-left: auto; }
  .p04-cases__frames { grid-template-columns: 1.72fr 1fr; }
  .p04-cases__nav { margin-right: 0; }
  .p04-measure__row { grid-template-columns: 40% minmax(0, 1fr); }
  .p04-footer__nav { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .p04-faq__grid { grid-template-columns: 32% minmax(0, 1fr); }
  .p04-contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
  .p04-method__points { padding-left: 24px; }
  .p04-method__grid { grid-template-columns: 62% minmax(0, 1fr); }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .p04-h2 { font-size: 44px; line-height: 56px; }
  .p04-method__title { font-size: 42px; line-height: 54px; }
  .p04-header__cta { min-width: 220px; }
  .p04-header__link { padding-right: 32px; }
  .p04-consult__grid { grid-template-columns: 58% minmax(0, 1fr); }
  .p04-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p04-stages { gap: 16px; }
}

/* =====================================================================================================
 * Mobile / one column (≤ 999 px). Reference 390 (gutter 24, column 342) and 360 (column 312).
 * ===================================================================================================== */
@media (max-width: 999px) {
  .p04 { --gutter: 24px; --header-h: 86px; }
  .p04-only-mobile { display: inline; }
  .p04-only-desktop { display: none; }
  .p04-wrap, .p04-header__inner { max-width: 768px; }
  .p04-section { scroll-margin-top: 72px; }
  .p04-dash { width: 30px; }

  .p04-h2 { font-size: 32px; line-height: 41px; }
  .p04-h3 { font-size: 27px; line-height: 35px; }
  .p04-h4 { font-size: 25px; line-height: 32px; }
  .p04-body { font-size: 18px; line-height: 23px; }
  .p04-small { font-size: 17px; line-height: 22px; }

  .p04-btn { min-width: 0; width: 100%; min-height: 52px; padding: 0 20px; font-size: 18px; line-height: 20px; }
  .p04-btn--light { width: auto; flex: 1 1 0; }
  .p04-link-arrow { font-size: 18px; line-height: 23px; }

  .p04-header__nav, .p04-header__cta { display: none; }
  .p04-header__brand .p04-brand__logo { width: 140px; }
  .p04-header.is-scrolled { --header-h: 64px; }
  .p04-header.is-scrolled .p04-header__brand .p04-brand__logo { width: 118px; }
  .p04-header__menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-left: auto; margin-right: -8px; border: 0; background: transparent; cursor: pointer; }
  .p04-header__menu-btn .p04-icon { width: 32px; height: 22px; stroke-width: 2; stroke-linecap: butt; }

  /* B01 */
  .p04-hero { padding-top: 104px; text-align: left; }
  .p04-hero__title { font-size: 38px; line-height: 41px; letter-spacing: 0; }
  .p04-hero__lead { margin-top: 18px; font-size: 20px; line-height: 26px; }
  .p04-hero__body { margin: 18px 0 0; font-size: 18px; line-height: 23px; }
  .p04-hero__cta { margin-top: 26px; min-width: 0; }
  .p04-hero__note { margin-top: 14px; font-size: 17px; line-height: 22px; }
  .p04-hero__scene { margin-top: 20px; }
  .p04-hero__scene img { max-width: 872px; }
  .p04-hero__support { padding-top: 18px; padding-bottom: 42px; font-size: 18px; line-height: 23px; }

  /* B02 */
  .p04-method { padding: 40px 0 42px; }
  .p04-method__title { font-size: 32px; line-height: 41px; text-align: left; }
  .p04-method__body { margin: 20px 0 0; text-align: left; max-width: none; }
  .p04-method__grid { display: block; margin-top: 30px; }
  .p04-method__scene { display: none; }
  .p04-method__points { gap: 28px; padding: 0 var(--gutter); max-width: 768px; margin: 0 auto; }
  .p04-method__point { padding-left: 0; }
  .p04-method__point::before { display: none; }
  .p04-method__point-title { font-size: 27px; line-height: 35px; }
  .p04-method__point-body { margin-top: 10px; font-size: 18px; line-height: 23px; }
  .p04-method__mscene { display: block; width: 100%; max-width: 707px; margin-top: 14px; }
  .p04-method__closing { margin-top: 20px; font-size: 18px; line-height: 23px; text-align: left; }

  /* B03 */
  .p04-consult { padding: 34px 0 42px; }
  .p04-consult__grid { display: block; }
  .p04-eyebrow { font-size: 12px; line-height: 15px; }
  .p04-consult__title { margin-top: 24px; }
  .p04-consult__body { margin-top: 20px; }
  .p04-consult__scene { margin: 20px 0 0; }
  .p04-consult__scene img { max-width: 698px; margin: 0; }
  .p04-consult__steps { gap: 24px; margin-top: 24px; }
  .p04-consult__steps li { font-size: 18px; line-height: 23px; gap: 16px; }
  .p04-consult__more { margin-top: 34px; }
  .p04-note-bar { font-size: 18px; line-height: 23px; padding-left: 20px; }
  .p04-quote { margin-top: 24px; padding-left: 20px; }
  .p04-quote__text { font-size: 19px; line-height: 24px; }
  .p04-quote__author { font-size: 17px; line-height: 22px; }
  .p04-consult__decision { margin-top: 32px; font-size: 25px; line-height: 32px; }
  .p04-cta-note { font-size: 17px; line-height: 22px; }

  /* B04 */
  .p04-cases { padding: 40px 0 45px; }
  .p04-cases__title { margin-top: 18px; line-height: 41px; }
  .p04-cases__lead { margin-top: 18px; }
  .p04-cases__bar { margin-top: 14px; }
  .p04-cases__tab { min-width: 0; padding: 5px 0 7px; font-size: 18px; line-height: 23px; }
  .p04-cases__tab[aria-selected="false"] { display: none; }
  .p04-cases__tab-full { display: none; }
  .p04-cases__tab-short { display: inline; }
  .p04-cases__tab[aria-selected="true"]::after, .p04-cases__tab:nth-child(2)[aria-selected="true"]::after { width: 160px; bottom: 0; }
  .p04-cases__nav { gap: 4px; margin-right: 0; }
  .p04-cases__arrow { position: relative; width: 40px; height: 40px; margin: 0; border: 1px solid #65778b; background: #172431; }
  .p04-cases__arrow::before { content: ''; position: absolute; inset: -2px; border-radius: 50%; }
  .p04-cases__counter { min-width: 40px; font-size: 17px; line-height: 22px; }
  .p04-cases__panel { margin-top: 18px; display: flex; flex-direction: column; }
  .p04-cases__frames { display: contents; }
  .p04-cases__frame--main { order: 1; margin: 0 -3px; }
  .p04-cases__info { display: contents; }
  .p04-cases__name { order: 2; margin-top: 12px; font-size: 29px; line-height: 37px; }
  .p04-cases__period { order: 3; margin-top: 12px; font-size: 17px; line-height: 22px; }
  .p04-cases__facts { order: 4; grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
  .p04-cases__fact dt { padding-top: 0; font-size: 21px; line-height: 27px; }
  .p04-cases__fact dt::before { display: none; }
  .p04-cases__fact dd { margin-top: 8px; font-size: 18px; line-height: 23px; }
  .p04-cases__frame--detail { order: 5; margin: 25px -3px 0; }
  .p04-cases__frame--detail .p04-cases__frame-label { margin-top: 11px; font-size: 19px; line-height: 24px; font-weight: 700; color: #fff; }
  .p04-cases__note { order: 6; margin-top: 12px; font-size: 17px; line-height: 22px; }
  .p04-cases__open { order: 7; margin-top: 28px; }
  .p04-cases__similar { order: 8; margin-top: 12px; }
  .p04-cases__shot { padding: 3px; border-radius: 5px; aspect-ratio: 348 / 177; }
  .p04-cases__frame--detail .p04-cases__shot { height: auto; max-height: none; aspect-ratio: 348 / 191; }
  .p04-cases__frame-label { margin-top: 9px; padding-left: 3px; font-size: 17px; line-height: 22px; }
  .p04-cases__closing { margin-top: 26px; font-size: 21px; line-height: 27px; }

  /* B05 */
  .p04-scope__formats { padding-top: 40px; }
  .p04-scope__title { margin-top: 18px; line-height: 41px; }
  .p04-scope__body { margin-top: 18px; }
  .p04-scope__scenes { display: none; }
  .p04-scope__options { grid-template-columns: 1fr; gap: 26px; margin-top: 26px; }
  .p04-scope__mscene { display: block; width: 100%; max-width: 791px; margin-bottom: 14px; }
  .p04-scope__option h3 { font-size: 27px; line-height: 35px; }
  .p04-scope__option p { margin-top: 10px; font-size: 18px; line-height: 23px; max-width: none; }
  .p04-scope__options-note { margin-top: 28px; font-size: 18px; line-height: 23px; }
  .p04-scope__start { margin-top: 34px; }
  .p04-scope__tasks { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .p04-task { justify-content: flex-start; min-height: 54px; padding: 9px 14px; font-size: 18px; line-height: 23px; text-align: left; }
  .p04-panel { margin-top: 30px; padding: 22px 24px 26px; font-size: 21px; line-height: 27px; text-align: left; }
  .p04-scope__launch { padding-top: 32px; }
  .p04-scope__launch-title { margin-top: 18px; font-size: 32px; line-height: 41px; }
  .p04-scope__launch .p04-body { margin-top: 18px; font-size: 18px; line-height: 23px; }
  .p04-flow { margin-top: 22px; }
  .p04-flow__stage--desktop { display: none; }
  .p04-flow__stage--mobile { display: block; width: 100%; max-width: 700px; }
  .p04-flow__stage--mobile img { width: 100%; }
  .p04-flow__arrows--mobile polyline { stroke-width: 2; }
  .p04-flow__arrows--mobile polyline.is-feedback { stroke: var(--muted); }
  .p04-flow__caption { margin-top: 18px; }
  .p04-flow__feedback { font-size: 20px; line-height: 26px; text-align: left; }
  .p04-flow__description { margin-top: 14px; font-size: 18px; line-height: 23px; }
  .p04-flow__illustration { margin-top: 12px; font-size: 17px; line-height: 22px; }
  .p04-scope__caps { padding-top: 34px; padding-bottom: 42px; }
  .p04-caps { grid-template-columns: 1fr; gap: 28px; }
  .p04-caps__item .p04-dash { width: 30px; height: 3px; }
  .p04-caps__item h3 { margin-top: 16px; font-size: 27px; line-height: 35px; }
  .p04-caps__item p { margin-top: 12px; font-size: 18px; line-height: 23px; max-width: none; }
  .p04-scope__optional { margin-top: 56px; font-size: 18px; line-height: 23px; }
  .p04-scope__measure { padding-top: 32px; padding-bottom: 46px; }
  .p04-scope__measure-title { font-size: 29px; line-height: 37px; }
  .p04-measure { margin-top: 22px; }
  .p04-measure__row { grid-template-columns: 1fr; row-gap: 9px; padding: 21px 0 22px; }
  .p04-measure__row:last-child { padding-bottom: 14px; }
  .p04-scope__measure .p04-note-bar { margin-top: 12px; }
  .p04-measure dt { font-size: 21px; line-height: 27px; }
  .p04-measure dd { font-size: 18px; line-height: 23px; }
  .p04-scope__channels-title { margin-top: 38px; font-size: 27px; line-height: 35px; }
  .p04-channels { grid-template-columns: 1fr; gap: 11px; margin-top: 14px; }
  .p04-route { font-size: 18px; line-height: 23px; }
  .p04-scope__commercial { margin-top: 24px; font-size: 18px; line-height: 23px; }

  /* B06 */
  .p04-process { padding: 40px 0 44px; }
  .p04-process__scenes { display: none; }
  .p04-stages { grid-template-columns: 1fr; gap: 26px; margin-top: 26px; }
  .p04-stage__mscene { display: block; width: 100%; max-width: 754px; margin-bottom: 16px; }
  .p04-stage__title { font-size: 26px; line-height: 33px; }
  .p04-stage p { font-size: 18px; line-height: 23px; }
  .p04-role { display: block; margin-top: 36px; }
  .p04-role__title { font-size: 27px; line-height: 35px; }
  .p04-role__text .p04-body { margin-top: 16px; }
  .p04-role__scene { margin-top: 22px; }
  .p04-role__scene img { width: 100%; max-width: 546px; margin: 0; }
  .p04-role__terms { margin-top: 24px; font-size: 18px; line-height: 23px; }
  .p04-process__responsibility { margin-top: 32px; font-size: 18px; line-height: 23px; }

  /* B07 */
  .p04-faq { padding: 40px 0 50px; }
  .p04-faq__grid { display: block; }
  .p04-faq__title { max-width: none; }
  .p04-faq__title .p04-accent { color: inherit; }
  .p04-faq__list { padding-top: 22px; }
  .p04-faq__btn { min-height: 63px; padding: 19px 0 19px; font-size: 19px; line-height: 25px; gap: 18px; }
  .p04-faq__btn[aria-expanded="true"] { padding-bottom: 16px; }
  .p04-faq__sign { height: 25px; }
  .p04-faq__a { padding: 0 34px 20px 0; font-size: 18px; line-height: 23px; }
  .p04-route--faq { font-size: 18px; line-height: 23px; }

  /* B08 */
  .p04-contact { padding: 50px 0 50px; }
  .p04-contact__grid { display: block; }
  .p04-contact__title { margin-top: 18px; font-size: 32px; line-height: 41px; max-width: none; }
  .p04-contact__body { margin-top: 24px; font-size: 18px; line-height: 23px; }
  .p04-form-card { margin-top: 30px; padding: 28px 18px 28px; }
  .p04-form-card.is-success { padding: 28px 18px 24px; }

  /* footer */
  .p04-footer { padding: 30px 0 26px; }
  .p04-footer__inner { grid-template-columns: 1fr; row-gap: 0; }
  .p04-footer__brand .p04-brand__logo { width: 140px; }
  .p04-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; column-gap: 10px; row-gap: 2px; }
  .p04-footer__legal { margin-top: 10px; padding-top: 10px; gap: 2px; flex-direction: column; font-size: 17px; line-height: 22px; }
  .p04-footer__links a { min-height: 44px; }
  .p04-consent__policy { min-height: 44px; margin-top: 0; }

  /* viewer */
  .p04-viewer__inner { padding: 22px var(--gutter) 30px; }
  .p04-viewer__title { font-size: 24px; line-height: 30px; }
  .p04-viewer__counter { margin-top: 14px; font-size: 17px; line-height: 22px; }
  .p04-viewer__label { margin-top: 18px; font-size: 19px; line-height: 20px; }
  .p04-viewer__stage { margin-top: 24px; height: auto; min-height: 0; aspect-ratio: 342 / 500; max-height: calc(100vh - 330px); }
  .p04-viewer__controls { gap: 14px; margin-top: 22px; }
  .p04-viewer__original { font-size: 18px; line-height: 23px; }
  .p04-viewer__zoom { font-size: 17px; }
  .p04-viewer__caption { font-size: 17px; line-height: 22px; }
}

/* 360 reference: own wrap, H1 35/39 */
@media (max-width: 374px) {
  .p04-hero__title { font-size: 35px; line-height: 39px; }
}

/* 768–999: mobile composition, scenes at their natural size and centred, text column capped */
@media (min-width: 640px) and (max-width: 999px) {
  .p04-hero__scene img, .p04-method__mscene, .p04-consult__scene img, .p04-scope__mscene, .p04-stage__mscene, .p04-role__scene img { margin-left: auto; margin-right: auto; }
  .p04-flow__stage--mobile { max-width: 700px; }
}

/* flow arrow heads (Mobile, drawn by js/p04-page.js) and broken gallery thumbnails */
.p04-flow__arrows--mobile polygon { fill: var(--red); stroke: none; }
.p04-flow__arrows--mobile polygon.is-feedback { fill: var(--muted); }
.p04-cases__shot.is-broken img { visibility: hidden; }
