
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
  a, button, [role="button"], input, textarea, select { outline: none; }
  a:focus:not(:focus-visible), button:focus:not(:focus-visible), [role="button"]:focus:not(:focus-visible) { outline: none; box-shadow: none; }

  :root {
    --cream: #f8f4ee;
    --earth: #3d2b1f;
    --moss: #4a6741;
    --moss-light: #e8f0e6;
    --mushroom: #c8a97e;
    --mushroom-dark: #8b6340;
    --text: #2a1f14;
    --text-muted: #7a6858;
    --white: #ffffff;
    --border: rgba(61,43,31,0.12);
  }

  html { scroll-behavior: smooth; overflow-x: hidden; scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }

  body {
    font-family: 'Mulish', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    scrollbar-width: none;
  }
  body::-webkit-scrollbar { display: none; }

  /* NAV */
  nav {
    background: rgba(22,12,5,0.98);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    border-bottom: none;
    outline: 2px solid rgba(22,12,5,0.98);
    overflow: visible;
    transition: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    contain: layout style;
  }
  nav.ready {
    background: rgba(22,12,5,0.96);
    transition: border-color 0.35s ease;
  }
  /* ── Scroll to top ── */
  .scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(200,169,126,0.4);
    background: rgba(22,12,5,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    transform: translateY(16px) scale(0.85);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.22,.68,0,1.2), border-color 0.25s ease, background 0.25s ease;
  }
  .scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .scroll-top-btn.menu-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(0.9) !important;
  }
  .scroll-top-btn:hover {
    background: rgba(200,169,126,0.18);
    border-color: var(--mushroom);
  }
  .scroll-top-btn:active {
    transform: scale(0.91);
    transition: transform 0.1s ease;
  }
  .scroll-top-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--mushroom);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .scroll-top-btn:hover svg { stroke: #e0c090; }


  @media (max-width: 768px) {
    nav {
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      background: rgba(22,12,5,0.98);
    }
  }

  body {
    padding-top: 0;
  }
  nav.scrolled {
    border-bottom: none;
  }

  /* Декоративний SVG-шар — за вмістом */
  .nav-decor {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .nav-decor svg {
    width: 100%; height: 100%;
  }

  /* Нитки міцелію */
  .myc-thread {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .myc-thread-main {
    stroke: rgba(200,169,126,0.14);
    stroke-width: 0.7;
    animation: mycFlicker 7s ease-in-out infinite;
  }
  .myc-thread-branch {
    stroke: rgba(180,148,100,0.09);
    stroke-width: 0.5;
    animation: mycFlicker 9s ease-in-out infinite;
  }
  .myc-thread-main:nth-of-type(2) { animation-delay: 1.8s; }
  .myc-thread-main:nth-of-type(3) { animation-delay: 3.5s; }
  .myc-thread-branch:nth-of-type(4) { animation-delay: 0.9s; }
  .myc-thread-branch:nth-of-type(5) { animation-delay: 2.4s; }
  .myc-thread-branch:nth-of-type(6) { animation-delay: 4.1s; }

  /* Вузлики */
  .myc-node {
    fill: rgba(200,169,126,0.5);
    animation: nodeBreath 5s ease-in-out infinite;
  }
  .myc-node:nth-of-type(2) { animation-delay: 1.2s; }
  .myc-node:nth-of-type(3) { animation-delay: 2.6s; }
  .myc-node:nth-of-type(4) { animation-delay: 3.8s; }
  .myc-node:nth-of-type(5) { animation-delay: 0.7s; }
  /* Гриби — маленькі SVG-силуети */
  .myc-mushroom {
    fill: rgba(180,140,90,0.12);
    animation: mushFloat 10s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: bottom center;
  }
  .myc-mushroom:nth-of-type(2) { animation-delay: 2s; fill: rgba(160,120,70,0.09); }
  .myc-mushroom:nth-of-type(3) { animation-delay: 4.5s; fill: rgba(200,160,100,0.1); }
  .myc-mushroom:nth-of-type(4) { animation-delay: 7s; fill: rgba(170,130,80,0.08); }
  @keyframes mushFloat {
    0%, 100% { opacity: 1;   transform: translateY(0); }
    50%       { opacity: 0.6; transform: translateY(-2px); }
  }

  /* Плями землі */
  .myc-soil {
    animation: soilBreath 8s ease-in-out infinite;
  }
  .myc-soil:nth-of-type(2) { animation-delay: 3s; }
  @keyframes soilBreath {
    0%, 100% { opacity: 0.7; }
    50%       { opacity: 1; }
  }

  /* Мікро-грибочки вздовж міцелію */
  @keyframes microFade {
    0%, 60%, 100% { opacity: 0.55; }
    30%            { opacity: 0; }
  }
  .myc-micro {
    fill: rgba(200,169,126,0.45);
    animation: microFade 4s ease-in-out infinite;
  }
  .myc-micro:nth-child(2n)  { fill: rgba(180,148,100,0.4);  animation-delay: 0.7s; }
  .myc-micro:nth-child(3n)  { fill: rgba(210,175,120,0.45); animation-delay: 1.5s; }
  .myc-micro:nth-child(4n)  { fill: rgba(170,135,85,0.38);  animation-delay: 2.3s; }
  .myc-micro:nth-child(5n)  { fill: rgba(195,160,110,0.42); animation-delay: 3.1s; }
  .myc-micro:nth-child(7n)  { fill: rgba(185,150,95,0.4);   animation-delay: 0.3s; }
  .myc-micro:nth-child(11n) { animation-delay: 1.1s; }
  .myc-micro:nth-child(13n) { animation-delay: 2.8s; }

  nav > *:not(.nav-decor) { position: relative; z-index: 1; }

  .nav-logo {
    font-family: 'Playfair Display', serif;
    color: var(--mushroom);
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
    position: relative; z-index: 1;
  }
  .nav-logo:hover { opacity: 0.85; }
  .nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    height: 100%;
    align-items: center;
    position: relative; z-index: 1;
  }
  .nav-links a {
    color: rgba(255,255,255,0.52);
    text-decoration: none;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: rgba(255,255,255,0.92); }

  /* Dropdown */
  .nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
  }
  .nav-item > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    height: 100%;
    position: relative;
  }

  /* Підкреслення-акцент при наведенні */
  .nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 2px;
    background: var(--mushroom);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s cubic-bezier(.4,0,.2,1);
    border-radius: 2px 2px 0 0;
  }
  .nav-item:hover > a::after { transform: scaleX(1); }
  .nav-item:hover > a { color: var(--white); }
  .nav-item.active > a { color: var(--white); }
  .nav-item.active > a::after { transform: scaleX(1); }

  /* Стрілка-шеврон */
  .nav-item > a .nav-chevron {
    display: inline-block;
    width: 4px; height: 4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.22s ease;
    opacity: 0.45;
    margin-left: 2px;
  }
  .nav-item:hover > a .nav-chevron {
    transform: rotate(-135deg) translateY(-2px);
    opacity: 0.8;
  }

  /* Overlay — затемнення сторінки при відкритому меню */
  .nav-overlay {
    position: fixed;
    inset: 0;
    top: 48px;
    background: rgba(0,0,0,0);
    pointer-events: none;
    transition: background 0.25s ease;
    z-index: 495;
  }
  .nav-item:hover ~ .nav-overlay,
  .nav-links:has(.nav-item:hover) + .nav-overlay {
    background: rgba(0,0,0,0.35);
    pointer-events: auto;
  }

  /* Dropdown панель */
  .nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(12,7,3,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(200,169,126,0.12);
    border-radius: 12px;
    min-width: 200px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s cubic-bezier(.4,0,.2,1),
                transform 0.22s cubic-bezier(.4,0,.2,1),
                visibility 0.22s;
    box-shadow:
      0 4px 6px rgba(0,0,0,0.07),
      0 12px 32px rgba(0,0,0,0.35),
      0 0 0 1px rgba(255,255,255,0.03) inset;
    pointer-events: none;
    z-index: 9999;
  }

  /* Трикутник-з'єднувач */
  .nav-dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px; height: 8px;
    background: rgba(12,7,3,0.97);
    border-left: 1px solid rgba(200,169,126,0.12);
    border-top: 1px solid rgba(200,169,126,0.12);
    border-radius: 2px 0 0 0;
  }

  /* Невидима зона між nav і dropdown щоб не закривалось */
  .nav-dropdown::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 0; right: 0;
    height: 12px;
  }

  .nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  /* Пункти dropdown */
  .nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    font-weight: 500 !important;
    white-space: nowrap;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
    position: relative;
  }
  .nav-dropdown a::before {
    content: '';
    position: absolute;
    left: 0.85rem; right: 0.85rem;
    bottom: 0;
    height: 1px;
    background: rgba(255,255,255,0.04);
  }
  .nav-dropdown a:last-child::before { display: none; }
  .nav-dropdown a:hover {
    color: var(--white) !important;
    background: rgba(200,169,126,0.1);
  }
  .nav-dropdown a:hover .nav-dropdown-icon { opacity: 1; }

  /* Іконка */
  .nav-dropdown-icon {
    font-size: 1rem;
    opacity: 0.5;
    transition: opacity 0.15s;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
  }

  /* Текст пункту */
  .nav-dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .nav-dropdown-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: inherit;
    line-height: 1.3;
  }
  .nav-dropdown-sub {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.3) !important;
    font-weight: 400;
    letter-spacing: 0;
  }
  .nav-dropdown a:hover .nav-dropdown-sub { color: rgba(255,255,255,0.45) !important; }

  /* ══ СТОРІНКА НАША ІСТОРІЯ ══ */
  .history-page {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: var(--cream);
    overflow-y: auto;
    overscroll-behavior: none;
    display: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--mushroom) transparent;
    box-sizing: border-box;
  }
  .history-page.active {
    display: block;
  }
  .history-page-nav {
    background: rgba(30,18,10,0.98);
    backdrop-filter: blur(8px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(200,169,126,0.15);
  }
  .history-page-back {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.55);
    font-family: 'Mulish', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
    padding: 0;
  }
  .history-page-back:hover { color: var(--mushroom); }
  .history-page-back-arrow { font-size: 1rem; }
  .history-page-label {
    font-family: 'Playfair Display', serif;
    color: var(--mushroom);
    font-size: 1rem;
    letter-spacing: 0.04em;
  }
  /* ══ HISTORY PAGE HERO ══ */
  .history-page-hero {
    position: relative;
    overflow: hidden;
    min-height: 75svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .history-page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.5) saturate(0.8);
  }
  .history-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      160deg,
      rgba(10,5,2,0.05) 0%,
      rgba(10,5,2,0.0) 30%,
      rgba(20,10,5,0.7) 65%,
      rgba(15,8,3,0.98) 100%
    );
  }
  .history-page-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 6% 4rem;
    max-width: 700px;
    text-align: left;
    align-self: flex-start;
  }
  .history-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--mushroom);
    margin-bottom: 1.2rem;
    opacity: 0.9;
  }
  .history-page-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px; height: 1px;
    background: var(--mushroom);
    opacity: 0.55;
  }
  .history-page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 5.5vw, 3.6rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    font-weight: 400;
  }
  .history-page-hero h1 em { color: var(--mushroom); font-style: italic; }
  .history-page-hero-lead {
    color: rgba(255,255,255,0.48);
    font-size: 0.92rem;
    font-weight: 300;
    max-width: 500px;
    line-height: 1.9;
    margin-bottom: 2rem;
  }
  .history-page-hero-stats {
    display: flex;
    gap: 2.4rem;
    flex-wrap: wrap;
  }
  .history-page-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .history-page-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--mushroom);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .history-page-stat-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
  }

  /* ══ HISTORY BODY ══ */
  .history-page-body {
    background: #f8f4ee;
    padding: 0 0 6rem;
  }

  /* Внутрішній контейнер — центрований */
  .hp-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 5%;
  }

  /* Таймлайн-обгортка */
  .hp-timeline {
    padding-top: 4rem;
    position: relative;
    --col-year: 120px;
    --col-gap: 3rem;
    /* Лінія і крапки прив'язані до цієї змінної */
    --dot-x: calc(var(--col-year) + var(--col-gap) / 2);
  }
  .hp-timeline::before {
    content: '';
    position: absolute;
    top: 7.5rem;
    bottom: 2rem;
    left: var(--dot-x);
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
      to bottom,
      rgba(200,169,126,0.55) 0%,
      rgba(200,169,126,0.2) 65%,
      rgba(200,169,126,0.0) 100%
    );
  }

  .hp-section-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--moss);
    margin-bottom: 2.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  .hp-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(120,90,55,0.18);
  }

  .hp-chapter {
    display: grid;
    grid-template-columns: var(--col-year) 1fr;
    gap: 0 var(--col-gap);
    padding-bottom: 3.2rem;
    position: relative;
  }
  .hp-chapter:last-of-type { padding-bottom: 0; }

  /* Крапка — завжди точно на лінії */
  .hp-chapter::before {
    content: '';
    position: absolute;
    top: 0.42rem;
    left: var(--dot-x);
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #f8f4ee;
    border: 2px solid rgba(200,169,126,0.7);
    box-shadow: 0 0 0 4px rgba(200,169,126,0.1);
    transform: translateX(-50%);
    z-index: 1;
  }

  .hp-year {
    padding-top: 0.1rem;
    text-align: right;
    flex-shrink: 0;
  }
  .hp-year-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--mushroom);
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
  }
  .hp-year-tag {
    display: block;
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(120,90,55,0.45);
    margin-top: 0.35rem;
    font-family: 'Mulish', sans-serif;
  }

  .hp-content {
    padding-top: 0.05rem;
  }
  .hp-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.22rem;
    color: var(--earth);
    margin-bottom: 0.8rem;
    line-height: 1.25;
    font-weight: 600;
  }
  .hp-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.92;
    font-weight: 300;
    margin-bottom: 0.6rem;
  }
  .hp-content p:last-child { margin-bottom: 0; }

  /* Блок "Сьогодні" */
  .hp-highlight {
    background: var(--earth);
    border-radius: 20px;
    padding: 2.6rem 3rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
  }
  .hp-highlight::before {
    content: '';
    position: absolute;
    right: -60px; top: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(200,169,126,0.05);
    pointer-events: none;
  }
  .hp-highlight-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mushroom);
    opacity: 0.65;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
  }
  .hp-highlight-label::before {
    content: '';
    width: 22px; height: 1px;
    background: var(--mushroom);
    opacity: 0.45;
    flex-shrink: 0;
  }
  .hp-highlight h3 {
    font-family: 'Playfair Display', serif;
    color: #fff !important;
    margin-bottom: 1rem;
    font-size: 1.55rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
  }
  .hp-highlight p { color: rgba(255,255,255,0.48) !important; font-size: 0.9rem !important; line-height: 1.88 !important; margin-bottom: 0.55rem !important; }
  .hp-highlight p:last-of-type { margin-bottom: 0 !important; }
  .hp-highlight strong { color: rgba(200,169,126,0.85); font-weight: 600; }
  .hp-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.8rem;
  }
  .hp-value-chip {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,169,126,0.14);
    border-radius: 12px;
    padding: 1.1rem 0.75rem;
    text-align: center;
    transition: background 0.2s;
  }
  .hp-value-chip:hover { background: rgba(255,255,255,0.08); }
  .hp-value-chip-icon { font-size: 1.35rem; margin-bottom: 0.5rem; display: block; }
  .hp-value-chip-text {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.42);
    font-weight: 400;
    line-height: 1.4;
  }

  @media (max-width: 768px) {
    .history-page-hero-content { padding: 2.5rem 5% 3.2rem; }
    .hp-timeline {
      --col-year: 100px;
      --col-gap: 2.2rem;
    }
  }

  @media (max-width: 560px) {
    .history-page-hero { min-height: 68svh; }
    .history-page-hero-content { padding: 2rem 1.25rem 2.8rem; }
    .history-page-hero-stats { gap: 1.6rem; }
    .history-page-stat-num { font-size: 1.4rem; }
    .history-page-body { padding: 0 0 4rem; }
    .hp-inner { padding: 0 1.25rem; }
    .hp-timeline {
      padding-top: 2.8rem;
      --col-year: 0px;
      --col-gap: 0px;
    }
    .hp-timeline::before { left: 0; top: 5.5rem; bottom: 2rem; transform: none; }
    .hp-chapter {
      grid-template-columns: 1fr;
      gap: 0.4rem;
      padding-bottom: 2.2rem;
      padding-left: 2rem;
    }
    .hp-chapter::before { left: 0; transform: translateX(-50%); top: 0.35rem; width: 7px; height: 7px; }
    .hp-year { text-align: left; }
    .hp-year-num { font-size: 1.15rem; }
    .hp-year-tag { display: inline; margin-left: 0.4rem; }
    .hp-content h3 { font-size: 1.08rem; }
    .hp-highlight { padding: 1.8rem 1.5rem; margin-top: 2.8rem; border-radius: 16px; }
    .hp-highlight h3 { font-size: 1.3rem !important; }
    .hp-values { gap: 0.5rem; }
    .hp-value-chip { padding: 0.8rem 0.5rem; }
    .hp-value-chip-icon { font-size: 1.15rem; }
    .hp-value-chip-text { font-size: 0.63rem; }
  }



  /* ══════════════════════════════════════
     ГОЛОВНА СЕКЦІЯ (HERO + ІСТОРІЯ)
  ══════════════════════════════════════ */
  .main-section {
    position: relative;
    background: #18100a;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    isolation: isolate;
    margin-top: 0;
    padding-top: 0;
  }

  /* Фон */
  .ms-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
  .ms-bg-gradient {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 70% 50% at 70% 30%, rgba(61,43,31,0.0) 0%, rgba(18,10,5,0.75) 70%),
      radial-gradient(ellipse 50% 70% at 5% 70%, rgba(74,103,65,0.1) 0%, transparent 60%),
      linear-gradient(175deg, rgba(18,10,5,0.15) 0%, rgba(18,10,5,0.9) 50%, #18100a 100%);
  }
  .ms-bg-word {
    position: absolute;
    right: -0.04em; bottom: 38%;
    font-family: 'Playfair Display', serif;
    font-size: clamp(12rem, 25vw, 30rem);
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1px rgba(200,169,126,0.055);
    line-height: 1;
    user-select: none;
    white-space: nowrap;
  }
  .ms-grain {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: 0.5;
  }

  /* Scroll-індикатор */
  .ms-scroll-indicator {
    position: absolute;
    right: 5%; top: 40%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
  }
  .ms-scroll-text {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.18);
    writing-mode: vertical-rl;
  }
  .ms-scroll-line {
    width: 1px; height: 52px;
    background: linear-gradient(to bottom, rgba(200,169,126,0.45), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
  }
  /* ─── Hero частина ─── */
  .ms-hero {
    position: relative;
    z-index: 2;
    padding: 72px 5% 40px;
    min-height: 100svh;
    display: flex;
    align-items: center;
  }
  .ms-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: end;
    max-width: 1100px;
    width: 100%;
  }
  .ms-eyebrow {
    display: flex; align-items: center; gap: 0.8rem;
    margin-bottom: 1.6rem;
    animation: fadeUp 0.7s ease both 0.1s;
  }
  .ms-eyebrow-line { width: 36px; height: 1px; background: var(--mushroom); opacity: 0.7; }
  .ms-eyebrow-text {
    font-size: 0.67rem; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--mushroom); opacity: 0.85;
  }
  .ms-h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    color: #fff; line-height: 1.08;
    letter-spacing: -0.015em;
    margin-bottom: 0.5rem;
    animation: fadeUp 0.7s ease both 0.2s;
  }
  .ms-h1 em { color: var(--mushroom); font-style: italic; display: block; }
  .ms-since {
    font-family: 'Playfair Display', serif;
    font-size: 1rem; color: rgba(255,255,255,0.2);
    letter-spacing: 0.07em; margin-bottom: 1.8rem;
    animation: fadeUp 0.7s ease both 0.28s;
  }
  .ms-lead {
    color: rgba(255,255,255,0.48);
    font-size: 0.92rem; font-weight: 300; line-height: 1.8;
    max-width: 480px; margin-bottom: 2.6rem;
    border-left: 1px solid rgba(200,169,126,0.22);
    padding-left: 1.2rem;
    animation: fadeUp 0.7s ease both 0.36s;
  }
  .ms-lead strong { color: rgba(255,255,255,0.72); font-weight: 400; }
  .ms-actions {
    display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
    animation: fadeUp 0.7s ease both 0.44s;
  }
  .btn-ghost-white {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.45);
    font-family: 'Mulish', sans-serif;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
  .btn-ghost-white:hover { color: var(--mushroom); border-color: var(--mushroom); }
  .btn-ghost-white:focus, .btn-ghost-white:focus-visible { outline: none; box-shadow: none; }

  /* Кнопки */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--mushroom);
    color: var(--earth);
    padding: 15px 34px;
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
  .btn-primary:focus, .btn-primary:focus-visible { outline: none; box-shadow: none; }
  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 2px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
  .btn-ghost:hover { color: var(--mushroom); border-color: var(--mushroom); }
  .btn-ghost:focus, .btn-ghost:focus-visible { outline: none; box-shadow: none; }

  /* Цифри праворуч */
  .ms-facts {
    display: flex; flex-direction: column; gap: 0;
    animation: fadeUp 0.7s ease both 0.52s;
  }
  .ms-fact {
    padding: 1.3rem 0;
    border-top: 1px solid rgba(200,169,126,0.1);
    display: grid; grid-template-columns: 88px 1fr; gap: 1.2rem; align-items: center;
  }
  .ms-fact:last-child { border-bottom: 1px solid rgba(200,169,126,0.1); }
  .ms-fact-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem; color: var(--mushroom);
    line-height: 1; letter-spacing: -0.02em;
  }
  .ms-fact-num sup { font-size: 0.9rem; vertical-align: super; opacity: 0.7; letter-spacing: 0; }
  .ms-fact-info { font-size: 0.78rem; color: rgba(255,255,255,0.4); font-weight: 300; line-height: 1.55; }
  .ms-fact-info strong { display: block; color: rgba(255,255,255,0.72); font-weight: 600; font-size: 0.8rem; margin-bottom: 0.12rem; }

  .ms-hero-mobile-stats { display: none; }

  @media (max-width: 900px) {
    .ms-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .ms-facts { display: none; }
    .ms-scroll-indicator { display: none; }
  }

  /* ══ SCROLL-REVEAL ══ */
  .reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-fade {
    opacity: 0;
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(.22,.68,0,1.1);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
  }
  .reveal-up    { transform: translateY(36px); }
  .reveal-left  { transform: translateX(-36px); }
  .reveal-right { transform: translateX(36px); }
  .reveal-scale { transform: scale(0.92); }
  .reveal-fade  { transform: none; }
  .reveal-up.visible, .reveal-left.visible, .reveal-right.visible,
  .reveal-scale.visible, .reveal-fade.visible { opacity: 1; transform: none; }

  @media (max-width: 767px) {
    .reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-fade {
      transition-duration: 0.5s, 0.5s !important;
      transition-delay: 0s !important;
    }
    .reveal-up    { transform: translateY(22px) !important; }
    .reveal-left  { transform: translateX(-22px) !important; }
    .reveal-right { transform: translateX(22px) !important; }
    .reveal-scale { transform: scale(0.95) !important; }
  }

  /* ══ HISTORY MODAL ══ */
  .history-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,6,3,0.72);
    backdrop-filter: blur(8px);
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
  }
  .history-modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .history-modal-box {
    background: var(--white);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(10,6,3,0.4);
    transform: translateY(32px) scale(0.97);
    transition: transform 0.4s cubic-bezier(.22,.68,0,1.1);
    scrollbar-width: thin;
    scrollbar-color: var(--mushroom) transparent;
  }
  .history-modal-overlay.active .history-modal-box {
    transform: none;
  }
  .history-modal-header {
    background: var(--earth);
    padding: 2.2rem 2.4rem 2rem;
    position: relative;
  }
  .history-modal-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mushroom);
    opacity: 0.8;
    margin-bottom: 0.6rem;
  }
  .history-modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin: 0;
    line-height: 1.25;
  }
  .history-modal-header h2 em {
    color: var(--mushroom);
    font-style: italic;
  }
  .history-modal-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
  }
  .history-modal-close-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
  }
  .history-modal-body {
    padding: 2.4rem;
  }
  .history-modal-body .hm-chapter {
    margin-bottom: 2rem;
  }
  .hm-chapter-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
  }
  .hm-chapter-year {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mushroom);
    letter-spacing: 0.1em;
    background: rgba(200,169,126,0.1);
    padding: 3px 10px;
    border-radius: 3px;
  }
  .hm-chapter-line { flex: 1; height: 1px; background: var(--border); }
  .hm-chapter h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--earth);
    margin-bottom: 0.6rem;
  }
  .hm-chapter p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
    margin: 0;
  }
  .hm-chapter p + p { margin-top: 0.8rem; }
  .hm-highlight {
    background: var(--earth);
    border-radius: 12px;
    padding: 1.6rem 2rem;
    margin-top: 2rem;
  }
  .hm-highlight p {
    color: rgba(255,255,255,0.65) !important;
    font-size: 0.88rem !important;
  }
  .hm-highlight strong { color: var(--mushroom) !important; }
  .hm-highlight h3 { color: #fff !important; margin-bottom: 0.8rem; }

  @media (max-width: 768px) {
    .history-layout { grid-template-columns: 1fr; gap: 3rem; }
    .history-left { position: static; }
    .history-modal-body { padding: 1.6rem; }
    .history-modal-header { padding: 1.8rem 1.6rem 1.6rem; }
  }

  /* SECTIONS */
  section { padding: 80px 5%; }
  section + section { border-top: none; }
  #blog { background: #f2ece3; }
  #production { padding: 0; overflow: hidden; }

  .section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--moss);
    margin-bottom: 0.8rem;
  }
  h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--earth);
    line-height: 1.25;
    margin-bottom: 1.5rem;
  }
  h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--earth);
    margin-bottom: 0.5rem;
  }
  p { margin-bottom: 1rem; color: var(--text); font-weight: 300; }
  .lead { font-size: 1.05rem; color: var(--text-muted); max-width: 620px; margin-bottom: 2.5rem; }
  

  /* ── БЛОК 1: ПРО НАС ── */
  .about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
  }
  .veteran-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--moss-light);
    color: var(--moss);
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
  }
  .about-aside {
    background: var(--earth);
    border-radius: 6px;
    padding: 2.4rem;
    color: var(--white);
    position: sticky;
    top: 80px;
  }
  .about-aside h3 { color: var(--mushroom); font-size: 1rem; margin-bottom: 1.2rem; }
  .aside-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.88rem;
    gap: 1rem;
  }
  .aside-row:last-child { border-bottom: none; }
  .aside-label { color: rgba(255,255,255,0.45); font-weight: 300; flex-shrink: 0; }
  .aside-val { color: var(--mushroom); font-weight: 600; text-align: right; }
  /* ── STAGES TIMELINE ── */
  .stages-section-wrap {
    background: linear-gradient(to bottom, #18100a 0%, #221508 8%, #2a1c11 30%, #3d2b1f 100%);
    width: 100%;
    padding: 5rem 5%;
    position: relative;
  }
  /* тонка золота лінія-акцент зверху */
  .stages-section-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(200,169,126,0.0) 10%, rgba(200,169,126,0.35) 50%, rgba(200,169,126,0.0) 90%, transparent 100%);
    pointer-events: none;
  }
  .stages-section-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 20% 50%, rgba(200,169,126,0.07) 0%, transparent 70%),
      radial-gradient(ellipse 40% 60% at 80% 30%, rgba(74,103,65,0.06) 0%, transparent 70%);
    pointer-events: none;
  }
  .stages-section-wrap .section-label { color: rgba(200,169,126,0.7); }
  .stages-section-wrap h2 { color: #fff; }
  .stages-section-wrap p { color: rgba(255,255,255,0.45); }

  .stages-timeline {
    display: grid;
    grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
    gap: 0;
  }
  .stage-step {
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(200,169,126,0.18);
    border-radius: 18px;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.32s cubic-bezier(.22,.68,0,1.2),
                box-shadow 0.32s ease,
                border-color 0.25s,
                background 0.25s;
    min-height: 240px;
    justify-content: flex-end;
  }
  .stage-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(200,169,126,0.1) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 18px;
    pointer-events: none;
  }
  .stage-step::after {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,169,126,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .stage-step:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 24px 56px rgba(0,0,0,0.35), 0 4px 16px rgba(200,169,126,0.18);
    border-color: rgba(200,169,126,0.5);
  }
  .stage-step:hover::before { opacity: 1; }
  .stage-step:hover::after { opacity: 1; }
  .stage-step:active { transform: translateY(-5px); }

  .stage-step-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,5,2,0.88) 0%, rgba(10,5,2,0.35) 55%, rgba(10,5,2,0.15) 100%);
    pointer-events: none;
    transition: background 0.3s;
  }
  .stage-step:hover .stage-step-overlay {
    background: linear-gradient(to top, rgba(10,5,2,0.92) 0%, rgba(10,5,2,0.45) 60%, rgba(10,5,2,0.2) 100%);
  }
  .stage-step-content {
    position: relative;
    z-index: 2;
    padding: 1.4rem 1.2rem 1.4rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .stage-num {
    font-family: 'Playfair Display', serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(200,169,126,0.5);
    text-transform: uppercase;
  }
  .stage-icon-big {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    display: block;
    transition: transform 0.5s cubic-bezier(.22,.68,0,1.1);
    border-radius: 0;
  }
  .stage-icon-big img {
    transition: transform 0.5s cubic-bezier(.22,.68,0,1.1), opacity 0.3s;
  }
  .stage-step:hover .stage-icon-big img {
    transform: scale(1.07);
    opacity: 0.9;
  }
  .stage-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  }
  .stage-card-hint {
    font-size: 0.62rem;
    color: rgba(200,169,126,0.7);
    opacity: 0.55;
    transition: opacity 0.25s;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .stage-step:hover .stage-card-hint { opacity: 1; }

  .stage-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
  }
  .stage-arrow svg { opacity: 0.35; }

  /* Десктоп: горизонтальні стрілки — ховаємо вертикальні і показуємо горизонтальні через JS або просто обертаємо */
  @media (min-width: 769px) {
    .stage-arrow {
      height: auto;
      align-self: center;
    }
    .arrow-svg {
      transform: rotate(-90deg);
      width: 16px; height: 32px;
    }
  }

  /* Анімація стрілки вниз на мобільному */
  @keyframes arrowPulse {
    0%, 100% { opacity: 0.25; transform: translateY(0); }
    50%       { opacity: 0.8;  transform: translateY(5px); }
  }

  @media (max-width: 768px) {
    .stages-section-wrap {
      padding: 3.5rem 0 !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      width: 100vw !important;
      position: relative;
      left: 0 !important;
    }
    .stages-section-wrap > div {
      padding-left: 1.25rem !important;
      padding-right: 1.25rem !important;
    }
    .stages-timeline {
      grid-template-columns: 1fr;
      max-width: 100%;
      padding: 0 1.25rem;
    }
    .stage-arrow {
      height: 32px;
    }
    .stage-arrow svg, .arrow-svg {
      transform: none;
      animation: arrowPulse 1.6s ease-in-out infinite;
      opacity: 0.5;
    }
    .stage-step { min-height: 160px; padding: 1.8rem 1.2rem; }
  }

  /* ── STAGE MODALS ── */
  .stage-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 6, 0.65);
    backdrop-filter: blur(6px);
    z-index: 600;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }
  .stage-modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .stage-modal-box {
    background: var(--white);
    border-radius: 20px;
    max-width: 640px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(20,12,6,0.28);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.1);
    margin: auto 0;
  }
  .stage-modal-overlay.active .stage-modal-box {
    transform: translateY(0) scale(1);
  }
  .stage-modal-photo {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    background: var(--cream);
    position: relative;
  }
  .stage-modal-photo-placeholder {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--earth) 0%, #5a3e2b 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
  .stage-modal-photo-placeholder span { font-size: 2.8rem; opacity: 0.5; }
  .stage-modal-body { padding: 2rem 2rem 2.2rem; }
  .stage-modal-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mushroom);
    margin-bottom: 0.5rem;
  }
  .stage-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--earth);
    margin-bottom: 1rem;
  }
  .stage-modal-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.2rem;
  }
  .stage-modal-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
  .stage-modal-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--moss);
    background: var(--moss-light);
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.03em;
  }
  .stage-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
  }
  .stage-modal-close:hover { background: rgba(255,255,255,0.32); }
  .stage-modal-photo-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--earth);
  }
  .stage-modal-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .stage-modal-nav {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
  }
  .stage-modal-nav button {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
  }
  .stage-modal-nav button:hover { border-color: var(--mushroom); color: var(--mushroom); }
  .stage-modal-nav button.primary {
    background: var(--mushroom);
    color: var(--earth);
    border-color: var(--mushroom);
  }
  .stage-modal-nav button.primary:hover { background: var(--mushroom-dark); border-color: var(--mushroom-dark); color: var(--white); }

  @media (max-width: 768px) {
    .stages-timeline {
      grid-template-columns: 1fr;
      max-width: 360px;
    }
    .stage-arrow { height: 32px; }
    .stage-arrow svg, .arrow-svg { transform: none; }
    .stage-step { min-height: 160px; padding: 1.5rem 1rem; }
    .stage-modal-box { border-radius: 14px; }
    .stage-modal-body { padding: 1.4rem; }
  }


  .stage-inline {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: border-color 0.2s;
  }
  .stage-inline:hover { border-color: var(--mushroom); }
  .stage-inline-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--moss-light);
    color: var(--moss);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .stage-inline-body { flex: 1; }
  .stage-inline-title { font-size: 0.92rem; font-weight: 600; color: var(--earth); margin-bottom: 0.3rem; }
  .stage-inline-text { font-size: 0.84rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 0.5rem; }

  /* ── БЛОК 2 (старий — більше не використовується окремо) ── */
  .stages-section { background: var(--white); }
  .stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
  .stage-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2rem 1.4rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .stage-card:hover {
    border-color: var(--mushroom);
    box-shadow: 0 4px 20px rgba(200,169,126,0.15);
  }
  .stage-card::before {
    content: attr(data-num);
    position: absolute;
    top: -12px;
    right: 14px;
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    color: rgba(61,43,31,0.06);
    line-height: 1;
    font-style: italic;
    pointer-events: none;
  }
  .stage-icon {
    width: 42px;
    height: 42px;
    background: var(--moss-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 18px;
  }
  .stage-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
  .stage-card p { font-size: 0.86rem; color: var(--text-muted); margin: 0 0 1rem; line-height: 1.55; }
  .stage-duration {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--moss);
    background: var(--moss-light);
    padding: 3px 10px;
    border-radius: 2px;
  }
  .stage-photo-hint {
    margin-top: 1rem;
    padding: 8px;
    background: rgba(200,169,126,0.1);
    border: 1px dashed rgba(200,169,126,0.3);
    border-radius: 4px;
    font-size: 0.72rem;
    color: var(--mushroom-dark);
    text-align: center;
    font-style: italic;
  }

  /* ── СТОРІНКИ ПРОДУКЦІЇ ── */
  .product-page {
    position: fixed;
    inset: 0;
    background: var(--earth);
    z-index: 400;
    overflow-y: auto;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    display: none;
    padding-top: 48px;
    box-sizing: border-box;
  }
  .product-page.active {
    display: block;
  }
  .product-page-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30,18,10,0.98);
    backdrop-filter: blur(8px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 48px;
    z-index: 1000;
    border-bottom: 1px solid rgba(200,169,126,0.15);
  }
  .product-page-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.65);
    font-family: 'Mulish', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .product-page-back:hover { color: var(--mushroom); }
  .product-page-hero {
    background: var(--earth);
    padding: 30px 5% 50px;
    position: relative;
    overflow: hidden;
  }
  .product-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(200,169,126,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .product-page-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mushroom);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .product-page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .product-page-hero h1 em { color: var(--mushroom); font-style: italic; }
  .product-page-hero p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    font-weight: 300;
    max-width: 560px;
    line-height: 1.7;
  }
  .product-page-body { padding: 0; width: 100%; box-sizing: border-box; background: #f8f4ee; }
  .product-body-inner { max-width: 820px; margin: 0 auto; padding: 60px 5%; box-sizing: border-box; }
  .product-page-body > * { max-width: 820px; margin-left: auto; margin-right: auto; padding-left: 5%; padding-right: 5%; box-sizing: border-box; }
  .product-page-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--earth);
    margin: 2rem 0 1rem;
  }
  .product-page-body p {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 1rem;
  }
  .product-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
  }
  .product-spec-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.2rem 1.4rem;
  }
  .product-spec-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
  }
  .product-spec-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--earth);
  }
  .product-advantage {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 0.8rem;
  }
  .product-advantage-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
  .product-advantage-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--earth);
    margin-bottom: 0.2rem;
  }
  .product-advantage-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
  }
  .product-cta-box {
    background: var(--earth);
    border-radius: 8px;
    padding: 2rem 2.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
  }
  .product-cta-box p { color: rgba(255,255,255,0.7); margin: 0; font-size: 0.95rem; }
  .product-cta-box strong { display: block; color: var(--white); font-size: 1.1rem; margin-bottom: 0.3rem; }

  /* ── БЛОГ-СТОРІНКИ ── */
  .blog-page {
    position: fixed;
    inset: 0;
    z-index: 400;
    -webkit-overflow-scrolling: touch;
    background: var(--earth);
    overflow-y: auto;
    overscroll-behavior: none;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: var(--mushroom) transparent;
    padding-top: 52px;
    box-sizing: border-box;
  }
  .blog-page.active { display: block; }
  .blog-page-nav {
    background: rgba(30,18,10,0.98);
    backdrop-filter: blur(8px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    z-index: 1000;
    border-bottom: none;
  }
  .blog-page-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.65);
    font-family: 'Mulish', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
    padding: 0;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .blog-page-back:hover { color: var(--mushroom); }
  @media (max-width: 768px) {
  }
  .blog-page-tabs { display: flex; gap: 0.3rem; }
  .blog-page-tab {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.35);
    font-family: "Mulish", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    transition: color 0.2s, background 0.2s;
  }
  .blog-page-tab:hover { color: rgba(255,255,255,0.7); }
  .blog-page-tab.active { background: rgba(200,169,126,0.15); color: var(--mushroom); }
  .blog-page-hero {
    background: var(--earth);
    padding: 30px 5% 50px;
    position: relative;
    overflow: hidden;
  }
  .blog-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(200,169,126,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .blog-page-hero .eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mushroom);
    margin-bottom: 1rem;
  }
  .blog-page-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .blog-page-hero h1 em { color: var(--mushroom); font-style: italic; }
  .blog-page-hero p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    max-width: 540px;
    line-height: 1.7;
    font-weight: 300;
  }
  .blog-page-body { padding: 50px 5%; max-width: 100%; background: #f8f4ee; }
  .blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 0.5rem;
  }
  @media (max-width: 900px) { .blog-articles-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .blog-articles-grid { grid-template-columns: 1fr; } }
  .blog-article-card {
    background: var(--white);
    border: 1.5px solid rgba(61,43,31,0.1);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(.22,.68,0,1.2),
                box-shadow 0.4s cubic-bezier(.22,.68,0,1.2),
                border-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(61,43,31,0.06);
  }
  .blog-article-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 24px 56px rgba(61,43,31,0.18), 0 0 0 1px var(--mushroom);
    border-color: var(--mushroom);
  }
  .blog-article-card:active {
    transform: scale(0.975) !important;
    box-shadow: 0 0 0 2px rgba(200,169,126,0.3), 0 8px 24px rgba(61,43,31,0.12) !important;
    transition: transform 0.1s ease, box-shadow 0.1s ease !important;
  }
  .blog-article-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-bottom: 1px solid var(--border);
  }
  .blog-article-thumb.tips-bg   { background: linear-gradient(135deg, #f4ede4, #f0e8dc); }
  .blog-article-thumb.recipe-bg { background: linear-gradient(135deg, #e8f0e6, #f0ede5); }
  .blog-article-thumb.facts-bg  { background: linear-gradient(135deg, #e6eff8, #eaf0f2); }
  .blog-article-body { padding: 1.4rem; }
  .blog-article-meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
  .blog-article-tag {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
  }
  .blog-article-tag.tips   { background: #f4ede4; color: var(--mushroom-dark); }
  .blog-article-tag.recipe { background: #e8f0e6; color: var(--moss); }
  .blog-article-tag.facts  { background: #eaf0f8; color: #2d5a8e; }
  .blog-article-date { font-size: 0.72rem; color: var(--text-muted); }
  .blog-article-body h3 {
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    color: var(--earth);
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }
  .blog-article-body p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 1rem; }
  .blog-article-read {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--mushroom-dark);
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
  }
  .blog-article-card:hover .blog-article-read { gap: 0.5rem; }
  .blog-page-section-title {
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    color: var(--earth);
    margin: 2.5rem 0 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
  }

  /* ── БЛОК 3: НАША ПРОДУКЦІЯ ── */
  #products {
    padding: 80px 5%;
    background: #f2ece3;
  }
  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
  }

  @media (max-width: 768px) {
    #products {
      padding: 2.5rem 1.25rem 3rem !important;
    }
    .products-grid {
      gap: 1rem !important;
      margin-top: 1.5rem !important;
    }
  }
  @keyframes cardFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .product-card {
    background: #fff;
    border: 2px solid rgba(61,43,31,0.18);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease, border-color 0.25s;
    animation: cardFadeUp 0.5s ease both;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(61,43,31,0.07);
  }
  .product-card:nth-child(1) { animation-delay: 0.05s; }
  .product-card:nth-child(2) { animation-delay: 0.15s; }
  .product-card:nth-child(3) { animation-delay: 0.25s; }
  .product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 50px rgba(61,43,31,0.16), 0 0 0 1px var(--mushroom);
    border-color: var(--mushroom);
  }
  .product-img {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    border-bottom: 2px solid rgba(61,43,31,0.08);
    position: relative;
    overflow: hidden;
    transition: font-size 0.28s ease;
  }
  .product-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(.22,.68,0,1.1);
  }
  .product-card:hover .product-img img { transform: scale(1.06); }
  .product-card:hover .product-img { font-size: 3.7rem; }
  .product-img.fresh   { background: linear-gradient(135deg, #deeadb 0%, #ede5d8 100%); }
  .product-img.pickled { background: linear-gradient(135deg, #ede3d6 0%, #e4d8c8 100%); }
  .product-img.growing { background: linear-gradient(135deg, #dce8f3 0%, #dde8db 100%); }

    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
  }
    display: flex;
    width: 100%;
    height: 100%;
  }
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
    position: absolute;
    left: 0; right: 0;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    backdrop-filter: blur(4px);
  }
    position: absolute;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
  }
    border-radius: 50%;
    transition: background 0.3s;
    cursor: pointer;
  }
    position: absolute;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
    border: none;
    user-select: none;
  }
  .product-tag-top {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 2px;
    background: var(--mushroom);
    color: var(--earth);
  }
  .product-tag-top.soon {
    background: var(--moss-light);
    color: var(--moss);
  }
  .product-body { padding: 1.1rem 1.2rem 1.3rem; }
  .product-body h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--earth); }
  .product-body p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.85rem; line-height: 1.55; }
  .product-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1.5px solid rgba(61,43,31,0.1);
    border-radius: 8px;
    overflow: hidden;
  }
  .product-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    padding: 0.35rem 0.65rem;
    border-bottom: 1.5px solid rgba(61,43,31,0.08);
    color: var(--text-muted);
    background: rgba(61,43,31,0.02);
  }
  .product-detail:last-child { border-bottom: none; }
  .product-detail:nth-child(even) { background: rgba(61,43,31,0.04); }
  .product-detail strong { color: var(--earth); font-weight: 700; }
  .product-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--mushroom-dark);
    background: rgba(200,169,126,0.1);
    border: 1.5px solid rgba(200,169,126,0.3);
    border-radius: 6px;
    padding: 0.45rem 0.9rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .product-card:hover .product-link-btn {
    background: var(--mushroom);
    border-color: var(--mushroom);
    color: var(--earth);
  }
  @media (max-width: 768px) {
    .products-grid { grid-template-columns: 1fr; }
  }

  /* ══ B2B PARTNERS ══ */
  .partners-section {
    background: var(--earth);
    padding: 72px 5%;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(200,169,126,0.18);
    border-bottom: 1px solid rgba(200,169,126,0.18);
  }
  .partners-section .section-label { color: rgba(200,169,126,0.75); }
  .partners-section h2 { color: var(--white); margin-bottom: 0.5rem; }
  .partners-section .partners-lead {
    color: rgba(255,255,255,0.45);
    max-width: 500px;
    margin-bottom: 2.8rem;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.75;
  }

  /* Marquee track */
  .partners-marquee-wrap {
    position: relative;
    overflow: hidden;
    /* fade edges */
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  }
  .partners-marquee-track {
    display: flex;
    gap: 0.8rem;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
  }
  .partners-marquee-track:hover { animation-play-state: paused; }

  @keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  .partner-chip {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(200,169,126,0.25);
    border-radius: 4px;
    padding: 0.65rem 1.3rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.03em;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: default;
  }
  .partner-chip:hover {
    background: rgba(200,169,126,0.15);
    border-color: rgba(200,169,126,0.6);
    color: rgba(255,255,255,0.95);
  }

  @media (max-width: 600px) {
    .partners-section { padding: 56px 5%; }
  }

  /* ── ФІЛЬТР БЛОГУ ── */
  .blog-filter-row {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }
  .blog-filter-btn {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 7px 18px;
    font-family: 'Mulish', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
  }
  .blog-filter-btn:hover { border-color: var(--mushroom); color: var(--mushroom-dark); }
  .blog-filter-btn.active { background: var(--earth); color: var(--mushroom); border-color: var(--earth); }
  .blog-card.hidden { display: none; }

  /* ── БЛОК 4: БЛОГ ── */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
  }
  .blog-card {
    background: #fff;
    border: 2px solid rgba(61,43,31,0.18);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease, border-color 0.25s;
    box-shadow: 0 2px 12px rgba(61,43,31,0.07);
  }
  .blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 50px rgba(61,43,31,0.16), 0 0 0 1px var(--mushroom);
    border-color: var(--mushroom);
  }
  .blog-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    border-bottom: 1px solid rgba(61,43,31,0.08);
    position: relative;
    overflow: hidden;
  }
  .blog-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .blog-thumb.bg1 { background: linear-gradient(135deg, #e8f0e6 0%, #f2ede4 100%); }
  .blog-thumb.bg2 { background: linear-gradient(135deg, #f4ede4 0%, #ece3d6 100%); }
  .blog-thumb.bg3 { background: linear-gradient(135deg, #e6eff8 0%, #e8f0e6 100%); }
  .blog-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
  }
  .blog-cat.tips    { background: #f4ede4; color: var(--mushroom-dark); }
  .blog-cat.recipe  { background: #e8f0e6; color: var(--moss); }
  .blog-cat.facts   { background: #eaf0f8; color: #2d5a8e; }
  .blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
  .blog-date { font-size: 0.73rem; color: var(--text-muted); margin-bottom: 0.5rem; }
  .blog-body h3 { font-size: 1.05rem; margin-bottom: 0.6rem; line-height: 1.35; }
  .blog-body p  { font-size: 0.86rem; color: var(--text-muted); flex: 1; margin: 0; line-height: 1.6; }
  .blog-read {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--mushroom-dark);
    background: rgba(200,169,126,0.1);
    border: 1.5px solid rgba(200,169,126,0.3);
    border-radius: 6px;
    padding: 0.45rem 0.9rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .blog-card:hover .blog-read {
    background: var(--mushroom);
    border-color: var(--mushroom);
    color: var(--earth);
    text-decoration: none;
  }

  /* Article Modal */
  /* ═══ ARTICLE MODAL — presentable card ═══ */
  /* ══ BLOG PAGE MODAL — повний екран як article-modal на index ══ */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(10,6,3,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }
  .modal-overlay.open {
    display: flex;
    animation: modalFadeIn 0.15s cubic-bezier(.22,.68,0,1) forwards;
  }
  @keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .modal-box {
    background: var(--cream);
    border-radius: 0;
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(20,10,4,0.35);
    animation: modalSlideUp 0.2s cubic-bezier(.22,.68,0,1.1) forwards;
  }
  @media (min-width: 600px) {
    .modal-overlay {
      align-items: center;
      padding: 2rem;
    }
    .modal-box {
      border-radius: 16px;
      width: 100%;
      max-width: 680px;
      height: auto;
      max-height: 88svh;
    }
    .modal-hero-img {
      border-radius: 16px 16px 0 0 !important;
      height: 320px !important;
    }
  }
  @keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Hero image — outside scroll, pinned to top, zero gap */
  .modal-hero-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
  }

  /* Scrollable text content below hero */
  .modal-box > *:not(.modal-hero-img):not(.modal-close) {
    /* handled by wrapper below */
  }
  .modal-content-scroll {
    overflow-y: auto;
    padding: 0;
    flex: 1;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .modal-content-scroll::-webkit-scrollbar { display: none; }
  /* Image flush to top — no padding */
  .modal-content-scroll > .modal-hero-img {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  /* All non-image children get side padding */
  .modal-content-scroll > *:not(.modal-hero-img) {
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
  }
  /* First text element after image — top margin */
  .modal-content-scroll > .modal-hero-img + * {
    margin-top: 1.5rem;
  }
  /* Cat pill is inline-flex, needs explicit side margins instead */
  .modal-content-scroll > .modal-cat-pill {
    margin-left: 2rem;
    margin-right: 2rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
  /* Last element bottom padding */
  .modal-content-scroll > *:last-child {
    padding-bottom: 2rem;
  }
  /* Fallback — modals without scroll wrapper */
  .modal-box:not(:has(.modal-content-scroll)) {
    overflow-y: auto;
    padding: 2rem;
  }
  /* fallback */
  .modal-box:not(:has(.modal-content-scroll)) {
    overflow-y: auto;
    padding: 2rem;
  }

  /* Close button — floats over hero */
  .modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(20,10,4,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
  }
  .modal-close:hover {
    background: rgba(200,169,126,0.85);
    transform: scale(1.08);
  }

  /* Category pill */
  .modal-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
  }
  .modal-cat-pill.tips   { background: #f4ede4; color: var(--mushroom-dark); }
  .modal-cat-pill.recipe { background: #e8f0e6; color: var(--moss); }
  .modal-cat-pill.facts  { background: #eaf0f8; color: #2d5a8e; }

  /* Typography */
  .modal-box h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.55rem;
    line-height: 1.3;
    color: var(--earth);
    margin: 0 0 0.4rem;
  }
  .modal-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .modal-meta::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 1.5px;
    background: var(--mushroom);
    flex-shrink: 0;
  }
  .modal-box p {
    font-size: 0.94rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 300;
  }
  .modal-box h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.05rem;
    color: var(--earth);
    margin: 1.6rem 0 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1.5px solid rgba(200,169,126,0.25);
  }
  .modal-inline-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
    margin: 1.2rem 0;
    display: block;
  }

  /* Table */
  .modal-box table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.86rem;
    border-radius: 10px;
    overflow: hidden;
  }
  .modal-box th {
    background: var(--cream);
    padding: 9px 14px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1.5px solid rgba(200,169,126,0.25);
    color: var(--earth);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .modal-box td {
    padding: 9px 14px;
    border-bottom: 1px solid rgba(61,43,31,0.07);
    color: var(--text);
    font-weight: 300;
  }
  .modal-box tr:last-child td { border-bottom: none; }
  .modal-box tr:nth-child(even) td { background: #fbf9f6; }

  /* Mobile — full screen */
  @media (max-width: 600px) {
    .modal-overlay {
      padding: 0;
      align-items: flex-start;
    }
    .modal-box {
      border-radius: 0;
      height: 100svh;
      max-height: 100svh;
      width: 100%;
      max-width: 100%;
      box-shadow: none;
      animation: modalSlideUpMobile 0.2s cubic-bezier(.22,.68,0,1.15) forwards;
    }
    @keyframes modalSlideUpMobile {
      from { opacity: 0; transform: translateY(60px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .modal-hero-img { height: 190px; }
    .modal-content-scroll { padding: 0; }
    .modal-content-scroll > *:not(.modal-hero-img) { padding-left: 1.25rem; padding-right: 1.25rem; }
    .modal-content-scroll > .modal-cat-pill { margin-left: 1.25rem; margin-right: 1.25rem; padding-left: 0.8rem; padding-right: 0.8rem; }
    .modal-box h2 { font-size: 1.3rem; }
    .modal-inline-img { height: 150px; }
  }

  /* ── БЛОК 5: КОНТАКТИ ── */
  .contact-section {
    background: var(--earth);
    padding: 80px 5% 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
  }
  .contact-section::after { display: none; }
  .contact-footer-transition {
    background: linear-gradient(to bottom, #3d2b1f 0%, #18100a 100%);
    height: 100px;
    width: 100%;
    position: relative;
  }
  .contact-footer-transition::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(200,169,126,0.0) 10%, rgba(200,169,126,0.18) 50%, rgba(200,169,126,0.0) 90%, transparent 100%);
    pointer-events: none;
  }
  .contact-left { display: flex; flex-direction: column; }
  .contact-left h2 { color: var(--white); margin-bottom: 0.8rem; }
  .contact-left .section-label { color: var(--mushroom); margin-bottom: 0.5rem; }
  .contact-lead {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    max-width: 36em;
  }

  /* 2×2 contact cards grid */
  .contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .contact-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,169,126,0.12);
    border-radius: 8px;
    padding: 1rem 1rem;
    transition: border-color 0.2s;
  }
  .contact-card:hover { border-color: rgba(200,169,126,0.3); }
  .contact-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(200,169,126,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mushroom);
    flex-shrink: 0;
  }
  .contact-card-body { display: flex; flex-direction: column; gap: 0.15rem; }
  .contact-card-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
  }
  .contact-card-value {
    font-size: 0.87rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.35;
  }
  a.contact-card-value { color: var(--mushroom); }
  a.contact-card-value:hover { text-decoration: underline; }
  .contact-card-note {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.28);
    line-height: 1.3;
    margin-top: 0.1rem;
  }

  /* B2B banner */
  .contact-b2b-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(200,169,126,0.07);
    border: 1px solid rgba(200,169,126,0.18);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    margin-top: 0.75rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.83rem;
    line-height: 1.45;
  }
  .contact-b2b-banner svg { color: var(--mushroom); flex-shrink: 0; margin-top: 2px; }
  .contact-b2b-banner strong { display: block; color: rgba(255,255,255,0.8); font-size: 0.88rem; margin-bottom: 0.2rem; }

  /* Right form card */
  .contact-form-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(200,169,126,0.22);
    border-top: 2px solid var(--mushroom);
    border-radius: 10px;
    padding: 2rem;
  }
  .contact-form-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
  }
  .contact-form-card-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.38);
    margin-bottom: 1.4rem;
    line-height: 1.4;
  }

  /* Form fields with icons */
  .contact-form-field {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0.65rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(200,169,126,0.18);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
  }
  .contact-form-field--textarea { align-items: flex-start; }
  .contact-form-field:focus-within { border-color: rgba(200,169,126,0.5); }
  .cff-icon {
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(200,169,126,0.5);
    flex-shrink: 0;
    padding: 0.6rem 0;
  }
  .cff-icon--top { padding-top: 0.75rem; align-items: flex-start; }
  .contact-form-field input,
  .contact-form-field textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.65rem 0.75rem 0.65rem 0;
    color: var(--white);
    font-family: 'Mulish', sans-serif;
    font-size: 0.88rem;
    width: 100%;
  }
  .contact-form-field input::placeholder,
  .contact-form-field textarea::placeholder { color: rgba(255,255,255,0.22); }
  .contact-form-field textarea { resize: none; height: 90px; padding-top: 0.65rem; }

  .contact-form-submit-full {
    display: block;
    width: 100%;
    background: var(--mushroom);
    color: var(--earth);
    border: none;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    font-family: 'Mulish', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
  }
  .contact-form-submit-full:hover { background: #d4b48e; }

  .contact-form-privacy {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.25);
    margin-top: 0.75rem;
    justify-content: center;
  }
  .contact-form-privacy svg { color: rgba(200,169,126,0.4); flex-shrink: 0; }

  .contact-form-success {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: #8ec98a;
    font-size: 0.82rem;
    padding: 0.6rem 0 0.2rem;
  }
  .contact-form-success.show { display: flex; }
  .social-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(200,169,126,0.4);
    border-radius: 4px;
    color: var(--mushroom);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s;
  }
  .social-btn:hover { background: rgba(200,169,126,0.1); }
  .min-order-note {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    background: rgba(200,169,126,0.1);
    border-left: 3px solid var(--mushroom);
    border-radius: 2px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
  }

  /* footer mobile — handled in footer block */


  html.menu-open { overflow: hidden; }
  html.menu-open body { overflow: hidden; }

  /* ══════════════════════════════════════════
     МОБІЛЬНЕ МЕНЮ — гамбургер
  ══════════════════════════════════════════ */
  /* Ripple keyframe */
  @keyframes burgerRipple {
    0%   { transform: translate(-50%,-50%) scale(0); opacity: 0.4; }
    100% { transform: translate(-50%,-50%) scale(3.5); opacity: 0; }
  }
  @keyframes burgerGlow {
    0%,100% { box-shadow: 0 0 0 0 rgba(200,169,126,0); }
    40%      { box-shadow: 0 0 0 6px rgba(200,169,126,0.18); }
  }

  .nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 4px;
    position: relative;
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
  }
  .nav-burger:active { animation: burgerGlow 0.4s ease; }
  .nav-burger.open {
    border-color: rgba(200,169,126,0.3);
    background: rgba(200,169,126,0.08);
  }
  /* Ripple el */
  .nav-burger .burger-ripple {
    position: absolute;
    left: 50%; top: 50%;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(200,169,126,0.25);
    pointer-events: none;
    transform: translate(-50%,-50%) scale(0);
    opacity: 0;
  }
  .nav-burger.ripple-active .burger-ripple {
    animation: burgerRipple 0.5s cubic-bezier(.22,.68,0,1) forwards;
  }
  .nav-burger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: rgba(255,255,255,0.75);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1),
                opacity 0.25s ease,
                width 0.3s ease,
                background 0.25s;
    transform-origin: center;
  }
  .nav-burger.open span { background: var(--mushroom); }
  .nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Мобільне drawer-меню */
  .mobile-menu {
    overflow: hidden;
    position: fixed;
    top: 54px;
    left: 0; right: 0;
    background: rgba(14,8,3,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(200,169,126,0.1);
    z-index: 490;
    padding: 0;
    max-height: calc(100svh - 54px);
    overflow-y: auto;
    transform: translateY(-20px) scaleY(0.96);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.42s cubic-bezier(.22,.68,0,1.1),
      opacity 0.35s ease,
      visibility 0.35s;
    pointer-events: none;
  }
  .mobile-menu.open {
    transform: translateY(0) scaleY(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  /* Stagger для пунктів меню */
  .mobile-menu.open .mobile-menu-section {
    animation: menuItemIn 0.32s cubic-bezier(.22,.68,0,1.1) both;
  }
  .mobile-menu.open .mobile-menu-section:nth-child(1) { animation-delay: 0.06s; }
  .mobile-menu.open .mobile-menu-section:nth-child(2) { animation-delay: 0.12s; }
  .mobile-menu.open .mobile-menu-section:nth-child(3) { animation-delay: 0.18s; }
  .mobile-menu.open .mobile-menu-section:nth-child(4) { animation-delay: 0.24s; }
  .mobile-menu.open .mobile-menu-footer { animation: menuItemIn 0.32s cubic-bezier(.22,.68,0,1.1) 0.3s both; }
  .mobile-menu-inner {
    padding: 1rem 0 2rem;
  }
  .mobile-menu-section {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0.2rem 0;
  }
  .mobile-menu-section:last-child { border-bottom: none; }
  .mobile-menu-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(200,169,126,0.5);
    padding: 0.9rem 1.4rem 0.4rem;
  }
  .mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1.4rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.18s, color 0.18s, padding-left 0.22s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Mulish', sans-serif;
    letter-spacing: 0;
    position: relative;
  }
  .mobile-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px; bottom: 6px;
    width: 2px;
    background: var(--mushroom);
    border-radius: 2px;
    transform: scaleY(0);
    transition: transform 0.2s cubic-bezier(.4,0,.2,1);
    transform-origin: center;
  }
  .mobile-menu-link:hover {
    background: rgba(200,169,126,0.07);
    color: var(--white);
    padding-left: 1.7rem;
  }
  .mobile-menu-link:hover::before { transform: scaleY(1); }
  .mobile-menu-link:hover .mobile-menu-icon {
    background: rgba(200,169,126,0.18);
  }
  .mobile-menu-link:hover .mobile-menu-title { color: var(--mushroom); }
  .mobile-menu-link:active {
    background: rgba(200,169,126,0.12);
    padding-left: 1.7rem;
  }
  .mobile-menu-icon {
    width: 28px;
    height: 28px;
    background: rgba(200,169,126,0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background 0.18s;
  }
  .mobile-menu-text { display: flex; flex-direction: column; gap: 1px; }
  .mobile-menu-title { font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.85); transition: color 0.18s; }
  .mobile-menu-sub { font-size: 0.72rem; color: rgba(255,255,255,0.3); font-weight: 400; }
  .mobile-menu-cta {
    margin: 0.8rem 1.4rem 0.4rem;
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
  }
  .mobile-cta-btn {
    display: block;
    flex: 1;
    text-align: center;
    padding: 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    font-family: 'Mulish', sans-serif;
    transition: opacity 0.15s;
  }
  .mobile-cta-btn:active { opacity: 0.8; }
  .mobile-cta-primary { background: var(--mushroom); color: var(--earth); }
  .mobile-cta-ghost {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
  }


  /* ══════════════════════════════════════════
     HERO — мобільний
  ══════════════════════════════════════════ */
  @media (max-width: 768px) {
    .ms-hero-inner {
      grid-template-columns: 1fr !important;
      gap: 0 !important;
      padding: 0 !important;
    }

    .ms-facts {
      display: none !important;
    }

    /* Hero — мобільні статси замість правої колонки */
    .ms-hero-left {
      padding-bottom: 0 !important;
    }

    .ms-hero-mobile-stats {
      display: grid !important;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      margin-top: 2rem;
      border-top: 1px solid rgba(200,169,126,0.12);
      border-left: 1px solid rgba(200,169,126,0.12);
    }

    .ms-hero-mobile-stat {
      padding: 1rem;
      border-right: 1px solid rgba(200,169,126,0.12);
      border-bottom: 1px solid rgba(200,169,126,0.12);
    }
    .ms-hero-mobile-stat-num {
      font-family: 'Playfair Display', serif;
      font-size: 1.6rem;
      color: var(--mushroom);
      line-height: 1;
      margin-bottom: 0.2rem;
    }
    .ms-hero-mobile-stat-label {
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
    }

    .ms-scroll-indicator { display: none !important; }

    /* Hero розмір */
    .main-section {
      min-height: 100svh;
    }
    .ms-hero {
      padding: 26px 0 0 !important;
    }
    .ms-hero-inner {
      padding: 2rem 1.25rem 2.5rem !important;
    }
    .ms-h1 {
      font-size: clamp(2.6rem, 11vw, 3.4rem) !important;
    }
    .ms-since {
      margin-top: 1.1rem !important;
    }
    .ms-lead { font-size: 0.88rem !important; }
    .ms-actions {
      flex-direction: column !important;
      gap: 0.75rem !important;
    }
    .btn-primary {
      width: 100%;
      justify-content: center;
      padding: 16px 24px !important;
    }
    .btn-ghost-white {
      text-align: center;
    }
    .ms-bg-word { font-size: clamp(7rem, 40vw, 14rem) !important; }
  }


  /* ══════════════════════════════════════════
     СЕКЦІЇ — мобільний
  ══════════════════════════════════════════ */
  @media (max-width: 768px) {
    /* Загальні */
    section, .partners-section { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
    .section-label { font-size: 0.66rem !important; }
    h2 { font-size: clamp(1.7rem, 7vw, 2.2rem) !important; }

    /* Nav */
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    nav { padding: 0 1.25rem !important; }
    .blog-page-nav .nav-burger,
    .product-page-nav .nav-burger { display: none !important; }
    .blog-page-nav,
    .product-page-nav { height: auto !important; min-height: 48px; flex-wrap: wrap; padding: 0.25rem 0.75rem; gap: 0; }
    .blog-page-tabs,
    .product-page-tabs { order: 2; flex: 1; min-width: max-content; justify-content: center; padding: 0.15rem 0; }
    .blog-page-back,
    .product-page-back { order: 1; flex-shrink: 0; }

    /* Про нас */
    .about-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .about-aside { position: static !important; }

    /* Етапи */
    .stages-grid, .stages-timeline {
      grid-template-columns: 1fr !important;
      flex-direction: column !important;
    }
    .stage-arrow { margin: 0 auto; }

    /* Продукція */
    .products-grid { grid-template-columns: 1fr !important; }
    #production { padding: 0 !important; overflow: visible !important; }
    #products { padding: 2.5rem 1.25rem 2rem !important; }
    .product-card { margin: 0 !important; }

    /* Партнери */
    .partners-section { padding: 48px 0 !important; }
    .partners-section > *:not(.partners-marquee-wrap) { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
    .partners-section h2 { font-size: 1.7rem !important; }

    /* Контакти */
    .contact-section {
      grid-template-columns: 1fr !important;
      gap: 2rem !important;
      padding: 48px 1.25rem !important;
    }
    .contact-cards-grid {
      grid-template-columns: 1fr 1fr !important;
      gap: 0.5rem !important;
    }
    .contact-card { padding: 0.7rem 0.65rem !important; gap: 0.55rem !important; align-items: flex-start !important; }
    .contact-card-icon { width: 28px !important; height: 28px !important; flex-shrink: 0 !important; }
    .contact-card-icon svg { width: 14px !important; height: 14px !important; }
    .contact-card-label { font-size: 0.6rem !important; letter-spacing: 0.08em !important; }
    .contact-card-value { font-size: 0.78rem !important; line-height: 1.3 !important; word-break: break-word !important; }
    .contact-card-note { font-size: 0.65rem !important; line-height: 1.25 !important; }

    /* Блог */
    .blog-section { padding: 48px 1.25rem !important; }
    #blog { padding: 2.5rem 1.25rem 3rem !important; }
    .blog-grid { gap: 1rem !important; margin-top: 1.5rem !important; padding: 0 !important; }
    .blog-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .blog-card { margin: 0 !important; }

    /* footer mobile — handled in footer block */

    /* Stages section */
    .stages-section-wrap {
      padding: 3rem 0 !important;
      width: 100vw !important;
      margin-left: 0 !important;
      box-sizing: border-box;
    }
    .stages-section-wrap > div {
      padding-left: 1.25rem !important;
      padding-right: 1.25rem !important;
    }
    .stages-timeline {
      display: grid !important;
      grid-template-columns: 1fr !important;
      padding: 1rem 1.25rem !important;
      max-width: 100% !important;
      gap: 0 !important;
    }
    .stage-arrow {
      height: 32px !important;
      display: flex !important;
      justify-content: center;
      margin: 0 !important;
    }
    .stage-arrow svg, .arrow-svg {
      transform: none !important;
      animation: arrowPulse 1.6s ease-in-out infinite !important;
      opacity: 0.5 !important;
    }
    .stage-step {
      width: 100% !important;
      min-width: 0 !important;
      min-height: 140px !important;
    }

    /* Модалки */
    .modal-box {
      padding: 0 !important;
      border-radius: 0 !important;
      position: fixed !important;
      top: 0 !important;
      bottom: 0 !important;
      left: 0 !important; right: 0 !important;
      height: 100svh !important;
      max-height: 100svh !important;
      max-width: 100% !important;
      margin: 0 !important;
    }
    .modal-overlay {
      padding: 0 !important;
      align-items: flex-start !important;
    }

    /* Stage modal */
    .stage-modal-box {
      border-radius: 16px !important;
      max-width: 100% !important;
      width: calc(100% - 2.5rem) !important;
      position: relative !important;
      bottom: auto !important;
      left: auto !important; right: auto !important;
      overflow: hidden !important;
      max-height: none !important;
    }
    .stage-modal-overlay {
      align-items: center !important;
      justify-content: center !important;
      padding: 1.25rem !important;
      overflow-y: auto !important;
    }
    .stage-modal-photo-wrap {
      height: 170px !important;
    }
    .stage-modal-body {
      padding: 1.1rem 1.1rem 1.3rem !important;
    }
    .stage-modal-title {
      font-size: 1.1rem !important;
      margin-bottom: 0.5rem !important;
    }
    .stage-modal-text {
      font-size: 0.8rem !important;
      line-height: 1.6 !important;
      margin-bottom: 0.7rem !important;
      display: -webkit-box !important;
      -webkit-line-clamp: 4 !important;
      -webkit-box-orient: vertical !important;
      overflow: hidden !important;
    }
    .stage-modal-tags {
      gap: 0.35rem !important;
      margin-bottom: 0.9rem !important;
    }
    .stage-modal-tag {
      font-size: 0.65rem !important;
      padding: 3px 8px !important;
    }
    .stage-modal-nav button {
      font-size: 0.72rem !important;
      padding: 7px 12px !important;
    }

    /* Blog page */
    .blog-page-nav {
      flex-wrap: wrap !important;
      height: auto !important;
    }
    .blog-page-tabs { gap: 0.15rem !important; flex-wrap: nowrap !important; min-width: max-content; }
    .blog-page-tab { font-size: 0.62rem !important; padding: 0.22rem 0.5rem !important; }
    .blog-articles-grid { grid-template-columns: 1fr !important; }
    .blog-page-body { padding: 2rem 1.25rem !important; }
    .blog-page-hero h1 { font-size: 2rem !important; }

    /* History page — мобільні стилі в основному блоці */

    /* Product page */
    .product-page { overflow-x: hidden !important; }
    .product-page-nav { padding: 0 0.75rem !important; height: auto !important; flex-wrap: wrap !important; }
    .product-page-body { padding: 0 !important; width: 100% !important; box-sizing: border-box !important; }
    .product-body-inner { padding: 1.5rem 1.25rem 2.5rem !important; max-width: 100% !important; }
    .product-page-body > * { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
    .product-specs-grid { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
    .product-spec-card { padding: 1rem !important; }
    .product-advantage { padding: 0.9rem 1rem !important; }
    .product-cta-box { flex-direction: column !important; padding: 1.4rem 1.25rem !important; margin-top: 1.5rem !important; width: 100% !important; box-sizing: border-box !important; }
    .product-cta-box .btn-primary { width: 100% !important; text-align: center !important; }
    .product-page-body h2 { font-size: 1.2rem !important; margin: 1.5rem 0 2.5rem !important; }
  }

  /* ── Дуже малі екрани ── */
  @media (max-width: 380px) {
    nav { padding: 0 1rem !important; }
    .ms-hero-inner { padding: 1.75rem 1rem 2rem !important; }
    .ms-h1 { font-size: 2.4rem !important; }
    .ms-hero-mobile-stats { grid-template-columns: 1fr 1fr; }
  }

  /* ── Ховер виключається на тач-пристроях ── */
  @media (hover: none) {
    .product-card:hover,
    .blog-card:hover,
    .blog-article-card:hover,
    .partner-chip:hover,
    .stage-step:hover {
      transform: none !important;
      box-shadow: none !important;
    }
  }


  /* ══ ARTICLE MODALS ══ */
  .article-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 600;
    -webkit-overflow-scrolling: touch;
    background: rgba(10,6,3,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }
  .article-modal.open {
    display: flex;
  }
  .article-modal-box {
    background: var(--cream);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 680px;
    max-height: 92svh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    animation: slideUpModal 0.2s cubic-bezier(.22,.68,0,1.1) both;
    scrollbar-width: none;
  }
  .article-modal-box::-webkit-scrollbar { display: none; }
  /* Hero image — tall, flush to top, full width */
  .article-modal-hero-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
  }
  /* Drag handle — above image via absolute */
  .article-modal-box::before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    z-index: 5;
  }
  .article-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(20,10,4,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,0.25);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 34px;
    text-align: center;
    color: #fff;
    transition: background 0.2s;
    z-index: 10;
  }
  .article-modal-close:hover { background: rgba(200,169,126,0.85); }
  .article-modal-cat {\
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    margin-left: 1.6rem;
    margin-top: 1.4rem;
  }
  .article-modal-cat.tips   { background: #f4ede4; color: var(--mushroom-dark); }
  .article-modal-cat.recipe { background: #e8f0e6; color: var(--moss); }
  .article-modal-cat.facts  { background: #eaf0f8; color: #2d5a8e; }
  .article-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 5vw, 1.7rem);
    color: var(--earth);
    line-height: 1.25;
    margin-bottom: 0.4rem;
    padding: 0 1.6rem;
  }
  .article-modal-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1.6rem;
    padding: 0 1.6rem 1.2rem;
    border-bottom: 1px solid var(--border);
  }
  .article-modal-body {
    padding: 0 1.6rem 3rem;
  }
  .article-modal-body p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 0.9rem;
    font-weight: 300;
  }
  .article-modal-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--earth);
    margin: 1.4rem 0 0.5rem;
  }
  .article-modal-body ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
  }
  .article-modal-body ul li {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 0.3rem;
    font-weight: 300;
  }
  .article-modal-body strong { font-weight: 600; color: var(--earth); }
  .article-modal-body em { font-style: italic; color: var(--mushroom-dark); }

  @media (max-width: 599px) {
    .article-modal {
      padding: 0;
      align-items: flex-end;
    }
    .article-modal-box {
      border-radius: 0;
      width: 100%;
      max-height: 100svh;
      height: 100svh;
    }
    .article-modal-hero-img {
      border-radius: 0;
      height: 240px;
    }
  }

  @media (min-width: 600px) {
    .article-modal {
      align-items: center;
      padding: 2rem;
    }
    .article-modal-box {
      border-radius: 16px;
      padding: 0;
      max-height: 88svh;
    }
    .article-modal-box::before { display: none; }
    .article-modal-hero-img {
      border-radius: 16px 16px 0 0;
      height: 320px;
    }
    .article-modal-cat {
      margin-left: 2rem;
      margin-top: 1.6rem;
    }
    .article-modal-title {
      padding: 0 2rem;
    }
    .article-modal-meta {
      padding: 0 2rem 1.2rem;
    }
    .article-modal-body {
      padding: 0 2rem 3rem;
    }
  }

  /* ═══════════════════════════════════════════════════
     ПОКРАЩЕНІ АНІМАЦІЇ — v2
  ═══════════════════════════════════════════════════ */

  /* 1. GPU-оптимізація для анімованих елементів */
  .stage-step,
  .product-card,
  .blog-card,
  .blog-article-card,
  .partner-chip,
  nav,
  .mobile-menu,
  .history-modal-overlay,
  .stage-modal-overlay,
  .article-modal,
  .blog-page,
  .history-page,
  .product-page {
    will-change: transform;
  }

  /* 2. Плавніший hero fadeUp — spring-подібна крива */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(32px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  /* 3. Покращений scroll reveal — spring-пружина */
  .reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-fade {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(.22,.68,0,1.15),
                transform 0.7s cubic-bezier(.22,.68,0,1.15);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
  }
  .reveal-up    { transform: translateY(42px); }
  .reveal-left  { transform: translateX(-42px); }
  .reveal-right { transform: translateX(42px); }
  .reveal-scale { transform: scale(0.9) translateY(20px); }
  .reveal-fade  { transform: translateY(16px); }
  .reveal-up.visible, .reveal-left.visible, .reveal-right.visible,
  .reveal-scale.visible, .reveal-fade.visible {
    opacity: 1;
    transform: none;
  }

  /* 4. Hover на кнопках — більш виразний */
  .btn-primary {
    transition: background 0.25s ease, transform 0.3s cubic-bezier(.22,.68,0,1.3), box-shadow 0.25s ease;
  }
  .btn-primary:hover {
    background: #d4b88e;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(200,169,126,0.3);
  }
  .btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200,169,126,0.2);
  }

  /* 5. Product card — магнітний ефект */
  .product-card {
    transition: transform 0.4s cubic-bezier(.22,.68,0,1.2),
                box-shadow 0.4s cubic-bezier(.22,.68,0,1.2),
                border-color 0.3s ease;
  }
  .product-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 24px 56px rgba(61,43,31,0.18), 0 0 0 1px var(--mushroom);
    border-color: var(--mushroom);
  }

  /* 6. Blog card */
  .blog-card {
    transition: transform 0.4s cubic-bezier(.22,.68,0,1.2),
                box-shadow 0.4s cubic-bezier(.22,.68,0,1.2),
                border-color 0.3s ease;
  }
  .blog-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 24px 56px rgba(61,43,31,0.18), 0 0 0 1px var(--mushroom);
    border-color: var(--mushroom);
  }

  /* 6b. Blog article card (окремі сторінки блогу) */
  .blog-article-card {
    transition: transform 0.4s cubic-bezier(.22,.68,0,1.2),
                box-shadow 0.4s cubic-bezier(.22,.68,0,1.2),
                border-color 0.3s ease;
  }
  .blog-article-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 24px 56px rgba(61,43,31,0.18), 0 0 0 1px var(--mushroom);
    border-color: var(--mushroom);
  }

  /* 7. Stage steps — більш виразний підйом */
  .stage-step {
    transition: transform 0.4s cubic-bezier(.22,.68,0,1.25),
                box-shadow 0.4s ease,
                border-color 0.3s ease,
                background 0.3s ease;
  }
  .stage-step:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 28px 64px rgba(0,0,0,0.4), 0 6px 20px rgba(200,169,126,0.22);
    border-color: rgba(200,169,126,0.6);
  }
  .stage-step:active {
    transform: translateY(-6px) scale(1.005);
  }

  /* 8. Модальні вікна — плавніший вхід */
  .history-modal-box {
    transform: translateY(40px) scale(0.96);
    transition: transform 0.45s cubic-bezier(.22,.68,0,1.15);
  }
  .history-modal-overlay.active .history-modal-box {
    transform: none;
  }
  .stage-modal-box {
    transform: translateY(32px) scale(0.96);
    transition: transform 0.4s cubic-bezier(.22,.68,0,1.15);
  }
  .stage-modal-overlay.active .stage-modal-box {
    transform: none;
  }

  /* 9. Article modal — плавний слайд */
  @keyframes slideUpModal {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
  }

  /* 10. Scroll-pulse line — плавніша хвиля */
  @keyframes scrollPulse {
    0%   { opacity: 0.2; transform: scaleY(0.8) translateY(-4px); }
    50%  { opacity: 0.9; transform: scaleY(1.15) translateY(2px); }
    100% { opacity: 0.2; transform: scaleY(0.8) translateY(-4px); }
  }

  /* 11. Міцелій — більш живе мерехтіння */
  @keyframes mycFlicker {
    0%   { opacity: 1; stroke-width: 0.7; }
    25%  { opacity: 0.15; stroke-width: 0.4; }
    55%  { opacity: 0.8; stroke-width: 0.6; }
    75%  { opacity: 0.35; stroke-width: 0.5; }
    100% { opacity: 1; stroke-width: 0.7; }
  }
  @keyframes nodeBreath {
    0%, 100% { opacity: 0.3; r: 1.8; }
    35%       { opacity: 1; r: 2.5; }
    65%       { opacity: 0.6; r: 2.0; }
  }

  /* 12. Marquee — hovered state плавний */
  .partners-marquee-track {
    animation: marqueeScroll 32s linear infinite;
    transition: animation-play-state 0.3s;
  }

  /* 13. Nav links — підкреслення від центру */
  .nav-item > a::after {
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2);
  }

  /* 14. Mobile menu — красивіший стagger */
  @keyframes menuItemIn {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .mobile-menu.open .mobile-menu-section {
    animation: menuItemIn 0.4s cubic-bezier(.22,.68,0,1.15) both;
  }

  /* 15. Лінія при скролі в nav */
  nav {
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
  }

  /* 17. Social buttons */
  .social-btn {
    transition: background 0.25s ease, transform 0.3s cubic-bezier(.22,.68,0,1.3), border-color 0.25s ease;
  }
  .social-btn:hover {
    background: rgba(200,169,126,0.1);
    transform: translateY(-2px);
    border-color: rgba(200,169,126,0.7);
  }

  /* 18. Contact form submit */
  .contact-form-submit-full {
    transition: background 0.25s ease, transform 0.3s cubic-bezier(.22,.68,0,1.3);
  }
  .contact-form-submit-full:hover:not(:disabled) {
    background: #d4b48e;
    transform: translateY(-2px);
  }
  .contact-form-submit-full:active {
    transform: translateY(0);
  }

  /* 19. Partner chips */
  .partner-chip {
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(.22,.68,0,1.2);
  }
  .partner-chip:hover {
    transform: translateY(-3px);
  }

  /* 20. nav-overlay — backdrop плавне */
  .nav-overlay {
    transition: background 0.35s cubic-bezier(.4,0,.2,1);
  }

  /* 22. Hover на aside-row */
  .aside-row {
    transition: background 0.2s ease;
  }
  .aside-row:hover {
    background: rgba(255,255,255,0.04);
  }

  /* 23. HP chapter reveal */
  .hp-chapter {
    transition: background 0.2s ease;
  }
  .hp-chapter:hover {
    background: rgba(200,169,126,0.04);
    border-radius: 8px;
  }

  /* 24. Cursor pointer dot — тонкий спрайт */
  @media (pointer: fine) {
    .stage-step { cursor: pointer; }
    .product-card { cursor: pointer; }
    .blog-card { cursor: pointer; }
  }


  /* 26. Стрілки nav-dropdown: плавніше */
  .nav-dropdown {
    transition: opacity 0.28s cubic-bezier(.4,0,.2,1),
                transform 0.28s cubic-bezier(.4,0,.2,1),
                visibility 0.28s;
  }

  /* 27. Hero scroll indicator — continuous flow */
  @keyframes scrollFlow {
    0%   { opacity: 0; transform: scaleY(0) translateY(-50%); }
    30%  { opacity: 0.8; }
    70%  { opacity: 0.6; }
    100% { opacity: 0; transform: scaleY(1) translateY(50%); }
  }
  .ms-scroll-line {
    background: linear-gradient(to bottom, rgba(200,169,126,0.6), rgba(200,169,126,0.1));
    animation: scrollFlow 1.8s cubic-bezier(.4,0,.6,1) infinite;
    transform-origin: top center;
  }

  /* 28. Blog article card hover — іконка збільшується */
  .blog-thumb {
    transition: font-size 0.3s cubic-bezier(.22,.68,0,1.3);
    overflow: hidden;
  }
  .blog-card:hover .blog-thumb { font-size: 3.8rem; }

  /* 29. Product tag top — pulse при появі */
  @keyframes tagPulse {
    0%   { box-shadow: 0 0 0 0 rgba(200,169,126,0.5); }
    70%  { box-shadow: 0 0 0 6px rgba(200,169,126,0); }
    100% { box-shadow: 0 0 0 0 rgba(200,169,126,0); }
  }
  .product-tag-top {
    animation: tagPulse 2.5s ease-in-out 1s both;
  }

  /* 30. Форма: focus ring */
  .contact-form-field input:focus,
  .contact-form-field textarea:focus {
    border-color: rgba(200,169,126,0.6);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 0 0 3px rgba(200,169,126,0.1);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.25s ease;
  }


  @media (max-width: 768px) {
    .history-page-nav,
    .product-page-nav,
    .blog-page-nav,
    .article-modal > *:first-child {
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
  }

  /* ── Freeze nav compositing during page transitions ── */
  nav.page-transitioning {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(22,12,5,0.98) !important;
  }

  /* ── Ховаємо головний nav коли відкрита підсторінка ── */
  nav.sub-page-open {
    display: none !important;
  }

  /* ── Прибрати білий outline/бордер при кліку на будь-яку кнопку ── */
  button,
  a,
  [role="button"],
  .btn-primary,
  .btn-ghost,
  .btn-ghost-white,
  .nav-burger,
  .history-page-back,
  .history-page-back *,
  .product-page-back,
  .blog-page-back,
  .stage-modal-close,
  .modal-close,
  .article-modal-close,
  .history-modal-close-btn,
  .blog-page-tab,
  .blog-filter-btn,
  .product-link-btn,
  .contact-form-submit,
  .contact-form-submit-full,
  .social-btn,
  .mobile-menu-link,
  .mobile-cta-btn,
  .mobile-cta-primary,
  .mobile-cta-ghost {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  button:focus,
  a:focus,
  [role="button"]:focus,
  button:focus-visible,
  a:focus-visible,
  [role="button"]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

  /* ═══════════════════════════════════════════
     ЄДИНА СИСТЕМА: TAP / PRESS FEEDBACK
  ═══════════════════════════════════════════ */

  .history-page-back,
  .product-page-back,
  .blog-page-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.0);
    border: 1.5px solid rgba(255,255,255,0.0);
    border-radius: 10px;
    padding: 0.45rem 0.75rem 0.45rem 0.55rem;
    cursor: pointer;
    color: rgba(255,255,255,0.55);
    font-family: 'Mulish', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.12s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    margin-left: -0.55rem;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .history-page-back:hover,
  .product-page-back:hover,
  .blog-page-back:hover {
    color: var(--mushroom);
    background: rgba(200,169,126,0.08);
    border-color: rgba(200,169,126,0.2);
  }
  .history-page-back.tapped,
  .product-page-back.tapped,
  .blog-page-back.tapped {
    color: var(--mushroom) !important;
    background: rgba(200,169,126,0.15) !important;
    border-color: rgba(200,169,126,0.35) !important;
    transform: scale(0.96);
  }

  .product-card.tapped {
    border-color: var(--mushroom) !important;
  }

  .blog-card.tapped {
    border-color: var(--mushroom) !important;
  }

  .blog-article-card.tapped {
    transform: translateY(-10px) scale(1.01) !important;
    box-shadow: 0 24px 56px rgba(61,43,31,0.18), 0 0 0 1px var(--mushroom) !important;
    border-color: var(--mushroom) !important;
  }
  .blog-article-card.tapped .blog-article-read { gap: 0.5rem; }

  .mobile-menu-link.tapped {
    background: rgba(200,169,126,0.10) !important;
  }
  .mobile-menu-link.tapped .mobile-menu-title { color: var(--mushroom) !important; }
  .mobile-menu-link.tapped .mobile-menu-icon { filter: brightness(1.4); }

  .blog-page-tab {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s, color 0.15s, transform 0.1s;
  }
    background: rgba(200,169,126,0.22) !important;
    color: var(--mushroom) !important;
  }
  .blog-page-tab.tapped {
    transform: scale(0.93) !important;
    background: rgba(200,169,126,0.22) !important;
    color: var(--mushroom) !important;
  }

  .btn-primary {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .btn-primary:active {
    transform: scale(0.96) !important;
    background: var(--mushroom-dark) !important;
    box-shadow: 0 2px 8px rgba(200,169,126,0.2) !important;
  }

  .btn-ghost,
  .btn-ghost-white {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
    opacity: 0.6;
    transform: scale(0.97);
  }


/* ══════════════════════════════════════
   ENHANCED SEO FOOTER
══════════════════════════════════════ */
footer,
footer.site-footer {
  background: #1e0f07 !important;
  color: rgba(255,255,255,0.75) !important;
  padding: 0 !important;
  display: block !important;
  font-family: "Mulish", sans-serif;
  position: relative;
  z-index: 1;
}

/* ── Footer layout ── */
footer { background: transparent; color: rgba(255,255,255,0.75); padding: 0; display: block; font-family: "Mulish", sans-serif; }

/* ── Footer layout ── */
footer { background: transparent; color: rgba(255,255,255,0.75); padding: 0; display: block; font-family: "Mulish", sans-serif; }

/* Brand col */
.footer-brand-col { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-logo-link { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.55rem; color: #c8a97e; }
.footer-logo-icon { width: 42px; height: 50px; flex-shrink: 0; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.5; margin: 0; padding: 0; }
.footer-socials--mid { margin-top: 0.4rem; }

/* Mid section — brand col + 3 nav cols */
.footer-mid { max-width: 1200px; margin: 0 auto; padding: 2.8rem 2.5rem 2.4rem; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 2rem; align-items: start; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-nav-col { background: transparent; }
.footer-nav-title { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #c8a97e; margin: 0 0 1.1rem; padding: 0; }
.footer-nav-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-nav-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.88rem; font-weight: 400; display: flex; align-items: center; gap: 0.55rem; transition: color 0.2s; }
.footer-nav-col a:hover { color: #c8a97e; }
.fni { font-size: 0.95rem; opacity: 0.7; flex-shrink: 0; }

/* Bottom bar */
.footer-bottom { background: #18100a; border-top: none; position: relative; padding: 2.5rem 2rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; text-align: center; }

/* Рядок з лініями та копірайтом */
.footer-copy-row { display: flex; align-items: center; gap: 1rem; width: 100%; max-width: 600px; margin-bottom: 0.6rem; }
.footer-copy-line { flex: 1; height: 1px; background: rgba(200,169,126,0.3); }
.footer-copy-title { font-size: 0.72rem; letter-spacing: 0.12em; font-weight: 600; color: rgba(200,169,126,0.75); white-space: nowrap; margin: 0; }

/* Великий заголовок */
.footer-copy-sub { font-size: 1.25rem; font-weight: 700; color: rgba(255,255,255,0.88); margin: 0 0 0.5rem; line-height: 1.3; }

/* Пілюлі з іконками */
.footer-seo-pills { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.8rem; margin: 0 0 0.6rem; }
.footer-pill { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: rgba(200,169,126,0.85); }
.footer-pill svg { color: #c8a97e; flex-shrink: 0; }
.footer-pill-dot { color: rgba(200,169,126,0.4); font-size: 0.7rem; }

/* Адреса */
.footer-location { display: flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: rgba(255,255,255,0.62); margin: 0.2rem 0 0; }
.footer-location svg { color: #c8a97e; flex-shrink: 0; }

/* Лінія перед політикою */
.footer-divider-line { width: 100%; max-width: 600px; height: 1px; background: rgba(200,169,126,0.15); margin: 0.8rem 0 0; display: block; }

/* Політика */
.footer-legal { margin-top: 0.3rem; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.2s; letter-spacing: 0.01em; }
.footer-legal a:hover { color: #c8a97e; }

/* Мобільна адаптація */
@media (max-width: 480px) {
  .footer-bottom { padding: 2rem 1.25rem 1.25rem; }
  .footer-copy-sub { font-size: 1rem; }
  .footer-seo-pills { gap: 0.4rem 0.6rem; }
  .footer-pill { font-size: 0.76rem; }
  .footer-pill-dot { display: none; }
  .footer-copy-row { max-width: 100%; }
}

/* ── Responsive footer ── */

  /* ── Blog article card photo thumbs ── */
  .blog-article-thumb.bth-photo {
    padding: 0;
    overflow: hidden;
  }
  .blog-article-thumb.bth-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(.22,.68,0,1.2);
  }
  .blog-article-card:hover .blog-article-thumb.bth-photo img {
    transform: scale(1.06);
  }

  /* ── Modal article images ── */
  .modal-hero-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0.8rem 0 1.4rem;
    display: block;
  }
  .modal-inline-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem 0;
    display: block;
  }
  @media (min-width: 600px) {
    .modal-hero-img { height: 280px; }
    .modal-inline-img { height: 220px; }
  }

  /* ── Підсвітка карточки при поверненні з підсторінки ── */
  .product-card.return-highlight,
  .blog-card.return-highlight {
    border-color: var(--mushroom) !important;
    box-shadow: 0 0 0 3px rgba(200,169,126,0.35), 0 20px 50px rgba(61,43,31,0.16) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
  }

  /* ── Прибираємо анімації міцелію/грибів у хедері на мобільному ── */
  @media (max-width: 768px) {
    .nav-decor { display: none; }
    .ms-grain { display: none; }
    .ms-scroll-indicator { display: none; }
    .myc-thread,
    .myc-node,
    .myc-mushroom,
    .myc-soil,
    .myc-micro {
      animation: none !important;
    }
  }
