/* ============================================
   Психолог Рина Золотарева — фирменные стили
   Палитра: песочный / шалфейный / пыльная роза / зелёный
   ============================================ */

:root {
  --sand:        #FAF6F0;   /* фон */
  --sand-dark:   #F0E9DD;   /* секции / разделители */
  --sage:        #5C6E58;   /* основной акцент (шалфейный) */
  --sage-dark:   #44523F;
  --rose:        #D4A5A0;   /* пыльная роза */
  --rose-dark:   #B98780;
  --green:       #C2CAB6;   /* светло-зелёный */
  --ink:         #2C2A28;   /* основной текст */
  --ink-soft:    #5A574F;   /* вторичный текст */
  --muted:       #746E5E;   /* подписи (контраст 4.5:1 к песочному фону) */
  --line:        #E2DCCF;   /* разделительные линии */

  --serif:  'Cormorant Garamond', 'Noto Serif Display', Georgia, serif;
  --sans:   'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1140px;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(44, 42, 40, 0.06);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--sage); text-decoration: none; transition: color .2s ease; }
.link-inline { color: var(--sage-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.link-inline:hover { color: var(--rose-dark); }
a:hover { color: var(--sage-dark); }
button { font: inherit; cursor: pointer; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.2rem; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: .8rem; }
h4 { font-size: 1.15rem; margin-bottom: .5rem; }

p { margin-bottom: 1rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
}

.muted { color: var(--muted); font-size: .92rem; }
.center { text-align: center; }

/* ===== Container & sections ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tinted { background: var(--sand-dark); }
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title .eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: .8rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  max-width: none;
  padding-left: 28px;
  padding-right: 28px;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 24px;
}

/* ===== Lead magnet block ===== */
.leadmagnet {
  background: linear-gradient(135deg, #FAF6F0 0%, #F2E7DC 100%);
  border: 1px solid #E5DDD0;
  border-radius: 16px;
  padding: 36px 32px;
  margin: 32px 0;
  text-align: center;
}
.leadmagnet .icon-circle {
  width: 64px; height: 64px; margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--sage) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(92,110,88,0.25);
}
.leadmagnet h3 {
  font-family: var(--serif); color: var(--ink);
  font-size: 1.6rem; margin: 0 0 8px;
}
.leadmagnet .meta {
  color: var(--ink-soft); font-size: .9rem; margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.leadmagnet .blurb {
  max-width: 520px; margin: 0 auto 22px;
  color: var(--ink-soft); line-height: 1.6;
}
.leadmagnet-form {
  display: flex; gap: 8px; max-width: 460px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.leadmagnet-form input[type=email] {
  flex: 1; min-width: 220px;
  padding: 12px 16px;
  border: 1px solid #C7C0B3;
  background: #fff;
  border-radius: 8px;
  font-family: inherit; font-size: 1rem;
  color: var(--ink);
}
.leadmagnet-form input[type=email]:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(92,110,88,0.12);
}
.leadmagnet-form button {
  padding: 12px 22px;
  background: var(--sage); color: #fff;
  border: none; border-radius: 8px;
  font-family: inherit; font-size: 1rem; font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}
.leadmagnet-form button:hover { background: var(--sage-dark); }
.leadmagnet-form button:disabled { background: #C7C0B3; cursor: not-allowed; }
.leadmagnet-status {
  margin-top: 10px; min-height: 1.2em;
  color: #B5847C; font-size: .9rem;
  flex-basis: 100%;
}
.leadmagnet-success {
  background: #fff;
  border: 2px solid var(--sage);
  border-radius: 14px;
  padding: 28px 26px;
  color: var(--ink);
  line-height: 1.55;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 8px 28px rgba(92,110,88,0.16);
  animation: leadmagnetSuccessIn .4s ease-out;
}
.leadmagnet-success-icon {
  width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; line-height: 1;
  box-shadow: 0 6px 18px rgba(92,110,88,0.35);
}
.leadmagnet-success-title {
  font-family: var(--serif);
  color: var(--sage-dark);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.leadmagnet-success-email {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 14px;
  word-break: break-all;
}
.leadmagnet-success-email b { color: var(--sage-dark); }
.leadmagnet-success-meta {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.6;
}
.leadmagnet-success-meta b { color: var(--ink); }
@keyframes leadmagnetSuccessIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.leadmagnet-alt {
  margin-top: 14px; font-size: .9rem; color: var(--ink-soft);
}
.leadmagnet-alt a { color: var(--sage); font-weight: 500; }
.leadmagnet-divider {
  display: flex; align-items: center;
  margin: 18px auto 14px; max-width: 460px;
  color: var(--ink-soft); font-size: .8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.leadmagnet-divider::before,
.leadmagnet-divider::after {
  content: ''; flex: 1; height: 1px; background: #C7C0B3;
}
.leadmagnet-divider::before { margin-right: 14px; }
.leadmagnet-divider::after { margin-left: 14px; }
.leadmagnet-tg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  width: 100%; max-width: 460px;
  padding: 12px 22px;
  background: #fff;
  color: var(--sage-dark);
  border: 2px solid var(--sage);
  border-radius: 8px;
  font-family: inherit; font-size: 1rem; font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  box-sizing: border-box;
}
.leadmagnet-tg-btn:hover {
  background: var(--sage); color: #fff;
}
.leadmagnet-privacy {
  margin-top: 14px; font-size: .78rem; color: var(--ink-soft);
  max-width: 460px; margin-left: auto; margin-right: auto;
}
.brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 500;
  display: flex; align-items: center; gap: 14px;
  line-height: 1.1;
  text-decoration: none;
}
.site-header .brand .brand-text {
  display: inline-block;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-dot {
  width: 52px; height: 52px; border-radius: 50%;
  background: url('/assets/img/logo-96.png') center/cover no-repeat;
  display: inline-block;
  flex-shrink: 0;
}
.site-footer .brand-dot {
  width: 40px; height: 40px;
}
.nav-links {
  display: flex; gap: 14px; list-style: none; align-items: center;
}
.nav-links li:not(:nth-last-child(-n+2)) > a::after {
  content: '|';
  color: #C7C0B3;
  margin-left: 14px;
  font-weight: 300;
  pointer-events: none;
}
.nav-links a {
  font-family: var(--serif);
  color: var(--ink); font-size: 1.25rem; font-weight: 600;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--sage); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sage); color: #fff !important;
  padding: 9px 18px; border-radius: 999px;
  font-size: .9rem; font-weight: 500;
}
.nav-cta:hover { background: var(--sage-dark); color: #fff !important; }

.burger {
  display: none;
  background: none; border: none; padding: 8px;
  cursor: pointer;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); margin: 5px 0;
  transition: .3s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--sage); color: #fff;
}
.btn-primary:hover { background: var(--sage-dark); color: #fff; transform: translateY(-1px); }
.btn-rose {
  background: var(--rose); color: var(--ink);
}
.btn-rose:hover { background: var(--rose-dark); color: var(--ink); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--sage); border-color: var(--sage);
}
.btn-outline:hover { background: var(--sage); color: #fff; }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }

/* ===== Hero ===== */
.hero {
  padding: clamp(60px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-dark) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: var(--rose); opacity: .12;
  border-radius: 50%; filter: blur(40px);
}
.hero::after {
  content: ""; position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  background: var(--green); opacity: .25;
  border-radius: 50%; filter: blur(30px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(212, 165, 160, 0.18);
  color: var(--rose-dark);
  padding: 7px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { margin-bottom: 2rem; max-width: 540px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--green) 0%, var(--sage) 100%);
  box-shadow: var(--shadow);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 6rem; color: rgba(255,255,255,.45);
}

/* ===== Cards / Grids ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .6rem; }
.card .icon {
  width: 48px; height: 48px;
  background: var(--sand-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card-tinted .icon { background: rgba(92, 110, 88, 0.12); }

/* ===== Service / Price cards ===== */
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: all .25s;
}
.price-card.featured {
  background: linear-gradient(165deg, #fff 0%, var(--sand-dark) 100%);
  border-color: var(--sage);
  box-shadow: var(--shadow);
}
.price-card .badge {
  display: inline-block;
  background: var(--rose); color: var(--ink);
  padding: 5px 14px; border-radius: 999px;
  font-size: .76rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.price-card h3 { margin-bottom: .3rem; }
.price-card .duration {
  color: var(--muted); font-size: .92rem; margin-bottom: 1.5rem;
}
.price-card .price {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 1.2rem;
  line-height: 1;
}
.price-card .price small {
  font-size: .55em; color: var(--muted); font-family: var(--sans);
  font-weight: 400; margin-left: 4px;
}
.price-card ul {
  list-style: none; margin: 0 0 1.5rem; flex: 1;
}
.price-card li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--ink-soft);
  font-size: .95rem;
}
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  color: var(--sage); font-weight: 600;
}

/* ===== Topic chips ===== */
.topic-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.topic-chip {
  background: #fff; border: 1px solid var(--line);
  padding: 22px 26px; border-radius: 22px;
  display: flex; align-items: center; gap: 16px;
  transition: all .25s ease;
  box-shadow: 0 2px 12px rgba(44, 42, 40, 0.04);
}
.topic-chip:hover { border-color: var(--sage); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(44, 42, 40, 0.08); }
.topic-chip .emoji { font-size: 1.5rem; flex-shrink: 0; }
.topic-chip .label {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

/* ===== Reviews ===== */
.review {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.review::before {
  content: "";
  font-family: var(--serif); font-size: 4rem;
  color: var(--rose); opacity: .35;
  position: absolute; top: -10px; left: 18px;
  line-height: 1;
}
.review-text {
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.5;
  font-weight: 500;
  color: #1A1816; margin-bottom: 1rem; flex: 1;
}
.review-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--sage));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 500; font-size: 1.1rem;
  font-family: var(--serif);
}
.review-meta { font-size: .9rem; }
.review-meta .name { font-weight: 500; color: var(--ink); }
.review-meta .ctx { color: var(--muted); font-size: .82rem; }

/* ===== FAQ ===== */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .2s;
}
.faq-item summary {
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; color: var(--sage);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] { border-color: var(--sage); }
.faq-answer {
  padding: 0 28px 22px; color: var(--ink-soft);
  line-height: 1.7;
}

/* ===== Forms ===== */
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px;
  max-width: 580px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-weight: 500; margin-bottom: 6px;
  color: var(--ink); font-size: .95rem;
}
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--sand); color: var(--ink);
  font-family: var(--sans); font-size: 1rem;
  transition: border-color .2s;
}
.form-control:focus {
  outline: none; border-color: var(--sage);
  background: #fff;
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-consent {
  font-size: .85rem; color: var(--muted);
  display: flex; align-items: flex-start; gap: 8px;
  margin: 16px 0;
}
.form-consent input { margin-top: 4px; }

/* ===== CTA section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: #fff;
  padding: clamp(60px, 8vw, 96px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(212, 165, 160, .25), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(194, 202, 182, .22), transparent 40%);
}
.cta-section > .container { position: relative; }
.cta-section h2, .cta-section .lead { color: #fff; }
.cta-section .lead { opacity: .9; max-width: 640px; margin: 0 auto 2rem; }
.cta-section .btn-primary {
  background: var(--rose); color: var(--ink);
}
.cta-section .btn-primary:hover { background: var(--rose-dark); }

/* ===== Footer ===== */
.site-footer {
  background: #1f1d1c;
  color: #b8b3a8;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: #fff; font-family: var(--sans);
  font-size: .85rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid a { color: #b8b3a8; display: block; padding: 4px 0; font-size: .95rem; }
.footer-grid a:hover { color: var(--rose); }
.footer-brand p { color: #8c8676; font-size: .92rem; margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid #3a3735;
  padding-top: 24px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: .85rem; color: #6e6a62;
}

/* ===== Page header (inner pages) ===== */
.page-header {
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 64px);
  background: var(--sand-dark);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-header h1 { margin-bottom: 1rem; }
.page-header .lead { max-width: 720px; margin: 0 auto; color: var(--ink-soft); }
.breadcrumbs {
  font-size: .85rem; color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--sage); }

/* ===== Article (about, method, blog post) ===== */
.article {
  max-width: 760px; margin: 0 auto;
}
.article h2, .article h3 { margin-top: 2.4rem; }
.article h2:first-child, .article h3:first-child { margin-top: 0; }
.article p { font-size: 1.08rem; line-height: 1.75; }
.article ul, .article ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--ink-soft); }
.article li { margin-bottom: .4rem; }
.article blockquote {
  border-left: 3px solid var(--rose);
  padding: 16px 24px;
  margin: 1.6rem 0;
  font-family: var(--serif); font-size: 1.2rem;
  color: var(--ink);
  background: var(--sand-dark);
  border-radius: 8px;
}
.article img { border-radius: var(--radius); margin: 1.5rem 0; }

/* ===== Contacts ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info > div { margin-bottom: 28px; }
.contact-info .icon {
  width: 40px; height: 40px;
  background: rgba(92, 110, 88, 0.12);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-right: 14px;
  vertical-align: middle;
}
.contact-info h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.contact-info p { margin: 6px 0 0 0; color: var(--ink); }
.map-frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--sand-dark);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ===== Blog list ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--green), var(--sage));
}
.blog-card .body { padding: 24px; }
.blog-card .meta {
  font-size: .82rem; color: var(--muted);
  margin-bottom: 8px; display: flex; gap: 12px;
}
.blog-card h3 {
  font-size: 1.25rem; margin-bottom: .6rem;
  color: var(--ink);
}
.blog-card p { font-size: .95rem; }

/* ===== Article page ===== */
.article-hero {
  padding: clamp(60px, 8vw, 100px) 0 clamp(36px, 5vw, 56px);
  background: var(--sand-dark);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.article-hero .breadcrumbs { margin-bottom: 1.5rem; }
.article-hero .meta {
  display: inline-flex; gap: 18px;
  font-size: .9rem; color: var(--muted);
  margin-bottom: 1.2rem;
  align-items: center;
}
.article-hero .meta .tag {
  background: var(--rose); color: var(--ink);
  padding: 4px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .04em;
}
.article-hero h1 {
  max-width: 820px; margin: 0 auto 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}
.article-hero .lead {
  max-width: 720px; margin: 0 auto;
  color: var(--ink-soft);
}

.article-body {
  max-width: 740px; margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 24px;
  font-size: 1.08rem; line-height: 1.75;
  color: var(--ink);
}
.article-body p { margin-bottom: 1.25rem; color: var(--ink); }
.article-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-top: 2.5rem; margin-bottom: 1rem;
  color: var(--ink);
}
.article-body h3 {
  font-size: 1.3rem; margin-top: 2rem; margin-bottom: .75rem;
  font-family: var(--serif);
}
.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 1.5rem;
  padding-left: 0;
}
.article-body li { margin-bottom: .5rem; padding-left: 6px; }
.article-body blockquote {
  border-left: 3px solid var(--rose);
  padding: .25rem 0 .25rem 1.2rem;
  margin: 1.8rem 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.5;
  font-style: italic;
}
.article-body strong { color: var(--ink); font-weight: 600; }

.article-callout {
  background: var(--sand);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 2rem 0;
}
.article-callout.warn { border-left-color: var(--rose-dark); background: #fdf6f3; }
.article-callout h4 {
  font-family: var(--sans);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: .6rem;
  font-weight: 600;
}
.article-callout.warn h4 { color: var(--rose-dark); }
.article-callout p:last-child { margin-bottom: 0; }

.article-author {
  background: var(--sand);
  border-radius: 18px;
  padding: 28px;
  display: flex; gap: 20px; align-items: center;
  margin: 3rem 0 1.5rem;
  flex-wrap: wrap;
}
.article-author .photo {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--sage));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
  flex-shrink: 0;
}
.article-author .info { flex: 1; min-width: 220px; }
.article-author .info .name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.article-author .info .role { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }

.related-articles {
  background: var(--sand-dark);
  padding: clamp(48px, 7vw, 80px) 0;
}
.related-articles h2 {
  text-align: center; margin-bottom: 2rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

/* ===== Quiz / Method picker ===== */
.quiz-wrapper {
  max-width: 720px; margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 28px rgba(44, 42, 40, 0.08);
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
}
.quiz-screen { animation: quizFade .35s ease; }
@keyframes quizFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.quiz-icon, .quiz-result-icon {
  font-size: 3rem; text-align: center; margin-bottom: 1rem;
  line-height: 1;
}
#quiz-intro h2, #quiz-question h2, #quiz-result h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}
#quiz-intro p {
  text-align: center;
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
#quiz-intro .btn-primary {
  display: block; margin: 2rem auto 0;
}
.quiz-progress {
  margin-bottom: 1.5rem;
}
.quiz-progress-bar {
  height: 6px; background: var(--sand-dark);
  border-radius: 999px; overflow: hidden;
}
.quiz-progress-fill {
  height: 100%; background: var(--sage);
  border-radius: 999px;
  transition: width .35s ease;
}
.quiz-progress-text {
  font-size: .85rem; color: var(--muted);
  text-align: right; margin-top: 6px;
}
.quiz-hint {
  text-align: center; color: var(--muted);
  font-size: .95rem; margin-bottom: 1.5rem;
}
.quiz-options {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 1.5rem;
}
.quiz-option {
  background: var(--sand);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  font-family: var(--sans); font-size: 1rem;
  color: var(--ink); text-align: left;
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1.4;
}
.quiz-option:hover {
  border-color: var(--sage);
  background: #fff;
  transform: translateX(4px);
}
.quiz-option.selected {
  border-color: var(--sage-dark);
  background: var(--green);
}
.quiz-nav {
  display: flex; justify-content: flex-start;
}
.quiz-nav .btn-outline {
  padding: 10px 22px; font-size: .95rem;
}

#quiz-result .quiz-result-label {
  text-align: center;
  font-family: var(--sans);
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: .5rem;
  font-weight: 600;
}
.quiz-result-body {
  margin: 1.5rem 0;
}
.quiz-result-body h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  margin-top: 1.5rem; margin-bottom: .5rem;
}
.quiz-result-body p { color: var(--ink); line-height: 1.65; }
.quiz-result-cta {
  display: flex; gap: 12px; justify-content: center;
  margin: 2rem 0 1.5rem;
  flex-wrap: wrap;
}
.quiz-disclaimer {
  font-size: .9rem; color: var(--muted);
  text-align: center; padding: 14px 18px;
  background: var(--sand);
  border-radius: 12px;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.quiz-restart {
  display: block; margin: 0 auto;
  background: none; border: 0;
  color: var(--muted); font-size: .9rem;
  cursor: pointer; padding: 8px 16px;
  text-decoration: underline;
  font-family: inherit;
}
.quiz-restart:hover { color: var(--sage); }

@media (max-width: 600px) {
  .quiz-option { padding: 16px 18px; font-size: .95rem; }
  .quiz-result-cta .btn { width: 100%; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 1300px) {
  .nav-links a { font-size: 1.12rem; }
  .nav-links { gap: 11px; }
  .nav-links li:not(:nth-last-child(-n+2)) > a::after { margin-left: 11px; }
  .brand { font-size: 1.2rem; }
  .brand-dot { width: 44px; height: 44px; }
}
@media (max-width: 1100px) {
  .site-header .container { padding-left: 20px; padding-right: 20px; }
  .nav { gap: 16px; }
  .nav-links a { font-size: 1.05rem; }
  .nav-links { gap: 9px; }
  .nav-links li:not(:nth-last-child(-n+2)) > a::after { margin-left: 9px; }
  .brand { font-size: 1.1rem; }
  .brand-dot { width: 38px; height: 38px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--sand); padding: 24px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .nav-links li > a::after { content: none !important; }
  .burger { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  body { font-size: 16px; }
}

.diploma-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 1.5rem 0 2rem; }
.diploma-item { display: block; text-decoration: none; color: var(--ink); border: 1px solid #ece6da; border-radius: 12px; overflow: hidden; transition: all .2s ease; background: #fff; }
.diploma-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: var(--sage); }
.diploma-item img { width: 100%; height: 220px; object-fit: cover; object-position: top; display: block; background: #f5f0e6; }
.diploma-caption { padding: 12px 14px; font-size: .95rem; line-height: 1.35; }
.diploma-caption small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .82rem; }
@media (max-width: 720px) { .diploma-grid { grid-template-columns: repeat(2, 1fr); } .diploma-item img { height: 180px; } }
@media (max-width: 480px) { .diploma-grid { grid-template-columns: 1fr; } .diploma-item img { height: 240px; } }

/* ===== Кикер (надзаголовок секции), внедрено по vseti_style_report ===== */
.kicker {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: .6rem;
}

/* ===== Reveal-on-scroll: IntersectionObserver, без библиотек =====
   .reveal скрывается ТОЛЬКО когда JS уже подтвердил, что будет анимировать
   (класс js-reveal ставится в main.js). Если JS не выполнился — контент
   остаётся полностью видимым. */
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s ease-out, transform .35s ease-out;
}
html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Кризисная плашка «Если сейчас плохо» ===== */
.crisis-note {
  border: 1px solid var(--rose);
  border-left: 4px solid var(--rose);
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 2rem;
}
.crisis-note p { margin: 0; color: var(--ink); }
.crisis-note p + p { margin-top: .5rem; }
.crisis-note strong { white-space: nowrap; }
.crisis-note a { font-weight: 500; }

/* ===== E-E-A-T: авторство и дисклеймер в статьях ===== */
.article-updated { color: var(--muted); }
.article-disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 2.5rem;
  font-size: .88rem;
  color: var(--muted);
}

/* ===== Иконки .icon: инлайн-SVG вместо эмодзи ===== */
.card .icon svg {
  width: 24px;
  height: 24px;
  color: var(--sage);
}
.contact-info .icon svg {
  width: 20px;
  height: 20px;
  color: var(--sage);
}
