/* ============================================================
   No Guilt — сайт Екатерины Игумновой
   Дизайн-система:
   - шалфей #3D5247 (тёмный) / #E8EEE8 (светлый)
   - молоко #F5F0E8
   - графит #2A2A2A
   - слива #6E4462 (фон блока доверия) / #7B4F6B (кнопки, акценты)
   - Cormorant Garamond — заголовки (прямое начертание)
   - Manrope — интерфейс, подписи, тело
   ============================================================ */

:root {
  --sage: #3D5247;
  --sage-deep: #33453B;
  --sage-light: #E8EEE8;
  --milk: #F5F0E8;
  --ink: #2A2A2A;
  --plum: #7B4F6B;
  --plum-deep: #6E4462;
  --rule: rgba(42, 42, 42, 0.14);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --gutter: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--milk);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

a { color: inherit; }
img { max-width: 100%; }

/* ============================================================
   ОБЩЕЕ
   ============================================================ */

.section { padding: 112px var(--gutter); }

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0 0 48px;
}
.section__title--center { text-align: center; }

.section__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.8;
  margin: -32px 0 40px;
  max-width: 760px;
}

.section__note {
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.72;
  margin: 32px 0 0;
}
.section__note--ruled {
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  margin-top: 0;
}

.num {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.6;
  letter-spacing: 0.5px;
}

.portrait-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 13px;
  color: var(--milk);
  opacity: 0.85;
}

/* Кнопки */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.btn--light { background: var(--milk); color: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }

.btn--plum { background: var(--plum); color: var(--milk); }
.btn--plum:hover { background: var(--plum-deep); box-shadow: 0 8px 18px rgba(123, 79, 107, 0.25); }

.btn--sage { background: var(--sage); color: var(--milk); }
.btn--sage:hover { background: var(--sage-deep); box-shadow: 0 8px 18px rgba(61, 82, 71, 0.2); }

/* ============================================================
   HERO + ХЕДЕР
   ============================================================ */

.hero {
  background: var(--sage);
  color: var(--milk);
  padding: 32px var(--gutter) 88px;
}

.site-header {
  max-width: 1120px;
  margin: 0 auto 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-header__brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--milk);
  text-decoration: none;
  white-space: nowrap;
  margin-right: 12px;
}
.site-header__nav {
  display: flex;
  gap: 32px;
}
.site-header__nav a,
.site-header__meta {
  font-size: 14px;
  color: var(--milk);
  text-decoration: none;
}
.site-header__nav a:hover { opacity: 0.7; }
.site-header__meta {
  margin: 0 0 0 auto;
  opacity: 0.85;
  white-space: nowrap;
}

.hero__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 64px;
  align-items: start;
}

.hero__headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.1;
  margin: 0 0 36px;
  color: var(--milk);
}
.hero__lede {
  font-size: 18px;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 0 24px;
  color: rgba(245, 240, 232, 0.92);
}
.hero__content .btn {
  display: block;
  max-width: 400px;
  margin-top: 40px;
}
.hero__more {
  display: inline-block;
  margin-top: 32px;
  font-size: 16px;
  color: var(--milk);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.hero__more span { margin-left: 6px; }
.hero__note {
  margin: 24px 0 0;
  font-size: 13px;
  color: rgba(245, 240, 232, 0.6);
}

.hero__portrait {
  position: relative;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(245, 240, 232, 0.7);
  background:
    radial-gradient(ellipse at 70% 25%, rgba(255, 255, 255, 0.10), transparent 60%),
    rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.hero__portrait img,
.about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__portrait img { object-position: 50% 45%; }
.about__photo img { object-position: 50% 25%; }

/* ============================================================
   ВОЗМОЖНО, ВЫ СЕЙЧАС ЗДЕСЬ
   ============================================================ */

.situations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.situation {
  background: var(--sage-light);
  border-radius: 3px;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
}
.situation__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  margin: 14px 0 40px;
  min-height: 3.6em;
}
.situation__text {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.75;
  margin: 0 0 36px;
}
.situation__link {
  margin-top: auto;
  font-size: 15px;
  text-decoration: none;
}
.situation__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.situations__other {
  margin: 48px 0 0;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  font-size: 14px;
  opacity: 0.85;
}
.situations__other a { text-underline-offset: 3px; }

/* ============================================================
   СТРОКИ: «С чем можно прийти» и «Что будет после записи»
   ============================================================ */

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 24px;
}
.row__title {
  font-family: var(--serif);
  font-variant-numeric: lining-nums;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  margin: -4px 0 0;
  max-width: 300px;
}
.row__text {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.75;
  margin: 0;
}
.specialties { padding-bottom: 72px; }
.specialties .section__note { margin-top: 28px; }

.rows--compact .row { grid-template-columns: 48px minmax(0, 0.9fr) minmax(0, 1.4fr); }
.rows--compact .row:last-child { border-bottom: 0; }
.rows--compact .row__title { font-size: 22px; }

/* ============================================================
   ОБО МНЕ
   ============================================================ */

.about { padding-top: 72px; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 48px;
  align-items: start;
}
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 65% 30%, rgba(255, 255, 255, 0.14), transparent 60%),
    #5E7466;
  overflow: hidden;
}
.about__text .section__title { margin-bottom: 12px; }
.about__subtitle {
  font-size: 16px;
  opacity: 0.8;
  margin: 0 0 28px;
}
.about__text p:not(.about__subtitle) {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 620px;
}

/* ============================================================
   НА ЧТО МОЖНО ОПЕРЕТЬСЯ (сливовый)
   ============================================================ */

.trust {
  background: var(--plum-deep);
  color: var(--milk);
  padding-top: 88px;
  padding-bottom: 88px;
}
.trust .section__title { color: var(--milk); }

.trust__docs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.25);
}
.doc { margin: 0; }
.doc__title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 18px;
  min-height: 2.6em;
}
.doc__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1.15;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #EFEBE4;
  overflow: hidden;
}
button.doc__frame { cursor: zoom-in; }
button.doc__frame:focus-visible { outline: 2px solid var(--milk); outline-offset: 3px; }
.doc__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doc__zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(45deg, transparent 45%, var(--ink) 45%, var(--ink) 55%, transparent 55%);
  opacity: 0.8;
}
.doc__zoom::before,
.doc__zoom::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--ink);
}
.doc__zoom::before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.doc__zoom::after { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.doc figcaption {
  text-align: center;
  font-size: 12px;
  opacity: 0.75;
  margin-top: 12px;
}

.trust__principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.principle {
  padding: 32px 40px 32px 0;
}
.principle:nth-child(even) {
  padding: 32px 0 32px 40px;
  border-left: 1px solid rgba(245, 240, 232, 0.25);
}
.principle:nth-child(n+3) { border-top: 1px solid rgba(245, 240, 232, 0.25); }
.principle__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 10px;
}
.principle p {
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.85;
  margin: 0 0 0 16px;
  max-width: 380px;
}

/* ============================================================
   ЧТО БУДЕТ ПОСЛЕ ЗАПИСИ
   ============================================================ */

.process__grid {
  display: grid;
  grid-template-columns: 1fr 2.6fr;
  gap: 32px;
  align-items: start;
}
.process__grid .section__title { margin: 16px 0 0; }
.process__grid .rows .row:first-child { padding-top: 0; }

/* ============================================================
   ПЕРВАЯ КОНСУЛЬТАЦИЯ
   ============================================================ */

.pricing {
  background: var(--sage);
  padding: 24px var(--gutter);
}
.price-card {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--milk);
  border-radius: 3px;
  padding: 40px 48px 48px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.price-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.1;
  margin: 0 0 8px;
}
.price-card__price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  font-variant-numeric: lining-nums;
  margin: 0 0 12px;
}
.price-card__meta {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 40px;
}
.price-card__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  margin-bottom: 40px;
}
.price-card__cols > div { padding-right: 40px; }
.price-card__cols > div + div {
  padding: 0 0 0 40px;
  border-left: 1px solid var(--rule);
}
.price-card__cols p,
.price-card__cols li {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}
.price-card__cols p { margin: 0 0 18px; }
.price-card__cols ul { margin: 0 0 18px; padding-left: 20px; }
.price-card__cols li { margin-bottom: 4px; }
.price-card .btn { min-width: 320px; }

/* ============================================================
   FAQ
   ============================================================ */

.faq-section { padding-top: 80px; padding-bottom: 56px; }
.faq-section .section__title { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  position: relative;
  padding: 18px 48px 18px 8px;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 300;
  font-size: 24px;
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq summary:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.faq details p {
  margin: 0;
  padding: 0 48px 22px 8px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.78;
  max-width: 820px;
}

/* ============================================================
   ПРЕДМЕТНЫЙ КАДР
   ============================================================ */

.mood {
  padding: 8px var(--gutter) 32px;
}
.mood__photo {
  display: block;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
}

/* ============================================================
   ФИНАЛЬНЫЙ ПРИЗЫВ
   ============================================================ */

.final-cta {
  background: var(--sage);
  color: var(--milk);
  text-align: center;
  padding: 64px var(--gutter) 56px;
}
.final-cta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 20px;
}
.final-cta__lede,
.final-cta__meta,
.final-cta__hint {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto 20px;
  max-width: 720px;
  color: rgba(245, 240, 232, 0.9);
}
.final-cta__meta { margin-bottom: 28px; }
.final-cta .btn { min-width: 300px; margin-bottom: 24px; }
.final-cta__hint { font-size: 14px; margin-bottom: 0; color: rgba(245, 240, 232, 0.8); }

/* ============================================================
   ПОКА МОЖНО ПРОСТО ПОЧИТАТЬ
   ============================================================ */

.reading { padding: 64px var(--gutter) 40px; }
.reading__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
}
.reading .section__title { margin: 0; font-size: 52px; }
.reading__subtitle {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin: 4px 0 14px;
}
.reading__body p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0 0 14px;
  max-width: 520px;
}
.reading__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}
.reading__link:hover { opacity: 0.7; }

/* ============================================================
   ФУТЕР (светлый, продолжение блока «почитать»)
   ============================================================ */

.footer {
  padding: 0 var(--gutter) 32px;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.footer__col { padding-right: 48px; }
.footer__col + .footer__col {
  padding: 0 0 0 48px;
  border-left: 1px solid var(--rule);
}
.footer p { margin: 0 0 4px; opacity: 0.85; }
.footer__name { font-weight: 600; opacity: 1 !important; }
.footer a { text-underline-offset: 3px; }
.footer a:hover { opacity: 0.7; }
.footer__dot { margin: 0 6px; }
.footer__legal { margin-top: 12px !important; }
.footer .footer__disclaimer,
.footer .footer__copy {
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 820px;
  margin: 20px auto 0;
}
.footer .footer__copy { margin-top: 16px; }

/* ============================================================
   ПРОСМОТР ДОКУМЕНТА
   ============================================================ */

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
  max-height: 92vh;
}
.lightbox::backdrop { background: rgba(20, 24, 22, 0.82); }
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
}
.lightbox__close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--milk);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1024px) {
  .site-header__nav { gap: 20px; }
  .site-header__meta { display: none; }
  .hero__headline { font-size: 50px; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section__title { font-size: 36px; margin-bottom: 32px; }
  .section__lede { margin-top: -16px; }

  .site-header { margin-bottom: 40px; }
  .site-header__nav { display: none; }
  .site-header__meta { display: block; }

  .hero { padding-bottom: 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__portrait { order: -1; max-width: 320px; aspect-ratio: 4 / 5; }
  .hero__headline { font-size: 40px; }
  .hero__lede { font-size: 16px; }
  .hero__content .btn { max-width: none; }

  .situations__grid { grid-template-columns: 1fr; }
  .situation__title { min-height: 0; margin-bottom: 20px; }

  .row,
  .rows--compact .row { grid-template-columns: 40px 1fr; gap: 12px 16px; padding: 24px 0; }
  .row__text { grid-column: 2; }

  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { max-width: 320px; }

  .trust__docs { grid-template-columns: 1fr; }
  .doc__title { min-height: 0; }
  .trust__principles { grid-template-columns: 1fr; }
  .principle,
  .principle:nth-child(even) { padding: 24px 0; border-left: 0; }
  .principle + .principle { border-top: 1px solid rgba(245, 240, 232, 0.25); }

  .process__grid { grid-template-columns: 1fr; gap: 24px; }
  .process__grid .section__title { margin-top: 0; }

  .pricing { padding: 16px 12px; }
  .price-card { padding: 32px 20px 32px; }
  .price-card__price { font-size: 52px; }
  .price-card__cols { grid-template-columns: 1fr; }
  .price-card__cols > div,
  .price-card__cols > div + div { padding: 0; border-left: 0; }
  .price-card__cols > div + div { border-top: 1px solid var(--rule); padding-top: 18px; }
  .price-card .btn { min-width: 0; width: 100%; }

  .mood { padding: 0 var(--gutter) 24px; }
  .final-cta { padding: 48px var(--gutter); }
  .final-cta__title { font-size: 32px; }
  .final-cta .btn { min-width: 0; width: 100%; }
  .reading__grid { grid-template-columns: 1fr; gap: 24px; }
  .reading .section__title { font-size: 40px; }

  .footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .footer__col,
  .footer__col + .footer__col { padding: 0; border-left: 0; }
  .footer__col + .footer__col { border-top: 1px solid var(--rule); padding-top: 20px; }
  .footer .footer__disclaimer,
  .footer .footer__copy { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
