/* ============================================================
   Press Gurwitz Perfumerie — HoReCa лендинг (pressgurwitz.pro)
   Фирменные цвета: молочный #FCF3E3, эспрессо #2C1A0E,
   кофе #5C4033, золото #C9A96E, графит #1A1A1A
   Шрифты: Playfair Display (заголовки), Manrope (текст)
   Mobile-first. Брейкпоинты: 1200 / 768 / 480
   ============================================================ */

:root {
  --milk: #FCF3E3;
  --paper: #FFFDF7;
  --espresso: #2C1A0E;
  --coffee: #5C4033;
  --gold: #C9A96E;
  --graphite: #1A1A1A;
  --line: rgba(44, 26, 14, 0.16);
  --line-light: rgba(252, 243, 227, 0.2);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, "Segoe UI", Arial, sans-serif;
  --header-h: 72px;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--milk);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 860px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }

section { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Типографические утилиты ---------- */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coffee);
  margin-bottom: 18px;
}
.eyebrow--gold { color: var(--gold); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 15px 32px;
  background: var(--espresso);
  color: var(--milk);
  border: 1px solid var(--espresso);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--coffee); border-color: var(--coffee); }
.btn--outline {
  background: transparent;
  color: var(--espresso);
  border-color: var(--gold);
}
.btn--outline:hover { background: var(--gold); border-color: var(--gold); color: var(--espresso); }
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--espresso);
}
.btn--gold:hover { background: var(--milk); border-color: var(--milk); }
.btn--small { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(252, 243, 227, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(44, 26, 14, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.header__logo { flex: 0 0 auto; display: flex; align-items: center; }
.header__logo img { height: 42px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--coffee);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--espresso); }
.nav__link:hover::after, .nav__link.is-active::after { right: 0; }
.nav__cta { margin-left: 6px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--espresso);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding: calc(var(--header-h) + 48px) 0 72px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.hero__lead {
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  color: var(--coffee);
  margin: 24px 0 32px;
  max-width: 34em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--coffee);
  max-width: 32em;
}
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
}
.hero__media figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--coffee);
  font-style: italic;
  font-family: var(--serif);
}

/* ---------- Цифры ---------- */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.stats__intro {
  max-width: 62em;
  margin-bottom: 36px;
  color: var(--coffee);
  font-size: 1.02rem;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}
.stat__label {
  order: 2;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coffee);
  margin-top: 6px;
}
.stat__value {
  order: 1;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--espresso);
}
.stat__value span { color: var(--gold); }
.stat { display: flex; flex-direction: column; }

/* ---------- Секции общее ---------- */

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--espresso); color: var(--milk); }
.section--dark h2, .section--dark h3 { color: var(--milk); }

.section__head { max-width: 44em; margin-bottom: clamp(36px, 5vw, 60px); }
.section__lead { margin-top: 18px; color: var(--coffee); font-size: 1.02rem; }
.section--dark .section__lead { color: rgba(252, 243, 227, 0.75); }

/* ---------- Карточки продукции ---------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(44, 26, 14, 0.1);
}
.card__media { background: #fff; border-bottom: 1px solid var(--line); }
.card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body p { font-size: 0.93rem; color: var(--coffee); }
.card__tags {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coffee) !important;
}

/* ---------- Форматы ---------- */

.formats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.formats__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.format {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.format:first-child { padding-top: 0; }
.format:last-child { border-bottom: 0; }
.format h3 { margin-bottom: 10px; }
.format__num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
  margin-right: 8px;
}
.format p { font-size: 0.95rem; color: var(--coffee); }
.formats__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.formats__photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.formats__photo--tall { margin-top: 36px; }
.formats__photo figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--coffee);
  font-family: var(--serif);
  font-style: italic;
}

/* ---------- Split-блоки ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.split__media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split--reverse .split__media img { aspect-ratio: 3 / 2; }
.split__text h3 { margin: 26px 0 10px; }
.split__text h3:first-child { margin-top: 0; }
.split__text p { color: var(--coffee); margin-bottom: 14px; }
.split__text .btn { margin-top: 12px; }
.split__text .eyebrow { margin-bottom: 14px; }
.split__text h2 { margin-bottom: 20px; }

/* ---------- Дифференциаторы (тёмная) ---------- */

.adv {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.adv__item {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.adv__figure {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 18px;
}
.adv__figure span { font-size: 0.55em; }
.adv__item h3 { margin-bottom: 12px; }
.adv__item p { font-size: 0.94rem; color: rgba(252, 243, 227, 0.78); }

.branding {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line-light);
  max-width: 46em;
}
.branding p { color: rgba(252, 243, 227, 0.78); margin: 14px 0 24px; }

/* ---------- Клиенты ---------- */

.clients {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.clients__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}
.clients__item:hover img { transform: scale(1.015); }
.clients__item figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--coffee);
}

/* ---------- Условия ---------- */

.terms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.terms__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px 26px;
}
.terms__item h3 { margin-bottom: 12px; }
.terms__item p { font-size: 0.94rem; color: var(--coffee); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: var(--espresso);
  transition: color 0.2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.25s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--coffee); }
.faq__answer { padding: 0 0 24px; max-width: 44em; }
.faq__answer p { color: var(--coffee); font-size: 0.97rem; }

/* ---------- Контакты + форма ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
.contact__text > p { color: rgba(252, 243, 227, 0.78); margin-top: 18px; max-width: 34em; }
.contact__list {
  margin-top: 36px;
  font-style: normal;
  display: flex;
  flex-direction: column;
}
.contact__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
}
.contact__row:last-child { border-bottom: 1px solid var(--line-light); }
.contact__label {
  flex: 0 0 150px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact__row a {
  font-size: 1.02rem;
  border-bottom: 1px solid rgba(252, 243, 227, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact__row a:hover { color: var(--gold); border-color: var(--gold); }

.form {
  background: rgba(252, 243, 227, 0.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.form__field input,
.form__field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--milk);
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease;
}
.form__field input:focus,
.form__field textarea:focus { border-color: var(--gold); }
.form__field input::placeholder,
.form__field textarea::placeholder { color: rgba(252, 243, 227, 0.4); }
.form__field input.is-invalid { border-color: #D56C6A; }
.form__field textarea { resize: vertical; min-height: 96px; }
.form__submit { align-self: flex-start; }
.form__note {
  font-size: 0.78rem;
  color: rgba(252, 243, 227, 0.55);
}
.form__note a { border-bottom: 1px solid rgba(252, 243, 227, 0.35); }
.form__demo {
  font-size: 0.85rem;
  color: var(--gold);
  border-top: 1px solid var(--line-light);
  padding-top: 14px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--graphite);
  color: rgba(252, 243, 227, 0.65);
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.footer__logo img { height: 40px; width: auto; opacity: 0.9; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.85rem;
}
.footer__nav a { transition: color 0.2s ease; }
.footer__nav a:hover { color: var(--gold); }
.footer__copy { font-size: 0.8rem; }

/* ---------- Reveal-анимации ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  * { transition: none !important; }
}

/* ============================================================
   Брейкпоинты
   ============================================================ */

/* ≥480 */
@media (min-width: 480px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

/* ≥768 */
@media (min-width: 768px) {
  :root { --header-h: 80px; }
  .container { padding: 0 32px; }
  .hero { padding: calc(var(--header-h) + 72px) 0 88px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .formats { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .split--reverse { grid-template-columns: 1.1fr 0.9fr; }
  .split--reverse .split__media { order: 2; }
  .adv { grid-template-columns: repeat(3, 1fr); }
  .terms { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ≥1200 */
@media (min-width: 1200px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(4, 1fr); }
}

/* ≤899 — мобильная навигация (скрываем меню под бургер ниже 900px,
   чтобы 8 пунктов + кнопка не ломали шапку на планшете) */
@media (max-width: 899px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--milk);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav__link::after { display: none; }
  .nav__cta { margin: 18px 0 0; text-align: center; }
}
