﻿/* =========================================================
   Н.Карьера — newcareer.online
   styles.css — единая таблица стилей
   ========================================================= */

/* ---- Палитра и токены ---------------------------------- */
:root {
  --milk:        #FAF4EC;   /* молочный фон */
  --beige:       #E7D5C5;   /* тёплый бежевый */
  --beige-soft:  #F1E4D6;   /* осветлённый бежевый для подложек */
  --terracotta:  #C98B6B;   /* мягкий терракотовый — основной акцент */
  --terracotta-deep: #B4775A;/* hover для терракотового */
  --coffee:      #6B4E3D;   /* глубокий кофейный — для текста заголовков */
  --graphite:    #4C4743;   /* тёплый графит — основной текст */
  --graphite-soft:#736B65;  /* приглушённый текст */
  --white:       #FFFFFF;   /* карточки */
  --line:        rgba(107, 78, 61, 0.12); /* линии и обводки */
  --line-strong: rgba(107, 78, 61, 0.20);

  --shadow-sm:   0 1px 2px rgba(76, 71, 67, 0.04), 0 2px 6px rgba(76, 71, 67, 0.04);
  --shadow-md:   0 4px 12px rgba(76, 71, 67, 0.06), 0 12px 28px rgba(76, 71, 67, 0.06);
  --shadow-lg:   0 8px 24px rgba(76, 71, 67, 0.08), 0 24px 56px rgba(76, 71, 67, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", system-ui, -apple-system, sans-serif;

  --max-w: 1200px;
  --gutter: 24px;

  --t-fast: 160ms cubic-bezier(.2,.6,.2,1);
  --t-base: 280ms cubic-bezier(.2,.6,.2,1);
}

/* ---- База ---------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--milk);
  /* Тончайшая тёплая подложка для «премиальности» */
  background-image:
    radial-gradient(ellipse 80% 60% at 85% -10%, rgba(201, 139, 107, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at -10% 30%, rgba(231, 213, 197, 0.45), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--coffee); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--terracotta); }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--terracotta); color: var(--milk); }

/* ---- Типографика --------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--coffee);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 4.4vw + 0.6rem, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 2.4vw + 0.6rem, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1vw + 0.9rem, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}

/* ---- Контейнеры ---------------------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding: clamp(56px, 8vw, 104px) 0; }

/* ---- Шапка / Навигация --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 244, 236, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--gutter);
  max-width: var(--max-w);
  margin-inline: auto;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--coffee);
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite-soft);
  margin-top: 4px;
}

/* Десктоп: меню в 2 ряда по 5 пунктов */
.nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: end;
  align-items: center;
  gap: 8px 26px;
}
.nav-list li { text-align: left; }
.nav-list a {
  font-size: 14px;
  color: var(--graphite);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.nav-list a:hover,
.nav-list a.is-active {
  color: var(--coffee);
  border-bottom-color: var(--terracotta);
}

/* Бургер */
.burger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--coffee);
  font-size: 13px;
  letter-spacing: 0.06em;
  align-items: center;
  gap: 8px;
}
.burger .bars { display: inline-flex; flex-direction: column; gap: 3px; }
.burger .bars span { width: 16px; height: 1.5px; background: var(--coffee); border-radius: 2px; }

/* Мобильная панель */
.mobile-panel {
  position: fixed;
  inset: 0;
  background: var(--milk);
  z-index: 60;
  transform: translateY(-100%);
  transition: transform var(--t-base);
  display: flex;
  flex-direction: column;
  padding: 20px var(--gutter) 40px;
  overflow-y: auto;
}
.mobile-panel.is-open { transform: translateY(0); }
.mobile-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.mobile-panel-close {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--coffee);
}
.mobile-nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.mobile-nav-list a {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--coffee);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}

/* ---- Кнопки ------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast),
              color var(--t-fast), border-color var(--t-fast),
              box-shadow var(--t-fast);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(201, 139, 107, 0.28);
}
.btn-primary:hover {
  background: var(--terracotta-deep);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(201, 139, 107, 0.34);
}
.btn-primary:disabled {
  background: var(--beige);
  color: var(--graphite-soft);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--coffee);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--coffee);
  border-color: var(--coffee);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn .arrow {
  transition: transform var(--t-fast);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Hero --------------------------------------------- */
.hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-text h1 {
  margin-top: 12px;
  margin-bottom: 24px;
  max-width: 16ch;
}
.hero-text .lead {
  font-size: 19px;
  color: var(--graphite-soft);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(140deg, var(--beige-soft) 0%, var(--beige) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual svg { width: 86%; height: auto; }
.hero-photo {
  background: var(--beige);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; aspect-ratio: 4 / 3; }
  .hero-photo img { object-position: center top; }
}

/* ---- Trust block -------------------------------------- */
.trust {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.trust-text h2 { max-width: 18ch; margin-top: 6px; }
.trust-text p { font-size: 18px; color: var(--graphite); max-width: 56ch; margin: 0; }

.trust-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(140deg, var(--beige-soft) 0%, var(--beige) 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.trust-visual svg { width: 82%; height: auto; }

@media (max-width: 800px) {
  .trust-inner { grid-template-columns: 1fr; gap: 32px; }
  .trust-visual { order: -1; aspect-ratio: 4 / 3; }
}

/* ---- Form (получение гайда) --------------------------- */
.lead-form-section {
  position: relative;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: clamp(30px, 4vw, 52px);
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin-inline: auto;
}
.form-card .eyebrow { text-align: center; display: block; }
.form-card h2 { text-align: center; }
.form-card .form-lead {
  text-align: center;
  color: var(--graphite-soft);
  margin: 0 auto 28px;
  max-width: 48ch;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px;
  color: var(--graphite-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"] {
  appearance: none;
  width: 100%;
  min-height: 58px;
  padding: 17px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--milk);
  font-family: inherit;
  font-size: 16px;
  color: var(--graphite);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.form-field input:focus,
.form-field input[type="tel"]:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 139, 107, 0.12);
}
.form-field input.has-error {
  border-color: #b4451e;
  box-shadow: 0 0 0 4px rgba(180, 69, 30, 0.1);
}
.form-field .field-hint {
  margin-top: 7px;
  font-size: 12px;
  color: var(--graphite-soft);
}
.form-field .field-error {
  font-size: 12px;
  color: #b4451e;
  margin-top: 5px;
  min-height: 16px;
}

.form-error-message {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff3ed;
  border: 1px solid rgba(180, 69, 30, 0.24);
  color: #8f3518;
  font-size: 14px;
  text-align: center;
}

.channel-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.channel-picker-label {
  font-size: 13px;
  color: var(--graphite-soft);
  letter-spacing: 0.02em;
}
.channel-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  justify-content: space-between;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  width: 100%;
}
.channel-option {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--graphite);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.channel-option:hover {
  background: var(--beige-soft);
}
.channel-option.is-active {
  background: var(--milk);
  border-color: var(--terracotta);
  box-shadow: 0 10px 28px rgba(107, 78, 61, 0.12);
}
.channel-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.channel-telegram { background: #3b9bd6; }
.channel-whatsapp { background: #3bbd67; }
.channel-vk { background: #4f83c4; }
.channel-max { background: #58a8df; }
.channel-phone { background: #2d241f; }
.channel-email { background: var(--terracotta); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 8px;
  font-size: 14px;
  color: var(--graphite-soft);
  line-height: 1.5;
}
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: var(--white);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
}
.consent input[type="checkbox"]:checked {
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent a { text-decoration: underline; text-underline-offset: 3px; }

.form-bottom-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  width: 100%;
}
.form-bottom-row .consent {
  width: 100%;
  max-width: none;
}
.form-submit-row {
  margin-top: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.form-submit-row .btn {
  min-width: 236px;
  min-height: 58px;
}
.form-card .microcopy {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(107, 78, 61, 0.62);
}

.form-success {
  display: none;
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--beige-soft);
  border: 1px solid var(--beige);
  text-align: center;
}
.form-success.is-visible { display: block; animation: fade-up 380ms cubic-bezier(.2,.6,.2,1); }
.form-success p { margin-bottom: 14px; color: var(--coffee); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .channel-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow-x: visible;
  }
  .channel-option {
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 9px 8px;
    font-size: 13px;
  }
  .channel-dot {
    width: 17px;
    height: 17px;
    font-size: 9px;
  }
  .form-bottom-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-submit-row,
  .form-submit-row .btn {
    width: 100%;
  }
}

/* ---- Что внутри гайда --------------------------------- */
.guide-content .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  max-width: 1100px;
  margin-inline: auto;
}
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 220px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-fast);
}
@media (max-width: 720px) {
  .tile { max-width: none; flex-basis: calc(50% - 8px); }
}
@media (max-width: 480px) {
  .tile { flex-basis: 100%; max-width: none; }
}
.tile:hover {
  transform: translateY(-2px);
  border-color: var(--beige);
  box-shadow: var(--shadow-md);
}
.tile-num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.tile p { margin: 0; color: var(--graphite); }

/* ---- Разделы сайта (карточки на главной) -------------- */
.sections-block .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.section-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  transition: transform var(--t-base), box-shadow var(--t-base),
              border-color var(--t-fast), background var(--t-fast);
  text-decoration: none;
  color: var(--coffee);
  overflow: hidden;
}
.section-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(201, 139, 107, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.section-card:hover {
  transform: translateY(-3px);
  border-color: var(--beige);
  box-shadow: var(--shadow-md);
  color: var(--coffee);
}
.section-card:hover::before { opacity: 1; }
.section-card-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--graphite-soft);
  letter-spacing: 0.06em;
}
.section-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  margin-top: 14px;
}
.section-card-go {
  margin-top: 18px;
  font-size: 13px;
  color: var(--terracotta);
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---- Telegram CTA ------------------------------------- */
.telegram-cta {
  background: linear-gradient(135deg, var(--coffee) 0%, var(--graphite) 100%);
  color: var(--milk);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.telegram-cta::before,
.telegram-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.telegram-cta::before {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201, 139, 107, 0.30), transparent 60%);
  top: -160px; left: -120px;
}
.telegram-cta::after {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(231, 213, 197, 0.18), transparent 60%);
  bottom: -140px; right: -100px;
}
.telegram-cta .inner { position: relative; z-index: 1; }
.telegram-cta h2 { color: var(--milk); margin-bottom: 16px; }
.telegram-cta p {
  color: rgba(250, 244, 236, 0.82);
  max-width: 56ch;
  margin: 0 auto 28px;
  font-size: 17px;
}
.telegram-cta .btn-primary {
  background: var(--milk);
  color: var(--coffee);
}
.telegram-cta .btn-primary:hover {
  background: var(--white);
  color: var(--terracotta-deep);
}

/* ---- Дисклеймер --------------------------------------- */
.disclaimer-block {
  text-align: center;
  font-size: 14px;
  color: var(--graphite-soft);
  max-width: 70ch;
  margin: 0 auto;
  padding: 32px 0 0;
}

/* ---- Подвал ------------------------------------------- */
.site-footer {
  background: var(--coffee);
  color: rgba(250, 244, 236, 0.82);
  padding: 64px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250, 244, 236, 0.14);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--milk);
  margin-bottom: 4px;
}
.footer-brand-tag {
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(250, 244, 236, 0.6);
}
.footer-h {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 244, 236, 0.6);
  margin-bottom: 14px;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; font-size: 15px; }
.footer-list a { color: var(--milk); }
.footer-list a:hover { color: var(--terracotta); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(250, 244, 236, 0.55);
}
.footer-disclaimer {
  margin: 28px auto 0;
  font-size: 13px;
  color: rgba(250, 244, 236, 0.55);
  max-width: 70ch;
  text-align: center;
  line-height: 1.65;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- Section page (страницы разделов) ----------------- */
.section-hero {
  padding: clamp(56px, 8vw, 88px) 0 clamp(32px, 4vw, 48px);
  text-align: center;
}
.section-hero .eyebrow { display: inline-block; }
.section-hero h1 { max-width: 22ch; margin: 6px auto 18px; }
.section-hero p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 18px;
  color: var(--graphite-soft);
}

/* Карточки публикаций */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 16px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-fast);
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--beige);
}
.post-image {
  /* CSS-плейсхолдер «по умолчанию». Если в карточке есть <img>,
     она ляжет поверх и закроет градиент. */
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), transparent 50%),
    linear-gradient(135deg, var(--beige-soft) 0%, var(--beige) 100%);
  position: relative;
  overflow: hidden;
}
.post-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-image::after {
  /* Декоративная подложка — мягкий «warm» паттерн (виден только под градиентом) */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 70%, rgba(201, 139, 107, 0.18), transparent 40%);
  pointer-events: none;
}
.post-image > img + .placeholder-mark { display: none; }
.post-image .placeholder-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(107, 78, 61, 0.35);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.post-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.post-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 10px;
}
.post-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--coffee);
  line-height: 1.25;
  margin: 0 0 12px;
}
.post-excerpt {
  color: var(--graphite-soft);
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}
.post-actions {
  display: flex;
  justify-content: flex-start;
}

/* Soft CTA внизу раздела */
.section-cta {
  margin-top: 64px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}
.section-cta h3 {
  font-size: clamp(1.4rem, 1.4vw + 1rem, 1.8rem);
  margin-bottom: 16px;
}
.section-cta p {
  color: var(--graphite-soft);
  max-width: 50ch;
  margin: 0 auto 24px;
}
.section-cta .microcopy {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 13px;
  color: var(--graphite-soft);
}

/* ---- Full guide page ----------------------------------- */
.full-guide-hero h1 {
  max-width: 26ch;
}

.full-guide-page {
  background: linear-gradient(180deg, var(--milk) 0%, var(--white) 100%);
}

.guide-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: var(--coffee);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.guide-article > section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.guide-article h2 {
  font-size: clamp(1.55rem, 1.5vw + 1rem, 2.1rem);
  margin-bottom: 18px;
}

.guide-article h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--coffee);
}

.guide-list,
.guide-steps {
  margin: 18px 0 0;
  padding-left: 22px;
}

.guide-list li,
.guide-steps li {
  margin-bottom: 12px;
}

.guide-table {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.guide-table > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) 1.4fr;
  gap: 16px;
  padding: 16px 18px;
  background: var(--beige-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.guide-table strong {
  color: var(--coffee);
}

.guide-table span {
  color: var(--graphite);
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.guide-cards > div {
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}

.guide-cards p {
  margin-bottom: 0;
  color: var(--graphite-soft);
}

@media (max-width: 700px) {
  .guide-table > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .guide-cards {
    grid-template-columns: 1fr;
  }
}

/* ---- Privacy page ------------------------------------- */
.privacy-page {
  background: var(--white);
  margin-top: 0;
}
.privacy-page .container-narrow { padding-top: 64px; padding-bottom: 64px; }
.privacy-page h1 { font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); }
.privacy-page h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--coffee);
  letter-spacing: 0;
}
.privacy-page p, .privacy-page li {
  font-size: 16px;
  color: var(--graphite);
  line-height: 1.7;
}
.privacy-page ul { padding-left: 22px; }
.privacy-page .meta {
  font-size: 14px;
  color: var(--graphite-soft);
  margin-bottom: 30px;
}
.privacy-page .note {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--beige-soft);
  border-left: 3px solid var(--terracotta);
  border-radius: 8px;
  font-size: 14px;
  color: var(--coffee);
}

/* ---- Утилиты ------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Простая reveal-анимация */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(.2,.6,.2,1),
              transform 600ms cubic-bezier(.2,.6,.2,1);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Уважаем настройку «без анимаций» */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Section lead (общий подзаголовок секций) -------- */
.section-lead {
  max-width: 60ch;
  margin: 16px auto 0;
  color: var(--graphite-soft);
  font-size: 17px;
  text-align: center;
}

/* ---- «Почему дизайн» — 4 преимущества ----------------- */
.why-design { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
  max-width: 980px;
  margin-inline: auto;
}
.benefit-card {
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-fast);
}
.benefit-card:hover {
  transform: translateY(-2px);
  border-color: var(--beige);
  box-shadow: var(--shadow-md);
}
.benefit-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--beige-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--coffee);
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 8px;
  line-height: 1.25;
}
.benefit-card p { margin: 0; color: var(--graphite); font-size: 15.5px; }

@media (max-width: 700px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { padding: 24px; }
}

/* ---- «Сколько зарабатывают» --------------------------- */
.income {
  background:
    linear-gradient(180deg, var(--beige-soft) 0%, var(--milk) 100%);
}
.income-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.income-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-fast);
  display: flex;
  flex-direction: column;
}
.income-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--beige);
}
.income-card.is-highlighted {
  background: linear-gradient(160deg, var(--coffee) 0%, var(--graphite) 100%);
  color: var(--milk);
  border-color: transparent;
}
.income-card.is-highlighted h3,
.income-card.is-highlighted .income-amount { color: var(--milk); }
.income-card.is-highlighted .income-tag {
  background: rgba(250,244,236,0.14);
  color: var(--milk);
}
.income-card.is-highlighted p { color: rgba(250,244,236,0.78); }
.income-card.is-highlighted .income-amount span { color: rgba(250,244,236,0.6); }

.income-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracotta);
  background: var(--beige-soft);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
  align-self: flex-start;
}
.income-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 14px;
  color: var(--coffee);
}
.income-amount {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  color: var(--coffee);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 16px;
}
.income-amount span {
  font-size: 16px;
  color: var(--graphite-soft);
  margin-left: 4px;
  font-weight: 400;
}
.income-card p {
  margin: 0;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.6;
}

.income-note {
  margin: 32px auto 0;
  max-width: 70ch;
  text-align: center;
  font-size: 13px;
  color: var(--graphite-soft);
  font-style: italic;
}

@media (max-width: 800px) {
  .income-grid { grid-template-columns: 1fr; }
}

/* ---- «Узнаёшь себя?» --------------------------------- */
.recognize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.recognize-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-fast);
}
.recognize-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--beige);
}
.recognize-card::before {
  /* Декоративная кавычка */
  content: "“";
  position: absolute;
  top: 4px; left: 22px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.3;
}
.recognize-quote {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--coffee);
  line-height: 1.3;
  margin: 32px 0 16px;
  font-style: italic;
}
.recognize-card p { margin: 0; color: var(--graphite); font-size: 15px; }

@media (max-width: 800px) {
  .recognize-grid { grid-template-columns: 1fr; }
}

