/* =====================================================================
   SUPERALBUM — ДИЗАЙН-СИСТЕМА
   Один файл: токени → база → компоненти → секції → адаптив → рух.
   Стиль: сучасний мінімалізм, багато повітря, велика типографіка.
   ===================================================================== */

/* ---------- 1. ТОКЕНИ ---------- */
:root{
  /* Кольори */
  --ink:        #141416;   /* основний текст, чорні кнопки */
  --ink-soft:   #3c3c42;
  --muted:      #6e6e73;   /* другорядний текст (01.10.2026: було #86868b — 3,6:1 на білому, нижче AA; тепер 5,1:1 на #fff, 4,7:1 на #f6f6f7) */
  --line:       #e8e8ea;   /* тонкі лінії */
  --bg:         #ffffff;
  --bg-soft:    #f6f6f7;   /* мʼякі секції */
  --bg-warm:    #faf8f5;
  --accent:     #0a6cff;   /* акцент/посилання */
  --gold:       #b7986a;   /* преміальний акцент, дуже дозовано */
  --gold-ink:   #6b5a3c;   /* темне золото для тексту (контраст AA) */
  --on-dark:    #ffffff;

  /* Типографіка */
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Форма */
  --radius:     14px;
  --radius-lg:  22px;
  --radius-pill:999px;

  /* Тіні */
  --shadow-sm:  0 2px 10px rgba(20,20,22,.05);
  --shadow-md:  0 10px 34px rgba(20,20,22,.08);
  --shadow-lg:  0 24px 60px rgba(20,20,22,.12);

  /* Рух */
  --ease:       cubic-bezier(.22,1,.36,1);
  --ease-soft:  cubic-bezier(.16,1,.3,1);

  /* Розкладка */
  --maxw:       1260px;
  --gap:        clamp(16px, 3vw, 28px);
  --section-y:  clamp(56px, 9vw, 120px);
}

/* ---------- 2. БАЗА / RESET ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* 04.10.2026 власник: «як листаєш сайт на телефоні — часто заїжджає вправо чи вліво». Сторінка НІКОЛИ не гортається вбік:
   clip (не hidden!) не створює окремого прокручування, тож position:sticky і стрічки .m-rail працюють як раніше;
   overscroll-behavior-x прибирає «пружинку» вбік. Старі iPhone (без clip) — запасний варіант через html. */
html, body{ overflow-x: clip; }
body{ position: relative; }   /* абсолютні елементи без позиціонованого предка теж обрізаються (інакше могли б «розширити» сторінку) */
@supports not (overflow: clip){ html{ overflow-x: hidden; } }
@media (hover:none) and (pointer:coarse){ html, body{ overscroll-behavior-x: none; } }   /* лише сенсорні: на ПК не чіпаємо жест «назад» тачпадом */
body{
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4,p,ul,ol,figure,blockquote{ margin: 0; }
ul,ol{ padding: 0; list-style: none; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; }
:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container{ width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }

/* 04.10.2026: прихована кнопка — без left:-9999px (на iPhone відсунуті за край елементи дають тягнути сторінку вбік) */
.skip-link{
  position: absolute; left: 0; top: 0; z-index: 300;   /* вище смужки новин (z 200), щоб при фокусі було видно */
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
  width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus, .skip-link:focus-visible{ width: auto; height: auto; overflow: visible; clip-path: none; }

/* ---------- 3. ТИПОГРАФІКА ---------- */
h1,h2,h3,h4{ line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
.hero-title{ font-size: clamp(34px, 6.2vw, 66px); font-weight: 800; letter-spacing: -.03em; }
h2{ font-size: clamp(26px, 4vw, 42px); }
h3{ font-size: clamp(19px, 2.4vw, 22px); font-weight: 700; }
.lead{ font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-soft); line-height: 1.55; }
.eyebrow{
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-sub{ color: var(--muted); font-size: 17px; max-width: 52ch; margin-top: 12px; }

/* ---------- 4. КНОПКИ ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border: 1px solid transparent; border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:active{ transform: scale(.97); }
.btn-sm{ padding: 11px 18px; font-size: 15px; }
.btn-primary{ background: var(--ink); color: var(--on-dark); }
.btn-primary:hover{ background: #000; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--ink); background: var(--bg-soft); }
.btn-light{ background: #fff; color: var(--ink); }
.btn-light:hover{ box-shadow: var(--shadow-lg); transform: translateY(-1px); }

/* ---------- 5. ШАПКА ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,251,253,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled{ border-bottom-color: rgba(0,0,0,.09); background: rgba(251,251,253,.82); }
/* На сторінках з героєм шапка накладається на герой (fixed), щоб прозоре меню було над темним фото, а не над білим фоном */
body.has-hero .site-header{ position: fixed; left: 0; right: 0; }

/* Верхня панель новин (announcement bar). Висоту міряє JS → --tb-h; зсуваємо контент і шапку. */
.sa-topbar{ position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: #fff; font-size: 13.5px; line-height: 1.35; padding: 8px 42px 8px 16px; text-align: center; }
.sa-topbar .sa-tb-tag{ flex: 0 0 auto; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--gold); color: #fff; padding: 3px 8px; border-radius: 999px; }
.sa-topbar .sa-tb-msg{ min-width: 0; }
.sa-topbar a.sa-tb-link{ color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.sa-topbar .sa-tb-x{ position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border: none; background: transparent; color: rgba(255,255,255,.7); font-size: 18px; line-height: 1; cursor: pointer; border-radius: 6px; }
.sa-topbar .sa-tb-x:hover{ background: rgba(255,255,255,.14); color: #fff; }
@media(max-width: 560px){ .sa-topbar{ font-size: 12px; padding: 7px 38px 7px 12px; gap: 7px; } .sa-topbar .sa-tb-tag{ display: none; } }
html.has-topbar body{ padding-top: var(--tb-h, 38px); }
html.has-topbar .site-header{ top: var(--tb-h, 38px); }
.header-inner{ display: flex; align-items: center; justify-content: space-between; height: 48px; gap: 16px; }
.brand{ display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
.brand-mark{ width: 18px; height: 18px; border-radius: 6px; background: var(--ink); position: relative; flex: 0 0 auto; }
.brand-mark::after{ content:""; position:absolute; inset: 5px 5px auto auto; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.brand-logo{ height: 30px; width: auto; display: block; }
.brand-logo-light{ display: none; }
body.has-hero .site-header:not(.scrolled) .brand-logo-dark{ display: none; }
body.has-hero .site-header:not(.scrolled) .brand-logo-light{ display: block; }
.site-footer .brand-logo-dark{ display: block; }
.site-footer .brand-logo-light{ display: none; }
.nav{ display: none; flex: 1; justify-content: center; align-items: center; gap: clamp(12px, 1.7vw, 24px); }
.nav a, .nav-drop-btn{ font-size: 13px; font-weight: 400; color: rgba(29,29,31,.82); letter-spacing: -.01em; white-space: nowrap; transition: color .2s; }
.nav a:hover, .nav-drop-btn:hover{ color: #1d1d1f; }
/* Випадне меню «Випускні альбоми» */
.nav-drop{ position: relative; display: inline-flex; align-items: center; }
.nav-drop-btn{ font-family: inherit; background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 0; }
.nav-drop-btn .caret{ font-size: 8px; transition: transform .25s var(--ease); }
.nav-drop:hover .nav-drop-btn .caret, .nav-drop.open .nav-drop-btn .caret{ transform: rotate(180deg); }
.nav-drop-menu{ position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); min-width: 280px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 5px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease); z-index: 120;
  /* «Ще» (15 пунктів) вище за екран ноутбука, а шапка fixed — без обмеження нижні пункти недосяжні (01.10.2026) */
  max-height: calc(100vh - var(--tb-h, 0px) - 72px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.nav-drop::after{ content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu{ opacity: 1; visibility: visible; transform: translateX(-50%) translateY(7px); }
/* Esc закрив меню, а курсор ще над ним — ховаємо до відведення миші (js/main.js) */
.nav-drop.esc:not(.open) .nav-drop-menu{ opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(10px); }
.nav-drop.esc:not(.open) .nav-drop-btn .caret{ transform: none; }
.nav-drop-menu a{ display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 14px; border-radius: 9px; color: var(--ink) !important; white-space: nowrap; }
.nav-drop-menu .nav-sub-desc{ line-height: 1.3; }
.nav-drop-menu .nav-sep{ height: 1px; background: var(--line); border: 0; margin: 5px 12px; }
.nav-drop-menu a:hover{ background: var(--bg-soft); color: var(--ink) !important; }
.nav-sub-title{ font-size: 14.5px; font-weight: 700; }
.nav-sub-desc{ font-size: 12.5px; font-weight: 500; color: var(--muted); }
.mobile-menu a.mm-sub{ display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.mobile-menu a.mm-sub .nav-sub-title{ font-size: 16.5px; }
.mobile-menu a.mm-sub .nav-sub-desc{ font-size: 13px; }
.header-actions{ display: flex; align-items: center; gap: 14px; }
.nav-cta{ padding: 8px 16px; font-size: 13px; min-height: 44px; }
.header-actions .nav-login{ display: none; padding: 8px 16px; font-size: 13px; min-height: 44px; }
@media (max-width: 360px){ .site-header .header-actions .nav-cta{ display: none; } }
.lang-drop{ position: relative; }
.lang-toggle{ display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink); cursor: pointer; line-height: 1; transition: border-color .2s, background .2s; }
.lang-toggle:hover{ border-color: var(--ink); }
.lang-toggle .caret{ font-size: 9px; color: var(--muted); }
.lang-menu{ position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.lang-drop.open .lang-menu{ opacity: 1; visibility: visible; transform: none; }
.lang-opt{ display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 12px; border-radius: 8px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: background .15s; }
.lang-opt:hover{ background: var(--bg-soft); }
.lang-opt.on{ color: var(--ink); }
.lang-opt.on::after{ content: " ✓"; color: var(--gold); font-weight: 800; }
body.has-hero .site-header:not(.scrolled) .lang-toggle{ background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.26); color: #fff; }
body.has-hero .site-header:not(.scrolled) .lang-toggle .caret{ color: rgba(255,255,255,.7); }
.city-drop{ position: relative; }
.city-btn{ display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; line-height: 1; transition: border-color .2s, background .2s; }
.city-btn:hover{ border-color: var(--ink); }
.city-pin{ width: 14px; height: 14px; color: var(--gold); flex: 0 0 auto; }
.city-btn .caret{ font-size: 10px; color: var(--muted); }
.city-menu{ position: absolute; top: calc(100% + 10px); right: 0; min-width: 244px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.city-drop.open .city-menu{ opacity: 1; visibility: visible; transform: none; }
.city-head{ font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px 12px 8px; }
.city-opt{ display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: 10px; cursor: pointer; font: inherit; text-decoration: none; transition: background .15s; }
.city-opt:hover{ background: var(--bg-soft); }
.city-opt b{ display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.city-opt small{ display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.city-opt.on b::after{ content: " ✓"; color: var(--gold); }
body.has-hero .site-header:not(.scrolled) .city-btn{ background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: #fff; }
body.has-hero .site-header:not(.scrolled) .city-btn .caret{ color: rgba(255,255,255,.7); }
/* «Вхід» над темним фото-героєм (головна, каталоги) — був майже чорний на темному */
body.has-hero .site-header:not(.scrolled) .nav-login{ color: #fff; border-color: rgba(255,255,255,.42); }
body.has-hero .site-header:not(.scrolled) .nav-login:hover{ border-color: #fff; background: rgba(255,255,255,.12); }
@media (max-width: 560px){ .city-cur{ display: none; } .city-btn{ padding: 7px 9px; } }

.nav-toggle{
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: none; background: transparent; cursor: pointer; padding: 0;
}
.nav-toggle span{ width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin-inline: auto; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Мобільне меню */
.mobile-menu{
  position: fixed; inset: 48px 0 auto 0; z-index: 99;
  background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: grid; gap: 4px; padding: 16px clamp(18px,5vw,40px) 26px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .32s var(--ease), opacity .28s;
}
.mobile-menu.open{ transform: none; opacity: 1; pointer-events: auto; }
/* Коли зверху панель новин — мобільне меню має відкриватись під зсунутою шапкою */
html.has-topbar .mobile-menu{ top: calc(var(--tb-h, 38px) + 48px); }
.mobile-menu a{ padding: 14px 6px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child{ border-bottom: none; }
.mobile-menu .mm-label{ font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 16px 6px 2px; }
.mobile-menu a.mm-sub{ padding-left: 20px; font-size: 16.5px; }

/* ---------- Форма заявки (лід) ---------- */
.btn.busy{ opacity: .6; pointer-events: none; }
.leadform{ max-width: 560px; margin: 28px auto 0; text-align: left; display: grid; gap: 13px; }
.lead-row{ display: grid; gap: 13px; }
@media (min-width: 560px){ .lead-row.two{ grid-template-columns: 1fr 1fr; } }
.lead-field label{ display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.72); margin-bottom: 7px; }
.lead-field input, .lead-field select, .lead-field textarea{
  width: 100%; height: 52px; padding: 0 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px;
  font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.06);
  transition: border-color .2s, background .2s;
}
.lead-field textarea{ height: auto; min-height: 74px; padding: 13px 15px; resize: vertical; }
.lead-field select{ appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.lead-field select option{ color: #111; }
.lead-field input::placeholder, .lead-field textarea::placeholder{ color: rgba(255,255,255,.42); }
.lead-field input:focus, .lead-field select:focus, .lead-field textarea:focus{ outline: none; border-color: #fff; background: rgba(255,255,255,.1); }
.leadform .btn-block{ width: 100%; margin-top: 3px; }
.lead-err{ display: none; background: rgba(255,59,48,.14); border: 1px solid rgba(255,59,48,.4); color: #ffd7d3; font-size: 13.5px; font-weight: 600; padding: 11px 14px; border-radius: 12px; }
.lead-note{ font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 2px; text-align: center; line-height: 1.5; }
.lead-thanks{ display: none; text-align: center; max-width: 520px; margin: 24px auto 0; }
.lead-thanks .done-badge{ width: 66px; height: 66px; border-radius: 50%; background: rgba(52,199,89,.16); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.lead-thanks .done-badge svg{ width: 32px; height: 32px; stroke: #4ade80; fill: none; stroke-width: 2.5; }
.lead-thanks h3{ font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.lead-thanks p{ color: rgba(255,255,255,.66); font-size: 15.5px; margin-bottom: 18px; line-height: 1.5; }
.lead-alt{ display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-ghost-light{ background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.42); }
.btn-ghost-light:hover{ border-color: #fff; background: rgba(255,255,255,.1); }

/* ---------- 6. СЕКЦІЇ ---------- */
.section{ padding-block: var(--section-y); }
.section-soft{ background: var(--bg-soft); }
.section-head{ max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2{ margin-top: 4px; }
.grid{ display: grid; gap: var(--gap); }

/* ---------- 7. ГЕРОЙ ---------- */
.hero{ padding-block: clamp(40px, 7vw, 84px) var(--section-y); }
.hero-inner{ display: grid; gap: clamp(30px, 5vw, 56px); align-items: center; }
.hero-copy .lead{ margin-top: 20px; max-width: 44ch; }
.hero-cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust{
  display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-trust li{ font-size: 15px; color: var(--muted); }
.hero-trust strong{ display: block; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }

/* ---------- 8. ПЛЕЙСХОЛДЕРИ ФОТО (тимчасово, поки без справжніх знімків) ---------- */
.ph{
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(120% 120% at 15% 10%, #f1efe9 0%, #e9e6df 45%, #e0ddd6 100%);
  display: flex; align-items: center; justify-content: center; min-height: 220px;
  box-shadow: var(--shadow-md);
}
.ph::after{ content:""; position:absolute; inset:0; background: linear-gradient(140deg, rgba(255,255,255,.35), transparent 40%); }
.ph-label{ font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #a99f8e; text-transform: uppercase; }
.ph-hero{ aspect-ratio: 4/5; min-height: 300px; }
.ph-album{ border-radius: 0; aspect-ratio: 4/3; box-shadow: none; }

/* ---------- 9. КАРТКИ ---------- */
.card{ background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .25s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

/* Переваги */
.features-grid{ grid-template-columns: 1fr; }
.feature{ padding: 26px 24px; }
.feature-ic{ display: inline-flex; width: 48px; height: 48px; border-radius: 13px; background: var(--bg-soft); align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-ic svg{ width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3{ margin-bottom: 8px; }
.feature p{ color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* Альбоми */
.albums-grid{ grid-template-columns: 1fr; }
.album{ overflow: hidden; display: flex; flex-direction: column; }
.album-featured{ border-color: var(--ink); position: relative; box-shadow: var(--shadow-md); }
.album-badge{ position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-pill); }
.album-body{ padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.album-body h3{ margin-top: 2px; }
.album-body > p{ color: var(--muted); font-size: 15.5px; }
.album-foot{ margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price{ font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.price-from{ font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }

/* Кроки */
.steps{ grid-template-columns: 1fr; counter-reset: step; }
.step{ padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step-num{ font-size: 15px; font-weight: 800; color: var(--gold); letter-spacing: .06em; }
.step h3{ margin: 12px 0 8px; }
.step p{ color: var(--muted); font-size: 15.5px; }

/* Відгуки */
.quotes{ grid-template-columns: 1fr; }
.quote{ padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote{ font-size: 18px; line-height: 1.5; font-weight: 500; }
.quote figcaption{ font-size: 14px; color: var(--muted); }

/* ---------- 10. ЗАКЛИК ---------- */
.cta-band{ background: var(--ink); color: var(--on-dark); padding-block: clamp(56px, 9vw, 110px); }
.cta-inner{ text-align: center; max-width: 640px; }
.cta-band h2{ font-size: clamp(28px, 4.4vw, 46px); }
.cta-band p{ color: rgba(255,255,255,.7); font-size: 18px; margin: 16px auto 30px; max-width: 46ch; }
.cta-note{ font-size: 14px !important; margin-top: 18px !important; color: rgba(255,255,255,.5) !important; }

/* ---------- 11. ПІДВАЛ ---------- */
.site-footer{ background: var(--bg-soft); padding-top: clamp(48px, 7vw, 80px); }
.foot-grid{ display: grid; gap: 34px; padding-bottom: 40px; }
.foot-brand p{ color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 34ch; }
.foot-col h4{ font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.foot-col{ display: flex; flex-direction: column; gap: 4px; }
.foot-col a{ color: var(--ink-soft); font-size: 15.5px; padding: 8px 0; transition: color .2s; }
.foot-col a:hover{ color: var(--ink); }
/* Довгий стовпчик навігації (9+ посилань) — у 2 колонки, щоб підвал не був задовгим */
@media (min-width: 380px){
  .foot-col:has(> a:nth-of-type(9)){ display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); column-gap: 22px; row-gap: 0; align-content: start; }
  .foot-col:has(> a:nth-of-type(9)) h4{ grid-column: 1 / -1; }
  .foot-col:has(> a:nth-of-type(9)) a{ padding: 6px 0; font-size: 14.5px; }
}
.foot-c{ display: flex; align-items: center; gap: 10px; }
.foot-ico{ width: 17px; height: 17px; flex: 0 0 auto; opacity: .7; }
.foot-social{ display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.foot-social a{ display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-soft); transition: color .2s, border-color .2s, background .2s; }
.foot-social a:hover{ color: var(--ink); border-color: var(--ink); background: var(--bg-soft); }
.foot-social svg{ width: 19px; height: 19px; }
.foot-line{ padding: 3px 0; }
.foot-bottom{ display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- 11b. РЕАЛЬНІ ФОТО + АУДИТОРІЇ + ЗСУ ---------- */
.hero-img{ width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.album-img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--bg-soft); }

/* Портфоліо (масонрі з реальних фото) */
.works-grid{ column-count: 2; column-gap: 14px; }
.work{ width: 100%; display: block; border-radius: var(--radius); margin-bottom: 14px; background: var(--bg-soft); box-shadow: var(--shadow-sm); break-inside: avoid; transition: transform .4s var(--ease), box-shadow .3s; }
.work:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
@media (min-width: 640px){ .works-grid{ column-count: 3; } }
@media (min-width: 1000px){ .works-grid{ column-count: 4; } }

/* Аудиторії («Для кого») */
.audience-grid{ grid-template-columns: 1fr; }
.audience{ padding: 26px 24px; }
.audience-tag{ display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); background: var(--bg-warm); border: 1px solid var(--line); padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 16px; }
.audience h3{ margin-bottom: 8px; }
.audience p{ color: var(--muted); font-size: 15.5px; }

/* Смуга підтримки ЗСУ */
.support{ padding-block: clamp(26px, 5vw, 44px); }
.support-inner{ display: flex; align-items: center; gap: 16px; justify-content: center; text-align: center; flex-wrap: wrap; max-width: 780px; }
.support-inner p{ font-size: 17px; color: var(--ink-soft); }
.support-inner strong{ color: var(--ink); font-weight: 700; }
.support-flag{ width: 34px; height: 23px; border-radius: 5px; flex: 0 0 auto; background: linear-gradient(#4a7dff 0 50%, #ffd23f 50% 100%); box-shadow: var(--shadow-sm); }

/* ---------- 12. РУХ (поява при скролі) ---------- */
.js .reveal{ opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); }
.js .reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1 !important; transform: none !important; transition: none; }
  html{ scroll-behavior: auto; }
}

/* ---------- 13. АДАПТИВ ---------- */
@media (min-width: 640px){
  .features-grid{ grid-template-columns: repeat(2, 1fr); }
  .audience-grid{ grid-template-columns: repeat(3, 1fr); }
  .albums-grid{ grid-template-columns: repeat(3, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .foot-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1120px){
  .nav{ display: flex; }
  .nav-toggle{ display: none; }
  .header-actions .nav-login{ display: inline-flex; }
}
@media (min-width: 900px){
  .features-grid{ grid-template-columns: repeat(4, 1fr); }
  .steps{ grid-template-columns: repeat(5, 1fr); }
  .foot-grid{ grid-template-columns: 1.3fr 1.9fr 0.95fr 1.05fr; }
  .hero-inner{ grid-template-columns: 1.05fr .95fr; }
}

/* ===== Пакети альбомів (пресети цін) — album1-4 / albumsad ===== */
.pk-grid{ display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px){ .pk-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px){ .pk-grid.cols-3{ grid-template-columns: repeat(3, 1fr); } }
.pk-card{ display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; transition: transform .2s var(--ease), box-shadow .25s, border-color .2s; }
.pk-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.pk-card.hot{ border-color: var(--gold); box-shadow: 0 0 0 2px rgba(183,152,106,.18); }
.pk-badge{ align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--gold); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.pk-name{ font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.pk-price{ font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 0; }
.pk-price span{ font-size: 18px; color: var(--muted); font-weight: 700; }
.pk-specs{ list-style: none; padding: 16px 0; margin: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 9px; }
.pk-specs li{ display: flex; justify-content: space-between; gap: 12px; font-size: 14px; align-items: baseline; }
.pk-specs li span{ color: var(--muted); }
.pk-specs li b{ color: var(--ink); font-weight: 700; text-align: right; }
.pk-specs li.plus b{ color: var(--gold-ink, #6b5a3c); }
.pk-card .btn{ margin-top: auto; width: 100%; }
.pk-note{ text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 18px; }

/* ── 4 способи записатись на презентацію (заявка · календар · дзвінок · телеграм) ── */
.bookways-h{ font-size: 15px; font-weight: 800; margin: 0 0 14px; }
.bookways{ display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px){ .bookways{ grid-template-columns: 1fr 1fr; } }
.bw{ display: flex; align-items: center; gap: 14px; padding: 15px 17px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: transform .2s var(--ease), box-shadow .25s, border-color .2s; }
.bw:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: transparent; }
.bw-ic{ width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); color: var(--gold); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.bw-ic svg{ width: 22px; height: 22px; }
.bw-t{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bw-t b{ font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.bw-t small{ font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.section.dark .bookways-h{ color: #fff; }
.section.dark .bw{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section.dark .bw:hover{ background: rgba(255,255,255,.1); box-shadow: none; }
.section.dark .bw-ic{ background: rgba(255,255,255,.1); color: #e7c894; }
.section.dark .bw-t b{ color: #fff; }
.section.dark .bw-t small{ color: rgba(255,255,255,.62); }

/* ═══════════ Акція −300 грн (промо; авто-вимкнення після дедлайну) ═══════════ */
/* Промо-елементи приховані, поки JS не додасть .sa-promo на <html> (до 30.10) */
.promo-only{ display: none !important; }
.sa-promo .promo-only{ display: block !important; }
.pc-was{ text-decoration: line-through; color: var(--muted); font-weight: 600; font-size: .8em; margin-right: 6px; opacity: .85; }

/* Бейдж-стрічка на картці альбому (додається JS) */
.sa-promo .design{ position: relative; }
.promo-flag{ position: absolute; top: 12px; left: 12px; z-index: 4; background: #b23b3b; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; padding: 5px 10px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(178,59,59,.65); pointer-events: none; }

/* Міні-стрічка (головна) */
.promo-mini{ display: flex; align-items: center; gap: 7px 12px; flex-wrap: wrap; justify-content: center; text-align: center; background: radial-gradient(120% 160% at 12% 0%, #23232a, #131316 62%, #0e0e11); color: #fff; border: 1px solid rgba(217,195,156,.28); border-radius: 13px; padding: 8px 15px; box-shadow: var(--shadow-sm); }
.promo-mini .pm-emo{ font-size: 15px; line-height: 1; }
.promo-mini .pm-txt{ font-size: 12.5px; color: rgba(255,255,255,.86); }
.promo-mini .pm-txt b{ color: #f0dcb8; }
.promo-mini .pm-days{ white-space: nowrap; color: #f0dcb8; font-weight: 700; font-size: 12px; }
.promo-mini .btn{ padding: 6px 13px; font-size: 12px; }

/* Великий банер (каталог / промо-блок) */
.promo-bar{ position: relative; overflow: hidden; background: radial-gradient(120% 130% at 88% 0%, #24242b, #131316 60%, #0b0b0d); color: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.promo-bar::after{ content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 10% 8%, rgba(183,152,106,.20), transparent 60%); pointer-events: none; }
.promo-bar-in{ position: relative; z-index: 1; }
.promo-bar .pb-tag{ display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0e0e11; background: #f0dcb8; padding: 6px 13px; border-radius: 999px; }
.promo-bar h2{ color: #fff; font-size: clamp(24px, 4vw, 40px); letter-spacing: -.025em; margin-top: 12px; }
.promo-bar h2 em{ font-style: normal; color: #f0dcb8; }
.promo-bar p{ color: rgba(255,255,255,.8); font-size: 15.5px; line-height: 1.62; max-width: 64ch; margin-top: 10px; }
.promo-bar .pb-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.promo-bar .pb-days{ font-size: 14px; color: #f0dcb8; font-weight: 700; }
.promo-bar .pb-days b{ font-size: 19px; }

/* ===================== MOBILE (Apple-style) — 20260922-010459 ===================== */
/* ===== MOBILE (group A): топбар, шапка, шторка меню, підвал ===== */
@media (max-width:767px){
  /* топбар новин: 1–2 рядки, посилання окремою «пігулкою», × 44px */
  .sa-topbar{ justify-content:flex-start; gap:10px; padding:8px 50px 8px 14px; text-align:left; font-size:12.5px; line-height:1.3; }
  .sa-topbar .sa-tb-msg{ flex:1 1 auto; min-width:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .sa-topbar > a.sa-tb-link{ position:relative; flex:0 0 auto; display:inline-flex; align-items:center; min-height:34px; padding:0 11px; border-radius:999px; background:rgba(255,255,255,.14); text-decoration:none; font-size:12px; }
  .sa-topbar > a.sa-tb-link::before{ content:""; position:absolute; inset:-6px -4px; }
  .sa-topbar .sa-tb-x{ width:44px; height:44px; right:2px; font-size:22px; color:rgba(255,255,255,.8); }

  /* шапка: лого + «Презентація» + бургер (місто й мова — у шторці) */
  .header-inner{ gap:12px; }
  .brand{ flex:0 0 auto; padding-block:7px; margin-block:-7px; }
  .header-actions{ gap:8px; }
  .header-actions .city-drop, .header-actions .lang-drop{ display:none; }
  .nav-cta{ padding:0 16px; }
  .nav-toggle{ width:44px; height:44px; margin-right:-6px; }

  /* шторка меню: прокручується, з безпечною зоною знизу */
  .mobile-menu .mm-tools{ display:flex; gap:10px; padding:2px 0 12px; }
  .mobile-menu .mm-tools .city-btn, .mobile-menu .mm-tools .lang-toggle{ min-height:44px; padding:0 16px; font-size:14px; gap:8px; }
  .mobile-menu .mm-tools .city-cur{ display:inline; }
  .mobile-menu .mm-tools .city-menu, .mobile-menu .mm-tools .lang-menu{ left:0; right:auto; }
  .mobile-menu .mm-tools .city-opt, .mobile-menu .mm-tools .lang-opt{ min-height:44px; }
  .mobile-menu .mm-tools .caret{ font-size:12px; }
  .mobile-menu .mm-label{ font-size:12px; }

  /* підвал */
  .site-footer{ padding-top:44px; }
  .foot-grid{ gap:26px; padding-bottom:26px; }
  .foot-brand p{ font-size:15px; margin-top:12px; }
  .foot-col h4{ margin-bottom:6px; }
  .foot-col a{ font-size:16px; padding:11px 0; }
  .site-footer .foot-grid nav.foot-col{ display:grid; grid-template-columns:1fr 1fr; column-gap:16px; row-gap:0; align-content:start; }
  .site-footer .foot-grid nav.foot-col h4{ grid-column:1 / -1; }
  .site-footer .foot-grid nav.foot-col a{ font-size:15px; padding:11px 0; }
  .foot-c{ min-height:44px; padding:6px 0; }
  .foot-line{ font-size:15px; color:var(--ink-soft); padding:5px 0; }
  .foot-social{ gap:10px; margin-top:6px; }
  .foot-social a{ width:44px; height:44px; }
  .foot-bottom{ flex-wrap:wrap; gap:6px 16px; padding-block:18px; font-size:13px; }
  .foot-bottom a{ display:inline-flex; align-items:center; min-height:44px; }
}
@media (max-width:360px){
  .site-header .header-actions .nav-cta{ display:inline-flex; padding:0 13px; }
  .brand-logo{ height:26px; }
}

/* ===================== MOBILE QA fixes (22.09.2026) ===================== */
@media (max-width:1119px){ .mobile-menu{ bottom:0; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; border-bottom:0; padding-bottom:calc(32px + env(safe-area-inset-bottom)); } }
@media (max-width:767px){
  .leadform *{ min-width:0; }
  .leadform .btn{ white-space:normal; }
  .mobile-menu .mm-tools a.city-opt{ padding:10px 12px; font-size:inherit; font-weight:inherit; border-bottom:0; }
  .sa-topbar{ position:relative; }   /* relative, не static: інакше кнопка ✕ (absolute) злітає на середину екрана */
  html.has-topbar body{ padding-top:0; }
  html.has-topbar .site-header{ top:0; }
  /* сторінки з темним героєм: шапка стоїть ПІД смужкою новин, поки її не прокрутили (інакше смужка ховає логотип і меню) */
  html.has-topbar body.has-hero .site-header:not(.scrolled){ position:absolute; top:var(--tb-h, 0px); }
  html.has-topbar .site-header{ z-index:210; }
  html.has-topbar .mobile-menu{ top:48px; }
  .sa-topbar .sa-tb-msg{ display:block; -webkit-line-clamp:unset; overflow:visible; }
}

/* ===================== ТЕЛЕФОН: універсальна стрічка з гортанням управо (26.09.2026) =====================
   Вмикається ЛИШЕ там, де контейнеру карток дано class="m-rail" (опційно m-rail-sm — вужчі картки).
   Контейнер має лежати прямо в .container (відступи = clamp(18px,5vw,40px)). Крапки/доступність — js/main.js. */
@media (max-width:767px){
  .m-rail{ display:flex !important; flex-wrap:nowrap !important; grid-template-columns:none !important; gap:12px !important;
    overflow-x:auto !important; overflow-y:hidden !important; scroll-snap-type:x mandatory;
    scroll-padding-inline:clamp(18px,5vw,40px); margin-left:calc(-1 * clamp(18px,5vw,40px)) !important; margin-right:calc(-1 * clamp(18px,5vw,40px)) !important;
    margin-bottom:-14px !important; padding:14px clamp(18px,5vw,40px) 24px !important;
    scrollbar-width:none; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; }
  .m-rail::-webkit-scrollbar{ display:none; }
  .m-rail > *{ flex:0 0 min(82%, 340px) !important; max-width:none !important; min-width:0; scroll-snap-align:start; margin:0 !important; }
  .m-rail.m-rail-sm > *{ flex-basis:min(62%, 250px) !important; }
  .m-rail > .reveal{ opacity:1 !important; transform:none !important; }
  .m-dots{ display:flex; justify-content:center; gap:6px; margin-top:4px; }
  .m-dots i{ width:6px; height:6px; border-radius:3px; background:rgba(0,0,0,.18); transition:width .25s, background .25s; }
  .m-dots i.on{ width:18px; background:var(--ink); }
  .dark .m-dots i, .section.dark .m-dots i{ background:rgba(255,255,255,.28); }
  .dark .m-dots i.on, .section.dark .m-dots i.on{ background:#fff; }
}
@media (max-width:767px) and (hover:none){ .m-rail > *:hover{ transform:none; } }
@media (min-width:768px){ .m-dots{ display:none; } }

/* ===================== ТЕЛЕФОН · КОМПАКТ: топбар в 1 рядок, менша шапка, щільніший підвал (27.09.2026) =====================
   Юзер: «все треба маленьке, текста менші». Лише ≤767px; ПК без змін. Короткий текст топбару — LATEST.short у js/main.js. */
.sa-topbar .sa-tb-short{ display:none; }
@media (max-width:767px){
  /* топбар новин: один рядок ~38px — короткий текст + маленька пігулка «Деталі» + × */
  .sa-topbar{ padding:5px 40px 5px 14px; gap:8px; font-size:12px; line-height:1.25; }
  .sa-topbar .sa-tb-full{ display:none; }
  .sa-topbar .sa-tb-short{ display:inline; }
  html body .sa-topbar .sa-tb-msg{ display:block; flex:1 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .sa-topbar > a.sa-tb-link{ min-height:26px; padding:0 10px; font-size:11.5px; }
  .sa-topbar > a.sa-tb-link::before{ inset:-8px -4px; }          /* зона дотику ≈ 42px */
  .sa-topbar .sa-tb-x{ width:40px; height:40px; right:0; font-size:19px; }

  /* шапка: менший логотип і пігулка «Презентація» (зона дотику лишається ~44px) */
  .brand-logo{ height:23px; }
  .site-header .header-actions .nav-cta{ position:relative; min-height:34px; padding:0 14px; font-size:13px; }
  .site-header .header-actions .nav-cta::after{ content:""; position:absolute; inset:-5px -2px; }
  .nav-toggle{ width:40px; height:40px; }

  /* підвал: дрібніше й щільніше */
  .site-footer{ padding-top:34px; }
  .foot-grid{ gap:20px; padding-bottom:20px; }
  .foot-brand p{ font-size:13.5px; margin-top:8px; }
  .foot-col h4{ font-size:11px; margin-bottom:2px; }
  .site-footer .foot-grid nav.foot-col a{ font-size:14px; padding:8px 0; }
  .site-footer .foot-col a.foot-c{ min-height:40px; padding:6px 0; font-size:14px; }
  .foot-line{ font-size:13.5px; padding:3px 0; }
  .foot-social a{ width:40px; height:40px; }
  .foot-bottom{ padding-block:12px; font-size:12px; }
}
@media (max-width:360px){ .brand-logo{ height:21px; } .site-header .header-actions .nav-cta{ padding:0 12px; font-size:12.5px; } }

/* ===================== ТЕЛЕФОН · шапка на сторінках з героєм без стрибка (27.09.2026) =====================
   Було: з 9px прокрутки шапка ставала fixed top:0 і накривала смужку новин, яка ще видна («одне на одне налазить»).
   Стало: шапка в потоці під смужкою, position:sticky — їде вгору разом зі смужкою й прилипає, коли та зникла;
   margin-bottom = −висота шапки (48 + 1px рамка), тож герой, як і раніше, починається під смужкою й лежить під шапкою. */
@media (max-width:767px){
  html body.has-hero .site-header,
  html.has-topbar body.has-hero .site-header:not(.scrolled){ position:sticky; top:0; margin-bottom:-49px; }
}

/* ===================== МЕНЮ-ШТОРКА · компактно (28.09.2026) =====================
   Юзер: «бічна панель мега довга, все велике, відстані дуже великі». Будова — js/main.js buildMenu():
   .mm-tools (місто/мова) → .mm-sec з .mm-grid.mm-tiles (альбоми — 3 плитки) → .mm-main (розділи, 2 колонки)
   → .mm-sec «Ще» (2 колонки, без підписів) → .mm-actions (Вхід + Презентація поруч, прилиплі донизу). ПК-навігацію не чіпає. */
.mobile-menu{ display:flex; flex-direction:column; gap:14px; padding:12px clamp(16px,5vw,40px) 0; }
@media (max-width:1119px){ .mobile-menu{ padding-bottom:0; } }
.mobile-menu .mm-tools{ display:flex; gap:8px; padding:0; }
.mobile-menu .mm-tools .city-btn, .mobile-menu .mm-tools .lang-toggle{ min-height:36px; padding:0 14px; font-size:13.5px; }
.mobile-menu .mm-label{ font-size:10.5px; letter-spacing:.1em; padding:0 2px 6px; }
.mobile-menu .mm-grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); column-gap:14px; }
.mobile-menu .mm-grid a.mm-sub{ min-height:40px; padding:9px 2px; justify-content:center; font-weight:600; border-bottom:1px solid var(--line); }
.mobile-menu .mm-grid a.mm-sub .nav-sub-title{ font-size:14.5px; line-height:1.25; }
.mobile-menu .mm-grid a.mm-sub .nav-sub-desc{ display:none; }
/* альбоми — 3 плитки */
.mobile-menu .mm-grid.mm-tiles{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px; }
.mobile-menu .mm-tiles a.mm-sub{ min-height:52px; padding:8px 10px; align-items:center; text-align:center; border:1px solid var(--line); border-radius:14px; background:#fff; }
.mobile-menu .mm-tiles a.mm-sub .nav-sub-title{ font-size:15px; font-weight:700; }
/* основні розділи — 2 колонки */
.mobile-menu .mm-main{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); column-gap:14px; }
.mobile-menu .mm-main a, .mobile-menu .mm-main a:last-child{ min-height:44px; display:flex; align-items:center; padding:10px 2px; font-size:16px; font-weight:600; border-bottom:1px solid var(--line); }
/* Вхід + Презентація — поруч, прилиплі до низу шторки */
.mobile-menu .mm-actions{ position:sticky; bottom:0; margin:auto calc(-1 * clamp(16px,5vw,40px)) 0; display:grid; grid-template-columns:1fr 1.5fr; gap:8px;
  padding:10px clamp(16px,5vw,40px) calc(10px + env(safe-area-inset-bottom)); background:rgba(255,255,255,.96); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); border-top:1px solid var(--line); }
.mobile-menu .mm-actions a.btn{ min-height:44px; padding:0 14px; font-size:15px; }
.mobile-menu .mm-actions a.btn-ghost{ border:1px solid var(--line); }
.mobile-menu .mm-actions a.btn-primary{ border:1px solid transparent; }

/* ===================== ТЕЛЕФОН · шапка ховається при гортанні вниз (28.09.2026, логіка — js/main.js) ===================== */
@media (max-width:767px){
  .site-header{ transition:transform .28s cubic-bezier(.22,1,.36,1), border-color .3s, background .3s; will-change:transform; }
  .site-header.hdr-hide{ transform:translateY(-105%); }
}
@media (max-width:767px) and (prefers-reduced-motion:reduce){ .site-header{ transition:none; } }

/* ===================== «Професійні пози» + «Світло й техніка» — спільні блоки (01.10.2026) =====================
   Власник: «всюди треба розділ професійні пози, це наша найсильніша фішка»; «професійна техніка найвищого рівня,
   все тільки Apple та Canon»; «працюємо з Profoto, світло виставляємо на професійному рівні»; «навіть у чужих студіях
   привозимо своє обладнання». Розмітку генерує ~/.claude/tools/build_pozy_sections.py (маркери <!-- SA-POZY:START/END -->,
   <!-- SA-TEHNIKA:START/END -->) — правити там, а не в кожній сторінці. Детальна стаття — profesiyni-pozy.html. */
.sa-pz-body{ display:grid; grid-template-columns:1fr; gap:22px; }
.sa-pz-photos{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.sa-pz-ph{ position:relative; margin:0; border-radius:18px; overflow:hidden; background:var(--bg-soft); aspect-ratio:4/3; box-shadow:var(--shadow-sm); }
.sa-pz-ph.sa-pz-tall{ aspect-ratio:3/4; }
.sa-pz-ph img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
@media (hover:hover){ .sa-pz-ph:hover img{ transform:scale(1.035); } }
.sa-pz-ph figcaption{ position:absolute; left:10px; bottom:10px; font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#fff; background:rgba(14,14,16,.62); padding:5px 10px; border-radius:999px; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.sa-pz-vs{ display:grid; grid-template-columns:1fr; gap:12px; }
.sa-pz-col{ border-radius:20px; padding:20px 20px 18px; }
.sa-pz-col h3{ margin:0 0 12px; font-size:12.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.sa-pz-col ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.sa-pz-col li{ position:relative; padding-left:30px; font-size:15.5px; line-height:1.45; }
.sa-pz-col li::before{ position:absolute; left:0; top:1px; width:20px; height:20px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:11px; font-weight:800; }
.sa-pz-no{ background:var(--bg-soft); border:1px solid var(--line); color:var(--muted); }
.sa-pz-no h3{ color:var(--muted); }
.sa-pz-no li{ text-decoration:line-through; text-decoration-color:rgba(134,134,139,.45); }
.sa-pz-no li::before{ content:"✕"; background:#fff; border:1px solid var(--line); color:#a1a1a6; }
.sa-pz-yes{ background:var(--ink); color:#fff; box-shadow:0 18px 44px -18px rgba(20,20,22,.45); }
.sa-pz-yes h3{ color:var(--gold); }
.sa-pz-yes li{ color:rgba(255,255,255,.92); }
.sa-pz-yes li b{ color:#fff; }
.sa-pz-yes li::before{ content:"✓"; background:var(--gold); color:#fff; }
.sa-pz-link{ display:inline-flex; align-items:center; gap:8px; align-self:flex-start; min-height:48px; padding:0 22px; border-radius:999px; background:var(--gold); color:#fff; font-weight:800; font-size:15px; text-decoration:none; transition:background .2s, gap .2s var(--ease); }
.sa-pz-link:hover{ background:var(--gold-ink); gap:12px; }
.sa-pz-side{ display:flex; flex-direction:column; gap:16px; }
@media (min-width:960px){
  .sa-pz-body{ grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:44px; align-items:start; }
  .sa-pz-body .sa-pz-photos{ order:2; }
  .sa-pz-photos.sa-pz-port{ grid-template-columns:repeat(3,minmax(0,1fr)); }   /* вертикальні портрети: на ПК рядок із 3, 4-й лише в стрічці телефону */
  .sa-pz-photos.sa-pz-port > :nth-child(n+4){ display:none; }
}
/* Світло й техніка — темна смуга */
.section.sa-tk{ background:#0e0e10; color:#fff; }
.sa-tk .eyebrow{ color:var(--gold); }
.sa-tk .section-head h2{ color:#fff; }
.sa-tk .section-sub{ color:rgba(255,255,255,.7); max-width:60ch; }
.sa-tk-grid{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:640px){ .sa-tk-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px){ .sa-tk-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
.sa-tk-i{ display:flex; flex-direction:column; gap:8px; padding:20px 18px 20px; border-radius:18px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); }
.sa-tk-ic{ width:42px; height:42px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; background:rgba(183,152,106,.16); color:var(--gold); margin-bottom:4px; }
.sa-tk-ic svg{ width:22px; height:22px; }
.sa-tk-i b{ font-size:17px; font-weight:800; color:#fff; line-height:1.25; }
.sa-tk-i span{ font-size:14.5px; line-height:1.5; color:rgba(255,255,255,.66); }
.sa-tk-foot{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px 24px; margin-top:24px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); }
.sa-tk-foot p{ margin:0; font-size:15px; line-height:1.55; color:rgba(255,255,255,.8); max-width:62ch; }
.sa-tk-foot p b{ color:#fff; }
.sa-tk-foot a{ display:inline-flex; align-items:center; gap:8px; min-height:44px; font-weight:800; font-size:15px; color:var(--gold); text-decoration:none; border-bottom:2px solid rgba(183,152,106,.5); }
.sa-tk-foot a:hover{ border-color:var(--gold); }
@media (max-width:767px){
  .sa-pz-mh{ display:none; }
  .sa-pz-photos.m-rail > .sa-pz-ph{ flex-basis:min(84%, 340px) !important; }
  .sa-pz-photos.m-rail > .sa-pz-ph.sa-pz-tall{ flex-basis:min(62%, 250px) !important; }
  .sa-pz-col{ padding:18px 16px 16px; }
  .sa-pz-col li{ font-size:15px; }
  .sa-pz-link{ align-self:stretch; justify-content:center; }
  .sa-tk-grid.m-rail > .sa-tk-i{ flex-basis:min(72%, 270px) !important; }
}

/* ===================== ТЕЛЕФОН БОКОМ (низький екран ≤500px, ширина ≥768) — як телефон (01.10.2026) =====================
   Було: смужка новин fixed у 2 рядки + шапка постійно займали ~100px із 390 (чверть екрана).
   Стало: смужка в 1 рядок і прокручується разом зі сторінкою, шапка ховається при гортанні вниз (логіка — js/main.js). */
@media (min-width:768px) and (max-height:500px){
  .sa-topbar{ position:relative; padding:5px 44px 5px 14px; gap:10px; font-size:12.5px; line-height:1.25; }
  .sa-topbar .sa-tb-full{ display:none; }
  .sa-topbar .sa-tb-short{ display:inline; }
  .sa-topbar .sa-tb-msg{ min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .sa-topbar > a.sa-tb-link{ position:relative; flex:0 0 auto; display:inline-flex; align-items:center; min-height:26px; padding:0 10px; border-radius:999px; background:rgba(255,255,255,.14); text-decoration:none; font-size:11.5px; }
  .sa-topbar > a.sa-tb-link::before{ content:""; position:absolute; inset:-8px -4px; }
  .sa-topbar .sa-tb-x{ width:40px; height:40px; right:0; font-size:19px; }
  html.has-topbar body{ padding-top:0; }
  html.has-topbar .site-header{ top:0; z-index:210; }
  /* сторінки з темним героєм: шапка в потоці під смужкою й прилипає, коли та заїхала (як на телефоні) */
  html body.has-hero .site-header,
  html.has-topbar body.has-hero .site-header:not(.scrolled){ position:sticky; top:0; margin-bottom:-49px; }
  .site-header{ transition:transform .28s cubic-bezier(.22,1,.36,1), border-color .3s, background .3s; will-change:transform; }
  .site-header.hdr-hide{ transform:translateY(-105%); }
}
@media (min-width:768px) and (max-height:500px) and (prefers-reduced-motion:reduce){ .site-header{ transition:none; } }

/* ===================== iOS: поля <16px збільшують сторінку при фокусі (01.10.2026) =====================
   Клас ставить js/main.js лише полям, менших за 16px (більші не чіпаємо). */
@media (max-width:1024px){ .sa-fs16{ font-size:16px !important; } }

/* ===================== Львів-режим: плашка «Ціни для Львова · змінити» під шапкою (01.10.2026, js/main.js) ===================== */
.header-inner{ position:relative; }
.city-chip{ position:absolute; top:calc(100% + 8px); right:clamp(18px, 5vw, 40px); z-index:5; display:inline-flex; align-items:center; background:#fff; border:1px solid var(--line); border-radius:999px; box-shadow:var(--shadow-md); font-size:12.5px; line-height:1.2; }
.city-chip-go{ display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:0 4px 0 12px; border:0; background:transparent; font:inherit; font-weight:600; color:var(--ink); cursor:pointer; white-space:nowrap; }
.city-chip-go svg{ width:13px; height:13px; color:var(--gold); flex:0 0 auto; }
.city-chip-go u{ text-underline-offset:2px; }
.city-chip-x{ width:34px; min-height:34px; border:0; background:transparent; border-radius:999px; font:inherit; font-size:17px; line-height:1; color:var(--muted); cursor:pointer; }
.city-chip-x:hover{ color:var(--ink); }
.site-header:has(.nav-toggle[aria-expanded="true"]) .city-chip{ display:none; }
/* Плашка Львова на телефоні накривала перший рядок героя (01.10.2026, регрес-рев'ю) — на телефоні місто видно в меню */
@media (max-width:767px){ .city-chip{ display:none !important; } }

/* ===================== Питання про альбом (#st-faq на 12 сторінках): на ПК — дві колонки на всю ширину (01.10.2026) =====================
   Власник: «там де питання-відповіді — прям дуже довге і багато вільного місця». Розмітку колонок (.st-faq-col) генерує
   ~/.claude/tools/build_album_faq.py: ліва — «Ціна й замовлення» + «Терміни й доставка», права — «Зйомка» + «Фото, макет і друк». */
.st-faq-col > .st-faq-group:first-child{ margin-top:8px; }
@media (min-width:1024px){
  #st-faq > .container{ max-width:1180px !important; }
  #st-faq .section-head{ margin-bottom:22px; }
  #st-faq .st-faq{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:56px; align-items:start; }
  #st-faq .st-faq-item summary{ padding:15px 4px; font-size:16px; line-height:1.35; }
  #st-faq .st-faq-item summary::after{ font-size:22px; }
  #st-faq .st-faq-item p{ margin:0 4px 16px; }
}
