@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #1a1a1a;
  --bg-2: #141414;
  --card: #2b2b2b;
  --card-2: #242424;
  --green: #a8e02e;
  --green-2: #b8ee44;
  --green-dim: rgba(168, 224, 46, .14);
  --text: #fff;
  --muted: #c8c8c8;
  --line: #3a3a3a;
  --danger: #e05a4f;
  --shadow: none;
  --radius: 12px;
  --max: 1240px;
  --header: 86px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #1a1a1a; color-scheme: dark; }
body {
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.eyebrow {
  display: inline-flex;
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h1, h2, .serif { font-family: Montserrat, sans-serif; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 17px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 14px 26px;
  font-weight: 700;
  transition: .2s ease;
}
.btn-primary { background: var(--green); color: #111; }
.btn-primary:hover { background: var(--green-2); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #444; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-accent { background: var(--green); color: #111; }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* Header: dark bar, lime accent, e-mail */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
}
section[id] { scroll-margin-top: calc(var(--header) + 10px); }
.header-inner {
  display: flex; align-items: center; gap: 22px;
  min-height: var(--header);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 16px; letter-spacing: .02em; white-space: nowrap;
}
.logo svg, .logo img { height: 42px; width: auto; }
.nav {
  display: flex; gap: 16px; margin-left: auto;
  font-weight: 500; font-size: 13px;
}
.nav a { color: #eee; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--green); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.phone-block { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.phone { font-weight: 800; white-space: nowrap; color: #fff; font-size: 15px; }
.phone-block span { font-size: 11px; color: #9a9a9a; }
.lang { font-size: 13px; font-weight: 600; color: #777; }
.lang b { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid #333; background: #111; color: #fff; border-radius: 8px; }

/* Hero */
.hero { position: relative; padding: 0 0 20px; }
.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-visual img.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .55;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.2) 100%);
}
.hero-copy { position: relative; z-index: 1; padding: 80px 0 72px; max-width: 640px; }
.price-line { margin: 18px 0 22px; font-size: 18px; }
.price-line strong { font-size: 40px; color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  background: rgba(0,0,0,.55); border: 1px solid #333;
  padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
}

/* Trial */
.trial {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px;
  background: var(--green); color: #111; border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100%);
  padding: 36px 48px;
  margin-top: 8px;
}
.trial h2 { color: #111; }
.discount { font-size: 72px; font-weight: 800; line-height: 1; }
.trial form { display: grid; gap: 10px; }
.trial input {
  border: 0; border-radius: 8px; padding: 14px 16px; background: #111; color: #fff;
}
.trial input::placeholder { color: #999; }
.trial .btn-accent { width: 100%; background: #111; color: var(--green); }

/* Compare */
.compare { overflow: auto; }
.compare table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 12px; overflow: hidden; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: #1c1c1c; color: #fff; }
.compare td:nth-child(2) { color: var(--green); font-weight: 700; }
.ok { color: var(--green); font-weight: 800; }
.no { color: var(--danger); }

/* Safety */
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.safety-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px; min-height: 150px;
}
.safety-card span { font-size: 26px; display: block; margin-bottom: 10px; color: var(--green); }

/* Calculator */
.calc {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 28px;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #ddd; }
.field input, .field select {
  border: 1px solid #333; border-radius: 8px; padding: 12px 14px; background: #0a0a0a; color: #fff;
}
.seg { display: flex; background: #0a0a0a; border: 1px solid #333; border-radius: 8px; padding: 4px; }
.seg button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 6px; cursor: pointer; font-weight: 700; color: #aaa; }
.seg button.on { background: var(--green); color: #111; }
.calc-result {
  background: var(--green); color: #111; border-radius: 12px; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.kcal { font-size: 64px; font-weight: 800; line-height: 1; }
.suggested { margin-top: 16px; background: rgba(0,0,0,.12); border-radius: 10px; padding: 12px; }
.suggested a { color: #111; text-decoration: underline; }

/* Programs */
.tabs {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  justify-content: flex-start; margin-bottom: 28px;
  border-bottom: 1px solid #333; padding-bottom: 0;
}
.tab {
  border: 0; background: transparent; color: #cfcfcf;
  border-radius: 0; padding: 0 0 12px;
  cursor: pointer; font-weight: 600; font-size: 15px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab.on { background: transparent; color: var(--green); border-bottom-color: var(--green); }
.days { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 28px; }
.day {
  width: 48px; height: 48px; border-radius: 10px; border: 1px solid #4a4a4a;
  background: transparent; color: #fff; cursor: pointer; font-weight: 700; font-size: 14px;
}
.day.on { background: var(--green); color: #111; border-color: var(--green); }
.program-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; }
.menu-card { background: transparent; border: 0; padding: 0; }
.price-card {
  background: #2b2b2b; border: 0;
  border-radius: 16px; padding: 28px 26px;
}
.ration-title { font-size: 22px; margin-bottom: 18px; }
.meal { padding: 0 0 16px; border: 0; }
.meal b { display: block; font-size: 15px; text-transform: none; letter-spacing: 0; color: #fff; margin-bottom: 6px; }
.meal-row {
  display: flex; align-items: baseline; gap: 8px;
  color: #d4d4d4; font-size: 14px; margin: 4px 0;
}
.meal-row .dots {
  flex: 1; border-bottom: 1px dotted #6a6a6a; min-width: 24px;
  transform: translateY(-5px);
}
.meal-row .w { white-space: nowrap; color: #bbb; }
.meal-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 18px 0 10px; }
.meal-thumbs img { height: 92px; width: 100%; object-fit: cover; border-radius: 8px; }
.menu-note { font-size: 12px; color: #888; margin-top: 8px; }
.price-title { font-size: 18px; margin: 8px 0 14px; }
.price-table { margin-bottom: 18px; }
.price-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #3d3d3d; font-size: 15px; }
.price-row s { color: #7a7a7a; margin-right: 8px; font-weight: 400; }
.price-row b { font-weight: 700; }
.btn-order { width: 100%; padding: 16px; font-size: 16px; border-radius: 10px; }
.program-desc { color: var(--muted); margin: 0 0 18px; font-size: 14px; line-height: 1.55; }

.float-dock { position: fixed; z-index: 60; pointer-events: none; }
.to-top {
  pointer-events: auto; position: fixed; left: 18px; bottom: 18px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 2px solid var(--green); color: var(--green); font-size: 18px; background: transparent;
}

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
}
.p-card img { height: 190px; width: 100%; object-fit: cover; object-position: center; }
.p-card .pad { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card h3 { font-size: 22px; }
.kcal-badge { color: var(--green); font-weight: 800; }
.p-card .btn { margin-top: auto; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 24px;
}
.num {
  width: 42px; height: 42px; border-radius: 8px; background: var(--green-dim);
  color: var(--green); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}

.how-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0 100px;
  background: #1a1a1a;
}
.how-title {
  text-align: center;
  font-size: clamp(32px, 4.2vw, 48px);
  margin: 0 0 36px;
}
.how-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 380px) 1fr;
  grid-template-areas:
    "tl photo tr"
    "bl photo br";
  column-gap: 18px;
  row-gap: 48px;
  align-items: center;
  min-height: 480px;
}
.how-orbit {
  position: absolute;
  inset: 6% 4% 8%;
  width: auto;
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.how-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.how-item-tl { grid-area: tl; justify-content: flex-end; text-align: right; }
.how-item-bl { grid-area: bl; justify-content: flex-end; text-align: right; }
.how-item-tr { grid-area: tr; }
.how-item-br { grid-area: br; }
.how-copy { max-width: 280px; }
.how-copy h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}
.how-copy p {
  color: #d4d4d4;
  font-size: 14px;
  line-height: 1.55;
}
.how-ico {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  color: var(--green);
}
.how-ico svg { width: 100%; height: 100%; }
.how-photo {
  grid-area: photo;
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 400px);
}
.how-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: center 45%;
  mask-image: radial-gradient(ellipse 72% 68% at 50% 48%, #000 52%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 48%, #000 52%, transparent 78%);
}
.how-leaf {
  position: absolute;
  width: 280px;
  height: 220px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 55% at 45% 40%, #7dbb22 0%, transparent 62%),
    radial-gradient(ellipse 28% 40% at 62% 58%, #a8e02e 0%, transparent 60%);
  filter: blur(6px);
  opacity: .55;
}
.how-leaf-l { left: -70px; bottom: -40px; transform: rotate(-25deg); }
.how-leaf-r { right: -80px; bottom: -50px; transform: scaleX(-1) rotate(-18deg); }
.how-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.22) 0.7px, transparent 1.2px);
  background-size: 18px 16px;
  opacity: .35;
  mask-image: linear-gradient(to top, #000, transparent);
}
.num {
  width: 42px; height: 42px; border-radius: 8px; background: var(--green-dim);
  color: var(--green); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}

.dishes-section { padding-top: 20px; }
.dishes-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 28px;
}
.dishes-head h2 { margin-bottom: 8px; max-width: 720px; }
.dishes-head .lead { margin: 0; }
.dish-arrows { display: flex; gap: 10px; flex-shrink: 0; }
.dish-arrows button {
  width: 48px; height: 36px; background: transparent; border: 0;
  color: var(--green); font-size: 28px; cursor: pointer; line-height: 1;
}
.dish-arrows button:hover { color: var(--green-2); }
.dish-slider { overflow: hidden; }
.dish-track { display: flex; gap: 20px; transition: transform .35s ease; }
.dish-card { flex: 0 0 calc(25% - 15px); min-width: 220px; }
.dish-photo { position: relative; border-radius: 14px; overflow: hidden; }
.dish-photo img { width: 100%; height: 300px; object-fit: cover; }
.dish-tags {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.tag-meal {
  background: #111; color: #fff; font-size: 12px; font-weight: 600;
  padding: 6px 10px; border-radius: 4px;
}
.tag-kcal {
  border: 1px solid var(--green); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.35);
}
.dish-name { margin-top: 12px; font-size: 15px; color: #ddd; line-height: 1.35; }
.program-photo, .program-hero-photo {
  width: 100%; height: 220px; object-fit: cover; border-radius: 10px; margin: 0 0 14px;
}
.program-hero-photo { height: 340px; border-radius: 12px; margin: 18px 0 0; }

/* FAQ */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq-item button {
  width: 100%; text-align: left; background: transparent; border: 0; padding: 18px 20px;
  font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; color: #fff;
}
.faq-item .a { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open .a { display: block; }

/* Form */
.order-box {
  background: #2b2b2b;
  border: 1px solid var(--green);
  border-radius: 16px;
  padding: 28px 30px 32px;
}
.order-box h2 { font-size: 28px; margin-bottom: 22px; }
.order-layout {
  display: grid;
  grid-template-columns: 1.55fr .55fr;
  gap: 22px;
  align-items: start;
}
.order-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order-fields .full { grid-column: 1 / -1; }
.order-fields input,
.order-fields select,
.order-fields textarea {
  width: 100%;
  background: #3d3d3d;
  border: 0;
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
}
.order-fields textarea { min-height: 88px; resize: vertical; }
.order-fields input::placeholder,
.order-fields textarea::placeholder { color: #b0b0b0; }
.order-fields select { color: #b0b0b0; }
.order-fields select:valid { color: #fff; }
.btn-phone-order {
  display: block; width: 100%; text-align: center;
  background: var(--green); color: #111; font-weight: 800;
  padding: 16px 14px; border-radius: 8px; margin-bottom: 14px;
  font-size: 13px; line-height: 1.3;
}
.order-aside-box {
  background: #1f1f1f; border-radius: 12px; padding: 16px 16px 8px; margin-bottom: 14px;
}
.aside-label { font-size: 14px; margin-bottom: 10px; }
.radios { display: flex; gap: 18px; margin: 8px 0 14px; font-size: 14px; }
.radios label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.radios input { accent-color: var(--green); }
.order-aside-box .check { margin-bottom: 12px; font-size: 13px; }
.order-aside-box .check a { text-decoration: underline; color: #fff; }
.btn-order-main { width: 100%; padding: 16px; font-size: 16px; border-radius: 8px; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: #ccc; }
.notice { background: #1a1a1a; border: 1px solid #333; border-radius: 10px; padding: 16px; font-size: 14px; color: #ccc; }

/* Footer */
.footer { background: #000; color: #9a9a9a; padding: 48px 0 24px; margin-top: 40px; border-top: 1px solid #1c1c1c; }
.footer a:hover { color: var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { color: #fff; margin-bottom: 12px; }
.footer .logo { color: #fff; }
.copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid #1c1c1c; font-size: 13px; }

.page-hero { padding: 48px 0 10px; }
.page-hero p { max-width: 680px; color: var(--muted); margin-top: 10px; }
.content { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.content p + p { margin-top: 12px; }
.content h3 { margin: 22px 0 10px; font-size: 22px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.blog-card img { height: 180px; width: 100%; object-fit: cover; }
.blog-card .pad { padding: 18px; }
.date { color: var(--muted); font-size: 13px; }

.toast {
  position: fixed; bottom: 20px; right: 20px; background: var(--green); color: #111;
  padding: 14px 18px; border-radius: 10px; display: none; z-index: 80; font-weight: 700;
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; place-items: center; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header); left: 0; right: 0;
    background: #000; padding: 16px 24px 24px; border-bottom: 1px solid #222; z-index: 40;
  }
  .hero-grid, .trial, .calc, .program-layout, .order-layout, .footer-grid,
  .safety-grid, .program-grid, .why-grid, .gallery, .blog-grid, .form-grid, .order-fields {
    grid-template-columns: 1fr;
  }
  .how-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "tl"
      "tr"
      "bl"
      "br";
    min-height: 0;
    row-gap: 28px;
  }
  .how-orbit, .how-leaf { display: none; }
  .how-item-tl, .how-item-bl { text-align: left; justify-content: flex-start; }
  .how-item-tl { order: 0; flex-direction: row-reverse; }
  .how-item-bl { flex-direction: row-reverse; }
  .how-photo { width: min(100%, 320px); }
  .trial { clip-path: none; border-radius: 12px; padding: 28px; }
  .header-inner { position: relative; }
  .meal-thumbs { grid-template-columns: repeat(3, 1fr); }
  .about-grid, body[data-page="about"] .container[style] { grid-template-columns: 1fr !important; }
  .hero-visual { min-height: 480px; }
  .dishes-head { flex-direction: column; align-items: flex-start; }
  .dish-card { flex: 0 0 calc(50% - 10px); min-width: 0; }
}
