/* ============================================================
   Love&Joy coffee — style.css
   Преміальна тема: графіт + золото + крем + шавлія + терракота
   Mobile-first, без зовнішніх зображень (усе на CSS та SVG)
   ============================================================ */

/* ===================== ТОКЕНИ ===================== */
:root {
  /* базова палітра */
  --ink: #141517;
  --ink-2: #1d2023;
  --ink-3: #2a2e32;
  --cream: #f7f1e8;
  --cream-2: #f1e7d9;
  --surface: #fffdfa;
  --espresso: #3a2a1e;

  --amber: #c98d4b;
  --amber-deep: #8a5b22;
  --gold: #e0b072;
  --gold-2: #f3d9ae;
  --terracotta: #c8702f;
  --sage: #dfe2c8;
  --sage-deep: #2f4a3a;

  --ink-soft: #5d554b;
  --ink-faint: rgba(20, 21, 23, 0.08);
  --line: rgba(20, 21, 23, 0.09);

  /* градієнти */
  --grad-gold: linear-gradient(120deg, #f3d9ae 0%, #e0b072 30%, #c98d4b 62%, #a06a31 100%);
  --grad-gold-btn: linear-gradient(120deg, #f6e0b8 0%, #e5b273 44%, #c98d4b 100%);
  --grad-gold-text: linear-gradient(100deg, #b9813f 0%, #e0b072 45%, #8f5f28 100%);
  --grad-gold-soft: linear-gradient(120deg, rgba(243, 217, 174, 0.9), rgba(201, 141, 75, 0.75));
  --grad-dark: linear-gradient(165deg, #22262a 0%, #171a1d 45%, #0e1012 100%);
  --grad-card: linear-gradient(180deg, #fffdfa 0%, #fbf5ec 100%);
  --grad-glass: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015));

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E");

  --shadow-card: 0 30px 60px -46px rgba(58, 42, 30, 0.5);
  --shadow-card-hover: 0 44px 80px -44px rgba(58, 42, 30, 0.55);
  --shadow-deep: 0 50px 90px -60px rgba(10, 11, 12, 0.8);

  --r-sm: 16px;
  --r-md: 22px;
  --r-lg: 28px;
  --r-xl: 34px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 64px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===================== БАЗА ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

::selection {
  background: rgba(224, 176, 114, 0.4);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* скролбар (десктоп) */
@media (hover: hover) and (pointer: fine) {
  * {
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 141, 75, 0.6) transparent;
  }
  *::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  *::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d9a35f, #a06a31);
    border-radius: 99px;
    border: 3px solid transparent;
    background-clip: content-box;
  }
  *::-webkit-scrollbar-track {
    background: transparent;
  }
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 700;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* текст лише для скрін-рідерів */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.link {
  color: inherit;
  text-decoration-color: rgba(224, 176, 114, 0.7);
  text-underline-offset: 4px;
  transition: color 0.25s ease;
}

.link:hover {
  color: var(--gold-2);
}

/* ===================== ДРІБНІ ЕЛЕМЕНТИ ===================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 0 4px rgba(201, 141, 75, 0.18);
}

.eyebrow--light {
  color: var(--gold-2);
}

.h2 {
  font-size: clamp(2.05rem, 6.6vw, 3.35rem);
}

.h2 em {
  font-style: italic;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2--light {
  color: var(--cream);
}

.h2--light em {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.rule {
  display: block;
  width: 96px;
  height: 2px;
  margin-top: 26px;
  background: var(--grad-gold);
  border-radius: 2px;
  transform-origin: left center;
}

.section__head {
  max-width: 660px;
  margin: 0 auto 34px;
  text-align: center;
}

.section__sub {
  margin-top: 12px;
  color: var(--ink-soft);
}

.section__head .eyebrow {
  margin-bottom: 12px;
}

.noscript-note {
  padding: 18px;
  text-align: center;
  color: var(--ink-soft);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}

/* ===================== КНОПКИ ===================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn > svg {
  transition: transform 0.4s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover > svg {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn--sm {
  padding: 12px 20px;
  font-size: 0.88rem;
}

.btn--gold {
  background: var(--grad-gold-btn);
  background-size: 170% 100%;
  color: #2a1b06;
  box-shadow: 0 16px 34px -18px rgba(201, 141, 75, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background-position 0.7s var(--ease);
}

.btn--gold:hover {
  background-position: 100% 0;
  box-shadow: 0 24px 46px -20px rgba(201, 141, 75, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn--dark {
  background: linear-gradient(150deg, #26292c, #141517);
  color: var(--cream);
  box-shadow: 0 16px 30px -20px rgba(20, 21, 23, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn--dark:hover {
  box-shadow: 0 22px 40px -20px rgba(20, 21, 23, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn--light {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 16px 30px -20px rgba(10, 11, 12, 0.8);
}

.btn--outline-light {
  border-color: rgba(243, 217, 174, 0.35);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
}

.btn--outline-light:hover {
  border-color: rgba(243, 217, 174, 0.75);
  background: rgba(255, 255, 255, 0.1);
}

/* блиск на золотих/темних кнопках */
.btn--gold::after,
.btn--dark::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.5) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.85s var(--ease);
}

.btn--gold:hover::after,
.btn--dark:hover::after {
  transform: translateX(130%);
}

/* ===================== ІНДИКАТОР ПРОКРУТКИ ===================== */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 14px rgba(224, 176, 114, 0.55);
}

/* ===================== ШАПКА ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 241, 232, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: transform 0.5s var(--ease), background-color 0.4s ease,
    box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 141, 75, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.header.is-scrolled {
  background: rgba(247, 241, 232, 0.92);
  box-shadow: 0 18px 40px -32px rgba(20, 21, 23, 0.6);
}

.header.is-scrolled::after {
  opacity: 1;
}

.header.is-hidden {
  transform: translateY(-102%);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
  transition: min-height 0.4s var(--ease);
}

.header.is-compact .header__inner {
  min-height: 58px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.logo__badge {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-content: center;
  gap: 1px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, #2b2f33, #141517);
  color: var(--gold-2);
  text-align: center;
  font-size: 0.43rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.15;
  box-shadow: 0 12px 26px -18px rgba(20, 21, 23, 0.9),
    inset 0 1px 0 rgba(243, 217, 174, 0.25),
    0 0 0 1px rgba(243, 217, 174, 0.18);
  transition: transform 0.5s var(--ease);
}

.logo:hover .logo__badge {
  transform: rotate(-6deg) scale(1.04);
}

.logo__badge--sm {
  width: 42px;
  height: 42px;
  font-size: 0.4rem;
}

.logo__text {
  display: none;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo__text em {
  font-style: italic;
  color: var(--amber-deep);
}

.logo__text span {
  font-style: italic;
  color: var(--ink-soft);
}

/* навігація */
.nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 20px 22px;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(247, 241, 232, 0.98));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 30px 50px -34px rgba(20, 21, 23, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav > a {
  position: relative;
  padding: 13px 12px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s var(--ease);
}

.nav > a:not(.btn)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--grad-gold);
  transform: translateY(-50%);
  transition: height 0.3s var(--ease);
}

.nav > a:not(.btn):hover {
  background: rgba(201, 141, 75, 0.1);
  color: var(--amber-deep);
  padding-left: 18px;
}

.nav > a:not(.btn):hover::before {
  height: 18px;
}

.nav__call {
  margin-top: 10px;
}

/* бургер */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  box-shadow: 0 12px 24px -20px rgba(20, 21, 23, 0.6);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.25s ease, width 0.4s var(--ease);
}

.burger span:nth-child(2) {
  width: 70%;
}

.burger:hover span:nth-child(2) {
  width: 100%;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  padding: 46px 0 58px;
  color: var(--cream);
  background-color: #0f1113;
  background-image: var(--noise),
    radial-gradient(82% 62% at 10% 4%, rgba(201, 141, 75, 0.32), transparent 62%),
    radial-gradient(62% 52% at 92% 14%, rgba(200, 112, 47, 0.2), transparent 64%),
    radial-gradient(96% 74% at 46% 112%, rgba(47, 74, 58, 0.4), transparent 62%),
    var(--grad-dark);
  background-size: 200px 200px, auto, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.75;
  animation: drift 26s ease-in-out infinite;
}

.aurora--1 {
  width: 78vw;
  height: 78vw;
  max-width: 620px;
  max-height: 620px;
  top: -22%;
  right: -18%;
  background: radial-gradient(circle at 40% 40%, rgba(224, 176, 114, 0.5), transparent 66%);
}

.aurora--2 {
  width: 70vw;
  height: 70vw;
  max-width: 520px;
  max-height: 520px;
  bottom: -26%;
  left: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(200, 112, 47, 0.42), transparent 68%);
  animation-delay: -9s;
}

.aurora--3 {
  width: 56vw;
  height: 56vw;
  max-width: 420px;
  max-height: 420px;
  top: 34%;
  left: 40%;
  background: radial-gradient(circle at 50% 50%, rgba(47, 74, 58, 0.55), transparent 70%);
  animation-delay: -16s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(-3%, 4%, 0) scale(1.06);
  }
  66% {
    transform: translate3d(3%, -3%, 0) scale(0.97);
  }
}

.halo {
  position: absolute;
  top: -30%;
  right: -18%;
  width: 86vw;
  height: 86vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(243, 217, 174, 0.34) 55deg,
    transparent 120deg,
    rgba(201, 141, 75, 0.2) 200deg,
    transparent 280deg
  );
  -webkit-mask: radial-gradient(circle, transparent 61%, #000 62%);
  mask: radial-gradient(circle, transparent 61%, #000 62%);
  opacity: 0.85;
  animation: spin 90s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.bean {
  position: absolute;
  color: #363b3f;
  opacity: 0.85;
  animation: bean-float 11s ease-in-out infinite;
  will-change: transform;
}

.bean--1 {
  left: 5%;
  top: 15%;
  width: 42px;
  --rot: 20deg;
  animation-delay: -1s;
}

.bean--2 {
  left: 84%;
  top: 11%;
  width: 34px;
  --rot: -26deg;
  animation-delay: -4s;
}

.bean--3 {
  left: 90%;
  top: 62%;
  width: 47px;
  --rot: 52deg;
  animation-delay: -7s;
}

.bean--4 {
  left: 11%;
  top: 76%;
  width: 30px;
  --rot: -12deg;
  animation-delay: -2.5s;
}

.bean--5 {
  left: 68%;
  top: 86%;
  width: 26px;
  --rot: 34deg;
  animation-delay: -6s;
}

@keyframes bean-float {
  0%,
  100% {
    transform: rotate(var(--rot)) translateY(0);
  }
  50% {
    transform: rotate(var(--rot)) translateY(-18px);
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  border: 1px solid rgba(243, 217, 174, 0.22);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__title {
  margin: 16px 0 0;
  font-size: clamp(2.9rem, 13.5vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero__line-in {
  display: block;
  transform: translateY(112%);
  animation: line-up 1.15s var(--ease) forwards;
}

.hero__line-in--1 {
  animation-delay: 0.15s;
}

.hero__line-in--2 {
  animation-delay: 0.32s;
  font-style: italic;
  font-weight: 500;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes line-up {
  to {
    transform: translateY(0);
  }
}

.hero__slogan {
  margin-top: 18px;
  max-width: 24ch;
  font-family: var(--font-head);
  font-size: clamp(1.22rem, 5.6vw, 1.8rem);
  font-style: italic;
  line-height: 1.34;
  color: #fff;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.hero__sub {
  margin-top: 10px;
  max-width: 36ch;
  color: rgba(247, 241, 232, 0.72);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(243, 217, 174, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(247, 241, 232, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.chip__stars,
.stars {
  color: var(--gold);
  letter-spacing: 0.1em;
}

.chip svg {
  color: var(--gold);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding: 11px 19px;
  border: 1px solid rgba(243, 217, 174, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.status__dot {
  position: relative;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9c968f;
}

.status.is-open .status__dot {
  background: #6cc08c;
  box-shadow: 0 0 0 4px rgba(108, 192, 140, 0.2);
}

.status.is-open .status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #6cc08c;
  animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero__scroll {
  display: none;
  margin-top: 46px;
  width: 26px;
  height: 46px;
  justify-content: center;
  text-decoration: none;
}

.hero__scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(243, 217, 174, 0.5), transparent);
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 12px;
  border-radius: 3px;
  background: var(--grad-gold);
  animation: scroll-hint 2.4s var(--ease-soft) infinite;
}

@keyframes scroll-hint {
  0% {
    transform: translateY(-14px);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: translateY(48px);
    opacity: 0;
  }
}

/* ===================== ТИКЕР ===================== */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 14px 0;
  background-color: #101214;
  background-image: var(--noise), linear-gradient(180deg, #171a1d, #101214);
  background-size: 200px 200px, auto;
  background-repeat: repeat, no-repeat;
  color: var(--gold-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 176, 114, 0.45), transparent);
}

.ticker::before {
  top: 0;
}

.ticker::after {
  bottom: 0;
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: marquee 46s linear infinite;
  will-change: transform;
}

.ticker__track span {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-style: italic;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: rgba(247, 241, 232, 0.82);
}

.ticker__track i {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--amber);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ===================== СЕКЦІЇ ===================== */
.section {
  position: relative;
  padding: 62px 0;
}

/* ===================== ПРО НАС ===================== */
.about {
  background: radial-gradient(60% 40% at 88% 0%, rgba(223, 226, 200, 0.35), transparent 60%),
    linear-gradient(180deg, var(--cream), #faf5ed);
}

.about__text {
  max-width: 620px;
}

.about__text .h2 {
  margin-bottom: 18px;
}

.about__text > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.about__text > p + p {
  margin-top: 12px;
}

.features {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.feature {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-lg);
  background: var(--grad-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease),
    border-color 0.4s ease;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 141, 75, 0.3);
  box-shadow: var(--shadow-card-hover);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature__num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 600;
  color: rgba(201, 141, 75, 0.22);
  line-height: 1;
}

.feature__icon {
  display: grid;
  place-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--amber-deep);
  background: radial-gradient(circle at 35% 25%, #fffaf2, #f4e7d4);
  box-shadow: inset 0 0 0 1px rgba(201, 141, 75, 0.28),
    0 14px 26px -18px rgba(201, 141, 75, 0.9);
  transition: transform 0.55s var(--ease);
}

.feature:hover .feature__icon {
  transform: rotate(-8deg) scale(1.05);
}

.feature h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ===================== МЕНЮ ===================== */
.menu-section {
  background: radial-gradient(70% 46% at 8% 0%, rgba(201, 141, 75, 0.16), transparent 62%),
    radial-gradient(60% 40% at 96% 6%, rgba(47, 74, 58, 0.12), transparent 62%),
    linear-gradient(180deg, #f8f2e9, #f2e9dc);
}

.menu-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 141, 75, 0.4), transparent);
}

.menu {
  position: relative;
}

.tabs {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 20px 14px;
  margin: 0 -20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs__pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 0;
  height: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, #3a2a1e, #141517);
  box-shadow: 0 16px 30px -18px rgba(20, 21, 23, 0.85),
    inset 0 1px 0 rgba(243, 217, 174, 0.28);
  pointer-events: none;
  transition: transform 0.55s var(--ease), width 0.55s var(--ease),
    height 0.4s var(--ease), background 0.5s ease;
}

.tabs[data-active-accent="autumn"] .tabs__pill {
  background: linear-gradient(120deg, #e08b3d, #b25f24);
}

.tabs[data-active-accent="sage"] .tabs__pill {
  background: linear-gradient(120deg, #5f8168, #2f4a3a);
}

.tabs[data-active-accent="slate"] .tabs__pill {
  background: linear-gradient(120deg, #4d6b78, #263c46);
}

.tab {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 12px 19px;
  border: 1px solid rgba(20, 21, 23, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.7);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.89rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease,
    transform 0.45s var(--ease), box-shadow 0.35s ease;
}

.tab:hover {
  color: var(--ink);
  border-color: rgba(201, 141, 75, 0.45);
}

.tab[aria-selected="true"] {
  color: #fffdfa;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.tab:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.menu__panels {
  margin-top: 8px;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 26px 20px;
  border: 1px solid rgba(20, 21, 23, 0.07);
  border-radius: var(--r-xl);
  background: var(--grad-card);
  box-shadow: 0 50px 90px -62px rgba(58, 42, 30, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: panel-in 0.55s var(--ease) both;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 141, 75, 0.8), transparent);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(201, 141, 75, 0.12),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .panel:hover::after {
    opacity: 1;
  }
}

.panel:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.panel__note {
  display: inline-block;
  margin-bottom: 18px;
  padding: 9px 16px;
  border: 1px solid rgba(200, 112, 47, 0.25);
  border-radius: 999px;
  background: rgba(200, 112, 47, 0.08);
  color: var(--terracotta);
  font-size: 0.86rem;
  font-weight: 700;
}

.items {
  display: grid;
}

.item {
  padding: 13px 0;
  border-bottom: 1px dashed rgba(20, 21, 23, 0.12);
}

.panel--enter .item {
  animation: item-in 0.6s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 26ms);
}

.items > .item:last-child {
  border-bottom: 0;
}

@keyframes item-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.item__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.item__name {
  font-weight: 700;
  font-size: 0.99rem;
  letter-spacing: -0.005em;
}

.item__lead {
  flex: 1 1 auto;
  min-width: 14px;
  height: 1px;
  transform: translateY(-4px);
  background-image: radial-gradient(circle, rgba(20, 21, 23, 0.32) 1px, transparent 1px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  opacity: 0.6;
}

.item__price {
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--amber-deep);
  white-space: nowrap;
}

.item__desc {
  margin-top: 5px;
  padding-right: 8px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

.extras {
  margin-top: 24px;
  padding: 20px 18px 8px;
  border: 1px dashed rgba(201, 141, 75, 0.4);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(243, 217, 174, 0.18), rgba(255, 255, 255, 0.4));
}

.extras__title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.extras__title::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-gold);
}

.extras .item__price {
  color: var(--sage-deep);
}

/* ===================== ВІДГУКИ ===================== */
.reviews-section {
  background: radial-gradient(64% 44% at 12% 0%, rgba(223, 226, 200, 0.5), transparent 62%),
    linear-gradient(180deg, #f6efe4, var(--cream));
}

.rating-summary {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 26px 22px;
  margin-bottom: 34px;
  border: 1px solid rgba(201, 141, 75, 0.24);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #fffdfa, #fbf3e6);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
}

.rating-summary__main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rating-summary__value {
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rating-summary__stars {
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.rating-summary__meta {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.reviews-grid {
  display: grid;
  gap: 16px;
}

.review {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-lg);
  background: var(--grad-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease),
    border-color 0.4s ease;
}

.review::before {
  content: "“";
  position: absolute;
  top: -6px;
  right: 16px;
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  color: rgba(201, 141, 75, 0.2);
}

.review:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 141, 75, 0.3);
  box-shadow: var(--shadow-card-hover);
}

.review__head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}

.review__avatar {
  flex: 0 0 auto;
  display: grid;
  place-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fffdfa;
  background: linear-gradient(140deg, #c98d4b, #8f5f28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 12px 24px -16px rgba(143, 95, 40, 0.9);
}

.review:nth-child(2) .review__avatar {
  background: linear-gradient(140deg, #6d9377, #2f4a3a);
}

.review:nth-child(3) .review__avatar {
  background: linear-gradient(140deg, #dd8f4d, #a8541c);
}

.review__name {
  font-weight: 800;
  line-height: 1.35;
}

.review__badge {
  display: inline-block;
  margin-left: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(223, 226, 200, 0.75);
  color: var(--sage-deep);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.review__meta {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.review__text {
  font-size: 0.98rem;
}

.review__text--muted {
  color: var(--ink-soft);
  font-style: italic;
}

.review__scores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.review__scores span {
  padding: 6px 13px;
  border: 1px solid rgba(47, 74, 58, 0.16);
  border-radius: 999px;
  background: rgba(223, 226, 200, 0.5);
  color: var(--sage-deep);
  font-size: 0.76rem;
  font-weight: 700;
}

.review__reply {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(201, 141, 75, 0.09);
  font-size: 0.9rem;
}

.review__reply-label {
  margin-bottom: 4px;
  color: var(--amber-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ===================== КОНТАКТИ ===================== */
.section--dark {
  color: var(--cream);
  background-color: #0f1113;
  background-image: var(--noise),
    radial-gradient(76% 54% at 6% 4%, rgba(201, 141, 75, 0.26), transparent 62%),
    radial-gradient(60% 46% at 94% 92%, rgba(47, 74, 58, 0.42), transparent 62%),
    var(--grad-dark);
  background-size: 200px 200px, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 176, 114, 0.5), transparent);
}

.contacts__grid {
  display: grid;
  gap: 22px;
}

.contacts__info {
  display: grid;
  gap: 14px;
}

.info-card {
  display: flex;
  gap: 15px;
  padding: 19px;
  border: 1px solid rgba(243, 217, 174, 0.14);
  border-radius: var(--r-md);
  background: var(--grad-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-deep);
  transition: transform 0.5s var(--ease), border-color 0.4s ease, box-shadow 0.5s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 217, 174, 0.34);
}

.info-card__icon {
  flex: 0 0 auto;
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--gold-2);
  background: radial-gradient(circle at 35% 25%, rgba(243, 217, 174, 0.22), rgba(201, 141, 75, 0.1));
  box-shadow: inset 0 0 0 1px rgba(243, 217, 174, 0.22);
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.info-card p {
  color: rgba(247, 241, 232, 0.78);
  font-size: 0.95rem;
}

.info-card a {
  font-weight: 800;
}

.info-card__status {
  margin-top: 5px;
  font-size: 0.85rem !important;
  font-weight: 700;
}

.info-card__status.is-open {
  color: #9fd3b1;
}

.info-card__status.is-closed {
  color: #e0a97c;
}

.contacts__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.contacts__map {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-frame {
  padding: 6px;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(243, 217, 174, 0.4), rgba(243, 217, 174, 0.06));
  box-shadow: var(--shadow-deep);
}

.map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: calc(var(--r-xl) - 6px);
  background: #141517;
  filter: saturate(0.95) contrast(1.02);
}

/* ===================== ФУТЕР ===================== */
.footer {
  position: relative;
  padding: 40px 0;
  color: rgba(247, 241, 232, 0.8);
  background-color: #0f1113;
  background-image: var(--noise), linear-gradient(180deg, #14171a, #0d0f11);
  background-size: 200px 200px, auto;
  background-repeat: repeat, no-repeat;
}

.footer__inner {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.footer__brand {
  display: grid;
  gap: 12px;
  justify-items: center;
  font-weight: 700;
  color: var(--cream);
}

.footer__meta {
  font-size: 0.9rem;
}

.footer .link:hover {
  color: var(--gold);
}

/* ===================== МОБІЛЬНА ПАНЕЛЬ ДІЙ ===================== */
.action-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 100;
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(243, 217, 174, 0.16);
  border-radius: 999px;
  background: rgba(16, 18, 20, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 50px -26px rgba(10, 11, 12, 0.9);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.4s ease;
}

.action-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.action-bar__btn {
  flex: 1 1 0;
  padding: 13px 14px;
  font-size: 0.9rem;
}

.action-bar__btn.btn--outline-light {
  background: rgba(255, 255, 255, 0.05);
}

/* ===================== ВГОРУ ===================== */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 100;
  display: none;
  place-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(243, 217, 174, 0.3);
  border-radius: 50%;
  color: #2a1b06;
  background: var(--grad-gold-btn);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  box-shadow: 0 22px 40px -20px rgba(201, 141, 75, 0.95);
  transition: opacity 0.45s ease, transform 0.55s var(--ease), box-shadow 0.4s ease;
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 52px -22px rgba(201, 141, 75, 1);
}

/* ===================== ПОЯВА ПРИ СКРОЛІ ===================== */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s ease;
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal="up"] {
  transform: translate3d(0, 34px, 0);
}

.js [data-reveal="down"] {
  transform: translate3d(0, -26px, 0);
}

.js [data-reveal="left"] {
  transform: translate3d(-36px, 0, 0);
}

.js [data-reveal="right"] {
  transform: translate3d(36px, 0, 0);
}

.js [data-reveal="scale"] {
  transform: scale(0.94);
}

.js [data-reveal="blur"] {
  filter: blur(14px);
  transform: translate3d(0, 18px, 0);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* золота лінія малюється після появи блоку */
.js .rule {
  transform: scaleX(0);
  transition: transform 1.1s var(--ease) 0.3s;
}

.js [data-reveal].is-visible .rule {
  transform: scaleX(1);
}

/* страховка: якщо script.js не завантажився — показуємо все */
.js-fallback [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.js-fallback .rule {
  transform: scaleX(1) !important;
}

/* вхід hero-блоку (чистий CSS, працює навіть без JS) */
.hero [data-intro] {
  opacity: 0;
  transform: translateY(22px);
  animation: intro-up 1s var(--ease) forwards;
  animation-delay: var(--rd, 0ms);
}

@keyframes intro-up {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ===================== ПЛАНШЕТ ===================== */
@media (min-width: 600px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rating-summary {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 26px 30px;
  }

  .contacts__buttons .btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 78px;
  }

  .container {
    padding: 0 32px;
  }

  body {
    padding-bottom: 0;
  }

  .logo__badge {
    width: 52px;
    height: 52px;
    font-size: 0.48rem;
  }

  .logo__text {
    display: inline-block;
  }

  .burger {
    display: none;
  }

  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav > a {
    padding: 11px 15px;
    font-size: 0.94rem;
    border-radius: 999px;
  }

  .nav__call {
    margin-top: 0;
    margin-left: 12px;
  }

  .hero {
    padding: 86px 0 96px;
  }

  .hero__scroll {
    display: flex;
  }

  .section {
    padding: 88px 0;
  }

  .tabs {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    margin: 0;
    padding: 4px 0 18px;
  }

  .panel {
    padding: 32px 34px;
  }

  .items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
  }

  .items > .item {
    border-bottom: 0;
  }

  .items--single {
    grid-template-columns: minmax(0, 1fr);
  }

  .items--single > .item {
    border-bottom: 1px dashed rgba(20, 21, 23, 0.12);
  }

  .items--single > .item:last-child {
    border-bottom: 0;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-frame iframe {
    height: 380px;
  }

  .action-bar {
    display: none;
  }

  .to-top {
    display: grid;
  }

  .footer__inner {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .footer__brand {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: start;
    gap: 14px;
  }

  .footer__inner > .footer__meta:last-child {
    justify-self: end;
    text-align: right;
  }
}

/* ===================== ДЕСКТОП ===================== */
@media (min-width: 1024px) {
  .about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .about__text {
    max-width: 640px;
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
    gap: 18px;
  }

  .feature {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    align-items: center;
    padding: 24px 26px;
  }

  .feature__icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .feature__num {
    top: 18px;
    right: 24px;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contacts__grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 30px;
    align-items: start;
  }

  .map-frame iframe {
    height: 100%;
    min-height: 430px;
  }

  .contacts__map {
    height: 100%;
  }

  .hero__slogan {
    max-width: 28ch;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 44px;
  }

  .section {
    padding: 106px 0;
  }
}

/* невисокі екрани: hero має вміщатися у вьюпорт */
@media (min-width: 768px) and (max-height: 950px) {
  .hero {
    padding: 58px 0 66px;
  }

  .hero__title {
    font-size: clamp(2.9rem, 7.4vw, 4.7rem);
    margin-top: 16px;
  }

  .hero__slogan {
    margin-top: 14px;
  }

  .hero__stats {
    margin-top: 16px;
  }

  .status {
    margin-top: 16px;
  }

  .hero__actions {
    margin-top: 20px;
  }

  .hero__scroll {
    margin-top: 26px;
  }
}

/* невеликі телефони: компактніший hero */
@media (max-width: 767px) {
  .hero {
    padding: 38px 0 48px;
  }

  .hero__slogan {
    margin-top: 14px;
  }

  .hero__sub {
    margin-top: 8px;
  }

  .hero__scroll {
    margin-top: 30px;
  }
}

/* мобільний відступ під панель дій */
@media (max-width: 767px) {
  body {
    padding-bottom: 86px;
  }
}

/* ===================== ПОВАГА ДО НАЛАШТУВАНЬ ===================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero__line-in {
    transform: none;
    animation: none;
  }

  .hero [data-intro] {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .ticker__track {
    animation: none;
  }

  .aurora,
  .halo,
  .bean,
  .status.is-open .status__dot::after,
  .hero__scroll-line::after {
    animation: none;
  }
}
