/* ---------- Токени ----------
   Чорний, білий і золото — основа. Рожево-фіолетовий градієнт (як омбре на нігтях) —
   лише в кількох місцях: сяйво на головному екрані, обрані варіанти у формі, рамка запису. */
:root {
  --black: #000;
  --panel: #120d14;          /* трохи фіолетовий чорний — для панелей на чорному */
  --white: #fff;
  --paper: #faf8f6;          /* світлі секції */
  --text: #f4f0f3;
  --text-muted: #b8adb6;
  --ink: #141014;            /* текст на світлому */
  --ink-muted: #5c5259;
  --gold: #d4b06a;
  --gold-light: #eed9a4;
  --gold-deep: #8a6a2e;      /* золото для тексту на білому (контраст 4.9:1) */
  --pink: #f06eb0;
  --violet: #8a5cf6;
  --grad: linear-gradient(100deg, var(--pink), var(--violet));
  --line: rgba(255, 255, 255, .14);
  --line-ink: rgba(20, 16, 20, .14);

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Great Vibes", cursive;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--black); border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.section { padding: var(--section) 0; }
.h2 { font: 400 clamp(40px, 5.4vw, 66px)/1.05 var(--display); letter-spacing: -.005em; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 10px 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 500; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 17px; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); }
.btn-line { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-line:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #2c242b; }
.btn-line-ink { border-color: var(--ink); color: var(--ink); }
.btn-line-ink:hover { background: var(--ink); color: var(--white); }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(0, 0, 0, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: baseline; gap: .1em; font: 500 20px/1 var(--display); letter-spacing: .16em; text-decoration: none; white-space: nowrap; color: var(--white); }
.logo-script {
  font: 400 1.55em/1 var(--script); letter-spacing: 0;
  padding: .45em; margin: -.45em -.45em -.45em -.3em; /* запас під розчерки, як у .hero-script */
}
/* Рукописне «Lounge»: фіолетова основа й рожеві та бузкові плями.
   Положення, розмір плям і кут основи script.js щоразу задає випадково (--s1x … --sa). */
.logo-script, .hero-script {
  background:
    radial-gradient(var(--s1w, 40%) var(--s1h, 80%) at var(--s1x, 70%) var(--s1y, 40%), #f06eb0, rgba(240, 110, 176, 0) 70%),
    radial-gradient(var(--s2w, 35%) var(--s2h, 70%) at var(--s2x, 35%) var(--s2y, 70%), #f8b0d4, rgba(248, 176, 212, 0) 70%),
    radial-gradient(var(--s3w, 30%) var(--s3h, 60%) at var(--s3x, 15%) var(--s3y, 30%), #d48cf0, rgba(212, 140, 240, 0) 70%),
    radial-gradient(var(--s4w, 30%) var(--s4h, 70%) at var(--s4x, 90%) var(--s4y, 75%), #ff8fc4, rgba(255, 143, 196, 0) 70%),
    linear-gradient(var(--sa, 100deg), #9d7bff, #b884f2 55%, #e07fd4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--text-muted); padding: 8px 0; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--white); }
.nav-cta-mobile { display: none; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu-btn {
    display: grid; place-items: center; margin-left: auto;
    width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .menu-lines, .menu-lines::before, .menu-lines::after {
    display: block; width: 22px; height: 1.5px; background: var(--white); transition: transform .25s var(--ease), opacity .2s;
  }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -7px; }
  .menu-lines::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 72px 0 auto; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--black); border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav a:not(.btn) { font-size: 20px; padding: 14px 0; color: var(--white); border-bottom: 1px solid var(--line); }
  .nav-cta-mobile { display: inline-flex; margin-top: 20px; min-height: 52px; }
  .site-header:has(.nav.is-open) { background: var(--black); }
}

/* ---------- Головний екран ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
}
/* Зліва на фото дерева, справа фасад: обрізаємо правий край, щоб фасад відсунувся від заголовка */
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; object-position: 0% 50%; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 70%),
              linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 35%);
}
.hero-body { padding-top: 120px; padding-bottom: clamp(32px, 6vh, 64px); }
.hero-title { display: flex; flex-direction: column; font-weight: 400; }
.hero-kicker { font: 400 clamp(17px, 1.6vw, 20px)/1.4 var(--sans); color: var(--gold-light); margin-bottom: clamp(8px, 1.5vw, 18px); }
.hero-word {
  font: 300 clamp(68px, 12.5vw, 184px)/.9 var(--display);
  letter-spacing: .06em; margin-left: -.04em;
  color: var(--white);
}
/* «Lounge» від руки: заходить на «BEAUTY» знизу, залитий фіолетово-рожевим градієнтом.
   Градієнт малюється лише в межах блоку, а розчерки Great Vibes (особливо верх «L») виходять
   далеко за рядок — тому великий запас усередині й такий самий від'ємний відступ назовні. */
.hero-script {
  --bleed: .45em;
  align-self: flex-start;
  margin: calc(-.3em - var(--bleed)) 0 calc(-1 * var(--bleed)) calc(clamp(40px, 13vw, 210px) - var(--bleed));
  padding: var(--bleed);
  font: 400 clamp(92px, 15.5vw, 236px)/1 var(--script);
}
.hero-lead { max-width: 34ch; margin-top: clamp(20px, 3vw, 32px); font-size: clamp(17px, 1.5vw, 20px); color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--text-muted);
}

/* Єдина анімація при відкритті: по назві салону один раз пробігає золото-рожево-фіолетовий відблиск */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .js .hero-word {
    background: linear-gradient(100deg, #fff 0 38%, var(--gold-light) 44%, var(--pink) 50%, var(--violet) 56%, #fff 62% 100%);
    background-size: 320% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: sheen 2.4s .35s var(--ease) forwards;
  }
}
@keyframes sheen { to { background-position: 0 0; } }
.js .hero-kicker, .js .hero-script, .js .hero-lead, .js .hero-actions { animation: rise .9s var(--ease) both; }
.js .hero-kicker { animation-delay: .1s; }
.js .hero-script { animation-duration: 1.4s; animation-delay: .7s; }
.js .hero-lead { animation-delay: .9s; }
.js .hero-actions { animation-delay: 1.05s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-word { animation: none; background-position: 0 0; }
  .js .hero-kicker, .js .hero-script, .js .hero-lead, .js .hero-actions { animation: none; }
}

@media (max-width: 720px) {
  /* на телефоні в кадрі — вивіска «BEAUTY LOUNGE» з номером телефону */
  .hero-img { object-position: var(--focus-mobile, 74%) 50%; } /* задається в адмінці: «Що в кадрі на телефоні» */
  .hero-veil { background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .6) 42%, rgba(0, 0, 0, 0) 70%); }
  .hero-script { margin-left: calc(28px - var(--bleed)); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-foot { flex-direction: column; gap: 2px; }
}

/* ---------- Про нас ---------- */
.about { position: relative; overflow: hidden; isolation: isolate; }
.about > .wrap { position: relative; z-index: 1; }
.about-card {
  /* окремий шар, щоб відсвіт панелі (z-index: -1) ліг поверх фону картки, а не сховався під ним */
  position: relative; isolation: isolate;
  padding: clamp(20px, 5vw, 72px);
  border: 1px solid rgba(178, 130, 255, .26); border-radius: 28px;
  background:
    radial-gradient(60% 45% at 28% 0%, rgba(160, 80, 230, .22), rgba(160, 80, 230, 0) 70%),
    linear-gradient(180deg, #160f1f 0%, #0c0812 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

/* Світна кромка панелі з текстом: світло-рожевий градієнт повільно перетікає по колу.
   ::before — сама кромка (кільце 1.5 px), ::after — невеликий розмитий відсвіт довкола панелі. */
@property --glow-angle { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@keyframes glow-spin { to { --glow-angle: 360deg; } }
.about-panel::before, .about-panel::after {
  content: ""; position: absolute; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--glow-angle),
    #eaa0c8 0%, #d9779f 12%, rgba(217, 119, 159, .1) 26%,
    #e290bd 40%, #c983c6 54%, rgba(201, 131, 198, .1) 68%,
    #de8ab4 82%, #eaa0c8 100%);
}
.about-panel::before {
  inset: 0; padding: 1.5px; opacity: .85;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.about-panel::after { inset: -1px; z-index: -1; filter: blur(12px); opacity: .38; }
.about:not(.is-visible) .about-panel { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .about-panel { animation: none; } }

/* Розмиті кола на чорному фоні секції довкола картки. Кожне — м'який радіальний градієнт
   (без filter: blur, щоб не гальмувало), плавно пливе й трохи змінює розмір.
   Положення, розмір, відтінок і темп задає script.js. Згори й знизу кола м'яко тануть,
   щоб не було різкої межі з сусідніми секціями. */
.about-blobs {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.about-blobs i {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--size); aspect-ratio: 1; margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, hsla(var(--h), 78%, 60%, var(--a)) 0%, hsla(var(--h), 78%, 55%, calc(var(--a) * .45)) 38%, hsla(var(--h), 78%, 50%, 0) 70%);
  animation: blob-drift var(--dur) var(--delay) ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes blob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(var(--dx1), var(--dy1)) scale(var(--s1)); }
  100% { transform: translate(var(--dx2), var(--dy2)) scale(var(--s2)); }
}
/* Поза екраном кола не рухаються */
.about:not(.is-visible) .about-blobs i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .about-blobs i { animation: none; } }
/* Фото й панель однакової висоти */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.about-photo img {
  width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 30%;
  border-radius: 16px; box-shadow: 0 0 0 1px rgba(200, 160, 255, .2), 0 30px 60px -20px rgba(0, 0, 0, .8);
}

/* Скляна панель з текстом: фіолетовий градієнт і рожевуватий відсвіт угорі */
.about-panel {
  position: relative; /* без z-index: відсвіт ::after лягає під панель */
  padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 52px) clamp(28px, 4vw, 48px);
  border-radius: 20px; /* рамку замінює світна кромка ::before */
  animation: glow-spin 9s linear infinite;
  background:
    radial-gradient(55% 40% at 48% 0%, rgba(230, 120, 255, .2), rgba(230, 120, 255, 0) 70%),
    linear-gradient(180deg, rgba(38, 25, 52, .92), rgba(18, 12, 26, .94));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.about-panel .h2 { font-size: clamp(36px, 3.8vw, 54px); }
.about-panel .lead { margin-top: 22px; }
.about-panel p + p { margin-top: 14px; color: var(--text-muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font: 400 clamp(26px, 2.6vw, 34px)/1.1 var(--display); color: var(--gold-light); white-space: nowrap; }
.facts dd { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--text-muted); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { max-width: 460px; }
  .about-photo img { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .facts div { display: flex; align-items: baseline; gap: 14px; }
  .facts dt { min-width: 5.2em; }
  .facts dd { margin: 0; }
}

/* ---------- Послуги й ціни (світла секція) ---------- */
.prices { background: var(--paper); color: var(--ink); }
.prices-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prices-head { position: sticky; top: 104px; }
.prices-note { margin: 20px 0 28px; max-width: 32ch; color: var(--ink-muted); font-size: 16px; }
.price-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(32px, 4vw, 56px); }
.price-group-title { font: 400 clamp(22px, 2vw, 26px)/1.25 var(--display); padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--ink); }
.price-row { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-ink); }
.price-name { flex: 0 1 auto; }
.price-dots { flex: 1 1 16px; min-width: 16px; border-bottom: 1px dotted rgba(20, 16, 20, .35); transform: translateY(-4px); }
.price-value { flex: 0 0 auto; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-ask { font-weight: 400; color: var(--ink-muted); }
.price-brands { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--gold-deep); }
.price-more { grid-column: 1 / -1; padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-ink); }
.price-more a { font-weight: 500; white-space: nowrap; }
@media (max-width: 960px) {
  .prices-grid { grid-template-columns: 1fr; }
  .prices-head { position: static; }
}
@media (max-width: 640px) {
  .price-groups { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Роботи ---------- */
.works .h2 { margin-bottom: clamp(32px, 5vw, 56px); }
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery li { break-inside: avoid; margin-bottom: 24px; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: 2px; }
.g-open img { width: 100%; transition: transform .6s var(--ease), filter .3s; }
.g-open:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: 10px; font-size: 15px; color: var(--text-muted); }
@media (max-width: 560px) {
  .gallery { columns: 2; column-gap: 10px; }
  .gallery li { margin-bottom: 16px; }
  .gallery figcaption { font-size: 14px; margin-top: 6px; }
}

/* Перегляд фото */
.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(0, 0, 0, .94); color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox[open] { display: grid; place-items: center; animation: fade .2s ease-out; }
@keyframes fade { from { opacity: 0; } }
.lb-figure { display: grid; justify-items: center; gap: 12px; padding: 64px 72px 24px; max-height: 100%; }
.lb-img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; object-fit: contain; }
.lb-caption { font-size: 15px; color: var(--text-muted); }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(0, 0, 0, .5); cursor: pointer;
}
.lb-btn:hover { border-color: var(--gold); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .lb-figure { padding: 64px 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* ---------- Запис ---------- */
.booking-panel {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px);
  padding: clamp(28px, 5vw, 64px);
  background: var(--panel); border-radius: var(--radius);
}
/* тонка рамка рожево-фіолетовим градієнтом */
.booking-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; padding: 1px; border-radius: inherit;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.booking-intro .lead { margin-top: 20px; color: var(--text); }
.booking-alt { margin-top: 28px; color: var(--text-muted); }
.booking-alt a { font: 400 24px/1.4 var(--display); color: var(--gold-light); text-decoration: none; white-space: nowrap; }
.booking-alt a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .booking-panel { grid-template-columns: 1fr; } }

.booking-form { display: grid; gap: 22px; }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .bf-row { grid-template-columns: 1fr; gap: 22px; } }
.bf-field { display: grid; gap: 8px; }
.bf-field label, .bf-group legend { font-size: 15px; font-weight: 500; color: var(--text); }
.bf-field input, .bf-field select, .bf-field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--black); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius);
  font-size: 16px; color: var(--white); transition: border-color .2s;
}
.bf-field textarea { resize: vertical; min-height: 96px; }
.bf-field input::placeholder, .bf-field textarea::placeholder { color: #8a7f88; }
.bf-field input:hover, .bf-field select:hover, .bf-field textarea:hover { border-color: rgba(255, 255, 255, .4); }
.bf-field input:focus, .bf-field select:focus, .bf-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.bf-field [aria-invalid="true"] { border-color: #ff8fa3; }
.bf-field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4b06a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.bf-field select option, .bf-field select optgroup { background: var(--panel); color: var(--white); }
.bf-error { font-size: 14px; color: #ff8fa3; }

.bf-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.bf-group legend { padding: 0; margin-bottom: 10px; }
.bf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  font-size: 15px; line-height: 1.4; transition: border-color .2s, background .2s, color .2s;
}
.chip small { font-size: 13px; color: var(--text-muted); }
.chip:hover span { border-color: rgba(255, 255, 255, .5); }
.chip input:checked + span { background: var(--grad); border-color: transparent; color: var(--white); }
.chip input:checked + span small { color: rgba(255, 255, 255, .85); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.bf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bf-submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.bf-consent { flex: 1 1 240px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.bf-status:empty { display: none; }
.bf-status { padding: 14px 16px; border-radius: var(--radius); font-size: 15px; }
.bf-status.is-ok { background: rgba(212, 176, 106, .14); border: 1px solid var(--gold); color: var(--gold-light); }
.bf-status.is-error { background: rgba(255, 143, 163, .1); border: 1px solid #ff8fa3; color: #ffc2cd; }
@media (max-width: 560px) { .bf-submit .btn { width: 100%; } }

/* ---------- Контакти (світла секція) ---------- */
.contacts { background: var(--paper); color: var(--ink); }
.contacts-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: stretch; }
.contacts-text .lead { margin-top: 20px; max-width: 36ch; }
.contact-list { display: grid; gap: 18px; margin-top: 36px; }
.contact-list div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-ink); }
.contact-list dt { color: var(--ink-muted); font-size: 15px; padding-top: 2px; }
.contact-list a { font-weight: 500; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.map { min-height: 360px; border-radius: var(--radius); overflow: hidden; background: #e9e4e0; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.6) contrast(1.05); }
@media (max-width: 860px) {
  .contacts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .contact-actions .btn { flex: 1 1 100%; }
}

/* ---------- Підвал ---------- */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--text-muted); }
.footer-row .logo { font-size: 16px; }
.footer-row p:last-child { margin-left: auto; }
