/* Móvilin — одна таблица стилей для всех страниц. Без шрифтов и файлов: системный шрифт. */

:root {
  --green: #1a523b;
  --green-dark: #143f2d;
  --green-soft: #e8f4ec;
  --accent: #13bd68;
  --accent-dark: #0fa05a;
  --red: #c1162c;
  --bg: #fbfffd;
  --text: #1d2a24;
  --muted: #5b665f;
  --line: #dbe7df;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Шапка ---------- */
.top { padding: 16px 0; }

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red);
}

.top-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--green);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff;
}

/* ---------- Первый экран ---------- */
.hero { padding: 20px 0 44px; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: 38px;
  line-height: 1.18;
  color: var(--green-dark);
}

.hero .lead {
  margin: 0 0 22px;
  font-size: 18px;
  color: var(--muted);
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 0 0 24px;
}

.price strong {
  font-size: 36px;
  line-height: 1;
  color: var(--green);
}

.price span {
  font-size: 15px;
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: var(--accent-dark); }

.hero-img {
  justify-self: center;
  width: 100%;
  max-width: 340px;
  padding: 22px;
  border-radius: 28px;
  background: var(--green-soft);
}

/* ---------- Секции ---------- */
.section { padding: 40px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section h2 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.25;
  color: var(--green-dark);
}

.section p { margin: 0 0 12px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
}

/* Шаги */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 22px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

/* Состав */
.ingredients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.ingredients li {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.ingredients img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ingredients .cap { padding: 12px 14px 14px; }
.ingredients strong { display: block; font-size: 16px; }
.ingredients span { font-size: 13px; color: var(--muted); }

.inci {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.inci b { color: var(--text); }

/* Предупреждения */
.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  border-radius: 0 14px 14px 0;
  background: #f3f7f4;
  font-size: 15px;
}

.notice p { margin: 0 0 8px; }
.notice p:last-child { margin: 0; }

/* ---------- Форма ---------- */
.order { padding: 44px 0 56px; }

.order-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 34px 28px 30px;
  border-radius: 28px;
  background: var(--green);
  color: #fff;
  text-align: center;
}

.order-card h2 {
  margin: 0 0 6px;
  font-size: 26px;
  color: #fff;
}

.order-price {
  margin: 0 0 20px;
  font-size: 16px;
  color: #d7ebe0;
}

.order-price strong { font-size: 28px; color: #fff; }

.field {
  display: block;
  width: 100%;
  height: 54px;
  margin: 0 0 14px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.field:focus { outline: 3px solid var(--accent); outline-offset: 1px; }

.order-card .btn {
  width: 100%;
  margin-top: 6px;
  padding: 16px 20px;
}

.order-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: #d7ebe0;
}

/* ---------- Подвал ---------- */
.foot {
  padding: 28px 0 36px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.foot p { margin: 0 0 8px; }

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 14px;
}

.foot a { color: var(--green); }

/* ---------- Внутренние страницы (политика, условия, контакты, спасибо) ---------- */
.page { padding: 20px 0 48px; }

.page h1 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.25;
  color: var(--green-dark);
}

.page h2 {
  margin: 26px 0 8px;
  font-size: 19px;
  color: var(--green-dark);
}

.page p, .page li { max-width: 760px; }

.thanks {
  max-width: 520px;
  margin: 40px auto 0;
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.thanks h1 { font-size: 28px; }

/* ---------- Телефоны и планшеты ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 30px; }
  .hero-img { order: -1; max-width: 260px; }
  .steps { grid-template-columns: 1fr; }
  .ingredients { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 26px; }
  .price strong { font-size: 30px; }
  .order-card { padding: 28px 18px 24px; border-radius: 22px; }
  .top-link { padding: 7px 12px; }
}
