/* ================================================
   COSMED — Official Distributor: Юмитком
   Shared Stylesheet
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: .6rem 1.2rem;
  background: var(--gold-dark);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #b8965a;
  --gold-light: #d4b483;
  --gold-dark:  #8a6830;
  --dark:       #1c1a17;
  --mid:        #4a4540;
  --light:      #f7f3ee;
  --white:      #ffffff;
  --cream:      #faf6f0;
  --border:     #e8dfd2;
  --text:       #3a3630;
  --shadow:     0 4px 24px rgba(28,26,23,.08);
  --shadow-lg:  0 12px 48px rgba(28,26,23,.14);
  --radius:     6px;
  --radius-lg:  12px;
  --transition: .25s ease;
  --font-serif: 'Manrope', system-ui, sans-serif;
  --font-sans:  'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Visually hidden (screen reader only) ── */
.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;
}

/* ── Focus styles ── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Typography ── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.section-label {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: .95rem;
  color: var(--mid);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 400;
}

/* ── Layout Utilities ── */
.container { max-width: 1260px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-primary {
  background: var(--dark);
  color: var(--white);
  border: 2px solid var(--dark);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-gold {
  background: var(--gold-dark);
  color: var(--white);
  border: 2px solid var(--gold-dark);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-white {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--white);
}
.btn-white:hover { background: transparent; color: var(--white); }

/* ── Filter Buttons ── */
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: transparent;
  color: var(--mid);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}
.filter-btn.active {
  background: var(--gold-dark);
  color: #fff;
  border-color: var(--gold-dark);
}

/* ── Header & Navigation ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,246,240,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
#site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 80px;
  width: auto;
  display: block;
  /* High-quality smooth downscaling (default) — avoids the uneven
     nearest-neighbor sharpening that blurred fine letterforms */
  image-rendering: auto;
}

.main-nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  display: block;
  padding: .5rem .85rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mid);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: var(--dark); background: rgba(184,150,90,.12); }
.nav-link.active { color: var(--gold-dark); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  width: 36px;
  height: 36px;
  justify-content: center;
  border-radius: var(--radius);
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 2rem 1.5rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav-cta {
  display: block;
  margin: .75rem 0 .25rem;
  text-align: center;
  font-size: .8rem;
}
.mobile-nav .nav-link { padding: .6rem 1rem; font-size: .85rem; }

/* ── Hero ── */
/* ──────────────────────────────────────────────────
   HERO — Vertical composition: top row badge → full-width
   editorial banner → 2-col content row (text + metrics).
   Banner keeps its native 3.23:1 aspect (no cropping).
   ────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--cream);
  padding: 6rem 0 5rem;
}
.hero-bg, .hero-overlay { display: none; }

/* Top row: distributor badge + eyebrow label */
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
/* Eyebrow label — small uppercase metadata above the banner */
.hero-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ── Full-width editorial banner — native 3.23:1 aspect, no cropping ── */
.hero-banner {
  position: relative;
  margin: 0 0 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(28,26,23,.18), 0 6px 20px rgba(28,26,23,.08);
}
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Content row below banner — 2 equal columns ── */
.hero-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* LEFT COLUMN: H1 + subtitle + CTAs */
.hero-col-text { max-width: 540px; }
.hero h1 {
  color: var(--dark);
  margin: 0 0 1.5rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: -.03em;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.08;
}
.hero h1 strong {
  font-style: italic;
  font-weight: 800;
  color: var(--gold-dark);
}
.hero-text {
  font-size: 1.02rem;
  color: var(--mid);
  line-height: 1.7;
  margin: 0 0 2rem;
}
.hero-text em {
  font-style: italic;
  color: var(--dark);
  font-weight: 600;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* RIGHT COLUMN: metrics strip + credentials */
.hero-col-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Brand-breadth — 2×2 grid of bold metrics on white card */
.hero-breadth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(28,26,23,.06);
}
.hero-breadth-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 1.6rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero-breadth-item:nth-child(2n) { border-right: none; }
.hero-breadth-item:nth-child(n+3) { border-bottom: none; }
.hero-breadth-num {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: -.02em;
  line-height: 1;
}
.hero-breadth-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mid);
}

/* Credentials list — trust signals */
.hero-credentials {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(28,26,23,.06);
}
.hero-credentials li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .88rem;
  color: var(--dark);
  letter-spacing: .005em;
  line-height: 1.35;
}
.hero-cred-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  color: var(--white);
  background: var(--gold-dark);
  border-radius: 50%;
  flex-shrink: 0;
}
/* ── Brand Strip ── */
.brand-strip {
  background: var(--dark);
  padding: 1.5rem 0;
  overflow: hidden;
}
.brand-strip-inner {
  display: flex;
  gap: 4rem;
  align-items: center;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.brand-strip-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
a.brand-strip-item:hover { color: var(--gold-light); }
a.brand-strip-item:hover .brand-strip-dot { background: var(--gold-light); }
.brand-strip-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transition: background .2s; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── About Intro ── */
.about-intro { background: var(--white); }
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: center;
}
.about-intro-img {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto 0 0; /* align left within the column */
}
.about-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-intro-img:hover img { transform: scale(1.04); }
.about-intro-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: var(--shadow);
}
.about-intro-content { padding: 1rem 0; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--gold-dark);
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  color: var(--mid);
  margin-top: .3rem;
  letter-spacing: .05em;
}

/* ── Collections Grid ── */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.collection-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--light);
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s;
}
.collection-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.13);
  transform: translateY(-5px);
}
/* Bold accent strip per collection — wide, visible, with subtle inner gradient
   so it reads as deliberate design treatment rather than a hairline border */
.collection-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: linear-gradient(180deg,
              var(--card-accent, var(--gold)) 0%,
              var(--card-accent, var(--gold)) 60%,
              color-mix(in srgb, var(--card-accent, var(--gold)) 70%, transparent) 100%);
  z-index: 3;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--card-accent, var(--gold)) 35%, transparent);
}
.collection-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6% 16% 24%;
  mix-blend-mode: multiply;
  transition: transform .5s ease;
  pointer-events: none;
  user-select: none;
}
.collection-card:hover .collection-bg-img { transform: scale(1.06) translateY(-6px); }

/* Group lineup image — pre-composed multi-product editorial shot.
   Uses cover fit (composite already has cream bg matching --light).
   No mix-blend-mode — products are pre-transparentized in the composite. */
.collection-group-img {
  position: absolute;
  inset: 0;
  width: 100%;
  /* Leave room at bottom for the overlay caption — image area covers top ~76% */
  height: 76%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
  pointer-events: none;
  user-select: none;
}
.collection-card:hover .collection-group-img { transform: scale(1.04); }
.collection-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.15rem 1.35rem 1.35rem;
}
.collection-card-name {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: .04em;
  line-height: 1.1;
}
.collection-card-count {
  font-size: .68rem;
  color: var(--mid);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.55;
  font-weight: 500;
}

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--border);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ffffff;
  isolation: isolate;
}
/* Backdrop disabled — was darkening side panels.
   Container background-color is set per-card via JS (sampled from photo edges)
   so the side panels match the photo's natural perimeter tone without any blur overlay. */
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .25rem .65rem;
  background: var(--gold-dark);
  color: var(--white);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.product-badge.new { background: var(--dark); }
.product-card-body { padding: 1.25rem; }
.product-collection {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .4rem;
}
.product-name {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: .4rem;
  line-height: 1.3;
}
.product-desc {
  font-size: .82rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.product-link {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: gap var(--transition);
}
.product-link:hover { gap: .6rem; }
.product-link svg { width: 14px; height: 14px; }

/* ── Feature Blocks ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); }
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--white); }
.feature-title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: .6rem;
}
.feature-text { font-size: .85rem; color: var(--mid); line-height: 1.7; }

/* ── Banner CTA ── */
.banner-cta {
  background: linear-gradient(135deg, var(--dark) 0%, #2e2820 100%);
  padding: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.banner-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8965a' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .5;
}
.banner-cta > * { position: relative; z-index: 1; }
.banner-cta h2 { color: var(--white); font-size: clamp(1.3rem,2.5vw,1.9rem); margin-bottom: .6rem; }
.banner-cta p  { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 1.25rem; line-height: 1.6; font-size: .9rem; }

/* ── News Grid ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--white); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }

/* Product studio-photo variant — whole product visible (contain) on a white
   backdrop. The photo's own white background merges seamlessly with the card,
   so the product appears to float; its natural soft shadow is preserved.
   (Cream + multiply was rejected: it boxed/faded light products like the
   white ATOPIA tube.) */
.news-card-img--product { background: var(--white); }
.news-card-img--product img {
  object-fit: contain;
  padding: 1.2rem 1.4rem;
}
.news-card:hover .news-card-img--product img { transform: scale(1.05); }

/* Partner logos block — replaces product photo in partner news cards.
   White backdrop; both logos constrained by max-width % + object-fit:contain
   so the wide Юмитком mark (~3:1) can never overflow or get clipped. */
.news-card-img--logos {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logos-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.25rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
}
.partner-logo--cosmed {
  height: 40px;
  max-width: 38%;
  width: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  opacity: 0.82;
}
.partner-logos-sep {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1;
  flex-shrink: 0;
}
.partner-logo--umitkom {
  height: 40px;
  max-width: 50%;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

/* Featured news (big top article) — same product variant logic */
.news-feature-grid--product > div:first-child { background: var(--cream); }
.news-feature-grid--product > div:first-child img {
  object-fit: contain !important;
  padding: 1.5rem 2rem;
  mix-blend-mode: multiply;
}
.news-card-body { padding: 1.5rem; }
.news-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.news-tag {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(184,150,90,.1);
  padding: .2rem .6rem;
  border-radius: 100px;
}
.news-date { font-size: .75rem; color: var(--mid); }
.news-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  margin-bottom: .6rem;
  line-height: 1.35;
}
.news-excerpt { font-size: .83rem; color: var(--mid); line-height: 1.65; margin-bottom: 1rem; }
.read-more {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap var(--transition);
}
.read-more:hover { gap: .6rem; }

/* ── Distribution Map Section ── */
.map-section { background: var(--white); }
.map-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.map-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f0ebe3, #e8dfd2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.map-placeholder svg { width: 80%; opacity: .15; }
.dist-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.dist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.25rem;
  background: var(--light);
  border-radius: var(--radius);
  font-size: .85rem;
  border: 1px solid var(--border);
}
.dist-icon {
  width: 34px;
  height: 34px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dist-icon svg { width: 16px; height: 16px; color: var(--white); }

/* ── Ingredients / Technology ── */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.ingredient-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.ingredient-num {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  color: var(--gold-dark);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.5rem;
}
.ingredient-title { font-family: var(--font-sans); font-size: 1.15rem; margin-top: 0; margin-bottom: .4rem; }
.ingredient-text  { font-size: .85rem; color: var(--mid); line-height: 1.7; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-icon-wrap {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-wrap svg { width: 20px; height: 20px; color: var(--white); }
.contact-item-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .25rem;
}
.contact-item-value { font-size: .9rem; color: var(--dark); line-height: 1.6; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mid);
}
.form-control {
  padding: .85rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(138,104,48,.15);
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* ── Footer ── */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 2rem;
}
.footer-logo-wrap {
  display: inline-block;
  background: #fff;
  border-radius: 6px;
  padding: 4px 14px;
  margin-bottom: .75rem;
}
.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  /* Source is large (3089×1001) — use smooth high-quality downscaling
     to avoid jagged nearest-neighbor artifacts on the logotype */
  image-rendering: auto;
}
.footer-tagline {
  font-size: .8rem;
  color: var(--gold-light);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-about { font-size: .85rem; line-height: 1.75; margin-bottom: 1.5rem; }
.footer-heading {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 0;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-link {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-link:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; gap: .75rem; margin-bottom: .85rem; font-size: .85rem; }
.footer-contact-icon { color: var(--gold); margin-top: .1rem; flex-shrink: 0; }
.socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  color: rgba(255,255,255,.7);
}
.social-btn:hover { background: var(--gold); color: var(--white); }
.social-btn svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: var(--gold-light); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: flex-end; }
.footer-grid > div:last-child .footer-link { white-space: nowrap; }
.footer-legal-link { color: rgba(255,255,255,.4); text-decoration: none; font-size: .78rem; transition: color .2s; }
.footer-legal-link:hover { color: var(--gold-light); }

/* ── Phone dropdown in footer ── */
.phone-dropdown { position: relative; display: inline-block; }
.phone-main {
  display: inline-flex; align-items: center; gap: .3rem;
  color: inherit; text-decoration: none;
}
.phone-main svg { transition: transform .2s; flex-shrink: 0; opacity: .55; }
.phone-dropdown:hover .phone-main svg { transform: rotate(180deg); opacity: 1; }
.phone-drop-list {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: #2a2520;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: .35rem 0;
  min-width: 175px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s;
}
.phone-dropdown:hover .phone-drop-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.phone-drop-list a {
  display: block;
  padding: .45rem 1rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .83rem;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.phone-drop-list a:hover { color: var(--gold); background: rgba(255,255,255,.05); }
.footer-copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ── Page Hero (inner pages) ── */
.page-hero + .section { padding-top: 3rem; }
.page-hero {
  padding: 6rem 0 3rem;
  background: linear-gradient(135deg, var(--dark) 0%, #2e2820 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: var(--cream);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero-content { text-align: center; position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .7rem; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; }
.page-hero p   { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto; font-size: .9rem; line-height: 1.55; }
.page-hero .breadcrumb { margin-bottom: 1rem; font-size: .72rem; }
@media (max-width: 768px) {
  .page-hero { padding: 5rem 0 2.5rem; }
  .page-hero::after { height: 32px; }
}

/* ── Filter Tabs ── */
.filter-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-tab {
  padding: .55rem 1.2rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  color: var(--mid);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

/* ── Distributor Badge ── */
.dist-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1.25rem;
  background: rgba(184,150,90,.12);
  border: 1px solid rgba(184,150,90,.3);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.dist-badge:hover {
  background: rgba(184,150,90,.2);
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-1px);
}
.dist-badge:hover .dist-badge-ext { transform: translate(1px, -1px); }
.dist-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.dist-badge-ext {
  opacity: .7;
  transition: transform var(--transition);
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb-sep { opacity: .4; }

/* ── Product Image Gallery ── */
.img-switcher {
  position: relative;
  width: 100%;
  height: 100%;
}
.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.gallery-img.active {
  opacity: 1;
  pointer-events: auto;
}
.gallery-dots {
  position: absolute;
  bottom: .6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
  z-index: 2;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(28,26,23,.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.gallery-dot.active,
.gallery-dot:hover { background: var(--gold); transform: scale(1.3); }

/* Image type badges */
.img-type-badge {
  position: absolute;
  bottom: .75rem;
  right: .75rem;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mid);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  padding: .2rem .5rem;
  border-radius: 100px;
  z-index: 2;
  pointer-events: none;
  transition: opacity var(--transition);
}

/* Nav shop link */
.nav-link-shop {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .85rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold-dark);
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link-shop:hover {
  background: var(--gold-dark);
  color: var(--white);
}
.nav-link-shop svg { width: 12px; height: 12px; }

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  z-index: 2000;
  transition: width .1s linear;
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .collections-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-intro-grid { gap: 3rem; }
}

/* Компактная навигация на узких десктопах и планшетах:
   9 пунктов + логотип + CTA не помещаются в контейнер ниже ~1340px */
@media (max-width: 1340px) and (min-width: 769px) {
  .main-nav { gap: 0; }
  .nav-link { padding: .5rem .55rem; font-size: .72rem; letter-spacing: .04em; }
  .header-actions .btn { padding: .55rem 1rem !important; font-size: .68rem !important; }
}
@media (max-width: 1120px) and (min-width: 769px) {
  .nav-link { padding: .5rem .4rem; font-size: .68rem; letter-spacing: .02em; }
  .logo-img { height: 60px; width: auto; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section    { padding: 4rem 0; }
  .main-nav   { display: none; }
  .hamburger  { display: flex; }
  .header-inner { height: 64px; }
  .logo-img     { height: 48px; width: auto; }

  .about-intro-grid,
  .contact-grid,
  .map-section-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .collections-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .features-grid    { grid-template-columns: 1fr; }
  .news-grid        { grid-template-columns: 1fr; }
  .ingredient-grid  { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-copy   { justify-content: center; }
  .about-stats   { grid-template-columns: repeat(3, 1fr); }
  .about-intro-badge { display: none; }
  .about-intro-img { aspect-ratio: 3/2; max-height: 340px; }
  .hero            { padding: 5rem 0 3rem; }
  .hero-top        { margin-bottom: 1.25rem; }
  .hero-banner     { margin-bottom: 2rem; }
  .hero-content-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-actions    { flex-direction: column; align-items: stretch; }
  .hero-actions a  { text-align: center; }
}

@media (max-width: 480px) {
  .collections-grid { grid-template-columns: 1fr; }
  .about-stats  { grid-template-columns: 1fr 1fr; }
  /* Prevent about image becoming 470px tall at 375px viewport width */
  .about-intro-img { max-height: 280px; object-fit: cover; }
  /* Country tabs — allow wrap so they don't squeeze below 400px */
  .country-tabs { flex-wrap: wrap; gap: .5rem; }
  .country-tab  { flex: 1 1 auto; min-width: 90px; font-size: .75rem; padding: .5rem .75rem; }
}

@media (max-width: 360px) {
  /* Very narrow screens (320px) — header CTA overflows, hide it; accessible via mobile nav */
  .header-actions .btn { display: none; }
}

/* Two-column content/sidebar grid — collapses on mobile */
.section-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
@media (max-width: 768px) { .section-split-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* News featured article grid — collapses on mobile */
.news-feature-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 768px) { .news-feature-grid { grid-template-columns: 1fr; gap: 0; } }

/* ── WhatsApp FAB ── */
.wa-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
  color: #fff;
}
.wa-fab svg { width: 28px; height: 28px; }

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10000;
  background: #1c1a17;
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 24px rgba(0,0,0,.4);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1;
  font-size: .83rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  min-width: 220px;
  margin: 0;
}
.cookie-banner-text a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner-text a:hover { color: var(--gold); }
.cookie-banner-actions { display: flex; gap: .65rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
  padding: .55rem 1.35rem;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: opacity .2s;
  white-space: nowrap;
}
.cookie-btn:hover { opacity: .82; }
.cookie-btn-primary { background: var(--gold); color: #1c1a17; }
.cookie-btn-secondary { background: transparent; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.2); }
/* Shift WhatsApp FAB up when banner is visible */
.cookie-banner.visible ~ * .wa-fab,
body.cookie-visible .wa-fab { bottom: calc(1.75rem + 80px); }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1 !important; transform: none !important; }
  .scroll-progress { display: none !important; }
  .hero-bg { transform: none !important; }
}
