/* BOOM CHEESE — v0.2 — pixel-перенос с Figma-макета Майи */

:root {
  --c-yellow:    #f4d177;
  --c-yellow-lt: #fae5ad;
  --c-brown:     #4a3731;
  --c-brown-dk:  #382722;
  --c-text:      #1a1a1a;
  --c-mute:      #9f9f9f;
  --c-white:     #ffffff;
  --c-cream:     #faf6ee;
  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ============ HEADER (плавающий поверх hero-фото) ============ */
.header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 0;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 36px; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.nav a { color: var(--c-white); opacity: 0.92; transition: opacity .2s; }
.nav a:hover { opacity: 1; color: var(--c-yellow); }

/* CTA-кнопка */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 36px; border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid var(--c-brown);
  background: transparent; color: var(--c-brown);
  transition: all .2s;
}
.btn:hover { background: var(--c-brown); color: var(--c-white); }
.btn.btn-light { border-color: var(--c-white); color: var(--c-white); }
.btn.btn-light:hover { background: var(--c-white); color: var(--c-brown); }
.btn.btn-filled { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-brown); }
.btn.btn-filled:hover { background: var(--c-brown); border-color: var(--c-brown); color: var(--c-yellow); }

/* ============ HERO: lifestyle фото с текстом и пакетом ============ */
.hero-photo {
  min-height: 100vh;
  background: var(--c-brown-dk) url('/img/hero-bg.jpg') center/cover no-repeat;
  position: relative;
  padding-top: 120px;
  padding-bottom: 60px;
  display: flex; align-items: center;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.0) 100%);
}
.hero-photo .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-photo h1 {
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-white);
  margin-bottom: 24px;
}
.hero-photo .lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-white);
  opacity: 0.92;
  margin-bottom: 32px;
  max-width: 380px;
}
.hero-pack { text-align: center; }
.hero-pack img { max-height: 560px; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5)); }

/* ============ HERO-WHITE: повтор слогана + кнопка (под фото) ============ */
.hero-white {
  background: var(--c-white);
  padding: clamp(60px, 8vw, 100px) 0;
}
.hero-white .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-white h2 {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: none;
  text-align: left;
  color: var(--c-brown);
  margin-bottom: 24px;
}
.hero-white .lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 460px;
}
.hero-white-pack img { max-height: 460px; margin: 0 auto; }

/* ============ SECTION SYSTEM ============ */
.section { padding: clamp(80px, 10vw, 130px) 0; }
.section.dark { background: var(--c-brown); color: var(--c-white); }
.section.yellow { background: var(--c-yellow); color: var(--c-brown-dk); }
.section.cream { background: var(--c-cream); }

.section h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section h2.left { text-align: left; }
.eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-yellow);
  text-align: center;
  margin-bottom: 14px;
}
.section:not(.dark):not(.yellow) .eyebrow { color: var(--c-brown); opacity: 0.6; }

/* ============ MOMENTS (3 use cases) ============ */
.moments {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.moment {
  text-align: left;
}
.moment .ph {
  width: 100%; aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  border-radius: 6px;
  margin-bottom: 24px;
}
.moment h3 {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.moment p { font-size: 14px; line-height: 1.55; opacity: 0.85; }

/* ============ RECIPE (жёлтая секция) ============ */
.recipe {
  background: var(--c-white);
  border-radius: 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 920px; margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.recipe-photo {
  background-size: cover; background-position: center;
  min-height: 300px;
}
.recipe-text {
  padding: 36px 40px;
}
.recipe-text h4 {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-brown); margin-bottom: 14px;
}
.recipe-text p { font-size: 14px; line-height: 1.5; color: var(--c-text); margin-bottom: 18px; }
.recipe-text .ing-title {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-brown); opacity: 0.6;
  margin-bottom: 8px;
}
.recipe-text ul { padding-left: 18px; font-size: 13px; line-height: 1.7; }

/* ============ BENEFITS (5 пунктов с жёлтым кругом) ============ */
.benefits {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 60px;
  max-width: 880px; margin: 0 auto;
}
.benefit {
  display: flex; gap: 20px; align-items: flex-start;
}
.benefit .circle {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-yellow);
}
.benefit-text h4 {
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.benefit-text p { font-size: 14px; line-height: 1.55; opacity: 0.7; }

/* ============ TECHNOLOGY STEPS ============ */
.steps {
  display: flex; justify-content: space-between; gap: 32px;
  position: relative; padding-top: 30px;
}
.steps::before {
  content: ''; position: absolute;
  top: 41px; left: 8%; right: 8%; height: 2px;
  background: rgba(244,209,119,0.3);
}
.step {
  flex: 1; text-align: center;
  position: relative;
}
.step .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-yellow);
  margin: 0 auto 24px;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--c-brown);
}
.step h4 {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--c-yellow);
}
.step p { font-size: 13px; line-height: 1.5; opacity: 0.85; }

/* ============ FEATURES (4 пункта на фоне фото) ============ */
.features-photo {
  position: relative;
  background-size: cover; background-position: center;
  padding: 100px 0;
}
.features-photo::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(74,55,49,0.85), rgba(74,55,49,0.7));
}
.features {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  color: var(--c-white);
}
.feature h4 {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-yellow); margin-bottom: 12px;
}
.feature p { font-size: 14px; line-height: 1.55; opacity: 0.9; }

/* ============ PROTEIN ============ */
.protein-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.protein-grid h2 { text-align: left; margin-bottom: 0; }
.protein-grid p { font-size: 16px; line-height: 1.65; opacity: 0.85; }

/* ============ CHEESE VARIETIES (куски сыра + белый круг) ============ */
.varieties {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 64px;
}
.variety { text-align: center; }
.variety .cheese-wrap { position: relative; padding-top: 16px; }
.variety .cheese-wrap img { max-height: 220px; margin: 0 auto; }
.variety .gram-circle {
  position: absolute; top: 16px; left: 50%;
  transform: translateX(60px);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: var(--c-brown);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.variety h3 { font-size: 22px; font-weight: 700; margin: 24px 0 12px; }
.variety p { font-size: 13px; line-height: 1.55; opacity: 0.75; max-width: 280px; margin: 0 auto; }

/* ============ BANNER (full-bleed cheese photo) ============ */
.banner {
  background-size: cover; background-position: center;
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  position: relative; text-align: center;
}
.banner::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
}
.banner-content {
  position: relative; color: var(--c-white);
  max-width: 700px; padding: 0 var(--pad);
}
.banner .eyebrow { color: var(--c-yellow); }
.banner h2 { color: var(--c-white); margin-bottom: 18px; }
.banner p { font-size: 16px; opacity: 0.9; }

/* ============ PACKS (упаковки 30г и 12г) ============ */
.packs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 960px; margin: 0 auto;
}
.pack { text-align: center; }
.pack-images {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  min-height: 280px;
}
.pack-images .big { max-height: 280px; }
.pack-images .sm { max-height: 200px; }
.pack img { display: block; }
.pack .formats {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--c-brown); opacity: 0.55; margin-bottom: 4px;
}
.pack h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

/* ============ FAQ ============ */
.faq-grid {
  display: grid; grid-template-columns: 240px 1fr; gap: 80px;
  max-width: 1000px; margin: 0 auto;
}
.faq-grid h2 { text-align: left; margin-bottom: 0; }
.faq details {
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
}
.faq summary {
  font-weight: 500; font-size: 16px;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.faq summary::after {
  content: '⌄'; font-size: 18px;
  color: var(--c-yellow);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 14px; opacity: 0.8; line-height: 1.6; font-size: 14px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--c-brown);
  color: var(--c-white);
  padding: 60px 0 32px;
  text-align: center;
}
.footer img { height: 60px; margin: 0 auto 24px; }
.footer-contact { opacity: 0.85; font-size: 14px; line-height: 1.7; }
.footer-contact a { display: block; }
.footer-contact a:hover { color: var(--c-yellow); }
.footer-address { font-size: 13px; opacity: 0.6; margin-top: 16px; line-height: 1.6; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; opacity: 0.4;
}

/* ============ ADAPTIV ============ */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid, .recipe, .protein-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; text-align: center; }
  .moments, .varieties, .packs { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 24px; }
  .steps::before { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .hero-product img { max-height: 360px; }
}
