/* ════════════════════════════════════════
   АНТРЕ — luxury restaurant / dark opulent
════════════════════════════════════════ */
:root {
  --bg:       #1C1224;
  --surface:  #261830;
  --surface2: #30203C;
  --gold:     #C9A96E;
  --gold-lt:  #E8D4A8;
  --gold-dk:  #8B6D3F;
  --cream:    #F2EDE4;
  --muted:    #8A7A9B;
  --line:     #3A2848;
  --line-lt:  #4A3460;
  --red:      #C0435C;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Шапка ── */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line-lt);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; height: 76px;
}
.logo {
  font-family: 'EB Garamond', serif;
  font-size: 24px; font-weight: 500; font-style: italic;
  color: var(--gold-lt); text-decoration: none; letter-spacing: 0.03em;
  display: flex; align-items: center; gap: 12px;
}
.logo-ornament {
  width: 28px; height: 28px;
  border: 1px solid var(--gold-dk); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--gold); flex-shrink: 0; font-style: normal;
}
.header-nav { display: flex; gap: 0; list-style: none; }
.header-nav a {
  color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0 22px; height: 76px; display: flex; align-items: center;
  position: relative; transition: color .2s;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 22px; right: 22px; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s ease;
}
.header-nav a:hover, .header-nav a.active { color: var(--gold-lt); }
.header-nav a:hover::after, .header-nav a.active::after { transform: scaleX(1); }

/* ── Футер ── */
.site-footer {
  background: var(--surface); border-top: 1px solid var(--line-lt);
  font-size: 13px; padding: 60px 32px 0; margin-top: 100px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid var(--line-lt);
}
.footer-about .logo { margin-bottom: 16px; }
.footer-about p { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: var(--muted); text-decoration: none; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; transition: color .2s;
}
.footer-links a:hover { color: var(--gold-lt); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding: 20px 0; font-size: 12px; color: var(--line-lt); letter-spacing: 0.03em;
}

/* ── Контейнер ── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ── Крошки ── */
.breadcrumb {
  font-size: 12px; color: var(--muted); padding: 22px 0 0;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-lt); text-decoration: underline; }

/* ── Заголовок страницы ── */
.page-hero { padding: 52px 32px 36px; }
.page-hero h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(32px, 5.5vw, 62px); font-weight: 500;
  color: var(--gold-lt); line-height: 1.1; margin: 14px 0 12px;
  letter-spacing: 0.01em;
}
.page-hero .lead { color: var(--muted); font-size: 17px; max-width: 520px; line-height: 1.7; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before, .eyebrow::after {
  content: ''; display: inline-block; width: 24px; height: 1px; background: var(--gold-dk);
}

/* ── Орнамент-разделитель ── */
.ornament { text-align: center; margin: 56px 0; color: var(--gold-dk); font-size: 18px; letter-spacing: 16px; }

/* ── Сетка карточек ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; margin: 40px 0;
}
.card {
  background: var(--surface); overflow: hidden;
  border: 1px solid var(--line-lt);
  transition: border-color .25s, transform .25s;
  text-decoration: none; color: inherit; display: block;
}
.card:hover { border-color: var(--gold-dk); transform: translateY(-3px); }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface2); }
.card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s; filter: brightness(.9) saturate(.9);
}
.card:hover .card-img img { transform: scale(1.05); filter: brightness(1) saturate(1); }
.card-body { padding: 18px 20px 22px; border-top: 1px solid var(--line-lt); }
.card-tag {
  font-size: 10px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.card-body h3 {
  font-family: 'EB Garamond', serif;
  font-size: 22px; font-weight: 500;
  line-height: 1.2; margin-bottom: 8px; color: var(--cream);
}
.card-body p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Подписка ── */
.subscribe-block {
  background: var(--surface); border: 1px solid var(--line-lt);
  padding: 64px 40px; margin: 80px 0; text-align: center; position: relative;
}
.subscribe-block::before, .subscribe-block::after {
  content: '';
  position: absolute; width: 60px; height: 60px;
  border: 1px solid var(--gold-dk);
}
.subscribe-block::before { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.subscribe-block::after  { bottom: 16px; right: 16px; border-left: none; border-top: none; }
.subscribe-block h2 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(26px, 4vw, 44px); font-weight: 500; font-style: italic;
  color: var(--gold-lt); margin-bottom: 12px;
}
.subscribe-block p { color: var(--muted); font-size: 16px; margin-bottom: 32px; max-width: 440px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.subscribe-form {
  display: flex; gap: 0; max-width: 440px; margin: 0 auto;
  border: 1px solid var(--gold-dk);
}
.subscribe-form input[type="email"] {
  flex: 1; padding: 14px 20px; border: none; background: transparent;
  font-family: 'Outfit', sans-serif; font-size: 15px; color: var(--cream); outline: none;
}
.subscribe-form input[type="email"]::placeholder { color: var(--muted); }
.subscribe-form button {
  padding: 14px 28px; border: none; border-left: 1px solid var(--gold-dk); cursor: pointer;
  background: var(--gold); color: var(--bg);
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background .2s; white-space: nowrap;
}
.subscribe-form button:hover { background: var(--gold-lt); }
.subscribe-note { color: var(--muted); font-size: 12px; margin-top: 14px; letter-spacing: 0.04em; }
.subscribe-success {
  display: none; color: var(--gold-lt); font-size: 20px; margin-top: 20px;
  font-family: 'EB Garamond', serif; font-style: italic;
}

/* ── Адаптив ── */
@media (max-width: 720px) {
  .header-inner, .footer-inner, .wrap, .page-hero { padding-left: 20px; padding-right: 20px; }
  .header-nav a { padding: 0 13px; font-size: 11px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form button { border-left: none; border-top: 1px solid var(--gold-dk); }
  .subscribe-block { padding: 44px 22px; }
  .cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .header-nav { display: none; } }

/* ── Реквизиты ── */
.footer-requisites {
  max-width: 1100px; margin: 0 auto;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted); line-height: 1.7; letter-spacing: 0.02em;
}

/* ── Согласие ── */
.subscribe-consent {
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 440px; margin: 16px auto 0; text-align: left;
}
.subscribe-consent input[type="checkbox"] {
  margin-top: 3px; flex-shrink: 0; width: 15px; height: 15px;
  cursor: pointer; accent-color: var(--gold);
}
.subscribe-consent label { font-size: 12px; color: var(--muted); line-height: 1.6; cursor: pointer; letter-spacing: 0.02em; }
.subscribe-consent a { color: var(--gold); text-decoration: underline; }
.consent-error { color: var(--red); font-size: 12px; margin-top: 6px; display: none; }

/* ── Cookie ── */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 9999;
  max-width: 1100px; margin: 0 auto;
  background: var(--surface2); border: 1px solid var(--line-lt);
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  padding: 20px 28px;
  transform: translateY(160%); transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-text { flex: 1; font-size: 13px; color: var(--muted); line-height: 1.6; min-width: 220px; }
.cookie-text a { color: var(--gold); text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-accept {
  background: var(--gold); color: var(--bg); border: none; padding: 10px 24px;
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: background .2s;
}
.cookie-btn-accept:hover { background: var(--gold-lt); }
.cookie-btn-decline {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line-lt); padding: 10px 18px;
  font-family: 'Outfit', sans-serif; font-size: 13px;
  cursor: pointer; transition: color .2s, border-color .2s;
}
.cookie-btn-decline:hover { color: var(--cream); border-color: var(--muted); }
@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

/* ════════════════════════════════════════
   РЕЦЕПТЫ — luxury dark
════════════════════════════════════════ */
.recipe-photo {
  width: 100%; overflow: hidden; margin: 36px 0; aspect-ratio: 16/9;
  background: var(--surface2); border: 1px solid var(--line-lt);
  position: relative;
}
.recipe-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,18,36,.4) 0%, transparent 50%);
  pointer-events: none;
}
.recipe-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.85) saturate(.9); }

.intro-card {
  border-top: 1px solid var(--gold-dk);
  border-bottom: 1px solid var(--gold-dk);
  padding: 28px 0; margin: 36px 0; text-align: center;
}
.intro-card p {
  font-family: 'EB Garamond', serif; font-size: 20px; font-weight: 500;
  font-style: italic; line-height: 1.7; color: var(--cream); max-width: 720px; margin: 0 auto;
}

.recipe-section { margin: 60px 0; }
.recipe-section h2 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(24px, 4vw, 36px); font-weight: 500;
  color: var(--gold-lt); margin-bottom: 28px; font-style: italic;
  display: flex; align-items: center; gap: 18px;
}
.recipe-section h2::after {
  content: ''; flex: 1; height: 1px; background: var(--line-lt);
}

.recipe-layout { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }

.ingredients {
  background: var(--surface); border: 1px solid var(--line-lt);
  padding: 22px 22px; position: sticky; top: 90px;
}
.ingredients h3 {
  font-size: 10px; font-weight: 400; color: var(--gold); text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line-lt);
}
.ingredients ul { list-style: none; display: flex; flex-direction: column; }
.ingredients li {
  font-size: 14px; color: var(--cream); padding: 9px 0;
  border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: baseline;
  opacity: .85;
}
.ingredients li:last-child { border-bottom: none; }
.ingredients li::before { content: '◆'; color: var(--gold-dk); font-size: 7px; flex-shrink: 0; }

.steps { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 42px 1fr; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.step:first-child { border-top: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'EB Garamond', serif;
  font-size: 13px; font-weight: 400; color: var(--gold);
  letter-spacing: 0.06em; margin-top: 4px; text-align: right;
}
.step p { font-size: 16px; line-height: 1.75; color: var(--cream); opacity: .9; }

.recipe-divider {
  border: none; margin: 64px 0; text-align: center;
  border-top: 1px solid var(--line-lt); position: relative;
}
.recipe-divider::after {
  content: '✦';
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--bg); padding: 0 18px;
  color: var(--gold-dk); font-size: 14px;
}

.tip-box {
  background: var(--surface); border: 1px solid var(--gold-dk);
  border-left: 3px solid var(--gold);
  padding: 18px 22px; margin: 22px 0; font-size: 14.5px; color: var(--cream); opacity: .9;
}
.tip-box strong { color: var(--gold-lt); }

@media (max-width: 720px) {
  .recipe-layout { grid-template-columns: 1fr; }
  .ingredients { position: static; }
}
