:root {
  /* Палитра «Honey Color Palette» (dribbble.com/shots/24844978) */
  --honey: #ffc30b;       /* медовый акцент */
  --tangerine: #f58153;   /* мандариновый */
  --sun: #f07138;         /* солнечно-оранжевый */
  --honey-dark: #de632b;  /* ржаво-оранжевый — тёмный акцент */
  --cream: #f6f5f1;       /* тёплый светлый фон */
  --paper: #fdfcfa;       /* почти белый */
  --ink: #2f2f2f;         /* графит — основной текст */
  --ink-soft: #7b7b81;    /* серый — вторичный текст */
  --line: #e5e3dd;
  --shadow: 0 18px 45px rgba(47, 47, 47, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.25; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.3; }

.kicker {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--honey-dark);
  margin-bottom: 14px;
}
.kicker::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin-top: 10px;
  background: var(--honey);
  border-radius: 2px;
}

/* ---------- Страховки от Bootstrap (подключён раньше этого файла) ---------- */
/* ссылки без явного цвета не должны синеть от bootstrap */
a { color: inherit; }

/* двойная специфичность перебивает bootstrap .btn-primary/:hover (синий) */
.btn.btn-primary,
.btn.btn-primary:hover {
  background: linear-gradient(135deg, #ffc30b, #f07138);
  color: #2f2f2f;
  border-color: transparent;
}

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 195, 11, .95);   /* медовый #FFC30B */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(47, 47, 47, .14);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-family: Georgia, serif; font-size: 1.05rem;
}
.brand-logo {
  width: 44px; height: auto;   /* по пропорциям картинки 113×95 — без обрезки */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(47, 47, 47, .22);
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: rgba(47, 47, 47, .78); font-size: .95rem; }
.nav a:hover { color: #2f2f2f; text-decoration: underline; }
.header-phone {
  text-decoration: none; color: var(--ink);
  font-weight: 600; white-space: nowrap;
}
.header-phone:hover { color: var(--honey-dark); }

/* ---------- Первый блок: заголовок + о мёде ---------- */
.hero { padding: 64px 0 84px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 48px; align-items: center;
}
.lead {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--honey-dark);
  font-family: Georgia, serif;
  margin: 22px 0 10px;
}
.sub { color: var(--ink-soft); max-width: 36em; margin-top: 12px; }
.features { list-style: none; margin-top: 28px; display: grid; gap: 18px; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features strong { color: var(--ink); }
.features li > div { color: var(--ink-soft); font-size: .95rem; }
.feat-icon { font-size: 1.6rem; line-height: 1.2; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .98rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary {
  background: linear-gradient(135deg, #ffc30b, #f07138);
  color: #2f2f2f; box-shadow: 0 10px 26px rgba(240, 113, 56, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(240, 113, 56, .45); }
.btn-ghost {
  border: 2px solid var(--honey); color: var(--honey-dark);
}
.btn-ghost:hover { background: #fff4d1; transform: translateY(-2px); }

/* фото банки справа от блока: целиком, 320 × 1.5 = 480px */
.hero-label {
  max-width: 480px;
  margin: 0 auto;
}
.hero-label img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* ---------- Галерея ---------- */
.gallery { padding: 84px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery-grid {
  margin-top: 34px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.g-item { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(47, 47, 47, .14); }
.g-item img { transition: transform .35s ease; aspect-ratio: 1; object-fit: cover; width: 100%; }
.g-item:hover img { transform: scale(1.06); }

/* карточка видео в галерее */
.g-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.g-play svg {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(47, 47, 47, .58); fill: #fff;
  padding: 14px;
  transition: transform .25s ease, background .25s ease;
}
.g-video:hover .g-play svg { transform: scale(1.12); background: var(--honey); fill: #2f2f2f; }

/* ---------- Контакты ---------- */
.contacts { background: linear-gradient(180deg, #ffedd0, var(--paper)); padding: 84px 0; }
/* сетку контактов рисует Bootstrap (row/row-cols/g-3), здесь только отступ */
.contact-grid { margin-top: 36px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 22px; text-decoration: none; color: var(--ink);
  text-align: center; transition: transform .18s ease, box-shadow .18s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card svg { width: 30px; height: 30px; color: var(--honey); margin: 0 auto 12px; }
.contact-card strong { display: block; margin-bottom: 4px; }
.contact-card span { color: var(--ink-soft); font-size: .93rem; word-break: break-word; }

/* ---------- Подвал ---------- */
.footer { background: #2f2f2f; color: #b9b9bf; padding: 26px 0; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Лайтбокс-карусель ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  background: rgba(31, 31, 31, .93);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure {
  margin: 0; max-width: min(84vw, 900px);
  display: flex; flex-direction: column; align-items: center;
}
.lightbox img {
  max-width: 100%; max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.lightbox video {
  display: none;
  max-width: 100%; max-height: 78vh;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.lightbox.is-video img { display: none; }
.lightbox.is-video video { display: block; }
.lightbox figcaption {
  color: #f6f5f1; margin-top: 14px;
  font-size: .95rem; letter-spacing: .08em;
}
.lb-close, .lb-nav {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lb-close { position: absolute; top: 20px; right: 24px; }
.lb-close svg, .lb-nav svg { width: 26px; height: 26px; fill: #fff; }
.lb-close:hover, .lb-nav:hover { background: var(--honey); transform: scale(1.06); }
.lb-close:hover svg, .lb-nav:hover svg { fill: #2f2f2f; }

@media (max-width: 640px) {
  .lightbox { gap: 10px; }
  .lightbox figure { max-width: calc(100vw - 130px); }
  .lb-close, .lb-nav { width: 42px; height: 42px; }
  .lb-close svg, .lb-nav svg { width: 20px; height: 20px; }
}

/* ---------- Анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .hero { padding: 40px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 480px) {
  .contact-grid { grid-template-columns: 1fr; }
  .header-phone { font-size: .9rem; }
}
