:root {
  --ink: #161616;            
  --ink-2: #3C3C3C;          
  --ink-3: #6D6D6D;
  --bg: #E4DFDA;
  --card: #FFFFFF;
  --beige: #E7E0D9;          
  --beige-2: #ECE6DF;
  --line: #E4DEDA;
  --grad-from: #CABCAE;
  --grad-to: #867767;
  --yellow: #FFBD30;
  --ghost: #E8DED6;
  --radius: 20px;
  --shadow: 0 20px 50px rgba(60, 45, 30, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}


.label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.h2 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 500;
  color: var(--ink);
}
.h2--left { text-align: left; }

.h3 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
}
.h3--icon { display: flex; align-items: center; gap: 12px; }
.h3__icon { width: 26px; height: 26px; flex: none; }

.lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-2);
  margin-top: 10px;
}
.lead--dark { color: var(--ink); font-weight: 600; }

.text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}
.text--sm { font-size: 15px; line-height: 1.55; }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(86, 68, 49, .18); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--grad {
  background: linear-gradient(180deg, var(--grad-from) 0%, var(--grad-to) 100%);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid #B9A98F;
  border-radius: 10px;
}
.btn--outline {
  background: transparent;
  border: 1px solid #D9CFC5;
  color: var(--ink);
}
.btn--outline:hover { background: rgba(255,255,255,.5); }

.btn--sm { font-size: 16px; padding: 0 28px; height: 56px; }
.btn--lg { font-size: 18px; padding: 0 28px; height: 56px; }
.btn--wide { width: 100%; font-size: 16px; padding: 0 28px; height: 56px; }

.btn__arrow { width: 20px; height: 20px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: opacity .15s;
}
.arrow-link:hover { opacity: .7; }
.arrow-link .btn__arrow { width: 18px; height: 18px; }


.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section { margin-top: 100px; }

.section-head { text-align: center; margin-bottom: 40px; }
.section-head .h2 { margin-top: 10px; }
.section-head .lead { font-weight: 500; color: var(--ink-2); }


.hero {
  position: relative;
  background: linear-gradient(180deg, #E6DCD2 0%, #AD9E8F 100%);
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .8;
  pointer-events: none;
}
.hero__blob--dark {
  width: 640px; height: 640px;
  right: -180px; top: -220px;
  background: #867767;
}
.hero__blob--light {
  width: 900px; height: 900px;
  left: -260px; top: -300px;
  background: #E6DDD3;
}


.header {
  position: relative;
  z-index: 5;
  background: #fff;
}

.header__row1 {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.header__who { display: flex; align-items: center; gap: 10px; }
.header__photo {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
}
.header__photo img { width: 100%; height: 100%; object-fit: cover; }
.header__who-text { display: flex; flex-direction: column; }
.header__name { font-size: 18px; font-weight: 600; line-height: 1.15; }
.header__role { font-size: 14px; color: var(--ink-3); line-height: 1.15; }

.benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: 10px;
  padding: 2px 12px 2px 8px;
  height: 56px;
  overflow: hidden;
}
.benefit__img {
  width: 39px; height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}
.benefit__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink-2);
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.header__contact { display: flex; flex-direction: column; }
.header__contact-label { font-size: 14px; color: var(--ink-3); }
.header__contact-value { font-size: 18px; font-weight: 600; color: var(--ink-2); }
.header__contact-value--right { text-align: right; }
.header__contact-value:hover { color: var(--ink); }


.header__row2 { border-top: 1px solid var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.nav__link {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color .15s;
}
.nav__link:hover, .nav__link--active { color: var(--ink); }
.nav__hand {
  position: absolute;
  width: 23px; height: 23px;
  left: 22px; top: -20px;
}


.hero__offer {
  position: relative;
  padding-top: 100px;
  min-height: 685px;
  display: flex;
}

.hero__text {
  position: relative;
  z-index: 2;
  max-width: 692px;
}

.rating__line { display: flex; align-items: center; gap: 4px; }
.rating__star { width: 14px; height: 14px; }
.rating__value { font-size: 18px; font-weight: 600; margin-left: 8px; }
.rating__count { font-size: 14px; color: var(--ink-3); }
.rating__caption { font-size: 14px; color: var(--ink); margin-top: 2px; }

.hero__title {
  font-size: 64px;
  line-height: 1.0;
  font-weight: 500;
  margin-top: 16px;
  max-width: 700px;
}

.hero__subtitle {
  font-size: 20px;
  font-weight: 600;
  margin-top: 16px;
}

.hero__desc {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-2);
  margin-top: 16px;
  max-width: 640px;
}

.hero__btns { display: flex; gap: 12px; margin-top: 40px; }

.hero__photo {
  position: absolute;
  right: 20px;
  bottom: 0;
  width: 692px;
  height: 685px;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
}


.stats-wrap {
  position: relative;
  z-index: 3;
  margin-top: -106px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 24px;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

#about { margin-top: 40px; }

.stats__col { display: flex; flex-direction: column; gap: 8px; }
.stats__num { font-size: 64px; line-height: 1; font-weight: 500; }
.stats__title { font-size: 28px; font-weight: 500; }
.stats__sub { font-size: 18px; font-weight: 500; color: var(--ink-2); line-height: 1.2; }
.stats__caption {
  font-size: 14px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: auto;
}
.stats__caption--top { margin-top: 0; }
.stats__icon { width: 24px; height: 24px; }

.stats__divider {
  width: 1px;
  background: linear-gradient(180deg, var(--grad-from), var(--grad-to));
}

.stats__path {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.stats__year { font-size: 36px; font-weight: 500; line-height: 1.1; }
.stats__arrow { width: 66px; height: 15px; flex: 1; min-width: 40px; }


.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.about__left .label { margin-bottom: 10px; }
.about__left .h2 { margin-bottom: 4px; }
.about__left .text { margin-top: 20px; max-width: 560px; }
.about__left .btn { margin-top: 32px; }

.card--certs { padding: 32px; }

.certs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.cert { position: relative; cursor: zoom-in; }
.cert__doc {
  position: relative;
  aspect-ratio: 236 / 300;
  border-radius: 12px;
  background: linear-gradient(180deg, #F4F0EB 0%, #DCD4CB 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  overflow: hidden;
}
.cert__doc::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(80,66,52,0) 0%, rgba(62,50,38,.88) 100%);
}
.cert__brand {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid #B9AC9D;
  margin-bottom: 16px;
  position: relative;
}
.cert__brand::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid #B9AC9D;
}
.cert__word {
  font-size: 15px;
  letter-spacing: .14em;
  color: #7A6C5D;
  font-weight: 500;
}
.cert__sub {
  font-size: 10px;
  letter-spacing: .2em;
  color: #9A8D7E;
  margin-top: 4px;
}
.cert__caption {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  z-index: 1;
}
.cert__zoom {
  position: absolute;
  top: 8px; right: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.cert__zoom svg { width: 14px; height: 14px; }

.certs__note {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
  font-size: 15px;
  color: var(--ink-2);
}
.certs__note img { width: 24px; height: 30px; object-fit: cover; border-radius: 6px; }


.spec {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.spec__states { padding: 32px; display: flex; flex-direction: column; }
.spec__states .h3 { margin-bottom: 24px; }

.chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.state-chip {
  position: relative;
  background: var(--beige);
  border-radius: 12px;
  padding: 16px 20px 18px;
  overflow: hidden;
  min-height: 108px;
}
.state-chip__title { font-size: 18px; font-weight: 500; }
.state-chip__text {
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-2);
  margin-top: 6px;
  max-width: 82%;
}
.state-chip__ghost {
  position: absolute;
  right: 14px; bottom: -10px;
  font-size: 64px;
  font-weight: 500;
  color: rgba(134, 119, 103, .22);
  line-height: 1;
}
.spec__states .arrow-link { margin-top: auto; padding-top: 24px; }

.spec__steps { padding: 32px; display: flex; flex-direction: column; }
.spec__steps .h3 { margin-top: 8px; }

.steps { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; gap: 12px; }
.step__badge {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--grad-from), var(--grad-to));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.step__title { font-size: 17px; font-weight: 600; line-height: 1.25; }
.step__text {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
  margin-top: 6px;
  border-left: 1px dashed #D8CFC4;
  padding-left: 12px;
  margin-left: -7px;
}
.spec__steps .btn { margin-top: auto; }


.accordion { display: flex; flex-direction: column; gap: 16px; }

.acc-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 40px;
}
.acc-num {
  flex: none;
  width: 56px; height: 44px;
  background: var(--beige);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-2);
}
.acc-head-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.acc-title { font-size: 26px; font-weight: 500; color: var(--ink); }

.acc-toggle {
  position: relative;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--beige);
  transition: background .15s;
}
.acc-toggle::before,
.acc-toggle::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.6px;
  background: var(--ink-2);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.acc-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-head:hover .acc-toggle { background: #DFD6CC; }

.acc-body { display: none; padding: 0 40px 32px; }
.acc-item.is-open .acc-body { display: block; }

.acc-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.acc-strong { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.acc-list { margin-bottom: 18px; }
.acc-list li {
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  padding-left: 14px;
  margin-bottom: 6px;
}
.acc-list li::before { content: '–'; position: absolute; left: 0; color: var(--ink-2); }
.acc-info .text--sm { max-width: 480px; }

.quote-card {
  position: relative;
  background: var(--beige);
  border-radius: 12px;
  padding: 20px 24px;
  overflow: hidden;
}
.quote-card__who { display: flex; align-items: center; gap: 12px; }
.quote-card__who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.quote-card__name { font-size: 16px; font-weight: 600; }
.quote-card__role { font-size: 13px; color: var(--ink-3); }
.quote-card__text { font-size: 16px; line-height: 1.45; margin-top: 14px; }
.quote-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 12px;
}
.quote-card__link:hover { opacity: .7; }
.quote-card__link .btn__arrow { width: 16px; height: 16px; }
.quote-card__ghost {
  position: absolute;
  right: 14px; bottom: -34px;
  font-size: 110px;
  line-height: 1;
  color: rgba(134, 119, 103, .28);
  font-family: Georgia, serif;
  pointer-events: none;
}

.acc-note {
  text-align: center;
  font-size: 15px;
  color: var(--ink-3);
  margin-top: 28px;
}


.cta-quiz {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  padding: 40px;
  align-items: center;
}
.cta-quiz__title { font-size: 36px; font-weight: 500; line-height: 1.15; margin-top: 10px; }
.cta-quiz__left .text--sm { margin-top: 14px; max-width: 420px; }

.cta-quiz__selects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.field__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field__select,
.field__input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 0 16px;
  outline: none;
  transition: border-color .15s;
}
.field__select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px; }
.field__input:focus, .field__select:focus { border-color: var(--grad-to); }
.field__input::placeholder { color: #A39C94; }

.quiz-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-chip {
  background: var(--beige);
  border: 1px solid transparent;
  border-radius: 10px;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .15s;
}
.quiz-chip:hover { background: #DFD6CC; }
.quiz-chip.is-active {
  background: linear-gradient(180deg, var(--grad-from), var(--grad-to));
  color: #fff;
}

.quiz-result {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  background: var(--beige-2);
  border-radius: 10px;
  padding: 12px 16px;
}
.cta-quiz__form .btn--quiz { margin-top: 20px; }

.btn--quiz { font-size: 16px; height: 56px; padding: 0 32px; }


.pub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pub-card { overflow: hidden; display: flex; flex-direction: column; padding: 12px; }
.pub-card__img {
  position: relative;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
}
.pub-card__img--p1 { background: linear-gradient(140deg, #DACCBC 0%, #B3A18F 100%); }
.pub-card__img--p2 { background: linear-gradient(140deg, #CDBEA9 0%, #A79781 100%); }
.pub-card__img--p3 { background: linear-gradient(140deg, #E0D5C6 0%, #BFB09B 100%); }
.pub-card__img--p4 { background: linear-gradient(140deg, #D3C7B4 0%, #AC9C86 100%); }
.pub-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 80px at 70% 40%, rgba(255,255,255,.35), transparent 70%);
}
.pub-card__tag {
  position: absolute;
  z-index: 2;
  left: 10px; top: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.pub-card__body { padding: 16px 6px 8px; display: flex; flex-direction: column; flex: 1; }
.pub-card__meta { font-size: 13px; color: var(--ink-3); }
.pub-card__title { font-size: 18px; font-weight: 600; margin-top: 8px; }
.pub-card__text { font-size: 15px; line-height: 1.45; color: var(--ink-2); margin-top: 8px; }
.pub-card__body .arrow-link { margin-top: auto; padding-top: 14px; font-size: 15px; }


.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.blog-head .label { margin-bottom: 10px; }
.blog-head .lead { margin-top: 10px; max-width: 640px; }

.blog-head__btns { display: flex; gap: 12px; }

.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: var(--shadow);
  transition: transform .15s;
}
.channel:hover { transform: translateY(-2px); }
.channel__icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel__icon svg { width: 22px; height: 22px; }
.channel__icon--vk { background: #EDF1F7; }
.channel__name { display: block; font-size: 16px; font-weight: 600; }
.channel__sub { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.channel--beige { background: var(--beige); box-shadow: none; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card__thumb {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #B4A48C;
  background-size: cover;
}
.video-card__thumb--v1 { background-image: url('../img/hero-doctor.png'); background-position: 50% 12%; }
.video-card__thumb--v2 { background-image: url('../img/hero-doctor.png'); background-position: 50% 38%; }
.video-card__thumb--v3 { background-image: url('../img/hero-doctor.png'); background-position: 50% 60%; }
.video-card__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(70, 56, 42, .12);
}
.video-card__play {
  position: absolute;
  z-index: 2;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(40, 30, 20, .25);
  transition: transform .15s;
}
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.06); }
.video-card__play svg { width: 24px; height: 24px; margin-left: 3px; }


.reviews {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.reviews__list { display: flex; flex-direction: column; gap: 16px; }

.review {
  position: relative;
  padding: 24px 32px;
  flex: 1;
}
.review__name { font-size: 18px; font-weight: 600; }
.review__text { font-size: 16px; line-height: 1.5; color: var(--ink-2); margin-top: 8px; max-width: 92%; }
.review__meta { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.review__ghost {
  position: absolute;
  right: 20px; bottom: -26px;
  font-size: 100px;
  line-height: 1;
  color: rgba(134, 119, 103, .25);
  font-family: Georgia, serif;
}

.reviews__platforms { padding: 24px 28px; }
.reviews__sub { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.platform {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  transition: border-color .15s, transform .15s;
}
.platform:hover { border-color: #CFC2B4; transform: translateY(-2px); }
.platform__logo {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.platform__cap { display: block; font-size: 12.5px; line-height: 1.35; color: var(--ink-3); margin-top: 8px; }

.pd-pro { color: #F47521; font-weight: 600; font-size: 16px; }
.pd-doc { color: #3F3F3F; font-weight: 600; font-size: 16px; }
.np-ico {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #FFD23F;
  display: inline-block;
}
.np-name { color: #3F3F3F; font-weight: 600; font-size: 15px; }
.zn-name { color: #2E5BFF; font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.gz-name {
  color: #144C8C;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.1;
  text-align: left;
  border-left: 3px solid #E4003A;
  padding-left: 6px;
}


.meet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.meet-card { padding: 24px 32px 28px; }
.meet-card .h3 { margin-top: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.meet-card .text--sm { margin-top: 16px; }
.meet-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
}
.meet-card__link:hover { opacity: .7; }
.meet-card__plus {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--grad-from), var(--grad-to));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.meet-card__plus svg { width: 12px; height: 12px; }


.cta-write {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  padding: 40px;
  align-items: start;
}
.cta-write__title { font-size: 44px; font-weight: 500; margin-top: 10px; }
.cta-write__left .text--sm { margin-top: 14px; max-width: 440px; }
.cta-write__channels {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.cta-write__channels .channel { box-shadow: none; }

.cta-write__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field__textarea { height: auto; resize: vertical; min-height: 84px; padding: 12px 16px; line-height: 1.45; }
.cta-write__form .btn--wide { margin-top: 16px; }

.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  position: relative;
}
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.agree__box {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--grad-from), var(--grad-to));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.agree__box svg { width: 12px; height: 12px; opacity: 0; transition: opacity .15s; }
.agree input:checked + .agree__box svg { opacity: 1; }
.agree__link { text-decoration: underline; }

.form-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--beige-2);
  border-radius: 10px;
  padding: 12px 16px;
  line-height: 1.5;
}


.geo-card {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 40px;
  padding: 12px;
}
.geo-card__photo {
  position: relative;
  border-radius: 12px;
  min-height: 320px;
  background:
    radial-gradient(300px 200px at 30% 30%, rgba(255,255,255,.5), transparent 70%),
    linear-gradient(140deg, #D8CFC2 0%, #B4A691 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.geo-card__ph-label {
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.9);
  background: rgba(86, 68, 49, .45);
  border-radius: 8px;
  padding: 6px 14px;
}
.geo-card__info { padding: 20px 20px 20px 0; display: flex; flex-direction: column; }
.geo-card__addr { font-size: 16px; color: var(--ink-2); margin-top: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.geo-card__info .text--sm { margin-top: 16px; }
.geo-card__phone {
  font-size: 24px;
  font-weight: 600;
  margin-top: 12px;
}
.geo-card__phone:hover { color: var(--grad-to); }
.geo-card__phone-note { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.geo-card__btns { display: flex; gap: 12px; margin-top: auto; padding-top: 20px; }


.footer {
  margin-top: 100px;
  background: #fff;
  padding-top: 30px;
  overflow: hidden;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__who { display: flex; align-items: center; gap: 10px; }
.footer__photo { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; }
.footer__photo img { width: 100%; height: 100%; object-fit: cover; }
.footer__who-text { display: flex; flex-direction: column; }
.footer__name { font-size: 16px; font-weight: 600; line-height: 1.2; }
.footer__role { font-size: 13px; color: var(--ink-3); line-height: 1.2; }
.footer__btns { display: flex; gap: 12px; }

.footer__mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 14px;
  color: var(--ink-3);
}
.footer__mid a:hover { color: var(--ink); }

.footer__ghost {
  margin-top: 18px;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ghost);
  padding-bottom: 10px;
}


.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(30, 24, 18, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox__inner {
  position: relative;
  background: #F4F0EB;
  border-radius: 16px;
  width: min(560px, 92vw);
  padding: 32px;
}
.lightbox__close {
  position: absolute;
  right: 12px; top: 8px;
  background: none;
  border: none;
  font-size: 34px;
  line-height: 1;
  color: var(--ink-3);
}
.lightbox__title { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.lightbox__doc {
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #DCD4CB 100%);
  border: 1px solid #D5CCBF;
  padding: 28px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lightbox__doc .cert__word { font-size: 22px; position: static; color: #7A6C5D; }
.lightbox__doc .cert__sub { font-size: 14px; position: static; color: #9A8D7E; }
.lightbox__doc .cert__caption { position: static; color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.lightbox__doc .cert__lines {
  display: block;
  width: 100%;
  min-height: 140px;
  background: repeating-linear-gradient(180deg, #E3DBD0 0 1px, transparent 1px 22px);
  margin-top: 12px;
}


@media (max-width: 1240px) {
  .hero__photo { width: 46vw; height: 100%; }
  .header__contacts { gap: 20px; }
  .pub-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__ghost { font-size: 32px; }
}

@media (max-width: 1024px) {
  .h2 { font-size: 38px; }
  .hero__title { font-size: 46px; }
  .hero__photo { display: none; }
  .hero__offer { min-height: 0; padding-bottom: 48px; }
  .stats-wrap { margin-top: -60px; }
  .stats { grid-template-columns: 1fr; }
  .stats__divider { width: 100%; height: 1px; }
  .about, .spec, .reviews, .meet-grid, .cta-quiz, .cta-write { grid-template-columns: 1fr; }
  .geo-card { grid-template-columns: 1fr; }
  .geo-card__photo { min-height: 260px; }
  .blog-head { flex-direction: column; align-items: flex-start; }
  .header__contacts { display: none; }
  .benefit { display: none; }
}

@media (max-width: 640px) {
  .h2 { font-size: 30px; }
  .hero__title { font-size: 34px; }
  .nav { flex-wrap: wrap; gap: 10px 18px; justify-content: flex-start; }
  .nav__hand { display: none; }
  .header__row1 { flex-wrap: wrap; row-gap: 8px; }
  .header__row1 .btn { margin-left: auto; }
  .hero__btns { flex-direction: column; align-items: stretch; }
  .chips-grid, .cta-quiz__selects, .cta-write__row, .platform-grid, .video-grid, .pub-grid { grid-template-columns: 1fr; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc-head { padding: 20px; }
  .acc-body { padding: 0 20px 24px; }
  .certs { grid-template-columns: 1fr; }
  .footer__top, .footer__mid { flex-direction: column; align-items: flex-start; }
  .footer__ghost { font-size: 20px; }
  .section { margin-top: 64px; }
}


body.no-scroll { overflow: hidden; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 29px; }
.burger.is-active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  visibility: hidden;
  pointer-events: none;
  transition: visibility .3s;
}
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 24, 18, .5);
  opacity: 0;
  transition: opacity .3s;
}
.mobile-menu.is-open .mobile-menu__overlay { opacity: 1; }
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  padding: 20px 24px 28px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-menu__name { font-size: 18px; font-weight: 600; }
.mobile-menu__close {
  flex: none;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--beige);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: var(--ink-2);
  padding: 0 0 4px;
}
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__link {
  font-size: 17px;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__link:hover { color: var(--grad-to); }
.mobile-menu__contacts {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--ink-2);
}
.mobile-menu__phone { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }


.popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  pointer-events: none;
  transition: visibility .25s;
}
.popup.is-open { visibility: visible; pointer-events: auto; }
.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 24, 18, .55);
  opacity: 0;
  transition: opacity .25s;
}
.popup.is-open .popup__overlay { opacity: 1; }
.popup__inner {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s, transform .25s;
}
.popup.is-open .popup__inner { opacity: 1; transform: none; }
.popup__close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--beige);
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-2);
  padding: 0 0 4px;
}
.popup__close:hover { background: #DFD6CC; }
.popup__title { font-size: 26px; line-height: 1.15; font-weight: 500; margin-top: 10px; padding-right: 32px; }
.popup__sub { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin-top: 10px; }
.popup__quiz {
  background: var(--beige-2);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 16px;
}
.popup__quiz-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.popup__quiz-text { font-size: 14px; line-height: 1.5; margin-top: 6px; color: var(--ink); }
.popup form .field { margin-top: 16px; }
.popup form .btn--wide { margin-top: 20px; }
.popup form .agree { margin-top: 14px; }

.popup .form-note { margin-top: 14px; }


@media (max-width: 1024px) {
  .header__row2 { display: none; }
  .header__row1 .btn { margin-left: auto; }
  .burger { display: inline-flex; }

  .hero__offer { flex-direction: column; }
  .hero__photo {
    display: block;
    position: static;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    margin-top: 32px;
    object-position: 50% 18%;
  }
}

@media (max-width: 640px) {
  .header__row1 { gap: 12px; }
  .header__row1 .btn { display: none; }
  .burger { margin-left: auto; }
  .header__name { font-size: 16px; }

  .btn--sm, .btn--lg, .btn--wide, .btn--quiz { height: 52px; font-size: 16px; }
  .hero__btns .btn { width: 100%; }
  .cta-quiz__form .btn--quiz { width: 100%; }
  .footer__btns { width: 100%; }
  .footer__btns .btn { width: 100%; }

  .card--certs, .spec__states, .spec__steps, .cta-quiz, .cta-write, .reviews__platforms { padding: 24px 20px; }
  .cta-quiz, .cta-write { gap: 24px; }
  .cta-quiz__selects, .cta-write__row { gap: 16px; }
  .cta-quiz__title { font-size: 26px; }
  .cta-write__title { font-size: 30px; }
  .quiz-chip { height: 44px; }
  .stats { padding: 24px 20px; gap: 16px; }
  .stats__num { font-size: 44px; }
  .stats__year { font-size: 28px; }
  .section-head { margin-bottom: 28px; }
  .hero__photo { height: 300px; margin-top: 24px; }

  .popup__inner { padding: 24px 20px; }
  .popup__title { font-size: 22px; }
}
