/* Culinarium — сайт. Палитра как в приложении (тёмная тема): тёплый почти чёрный фон,
   янтарный акцент, кремовый текст. Системные шрифты — без внешних запросов. */
:root {
  --bg: #0f0a07;
  --bg-2: #17100b;
  --card: #1e150e;
  --card-2: #261a11;
  --line: #3a2a1c;
  --text: #f4ebe1;
  --muted: #b9a998;
  --dim: #8a7b6c;
  --accent: #f0a024;
  --accent-2: #d9821a;
  --accent-ink: #1a0f05;
  --radius: 18px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: #ffbe55; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ── Шапка ── */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(15, 10, 7, .82);
       backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(58, 42, 28, .6); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
         font-weight: 800; letter-spacing: .02em; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.langs { display: flex; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.langs a[aria-current="true"] { background: var(--card-2); color: var(--accent); }

/* ── Кнопки ── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 14px;
       background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none; font-size: 17px;
       box-shadow: 0 10px 30px -10px rgba(240, 160, 36, .55); transition: transform .15s, background .15s; }
.btn:hover { background: #ffb23d; color: var(--accent-ink); transform: translateY(-1px); }
.btn svg { width: 22px; height: 22px; }
.btn-small { padding: 9px 16px; font-size: 15px; border-radius: 11px; box-shadow: none; }
.note { color: var(--dim); font-size: 14px; margin-top: 14px; }

/* ── Первый экран ── */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px;
                background: radial-gradient(closest-side, rgba(217, 110, 20, .32), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: .14em;
           text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 20px; font-weight: 850; }
h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 30px; }
.phones { position: relative; height: 600px; }
.phone { position: absolute; width: 270px; border-radius: 36px; padding: 9px; background: #050302;
         border: 1px solid #3b2c20; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.phone img { border-radius: 28px; width: 100%; height: auto; aspect-ratio: 540 / 1212; background: var(--card); }
.phones .phone:nth-child(1) { left: 8%; top: 20px; transform: rotate(-4deg); }
.phones .phone:nth-child(2) { right: 4%; top: 0; transform: rotate(4deg); }

/* ── Секции ── */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 1px solid rgba(58, 42, 28, .5); }
.feature:nth-of-type(even) .shot { order: 2; }
.feature .shot { display: flex; justify-content: center; gap: 20px; }
.feature .shot .phone { position: static; width: 250px; transform: none; }
.feature .shot .phone + .phone { margin-top: 48px; }
.feature h3 { font-size: 28px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
.feature p { color: var(--muted); margin: 0 0 12px; font-size: 18px; }
.feature .num { color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: .14em; margin-bottom: 10px; display: block; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line);
        border-radius: var(--radius); padding: 28px; }
.card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
             background: rgba(240, 160, 36, .12); color: var(--accent); margin-bottom: 18px; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* ── ChatGPT ── */
.gpt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gpt .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.badge { display: inline-block; background: rgba(240, 160, 36, .14); color: var(--accent); border: 1px solid rgba(240, 160, 36, .35);
         font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.gpt p { color: var(--muted); font-size: 18px; }
.chat { background: #0b0807; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 14px; }
.bubble { justify-self: end; max-width: 80%; background: #2a2420; color: var(--text); padding: 12px 16px;
          border-radius: 18px 18px 4px 18px; font-size: 16px; }
.saved { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; gap: 16px; align-items: center; }
.saved .k { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; }
.saved .t { font-weight: 700; margin: 2px 0 10px; }
.saved .b { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px; padding: 7px 12px; border-radius: 9px; }
.saved .qr { flex: none; width: 92px; height: 92px; border-radius: 10px; background: #fff; overflow: hidden; }
.saved .qr svg { width: 100%; height: 100%; display: block; }

/* ── Вопросы ── */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.final { text-align: center; }
.final .icon { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 24px; box-shadow: 0 20px 50px -20px rgba(240, 160, 36, .6); }

/* ── Подвал ── */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .langs { margin-left: auto; }

/* ── Документы (политика, условия, поддержка) ── */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.doc .updated { color: var(--dim); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.doc h3 { font-size: 18px; margin: 28px 0 6px; }
.doc p, .doc li { color: #d9cbbd; }
.doc ul { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.doc code { background: var(--card-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .92em; color: var(--text); }
.doc .contact { font-size: 19px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }

/* ── Адаптивность ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding-top: 48px; }
  .hero .wrap, .feature, .gpt .wrap { grid-template-columns: 1fr; gap: 32px; }
  .feature:nth-of-type(even) .shot { order: 0; }
  .phones { height: 470px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phone { width: 210px; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav .wrap { gap: 12px; }
  .nav .btn-small { display: none; }
  .phones { height: 400px; }
  .phone { width: 175px; border-radius: 28px; padding: 7px; }
  .phone img { border-radius: 22px; }
  .feature .shot .phone { width: 46%; }
  .feature .shot .phone + .phone { margin-top: 32px; }
  .feature h3 { font-size: 24px; }
  footer .langs { margin-left: 0; }
}
