/* =====================================================================
   CURIA · vitvetlg.ru · main.css
   ===================================================================== */

/* 1. CSS Custom Properties (:root) ----------------------------------- */
:root {
  --g:       #0F3D2E;
  --g2:      #1A5240;
  --g3:      #0A2B1E;
  --amber:   #D4A520;
  --amber2:  #F0AA00;
  --cream:   #F7F3E9;
  --cream2:  #EDE8DC;
  --text:    #1A1A1A;
  --muted:   #5A6550;
  --border:  rgba(15, 61, 46, 0.12);
  --white:   #FFFFFF;
  --black:   #050E09;

  --header-h: 64px;
  --mobile-bar-h: 60px;
  --maxw: 1200px;
  --maxw-text: 720px;

  --shadow-card: 0 1px 2px rgba(15,61,46,0.04), 0 8px 24px rgba(15,61,46,0.06);
  --shadow-hover: 0 4px 12px rgba(15,61,46,0.08), 0 16px 40px rgba(15,61,46,0.12);

  --radius: 4px;
  --radius-lg: 8px;

  --t: 0.2s ease;
}

/* 2. Reset / base ---------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
}

img, svg, video { max-width: 100%; display: block; }
button { font: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--g); }

/* Skip-link для клавиатурной навигации */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--g);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
  color: var(--cream);
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* Глобальный focus-visible для клавиатурной навигации */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 2px;
}
button:focus-visible,
.btn:focus-visible {
  outline-offset: 3px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(212, 165, 32, 0.25);
}

::selection { background: var(--amber); color: var(--text); }

/* Якорные секции — отступ под фиксированную шапку */
section[id],
main[id],
[id="prices"],
[id="pricing"],
[id="calc"],
[id="contact"],
[id="cases"],
[id="team"],
[id="faq"],
[id="approach"],
[id="guarantees"] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* 3. Typography ------------------------------------------------------ */
h1, h2, h3, h4, .display {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.06;
  font-weight: 600;
}
h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  font-weight: 600;
}
h3 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  font-weight: 600;
}
h4 {
  font-size: 18px;
  line-height: 1.3;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text);
  max-width: var(--maxw-text);
}

.muted { color: var(--muted); }
.amber { color: var(--amber); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: inline-block;
}

/* 4. Layout utilities ----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: 96px 0;
}

.section--tight { padding: 72px 0; }
.section--cream2 { background: var(--cream2); }
.section--green { background: var(--g); color: var(--cream); }
.section--green h1,
.section--green h2,
.section--green h3,
.section--green h4 { color: var(--cream); }
.section--dark { background: var(--g3); color: var(--cream); }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* 5. Header --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 243, 233, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text);
  display: inline-block;
  line-height: 1;
}
.logo:hover { color: var(--text); }
.logo span { color: var(--amber); }

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 0;
}
.site-nav a:hover { color: var(--g); }
.site-nav a.active {
  color: var(--g);
}
.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--amber);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.site-header__phone:hover { color: var(--g); }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  position: relative;
}
.hamburger span::before,
.hamburger span::after {
  content: '';
  position: absolute;
  left: 0; width: 18px; height: 2px;
  background: var(--text);
}
.hamburger span::before { top: -6px; }
.hamburger span::after  { top: 6px; }

.nav-overlay {
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 99;
  padding: 32px 48px;
  display: none;
  flex-direction: column;
  gap: 24px;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.nav-overlay a.active { color: var(--g); }
.nav-overlay__cta { margin-top: 16px; }

/* 6. Footer --------------------------------------------------------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 32px;
  font-size: 14px;
  line-height: 1.7;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--amber); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__grid--four {
  grid-template-columns: 1.2fr 0.9fr 1.1fr 1.3fr;
  gap: 32px;
}
.site-footer__role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
  margin-left: 4px;
}

.site-footer__brand .logo {
  color: rgba(255, 255, 255, 0.4);
  font-size: 26px;
  margin-bottom: 16px;
}
.site-footer__brand .logo span { color: var(--amber); }
.site-footer__brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  max-width: 320px;
}

.site-footer__col h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.site-footer__nav {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}

.site-footer__contacts li {
  list-style: none;
  margin-bottom: 8px;
}
.site-footer__contacts {
  padding: 0; margin: 0;
}
.site-footer__contacts .small {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  margin-top: 12px;
}

.site-footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* 7. Mobile sticky bar ---------------------------------------------- */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--g3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  height: var(--mobile-bar-h);
  /* Учитываем safe area iPhone (notch / home indicator) */
  padding-bottom: env(safe-area-inset-bottom, 0);
  height: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0));
}
.mobile-bar .mb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.3px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 4px;
}
.mobile-bar .mb-btn:last-child { border-right: none; }
.mobile-bar .mb-btn--cta {
  background: var(--amber);
  color: #0A0A0A;
  font-weight: 600;
}
.mobile-bar .mb-icon {
  font-size: 18px;
  line-height: 1;
}

/* 8. Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--t), color var(--t), transform var(--t);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: #0A0A0A;
}
.btn-primary:hover {
  background: var(--amber2);
  color: #0A0A0A;
}

.btn-secondary {
  background: var(--g);
  color: var(--cream);
}
.btn-secondary:hover {
  background: var(--g2);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--g);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--g);
  color: var(--cream);
  border-color: var(--g);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 14px;
}

/* 9. Forms ---------------------------------------------------------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border var(--t), box-shadow var(--t);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.08);
}
.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.form-consent input[type="checkbox"] {
  flex: none;
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--g);
}
.form-consent a { color: var(--g); text-decoration: underline; }

.form-status {
  font-size: 13px;
  padding: 12px 14px;
  border-radius: var(--radius);
  display: none;
}
.form-status.is-success {
  display: block;
  background: rgba(15, 61, 46, 0.06);
  color: var(--g);
}
.form-status.is-error {
  display: block;
  background: rgba(212, 165, 32, 0.12);
  color: #8a6a14;
}

/* 10. Cards --------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.card--flat { box-shadow: none; }
.card--featured {
  border-color: var(--amber);
  position: relative;
}
.card--featured::before {
  content: 'Хит';
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--amber);
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius);
  text-transform: uppercase;
}

/* 11. Stats bar ----------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  text-align: left;
}
.stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.2px;
}

/* 12. Section layouts ---------------------------------------------- */
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero {
  background: var(--g3);
  color: var(--cream);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: var(--cream); }
.hero .lead { color: rgba(247, 243, 233, 0.85); }
.hero__inner {
  position: relative;
  z-index: 2;
}

/* 13. Team ---------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--t), transform var(--t);
}
.team-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.team-card__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--g);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.team-card--analyst .team-card__avatar {
  background: var(--cream2);
  color: var(--g);
}
.team-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}
.team-card__role {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.team-card__bio {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}

/* 14. Cases --------------------------------------------------------- */
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--t), transform var(--t);
}
.case-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.case-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--g);
  background: rgba(15, 61, 46, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius);
  align-self: flex-start;
}
.case-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.case-card__result {
  font-size: 14px;
  font-weight: 500;
  color: var(--g);
}
.case-card__meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* 15. Calculator ---------------------------------------------------- */
.calc {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.calc__progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.calc__bar {
  flex: 1;
  height: 3px;
  background: var(--cream2);
  border-radius: 2px;
  overflow: hidden;
}
.calc__bar-fill {
  height: 100%;
  background: var(--amber);
  width: 0%;
  transition: width 0.3s ease;
}
.calc__step {
  display: none;
}
.calc__step.is-active { display: block; }
.calc__question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 24px;
}
.calc__options {
  display: grid;
  gap: 10px;
}
.calc__option {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  transition: background var(--t), border var(--t);
}
.calc__option:hover {
  border-color: var(--g);
  background: var(--cream2);
}
.calc__option input[type="radio"] {
  flex: none;
  margin-top: 2px;
  accent-color: var(--g);
}
.calc__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}
.calc__result {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc__result-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.calc__result-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.02em;
}
.calc__result-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  margin: 4px 0 0;
}
.calc__result-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
}
.calc__result-pkg {
  background: var(--cream2);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}
.calc__result-pkg-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.calc__result-pkg-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--g);
}
.calc__form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc__form-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}
.calc__restart {
  background: transparent;
  border: none;
  font: inherit;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 0 0;
  align-self: flex-start;
}
.calc__restart:hover { color: var(--g); }

/* === Homepage-specific blocks ====================================== */

/* Hero (расширение секции 12) */
.hero {
  padding: 112px 0 96px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: start;
}
.hero__kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247, 243, 233, 0.55);
  margin-bottom: 24px;
}
.hero__h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.04;
  margin-bottom: 24px;
}
.hero__h1 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 500;
}
.hero__sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(247, 243, 233, 0.65);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero__guarantees {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  border-top: 1px solid rgba(247, 243, 233, 0.1);
  padding-top: 28px;
}
.hero__guarantee {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.hero__guarantee-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  min-width: 28px;
  letter-spacing: 1px;
}
.hero__guarantee-text {
  font-size: 14px;
  color: rgba(247, 243, 233, 0.85);
  line-height: 1.5;
}
.hero__phone {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.5px;
}
.hero__phone:hover { color: var(--amber); }
.hero__phone-sub {
  font-size: 13px;
  color: rgba(247, 243, 233, 0.5);
  margin-top: 6px;
  letter-spacing: 0.3px;
}

/* Stats bar поверх зелёного фона */
.section--green .stats {
  border-top-color: rgba(247, 243, 233, 0.12);
  border-bottom-color: rgba(247, 243, 233, 0.12);
}
.section--green .stat__label { color: rgba(247, 243, 233, 0.65); }

/* Approach */
.approach__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}
.approach__h2 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 500;
}
.approach-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
}
.approach-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.approach-item:last-child { border-bottom: 1px solid var(--border); }
.approach-item__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  letter-spacing: 1px;
}
.approach-item__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.2;
}
.approach-item__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Guarantees row (секция 4) */
.guarantee-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--t), transform var(--t);
}
.guarantee-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.guarantee-card__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  letter-spacing: 1px;
}
.guarantee-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.guarantee-card__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: box-shadow var(--t), transform var(--t);
}
.pricing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.pricing-card--featured {
  background: var(--g);
  color: var(--cream);
  border-color: var(--g);
  transform: translateY(-12px);
}
.pricing-card--featured:hover {
  transform: translateY(-14px);
}
.pricing-card--featured .pricing-card__name,
.pricing-card--featured .pricing-card__price,
.pricing-card--featured .pricing-card__includes li { color: var(--cream); }
.pricing-card--featured .pricing-card__for,
.pricing-card--featured .pricing-card__meta { color: rgba(247, 243, 233, 0.65); }
.pricing-card--featured .pricing-card__includes li::before { background: var(--amber); }
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--amber);
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: var(--radius);
  text-transform: uppercase;
}
.pricing-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}
.pricing-card__for {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  min-height: 40px;
}
.pricing-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 8px 0 4px;
}
.pricing-card__price-from {
  font-size: 13px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  margin-right: 4px;
}
.pricing-card__includes {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.pricing-card--featured .pricing-card__includes { border-top-color: rgba(247, 243, 233, 0.15); }
.pricing-card__includes li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
}
.pricing-card__includes li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--g);
}
.pricing-card__meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.pricing-card .btn {
  margin-top: auto;
}
.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}

/* Contact section (dark) */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact__channels {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__channel-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(247, 243, 233, 0.5);
  margin-bottom: 4px;
}
.contact__channel-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
}
.contact__channel-value:hover { color: var(--amber); }
.contact__form {
  background: var(--cream);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact__form h3 {
  margin-bottom: 8px;
}
.contact__form .form-disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.45;
}

/* FAQ */
.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item__btn {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 24px 32px 24px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  transition: color var(--t);
}
.faq-item__btn:hover { color: var(--g); }
.faq-item__btn::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
  flex: none;
  transition: transform var(--t);
}
.faq-item[aria-expanded="true"] .faq-item__btn::after {
  content: '−';
}
.faq-item__answer {
  padding: 0 32px 0 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}
.faq-item[aria-expanded="true"] .faq-item__answer {
  max-height: 600px;
  padding: 0 32px 28px 0;
}

/* Team variants (для homepage: 4 в ряд верх, 3 нижний) */
.team-grid-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.team-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card--featured {
  background: var(--g);
  color: var(--cream);
  border-color: var(--g);
}
.team-card--featured .team-card__name,
.team-card--featured .team-card__bio { color: var(--cream); }
.team-card--featured .team-card__role { color: var(--amber); }
.team-card--featured .team-card__avatar {
  background: var(--amber);
  color: var(--g);
}
.team-card__quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.45;
  margin-top: 12px;
  color: rgba(247, 243, 233, 0.85);
  border-top: 1px solid rgba(247, 243, 233, 0.15);
  padding-top: 12px;
}

/* Кликабельная карточка-ссылка на профиль */
a.team-card,
.team-card--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.team-card--link:hover {
  text-decoration: none;
}
.team-card__cta {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--g);
  letter-spacing: 0.3px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  transition: color var(--t);
}
.team-card--link:hover .team-card__cta {
  color: var(--amber);
}
/* Для featured (Ветров) — янтарь на зелёном */
.team-card--featured .team-card__cta {
  color: var(--amber);
  border-top-color: rgba(247, 243, 233, 0.15);
}
.team-card--featured.team-card--link:hover .team-card__cta {
  color: var(--cream);
}
/* Для analyst — тоже зелёный, но на cream2 фоне аватара */
.team-card--analyst .team-card__cta {
  color: var(--g);
}

/* Hero — карточка калькулятора */
.hero__calc {
  background: var(--cream);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.hero__calc-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.hero__calc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.15;
}
.hero__calc-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* === Service pages =================================================== */

/* Service hero (тёмный, без 2-колоночного грида с калькулятором) */
.service-hero {
  background: var(--g3);
  color: var(--cream);
  padding: 96px 0 72px;
}
.service-hero__kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247, 243, 233, 0.5);
  margin-bottom: 24px;
}
.service-hero__h1 {
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.05;
  color: var(--cream);
  max-width: 880px;
  margin-bottom: 24px;
}
.service-hero__h1 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 500;
}
.service-hero__sub {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(247, 243, 233, 0.7);
  max-width: 680px;
  margin-bottom: 40px;
}
.service-hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.service-hero__phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.5px;
}
.service-hero__phone:hover { color: var(--amber); }

/* Breadcrumbs — улучшенные стрелки + mobile overflow */
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
}
.breadcrumbs::-webkit-scrollbar { display: none; }
.breadcrumbs a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.breadcrumbs a:hover {
  color: var(--g);
  border-bottom-color: var(--g);
}
.breadcrumbs__sep {
  margin: 0 4px;
  opacity: 0.4;
  font-weight: 400;
  display: inline-block;
  transform: translateY(-1px);
}
.breadcrumbs__sep::before { content: "→"; }
/* Скрыть текстовый «/» из существующего шаблона — стрелка из ::before */
.breadcrumbs__sep:not(:empty) { font-size: 0; }
.breadcrumbs__sep:not(:empty)::before { font-size: 13px; }
/* Иконка домика на первой ссылке «Главная» — inline SVG для кросс-системной консистентности */
.breadcrumbs a[href="/"]:first-child::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 6px;
  vertical-align: -2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9.5L12 3l9 6.5V20a1 1 0 0 1-1 1h-5v-7h-6v7H4a1 1 0 0 1-1-1V9.5z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.7;
}
.service-hero .breadcrumbs a[href="/"]:first-child::before,
.case-detail-hero .breadcrumbs a[href="/"]:first-child::before {
  /* SVG для тёмного фона hero — кремовый цвет */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7F3E9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9.5L12 3l9 6.5V20a1 1 0 0 1-1 1h-5v-7h-6v7H4a1 1 0 0 1-1-1V9.5z'/></svg>");
}
.service-hero .breadcrumbs { color: rgba(247, 243, 233, 0.5); margin-bottom: 16px; }
.service-hero .breadcrumbs a { color: rgba(247, 243, 233, 0.7); }
.service-hero .breadcrumbs a:hover { color: var(--amber); }

/* «Для кого» карточки */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.audience-card__mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  letter-spacing: 1px;
}
.audience-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}
.audience-card__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Includes list (что входит) */
.includes {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: includes;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}
.includes li {
  counter-increment: includes;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}
.includes li::before {
  content: counter(includes, decimal-leading-zero);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  letter-spacing: 1px;
}
.includes__title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}
.includes__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.includes-note {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--white);
  border-left: 3px solid var(--amber);
  font-size: 14px;
  color: var(--text);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Big price block */
.price-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px;
  background: var(--cream2);
  border-radius: var(--radius-lg);
}
.price-block__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-block__from {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  margin-right: 8px;
  vertical-align: top;
}
.price-block__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.3px;
}
.price-block__perks {
  list-style: none;
  padding: 0; margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-block__perks li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
}
.price-block__perks li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--g);
  font-weight: 600;
}

/* Timeline (горизонтальный desktop / вертикальный mobile) */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.timeline--4 { grid-template-columns: repeat(4, 1fr); }
.timeline__step {
  padding: 32px 16px 0;
  position: relative;
  border-top: 2px solid var(--border);
}
.timeline__step:first-child { padding-left: 0; }
.timeline__dot {
  width: 14px; height: 14px;
  background: var(--amber);
  border: 3px solid var(--cream);
  border-radius: 50%;
  position: absolute;
  top: -8px; left: 0;
  box-shadow: 0 0 0 2px var(--border);
}
.timeline__day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--g);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.timeline__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.2;
}
.timeline__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Compact guarantees row (на странице услуги) */
.mini-guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mini-guarantee__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--g);
  margin-bottom: 6px;
}
.mini-guarantee__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Service overview grid (services/index.html) */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--t), transform var(--t);
}
.svc-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.svc-card--featured {
  background: var(--g);
  color: var(--cream);
  border-color: var(--g);
}
.svc-card--featured .svc-card__name,
.svc-card--featured .svc-card__includes li { color: var(--cream); }
.svc-card--featured .svc-card__for { color: rgba(247, 243, 233, 0.65); }
.svc-card--featured .svc-card__price { color: var(--amber); }
.svc-card--featured .svc-card__includes li::before { background: var(--amber); }
.svc-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.01em;
}
.svc-card__price-from {
  font-size: 14px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  margin-right: 4px;
}
.svc-card--featured .svc-card__price-from { color: rgba(247, 243, 233, 0.65); }
.svc-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}
.svc-card__for {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.svc-card__includes {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svc-card__includes li {
  font-size: 13px;
  line-height: 1.5;
  position: relative;
  padding-left: 16px;
}
.svc-card__includes li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--g);
}

/* === Author byline (подпись автора на материалах) =================== */

.author-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 24px 0;
  text-decoration: none;
  transition: border var(--t), box-shadow var(--t);
}
.author-byline:hover {
  border-color: var(--g);
  box-shadow: var(--shadow-card);
}
.author-byline__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--g);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.author-byline__avatar--analyst {
  background: var(--cream2);
  color: var(--g);
}
.author-byline__avatar--partner {
  background: var(--g3);
  color: var(--amber);
}
.author-byline__info {
  flex: 1;
  min-width: 0;
}
.author-byline__label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.author-byline__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.author-byline__role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.author-byline__arrow {
  color: var(--g);
  font-size: 14px;
  font-weight: 600;
  flex: none;
}

/* Тёмный вариант для hero-разделов */
.author-byline--dark {
  background: rgba(247, 243, 233, 0.08);
  border-color: rgba(247, 243, 233, 0.15);
}
.author-byline--dark:hover {
  border-color: rgba(247, 243, 233, 0.4);
  background: rgba(247, 243, 233, 0.12);
}
.author-byline--dark .author-byline__name { color: var(--cream); }
.author-byline--dark .author-byline__label,
.author-byline--dark .author-byline__role { color: rgba(247, 243, 233, 0.6); }
.author-byline--dark .author-byline__arrow { color: var(--amber); }

/* На мобильных — компактнее */
@media (max-width: 600px) {
  .author-byline { padding: 14px 16px; gap: 12px; }
  .author-byline__avatar { width: 40px; height: 40px; font-size: 15px; }
  .author-byline__name { font-size: 15px; }
}

/* === Consent banner (152-ФЗ) ======================================== */

.consent-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: calc(100% - 32px);
  max-width: 560px;
  background: var(--white);
  border: 1px solid var(--g);
  border-radius: var(--radius-lg);
  padding: 20px 24px 20px 24px;
  z-index: 250; /* выше mobile-bar (200), ниже nav-overlay меню */
  box-shadow: 0 18px 48px rgba(15, 61, 46, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.consent-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.consent-banner[hidden] { display: none; }

.consent-banner__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t), background var(--t);
}
.consent-banner__close:hover {
  color: var(--text);
  background: var(--cream2);
}

.consent-banner__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--g);
}
.consent-banner__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 16px;
}
.consent-banner__text a {
  color: var(--g);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}
.consent-banner__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.consent-banner__more {
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px dotted currentColor;
  transition: color var(--t);
}
.consent-banner__more:hover { color: var(--g); }

/* Мобильный — выше sticky bar, полная ширина */
@media (max-width: 900px) {
  .consent-banner {
    bottom: calc(var(--mobile-bar-h) + 12px + env(safe-area-inset-bottom, 0));
    left: 12px;
    right: 12px;
    width: auto;
    transform: translateY(8px);
    padding: 18px 20px;
  }
  .consent-banner.is-visible {
    transform: translateY(0);
  }
  .consent-banner__heading { font-size: 17px; }
  .consent-banner__text { font-size: 13px; }
  .consent-banner__actions { gap: 12px; }
  .consent-banner__actions .btn { flex: 1; min-width: 140px; }
}

/* === Pricing page (сравнительная таблица) =========================== */

/* Discount toggle (–20% за абонемент) */
.discount-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  max-width: 540px;
  margin: 0 auto 32px;
  font-size: 14px;
}
.discount-toggle__switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 100px;
  cursor: pointer;
  flex: none;
  transition: background var(--t);
}
.discount-toggle__switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform var(--t);
}
.discount-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.discount-toggle input[type="checkbox"]:checked + .discount-toggle__switch {
  background: var(--amber);
}
.discount-toggle input[type="checkbox"]:checked + .discount-toggle__switch::after {
  transform: translateX(20px);
}
.discount-toggle__text {
  flex: 1;
  line-height: 1.4;
}
.discount-toggle__text strong { color: var(--g); }
.discount-toggle__badge {
  display: inline-block;
  background: var(--amber);
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: var(--radius);
  margin-left: 6px;
}

/* Сравнительная таблица цен */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pricing-table thead th {
  background: var(--cream2);
  padding: 24px 20px;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.pricing-table thead th:first-child {
  background: transparent;
  border-bottom-color: transparent;
}
.pricing-table thead th.is-featured {
  background: var(--g);
  color: var(--cream);
}
.pricing-table .pt-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
}
.pricing-table .pt-for {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 14px;
}
.pricing-table thead th.is-featured .pt-for { color: rgba(247, 243, 233, 0.7); }
.pricing-table .pt-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.01em;
}
.pricing-table .pt-price-from {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-right: 3px;
}
.pricing-table thead th.is-featured .pt-price-from { color: rgba(247, 243, 233, 0.65); }
.pricing-table .pt-price-old {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: line-through;
  display: block;
  margin-top: 4px;
}
.pricing-table thead th.is-featured .pt-price-old { color: rgba(247, 243, 233, 0.5); }
.pricing-table .pt-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: #0A0A0A;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius);
  text-transform: uppercase;
}

.pricing-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}
.pricing-table tbody td:first-child {
  font-weight: 500;
  background: var(--cream);
  border-right: 1px solid var(--border);
}
.pricing-table tbody td.is-featured-col {
  background: rgba(15, 61, 46, 0.04);
}
.pricing-table tbody tr.is-section td {
  background: var(--cream2);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g);
  padding: 14px 20px;
}
.pricing-table .pt-check {
  color: var(--g);
  font-weight: 600;
  font-size: 16px;
}
.pricing-table .pt-dash {
  color: var(--muted);
  opacity: 0.4;
}
.pricing-table .pt-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.pricing-table tfoot td {
  padding: 24px 20px;
  background: var(--cream);
  border-bottom: none;
  text-align: center;
}
.pricing-table tfoot .btn {
  width: 100%;
  font-size: 12px;
  padding: 11px 16px;
}

/* Адаптивная: на мобильных — карточки вместо таблицы */
.pricing-table-mobile {
  display: none;
}

@media (max-width: 900px) {
  .pricing-table-desktop { display: none; }
  .pricing-table-mobile { display: block; }
  .pricing-mobile-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
  }
  .pricing-mobile-card--featured {
    background: var(--g);
    color: var(--cream);
    border-color: var(--g);
  }
  .pricing-mobile-card__head {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
  }
  .pricing-mobile-card--featured .pricing-mobile-card__head { border-bottom-color: rgba(247, 243, 233, 0.15); }
  .pricing-mobile-card__name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  .pricing-mobile-card__for {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
  }
  .pricing-mobile-card--featured .pricing-mobile-card__for { color: rgba(247, 243, 233, 0.65); }
  .pricing-mobile-card__price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--amber);
    line-height: 1;
  }
  .pricing-mobile-card__feats {
    list-style: none;
    padding: 0; margin: 0 0 18px;
    display: flex; flex-direction: column;
    gap: 8px;
  }
  .pricing-mobile-card__feats li {
    font-size: 14px;
    line-height: 1.5;
    padding-left: 22px;
    position: relative;
  }
  .pricing-mobile-card__feats li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--g);
    font-weight: 600;
  }
  .pricing-mobile-card--featured .pricing-mobile-card__feats li::before { color: var(--amber); }
  .pricing-mobile-card__feats li.is-disabled {
    color: var(--muted);
    opacity: 0.5;
  }
  .pricing-mobile-card__feats li.is-disabled::before { content: "—"; }
}

/* === Cases ========================================================== */

/* Filter chips */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-group__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--t), color var(--t), border var(--t);
}
.filter-chip:hover {
  border-color: var(--g);
  color: var(--g);
}
.filter-chip.is-active {
  background: var(--g);
  color: var(--cream);
  border-color: var(--g);
}
.filter-empty {
  display: none;
  text-align: center;
  padding: 64px 16px;
  color: var(--muted);
}
.filter-empty.is-visible { display: block; }

/* Case card adjustments — добавить badge результата */
.case-card__result-badge {
  display: inline-block;
  background: var(--g);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius);
  align-self: flex-start;
}
.case-card__result-badge--excluded {
  background: var(--amber);
  color: #0A0A0A;
}
.case-card.is-hidden { display: none !important; }

/* Case detail page */
.case-detail-hero {
  background: var(--g3);
  color: var(--cream);
  padding: 80px 0 56px;
}
.case-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.case-tag {
  display: inline-block;
  background: rgba(247, 243, 233, 0.1);
  color: rgba(247, 243, 233, 0.85);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius);
}
.case-result-badge {
  display: inline-block;
  background: var(--amber);
  color: #0A0A0A;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius);
}
.case-detail-hero h1 {
  color: var(--cream);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  max-width: 880px;
  margin-bottom: 16px;
}
.case-detail-hero .case-subline {
  font-size: 16px;
  color: rgba(247, 243, 233, 0.6);
  letter-spacing: 0.3px;
}

/* Case sections */
.case-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.case-section:last-of-type { border-bottom: none; }
.case-section__container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
}
.case-section h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 28px;
}

/* Fact cards (Ситуация клиента) */
.case-facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.case-fact {
  background: var(--cream2);
  padding: 18px 16px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-fact__label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.case-fact__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

/* Risk block */
.case-risk {
  background: rgba(212, 165, 32, 0.08);
}
.case-risk__container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
}
.case-risk__highlight {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  line-height: 1.3;
  border-left: 3px solid var(--amber);
  padding-left: 24px;
  margin: 0;
}

/* Case steps */
.case-steps {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: cs;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.case-steps li {
  counter-increment: cs;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.case-steps li:last-child { border-bottom: none; }
.case-steps li::before {
  content: counter(cs, decimal-leading-zero);
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  letter-spacing: 1px;
}
.case-steps__title {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px;
}
.case-steps__text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

/* Case result block */
.case-result-section {
  background: var(--cream);
}
.result-highlight {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.result-highlight .result-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--g);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
}
.result-highlight .result-badge--excluded {
  background: var(--amber);
  color: #0A0A0A;
}
.result-highlight p {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}
.case-reference {
  margin-bottom: 16px;
}
.case-reference-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.case-details {
  background: var(--cream2);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.2px;
}
.case-details strong { color: var(--g); }

/* Case CTA */
.case-cta {
  background: var(--g3);
  color: var(--cream);
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.case-cta h3 {
  color: var(--cream);
  font-size: clamp(24px, 2.5vw, 32px);
  margin: 0;
}
.case-cta p {
  color: rgba(247, 243, 233, 0.7);
  font-size: 16px;
  max-width: 540px;
  margin: 0;
}
.case-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Other cases footer */
.other-cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.other-cases__heading {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: block;
}

/* === Team profile pages ============================================= */

/* Managing partner block (на team/index.html) */
.partner-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.partner-block__photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--g3);
  color: var(--amber);
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.partner-block__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 4px;
}
.partner-block__role {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.partner-block__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--g);
  border-left: 3px solid var(--amber);
  padding-left: 20px;
  margin: 0 0 24px;
  max-width: 640px;
}
.partner-block__spec-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.partner-block__spec {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 16px;
}
.partner-block__bio {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 640px;
}

/* Profile detail page */
.profile-hero {
  background: var(--cream);
  padding: 56px 0 40px;
}
.profile-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.profile-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--g);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.profile-photo--partner {
  background: var(--g3);
  color: var(--amber);
}
.profile-photo--analyst {
  background: var(--cream2);
  color: var(--g);
}
.profile-info h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  margin-bottom: 6px;
}
.profile-role {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.profile-specialization {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.profile-specialization h3 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.profile-specialization ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profile-specialization li {
  font-size: 15px;
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}
.profile-specialization li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 1px;
  background: var(--g);
}

.profile-bio {
  max-width: 720px;
}
.profile-bio p {
  font-size: 17px;
  line-height: 1.65;
}
.profile-bio__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--g);
  border-left: 3px solid var(--amber);
  padding-left: 24px;
  margin: 32px 0 0;
}

.profile-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile-list a {
  display: block;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border var(--t), box-shadow var(--t), transform var(--t);
}
.profile-list a:hover {
  border-color: var(--g);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}
.profile-list__tag {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.profile-list__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
.profile-list__arrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--g);
  margin-top: 8px;
  display: inline-block;
}

.profile-cta {
  background: var(--g3);
  color: var(--cream);
  padding: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.profile-cta__text {
  max-width: 480px;
}
.profile-cta__text h3 {
  color: var(--cream);
  font-size: 26px;
  margin-bottom: 6px;
}
.profile-cta__text p {
  color: rgba(247, 243, 233, 0.65);
  margin: 0;
  font-size: 14px;
}
.profile-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* === UFAS hub (карта 85 регионов) =================================== */

.ufas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ufas-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border var(--t), box-shadow var(--t), transform var(--t);
}
.ufas-card:hover {
  border-color: var(--g);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}
.ufas-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.ufas-card__city {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.2px;
}

/* === Article (long-form материалы) ================================== */

.article-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 48px;
}

.article-page .breadcrumbs {
  margin-bottom: 28px;
}

.article-header {
  margin-bottom: 32px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.article-meta time {
  color: var(--muted);
}
.article-meta a {
  color: var(--g);
  border-bottom: 1px solid currentColor;
}
.article-tag {
  display: inline-block;
  background: rgba(15, 61, 46, 0.08);
  color: var(--g);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 11px;
}
.article-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 0;
}

.article-lead {
  font-size: 18px;
  color: var(--text);
  line-height: 1.6;
  border-left: 3px solid var(--amber);
  padding-left: 24px;
  margin: 0 0 48px;
}

/* Article body */
.article-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.article-body > * {
  margin-bottom: 20px;
}
.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  margin: 48px 0 16px;
  scroll-margin-top: 88px;
}
.article-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin: 32px 0 12px;
}
.article-body p { margin-bottom: 16px; }
.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin: 12px 0 20px;
}
.article-body li {
  margin-bottom: 8px;
  line-height: 1.65;
}
.article-body a {
  color: var(--g);
  border-bottom: 1px solid currentColor;
  font-weight: 500;
}
.article-body a:hover {
  color: var(--g2);
}
.article-body strong { font-weight: 600; }
.article-body blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: var(--g);
  border-left: 3px solid var(--amber);
  padding: 6px 0 6px 24px;
  margin: 28px 0;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.article-body table th,
.article-body table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.article-body table th {
  font-weight: 600;
  background: var(--cream2);
  color: var(--g);
  letter-spacing: 0.3px;
}
.article-body .article-callout {
  background: var(--cream2);
  border-left: 3px solid var(--amber);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  line-height: 1.6;
  margin: 28px 0;
}
.article-body .article-callout strong { color: var(--g); }
.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* Inline CTA-блок внутри статьи */
.article-cta {
  background: var(--cream2);
  border-left: 4px solid var(--amber);
  padding: 32px;
  margin: 56px 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.article-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 8px;
}
.article-cta p {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
.article-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-bottom: 14px;
}
.article-form input {
  font: inherit;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: border var(--t), box-shadow var(--t);
}
.article-form input:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.08);
}
.article-form button {
  background: var(--amber);
  color: #0A0A0A;
  border: none;
  border-radius: var(--radius);
  padding: 12px 22px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t);
  white-space: nowrap;
}
.article-form button:hover { background: var(--amber2); }
.article-cta .form-consent {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.article-cta .form-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Related */
.article-related {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.article-related h3 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.article-related__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.article-related__list a {
  display: block;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border var(--t), box-shadow var(--t), transform var(--t);
}
.article-related__list a:hover {
  border-color: var(--g);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}
.article-related__tag {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.article-related__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

/* TOC (опционально, для больших статей) */
.article-toc {
  background: var(--cream2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 40px;
}
.article-toc__label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.article-toc ol {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: toc;
}
.article-toc li {
  counter-increment: toc;
  font-size: 14px;
  padding-left: 24px;
  position: relative;
}
.article-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--amber);
}
.article-toc a {
  color: var(--text);
  border-bottom: 1px dotted var(--border);
}
.article-toc a:hover {
  color: var(--g);
  border-bottom-color: currentColor;
}

/* 16. Media queries (mobile ≤ 900px) -------------------------------- */
@media (max-width: 900px) {
  body {
    padding-bottom: var(--mobile-bar-h);
    padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0));
  }

  .container,
  .container-narrow,
  .site-header__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .hero { padding: 56px 0 48px; }

  .site-nav,
  .site-header__phone { display: none; }

  .hamburger {
    display: inline-flex;
  }

  .site-header__actions .btn { display: none; }

  .mobile-bar { display: grid; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .site-footer { padding: 56px 0 24px; }
  .site-footer__grid,
  .site-footer__grid--four {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .calc { padding: 24px; }
  .calc__question { font-size: 20px; }

  /* Homepage blocks */
  .hero { padding: 64px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__sub { font-size: 16px; }
  .hero__calc { padding: 24px; }

  .approach__grid { grid-template-columns: 1fr; gap: 40px; }
  .approach-item { grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; }
  .approach-item__num { font-size: 22px; }
  .approach-item__title { font-size: 18px; }

  .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-2px); }

  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__form { padding: 24px; }

  .faq-item__btn { font-size: 18px; padding: 20px 28px 20px 0; }
  .faq-item__answer { font-size: 14px; }
  .faq-item[aria-expanded="true"] .faq-item__answer { padding-bottom: 20px; }

  .team-grid-top,
  .team-grid-bottom { grid-template-columns: 1fr; }

  /* Service pages */
  .service-hero { padding: 56px 0 48px; }
  .audience-grid { grid-template-columns: 1fr; }
  .includes { grid-template-columns: 1fr; gap: 0; }
  .price-block { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .timeline,
  .timeline--4 { grid-template-columns: 1fr; gap: 24px; }
  .timeline__step {
    padding: 16px 0 0 24px;
    border-top: none;
    border-left: 2px solid var(--border);
  }
  .timeline__step:first-child { padding-left: 24px; }
  .timeline__dot { left: -8px; top: 16px; }
  .mini-guarantees { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .svc-grid { grid-template-columns: 1fr; }

  /* Team profiles */
  .partner-block { grid-template-columns: 1fr; gap: 24px; padding: 28px; text-align: left; }
  .partner-block__photo { width: 120px; height: 120px; font-size: 40px; }
  .profile-hero { padding: 32px 0 24px; }
  .profile-header { grid-template-columns: 1fr; gap: 24px; }
  .profile-photo { width: 120px; height: 120px; font-size: 40px; }
  .profile-cta { padding: 28px 24px; flex-direction: column; align-items: flex-start; text-align: left; }

  /* UFAS hub */
  .ufas-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ufas-card { padding: 14px 16px; }
  .ufas-card__name { font-size: 15px; }

  /* Article */
  .article-page { padding: 32px 20px; }
  .article-cta { padding: 24px; margin: 40px 0; }
  .article-form { grid-template-columns: 1fr; }
  .article-related__list { grid-template-columns: 1fr; }
  .article-body h2 { margin: 36px 0 14px; }

  /* Cases */
  .filters { gap: 20px; flex-direction: column; }
  .case-detail-hero { padding: 48px 0 40px; }
  .case-section { padding: 48px 0; }
  .case-section__container,
  .case-risk__container { padding: 0 20px; }
  .case-facts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .case-cta { padding: 40px 24px; }
  .other-cases { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat__num { font-size: 36px; }

  /* Очень узкие экраны (iPhone SE, старые Android) */
  .container,
  .container-narrow,
  .site-header__inner { padding-left: 16px; padding-right: 16px; }
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .service-hero { padding: 40px 0 32px; }

  h1, .service-hero__h1, .hero__h1 { font-size: clamp(28px, 7vw, 36px); }
  .lead { font-size: 15px; }

  /* Кнопки занимают всю ширину для удобства тапа */
  .service-hero__actions .btn,
  .hero .btn { width: 100%; }
  .service-hero__actions { flex-direction: column; align-items: stretch; }
}

/* === ПЛАНШЕТ — Tablet breakpoint (600–900px) ======================== */
/* Планшеты получают 2 колонки вместо одной, но nav уже свёрнут в hamburger */
@media (min-width: 600px) and (max-width: 900px) {
  .grid-2,
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat__num { font-size: clamp(32px, 5vw, 44px); }

  /* Hero — текст слева, калькулятор снизу полной шириной */
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__calc { max-width: 640px; margin: 0 auto; width: 100%; }

  /* Approach — два столбца текст + список */
  .approach__grid { grid-template-columns: 1fr; gap: 40px; }

  /* Pricing — 2 колонки + одна растянутая внизу или 2×2 */
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pricing-card--featured { transform: none; grid-column: 1 / -1; }
  .pricing-card--featured:hover { transform: translateY(-2px); }

  /* Контакты — 2 колонки */
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Team — 2×2 для практиков, 3 колонки для аналитиков */
  .team-grid-top { grid-template-columns: repeat(2, 1fr); }
  .team-grid-top .team-card--featured { grid-column: 1 / -1; }
  .team-grid-bottom { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  /* UFAS-хаб — 3 колонки на планшете */
  .ufas-grid { grid-template-columns: repeat(3, 1fr); }

  /* Services overview 2×2 — это и есть наш дефолт, остаётся */
  .svc-grid { grid-template-columns: repeat(2, 1fr); }

  /* Кейсы хаб — 2 колонки */
  .other-cases { grid-template-columns: 1fr 1fr; }

  /* Service pages */
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .includes { grid-template-columns: 1fr; }
  .price-block { grid-template-columns: 1fr; gap: 24px; padding: 32px; }

  /* Timeline на планшете — горизонтальный, 2-3 в ряд */
  .timeline,
  .timeline--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .timeline__step {
    padding: 32px 16px 0;
    border-top: 2px solid var(--border);
    border-left: none;
  }
  .timeline__step:first-child { padding-left: 0; }
  .timeline__dot { top: -8px; left: 0; }

  /* Mini-guarantees — 3 в ряд (стандарт) */
  .mini-guarantees { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  /* Profile pages */
  .profile-header { grid-template-columns: 160px 1fr; gap: 32px; }
  .profile-photo { width: 160px; height: 160px; font-size: 52px; }
  .partner-block { grid-template-columns: 160px 1fr; gap: 32px; padding: 32px; }
  .partner-block__photo { width: 160px; height: 160px; font-size: 52px; }

  /* Cases */
  .filters { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .case-facts { grid-template-columns: repeat(3, 1fr); }

  /* Article */
  .article-related__list { grid-template-columns: repeat(3, 1fr); }
  .article-form { grid-template-columns: 1fr 1fr; }
  .article-form button { grid-column: 1 / -1; }

  /* Footer — 2 колонки на планшете для четырёх-колоночной версии */
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 32px; }
  .site-footer__grid--four { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

/* === TOUCH targets — для мобильных и планшетов ====================== */
@media (max-width: 900px), (hover: none) {
  /* Все интерактивные элементы минимум 44×44 (Apple HIG, WCAG 2.5.5) */
  .hamburger { width: 44px; height: 44px; }
  .btn { padding: 14px 28px; min-height: 44px; }
  .btn-sm { padding: 12px 22px; min-height: 40px; }

  /* FAQ кнопки — больше тап-зона */
  .faq-item__btn { padding-top: 22px; padding-bottom: 22px; min-height: 44px; }

  /* Filter chips — больше воздуха для тапа */
  .filter-chip { padding: 10px 16px; min-height: 40px; }

  /* Form inputs — гарантированно 44px */
  .form-field input,
  .form-field select,
  .form-field textarea { min-height: 44px; padding: 14px 16px; }
  .form-consent input[type="checkbox"] { width: 20px; height: 20px; }

  /* Mobile-bar — увеличиваем тапы */
  .mobile-bar { height: 64px; }
  .mobile-bar .mb-btn { min-height: 44px; }

  /* Calc options — больше padding для удобства */
  .calc__option { padding: 18px 20px; min-height: 56px; }
  .calc__option input[type="radio"] { width: 20px; height: 20px; }

  /* Breadcrumbs — больше тап-зона */
  .breadcrumbs a { padding: 6px 2px; min-height: 32px; display: inline-flex; align-items: center; }
}

/* === Hover-эффекты только для устройств с настоящим hover =========== */
/* Это убирает «прилипшие» hover-состояния на touch-устройствах */
@media (hover: none) {
  .card:hover,
  .case-card:hover,
  .team-card:hover,
  .pricing-card:hover,
  .guarantee-card:hover,
  .audience-card:hover,
  .svc-card:hover,
  .ufas-card:hover,
  .profile-list a:hover,
  .article-related__list a:hover {
    transform: none;
    box-shadow: var(--shadow-card);
  }
  .pricing-card--featured { transform: translateY(-12px); }
  .pricing-card--featured:hover { transform: translateY(-12px); }
}

/* === Landscape планшета (например iPad горизонтально) =============== */
@media (min-width: 900px) and (max-width: 1180px) and (orientation: landscape) {
  /* На горизонтальных планшетах слегка уменьшаем padding контейнера */
  .container,
  .container-narrow,
  .site-header__inner { padding-left: 32px; padding-right: 32px; }
}

/* === Уменьшенная анимация — для системного prefer-reduced-motion ==== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover,
  .case-card:hover,
  .team-card:hover { transform: none; }
}

/* === Print стили (минимально полезные) ============================== */
@media print {
  .site-header, .site-footer, .mobile-bar, .nav-overlay,
  .article-cta, .contact__form, .filters, .skip-link { display: none !important; }
  body { padding-top: 0; padding-bottom: 0; background: white; color: black; }
  a { color: black; text-decoration: underline; }
  .container,
  .container-narrow { max-width: 100%; padding: 0; }
}
