/* Женский круг — тёплая палитра: терракота, песок, олива, золото */

.circle-page {
  --clay: #8a3b2a;
  --clay-deep: #6a2a1d;
  --clay-soft: #b5614c;
  --sand: #ecd8ba;
  --sand-2: #f7ecdc;
  --sand-3: #f2e2cb;
  --cream: #fdf9f3;
  --olive: #5f6440;
  --olive-deep: #454a30;
  --gold: #b8893c;
  --gold-soft: #d8b071;
  --rose: #dca9a3;
  --turq: #4f8b85;
  --ink: #3a2f28;
  --ink-soft: #6a5a4d;

  background:
    radial-gradient(900px 500px at 0% 0%, #fbf1e3 0%, transparent 55%),
    radial-gradient(900px 600px at 100% 100%, #f6e6d6 0%, transparent 60%),
    var(--cream);
  color: var(--ink);
}

.circle-page h1,
.circle-page h2,
.circle-page h3 {
  color: var(--clay-deep);
  letter-spacing: -.01em;
}

.circle-page p { color: var(--ink-soft); }
.circle-page .muted { color: #8d7c6c; }

/* ── шапка ── */
.c-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: calc(18px + env(safe-area-inset-top, 0px));
  color: #fdf3e6;
}
.c-top .back {
  color: #fdf3e6;
  font-size: 15.5px;
  padding: 12px 20px;
  background: rgba(58, 22, 16, .34);
  border: 1px solid rgba(255, 241, 226, .38);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(40, 14, 10, .25);
  opacity: 1;
}
.c-top .back:hover { background: rgba(58, 22, 16, .48); }
.c-brand {
  font-family: Georgia, serif;
  letter-spacing: .34em;
  font-size: 13px;
  text-transform: uppercase;
  color: #fdf3e6;
}

/* ── герой ── */
.c-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.c-hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('/assets/circle-hero');
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.02);
  z-index: -2;
}
.c-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(58, 22, 16, .55) 0%, rgba(58, 22, 16, .12) 34%, rgba(58, 22, 16, .18) 58%, rgba(48, 18, 13, .86) 100%),
    radial-gradient(700px 400px at 15% 85%, rgba(138, 59, 42, .45) 0%, transparent 70%);
}
.c-hero-body {
  width: 100%;
  padding-bottom: 64px;
  padding-top: 120px;
  color: #fdf3e6;
  max-width: 1080px;
}
.c-hero-body .kicker,
.c-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
}
.c-hero-body .kicker { color: #e9c99b; }
.c-hero h1 {
  color: #fff7ec;
  font-size: clamp(52px, 9vw, 96px);
  line-height: .94;
  margin: 0 0 16px;
  text-shadow: 0 18px 44px rgba(40, 14, 10, .35);
}
.c-hero .lead {
  max-width: 520px;
  color: #f6e7d6;
  font-size: 16.5px;
  margin-bottom: 24px;
  text-shadow: 0 6px 20px rgba(40, 14, 10, .3);
}

.circle-page .btn.warm {
  background: linear-gradient(180deg, var(--clay-soft) 0%, var(--clay) 100%);
  color: #fff6ea;
  box-shadow: 0 18px 34px rgba(90, 32, 22, .38);
  border: 1px solid rgba(255, 232, 206, .22);
}
.circle-page .btn.warm:hover { filter: brightness(1.07); }
.circle-page .btn.primary {
  background: linear-gradient(180deg, var(--clay-soft) 0%, var(--clay-deep) 100%);
  box-shadow: 0 12px 26px rgba(106, 42, 29, .3);
}

/* ── сетка страницы ── */
.c-main { padding-bottom: 40px; }

.c-intro {
  display: grid;
  gap: 24px;
  margin: 56px 0 34px;
  align-items: center;
}
@media (min-width: 860px) {
  .c-intro { grid-template-columns: 1.15fr .85fr; gap: 40px; }
}
.c-intro h2 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 14px; }
.c-intro p { font-size: 15.5px; }
.c-intro strong { color: var(--clay); }

.c-intro-photo {
  aspect-ratio: 4 / 5;
  border-radius: 220px 220px 26px 26px;
  background-image:
    linear-gradient(180deg, rgba(120, 45, 30, .06), rgba(120, 45, 30, .12)),
    url('/assets/circle-hands');
  background-size: cover;
  background-position: center;
  box-shadow:
    0 30px 60px rgba(106, 42, 29, .28),
    inset 0 0 0 1px rgba(255, 235, 210, .5);
}

/* ── правила ── */
.c-rules {
  margin: 34px 0;
  padding: 28px 26px;
  border-radius: 32px;
  background:
    radial-gradient(500px 260px at 100% 0%, #fbe7cd 0%, transparent 60%),
    linear-gradient(170deg, #fdf4e7 0%, #f4e3ca 100%);
  border: 1px solid #e3c9a6;
  box-shadow: 0 26px 54px rgba(106, 42, 29, .14);
  position: relative;
  overflow: hidden;
}
.c-rules::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--clay) 0%, var(--gold) 45%, var(--olive) 100%);
  opacity: .85;
}
.c-rules h2 { font-size: clamp(28px, 4.6vw, 38px); margin-bottom: 10px; }
.c-rules-head { margin-bottom: 6px; }
.c-rules .muted { font-size: 13px; }

/* ── раскрывающиеся блоки ── */
.c-rules summary,
.c-gives summary,
.c-why summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.c-rules summary::-webkit-details-marker,
.c-gives summary::-webkit-details-marker,
.c-why summary::-webkit-details-marker {
  display: none;
}

.c-rules summary::after,
.c-gives summary::after,
.c-why summary::after {
  content: '+';
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--clay);
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(138, 59, 42, .22);
  transition: background .2s ease, transform .2s ease;
}
.c-rules[open] summary::after,
.c-gives[open] summary::after,
.c-why[open] summary::after {
  content: '−';
}
.c-rules summary:hover::after,
.c-why summary:hover::after {
  background: rgba(138, 59, 42, .1);
}

.c-summary-title {
  display: block;
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4.4vw, 38px);
  line-height: 1.12;
  color: var(--clay-deep);
}

.c-gives .c-summary-title { color: #fff3e2; }
.c-gives summary::after {
  color: #f7e5cf;
  background: rgba(255, 246, 234, .14);
  border-color: rgba(255, 243, 226, .38);
}
.c-gives summary:hover::after { background: rgba(255, 246, 234, .24); }

.c-rules .c-body,
.c-why .c-body { margin-top: 16px; }
.c-gives .c-body { margin-top: 18px; }

/* ── работа с психосоматикой ── */
.psy-card {
  display: grid;
  gap: 18px;
  margin: 24px 0;
  padding: 24px;
  border-radius: 30px;
  background:
    radial-gradient(480px 240px at 100% 0%, #fbe3d4 0%, transparent 62%),
    linear-gradient(170deg, #fffaf2 0%, #f4e4cd 100%);
  border: 1px solid #e3c9a6;
  box-shadow: 0 22px 46px rgba(106, 42, 29, .14);
}
@media (min-width: 760px) {
  .psy-card { grid-template-columns: 1.5fr .5fr; align-items: center; }
}
.psy-card h2 { font-size: clamp(26px, 4.4vw, 36px); margin-bottom: 8px; }
.psy-card p { font-size: 14.8px; color: #5b4b3d; }
.psy-side {
  text-align: center;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 253, 248, .75);
  border: 1px solid #ecd9bd;
}
.psy-price {
  font-family: Georgia, serif;
  font-size: clamp(30px, 4.6vw, 40px);
  color: var(--clay);
  line-height: 1;
}
.psy-time {
  margin: 6px 0 14px;
  font-size: 13px;
  color: #9c7f61;
}

/* ── списки ── */
.c-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 9px;
}
.c-list li {
  position: relative;
  padding-left: 26px;
  color: #57473a;
  font-size: 14.5px;
  line-height: 1.6;
}
.c-list li::before {
  content: '✿';
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--clay-soft);
  font-size: 13px;
}
.c-list.two { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .c-list.two { grid-template-columns: 1fr 1fr; column-gap: 30px; }
}

/* ── галерея ── */
.c-gallery {
  display: grid;
  gap: 14px;
  margin: 34px 0;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 820px) {
  .c-gallery { grid-template-columns: 1.1fr .95fr .95fr; align-items: end; }
}
.c-shot { margin: 0; }
.c-shot-img {
  border-radius: 26px;
  background-size: cover;
  background-position: center;
  aspect-ratio: 4 / 5;
  box-shadow: 0 22px 44px rgba(106, 42, 29, .18);
  border: 1px solid rgba(214, 184, 146, .6);
}
.c-shot.tall .c-shot-img { border-radius: 220px 220px 26px 26px; }
.c-shot-img.hands { background-image: url('/assets/circle-hands'); background-position: center 40%; }
.c-shot-img.candles { background-image: url('/assets/circle-candles'); }
.c-shot-img.garden { background-image: url('/assets/circle-garden'); }
.c-shot figcaption {
  margin-top: 9px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9c7f61;
  text-align: center;
}

/* ── дресс-код ── */
.c-details {
  margin: 30px 0;
  padding: 26px 24px;
  border-radius: 30px;
  background: linear-gradient(175deg, #fbf3e6 0%, #f3e6d2 100%);
  border: 1px solid #e6cfae;
  box-shadow: 0 20px 44px rgba(106, 42, 29, .12);
}
.c-details summary {
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--clay-deep);
  list-style: none;
}
.c-details summary::-webkit-details-marker { display: none; }
.c-details summary::after {
  content: '＋';
  float: right;
  color: var(--gold);
  font-size: 20px;
  line-height: 1.6;
}
.c-details[open] summary::after { content: '−'; }
.c-details-body { margin-top: 14px; }
.c-details-body p { color: #5b4b3d; font-size: 14.5px; }

/* ── что даёт круг ── */
.c-gives {
  margin: 36px 0;
  padding: 34px 24px;
  border-radius: 34px;
  background:
    radial-gradient(600px 320px at 0% 0%, rgba(181, 97, 76, .5) 0%, transparent 60%),
    radial-gradient(500px 280px at 100% 100%, rgba(184, 137, 60, .28) 0%, transparent 60%),
    linear-gradient(160deg, #7d3324 0%, #5f241a 100%);
  color: #f8e9d6;
  box-shadow: 0 34px 70px rgba(95, 36, 26, .35);
}
.c-gives h2 {
  color: #fff3e2;
  font-size: clamp(28px, 4.8vw, 40px);
  margin-bottom: 12px;
}
.c-gives .c-eyebrow { color: #e8c79a; }
.c-gives .c-list li { color: #f3e2ce; }
.c-gives .c-list li::before { color: #e8c79a; }

/* ── зачем это нужно ── */
.c-why {
  margin: 36px 0;
  padding: 30px 26px;
  border-radius: 32px;
  background: linear-gradient(180deg, #fffaf1 0%, #f8efdf 100%);
  border: 1px solid #e8d5ba;
  border-left: 6px solid var(--olive);
  box-shadow: 0 22px 46px rgba(106, 42, 29, .1);
}
.c-why h2 { font-size: clamp(26px, 4.4vw, 36px); }
.c-why p { font-size: 14.8px; }

/* ── чат ── */
.c-chat {
  margin: 40px 0;
  padding: 24px;
  border-radius: 34px;
  background:
    radial-gradient(600px 300px at 100% 0%, #fbe3d4 0%, transparent 60%),
    radial-gradient(500px 260px at 0% 100%, #f9ecd8 0%, transparent 60%),
    linear-gradient(180deg, #fffaf2 0%, #f5e7d3 100%);
  border: 1px solid #e5cdab;
  box-shadow: 0 30px 64px rgba(106, 42, 29, .18);
  position: relative;
  overflow: hidden;
}
.c-chat::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--olive) 0%, var(--gold) 50%, var(--clay) 100%);
  opacity: .8;
}

.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.chat-head h2 { margin: 0 0 4px; font-size: clamp(26px, 4.4vw, 36px); }
.chat-sub {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.chat-badge {
  flex: 0 0 auto;
  background: rgba(95, 100, 64, .12);
  color: var(--olive-deep);
  border: 1px solid rgba(95, 100, 64, .25);
  font-size: 11px;
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.chat-name {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.chat-name.hidden { display: none; }
.chat-name label { font-size: 12px; color: #8a6a4c; }
.chat-name input {
  flex: 1 1 160px;
  min-width: 0;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1px solid #dfc6a2;
  background: #fffdf8;
  font: inherit;
  color: #3a2c20;
}
.chat-name input:focus,
.chat-form input:focus {
  outline: none;
  border-color: var(--clay-soft);
  box-shadow: 0 0 0 3px rgba(181, 97, 76, .16);
}

.chat-messages {
  height: min(52vh, 470px);
  overflow-y: auto;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, .92) 0%, rgba(250, 240, 224, .92) 100%);
  border: 1px solid #ecd9bd;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-thumb {
  background: #d9bf98;
  border-radius: 999px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  max-width: 88%;
}
.chat-msg.own {
  margin-left: auto;
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f0dcc0 0%, #e3c9a6 100%);
  color: #7a4a33;
  font-family: Georgia, serif;
  font-size: 13px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.chat-bubble {
  background: #fffaf1;
  border: 1px solid #eddcc2;
  border-radius: 18px 18px 18px 5px;
  padding: 10px 13px;
  box-shadow: 0 8px 18px rgba(106, 42, 29, .07);
}
.chat-msg.own .chat-bubble {
  background: linear-gradient(180deg, #b5614c 0%, #8a3b2a 100%);
  border-color: #7d3324;
  border-radius: 18px 18px 5px 18px;
  box-shadow: 0 10px 22px rgba(106, 42, 29, .22);
}

.chat-meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 3px;
  font-size: 10px;
  color: #a48a6c;
}
.chat-msg.own .chat-meta { justify-content: flex-end; color: #f0d2b8; }
.chat-author { font-weight: 700; color: #8a5530; }
.chat-msg.own .chat-author { color: #ffeeda; }

.chat-text {
  font-size: 14px;
  line-height: 1.55;
  color: #3f362c;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-msg.own .chat-text { color: #fff6ea; }

.chat-system {
  align-self: center;
  max-width: 92%;
  text-align: center;
  padding: 8px 13px;
  border-radius: 12px;
  background: rgba(95, 100, 64, .1);
  color: #6b6242;
  font-size: 12px;
  font-style: italic;
  line-height: 1.45;
}

.chat-empty {
  margin: auto;
  text-align: center;
  padding: 30px 10px;
  color: #a08a6e;
  font-size: 13px;
}

.chat-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.chat-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid #dfc6a2;
  background: #fffdf8;
  font: inherit;
  font-size: 14px;
  color: #3a2c20;
}
.chat-send {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #b5614c 0%, #7d3324 100%);
  color: #fff6ea;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(106, 42, 29, .3);
}
.chat-send:hover { filter: brightness(1.08); }

.chat-note {
  margin: 11px 0 0;
  text-align: center;
  font-size: 11px;
  color: #a08a6e;
}

/* ── как проходит встреча ── */
.c-how {
  display: grid;
  margin: 40px 0;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(160deg, #fdf6ea 0%, #f2e3cc 100%);
  border: 1px solid #e6cfae;
  box-shadow: 0 26px 56px rgba(106, 42, 29, .14);
}
@media (min-width: 820px) {
  .c-how { grid-template-columns: 1fr 1fr; }
}
.c-how-photo {
  min-height: 280px;
  background-image: url('/assets/circle-garden');
  background-size: cover;
  background-position: center;
}
@media (min-width: 820px) { .c-how-photo { min-height: 100%; } }
.c-how-body { padding: 28px 24px; }

/* ── цитата ── */
.c-quote {
  margin: 44px 0 10px;
  padding: 40px 24px;
  border-radius: 34px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(181, 97, 76, .5) 0%, transparent 65%),
    linear-gradient(160deg, #7d3324 0%, #5a2118 100%);
  box-shadow: 0 30px 60px rgba(95, 36, 26, .32);
}
.c-quote p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.35;
  color: #fbeedc;
}

/* ── подвал ── */
.c-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 26px 20px 40px;
  font-size: 12px;
  color: #8d7c6c;
}
.c-foot a { color: var(--clay); text-decoration: none; }
.c-foot a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .c-top { padding-top: calc(40px + env(safe-area-inset-top, 0px)); }
  .c-hero { min-height: 74vh; }
  .c-hero-body { padding-bottom: 44px; }
  .c-chat { padding: 16px; border-radius: 26px; }
  .chat-messages { height: 54vh; }
  .chat-msg { max-width: 94%; }
  .c-rules, .c-why, .c-details, .c-gives { padding: 22px 18px; }
  .c-gallery { gap: 10px; }
}
