/* ==========================================================================
   Чайный Бро — Landing Page
   Палитра: светлый минимализм + золото
   ========================================================================== */

:root {
  /* Palette */
  --bg:           #F6F2EA;   /* тёплый кремовый фон */
  --bg-alt:       #FBF8F2;   /* ещё светлее, для секций */
  --bg-card:      #FFFFFF;
  --ink:          #141311;   /* глубокий графит */
  --ink-soft:     #2A2620;
  --muted:        #766E62;
  --muted-2:      #A89F91;
  --line:         #E8E0D2;
  --line-soft:    #F0E9DB;

  /* Gold accent */
  --gold:         #B58A3C;
  --gold-ink:     #8E6A26;
  --gold-soft:    #E9D7AE;
  --gold-glow:    rgba(181, 138, 60, 0.14);

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(26, 21, 14, 0.04), 0 1px 3px rgba(26, 21, 14, 0.06);
  --sh-md: 0 4px 12px rgba(26, 21, 14, 0.06), 0 2px 4px rgba(26, 21, 14, 0.04);
  --sh-lg: 0 24px 48px rgba(26, 21, 14, 0.10), 0 8px 16px rgba(26, 21, 14, 0.06);
  --sh-gold: 0 16px 40px rgba(181, 138, 60, 0.22);

  /* Typography */
  --ff-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --ff-sans:    'Inter', -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;

  /* Spacing */
  --container:  1240px;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;

  --ease:       cubic-bezier(.22, 1, .36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 0% 0%, #FFF8EA 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 20%, #FDF4E4 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
p { margin: 0; }

em {
  font-style: italic;
  color: var(--gold-ink);
  font-family: var(--ff-display);
}

::selection { background: var(--gold-soft); color: var(--ink); }

/* ==========================================================================
   Layout primitives
   ========================================================================== */

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

.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}

.section__header {
  max-width: 820px;
  margin: 0 0 56px;
}
.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.section__title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  letter-spacing: -0.015em;
  margin: 12px 0 18px;
}
.section__lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 64ch;
}
.section__header--center .section__lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-ink);
}
.eyebrow__line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.section__header--center .eyebrow { justify-content: center; }
.section__header--center .eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all .35s var(--ease);
  will-change: transform;
  cursor: pointer;
  white-space: nowrap;
}
.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn__icon {
  width: 18px; height: 18px;
  transition: transform .35s var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, #1B1812 0%, #2B251B 100%);
  color: #F8EFD8;
  box-shadow: var(--sh-md), inset 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, #D8B167 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-lg), var(--sh-gold);
  color: #1B1812;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover .btn__icon { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1px var(--gold);
  color: var(--gold-ink);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: all .35s var(--ease);
}
.header.is-scrolled {
  background: rgba(246, 242, 234, 0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity .3s var(--ease);
}
.logo:hover { opacity: 0.8; }

/* Контейнер для логотипа (теперь он просто держит размер) */
.logo__mark {
  /* Увеличиваем размер (было 46, стало 69) */
  width: 69px;
  height: 69px;
  display: grid;
  place-items: center;
  background: transparent; /* Убираем фон контейнера */
}

.logo__img {
  width: 100%;
  height: 100%;
  
  /* Магия наложения: убирает белый фон */
  mix-blend-mode: normal; 
  
  /* Убедись, что фильтры выключены, чтобы не искажать цвета */
  filter: none; 
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo__name {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.logo__tagline {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 500;
}

/* Nav */
.nav {
  display: flex;
  gap: 32px;
}
.nav__link {
  position: relative;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.nav__link:hover { color: var(--gold-ink); }
.nav__link:hover::after { width: 100%; }

.header__cta { padding: 12px 22px; font-size: 0.9rem; }

.burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
  transform-origin: center;
}
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  position: absolute;
  /* 1. Вместо привязки к правому краю, растягиваем на весь блок */
  top: 0;
  left: 0;
  width: 100%;  /* Было 62% */
  height: 100%; /* Было auto */
  
  /* 2. Убираем ограничение по ширине, иначе на больших экранах будут дыры */
  max-width: none; 

  /* 3. КРИТИЧНО: Меняем contain на cover. 
     contain сжимает картинку, чтобы она влезла целиком.
     cover растягивает её так, чтобы не было пустых мест. */
  object-fit: cover; 

  /* 4. Позиционирование фокуса (то, что мы обсуждали: левее к центру) */
  object-position: -25% 50%;

  /* 5. Убираем трансформацию центрирования, она больше не нужна */
  transform: scale(1.05); /* Оставил только легкий масштаб, если хочешь эффект "объема" */

  /* 6. Анимация. 
     Если оставить heroFloat (движение вверх-вниз), 
     у фоновой картинки могут "вылезать" края. 
     Лучше либо её убрать, либо сделать очень слабой. */
  animation: none; 

  /* 7. Тень для фона не нужна, так как краев не видно */
  filter: none; 
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(-50%) scale(1.05); }
  50%      { transform: translateY(calc(-50% - 20px)) scale(1.07); }
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side at 28% 55%, rgba(246,242,234,0.85) 0%, rgba(246,242,234,0) 60%),
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 40%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero__content { max-width: 640px; }

.hero__title {
  font-size: clamp(2.75rem, 7vw, 5.8rem);
  line-height: 0.98;
  margin: 24px 0 28px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.hero__title em {
  position: relative;
  font-style: italic;
  color: var(--gold-ink);
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.05em;
  width: 100%; height: 0.08em;
  background: var(--gold);
  opacity: 0.5;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.stat__divider {
  width: 1px; height: 36px;
  background: var(--line);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 32px;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--gold);
  z-index: 2;
  display: grid; place-items: start center;
  padding-top: 8px;
}
.hero__scroll span {
  display: block;
  width: 2px; height: 8px;
  background: var(--gold);
  border-radius: 1px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about { background: var(--bg-alt); border-top: 1px solid var(--line-soft); }

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.about__card {
  background: var(--bg-card);
  padding: 44px 36px;
  position: relative;
  transition: background .4s var(--ease);
}
.about__card:hover { background: #FFFDF7; }
.about__num {
  font-family: var(--ff-display);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
  font-weight: 600;
}
.about__title {
  font-size: 1.75rem;
  margin-bottom: 14px;
}
.about__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
}
.about__text strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   ECOSYSTEM
   ========================================================================== */

.ecosystem__grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.eco-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: all .45s var(--ease);
  position: relative;
  overflow: hidden;
}
.eco-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 200px at 50% 0%, var(--gold-glow), transparent 70%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.eco-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-soft);
  box-shadow: var(--sh-lg);
}
.eco-card:hover::before { opacity: 1; }
.eco-card:hover .eco-card__icon { color: var(--gold-ink); transform: scale(1.08); }

.eco-card__icon {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  color: var(--ink);
  display: grid; place-items: center;
  background: var(--bg-alt);
  border-radius: 50%;
  transition: color .4s var(--ease), transform .45s var(--ease);
  position: relative;
}
.eco-card__icon svg { width: 36px; height: 36px; }

.eco-card__title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.eco-card__text {
  font-size: 0.94rem;
  color: var(--muted);
}

/* ==========================================================================
   TRUST
   ========================================================================== */

.trust { background: var(--bg-alt); border-top: 1px solid var(--line-soft); }

.trust__group { margin-top: 44px; }
.trust__group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  font-family: var(--ff-sans);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.trust__group-icon { width: 22px; height: 22px; color: var(--gold); }

.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.partner {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all .4s var(--ease);
}
.partner:hover {
  transform: translateY(-4px);
  border-color: var(--gold-soft);
  box-shadow: var(--sh-md);
}

.partner__logo {
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.05;
  color: #fff;
  position: relative;
  padding: 12px;
  text-align: center;
}
.partner__logo small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-top: 4px;
  opacity: 0.85;
}

.partner__logo--mrlee {
  background: linear-gradient(160deg, #C5312C 0%, #8E1E1A 100%);
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.partner__logo--assunta {
  background: #1A1711;
  color: #E9D7AE;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.15rem;
}
.partner__logo--assunta::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(233, 215, 174, 0.3);
  border-radius: 6px;
}
.partner__logo--nedal {
  background: linear-gradient(135deg, #2C3E67 0%, #1F2A44 100%);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.partner__logo--dachniki {
  background: #F6F2EA;
  color: #141311;
  border: 1px solid var(--line);
  font-family: var(--ff-display);
  letter-spacing: 0.25em;
  font-size: 0.95rem;
}
.partner__logo--myata {
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
}
.partner__logo--hp {
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
}
.partner__logo-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}
.partner:hover .partner__logo-img {
  transform: scale(1.05);
}

.partner__name {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.partner__desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}
.partner__desc strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   QUALITY
   ========================================================================== */

.quality__flow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-bottom: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--sh-sm);
}
.q-step {
  padding: 24px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .35s var(--ease);
}
.q-step:last-child { border-right: none; }
.q-step:hover { background: #FFFDF7; }
.q-step__num {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}
.q-step__label {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 72px;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all .4s var(--ease);
  position: relative;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--gold-soft);
}

.feature__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #FAF4E3 0%, #F1E4C7 100%);
  color: var(--gold-ink);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px rgba(181,138,60,0.15);
}
.feature__icon svg { width: 28px; height: 28px; }

.feature__title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.feature__text {
  font-size: 0.96rem;
  color: var(--muted);
}

/* Assortment */
.assortment {
  background: linear-gradient(135deg, #1B1812 0%, #2A241A 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #F8EFD8;
  position: relative;
  overflow: hidden;
}
.assortment::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 60%);
  opacity: 0.8;
}
.assortment__title {
  font-family: var(--ff-display);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  font-weight: 500;
}
.assortment__title::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 16px auto 0;
}
.assortment__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  position: relative;
}
.ass-item {
  text-align: center;
  padding: 20px 10px;
  border-left: 1px solid rgba(233, 215, 174, 0.15);
}
.ass-item:first-child { border-left: none; }

.ass-item__icon {
  width: 40px; height: 40px;
  margin: 0 auto 14px;
  color: var(--gold);
}
.ass-item__num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: #F8EFD8;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.ass-item__label {
  font-size: 0.86rem;
  color: rgba(233, 215, 174, 0.75);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
}
.contact__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__info .section__title { text-align: left; margin: 12px 0 18px; }
.contact__info .section__lead  { margin-inline: 0; }

.contact__list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact__icon {
  width: 24px; height: 24px;
  color: var(--gold);
  flex-shrink: 0;
}
.contact__label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2px;
}
.contact__value {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
}
a.contact__value:hover { color: var(--gold-ink); }

/* Form */
.form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--sh-md);
  position: relative;
}

.form__row {
  margin-bottom: 18px;
}

.field {
  display: block;
  position: relative;
}
.field__label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  font-weight: 500;
}
.field__input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease);
  outline: none;
}
.field__input::placeholder { color: var(--muted-2); }
.field__input:focus {
  border-color: var(--gold);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px var(--gold-glow);
}
.field__input--textarea {
  resize: vertical;
  min-height: 88px;
  font-family: var(--ff-sans);
}

.field__error {
  display: none;
  color: #B33B2A;
  font-size: 0.82rem;
  margin-top: 6px;
}
.field.is-invalid .field__input { border-color: #E2A195; background: #FEF5F3; }
.field.is-invalid .field__error { display: block; }

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.chip:hover span { border-color: var(--gold); color: var(--gold-ink); }
.chip input:checked + span {
  background: var(--ink);
  color: #F8EFD8;
  border-color: var(--ink);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 22px;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.consent input {
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.form__status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  text-align: center;
}
.form__status--success {
  background: #EAF7EE;
  color: #1F5D37;
  border: 1px solid #BEE3C8;
}
.form__status--error {
  background: #FDEDEA;
  color: #8E2B1E;
  border: 1px solid #F0BFB6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #0F0D09;
  color: #C7BEAF;
  padding: 72px 0 0;
  position: relative;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(233, 215, 174, 0.1);
}
.footer__col--brand .logo__name { color: #F8EFD8; }
.footer__col--brand .logo__tagline { color: var(--gold); }

.logo--footer .logo__mark {
  background: rgba(233, 215, 174, 0.07);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 102, 0.3);
}

.logo--footer .logo__img {
  filter: invert(1);
}

.footer__slogan {
  margin-top: 18px;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 280px;
  color: #9C917D;
}

.footer__title {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__list a {
  color: #C7BEAF;
  font-size: 0.95rem;
}
.footer__list a:hover { color: var(--gold); }
.footer__list--contact a { font-size: 1rem; color: #F8EFD8; }

.footer__note {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #9C917D;
}
.footer__note strong { color: #F8EFD8; font-weight: 500; }

.footer__bottom {
  padding: 24px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: #7A725F;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Scroll reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for grids */
.about__grid .reveal:nth-child(1) { transition-delay: 0s; }
.about__grid .reveal:nth-child(2) { transition-delay: .08s; }
.about__grid .reveal:nth-child(3) { transition-delay: .16s; }
.about__grid .reveal:nth-child(4) { transition-delay: .24s; }

.ecosystem__grid .reveal:nth-child(1) { transition-delay: 0s; }
.ecosystem__grid .reveal:nth-child(2) { transition-delay: .08s; }
.ecosystem__grid .reveal:nth-child(3) { transition-delay: .16s; }
.ecosystem__grid .reveal:nth-child(4) { transition-delay: .24s; }
.ecosystem__grid .reveal:nth-child(5) { transition-delay: .32s; }
.ecosystem__grid .reveal:nth-child(6) { transition-delay: .4s; }

.quality__flow .reveal:nth-child(1) { transition-delay: 0s; }
.quality__flow .reveal:nth-child(2) { transition-delay: .05s; }
.quality__flow .reveal:nth-child(3) { transition-delay: .10s; }
.quality__flow .reveal:nth-child(4) { transition-delay: .15s; }
.quality__flow .reveal:nth-child(5) { transition-delay: .20s; }
.quality__flow .reveal:nth-child(6) { transition-delay: .25s; }
.quality__flow .reveal:nth-child(7) { transition-delay: .30s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .quality__flow { grid-template-columns: repeat(4, 1fr); }
  .q-step:nth-child(4) { border-right: none; }
  .q-step { border-bottom: 1px solid var(--line); }
  .q-step:nth-child(n+5) { border-bottom: none; }
}

@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 20px 28px 28px;
    background: var(--bg-card);
    box-shadow: var(--sh-lg);
    gap: 6px;
    border-top: 1px solid var(--line);
  }
  .nav.is-open .nav__link {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .hero { min-height: auto; padding: 140px 0 60px; }
  .hero__bg-img { opacity: 0.45; right: -20%; width: 110%; }
  .hero__gradient {
    background: linear-gradient(180deg, rgba(246,242,234,0.95) 0%, rgba(246,242,234,0.85) 100%);
  }

  .contact__wrap { grid-template-columns: 1fr; gap: 40px; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }

  .quality__flow { grid-template-columns: repeat(2, 1fr); }
  .q-step { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .q-step:nth-child(even) { border-right: none; }
  .q-step:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }

  .hero { padding: 120px 0 48px; }
  .hero__stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stat__divider { width: 40px; height: 1px; }

  .about__card { padding: 32px 24px; }

  .form { padding: 32px 22px; }

  .assortment { padding: 40px 24px; }
  .ass-item { border-left: none; border-top: 1px solid rgba(233, 215, 174, 0.15); padding-top: 24px; }
  .ass-item:first-child { border-top: none; padding-top: 0; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; gap: 8px; }

  .logo__tagline { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hero__bg-img { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease;
}
