/* ============================================
   ASPEKT-S — DESIGN TOKENS
   ============================================ */
:root {
  --green:        #206637;
  --green-dark:   #174d29;
  --green-darker: #103d1f;
  --yellow:       #ffbf1b;
  --yellow-hover: #ffbb00;
  --orange:       #ff8a00;
  --white:        #ffffff;
  --text:         #1e1e1e;
  --text-light:   #c5c5c5;
  --card-title:   #3b3b45;
  --border:       #e5e5e5;

  --container:    1200px;
  --radius:       5px;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section title */
.section-title {
  font-size: 45px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: var(--yellow);
  margin-top: 14px;
}
.section-title.light { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn--primary {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}
.btn--primary:hover {
  background: var(--yellow-hover);
  border-color: var(--yellow-hover);
  opacity: 1;
}
.btn--outline {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}
.btn--outline:hover {
  background: var(--yellow);
  color: #000;
  opacity: 1;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ============================================
   HEADER
   ============================================ */
.header {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.logo__mark {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}
.logo__text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--white);
}
/* ============ Навигация (двухуровневая) ============ */
.nav { display: flex; align-items: center; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.nav__link:hover { color: var(--yellow); }
.nav__link.is-active { color: var(--yellow); }

/* Стрелка-тоггл */
.nav__toggle {
  background: transparent;
  border: 0;
  padding: 4px 6px;
  margin-left: 4px;
  cursor: pointer;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  transition: transform .2s ease, color .15s ease;
}
.nav__toggle:hover { color: var(--yellow); }
.nav__item.has-children .nav__toggle svg { transition: transform .2s ease; }
.nav__item.has-children.is-open > .nav__toggle svg,
.nav__item.has-children:hover > .nav__toggle svg,
.nav__item.has-children:focus-within > .nav__toggle svg { transform: rotate(180deg); }

/* Подменю — десктоп */
.nav__list .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 240px;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 110;
}
.nav__list .sub-menu::before {
  content: "";
  position: absolute;
  top: -8px; left: 0; right: 0; height: 12px;
}
.nav__item.has-children:hover > .sub-menu,
.nav__item.has-children:focus-within > .sub-menu,
.nav__item.has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__list .sub-menu li { margin: 0; }
.nav__list .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav__list .sub-menu a:hover,
.nav__list .sub-menu a.is-active {
  background: rgba(32, 102, 55, 0.08);
  color: var(--green);
}

/* Мобильная иконка трубки в шапке (слева от бургера) */
.header__phone-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.header__phone-mobile:hover { background: var(--yellow); color: var(--dark-green); transform: scale(1.05); }

.header__contacts {
  text-align: right;
  color: var(--white);
}
.header__phone {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  display: block;
}
.header__email {
  font-size: 14px;
  display: block;
  line-height: 1.4;
  color: rgba(255,255,255,.85);
}

/* Burger */
.burger {
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--white);
  transition: all .3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--green);
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  right: -250px;
  top: 50%;
  width: 800px;
  height: 800px;
  border: 2px solid rgba(255,191,27,.5);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__yellow-dot {
  width: 18px;
  height: 18px;
  background: var(--yellow);
  border-radius: 50%;
  margin-bottom: 28px;
}
.hero__title {
  font-size: 60px;
  font-weight: 500;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
}
.hero__subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  margin-bottom: 40px;
  max-width: 520px;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__photos {
  position: relative;
  height: 540px;
}
.hero__photo {
  position: absolute;
  border-radius: 6px;
  overflow: hidden;
  filter: grayscale(100%);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main {
  width: 78%;
  height: 65%;
  top: 0;
  right: 0;
}
.hero__photo--accent {
  width: 42%;
  height: 38%;
  bottom: 0;
  right: 12%;
  z-index: 2;
}

.dots-pattern {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(7, 6px);
  gap: 8px;
  pointer-events: none;
}
.dots-pattern span {
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}
.hero__dots-1 { left: 20px; bottom: 40px; }
.hero__dots-2 { right: 60px; bottom: 60px; }

/* ============================================
   AUDIENCE
   ============================================ */
.audience {
  padding: 100px 0;
  background: var(--white);
}
.audience__head {
  text-align: center;
  margin-bottom: 60px;
}
.audience__head .section-title { display: inline-block; }
.audience__head .section-title::after { margin-left: auto; margin-right: auto; }
.audience__sub {
  margin-top: 20px;
  color: #555;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}
.audience__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.audience-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
}
.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
}
.audience-card__photo {
  height: 220px;
  overflow: hidden;
}
.audience-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.audience-card:hover .audience-card__photo img { transform: scale(1.05); }
.audience-card__body {
  padding: 24px 22px 28px;
}
.audience-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--card-title);
  margin-bottom: 10px;
}
.audience-card__text {
  font-size: 15px;
  line-height: 1.5;
  color: #666;
}

/* ============================================
   OUR WORK
   ============================================ */
.our-work {
  background: var(--green);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.our-work__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.our-work__bubbles {
  position: relative;
  height: 540px;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  font-weight: 700;
  line-height: 1.25;
}
.bubble--white {
  background: var(--white);
  color: var(--card-title);
  font-size: 18px;
}
.bubble--orange {
  background: var(--orange);
  color: var(--white);
  font-size: 17px;
  flex-direction: column;
}
.bubble--orange .bubble__inner {
  width: 72%;
  aspect-ratio: 1/1;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 22px;
  margin-top: 8px;
}
.bubble--orange .bubble__inner small { font-size: 14px; color: #555; font-weight: 400; margin-top: 4px; }
.bubble--orange .bubble__label {
  position: absolute;
  top: 16px; left: 69px;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  width: 100px;
  line-height: 1;
}
.bubble-1 { width: 280px; height: 280px; top: 0; left: 80px; }
.bubble-2 { width: 280px; height: 280px; bottom: 0; left: 160px; }
.bubble-3 { width: 240px; height: 240px; top: 180px; left: -10px; }

.our-work__content .section-title { color: var(--white); }
.our-work__content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: rgba(255,255,255,.92);
}
.our-work__content .btn { margin-top: 20px; }

/* ============================================
   PRICING
   ============================================ */
.pricing {
  background: var(--green);
  color: var(--white);
  padding: 100px 0;
  position: relative;
}
.pricing__head { margin-bottom: 60px; }
.pricing__head .section-title { color: var(--white); }
.pricing__sub {
  font-size: 17px;
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255,255,255,.9);
  line-height: 1.6;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.price-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 30px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  transition: transform .3s;
}
.price-card:hover { transform: translateY(-6px); }
.price-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--card-title);
  font-family: Arial, sans-serif;
}
.price-card__price {
  font-size: 26px;
  font-weight: 700;
  color: var(--green);
  font-family: Arial, sans-serif;
}
.price-card__desc {
  font-size: 15px;
  color: #555;
  line-height: 1.55;
  flex-grow: 1;
}
.price-card label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
  color: #555;
}
.price-card input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.price-card .btn { margin-top: 8px; align-self: flex-start; }

/* ============================================
   ADVANTAGES
   ============================================ */
.advantages {
  padding: 100px 0;
  background: var(--white);
}
.advantages__head {
  text-align: center;
  margin-bottom: 60px;
}
.advantages__head .section-title::after { margin-left: auto; margin-right: auto; }
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.advantage {
  text-align: center;
  padding: 0 20px;
}
.advantage__icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
  color: var(--green);
}
.advantage__icon svg { width: 50px; height: 50px; }
.advantage__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--card-title);
}
.advantage__text {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: 100px 0;
  background: #f8f9fa;
}
.process__head {
  text-align: center;
  margin-bottom: 60px;
}
.process__head .section-title::after { margin-left: auto; margin-right: auto; }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.step {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 26px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.step__num {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.step__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--card-title);
}
.step__text {
  font-size: 15px;
  color: #666;
  line-height: 1.55;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 100px 0;
  background: var(--white);
}
.faq__head { text-align: center; margin-bottom: 50px; }
.faq__head .section-title::after { margin-left: auto; margin-right: auto; }
.faq__list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item__q {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  position: relative;
  transition: transform .3s;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--yellow);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item__icon::before { width: 12px; height: 2px; }
.faq-item__icon::after { width: 2px; height: 12px; transition: transform .3s; }
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  font-size: 16px;
  color: #555;
  line-height: 1.65;
}
.faq-item.is-open .faq-item__a {
  max-height: 500px;
  padding-bottom: 22px;
}

/* ============================================
   LEAD FORM
   ============================================ */
.lead {
  background: var(--green);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.lead__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 36px;
  color: var(--white);
}
.form { display: flex; flex-direction: column; gap: 22px; }
.form__group { position: relative; }
.form__group input,
.form__group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding: 12px 0 10px;
  font-size: 17px;
  color: var(--white);
  font-family: inherit;
  outline: none;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(255,255,255,.65); }
.form__group input:focus,
.form__group textarea:focus { border-bottom-color: var(--yellow); }

.form__stepper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__stepper-label { font-size: 14px; color: rgba(255,255,255,.75); }
.stepper-row {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding: 8px 0;
  width: fit-content;
}
.stepper-btn {
  width: 28px; height: 28px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.stepper-input {
  width: 50px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  outline: none;
  border-bottom: 1px dashed rgba(255,255,255,.4);
}

.form__radios { display: flex; flex-direction: column; gap: 12px; }
.form__radios label {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px;
  cursor: pointer;
  color: rgba(255,255,255,.92);
}
.form__radios input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--yellow);
}

.form__consent {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
}
.form__consent a { color: var(--yellow); text-decoration: underline; }

.form .btn { align-self: flex-start; min-width: 200px; }

.form__status {
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  display: none;
}
.form__status.is-visible { display: block; }
.form__status.is-success { background: rgba(255,255,255,.15); color: var(--white); }
.form__status.is-error   { background: rgba(255,80,80,.2); color: #ffdcdc; }

/* honeypot */
.form__honey { position: absolute; left: -10000px; top: -10000px; width: 1px; height: 1px; overflow: hidden; }

.lead__photo {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.lead__photo img { width: 100%; height: 600px; object-fit: cover; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 70px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand-name { font-size: 22px; font-weight: 700; color: var(--white); }

.footer__menu { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.footer__menu a { color: var(--white); font-size: 18px; }
.footer__menu a:hover { color: var(--yellow); opacity: 1; }

.footer__info { font-size: 16px; line-height: 1.7; }
.footer__info p { margin-bottom: 16px; color: rgba(255,255,255,.9); }
.footer__info b { color: var(--white); font-weight: 700; display: block; margin-bottom: 4px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
}
.footer__bottom a:hover { color: var(--yellow); opacity: 1; }

/* Scroll-to-top */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px; height: 50px;
  background: var(--white);
  border: 2px solid var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top svg { width: 22px; height: 22px; }

/* ============================================
   PAGE / BLOG / ARTICLE
   ============================================ */
.page-section { padding: 80px 0; background: var(--white); }
.page-section .section-title { display: inline-block; }
.page-hero {
  background: var(--green);
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -250px;
  top: 50%;
  width: 600px;
  height: 600px;
  border: 2px solid rgba(255,191,27,.4);
  border-radius: 50%;
  transform: translateY(-50%);
}
.page-hero__title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  position: relative;
  z-index: 2;
}
.page-hero__title::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: var(--yellow);
  margin-top: 16px;
}
.page-hero__lead {
  font-size: 18px;
  color: rgba(255,255,255,.92);
  max-width: 720px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

/* Breadcrumbs */
.breadcrumbs {
  background: #f8f9fa;
  padding: 14px 0;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid var(--border);
}
.breadcrumbs a { color: var(--green); }
.breadcrumbs a:hover { color: var(--yellow); opacity: 1; }
.breadcrumbs__sep { margin: 0 8px; color: #aaa; }

/* Posts grid (blog) */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.post-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.post-card__photo {
  display: block;
  height: 220px;
  overflow: hidden;
}
.post-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__photo img { transform: scale(1.05); }
.post-card__body { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__title { font-size: 20px; font-weight: 700; color: var(--card-title); line-height: 1.3; }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--green); opacity: 1; }
.post-card__meta { font-size: 14px; color: #888; }
.post-card__excerpt { font-size: 15px; color: #555; line-height: 1.55; flex: 1; }
.post-card__link { color: var(--green); font-weight: 600; font-size: 15px; margin-top: auto; }

/* Pagination */
.pagination { margin-top: 50px; display: flex; justify-content: center; }
.pagination .nav-links {
  display: flex; gap: 8px; align-items: center;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 6px;
  font-weight: 600; color: var(--text);
}
.pagination .page-numbers.current { background: var(--yellow); border-color: var(--yellow); color: #000; }
.pagination .page-numbers:hover { background: var(--green); border-color: var(--green); color: var(--white); opacity: 1; }

/* Single post */
.article {
  max-width: 820px;
  margin: 0 auto;
}
.article__header { margin-bottom: 32px; }
.article__title {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}
.article__meta { font-size: 14px; color: #888; }
.article__thumb {
  margin: 0 0 32px;
  border-radius: 10px;
  overflow: hidden;
}
.article__thumb img { width: 100%; height: auto; }
.article__content { font-size: 17px; line-height: 1.75; color: #333; }
.article__content h2 { font-size: 28px; margin: 32px 0 14px; color: var(--text); }
.article__content h3 { font-size: 22px; margin: 24px 0 12px; color: var(--text); }
.article__content p  { margin-bottom: 18px; }
.article__content ul,
.article__content ol { margin: 0 0 18px 24px; }
.article__content li { margin-bottom: 8px; }
.article__content a  { color: var(--green); text-decoration: underline; }
.article__content blockquote {
  border-left: 3px solid var(--yellow);
  padding: 6px 20px;
  margin: 24px 0;
  color: #555;
  font-style: italic;
}
.article__content img { border-radius: 8px; margin: 24px 0; }

/* Documents page */
.docs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  transition: all .25s;
}
.doc-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  opacity: 1;
}
.doc-card__icon {
  width: 50px;
  height: 50px;
  background: var(--yellow);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #000;
  font-weight: 700;
  font-size: 13px;
}
.doc-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.doc-card__size { font-size: 13px; color: #888; margin-top: 4px; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info__item {
  padding: 22px 24px;
  border-left: 4px solid var(--yellow);
  background: #f8f9fa;
  border-radius: 6px;
}
.contact-info__label { font-size: 13px; color: #888; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.contact-info__value { font-size: 18px; font-weight: 600; color: var(--text); }
.contact-info__value a { color: var(--green); }

.contact-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  height: 420px;
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* About content */
.about-content { max-width: 880px; }
.about-content p { margin-bottom: 18px; font-size: 17px; line-height: 1.7; }
.about-content h2 { font-size: 28px; margin: 32px 0 14px; color: var(--text); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 50px 0;
}
.about-stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--green);
  color: var(--white);
  border-radius: 10px;
}
.about-stat__num { font-size: 42px; font-weight: 700; color: var(--yellow); margin-bottom: 6px; }
.about-stat__label { font-size: 14px; color: rgba(255,255,255,.92); }

/* 404 */
.error-404 {
  padding: 100px 0;
  text-align: center;
}
.error-404 .section-title { display: inline-block; }
.error-404 .section-title::after { margin-left: auto; margin-right: auto; }
.error-404__num { font-size: 120px; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 20px; }
.error-404 .btn { margin-top: 24px; }

/* ============================================
   MODAL & LIGHT FORM
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  overflow-y: auto;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}
.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  cursor: pointer;
}
.modal__content {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(30px) scale(0.95);
  transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
  margin: auto;
}
.modal.is-open .modal__content {
  transform: translateY(0) scale(1);
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f5f5f5;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  cursor: pointer;
  transition: all .2s;
}
.modal__close:hover { background: #eee; color: #000; transform: rotate(90deg); }
.modal__title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--green-dark);
}

.form--light .form__group input {
  color: var(--text);
  border-bottom-color: #ccc;
}
.form--light .form__group input::placeholder { color: #999; }
.form--light .form__group input:focus { border-bottom-color: var(--green); }
.form--light .form__stepper-label { color: #666; }
.form--light .stepper-row { border-bottom-color: #ccc; }
.form--light .stepper-btn { color: var(--text); }
.form--light .stepper-input { color: var(--text); border-bottom-color: #ccc; }
.form--light .form__radios label { color: var(--text); }
.form--light .form__consent { color: #666; }
.form--light .form__consent-box { border-color: #333; }
.form--light .form__consent-text a { color: var(--green); }
.form--light .form__consent-text a:hover { color: var(--yellow-hover); }
.form--light .form__status.is-success { background: #f0f7f2; color: #174d29; border: 1px solid #d4e2cf; }
.form--light .form__status.is-error { background: #fff5f5; color: #c62828; border: 1px solid #fadada; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .section-title { font-size: 36px; }
  .hero__title { font-size: 48px; }
  .page-hero__title { font-size: 38px; }

  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .advantages__grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .docs-list { grid-template-columns: 1fr; }
}

@media (max-width: 1090px) {
  .header__contacts { display: none; }
  .header__phone-mobile { display: inline-flex; margin-left: auto }
  .nav {
    display: none;
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--green);
    flex-direction: column;
    padding: 28px 24px 40px;
    gap: 0;
    z-index: 99;
    overflow-y: auto;
    align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .burger { display: flex; }

  /* Мобильный список меню — в колонку */
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav__item .nav__link {
    flex: 1;
    padding: 14px 0;
    font-size: 18px;
  }
  .nav__item.has-children .nav__toggle {
    padding: 12px;
    margin-left: 0;
  }
  /* Подменю на мобильном — аккордеон */
  .nav__list .sub-menu {
    position: static;
    width: 100%;
    flex: 0 0 100%;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: none;
    border-radius: 8px;
    padding: 0;
    margin: 0 0 12px 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    transition: none;
  }
  .nav__item.has-children.is-open > .sub-menu { display: block; }
  /* На мобилке hover не раскрывает — только клик */
  .nav__item.has-children:hover > .sub-menu,
  .nav__item.has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; }
  .nav__list .sub-menu a {
    color: rgba(255, 255, 255, 0.92);
    padding: 12px 16px;
    white-space: normal;
  }
  .nav__list .sub-menu a:hover,
  .nav__list .sub-menu a.is-active {
    background: rgba(255, 191, 27, 0.15);
    color: var(--yellow);
  }
  .nav__contacts {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
    padding-top: 24px;
  }
}

@media (min-width: 1090.1px) {
  .nav__contacts { display: none; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  .section-title { font-size: 30px; margin-bottom: 36px; }
  .hero { padding: 60px 0 70px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: 36px; }
  .hero__photos { height: 380px; }
  .hero::before { width: 500px; height: 500px; right: -200px; }

  .page-hero { padding: 50px 0 40px; }
  .page-hero__title { font-size: 28px; }

  .audience { padding: 70px 0; }
  .audience__grid { grid-template-columns: 1fr; }

  .our-work { padding: 70px 0; }
  .our-work__grid { grid-template-columns: 1fr; gap: 40px; }
  .our-work__bubbles { height: 460px; }
  .bubble-1 { width: 200px; height: 200px; left: 30px; }
  .bubble-2 { width: 200px; height: 200px; left: 100px; }
  .bubble-3 { width: 180px; height: 180px; left: 0; top: 166px; }

  .pricing { padding: 70px 0; }
  .pricing__grid { grid-template-columns: 1fr; }

  .advantages { padding: 70px 0; }
  .advantages__grid { grid-template-columns: 1fr; gap: 40px; }

  .process { padding: 70px 0; }
  .process__grid { grid-template-columns: 1fr; }

  .faq { padding: 70px 0; }

  .lead { padding: 70px 0; }
  .lead__grid { grid-template-columns: 1fr; gap: 40px; }
  .lead__title { font-size: 26px; }
  .lead__photo img { height: 380px; }

  .footer__grid { grid-template-columns: 1fr; gap: 36px; }

  .btn { padding: 14px 26px; font-size: 16px; }
  .hero__buttons { width: 100%; }
  .hero__buttons .btn { flex: 1; }

  .posts-grid { grid-template-columns: 1fr; }
  .article__title { font-size: 28px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-map { height: 320px; }
  .page-section { padding: 60px 0; }
}

@media (max-width: 420px) {
  .logo__text { font-size: 18px; }
  .logo__mark { width: 42px; height: 42px; }
  .hero__title { font-size: 30px; }
  .section-title { font-size: 26px; }
  .page-hero__title { font-size: 24px; }
  .article__title { font-size: 24px; }
  .about-stats { grid-template-columns: 1fr; }
}

/* Custom logo size */
.custom-logo { max-height: 54px; width: auto; }

/* ===== Секция услуг (Services Grid) ===== */
.services {
  padding: 90px 0;
  background: #f7f9f6;
  position: relative;
}
.services__title {
  text-align: center;
  margin-bottom: 18px;
}
.services__lead {
  text-align: center;
  font-size: 18px;
  color: #555;
  max-width: 760px;
  margin: 0 auto 50px;
  line-height: 1.6;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid #e8eee5;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #206637 0%, #ffbf1b 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(32, 102, 55, 0.12);
  border-color: #d4e2cf;
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ebf3e7;
  color: #206637;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #174d29;
  margin: 0 0 10px;
  line-height: 1.3;
}
.service-card__text {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 18px;
  flex-grow: 1;
}
.service-card__price {
  font-size: 14px;
  color: #206637;
  font-weight: 600;
  margin-bottom: 14px;
}
.service-card__price strong {
  font-size: 18px;
  color: #ff8a00;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #206637;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: gap .2s ease;
}
.service-card__link:hover { gap: 12px; }
.service-card__link::after {
  content: "→";
  font-size: 18px;
}

/* ===== Шаблон страницы услуги ===== */
.service-hero {
  background: linear-gradient(135deg, #206637 0%, #174d29 100%);
  color: #fff;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.service-hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255, 191, 27, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.service-hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.service-hero__title {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 18px;
  color: #fff;
}
.service-hero__lead {
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
}
.service-hero__features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 10px;
}
.service-hero__features li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
}
.service-hero__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffbf1b;
  font-weight: 800;
  font-size: 18px;
}
.service-hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.service-hero__price-card {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  color: #28361f;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}
.service-hero__price-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #888;
  margin-bottom: 8px;
}
.service-hero__price-value {
  font-size: 42px;
  font-weight: 800;
  color: #ff8a00;
  line-height: 1;
  margin-bottom: 6px;
}
.service-hero__price-unit {
  font-size: 16px;
  color: #555;
  margin-bottom: 22px;
}
.service-hero__price-card .btn { width: 100%; justify-content: center; }

.service-section {
  padding: 80px 0;
}
.service-section--alt { background: #f7f9f6; }
.service-section__title {
  text-align: center;
  margin-bottom: 40px;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-feature {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #ebebeb;
  text-align: center;
}
.service-feature__num {
  font-size: 36px;
  font-weight: 800;
  color: #206637;
  line-height: 1;
  margin-bottom: 12px;
}
.service-feature__title {
  font-size: 17px;
  font-weight: 700;
  color: #174d29;
  margin: 0 0 8px;
}
.service-feature__text {
  font-size: 15px;
  color: #555;
  line-height: 1.55;
  margin: 0;
}

.service-text {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: #333;
}
.service-text h3 {
  font-size: 24px;
  color: #174d29;
  margin: 36px 0 14px;
}
.service-text p { margin: 0 0 16px; }
.service-text ul { padding-left: 22px; margin: 0 0 16px; }
.service-text ul li { margin-bottom: 8px; }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .service-hero__title { font-size: 36px; }
  .service-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services { padding: 60px 0; }
  .service-hero { padding: 56px 0 50px; }
  .service-hero__title { font-size: 28px; }
  .service-hero__lead { font-size: 16px; }
  .service-section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-features { grid-template-columns: 1fr; }
  .service-hero__price-value { font-size: 34px; }
}

/* ===== Страница FAQ (отдельный шаблон) ===== */
.faq-page-hero {
  background: linear-gradient(135deg, #206637 0%, #174d29 100%);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.faq-page-hero::before {
  content: "?";
  position: absolute;
  right: -40px;
  top: -60px;
  font-size: 320px;
  font-weight: 800;
  color: rgba(255, 191, 27, 0.15);
  line-height: 1;
  pointer-events: none;
}
.faq-page-hero__title {
  font-size: 42px;
  line-height: 1.15;
  margin: 14px 0 14px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.faq-page-hero__lead {
  font-size: 17px;
  line-height: 1.65;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}
.faq-page-hero__meta {
  display: inline-block;
  background: rgba(255, 191, 27, 0.18);
  border: 1px solid rgba(255, 191, 27, 0.4);
  color: #ffe89a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* Поиск */
.faq-search {
  max-width: 640px;
  position: relative;
  z-index: 1;
}
.faq-search__label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}
.faq-search__wrap {
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
}
.faq-search__icon {
  width: 22px;
  height: 22px;
  color: #888;
  margin-left: 18px;
  flex-shrink: 0;
}
.faq-search__input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 16px 14px;
  font-size: 16px;
  color: #28361f;
  font-family: inherit;
  min-width: 0;
}
.faq-search__input::placeholder { color: #aaa; }
.faq-search__clear {
  border: 0;
  background: transparent;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  padding: 0 18px;
  height: 100%;
  line-height: 1;
}
.faq-search__clear:hover { color: #ff8a00; }
.faq-search__status {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  min-height: 20px;
}

/* Оглавление по группам */
.faq-toc {
  background: #f7f9f6;
  border-bottom: 1px solid #e6ebe2;
  padding: 22px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.faq-toc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.faq-toc__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #d4e2cf;
  border-radius: 999px;
  color: #174d29;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s ease;
}
.faq-toc__item:hover {
  background: #206637;
  color: #fff;
  border-color: #206637;
}
.faq-toc__num {
  font-size: 11px;
  background: #ebf3e7;
  color: #206637;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: .04em;
}
.faq-toc__item:hover .faq-toc__num {
  background: #ffbf1b;
  color: #174d29;
}
.faq-toc__count {
  font-size: 12px;
  color: #777;
  background: #f7f9f6;
  padding: 2px 8px;
  border-radius: 6px;
}
.faq-toc__item:hover .faq-toc__count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Список вопросов */
.faq-page {
  padding: 60px 0 80px;
}
.faq-group {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}
.faq-group:last-child { margin-bottom: 0; }
.faq-group.is-hidden { display: none; }
.faq-group__title {
  font-size: 26px;
  color: #174d29;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid #ebf3e7;
}
.faq-group__num {
  font-size: 14px;
  background: #206637;
  color: #fff;
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .04em;
}
.faq-group__list {
  display: grid;
  gap: 12px;
}
.faq-page__item {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-page__item.is-hidden { display: none; }
.faq-page__item[open] {
  border-color: #d4e2cf;
  box-shadow: 0 6px 18px rgba(32, 102, 55, 0.08);
}
.faq-page__q {
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-weight: 600;
  font-size: 17px;
  color: #28361f;
  position: relative;
  line-height: 1.4;
}
.faq-page__q::-webkit-details-marker { display: none; }
.faq-page__q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ebf3e7;
  color: #206637;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s ease, background .2s ease;
}
.faq-page__item[open] .faq-page__q::after {
  content: "−";
  background: #ffbf1b;
  color: #174d29;
}
.faq-page__a {
  padding: 0 24px 22px;
  font-size: 16px;
  line-height: 1.65;
  color: #444;
}
.faq-page__a p { margin: 0 0 12px; }
.faq-page__a p:last-child { margin-bottom: 0; }
.faq-page__a ul, .faq-page__a ol { padding-left: 22px; margin: 0 0 12px; }
.faq-page__a li { margin-bottom: 6px; }
.faq-page__a a { color: #206637; }

/* Подсветка совпадений поиска */
.faq-page__q mark, .faq-page__a mark {
  background: #fff3c4;
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}

/* Empty / no-results */
.faq-page__empty {
  text-align: center;
  padding: 60px 24px;
  color: #777;
}
.faq-page__no-results {
  text-align: center;
  padding: 40px 24px;
  color: #777;
  background: #f7f9f6;
  border-radius: 14px;
  margin-top: 20px;
}

/* CTA «не нашли ответ» */
.faq-page__cta {
  margin-top: 60px;
  background: linear-gradient(135deg, #ebf3e7 0%, #fff7e0 100%);
  border-radius: 22px;
  padding: 40px 32px;
  text-align: center;
}
.faq-page__cta-title {
  font-size: 24px;
  color: #174d29;
  margin: 0 0 10px;
}
.faq-page__cta-text {
  font-size: 16px;
  color: #555;
  margin: 0 auto 22px;
  max-width: 540px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-page-hero { padding: 50px 0 44px; }
  .faq-page-hero__title { font-size: 30px; }
  .faq-page-hero__lead { font-size: 15px; }
  .faq-toc { padding: 14px 0; position: static; }
  .faq-toc__list { gap: 6px; }
  .faq-toc__item { padding: 6px 12px; font-size: 13px; }
  .faq-page { padding: 40px 0 60px; }
  .faq-group { margin-bottom: 40px; }
  .faq-group__title { font-size: 22px; }
  .faq-page__q { padding: 16px 50px 16px 18px; font-size: 16px; }
  .faq-page__a { padding: 0 18px 18px; font-size: 15px; }
  .faq-page__cta { padding: 30px 20px; }
  .faq-page__cta-title { font-size: 20px; }
}

/* ===== Hero страницы Цены ===== */
.prices-hero {
  background: linear-gradient(135deg, #206637 0%, #174d29 100%);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.prices-hero::after {
  content: "₽";
  position: absolute;
  right: -20px;
  top: -50px;
  font-size: 320px;
  font-weight: 800;
  color: rgba(255, 191, 27, 0.13);
  line-height: 1;
  pointer-events: none;
  font-family: serif;
}
.prices-hero__title {
  font-size: 42px;
  line-height: 1.15;
  margin: 14px 0 14px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.prices-hero__lead {
  font-size: 17px;
  line-height: 1.65;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}
.prices-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.prices-hero__badge {
  background: rgba(255, 191, 27, 0.18);
  border: 1px solid rgba(255, 191, 27, 0.4);
  color: #ffe89a;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.prices-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: #333;
}
.prices-content h2 { font-size: 28px; color: #174d29; margin: 32px 0 14px; }
.prices-content h3 { font-size: 22px; color: #174d29; margin: 28px 0 12px; }
.prices-content p { margin: 0 0 14px; }
.prices-content ul { padding-left: 22px; margin: 0 0 14px; }
.prices-content ul li { margin-bottom: 6px; }
.prices-content a { color: #206637; }

@media (max-width: 768px) {
  .prices-hero { padding: 50px 0 44px; }
  .prices-hero__title { font-size: 30px; }
  .prices-hero__lead { font-size: 15px; }
  .prices-hero__badge { font-size: 13px; padding: 6px 12px; }
}

/* ===== Cookie-баннер ===== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  padding: 18px 22px;
  display: none;
  align-items: center;
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
  animation: cookie-slide-up 0.4s ease;
}
.cookie-banner.is-visible { display: flex; }
@keyframes cookie-slide-up {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: #206637;
}
.cookie-banner__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
  margin: 0;
}
.cookie-banner__text a {
  color: #206637;
  font-weight: 600;
  text-decoration: underline;
}
.cookie-banner__btn {
  flex-shrink: 0;
  background: #206637;
  color: #fff;
  border: 0;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s ease;
}
.cookie-banner__btn:hover { background: #ffbf1b; color: #174d29; }
.cookie-banner__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: #f5f5f5;
  color: #888;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: background .2s ease;
}
.cookie-banner__close:hover { background: #e8e8e8; color: #333; }

@media (max-width: 720px) {
  .cookie-banner {
    flex-wrap: wrap;
    padding: 16px;
    gap: 12px;
  }
  .cookie-banner__text { font-size: 13px; flex-basis: 100%; }
  .cookie-banner__icon { width: 32px; height: 32px; }
  .cookie-banner__btn { width: calc(100% - 44px); padding: 12px; }
}

/* ===== Чекбокс согласия в форме ===== */
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 16px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  color: #c5d6c0;
  line-height: 1.5;
}
.form__consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.form__consent-box {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all .15s ease;
  position: relative;
}
.form__consent input:checked + .form__consent-box {
  background: #ffbf1b;
  border-color: #ffbf1b;
}
.form__consent input:checked + .form__consent-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: solid #174d29;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form__consent input:focus-visible + .form__consent-box {
  outline: 2px solid #ffbf1b;
  outline-offset: 2px;
}
.form__consent-text { flex: 1; }
.form__consent-text a {
  color: #ffe89a;
  text-decoration: underline;
}
.form__consent-text a:hover { color: #ffbf1b; }
.form__consent.is-error .form__consent-box {
  border-color: #ff7676;
  animation: shake .3s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ============ Контакты в мобильном меню ============ */
.nav__contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
  padding: 4px 0;
}
.nav__contact svg { flex: 0 0 18px; margin-top: 2px; opacity: .85; }
.nav__contact span { flex: 1; }
.nav__contact[href]:hover { color: var(--yellow); }
.nav__contact[href]:hover svg { opacity: 1; }

.nav__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.nav__msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  transition: transform .15s ease, opacity .15s ease;
}
.nav__msg svg { flex: 0 0 20px; }
.nav__msg--telegram { background: #229ED9; }
.nav__msg--whatsapp { background: #25D366; }
.nav__msg:hover { transform: translateY(-1px); opacity: .92; }

/* Мессенджеры в подвале (ДК) */
.footer__messengers {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer__msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  transition: transform .15s ease, opacity .15s ease;
}
.footer__msg--telegram { background: #229ED9; }
.footer__msg--whatsapp { background: #25D366; }
.footer__msg:hover { transform: translateY(-1px); opacity: .92; }

body > header:first-child {
  padding: 0 24px;
}

.prices-hero .breadcrumbs,
.faq-page-hero .breadcrumbs,
.service-hero__content .breadcrumbs {
  border-bottom-width: 0;
  color: #fff;
  background: unset;
}

.prices-hero .breadcrumbs .container,
.faq-page-hero .breadcrumbs .container,
.service-hero__content .breadcrumbs .container {
  padding: 0;
}

.prices-hero .breadcrumbs .container a:not(:hover),
.faq-page-hero .breadcrumbs .container a:not(:hover),
.service-hero__content .breadcrumbs a:not(:hover) {
  color: #fff
}

a.btn.btn--outline:hover {
  color: #fff!important;
}

ol {
  padding-left: 22px;
}

h2, h3, h4, h5 {
  line-height: 1.25;
}

h2 {
  margin: 24px 0 12px 0;
}

.modal__body form .form__consent-box {
  border: 1px solid black;
}

.modal__body form .form__consent-text a {
  color: #ffbf1b;
}

.faq-page__a p,
.faq-page__a li {
    overflow-wrap: break-word;
    word-break: break-word;
}


@media (max-width: 439px) {
  .header__inner {
    gap: 12px
  }
}

@media (max-width: 375px) {
  .logo img {
    width: 40px;
  }

  .header__phone-mobile {
    aspect-ratio: 1/1;
  }
}

@media (max-width: 359px) {
  button.city-switcher__btn {
    display: none;
  }

  .logo__text {
    font-size: 14px;
  }
}

.city-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  border-radius: 20px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.city-switcher__btn svg {
  color: #fff;
  stroke: currentColor;
  flex-shrink: 0;
}

.city-switcher__btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.city-switcher__btn span {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .city-switcher__btn {
    padding: 6px;
    border-radius: 50%;
    gap: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
    border: 0;
  }

  .city-switcher__btn span {
    display: none;
  }

  .city-switcher__btn svg:last-child {
    display: none;
  }
}

@media (max-width: 488px) {
  button#citySwitcherBtn,
  a.header__icon-btn--telegram {
    display:none;
  }
}

@media (min-width: 1090.1px) and (max-width:1151.9px) {
  ul.nav__list .nav__link,
  div.header__contacts .header__phone {
    font-size:14px
  }
}

@media (min-width: 1240px) {
  nav ul.nav__list {
    margin-left: 60px;
  }
}

@media (min-width: 1080px) {
  nav ul>li:first-child {
    display: none;
  }

  .city-switcher__btn {
    padding: 6px;
    border-radius: 50%;
    gap: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
    border: 0;
  }

  .city-switcher__btn span {
    display: none;
  }

  .city-switcher__btn svg:last-child {
    display: none;
  }
}

.city-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.city-modal[hidden] {
  display: none;
}

.city-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.city-modal__panel {
  position: relative;
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 28px;
  max-width: 480px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.city-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.city-modal__title {
  margin: 0 0 16px;
  font-size: 20px;
}

.city-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.city-modal__link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
}

.city-modal__link:hover {
  background: #f2f2f2;
}

.city-modal__link.is-active {
  background: #eef4ff;
  font-weight: 600;
}

@media (max-width: 480px) {
  .city-modal__list {
    grid-template-columns: 1fr;
  }
}



/* ============================================================
   ARTICLE ENHANCEMENTS: TOC, Reading Time, Author, Tables
   ============================================================ */
.article__meta-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.article__meta-date,
.article__readtime {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
}
.article__readtime {
  background: #f0f6f2;
  color: var(--green);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}
.article__readtime svg {
  stroke: var(--green);
}
.article__author-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.article__author-pill-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--yellow);
}
.article__lead {
  font-size: 18px;
  line-height: 1.7;
  color: #2b302c;
  font-weight: 500;
  margin-bottom: 24px;
}
.article__toc {
  background: #fbfdfc;
  border: 1px solid #dbe6df;
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0 36px;
  box-shadow: 0 4px 14px rgba(32, 102, 55, 0.04);
}
.article__toc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--green-darker);
  margin-bottom: 16px;
}
.article__toc-head svg {
  stroke: var(--green);
}
.article__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article__toc-list li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.article__toc-list li:last-child {
  margin-bottom: 0;
}
.article__toc-list a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.article__toc-list a:hover {
  color: var(--green);
  text-decoration: underline;
  transform: translateX(3px);
}
.article__toc-num {
  font-weight: 600;
  color: var(--green);
  margin-right: 4px;
}
.article__figure {
  margin: 32px 0;
  text-align: center;
}
.article__figure img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.article__figure figcaption {
  font-size: 13px;
  color: #7a827d;
  margin-top: 10px;
  font-style: italic;
}
.article__quote {
  background: #fffdf5;
  border-left: 4px solid var(--yellow);
  padding: 18px 24px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.article__table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: 10px;
  border: 1px solid #dce5df;
}
.article__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
}
.article__table th {
  background: var(--green);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.article__table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eef3f0;
  color: #333;
  line-height: 1.5;
}
.article__table tr:last-child td {
  border-bottom: none;
}
.article__table tr:nth-child(even) td {
  background: #f8faf8;
}
.article__author-card {
  display: flex;
  gap: 24px;
  background: #f7faf8;
  border: 1px solid #dbe6df;
  border-radius: 16px;
  padding: 28px;
  margin: 48px 0 32px;
  align-items: center;
}
.article__author-avatar {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--yellow);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.article__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article__author-info {
  flex: 1;
}
.article__author-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 4px;
}
.article__author-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.article__author-bio {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 12px;
}
.article__author-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-darker);
  background: #e6f2eb;
  padding: 6px 14px;
  border-radius: 20px;
}
.article__author-badge svg {
  fill: var(--green);
}
@media (max-width: 768px) {
  .article__title {
    font-size: 26px;
  }
  .article__toc {
    padding: 18px 20px;
  }
  .article__author-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  .article__author-badge {
    justify-content: center;
  }
}
