/*
Theme Name: НИЛ Строй
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: WordPress landing page theme based on the NII Stroy design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nii-stroy
*/

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("assets/fonts/montserrat-300-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("assets/fonts/montserrat-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/montserrat-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/montserrat-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/montserrat-500-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/montserrat-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/montserrat-600-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/montserrat-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/montserrat-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/montserrat-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("assets/fonts/montserrat-800-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("assets/fonts/montserrat-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --c-orange: #EE7219;
  --c-orange-dark: #CE5F0F;
  --c-bg: #F5F5F5;
  --c-hero-bg: #FCFCFC;
  --c-plate: #E6E6E6;
  --c-dark: #1D1D1D;
  --c-ink: #000000;
  --c-body: rgba(0, 0, 0, .76);

  --ff: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --container: 1440px;
  --gutter: 40px;

  --sh-card: 5px 4px 16.6px rgba(0, 0, 0, .25);
  --sh-plate: 1px 4px 10px rgba(0, 0, 0, .25);
  --sh-cta: 0 4px 20px rgba(200, 168, 75, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
  --dur: .18s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Затемнение фона */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* Блокировка скролла страницы */
body.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-bottom:50px;
  padding-top:50px;
}

.section { position: relative; }

.section__title {
  font-size: 32px;
  line-height: 37px;
  font-weight: 700;
  letter-spacing: 0;
}

.section__title::after {
  content: "";
  display: block;
  width: 45px;
  height: 3px;
  margin-top: 14px;
  background: var(--c-orange);
}

.section__title--upper { text-transform: uppercase; letter-spacing: -.52px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--c-orange);
  color: #FFF;
}

.skip-link:focus { left: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 5px;
  font-family: var(--ff);
  font-weight: 600;
  text-align: center;
  transition: background-color var(--dur), box-shadow var(--dur);
}

.btn--primary { background: var(--c-orange); color: var(--c-ink); box-shadow: var(--sh-cta); }
.btn--block { width: 100%; }
.btn__ico { width: 14px; height: 14px; fill: currentColor; }

@media (hover: hover) {
  .btn--primary:hover { background: var(--c-orange-dark); }
}

.link-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 170px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(0, 0, 0, .3);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: var(--c-ink);
  transition: color var(--dur), border-color var(--dur);
}

.link-arrow svg { width: 8px; height: 12px; color: var(--c-dark); }

@media (hover: hover) {
  .link-arrow:hover { color: var(--c-orange); border-color: var(--c-orange); }
  .link-arrow:hover svg { color: var(--c-orange); }
}

.ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--c-orange);
  border-radius: 10px;
  background: rgba(255, 128, 0, .23);
}

.ico svg { width: 13px; height: 13px; fill: var(--c-orange); }
.ico--sq { width: 40px; height: 40px; border-radius: 5px; }

.field { position: relative; margin: 0; }

.field__input {
  width: 100%;
  height: 47px;
  padding: 0 27px;
  background: rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 8px;
  font-size: 11px;
  line-height: 13px;
  transition: border-color var(--dur);
}

.field__input::placeholder { color: transparent; }
.field__input:focus { border-color: var(--c-orange); outline: 0; }

.field__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-left: 27px;
  font-size: 11px;
  line-height: 13.1px;
  font-weight: 400;
  color: rgba(0, 0, 0, .45);
  pointer-events: none;
  transition: opacity var(--dur);
}

.field__req { color: #FF0000; }

.field__input:focus ~ .field__label,
.field__input:not(:placeholder-shown) ~ .field__label { opacity: 0; }

.consent {
  display: grid;
  grid-template-columns: 12px 1fr;
  column-gap: 9px;
  align-items: start;
  cursor: pointer;
}

.consent__box {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin: 3px 0 0;
  border: 0;
  border-radius: 2.5px;
  background: var(--c-orange);
  cursor: pointer;
}

.consent__box:checked {
  background: var(--c-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 4.8 8.5 9.5 3.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}

.consent__text { font-size: 11px; line-height: 16.5px; font-weight: 400; }
.consent__req { color: #FF0000; }

.site-header { background: var(--c-bg); border-bottom: 3px var(--c-orange) solid; }

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 90px;
}

.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo__img { width: 197px; height: auto; }

.nav { flex: 1 1 auto; margin-left: 20px; }
.nav__list { display: flex; align-items: center; }
.nav__item { position: relative; }
.nav__item--right { margin-left: auto; }

.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  font-size: 13px;
  line-height: 20.2px;
  font-weight: 700;
  color: var(--c-dark);
  transition: color var(--dur);
}

.nav__item--has-sub > .nav__link::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 8px;
    margin-left: 6px;
    
    /* SVG-код стрелочки из макета */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='currentColor' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.65;
    transition: opacity var(--dur);
}

/* При наведении на главный пункт стрелка становится ярче */
@media (hover: hover) {
    .nav__item--has-sub > .nav__link:hover::after {
        opacity: 1;
    }
}

.nav__chevron { width: 9px; height: 6px; flex: 0 0 auto; }

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  min-width: 250px;
  padding: 10px 0;
  background: #FFF;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur), visibility var(--dur);
}

.nav__sub-link {
  display: block;
  padding: 7px 16px;
  font-size: 13px;
  line-height: 17.5px;
  font-weight: 700;
  color: var(--c-dark);
  transition: color var(--dur);
}

.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; }

@media (hover: hover) {
  .nav__link:hover, .nav__sub-link:hover { color: var(--c-orange); }
}

.site-header__contacts {
  display: grid;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: 43px;
}

.contact {
  display: grid;
  grid-template-columns: 14px auto;
  align-items: center;
  column-gap: 8px;
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 700;
  transition: color var(--dur);
}

.contact--mail { line-height: 28px; }
.contact__icon { width: 13px; height: 13px; fill: var(--c-orange); }

@media (hover: hover) {
  a.contact:hover { color: var(--c-orange); }
}

.site-header__cta {
  flex: 0 0 auto;
  margin-left: 13px;
  width: 186px;
  height: 50px;
  font-size: 16px;
  line-height: 28px;
}

/* === ИКОНКА БУРГЕРА === */
.burger {
  display: none; /* показывается в медиа-запросе */
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
  padding: 0;
}
.burger__bar, .burger__bar::before, .burger__bar::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger__bar { position: relative; }
.burger__bar::before { position: absolute; top: -7px; }
.burger__bar::after  { position: absolute; top: 7px; }

/* Анимация в крестик */
.burger[aria-expanded="true"] .burger__bar { background: transparent; }
.burger[aria-expanded="true"] .burger__bar::before { transform: rotate(45deg); top: 0; }
.burger[aria-expanded="true"] .burger__bar::after  { transform: rotate(-45deg); top: 0; }

/* === ПЛАВНЫЙ ПЕРЕХОД МЕНЮ === */
.nav {
  
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

/* === МОБИЛЬНАЯ ВЕРСИЯ (max-width: 900px) === */

@media (max-width: 900px) {
   .burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    order: 2;
    z-index: 1001;
    position: relative;
  }
  .burger__bar, .burger__bar::before, .burger__bar::after {
    content: ""; display: block; width: 24px; height: 2px;
    background: var(--c-dark); transition: all 0.3s ease;
  }
  .burger__bar { position: relative; }
  .burger__bar::before { position: absolute; top: -7px; }
  .burger__bar::after  { position: absolute; top: 7px; }

  /* Меню скрыто по умолчанию */
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: 100%; max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 80px 20px 40px;
    display: block !important; /* отменяем старый display: none */
  }

  .nav__list{
    display:block;
  }

  /* Меню открыто */
  .site-header.is-open .nav {
    transform: translateX(0);
  }

  /* ПРИНУДИТЕЛЬНО РАСКРЫВАЕМ ПОДМЕНЮ */
  .site-header.is-open .sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    padding: 0 0 0 16px !important;
    background: none !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .site-header.is-open .nav__sub-link {
    padding: 6px 0 !important;
    color: #555 !important;
    font-size: 14px !important;
  }

  /* Перестройка элементов шапки */
  .site-header__contacts { order: 3; flex: 0 0 100%; margin: 20px 0; }
  .site-header__cta { order: 4; width: 100%; max-width: 260px; margin: 0 auto; }
} 


.hero {
  min-height: 583px;
  padding-bottom: 22px;
  background: var(--c-hero-bg);
  overflow: hidden;
}

.hero__collage {
  position: absolute;
  top: -22px;
  left: 34.653%;
  width: 67.222%;
  height: auto;
  z-index: 0;
}

.hero__inner { position: relative; z-index: 1; }

.hero__title {
  padding-top: 38px;
  font-size: 32px;
  line-height: 37px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__wordmark { width: 265px; height: auto; margin-top: 6px; }

.hero__text {
  max-width: 500px;
  margin-top: 13px;
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
}

.btn--hero {
  width: 259px;
  height: 78px;
  margin-top: 19px;
  color: #FFF;
  font-size: 20px;
  line-height: 28px;
}

.btn--hero .btn__arrow { width: 23px; height: 12px; }

.plates {
  display: grid;
  grid-template-columns: 280fr 295fr 331fr;
  gap: 18px;
  max-width: 941px;
  margin-top: 40px;
}

.plate {
  min-height: 110px;
  padding: 14px 18px;
  background: var(--c-plate);
  border-radius: 5px;
  box-shadow: var(--sh-plate);
}

.plate__title { font-size: 20px; line-height: 19px; font-weight: 800; }
.plate__text { margin-top: 15px; font-size: 16px; line-height: 19px; font-weight: 500; }

.about { padding: 38px 0 3px; margin-bottom:-50px;}

.about__grid {
  display: grid;
  grid-template-columns: 532fr 785fr;
  column-gap: 43px;
}

.about .section__title::after { margin-top: 21px; }
.about__text { margin-top: 16px; font-size: 16px; line-height: 30px; font-weight: 400; color: var(--c-body); }

.stats {
  display: grid;
  grid-template-columns: 230px 231px 232px;
  justify-content: space-between;
  align-content: start;
  margin-top: 50px;
}

.stat {
  display: flex;
  flex-direction: column;
  height: 158px;
  padding: 14px 20px 20px;
  background: rgba(217, 217, 217, .2);
  border-radius: 5px;
  box-shadow: 0 4px 8.7px rgba(0, 0, 0, .25);
}

.stat__value {
  font-size: 64px;
  line-height: 1;
  letter-spacing: -2.56px;
  font-weight: 500;
  color: var(--c-orange);
}

.stat__label { margin-top: auto; font-size: 16px; line-height: 20px; letter-spacing: -.64px; font-weight: 600; white-space: nowrap; }
.stat__label--sm { font-size: 15px; line-height: 17px; letter-spacing: -.6px; }

.about__more { grid-column: 2; margin: 17px 0 0 auto; }

.services { padding: 40px 0 32px; }

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

.card {
  position: relative;
  min-height: 237px;
  padding: 37px 16px 0 116px;
  background: #FFF;
  border-radius: 5px;
  box-shadow: var(--sh-card);
  transition: box-shadow var(--dur);
}

.card__icon { position: absolute; top: 19px; left: 2px; width: 100px; height: 100px; object-fit: contain; }
.card__icon--sm { top: 22px; left: 20px; width: 90px; height: 90px; }

.card__title { font-size: 24px; line-height: 27px; letter-spacing: -.96px; font-weight: 700; }

.card__text {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 115px;
  font-size: 15px;
  line-height: 25px;
  font-weight: 500;
}

@media (hover: hover) {
  .card:hover { box-shadow: 5px 6px 20px rgba(0, 0, 0, .3); }
}

.services__all { margin: 15px 0 0 auto; }

.why { padding: 35px 0 15px; }

.why__grid { display: grid; grid-template-columns: 577fr 783fr; align-items: start; }

.why .section__title { margin-left: 0; }
.why .section__title::after { margin-top: 14.5px; }

.bullets { margin-top: 23px; padding-left: 2px; }

.bullets__item {
  position: relative;
  min-height: 24px;
  margin-top: 10px;
  padding-left: 22px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--c-body);
}

.bullets__item:first-child { margin-top: 0; }

.bullets__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(200, 168, 75, .18);
}

.lead {
  min-height: 380px;
  margin-top: -17px;
  padding: 36px 41px 0;
  background: #FFF;
  border-radius: 30px;
  box-shadow: 0 14px 40px rgba(7, 25, 43, .25);
}

.lead__title {
  font-size: 18px;
  line-height: 22px;
  letter-spacing: .6px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.lead__subtitle {
  margin-top: 6px;
  padding-bottom: 16px; 
  font-size: 13px;
  line-height: 22.8px;
  font-weight: 400;
  color: rgba(0, 0, 0, .65);
  text-align: center;
}

.lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.lead .field__req { color: inherit; }
.lead .consent { margin-top: 12px; }
.lead .consent__text { line-height: 16.5px; }

.lead .btn--block {
  height: 53px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 18.3px;
  letter-spacing: .3px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(200, 168, 75, .35);
}

.how { padding: 38px 0 38px; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: calc(100% + 55px);
  margin: 24px 0 0 -27.5px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 1px;
  background-image: repeating-linear-gradient(to right, rgba(0, 0, 0, .85) 0 6px, transparent 6px 14px);
}

.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }

.step__num {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--c-orange);
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  color: var(--c-ink);
}

.step__title { margin: 27px 10px 0 0; font-size: 18px; line-height: 20px; letter-spacing: -.72px; font-weight: 700; }
.step__text { margin-top: 21px; max-width: 251px; font-size: 15px; line-height: 20px; letter-spacing: -.6px; font-weight: 500; }

.geo { min-height: 526px; padding: 37px 0 0; overflow: hidden; }

.geo__photo {
  position: absolute;
  top: -3px;
  left: 43.611%;
  width: 56.597%;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 6%, #000 38%);
  mask-image: linear-gradient(to right, transparent 6%, #000 38%);
}

.geo__inner { position: relative; z-index: 1; }
.geo .section__title::after { margin-top: 16px; }
.geo__text { max-width: 612px; margin-top: 12px; font-size: 20px; line-height: 26px; font-weight: 400; color: var(--c-body); }

.geo__label { margin-top: 70px; margin-left: 103px; font-size: 24px; line-height: 20px; letter-spacing: -.96px; font-weight: 600; }

.days { display: flex; align-items: center; gap: 38px; margin-top: 9px; }
.day { display: flex; align-items: center; gap: 4px; }
.day__icon { width: 66px; height: 66px; }
.day__text { font-size: 20px; line-height: 20px; letter-spacing: -.8px; font-weight: 500; text-transform: uppercase; }

.manager { min-height: 551px; padding: 40px 0 0; overflow: hidden; }

.manager__photo {
  position: absolute;
  top: 0;
  left: -8.472%;
  width: 61.458%;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, #000 61%, transparent 88%);
  mask-image: linear-gradient(to right, #000 61%, transparent 88%);
}

.manager__inner { position: relative; z-index: 1; padding-left: 615px; }
.manager .section__title::after { margin-top: 15px; }
.manager__text { max-width: 691px; margin-top: 10px; font-size: 20px; line-height: 26px; font-weight: 400; color: var(--c-body); }

.features { margin-top: 40px; padding-left: 108px; }

.feature {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 19px;
  margin-top: 34px;
}

.feature:first-child { margin-top: 0; }
.feature__icon { grid-row: 1 / 3; width: 64px; height: 64px; }
.feature__title { grid-column: 2; margin-top: 7px; font-size: 20px; line-height: 20px; letter-spacing: -.8px; font-weight: 600; }
.feature__text { grid-column: 2; margin-top: 3px; font-size: 16px; line-height: 20px; letter-spacing: -.64px; font-weight: 300; }

.certs { padding: 40px 0 43px; }

.certs .section__title, .certs__text { margin-left: 5px; }
.certs__text { margin-top: 24px; font-size: 20px; line-height: 26px; font-weight: 400; color: var(--c-body); }

.slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 38px;
}

.slider {
  display: flex;
  gap: 62px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 4px;
}

.slider::-webkit-scrollbar { display: none; }
.slider__item { flex: 0 0 auto; scroll-snap-align: center; }

.cert {
  width: 182px;
  height: 254px;
  padding: 7px;
  background: #F8FAFC;
  border: 1px solid rgba(2, 6, 23, .1);
  border-radius: 10px;
  box-sizing: content-box;
  object-fit: contain;
}

.slider__btn {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -50px;
  background: #FFF;
  border: 1px solid rgba(2, 6, 23, .1);
  border-radius: 50%;
  transition: background-color var(--dur), color var(--dur);
}

.slider__btn svg { width: 8px; height: 12px; }
.slider__btn--prev { left: calc(50% - 640px); }
.slider__btn--next { right: calc(50% - 640px); }

@media (hover: hover) {
  .slider__btn:hover { background: var(--c-orange); color: #FFF; }
}

.questions { padding: 36px 0 28px; }

.questions__card {
  position: relative;
  display: grid;
  grid-template-columns: 691fr 668fr;
  min-height: 440px;
  border: 1px solid rgba(200, 168, 75, .35);
  border-radius: 20px;
  background: radial-gradient(78% 120% at 3% 22%, #2C2C2C 0%, #1A1A1A 38%, #111111 100%);
  box-shadow: 0 24px 60px rgba(7, 25, 43, .55);
  color: #FFF;
}

.questions__body { padding: 45px 0 0 79px; }

.questions__title {
  font-size: 32px;
  line-height: 39px;
  letter-spacing: .6px;
  font-weight: 700;
  text-transform: uppercase;
}

.questions__text { margin-top: 14px; font-size: 24px; line-height: 29.3px; font-weight: 400; color: rgba(255, 255, 255, .69); }

.checks { margin-top: 43px; margin-left: -5px; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 19px; }
.check:first-child { margin-top: 0; }
.check__icon { width: 39px; height: 39px; flex: 0 0 auto; }
.check__text { font-size: 24px; line-height: 29.3px; font-weight: 500; color: rgba(255, 255, 255, .81); }

.qform { display: grid; align-content: start; padding: 51px 176px 0 0; }

.qform .field__input {
  height: 42px;
  padding: 0 16px;
  background: rgba(126, 126, 126, .65);
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 5px;
  font-size: 13px;
  line-height: 15.5px;
  color: #FFF;
  text-align: center;
}

.qform .field__label {
  justify-content: center;
  padding: 0 35px 0 11px;
  font-size: 13px;
  line-height: 15.5px;
  color: rgba(255, 255, 255, .45);
}

.consent--dark { grid-template-columns: 14px 1fr; column-gap: 7.5px; margin-top: 2px; padding-left: 24px; }
.consent--dark .consent__box { width: 14px; height: 14px; }
.consent--dark .consent__text { font-size: 11px; line-height: 15.4px; color: rgba(255, 255, 255, .35); }

.qform .btn--block {
  width: calc(100% - 20px);
  height: 52px;
  margin: 21px 0 0 4px;
  font-size: 15px;
  line-height: 18.3px;
  font-weight: 700;
  color: #030303;
  box-shadow: 0 4px 18px rgba(200, 168, 75, .35);
}

.contacts { min-height: 381px; padding: 25px 0 33px; overflow: hidden; }

.contacts__map {
  position: absolute;
  bottom: 0;
  top: -7px;
  left: 27.778%;
  width: 72.222%;
  max-width: none;
  height: calc(100% + 8px);
  border: 0;
}

.contacts__inner { position: relative; z-index: 1; }

.contacts__card {
  width: 324px;
  min-height: 323px;
  margin-left: 5px;
  padding: 21px;
  background: #FFF;
  border: 1px solid rgba(95, 95, 95, .87);
  border-radius: 16px;
}

.contacts__title {
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(95, 95, 95, .87);
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .81);
}

.contacts__list { display: grid; grid-auto-rows: 68px; align-items: start; margin: 13px 0 -34px; }
.contacts__item { display: flex; align-items: center; gap: 10px; min-height: 34px; }

.contacts__value { font-size: 14px; line-height: 21px; font-weight: 700; color: rgba(42, 42, 42, .88); white-space: nowrap; }

.contacts__value--addr { font-size: 13px; letter-spacing: -.2px; }

@media (hover: hover) {
  .contacts__value a:hover, a.contacts__value:hover { color: var(--c-orange); }
}

.site-footer {
  background:
    radial-gradient(56% 87% at 85% 100%, rgba(0, 0, 0, .31) 0%, rgba(255, 255, 255, 0) 93%),
    radial-gradient(47% 70% at 15% 0%, rgba(200, 168, 75, .07) 0%, rgba(200, 168, 75, 0) 60%),
    var(--c-dark);
  color: #FFF;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 318px 363px 356px 282px;
  padding-top: 33px;
  padding-bottom: 13px;
}

.logo__img--light { width: 309px; height: auto; }
.logo--light { grid-area: 1 / 1; align-self: start; margin-top: 7px; }

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 20.2px;
  font-weight: 700;
  color: #EDEDED;
}

.footer-col--services { padding-left: 13px; }
.footer-col--about .footer-col__title { padding-left: 35px; }
.footer-col--contacts .footer-col__title { padding-left: 61px; }

.footer-links { margin-top: 14px; }
.footer-links li + li { margin-top: 6px; }

.footer-links .menu-item {
  display: block;
  font-size: 13px;
  line-height: 17.5px;
  font-weight: 700;
  color: #B2B2B2;
  transition: color var(--dur);
}

@media (hover: hover) {
  .footer-links .menu-item:hover { color: var(--c-orange); }
}

.footer-cards { margin-top: 14px; }
.footer-cards li + li { margin-top: 6px; }

.footer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 215px;
  height: 50px;
  border-radius: 10px;
  transition: background-color var(--dur);
}

.footer-card__text { font-size: 15px; line-height: 22.5px; font-weight: 700; color: rgba(255, 255, 255, .88); }

@media (hover: hover) {
  .footer-card:hover { background: rgba(255, 255, 255, .06); }
}

.footer-col__cta {
  width: 211px;
  height: 46px;
  margin-top: 9px;
  gap: 8px;
  font-size: 13px;
  line-height: 19.5px;
  letter-spacing: .39px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(200, 168, 75, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.footer-contacts { margin-top: 14px; }
.footer-contacts__item { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; }
.footer-contacts__item:first-child { margin-top: 0; }
.footer-contacts__body { display: block; }

.footer-contacts__label {
  display: block;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: .5px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .81);
}

.footer-contacts__value {
  display: block;
  font-size: 14px;
  line-height: 21px;
  font-weight: 600;
  color: rgba(188, 188, 188, .88);
  transition: color var(--dur);
}

@media (hover: hover) {
  a.footer-contacts__value:hover { color: var(--c-orange); }
}

.site-footer__copy {
  grid-area: 1 / 1;
  align-self: end;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 18px;
  font-weight: 400;
  color: rgba(207, 205, 205, .81);
}

.site-footer__bottom { border-top: 1px solid rgba(95, 95, 95, .87); }

.site-footer__note {
  max-width: 820px;
  margin: 0 auto;
  padding: 15px 0 43px;
  font-size: 11px;
  line-height: 16.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, .81);
  text-align: center;
}

@media (min-width: 1440px) {
  .hero__collage { left: calc(50% - 221px); width: max(968px, calc(50% + 221px)); }
  .geo__photo { left: calc(50% - 92px); width: max(815px, calc(50% + 92px)); }

  .manager__photo {
    left: auto;
    right: calc(50% - 43px);
    width: max(885px, calc(50% + 43px));
  }

  .contacts__map { left: calc(50% - 320px); width: calc(50% + 320px); }
}

@media (max-width: 1400px) {
  .site-footer__inner { grid-template-columns: 318fr 363fr 356fr 282fr; }
}

@media (max-width: 1200px) {
  :root { --gutter: 28px; }

  .site-header__contacts { margin-left: 24px; }
  .hero__text { max-width: 46%; }
  .manager__inner { padding-left: 46%; }
  .geo__label { margin-left: 60px; }
  .slider__btn--prev { left: 0; }
  .slider__btn--next { right: 0; }
  .questions__card { grid-template-columns: 1fr 1fr; padding-left: 40px; }
  .qform { padding-right: 40px; }
  .contacts__map { left: 34%; }

  .services__list { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 0; padding: 20px 20px 24px 120px; }
  .card__icon { top: 20px; left: 8px; }
  .card__icon--sm { top: 24px; left: 18px; }
  .card__text { position: static; margin-top: 16px; }
  .steps { width: 100%; margin-left: 0; }
  .step__title { margin-right: 0; }
}

@media (max-width: 1100px) {
  .about__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .about .section__title::after { margin-top: 14px; }
  .stats { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .stat { height: auto; min-height: 158px; }
  .about__more, .services__all { grid-column: 1; }

  .why__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .lead { margin-top: 0; }
  .bullets__item { max-width: none; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  .section__title, .hero__title { font-size: 26px; line-height: 31px; }

  .site-header__inner { flex-wrap: wrap; min-height: 64px; padding-top: 16px; }
  .site-header__contacts { order: 3; flex: 0 0 100%; margin: 0 0 12px; }
  .site-header__cta { order: 4; margin: 0 0 14px; width: 100%; max-width: 260px; }

  .hero { display: flex; flex-direction: column; min-height: 0; padding-bottom: 32px; }
  .hero__inner { order: 1; }
  .hero__collage { order: 2; position: static; width: 100%; margin: 24px 0 0; left: auto; }
  .hero__text { max-width: none; }
  .plates { grid-template-columns: 1fr; max-width: none; margin-top: 24px; }

  .about__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .stats { gap: 16px; }
  .stat { min-height: 0; height: auto; }
  .stat__label { margin-top: 10px; white-space: normal; }
  .stat__value { font-size: 44px; }
  .about__more, .services__all { grid-column: 1; }

  .services__list { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 18px 18px 18px 116px; }
  .card__text { position: static; margin-top: 14px; }
  .card__icon, .card__icon--sm { top: 18px; left: 8px; width: 90px; height: 90px; }

  .why__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .lead { margin-top: 0; padding: 24px 20px 28px; border-radius: 20px; }
  .lead__row { grid-template-columns: 1fr; }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; column-gap: 20px; width: 100%; margin: 24px 0 0; }
  .steps::before { display: none; }
  .step__title { margin-top: 14px; }
  .step__text { margin-top: 10px; }

  .geo, .manager { min-height: 0; padding: 32px 0; }
  .geo__photo, .manager__photo {
    position: static; width: 100%; left: auto; margin-top: 24px; border-radius: 8px;
    -webkit-mask-image: none; mask-image: none;
  }
  .geo__text, .manager__text { font-size: 17px; line-height: 24px; }
  .geo__label { margin: 28px 0 0; }
  .days { flex-wrap: wrap; gap: 16px; }
  .manager__inner { padding-left: var(--gutter); padding-right: var(--gutter); }
  .features { margin-top: 28px; padding-left: 0; }

  .certs__text { font-size: 17px; line-height: 24px; }
  .slider-wrap { justify-content: flex-start; padding: 0 44px; }
  .slider { gap: 20px; }
  .slider__btn { width: 36px; height: 36px; margin-top: -18px; }
  .slider__btn--prev { left: 0; }
  .slider__btn--next { right: 0; }

  .questions__card { grid-template-columns: 1fr; row-gap: 22px; padding: 20px 18px; }
  .questions__body { padding: 0; }
  .checks { margin-left: 0; }
  .questions__title { font-size: 24px; line-height: 30px; }
  .questions__text, .check__text { font-size: 18px; line-height: 24px; }
  .checks { margin-top: 24px; }
  .qform { padding: 0; }

  .contacts { display: flex; flex-direction: column; min-height: 0; padding: 32px 0; }
  .contacts__inner { order: 1; }
  .contacts__map { order: 2; position: static; left: auto; width: 100%; height: 300px; margin-top: 20px; border-radius: 12px; }
  .contacts__card { width: 100%; min-height: 0; margin-left: 0; }
  .contacts__value { white-space: normal; }
  .contacts__value--addr { font-size: 14px; letter-spacing: 0; }
  .contacts__list { grid-auto-rows: auto; row-gap: 20px; margin-bottom: 0; }

  .site-footer__inner { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer-col--services, .footer-col--about .footer-col__title, .footer-col--contacts .footer-col__title { padding-left: 0; }
  .site-footer__copy { grid-area: auto / 1 / auto / -1; align-self: auto; margin-bottom: 0; }
}

@media (max-width: 600px) {
  .section__title, .hero__title { font-size: 22px; line-height: 27px; }
  .card { padding: 100px 16px 18px; }
  .card__icon, .card__icon--sm { top: 14px; left: 12px; width: 76px; height: 76px; }
  .card__title { font-size: 20px; line-height: 24px; }
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .day__text { font-size: 16px; }
  .cert { width: 150px; height: 210px; }
}

/* Header Dropdown Logic */
.nav__list .menu-item-has-children {
    position: relative; 
    font-size:13px;
    font-weight:bold;
}

.nav__list .menu-item-has-children > .sub-menu {
    /* Копируем стили .nav__sub */
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 250px;
    padding: 10px 0;
    background: #FFF;
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur), visibility var(--dur);
}

.nav__list .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.nav__list > .menu-item {
    display: block;
    padding: 7px 10px;
    font-size: 13px;
    line-height: 17.5px;
    font-weight: 700;
    color: var(--c-dark);
    transition: color var(--dur);
}

.nav__list .menu-item > a:hover {
    color: var(--c-orange);
}
.nav__list .sub-menu .menu-item > a {    
    display: block;
    padding: 7px 16px;
    font-size: 13px;
    line-height: 17.5px;
    font-weight: 700;
    color: var(--c-dark);
    transition: color var(--dur);
}

.nav__list .sub-menu .menu-item > a:hover {
    color: var(--c-orange);
}

/* Footer List Reset */
.footer-links .menu-item {
    margin-bottom: 6px; 
}
.footer-links .menu-item:last-child {
    margin-bottom: 0;
}
/* Сетка для короткой формы (ФИО + Телефон в ряд) */
.form-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

/* Обертки полей */
.field-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}
.field-wrap .field__input {
    width: 100%;
    box-sizing: border-box;
}

/* Чекбокс согласия (Flexbox для ровности) */
.consent {
    display: flex;
    align-items: flex-start; 
    gap: 10px;
    margin-top: 16px;    
    cursor: pointer;
}

.consent__box {
    margin-top: 2px; 
    flex-shrink: 0; 
}

.consent--dark .consent__text {
    color: rgba(255, 255, 255, 0.6);
}

/* Сообщения об отправке формы */
.form-message {
  display: none;
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  transition: opacity 0.3s ease;
}

.form-message--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
/* =========================================
   СТРЕЛКИ СЛАЙДЕРА - ОРИГИНАЛЬНЫЙ СТИЛЬ
   ========================================= */

/* Внешняя обертка для позиционирования */
.certs-slider-outer {
    position: relative;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 60px; /* Место для стрелок снаружи */
    overflow: visible !important;
}

/* Сам слайдер */
.certs-slider {
    overflow: visible !important;
}

/* Слайды - фиксированная ширина */
.certs-slider .swiper-slide {
    width: 300px !important;
    height: auto;
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Активный (центральный) слайд */
.certs-slider .swiper-slide-active {
    opacity: 1;
    transform: scale(1.02);
    z-index: 2;
}

/* Картинки */
.certs-slider .cert {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ОРИГИНАЛЬНЫЕ СТИЛИ СТРЕЛОК */
.certs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    pointer-events: auto;
}

/* Черная стрелка */
.certs-arrow svg {
    width: 12px;
    height: 12px;
    stroke: #000000;
    stroke-width: 1.4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Левая стрелка - выносим за пределы */
.certs-arrow--prev {
    left: -22px; /* Половина ширины стрелки (44px / 2) */
}

/* Правая стрелка - выносим за пределы */
.certs-arrow--next {
    right: -22px; /* Половина ширины стрелки (44px / 2) */
}

/* Ховер эффект */
.certs-arrow:hover {
    background: var(--c-orange, #ee7219);
    box-shadow: 0 4px 12px rgba(238, 114, 25, 0.3);
}

.certs-arrow:hover svg {
    stroke: #ffffff;
}

/* Адаптив для планшетов */
@media (max-width: 992px) {
    .certs-slider-outer {
        padding: 0 50px;
    }
    .certs-arrow--prev { left: 0; }
    .certs-arrow--next { right: 0; }
}

/* Адаптив для мобильных */
@media (max-width: 600px) {
    .certs-slider-outer {
        padding: 0 40px;
    }
    .certs-arrow--prev { left: 5px; }
    .certs-arrow--next { right: 5px; }
    .certs-slider .swiper-slide {
        width: 260px !important;
    }
}
/* =========================================
   СТРАНИЦА БЛОГА 
   ========================================= */

/* Заголовки */
.blog .section__title { 
  margin-bottom: 8px;
  font-size: 32px;
  font-weight: 800;
  color: var(--c-dark);
}
.blog .section__subtitle {
  font-size: 16px;
  color: var(--c-body);
  margin-bottom: 48px;
  opacity: 0.8;
  line-height: 1.5;
}

/* =========================================
  СЕТКА СПИСКА СТАТЕЙ
   ========================================= */
.blog__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 60px;
}

/* 2 колонки на десктопе */
@media (min-width: 992px) {
  .blog__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* =========================================
  КАРТОЧКА СТАТЬИ
   ========================================= */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Миниатюра сверху */
.blog-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__thumb img {
  transform: scale(1.05);
}

/* Тело карточки */
.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Мета-данные (дата + категория) */
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  flex-wrap: wrap;
}

.blog-card__date {
  color: var(--c-body);
  opacity: 0.7;
  font-weight: 500;
}

.blog-card__cat {
  color: var(--c-orange);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.blog-card__cat:hover {
  text-decoration: underline;
}

/* Заголовок статьи */
.blog-card__title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--c-dark);
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.blog-card__title a:hover {
  color: var(--c-orange);
}

/* Анонс */
.blog-card__excerpt {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-body);
  opacity: 0.9;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Кнопка "Подробнее" */
.blog-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--c-orange);
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(238, 114, 25, 0.2);
}

.blog-card .link-arrow:hover {
  background: var(--c-orange-dark, #d65a00);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(238, 114, 25, 0.3);
  color: #fff;
}

.blog-card .link-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.2s;
}

.blog-card .link-arrow:hover svg {
  transform: translateX(4px);
}

/* =========================================
  ПАГИНАЦИЯ
   ========================================= */
.blog__pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
  grid-column: 1 / -1;
}

.blog__pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.blog__pagination li {
  display: block;
}

.blog__pagination a,
.blog__pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-dark);
  text-decoration: none;
  transition: all 0.2s;
  background: #f5f5f5;
}

.blog__pagination a:hover,
.blog__pagination .current {
  background: var(--c-orange);
  color: #fff;
}

.blog__pagination .prev,
.blog__pagination .next {
  min-width: auto;
  padding: 0 16px;
}

/* =========================================
  АДАПТИВ
   ========================================= */
@media (max-width: 991px) {
  .blog-card__body {
    padding: 20px;
  }
  
  .blog-card__title {
    font-size: 18px;
  }
  
  .blog-card__excerpt {
    -webkit-line-clamp: 3;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .blog__list {
    gap: 24px;
  }
  
  .blog-card__body {
    padding: 16px;
  }
  
  .blog-card__title {
    font-size: 17px;
  }
  
  .blog-card__excerpt {
    -webkit-line-clamp: 3;
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .blog-card .link-arrow {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* =========================================
  ПУСТОЕ СОСТОЯНИЕ
   ========================================= */
.blog__empty {
  text-align: center;
  padding: 80px 20px;
  font-size: 18px;
  color: var(--c-body);
  opacity: 0.7;
  grid-column: 1 / -1;
  background: #f9f9f9;
  border-radius: 16px;
}
/* =========================================
   ОДИНОЧНАЯ ЗАПИСЬ БЛОГА
   ========================================= */

/* Хлебные крошки */
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 13px; color: var(--c-body, #666); opacity: 0.7;
  margin-bottom: 24px;
}
.breadcrumbs a { color: inherit; text-decoration: none; transition: color .2s; }
.breadcrumbs a:hover { color: var(--c-orange); }
.breadcrumbs__current { opacity: 1; font-weight: 500; }

/* Шапка статьи */
.single-post { padding-top: 40px; padding-bottom: 60px; }
.single-post__header { margin-bottom: 32px; }
.single-post__cat {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--c-orange); text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 12px; text-decoration: none;
}
.single-post__title {
  font-size: clamp(26px, 4vw, 40px); font-weight: 800;
  line-height: 1.2; color: var(--c-dark, #111); margin: 0 0 16px;
}
.single-post__meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 14px; color: var(--c-body, #555); opacity: .85;
}

/* Миниатюра */
.single-post__thumb {
  width: 100%; max-height: 480px; overflow: hidden;
  border-radius: 12px; margin-bottom: 40px; background: #f4f5f7;
}
.single-post__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Контент (типографика статьи) */
.single-post__content {
  font-family: var(--ff, 'Montserrat', sans-serif);
  font-size: 16px; line-height: 1.75; color: var(--c-dark, #111);
  margin-bottom: 40px;
}
.single-post__content p { margin-bottom: 20px; }
.single-post__content h2 { font-size: 24px; font-weight: 700; margin: 32px 0 16px; line-height: 1.3; }
.single-post__content h3 { font-size: 20px; font-weight: 700; margin: 24px 0 12px; }
.single-post__content ul, .single-post__content ol { margin-bottom: 20px; padding-left: 24px; }
.single-post__content li { margin-bottom: 8px; }
.single-post__content a { color: var(--c-orange); text-decoration: underline; }
.single-post__content img { max-width: 100%; height: auto; border-radius: 8px; margin: 24px 0; }
.single-post__content blockquote {
  border-left: 4px solid var(--c-orange); padding: 16px 24px;
  background: rgba(0,0,0,.03); border-radius: 0 8px 8px 0;
  font-style: italic; margin: 28px 0;
}

/* Метки */
.single-post__tags {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: 40px; padding-top: 24px; border-top: 1px solid rgba(0,0,0,.1);
  font-size: 14px;
}
.single-post__tags span { font-weight: 600; color: var(--c-dark); }
.single-post__tags a {
  display: inline-block; padding: 6px 14px; background: rgba(0,0,0,.05);
  border-radius: 20px; color: var(--c-dark); text-decoration: none;
  font-size: 13px; transition: all .2s;
}
.single-post__tags a:hover { background: var(--c-orange); color: #fff; }

/* Навигация между статьями */
.single-post__nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 48px;
}
.single-post__nav a {
  display: block; padding: 20px; background: #f8f9fa; border-radius: 10px;
  color: var(--c-dark); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background .2s, transform .2s;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.single-post__nav a:hover { background: var(--c-orange); color: #fff; transform: translateY(-2px); }

/* Комментарии (базовая стилизация под дизайн) */
.comments-area { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(0,0,0,.1); }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment { padding: 24px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.comment-meta { font-size: 13px; color: var(--c-body); margin-bottom: 8px; }
.comment-author { font-weight: 700; color: var(--c-dark); }
.comment-body { margin-bottom: 12px; line-height: 1.6; }
.comment-reply-link {
  display: inline-block; padding: 6px 14px; background: var(--c-orange);
  color: #fff; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 600;
}
#respond { margin-top: 32px; }
#commentform { display: grid; gap: 16px; }
#commentform textarea, #commentform input[type="text"],
#commentform input[type="email"], #commentform input[type="url"] {
  padding: 12px 16px; border: 1px solid #e0e0e0; border-radius: 8px;
  font-family: var(--ff); font-size: 15px; background: #fafafa;
}
#commentform textarea:focus, #commentform input:focus {
  outline: none; border-color: var(--c-orange); background: #fff;
}
#commentform input[type="submit"] {
  background: var(--c-orange); color: #fff; border: none; cursor: pointer;
  font-weight: 700; padding: 14px 28px; border-radius: 8px; transition: background .2s;
}
#commentform input[type="submit"]:hover { background: var(--c-orange-dark, #d65a00); }

/* Адаптив */
@media (max-width: 768px) {
  .single-post__nav { grid-template-columns: 1fr; }
  .single-post__title { font-size: 24px; }
  .single-post__thumb { max-height: 300px; margin-bottom: 28px; }
  .single-post__content { font-size: 15px; }
}
/* =========================================
   ДРУГИЕ СТАТЬИ 
   ========================================= */
.related-articles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eef0f2;
}

.related-articles__title {
  margin-bottom: 32px;
  font-size: 28px;
  font-weight: 800;
  color: var(--c-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Сетка карточек */
.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Карточка */
.related-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.related-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Миниатюра */
.related-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.related-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.related-card:hover .related-card__thumb img {
  transform: scale(1.05);
}

/* Тело карточки */
.related-card__body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Заголовок (обрезка до 2 строк) */
.related-card__title {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-dark);
  
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Дата */
.related-card__date {
  margin-top: auto;
  font-size: 14px;
  color: #888;
  font-weight: 500;
}

/* Адаптив */
@media (max-width: 992px) {
  .related-articles__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .related-articles__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .related-articles__title {
    font-size: 24px;
    margin-bottom: 24px;
  }
}
/* =========================================
   ПОПАП С ФОРМОЙ
   ========================================= */
.popup-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.popup-overlay.is-active {
  opacity: 1; visibility: visible;
}

.popup__content {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  width: 100%; max-width: 400px;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}
.popup-overlay.is-active .popup__content {
  transform: translateY(0) scale(1);
}

.popup__close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: #f4f5f7; border: none; border-radius: 50%;
  font-size: 20px; line-height: 1; color: #666;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.popup__close:hover { background: #e8e9eb; color: #111; }

.popup__title {
  margin: 0 0 6px; font-size: 22px; font-weight: 700; text-align: center; color: var(--c-dark);
}
.popup__subtitle {
  margin: 0 0 24px; font-size: 14px; color: var(--c-body); opacity: 0.8; text-align: center;
}

/* Подсказка формата телефона */
input[type="tel"].field__input::placeholder {
  color: #999;
  opacity: 1;
}

/* Если браузер не поддерживает маску — покажем пример */
@supports not (mask: none) {
  input[type="tel"].field__input::after {
    content: "+7 (___) ___-__-__";
    color: #ccc;
    font-size: 13px;
  }
}

/* Ошибка валидации */
input[type="tel"].field__input:invalid:not(:placeholder-shown) {
  border-color: #d32f2f !important;
  background-color: #ffebee !important;
}
/* Переиспользуем стили форм внутри попапа */
.popup-form .field-wrap { margin-bottom: 16px; }
.popup-form .consent { margin: 20px 0 0; align-items: flex-start; gap: 10px; }
.popup-form .consent__box { margin-top: 2px; flex-shrink: 0; }
.popup-form .btn--block { margin-top: 20px; }

/* Блокировка скролла при открытом попапе */
body.popup-open { overflow: hidden; }

/* Адаптив */
@media (max-width: 480px) {
  .popup__content { padding: 24px 20px; max-width: 95%; }
  .popup__title { font-size: 20px; }
}
/* =========================================
   СТРАНИЦА УСЛУГ: САЙДБАР + КОНТЕНТ
   ========================================= */

/* 1. Глобальная сетка страницы */
.service-layout {
  display: grid;
  grid-template-columns: 280px 1fr; /* Сайдбар фикс, Контент резина */
  gap: 40px;
  align-items: start;
  margin-bottom:30px;
}

@media (max-width: 991px) {
  .service-layout {
    grid-template-columns: 1fr; /* Одна колонка на планшете/мобильном */
  }
  .service-sidebar {
    order: -1; /* Сайдбар сверху на мобильных */
  }
}

/* Прилипание сайдбара */
.service-sidebar {
  position: sticky;
  top: 24px;
}

/* =========================================
   КОНТЕНТ УСЛУГ (ПРАВАЯ ЧАСТЬ)
   ========================================= */

.services-page__title {
  margin-bottom: 32px;
  font-size: 28px;
  font-weight: 800;
  color: var(--c-dark);
}

/* Сетка категорий (2 колонки, как на скрине) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 колонка на маленьких экранах */
  }
}

/* Карточка категории (Белый фон) */
.service-category-block {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e8eaed; /* Легкая обводка */
}

/* Заголовок категории (может быть ссылкой) */
.service-category__title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f2f5;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}

/* Если заголовок — ссылка */
a > .service-category__title:hover {
  color: var(--c-orange);
}

/* Список услуг */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ПУНКТ УСЛУГИ (Как на скрине: серый фон + оранжевая черта) */
.service-item-link {
  display: block;
  background: #f4f6f8; /* Светло-серый фон */
  color: #333;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0; /* Скругление только справа */
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  
  /* ОРАНЖЕВАЯ ЧЕРТА СЛЕВА */
  border-left: 4px solid var(--c-orange);
  
  transition: all 0.2s ease;
}

/* Ховер эффект */
.service-item-link:hover {
  background: #eef1f4;
  color: var(--c-orange);
  padding-left: 20px; /* Небольшой сдвиг вправо */
}

/* Текущая страница (активная услуга) */
.service-item-link.current {
  background: rgba(238, 114, 25, 0.1);
  color: var(--c-orange);
  font-weight: 700;
}
/* =========================================
   САЙДБАР УСЛУГ
   ========================================= */

/* Контейнер сайдбара */
.services-nav-widget {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 24px;
}

/* Заголовок "УСЛУГИ" */
.services-nav__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

/* Сброс стилей меню */
.services-menu-list,
.services-menu-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-menu-list li {
  margin-bottom: 4px;
}

/* Родительские пункты (Категории) */
.services-menu-list > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-dark, #1a1a1a);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s;
  cursor: pointer;
}

.services-menu-list > li > a:hover {
  color: var(--c-orange, #ee7219);
}

/* Стрелка-шеврон для категорий */
.menu-item-has-children > a::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc; 
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.services-menu-list li> a::after {
  transform: rotate(45deg);  
}
/* Поворот стрелки при открытии */
.services-menu-list li.is-open > a::after {
  transform: rotate(225deg);
  border-color: var(--c-orange, #ee7219);
}

/* Подменю (скрыто по умолчанию) */
.services-menu-list .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.services-menu-list li.is-open > .sub-menu {
  max-height: 1000px;
  transition: max-height 0.5s ease-in;
}

/* Пункты подменю */
.services-menu-list .sub-menu a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}

/* Точка-маркер слева */
.services-menu-list .sub-menu a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #dcdcdc;
  margin-right: 12px;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

/* Ховер на пункт */
.services-menu-list .sub-menu a:hover {
  background: #f9f9f9;
  color: var(--c-dark, #1a1a1a);
}

/* Активный пункт (текущая страница) */
.services-menu-list .current-menu-item > a,
.services-menu-list .current-menu-ancestor > a {
  color: var(--c-orange, #ee7219) !important;
  font-weight: 700;
  background: rgba(238, 114, 25, 0.08);
}

.services-menu-list .current-menu-item > a::before,
.services-menu-list .current-menu-ancestor > a::before {
  background-color: var(--c-orange, #ee7219) !important;
}

/* Адаптив для мобильных */
@media (max-width: 991px) {
  .services-nav-widget {
    position: static;
    margin-bottom: 30px;
  }
  
  .services-menu-list > li > a {
    font-size: 15px;
  }
  
  .services-menu-list .sub-menu a {
    font-size: 13px;
    padding: 6px 12px;
  }
}
/* =========================================
   СТРАНИЦА АККРЕДИТАЦИЙ
   ========================================= */

/* Сетка страницы (наследуем от services) */
.service-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 991px) { .service-layout { grid-template-columns: 1fr; } .service-sidebar { order: -1; } }
.service-sidebar { position: sticky; top: 24px; }

/* Заголовок */
.accreditations__title {
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: 800;
  color: var(--c-dark);
}

/* Вступительный текст */
.accreditations__intro {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}
.accreditations__intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* Сетка галереи */
.accreditation-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки */
  gap: 24px;
}

@media (max-width: 992px) {
  .accreditation-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .accreditation-gallery { grid-template-columns: 1fr; }
}

/* Карточка документа */
.accreditation-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f2f5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer; /* Курсор лупы */
}

.accreditation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Изображение */
.accreditation-card__img {
  width: 100%;
  aspect-ratio: 3/4; /* Пропорция вертикального документа */
  background: #f9f9f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accreditation-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Документ виден целиком */
  transition: transform 0.4s ease;
}

.accreditation-card:hover .accreditation-card__img img {
  transform: scale(1.05);
}

/* Иконка зума (опционально, для красоты) */
.accreditation-card::after {
  content: '+';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--c-orange);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.accreditation-card:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
/* =========================================
   СТРАНИЦА РУБРИКИ (КАТЕГОРИИ)
   ========================================= */

.blog-category .section__title {
  margin-bottom: 8px;
  font-size: 32px;
  font-weight: 800;
  color: var(--c-dark);
}

.blog-category .section__subtitle {
  font-size: 16px;
  color: var(--c-body);
  margin-bottom: 40px;
  opacity: 0.8;
  line-height: 1.5;
}

/* Используем те же стили что и для блога */
.blog-category .blog__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 50px;
}

@media (min-width: 992px) {
  .blog-category .blog__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Карточка статьи */
.blog-category .blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-category .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog-category .blog-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-category .blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-category .blog-card:hover .blog-card__thumb img {
  transform: scale(1.05);
}

.blog-category .blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-category .blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  flex-wrap: wrap;
}

.blog-category .blog-card__date {
  color: var(--c-body);
  opacity: 0.7;
  font-weight: 500;
}

.blog-category .blog-card__cat {
  color: var(--c-orange);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.blog-category .blog-card__cat:hover {
  text-decoration: underline;
}

.blog-category .blog-card__title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--c-dark);
}

.blog-category .blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.blog-category .blog-card__title a:hover {
  color: var(--c-orange);
}

.blog-category .blog-card__excerpt {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-body);
  opacity: 0.9;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-category .blog-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--c-orange);
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(238, 114, 25, 0.2);
}

.blog-category .blog-card .link-arrow:hover {
  background: var(--c-orange-dark, #d65a00);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(238, 114, 25, 0.3);
  color: #fff;
}

.blog-category .blog-card .link-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.2s;
}

.blog-category .blog-card .link-arrow:hover svg {
  transform: translateX(4px);
}

/* Пагинация */
.blog-category .blog__pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.blog-category .blog__pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-category .blog__pagination li {
  display: block;
}

.blog-category .blog__pagination a,
.blog-category .blog__pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-dark);
  text-decoration: none;
  transition: all 0.2s;
  background: #f5f5f5;
}

.blog-category .blog__pagination a:hover,
.blog-category .blog__pagination .current {
  background: var(--c-orange);
  color: #fff;
}

.blog-category .blog__pagination .prev,
.blog-category .blog__pagination .next {
  min-width: auto;
  padding: 0 16px;
}

/* Пустое состояние */
.blog-category .blog__empty {
  text-align: center;
  padding: 80px 20px;
  font-size: 18px;
  color: var(--c-body);
  opacity: 0.7;
  background: #f9f9f9;
  border-radius: 16px;
}

/* Адаптив */
@media (max-width: 991px) {
  .blog-category .blog-card__body {
    padding: 20px;
  }
  
  .blog-category .blog-card__title {
    font-size: 18px;
  }
  
  .blog-category .blog-card__excerpt {
    -webkit-line-clamp: 3;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .blog-category .blog__list {
    gap: 24px;
  }
  
  .blog-category .blog-card__body {
    padding: 16px;
  }
  
  .blog-category .blog-card__title {
    font-size: 17px;
  }
  
  .blog-category .blog-card__excerpt {
    -webkit-line-clamp: 3;
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .blog-category .blog-card .link-arrow {
    padding: 8px 16px;
    font-size: 13px;
  }
}
/* =========================================
   ТИПОГРАФИКА КОНТЕНТА (Статьи и Страницы)
   ========================================= */

/* Базовые настройки текста */
.entry-content {
  font-family: var(--ff, 'Montserrat', sans-serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-body);
}

/* Абзацы */
.entry-content p {
  margin-bottom: 24px;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

/* Ссылки внутри текста */
.entry-content a {
  color: var(--c-orange);
  text-decoration: underline;
  text-decoration-color: rgba(238, 114, 25, 0.3);
  transition: all 0.2s;
}
.entry-content a:hover {
  color: #d65a00;
  text-decoration-color: var(--c-orange);
}

/* =========================================
   ЗАГОЛОВКИ H2 - H6 С ОРАНЖЕВОЙ ЧЕРТОЙ
   ========================================= */
.entry-content h2, 
.entry-content h3, 
.entry-content h4, 
.entry-content h5, 
.entry-content h6 {
  color: var(--c-dark);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 40px;
  margin-bottom: 24px;
  position: relative; /* Для позиционирования черты */
  display: inline-block; /* Чтобы черта была под текстом, а не на всю ширину */
  padding-bottom: 8px; /* Отступ до черты */
}

/* Оранжевая черта под заголовками */
.entry-content h2::after,
.entry-content h3::after,
.entry-content h4::after,
.entry-content h5::after,
.entry-content h6::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px; /* Длина черты */
  height: 3px; /* Толщина черты */
  background-color: var(--c-orange);
  border-radius: 2px;
}

/* Разные размеры заголовков */
.entry-content h2 {
  font-size: 28px;
  margin-bottom: 28px;
}
.entry-content h2::after {
  width: 48px; /* Чуть длиннее для H2 */
}

.entry-content h3 {
  font-size: 24px;
}

.entry-content h4 {
  font-size: 20px;
}

.entry-content h5 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.entry-content h6 {
  font-size: 16px;
  text-transform: uppercase;
  color: #888;
}

/* Адаптив */
@media (max-width: 768px) {
  .entry-content h2 { font-size: 24px; }
  .entry-content h3 { font-size: 20px; }
  .entry-content h4 { font-size: 18px; }
  .entry-content h5 { font-size: 16px; }
  .entry-content h6 { font-size: 14px; }
  
  .entry-content h2::after,
  .entry-content h3::after,
  .entry-content h4::after {
    width: 36px; /* Чуть короче на мобильных */
  }
}
/* =========================================
   СПИСКИ (Нумерованные и Маркированные)
   ========================================= */

/* Общие настройки списков */
.entry-content ul, 
.entry-content ol {
  margin-bottom: 24px;
  padding-left: 0; /* Убираем стандартный отступ */
  list-style: none; /* Убираем стандартные маркеры */
}

/* Элементы списка */
.entry-content li {
  position: relative;
  padding-left: 28px; /* Место под маркер/цифру */
  margin-bottom: 12px;
  line-height: 1.6;
}

/* --- Маркированный список (Ul) --- */
/* Кастомные оранжевые точки */
.entry-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--c-orange);
  border-radius: 50%;
}

/* --- Нумерованный список (Ol) --- */
/* Кастомные жирные цифры */
.entry-content ol {
  counter-reset: list-counter; /* Сброс счетчика */
}

.entry-content ol li {
  counter-increment: list-counter; /* Увеличиваем счетчик */
}

.entry-content ol li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-orange);
  line-height: 1.6;
}

/* =========================================
   ЦИТАТЫ (Blockquote)
   ========================================= */
.entry-content blockquote {
  background: #f9f9f9;
  border-left: 4px solid var(--c-orange);
  border-radius: 0 8px 8px 0;
  padding: 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--c-dark);
  font-weight: 500;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

/* =========================================
   ИЗОБРАЖЕНИЯ В КОНТЕНТЕ
   ========================================= */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* =========================================
   АДАПТИВ
   ========================================= */
@media (max-width: 768px) {
  .entry-content h2 { font-size: 24px; }
  .entry-content h3 { font-size: 20px; }
  .entry-content h4 { font-size: 18px; }
  .entry-content { font-size: 15px; }
}
/* =========================================
   СТРАНИЦА FAQ (ВОПРОСЫ И ОТВЕТЫ)
   ========================================= */

.faq-page__title {
  margin-bottom: 40px;
  font-size: 36px;
  font-weight: 800;
  color: var(--c-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start; /*  ВАЖНО: чтобы колонки не растягивались */
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Карточка вопроса */
.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Кнопка вопроса */
.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-dark, #1a1a1a);
    text-align: left;
    line-height: 1.4;
}

.faq-item__question:hover {
    color: var(--c-orange, #ee7219);
}

/* Иконка */
.faq-item__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.is-active .faq-item__icon {
    transform: rotate(45deg);
}

/* 🔥 ПОЛНОЕ СКРЫТИЕ ОТВЕТА (занимает 0 места) */
.faq-item__answer {
    display: none; /* 🔥 ГЛАВНОЕ: полностью убираем из потока */
}

.faq-item.is-active .faq-item__answer {
    display: block; /* Показываем только активный */
    padding: 0 24px 24px;
    border-top: 1px solid #f0f0f0;
}

.faq-item__content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-body, #555);
    padding-top: 16px;
}
/* Адаптив */
@media (max-width: 600px) {
  .faq-page__title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .faq-item__question {
    padding: 16px 18px;
    font-size: 15px;
    gap: 12px;
  }
  
  .faq-item__content {
    padding: 0 18px 18px 18px;
    font-size: 14px;
  }
}
/* =========================================
   СТРАНИЦА КОНТАКТЫ
   ========================================= */
.contacts-page__title {
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 800;
  color: var(--c-dark);
}

/* Сетка: Контакты + Реквизиты */
.contacts-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (max-width: 991px) {
  .contacts-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* Карточка контакта */
.contact-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  margin-bottom: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:last-child { margin-bottom: 0; }
.contact-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

/* Иконка */
.contact-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(238, 114, 25, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-orange);
}
.contact-card__icon svg { width: 24px; height: 24px; fill: currentColor; }

/* Тело карточки */
.contact-card__body { flex: 1; }
.contact-card__item { margin-bottom: 12px; }
.contact-card__item:last-child { margin-bottom: 0; }

.contact-card__value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-dark);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}
a.contact-card__value:hover { color: var(--c-orange); }

.contact-card__label {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

/* Блок реквизитов */
.requisites-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  height: fit-content;
}

.requisites-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-dark);
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.requisites-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.req-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f5f5f5;
}
.req-item:last-child { border-bottom: none; padding-bottom: 0; }

.req-item__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  font-weight: 600;
}

.req-item__value {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-dark);
  word-break: break-word;
}

/* Карта */
.contacts-map {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  background: #f9f9f9;
}
.contacts-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

@media (max-width: 768px) {
  .contacts-map iframe { height: 300px; }
  .contact-card { flex-direction: column; gap: 16px; }
}
/* =========================================
   СТРАНИЦА АКЦИЙ
   ========================================= */

.promotions__intro {
  margin-bottom: 40px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-body);
}

/* Список */
.promo-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px; /* Ограничиваем ширину для читаемости */
}

/* Карточка акции */
.promo-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Номер (Квадрат с цифрой) */
.promo-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--c-orange);
  color: var(--c-dark);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

/* Текстовый блок */
.promo-body {
  padding-top: 4px; /* Выравнивание визуально по центру цифры */
}

.promo-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.3;
}

.promo-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #666;
}

/* Мобильная адаптация */
@media (max-width: 600px) {
  .promo-item {
    padding: 16px;
    gap: 16px;
  }
  
  .promo-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 8px;
  }
  
  .promo-title { font-size: 16px; }
  .promo-text { font-size: 14px; }
}
/* =========================================
   ИСПРАВЛЕНИЕ СКРОЛЛА СЛАЙДЕРА СЕРТИФИКАТОВ
   ========================================= */

/* 1. Внешняя обёртка: разрешаем выход стрелок, но скрываем溢出 слайдера */
.certs-slider-outer {
  position: relative;
  width: 100%;
  overflow: visible; /* Стрелки должны быть видны */
}

/* 2. Сам Swiper: жёстко обрезаем всё, что вылезает */
.certs-slider.swiper {
  overflow: hidden !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 3. Сброс лишних отступов обёртки слайдов */
.swiper-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

/* 4. Слайды: фиксируем поведение для slidesPerView: 'auto' */
.swiper-slide {
  width: auto !important;
  flex-shrink: 0;
  max-width: 100%;
}

/* 5. Глобальная страховка  */
html, body {
  overflow-x: hidden;
  width: 100%;
}
/* =========================================
   СТРАНИЦА ЦЕН 
   ========================================= */

.price-page__title {
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 800;
  color: var(--c-dark);
}

/* Заголовок группы (как на скрине с чертой) */
.price-group__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-dark);
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--c-orange);
  display: inline-block;
}

/* Контейнер таблицы */
.price-table {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 24px;
}

/* Сетка строки (Десктоп) */
.price-row {
  display: grid;
  /* Название занимает всё место, остальные фиксировано */
  grid-template-columns: 1fr 140px 140px; 
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}

.price-row:last-child {
  border-bottom: none;
}

/* Шапка таблицы */
.price-row--header {
  background: #f8f9fa;
  font-weight: 700;
  color: #555;
  font-size: 13px;
  text-transform: uppercase;
  padding: 14px 20px;
}

/* Колонки */
.col-name {
  font-weight: 600;
  color: var(--c-dark);
}
.col-unit {
  color: #666;
  font-size: 14px;
}
.col-price {
  font-weight: 700;
  color: var(--c-orange);
  font-size: 16px;
  text-align: right; /* Цена справа */
}

/* =========================================
   АДАПТИВ (Превращение в карточки)
   ========================================= */
@media (max-width: 768px) {
  
  /* Скрываем шапку */
  .price-row--header {
    display: none !important;
  }

  /* Превращаем строку в блок-карточку */
  .price-row {
    display: flex;
    flex-direction: column; /* Вертикально */
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    gap: 8px;
  }

  .price-row:last-child {
    border-bottom: 1px solid #eee; /* Возвращаем разделитель */
    margin-bottom: 12px;
  }

  /* Добавляем подписи для мобильной версии */
  .col-unit::before {
    content: "Единицы: ";
    color: #999;
    font-weight: 500;
  }
  
  .col-price::before {
    content: "Цена: ";
    color: #999;
    font-weight: 500;
  }

  .col-price {
    text-align: left; /* Цена слева на мобильном */
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed #eee; /* Отделяем цену линией */
  }
}
/* Убираем серую полосу под футером */
.site-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main.site-main {
  flex: 1 0 auto;
}

/* Если полоса всё ещё видна — принудительно скрываем溢出 */
html {
  overflow-x: hidden;
}