/* =========================================================
   Hausbrandt Armenia
   Colours & type per official Hausbrandt Brand Guide 01/2024
   Palette: RED #d6081f · SOFT BEIGE #f2e4d4 · BLACK #000000
   (No gold on screen/web — per brandbook "Golden Rule".)
   Type: Ridley Grotesk (→ Archivo) headlines/labels,
         Source Serif (→ Source Serif 4) body copy,
         Notera (→ Caveat) poetic/script accents.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&family=Caveat:wght@500;600&display=swap');

:root{
  /* ---- official brandbook colours ---- */
  --red: #d6081f;          /* HEX #d6081f · sRGB 214-8-31 · Pantone 199 */
  --red-dark: #a80517;
  --beige: #f2e4d4;        /* SOFT BEIGE HEX #f2e4d4 · sRGB 242-228-212 */
  --black: #000000;        /* SOLID BLACK */
  --white: #ffffff;

  /* ---- semantic aliases (kept so components need no rename) ---- */
  --cream: #f2e4d4;        /* page background = soft beige */
  --cream-2: #f2e4d4;      /* alt beige section */
  --cream-3: #ffffff;
  --brown: #14100e;        /* primary text = near-black */
  --brown-2: #000000;      /* dark surfaces = black */
  --brown-soft: #575049;   /* muted body text (neutral) */
  --gold: #f2e4d4;         /* NO gold on web → beige stand-in */
  --gold-deep: #e4d3bd;
  --line: rgba(0,0,0,0.14);

  --sans: 'Archivo', 'Segoe UI', sans-serif;      /* Ridley Grotesk substitute */
  --display: 'Archivo', 'Segoe UI', sans-serif;   /* Ridley Grotesk substitute */
  --serif: 'Source Serif 4', Georgia, serif;      /* Source Serif */
  --script: 'Caveat', cursive;                    /* Notera substitute */
  --container: 1280px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--serif);   /* Source Serif — body copy per brandbook */
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

/* branded text selection */
::selection{ background: var(--red); color: #fff; }

/* keyboard focus visibility (accessibility) */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, [tabindex]:focus-visible{
  outline: 2px solid var(--red); outline-offset: 3px; border-radius: 3px;
}
:focus:not(:focus-visible){ outline: none; }

h1,h2,h3,h4{
  font-family: var(--display);
  font-weight: 600;
  color: var(--brown);
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1.2em; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 40px; }

/* ---------- utility ---------- */
.eyebrow{
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.script{ font-family: var(--script); color: var(--red); font-weight: 600; }
.section{ padding: 130px 0; }
.section-tight{ padding: 90px 0; }
.section-cream{ background: var(--cream-2); }
.section-white{ background: var(--white); }
.section-brown{ background: var(--brown); color: var(--cream); }
.section-brown h1,.section-brown h2,.section-brown h3{ color: var(--white); }

.section-title{ font-size: clamp(30px, 3.8vw, 52px); }
.lede{ font-size: 19px; color: var(--brown-soft); max-width: 640px; }
.section-brown .lede{ color: rgba(249,240,230,.72); }
.center{ text-align: center; margin-left: auto; margin-right: auto; }
.rule{ width: 56px; height: 2px; background: var(--red); border: none; margin: 26px auto; }
.rule.left{ margin-left: 0; }

.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 40px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--red); color: #fff;
  border: 2px solid var(--red);
  border-radius: 40px;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
  cursor: pointer;
}
.btn:hover{ background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline{ background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-outline:hover{ background: var(--brown); color: #fff; }
.section-brown .btn-outline,
.hero .btn-outline,
.cta-banner .btn-outline{ color: #fff; border-color: rgba(255,255,255,.6); }
.section-brown .btn-outline:hover,
.hero .btn-outline:hover,
.cta-banner .btn-outline:hover{ background: #fff; color: var(--brown); border-color: #fff; }
.btn-row{ display: flex; gap: 16px; flex-wrap: wrap; }

.link-arrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); border: none; background: none;
}
.link-arrow span{ transition: transform .3s ease; }
.link-arrow:hover span{ transform: translateX(6px); }

/* ---------- reveal on scroll ---------- */
.reveal{ opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal{ opacity: 1; transform: none; }
  html{ scroll-behavior: auto; }
}

/* ---------- header ---------- */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled{
  background: var(--cream);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(51,31,24,.08);
}
.header-inner{ display: flex; align-items: center; justify-content: space-between; }

/* ----- official logo lockup ----- */
.brand{ display: flex; align-items: center; gap: 13px; }
.brand-mark{ height: 46px; width: auto; display: block; }
.brand-lockup{ display: flex; flex-direction: column; gap: 5px; }
.brand-word{ height: 19px; width: auto; display: block; }
.brand-word--dark{ display: none; }
.brand-word--light{ display: block; }
.site-header.is-scrolled .brand-word--dark{ display: block; }
.site-header.is-scrolled .brand-word--light{ display: none; }
.brand-sub{
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--cream);
}
.site-header.is-scrolled .brand-sub{ color: var(--brown-soft); }

/* hero-transparent header state: light nav over photo */
.site-header:not(.is-scrolled) .main-nav a{ color: var(--cream); }
.site-header:not(.is-scrolled) .nav-toggle span{ background: var(--cream); }
.site-header.is-scrolled .brand-mark{ height: 42px; }

.main-nav{ display: flex; gap: 40px; align-items: center; }
.main-nav a{
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brown); position: relative; padding-bottom: 3px; transition: color .3s ease;
}
.main-nav a::after{
  content:''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .3s ease;
}
.main-nav a:hover, .main-nav a.is-active{ color: var(--red); }
.main-nav a:hover::after, .main-nav a.is-active::after{ width: 100%; }
.site-header:not(.is-scrolled) .main-nav a:hover, .site-header:not(.is-scrolled) .main-nav a.is-active{ color: #fff; }

/* ---------- language switch (RU / ՀԱՅ) ---------- */
.main-nav a.lang-link{
  font-size: 12px; padding: 5px 13px; border: 1px solid currentColor; border-radius: 999px; opacity: .8;
}
.main-nav a.lang-link::after{ display: none; }
.main-nav a.lang-link:hover{ opacity: 1; color: var(--red); border-color: var(--red); }

/* ---------- nav dropdown (Продукция) ---------- */
.nav-item{ position: relative; display: flex; align-items: center; }
.nav-item > a{ display: inline-flex; align-items: center; gap: 6px; }
.nav-caret{ font-size: 9px; line-height: 1; transition: transform .3s ease; }
.nav-item:hover .nav-caret{ transform: rotate(180deg); }
.dropdown{
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 232px; padding: 8px 0;
  background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease;
  z-index: 130;
}
.dropdown::before{ content:''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; } /* hover-мост */
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown{ opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.nav-item:focus-within .nav-caret{ transform: rotate(180deg); }
.dropdown a{
  display: block; padding: 11px 24px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: none;
  color: var(--brown); white-space: nowrap; padding-bottom: 11px;
}
.dropdown a::after{ display: none; }
.dropdown a:hover{ color: var(--red); background: rgba(214,8,31,.06); }
.dropdown a.is-active{ color: var(--red); }
/* колонка каталога всегда читаема, независимо от состояния шапки */
.site-header:not(.is-scrolled) .dropdown a{ color: var(--brown); }
.site-header:not(.is-scrolled) .dropdown a:hover{ color: var(--red); }

/* якорь-отступ под фиксированной шапкой */
section[id]{ scroll-margin-top: 90px; }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 34px; height: 34px; background: none; border: none; cursor: pointer;
}
.nav-toggle span{ display: block; width: 100%; height: 2px; background: var(--brown); transition: transform .3s ease, opacity .3s ease; }

/* ---------- hero ---------- */
.hero{
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--brown) center/cover no-repeat;
  color: #fff;
}
.hero::before{
  content:''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,.74) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.18) 100%);
}
.hero-inner{ position: relative; z-index: 2; width: 100%; max-width: 760px; }
.hero .eyebrow{ color: var(--gold); }
.hero h1{ color: #fff; font-size: clamp(44px, 6.5vw, 88px); margin-bottom: 22px; }
.hero .lede{ color: rgba(255,255,255,.9); font-size: 20px; max-width: 540px; margin-bottom: 34px; }
.hero .script{ color: var(--red); font-size: 1.3em; }

.hero-sm{ min-height: 68vh; }
.hero-sm h1{ font-size: clamp(38px, 5vw, 66px); }

/* homepage hero: clean full-bleed image (text lives in the section below) */
.hero-clean{ background-color: var(--cream-2); }
.hero-clean::before{ background: none; }

/* header over a LIGHT hero image → dark logo + dark nav (like hausbrandt.it) */
.site-header.header-on-light:not(.is-scrolled) .main-nav a{ color: var(--brown); }
.site-header.header-on-light:not(.is-scrolled) .main-nav a:hover,
.site-header.header-on-light:not(.is-scrolled) .main-nav a.is-active{ color: var(--red); }
.site-header.header-on-light:not(.is-scrolled) .nav-toggle span{ background: var(--brown); }
.site-header.header-on-light:not(.is-scrolled) .brand-word--light{ display: none; }
.site-header.header-on-light:not(.is-scrolled) .brand-word--dark{ display: block; }
.site-header.header-on-light:not(.is-scrolled) .brand-sub{ color: var(--brown-soft); }

.scroll-cue{
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px;
}
.scroll-cue::after{
  content:''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px; background: #fff; border-radius: 2px; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue{ 0%{ opacity: 0; top: 8px; } 40%{ opacity: 1; } 80%{ opacity: 0; top: 22px; } 100%{ opacity: 0; } }

/* ---------- product split hero (colored panel + bag, hausbrandt.it style) ---------- */
.product-hero{ position: relative; min-height: 88vh; overflow: hidden; --accent: #cbb9a6; }
.product-hero .ph-split{ position: absolute; inset: 0; display: grid; grid-template-columns: 50% 50%; z-index: 1; }
.product-hero .ph-split i{ display: block; }
.product-hero .ph-accent{ background: var(--accent); }
.product-hero .ph-cream{ background: #fff; }
.ph-bag{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  height: 78%; max-height: 740px; width: auto; z-index: 2;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,.28));
}
.ph-inner{
  position: relative; z-index: 3; max-width: var(--container); margin: 0 auto;
  min-height: 88vh; padding: 120px 40px 48px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.ph-name h1{ font-size: clamp(28px, 3.4vw, 50px); text-transform: uppercase; line-height: 1.08; color: var(--brown); margin: 0 0 22px; max-width: 8em; }
.ph-rule{ display: block; width: 148px; height: 2px; background: rgba(0,0,0,.32); margin-bottom: 20px; }
.ph-tagline{ font-family: var(--serif); font-size: 21px; color: var(--brown); margin: 0; }
.ph-poetic{ justify-self: end; align-self: center; max-width: 290px; font-size: 17px; line-height: 1.5; color: var(--brown); margin: 0; }
.ph-poetic .script{ color: var(--red); font-size: 1.5em; line-height: 1; }

@media (max-width: 900px){
  .product-hero{ min-height: auto; overflow: visible; background: linear-gradient(to bottom, var(--accent) 0 58%, #fff 58% 100%); }
  .product-hero .ph-split{ display: none; }
  .ph-bag{ position: static; transform: none; height: auto; max-height: 340px; margin: 26px auto 0; display: block; order: 2; }
  .ph-inner{ min-height: auto; padding: 116px 24px 44px; grid-template-columns: 1fr; gap: 24px; text-align: center; order: 1; }
  .ph-name h1{ max-width: none; }
  .ph-rule{ margin-left: auto; margin-right: auto; }
  .ph-poetic{ justify-self: center; max-width: 420px; text-align: center; }
  .product-hero{ display: flex; flex-direction: column; }
}

/* ---------- media block (image placeholder) ---------- */
.media{
  background-color: var(--cream-2);
  background-position: center; background-size: cover; background-repeat: no-repeat;
  position: relative; border-radius: 4px; overflow: hidden;
}
.media-note{
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px; font-size: 11px; letter-spacing: .06em;
  color: var(--brown-soft); border: 1px dashed var(--gold-deep); pointer-events: none;
}

/* пустые слоты картинок выглядят фирменно (лёгкий водяной знак-маскот),
   исчезает как только загружается настоящее изображение */
.media, .card-img, .cp-visual{ position: relative; }
.card-img, .cp-visual{ overflow: hidden; }
.media::after, .card-img::after, .cp-visual::after{
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('../images/logo-mark.png') center / 46px auto no-repeat;
  opacity: .09; transition: opacity .4s ease;
}
.media.has-img::after, .card-img.has-img::after, .cp-visual.has-img::after{ opacity: 0; }

/* видео-фон вместо статичной картинки/гифки — подставляется автоматически,
   если рядом лежит файл с тем же именем в формате .mp4 (см. main.js) */
.bg-video{
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}

/* ---------- split / two-column feature (home1..home5) ---------- */
.split{ display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.split .media{ height: 580px; }
.split.reverse{ direction: rtl; }
.split.reverse > *{ direction: ltr; }
.split h2{ font-size: clamp(28px, 3.4vw, 46px); }
.split .serif-sub{ font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--brown-soft); margin-bottom: 20px; }

/* ---------- values word strip (Coffee · Inspiration · Journey…) ---------- */
.values{ text-align: center; }
.values .eyebrow{ color: var(--gold); }
.values-list{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; margin-top: 20px; }
.values-list span{
  font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.4vw, 62px);
  color: rgba(249,240,230,.28); transition: color .4s ease; line-height: 1.2;
}
.values-list span:hover{ color: var(--red); }
.values-list .sep{ color: var(--red); font-size: clamp(28px,4.4vw,62px); }

/* ---------- feature cards row ---------- */
.features{ display: grid; grid-template-columns: repeat(3,1fr); gap: 50px; }
.feature{ text-align: left; }
.feature-num{ font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--red); margin-bottom: 16px; }
.feature h3{ font-size: 23px; margin-bottom: 10px; }
.feature p{ color: var(--brown-soft); font-size: 16px; margin: 0; }

/* ---------- big-number facts strip (coffee culture) ---------- */
.stats-row{ display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; text-align: center; }
.stat-num{
  font-family: var(--display); font-weight: 700; color: var(--red);
  font-size: clamp(28px, 3vw, 44px); line-height: 1.1; margin-bottom: 8px;
}
.stat-label{ font-size: 14px; color: var(--brown-soft); max-width: 220px; margin: 0 auto; }
@media (max-width: 980px){ .stats-row{ grid-template-columns: repeat(2,1fr); gap: 32px; } }
@media (max-width: 560px){ .stats-row{ grid-template-columns: 1fr; } }

/* ---------- coffee belt world map (ваша картинка) ---------- */
.belt-map{
  max-width: 880px; margin: 80px auto 0;
  aspect-ratio: 3 / 2;
  background-position: center; background-size: contain; background-repeat: no-repeat;
}

/* ---------- variety postcards (Arabica / Robusta) ---------- */
/* пока картинки нет — блок не резервирует место (без "пустоты"); как только
   грузится файл, JS добавляет .has-img и появляется нормальная высота */
.postcards{ display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1020px; margin: 0 auto; }
.postcard{
  aspect-ratio: 10 / 7;
  background-position: center; background-size: contain; background-repeat: no-repeat;
  transition: aspect-ratio .3s ease;
}
.postcard:not(.has-img){ aspect-ratio: auto; height: 0; }

/* ---------- три исходных момента (Coltivazione / Raccolta / Selezione) ---------- */
.tickets{ display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; max-width: 1100px; margin: 0 auto; }
.ticket{
  aspect-ratio: 1 / 0.92;
  background-position: center; background-size: contain; background-repeat: no-repeat;
}
.ticket:not(.has-img){ aspect-ratio: auto; height: 0; }

@media (max-width: 900px){
  .belt-map{ margin-top: 56px; }
  .postcards{ grid-template-columns: 1fr; gap: 32px; }
  .tickets{ grid-template-columns: 1fr; gap: 28px; max-width: 420px; }
}

/* ---------- optional background photo + dark scrim (opt-in via [data-img-overlay]) ---------- */
/* Ставится на секцию "Философия" и "три опоры" на главной. Без картинки
   секция выглядит как прежде (сплошной цвет); фото подхватывается сама,
   если положить файл нужного имени в images/ — тогда появляется затемнение
   для читаемости текста. */
[data-img-overlay]{ position: relative; background-position: center; }
[data-img-overlay].has-bg-image{ background-size: cover; }
[data-img-overlay].has-bg-image::before{
  content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.58); z-index: 1;
}
[data-img-overlay] > .container{ position: relative; z-index: 2; }
[data-img-overlay].has-bg-image.section-cream .feature h3{ color: #fff; }
[data-img-overlay].has-bg-image.section-cream .feature p{ color: rgba(255,255,255,.78); }

/* ---------- product cards grid ---------- */
.grid-cards{ display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.grid-cards.cols-5{ grid-template-columns: repeat(5,1fr); }
.grid-cards.cols-3{ grid-template-columns: repeat(3,1fr); }
.card{
  background: var(--white); border-radius: 6px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(51,31,24,.06);
  display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: 0 16px 40px rgba(51,31,24,.12); }
.card-img{ height: 260px; background: var(--cream-2) center/cover no-repeat; position: relative; }
.card-img .media-note{ border: 1px dashed var(--gold-deep); }
.card-body{ padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card-kicker{ display: block; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.card h3{ font-size: 22px; margin-bottom: 10px; }
.card p{ font-size: 15px; color: var(--brown-soft); margin-bottom: 18px; flex: 1; }

/* ---------- full-bleed image quote ---------- */
.quote-bleed{
  position: relative; min-height: 64vh; display: flex; align-items: center; justify-content: center;
  background: var(--brown) center/cover no-repeat;
}
.quote-bleed::before{ content:''; position:absolute; inset:0; background: rgba(0,0,0,.6); }
.quote-bleed blockquote{
  position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 0 40px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.4; color: #fff;
}
.quote-bleed cite{
  display: block; margin-top: 24px; font-family: var(--sans); font-style: normal;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}

/* ---------- timeline ---------- */
.timeline{ border-top: 1px solid var(--line); }
.timeline-row{ display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.timeline-year{ font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--red); }
.timeline-row h4{ font-size: 21px; margin-bottom: 8px; }
.timeline-row p{ color: var(--brown-soft); margin: 0; max-width: 640px; font-size: 16px; }

/* ---------- CTA banner ---------- */
.cta-banner{ position: relative; padding: 140px 0; text-align: center; background: var(--brown) center/cover no-repeat; color: #fff; }
.cta-banner::before{ content:''; position:absolute; inset:0; z-index: 1; background: rgba(0,0,0,.68); }
.cta-banner > *{ position: relative; z-index: 2; }
.cta-banner h2{ color: #fff; font-size: clamp(30px, 4vw, 50px); margin-bottom: 18px; }
.cta-banner .lede{ color: rgba(255,255,255,.85); margin: 0 auto 32px; }
.cta-banner .eyebrow{ color: var(--gold); }

/* ---------- benefits (horeca) ---------- */
.benefits{ display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.benefit{ background: var(--white); border-radius: 6px; padding: 44px 40px; box-shadow: 0 8px 30px rgba(51,31,24,.05); }
.benefit-index{ font-family: var(--display); font-weight: 700; color: var(--red); font-size: 22px; margin-bottom: 14px; }
.benefit h3{ font-size: 22px; }
.benefit p{ color: var(--brown-soft); font-size: 16px; margin: 0; }

/* ---------- steps ---------- */
.steps{ display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; }
.step{ text-align: center; }
.step-circle{
  width: 66px; height: 66px; border: 2px solid var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--red); margin: 0 auto 22px;
}
.step h4{ font-size: 18px; margin-bottom: 8px; }
.step p{ font-size: 15px; color: var(--brown-soft); margin: 0; }

/* ---------- contacts ---------- */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-list{ list-style: none; margin: 0; padding: 0; }
.contact-list li{ padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list .label{ display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.contact-list a, .contact-list span{ font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--brown); }
.contact-list a:hover{ color: var(--red); }
.social-row{ display: flex; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.social-row a{ font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brown-soft); border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.social-row a:hover{ color: var(--red); border-color: var(--red); }
.map-frame{ height: 100%; min-height: 480px; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 30px rgba(51,31,24,.08); }
.map-frame iframe{ width: 100%; height: 100%; min-height: 480px; border: 0; }

/* ---------- footer ---------- */
.site-footer{ background: var(--brown); color: rgba(249,240,230,.72); padding: 90px 0 34px; }
.footer-inner{ display: grid; grid-template-columns: 1.4fr 2fr; gap: 80px; margin-bottom: 56px; }
.footer-brand{ font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--gold); }
.footer-logo{ display: flex; align-items: center; gap: 15px; margin-bottom: 6px; }
.footer-mark{ height: 58px; width: auto; display: block; }
.footer-word{ height: 22px; width: auto; display: block; }
.footer-brand span{ display: block; font-family: var(--sans); font-weight: 400; font-size: 15px; color: rgba(249,240,230,.66); margin-top: 14px; max-width: 340px; line-height: 1.6; }
.footer-cols{ display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.footer-cols h4{ font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-cols a, .footer-cols span{ display: block; font-size: 15px; color: rgba(249,240,230,.72); margin-bottom: 10px; }
.footer-cols a:hover{ color: #fff; }
.footer-bottom{ border-top: 1px solid rgba(249,240,230,.14); padding-top: 26px; font-size: 13px; color: rgba(249,240,230,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- product detail: intro ---------- */
.product-lead{ display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.product-lead .media{ height: 620px; }
.product-tags{ display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 26px; }
.product-tag{
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brown); background: var(--white);
  border: 1px solid var(--line); border-radius: 30px; padding: 8px 16px;
}
.product-lead .serif-sub{ font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--brown-soft); margin: 0 0 20px; }

/* ---------- coffee profile: bean visual + card side by side ---------- */
.cp-layout{ display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: center; }
.cp-visual{
  min-height: 480px;
  background-position: center; background-size: contain; background-repeat: no-repeat;
}

/* ---------- coffee profile card ---------- */
.coffee-profile{
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 44px; box-shadow: 0 8px 30px rgba(0,0,0,.05);
}
.cp-heading{ font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 26px; }
.cp-attrs{ display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; margin-bottom: 36px; }
.cp-attr{ display: flex; gap: 14px; align-items: flex-start; }
.cp-ico{ flex: none; width: 30px; height: 30px; color: var(--red); }
.cp-ico svg{ width: 100%; height: 100%; display: block; }
.cp-attr h4{ font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); margin: 2px 0 4px; }
.cp-attr p{ margin: 0; font-size: 15px; color: var(--brown-soft); line-height: 1.45; }
.cp-bars{ border-top: 1px solid var(--line); padding-top: 28px; display: grid; gap: 16px; }
.cp-bar{ display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 18px; }
.cp-bar .cp-name{ font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--brown); }
.cp-track{ display: flex; gap: 5px; }
.cp-seg{ flex: 1; height: 8px; border-radius: 2px; background: rgba(0,0,0,.1); transition: background .3s ease; }
.cp-seg.is-on{ background: var(--red); }

/* ---------- small decorative video (category teaser, portrait clip) ---------- */
.video-frame{
  width: min(300px, 70vw);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.16);
}
.video-frame video{ width: 100%; height: 100%; object-fit: cover; display: block; }


/* ---------- responsive ---------- */
@media (max-width: 980px){
  .product-lead{ grid-template-columns: 1fr; gap: 44px; }
  .product-lead .media{ height: 420px; }
  .cp-layout{ grid-template-columns: 1fr; gap: 20px; }
  .cp-visual{ min-height: 320px; }
  .coffee-profile{ padding: 30px; }
  .cp-attrs{ grid-template-columns: 1fr; gap: 22px; }
  .cp-bar{ grid-template-columns: 108px 1fr; gap: 12px; }

  .main-nav{
    position: fixed; inset: 0; background: var(--cream);
    flex-direction: column; justify-content: center; align-items: center; gap: 32px;
    transform: translateX(100%); transition: transform .4s ease;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav a{ font-size: 20px; color: var(--brown) !important; }
  .site-header:not(.is-scrolled) .main-nav a{ color: var(--brown); }

  /* dropdown → раскрытый под-список внутри мобильного меню */
  .nav-item{ flex-direction: column; gap: 14px; }
  .nav-caret{ display: none; }
  .dropdown{
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: none; box-shadow: none; padding: 0;
    min-width: auto; display: flex; flex-direction: column; align-items: center; gap: 12px;
  }
  .dropdown::before{ display: none; }
  .dropdown a{ padding: 0; font-size: 15px; letter-spacing: .04em; color: var(--brown-soft) !important; }
  .dropdown a:hover, .dropdown a.is-active{ background: transparent; color: var(--red) !important; }

  .nav-toggle{ display: flex; z-index: 200; }
  .nav-toggle.is-open span{ background: var(--brown) !important; }
  .nav-toggle.is-open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2){ opacity: 0; }
  .nav-toggle.is-open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

  .split{ grid-template-columns: 1fr; gap: 44px; }
  .split .media{ height: 400px; }
  .features{ grid-template-columns: 1fr; gap: 40px; }
  .grid-cards, .grid-cards.cols-5, .grid-cards.cols-3{ grid-template-columns: repeat(2,1fr); }
  .benefits{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: repeat(2,1fr); }
  .contact-grid{ grid-template-columns: 1fr; gap: 50px; }
  .footer-inner{ grid-template-columns: 1fr; gap: 40px; }
  .timeline-row{ grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 560px){
  .container{ padding: 0 22px; }
  .section{ padding: 84px 0; }
  .grid-cards, .grid-cards.cols-5, .grid-cards.cols-3{ grid-template-columns: 1fr; }
  .footer-cols{ grid-template-columns: 1fr; gap: 26px; }
  .steps{ grid-template-columns: 1fr; }
}
