/* ——— Фірма «Фавор» — organic & fresh design (purple brand) ——— */
:root {
  --paper: #ffffff;
  --cream: #faf8fc;
  --cream-dark: #f3eef9;
  --brand: #6b3fa0;
  --brand-light: #8b5cb8;
  --brand-dark: #51308a;
  --brand-deep: #2a1542;
  --brand-soft: #f3eef9;
  --accent: #c9a9e6;
  --ink: #241c2b;
  --muted: #6e6675;
  --line: #ece4f4;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(42, 21, 66, 0.06);
  --shadow: 0 24px 60px rgba(42, 21, 66, 0.12);
  --shadow-card: 0 18px 44px rgba(42, 21, 66, 0.10);
  --radius: 16px;
  --radius-lg: 28px;
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-script: "Pacifico", "Comic Sans MS", cursive;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }

a:hover { color: var(--brand); }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
}

.container--narrow { width: min(760px, calc(100% - 48px)); }

.text-center { text-align: center; }

/* ——— Top utility bar ——— */
.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a { color: rgba(255, 255, 255, 0.82); }
.topbar a:hover { color: var(--accent); }

.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { opacity: 0.8; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.lang-switch__btn:hover,
.lang-switch__btn.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lang-switch--compact {
  background: var(--cream, #f7f3ee);
}

.lang-switch--compact .lang-switch__btn {
  color: var(--text-muted, #6b6470);
}

.lang-switch--compact .lang-switch__btn.is-active {
  background: var(--white, #fff);
  color: var(--brand-deep, #2a1542);
  box-shadow: 0 2px 8px rgba(42, 21, 66, 0.08);
}

.header-actions .lang-switch--compact {
  display: none;
}

.mobile-panel__lang {
  display: flex;
  gap: 8px;
  padding: 8px 0;
}

.mobile-panel__lang .lang-switch__btn {
  background: var(--cream, #f7f3ee);
  color: var(--brand-deep, #2a1542);
}

@media (max-width: 900px) {
  .topbar .lang-switch { display: none; }
  .header-actions .lang-switch--compact { display: inline-flex; }
}

/* ——— Header (white rounded pill) ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-header__bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled .site-header__bar {
  box-shadow: 0 8px 30px rgba(42, 21, 66, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 84px;
  gap: 24px;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.header-logo:hover { color: var(--ink); opacity: 0.9; }

.header-logo--img { gap: 0; }

.header-logo__img {
  display: block;
  height: 100px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.header-logo__ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(107, 63, 160, 0.32);
}

.header-logo__mark {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header-logo__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-nav a {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active { color: var(--brand); }

.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.header-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-soft);
}

.header-icon:hover {
  background: var(--brand);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--brand-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--brand);
  border-radius: 2px;
}

.site-main { display: block; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.btn-brand {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(107, 63, 160, 0.32);
}

.btn-brand:hover {
  background: var(--brand-dark);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-outline-dark:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-light {
  background: var(--white);
  color: var(--brand-dark);
}

.btn-light:hover { color: var(--brand-deep); }

.btn-sm { padding: 11px 22px; font-size: 0.82rem; }

.btn-block { width: 100%; }

.link-arrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
}

.link-arrow::after { content: " →"; transition: transform 0.2s ease; display: inline-block; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ——— Section + titles ——— */
.section {
  padding: 96px 0;
  position: relative;
}

.section-cream { background: var(--cream); }

.section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-title__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

.section-title__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}

.section-title__script {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--brand);
  margin-top: 12px;
}

.section-title__line {
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.section-title__sub {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 640px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero__slides {
  display: grid;
  min-height: inherit;
}

.hero__slide {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
}

/* Плавний зум фону активного слайда (ефект Ken Burns) */
.hero__slide.is-active .hero__bg {
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.0); }
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(125% 85% at 50% 36%, rgba(42, 21, 66, 0.05) 0%, rgba(34, 16, 54, 0.55) 62%, rgba(26, 11, 44, 0.88) 100%),
    linear-gradient(180deg, rgba(20, 8, 36, 0.62) 0%, rgba(20, 8, 36, 0.18) 38%, rgba(20, 8, 36, 0.85) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 120px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Мʼякий світловий ореол за текстом — гарантує контраст на будь-якому фото */
.hero__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 760px;
  max-width: 110%;
  height: 116%;
  transform: translate(-50%, -50%);
  background: radial-gradient(60% 58% at 50% 48%, rgba(20, 8, 36, 0.58) 0%, rgba(20, 8, 36, 0.22) 55%, rgba(20, 8, 36, 0) 78%);
  filter: blur(6px);
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 18px;
  padding: 6px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
  max-width: 18ch;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), 0 16px 48px rgba(0, 0, 0, 0.45);
}

.hero__subtitle {
  max-width: 580px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

/* ——— Hero slideshow controls ——— */
.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.25s ease;
}

.hero__nav:hover { background: var(--brand); border-color: var(--brand); }
.hero__nav--prev { left: 24px; }
.hero__nav--next { right: 24px; }
.hero__nav svg { display: block; }

.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 96px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero__dot:hover { background: rgba(255, 255, 255, 0.8); }
.hero__dot.is-active { background: var(--white); transform: scale(1.25); }

.hero__meta {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: -44px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero__meta-item {
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__meta-item + .hero__meta-item { border-left: 1px solid var(--line); }

.hero__meta-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}

.hero__meta-text span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__meta-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.hero__meta-text strong a { color: var(--ink); }
.hero__meta-text strong a:hover { color: var(--brand); }

/* ——— Feature split (story / best trusted) ——— */
.feature-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.feature-split__media {
  position: relative;
}

.feature-split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

.feature-split__badge {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
}

.feature-split__badge span {
  font-family: var(--font-script);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--brand);
}

.feature-split__text .section-title__heading { margin-bottom: 4px; }

.feature-split__text .section-title__script {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  margin-top: 10px;
}

.feature-split__text .prose p { color: var(--muted); margin: 0 0 16px; }

.feature-points {
  display: grid;
  gap: 18px;
  margin: 28px 0 32px;
}

.feature-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-point__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}

.feature-point h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.feature-point p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ——— Stats ——— */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.stat-pill {
  padding: 26px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brand);
}

.stat-pill span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ——— Market cards (carousel-like) ——— */
.market {
  position: relative;
}

.market-cards {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px;
  margin: 0 -4px;
  scrollbar-width: none;
}

.market-cards::-webkit-scrollbar { display: none; }

.market-card {
  flex: 0 0 calc((100% - 56px) / 3);
  scroll-snap-align: start;
}

.market-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.market-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.market-card__thumb {
  width: 130px;
  height: 130px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: 0 14px 30px rgba(42, 21, 66, 0.14);
}

.market-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.market-card:hover .market-card__thumb img { transform: scale(1.08); }

.market-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 6px;
}

.market-card h3 a:hover { color: var(--brand); }

.market-card p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.market-card__cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-light);
  background: var(--brand-soft);
  padding: 5px 14px;
  border-radius: 999px;
}

.market-nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 3;
}

.market-nav:hover { background: var(--brand); color: var(--white); }
.market-nav--prev { left: -22px; transform: translateY(-50%); }
.market-nav--next { right: -22px; transform: translateY(-50%); }

/* ——— Steps ——— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -12px;
  width: 60%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--accent) 50%, transparent 50%);
  background-size: 14px 2px;
  background-repeat: repeat-x;
}

.step__icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  position: relative;
  z-index: 1;
}

.step__num {
  position: absolute;
  top: -6px;
  right: calc(50% - 56px);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  z-index: 2;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.step p {
  margin: 0 auto;
  max-width: 26ch;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ——— Tabs ——— */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}

.tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab:hover { border-color: var(--brand); color: var(--brand); }

.tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

/* ——— Product showcase grid ——— */
.product-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.showcase-card {
  text-align: center;
  background: var(--white);
  padding: 0 0 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-card.is-hidden { display: none; }

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.showcase-card__img {
  display: block;
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--cream);
}

.showcase-card__img img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-card__img img { transform: scale(1.06); }

.showcase-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 8px;
  padding: 0 16px;
}

.showcase-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 16px;
  padding: 0 16px;
}

/* ——— Menu list (catalog rows) ——— */
.section-menu { background: var(--cream); }

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.menu-item {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.menu-item__thumb {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--cream);
  box-shadow: 0 8px 20px rgba(42, 21, 66, 0.12);
}

.menu-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item__body { flex: 1; }

.menu-item__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 6px;
}

.menu-item__head h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0;
  font-weight: 600;
}

.menu-item__head h3 a:hover { color: var(--brand); }

.menu-item__price {
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}

.menu-item__body p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.menu-item__cat {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--brand-light);
}

/* ——— Contact form ——— */
.section-contact {
  background: var(--cream);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(107, 63, 160, 0.12);
}

.form-field--full { grid-column: 1 / -1; }

/* ——— Testimonials ——— */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial {
  margin: 0;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.testimonial__quote {
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(107, 63, 160, 0.14);
}

.testimonial p {
  margin: 0 0 16px;
  padding-top: 22px;
  color: var(--ink);
}

.testimonial cite {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand);
}

/* ——— Promo banner (Де придбати) ——— */
.promo-banner {
  position: relative;
  padding: 110px 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.promo-banner__bg {
  position: absolute;
  inset: 0;
  background: var(--brand-deep) center / cover no-repeat;
  transform: scale(1.06);
}

.promo-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(125% 85% at 50% 36%, rgba(42, 21, 66, 0.08) 0%, rgba(34, 16, 54, 0.55) 62%, rgba(26, 11, 44, 0.88) 100%),
    linear-gradient(135deg, rgba(42, 21, 66, 0.88), rgba(107, 63, 160, 0.72));
}

.promo-banner__inner {
  position: relative;
  z-index: 1;
}

.promo-banner__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(920px, 112%);
  height: 118%;
  transform: translate(-50%, -50%);
  background: radial-gradient(60% 58% at 50% 48%, rgba(20, 8, 36, 0.55) 0%, rgba(20, 8, 36, 0.18) 55%, rgba(20, 8, 36, 0) 78%);
  filter: blur(8px);
  pointer-events: none;
}

.promo-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-script);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 18px;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.promo-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), 0 16px 48px rgba(0, 0, 0, 0.35);
}

.promo-banner p {
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.promo-banner__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 36px;
  max-width: 960px;
  margin: 40px auto 0;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(20, 8, 36, 0.22);
}

.promo-banner__logos a,
.promo-banner__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 6px 10px;
}

.promo-banner__logos img {
  display: block;
  max-height: 52px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ——— Blog / news ——— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.blog-card__img {
  display: block;
  position: relative;
  overflow: hidden;
}

.blog-card__img img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__img img { transform: scale(1.05); }

.blog-card__img time {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 14px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 999px;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 22px 22px;
  text-align: center;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
  min-height: calc(1.2rem * 1.35 * 2);
  margin: 0 0 10px;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card h3 a:hover { color: var(--brand); }

.blog-card p {
  flex: 1;
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .link-arrow {
  margin-top: auto;
  display: inline-block;
  align-self: center;
}

/* ——— Gallery strip ——— */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.gallery-strip__item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.gallery-strip__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 21, 66, 0);
  transition: background 0.3s ease;
}

.gallery-strip__item:hover::after { background: rgba(42, 21, 66, 0.25); }

.gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-strip__item:hover img { transform: scale(1.08); }

/* ——— Inner pages ——— */
.page-banner {
  text-align: center;
  padding: 80px 0 64px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.page-banner p {
  margin: 0 auto;
  max-width: 580px;
  color: var(--muted);
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}

.chip {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

a.chip:hover { background: var(--accent); color: var(--brand-deep); }

.chip--active {
  background: var(--brand);
  color: var(--white);
}

a.chip--active:hover { background: var(--brand-dark); color: var(--white); }

/* ——— Category cards (homepage) ——— */
.cat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.cat-card {
  position: relative;
  display: block;
  flex: 0 1 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3.6;
  color: var(--white);
}

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 21, 66, 0.05), rgba(42, 21, 66, 0.78));
}

.cat-card:hover img { transform: scale(1.06); }

.cat-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 26px;
  text-align: center;
}

.cat-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--white);
}

.cat-card__body span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.cat-card:hover .cat-card__body span { color: var(--white); }

@media (max-width: 860px) {
  .cat-grid { max-width: 420px; margin: 0 auto; }
  .cat-card { flex-basis: 100%; max-width: 100%; }
}

.prose p { margin: 0 0 16px; color: var(--muted); }

.story-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.story-block__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.story-block__text .section-title__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  width: 100%;
}

.icon-list--2 {
  grid-template-columns: repeat(2, 1fr);
}

.icon-list--3 {
  grid-template-columns: repeat(3, 1fr);
}

.icon-list--2 .icon-list__item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.icon-list__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.icon-list__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(107, 63, 160, 0.18);
}

.icon-list--3 .icon-list__item {
  align-items: center;
  text-align: center;
  padding: 32px 24px;
}

.icon-list--2 .icon-list__item:last-child:nth-child(odd) {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(107, 63, 160, 0.06), rgba(42, 21, 66, 0.04));
  border-color: rgba(107, 63, 160, 0.14);
}

.icon-list--2 .icon-list__item:last-child:nth-child(odd) .icon-list__text {
  padding-top: 0;
}

.icon-list__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brand-soft), rgba(107, 63, 160, 0.12));
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.icon-list__text {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.doc-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.doc-card__link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.doc-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}

.doc-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text);
}

.doc-card__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
}

.award-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.award-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.award-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}

.award-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-card__body {
  padding: 22px 24px 26px;
}

.award-card__year {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
}

.award-card__body h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
}

.award-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.photo-grid__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.photo-grid__item:nth-child(6n + 1),
.photo-grid__item:nth-child(6n + 4) {
  grid-column: span 2;
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-grid__item:hover img {
  transform: scale(1.04);
}

.testimonial__text p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.65;
}

.testimonial__text p:last-child {
  margin-bottom: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.detail-layout img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
}

.detail-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  margin: 16px 0;
}

.detail-content .lead {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.timeline {
  border-left: 2px solid var(--line);
  margin-left: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 24px 0 24px 28px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.contact-card h3 {
  font-family: var(--font-display);
  color: var(--brand);
  margin: 0 0 12px;
}

.store-card {
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.store-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 10px;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 80px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto 48px;
  position: relative;
}

.footer-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(-50%);
}

.footer-col {
  text-align: center;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  margin: 0 0 18px;
}

.footer-contacts {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-contacts__line {
  margin: 0;
  line-height: 1.55;
}

.footer-contacts__hours {
  font-size: 0.92rem;
  opacity: 0.78;
}

.contact-link {
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  opacity: 0.7;
  text-align: center;
}

.footer-bottom a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.footer-social__link:hover {
  background: var(--accent);
  color: var(--brand-deep);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  border: none;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, visibility 0.25s ease;
}

.scroll-top:hover {
  background: var(--brand-deep);
  transform: translateY(-3px);
}

.scroll-top[hidden] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.scroll-top:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

/* ——— Scroll animations ——— */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up[data-delay="1"] { transition-delay: 0.08s; }
.fade-up[data-delay="2"] { transition-delay: 0.16s; }
.fade-up[data-delay="3"] { transition-delay: 0.24s; }
.fade-up[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .hero__bg { transform: none; }
  .hero__slide.is-active .hero__bg { animation: none; transform: none; }
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .feature-split { grid-template-columns: 1fr; gap: 48px; }
  .feature-split__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .product-showcase { grid-template-columns: repeat(2, 1fr); }
  .market-card { flex: 0 0 calc((100% - 28px) / 2); }
  .market-nav { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid::before { display: none; }
  .doc-cards { grid-template-columns: 1fr; }
  .award-cards { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-list--3 { grid-template-columns: 1fr; }
  .icon-list--3 .icon-list__item { align-items: flex-start; text-align: left; }
}

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.mobile-panel a {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-panel a:last-child { border-bottom: none; }

.site-header.is-open .mobile-panel {
  display: flex;
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .header-actions .btn { display: none; }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .nav-toggle {
    display: block;
  }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step:not(:last-child)::after { display: none; }
  .market-card { flex: 0 0 88%; }
  .menu-list,
  .testimonials,
  .blog-grid,
  .contact-cards,
  .doc-cards,
  .award-cards,
  .photo-grid,
  .icon-list--2,
  .icon-list--3 { grid-template-columns: 1fr; }
  .icon-list--2 .icon-list__item:last-child:nth-child(odd) {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .icon-list--3 .icon-list__item { align-items: flex-start; text-align: left; }
  .story-block { grid-template-columns: 1fr; gap: 32px; }
  .photo-grid__item,
  .photo-grid__item:nth-child(6n + 1),
  .photo-grid__item:nth-child(6n + 4) { grid-column: span 1; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .contact-form__grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta-item + .hero__meta-item { border-left: none; border-top: 1px solid var(--line); }
  .hero__nav { width: 42px; height: 42px; }
  .hero__nav--prev { left: 10px; }
  .hero__nav--next { right: 10px; }
  .hero__dots { bottom: 120px; }
}

@media (max-width: 560px) {
  .topbar__left { display: none; }
  .product-showcase { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .section { padding: 64px 0; }
}

/* ——— Каталог продукції (картки + модальне вікно) ——— */
.product-cat + .product-cat { margin-top: 56px; }

.product-cat__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 24px;
  position: relative;
  padding-left: 18px;
}

.product-cat__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1.1em;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
  outline: none;
}

.product-card__media {
  background: var(--cream);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.product-card__media img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.32;
  margin: 0;
}

.product-card__meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.product-card__more {
  margin-top: auto;
  padding-top: 8px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.product-modal:not([hidden]) { display: flex; }

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 36, 0.62);
  backdrop-filter: blur(3px);
}

.product-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--white);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: 0 30px 80px rgba(20, 8, 36, 0.4);
}

.product-modal__media {
  background: var(--cream);
  display: grid;
  place-items: center;
  padding: 32px;
}

.product-modal__media img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.product-modal__body { padding: 34px 36px; }

.product-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin: 14px 0 18px;
  line-height: 1.2;
}

.product-modal__content p {
  margin: 0 0 12px;
  line-height: 1.62;
  color: var(--ink);
}

.product-modal__cta { margin-top: 12px; }

.product-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(20, 8, 36, 0.08);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-modal__close:hover { background: var(--brand); color: var(--white); }

body.modal-open { overflow: hidden; }

@media (max-width: 720px) {
  .product-modal__dialog { grid-template-columns: 1fr; }
  .product-modal__media { padding: 24px; }
  .product-modal__media img { max-height: 240px; }
  .product-modal__body { padding: 24px; }
}
