/* ==========================================================================
   base.scss — Reset, переменные, типографика, body, ссылки, липкий хедер
   Объединяет: base.css + critical.css
   ========================================================================== */

/* base.css — part of NAOMI TOFU design system */

/* --------------------------------------------------------------------------
   1. CSS Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* overflow-x: clip is preferred over hidden — it does NOT turn the html
     element into a scroll container, so position: sticky on descendants
     (the header) keeps working correctly on all browsers. */
  overflow-x: clip;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Use overflow-x: clip instead of hidden. overflow-x: hidden forces the
     browser to compute overflow-y as auto, which can break position: sticky
     on descendants (the header). clip does NOT affect overflow-y, so the
     sticky header keeps working while horizontal scroll is still prevented. */
  overflow-x: clip;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: #1a1a1a;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol { list-style: none; }

::selection {
  background: #E2EDE5;
  color: #2F5A3C;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #faf8f4; }
::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 5px;
  border: 2px solid #faf8f4;
}
::-webkit-scrollbar-thumb:hover { background: #b8b8b8; }


/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */

:root {
  /* Ink */
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --mute: #6b6b6b;
  --line: #ebebeb;
  --cream: #faf8f4;
  --paper: #ffffff;

  /* Product accents */
  --naomi-hypo: #b89968;
  --naomi-hypo-soft: #f2e9d8;
  --naomi-hypo-text: #7a6240;
  --naomi-greentea: #4a7c59;
  --naomi-greentea-soft: #e2ede5;
  --naomi-greentea-text: #2f5a3c;
  --naomi-sakura: #d87093;
  --naomi-sakura-soft: #f8e2ea;
  --naomi-sakura-text: #a04068;
  --naomi-lavender: #8b7ab8;
  --naomi-lavender-soft: #ece7f2;
  --naomi-lavender-text: #5c4d8a;

  /* Layout */
  --container-max: 1280px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --header-h: 64px;
}


/* --------------------------------------------------------------------------
   4. Typography helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-block;
}
.eyebrow--light { color: rgba(255,255,255,0.55); }

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .lead { font-size: 1.25rem; }
}
.lead--light { color: rgba(255,255,255,0.7); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1;
  background: var(--cream);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}


/* --------------------------------------------------------------------------
   20. Contacts
   -------------------------------------------------------------------------- */

.contacts-head {
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .contacts-head { margin-bottom: 4rem; } }
.contacts-head__title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0.75rem 0 1.25rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .contacts-head__title { font-size: 3.75rem; } }

.contacts-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .contacts-grid {
    grid-template-columns: 7fr 5fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.contacts-left { display: flex; flex-direction: column; gap: 1rem; }

.contact-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
@media (min-width: 768px) { .contact-block { padding: 1.75rem; } }

.contact-block__label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1rem;
}

.contact-block__phones { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-block__phone {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
  transition: color 0.2s ease;
}
@media (min-width: 768px) { .contact-block__phone { font-size: 1.875rem; } }
.contact-block__phone:hover { color: var(--naomi-greentea-text); }

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.messenger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}
.messenger:hover { border-color: var(--ink); }
.messenger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #fff;
}
.messenger__icon svg { width: 1rem; height: 1rem; }
.messenger__icon--whatsapp { background: #25D366; }
.messenger__icon--viber { background: #7360F2; }
.messenger__icon--telegram { background: #0088CC; }
.messenger__icon--vk { background: #0077FF; }

.contact-block__text {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1.125rem;
}
.contact-block__note {
  font-size: 0.875rem;
  color: var(--mute);
  margin-top: 0.5rem;
}

.contact-block__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact-block__map iframe { display: block; border: 0; }

/* Lead form */
.lead-form, .lead-form-success {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
@media (min-width: 768px) { .lead-form, .lead-form-success { padding: 2rem; } }

.lead-form__title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.lead-form__sub {
  font-size: 0.875rem;
  color: var(--mute);
  margin-bottom: 1.5rem;
}

.field {
  display: block;
  margin-bottom: 1.25rem;
}
.field__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
}
.field__req { color: var(--naomi-sakura-text); margin-left: 0.25rem; }
.field__opt {
  color: var(--mute);
  font-size: 0.75rem;
  margin-left: 0.375rem;
  font-weight: 400;
}
.field__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.field__input:focus {
  outline: none;
  border-color: var(--ink);
}
.field__input--area {
  resize: none;
  font-family: inherit;
}
select.field__input { cursor: pointer; }

.lead-form__note {
  font-size: 0.75rem;
  color: var(--mute);
  text-align: center;
  line-height: 1.6;
  margin-top: 1rem;
}

.lead-form-success {
  text-align: center;
  background: var(--naomi-greentea-soft);
  border-color: color-mix(in srgb, var(--naomi-greentea) 30%, transparent);
}
.lead-form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--naomi-greentea);
  color: #fff;
  margin-bottom: 1rem;
}
.lead-form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.lead-form-success p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}


/* --------------------------------------------------------------------------
   24. Reveal animation
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}


/* --------------------------------------------------------------------------
   28. Utility
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

[hidden] { display: none !important; }


/* ==========================================================================
   29. RESPONSIVE ENHANCEMENTS — improved small-screen support
   Fixes:
   - horizontal scroll at certain viewport widths
   - "Где купить каждый аромат" table on mobile
   - burger menu / mobile nav at narrow widths
   - hero, grids, prices, contacts on small screens
   ========================================================================== */

/* Additional safety net: never allow horizontal scroll on the root wrapper.
   The <body> already has overflow-x: hidden; <html> now has it too.
   We also reset any potential negative-margin / off-canvas children. */
body { max-width: 100vw; }

/* Generic break-word helper for long unbreakable strings (URLs, long words) */
.section__title, .hero__title, .product-detail__title, .article__title,
.news-featured__title, .contacts-head__title, .mp-mapping__title,
.wholesale-banner__title, .related-products__title, .other-news__title {
  overflow-wrap: break-word;
  word-break: break-word;
}


/* --------------------------------------------------------------------------
   29.1 Very small screens (≤ 380px) — prevent overflow, tighten spacing
   -------------------------------------------------------------------------- */

@media (max-width: 380px) {
  .container {
    padding-inline: 1rem;
  }
  .section {
    padding-block: 3rem;
  }
  .hero {
    padding-block: 2rem 2.5rem;
  }

  /* Compact logo on very small screens */
  .logo {
    gap: 0.5rem;
  }
  .logo__img {
    width: 2rem;
    height: 2rem;
  }
  .logo__brand {
    font-size: 0.9375rem;
  }
  .logo__sub {
    font-size: 0.5625rem;
    letter-spacing: 0.14em;
  }

  /* Burger button: slightly smaller */
  .burger {
    width: 2.5rem;
    height: 2.5rem;
  }
  .burger__icon {
    width: 1.125rem;
    height: 1.125rem;
  }

  /* Hero: smaller title, single-column stats */
  .hero__title {
    font-size: 1.875rem;
    margin: 0.75rem 0 1rem;
  }
  .hero__lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero__cta {
    margin-bottom: 2rem;
  }

  /* Stack stat cards vertically on very small screens */
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1.5rem;
  }
  .hero__stat {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
  }
  .hero__stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .hero__stat dt {
    font-size: 1.375rem;
  }
  .hero__stat dd {
    font-size: 0.75rem;
  }

  /* Section titles: smaller */
  .section__title {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }
  .lead {
    font-size: 1rem;
  }

  /* Mobile nav: full width on very small screens */
  .mobile-nav {
    width: 100vw;
    max-width: 100vw;
  }

  /* Footer: reduce paddings */
  .footer__inner {
    padding-block: 2.5rem;
  }
  .footer__bottom {
    gap: 0.5rem;
    text-align: center;
  }

  /* Price tiers and cards: smaller padding */
  .price-tier {
    padding: 0.625rem 0.5rem;
  }
  .price-tier__val {
    font-size: 1rem;
  }
  .price-tier__qty {
    font-size: 0.625rem;
  }

  /* Floating buttons: smaller and closer to corner */
  .floating {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .floating__btn {
    width: 2.75rem;
    height: 2.75rem;
  }
  .floating__btn--main {
    width: 3rem;
    height: 3rem;
  }
  .floating__btn svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  /* FAQ: smaller text */
  .faq-trigger {
    font-size: 0.9375rem;
    padding: 1.125rem 0;
  }
  .faq-panel__content {
    font-size: 0.875rem;
  }

  /* mp-link buttons: smaller padding */
  .mp-link {
    padding: 0.3125rem 0.625rem;
    font-size: 0.75rem;
  }
}


/* --------------------------------------------------------------------------
   29.8 Product detail page on small screens
   -------------------------------------------------------------------------- */

@media (max-width: 639px) {
  .product-detail__title {
    font-size: 1.625rem;
  }
  .product-detail__tagline {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .product-detail__desc {
    font-size: 0.9375rem;
  }
  .product-detail__features li {
    font-size: 0.875rem;
  }
  .product-detail__prices {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .price-tier {
    padding: 0.75rem 0.5rem;
  }
  .price-tier__val {
    font-size: 1.0625rem;
  }
}


/* --------------------------------------------------------------------------
   29.17 Map iframe — ensure it never causes horizontal scroll
   -------------------------------------------------------------------------- */

.contact-block__map iframe {
  max-width: 100%;
}
.contact-block__map {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   29.18 Sticky elements — disable sticky on small screens to avoid
   awkward off-screen positioning.
   -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
  .product-detail__image-wrap,
  .contacts-cta,
  .lead-form,
  .lead-form-success {
    position: relative;
    top: auto;
  }
}

/* --------------------------------------------------------------------------
   29.19 Compact product cards on mobile — make images smaller / less tall
   On mobile the default 4/5 portrait aspect-ratio makes product images
   dominate the screen. We switch to a more compact square (1/1) aspect
   ratio and tighten the card body so more content fits per scroll.
   -------------------------------------------------------------------------- */

@media (max-width: 639px) {
  .product-compact__image {
    /* Square aspect ratio instead of 4/5 portrait — saves ~20% vertical space */
    aspect-ratio: 1 / 1;
  }
  .product-compact__chip {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
  }
  .product-compact__body {
    padding: 0.875rem;
    gap: 0.375rem;
  }
  .product-compact__title {
    font-size: 0.9375rem;
    line-height: 1.25;
  }
  .product-compact__tagline {
    font-size: 0.75rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }
  .product-compact__price {
    padding-top: 0.5rem;
  }
  .product-compact__price-label {
    font-size: 0.625rem;
  }
  .product-compact__price-val {
    font-size: 1rem;
  }
  .product-compact__more {
    font-size: 0.75rem;
    margin-top: 0.25rem;
  }
}

/* On very small screens (≤ 419px), where the grid becomes single column,
   the square image would still be quite large. Use a slightly wider
   4/3 landscape ratio so the image stays compact on tiny screens. */
@media (max-width: 419px) {
  .product-compact__image {
    aspect-ratio: 4 / 3;
  }
  .product-compact__body {
    padding: 1rem;
  }
  .product-compact__title {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   29.20 News cards on mobile — make images more compact (4/3 instead of 4/3
   is already the default, but tighten body padding on small screens).
   -------------------------------------------------------------------------- */

@media (max-width: 639px) {
  .news-card__body {
    padding: 1rem;
  }
  .news-card__title {
    font-size: 0.9375rem;
    -webkit-line-clamp: 2;
  }
  .news-card__excerpt {
    font-size: 0.8125rem;
    -webkit-line-clamp: 2;
  }
  .news-card__date {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
  }
}

/* --------------------------------------------------------------------------
   29.21 Sticky header — guaranteed to stay visible
   The header is position: sticky; top: 0; z-index: 50 by default.
   Previously the body had overflow-x: hidden which on some browsers turned
   the body into a scroll container and broke the sticky positioning. We
   changed body to overflow-x: clip in section 1 (base styles), which
   prevents horizontal scroll without breaking sticky.
   Additionally, the header now has a solid white background by default
   (see section 6) so it's always visible against any page background.
   This media query is a no-op fallback for very old browsers that don't
   support overflow-x: clip — we keep the header solid on those too.
   -------------------------------------------------------------------------- */

/* Ensure the header never disappears behind content when scrolling.
   The header is the first child of <body>, and <body> uses flex column
   with the header followed by <main> (flex: 1) and <footer>. The sticky
   positioning works because none of the ancestors have overflow set
   (after our clip fix). */
.header {
  /* Make sure the header is always rendered on top of every other element
     except modals (z-index 100) and lightbox (z-index 200) and mobile
     nav (z-index 80) and mobile backdrop (z-index 70). */
  position: sticky;
  top: 0;
  z-index: 50;
}


/* ====== CRITICAL OVERRIDES ====== */


/* ====== CRITICAL OVERRIDES ====== */

/* :root variables */
:root {
  --font-family: "Open Sans" !important;
  --font-family-default: system-ui, -apple-system, sans-serif !important;
  --font-size: 16px !important;
  --font-weight: 400 !important;
  --line-height: 1.6 !important;
}

/* Body */
body {
  font-family: "Open Sans", system-ui, -apple-system, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  text-align: left !important;
  overflow-x: hidden !important;
}

/* No underlines */
*:not(style):not(script) a,
*:not(style):not(script) a:link,
*:not(style):not(script) a:visited,
*:not(style):not(script) a:hover,
*:not(style):not(script) a:active,
*:not(style):not(script) a:focus {
  text-decoration: none !important;
  outline: none !important;
}

/* Fixed header */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
body { padding-top: 72px !important; }
@media (min-width: 1024px) { body { padding-top: 80px !important; } }
@media (max-width: 640px) { body { padding-top: 64px !important; } }

/* Header text sizes */
.nav__link {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

/* Marketplaces button */
.btn--marketplaces, .header__marketplaces {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 0.875rem !important;
  border-radius: 999px !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  background: #6BAE7E !important;
  color: #fff !important;
  border: 1px solid #6BAE7E !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}
.btn--marketplaces:hover, .header__marketplaces:hover {
  background: #5a9e6e !important;
  border-color: #5a9e6e !important;
  color: #fff !important;
}

/* Nav opt suffix */
.nav__opt-suffix {
  font-size: 0.7em !important;
  opacity: 0.6 !important;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  font-size: 0.875rem !important;
  color: #6b6b6b !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  max-width: 100% !important;
}
.breadcrumbs a { color: #6b6b6b !important; text-decoration: none !important; }
.breadcrumbs a:hover { color: #1a1a1a !important; }
.breadcrumbs span[aria-current] { color: #1a1a1a !important; font-weight: 500 !important; }
.breadcrumbs span[aria-hidden] { color: #6b6b6b !important; opacity: 0.5 !important; }

/* Hero */
.hero { padding-top: 2rem !important; }

/* Header inner */
.header__inner {
  
}

/* Phone breakpoint */
.header__phone { display: none !important; }
@media (min-width: 1366px) {
  .header__phone { display: inline-flex !important; }
}

/* Header — content centered, not at edges */
.header__inner {
  max-width: 1280px !important;
  margin-inline: auto !important;
}


/* ====== STYLES MOVED FROM HTML <style> BLOCKS ====== */

/* Link reset */
a { text-decoration: none; color: inherit; }
a:hover { color: #4A7C59; }
.nav__link, .logo, .footer__list a, .footer__platforms a,
.btn, .mp-card, .product-compact, .news-card, .faq-trigger,
.mobile-nav__link, .breadcrumbs a, .article__source a,
.mp-mapping__note a, .article__cta-buttons a {
  text-decoration: none !important;
}

/* Fixed header */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
body { padding-top: 72px !important; }
@media (min-width: 1024px) { body { padding-top: 80px !important; } }
@media (max-width: 640px) { body { padding-top: 64px !important; } }

/* Header text sizes */
.nav__link {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}
.logo__brand, .logo__sub {
  display: none !important;
}
.logo__img img {
  width: 120px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}
@media (min-width: 768px) {
  .logo__img img { width: 160px !important; }
}
.logo__img {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  overflow: visible !important;
}
.header__phone {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  padding: 0.625rem 1rem !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

/* Marketplaces button */
.btn--marketplaces, .header__marketplaces {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 0.875rem !important;
  border-radius: 999px !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  background: #6BAE7E !important;
  color: #fff !important;
  border: 1px solid #6BAE7E !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}
.btn--marketplaces:hover, .header__marketplaces:hover {
  background: #5a9e6e !important;
  border-color: #5a9e6e !important;
  color: #fff !important;
}

/* Nav opt suffix */
.nav__opt-suffix {
  font-size: 0.7em !important;
  opacity: 0.6 !important;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  font-size: 0.875rem !important;
  color: #6b6b6b !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  max-width: 100% !important;
}
.breadcrumbs a { color: #6b6b6b !important; text-decoration: none !important; }
.breadcrumbs a:hover { color: #1a1a1a !important; }
.breadcrumbs span[aria-current] { color: #1a1a1a !important; font-weight: 500 !important; }
.breadcrumbs span[aria-hidden] { color: #6b6b6b !important; opacity: 0.5 !important; }

/* Hero */
.hero { padding-top: 2rem !important; }

/* Prevent horizontal scroll */
html, body { max-width: 100% !important; overflow-x: hidden !important; }

/* Header inner */
.header__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
}
.header__actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-shrink: 0 !important;
}
.logo {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* Phone breakpoint */
.header__phone { display: none !important; }
@media (min-width: 1366px) {
  .header__phone { display: inline-flex !important; }
}

/* Hero 2x2 grid */
.hero__grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 400px;
  margin-inline: auto;
}
.hero__grid-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid #ebebeb;
  background: #fff;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: block;
}
.hero__grid-item:hover {
  border-color: #4A7C59;
  transform: translateY(-2px);
}
.hero__grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__grid-label {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(255,255,255,0.95);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* About blocks */
.about-block { margin-top: 2.5rem !important; }
.about-block:first-of-type { margin-top: 1.5rem !important; }
.about-block__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.about-block__num {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #4A7C59;
  opacity: 0.4;
  line-height: 1;
}
.about-block__title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.about-block__desc {
  color: rgba(255, 255, 255, 0.7);
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

/* Card styles for dark background */
.benefit-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(2px);
}
.benefit-card h3 { color: #fff; }
.benefit-card p { color: rgba(255,255,255,0.7); }
.benefit-card:hover {
  border-color: rgba(255,255,255,0.15) !important;
  background: rgba(255,255,255,0.07) !important;
}
.why-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(2px);
}
.why-card h3 { color: #fff; }
.why-card p { color: rgba(255,255,255,0.7); }

/* Product dropdown */
.nav__item--has-dropdown { position: relative; }
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.15);
  padding: 0.5rem;
  min-width: 200px;
  z-index: 100;
  flex-direction: column;
  gap: 0;
}
.nav__item--has-dropdown:hover .nav__dropdown { display: flex; }
.nav__dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #4a4a4a !important;
  border-radius: 0.375rem;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.nav__dropdown a:hover { background: #f5f5f5; color: #1a1a1a !important; }

.about-card-clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about-card-clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.2);
}

/* Floating button fix */
.floating {
  transform: none !important;
  transition: opacity 0.4s ease !important;
  position: fixed !important;
}
.floating.is-visible { transform: none !important; }
.floating__expanded {
  transform: none !important;
  transition: opacity 0.3s ease !important;
}
.floating__expanded.is-open { transform: none !important; }
.floating__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.floating__icon--close { width: 1.25rem; height: 1.25rem; }
.floating__btn--main.is-open .floating__icon--close {
  transform: translate(-50%, -50%);
}

/* Section spacing */
.section { padding-block: 3rem !important; }
@media (min-width: 768px) { .section { padding-block: 4rem !important; } }
@media (min-width: 1024px) { .section { padding-block: 5rem !important; } }
@media (min-width: 1440px) { .section { padding-block: 6rem !important; } }

/* Image fixes */
@media (max-width: 1023px) {
  .hero__main-img { max-width: 400px; margin-inline: auto; aspect-ratio: 5 / 6; }
  .hero__visual { max-width: 500px; margin-inline: auto; }
  .product-compact__image { max-height: 280px; aspect-ratio: 4 / 3; }
  .product-detail__image-wrap { max-width: 400px; margin-inline: auto; }
  .news-card__image { max-height: 200px; }
  .article__hero { max-width: 600px; margin-inline: auto; }
  .article__hero img { max-height: 350px; object-fit: cover; }
  .article__gallery-item { max-height: 250px; }
  .article__gallery-item img { max-height: 250px; object-fit: cover; }
}
@media (max-width: 640px) {
  .hero__main-img { max-width: 100%; }
  .product-compact__image { max-height: 220px; }
  .article__hero img { max-height: 250px; }
}


/* ====== 1. COLORED NUMBERS + HOVER ====== */
/* Block 1: benefit-cards (Восемь причин) — colored icons + hover ALL text */
.benefit-card:nth-child(1) .benefit-card__icon { color: #4A7C59 !important; }
.benefit-card:nth-child(2) .benefit-card__icon { color: #2D5F6B !important; }
.benefit-card:nth-child(3) .benefit-card__icon { color: #B89968 !important; }
.benefit-card:nth-child(4) .benefit-card__icon { color: #D87093 !important; }
.benefit-card:nth-child(5) .benefit-card__icon { color: #8B7AB8 !important; }
.benefit-card:nth-child(6) .benefit-card__icon { color: #4A7C59 !important; }
.benefit-card:nth-child(7) .benefit-card__icon { color: #B89968 !important; }
.benefit-card:nth-child(8) .benefit-card__icon { color: #2D5F6B !important; }
.benefit-card h3, .benefit-card p { transition: color 0.3s ease; }
.benefit-card:nth-child(1):hover h3, .benefit-card:nth-child(1):hover p { color: #4A7C59 !important; }
.benefit-card:nth-child(2):hover h3, .benefit-card:nth-child(2):hover p { color: #2D5F6B !important; }
.benefit-card:nth-child(3):hover h3, .benefit-card:nth-child(3):hover p { color: #B89968 !important; }
.benefit-card:nth-child(4):hover h3, .benefit-card:nth-child(4):hover p { color: #D87093 !important; }
.benefit-card:nth-child(5):hover h3, .benefit-card:nth-child(5):hover p { color: #8B7AB8 !important; }
.benefit-card:nth-child(6):hover h3, .benefit-card:nth-child(6):hover p { color: #4A7C59 !important; }
.benefit-card:nth-child(7):hover h3, .benefit-card:nth-child(7):hover p { color: #B89968 !important; }
.benefit-card:nth-child(8):hover h3, .benefit-card:nth-child(8):hover p { color: #2D5F6B !important; }

/* Block 2: step-cards (Полный цикл) — colored numbers */
.step-card:nth-child(1) .step-card__num { color: #4A7C59 !important; }
.step-card:nth-child(2) .step-card__num { color: #D87093 !important; }
.step-card:nth-child(3) .step-card__num { color: #8B7AB8 !important; }
.step-card:nth-child(4) .step-card__num { color: #2D5F6B !important; }
.step-card:nth-child(5) .step-card__num { color: #B89968 !important; }
.step-card h3 { transition: color 0.3s ease; }
.step-card:hover h3 { color: var(--accent, #4A7C59) !important; }
.step-card:nth-child(1):hover h3 { color: #4A7C59 !important; }
.step-card:nth-child(2):hover h3 { color: #D87093 !important; }
.step-card:nth-child(3):hover h3 { color: #8B7AB8 !important; }
.step-card:nth-child(4):hover h3 { color: #2D5F6B !important; }
.step-card:nth-child(5):hover h3 { color: #B89968 !important; }
.step-card p { transition: color 0.3s ease; }
.step-card:nth-child(1):hover p { color: #4A7C59 !important; opacity: 0.9 !important; }
.step-card:nth-child(2):hover p { color: #D87093 !important; opacity: 0.9 !important; }
.step-card:nth-child(3):hover p { color: #8B7AB8 !important; opacity: 0.9 !important; }
.step-card:nth-child(4):hover p { color: #2D5F6B !important; opacity: 0.9 !important; }
.step-card:nth-child(5):hover p { color: #B89968 !important; opacity: 0.9 !important; }

/* Block 3: why-cards (Шесть причин) — already have colors via --accent */
.why-card h3 { transition: color 0.3s ease; }
.why-card p { transition: color 0.3s ease; }
.why-card:hover h3 { color: var(--accent, #4A7C59) !important; }
.why-card:hover p { color: var(--accent, #4A7C59) !important; }

/* About block numbers (01/02/03) */
.about-block:nth-child(1) .about-block__num { color: #4A7C59 !important; }
.about-block:nth-child(2) .about-block__num { color: #D87093 !important; }
.about-block:nth-child(3) .about-block__num { color: #8B7AB8 !important; }
.about-block__title { transition: color 0.3s ease; }
.about-block__desc { transition: color 0.3s ease; }
.about-block:nth-child(1):hover .about-block__title { color: #4A7C59 !important; }
.about-block:nth-child(2):hover .about-block__title { color: #D87093 !important; }
.about-block:nth-child(3):hover .about-block__title { color: #8B7AB8 !important; }
.about-block:nth-child(1):hover .about-block__desc { color: #4A7C59 !important; opacity: 0.9 !important; }
.about-block:nth-child(2):hover .about-block__desc { color: #D87093 !important; opacity: 0.9 !important; }
.about-block:nth-child(3):hover .about-block__desc { color: #8B7AB8 !important; opacity: 0.9 !important; }

/* ====== 3. VK SECTION — remove black background ====== */
.section--dark .vk-cta,
.vk-cta,
.section__head--light + .vk-cta {
  background: var(--cream, #faf8f4) !important;
  color: var(--ink, #1a1a1a) !important;
}
.vk-cta h3,
.vk-cta h2,
.vk-cta p {
  color: var(--ink, #1a1a1a) !important;
}
.vk-cta .btn--white {
  background: var(--ink, #1a1a1a) !important;
  color: #fff !important;
  border: 1px solid var(--ink, #1a1a1a) !important;
}
.vk-cta .btn--white:hover {
  background: var(--ink-soft, #4a4a4a) !important;
}

/* Also target the news section VK CTA specifically */
#news .vk-cta,
#news .section__head--light {
  background: var(--cream, #faf8f4) !important;
  color: var(--ink, #1a1a1a) !important;
}
#news h2, #news h3, #news p {
  color: var(--ink, #1a1a1a) !important;
}

/* ====== 4. FOOTER LOGO — invert to white, no background ====== */
.footer__logo-img {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.footer__logo-img img {
  filter: invert(1) brightness(2) !important;
  width: 120px !important;
  height: auto !important;
  object-fit: contain !important;
}
@media (min-width: 768px) {
  .footer__logo-img img { width: 140px !important; }
}

/* ====== 5. CARD CLICKABLE CURSOR ====== */
.about-card-clickable {
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.about-card-clickable:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.2) !important;
}


/* ====== MODAL NAVIGATION + ANIMATION FIX ====== */
/* macOS-style modal: visibility+opacity pattern (not display:none) so that
   transitions actually run. Hidden state uses visibility:hidden which keeps
   the element rendered but non-interactive, allowing opacity/transform/filter
   to transition smoothly. */
.about-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 200 !important;
  display: flex !important;            /* always flex — visibility controls shown/hidden */
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;

  /* Hidden state */
  visibility: hidden !important;
  opacity: 0 !important;
  background: rgba(0,0,0,0) !important;
  backdrop-filter: blur(0px) !important;
  -webkit-backdrop-filter: blur(0px) !important;
  pointer-events: none !important;

  transition:
    opacity 0.45s ease,
    background 0.45s ease,
    backdrop-filter 0.45s ease,
    -webkit-backdrop-filter 0.45s ease,
    visibility 0s linear 0.45s !important;   /* delay hiding until after fade-out */
}
.about-modal.is-open {
  visibility: visible !important;
  opacity: 1 !important;
  background: rgba(0,0,0,0.5) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  pointer-events: auto !important;
  transition:
    opacity 0.45s ease,
    background 0.45s ease,
    backdrop-filter 0.45s ease,
    -webkit-backdrop-filter 0.45s ease,
    visibility 0s linear 0s !important;       /* show immediately on open */
}
.about-modal__content {
  background: #fff !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
  max-width: 600px !important;
  width: 100% !important;
  max-height: 85vh !important;
  overflow-y: auto !important;
  position: relative !important;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4) !important;

  /* Hidden state — modal starts tiny and blurred.
     transform-origin is set by JS to the clicked card's center,
     so the scale animation makes the modal appear to grow OUT OF the card. */
  opacity: 0;
  transform: scale(0.1);
  filter: blur(8px);
  transform-origin: var(--origin-x, 50%) var(--origin-y, 50%);
  -webkit-transform-origin: var(--origin-x, 50%) var(--origin-y, 50%);
}

/* Open animation — expand from card position with spring wobble.
   Quick (0.42s) so the user doesn't wait. */
.about-modal.is-open .about-modal__content {
  animation: modal-pop-from-card 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  -webkit-animation: modal-pop-from-card 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Close animation — collapse back toward the card position.
   Slightly faster than open (0.32s) so dismissals feel snappy. */
.about-modal.is-closing .about-modal__content {
  animation: modal-collapse-to-card 0.32s cubic-bezier(0.4, 0, 0.6, 1) forwards;
  -webkit-animation: modal-collapse-to-card 0.32s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

/* Expand: 0→40% opacity fade-in + blur clear, then wobble 1.08→0.96→1.02→1 */
@keyframes modal-pop-from-card {
  0%   { opacity: 0; filter: blur(8px); transform: scale(0.1); }
  40%  { opacity: 1; filter: blur(0); }
  55%  { transform: scale(1.08); }
  72%  { transform: scale(0.96); }
  87%  { transform: scale(1.02); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}
@-webkit-keyframes modal-pop-from-card {
  0%   { opacity: 0; filter: blur(8px); transform: scale(0.1); }
  40%  { opacity: 1; filter: blur(0); }
  55%  { transform: scale(1.08); }
  72%  { transform: scale(0.96); }
  87%  { transform: scale(1.02); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}

/* Collapse: brief overshoot to 1.05, then shrink to 0.1 with blur+fade */
@keyframes modal-collapse-to-card {
  0%   { opacity: 1; filter: blur(0); transform: scale(1); }
  30%  { opacity: 0.7; filter: blur(4px); transform: scale(1.05); }
  100% { opacity: 0; filter: blur(8px); transform: scale(0.1); }
}
@-webkit-keyframes modal-collapse-to-card {
  0%   { opacity: 1; filter: blur(0); transform: scale(1); }
  30%  { opacity: 0.7; filter: blur(4px); transform: scale(1.05); }
  100% { opacity: 0; filter: blur(8px); transform: scale(0.1); }
}
.about-modal__close {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 999px !important;
  border: none !important;
  background: #f0f0f0 !important;
  cursor: pointer !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s ease, transform 0.3s ease !important;
  z-index: 10 !important;
}
.about-modal__close:hover {
  background: #e0e0e0 !important;
  transform: rotate(90deg) !important;
}

/* Modal navigation arrows */
.about-modal__nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid #eee !important;
}
.about-modal__nav-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem !important;
  border: 1px solid #ddd !important;
  background: #fff !important;
  color: #4a4a4a !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}
.about-modal__nav-btn:hover {
  background: #f5f5f5 !important;
  border-color: #bbb !important;
}
.about-modal__nav-btn:disabled {
  opacity: 0.3 !important;
  cursor: default !important;
}
.about-modal__nav-btn svg {
  width: 1rem !important;
  height: 1rem !important;
}
.about-modal__counter {
  font-size: 0.8rem !important;
  color: #999 !important;
  font-weight: 500 !important;
}

/* Modal content transitions for carousel */
.about-modal__body {
  transition: opacity 0.2s ease !important;
}
.about-modal__body.is-changing {
  opacity: 0 !important;
}

/* Modal title color matches accent */
.about-modal__title {
  transition: color 0.3s ease !important;
}

/* ====== MODAL INTERIOR ACCENT + STAGGERED OPEN ANIMATION ====== */
/* JS sets --modal-accent on .about-modal__content per card. The accent then
   colors: top strip, counter, body paragraph borders, nav button hover, close hover. */

/* Top accent strip — implemented as border-top so it follows border-radius
   naturally and doesn't conflict with overflow-y: auto for scrolling. */
.about-modal__content {
  border-top: 6px solid var(--modal-accent, #4A7C59) !important;
}

/* Close button tinted by accent on hover */
.about-modal__close:hover {
  background: var(--modal-accent, #4A7C59) !important;
  color: #fff !important;
}

/* Counter uses accent color */
.about-modal__counter {
  color: var(--modal-accent, #4A7C59) !important;
  font-weight: 600 !important;
}

/* Body paragraphs get a colored left bar (like a quote block) */
.about-modal__body p {
  position: relative;
  padding-left: 1rem !important;
  border-left: 3px solid var(--modal-accent, #4A7C59);
  border-left-color: color-mix(in srgb, var(--modal-accent, #4A7C59) 55%, transparent) !important;
  margin-bottom: 1rem !important;
  transition: border-color 0.3s ease;
}
/* First paragraph gets full-opacity accent border */
.about-modal__body p:first-child {
  border-left-color: var(--modal-accent, #4A7C59) !important;
}

/* Nav buttons hover with accent */
.about-modal__nav-btn:hover {
  background: var(--modal-accent, #4A7C59) !important;
  color: #fff !important;
  border-color: var(--modal-accent, #4A7C59) !important;
}
.about-modal__nav-btn:hover svg {
  stroke: #fff !important;
}

/* ===== STAGGERED CHILDREN — content elements fade-in-up one after another ===== */
/* Complements the main .about-modal__content pop-in (defined above). */
.about-modal__title,
.about-modal__body,
.about-modal__nav {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-modal.is-open .about-modal__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}
.about-modal.is-open .about-modal__body {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}
.about-modal.is-open .about-modal__nav {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.30s;
}

/* Close button fades in after the rest */
.about-modal__close {
  opacity: 0;
  transition: opacity 0.3s ease, background 0.2s ease, transform 0.3s ease, color 0.2s ease !important;
}
.about-modal.is-open .about-modal__close {
  opacity: 1;
  transition-delay: 0.38s;
}

/* When navigating between slides (carousel), reset & re-trigger the stagger */
.about-modal__body.is-changing {
  opacity: 0 !important;
  transform: translateY(8px) !important;
  transition: opacity 0.18s ease, transform 0.18s ease !important;
}

/* Reduced motion: respect user preference — disable expand/collapse animations */
@media (prefers-reduced-motion: reduce) {
  .about-modal,
  .about-modal__content,
  .about-modal__title,
  .about-modal__body,
  .about-modal__nav,
  .about-modal__close {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  .about-modal:not(.is-open) {
    visibility: hidden !important;
  }
  .about-modal.is-open .about-modal__content,
  .about-modal.is-closing .about-modal__content {
    animation: none !important;
  }
}
