:root {
  --cream: #fff8f0;
  --cream-deep: #fef1e3;
  --coral: #ff8a70;
  --coral-deep: #f16b4d;
  /* Белый по --coral давал 2.30:1 - надпись на главной кнопке была самым
     нечитаемым текстом страницы, особенно с телефона на улице. Это тот же
     коралл, углубленный: даже светлый конец градиента дает с белым 4.76:1. */
  --coral-btn: #c8482a;
  --coral-btn-deep: #ab3a1c;
  /* --coral-deep как текст - 3.02:1 на белом и 2.87:1 на кремовом, поэтому
     у ссылок и подписей свой оттенок: 5.19 / 4.93 / 4.67:1 на белом,
     кремовом и --cream-deep. */
  --coral-text: #c04223;
  --plum: #4a3226;
  --plum-soft: #7a5c4b;
  --yellow: #ffd76a;
  --card-shadow: 0 10px 30px rgba(74, 50, 38, 0.08);
  --radius: 22px;
  font-size: 17px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--cream);
  color: var(--plum);
  line-height: 1.65;
}

a {
  color: var(--coral-text);
}

img {
  max-width: 100%;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header / nav ---------- */

.site-header {
  padding: 22px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-family: "Comfortaa", "Nunito", sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--plum);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--plum-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--coral-text);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral-btn), var(--coral-btn-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(200, 72, 42, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(200, 72, 42, 0.38);
}

.btn-ghost {
  background: #fff;
  color: var(--coral-text);
  border: 2px solid var(--coral);
}

/* ---------- hero ---------- */

.hero {
  padding: 40px 0 70px;
  text-align: center;
}

.hero .emoji-row {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.hero h1 {
  font-family: "Comfortaa", "Nunito", sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  margin: 0 0 18px;
  color: var(--plum);
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--plum-soft);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--plum-soft);
}

/* ---------- sections ---------- */

section {
  padding: 56px 0;
}

section.alt {
  background: var(--cream-deep);
  border-radius: 40px;
}

h2.section-title {
  font-family: "Comfortaa", "Nunito", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  text-align: center;
  margin: 0 0 10px;
}

p.section-lead {
  text-align: center;
  color: var(--plum-soft);
  max-width: 560px;
  margin: 0 auto 36px;
}

.contact-details {
  margin: 20px 0 0;
  color: var(--plum-soft);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* ---------- perks grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.card .card-emoji {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--plum-soft);
  font-size: 0.95rem;
}

/* ---------- pricing ---------- */

.pricing-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--card-shadow);
  padding: 40px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: -42px;
  background: var(--yellow);
  color: var(--plum);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 48px;
  transform: rotate(35deg);
}

.price-old {
  text-decoration: line-through;
  color: var(--plum-soft);
  font-size: 1.3rem;
  opacity: 0.7;
}

.price-new {
  font-family: "Comfortaa", "Nunito", sans-serif;
  font-size: 3rem;
  color: var(--coral-deep);
  margin: 4px 0;
}

.price-new span {
  font-size: 1.1rem;
  color: var(--plum-soft);
  font-weight: 600;
}

/* Живой остаток мест. Появляется только когда бот ответил (см. скрипт в
   конце index.html) - до этого атрибут hidden держит строку невидимой, и
   верстка карточки не дергается. */
.seats-left {
  display: inline-block;
  margin: 6px 0 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--plum);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Отзывы Юля пишет одним текстом в студии, переносы строк - ее. */
.reviews-body {
  margin: 0;
  text-align: left;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.reviews-body:empty {
  display: none;
}

/* Отзыв участницы: живой человек, поэтому имя отдельной строкой и без точки. */
.review {
  margin: 18px 0 0;
  padding: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.review p {
  margin: 0;
}

.review cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-weight: 700;
  color: var(--coral-text);
}

.pricing-includes {
  text-align: left;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.pricing-includes li {
  padding: 7px 0;
  display: flex;
  gap: 10px;
}

.pricing-fineprint {
  font-size: 0.85rem;
  color: var(--plum-soft);
  margin-top: 18px;
}

/* ---------- faq ---------- */

.faq-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--coral-deep);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 20px 48px;
  color: var(--plum-soft);
}

/* ---------- philosophy ---------- */

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  text-align: center;
}

.philosophy-grid .no-item {
  color: var(--plum-soft);
  font-weight: 600;
}

.philosophy-grid .no-item span {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 40px 0 60px;
  text-align: center;
  color: var(--plum-soft);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--plum-soft);
}

.site-footer .seller {
  margin: 12px 0 0;
  line-height: 1.8;
}

.site-footer .legal-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- legal document pages ---------- */

.doc-page {
  padding: 50px 0 90px;
}

.doc-meta {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--card-shadow);
  margin-bottom: 36px;
  font-size: 0.92rem;
  color: var(--plum-soft);
}

.doc-meta strong {
  color: var(--plum);
}

.doc-body {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 56px);
  box-shadow: var(--card-shadow);
}

.doc-body h1 {
  font-family: "Comfortaa", "Nunito", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-top: 0;
}

.doc-body h2 {
  font-size: 1.25rem;
  margin-top: 2em;
  color: var(--coral-deep);
}

.doc-body p,
.doc-body li {
  color: var(--plum-soft);
}

.doc-body ul {
  padding-left: 1.2em;
}

.doc-body hr {
  border: none;
  border-top: 1px solid var(--cream-deep);
  margin: 2.5em 0;
}

@media (max-width: 600px) {
  .pricing-badge {
    right: -50px;
    top: 14px;
  }
  .faq-item .faq-answer {
    padding-left: 22px;
  }
}
