:root {
  --bg: #12151b;
  --bg-2: #1a1f27;
  --line: #2a303a;
  --text: #f2efe9;
  --muted: #9aa0aa;
  --white: #ffffff;
  --light: #f4f1eb;
  --light-line: #e6e1d7;
  --ink: #14181e;
  --ink-2: #3a3f47;
  --ink-muted: #6b6f76;
  --gold: #c6a46a;
  --gold-2: #d9bb85;
  --gold-ink: #9c7a3c;
  --gold-shadow: rgba(198, 164, 106, .35);
  --on-gold: var(--ink);
  --radius: 14px;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --font-head: "Montserrat", var(--font);
  --font-sign: "Parisienne", cursive;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 17px; font-weight: 600; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.muted { color: var(--ink-muted); }
.kicker { color: var(--gold-ink); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; margin: 0 0 18px; }
.accent { color: var(--gold-ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-weight: 600; font-size: 15px; transition: all .35s var(--ease); white-space: nowrap; }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-cta { display: inline-flex; align-items: center; gap: 28px; padding: 10px 10px 10px 36px; border: 0; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-family: var(--font-head); font-weight: 700; font-size: 18px; cursor: pointer; box-shadow: 0 12px 30px var(--gold-shadow); transition: all .35s var(--ease); }
.btn-cta:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-cta__arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; font-size: 22px; transition: transform .35s var(--ease-out); }
.btn-cta:hover .btn-cta__arrow { transform: translateX(3px); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--light-line); }
.header__top { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 8px; }
.header__logo img { height: 46px; width: auto; }
.header__contacts { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.messengers { display: flex; gap: 8px; }
.messengers a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--light-line); display: grid; place-items: center; color: var(--ink); transition: all .35s var(--ease); background: var(--white); }
.messengers a:hover { border-color: var(--gold); color: var(--gold-ink); }
.messengers svg { width: 20px; height: 20px; }
.messengers--nav { display: none; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border: 1.5px solid var(--gold); border-radius: 999px; font-weight: 700; color: var(--ink); white-space: nowrap; transition: all .35s var(--ease); }
.header__phone svg { color: var(--gold-ink); }
.header__phone:hover { background: var(--gold); }
.header__phone:hover svg { color: var(--ink); }
.header__bottom { display: flex; align-items: center; gap: 16px; padding-bottom: 10px; }
.nav { display: flex; gap: 4px; font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.nav a { padding: 9px 16px; border-radius: 999px; color: var(--ink-2); transition: all .35s var(--ease); }
.nav a:hover { background: var(--light); color: var(--ink); }
.nav a.is-active { background: var(--ink); color: #fff; }
.lang { margin-left: auto; display: flex; background: var(--gold); border-radius: 999px; padding: 3px; }
.lang button { background: none; border: 0; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--on-gold); }
.lang button.is-active { background: var(--white); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--light-line); border-radius: 50%; background: none; cursor: pointer; position: relative; margin-left: 8px; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 18px; height: 1.5px; background: var(--ink); content: ""; }
.burger span { top: 21px; }
.burger span::before { left: 0; top: -6px; }
.burger span::after { left: 0; top: 6px; }

@media (max-width: 1080px) {
  .messengers a { width: 38px; height: 38px; }
  .messengers svg { width: 17px; height: 17px; }
}
@media (max-width: 860px) {
  .header__top { padding-bottom: 12px; padding-top: 12px; }
  .header__logo img { height: 34px; }
  .header__contacts { display: none; }
  .burger { display: block; margin-left: auto; }
  .header__bottom { padding: 0; height: 0; }
  .lang { position: absolute; top: 15px; right: 76px; }
  .lang button { padding: 5px 10px; font-size: 13px; }
  .nav { position: fixed; inset: 69px 0 auto 0; flex-direction: column; flex-wrap: nowrap; gap: 0; background: var(--white); border-bottom: 1px solid var(--light-line); padding: 8px 16px 20px; transform: translateY(-130%); transition: transform .45s var(--ease-out); z-index: -1; box-shadow: 0 20px 40px rgba(0,0,0,.08); }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--light-line); font-size: 17px; }
  .nav a:hover { background: none; }
  .nav.is-open { transform: none; }
  .messengers--nav { display: flex; padding-top: 16px; }
}
@media (max-width: 420px) {
  .header__logo img { height: 30px; }
}

/* Hero */
.hero { padding: 24px 0 0; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.hero__text { padding: 56px 0 40px; position: relative; z-index: 2; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--light); padding: 9px 20px; border-radius: 999px; font-size: 16px; margin: 0 0 28px; }
.pill b { font-weight: 700; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-ink); }
.hero h1 { font-size: clamp(42px, 6.2vw, 84px); font-weight: 600; line-height: 1.02; letter-spacing: -.025em; margin-bottom: 28px; }
.hero__lead { font-size: 20px; color: var(--ink-2); max-width: 520px; margin: 0 0 40px; }
.hero__lead b { color: var(--ink); }
/* rotate/translate окремо від transform, щоб анімація появи не скидала нахил */
.signature { font-family: var(--font-sign); font-size: 52px; color: #6f747c; margin: 64px 0 0; line-height: 1; white-space: nowrap; rotate: -8deg; translate: 22% 0; text-shadow: 0 0 2px #fff, 0 0 10px rgba(255,255,255,.95), 0 0 22px rgba(255,255,255,.8); transform-origin: left center; pointer-events: none; }

.hero__visual { position: relative; min-height: 640px; }
.hero__bg { position: absolute; inset: 0 0 0 12%; border-radius: 48px 48px 0 0; overflow: hidden; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%, 0 22%); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 55%, #fff 100%), linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,0) 40%); }
.hero__person { position: absolute; bottom: 0; left: 0; width: 66%; max-width: 500px; z-index: 1; filter: drop-shadow(0 20px 30px rgba(20, 24, 30, .18)); }
.hero__chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.chip-cat { position: absolute; pointer-events: auto; display: flex; align-items: center; gap: 14px; padding: 7px 26px 7px 7px; background: var(--white); border-radius: 999px; border: 0; box-shadow: 0 10px 30px rgba(20, 24, 30, .14); font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.chip-cat:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(20, 24, 30, .2); }
.chip-cat img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.chip-cat small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-muted); line-height: 1.2; }
.chip-cat span { line-height: 1.25; text-align: left; }
.chip-cat::before { content: ""; position: absolute; top: 50%; width: 90px; border-top: 2px dashed rgba(255,255,255,.9); }
.chip-cat::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: 0 0 0 6px rgba(255,255,255,.3); }
.chip-cat--r::before { right: 100%; }
.chip-cat--r::after { right: calc(100% + 90px); }
.chip-cat--l::before { left: 100%; }
.chip-cat--l::after { left: calc(100% + 90px); }
.chip-cat:nth-child(1) { top: 47%; right: 3%; }
.chip-cat:nth-child(2) { top: 64%; right: 30%; }
.chip-cat:nth-child(3) { top: 81%; right: 2%; }
.chip-cat:nth-child(4) { top: 30%; right: 6%; }

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .chip-cat { font-size: 15px; padding-right: 18px; }
  .chip-cat img { width: 42px; height: 42px; }
  .chip-cat::before, .chip-cat::after { display: none; }
  .chip-cat:nth-child(2) { right: 18%; }
}
@media (max-width: 860px) {
  .hero { padding-top: 8px; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__text { padding: 28px 0 24px; }
  .pill { font-size: 14px; padding: 7px 16px; margin-bottom: 20px; }
  .hero__lead { font-size: 17px; margin-bottom: 28px; }
  .btn-cta { font-size: 16px; gap: 18px; padding-left: 24px; }
  .btn-cta__arrow { width: 44px; height: 44px; }
  .signature { display: none; }
  .hero__visual { min-height: 0; aspect-ratio: 1 / 1.05; }
  .hero__bg { inset: 0 0 0 0; border-radius: 32px 32px 0 0; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 18%); }
  .hero__person { width: 62%; left: 2%; }
  .chip-cat { font-size: 13px; gap: 8px; padding: 5px 14px 5px 5px; }
  .chip-cat img { width: 34px; height: 34px; }
  .chip-cat small { font-size: 11px; }
  .chip-cat:nth-child(1) { top: 38%; right: 3%; }
  .chip-cat:nth-child(2) { top: 56%; right: 3%; }
  .chip-cat:nth-child(3) { top: 74%; right: 3%; }
  .chip-cat:nth-child(4) { top: 20%; right: 3%; }
}

/* Stats */
.stats-band { background: var(--ink); color: var(--text); }
.stats { list-style: none; margin: 0; padding: 32px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats li { border-left: 1px solid var(--line); padding-left: 20px; }
.stats b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 30px; color: var(--gold); line-height: 1.2; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; padding: 24px 0; gap: 20px 16px; }
  .stats li { padding-left: 14px; }
  .stats b { font-size: 24px; }
}

/* Sections */
.section { padding: 88px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--bg); color: var(--text); }
.section--dark .muted { color: var(--muted); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section__head h2 { margin: 0; }
.section__head p { margin: 0; }
@media (max-width: 700px) { .section { padding: 56px 0; } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; margin-bottom: 32px; padding: 20px; background: var(--white); border-radius: var(--radius); }
.filters:empty { display: none; }
.filter { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.filter__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--light-line); background: none; border-radius: 999px; padding: 7px 14px; font-size: 14px; cursor: pointer; color: var(--ink); transition: all .35s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.price { display: flex; gap: 6px; align-items: center; }
.price input { width: 136px; padding: 7px 12px; border: 1px solid var(--light-line); border-radius: 999px; background: none; color: var(--ink); font-size: 14px; }
.price input:focus { outline: none; border-color: var(--ink); }
/* Повзунок ціни */
.filter--slider { min-width: 280px; flex: 1 1 280px; max-width: 420px; }
.slider__values { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; color: var(--ink); margin-top: -2px; }
.slider { position: relative; height: 28px; --thumb: 22px; }
.slider::before, .slider::after { content: ""; position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; }
.slider::before { left: 0; right: 0; background: var(--light-line); }
.slider::after { left: calc(var(--a) * (100% - var(--thumb)) + var(--thumb) / 2); right: calc((1 - var(--b)) * (100% - var(--thumb)) + var(--thumb) / 2); background: var(--ink); transition: none; }
.slider input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; z-index: 1; }
.slider input:focus { outline: none; }
.slider input::-webkit-slider-runnable-track { background: none; height: 100%; }
.slider input::-moz-range-track { background: none; }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: var(--thumb); height: var(--thumb); margin-top: 3px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: grab; transition: transform .2s var(--ease); }
.slider input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: grab; }
.slider input:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.12); }
.slider input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(198, 164, 106, .45); }
@media (max-width: 600px) { .filter--slider { min-width: 0; max-width: none; } }

.filters__reset { margin-left: auto; background: none; border: 0; color: var(--ink-muted); text-decoration: underline; cursor: pointer; font-size: 14px; padding: 8px 0; }
.filters__reset[hidden] { display: none; }
@media (max-width: 600px) {
  .filters { padding: 16px; }
  .filter { width: 100%; }
  .price input { flex: 1; width: auto; }
}

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
@media (max-width: 360px) { .grid { grid-template-columns: 1fr; } }
.card-obj { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); color: var(--ink); text-align: left; border: 0; padding: 0; }
.card-obj:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20, 24, 30, .1); }
.card-obj__img { position: relative; aspect-ratio: 4 / 3; background: var(--light); overflow: hidden; }
.card-obj__img img { width: 100%; height: 100%; object-fit: cover; }
.card-obj__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.tag { background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.tag--dark { background: var(--ink); color: #fff; }
.tag--demo { background: #f0d9a8; }
.card-obj__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-obj__price { font-family: var(--font-head); font-weight: 700; font-size: 21px; }
.card-obj__price small, .obj__price small { display: block; font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--ink-muted); margin-top: 2px; }
.card-obj__title { font-weight: 600; font-size: 15px; line-height: 1.4; }
.card-obj__loc { color: var(--ink-muted); font-size: 14px; }
.card-obj__meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--light-line); font-size: 13px; color: var(--ink-muted); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #b5ab97; }
.placeholder svg { width: 56px; height: 56px; }
.empty { text-align: center; padding: 48px 16px; background: var(--white); border-radius: var(--radius); }
.empty p { max-width: 520px; margin: 0 auto 20px; }
.empty__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.services article { background: var(--bg); padding: 32px 28px; }
.services span { font-family: var(--font-head); color: var(--gold); font-size: 13px; font-weight: 600; display: block; margin-bottom: 24px; }
.services p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .services article { padding: 24px 20px; } }

/* About */
.about { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: center; }
.about__photo { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; }
.about p { font-size: 17px; color: var(--ink-2); }
.about .btn { margin-top: 12px; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; gap: 32px; } .about__photo { max-width: 320px; } }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.contact-list a, .contact-list__static { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); transition: all .35s var(--ease); }
.contact-list a:hover { border-color: var(--gold); }
.contact-list__static { border-style: dashed !important; }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: 12px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; gap: 40px; } .card { padding: 24px 20px; } }

/* Form (темна тема — у контактах і модальному вікні) */
.form { display: grid; gap: 14px; color: var(--text); }
.form h3 { font-size: 20px; margin: 0 0 4px; }
.form__obj { font-size: 14px; color: var(--muted); margin: -4px 0 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input.is-invalid { border-color: #d0605e; }
.field textarea { resize: vertical; min-height: 80px; }
.field input[type="date"] { color-scheme: dark; }
.form__hp { position: absolute; left: -9999px; }
.form__note { font-size: 12px; color: var(--muted); margin: 0; }
.form__note a, .footer a { text-decoration: underline; text-underline-offset: 2px; }
.form__status { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.form__status--ok { background: rgba(110, 170, 120, .15); color: #a8d8b0; }
.form__status--err { background: rgba(208, 96, 94, .15); color: #f0a9a7; }

/* Modals */
.modal { border: 0; padding: 0; background: var(--bg-2); color: var(--text); border-radius: 20px; width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.modal::backdrop { background: rgba(8, 10, 14, .7); backdrop-filter: blur(4px); }
.modal--form .form { padding: 32px; }
.modal--object { width: min(960px, calc(100% - 32px)); background: var(--white); color: var(--ink); }
.modal__close { position: sticky; float: right; top: 12px; margin: 12px 12px 0 0; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.modal--form .modal__close { background: var(--bg); color: var(--text); }
.obj { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.obj__gallery { background: var(--light); min-height: 300px; position: sticky; top: 0; align-self: start; }
.obj__main { aspect-ratio: 4 / 3; }
.obj__main img { width: 100%; height: 100%; object-fit: cover; }
.obj__thumbs { display: flex; gap: 6px; padding: 6px; overflow-x: auto; }
.obj__thumbs button { flex: none; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; }
.obj__thumbs button.is-active { border-color: var(--ink); }
.obj__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.obj__info { padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.obj__info h2 { font-size: 22px; margin: 0; }
.obj__price { font-family: var(--font-head); font-weight: 700; font-size: 26px; }
.obj__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; padding: 0; list-style: none; }
.obj__specs li { background: var(--light); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.obj__specs small { display: block; color: var(--ink-muted); font-size: 12px; }
.obj__msg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn--msg { border-color: var(--light-line); color: var(--ink); padding: 11px 16px; }
.btn--msg:hover { border-color: var(--ink); }
.btn--msg svg { width: 18px; height: 18px; }
.obj__desc { color: var(--ink-2); font-size: 15px; white-space: pre-line; }
@media (max-width: 760px) {
  .obj { grid-template-columns: minmax(0, 1fr); }
  .obj__gallery { position: static; }
  .obj__info { padding: 24px 20px; }
}

/* Віконце Viber (комп'ютер) */
.modal--viber { width: min(380px, calc(100% - 32px)); background: var(--white); color: var(--ink); }
.viber-box { padding: 28px 28px 24px; display: grid; gap: 10px; text-align: center; justify-items: center; }
.viber-box__icon { width: 56px; height: 56px; border-radius: 50%; background: #7360f2; color: #fff; display: grid; place-items: center; }
.viber-box__icon svg { width: 30px; height: 30px; }
.viber-box h3 { margin: 4px 0 0; }
.viber-box__num { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin: 0; }
.viber-box__hint { font-size: 14px; color: var(--ink-muted); margin: 0 0 8px; }
.viber-box .btn { width: 100%; }

/* Footer */
.footer { background: var(--bg); color: var(--text); border-top: 1px solid var(--line); padding: 32px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer img { height: 36px; width: auto; }
.footer .muted { color: var(--muted); }
.footer p { margin: 0; }

/* Плаваючі кнопки (мобільні): Telegram і дзвінок */
.fabs { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 40; flex-direction: column; gap: 12px; }
.fab { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.fab--tg { background: #2aabee; color: #fff; }
.fab svg { width: 24px; height: 24px; }
@media (max-width: 860px) { .fabs { display: flex; } }

/* ---------- Анімації ---------- */
.header { transition: box-shadow .4s var(--ease), background .4s var(--ease); }
.header.is-scrolled { box-shadow: 0 8px 30px rgba(20, 24, 30, .07); }

/* Перехід між мовами */
main, .header__bottom .nav, .footer { transition: opacity .26s var(--ease), filter .26s var(--ease), transform .26s var(--ease); }
.is-switching { opacity: 0; filter: blur(3px); transform: translateY(4px); }
.lang-vt::view-transition-old(root) { animation: vtOut .32s var(--ease) both; }
.lang-vt::view-transition-new(root) { animation: vtIn .42s var(--ease-out) .08s both; }
@keyframes vtOut { to { opacity: 0; filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; filter: blur(4px); } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes modalOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(16px) scale(.98); } }

/* Перший екран */
.hero__text > * { animation: fadeUp .8s var(--ease-out) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; }
.hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .24s; }
.hero__text > :nth-child(5) { animation-delay: .32s; }
.hero__bg { animation: fadeIn 1.1s var(--ease) both; }
.hero__person { animation: fadeUp 1s var(--ease-out) .15s both; }
.chip-cat { animation: fadeUp .7s var(--ease-out) both; }
.chip-cat:nth-child(1) { animation-delay: .45s; }
.chip-cat:nth-child(2) { animation-delay: .6s; }
.chip-cat:nth-child(3) { animation-delay: .75s; }
.chip-cat:nth-child(4) { animation-delay: .9s; }

/* Картки каталогу з'являються по черзі */
.card-obj { animation: fadeUp .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.card-obj__img img { transition: transform .9s var(--ease-out); }
.card-obj:hover .card-obj__img img { transform: scale(1.04); }
.chip { transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }

/* Блоки при прокручуванні */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out) var(--d, 0ms), transform .8s var(--ease-out) var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Модальні вікна */
.modal[open] { animation: modalIn .38s var(--ease-out); }
.modal[open]::backdrop { animation: fadeIn .3s var(--ease); }
.modal.is-closing { animation: modalOut .22s var(--ease) forwards; }
.modal.is-closing::backdrop { animation: fadeIn .22s var(--ease) reverse forwards; }
.obj__main img { transition: opacity .25s var(--ease); }
.obj__main img.is-fading { opacity: 0; }
.form__status { animation: fadeUp .4s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Палітри (варіанти для вибору) ---------- */
/* 1. Графіт і шампань */
html[data-theme="champagne"] {
  --bg: #17181b; --bg-2: #1f2125; --line: #2e3035; --text: #f3f0ea; --muted: #a09d97;
  --light: #f6f3ee; --light-line: #e8e2d8; --ink: #1b1c1f; --ink-2: #3b3d42; --ink-muted: #75726c;
  --gold: #cdb48a; --gold-2: #dcc7a3; --gold-ink: #93784b; --gold-shadow: rgba(205, 180, 138, .35); --on-gold: #1b1c1f;
}
/* 2. Темно-синій і золото */
html[data-theme="navy"] {
  --bg: #0e1a2b; --bg-2: #142338; --line: #233650; --text: #f2efe8; --muted: #9aa7ba;
  --light: #f3f1ec; --light-line: #e2ddd2; --ink: #0f1d31; --ink-2: #2d3d55; --ink-muted: #66717f;
  --gold: #c8a15a; --gold-2: #d8b677; --gold-ink: #9a7633; --gold-shadow: rgba(200, 161, 90, .35); --on-gold: #0f1d31;
}
/* 3. Смарагд і латунь */
html[data-theme="emerald"] {
  --bg: #0f2620; --bg-2: #15302a; --line: #23453c; --text: #f1eee6; --muted: #9db3aa;
  --light: #f3f1ea; --light-line: #e2ded1; --ink: #11291f; --ink-2: #2e4a40; --ink-muted: #63716b;
  --gold: #b9965a; --gold-2: #cbab73; --gold-ink: #8b6c36; --gold-shadow: rgba(185, 150, 90, .35); --on-gold: #11291f;
}
/* 4. Чорний і срібло (як логотип) */
html[data-theme="silver"] {
  --bg: #0e0e10; --bg-2: #18181b; --line: #2a2a2e; --text: #f2f2f0; --muted: #9c9da1;
  --light: #f3f3f1; --light-line: #e1e1de; --ink: #121214; --ink-2: #3a3a3e; --ink-muted: #6e6f73;
  --gold: #121214; --gold-2: #2a2a2e; --gold-shadow: rgba(18, 18, 20, .25); --on-gold: #f2f2f0;
  /* акцентні слова — золоті, як у базовій палітрі */
  --gold-ink: #9c7a3c; --gold-text: #c6a46a;
}
html[data-theme="silver"] .btn-cta__arrow { background: #c9cacd; color: #121214; }
html[data-theme="silver"] .stats b, html[data-theme="silver"] .services span { color: var(--gold-text); }
html[data-theme="silver"] .contact-list svg { color: var(--gold-text); }
/* на темних блоках і в модальних вікнах кнопки — срібні */
html[data-theme="silver"] .section--dark .btn--gold, html[data-theme="silver"] .modal .btn--gold { background: linear-gradient(180deg, #e6e6e4, #b9babd); color: #121214; }
html[data-theme="silver"] .section--dark .btn--gold:hover, html[data-theme="silver"] .modal .btn--gold:hover { background: #f2f2f0; }
html[data-theme="silver"] .field input:focus, html[data-theme="silver"] .field select:focus, html[data-theme="silver"] .field textarea:focus { border-color: #c9cacd; }
html[data-theme="silver"] .contact-list a:hover { border-color: #c9cacd; }
html[data-theme="silver"] .fab:not(.fab--tg) { box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 8px 24px rgba(0,0,0,.3); }
/* 5. Бордо і пісок */
html[data-theme="bordeaux"] {
  --bg: #24100f; --bg-2: #2e1716; --line: #4a2725; --text: #f5efe8; --muted: #b9a49e;
  --light: #f6f1ea; --light-line: #e7ddd0; --ink: #2a1211; --ink-2: #4d2e2c; --ink-muted: #7a6763;
  --gold: #c9a77c; --gold-2: #d8bb95; --gold-ink: #8f6a3f; --gold-shadow: rgba(201, 167, 124, .35); --on-gold: #2a1211;
}

/* Тимчасовий перемикач палітр (показується з ?themes=1) */
.theme-picker { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: #fff; color: #14181e; border-radius: 16px; padding: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.25); display: grid; gap: 6px; font: 600 13px/1.2 var(--font); width: 230px; }
.theme-picker p { margin: 0 0 4px; font-size: 12px; color: #6b6f76; }
.theme-picker button { display: flex; align-items: center; gap: 10px; border: 1px solid #e6e1d7; background: #fff; border-radius: 10px; padding: 7px 10px; cursor: pointer; text-align: left; color: #14181e; }
.theme-picker button.is-active { border-color: #14181e; box-shadow: inset 0 0 0 1px #14181e; }
.theme-picker i { display: flex; flex: none; }
.theme-picker i b { width: 16px; height: 22px; display: block; }
.theme-picker i b:first-child { border-radius: 5px 0 0 5px; }
.theme-picker i b:last-child { border-radius: 0 5px 5px 0; }
html { transition: background-color .4s; }
body, .section, .stats-band, .footer, .header, .card-obj, .filters, .btn-cta, .btn, .chip, .lang { transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease); }
html[data-theme="silver"] .modal--viber .btn--gold { background: var(--ink); color: #fff; }
