  @font-face {
    font-family: 'Uni Sans';
    src: url('fonts/Uni Sans Heavy.otf') format('opentype');
    font-weight: 800;
  }
  @font-face {
    font-family: 'Cocogoose';
    src: url('fonts/Cocogoose-Compressed-Bold-trial.ttf') format('truetype');
    font-weight: 700;
  }

  /* ============================================================
     ПРЕЛОАДЕР «ТОЙ САМИЙ МОМЕНТ» — літери-SVG у щілинах-масках, по черзі
     три слова; вихід — розчинення, під яким стартує інтро.
     ============================================================ */
  #preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: #0B0F0C;
    transition: opacity 0.7s cubic-bezier(0.45, 0, 0.55, 1);
  }
  #preloader.is-out { opacity: 0; pointer-events: none; }
  #preloader.is-gone { display: none; }
  html.pl-skip #preloader { display: none; }   /* повторний візит — без заставки */
  .pl-stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: min(9vw, 17vh);          /* 1em = кегль літер */
  }
  .pl-word { grid-area: 1 / 1; display: flex; align-items: flex-end; }
  .pl-slot { flex: none; display: block; height: 1.035em; overflow: hidden; }
  .pl-slot svg { display: block; width: 100%; height: 100%; fill: #FFFFFF; }
  .pl-word.is-green svg { fill: var(--accent-color, #81B873); }

  :root {
    --bg-dark: #121212;
    /* Bottom Button Color: Fresh Forest Sage #81B873 */
    --accent-color: #81B873;
    --accent-hover: #DEF7D7;
    --btn-text-color: #0E1F0B;

    /* Top Icon & Button Color: Pale Pastel Mint Cream #DEF7D7 */
    --top-btn-bg: #DEF7D7;
    --top-btn-text: #12240E;
    --top-btn-hover: #DEF7D7;

    /* 1. MAIN HEADLINE (БЛОК 1) */
    --title-font: 'Unbounded', sans-serif;
    --title-size: 3.6vw;
    --title-weight: 700;
    --title-lh: 1.15;
    --title-ls: -0.02em;
    --title-transform: none;
    --title-max-w: 66vw;
    --title-x: 0vw;
    --title-y: 0vh;

    /* ЕКРАН 2 (МАНІФЕСТ) — успадковує сімейства від Екрана 1 */
    --s2m-text-size: 1.72vw;
    --s2m-badge-size: 0.95vw;
    --s2m-pillar-name: 1.25vw;
    --s2m-pillar-desc: 0.92vw;
    --capsule-w: 5.1vw;
    --capsule-h: 2.5vw;

    /* ЕКРАН 3 — скрол-шоукейс */
    --s2-title-size: 3.8vw;
    --s2-sub-size: 1.15vw;
    --s2-badge-size: 1.45vw;
    --s2-badge-desc-size: 1.0vw;

    /* 2. SUBTITLE / DESCRIPTION (БЛОК 2) */
    --sub-font: 'Manrope', sans-serif;
    --sub-size: 1.44vw;
    --sub-weight: 400;
    --sub-lh: 1.6;
    --sub-ls: 0em;
    --sub-opacity: 0.85;
    --sub-max-w: 45vw;
    --sub-x: 0vw;
    --sub-y: 0vh;

    /* 3. FREE-FLOATING CTA BUTTON (ВЕСЬ ЕКРАН X / Y) */
    --btn-pos-x: 15vw;
    --btn-pos-y: 71vh;
    --btn-scale: 1;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: clip;     /* clip не ламає position:sticky, на відміну від hidden */
    background-color: var(--bg-dark);
    font-family: 'Manrope', -apple-system, sans-serif;
    color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: clamp(64px, 5.5vw, 90px);
  }

  .hero-stage {
    position: relative;
    width: 100%;
  }

  .hero-container {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;   /* «мала» висота вікна: не змінюється, коли ховається адресний рядок телефона — перший екран не стрибає */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    z-index: 1;
  }
  /* фото й відео першого екрана — завжди висотою «великого» вікна: коли адресний рядок ховається,
     картинка не перемасштабовується (cover під нову висоту давав ефект зуму при скролі) */
  .hero-container > .bg-photo, .hero-container > .bg-video { bottom: auto; height: 100vh; height: 100lvh; }

  /* 4K Original Reference Background */
  .bg-photo {
    position: absolute;
    inset: 0;
    background: url('hero_day_v7.webp') center 36% / cover no-repeat;
    z-index: 1;
    transform: scale(1.02);
  }

  /* Відео-цикл доби поверх фонової картинки. Картинка малюється миттєво і
     лишається постером; відео підвантажується після load і проявляється,
     коли реально готове грати. Герой — перший екран, він не має чекати
     три мегабайти, щоб показати хоч щось. */
  .bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 36%;   /* та сама точка кадрування, що в .bg-photo */
    z-index: 1;
    opacity: 0;
    pointer-events: none;          /* цикл проявляється миттєво, під інтро */
  }
  .bg-video.is-ready { opacity: 1; }
  #heroIntro {
    z-index: 2;                    /* інтро лежить над циклом і гасне в нього */
    /* Жодного transition на opacity: інтро має з'являтись і зникати миттєво,
       без власної розчинки. Перехід у цикл роблять не opacity-крос-фейдом
       (це давало «стик картинок» — дві різні сцени буквально просвічували
       одна крізь одну). Розчиняється лише на виході — див. .is-fading. */
  }

  /* Передача інтро → цикл: інтро розчиняється в перший кадр циклу, що вже
     грає під ним. Кадри сходяться (заміряно: зсув 2px), тож кросфейд не дає
     «двох сцен одна крізь одну» — лише м'яко зводить різницю в експозиції.
     Transition вмикається тільки на виході: з'являється інтро миттєво. */
  #heroIntro.is-fading {
    transition: opacity 0.25s linear;   /* = FADE у скрипті */
  }

  /* Затемнення героя проявляється разом із переходом у цикл: під час інтро
     кадр чистий, текст ще схований, темнити нема чого. */
  .bg-scrim,
  .bg-left-scrim { transition: opacity 1.2s ease; }
  body.intro-running .bg-scrim,
  body.intro-running .bg-left-scrim { opacity: 0; }

  /* Під час інтро підкладки-картинки під відео більше нема: раніше тут малювався
     постер і відео проявлялось поверх нього власною розчинкою — вихід був
     ефект «спершу картинка, потім відео». Тепер #heroIntro з'являється миттєво,
     тож підкладку ховаємо (просто темне тло преloadера), а не показуємо кадр. */
  body.intro-running .bg-photo {
    background-image: none;
  }

  /* ІНТРО: перші секунди на екрані лише відео — ні шапки, ні тексту, ні
     кнопки, ні скролу. На 4.5с ролика вони піднімаються знизу одне за одним,
     тим самим почерком, що підписи на картках. Власний клас, бо hide-ui вже
     зайнятий ручним перемикачем у панелі. */
  /* Появу ведемо не цілим шаром, а по елементах — м'якою хвилею згори вниз.
     Це анімація з fill: backwards, а не transition: у шапки, кнопки й SCROLL
     свої переходи (підсвітка при скролі, наведення) — анімація їх не чіпає і
     не лишає затримок після появи. Рухаємо властивістю translate, бо transform
     у цих елементів зайнятий (позиція, масштаб, центрування). */
  body.intro-running .top-navbar,
  body.intro-running .title-wrapper,
  body.intro-running .desc-wrapper,
  body.intro-running .free-floating-cta,
  body.intro-running .hero-release-badge,
  body.intro-running .scroll-indicator {
    opacity: 0;
    pointer-events: none;
  }
  @keyframes heroRise { from { opacity: 0; translate: 0 14px; } }
  @media (prefers-reduced-motion: no-preference) {
    body.intro-done .top-navbar        { animation: heroRise 1.6s cubic-bezier(0.33, 1, 0.68, 1) 0s backwards; }
    body.intro-done .title-wrapper     { animation: heroRise 1.6s cubic-bezier(0.33, 1, 0.68, 1) 0.15s backwards; }
    body.intro-done .desc-wrapper      { animation: heroRise 1.6s cubic-bezier(0.33, 1, 0.68, 1) 0.32s backwards; }
    body.intro-done .free-floating-cta { animation: heroRise 1.6s cubic-bezier(0.33, 1, 0.68, 1) 0.48s backwards; }
    body.intro-done .scroll-indicator  { animation: heroRise 1.6s cubic-bezier(0.33, 1, 0.68, 1) 0.85s backwards; }
    body.intro-done .hero-release-badge {
      animation: heroRise 1.6s cubic-bezier(0.33, 1, 0.68, 1) 0.64s backwards,
                 stickerSway 6.65s ease-in-out infinite;
    }
  }

  /* Повне блокування скролу сторінки під час програвання інтро-відео */
  html.intro-running,
  body.intro-running {
    overflow: hidden !important;
    height: 100vh !important;
    overscroll-behavior: none !important;
    touch-action: none !important;
  }

  /* Clean Atmospheric Lighting — Lightened by 15% */
  .bg-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(18, 18, 18, 0.56) 0%,
      rgba(18, 18, 18, 0.18) 28%,
      rgba(18, 18, 18, 0.12) 55%,
      rgba(18, 18, 18, 0.58) 100%
    );
    z-index: 2;
    pointer-events: none;
  }
  .bg-left-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(18, 18, 18, 0.64) 0%,
      rgba(18, 18, 18, 0.36) 44%,
      transparent 76%
    );
    z-index: 2;
    pointer-events: none;
  }

  /* Hide UI mode */
  body.hide-ui .ui-layer,
  body.hide-ui .top-navbar,
  body.hide-ui .free-floating-cta,
  body.hide-ui .scroll-indicator {
    opacity: 0;
    pointer-events: none;
  }
  .ui-layer {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.3s ease;
    padding-left: 5vw;
    padding-right: 5vw;
    box-sizing: border-box;
  }

  /* -------------------------------------------------------------
     SCROLL INDICATOR (BOTTOM CENTER)
     ------------------------------------------------------------- */
  .scroll-indicator {
    position: absolute;
    bottom: 2.6vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4vw;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
  }
  .scroll-indicator:hover {
    color: #FFFFFF;
    transform: translateX(-50%) translateY(3px);
  }
  .scroll-indicator .scroll-text {
    font-family: 'Manrope', -apple-system, sans-serif;
    font-size: 0.72vw;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
    transition: letter-spacing 0.2s;
  }
  .scroll-indicator:hover .scroll-text {
    letter-spacing: 0.22em;
  }
  .scroll-indicator .scroll-line {
    width: 1.5px;
    height: 1.8vw;
    min-height: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 1px;
    animation: scrollDrop 2.2s infinite cubic-bezier(0.65, 0, 0.35, 1);
  }
  @keyframes scrollDrop {
    0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    35% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    65% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  }

  /* -------------------------------------------------------------
     TOP NAVBAR — ULTRA-SHEER LIGHT LIQUID GLASS (ALWAYS FIXED TO TOP)
     ------------------------------------------------------------- */
  .top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.35vw 3.6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(18, 18, 18, 0.22); /* чистий нейтральний сірий */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: none; /* без рамок */
    box-shadow: none;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease, opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .top-navbar.is-scrolled {
    background: rgba(18, 18, 18, 0.72);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
  .top-navbar-spacer {
    width: 100%;
    height: 5.35vw;
    min-height: 70px;
    flex-shrink: 0;
    pointer-events: none;
  }

  .brand-lockup {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  .brand-logo-img {
    height: 2.65vw;
    min-height: 37px;
    display: block;
    filter: brightness(1.1);
  }

  /* NAVIGATION MENU INSIDE FULL-WIDTH BAR (+15% SCALE) */
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5vw;
  }
  .nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.85vw;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 0.35vw 0;
    transition: color 0.25s ease;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color, #81B873);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    opacity: 0;
  }
  .nav-link:hover {
    color: var(--accent-color, #81B873);
  }
  .nav-link:hover::after {
    transform: scaleX(1);
    opacity: 0.85;
  }

  /* RIGHT HEADER ACTIONS: PHONE + TOP BUTTON + LANGUAGE SWITCHER (+15% SCALE) */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 1vw;
  }

  /* ПЕРЕМИКАЧ МОВИ — фізичний тумблер.
     Доріжка втоплена: внутрішня тінь зверху й тонкий світлий кант знизу дають
     враження виїмки. Шайба навпаки піднята зовнішньою тінню, тому читається
     як накладна деталь, що їздить у пазу. Прапор = мова, НА ЯКУ перемкне
     клік (та сама логіка, що була), тож у спокої на українському сайті
     шайба ліворуч з британським прапором, а праворуч напис EN. */
  .lang-switch {
    --w: 64px;
    --h: 30px;
    --pad: 3px;
    position: relative;
    width: var(--w);
    height: var(--h);
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .lang-switch-track {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    overflow: hidden;                /* шайба не вилазить за паз */
    background: rgba(9, 13, 10, 0.58);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.62),
                inset 0 -1px 0 rgba(255, 255, 255, 0.07),
                0 1px 0 rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.2s ease;
  }
  .lang-switch:hover .lang-switch-track {
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.7),
                inset 0 -1px 0 rgba(255, 255, 255, 0.1),
                0 1px 0 rgba(255, 255, 255, 0.12);
  }
  .lang-switch-label {
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(var(--w) - var(--h));
    display: grid;
    place-items: center;
    font-family: var(--sub-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.66);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.26s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .lang-label-en { right: 0; }
  .lang-label-ua { left: 0; opacity: 0; transform: translateX(-7px); }
  .lang-switch.is-en .lang-label-en { opacity: 0; transform: translateX(7px); }
  .lang-switch.is-en .lang-label-ua { opacity: 1; transform: none; }

  .lang-flag-wrap {
    position: absolute;
    top: var(--pad);
    left: var(--pad);
    width: calc(var(--h) - var(--pad) * 2);
    height: calc(var(--h) - var(--pad) * 2);
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55),
                0 0 0 1px rgba(255, 255, 255, 0.24);
    transition: transform 0.26s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.2s ease,
                scale 0.12s ease-out;
  }
  .lang-switch.is-en .lang-flag-wrap {
    transform: translateX(calc(var(--w) - var(--h)));
  }
  .lang-switch:hover .lang-flag-wrap {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.4);
  }
  /* окрема властивість scale, а не transform: інакше натиск збивав би зсув шайби */
  .lang-switch:active .lang-flag-wrap { scale: 0.93; }
  .lang-switch:focus-visible .lang-switch-track {
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.62),
                0 0 0 2px var(--accent-color);
  }
  .lang-flag-wrap svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  @media (prefers-reduced-motion: reduce) {
    .lang-flag-wrap, .lang-switch-label { transition: none; }
  }

  /* FRAMELESS PHONE LINK (+15% SCALE) */
  .phone-capsule,
  .phone-link-frameless {
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    color: #FFFFFF;
    font-size: 1.1vw;            /* +2–4 пт */
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.35vw 0.6vw;
    border-radius: 999px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.52vw;
    transition: color 0.25s ease, opacity 0.25s ease;
  }
  .phone-capsule:hover,
  .phone-link-frameless:hover {
    background: transparent !important;
    color: var(--accent-color, #81B873);
  }
  .phone-icon-badge {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  }
  .phone-capsule:hover .phone-icon-badge,
  .phone-link-frameless:hover .phone-icon-badge {
    transform: scale(1.1);
    background: var(--accent-color, #81B873);
    color: #0E1F0B;
  }

  .btn-top-accent {
    background: var(--top-btn-bg);
    color: var(--top-btn-text);
    font-size: 1.06vw;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.82vw 1.85vw;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.2s ease;
  }
  .btn-top-accent:hover {
    background: var(--top-btn-hover);
    transform: translateY(-1px);
  }

  /* -------------------------------------------------------------
     MAIN HERO TEXT STAGE (2 TEXT BLOCKS)
     ------------------------------------------------------------- */
  .hero-main-content {
    position: relative;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto 8vh;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1.4vw;
  }

  /* BLOCK 1: MAIN HEADLINE */
  .title-wrapper {
    transform: translate(var(--title-x), var(--title-y));
    transition: transform 0.05s linear;
    max-width: var(--title-max-w);
  }
  h1.hero-main-headline {
    font-family: var(--title-font);
    font-size: var(--title-size);
    font-weight: var(--title-weight);
    line-height: var(--title-lh);
    letter-spacing: var(--title-ls);
    text-transform: var(--title-transform);
    transition: font-size 0.1s, line-height 0.1s;
    word-break: break-word;
    border-bottom: none !important;
    text-decoration: none !important;
  }
  .title-word-accent {
    color: var(--accent-color, #81B873) !important;
    -webkit-text-fill-color: var(--accent-color, #81B873) !important;
    display: inline;
  }

  /* БЕЙДЖ ЗДАЧІ — кругла наліпка праворуч від кнопки. Колір верхньої кнопки
     «Онлайн заявка», трохи повернута й відкидає тінь, наче наклеєна поверх
     кадру. Шари тіні: щільна біля краю + м'яка далека. */
  .hero-release-badge {
    position: absolute;
    right: 100px;
    bottom: -3vw;              /* центр наліпки на рівні центру кнопки */
    z-index: 5;
    width: 9.1vw;
    height: 9.1vw;
    min-width: 125px;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45vw;
    padding: 1.2vw;
    border-radius: 50%;
    background: var(--top-btn-bg);
    color: var(--top-btn-text);
    /* світло зліва — тінь лягає праворуч і трохи вниз */
    box-shadow:
      3px 2px 3px rgba(0, 0, 0, 0.3),
      16px 12px 30px rgba(0, 0, 0, 0.45);
    /* rotate/scale — окремі властивості: гойдання, наведення й оберт по кліку
       складаються, а не перебивають одне одне */
    rotate: -9deg;
    animation: stickerSway 6.65s ease-in-out infinite;
    transition: scale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    user-select: none;
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: 0.96vw;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    text-wrap: balance;
  }
  .hero-release-badge:hover { scale: 1.05; }
  @keyframes stickerSway {
    0%, 100% { rotate: -13deg; }
    50%      { rotate: -5deg; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-release-badge { animation: none; }
  }
  .hero-release-badge .pulse-dot { display: none; }

  @media (max-width: 900px) {
    .hero-release-badge {
      position: static;
      align-self: flex-start;
      font-size: 11px;
      gap: 6px;
      padding: 12px;
    }
  }

  /* BLOCK 2: SUBTITLE / DESCRIPTION */
  .desc-wrapper {
    transform: translate(var(--sub-x), var(--sub-y));
    transition: transform 0.05s linear;
    max-width: var(--sub-max-w);
  }
  p.hero-main-desc strong { font-weight: 800; color: #FFFFFF; -webkit-text-stroke: 0.7px #FFFFFF; font-size: 1.32em; line-height: 0; display: inline-block; vertical-align: -0.02em; letter-spacing: 0.005em; white-space: nowrap; }   /* 11,3% — більше й товще (800 — найжирніше в Manrope, далі — обвідка) */
  p.hero-main-desc {
    font-family: var(--sub-font);
    font-size: var(--sub-size);
    font-weight: var(--sub-weight);
    line-height: var(--sub-lh);
    letter-spacing: var(--sub-ls);
    opacity: var(--sub-opacity);
    transition: font-size 0.1s, line-height 0.1s;
  }

  /* =============================================================
     5 TEXT EFFECTS FOR HEADLINE & SUBTITLE
     ============================================================= */
  /* Effect 1: Solid Clean */
  .fx-solid {
    color: #FFFFFF;
    text-shadow: 0 4px 35px rgba(0, 0, 0, 0.85);
    -webkit-text-stroke: 0px transparent !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    border-bottom: none !important;
  }

  /* Effect 2: Outline / Wireframe (Контурний з пустотою) */
  .fx-outline {
    color: transparent !important;
    -webkit-text-stroke: 1.8px #FFFFFF !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-text-fill-color: transparent !important;
    border-bottom: none !important;
  }
  p.hero-main-desc.fx-outline {
    -webkit-text-stroke: 1px #FFFFFF !important;
  }

  /* Effect 3: Liquid Glass / Gradient */
  .fx-gradient {
    background: linear-gradient(180deg, #FFFFFF 20%, rgba(255, 255, 255, 0.38) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke: 0px transparent !important;
    text-shadow: none !important;
    border-bottom: none !important;
  }

  /* Effect 4: Forest Glow (М'яке неонове сяйво) */
  .fx-glow {
    color: #FFFFFF !important;
    text-shadow: 0 0 25px rgba(129, 184, 115, 0.9), 0 0 50px rgba(129, 184, 115, 0.45), 0 4px 25px rgba(0, 0, 0, 0.9) !important;
    -webkit-text-stroke: 0px transparent !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    border-bottom: none !important;
  }

  /* Effect 5: Architectural Clean (Підкреслення вимкнено) */
  .fx-line {
    color: #FFFFFF;
    text-shadow: 0 4px 35px rgba(0, 0, 0, 0.85);
    -webkit-text-stroke: 0px transparent !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    border-bottom: none !important;
    padding-bottom: 0.35vw;
    display: inline-block;
  }

  /* -------------------------------------------------------------
     FREE-FLOATING CTA BUTTON (ACROSS ENTIRE SCREEN X / Y)
     ------------------------------------------------------------- */
  .free-floating-cta {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9vw;
    margin-top: 1.6vw;
    z-index: 50;
    transform: scale(var(--btn-scale));
    transform-origin: left center;
    transition: transform 0.2s ease, opacity 0.3s ease;
  }

  /* 1. STYLE: NUMO UNIFIED CAPSULE WITH FLIP-ARROW INTERACTION */
  .cta-btn-numo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--btn-text-color);
    padding: 0.95vw 2.0vw;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s ease;
  }
  .cta-btn-numo:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  }
  .cta-btn-numo .action-pill {
    background: transparent !important;
    color: inherit;
    font-size: 0.88vw;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 !important;
    white-space: nowrap;
    user-select: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .cta-btn-numo .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    overflow: hidden;
    line-height: 0;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                margin 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .cta-btn-numo .btn-arrow svg {
    width: 1.15vw;
    height: 1.15vw;
    min-width: 16px;
    min-height: 16px;
    display: block;
    flex-shrink: 0;
  }
  /* Default state: Right arrow visible, Left arrow hidden */
  .cta-btn-numo .btn-arrow-left {
    width: 0;
    max-width: 0;
    opacity: 0;
    transform: translateX(-14px) scale(0);
    margin-right: 0;
    pointer-events: none;
  }
  .cta-btn-numo .btn-arrow-right {
    width: 1.15vw;
    max-width: 25px;
    opacity: 1;
    transform: translateX(0) scale(1);
    margin-left: 0.65vw;
  }
  /* Hover state: Left arrow appears, Right arrow disappears */
  .cta-btn-numo:hover .btn-arrow-left {
    width: 1.15vw;
    max-width: 25px;
    opacity: 1;
    transform: translateX(0) scale(1);
    margin-right: 0.65vw;
  }
  .cta-btn-numo:hover .btn-arrow-right {
    width: 0;
    max-width: 0;
    opacity: 0;
    transform: translateX(14px) scale(0);
    margin-left: 0;
    pointer-events: none;
  }

  /* 2. STYLE: BIG CIRCULAR BUTTON (Architectural Seal) */
  .cta-btn-circle {
    width: 8.8vw;
    height: 8.8vw;
    min-width: 120px;
    min-height: 120px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--btn-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55vw;
    text-decoration: none;
    padding: 1.2vw;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .cta-btn-circle .circle-text {
    font-size: 0.8vw;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.28;
    color: var(--btn-text-color);
    transition: transform 0.2s;
  }
  .cta-btn-circle .circle-arrow-icon {
    width: 1.8vw;
    height: 1.8vw;
    min-width: 26px;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--btn-text-color);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .cta-btn-circle .circle-arrow-icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }
  .cta-btn-circle:hover {
    background: var(--accent-hover);
    transform: scale(1.06);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45) !important;
  }
  .cta-btn-circle:hover .circle-text {
    transform: translateY(-1px);
  }
  .cta-btn-circle:hover .circle-arrow-icon {
    transform: translate(3px, -3px);
  }

  /* 3. STYLE: SHARP BRUTALIST SQUARE */
  .cta-btn-square {
    display: inline-flex;
    align-items: center;
    gap: 1vw;
    background: var(--accent-color);
    color: var(--btn-text-color);
    font-size: 0.88vw;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1.1vw 2.4vw;
    border-radius: 0px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: none !important;
    transition: all 0.2s ease;
  }
  .cta-btn-square .arrow-box {
    width: 1.8vw;
    height: 1.8vw;
    min-width: 24px;
    min-height: 24px;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cta-btn-square:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
  }

  /* 4. STYLE: LUXURY SOFT ROUNDED RECTANGLE */
  .cta-btn-soft {
    display: inline-flex;
    align-items: center;
    gap: 1.2vw;
    background: var(--accent-color);
    color: var(--btn-text-color);
    font-size: 0.84vw;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1vw 2vw;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: none !important;
    transition: all 0.2s ease;
  }
  .cta-btn-soft .soft-badge {
    background: rgba(255, 255, 255, 0.35);
    padding: 0.3vw 0.6vw;
    border-radius: 6px;
    font-size: 0.8vw;
    font-weight: 800;
  }
  .cta-btn-soft:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
  }

  /* 5. STYLE: GLASS NEOMORPHIC CAPSULE */
  .cta-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.9vw;
    background: rgba(14, 18, 26, 0.45);
    border: 1.5px solid var(--accent-color);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    font-size: 0.84vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85vw 1.6vw 0.85vw 2vw;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .cta-btn-glass .glass-icon-circle {
    width: 2.3vw;
    height: 2.3vw;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--btn-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
  }
  .cta-btn-glass:hover {
    background: rgba(24, 30, 42, 0.7);
    border-color: #FFFFFF;
    transform: translateY(-2px);
  }

  /* -------------------------------------------------------------
     SLIDE-OUT FLOATING INSPECTOR (LIQUID GLASS FLOATING PLAQUE)
     ------------------------------------------------------------- */
  .side-inspector-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(14, 18, 26, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 0.8vw 0.65vw;
    display: none; /* design studio trigger hidden on production */
    flex-direction: column;
    align-items: center;
    gap: 0.6vw;
    color: #fff;
    cursor: pointer;
    box-shadow: -8px 12px 30px rgba(0, 0, 0, 0.65);
    transition: all 0.25s ease;
    user-select: none;
  }
  .side-inspector-tab:hover {
    background: rgba(24, 30, 42, 0.85);
    border-color: var(--accent-color);
    padding-left: 0.9vw;
  }
  .side-inspector-tab .tab-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
  }
  .side-inspector-tab .tab-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.72vw;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
  }

  /* Slide-Out Drawer Panel: Floating Liquid Glass Plaque with Margins */
  .inspector-drawer {
    position: fixed;
    top: 1.5vh;
    bottom: 1.5vh;
    right: 1.5vw;
    width: 480px;
    height: calc(100vh - 3vh);
    z-index: 1010;
    background: rgba(11, 15, 22, 0.68); /* еле-еле прозоре скло */
    backdrop-filter: blur(36px) saturate(190%);
    -webkit-backdrop-filter: blur(36px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px; /* витончена плажка з відступами */
    padding: 1.3vw 1.2vw;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.16);
    transform: translateX(calc(100% + 3vw));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .inspector-drawer.open {
    transform: translateX(0);
  }

  .drawer-scroll-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.4vw;
  }
  .drawer-scroll-body::-webkit-scrollbar { width: 4px; }
  .drawer-scroll-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; }

  .drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8vw;
    padding-bottom: 0.6vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .drawer-title {
    font-size: 0.95vw;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent-color);
    text-transform: uppercase;
  }
  .drawer-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
  }
  .drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
  }

  .drawer-top-actions {
    display: flex;
    gap: 0.4vw;
    margin-bottom: 0.8vw;
  }
  .btn-drawer-action {
    flex: 1;
    padding: 0.4vw;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7vw;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
  }
  .btn-drawer-action:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }
  .btn-drawer-action.save {
    background: rgba(129, 184, 115, 0.25);
    border-color: var(--accent-color);
    color: var(--accent-color);
  }
  .btn-drawer-action.save:hover {
    background: var(--accent-color);
    color: var(--btn-text-color);
  }

  /* Main Navigation Tabs Inside Drawer: [🔘 Кнопка] [🔤 Заголовок] [📝 Підзаголовок] */
  .editor-section-tabs {
    display: flex;
    gap: 0.3vw;
    margin-bottom: 0.9vw;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.25vw;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .editor-tab-btn {
    flex: 1;
    padding: 0.4vw 0.25vw;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68vw;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
  }
  .editor-tab-btn.active {
    background: var(--accent-color);
    color: var(--btn-text-color);
  }

  .tab-pane { display: none; }
  .tab-pane.active { display: block; }

  .section-label {
    font-size: 0.7vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin: 0.8vw 0 0.35vw;
  }

  /* Preset Pills & Effect Pills */
  .preset-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3vw;
    margin-bottom: 0.6vw;
  }
  .preset-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.66vw;
    font-weight: 600;
    padding: 0.3vw 0.6vw;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s;
  }
  .preset-btn:hover {
    background: rgba(129, 184, 115, 0.2);
    border-color: var(--accent-color);
    color: #fff;
  }
  .preset-btn.active {
    background: var(--accent-color);
    color: var(--btn-text-color);
    border-color: var(--accent-color);
  }

  /* 5 Effect Buttons */
  .fx-btn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3vw;
    margin-bottom: 0.7vw;
  }
  .fx-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 0.65vw;
    font-weight: 600;
    padding: 0.4vw 0.3vw;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
  }
  .fx-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-color);
  }
  .fx-btn.active {
    background: var(--accent-color);
    color: var(--btn-text-color);
    border-color: var(--accent-color);
    font-weight: 800;
  }

  .text-input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 0.78vw;
    padding: 0.5vw 0.7vw;
    border-radius: 6px;
    outline: none;
    margin-bottom: 0.45vw;
    transition: border-color 0.2s;
  }
  .text-input-field:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
  }
  textarea.text-input-field {
    resize: vertical;
    min-height: 48px;
    line-height: 1.4;
  }

  /* Font Search Box */
  .font-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.7vw;
    padding: 0.35vw 0.6vw;
    border-radius: 6px;
    outline: none;
    margin-bottom: 0.45vw;
  }
  .font-search-input:focus { border-color: var(--accent-color); }

  /* 30 Fonts Scrollable Grid */
  .font-select-grid-30 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3vw;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.3vw;
    margin-bottom: 0.8vw;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.35vw;
    background: rgba(0, 0, 0, 0.25);
  }
  .font-select-grid-30::-webkit-scrollbar { width: 3px; }
  .font-select-grid-30::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; }

  .f-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.4vw 0.5vw;
    cursor: pointer;
    transition: all 0.15s;
  }
  .f-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
  }
  .f-card.active {
    background: rgba(129, 184, 115, 0.25);
    border-color: var(--accent-color);
  }
  .f-card-name { font-size: 0.74vw; font-weight: 700; color: #fff; }
  .f-card.active .f-card-name { color: var(--accent-color); }
  .f-card-cat { font-size: 0.58vw; color: rgba(255, 255, 255, 0.5); }

  /* Button Style Grid (5 Styles) */
  .btn-style-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4vw;
    margin-bottom: 0.8vw;
  }
  .style-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.55vw 0.65vw;
    cursor: pointer;
    transition: all 0.2s;
  }
  .style-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
  }
  .style-card.active {
    background: rgba(129, 184, 115, 0.25);
    border-color: var(--accent-color);
  }
  .style-card-title {
    font-size: 0.78vw;
    font-weight: 700;
    color: #fff;
  }
  .style-card.active .style-card-title { color: var(--accent-color); }
  .style-card-desc { font-size: 0.62vw; color: rgba(255, 255, 255, 0.5); }

  /* Sliders */
  .control-row {
    display: flex;
    flex-direction: column;
    gap: 0.2vw;
    margin-bottom: 0.5vw;
  }
  .control-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.7vw;
    color: rgba(255, 255, 255, 0.85);
  }
  .control-val {
    color: var(--accent-color);
    font-family: monospace;
    font-size: 0.7vw;
  }

  input[type="range"] {
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.18);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
  }
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(129, 184, 115, 0.6);
    cursor: pointer;
    transition: transform 0.15s;
  }
  input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.25); }

  .xy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5vw;
  }

  /* ============================================================
     SCREEN 2 — SCROLL SHOWCASE (4 QUADRANT SCRUB)
     Механика: sticky-трек, 4 кадра съезжаются из центра
     по квадрантам в монолитную сетку. Токены наследуются.
     ============================================================ */
  /* ============================================================
     ЕКРАН 3 — MANDRA PETRICHOR: КОМПЛЕКС У ЦИФРАХ
     Три опорні цифри на всю ширину, під ними короткий текст ліворуч
     і сітка можливостей праворуч. Текст живе в картках, а не абзацами.
     Матеріал карток — скло без рамок; тег у кутку обведено inset-тінню,
     щоб на одному елементі не сходились заливка й рамка.
     ============================================================ */
  .section-petrichor-intro {
    position: relative;
    z-index: 3;
    background: var(--bg-dark);
    border-top-left-radius: 22px;      /* наїжджає на героя карткою */
    border-top-right-radius: 22px;
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.45);
    padding: clamp(72px, 8vh, 124px) 5vw;
    box-sizing: border-box;
  }
  .pi-container {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(12px, 1vw, 20px);
    align-items: start;
  }

  /* Верхній ряд — три опорні цифри */
  .pi-figure { grid-column: span 4; }
  .pi-col-text {
    grid-column: span 5;
    padding: clamp(18px, 1.8vw, 34px) clamp(24px, 2vw, 40px) 0 0;
  }
  .pi-features {
    grid-column: span 7;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));   /* чотири можливості — 2×2 */
    gap: clamp(12px, 1vw, 20px);
  }
  .pi-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: stretch;      /* статус тягнеться по висоті кнопки */
    flex-wrap: wrap;
    gap: clamp(12px, 1vw, 20px);
    margin-top: clamp(8px, 0.8vw, 18px);
  }

  .pi-title {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(30px, 2.7vw, 50px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin: 0 0 clamp(18px, 1.5vw, 28px);
  }
  .pi-lead {
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(15px, 1.02vw, 18px);
    font-weight: 500;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
  }
  .pi-accent { color: var(--accent-color, #81B873); }

  /* Стрілка кнопки — та сама векторна, що на кнопці героя, а не гліф з клавіатури */
  .pi-cta-arrow {
    display: inline-flex;
    width: 1.15em;
    height: 1.15em;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .pi-cta-arrow svg { width: 100%; height: 100%; }
  .stats-cta-btn:hover .pi-cta-arrow { transform: translate(2px, -2px); }
  /* Та сама стрілка в решті кнопок: три запасні стилі кнопки героя і кнопка
     блоку статистики. Розмір веде шрифт кнопки, колір — currentColor. */
  .arrow-box svg,
  .soft-badge svg,
  .glass-icon-circle svg,
  .stats-cta-arrow svg {
    width: 1em;
    height: 1em;
    display: block;
  }
  .stats-cta-arrow { display: inline-flex; align-items: center; }

  /* Картка опорної цифри */
  .pi-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(150px, 12vw, 200px);
    padding: clamp(20px, 1.6vw, 30px);
    border-radius: clamp(16px, 1.2vw, 22px);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: none;
    box-sizing: border-box;
    overflow: hidden;
  }
  .pi-card-tag {
    position: absolute;
    top: clamp(16px, 1.3vw, 24px);
    right: clamp(16px, 1.3vw, 24px);
    padding: 5px 13px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(10px, 0.62vw, 12px);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
  }
  .pi-card-num {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(38px, 3.4vw, 64px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--accent-color, #81B873);
    white-space: nowrap;
  }
  .pi-card-unit { font-size: 0.4em; font-weight: 700; letter-spacing: 0; }
  .pi-card-text {
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(13px, 0.86vw, 16px);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.68);
    margin: clamp(10px, 0.8vw, 16px) 0 0;
  }
  .pi-card-accent { background: var(--accent-color, #81B873); }
  .pi-card-accent .pi-card-num { color: #0E1F0B; }
  .pi-card-accent .pi-card-text { color: rgba(14, 31, 11, 0.78); }
  .pi-card-accent .pi-card-tag {
    box-shadow: inset 0 0 0 1px rgba(14, 31, 11, 0.3);
    color: rgba(14, 31, 11, 0.8);
  }

  /* Плашка можливості: галочка та один короткий рядок */
  .pi-feature {
    display: flex;
    align-items: center;
    gap: clamp(10px, 0.7vw, 14px);
    min-height: clamp(84px, 6.4vw, 108px);
    padding: clamp(16px, 1.2vw, 24px);
    border-radius: clamp(14px, 1vw, 18px);
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: none;
    box-sizing: border-box;
  }
  /* Дзеркальний блік на наведення: тонка світлова смуга повільно проходить
     по склу картки й гасне. Тільки цифри та плашки можливостей — нижня
     горизонтальна смуга статусу лишається спокійною. */
  .pi-card,
  .pi-feature { position: relative; overflow: hidden; }
  .pi-card::after,
  .pi-feature::after {
    content: '';
    position: absolute;
    top: -60%;
    bottom: -60%;
    left: 0;
    width: 42%;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-160%) rotate(9deg);
    background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.07) 42%,
      rgba(255, 255, 255, 0.14) 50%,
      rgba(255, 255, 255, 0.07) 58%,
      rgba(255, 255, 255, 0) 100%);
  }
  /* Рівний спокійний прохід: різкий easeOut вистрілював на старті й доповзав
     у кінці — блік читався як смикання, а не як світло. */
  .pi-card:hover::after,
  .pi-feature:hover::after { animation: piSheen 1.7s cubic-bezier(0.33, 0, 0.3, 1); }
  @keyframes piSheen {
    0%   { transform: translateX(-160%) rotate(9deg); opacity: 0; }
    20%  { opacity: 0.9; }
    70%  { opacity: 0.9; }
    100% { transform: translateX(330%) rotate(9deg); opacity: 0; }
  }
  /* На залитій акцентом картці біле світло було б різким — гасимо вдвічі */
  .pi-card-accent::after { opacity: 0; mix-blend-mode: soft-light; }

  @media (prefers-reduced-motion: reduce) {
    .pi-card:hover::after,
    .pi-feature:hover::after { animation: none; }
  }

  /* ІКОНКИ МОЖЛИВОСТЕЙ — власний набір, лінія 1.6 на сітці 24.
     Три шари руху: на появі секції лінії «малюються», у спокої в кожної
     живе одна деталь, на наведення — свій жест. transform-box: fill-box,
     щоб кожна деталь оберталась навколо себе, а не навколо кута svg. */
  .pi-feature-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: clamp(36px, 2.4vw, 46px);
    height: clamp(36px, 2.4vw, 46px);
    border-radius: 50%;
    background: rgba(129, 184, 115, 0.13);
    color: var(--accent-color, #81B873);
    transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1), scale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .pi-feature:hover .pi-feature-icon { background: rgba(129, 184, 115, 0.22); scale: 1.06; }
  .pi-feature-icon svg,
  .why-tile-mark svg {
    width: 66%; height: 66%; display: block; overflow: visible;
    fill: none; stroke: currentColor; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .pi-feature-icon svg *,
  .why-tile-mark svg * { transform-box: fill-box; }
  .pi-ease { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease; }

  /* поява: лінії домальовуються одна за одною (анімує скрипт під сіткою —
     CSS-перехід на stroke-dashoffset тут залипав) */
  .pi-features [pathLength],
  .why-grid [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }

  /* 1. Ресторан — тарілка й прибори; пара над тарілкою, прибори розходяться */
  .ico-steam { opacity: 0; }
  .is-drawn .ico-steam { animation: icoSteam 3.2s ease-in-out infinite; }
  .is-drawn .ico-steam + .ico-steam { animation-delay: 1.6s; }
  @keyframes icoSteam {
    0%   { opacity: 0; transform: translateY(1.5px); }
    35%  { opacity: 0.9; }
    100% { opacity: 0; transform: translateY(-2.5px); }
  }
  .pi-feature:hover .ico-fork  { transform: translateX(-1.6px) rotate(-8deg); }
  .pi-feature:hover .ico-knife { transform: translateX(1.6px) rotate(8deg); }

  /* 2. SPA — лотос над водою; вода дихає, пелюстки розкриваються */
  .is-drawn .ico-wave { animation: icoWave 4s ease-in-out infinite; }
  .is-drawn .ico-wave + .ico-wave { animation-delay: -2s; }
  @keyframes icoWave { 0%, 100% { transform: translateX(-0.8px); } 50% { transform: translateX(0.8px); } }
  .ico-petal-l { transform-origin: 100% 100%; }
  .ico-petal-r { transform-origin: 0% 100%; }
  .pi-feature:hover .ico-petal-l { transform: rotate(-14deg); }
  .pi-feature:hover .ico-petal-r { transform: rotate(14deg); }
  .pi-feature:hover .ico-petal-c { transform: translateY(-1px); }

  /* 3. Сім'я — двоє дорослих і дитина; дитина підстрибує, дорослі схиляються */
  .is-drawn .ico-kid { animation: icoKid 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
  @keyframes icoKid { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-1.3px); } }
  .ico-adult-l { transform-origin: 50% 100%; }
  .ico-adult-r { transform-origin: 50% 100%; }
  .pi-feature:hover .ico-adult-l { transform: rotate(7deg); }
  .pi-feature:hover .ico-adult-r { transform: rotate(-7deg); }

  /* 4. Дорослий відпочинок — два келихи; вино гойдається, на наведення — дзенькіт */
  .ico-glass-l { transform-origin: 50% 100%; transform: rotate(-9deg); }
  .ico-glass-r { transform-origin: 50% 100%; transform: rotate(9deg); }
  .is-drawn .ico-wine { animation: icoWine 3s ease-in-out infinite; transform-origin: 50% 50%; }
  @keyframes icoWine { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
  .pi-feature:hover .ico-glass-l { transform: rotate(4deg); }
  .pi-feature:hover .ico-glass-r { transform: rotate(-4deg); }
  .ico-clink { opacity: 0; transform: scale(0.4); transform-origin: 50% 100%; }
  .pi-feature:hover .ico-clink { opacity: 1; transform: scale(1); transition-delay: 0.22s; }

  /* 5. Три концепції — три кола; повільно обертаються, на наведення розходяться */
  .pi-feature-icon .ico-trio { transform-origin: 50% 50%; transform-box: view-box; }
  .is-drawn .ico-trio { animation: icoSpin 22s linear infinite; }
  @keyframes icoSpin { to { transform: rotate(360deg); } }
  .pi-feature:hover .ico-c1 { transform: translateY(-1.3px); }
  .pi-feature:hover .ico-c2 { transform: translate(-1.1px, 0.7px); }
  .pi-feature:hover .ico-c3 { transform: translate(1.1px, 0.7px); }

  /* 6. Готельне управління — дзвоник рецепції; відблиск, на наведення дзвенить */
  .is-drawn .ico-shine { animation: icoShine 3.4s ease-in-out infinite; }
  @keyframes icoShine { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
  .ico-bell { transform-origin: 50% 100%; }
  .pi-feature:hover .ico-bell { animation: icoRing 0.9s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
  @keyframes icoRing {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(-9deg); } 35% { transform: rotate(7deg); }
    55% { transform: rotate(-4deg); } 75% { transform: rotate(2deg); }
  }
  .ico-ring { opacity: 0; }
  .pi-feature:hover .ico-ring { opacity: 1; transition-delay: 0.1s; }

  @media (prefers-reduced-motion: reduce) {
    .pi-features [pathLength], .why-grid [pathLength] { stroke-dashoffset: 0; }
    .pi-features *, .pi-feature:hover *,
    .why-grid .why-tile-mark *, .why-tile:hover .why-tile-mark * { animation: none !important; transition: none !important; }
    .ico-steam { opacity: 0.7; }
  }
  .pi-feature-text {
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(13px, 0.92vw, 17px);
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.86);
    margin: 0;
  }

  .pi-status {
    display: flex;
    flex: 1;                   /* добирає всю ширину, що лишилась після кнопки */
    justify-content: center;   /* текст по центру плашки */
    align-items: center;
    gap: 12px;
    padding: clamp(14px, 1vw, 20px) clamp(18px, 1.4vw, 28px);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(13px, 0.88vw, 16px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
  }
  .pi-status .pulse-dot { flex: none; }

  /* ДЕСКТОП: замість рядка статусу — табло з двох половин: «I черга — приймає
     гостей · Працює» і «II · III черги — 17 котеджів · У продажу». */
  .pi-phases { display: none; }
  @media (min-width: 768px) {
    .pi-actions > .pi-status { display: none !important; }
    .pi-phases {
      flex: 1; min-width: 0; display: flex; align-items: stretch;
      border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }
    .pi-ph { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 0 clamp(16px, 1.6vw, 26px); }
    .pi-ph + .pi-ph { border-left: 1px solid rgba(255, 255, 255, 0.14); }
    .pi-ph .pulse-dot { flex: none; }
    .pi-ph-k { flex: none; font-family: var(--title-font, 'Unbounded', sans-serif); font-weight: 800; font-size: clamp(11px, 0.78vw, 13px);
               letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); white-space: nowrap; }
    .pi-ph-t { font-family: var(--sub-font, 'Manrope', sans-serif); font-weight: 700; font-size: clamp(15px, 1.15vw, 19px);
               color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pi-ph-tag { margin-left: auto; flex: none; padding: 5px 12px; border-radius: 999px; font-family: var(--sub-font, 'Manrope', sans-serif);
                 font-weight: 800; font-size: clamp(11px, 0.75vw, 12px); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
    .pi-ph-tag.is-on { background: rgba(129, 184, 115, 0.16); color: var(--accent-color, #81B873); }
    .pi-ph-tag.is-sale { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); color: #FFFFFF; }
  }

  /* ДЕСКТОП (було): статус — рівна квадратна рамка з бігучим рядком. */
  @media (min-width: 768px) {
    .pi-status.is-ticker {
      display: block; overflow: hidden; padding: 0; min-width: 0;
      border-radius: 0; rotate: none; background: transparent; box-shadow: none;
      border: 1px solid rgba(129, 184, 115, 0.55); color: #FFFFFF;
    }
    .pi-status.is-ticker > .pulse-dot, .pi-status.is-ticker > #piStatus { display: none; }
    .pi-status.is-ticker .pi-ticker { display: flex; width: max-content; height: 100%; align-items: center;
                                      animation: footerWatermarkScroll 34s linear infinite; }
    .pi-status.is-ticker .pi-ticker span {
      display: inline-flex; align-items: center; gap: 16px; padding-right: 16px; white-space: nowrap;
      font-family: var(--sub-font, 'Manrope', sans-serif); font-weight: 700;
      font-size: clamp(16px, 1.08vw, 20px); color: rgba(255, 255, 255, 0.9);
    }
    .pi-status.is-ticker .pi-ticker i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-color, #81B873); }
    .pi-status.is-ticker:hover .pi-ticker { animation-play-state: paused; }
  }
  @media (prefers-reduced-motion: reduce) { .pi-status.is-ticker .pi-ticker { animation: none; } }

  @media (max-width: 1100px) {
    .pi-col-text { grid-column: 1 / -1; padding-right: 0; }
    .pi-features { grid-column: 1 / -1; }
  }
  @media (max-width: 760px) {
    .pi-figure { grid-column: 1 / -1; }
    .pi-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pi-status { border-radius: 20px; align-items: flex-start; }
  }
  @media (max-width: 480px) {
    .pi-features { grid-template-columns: minmax(0, 1fr); }
  }

  /* ============================================================
     ЕКРАН 4 — ШІСТЬ ПЛИТОК «ЧОМУ MANDRA PETRICHOR»
     Сітка 3x2 на всю ширину, розділювачі — волосяні лінії через фон сітки.
     У спокої плитка темна: заголовок і авторський знак, що живе повільною
     анімацією. На наведення проявляється фотографія.
     На дотику наведення немає: фото видно одразу приглушеним, тап відкриває
     його у власному вікні браузера (<dialog>) з хрестиком.
     ============================================================ */
  .section-why-tiles {
    position: relative;
    z-index: 3;
    background: var(--bg-dark);
    /* Знизу відступу немає: нижня лінія сітки має стикуватись із картою
       наступного екрана, без смуги фону між ними. */
    padding: clamp(64px, 7vh, 110px) 0 0;
  }
  .why-head {
    max-width: 1520px;
    margin: 0 auto clamp(32px, 3vw, 58px);
    padding: 0 5vw;
  }
  .why-title {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(28px, 2.7vw, 50px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin: 0;
  }
  .why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);      /* лінії між плитками */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .why-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: clamp(230px, 21vw, 330px);
    padding: clamp(20px, 1.9vw, 34px);
    background: var(--bg-dark);
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
    text-align: left;
    border: none;
    color: inherit;
    font: inherit;
    cursor: default;
  }
  .why-tile-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -2;
  }
  /* Затемнення поверх фото — щоб заголовок лишався читабельним */
  .why-tile-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 10, 0.72) 0%, rgba(10, 12, 10, 0.34) 46%, rgba(10, 12, 10, 0.68) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
  }
  .why-tile:hover .why-tile-img,
  .why-tile:focus-visible .why-tile-img { opacity: 1; transform: scale(1); }
  .why-tile:hover .why-tile-scrim,
  .why-tile:focus-visible .why-tile-scrim { opacity: 1; }

  .why-tile-text {
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(21px, 1.47vw, 28px);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    margin: 0;
    max-width: 14em;
  }
  /* Знак плитки — той самий набір, що іконки можливостей Petrichor (лінія 1.6,
     сітка 24, малювання при появі, одна жива деталь у спокої). На наведення
     знак не ховається: під ним проступає фото, тож підкладка стає темним
     склом, а сам знак робить свій жест. */
  /* десктоп: заголовок плитки по центру */
  @media (min-width: 768px) {
    .why-tile { justify-content: center; }
    .why-tile-text { align-self: center; text-align: center; text-wrap: balance; }
    /* знак не займає місця в потоці — заголовок стоїть рівно в центрі плитки */
    .why-tile-mark { position: absolute; right: clamp(20px, 1.9vw, 34px); bottom: clamp(20px, 1.9vw, 34px); }
  }
  .why-tile-mark {
    align-self: flex-end;
    display: grid;
    place-items: center;
    width: clamp(64px, 5vw, 92px);
    height: clamp(64px, 5vw, 92px);
    border-radius: 50%;
    background: rgba(129, 184, 115, 0.12);
    color: var(--accent-color, #81B873);
    transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1), scale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .why-tile:hover .why-tile-mark,
  .why-tile:focus-visible .why-tile-mark {
    background: rgba(10, 12, 10, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    scale: 1.06;
  }

  /* 01 — 365 днів: стрілка кола повільно обертається, на наведення — пів оберту */
  .ico-loop, .ico-loop-turn { transform-origin: 50% 50%; }
  .is-drawn .ico-loop { animation: icoSpin 9s linear infinite; }
  .why-tile:hover .ico-loop-turn { transform: rotate(180deg); }
  .why-tile:hover .ico-rings { transform: translateY(-1px); }
  /* 02 — шість рішень: будиночки по черзі «дихають», на наведення розходяться */
  .is-drawn .ico-h1, .is-drawn .ico-h2, .is-drawn .ico-h3 { animation: icoBob 3.4s ease-in-out infinite; }
  .is-drawn .ico-h2 { animation-delay: .35s; }
  .is-drawn .ico-h3 { animation-delay: .7s; }
  @keyframes icoBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -0.9px; } }
  .why-tile:hover .ico-h1 { transform: translateX(-1.2px); }
  .why-tile:hover .ico-h3 { transform: translateX(1.2px); }
  /* 03 — Ribas: бирка гойдається на кільці, на наведення ключ повертається */
  .ico-tag { transform-origin: 90% 0%; }
  .is-drawn .ico-tag { animation: icoSwing 3.2s ease-in-out infinite; }
  @keyframes icoSwing { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
  .ico-key { transform-origin: 50% 20%; }
  .why-tile:hover .ico-key { transform: rotate(-24deg); }
  /* 04 — інфраструктура: вантаж гойдається на тросі, на наведення піднімається */
  .ico-hook { transform-origin: 50% 0%; }
  .is-drawn .ico-hook { animation: icoSwing 3.6s ease-in-out infinite; }
  .why-tile:hover .ico-hook-lift { transform: translateY(-2.2px); }
  /* 05 — три сценарії: стрілки ледь хитаються, на наведення розсуваються */
  .ico-a1, .ico-a3 { transform-origin: 0% 50%; }
  .ico-a2 { transform-origin: 100% 50%; }
  .is-drawn .ico-a1 { animation: icoNod 3.8s ease-in-out infinite; }
  .is-drawn .ico-a2 { animation: icoNod 3.8s ease-in-out -1.2s infinite reverse; }
  .is-drawn .ico-a3 { animation: icoNod 3.8s ease-in-out -2.4s infinite; }
  @keyframes icoNod { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
  .why-tile:hover .ico-a1, .why-tile:hover .ico-a3 { transform: translateX(1.4px); }
  .why-tile:hover .ico-a2 { transform: translateX(-1.4px); }
  /* 06 — доступність: точка йде маршрутом до мітки, на наведення мітка підстрибує */
  .ico-route { stroke-dasharray: 1.4 2.2; opacity: .55; }
  .ico-walker { fill: currentColor; stroke: none; opacity: 0;
    offset-path: path('M3 20.4c4-3.8 3.2-8 8-9.2s7.2-.6 7.6 1.6'); offset-rotate: 0deg; }
  .is-drawn .ico-walker { animation: icoWalk 4.8s ease-in-out infinite; }
  @keyframes icoWalk {
    0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; }
    85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; }
  }
  .why-tile:hover .ico-pin { transform: translateY(-1.6px); }

  /* --- дотик: наведення не існує, тому фото видно одразу --- */
  @media (hover: none) {
    .why-tile { cursor: pointer; }
    .why-tile-img { opacity: 0.5; transform: none; }
    .why-tile-scrim { opacity: 1; }
    .why-tile-mark { display: none; }
  }
  @media (max-width: 1100px) {
    .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 640px) {
    .why-grid { grid-template-columns: minmax(0, 1fr); }
  }

  /* --- вікно з фотографією для дотику --- */
  .why-lightbox {
    width: min(94vw, 1200px);
    max-width: 94vw;
    padding: 0;
    border: none;
    border-radius: clamp(14px, 1.2vw, 20px);
    background: #101210;
    overflow: hidden;
  }
  .why-lightbox::backdrop { background: rgba(8, 10, 8, 0.82); }
  .why-lightbox img { display: block; width: 100%; height: auto; }
  .why-lightbox-cap {
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.86);
    padding: 16px 56px 18px 20px;
    margin: 0;
  }
  .why-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(12, 14, 12, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #FFFFFF;
    cursor: pointer;
  }
  .why-lightbox-close svg { width: 18px; height: 18px; display: block; }

  /* ============================================================
     ЕКРАН 3.5 — ВІДЕОБАНЕР НА ВЕСЬ ЕКРАН
     Без звуку, без контролів, без перемотки: ролик просто йде по колу.
     Кнопка play з'являється тільки як запасний вихід — коли браузер
     заблокував автостарт (буває на мобільних при економії трафіку).
     ============================================================ */
  .section-video-banner {
    position: relative;
    z-index: 3;
    width: 100%;
    /* Банер на всю ширину, висоту веде саме співвідношення кадру 16:9.
       Стелі по висоті немає навмисно: обмеження висотою екрана віджимало
       ширину і давало поля з боків. */
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-dark);
  }
  .vb-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  /* Затемнення на 5% — рівно щоб зняти різкість білого тексту в ролику */
  .vb-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
  }
  /* Заголовок над банером — звичайний заголовок секції (клас .why-title),
     по центру над відео. */
  .vb-head {
    position: relative;
    z-index: 4;
    margin-top: -2px;                  /* закриває субпіксельну щілину на стику з героєм: крізь неї світило небо з відео */
    padding-top: 2px;
    background: var(--bg-dark);
    padding: 0 5vw clamp(32px, 3vw, 58px);
  }
  .vb-head > .why-title { max-width: 1520px; margin: 0 auto; text-align: center; }
  /* «Унікальність проєкту» на десктопі — по центру, як заголовок відеобанера над ним */
  @media (min-width: 768px) { .why-head .why-title { text-align: center; } }
  .vb-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(64px, 5.4vw, 92px);
    height: clamp(64px, 5.4vw, 92px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #FFFFFF;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  }
  .vb-play:hover { background: rgba(255, 255, 255, 0.2); transform: translate(-50%, -50%) scale(1.06); }
  .vb-play svg { width: 42%; height: 42%; display: block; }
  /* Трикутник оптично важчий ліворуч — зсуваємо його, щоб стояв по центру кола.
     Пауза симетрична, їй зсув не потрібен. */
  .vb-play .vb-icon-play { margin-left: 8%; }
  /* Поки ролик іде, кнопка тримається ледь помітною і проявляється на наведення
     та з клавіатури. На паузі — видима завжди, інакше нічим повернути відтворення. */
  .vb-play { opacity: 0.32; }
  .vb-play:hover,
  .vb-play:focus-visible,
  .section-video-banner.is-paused .vb-play { opacity: 1; }
  .vb-play .vb-icon-pause { display: none; }
  .vb-play .vb-icon-play { display: block; }
  .section-video-banner.is-playing .vb-play .vb-icon-pause { display: block; }
  .section-video-banner.is-playing .vb-play .vb-icon-play { display: none; }

  /* ТИМЧАСОВО: showcase сховано, поки збирається блок вище. Повернути —
     зняти атрибут hidden із секції та прибрати ці два правила. Від'ємний
     відступ статистики тримався на висоті showcase, тож без нього обнуляємо. */
  #showcase[hidden] { display: none; }
  #showcase[hidden] ~ .section-stats-stack { margin-top: 100px; }

  /* ============================================================
     ЕКРАН 10 — ЕТАПИ БУДІВНИЦТВА
     Три черги, у кожної смуга готовності. Смуга порожня, поки блок не
     ввійшов у кадр; далі наливається до свого відсотка, а число рахується
     разом із нею. Завершена черга завмирає, незавершені лишають рух по
     краю заливки — робота триває.
     ============================================================ */
  .section-build-stages {
    position: relative;
    z-index: 3;
    background: var(--bg-dark);
    padding: clamp(64px, 7vh, 110px) 5vw clamp(48px, 5vh, 80px);
    box-sizing: border-box;
  }
  .bs-container { max-width: 1520px; margin: 0 auto; }
  .bs-title {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(28px, 2.7vw, 50px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin: 0 0 clamp(32px, 3vw, 58px);
  }
  .bs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.2vw, 24px);
  }
  .bs-card {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 0.9vw, 18px);
    padding: clamp(22px, 1.8vw, 34px);
    border-radius: clamp(16px, 1.2vw, 22px);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: none;
    box-sizing: border-box;
  }
  /* Фото черги: будинок праворуч, текст — у лівому нижньому куті на
     затемненні. На наведення вся картка збільшується на 20%, як попап:
     від нижнього краю (не наїжджає на смугу під нею), поверх сусідів, з тінню. */
  .bs-card {
    position: relative;
    isolation: isolate;
    backdrop-filter: none;             /* фото закриває картку повністю — розмиття під ним лише їло кадри */
    -webkit-backdrop-filter: none;
    justify-content: flex-end;
    min-height: clamp(210px, 14.5vw, 280px);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transform-origin: 50% 100%;
    transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.7s ease;
  }
  .bs-card:hover {
    z-index: 5;
    transform: scale(1.2);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55), 0 8px 18px rgba(0, 0, 0, 0.35);
  }
  .bs-card-img,
  .bs-card-shade {
    position: absolute;
    inset: 0;
    border-radius: inherit;
  }
  .bs-card-img {
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 58%;
  }
  /* затемнення від лівого нижнього кута, де текст; будинок праворуч лишається чистим */
  .bs-card-shade {
    z-index: -1;
    background:
      linear-gradient(0deg, rgba(10, 12, 10, 0.78) 0%, rgba(10, 12, 10, 0.35) 42%, rgba(10, 12, 10, 0) 70%),
      linear-gradient(90deg, rgba(10, 12, 10, 0.62) 0%, rgba(10, 12, 10, 0.2) 45%, rgba(10, 12, 10, 0) 70%);
    transition: opacity 0.7s ease;
  }
  .bs-card::after {                       /* легке затемнення всієї картки на наведення */
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(10, 12, 10, 0.16);
    opacity: 0;
    transition: opacity 0.7s ease;
  }
  .bs-card:hover::after { opacity: 1; }
  @media (prefers-reduced-motion: reduce) {
    .bs-card { transition: none; }
    .bs-card:hover { transform: none; }
  }
  .bs-queue {
    align-self: flex-start;
    padding: 6px 15px;
    border-radius: 999px;
    background: var(--accent-color, #81B873);
    color: #0E1F0B;
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(11px, 0.7vw, 13px);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .bs-name {
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(16px, 1.15vw, 21px);
    font-weight: 600;
    line-height: 1.3;
    color: #FFFFFF;
    margin: 0;
  }
  .bs-count {
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(13px, 0.86vw, 16px);
    color: rgba(255, 255, 255, 0.6);
    margin: -8px 0 0;
  }
  /* Смуги готовності живуть окремим рядом під картками — так само, як на
     макеті замовника. Кожна вирівняна по своїй картці. */
  .bs-bars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.2vw, 24px);
    margin-top: clamp(14px, 1.2vw, 24px);
  }
  .bs-bar {
    position: relative;
    height: clamp(34px, 2.6vw, 46px);
    border-radius: clamp(8px, 0.7vw, 12px);
    overflow: hidden;
    /* Незаповнений залишок — діагональна штриховка, вона ж «ще в роботі» */
    background-color: rgba(255, 255, 255, 0.07);
    background-image: repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.075) 0 10px,
      rgba(255, 255, 255, 0) 10px 20px
    );
    background-size: 28.3px 28.3px;
  }
  .bs-bar.is-done { background-image: none; }
  /* Штриховка повзе — робота триває */
  .bs-bar:not(.is-done) { animation: bsStripes 1.9s linear infinite; }
  @keyframes bsStripes { to { background-position: 28.3px 0; } }

  .bs-bar-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: clamp(5px, 0.4vw, 8px);
    border-radius: inherit;
    background: var(--accent-color, #81B873);
    box-sizing: border-box;
    transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  /* Прапорець із відсотком їде разом із кромкою заливки */
  .bs-pct {
    padding: clamp(4px, 0.32vw, 7px) clamp(10px, 0.8vw, 15px);
    border-radius: 999px;
    background: #FFFFFF;
    color: #0E1F0B;
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(11px, 0.78vw, 15px);
    font-weight: 800;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  @media (prefers-reduced-motion: reduce) {
    .bs-bar-fill { transition: none; }
    .bs-bar:not(.is-done) { animation: none; }
  }
  @media (max-width: 900px) {
    .bs-grid, .bs-bars { grid-template-columns: minmax(0, 1fr); }
    .bs-bars { gap: 10px; }
  }

  /* ============================================================
     ЕКРАН 10.5 — ХІД БУДІВНИЦТВА: ТРИ ОСТАННІ ЗАПИСИ
     ============================================================ */
  .section-build-log {
    position: relative;
    z-index: 3;
    background: var(--bg-dark);
    padding: clamp(24px, 3vh, 48px) 5vw clamp(64px, 7vh, 110px);
    box-sizing: border-box;
  }
  .bl-container { max-width: 1520px; margin: 0 auto; }
  .bl-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin: 0 0 clamp(24px, 2.4vw, 40px);
  }
  .bl-title {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(24px, 2.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
  }
  .bl-all {
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(14px, 0.9vw, 17px);
    font-weight: 600;
    color: var(--accent-color, #81B873);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .bl-all svg { width: 1em; height: 1em; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
  .bl-all:hover svg { transform: translate(2px, -2px); }
  .why-all { display: flex; width: max-content; margin: clamp(28px, 2.6vw, 44px) auto; }   /* «Уся інфраструктура» під плитками – з відступом і до карти нижче */
  /* ХРОНІКА: над картками тонка лінія часу з точками-відмітками, під кожною —
     дата (велике число дня, дрібно місяць і рік). Фото чисте, без написів,
     під ним — подія білим. Найсвіжіший запис — ліворуч, його точка «жива». */
  .bl-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    --bl-gap: clamp(20px, 1.8vw, 36px);
    gap: var(--bl-gap);
  }
  /* Імпульс по лінії часу — справа наліво, від найстарішої дати до найсвіжішої.
     Доїжджає до живої точки й розчиняється в ній, точка в цю мить спалахує кільцем */
  .bl-grid::after {
    content: '';
    position: absolute;
    top: 4.5px;
    left: 0;
    width: 40px;
    height: 2px;
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #DEF7D7 0%, rgba(129, 184, 115, 0.9) 35%, rgba(129, 184, 115, 0) 100%);
    box-shadow: 0 0 8px rgba(129, 184, 115, 0.8);
    animation: blRun 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  }
  @keyframes blRun {
    0%   { left: calc((100% + var(--bl-gap)) * 2 / 3); opacity: 0; }
    6%   { opacity: 1; }
    60%  { left: 0; opacity: 1; }
    66%  { left: 0; opacity: 0; }
    100% { left: 0; opacity: 0; }
  }
  .bl-grid::before {                        /* лінія часу по центру точок */
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    height: 1px;
    background: linear-gradient(90deg, rgba(129, 184, 115, 0.55) 0%, rgba(255, 255, 255, 0.14) 40%, rgba(255, 255, 255, 0.05) 100%);
  }
  .bl-card {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.3vw, 24px);
  }
  .bl-mark { display: flex; flex-direction: column; gap: clamp(14px, 1.1vw, 20px); }
  .bl-dot {
    position: relative;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 2px solid var(--accent-color, #81B873);
    background: var(--bg-dark);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
  }
  .bl-card:first-child .bl-dot {           /* найсвіжіший запис: постійне м'яке світіння */
    background: var(--accent-color, #81B873);
    box-shadow: 0 0 0 3px rgba(129, 184, 115, 0.16), 0 0 12px 2px rgba(129, 184, 115, 0.55);
  }
  .bl-card:first-child .bl-dot::after {    /* і кільце — у мить, коли доїхав імпульс */
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--accent-color, #81B873);
    opacity: 0;
    animation: blPulse 4.8s ease-out 2.88s infinite;
  }
  @keyframes blPulse { 0% { transform: scale(1); opacity: 0.85; } 40% { transform: scale(2.6); opacity: 0; } 100% { transform: scale(2.6); opacity: 0; } }
  .bl-card:hover .bl-dot { transform: scale(1.35); background: var(--accent-color, #81B873); }
  .bl-when { display: flex; align-items: baseline; gap: 12px; }
  .bl-day {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(34px, 2.6vw, 52px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    color: #FFFFFF;
  }
  .bl-month {
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(12px, 0.78vw, 14px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
  }
  .bl-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: clamp(14px, 1.1vw, 20px);
    overflow: hidden;
    background: #0E120E;
  }
  .bl-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .bl-card:hover .bl-media img { transform: scale(1.04); }
  .bl-text {
    font-family: var(--sub-font, 'Manrope', sans-serif);
    font-size: clamp(16px, 1.12vw, 20px);
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 30em;
  }
  @media (prefers-reduced-motion: reduce) {
    .bl-card:first-child .bl-dot::after, .bl-grid::after { animation: none; }
  }
  @media (max-width: 900px) {
    .bl-grid { grid-template-columns: minmax(0, 1fr); }
    .bl-grid::before, .bl-grid::after { display: none; }
  }

  /* ТИМЧАСОВО: блок «Ваш шлях інвестора» знято на прохання замовника.
     Повернути — зняти атрибут hidden із секції та це правило. */
  #invest-flow[hidden] { display: none; }

  /* ТИМЧАСОВО: блок «Як ми взаємодіємо» знято на прохання замовника.
     Секція лишається у файлі — повернути можна, знявши атрибут hidden
     із .synergy-stage та це правило. */
  #synergyStage[hidden] { display: none; }

  /* ТИМЧАСОВО: блок «Mandra Invest в цифрах» знято на прохання замовника.
     Секція лишається в файлі цілком — повернути можна, знявши атрибут
     hidden із #stats та це правило. */
  #stats[hidden] { display: none; }

  /* ============================================================
     SCREEN 2 - SCROLL SHOWCASE (4 QUADRANT SCRUB)
     ============================================================ */
  .section-scroll-showcase {
    position: relative;
    z-index: 3;
    background: transparent;
    margin-top: 100px;  /* буфер: картка 01 лишається за кадром внизу при стоянці на маніфесті */
    padding-left: 5vw;
    padding-right: 5vw;
    box-sizing: border-box;
    /* Трек: збірка → коротка пауза → розкриття.
       Було 185vh — на всю послідовність лишалось 774px скролу, і картка
       пролітала до 360px за один щиглик колеса.
       Хвіст ~100vh наприкінці — це СТОЯНКА: картки вже розлетілись і просто
       тримаються по краях, поки статистика піднімається в центр. Без неї
       статистика (вона їде 1:1 зі скролом і швидше не може) не встигала
       увійти в кадр до того, як картки зриваються з піна, і між секціями
       на мить лишався порожній екран. */
    height: 572vh;
  }
  .showcase-sticky {
    position: sticky;
    top: clamp(64px, 5.5vw, 84px);
    height: calc(100vh - clamp(64px, 5.5vw, 84px));
    height: calc(100dvh - clamp(64px, 5.5vw, 84px));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: visible;
    padding: 0 0 2vh;
    box-sizing: border-box;
    background: transparent;
    pointer-events: none;
  }

  /* Заголовок прив'язаний до картки 01 і центрований по горизонталі */
  .showcase-title {
    position: absolute;
    left: 50%;
    top: 13vh;                    /* видима зона картки під шапкою */
    transform: translateX(-50%);
    z-index: 5;                   /* над фото картки */
    margin: 0;
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
    font-family: var(--title-font);
    font-size: var(--s2-title-size);
    font-weight: var(--title-weight);
    line-height: var(--title-lh);
    letter-spacing: var(--title-ls);
    color: #FFFFFF;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7), 0 1px 6px rgba(0, 0, 0, 0.5);
  }
  /* Обгортка: картка 01 + її заголовок як одне ціле */
  .showcase-lead {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 4;            /* перше фото завжди зверху */
    will-change: left, top, width, height, transform, opacity;
    cursor: pointer;
  }
  .showcase-card-lead {
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    cursor: pointer;
  }
  /* Рабочее окно ~2/3 экрана */
  .showcase-stage {
    position: relative;
    width: 100%;
    max-width: 1520px;
    height: calc(100vh - clamp(64px, 5.5vw, 84px) - 2.5vh);
    height: calc(100dvh - clamp(64px, 5.5vw, 84px) - 2.5vh);
    flex-shrink: 0;     /* без цього flex стискав сцену до 100vh і картки виглядали приплюснутими */
    margin: 0 auto;
  }
  .showcase-grid {
    position: absolute;
    inset: 0;
  }
  /* Фінальна сітка 2x2 — задається з JS через left/top/width/height */
  .showcase-card {
    position: absolute;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    will-change: left, top, width, height, transform, opacity;
    pointer-events: auto;
    cursor: pointer;
    /* Liquid Glass */
    background: #0E1F0B;   /* основа під медіа */
    transition: border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Внутрішні контури в центрі сітки: наполовину прозоріші (0.11 замість 0.22)
     із ніжним прозорим скляним контурним світінням на шарі ::after */
  /* Top-Left (01): внутрішні краї — правий та нижній */
  .showcase-lead[data-q="tl"] .showcase-card,
  .showcase-card[data-q="tl"] {
    border-right-color: rgba(255, 255, 255, 0.11);
    border-bottom-color: rgba(255, 255, 255, 0.11);
  }
  .showcase-lead[data-q="tl"] .showcase-card::after,
  .showcase-card[data-q="tl"]::after {
    box-shadow:
      inset 0 1px 1px 0 rgba(255, 255, 255, 0.40),
      inset -1px -1px 12px 0 rgba(255, 255, 255, 0.14),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  /* Top-Right (02): внутрішні краї — лівий та нижній */
  .showcase-card[data-q="tr"] {
    border-left-color: rgba(255, 255, 255, 0.11);
    border-bottom-color: rgba(255, 255, 255, 0.11);
  }
  .showcase-card[data-q="tr"]::after {
    box-shadow:
      inset 0 1px 1px 0 rgba(255, 255, 255, 0.40),
      inset 1px -1px 12px 0 rgba(255, 255, 255, 0.14),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  /* Bottom-Left (03): внутрішні краї — верхній та правий */
  .showcase-card[data-q="bl"] {
    border-top-color: rgba(255, 255, 255, 0.11);
    border-right-color: rgba(255, 255, 255, 0.11);
  }
  .showcase-card[data-q="bl"]::after {
    box-shadow:
      inset -1px 1px 12px 0 rgba(255, 255, 255, 0.14),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  /* Bottom-Right (04): внутрішні краї — верхній та лівий */
  .showcase-card[data-q="br"] {
    border-top-color: rgba(255, 255, 255, 0.11);
    border-left-color: rgba(255, 255, 255, 0.11);
  }
  .showcase-card[data-q="br"]::after {
    box-shadow:
      inset 1px 1px 12px 0 rgba(255, 255, 255, 0.14),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  /* Напівпрозорий шар скла поверх фото/відео (glass form) */
  .showcase-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.04) 40%,
      rgba(255, 255, 255, 0.02) 100%
    );
    transition: background 0.35s ease, box-shadow 0.35s ease;
  }
  /* Відео та контейнер пари живуть за тими самими правилами, що й фото */
  .showcase-card img,
  .showcase-card video,
  .showcase-card .card-video-pair {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
  }
  /* Цифры БЕЛЫМ ЦВЕТОМ */
  .card-index {
    position: absolute;
    z-index: 3;
    font-family: var(--title-font);
    font-size: 1.15vw;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.5);
  }
  .showcase-lead[data-q="tl"] .card-index,
  .showcase-card[data-q="tl"] .card-index {
    top: clamp(50px, calc(7vw - 30px), 74px);
    left: 28px;
    right: auto;
  }
  .showcase-card[data-q="tr"] .card-index {
    top: clamp(50px, calc(7vw - 30px), 74px);
    left: 34px;
    right: auto;
  }
  .showcase-card[data-q="bl"] .card-index {
    top: 24px;
    left: 28px;
    right: auto;
  }
  .showcase-card[data-q="br"] .card-index {
    top: 24px;
    left: 34px;
    right: auto;
  }

  /* Делікатна підкладка тільки під підписом (не на все фото) */
  /* Градієнтна плашка на нижніх 52% кожної картки прибрана — вона темнила
     фото і на роз'їханих картках читалась як сторонній фон по краях кадру.
     Замість неї підписи тримає власна тінь тексту. */

  /* Расположение текста по углам с деликатным оформлением */
  .card-badge {
    position: absolute;
    left: 34px;
    bottom: clamp(58px, 6.5vh, 78px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 0;
    background: none;
    border: none;
    pointer-events: none;
    text-shadow: 0 2px 18px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.5);
    /* Ширина підпису зафіксована по ФІНАЛЬНІЙ ширині картки в сітці, а не
       тягнеться за анімованою. Інакше на широкій картці заголовок стояв в
       один рядок, а при звуженні перескакував у два — текст перекомпоновувався
       просто на очах. Тепер перенос рядків з самого початку такий, яким буде
       в кінці. Сцена = min(1240px, 100vw - 7.2vw паддингів), картка в сітці —
       49.2% сцени, підпис — 84% картки. */
    width: calc(min(1240px, 92.8vw) * 0.413);
  }
  /* Єдине вирівнювання по лівому краю для всіх карток */
  .showcase-card[data-q="tr"] .card-badge,
  .showcase-card[data-q="br"] .card-badge {
    left: 34px;
    bottom: clamp(58px, 6.5vh, 78px);
    right: auto;
    align-items: flex-start;
    text-align: left;
  }

  .card-badge-title {
    font-family: var(--title-font);
    font-size: var(--s2-badge-size);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    white-space: normal;
    line-height: 1.22;
    transform: translate3d(0, calc(var(--desc-h, 24px) + 9px), 0);
    transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }
  .card-badge-desc {
    font-family: var(--sub-font);
    font-size: var(--s2-badge-desc-size);
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
    pointer-events: none;
  }

  /* Підйом заголовка і поява підзаголовка при ховері на картку */
  .showcase-card:hover .card-badge-title,
  .showcase-lead:hover .card-badge-title,
  .showcase-card.is-hovered .card-badge-title,
  .showcase-lead.is-hovered .card-badge-title {
    transform: translate3d(0, 0, 0);
  }

  .showcase-card:hover .card-badge-desc,
  .showcase-lead:hover .card-badge-desc,
  .showcase-card.is-hovered .card-badge-desc,
  .showcase-lead.is-hovered .card-badge-desc {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.04s,
                transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
  }

  /* Глянцевий відблиск кромки та поверхні скла при ховері */
  .showcase-card:hover,
  .showcase-lead:hover .showcase-card-lead,
  .showcase-card.is-hovered,
  .showcase-lead.is-hovered .showcase-card-lead {
    border-color: rgba(255, 255, 255, 0.36);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  }
  .showcase-lead[data-q="tl"]:hover .showcase-card-lead,
  .showcase-lead[data-q="tl"].is-hovered .showcase-card-lead,
  .showcase-card[data-q="tl"]:hover,
  .showcase-card[data-q="tl"].is-hovered {
    border-right-color: rgba(255, 255, 255, 0.18);
    border-bottom-color: rgba(255, 255, 255, 0.18);
  }
  .showcase-card[data-q="tr"]:hover,
  .showcase-card[data-q="tr"].is-hovered {
    border-left-color: rgba(255, 255, 255, 0.18);
    border-bottom-color: rgba(255, 255, 255, 0.18);
  }
  .showcase-card[data-q="bl"]:hover,
  .showcase-card[data-q="bl"].is-hovered {
    border-top-color: rgba(255, 255, 255, 0.18);
    border-right-color: rgba(255, 255, 255, 0.18);
  }
  .showcase-card[data-q="br"]:hover,
  .showcase-card[data-q="br"].is-hovered {
    border-top-color: rgba(255, 255, 255, 0.18);
    border-left-color: rgba(255, 255, 255, 0.18);
  }
  .showcase-card:hover::after,
  .showcase-lead:hover .showcase-card-lead::after,
  .showcase-card.is-hovered::after,
  .showcase-lead.is-hovered .showcase-card-lead::after {
    background: linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.05) 40%,
      rgba(255, 255, 255, 0.03) 100%
    );
  }

  /* Порядок накладання на старті: 01 зверху, 04 знизу */
  .showcase-card[data-q="tl"] { z-index: 4; }
  .showcase-card[data-q="tr"] { z-index: 3; }
  .showcase-card[data-q="bl"] { z-index: 2; }
  .showcase-card[data-q="br"] { z-index: 1; }

  @media (max-width: 900px) {
    .showcase-title { font-size: 7vw; }
    .showcase-sub { font-size: 3.4vw; max-width: 88vw; }
    .card-badge-title { font-size: 2.4vw; transform: none !important; }
    .card-badge-desc { display: none; }
    .card-index { font-size: 3vw; }
    /* На мобільному сцена вузька, і фіксована ширина задушила б підпис —
       повертаємо гумову. Перекомпоновки тут немає: картки не роз'їжджаються. */
    .card-badge { width: auto; max-width: 84%; }
  }


  /* ============================================================
     ЕКРАН 2 — МАНІФЕСТ «ПРО MANDRA INVEST»
     Inline Image Capsules: фото вбудовані просто в рядок тексту
     ============================================================ */
  /* ТИМЧАСОВО: маніфест знято, на героя одразу наїжджає блок Petrichor.
     Повернути — зняти атрибут hidden із секції #about. */
  #about[hidden] { display: none; }
  .section-manifesto {
    position: relative;
    z-index: 2;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: clamp(48px, 5.5vh, 68px) 5vw clamp(48px, 5.5vh, 68px) 5vw;
    box-shadow: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-sizing: border-box;
  }
  .manifesto-container {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .section-badge {
    font-family: var(--sub-font);
    font-size: var(--s2m-badge-size);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 2.2vw;
  }
  .manifesto-text {
    font-family: var(--title-font);
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    margin: 0;
  }
  /* Lead — крупна заява, повністю фірмовий зелений */
  .manifesto-lead-bold {
    display: block;
    /* Контейнер .manifesto-text упирається в max-width: 1520px, а кегль у vw
       далі ріс — на 1920 заголовок ламався на два рядки, хоча до 1680 стояв
       в один. Стеля 36px тримає його витонченим і компактним */
    font-size: min(2.2vw, 36px);
    line-height: 1.32;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1.6vw;
  }
  .mf-bold { font-weight: 800; color: var(--accent-color); }
  .mf-accent { color: var(--accent-color); }
  /* Body — чистий білий, збалансований кегль */
  .manifesto-body-light {
    display: block;
    font-size: clamp(16px, 1.35vw, 22px);
    line-height: 1.66;
    max-width: 100%;
    font-weight: 400;
    color: #FFFFFF;
  }

  /* --- Inline Image Capsule (Збільшено у 2 рази) --- */
  .inline-capsule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    /* Стеля така сама, як у кегля заголовка: контейнер не росте після 1520px,
       тож і капсула не повинна — інакше на ultrawide вона сама виштовхує
       заголовок у другий рядок. Значення = розмір на 1680px, до якого все
       лишається як було. */
    width: min(var(--capsule-w), 86px);
    height: min(var(--capsule-h), 42px);
    min-width: 74px;
    min-height: 36px;
    margin: 0 min(0.42vw, 7px);
    transform: translateY(-0.15vw) scale(1);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
    opacity: 1;
    transition: transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.62s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
    cursor: pointer;
  }
  .inline-capsule img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05); /* світле яскраве фото */
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  }
  .inline-capsule:hover img { filter: saturate(1.12) brightness(1.04); }
  /* Поява: staggered pop-in при скролі */
  .section-manifesto.is-visible .inline-capsule {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  .section-manifesto.is-visible .inline-capsule:nth-of-type(1) { transition-delay: 0.10s; }
  .section-manifesto.is-visible .inline-capsule:nth-of-type(2) { transition-delay: 0.22s; }
  .section-manifesto.is-visible .inline-capsule:nth-of-type(3) { transition-delay: 0.34s; }
  .section-manifesto.is-visible .inline-capsule:nth-of-type(4) { transition-delay: 0.46s; }

  /* Hover: капсула розширюється, фото зумиться */
  #mfCap2, #mfCap4 { margin-right: 0.1vw; }
  .inline-capsule:hover {
    transform: translateY(0) scale(1.08);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  }
  .inline-capsule:hover img { transform: scale(1.15); }

  /* Делікатний тултіп */
  .inline-capsule::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(17, 22, 27, 0.92);
    backdrop-filter: blur(12px);
    color: #FFFFFF;
    font-family: var(--sub-font);
    font-size: 0.72vw;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.3;
    white-space: nowrap;
    padding: 0.55vw 0.95vw;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
  }
  .inline-capsule:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  /* --- Ми відповідаємо за --- */
  .manifesto-footer { margin-top: 3.4vw; }
  .footer-title {
    font-family: var(--sub-font);
    font-size: 1.05vw;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(17, 22, 27, 0.5);
    margin-bottom: 1.5vw;
  }
  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4vw;
  }
  .pillar-item {
    border-top: 1px solid rgba(17, 22, 27, 0.14);
    padding-top: 1.2vw;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .section-manifesto.is-visible .pillar-item { opacity: 1; transform: translateY(0); }
  .section-manifesto.is-visible .pillar-item:nth-child(1) { transition-delay: 0.46s; }
  .section-manifesto.is-visible .pillar-item:nth-child(2) { transition-delay: 0.56s; }
  .section-manifesto.is-visible .pillar-item:nth-child(3) { transition-delay: 0.66s; }
  .section-manifesto.is-visible .pillar-item:nth-child(4) { transition-delay: 0.76s; }

  .pillar-num {
    font-family: var(--title-font);
    font-size: 1.1vw;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.6vw;
  }
  .pillar-name {
    font-family: var(--title-font);
    font-size: var(--s2m-pillar-name);
    font-weight: 700;
    line-height: 1.25;
    color: #11161B;
    margin-bottom: 0.5vw;
  }
  .pillar-desc {
    font-family: var(--sub-font);
    font-size: var(--s2m-pillar-desc);
    font-weight: 400;
    line-height: 1.55;
    color: rgba(17, 22, 27, 0.6);
  }

  @media (max-width: 900px) {
    .section-manifesto { min-height: auto; padding: 14vw 6vw; }
    .manifesto-text { font-size: 5.4vw; line-height: 1.5; }
    .manifesto-lead-bold { font-size: 6.6vw; line-height: 1.28; margin-bottom: 5vw; }
    .manifesto-body-light { font-size: 4.6vw; line-height: 1.55; max-width: none; }
    .inline-capsule { width: 13vw; height: 7vw; margin: 0 1.2vw; }
    .inline-capsule::after { display: none; }
    .section-badge { font-size: 3vw; }
    .pillars-grid { grid-template-columns: 1fr 1fr; gap: 6vw; }
    .footer-title { font-size: 3.4vw; }
    .pillar-name { font-size: 4.2vw; }
    .pillar-desc { font-size: 3.1vw; }
    .pillar-num { font-size: 3.6vw; }
  }

  /* ============================================================
     ЕКРАН 4 — МАНДРА ІНВЕСТ В ЦИФРАХ (withasa.com card stack)
     Світлі картки (#FFFFFF) на м'якому сіро-зеленому фоні (#E8EFE8)
     Темно-зелений текст (#0E1F0B) та глибокі тіні
     ============================================================ */
  .section-stats-stack {
    position: relative;
    z-index: 1;
    background: transparent;
    color: #FFFFFF;
    padding: 100px 5vw 80px;
    box-sizing: border-box;
    overflow: visible;
    border-top: none;
    /* Напливає ззаду під розсувні фотокартки: опускаємо секцію для комфортного повітря під шапкою */
    margin-top: calc(-97vh - 40px);
  }
  .stats-container {
    /* ГЕОМЕТРІЯ СТОСУ: висота картки зменшена на ~20% (680px замість 840px на 1080p),
       більше вільного повітря зверху та знизу */
    --card-h: calc(100vh - 400px);
    --card-step: 24px;                                    /* видима кромка в стосі */
    --stack-height: calc(var(--card-h) + 4 * var(--card-step));
    /* Передача 0.569px руху картки на 1px скролу */
    --card-span: calc((var(--card-h) + var(--card-step)) / 0.569);

    max-width: 1520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    gap: 92px;
    align-items: start;
    position: relative;
    box-sizing: border-box;
  }

  /* Ліва колонка: Sticky блок інформації — синхронне прилипання та відкріплення з колодою карток */
  .stats-col-info {
    position: sticky;
    top: 176px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 2vw;
    height: var(--stack-height);
    margin-bottom: 0;
    box-sizing: border-box;
  }
  .stats-eyebrow {
    font-family: var(--sub-font);
    font-size: 0.85vw;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-color);    /* Свіжий фірмовий зелений акцент #81B873 */
  }
  .stats-title {
    font-family: var(--title-font);
    font-size: clamp(1.75rem, 2.6vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    max-width: 100%;
    letter-spacing: -0.02em;
    color: #FFFFFF;                /* світлий заголовок на темному */
    margin: 0;
  }
  /* Перенос на власний рядок примусовий (display:block), а не залежить від
     ширини колонки — так другий рядок завжди "цифрах"/"Numbers" незалежно
     від екрана. textContent при зміні мови оновлює лише цей span, а не
     весь h2, тому розбивка не злітає при перемиканні UA/EN. */
  .stats-title-break {
    display: block;
  }

  /* Єдиний стандарт акцентної лінії під заголовками (80px × 3px) */
  .stats-title-line {
    width: 80px;
    height: 3px;
    background: #81B873;
    border-radius: 2px;
    margin-top: 4px;
    margin-bottom: 8px;
  }

  .stats-desc {
    font-family: var(--sub-font);
    font-size: clamp(1rem, 1.12vw, 1.25rem);
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    max-width: 520px;
  }
  .stats-cta-wrap {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .stats-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #81B873;
    color: #0E1F0B;
    font-family: var(--title-font);
    font-size: 0.85vw;
    font-weight: 800;
    padding: 16px 32px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 25px rgba(129, 184, 115, 0.3);
  }
  .stats-cta-btn:hover {
    transform: translateY(-2px);
    background: #DEF7D7;
    color: #0E1F0B;
    box-shadow: 0 14px 32px rgba(129, 184, 115, 0.45);
  }
  .stats-cta-arrow {
    font-size: 1.1em;
    transition: transform 0.25s ease;
  }
  .stats-cta-btn:hover .stats-cta-arrow {
    transform: translate(2px, -2px);
  }

  /* Права колонка: Скрол-трек для колоди карток */
  .stats-col-deck {
    position: relative;
    /* Трек для плавного послідовного стикування 4-х карток.
       Розміри успадковуються від .stats-container — там єдине джерело.
       Буфер 20px після стикування останньої картки (130) забезпечує плавний і миттєвий
       перехід на Екран 5: лівий текст і фінальний стос карток відкріплюються встик
       і разом скроляться нагору. */
    height: calc(var(--stack-height) + 4 * var(--card-span) + 20px);
  }

  /* Запінений контейнер колоди: тримає стос на місці, поки JS веде картки */
  .stats-deck-sticky {
    position: sticky;
    top: 176px;          /* безпечний відступ під шапкою, точно відповідає точці прильоту */
    width: 100%;
    height: var(--stack-height);
  }
  @media (prefers-reduced-transparency: reduce) {
    .stat-card {
      background: rgba(16, 23, 18, 0.96);
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
  }

  /* Базова картка в стеку: ТЕМНА ЗЕЛЕНО-ХВОЙНА ТА БЛАГОРОДНА (зменшена на 20%) */
  .stat-card {
    /* Картки більше не sticky: sticky рухає їх рівно 1:1 зі скролом і гальмує
       жорстким упором. Тепер позицію веде JS усередині запіненого контейнера —
       звідси і втричі коротший проліт, і м'яке гальмування на підльоті. */
    position: absolute;
    left: 0;
    right: 0;
    max-width: 620px;    /* розмір зменшено на 20% (було 773px) */
    margin-left: auto;   /* вирівнювання по правому краю контейнера */
    min-height: var(--card-h);
    display: grid;
    grid-template-columns: 1fr;
    background: rgba(18, 26, 20, 0.58);
    backdrop-filter: blur(26px) saturate(135%);
    -webkit-backdrop-filter: blur(26px) saturate(135%);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    isolation: isolate;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.30),
      inset 0 -1px 0 rgba(255, 255, 255, 0.06),
      0 -10px 24px rgba(0, 0, 0, 0.45),
      0 26px 60px rgba(0, 0, 0, 0.42);
    will-change: transform;
    transform-origin: top center;
    transition: box-shadow 0.3s ease;
  }
  /* Жива кромка скла: яскравіша зверху-зліва, гасне донизу */
  .stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(148deg,
      rgba(255, 255, 255, 0.46) 0%,
      rgba(255, 255, 255, 0.13) 34%,
      rgba(255, 255, 255, 0.04) 62%,
      rgba(255, 255, 255, 0.16) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
  }

  /* Затемнення картки, яку накриває наступна.
     Раніше це робив filter: brightness() зі скрол-обробника — він на кожному
     кадрі змушував браузер перераховувати backdrop-filter: blur(26px) усіх
     п'яти накладених карток. Оверлей з opacity композиториться на GPU і
     блюр не чіпає. */
  .stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #060a07;
    opacity: var(--dim, 0);
    pointer-events: none;
    z-index: 2;
  }

  /* Каскадне зміщення положення та глибина затінення карток у фінальній стопці (крок 18px) */
  /* Єдиний колір для всієї стопки */
  /* Позиції у пристикованому стосі. Тепер вони відлічуються від запіненого
     контейнера, а не від в'юпорта — 14vh задає сам контейнер. */
  .stat-card:nth-of-type(1) { top: 0;     z-index: 1; }
  .stat-card:nth-of-type(2) { top: 24px;  z-index: 2; }
  .stat-card:nth-of-type(3) { top: 48px;  z-index: 3; }
  .stat-card:nth-of-type(4) { top: 72px;  z-index: 4; }
  .stat-card:nth-of-type(5) { top: 96px;  z-index: 5; }

  /* Фото зліва в картці */
  .stat-card-media {
    display: none;          /* фото немає — колонка порожня */
  }
  .stat-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .stat-card:hover .stat-card-media img {
    transform: scale(1.04);
  }
  .stat-card[data-card="3"] .stat-card-media img {
    object-position: 82% center;
  }

  /* Текстова частина справа: БІЛІ ЦИФРИ ТА СВІТЛИЙ ТЕКСТ (пропорційно адаптовані) */
  .stat-card-body {
    padding: 38px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;   /* фон малює лише сама картка, інакше подвійна заливка */
  }

  .stat-card-tag {
    font-family: var(--sub-font);
    font-size: 0.76vw;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #81B873;
    margin-bottom: 14px;
    display: block;
  }
  .stat-card-num {
    font-family: 'Rubik', sans-serif;           /* Чисті рівні геометричні контури без ліній перетину */
    font-size: clamp(3.84rem, 5.76vw, 6.48rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: transparent;                          /* Контурна цифра: всередині порожнеча */
    -webkit-text-fill-color: transparent;        /* Прозоре тіло шрифту */
    -webkit-text-stroke: 2px #FFFFFF;           /* Білий контур тільки у цифри */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);  /* М'яка глибина на темному фоні */
    margin: 0 0 18px 0;
    font-variant-numeric: tabular-nums;
  }
  .stat-card-text {
    font-family: var(--sub-font);
    font-size: clamp(1.38rem, 1.68vw, 1.98rem);
    font-weight: 500;
    line-height: 1.5;
    color: #FFFFFF;
    margin: 0 auto;
    max-width: 500px;
  }

  @media (max-width: 900px) {
    .section-stats-stack { padding: 80px 5vw 100px; margin-top: -20vh; }
    .stats-container { grid-template-columns: 1fr; gap: 40px; }
    .stats-col-info { position: relative; top: 0; padding-right: 0; }
    .stats-eyebrow { font-size: 3.2vw; }
    .stats-title { font-size: 7.5vw; }
    .stats-desc { font-size: 3.8vw; max-width: 100%; }
    .stats-cta-btn { font-size: 3.6vw; padding: 12px 24px; }
    /* Мобільна версія — без піна і без скраба: картки йдуть простою стрічкою */
    .stats-col-deck { height: auto; }
    .stats-col-info { height: auto; }
    .stats-deck-sticky { position: static; height: auto; }
    .stat-card { grid-template-columns: 1fr; min-height: auto; max-width: 100%; margin-left: 0; margin-bottom: 30px; position: relative; top: 0 !important; transform: none !important; }
    .stat-card-media { min-height: 220px; height: 220px; }
    .stat-card-media::after { background: linear-gradient(180deg, transparent 65%, rgba(20, 28, 22, 0.85) 100%); }
    .stat-card-body { padding: 26px 22px 30px; }
    .stat-card-tag { font-size: 3vw; }
    .stat-card-num { font-size: 13.2vw; -webkit-text-stroke: 1.5px #FFFFFF; }
    .stat-card-text { font-size: 4.8vw; }
  }

  /* ============================================================
     ЕКРАН 5 — МАЙСТЕР-ПЛАН MANDRA PETRICHOR (16:9)
     З текстом у лівій частині (чуть зверху та по центру)
     ============================================================ */
  .section-masterplan-clean {
    width: 100%;
    position: relative;
    background: #121212;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }
  .mp-clean-media {
    width: 100%;
    position: relative;
    line-height: 0;
  }
  .mp-clean-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 52%;
    background: linear-gradient(to right, rgba(18, 18, 18, 0.84) 0%, rgba(18, 18, 18, 0.52) 60%, transparent 100%);
    pointer-events: none;
    z-index: 2;
  }
  .mp-clean-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.95);
    transition: filter 0.4s ease;
  }

  /* Відео-проліт у чергу: старт-кадр = сам генплан, тому підміна непомітна.
     Лежить тим самим шаром, що й .mp-plan, і виринає замість нього. */
  .mp-phase-video,
  .mp-phase-endframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.5s ease;
  }
  .mp-phase-endframe { z-index: 4; }
  .section-masterplan-clean.mp-video-active .mp-phase-video {
    opacity: 1;
  }
  /* Кінець прольоту: чіткий кадр замінює відео, а інфоблоки й шапка
     повертаються — друга частина стику "mp-video-active", не окремий стан. */
  .section-masterplan-clean.mp-video-active.mp-ended .mp-phase-video {
    opacity: 0;
  }
  .section-masterplan-clean.mp-video-active.mp-ended .mp-phase-endframe {
    opacity: 1;
  }
  /* Глобальна шапка сайту — fixed на body, поза секцією мастер-плану,
     тож ховається окремим правилом через клас на body. */
  body.mp-video-active .top-navbar {
    opacity: 0;
    pointer-events: none;
  }
  body.mp-video-active.mp-ended .top-navbar {
    opacity: 1;
    pointer-events: auto;
  }
  .section-masterplan-clean.mp-video-active .mp-floating-content,
  .section-masterplan-clean.mp-video-active .mp-plan {
    opacity: 0;
    pointer-events: none;
  }
  .mp-plan { transition: opacity 0.45s ease; }
  .mp-floating-content { transition: opacity 0.45s ease; }

  /* Left-градієнт над відео/end-кадром (той самий приём, що й .mp-clean-media::before
     для генплану, але вище за z-index — під фото і відео той градієнт не проглядав). */
  .mp-clean-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(14, 18, 15, 0.86) 0%, rgba(14, 18, 15, 0.5) 42%, transparent 72%);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }
  .section-masterplan-clean.mp-video-active.mp-ended .mp-clean-media::after {
    opacity: 1;
  }

  /* Текст III черги на end-кадрі: не боксована плашка, а повноцінний текстовий
     блок в мові заголовків сусідніх екранів (hero) — просто над лівим
     градієнтом, без скла й підкладки. Позиція під цей контекст, а не під
     старий конектор до маркера на широкому генплані (той лишається вимкненим). */
  .section-masterplan-clean.mp-video-active.mp-ended .mp-phase-card {
    display: block;
    left: calc(5vw + max(0px, (90vw - 1520px) / 2));
    right: auto;
    bottom: auto;
    /* Було top:10% + transform:none — блок прибитий до верху й просто рос
       униз через увесь свій вміст, тому осідав ближче до низу кадру. Тепер
       центр блоку співпадає з центром кадру по вертикалі; по горизонталі
       лишається зліва, як і було. */
    top: 50%;
    max-width: 640px;
    width: 40vw;
    min-width: 340px;
    transform: translateY(-50%);
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    z-index: 6;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s ease 0.15s;
  }
  /* Дві дії під текстом плашки: капсула-заявка (та сама, що на першому
     екрані) + мінімальне текстове повернення до генплану поруч. */
  .mp-phase-actions {
    display: flex;
    align-items: center;
    gap: clamp(22px, 2.2vw, 34px);
    margin-top: 1.6vw;
    margin-left: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease 0.2s;
  }
  .section-masterplan-clean.mp-video-active.mp-ended .mp-phase-actions {
    opacity: 1;
    pointer-events: auto;
  }
  .mp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--sub-font);
    font-size: clamp(0.85rem, 0.9vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.25s ease, gap 0.25s ease;
  }
  .mp-back-link-text {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
  }
  .mp-back-link:hover { color: var(--accent-color); gap: 11px; }
  .mp-back-link-arrow svg { width: 15px; height: 15px; display: block; }

  /* Текстовий блок у лівій верхній частині — вирівняний по вертикальній осі контейнера */
  .mp-floating-content {
    position: absolute;
    top: 10%;
    left: calc(5vw + max(0px, (90vw - 1520px) / 2));
    max-width: 667px;
    z-index: 5;
    pointer-events: auto;
    line-height: normal;
    margin-top: 50px;   /* опущено на 50px */
    will-change: transform;
  }
  .mp-float-title {
    font-family: var(--title-font);
    font-size: clamp(2.76rem, 3.57vw, 4.72rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0 0 16px 0;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
  }
  .mp-float-line {
    width: 92px;
    height: 3px;
    background: var(--accent-color, #81B873);
    border-radius: 2px;
    margin-bottom: 22px;
    box-shadow: 0 0 14px rgba(129, 184, 115, 0.5);
  }
  .mp-float-subtitle {
    font-family: var(--title-font);
    font-size: clamp(1.46rem, 1.59vw, 2.02rem);
    font-weight: 700;
    line-height: 1.35;
    color: #DEF7D7;
    margin: 0 0 18px 0;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
  }
  .mp-float-desc {
    font-family: var(--sub-font);
    font-size: clamp(1.21rem, 1.29vw, 1.5rem);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  }

  @media (max-width: 900px) {
    .mp-clean-media::before {
      display: none;
    }
    .mp-floating-content {
      position: relative;
      top: auto;
      left: auto;
      max-width: 100%;
      padding: 40px 6vw 30px;
      background: #121212;
    }
    .mp-float-title { font-size: 8.4vw; }
    .mp-float-subtitle { font-size: 5.3vw; }
    .mp-float-desc { font-size: 4.4vw; }
  }


  /* ============================================================
     ЕКРАН 5 — плашка III черги + лінія до маркера 03
     ============================================================ */
  .mp-phase-card {
    position: absolute;
    /* Той самий зсув на 50px від еталонних 1536 = 3.2552vw.
       Лінія-коннектор поруч тягнеться разом із шириною секції
       (preserveAspectRatio="none"), тож плашка тепер їде з нею синхронно. */
    left: calc(42% + 3.2552vw);
    /* Було приліплено донизу (bottom:3.5%) — тепер по центру висоти лівої
       колонки, як просив користувач, замість тулитись до низу кадру. */
    top: 50%;
    width: 29vw;
    min-width: 410px;
    padding: 2.1vw 2.3vw;
    border-radius: 10px;
    background: rgba(18, 18, 18, 0.42);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: none;
    z-index: 4;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .section-masterplan-clean.is-visible .mp-phase-card {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
  .mp-phase-num {
    font-family: var(--sub-font);
    font-size: 0.82vw;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.9vw;
  }
  .mp-phase-title {
    font-family: var(--title-font);
    /* Було clamp(2.2rem,3.3vw,4rem) — заголовок мав бути в масштабі хіро
       (--title-size: 3.6vw), тож підняли і vw, і стелю. */
    font-size: clamp(2.6rem, 4vw, 4.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0 0 1.1vw;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
  }
  .mp-phase-desc {
    font-family: var(--sub-font);
    font-size: clamp(1.05rem, 1.25vw, 1.4rem);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1.4vw;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  }
  .mp-phase-count-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7vw;
    margin-bottom: 1.2vw;
    padding-bottom: 1.2vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .mp-phase-count {
    font-family: var(--title-font);
    font-size: 1.15vw;
    font-weight: 700;
    color: #FFFFFF;
  }
  /* Бейдж "вже працює" — для черг у продажі його немає (display:none за
     замовчуванням, JS вмикає inline-flex лише коли в PHASES є d.status). */
  @keyframes mpStatusBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.6; }
  }
  .mp-phase-status {
    display: none;
    align-items: center;
    font-family: var(--sub-font);
    font-size: 0.78vw;
    font-weight: 600;
    color: #C3F0B3;
    background: rgba(129, 184, 115, 0.15);
    border: 1px solid rgba(129, 184, 115, 0.35);
    border-radius: 20px;
    padding: 0.35vw 0.9vw;
    line-height: 1.3;
    animation: mpStatusBlink 2.4s ease-in-out infinite;
  }
  .mp-phase-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.62vw 1.4vw;
    font-family: var(--sub-font);
    font-size: 0.85vw;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
  }
  .mp-phase-list span {
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 0.45vw;
  }
  .mp-phase-list span::before {
    content: '';
    flex: 0 0 auto;
    width: 0.62vw;
    height: 1px;
    background: var(--accent-color);
    transform: translateY(-0.22vw);
  }
  /* Лінія від плашки до маркера 03 */
  .mp-connector line, .mp-connector circle {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mp-connector {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
  }
  .mp-connector line, .mp-connector circle {
    opacity: 0;
    transition: opacity 0.6s ease 0.35s;
  }
  .section-masterplan-clean.is-visible .mp-connector line,
  .section-masterplan-clean.is-visible .mp-connector circle {
    opacity: 1;
  }
  /* На генплані підписи живуть просто на плані (.mp-marker), тож плашка
     й лінія-конектор тут вимкнені. Плашку .mp-phase-card повертає інший,
     більш специфічний правило нижче — вона працює лише на end-кадрі
     прольоту в чергу (.mp-video-active.mp-ended), не тут. */
  .mp-phase-card, .mp-connector { display: none; }

  /* Резервуємо місце під картинку — прибирає стрибок вёрстки */
  .mp-clean-img { aspect-ratio: 16 / 9; }

  /* ІНТЕРАКТИВНИЙ ГЕНПЛАН.
     Підкладка суцільна, три шари черг лежать поверх неї піксель у піксель —
     тому в спокої їх не видно. При наведенні активний шар проявляється
     яскравішим і трохи піднімається, а підкладка гасне. */
  .mp-plan { position: relative; display: block; }
  .mp-plan .mp-clean-img {
    filter: brightness(0.92) saturate(1.04);
    transition: filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mp-zone {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;          /* курсор ловить контейнер, а не прямокутник */
    transform-origin: center;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mp-plan.is-hot .mp-clean-img { filter: brightness(0.46) saturate(0.75); }
  .mp-zone.is-on {
    opacity: 1;
    transform: scale(1.014);
    filter: brightness(1.1) saturate(1.08)
            drop-shadow(0 20px 38px rgba(0, 0, 0, 0.6));
  }
  .mp-plan.is-hot { cursor: pointer; }

  /* У спокої зони мовчать, і незрозуміло, що план інтерактивний. Тому по краю
     кожної черги йде тонка світна кромка власного кольору.
     Сам шар тримаємо на opacity 1 — картинка черги піксель у піксель збігається
     з підкладкою, тож візуально нічого не змінює, зате drop-shadow світить на
     повну силу. Якби гасили прозорість, разом з нею гасла б і тінь — саме через
     це попередній варіант розпливався в ніщо.
     Радіуси малі (2-9px), тож ореол лягає вузькою лінією по контуру, а не хмарою. */
  /* Блимає ЛИШЕ прозорість, фільтр статичний.
     Раніше кадри рухали радіуси трьох drop-shadow — браузер перераховував
     дев'ять гаусових розмиттів по повнокадровій картинці на кожному кадрі,
     і скрол через секцію відчутно смикався. Тепер тінь рахується один раз,
     шар кешується, а анімація живе на композиторі.
     Картинка черги збігається з підкладкою піксель у піксель, тож просідання
     прозорості не змінює фото — гасне тільки ореол. */
  @keyframes mpEdgeBlink {
    0%, 100% { opacity: 0.62; }
    46%      { opacity: 1;    }
    54%      { opacity: 0.92; }
  }
  /* Ореол «запечено» в окремі картинки (mp_plan_glowN.webp — лише світло
     зовні контуру черги, кольором черги). Живий drop-shadow тричі розмивав
     повнокадрові шари щокадру і на скролі давав ривки до 200 мс; тепер браузер
     анімує тільки прозорість готової картинки — це робота композитора. */
  .mp-glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .section-masterplan-clean.is-visible .mp-plan:not(.is-hot) .mp-glow {
    opacity: 1;
    animation: mpEdgeBlink 3.6s ease-in-out infinite;
  }
  .mp-glow[data-phase="2"] { animation-delay: -1.2s; }
  .mp-glow[data-phase="3"] { animation-delay: -2.4s; }
  @media (prefers-reduced-motion: reduce) {
    .section-masterplan-clean.is-visible .mp-plan:not(.is-hot) .mp-glow {
      animation: none;
      opacity: 0.9;
    }
  }

  /* Адреса під текстом. Те саме скло, що й у карток екрана 4: напівпрозора
     підкладка з блюром і градієнтна кромка через ::before з mask-composite. */
  .mp-address {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 34vw;
    align-items: center;
    gap: 0.9vw;
    margin-top: 1.6vw;
    padding: 0.7vw 1.2vw 0.7vw 0.7vw;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    background: rgba(18, 18, 18, 0.42);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    isolation: isolate;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 18px 44px rgba(0, 0, 0, 0.38);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease,
                box-shadow 0.4s ease, background-color 0.4s ease;
  }
  .mp-address:hover {
    transform: translateY(-2px);
    border-color: rgba(129, 184, 115, 0.5);
    background: rgba(22, 28, 22, 0.55);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 22px 54px rgba(0, 0, 0, 0.46),
      0 0 0 1px rgba(129, 184, 115, 0.25);
  }

  /* Круглий бейдж з піном і "радар-пінгом" — двома кільцями, що розходяться,
     щоб плашка одразу читалась як жива/клікабельна точка на мапі. */
  .mp-address-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.5vw;
    height: 2.5vw;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    background: rgba(129, 184, 115, 0.16);
    color: #81B873;
  }
  .mp-address-icon svg { width: 46%; height: 46%; position: relative; z-index: 2; }
  .mp-address-ping,
  .mp-address-ping::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(129, 184, 115, 0.9);
    box-shadow: 0 0 10px 1px rgba(129, 184, 115, 0.35);
    animation: mpPing 2.6s cubic-bezier(0.2, 0.7, 0.4, 1) infinite;
  }
  .mp-address-ping::after { animation-delay: 1.3s; }
  @keyframes mpPing {
    0%   { transform: scale(0.7); opacity: 1; }
    100% { transform: scale(2.6); opacity: 0; }
  }

  .mp-address-copy { display: flex; flex-direction: column; gap: 0.15vw; flex: 1 1 auto; min-width: 0; }
  .mp-address-eyebrow {
    font-family: var(--sub-font);
    font-size: 0.62vw;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(129, 184, 115, 0.85);
  }
  .mp-address span {
    font-family: var(--sub-font);
    font-size: 0.95vw;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.92);
  }

  /* Стрілка-підказка видна одразу (щоб було зрозуміло, що плашка клікабельна),
     на hover лише трохи яскравішає і виїжджає вперед. */
  .mp-address-arrow {
    display: flex;
    align-items: center;
    gap: 0.35vw;
    flex: none;
    white-space: nowrap;
    margin-left: auto;
    padding-left: 0.9vw;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--sub-font);
    font-size: 0.78vw;
    font-weight: 600;
    color: rgba(129, 184, 115, 0.8);
    transition: color 0.3s ease, border-color 0.3s ease;
  }
  .mp-address-arrow svg {
    width: 0.85vw; min-width: 12px; height: auto; flex: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mp-address:hover .mp-address-arrow {
    color: #81B873;
    border-left-color: rgba(129, 184, 115, 0.3);
  }
  .mp-address:hover .mp-address-arrow svg { transform: translate(2px, -2px); }

  @media (max-width: 900px) {
    .mp-address { margin-top: 18px; padding: 8px 14px 8px 8px; max-width: 100%; }
    .mp-address-icon { width: 34px; height: 34px; }
    .mp-address-eyebrow { font-size: 10px; }
    .mp-address span { font-size: 13px; }
    .mp-address-arrow { font-size: 11px; padding-left: 10px; }
    .mp-address-arrow span { display: none; }
  }

  /* Попап живої супутникової карти локації (той самий glass-modal, що й у відеомодалки) */
  .mp-map-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 3vw;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .mp-map-modal.active { display: flex; opacity: 1; }
  .mp-map-modal-box {
    position: relative;
    max-width: 1100px;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0E1410;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(129, 184, 115, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(129, 184, 115, 0.2);
    transform: scale(0.94) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mp-map-modal.active .mp-map-modal-box { transform: scale(1) translateY(0); }
  .mp-map-modal-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }
  .mp-map-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(14, 20, 16, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background-color 0.25s ease;
  }
  .mp-map-modal-close:hover {
    transform: scale(1.1);
    background: #81B873;
    color: #0E1410;
  }

  /* ПІДПИСИ ЧЕРГ НА ПЛАНІ.
     У спокої на плані лише три мітки: цифра і назва. Жодних підкладок —
     тільки вузька тінь, щоб літери відбились від фону. При наведенні мітка
     своєї зони гасне, сусідні теж, а курсор стає скляним кружком. */
  .mp-marker {
    position: absolute;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25vw;
    transform: translate(-50%, -50%);
    pointer-events: none;            /* влучання ловить альфа-карта плану */
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .section-masterplan-clean.is-visible .mp-marker { opacity: 1; }
  .mp-marker:nth-of-type(1) { transition-delay: 0.10s; }
  .mp-marker:nth-of-type(2) { transition-delay: 0.16s; }
  .mp-marker:nth-of-type(3) { transition-delay: 0.22s; }

  .mp-marker-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.15vw;
    opacity: 1;
    transition: opacity 0.24s cubic-bezier(0.23, 1, 0.32, 1);
  }
  /* під курсором ховається лише мітка активної черги — її роль бере кружок.
     Сусідні лишаються на місці, інакше пропадала вся навігація по плану. */
  .mp-plan.is-hot .mp-marker.is-on .mp-marker-inner { opacity: 0; }

  .mp-mk-num {
    font-family: var(--title-font);
    font-size: 3.51vw;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    /* контурна цифра ламалась на «1» — читалась як рамка, а не як цифра,
       тож заливка суцільна, а від фону відбиває те саме гало, що й назву */
    color: #FFFFFF;
    paint-order: stroke fill;
    -webkit-text-stroke: 5.2px rgba(5, 11, 6, 0.6);
    text-shadow: 0 2px 8px rgba(5, 11, 6, 0.45);
  }
  .mp-mk-title {
    font-family: var(--title-font);
    font-size: 1.59vw;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.005em;
    color: #FFFFFF;
    margin: 0;
    max-width: 14.3vw;
    /* Картографічне гало: обводка малюється ПІД заливкою, тож назовні
       виходить лише її половина — літера лишається чистою, а підкладка
       під текстом не потрібна взагалі. */
    paint-order: stroke fill;
    -webkit-text-stroke: 4.4px rgba(5, 11, 6, 0.62);
    text-shadow: 0 1px 6px rgba(5, 11, 6, 0.5);
  }

  /* Скляний кружок замість курсора над зоною. */
  .mp-plan.is-hot { cursor: none; }
  .mp-cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: 90;
    width: 104px;
    height: 104px;
    margin: -52px 0 0 -52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 0 14px;
    font-family: var(--sub-font);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.25;
    color: #FFFFFF;
    background: rgba(129, 184, 115, 0.3);
    backdrop-filter: blur(12px) saturate(1.5);
    -webkit-backdrop-filter: blur(12px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.34),
                inset 0 1px 0 rgba(255, 255, 255, 0.28);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .mp-cursor.is-on { opacity: 1; }
  /* зсув живе в transform самого кружка, тому масштаб — на внутрішньому span */
  .mp-cursor > span {
    display: block;
    transform: scale(0.72);
    opacity: 0;
    transition: transform 0.22s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.22s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .mp-cursor.is-on > span { transform: scale(1); opacity: 1; }
  .mp-cursor.is-press > span { transform: scale(0.92); transition-duration: 0.12s; }

  /* «тут можна натиснути»: від мітки розходиться тихе кільце */
  .mp-mk-ping {
    position: absolute; left: 50%; top: 50%;
    width: 7vw; height: 7vw; min-width: 64px; min-height: 64px;
    margin: 0; border-radius: 50%;
    border: 2px solid rgba(222, 247, 215, 0.85);
    transform: translate(-50%, -50%) scale(0.6); opacity: 0;
    animation: mpMkPing 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    pointer-events: none;
  }
  .mp-marker:nth-of-type(2) .mp-mk-ping { animation-delay: -0.9s; }
  .mp-marker:nth-of-type(3) .mp-mk-ping { animation-delay: -1.8s; }
  /* власне ім'я: раніше ці keyframes теж звались mpPing і, як оголошені
     пізніше, підміняли пульс значка локації — кільце їхало вгору-ліворуч */
  @keyframes mpMkPing {
    0% { transform: translate(-50%, -50%) scale(0.55); opacity: 0.9; }
    100% { transform: translate(-50%, -50%) scale(1.45); opacity: 0; }
  }
  .mp-plan.is-hot .mp-mk-ping { animation: none; opacity: 0; }
  @media (prefers-reduced-motion: reduce) { .mp-mk-ping { animation: none; } }

  @media (max-width: 900px) { .mp-cursor { display: none; } }
  @media (max-width: 767px) {
    /* метка черги — div з роллю кнопки: прибираємо системну підсвітку дотику
       (сірий/синій прямокутник на iOS і Android) і рамку фокусу після тапу */
    .mp-marker { pointer-events: auto; cursor: pointer; padding: 14px; gap: 2px;
                 -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; outline: none; }
    .mp-marker:focus, .mp-marker:focus-visible, .mp-plan, .mp-clean-media { -webkit-tap-highlight-color: transparent; outline: none; }
    .mp-mk-num { font-size: clamp(30px, 8.5vw, 46px) !important; -webkit-text-stroke: 4px rgba(5, 11, 6, 0.6); }
    .mp-mk-title { font-size: clamp(14px, 3.8vw, 20px) !important; }
    .mp-mk-ping { width: 76px; height: 76px; min-width: 0; min-height: 0; }
    .mp-marker:active .mp-marker-inner { transform: scale(0.94); }
  }
  @media (hover: none), (pointer: coarse) {
    .mp-cursor { display: none; }
    .mp-plan.is-hot { cursor: pointer; }
  }

  /* ============================================================
     ЕКРАН 6 — ПАРТНЕРИ МАНДРА ІНВЕСТ
     Темний фон, заголовок по центру, нескінченна рухома стрічка логотипів (hover: pause + scale)
     ============================================================ */
  .section-partners {
    background: #0B0F0C;
    color: #FFFFFF;
    padding: 98px 5vw 45px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }
  .partners-top-container {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 0 50px;
    text-align: center;
    box-sizing: border-box;
  }
  .partners-title {
    font-family: var(--title-font);
    font-size: clamp(2rem, 2.7vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
    text-align: center;
  }

  /* Стрічка біжучого рядка логотипів */
  .partners-marquee-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 16px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  }
  .partners-marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
    user-select: none;
  }
  .marquee-track {
    display: flex;
    align-items: center;
    gap: clamp(60px, 7vw, 130px);
    width: max-content;
    animation: partnersMarqueeScroll 32s linear infinite;
    will-change: transform;
    padding: 15px 0;
  }

  /* Пауза при наведенні миші на будь-яке лого чи стрічку */
  .partners-marquee:hover .marquee-track {
    animation-play-state: paused;
  }

  @keyframes partnersMarqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.333333%, 0, 0); }
  }

  /* Логотипи в скляних плашках — те саме скло, що в картках екрана 4
     і в адресі на генплані: підкладка з блюром плюс градієнтна кромка. */
  .partner-logo-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    min-width: 210px;
    padding: 0 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    isolation: isolate;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 18px 44px rgba(0, 0, 0, 0.34);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                opacity 0.3s ease;
    opacity: 0.88;
  }
  .partner-logo-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(148deg,
      rgba(255, 255, 255, 0.46) 0%,
      rgba(255, 255, 255, 0.13) 34%,
      rgba(255, 255, 255, 0.04) 62%,
      rgba(255, 255, 255, 0.16) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
  }
  .partner-logo-box:hover {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.075);
    opacity: 1;
    z-index: 10;
  }

  /* Розміри логотипів: не маленькі, гармонійні пропорції */
  .partner-img {
    display: block;
    width: auto;
    object-fit: contain;
    pointer-events: none;
    /* усі лого прийшли чорними на прозорому — вирівнюємо в чистий білий */
    filter: brightness(0) invert(1);
  }
  .partner-img.logo-mandra { height: 56px; max-width: 220px; }
  .partner-img.logo-yod { height: 48px; max-width: 180px; }
  .partner-img.logo-ekopark { height: 74px; max-width: 160px; }
  .partner-img.logo-ribas { height: 54px; max-width: 170px; }
  .partner-img.logo-happytime { height: 58px; max-width: 150px; }
  .partner-img.logo-temo { height: 38px; max-width: 260px; }

  @media (max-width: 900px) {
    .section-partners { padding: 45px 0 74px; }
    .partners-top-container { padding: 0 6vw 24px; }
    .partners-title { font-size: 7.6vw; }
    .marquee-track {
      gap: 46px;
      animation-duration: 22s;
    }
    .partner-logo-box { height: 80px; min-width: 150px; padding: 0 22px; }
    .partner-img.logo-mandra { height: 42px; }
    .partner-img.logo-yod { height: 36px; }
    .partner-img.logo-ekopark { height: 56px; }
    .partner-img.logo-ribas { height: 40px; }
    .partner-img.logo-happytime { height: 44px; }
    .partner-img.logo-temo { height: 28px; }
  }

  /* ============================================================
     ЕКРАН 7 — ЗАСНОВНИКИ ТА ОБ'ЄКТИ
     Білий фон сторінки, всередині темна стильна рамка
     ============================================================ */
  /* ============================================================
     ЕКРАН 7 — ЗАСНОВНИКИ ТА ОБ'ЄКТИ
     Чистий білий фон сторінки, розгорнуто по всій ширині екрана
     ============================================================ */
  .section-founders {
    background: #0B0F0C;
    padding: 100px 0 48px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
  }
  .founders-container {
    max-width: 1720px;
    width: 100%;
    margin: 0 auto;
    padding: 0 3.5vw;
    box-sizing: border-box;
  }

  /* Верхня сітка: Ліва картка (хвоя) + 2 картки засновників */
  .founders-top-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 24px;
    align-items: stretch;
  }

  /* Ліва картка з фоном хвої та текстом */
  .founders-hero-card {
    position: relative;
    border-radius: 11px;
    overflow: hidden;
    background-color: #121A15;
    background-image: url('founders/pine_card_bg_ultra.webp'), url('founders/pine_card_bg_hq.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
    padding: 44px 40px;
    box-sizing: border-box;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
  }
  .founders-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 11, 9, 0.82) 0%, rgba(7, 11, 9, 0.45) 55%, rgba(7, 11, 9, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
  }
  .founders-hero-text {
    position: relative;
    z-index: 2;
    font-family: var(--title-font);
    font-size: clamp(1.4rem, 1.85vw, 2.4rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: #FFFFFF;
    margin: 0;
    max-width: 580px;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.75);
  }

  /* Картки засновників на білому фоні */
  .founder-profile-card {
    display: flex;
    flex-direction: column;
  }
  .founder-img-wrap {
    width: 100%;
    aspect-ratio: 1.04 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #141A16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  }
  .founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .founder-profile-card:hover .founder-img {
    transform: scale(1.04);
  }
  .founder-info {
    padding-top: 14px;
  }
  .founder-name {
    font-family: var(--title-font);
    font-size: clamp(1.15rem, 1.35vw, 1.65rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
  }
  .founder-role {
    font-family: var(--sub-font);
    font-size: clamp(0.82rem, 0.9vw, 1.02rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.60);
    margin: 0;
  }

  /* Нижня сітка з 6 фотографіями на всю ширину */
  /* галерею з шести фото під засновниками клієнт прибрав і з десктопа */
  .founders-gallery-grid { display: none !important; }
  .founders-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 26px;
  }
  .founder-thumb-box {
    aspect-ratio: 1.15 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #141A16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  }
  .founder-thumb-box:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    z-index: 2;
  }
  .founder-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .founder-thumb-box:hover .founder-thumb-img {
    transform: scale(1.06);
  }

  @media (max-width: 900px) {
    .section-founders { padding: 56px 0 36px; }
    .founders-container { padding: 0 5vw; }
    .founders-top-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .founders-hero-card {
      min-height: 240px;
      padding: 28px 22px;
    }
    .founders-gallery-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 18px;
    }
  }

  /* ============================================================
     ЕКРАН 8 — СИНЕРГІЯ ПАРТНЕРСТВА (MANDRA INVEST + RIBAS HOTELS)
     Чистий білий фон, архітектурний макет 3D, Liquid Glass картки
     Без зайвих заголовків, фірмова палітра без золота (#DEF7D7, #81B873, #0E1F0B)
     ============================================================ */
  .synergy-stage {
    position: relative;
    width: 100%;
  }
  @media (max-width: 900px) {
    .section-synergy { min-height: auto; }
  }
  .section-synergy {
    background: #0B0F0C;
    padding: 85px 5vw 74px;
    width: 100%;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
  }
  .synergy-container {
    max-width: 1520px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }
  .synergy-section-title {
    font-family: var(--title-font);
    font-size: clamp(2rem, 3.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 56px;
  }
  @media (max-width: 992px) {
    .synergy-section-title { font-size: 8vw; margin-bottom: 32px; }
  }

  /* Головна сітка: 3 колонки (Девелопер | 3D Макет столу | Оператор) */
  .synergy-grid {
    display: grid;
    grid-template-columns: 340px 1fr 340px;
    gap: 36px;
    align-items: center;
    position: relative;
  }

  /* Бічні колонки (Mandra Invest та Ribas) — суцільні картки, текст завжди
     видно. Раніше заголовок/підзаголовок/пункти ховались до ховеру (opacity:0
     і розкриття по :hover) — саме це користувач і побачив як «текст ховається»
     і попросив прибрати назавжди. Акцент лівої картки зелений, правої синій —
     та сама пара кольорів, що вже в лініях потоку l/r. */
  .synergy-side-col {
    /* 76px зверху — під бейдж лого, що наполовину висить над рамкою (висота
       104px, top:-52px, тобто 52px усередині картки + запас на відступ). */
    padding: 76px 26px 28px;
    border-radius: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }
  .synergy-side-col.developer-col {
    background: linear-gradient(160deg, rgba(129, 184, 115, 0.14), rgba(129, 184, 115, 0.04));
    border: 1px solid rgba(129, 184, 115, 0.22);
  }
  .synergy-side-col.operator-col {
    background: linear-gradient(160deg, rgba(111, 168, 240, 0.14), rgba(111, 168, 240, 0.04));
    border: 1px solid rgba(111, 168, 240, 0.22);
  }
  .synergy-side-col.developer-col:hover {
    border-color: rgba(129, 184, 115, 0.45);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), 0 0 26px rgba(129, 184, 115, 0.2);
    transform: translateY(-2px);
  }
  .synergy-side-col.operator-col:hover {
    border-color: rgba(111, 168, 240, 0.45);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), 0 0 26px rgba(111, 168, 240, 0.2);
    transform: translateY(-2px);
  }

  .synergy-col-title,
  .synergy-col-subtitle,
  .synergy-item {
    opacity: 1;
  }

  .synergy-col-title {
    font-family: var(--title-font);
    font-size: clamp(1.6rem, 1.9vw, 2.2rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    line-height: 1.2;
    /* «Ribas Hotels Group» лягає у два рядки, «Mandra Invest» в один — колонки
       виходили різної висоти, і при центруванні нижні відступи розходились.
       Резервуємо два рядки в обох. Текст притиснуто до низу боксу, інакше
       однорядковий заголовок лишає порожній рядок НАД собою, а відстань до
       підзаголовка під ним виходить вдвічі більшою, ніж у дворядкового. */
    min-height: 2.4em;
    display: flex;
    align-items: flex-end;
  }
  .synergy-col-subtitle {
    font-family: var(--sub-font);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 18px;
  }
  .developer-col .synergy-col-subtitle { color: #81B873; }
  .operator-col .synergy-col-subtitle  { color: #6FA8F0; }

  /* Список пунктів */
  .synergy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .synergy-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--sub-font);
    font-size: clamp(0.95rem, 1.05vw, 1.14rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .synergy-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  /* Ромб замість крапки — читається як окрема іконка-маркер, не просто буллит */
  .synergy-bullet {
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    flex-shrink: 0;
  }
  .developer-col .synergy-bullet { background: #81B873; box-shadow: 0 0 10px rgba(129, 184, 115, 0.55); }
  .operator-col .synergy-bullet  { background: #6FA8F0; box-shadow: 0 0 10px rgba(111, 168, 240, 0.55); }

  /* ============================================================
     ЕКРАН 8 — СХЕМА ПОТОКУ (замість 3D-рендера)
     ============================================================ */

  /* Плашка з логотипом сидить НА межі картки — половина зверху, половина
     всередині, як бейдж, а не акуратно в відступі. Абсолютне позиціювання
     відносно .synergy-side-col (яка вже position:relative), центр по X. */
  .syn-logo-plate {
    position: absolute;
    top: -52px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 104px;
    padding: 0 26px;
    border-radius: 10px;
    background: rgba(16, 18, 20, 0.92);
    isolation: isolate;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 18px 44px rgba(0, 0, 0, 0.34);
    cursor: default;
    transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .syn-logo-plate::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(148deg,
      rgba(255, 255, 255, 0.46) 0%,
      rgba(255, 255, 255, 0.13) 34%,
      rgba(255, 255, 255, 0.04) 62%,
      rgba(255, 255, 255, 0.16) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
  }
  .syn-logo-plate:hover {
    background: rgba(30, 34, 36, 0.92);
    transform: translateX(-50%) translateY(-2px);
  }
  .syn-logo-plate[data-flow="l"]:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 18px 44px rgba(0,0,0,0.34), 0 0 26px rgba(129, 184, 115, 0.28); }
  .syn-logo-plate[data-flow="r"]:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 18px 44px rgba(0,0,0,0.34), 0 0 26px rgba(111, 168, 240, 0.28); }
  .syn-logo-img { display: block; width: auto; pointer-events: none; }
  .syn-logo-mandra { height: 44px; }
  /* Логотип Ribas у вихідному файлі темно-синій (#1C325F) — на темному фоні
     його просто не видно, тож виводимо в чистий білий тим самим прийомом,
     що й у стрічці партнерів. */
  .syn-logo-ribas { height: 44px; filter: brightness(0) invert(1); }

  /* Центральна колонка */
  .synergy-center-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .synergy-flow {
    width: 100%;
    height: clamp(300px, 26vw, 430px);
  }
  /* overflow visible — кінці ліній навмисне виходять за рамку центральної
     колонки й дотикаються до плашок з логотипами в сусідніх колонках */
  .syn-flow-svg { width: 100%; height: 100%; display: block; overflow: visible; }

  /* Три шари на кожній лінії: ледь помітна основа, бігучий штрихпунктир
     і короткий імпульс, що виїжджає з плашки на ховері. */
  .syn-base  { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1.5; }
  .syn-dash  { stroke-width: 2; stroke-linecap: round; stroke-dasharray: 13 7 3 7; }
  .syn-pulse { stroke-width: 3.2; stroke-linecap: round; opacity: 0; }

  .syn-line[data-line="l"] .syn-dash  { stroke: #81B873; }
  .syn-line[data-line="l"] .syn-pulse { stroke: #C3F0B3; }
  .syn-line[data-line="r"] .syn-dash  { stroke: #6FA8F0; }
  .syn-line[data-line="r"] .syn-pulse { stroke: #C6DEFF; }
  .syn-line[data-line="d"] .syn-dash  { stroke: #F0C85A; stroke-width: 2.6; filter: url(#synGlowGold); }
  .syn-line[data-line="d"] .syn-pulse { stroke: #FFF0C0; }

  /* Два м'яких розмитих бліки за карткою замість рівного золотого кола:
     зелений зліва, синій справа — та сама пара, що вже біжить пунктиром по
     лініях l/r. Легкі (низька базова opacity), тому це відчувається як
     атмосферне світло позаду, а не окрема яскрава пляма. Мигання —
     нерівномірне за часом, щоб не читалось як метроном. */
  @keyframes synHaloFlicker {
    0%, 100% { opacity: 0.22; }
    35%      { opacity: 0.4; }
    55%      { opacity: 0.28; }
    78%      { opacity: 0.36; }
  }
  .syn-node-halo {
    opacity: 0.3;
    filter: url(#synBokehBlur);
    animation: synHaloFlicker 2.6s ease-in-out infinite;
  }
  .syn-node-icon { filter: url(#synGlowGold); }

  /* Долари летять уздовж ліній; позицію кожного щокадру ставить rAF */
  .syn-glyph {
    font-family: var(--title-font);
    font-size: 15px;
    font-weight: 800;
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
  }
  .syn-glyph.g-l { fill: #9FD98E; }
  .syn-glyph.g-r { fill: #8FBEF7; }
  .syn-glyph.g-d { fill: #F2CE6A; }

  @media (prefers-reduced-motion: reduce) {
    .syn-glyphs { display: none; }
    .syn-dash { stroke-dashoffset: 0 !important; }
  }

  /* Архітектурна метрика Інвестора (без AI-плашки-пігулки) */
  .synergy-investor-stat {
    margin-top: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 3;
    padding: 24px 32px 26px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    isolation: isolate;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 18px 44px rgba(0, 0, 0, 0.34);
    transition: transform 0.35s ease, box-shadow 0.45s ease;
  }
  .synergy-investor-stat::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(148deg,
      rgba(255, 255, 255, 0.46) 0%,
      rgba(255, 255, 255, 0.13) 34%,
      rgba(255, 255, 255, 0.04) 62%,
      rgba(255, 255, 255, 0.16) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
  }
  /* Спалах, коли в плашку падає черговий долар */
  .synergy-investor-stat.is-hit {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 18px 44px rgba(0, 0, 0, 0.34),
      0 0 34px rgba(233, 190, 74, 0.30);
  }
  .synergy-investor-stat:hover {
    transform: translateY(-2px);
  }
  .investor-stat-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }
  .investor-stat-tag {
    font-family: var(--title-font);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #81B873;
    text-transform: uppercase;
  }
  .investor-stat-divider {
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.8rem;
  }
  .investor-stat-subtag {
    font-family: var(--title-font);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.48);
    text-transform: uppercase;
  }
  .investor-stat-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
  }
  .investor-stat-num {
    font-family: var(--title-font);
    font-size: clamp(2rem, 2.5vw, 2.8rem);
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  .investor-stat-period {
    font-family: var(--title-font);
    font-size: clamp(0.95rem, 1.15vw, 1.25rem);
    font-weight: 600;
    color: #81B873;
  }
  .investor-stat-desc {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(0.85rem, 0.95vw, 0.96rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    max-width: 440px;
    line-height: 1.45;
  }

  @media (max-width: 1200px) {
    .synergy-grid {
      grid-template-columns: 280px 1fr 280px;
      gap: 20px;
    }
    .synergy-side-card {
      padding: 28px 22px;
    }
  }

  @media (max-width: 992px) {
    .section-synergy { padding: 24px 0 56px; }
    .synergy-container { padding: 0 5vw; }
    .synergy-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .synergy-center-col {
      order: 1;
    }
    /* На дотикових/вузьких екранах немає стійкого :hover — ховати інформацію
       нема сенсу, вона просто зникне назавжди. Лишаємо завжди видимою. */
    .synergy-col-title,
    .synergy-col-subtitle,
    .synergy-item {
      opacity: 1;
      transform: none;
      transition: none;
    }
    .synergy-side-card {
      max-width: 580px;
      margin: 0 auto;
      width: 100%;
    }
    .synergy-side-card.developer-card {
      order: 2;
    }
    .synergy-side-card.operator-card {
      order: 3;
    }
    .synergy-investor-stat {
      margin-top: 80px;
    }
  }

  /* ============================================================
     ЕКРАН 9 — СЛАЙДЕР ВІДГУКІВ
     Жодних рамок і підкладок: лапка, текст і дві стрілки просто на фоні.
     ============================================================ */
  .ph1-reviews {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: center;
    gap: 6px;
    width: 100%;
    /* Підняті ближче до тексту над ними (раніше тут ще був блок з двох
       абзаців — тепер його нема, тож і відступ зверху зменшили) */
    margin: clamp(6px, 0.8vw, 12px) 0 clamp(20px, 2.2vw, 32px);
  }
  .ph1-rev-arrow {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--accent-color, #81B873);
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .ph1-rev-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .ph1-rev-arrow:hover { color: #DEF7D7; }
  .ph1-rev-prev:hover { transform: translateX(-3px); }
  .ph1-rev-next:hover { transform: translateX(3px); }

  .ph1-rev-stage { position: relative; text-align: center; }
  /* Підпис у стилі тега «ІНВЕСТОР» — сайт уже говорить цією мовою, тож
     блок одразу читається як відгук, а не як просто курсив. */
  .ph1-rev-tag {
    font-family: var(--title-font);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #81B873;
    margin-bottom: clamp(10px, 1.2vw, 16px);
  }
  /* Лапка пішла за текст водяним знаком: підказує жанр, але не претендує
     на роль окремого елемента. */
  .ph1-rev-quote {
    position: absolute;
    top: clamp(14px, 1.8vw, 26px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--title-font);
    font-size: clamp(6rem, 8vw, 9rem);
    line-height: 0.8;
    color: rgba(129, 184, 115, 0.10);
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }
  .ph1-rev-track { position: relative; z-index: 1; }
  .ph1-rev-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(14px, 1.6vw, 22px);
    font-family: var(--sub-font);
    font-size: 0.82rem;
  }
  .ph1-rev-stars { color: #E9BE4A; letter-spacing: 0.12em; font-size: 0.76rem; }
  .ph1-rev-src { color: rgba(255, 255, 255, 0.42); }
  .ph1-rev-count { color: rgba(255, 255, 255, 0.30); font-variant-numeric: tabular-nums; }
  .ph1-rev-count b { color: rgba(255, 255, 255, 0.72); font-weight: 700; }
  /* Обидва відгуки лежать один на одному, тому висота не стрибає при зміні */
  .ph1-rev-track { position: relative; }
  .ph1-rev-item {
    margin: 0;
    max-width: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .ph1-rev-item:not(.is-on) { position: absolute; inset: 0; }
  .ph1-rev-item.is-on { opacity: 1; visibility: visible; transform: none; position: relative; }
  .ph1-rev-item p {
    /* Інший, легший гарнітурний шрифт із справжнім курсивом — відгук явно
       виділяється на фоні рубленого тексту колонки, лишаючись читабельним
       (не прописом, звичайні друковані літери, лише нахилені) */
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.05rem, 1.15vw, 1.26rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.76);
    margin: 0 0 9px;
  }
  .ph1-rev-item p:last-child { margin-bottom: 0; }


  @media (max-width: 900px) {
    .ph1-reviews { grid-template-columns: 24px 1fr 24px; gap: 4px; }
    .ph1-rev-arrow { width: 24px; height: 24px; }
    .ph1-rev-arrow svg { width: 18px; height: 18px; }
  }

  /* ============================================================
     ЕКРАН 9 — ПЕРША ЧЕРГА MANDRA PETRICHOR УЖЕ ПРАЦЮЄ
     Глибокий темний фон (#0B0F0C), оливкові акценти NUMO (#81B873),
     4 метрики в рядок + спліт сенсів/відгуків та 16:9 відеоплеєр
     ============================================================ */
  .section-phase1-live {
    position: relative;
    z-index: 3;
    background-color: #0B0F0C;
    background-image:
      radial-gradient(circle at 82% 18%, rgba(129, 184, 115, 0.06) 0%, transparent 55%);
    padding: 45px 5vw 70px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    border-bottom: none;
    overflow: hidden;
  }
  .phase1-container {
    max-width: 1520px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }
  .phase1-header {
    margin-bottom: 44px;
    text-align: left;
  }
  .phase1-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sub-font);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #81B873;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .phase1-title {
    font-family: var(--title-font);
    font-size: clamp(2rem, 3.2vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
  }
  .phase1-title .text-olive {
    color: #81B873;
  }
  .phase1-title .text-white {
    color: #FFFFFF;
  }
  .phase1-lead {
    font-family: var(--sub-font);
    font-size: clamp(1.05rem, 1.18vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    /* Ширше — трирядковий текст замість шести коротких рядків трьома блоками */
    max-width: 1320px;
    margin: 0;
  }

  /* Сітка 4 метрик у стилі NUMO */
  .phase1-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 50px;
  }
  .phase1-metric-card {
    background: rgba(18, 24, 20, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(129, 184, 115, 0.22);
    border-radius: 9px;
    padding: 32px 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  }
  .phase1-metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(129, 184, 115, 0.55);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(129, 184, 115, 0.16);
  }
  .phase1-metric-val {
    font-family: var(--title-font);
    font-size: clamp(2.4rem, 3.4vw, 4rem);
    font-weight: 700;
    color: #81B873;
    line-height: 1;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
  }
  .phase1-metric-desc {
    font-family: var(--sub-font);
    font-size: clamp(0.92rem, 1.02vw, 1.1rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
    margin: 0;
  }

  /* Спліт: ліва частина (тексти + бейджі довіри), права (16:9 відео курорту) */
  .phase1-split {
    display: grid;
    grid-template-columns: 1.12fr 1.15fr;
    gap: 48px;
    align-items: stretch;
  }
  .phase1-text-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Бейджі відгуків Google та Booking.com */
  .phase1-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: auto;
  }
  .phase1-trust-card {
    position: relative;
    background: rgba(18, 24, 20, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(129, 184, 115, 0.22);
    border-radius: 8px;
    padding: 22px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    /* Картки тепер <a> (клікабельні на відгуки) — прибираємо стандартні стилі лінка */
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  .phase1-trust-card:hover {
    transform: translateY(-3px);
    border-color: rgba(129, 184, 115, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  }
  /* Стрілка "веде на зовнішній сайт" — та сама іконка, що й у cta-btn-numo,
     щоб мова кліку була однаковою по всьому сайту. У спокої ледь помітна,
     на ховері яскравіє й трохи їде по діагоналі — той самий почерк, що й
     у кнопок з двома btn-arrow. */
  .trust-link-icon {
    position: absolute;
    /* Було top:18px поруч із зірочками — налазило на них. Опустили в
       правий нижній кут картки, де порожньо, і збільшили. */
    bottom: 18px;
    right: 18px;
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, 0.28);
    transition: color 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .trust-link-icon svg { width: 100%; height: 100%; display: block; }
  .phase1-trust-card:hover .trust-link-icon {
    color: var(--accent-color);
    transform: translate(2px, -2px);
  }
  .trust-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .trust-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--title-font);
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFFFFF;
  }
  .trust-stars {
    color: #F4B400;
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
  .trust-count {
    font-family: var(--title-font);
    font-size: clamp(1.4rem, 1.8vw, 2.1rem);
    font-weight: 700;
    color: #81B873;
    line-height: 1.1;
  }
  .trust-sub {
    font-family: var(--sub-font);
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.6);
  }

  /* Права колонка: 16:9 Відеоплеєр */
  .phase1-video-card {
    position: relative;
    border-radius: 11px;
    overflow: hidden;
    background: #0E1410;
    border: 1px solid rgba(129, 184, 115, 0.28);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(129, 184, 115, 0.12);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
  }
  .phase1-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    filter: brightness(0.68);
  }
  .phase1-video-card:hover .phase1-video-bg {
    transform: scale(1.05);
    filter: brightness(0.8);
  }
  .phase1-video-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 16, 12, 0.15) 0%, rgba(11, 16, 12, 0.45) 50%, rgba(11, 16, 12, 0.85) 100%);
    pointer-events: none;
  }
  .phase1-play-btn-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .phase1-play-btn {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(14, 20, 16, 0.82);
    border: 2px solid #81B873;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 35px rgba(129, 184, 115, 0.5), 0 10px 25px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(14px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background-color 0.35s ease;
    animation: phase1Pulse 2.8s infinite;
  }
  .phase1-video-card:hover .phase1-play-btn {
    transform: scale(1.12);
    background: #81B873;
    box-shadow: 0 0 50px rgba(129, 184, 115, 0.8), 0 14px 30px rgba(0, 0, 0, 0.6);
  }
  .phase1-play-icon {
    width: 28px;
    height: 28px;
    fill: #FFFFFF;
    margin-left: 4px;
    transition: fill 0.3s ease;
  }
  .phase1-video-card:hover .phase1-play-icon {
    fill: #0E1410;
  }
  .phase1-play-label {
    font-family: var(--title-font);
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  }
  .phase1-video-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    background: rgba(14, 20, 16, 0.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(129, 184, 115, 0.3);
    padding: 8px 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sub-font);
    font-size: 0.82rem;
    font-weight: 600;
    color: #FFFFFF;
  }
  .phase1-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #81B873;
    box-shadow: 0 0 8px #81B873;
    animation: phase1Dot 1.6s infinite;
  }

  /* Модальне вікно перегляду відео */
  .phase1-video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 3vw;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .phase1-video-modal.active {
    display: flex;
    opacity: 1;
  }
  .phase1-modal-box {
    position: relative;
    max-width: 1100px;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(129, 184, 115, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(129, 184, 115, 0.2);
  }
  .phase1-modal-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .phase1-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(14, 20, 16, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background-color 0.25s ease;
  }
  .phase1-modal-close:hover {
    transform: scale(1.1);
    background: #81B873;
    color: #0E1410;
  }

  /* ============================================================
     НАВІГАЦІЙНІ ПЛАШКИ ЧЕРГ (СТИЛЬ NUANU / NUMO)
     3 великі капсули з круглими / овальними фото та номерами 01, 02, 03
     ============================================================ */
  .phase-capsules-list {
    margin-top: 130px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    align-items: stretch;
  }

  .phase-capsule {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    background: #141E15;
    border: 1.5px solid rgba(129, 184, 115, 0.22);
    border-radius: 999px;
    padding: 10px 30px 10px 12px;
    min-height: 86px;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Активний стан (за замовчуванням діюча черга 01) */
  .phase-capsule.active {
    background: #18281D;
    border-color: #81B873;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 28px rgba(129, 184, 115, 0.35);
  }

  /* Помітно світліший і яскравіший ховер стан при наведенні */
  .phase-capsule:hover {
    background: #18281D;
    border-color: #DEF7D7;
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.52), 0 0 34px rgba(129, 184, 115, 0.5);
  }

  /* Коли курсор над будь-якою кнопкою — усі інші кнопки (навіть активна) стискаються до круглого стану */
  .phase-capsules-list:hover .phase-capsule:not(:hover) {
    background: #141E15 !important;
    border-color: rgba(129, 184, 115, 0.22) !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .phase-capsules-list:hover .phase-capsule:not(:hover) .capsule-img {
    width: 64px !important;
    border-radius: 50% !important;
    transform: none !important;
  }
  .phase-capsules-list:hover .phase-capsule:not(:hover) .capsule-label {
    color: rgba(255, 255, 255, 0.75) !important;
    text-shadow: none !important;
  }

  .capsule-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .capsule-img {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.45s ease, transform 0.45s ease;
  }

  /* Наведена або активна плашка — розширена картинка у формі овалу */
  .phase-capsule.active .capsule-img,
  .phase-capsule:hover .capsule-img {
    width: 112px;
    border-radius: 999px;
    transform: scale(1.02);
  }

  .capsule-label {
    flex-grow: 1;
    font-family: var(--title-font);
    font-size: clamp(0.92rem, 1.02vw, 1.18rem);
    font-weight: 700;
    line-height: 1.25;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    margin-left: 2px;
    transition: color 0.3s ease;
  }

  .phase-capsule.active .capsule-label {
    color: #DEF7D7;
  }

  .phase-capsule:hover .capsule-label {
    color: #DEF7D7;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  }


  @keyframes phase1Pulse {
    0% { box-shadow: 0 0 0 0 rgba(129, 184, 115, 0.6), 0 0 35px rgba(129, 184, 115, 0.4); }
    70% { box-shadow: 0 0 0 18px rgba(129, 184, 115, 0), 0 0 45px rgba(129, 184, 115, 0.5); }
    100% { box-shadow: 0 0 0 0 rgba(129, 184, 115, 0), 0 0 35px rgba(129, 184, 115, 0.4); }
  }
  @keyframes phase1Dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
  }

  @media (max-width: 1100px) {
    .section-phase1-live { padding: 74px 5vw 90px; }
    .phase1-metrics-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    .phase1-split {
      grid-template-columns: 1fr;
      gap: 36px;
    }
    .phase1-video-card { min-height: 320px; }
  }

  @media (max-width: 600px) {
    .phase1-metrics-grid {
      grid-template-columns: 1fr;
    }
    .phase1-trust-grid {
      grid-template-columns: 1fr;
    }
    .phase1-title {
      font-size: 7.2vw;
    }
    .phase1-lead {
      font-size: 0.96rem;
    }
  }

  @media (max-width: 1024px) {
    .phase-capsules-list {
      gap: 14px;
      margin-top: 70px;
    }
    .phase-capsule {
      padding: 8px 18px 8px 10px;
      min-height: 74px;
      gap: 14px;
    }
    .capsule-label {
      font-size: 0.92rem;
    }
    .capsule-img {
      height: 52px;
      width: 52px;
    }
    .phase-capsule.active .capsule-img,
    .phase-capsule:hover .capsule-img {
      width: 84px;
    }
  }

  @media (max-width: 768px) {
    .phase-capsules-list {
      grid-template-columns: 1fr;
      margin-top: 50px;
      gap: 14px;
    }
    .phase-capsule {
      min-height: 74px;
      padding: 8px 18px 8px 12px;
      gap: 14px;
    }
    .capsule-img {
      height: 58px;
      width: 58px;
    }
    .phase-capsule.active .capsule-img,
    .phase-capsule:hover .capsule-img {
      width: 105px;
    }
    .capsule-label {
      font-size: 1.05rem;
      margin-left: 4px;
    }
  }

  /* ============================================================
     ЕКРАН: ВАШ ШЛЯХ ІНВЕСТОРА ВІД ЗАЯВКИ ДО ДОХОДУ (6 КРОКІВ)
     Стиль Ribas Hotels Group & NUMO Development
     ============================================================ */
  /* ============================================================
     ЕКРАН 10: ВАШ ШЛЯХ ІНВЕСТОРА (NUMO / RIBAS STYLE)
     Розтягнутий по ширині, без рамок, великі цифри з прапорцем-покажчиком,
     арочні фото праворуч, кнопка знизу, фоновий напис RIBAS із 4-го кроку
     ============================================================ */
  .section-invest-flow {
    background: #0B0F0C;
    padding: clamp(80px, 8vw, 130px) 5vw clamp(30px, 3vw, 50px);
    width: 100%;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
  }
  .invest-flow-container {
    max-width: 1520px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  /* Шапка: заголовок більше не тягнеться на всю сітку */
  .flow-head { max-width: 900px; margin: 0 auto clamp(48px, 5vw, 82px); text-align: center; }
  .invest-flow-title {
    font-family: var(--title-font);
    font-size: clamp(2.1rem, 3.4vw, 4rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0 0 22px;
  }
  .invest-flow-title .title-accent { display: block; color: #81B873; }
  .invest-flow-title .title-white  { display: block; color: #FFFFFF; }
  .invest-flow-lead {
    font-family: var(--sub-font);
    font-size: clamp(0.95rem, 1.05vw, 1.12rem);
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.62);
    margin: 0 auto;
    max-width: 680px;
  }

  /* ---------- Дерево ---------- */
  .flow-tree { position: relative; width: 100%; }
  .flow-vine {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    /* Знизу лоза впиралась у межу секції різаним торцем. Тепер останні 9%
       висоти йдуть у прозорість, і гілка розчиняється, а не обрубується. */
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 91%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 91%, transparent 100%);
  }
  /* Три лози йдуть одним пучком і переплітаються між собою. Товщина кожної
     вдвічі більша за початкову — одна тонка лінія губилась в анімації. */
  /* Спочатку гілка проста коричнева. У міру спуску вона наливається тим самим
     коричневим з легким зеленим підтоном. */
  .flow-vine-base { fill: none; stroke-width: 5; stroke-linecap: round; }
  .flow-vine-base[data-v="0"] { stroke: #4A3B29; }
  .flow-vine-base[data-v="1"] { stroke: #5C4A33; stroke-width: 4; }
  .flow-vine-base[data-v="2"] { stroke: #3A2E20; stroke-width: 4.4; }
  /* Жива частина лози дорисовується у міру скролу */
  .flow-vine-live { fill: none; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(129, 184, 115, 0.18)); }
  .flow-vine-live[data-v="0"] { stroke: #6E6A3C; stroke-width: 5; }
  .flow-vine-live[data-v="1"] { stroke: #7D7745; stroke-width: 4; }
  .flow-vine-live[data-v="2"] { stroke: #5A5730; stroke-width: 4.4; opacity: 0.9; }
  /* Листочки на лозі спочатку напівпрозорі, загоряються, коли до них доходить ріст */
  .flow-sprig {
    fill: #5C4A33;
    opacity: 0.8;
    transition: fill 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
  }
  .flow-sprig.is-lit {
    fill: #8FC97F;
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(129, 184, 115, 0.55));
  }

  .flow-leaves { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
  .flow-leaf {
    position: relative;
    width: 43%;
    min-height: clamp(250px, 21vw, 320px);
    display: flex;
    align-items: center;
    margin-bottom: clamp(-30px, -1.6vw, -10px);
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .flow-leaf.is-in { opacity: 1; transform: none; }
  /* Номер, заголовок і опис проявляються по черзі, коли прогрес доходить до листка */
  .flow-leaf-num, .flow-leaf-title, .flow-leaf-desc {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .flow-leaf.is-in .flow-leaf-num   { opacity: 1; transform: none; transition-delay: 0.18s; }
  .flow-leaf.is-in .flow-leaf-title { opacity: 1; transform: none; transition-delay: 0.30s; }
  .flow-leaf.is-in .flow-leaf-desc  { opacity: 1; transform: none; transition-delay: 0.42s; }
  .flow-leaf[data-side="l"] { align-self: flex-start; }
  .flow-leaf[data-side="l"] .flow-leaf-body { transform: rotate(-3.5deg); transform-origin: 100% 0%; }
  .flow-leaf[data-side="l"].is-in .flow-leaf-body:hover { transform: rotate(-3.5deg) translateY(-5px); }
  .flow-leaf[data-side="r"] { align-self: flex-end; }
  .flow-leaf[data-side="r"] .flow-leaf-body { transform: rotate(3.5deg); transform-origin: 0% 0%; }
  .flow-leaf[data-side="r"].is-in .flow-leaf-body:hover { transform: rotate(3.5deg) translateY(-5px); }

  /* Форма листка — два протилежні кути майже круглі, один гострий (саме там
     умовне "кріплення" до лози). Заливка кольором фону секції (не
     transparent!) — виглядає прозоро, але реально перекриває лозу, що
     проходить позаду картки. */
  .flow-leaf-body {
    width: 100%;
    height: 100%;
    padding: clamp(34px, 3.2vw, 52px) clamp(52px, 4.4vw, 78px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0B0F0C;
    border: 3px solid rgba(129, 184, 115, 0.65);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, background 0.5s ease, border-color 0.5s ease;
  }
  /* Овальна форма без гострих кутів — тільки легкий нахил (-3.5/+3.5deg) лишає
     "непрямий" вигляд, кут-кріплення до лози більше не гострий. */
  .flow-leaf[data-side="l"] .flow-leaf-body,
  .flow-leaf[data-side="r"] .flow-leaf-body { border-radius: 999px; }

  /* Ніякої заливки — картка завжди лише контур, і після активації теж.
     На ховері трохи підсвічуємо контур і додаємо світіння замість заливки. */
  .flow-leaf-body:hover {
    border-color: #81B873;
    box-shadow: 0 22px 50px rgba(0,0,0,0.42), 0 0 40px rgba(129,184,115,0.24);
  }

  /* Картка без заливки — текст завжди світлий (фон під ним темний, а не
     колір тону), тон лишає свій відбиток лише в кольорі номера. */
  .flow-leaf-num {
    font-family: var(--title-font);
    font-size: clamp(0.84rem, 1vw, 1.05rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
  }
  .flow-leaf[data-tone="light"] .flow-leaf-num { color: #93C985; }
  .flow-leaf[data-tone="dark"]  .flow-leaf-num { color: #6FA87A; }
  .flow-leaf-title {
    font-family: var(--title-font);
    /* Було clamp(1.2rem,1.6vw,1.78rem) — найдовший заголовок (карта 6) ламався
       у 3 рядки й розпирав картку понад її min-height. Трохи зменшили. */
    font-size: clamp(1.1rem, 1.45vw, 1.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
    color: #FFFFFF;
  }
  .flow-leaf-desc {
    font-family: var(--sub-font);
    font-size: clamp(0.95rem, 1.1vw, 1.16rem);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
  }

  @media (max-width: 900px) {
    .flow-leaf { width: 100%; align-self: stretch !important; min-height: 0; }
    .flow-leaf .flow-leaf-body { border-radius: 999px !important; }
    .flow-vine { display: none; }
  }

  /* ============================================================
     ЕКРАН 11: НАЙЧАСТІШІ ПИТАННЯ (FAQ ACCORDION)
     ============================================================ */
  .section-faq {
    position: relative;
    background: #0B0F0C;
    color: #FFFFFF;
    padding: 120px 5vw 90px;
    z-index: 10;
    overflow: hidden;
    box-sizing: border-box;
  }
  .faq-container {
    max-width: 1620px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  .faq-header-block {
    margin-bottom: 44px;
    text-align: left;
  }
  .faq-title {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(2rem, 3.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0 0 16px;
  }
  .faq-title-accent-bar {
    width: 80px;
    height: 3px;
    background: #81B873;
    border-radius: 2px;
    margin: 0 0 24px 0;
  }
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 1620px;
  }
  /* Те саме скло, що в картках статистики, партнерах і плашці інвестора */
  .faq-item {
    position: relative;
    background: rgba(255, 255, 255, 0.045);
    border: none;
    border-radius: 10px;
    isolation: isolate;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 18px 44px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(148deg,
      rgba(255, 255, 255, 0.46) 0%,
      rgba(255, 255, 255, 0.13) 34%,
      rgba(255, 255, 255, 0.04) 62%,
      rgba(255, 255, 255, 0.16) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
  }
  .faq-item.is-open { background: rgba(255, 255, 255, 0.07); }
  .faq-item:not(.is-open):hover {
    border-color: rgba(129, 184, 115, 0.45);
    box-shadow: 0 8px 28px rgba(14, 31, 11, 0.07);
    transform: translateY(-2px);
  }
  .faq-item.is-open {
    border-color: #81B873;
    box-shadow: 0 12px 36px rgba(129, 184, 115, 0.12), 0 4px 16px rgba(14, 31, 11, 0.04);
  }
  .faq-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 42px 40px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
  }
  .faq-item-header:hover {
    background-color: rgba(255, 255, 255, 0.03);
  }
  .faq-item:not(.is-open):hover { transform: translateY(-2px); }
  .faq-question {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(1.26rem, 1.56vw, 1.5rem);
    font-weight: 700;
    line-height: 1.35;
    color: #FFFFFF;
    margin: 0;
    flex: 1;
    transition: color 0.2s ease;
  }
  .faq-item.is-open .faq-question {
    color: #DEF7D7;
  }
  .faq-chevron {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
  }
  .faq-item:hover .faq-chevron {
    background: rgba(129, 184, 115, 0.28);
  }
  .faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
    background: #81B873;
    color: #0B0F0C;
  }
  .faq-chevron svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    transition: transform 0.3s ease;
  }
  .faq-item-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .faq-item.is-open .faq-item-body {
    grid-template-rows: 1fr;
  }
  .faq-item-content {
    overflow: hidden;
  }
  .faq-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
    margin: 0 40px;
  }
  .faq-answer {
    padding: 36px 40px 50px;
    font-family: 'Manrope', -apple-system, sans-serif;
    font-size: clamp(1.15rem, 1.26vw, 1.3rem);
    font-weight: 400;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
  }

  @media (max-width: 768px) {
    .section-faq {
      padding: 80px 5vw 100px;
    }
    .faq-header-block {
      margin-bottom: 30px;
    }
    .faq-item-header {
      padding: 18px 20px;
      gap: 14px;
    }
    .faq-chevron {
      width: 34px;
      height: 34px;
    }
    .faq-divider {
      margin: 0 20px;
    }
    .faq-answer {
      padding: 16px 20px 24px;
      font-size: 1.14rem;
    }
  }

  /* ============================================================
     ЕКРАН 12: КОНТАКТНА ФОРМА (#contacts)
     ============================================================ */
  .section-contacts {
    position: relative;
    background: #0A0F0C;
    color: #FFFFFF;
    padding: 45px 5vw 50px;           /* ліс футера підходить ближче: боки форми лишаються над верхівками */
    z-index: 10;
    overflow: hidden;
    box-sizing: border-box;
  }
  .section-contacts-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(circle, rgba(129, 184, 115, 0.09) 0%, rgba(10, 15, 12, 0) 70%);
    pointer-events: none;
    z-index: 1;
  }
  .contacts-container {
    max-width: 1520px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0;
    box-sizing: border-box;
  }
  /* Заголовок і картка по центру секції */
  .contacts-header-block {
    margin-bottom: 40px;
    text-align: center;
  }
  .contacts-header-block .contacts-title {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(2rem, 3.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0 0 12px;
  }
  .contacts-header-block .contacts-subtitle {
    font-family: 'Manrope', -apple-system, sans-serif;
    font-size: clamp(1rem, 1.15vw, 1.25rem);
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 auto;
    max-width: 620px;
  }

  /* Скляна картка — той самий рецепт, що в решті блоків сайту */
  .contacts-card {
    position: relative;
    background: rgba(255, 255, 255, 0.045);
    border: none;
    border-radius: 16px;
    isolation: isolate;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 26px 64px rgba(0, 0, 0, 0.46);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    max-width: 1180px;
    margin: 0 auto;
  }
  /* Кут для променя по кромці. Якщо браузер не знає @property — конічний
     градієнт просто стоїть на місці, кромка лишається як була. */
  @property --sheen-ang {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
  }
  .contacts-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background:
      conic-gradient(from var(--sheen-ang),
        transparent 0deg,
        rgba(129, 184, 115, 0.75) 26deg,
        rgba(222, 247, 215, 0.95) 40deg,
        rgba(129, 184, 115, 0.55) 54deg,
        transparent 96deg,
        transparent 360deg),
      linear-gradient(148deg,
      rgba(255, 255, 255, 0.46) 0%,
      rgba(255, 255, 255, 0.13) 34%,
      rgba(255, 255, 255, 0.04) 62%,
      rgba(255, 255, 255, 0.16) 100%);
    animation: cardSheenSpin 9s linear infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
  }
  @keyframes cardSheenSpin { to { --sheen-ang: 360deg; } }

  /* Скло ловить світло за курсором: відблиск їде слідом, як по справжній панелі */
  .contacts-sheen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.45s ease;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
      rgba(222, 247, 215, 0.10) 0%,
      rgba(129, 184, 115, 0.06) 34%,
      transparent 62%);
  }
  .contacts-card:hover .contacts-sheen { opacity: 1; }
  @media (prefers-reduced-motion: reduce) {
    .contacts-card::before { animation: none; }
  }

  /* Тепле зелене світло за карткою — блок має чіплятись за око */
  .contacts-card::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -40%;
    width: 70%;
    height: 120%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(129, 184, 115, 0.16) 0%, transparent 62%);
    pointer-events: none;
    z-index: 0;
  }

  /* ЛІВА КОЛОНКА: ФОРМА */
  .contacts-form-side {
    position: relative;
    z-index: 2;
    padding: clamp(38px, 3.6vw, 58px) clamp(30px, 3.2vw, 54px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .contacts-form-side .contacts-title {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(1.6rem, 2.1vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0 0 10px;
  }
  .contacts-form-side .contacts-subtitle {
    font-family: 'Manrope', -apple-system, sans-serif;
    font-size: clamp(0.95rem, 1.05vw, 1.08rem);
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
    margin: 0 0 26px;
  }
  .contacts-form-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(129, 184, 115, 0.55), rgba(255, 255, 255, 0.10) 60%, transparent);
    margin-bottom: 26px;
  }
  .contacts-form { display: flex; flex-direction: column; gap: 16px; }
  .contacts-field-group { display: flex; flex-direction: column; gap: 8px; text-align: left; }
  .contacts-label {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
  }
  .contacts-field-group:focus-within .contacts-label { color: #81B873; }
  .contacts-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.02rem;
    color: #FFFFFF;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
  }
  .contacts-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #81B873;
    box-shadow: 0 0 0 4px rgba(129, 184, 115, 0.16);
  }
  .contacts-input::placeholder { color: rgba(255, 255, 255, 0.32); }
  .contacts-textarea {
    resize: none;
    min-height: 64px;
    line-height: 1.5;
    font-family: 'Manrope', sans-serif;
  }

  .btn-contacts-submit {
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    width: 100%;
    background: #81B873;
    color: #0B0F0C;
    border: none;
    border-radius: 12px;
    padding: 18px 28px;
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(0.92rem, 1.05vw, 1.05rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(129, 184, 115, 0.28);
  }
  /* Блік раз на кілька секунд пробігає по кнопці */
  .btn-contacts-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-18deg);
    animation: btnSheen 4.5s ease-in-out infinite;
  }
  @keyframes btnSheen {
    0%, 62% { left: -60%; }
    88%, 100% { left: 130%; }
  }
  .btn-contacts-submit:hover {
    background: #DEF7D7;
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(129, 184, 115, 0.40);
  }
  .btn-contacts-submit svg {
    width: 18px; height: 18px;
    stroke: currentColor; stroke-width: 2.2; fill: none;
    transition: transform 0.3s ease;
  }
  .btn-contacts-submit:hover svg { transform: translateX(4px); }
  .contacts-guarantee {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.4;
  }
  .contacts-guarantee-icon { flex-shrink: 0; color: #81B873; width: 16px; height: 16px; }

  /* ПРАВА КОЛОНКА: ФОТО МЕНЕДЖЕРА */
  .contacts-media-side {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    /* Поля однакові з усіх боків: раніше ліве було 36px проти 48px правого,
       і фото стояло не по центру колонки. */
    padding: clamp(34px, 3.2vw, 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
  .contacts-media-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: clamp(320px, 26vw, 400px);
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
    background: #141A16;
  }
  .contacts-person-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Фото вже кадроване по центру обличчя (крoп ~1.05:1, обличчя точно
       посередині кадру), тож просте центрування коректне за будь-якого
       співвідношення сторін рамки. */
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
  }
  .contacts-card:hover .contacts-person-img { transform: scale(1.04); }
  .contacts-person-overlay { display: none; }
  .contacts-person-info {
    position: relative;
    margin-top: 20px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
  }
  .contacts-status-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', -apple-system, sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    color: #9FD98E;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
  }
  .pulse-dot {
    width: 7px; height: 7px;
    background: #81B873;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(129, 184, 115, 0.7);
    animation: statusPulse 2s infinite;
  }
  @keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(129, 184, 115, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(129, 184, 115, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(129, 184, 115, 0); }
  }
  .contacts-person-name {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(1.2rem, 1.4vw, 1.5rem);
    font-weight: 800;
    line-height: 1.25;
    color: #FFFFFF;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
  }
  .contacts-person-role {
    font-family: 'Manrope', -apple-system, sans-serif;
    font-size: clamp(0.88rem, 0.95vw, 0.98rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
  }

  /* Поява блоку при скролі */
  .contacts-header-block, .contacts-card {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .section-contacts.is-in .contacts-header-block { opacity: 1; transform: none; }
  .section-contacts.is-in .contacts-card { opacity: 1; transform: none; transition-delay: 0.12s; }
  @media (prefers-reduced-motion: reduce) {
    .contacts-header-block, .contacts-card { opacity: 1; transform: none; }
    .btn-contacts-submit::after { animation: none; }
  }

  /* ============================================================
     ФУТЕР: ЧИСТИЙ МАКЕТ ЗА ЕСКІЗОМ (media_1788489382560.png)
     З ФОНОВИМ ВОДЯНИМ ЗНАКОМ MANDRA INVEST (ЯК RIBAS НА ФОНІ)
     ============================================================ */
  /* Футер — не окрема плита, а перехідна зона: лінію на стику прибрано,
     фон переведено в зелену гаму листків, а зверху заходить ліс у три плани. */
  .site-footer {
    position: relative;
    background: #0A0F0C;
    color: #FFFFFF;
    padding: clamp(470px, 39vw, 650px) 5vw 158px;
    z-index: 10;
    overflow: hidden;
    border-top: none;
    width: 100%;
    box-sizing: border-box;
  }

  /* ЛІС НА СТИКУ: 2 чисті векторні плани смерек (Mandra Brand Palette).
     - far: дальній план смерек (#1F3D29)
     - near: передній план смерек (#0E1C12) із суцільним перекриттям до низу футера */
  .footer-veg {
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    will-change: transform;
  }
  .footer-veg[data-veg="far"] {
    top: 0;
    bottom: -150px;
    background-color: #2D5D3B;
    -webkit-mask-image: url('footer/veg_far.svg'), linear-gradient(#000, #000);
    mask-image: url('footer/veg_far.svg'), linear-gradient(#000, #000);
    -webkit-mask-size: 100% clamp(420px, 42vw, 640px), 100% calc(100% - clamp(418px, 42vw - 2px, 638px));
    mask-size: 100% clamp(420px, 42vw, 640px), 100% calc(100% - clamp(418px, 42vw - 2px, 638px));
    -webkit-mask-position: center top, center clamp(418px, 42vw - 2px, 638px);
    mask-position: center top, center clamp(418px, 42vw - 2px, 638px);
    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;
    z-index: 1;
  }
  .footer-veg[data-veg="near"] {
    top: clamp(-12px, -0.5vw, 5px);
    bottom: -500px;
    background-color: #0E1C12;
    -webkit-mask-image: url('footer/veg_near.svg'), linear-gradient(#000, #000);
    mask-image: url('footer/veg_near.svg'), linear-gradient(#000, #000);
    -webkit-mask-size: 100% clamp(400px, 40vw, 620px), 100% calc(100% - clamp(398px, 40vw - 2px, 618px));
    mask-size: 100% clamp(400px, 40vw, 620px), 100% calc(100% - clamp(398px, 40vw - 2px, 618px));
    -webkit-mask-position: center top, center clamp(398px, 40vw - 2px, 618px);
    mask-position: center top, center clamp(398px, 40vw - 2px, 618px);
    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;
    z-index: 2;
  }
  .site-footer > *:not(.footer-veg):not(.footer-watermark-wrap):not(.footer-scrolltop) { position: relative; z-index: 4; }

  /* Кнопка "нагору" праворуч від стрічки: вертикальний підпис зі стрілкою,
     сидить у тому ж нижньому шарі футера, що й водяний знак. */
  .footer-scrolltop {
    position: absolute;
    right: 12px;
    bottom: calc(clamp(36px, 5vw, 76px) + 50px);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
  }
  .footer-scrolltop:hover { color: #81B873; }
  /* Без кружка навколо — сама стрілка, 2.5x більша */
  .footer-scrolltop-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .footer-scrolltop:hover .footer-scrolltop-arrow {
    transform: translateY(-3px);
  }
  .footer-scrolltop-arrow svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .footer-scrolltop-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--sub-font);
    font-size: 1.95rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  /* Клік: коротка "пружинка" — трохи стискається, потім трохи більше норми */
  @keyframes footerScrollTopPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(0.85); }
    70%  { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  .footer-scrolltop.is-pressed { animation: footerScrollTopPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
  @media (prefers-reduced-motion: reduce) {
    .footer-scrolltop.is-pressed { animation: none; }
  }
  @media (max-width: 700px) {
    .footer-scrolltop { right: 5vw; bottom: 24px; }
  }

  /* Фоновий монументальний водяний знак: плавна безкінечна стрічка MANDRA INVEST (60 FPS) */
  .footer-watermark-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: clamp(240px, 38vw, 560px);
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    z-index: 3;
    display: flex;
    align-items: flex-end;
  }

  .footer-watermark-track {
    display: flex;
    flex-shrink: 0;
    width: max-content;
    will-change: transform;
    animation: footerWatermarkScroll 95s linear infinite;
  }

  .footer-watermark-group {
    display: flex;
    flex-shrink: 0;
    align-items: flex-end;
  }

  .footer-watermark-item {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(160px, 32vw, 480px);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.038);
    white-space: nowrap;
    line-height: 0.76;
    margin-bottom: -0.06em;
    padding-right: clamp(50px, 7vw, 140px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  @keyframes footerWatermarkScroll {
    0% {
      transform: translate3d(0%, 0, 0);
    }
    100% {
      transform: translate3d(-50%, 0, 0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .footer-watermark-track {
      animation: none;
      transform: translate3d(0, 0, 0);
    }
  }
  @media (max-width: 900px) {
    .site-footer { padding-top: clamp(270px, 72vw, 380px); }
    .footer-veg[data-veg="far"] {
      bottom: -100px;
      /* ширина задана явно (пропорції SVG 2400×853): Safari на iPhone не виводить «auto» для SVG з розміром у відсотках і стискає ліс у смуги */
      -webkit-mask-size: 900px 320px, 100% calc(100% - 318px);
      mask-size: 900px 320px, 100% calc(100% - 318px);
      -webkit-mask-position: center top, center 318px;
      mask-position: center top, center 318px;
    }
    .footer-veg[data-veg="near"] {
      top: -8px;
      bottom: -350px;
      -webkit-mask-size: 816px 290px, 100% calc(100% - 288px);
      mask-size: 816px 290px, 100% calc(100% - 288px);
      -webkit-mask-position: center top, center 288px;
      mask-position: center top, center 288px;
    }
  }

  .footer-container {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
    padding: 0;
    box-sizing: border-box;
  }

  .footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(32px, 5vw, 80px);
    margin-bottom: clamp(60px, 8vw, 110px);
  }

  /* Колонка 1: Mandra Invest */
  .footer-col-1 {
    flex: 0 0 auto;
    min-width: 180px;
  }

  /* Колонка 2: Проект Mandra Petrichor */
  .footer-col-2 {
    flex: 1 1 auto;
    padding-left: clamp(20px, 4vw, 60px);
  }

  .footer-col-title-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .footer-col-title-link:hover {
    color: #81B873;
  }

  /* Заголовки колонок */
  .footer-col-title {
    font-family: var(--title-font, 'Unbounded', sans-serif);
    font-size: clamp(1.37rem, 1.63vw, 1.69rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
  }

  .footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
  }

  .footer-nav-link {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.2rem, 1.27vw, 1.37rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
  }
  .footer-nav-link:hover {
    color: #81B873;
    transform: translateX(3px);
  }

  /* Колонка контактів — вирівнювання ліворуч у межах колонки,
     щоб соцмережі стояли точно під лінією іконок контактів */
  .footer-contacts-col {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
  }

  .footer-contact-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .footer-contact-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.01rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
  }

  .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.2rem, 1.27vw, 1.37rem);
    font-weight: 400;
    transition: color 0.2s ease;
  }
  .footer-contact-item:hover {
    color: #81B873;
  }

  .footer-contact-icon {
    width: 23px;
    height: 23px;
    color: #FFFFFF;
    flex-shrink: 0;
  }

  /* Соцмережі — 3 чорно-білі кнопки, без фірмових кольорів брендів */
  .footer-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
  }
  .footer-social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #0B0F0C;
  }
  .footer-social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  /* Нижня смужка: копірайт та автор */
  .footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.14rem;
    color: rgba(255, 255, 255, 0.5);
  }

  .footer-copyright {
    color: rgba(255, 255, 255, 0.6);
  }

  .footer-creator-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .footer-creator-link:hover {
    color: #81B873;
  }

  @media (max-width: 992px) {
    .contacts-card {
      grid-template-columns: 1fr;
    }
    .contacts-form-side {
      padding: 40px 32px;
    }
    .contacts-media-side {
      min-height: auto;
      padding: 32px 32px 40px;
      border-left: none;
      border-top: 1px solid rgba(14, 31, 11, 0.08);
    }
    .contacts-media-wrap {
      height: 320px;
    }
    .footer-top-row {
      flex-wrap: wrap;
      gap: 36px;
    }
    .footer-col-1 {
      flex: 1 1 200px;
    }
    .footer-col-2 {
      flex: 1 1 200px;
      padding-left: 0;
    }
    .footer-contacts-col {
      flex: 1 1 100%;
      align-items: flex-start;
    }
  }
  @media (max-width: 576px) {
    .section-contacts {
      padding: 70px 4vw 90px;
    }
    .contacts-form-side {
      padding: 32px 20px;
    }
    .contacts-title {
      font-size: 1.6rem;
    }
    .contacts-media-side {
      min-height: 380px;
    }
    .site-footer {
      padding: clamp(240px, 64vw, 330px) 5vw 48px;
    }
    .footer-top-row {
      flex-direction: column;
      gap: 28px;
    }
    .footer-col-2 {
      padding-left: 0;
    }
    .footer-contacts-col {
      align-items: flex-start;
    }
    .footer-bottom-row {
      flex-direction: column;
      gap: 12px;
      text-align: center;
    }
  }

  /* ============================================================
     LENIS — плавний скрол на весь сайт
     Lenis керує справжньою позицією скролу, тому position: sticky,
     scrollY і всі наявні scroll-обробники працюють без змін.
     ============================================================ */
  html.lenis,
  html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto !important; }
  .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
  .lenis.lenis-stopped { overflow: hidden; }

  /* ============================================================
     МОБІЛЬНА ВЕРСІЯ (≤767px) — один блок поверх десктопу.
     Правила: основний текст ≥16px, підписи ≥14px, капслок-мітки ≥12px,
     зони натискання ≥44px, поля сторінки 20px. Десктопні кеглі тут у vw,
     тому на телефоні їх перекриваємо явними px (подекуди !important —
     частина кеглів приходить змінними, які панель стилів пише в :root).
     ============================================================ */

  /* плитки з текстом клієнта: жирний заголовок окремим рядком, пояснення — тихіше */
  .pi-feature-text { color: rgba(255, 255, 255, 0.66); }
  .pi-feature-text strong { display: block; margin-bottom: 4px; font-weight: 700; color: #FFFFFF; }
  .why-tile-text { font-size: clamp(14px, 0.95vw, 17px) !important; font-weight: 500; line-height: 1.45; color: rgba(255, 255, 255, 0.7); max-width: 24em; }
  /* пояснення без тире й маркерів, рядки рівні за довжиною */
  .why-tile-text { text-wrap: balance; hyphens: none; }
  .why-tile-text strong { display: block; margin-bottom: 8px; font-size: clamp(20px, 1.47vw, 28px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: #FFFFFF; }
  .pi-ticker strong { font-weight: 800; color: #FFFFFF; }
  .pi-status strong { font-weight: 700; color: #FFFFFF; }
  .nav-burger, .m-menu, .m-cta-bar, .mp-pills, .m-nav, .m-more, .m-release { display: none; }

  @media (max-width: 767px) {
    html { scroll-padding-top: 72px; }

    /* ---------- ШАПКА: без скла, прозора; мова — у бургер-меню ---------- */
    .top-navbar, .top-navbar.is-scrolled {
      padding: 14px 20px; height: 72px; box-sizing: border-box;
      background: linear-gradient(180deg, rgba(8, 11, 9, 0.55) 0%, rgba(8, 11, 9, 0) 100%) !important;
      backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important;
    }
    .top-navbar .nav-menu,
    .top-navbar .phone-capsule,
    .top-navbar .btn-top-accent,
    .top-navbar .lang-switch { display: none !important; }
    .header-actions { display: flex; align-items: center; gap: 10px; }
    .brand-logo-img { height: 46px !important; width: auto !important; }
    .m-menu .lang-switch { display: block !important; flex: none; transform: scale(1.25) !important; transform-origin: right center; }
    .lang-switch-label { font-size: clamp(13px, 3.33vw, 20px) !important; }

    /* бургер: без кружка — три лінії різної довжини, що тихо «дихають» */
    .nav-burger {
      display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px;
      width: 44px; height: 44px; padding: 0 4px; border: none; background: none; color: #FFFFFF; cursor: pointer;
    }
    .nav-burger i {
      display: block; height: 2px; border-radius: 2px; background: currentColor;
      transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s, width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-burger i:nth-child(1) { width: 28px; }
    .nav-burger i:nth-child(2) { width: 18px; animation: burgerBreath 2.8s ease-in-out infinite; }
    .nav-burger i:nth-child(3) { width: 23px; animation: burgerBreath 2.8s ease-in-out -1.4s infinite; }
    @keyframes burgerBreath { 0%, 100% { width: 18px; } 50% { width: 28px; } }
    body.m-menu-open .nav-burger i { animation: none; width: 26px; }
    body.m-menu-open .nav-burger i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    body.m-menu-open .nav-burger i:nth-child(2) { opacity: 0; transform: translateX(8px); }
    body.m-menu-open .nav-burger i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    @media (prefers-reduced-motion: reduce) { .nav-burger i { animation: none !important; } }

    .m-menu {
      display: flex; flex-direction: column; justify-content: flex-start; gap: 2px;
      position: fixed; inset: 0; z-index: 999; padding: 96px 20px calc(24px + env(safe-area-inset-bottom)); box-sizing: border-box;
      background: #0B0F0C;
      clip-path: inset(0 0 100% 0); visibility: hidden;
      transition: clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s linear 0.6s;
    }
    body.m-menu-open .m-menu { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
    body.m-menu-open { overflow: hidden; }
    .m-menu a.m-menu-link {
      display: block; padding: 12px 0;
      font-family: var(--title-font, 'Unbounded', sans-serif); font-size: clamp(23px, 6vw, 36px); font-weight: 800;
      letter-spacing: -0.02em; line-height: 1.1; color: #FFFFFF; text-decoration: none;
      opacity: 0; transform: translateY(16px);
      transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    body.m-menu-open .m-menu a.m-menu-link { opacity: 1; transform: none; }
    .m-menu-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px;
                  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
    .m-menu-tape { flex: 1; min-height: 90px; display: flex; align-items: center; overflow: hidden; margin: 12px -20px; pointer-events: none; container-type: size; }
    .m-menu-tape-track { display: flex; width: max-content; animation: footerWatermarkScroll 54s linear infinite; }   /* на 30% повільніше */
    .m-menu-tape-track span {
      flex: none; padding-right: 0.35em; white-space: nowrap;
      font-family: var(--title-font, 'Unbounded', sans-serif); font-weight: 900; text-transform: uppercase;
      font-size: 96cqh; line-height: 0.82; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.06);   /* на всю висоту вільного місця */
    }
    @media (prefers-reduced-motion: reduce) { .m-menu-tape-track { animation: none; } }
    .m-menu-phone { font-family: var(--sub-font); font-size: clamp(18px, 4.62vw, 28px); font-weight: 700; color: #FFFFFF; text-decoration: none; padding: 10px 0; }
    .m-menu-cta {
      display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 999px; margin: 0 14px 10px;
      background: var(--top-btn-bg, #DEF7D7); color: #12240E; text-decoration: none;
      font-family: var(--sub-font); font-size: clamp(16px, 4.1vw, 25px); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
    }

    /* ---------- ГЕРОЙ: усе по центру, кнопка компактна, наліпка під нею ---------- */
    .ui-layer { padding-left: 20px; padding-right: 20px; }
    .hero-main-content { margin: auto 0; padding: 24px 0; gap: 18px; align-items: center; text-align: center; }   /* по центру видимої висоти на будь-якому телефоні */
    .title-wrapper, .desc-wrapper { max-width: none !important; transform: none !important; }
    h1.hero-main-headline { font-size: clamp(36px, 10.26vw, 62px) !important; line-height: 1.04 !important; letter-spacing: -0.03em !important; text-wrap: balance; }
    p.hero-main-desc { font-size: clamp(18px, 4.62vw, 28px) !important; line-height: 1.5 !important; text-wrap: balance; }
    .free-floating-cta { transform: none !important; margin-top: 6px; flex-direction: column; align-items: center; gap: 22px; }
    .cta-btn-numo { justify-content: center; padding: 0 30px !important; height: 54px; width: auto; }
    .cta-btn-numo .action-pill { font-size: clamp(16px, 4.1vw, 25px) !important; }
    .cta-btn-numo .btn-arrow { width: 22px !important; height: 22px !important; }
    .hero-release-badge {
      position: static; align-self: center; margin: 4px 0 0;
      width: clamp(108px, 27.7vw, 168px); height: clamp(108px, 27.7vw, 168px); min-width: 0; min-height: 0; padding: 12px;
      font-size: clamp(12px, 3.08vw, 19px); gap: 4px;
    }
    .scroll-indicator { display: none; }
    /* наліпка «Здача II черги» на телефоні — не коло в герої, а плашка внизу екрана:
       виїжджає після інтро, ховається з першим скролом */
    .hero-main-content .hero-release-badge { display: none !important; }
    .m-release {
      position: fixed; left: 50%; bottom: calc(34px + env(safe-area-inset-bottom)); z-index: 997;
      display: flex; align-items: center; gap: 14px; max-width: calc(100% - 40px); box-sizing: border-box;
      padding: 14px 24px 14px 17px; border-radius: 20px;
      background: var(--top-btn-bg, #DEF7D7); color: #12240E;
      /* тінь як у наліпки: щільна біля краю + м'яка далека, праворуч-униз */
      box-shadow: 2px 3px 2px rgba(0,0,0,0.32), 6px 9px 14px rgba(0,0,0,0.32), 16px 24px 44px rgba(0,0,0,0.5);
      font-family: var(--sub-font); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
      font-size: clamp(15.6px, 4.32vw, 19px); line-height: 1.25; text-align: left;
      transform: translate(-50%, 180%); rotate: -2deg; opacity: 0;
      transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
      pointer-events: none;
    }
    .m-release.is-on { transform: translate(-50%, 0); opacity: 1; animation: releaseWiggle 3.6s ease-in-out 1s infinite; }
    /* легке «трусіння» раз на кілька секунд — щоб наліпка чіпляла око, а не смикалась */
    @keyframes releaseWiggle {
      0%, 76%, 100% { rotate: -2deg; scale: 1; }
      80% { rotate: -4.5deg; scale: 1.035; }
      84% { rotate: 0.5deg; }
      88% { rotate: -3.5deg; }
      92% { rotate: -1deg; }
      96% { rotate: -2.4deg; scale: 1; }
    }
    @media (prefers-reduced-motion: reduce) { .m-release.is-on { animation: none; } }
    .m-release-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-color, #81B873);
                     box-shadow: 0 0 0 0 rgba(129,184,115,0.7); animation: statusPulse 2s infinite; }
    .m-release-text { display: block; white-space: nowrap; }
    .m-release { width: max-content; }   /* left:50% ужимав плашку до половини екрана — рядки ламались на чотири */
    .bg-video, .bg-photo { object-position: 72% 50%; background-position: 72% 50%; }

    /* ---------- MANDRA PETRICHOR ---------- */
    .section-petrichor-intro { padding: 56px 20px; border-top-left-radius: 18px; border-top-right-radius: 18px; }
    .pi-container { gap: 14px; grid-template-columns: minmax(0, 1fr) !important; }
    .pi-container > * { grid-column: 1 / -1 !important; }
    .pi-card { padding: 22px; min-height: 0; }
    .pi-card-tag { position: static; align-self: flex-start; margin-bottom: 18px; font-size: clamp(12px, 3.08vw, 19px) !important; }
    .pi-card-num { font-size: clamp(52px, 13.33vw, 81px) !important; }
    .pi-card-text { font-size: clamp(15px, 3.85vw, 23px) !important; }
    .pi-title { font-size: clamp(34px, 8.72vw, 53px) !important; }
    .pi-lead { font-size: clamp(16px, 4.1vw, 25px) !important; }
    .pi-features { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
    /* цифри: «10 га» зеленою на всю ширину, «101» і «4 000 м²» — темними в один рядок */
    .pi-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 10px; }
    .pi-figure:nth-of-type(2), .pi-figure:nth-of-type(3) { grid-column: span 1 !important; padding: 18px; }
    .pi-figure:nth-of-type(1) { background: var(--accent-color, #81B873); }
    .pi-figure:nth-of-type(1) .pi-card-num { color: #0E1F0B; }
    .pi-figure:nth-of-type(1) .pi-card-text { color: rgba(14, 31, 11, 0.78); }
    .pi-figure:nth-of-type(1) .pi-card-tag { box-shadow: inset 0 0 0 1px rgba(14, 31, 11, 0.3); color: rgba(14, 31, 11, 0.8); }
    .pi-figure.pi-card-accent { background: rgba(255, 255, 255, 0.045); }
    .pi-figure.pi-card-accent .pi-card-num { color: var(--accent-color, #81B873); }
    .pi-figure.pi-card-accent .pi-card-text { color: rgba(255, 255, 255, 0.72); }
    .pi-figure.pi-card-accent .pi-card-tag { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.78); }
    .pi-figure:nth-of-type(2) .pi-card-num, .pi-figure:nth-of-type(3) .pi-card-num { font-size: clamp(27px, 7.4vw, 44px) !important; white-space: nowrap; }
    .pi-figure:nth-of-type(2) .pi-card-unit, .pi-figure:nth-of-type(3) .pi-card-unit { font-size: 0.42em !important; }
    .pi-figure:nth-of-type(2) .pi-card-tag, .pi-figure:nth-of-type(3) .pi-card-tag { padding: 4px 9px; letter-spacing: 0.04em; max-width: 100%; box-sizing: border-box; }
    .pi-figure:nth-of-type(2) .pi-card-text, .pi-figure:nth-of-type(3) .pi-card-text { font-size: clamp(14px, 3.6vw, 17px) !important; }
    /* можливості — як картки-досягнення: по центру, значок над підписом */
    /* текст ліворуч, значок праворуч угорі — як бейдж на картці-досягненні */
    .pi-feature { flex-direction: row-reverse !important; align-items: flex-start !important; justify-content: space-between; text-align: left; gap: 10px; padding: 18px 14px 18px 16px; min-height: 118px; }
    .pi-feature .pi-feature-text { text-wrap: balance; }
    .pi-feature { min-height: 0; padding: 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
    .pi-feature-text { font-size: clamp(15px, 3.85vw, 23px) !important; }
    .pi-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    /* кнопка не на всю ширину — по центру, з повітрям по боках */
    .pi-actions .stats-cta-btn { justify-content: center; height: 54px; font-size: clamp(14px, 3.85vw, 18px);
                                 align-self: center; width: auto; max-width: 100%; padding: 0 24px; gap: 10px; white-space: nowrap; }
    .pi-status { font-size: clamp(13px, 3.33vw, 20px); line-height: 1.5; border-radius: 18px; padding: 14px 18px; }
    /* крапка — по центру всього тексту по висоті */
    .pi-status { align-items: center !important; }
    .pi-status .pulse-dot { margin-top: 0; }
    /* статус — бігучим рядком без плашки, на всю ширину */
    .pi-status.is-ticker {
      display: block !important; background: none !important; padding: 6px 0 !important; border-radius: 0 !important;
      margin: 4px -20px 0; width: calc(100% + 40px) !important; max-width: none; flex: none !important; box-sizing: border-box; overflow: hidden; backdrop-filter: none !important;
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
              mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    }
    .pi-status.is-ticker > .pulse-dot, .pi-status.is-ticker > #piStatus { display: none; }
    .pi-ticker { display: flex; width: max-content; animation: footerWatermarkScroll 28s linear infinite; }
    .pi-ticker span {
      display: inline-flex; align-items: center; gap: 14px; padding-right: 14px; white-space: nowrap;
      font-family: var(--sub-font); font-size: clamp(15px, 4.1vw, 20px); font-weight: 600; color: rgba(255,255,255,0.86);
    }
    .pi-ticker i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-color, #81B873); }
    @media (prefers-reduced-motion: reduce) { .pi-ticker { animation: none; } }

    /* ---------- ВІДЕОБАНЕР ---------- */
    .vb-head { padding: 0 20px 24px; }
    .vb-head .why-title, .why-title { font-size: clamp(30px, 7.69vw, 46px) !important; }
    /* банер на телефоні — цілий кадр 16:9 на всю ширину, без обрізання по боках */
    .section-video-banner { aspect-ratio: 16 / 9; }
    .vb-play { width: 56px; height: 56px; }

    /* ---------- УНІКАЛЬНІСТЬ ПРОЄКТУ ---------- */
    .why-head { padding: 0 20px; }
    .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .why-tile { min-height: 0; aspect-ratio: 1 / 1.15; padding: 16px; }
    .why-tile-text { font-size: clamp(16px, 4.1vw, 25px) !important; line-height: 1.25; }
    .why-tile-mark { display: grid !important; width: 48px; height: 48px; }
    .why-tile-img { opacity: 0.45 !important; }

    /* ---------- ГЕНПЛАН ---------- */
    /* заголовок «Масштаб Mandra Petrichor» і текст стоять НАД картою (JS виносить
       блок перед .mp-clean-media); плашки черг під картою не потрібні */
    .mp-floating-content { position: relative; top: auto; left: auto; max-width: none; margin: 0; padding: 56px 20px 28px; }
    .mp-pills { display: none !important; }
    /* над картою — лише заголовок і риска; під картою — підзаголовок, текст і локація */
    .mp-floating-content { display: flex !important; flex-direction: column; }
    .mp-floating-content:not(.mp-after) { padding-bottom: 24px !important; }
    .mp-floating-content.mp-after { padding: 28px 20px 8px !important; }
    .mp-float-title { order: 0; } .mp-float-line { order: 1; margin-bottom: 0 !important; }
    .mp-float-subtitle { order: 3; margin-top: 0 !important; } .mp-float-desc { order: 4; }
    .mp-address { order: 5; margin: 22px 0 0 !important; align-self: stretch; }
    .mp-float-title { font-size: clamp(32px, 8.21vw, 50px) !important; }
    .mp-float-subtitle { font-size: clamp(19px, 4.87vw, 29px) !important; }
    .mp-float-desc { font-size: clamp(16px, 4.1vw, 25px) !important; line-height: 1.55; }
    .mp-address { font-size: clamp(15px, 3.85vw, 23px); }
    .mp-address-eyebrow { font-size: clamp(12px, 3.08vw, 19px) !important; }
    .mp-address-copy, .mp-address-copy * { font-size: clamp(15px, 3.85vw, 23px) !important; }
    .mp-phase-card { left: 20px !important; right: 20px !important; width: auto !important; }
    .mp-phase-title { font-size: clamp(24px, 6.15vw, 37px) !important; }
    .mp-phase-desc, .mp-phase-list span { font-size: clamp(15px, 3.85vw, 23px) !important; }


    /* ---------- ГЕНПЛАН 9:16: карта на весь екран, черги впираються в краї ----------
       План лишається 16:9 і висоти кадру. Точка 67.8% ширини плану — центр
       трьох міток I/II/III — стоїть рівно по центру екрана на будь-якому
       телефоні: left 50% і зсув на −67.8% ширини самого плану. Відео прольоту
       й стоп-кадр мають ту саму геометрію, тож старт-кадр збігається з планом
       піксель у піксель, а проліт до будинку — це зміна того ж зсуву. */
    .mp-clean-media { --mph: clamp(560px, 100svh, 900px); padding-top: var(--mph); overflow: hidden; }
    .mp-clean-media::before { display: none; }
    .mp-plan { position: absolute; top: 0; height: var(--mph); width: auto; aspect-ratio: 16 / 9;
               left: 50%; transform: translateX(-67.8%); }
    .mp-phase-video, .mp-phase-endframe, .mp-clean-media::after { bottom: auto !important; height: var(--mph) !important; }
    /* текст над картою під час прольоту лише гасне (opacity з базових стилів):
       display:none зсунув би карту вгору на висоту тексту */
    .mp-plan .mp-clean-img { width: 100%; height: 100%; }
    .mp-phase-video, .mp-phase-endframe {
      inset: auto !important; top: 0 !important; left: 50% !important;
      width: auto !important; aspect-ratio: 16 / 9;
      transform: translateX(-67.8%);
    }
    /* A-frame I черги стоїть лівіше за центр міток — камера доводить кадр до нього */
    .section-masterplan-clean.mp-video-active[data-phase="1"] .mp-phase-video,
    .section-masterplan-clean[data-phase="1"] .mp-phase-endframe { transform: translateX(-62.8%); }
    .section-masterplan-clean.mp-video-active .mp-phase-video { transition: opacity 0.5s ease, transform 2.4s cubic-bezier(0.65, 0, 0.35, 1); }
    /* темніє донизу, як герой — під картку черги */
    .mp-clean-media::after { background: linear-gradient(180deg, rgba(10,12,10,0.55) 0%, rgba(10,12,10,0) 22%, rgba(10,12,10,0) 42%, rgba(10,12,10,0.88) 78%, rgba(10,12,10,0.96) 100%) !important; }

    /* картка черги — у почерку першого екрана: по центру, знизу кадру */
    .section-masterplan-clean.mp-video-active.mp-ended .mp-phase-card {
      left: 20px !important; right: 20px !important; top: auto !important; bottom: 40px !important;
      width: auto !important; min-width: 0 !important; transform: none !important;
      padding: 0 !important; background: none !important; text-align: center;
    }
    .mp-phase-num { font-size: 12px !important; letter-spacing: 0.22em; margin-bottom: 10px; }
    .mp-phase-title { font-size: clamp(30px, 8.7vw, 44px) !important; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
    .mp-phase-desc { font-size: clamp(16px, 4.4vw, 20px) !important; line-height: 1.5; margin: 12px auto 0; max-width: 30em; text-wrap: balance; }
    .mp-phase-count-row { justify-content: center; margin-top: 14px; border-bottom: none !important; padding-bottom: 0 !important; }
    .mp-phase-count, .mp-phase-status { font-size: 14px !important; }
    .mp-phase-list:not([style*="none"]) { display: flex !important; } .mp-phase-list { grid-template-columns: none !important; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
    .mp-phase-list span { font-size: 15px !important; }
    .mp-phase-actions { flex-direction: column; align-items: center; gap: 14px; margin-top: 22px; }
    .mp-phase-cta { min-height: 54px; height: auto; padding: 12px 26px !important; max-width: 100%; }
    .mp-phase-cta .action-pill { white-space: normal; text-align: center; line-height: 1.25; font-size: clamp(14px, 3.8vw, 16px) !important; }
    .mp-phase-status { white-space: normal !important; text-align: center; }
    .mp-back-link { min-height: 44px; font-size: 15px !important; }

    /* засновники: картка з хвоєю горизонтально на всю ширину, під нею двоє поруч */
    .founders-top-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important;
                         overflow: visible !important; margin: 0 !important; padding: 0 !important; clip-path: none !important; }
    .founders-top-grid > .founders-hero-card { grid-column: 1 / -1; aspect-ratio: 16 / 9; min-height: 0 !important; height: auto !important; }
    .founders-top-grid > .founder-profile-card { min-width: 0; }
    .founders-top-grid .founder-name { font-size: clamp(17px, 4.6vw, 24px) !important; line-height: 1.15; }
    .founders-top-grid .founder-role { font-size: clamp(13px, 3.4vw, 16px) !important; }

    /* відгуки: усі в одній клітинці сітки — висота блоку = найдовший відгук,
       картки Google/Booking під ним більше не стрибають; зміна — м'яким переходом */
    .ph1-rev-track { display: grid !important; }
    .ph1-rev-item, .ph1-rev-item:not(.is-on), .ph1-rev-item.is-on {
      grid-area: 1 / 1; position: relative !important; inset: auto !important; align-self: center;
      transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.6s;
    }
    .ph1-rev-item:not(.is-on) { transform: translateX(14px); }
    .ph1-rev-count, .ph1-rev-stars { white-space: nowrap; flex: none; }   /* «1 / 2» не ламається на два рядки */
    .ph1-rev-item.is-on { transition-delay: 0.08s, 0.08s, 0s; }

    /* засновники → «Партнери» той самий відступ, що від заголовка до логотипів (55px) */
    #founders { padding-bottom: 0 !important; }
    #partners { padding-top: 55px !important; }

    .why-tile-text { font-size: clamp(15px, 3.9vw, 19px) !important; }
    .why-tile-text strong { font-size: clamp(21px, 5.4vw, 28px); }
    .pi-feature-text { font-size: clamp(13px, 3.4vw, 17px) !important; line-height: 1.4; }
    .pi-feature-text strong { font-size: clamp(15px, 3.9vw, 20px); }
    /* значок у куті, текст на всю ширину плитки — без вузької колонки на 6 рядків */
    .pi-feature { position: relative; display: block !important; padding: 16px 14px !important; }
    .pi-feature .pi-feature-icon { position: absolute; top: 12px; right: 12px; width: 34px !important; height: 34px !important; }
    .pi-feature .pi-feature-text strong { padding-right: 38px; }

    /* ---------- ПЕРША ЧЕРГА ---------- */
    .phase1-container { padding-left: 20px; padding-right: 20px; }
    .phase1-split { grid-template-columns: minmax(0, 1fr) !important; }
    .phase1-split > *, .ph1-reviews, .ph1-rev-stage, .ph1-rev-track { min-width: 0; max-width: 100%; }
    .phase1-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .phase1-trust-card { min-width: 0; }
    .phase1-title { font-size: clamp(30px, 7.69vw, 46px) !important; }
    .phase1-lead { font-size: clamp(16px, 4.1vw, 25px) !important; }
    .phase1-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
    .phase1-metric-card { padding: 18px; }
    .phase1-metric-val { font-size: clamp(28px, 8.4vw, 34px) !important; }
    .phase1-metric-desc { font-size: clamp(14px, 3.59vw, 22px) !important; }
    .ph1-rev-tag { font-size: clamp(12px, 3.08vw, 19px) !important; }
    .ph1-rev-quote, .ph1-rev-item, .ph1-rev-item p { font-size: clamp(17px, 4.36vw, 26px) !important; line-height: 1.5; }
    .ph1-rev-stars, .ph1-rev-src, .ph1-rev-count { font-size: clamp(14px, 3.59vw, 22px) !important; }
    .ph1-reviews { grid-template-columns: 34px minmax(0, 1fr) 34px !important; gap: 14px !important; }
    .ph1-rev-arrow { width: 34px !important; height: 44px !important; }
    /* картки Google / Booking вузькі (~147px): зірки під назвою, а не поруч, і
       назва дрібніша — інакше «Booking.com» і зірки вилазили за картку */
    .phase1-trust-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .trust-header { flex-direction: column; align-items: flex-start; gap: 4px; }
    .trust-brand { font-size: clamp(13px, 3.6vw, 18px) !important; white-space: nowrap; gap: 6px; }
    .trust-stars { font-size: 12px !important; letter-spacing: 1px; }
    .trust-count { font-size: clamp(28px, 7.18vw, 43px) !important; }
    .trust-sub { font-size: clamp(14px, 3.59vw, 22px) !important; }
    .phase1-play-label { font-size: clamp(16px, 4.1vw, 25px) !important; }
    .capsule-label { font-size: clamp(16px, 4.1vw, 25px) !important; }

    /* ---------- ЗАСНОВНИКИ ---------- */
    .founders-container { padding-left: 20px; padding-right: 20px; }
    /* «Ribas Hotels Group» зв'язано нерозривними пробілами — розмір такий, щоб
       назва влазила в картку цілком, а не обрізалась по правому краю */
    .founders-hero-text { font-size: min(20.7px, 5.29vw) !important; }   /* +15% */
    /* усі свайп-набори: на старті перша картка рівно від лівого краю — хвіст
       останньої картки (копія з кола) у лівому полі не видно */
    .why-grid, .bs-grid, .bl-grid { clip-path: inset(-20px 0 -20px 20px); }
    /* відступ від кнопок черг до карток засновників — менший */
    .section-phase1-live { padding-bottom: 36px !important; }
    .section-founders { padding-top: 20px !important; }
    /* після логотипів партнерів до наступного фону — вдвічі менше повітря (105 → 52px) */
    .section-partners { padding-bottom: 21px !important; }
    /* від останнього питання FAQ до «Потрібна консультація?» — вдвічі менше (174 → 87px) */
    .section-faq { padding-bottom: 13px !important; }
    /* «Перша черга вже працює»: відступ був подвійний (секція 20px + контейнер 20px) —
       вміст ставав на 40px вужчим за решту блоків. Лишаємо один, як усюди. */
    .phase1-container { padding-left: 0 !important; padding-right: 0 !important; }
    /* під засновниками на телефоні — без сітки з шести фото об'єктів (правка замовника) */
    .founders-gallery-grid { display: none !important; }
    .section-phase1-live { padding-left: 20px !important; padding-right: 20px !important; }
    /* картка консультації: спершу фото, ім'я й посада консультанта, під ними форма */
    .contacts-media-side { order: -1; border-top: none !important; border-bottom: 1px solid rgba(14, 31, 11, 0.08); }
    /* футер на телефоні: дві колонки меню поруч, контакти під ними на всю ширину.
       Раніше на ≤576px колонки ставали в стовпчик — так і було на iPhone (390px) */
    /* футер на телефоні: дві категорії меню — акордеоном. Рядок із назвою і стрілкою
       вниз, тап розкриває чотири пункти; відкрита одна категорія, перша — одразу */
    .footer-top-row { flex-direction: column !important; flex-wrap: nowrap !important; gap: 0 !important; }
    .footer-col-1, .footer-col-2 { flex: none !important; width: 100%; min-width: 0 !important; padding-left: 0 !important;
                                   border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .footer-top-row > .footer-col:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }
    .footer-contacts-col { flex: none !important; margin-top: 28px; }
    .footer-col-title { display: flex; align-items: center; justify-content: space-between; gap: 16px;
                        min-height: 58px; margin: 0 !important; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
    .footer-col-title, .footer-col-title-link { font-size: clamp(15px, 4.1vw, 18px) !important; line-height: 1.25; }
    .footer-col-title-link { pointer-events: none; }
    .m-acc-chev { flex: none; width: 22px; height: 22px; color: var(--accent-color, #81B873);
                  transition: rotate 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
    .footer-col.is-open .m-acc-chev { rotate: 180deg; }
    .footer-col-1 .footer-nav-list, .footer-col-2 .footer-nav-list {
      max-height: 0; overflow: hidden; margin: 0 !important; opacity: 0;
      transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .footer-col.is-open .footer-nav-list { max-height: 320px; opacity: 1; padding-bottom: 14px; }
    /* контакти у футері: без підписів «Телефон» / «Email» — лише значки, зелені */
    .footer-contact-label { display: none !important; }
    .footer-contact-icon { color: var(--accent-color, #81B873) !important; }
    .footer-contacts-list { gap: 14px !important; }
    /* кнопка «Вгору» — праворуч від контактів у футері, а не внизу біля водяного знака */
    .footer-contacts-col { position: relative; width: 100%; }
    .footer-contacts-col > .footer-scrolltop { position: absolute !important; top: 0 !important; right: 0 !important; bottom: auto !important;
                                               gap: 14px; padding: 0; }
    .footer-contacts-col > .footer-scrolltop .footer-scrolltop-label { font-size: 1.35rem; }
    .founder-name { font-size: clamp(20px, 5.13vw, 31px) !important; }
    .founder-role { font-size: clamp(14px, 3.59vw, 22px) !important; }
    .founders-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

    /* ---------- ПАРТНЕРИ ---------- */
    .partners-title { font-size: clamp(30px, 7.69vw, 46px) !important; padding: 0 20px; }

    /* ---------- ЕТАПИ БУДІВНИЦТВА ---------- */
    .section-build-stages { padding: 56px 20px 32px; }
    .bs-title { font-size: clamp(30px, 7.69vw, 46px) !important; }
    .bs-grid, .bs-bars { grid-template-columns: minmax(0, 1fr) !important; }
    .bs-card { min-height: 200px; }
    .bs-card:hover { transform: none; box-shadow: none; }
    .bs-queue { font-size: clamp(12px, 3.08vw, 19px) !important; }
    .bs-name { font-size: clamp(19px, 4.87vw, 29px) !important; }
    .bs-count { font-size: clamp(15px, 3.85vw, 23px) !important; }
    .bs-pct { font-size: clamp(14px, 3.59vw, 22px) !important; }
    .bs-bar-fill { min-width: 72px; }

    /* ---------- ХІД БУДІВНИЦТВА ---------- */
    .section-build-log { padding: 24px 20px 56px; }
    .bl-title { font-size: clamp(30px, 7.69vw, 46px) !important; }
    .bl-all { font-size: clamp(16px, 4.1vw, 25px) !important; min-height: 44px; }
    .bl-day { font-size: clamp(40px, 10.26vw, 62px) !important; }
    .bl-month { font-size: clamp(13px, 3.33vw, 20px) !important; }
    .bl-text { font-size: clamp(16px, 4.1vw, 25px) !important; }

    /* ---------- FAQ ---------- */
    .faq-title { font-size: clamp(30px, 7.69vw, 46px) !important; }

    /* ---------- КОНТАКТИ ---------- */
    .section-contacts { padding: 48px 20px 40px; }
    .contacts-title { font-size: clamp(30px, 7.69vw, 46px) !important; }
    .contacts-subtitle { font-size: clamp(16px, 4.1vw, 25px) !important; }
    .contacts-label { font-size: clamp(13px, 3.33vw, 20px) !important; }
    .contacts-input { font-size: clamp(16px, 4.1vw, 25px) !important; min-height: 52px; }
    .btn-contacts-submit { height: 56px; font-size: clamp(16px, 4.1vw, 25px) !important; }
    .contacts-guarantee { font-size: clamp(14px, 3.59vw, 22px) !important; }
    .contacts-status-inline { font-size: clamp(14px, 3.59vw, 22px) !important; }
    .contacts-person-name { font-size: clamp(22px, 5.64vw, 34px) !important; }
    .contacts-person-role { font-size: clamp(15px, 3.85vw, 23px) !important; }

    /* ---------- ФУТЕР ---------- */
    .footer-nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(16px, 4.1vw, 25px) !important; }

    /* ---------- СВАЙП-НАБОРИ (варіант В): однотипні картки листаються вбік ---------- */
    .why-grid, .bs-grid, .bl-grid {
      display: flex !important; overflow-x: auto; overscroll-behavior-x: contain;
      scroll-snap-type: x mandatory; scrollbar-width: none;
      gap: 12px !important; margin: 0 -20px; padding: 0 20px 4px; scroll-padding: 0 20px;
    }
    .why-grid::-webkit-scrollbar, .bs-grid::-webkit-scrollbar, .bl-grid::-webkit-scrollbar { display: none; }
    .why-grid > *, .bs-grid > *, .bl-grid > * {
      flex: 0 0 84%; scroll-snap-align: start; min-width: 0;
    }
    .why-grid { background: none !important; border: none !important; margin: 0; padding: 0 20px 4px; }
    .why-tile { aspect-ratio: 4 / 5; border-radius: 18px; padding: 22px; }
    .why-tile-img { opacity: 0.62 !important; }
    .why-tile-scrim { opacity: 1 !important; }
    .why-tile-text { font-size: clamp(21px, 5.38vw, 33px) !important; max-width: 12em; }
    .why-tile-mark { width: 60px !important; height: 60px !important; }
  }
  /* низькі екрани (старі/компактні телефони): герой ущільнюється, щоб влізти над краєм.
     Висота ЕКРАНА (device-height), не вікна: у Safari вікно росте, коли при прокрутці ховається
     панель адреси, — з max-height заголовок на iPhone на ходу міняв кегль і переносився інакше */
  @media (max-width: 767px) and (max-device-height: 700px) {
    .hero-main-content { gap: 12px; padding: 12px 0; }
    h1.hero-main-headline { font-size: clamp(32px, 9vw, 40px) !important; }
    p.hero-main-desc { font-size: 16px !important; }
    .free-floating-cta { gap: 14px; }
    .hero-release-badge { width: 92px !important; height: 92px !important; font-size: 11px; }
  }
  /* великі телефони й планшет у портреті: у свайпі видно півтори картки, а не одну гігантську */
  @media (min-width: 540px) and (max-width: 767px) {
    .why-grid > *, .bs-grid > *, .bl-grid > * { flex-basis: 56%; }
    .pi-features { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  }
  @media (max-width: 767px) {

    /* Стрілки свайп-набору — праворуч від заголовка секції. Без кружків, фону й
       рамок: лише довга тонка лінія з гострим наконечником у фірмовому зеленому.
       На дотик стрілка коротко виїжджає у свій бік. */
    .m-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .m-head > :not(.m-nav) { flex: 1 1 auto; min-width: 0; margin-bottom: 0 !important; }
    /* найдовше слово заголовка («Унікальність», «будівництва») має влізти поруч зі
       стрілками й на вузькому телефоні: 30px від 400px, плавно менше на вужчих */
    .m-head > h2 { font-size: min(30px, 7.5vw) !important; }
    .bl-head > .m-head { flex: 1 1 100%; min-width: 0; }
    .m-head.is-solo { justify-content: center; }
    .m-nav { display: flex; flex: none; align-items: center; gap: 6px; }
    .m-nav button {
      display: inline-flex; align-items: center; justify-content: center;
      min-width: 38px; min-height: 44px; padding: 0; margin: 0;
      border: none; background: none; box-shadow: none; color: var(--accent-color, #81B873);
      cursor: pointer; -webkit-tap-highlight-color: transparent;
    }
    .m-nav svg { width: 34px; height: 14px; display: block; overflow: visible;
                 transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
    .m-nav button:active svg { transform: translateX(var(--nudge, 0)); transition-duration: 0.12s; }
    .m-nav button.is-end { opacity: 0.28; pointer-events: none; }
    .why-grid.is-drifting { scroll-snap-type: none !important; }
    .m-nav button { transition: opacity 0.3s ease; }
    .bl-grid > .bl-card:last-child::before { width: 100%; }
    .m-nav button:first-child { --nudge: -6px; }
    .m-nav button:last-child  { --nudge: 6px; }

    /* етапи: смуга готовності всередині картки своєї черги */
    .bs-bars { display: none !important; }
    .bs-card { min-height: 300px; }
    .bs-card .bs-bar { margin-top: 14px; width: 100%; }
    /* бейдж черги — у лівому верхньому куті картки, назва й смуга лишаються внизу */
    .bs-card .bs-queue { position: absolute; top: 22px; left: 22px; z-index: 2; }

    /* хроніка: лінія часу через точки, як на десктопі. Набір листається, тож
       лінію малює кожна картка — від своєї точки до наступної через проміжок */
    .bl-card { position: relative; }
    .bl-card::before { content: ''; position: absolute; top: 5px; left: 0; width: calc(100% + 12px); height: 1px;
                       background: linear-gradient(90deg, rgba(129, 184, 115, 0.6), rgba(129, 184, 115, 0.22)); }
    .bl-dot { z-index: 1; }
    /* Імпульс по лінії часу — справа наліво, від старішої дати до свіжішої:
       11 травня → 25 червня → 12 липня. Кожна картка веде імпульс своєю ділянкою
       (від точки сусіда праворуч до своєї), сусід стартує, щойно попередня
       ділянка закінчилась. Ділянка останньої дати веде вже в наступне коло
       копій — там імпульсу немає. */
    .bl-card::after {
      content: ''; position: absolute; top: 4.5px; left: calc(100% + 12px - 26px); width: 26px; height: 2px;
      border-radius: 2px; opacity: 0; pointer-events: none;
      background: linear-gradient(90deg, #DEF7D7 0%, rgba(129, 184, 115, 0.9) 35%, rgba(129, 184, 115, 0) 100%);
      box-shadow: 0 0 8px rgba(129, 184, 115, 0.8);
      animation: blImpulse 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    }
    /* 11 травня — перша ділянка: праворуч нема з чого виїжджати, тож імпульс
       з'являється з напівпрозорості, а далі естафета: 25 червня → 12 липня */
    .bl-card[data-k="2"]::after { animation-name: blImpulseIn; animation-delay: 0s; }
    .bl-card[data-k="1"]::after { animation-delay: 1.08s; }
    .bl-card[data-k="0"]::after { animation-name: blImpulseEnd; animation-delay: 2.16s; }
    @keyframes blImpulseEnd {
      0%   { left: calc(100% + 12px - 26px); opacity: 0; }
      4%   { opacity: 1; }
      30%  { left: 0; opacity: 1; }
      36%  { left: 0; opacity: 0; }
      100% { left: 0; opacity: 0; }
    }
    @keyframes blImpulseIn {
      0%   { left: calc(100% + 12px - 26px); opacity: 0; }
      14%  { opacity: 1; }
      27%  { opacity: 1; }
      30%  { left: 0; opacity: 0; }
      100% { left: 0; opacity: 0; }
    }
    @keyframes blImpulse {
      0%   { left: calc(100% + 12px - 26px); opacity: 0; }
      4%   { opacity: 1; }
      27%  { opacity: 1; }
      30%  { left: 0; opacity: 0; }
      100% { left: 0; opacity: 0; }
    }
    @media (prefers-reduced-motion: reduce) { .bl-card::after { animation: none; } }
    /* пульс живої точки розходиться на ~9px ліворуч — поле обрізаємо ближче до краю,
       щоб кільце не різалось; хвіст попередньої картки сюди все одно не дістає */
    .bl-grid { clip-path: inset(-20px 0 -20px 8px) !important; }
    /* «жива» точка — у найсвіжішого запису та його копій, а не в першого елемента ряду */
    .bl-card:first-child .bl-dot { background: var(--bg-dark); box-shadow: none; }
    .bl-card:first-child .bl-dot::after { content: none; }
    .bl-card[data-k="0"] .bl-dot { background: var(--accent-color, #81B873);
                                   box-shadow: 0 0 0 3px rgba(129, 184, 115, 0.16), 0 0 12px 2px rgba(129, 184, 115, 0.55); }
    .bl-card[data-k="0"] .bl-dot::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; opacity: 0;
                                          border: 2px solid var(--accent-color, #81B873); animation: blPulse 3.6s ease-out 3.24s infinite; }
    /* плашка «Локація проєкту»: повітря від значка, відстань до Києва другим рядком,
       стрілка — нормального розміру зі своїм місцем праворуч */
    .mp-address { padding: 14px 14px 14px 16px !important; gap: 14px !important; align-items: center; }
    .mp-address-dist { display: block; }
    .mp-address-arrow { align-self: stretch; padding-left: 14px !important; }
    .mp-address-arrow svg { width: 22px !important; min-width: 22px; height: 22px !important; color: var(--accent-color, #81B873); }

    /* ---------- КАРТКА ЧЕРГИ ПІСЛЯ ПРОЛЬОТУ ----------
       1. Кількість котеджів — круглою м'ятною наліпкою в правому верхньому куті кадру,
          як «Здача II черги»: тінь, легкий поворот, час від часу похитується.
       2. Бейдж I черги компактний, увесь текстовий блок I черги на ~10% вище.
       3. Зручності III черги — лінійні іконки над підписами, сіткою у два рядки. */
    .mp-clean-media > .mp-phase-count {
      position: absolute; top: calc(env(safe-area-inset-top) + 86px); right: 18px; z-index: 6;
      width: 96px; height: 96px; border-radius: 50%; box-sizing: border-box; padding: 10px;
      display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center;
      background: var(--top-btn-bg, #DEF7D7); color: #12240E; overflow: hidden;
      box-shadow: 2px 3px 2px rgba(0,0,0,0.32), 6px 9px 14px rgba(0,0,0,0.32), 16px 24px 44px rgba(0,0,0,0.5);
      font-family: var(--title-font, 'Unbounded', sans-serif) !important; font-weight: 800;
      font-size: 10.5px !important; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.04em;
      rotate: 8deg; pointer-events: none;
    }
    .section-masterplan-clean.mp-video-active.mp-ended .mp-clean-media > .mp-phase-count {
      display: flex; animation: mpCountIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both, mpCountWiggle 3.8s ease-in-out 1.2s infinite;
    }
    .mp-phase-count-num { display: block; font-size: 32px; line-height: 1; letter-spacing: -0.04em; margin-bottom: 4px; }
    @keyframes mpCountIn { from { opacity: 0; scale: 0.6; rotate: -6deg; } to { opacity: 1; scale: 1; rotate: 8deg; } }
    @keyframes mpCountWiggle {
      0%, 76%, 100% { rotate: 8deg; scale: 1; }
      80% { rotate: 5deg; scale: 1.04; }
      84% { rotate: 10.5deg; }
      88% { rotate: 6.5deg; }
      92% { rotate: 9deg; }
      96% { rotate: 7.6deg; scale: 1; }
    }
    @media (prefers-reduced-motion: reduce) {
      .section-masterplan-clean.mp-video-active.mp-ended .mp-clean-media > .mp-phase-count { animation: none; }
    }

    .section-masterplan-clean.mp-video-active.mp-ended[data-phase="1"] .mp-phase-card { bottom: calc(40px + 10svh) !important; }
    .mp-phase-count-row:empty, .mp-phase-count-row:not(:has(> :not([style*="none"]))) { display: none !important; }
    .mp-phase-status {
      font-size: 12.5px !important; line-height: 1.35 !important; padding: 6px 14px !important;
      max-width: 270px; margin: 0 auto; justify-content: center;
    }

    .mp-phase-list:not([style*="none"]) { display: flex !important; }
    .mp-phase-list { flex-wrap: wrap; justify-content: center; gap: 14px 6px !important; margin-top: 16px !important; max-width: 340px; margin-left: auto; margin-right: auto; }
    .mp-phase-list span {
      flex: 0 0 calc(33.333% - 6px); display: flex !important; flex-direction: column; align-items: center;
      gap: 7px !important; white-space: normal !important; text-align: center;
      font-size: 13px !important; line-height: 1.25; color: rgba(255, 255, 255, 0.86);
    }
    .mp-phase-list span::before {
      width: 26px !important; height: 26px !important; transform: none !important;
      background: var(--accent-color, #81B873) !important;
      -webkit-mask: no-repeat center / contain; mask: no-repeat center / contain;
    }
    .mp-phase-list span[data-ic="spa"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20c-4 0-7-3-7-7 3 0 5 1.5 7 4 2-2.5 4-4 7-4 0 4-3 7-7 7zM12 17c-1.6-2-1.6-6 0-9 1.6 3 1.6 7 0 9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20c-4 0-7-3-7-7 3 0 5 1.5 7 4 2-2.5 4-4 7-4 0 4-3 7-7 7zM12 17c-1.6-2-1.6-6 0-9 1.6 3 1.6 7 0 9z'/%3E%3C/svg%3E"); }
    .mp-phase-list span[data-ic="food"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3v6a2 2 0 0 0 4 0V3M7 11v10M18 3c-2 0-3.2 2.6-3.2 6.5H18V21'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3v6a2 2 0 0 0 4 0V3M7 11v10M18 3c-2 0-3.2 2.6-3.2 6.5H18V21'/%3E%3C/svg%3E"); }
    .mp-phase-list span[data-ic="event"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h4l-.4 5a1.6 1.6 0 0 1-3.2 0zM9 9.6V20M6.6 20h4.8M13 3h4l-.4 5a1.6 1.6 0 0 1-3.2 0zM15 9.6V20M12.6 20h4.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h4l-.4 5a1.6 1.6 0 0 1-3.2 0zM9 9.6V20M6.6 20h4.8M13 3h4l-.4 5a1.6 1.6 0 0 1-3.2 0zM15 9.6V20M12.6 20h4.8'/%3E%3C/svg%3E"); }
    .mp-phase-list span[data-ic="heart"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); }
    .mp-phase-list span[data-ic="villa"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11l8-6 8 6M6 9.6V20h12V9.6M10 20v-5h4v5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11l8-6 8 6M6 9.6V20h12V9.6M10 20v-5h4v5'/%3E%3C/svg%3E"); }
    .mp-phase-list span[data-ic="leaf"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 6-14 14-14 0 8-6 14-14 14zM5 19l7-7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 6-14 14-14 0 8-6 14-14 14zM5 19l7-7'/%3E%3C/svg%3E"); }

    /* «Усі записи» — під картками праворуч, дрібніше */
    .bl-grid + .bl-all { display: flex; align-items: center; width: max-content; margin: 16px 0 0 auto; font-size: 26px !important; gap: 10px; }
    .bl-grid + .bl-all span { font-size: 26px !important; }
    .bl-grid + .bl-all svg { width: 24px; height: 24px; }

    /* генплан: піли черг під картою */
    .mp-pills { display: flex; gap: 8px; padding: 16px 20px 0; position: relative; z-index: 6; line-height: normal; }
    .mp-pills button {
      flex: 1; height: 46px; border-radius: 999px; border: 1px solid rgba(129,184,115,0.45);
      background: rgba(129,184,115,0.1); color: #FFFFFF; cursor: pointer;
      font-family: var(--sub-font); font-size: clamp(15px, 3.85vw, 23px); font-weight: 700;
    }
    .section-masterplan-clean.mp-video-active .mp-pills { display: none; }   /* під час прольоту в чергу */
    .mp-pills button:active { background: var(--accent-color, #81B873); color: #0E1F0B; }

    /* перша черга: довгий текст згорнутий */
    .phase1-lead.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
    .m-more {
      display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px;
      padding: 0; border: none; background: none; cursor: pointer;
      font-family: var(--sub-font); font-size: clamp(16px, 4.1vw, 25px); font-weight: 700; color: var(--accent-color, #81B873);
    }

    /* липка нижня панель заявки */
    .m-cta-bar {
      display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; z-index: 998;
      bottom: calc(12px + env(safe-area-inset-bottom)); padding: 8px; border-radius: 999px;
      background: rgba(14, 18, 15, 0.92); box-shadow: 0 12px 34px rgba(0,0,0,0.5);
      transform: translateY(140%); transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .m-cta-bar.is-on { transform: none; }
    body.m-menu-open .m-cta-bar { transform: translateY(140%); }
    body:has(.mp-video-active) .m-cta-bar { transform: translateY(140%); }   /* не заступає картку черги після прольоту */
    .mp-phase-title { text-wrap: balance; }
    .m-cta-main {
      flex: 1; display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 999px;
      background: var(--top-btn-bg, #DEF7D7); color: #12240E; text-decoration: none;
      font-family: var(--sub-font); font-size: clamp(15px, 3.85vw, 23px); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
    }
    .m-cta-call {
      flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%;
      background: var(--accent-color, #81B873); color: #0E1F0B;
    }
    .m-cta-call svg { width: 20px; height: 20px; }
    .site-footer { padding-bottom: calc(158px + 70px); }

    /* ---------- ПРОДУКТИВНІСТЬ: розмиття фону на телефоні дороге ---------- */
    .pi-card, .pi-feature, .phase1-metric-card, .phase1-trust-card, .stat-card, .mp-address, .bs-card {
      backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    }
  }

/* телефон: «Ваш коментар» — рядок із плюсиком; поле з'являється лише на тап */
@media (max-width: 767px) {
  .contacts-comment .contacts-label { display: flex; align-items: center; justify-content: space-between; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .contacts-comment .contacts-label::after { content: '+'; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid rgba(129,184,115,.55); color: #81B873; font: 400 20px/1 'Manrope', sans-serif; transition: transform .4s cubic-bezier(0.16,1,0.3,1); }
  .contacts-comment.is-open .contacts-label::after { transform: rotate(45deg); }
  .contacts-comment .contacts-textarea { display: none; }
  .contacts-comment.is-open .contacts-textarea { display: block; animation: ccOpen .45s cubic-bezier(0.16,1,0.3,1); }
  @keyframes ccOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* ЄДИНИЙ ШРИФТ КНОПОК — еталон .cta-btn-numo .action-pill: Manrope 800, капс, розрядка .08em */
.stats-cta-btn, .btn-contacts-submit, .capsule-label {
  font-family: 'Manrope', -apple-system, sans-serif !important; font-weight: 800 !important;
  text-transform: uppercase; letter-spacing: .08em !important; font-size: max(12px, 0.88vw) !important;
}
@media (max-width: 767px) {
  .stats-cta-btn, .btn-contacts-submit, .capsule-label { font-size: clamp(13px, 3.8vw, 16px) !important; }
}

/* ПЛАНШЕТ (768–1023): шапка не вміщала все в рядок — «Mandra Petrichor» налазив на логотип, мова на «Контакти».
   Телефон з шапки ховаємо (він є в «Онлайн заявці» й у футері), пункти меню — читабельним кеглем і щільніше. */
@media (min-width: 768px) and (max-width: 1023px) {
  .top-navbar .phone-capsule { display: none !important; }
  .top-navbar .nav-menu { gap: 12px; margin-inline: 12px; }
  .top-navbar .nav-link { font-size: 9.5px; letter-spacing: .04em; white-space: nowrap; }
  .top-navbar .btn-top-accent { white-space: nowrap; font-size: 10px !important; padding: 10px 14px !important; }
}

  /* ============================================================
     ПОПАП «ОНЛАЙН ЗАЯВКА» (assets/lead.js): картка в правому нижньому куті, не модальна — сторінка
     під нею гортається далі. Поля й кнопка — з форми контактів. На телефоні — аркуш знизу.
     ============================================================ */
  .ld { position: fixed; z-index: 1030; inset: auto 28px 28px auto; margin: 0; padding: 0; border: 0; width: min(410px, calc(100vw - 56px));
    max-width: none; max-height: calc(100svh - 56px); background: transparent; color: #fff; transform-origin: 100% 100%; }
  /* затемнення всього сайту — акцент на формі */
  .ld-dim { position: fixed; inset: 0; z-index: 1020; background: rgba(6, 8, 6, 0.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none; transition: opacity 0.45s ease; }
  html.ld-open .ld-dim { opacity: 1; pointer-events: auto; }
  .ld[open] { display: flex; animation: ldIn 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
  .ld.is-closing { animation: ldOut 0.3s cubic-bezier(0.7, 0, 0.84, 0) forwards; }
  @keyframes ldIn { from { opacity: 0; transform: translateY(18px) scale(0.92); } }
  @keyframes ldOut { to { opacity: 0; transform: translateY(12px) scale(0.95); } }
  .ld-card { display: flex; flex-direction: column; width: 100%; min-height: 0; border-radius: 22px; overflow: hidden; background: #121512;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.07); }
  .ld-who { display: flex; align-items: center; gap: 12px; padding-right: 44px; }
  .ld-who img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--accent-color); }
  .ld-who p { display: flex; flex-direction: column; gap: 3px; margin: 0; }
  .ld-who b { font: 700 14.5px/1.2 'Manrope', sans-serif; color: #fff; }
  .ld-who em { font: 600 12px/1.2 'Manrope', sans-serif; font-style: normal; color: var(--accent-color); display: inline-flex; align-items: center; gap: 6px; }
  .ld-who em::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-color); box-shadow: 0 0 0 3px rgba(129, 184, 115, 0.25); animation: ldPulse 2s ease-in-out infinite; }
  @keyframes ldPulse { 50% { box-shadow: 0 0 0 6px rgba(129, 184, 115, 0); } }
  .ld-x { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: rgba(14, 16, 13, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; cursor: pointer;
    transition: background 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
  .ld-x:hover { background: rgba(14, 16, 13, 0.8); transform: rotate(90deg); }
  .ld-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
  .ld-form { position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 0; padding: 22px 24px 24px; overflow-y: auto; overscroll-behavior: contain; }
  .ld-k { margin: 0; color: var(--accent-color); font: 800 11px/1 'Unbounded', sans-serif; letter-spacing: 0.16em; text-transform: uppercase; }
  .ld-t { margin: -4px 0 0; font: 800 22px/1.1 'Unbounded', sans-serif; letter-spacing: -0.03em; text-wrap: balance; }
  .ld-d { margin: -4px 0 2px; font: 500 14px/1.5 'Manrope', sans-serif; color: rgba(255, 255, 255, 0.66); text-wrap: pretty; }
  .ld-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ld .contacts-input { padding: 13px 16px; font-size: 15px; }
  .ld .contacts-label { font-size: 11px; }
  .ld-set { margin: 0; padding: 0; border: 0; min-width: 0; }
  .ld-set legend { padding: 0; margin-bottom: 8px; }
  .ld-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .ld-chip { position: relative; cursor: pointer; }
  .ld-chip input { position: absolute; opacity: 0; pointer-events: none; }
  .ld-chip span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; border-radius: 999px; font: 600 13px/1 'Manrope', sans-serif;
    color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
  .ld-chip:hover span { box-shadow: inset 0 0 0 1px rgba(129, 184, 115, 0.6); }
  .ld-chip:active span { transform: scale(0.96); }
  .ld-chip input:checked + span { background: var(--accent-color); color: #0B0F0C; box-shadow: none; }
  .ld-chip input:focus-visible + span { outline: 2px solid #DEF7D7; outline-offset: 2px; }
  /* час дзвінка — одним рядком: п'ять рівних кнопок */
  .ld-time { flex-wrap: nowrap; gap: 5px; }
  .ld-time .ld-chip { flex: 1 1 0; min-width: 0; }
  .ld-time .ld-chip span { width: 100%; justify-content: center; padding: 0 4px; font-size: 12.5px; white-space: nowrap; }
  .ld-via .ld-chip { flex: 1 1 0; } .ld-via .ld-chip span { width: 100%; justify-content: center; }
  .ld .btn-contacts-submit { margin-top: 2px; padding: 15px 22px; }
  .ld-g { margin: 0; text-align: center; font: 500 11.5px/1.4 'Manrope', sans-serif; color: rgba(255, 255, 255, 0.42); }
  .ld-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px; text-align: center;
    background: #121512; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s 0.45s; }
  .ld-done span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--accent-color); color: #0B0F0C; }
  .ld-done svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
  .ld-done b { font: 800 20px/1.2 'Unbounded', sans-serif; }
  .ld-done p { margin: 0; font: 500 14px/1.5 'Manrope', sans-serif; color: rgba(255, 255, 255, 0.68); }
  .ld-form.is-sent .ld-done { opacity: 1; visibility: visible; transition: opacity 0.45s ease; }
  .ld-form.is-sent .ld-done svg { transition: stroke-dashoffset 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; stroke-dashoffset: 0; }

  /* кругла кнопка з фото консультанта в тому ж куті (комп'ютер; на телефоні — нижня панель) */
  .ld-fab { position: fixed; z-index: 990; right: 28px; bottom: 28px; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: #121512; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 0 3px var(--accent-color);
    opacity: 0; transform: translateY(24px) scale(0.85); pointer-events: none;
    transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
  .ld-fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .ld-fab.is-on:hover { transform: scale(1.06); }
  html.ld-open .ld-fab { opacity: 0; transform: scale(0.6); pointer-events: none; }
  .ld-fab img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
  .ld-fab i { position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-color); box-shadow: 0 0 0 3px #121512; }
  .ld-fab i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--accent-color); animation: ldPing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite; }
  @keyframes ldPing { 75%, 100% { transform: scale(2.4); opacity: 0; } }
  .ld-fab span { position: absolute; right: calc(100% + 14px); top: 50%; padding: 10px 16px; border-radius: 999px; white-space: nowrap; background: #DEF7D7; color: #0B0F0C;
    font: 700 13px/1 'Manrope', sans-serif; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0; transform: translate(8px, -50%); pointer-events: none;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
  .ld-fab:hover span, .ld-fab:focus-visible span { opacity: 1; transform: translate(0, -50%); }
  body.mp-video-active .ld-fab { opacity: 0; pointer-events: none; }
  /* Telegram у куті — кружок із самолётиком. Комп'ютер: при наведенні кружок «капелькою» пружинить, самолётик підіймається,
     а під ним усередині кружка вискакує «Tg bot». Телефон: напис під самолётиком видно завжди (наведення немає). */
  .ld-tg { position: fixed; z-index: 990; right: 30px; bottom: 106px; display: block; width: 60px; height: 60px; text-decoration: none; color: #fff;
    opacity: 0; transform: translateY(16px) scale(0.7); pointer-events: none;
    transition: opacity 0.4s ease 0.12s, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s; }
  .ld-tg.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .ld-tg-ic { position: absolute; inset: 0; border-radius: 50%;
    background: linear-gradient(160deg, #3CC3FF 0%, #1C9BE0 55%, #0A7FC4 100%);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  .ld-tg-ic svg { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -12px 0 0 -14px; fill: #fff;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
  .ld-tg-t { position: absolute; left: 0; right: 0; bottom: 11px; text-align: center; font: 800 9px/1 'Manrope', sans-serif; letter-spacing: 0.06em;
    text-transform: uppercase; color: #fff; white-space: nowrap; opacity: 0; transform: translateY(6px) scale(0.4);
    transition: opacity 0.2s ease, transform 0.45s cubic-bezier(0.34, 1.8, 0.64, 1); }
  .ld-tg:hover .ld-tg-ic { animation: ldDrop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 16px 34px rgba(10, 127, 196, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  .ld-tg:hover .ld-tg-ic svg, .ld-tg:focus-visible .ld-tg-ic svg { transform: translateY(-7px) scale(0.86); }
  .ld-tg:hover .ld-tg-t, .ld-tg:focus-visible .ld-tg-t { opacity: 1; transform: none; transition-delay: 0.08s; }
  @keyframes ldDrop {   /* капелька: стиснулась — бумс — розтяглась і стала колом */
    0% { transform: scale(1); border-radius: 50%; }
    30% { transform: scale(1.16, 0.9); border-radius: 48% 52% 46% 54%; }
    55% { transform: scale(0.94, 1.08); border-radius: 52% 48% 54% 46%; }
    80% { transform: scale(1.04, 0.98); }
    100% { transform: scale(1.06); border-radius: 50%; }
  }
  .ld-tg:hover .ld-tg-ic { transform: scale(1.06); }
  .ld-tg:focus-visible { outline: none; } .ld-tg:focus-visible .ld-tg-ic { outline: 2px solid #DEF7D7; outline-offset: 3px; }
  html.ld-open .ld-tg, body.mp-video-active .ld-tg { opacity: 0; transform: scale(0.6); pointer-events: none; }

  @media (max-width: 767px) {
    .ld-fab { display: none; }
    /* телефон: кружок над нижньою панеллю праворуч, «Tg bot» під самолётиком видно завжди */
    .ld-tg { right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); width: 62px; height: 62px; }
    .ld-tg-ic svg { transform: translateY(-7px) scale(0.86); }
    .ld-tg-t { opacity: 1; transform: none; bottom: 12px; }
    .ld-tg:hover .ld-tg-ic { animation: none; transform: none; }
    body.m-menu-open .ld-tg { opacity: 0; pointer-events: none; }
    .ld { inset: auto 0 0 0; width: 100%; max-height: 90svh; transform-origin: 50% 100%; }
    .ld[open] { animation-name: ldUp; }
    .ld.is-closing { animation-name: ldDown; }
    @keyframes ldUp { from { transform: translateY(100%); } }
    @keyframes ldDown { to { transform: translateY(100%); } }
    .ld-card { border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.07); }
    .ld-form { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
    .ld .contacts-input { font-size: 16px !important; min-height: 48px; }   /* 16 px — iOS не зумить поле */
    .ld .contacts-label { font-size: 11px !important; }
    .ld .btn-contacts-submit { height: 52px; font-size: 15px !important; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ld[open], .ld.is-closing { animation-duration: 0.01s; }
    .ld-fab i::after, .ld-who em::before { animation: none; }
    .ld-tg { transition: opacity 0.2s; transform: none; }
    .ld-tg:hover .ld-tg-ic { animation: none; }
    .ld-dim { transition: none; }
  }

/* Меню з шести пунктів (додано «Ресторан»): пункти в один рядок, проміжок трохи щільніший */
@media (min-width: 1024px) {
  .top-navbar .nav-menu { gap: 1.9vw; }
  .top-navbar .nav-link { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1599px) { .top-navbar .nav-menu { gap: 1.5vw; } }
/* 1024–1365: шість пунктів не вміщаються разом із телефоном — телефон ховаємо (він є в «Онлайн заявці» й у футері), як на планшеті */
@media (min-width: 1024px) and (max-width: 1365px) { .top-navbar .phone-capsule { display: none !important; } }
