/*!
Theme Name: monitoring-lite
Author: Syrka
Description: Тема для сайта МониторингЛайт
Version: 1.0.0
Text Domain: mon
*/

/* ===== 1. NORMALIZE ===== */
html {
  line-height: 1.15;
  box-sizing: border-box;
  height: 100%;
  letter-spacing: .01em;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.5;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  scroll-behavior: smooth;
  background-color: #fff;
}

body.no-scroll {
  overflow: hidden;
}

main {
  display: block;
}

hr {
  overflow: visible;
  box-sizing: content-box;
  height: 0;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  text-decoration: none;
  color: var(--green);
  background-color: transparent;
}

p {
  margin: 0 0 1.5em;
}

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

abbr[title] {
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: none;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

img {
  max-width: 100%;
  height: auto;
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: .35em .75em .625em;
}

legend {
  display: table;
  box-sizing: border-box;
  max-width: 100%;
  padding: 0;
  white-space: normal;
  color: inherit;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

input,
textarea {
  outline: none;
}

input:focus,
textarea:focus {
  outline: none;
}

[type='checkbox'],
[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: textfield;
}

[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

html *,
html ::after,
html ::before {
  box-sizing: inherit;
}

/* ===== 2. ПЕРЕМЕННЫЕ ===== */
:root {
  --green: #1d8b4a;
  --green-light: #e8f5ed;
  --green-dark: #0f5c31;
  --gray-bg: #f9fafb;
  --gray-border: #eef2f6;
  --text-dark: #1a1f2e;
  --text-muted: #5a6874;
  --cobalt: #2678c8;
  --cobalt-light: #e6eef8;
  --cobalt-dark: #1d5a98;
  --gradient-nature: linear-gradient(135deg, rgba(132, 191, 157, 0.17), rgba(38, 200, 185, 0.04), rgba(255, 255, 255, 0.03));
  --gradient-mint: linear-gradient(145deg, #f8fcf9 0%, #f2f6fc 100%);
  --gradient-fresh: linear-gradient(112deg, #fff 0%, #f4f9f6 100%);
  --gradient-fresh-2: linear-gradient(-112deg, #fff 0%, #f4f9f6 100%);
  --gradient-emerald: linear-gradient(135deg, #f0f9f4 0%, #e8f0fe 100%);
  --gradient-morning: linear-gradient(135deg, var(--green-light) 0%, var(--cobalt-light) 100%);
}

/* ===== 3. ОБЩИЕ КЛАССЫ ===== */
.section {
  margin: 120px 0;
}

.section.section--first {
  margin-top: 80px;
}

.section.section--color {
  margin: 0;
  padding: 80px 0;
  background: var(--gradient-morning);
}

.section.section--gray {
  background-color: var(--gray-bg);
  padding: 80px 0;
  margin: 0;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

.section--no-margin {
  margin: 0 !important;
}

.pt0 {
  padding-top: 0 !important;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}

.text-404 {
  max-width: 700px;
  margin: 0 auto;
}

.page-404 .like-h1 {
  font-size: 120px;
  font-weight: 300;
  color: var(--green);
  margin-bottom: 20px;
  line-height: 1;
}

.page-404 .error-404 {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.page-404 .error-404 a {
  color: var(--cobalt);
  text-decoration: none;
  font-weight: 500;
}

.page-404 .error-404 a:hover {
  color: var(--green);
}


/* Заголовки */
h1,
h2,
h3,
.title {
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-top: 0.65em;
}

.title--center {
  text-align: center;
}

h1,
.hero__title,
.title--h1 {
  font-size: 40px;
  margin-bottom: 28px;
}

.title--h2 {
  font-size: 40px;
  margin-bottom: 56px;
}

.title--h3 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--text-dark);
}

/* Подзаголовки */
.subtitle {
  font-size: 20px;
  color: var(--text-muted);
}

.subtitle--center {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .title--h2 {
  margin-bottom: 12px;
}

/* Текст */
.text-green {
  color: var(--green);
}

.section__text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section__text p {
  margin-bottom: 20px;
}

.section__text strong {
  color: var(--green-dark);
  font-weight: 500;
}

/* ===== 3.1. КОНТЕНТ (entry-content) ===== */
/* ===== 3.1. КОНТЕНТ (entry-content) ===== */
.entry-content {
  line-height: 1.7;
  color: var(--text-dark);
  max-width: 1100px;
}

.entry-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.entry-content h2 {
  font-size: 30px;
  font-weight: 300;
  margin: 40px 0 20px;
  color: var(--text-dark);
}

.entry-content h3 {
  font-size: 24px;
  font-weight: 400;
  margin: 30px 0 15px;
  color: var(--text-dark);
}

.entry-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.entry-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.entry-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
  font-size: 18px;
  top: -2px;
}
.entry-content ol ul li::before,
.entry-content ul ul li::before {
  content: "•";
  color: var(--text-muted);
}
.entry-content ol {
  margin: 0 0 20px 20px;
  color: var(--text-muted);
  padding: 0;
}

.entry-content ol li {
  margin-bottom: 12px;
}
.entry-content ol ul,
.entry-content ol ol
.entry-content ul ol,
.entry-content ul ul {
  margin-top: 20px;
}
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 20px 0;
}

.entry-content .aligncenter {
  display: block;
  margin: 24px auto;
  float: none;
  clear: both;
}

.entry-content .alignleft {
  float: left;
  margin: 8px 24px 16px 0;
  max-width: 40%;
}

.entry-content .alignright {
  float: right;
  margin: 8px 0 16px 24px;
  max-width: 40%;
}

.entry-content .wp-caption {
  max-width: 100%;
  background: var(--gray-bg);
  border-radius: 16px;
  padding: 8px;
  overflow: hidden;
}

.entry-content .wp-caption img {
  border-radius: 12px;
  margin-bottom: 4px;
}

.entry-content .wp-caption-text,
.entry-content .wp-caption .wp-caption-text {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  padding: 8px 12px;
  margin: 0;
}

.entry-content .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.entry-content .gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-bg);
}

.entry-content .gallery-item img {
  margin: 0;
  border-radius: 0;
}

.entry-content .wp-block-image {
  margin: 30px 0;
}

.entry-content .wp-block-image figcaption {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ===== 3.2. ЦИТАТЫ ===== */
/* ===== 3.2. ЦИТАТЫ ===== */
.entry-content blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background: var(--green-light);
  border-radius: 20px;
  font-style: italic;
  font-size: 18px;
  font-weight: 300;
  color: var(--green-dark);
  line-height: 1.6;
}

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

.entry-content blockquote footer {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  font-style: normal;
  text-align: right;
  margin-top: 16px;
}

/* ===== 3.3. БЛОКИ НОВОСТЕЙ ===== */
.news-quote {
  margin: 48px 0;
  padding: 32px 40px;
  background: var(--gradient-fresh-2);
  border-radius: 20px;
}

.news-quote__text {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.news-quote__text::before {
  content: "«";
  font-size: 32px;
  color: var(--green);
  margin-right: 4px;
}

.news-quote__text::after {
  content: "»";
  font-size: 32px;
  color: var(--green);
  margin-left: 4px;
  vertical-align: top;
}

.news-quote__author {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  border-left: 2px solid var(--green);
}

.news-image {
  margin: 40px 0;
}

.news-image__img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.news-image__caption {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.news-video {
  margin: 40px 0;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.news-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.news-two-columns {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.news-two-columns__col {
  flex: 1;
  min-width: 250px;
  background: var(--gray-bg);
  border-radius: 20px;
  padding: 24px;
}

.news-two-columns__col h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--green);
}

.news-two-columns__col ul {
  list-style: none;
  padding: 0;
}

.news-two-columns__col li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.news-two-columns__col li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

/* Списки */
.list-dotted {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-dotted li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 24px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
}

.list-dotted li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: var(--cobalt);
  top: 5px;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  text-align: left;
}

.list-check li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

/* Ряд с текстом и картинкой */
.rows-group {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.row {
  display: flex;
  gap: 80px;
  align-items: center;
  flex-wrap: wrap;
}

.row--reverse {
  flex-direction: row-reverse;
}

.row__content {
  flex: 1;
}

.row__text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.row__title {
  margin-bottom: 24px;
}

.row__text p:not(:last-child) {
  margin-bottom: 18px;
}

.row__image {
  flex: 1;
}

/* Картинка с фоном */
.bg-pic__placeholder {
  background: var(--gradient-fresh);
  border-radius: 28px;
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  border: none;
}

.row--reverse .bg-pic__placeholder {
  background: var(--gradient-fresh-2);
}

.bg-pic img {
  width: 100%;
  display: block;
}

/* Сетки */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

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

.grid--2 {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.grid--2>* {
  flex: 1;
  min-width: 280px;
}

/* Две колонки */
.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.two-columns--grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* Карточка */
.card {
  background: #fff;
  border-radius: 28px;
  padding: 32px;
  border: 1px solid var(--gray-border);
  transition: all 0.2s ease;
}

.card--border-cobalt {
  border-color: var(--cobalt);
}

.card--color {
  background: var(--gradient-fresh-2);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--green-light);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.03);
}

.two-columns__col .card {
  height: 100%;
}

.entry-content h3.card__title,
.card__title {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-dark);
  margin-top: 0;
}

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

.card__title--large {
  font-size: 21px;
}

.card__title--xl {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}

.card__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.card__text--large {
  font-size: 16px;
  line-height: 1.6;
}

.card__pic {
  width: 100%;
  padding: 10px;
  background: var(--cobalt-light);
  border-radius: 16px;
  margin-bottom: 20px;
  margin-top: 15px;
}

/* Иконка карточки */
.card-icon {
  margin: 0 auto;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cobalt);
}

.entry-content img {
  margin-top: 0;
  margin-bottom: 0;
}

.card-icon svg,
.card-icon__icon,
.card-icon img {
  width: 32px;
  height: 32px;
  display: inline-block;
  border-radius: 0 !important;
}

.card-icon--middle svg,
.card-icon--middle .card-icon__icon,
.card-icon--middle .card-icon img {
  width: 38px;
  height: 38px;
}

/* Бейдж */
.badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  padding: 4px 14px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-badges__item {
  display: flex;
  gap: 8px;
  font-size: 16px;
  color: var(--text-muted);
}

.trust-badges__item::before {
  content: "✓";
  color: var(--green);
  font-weight: 600;
  font-size: 18px;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  gap: 8px;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--blue {
  background: var(--cobalt);
  color: white;
  box-shadow: 0 2px 8px rgba(29, 102, 139, 0.2);
}

.btn--blue:hover {
  background: var(--cobalt-dark);
  box-shadow: 0 8px 20px rgba(29, 102, 139, 0.25);
}

.btn--green {
  background: var(--green);
  color: white;
  box-shadow: 0 2px 8px rgba(29, 139, 74, 0.2);
}

.btn--green:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 20px rgba(29, 139, 74, 0.25);
}
.btn a {
	color: #fff;
}
.btn--outline {
  background: transparent;
  border: 1.5px solid #cbd5e1;
  color: var(--text-dark);
}

.btn--outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}
.btn--outline:hover  a{
  color: var(--green);
}
.btn--outline  a{
color: var(--text-dark);
}
.btn--center {
  text-align: center;
  margin: 48px auto 0;
  display: flex;
}

/* Плавающая кнопка */
.floating-btn {
  position: fixed;
  bottom: 200px;
  right: 28px;
  background: var(--green);
  color: white;
  padding: 14px 28px;
  border-radius: 60px;
  box-shadow: 0 8px 24px rgba(29, 139, 74, 0.3);
  font-weight: 600;
  z-index: 99;
  border: none;
  cursor: pointer;
  display: flex;
  gap: 10px;
}
.floating-btn a{
color:#fff;
}
/* Оверлей */
.overlay {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  visibility: hidden;
  transition: opacity ease-in-out .3s;
  pointer-events: auto;
  background: rgba(0, 0, 0, .6);
}

.overlay.open,
.overlay.active {
  display: block;
  visibility: visible;
  opacity: 1;
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  display: none;
  max-width: 560px;
  width: 100%;
  margin: 20px;
  background: #ffffff;
  border-radius: 30px;
  padding: 48px 40px 40px;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: auto;
}

.modal.active {
  display: block;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s;
  color: var(--text-muted);
}

.modal__close:hover {
  background: var(--gray-bg);
  color: var(--text-dark);
}

.modal__title {
  font-size: 28px;
  font-weight: 350;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.modal__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.modal__policy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

.modal .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal .wpcf7-form input[type="text"],
.modal .wpcf7-form input[type="tel"],
.modal .wpcf7-form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  transition: all 0.2s;
}

.modal .wpcf7-form input:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(38, 120, 200, 0.1);
}

.modal .wpcf7-form .wpcf7-submit {
  width: 100%;
  justify-content: center;
}

.modal .wpcf7-form .wpcf7-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.modal .wpcf7-form .wpcf7-checkbox input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--green);
}

.cf7-form input[name="source"] {
  display: flex;
}

.modal .calculator-select {
  margin-bottom: 24px;
}



/* ===== 4. ХЕДЕР ===== */
.header {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
	position: relative;
	/* top: 0; */
	z-index: 100;
	border-bottom: 1px solid var(--gray-border);
}

.header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  line-height: 1;
}

.logo__name {
  font-size: 22px;
  color: var(--green);
  display: block;
  margin-bottom: 7px;
}

.logo__descript {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

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

.phone-link {
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
}
.messenger {
	display: flex;
	gap: 10px;
}
.messenger__link {
	width: 25px;
	height: 25px;
}
.messenger__pic {
	width: 100%;
	height: 100%;
}
.header__bottom {
  border-top: 1px solid var(--gray-border);
}

.main-nav__close,
#nav-icon {
  display: none;
}

/* Меню */
.header-nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  list-style: none;
  padding: 16px 0;
  flex-wrap: wrap;
  margin: 0;
}

.header-nav>li {
  position: relative;
}

.header-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.header-nav a:hover,
.header-nav>li.active>a,
.header-nav__sub-nav>li.active>a {
  color: var(--green);
}

.header-nav__sub-nav {
  position: absolute;
  z-index: 99;
  top: 100%;
  left: 0;
  display: none;
  width: 400px;
  margin: 0;
  padding: 7px 0;
  list-style: none;
  background: #ffffff7a;
  border-radius: 30px;
  box-shadow: 0 0 15px 0 rgba(28, 121, 176, .1);
  backdrop-filter: blur(30px);
}

.header-nav>li:hover .header-nav__sub-nav {
  display: block;
}

.header-nav .header-nav__sub-nav>li>a {
  display: block;
  padding: 13px 20px;
}

/* ===== 5. ГЛАВНАЯ СТРАНИЦА ===== */
/* Hero */
.hero {
  padding: 80px 0 100px;
  background: var(--gradient-nature);
  margin: 0;
}

.hero__grid {
  display: flex;
  align-items: center;
}

.hero__content {
  width: 55%;
  padding-right: 50px;
}

.badge--hero {
  display: inline-flex;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  align-items: center;
  gap: 5px;
  margin-bottom: 28px;
}

.hero__profit {
  font-size: 22px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero__btns {
  display: flex;
  gap: 20px;
  margin: 32px 0 20px;
}

.hero__trust-badges {
  margin-top: 32px;
}

.hero__image-wrap {
  width: 47%;
  margin-left: -2%;
}

.hero__image,
.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Статистика */
.stats {
  justify-content: center;
}

.stats__stat {
  background: linear-gradient(135deg, rgba(29, 139, 74, 0.05) 0%, rgba(38, 120, 200, 0.05) 100%);
  padding: 30px;
  border: none;
}

.stats__title {
  font-size: 28px;
  font-weight: 500;
  color: var(--green);
}

.stats__text {
  font-size: 16px;
}

/* О системе */
.about-system__row {
  padding: 120px 0 0;
  align-items: start;
  gap: 100px;
}

.about-system__pic img {
  width: 100%;
}

.about-system__pic--bg {
  background: linear-gradient(145deg, #f8fcf9 0%, #f2f6fc 100%);
  padding: 20px;
  border-radius: 20px;
}

.about-system__title {
  font-size: 36px;
  margin-bottom: 28px;
}

.about-system__text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Калькулятор */
.calculator__card {
  margin: 0 auto;
  border-radius: 28px;
  padding: 48px;
  border: 1px solid var(--gray-border);
  background: var(--gradient-mint);
}

.calculator__form {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 48px;
}

.calculator__field {
  flex: 1;
  min-width: 200px;
}

.calculator__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 14px;
}

.calculator__label-icon {
  width: 28px;
  height: 28px;
  color: var(--cobalt);
  flex-shrink: 0;
}

.calculator__input,
.calculator__select,
.calculator-select {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 400;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  transition: all 0.2s ease;
  color: var(--text-dark);
}

.calculator__input:hover,
.calculator__select:hover,
.calculator-select:hover {
  border-color: var(--green);
}

.calculator__input:focus,
.calculator__select:focus,
.calculator-select:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(38, 120, 200, 0.1);
}

.calculator__select,
.calculator-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6874' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.calculator__result {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  text-align: center;
}

.calculator__result-label {
  font-size: 26px;
}

.calculator__result-amount {
  font-size: 30px;
  font-weight: 600;
  color: var(--green-dark);
  margin: 12px 0;
}

.calculator__result-period {
  display: block;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Партнерство */
.center-pic {
  text-align: center;
}

.center-pic__wrap {
  display: inline-block;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 auto;
  max-width: 800px;
}

.center-pic__image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Шаги */
.steps__subtitle {
  font-size: 24px;
  color: var(--green);
  font-weight: 500;
  text-align: center;
  margin-top: 50px;
}

.steps__grid {
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 240px;
  padding: 36px 28px;
  text-align: center;
}

.step__icon {
  margin: 0 auto 20px;
}

.step__title {
  margin-bottom: 12px;
}

/* Кейс */
.case {
  margin: 0;
}

.case__inner {
  border-radius: 40px;
  padding: 48px;
  border: 1px solid var(--gray-border);
  background: var(--gradient-emerald);
}

.case__title {
  margin-bottom: 16px;
}

.case__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 50px;
}

.case__logo {
  margin: 20px 0 20px 20px;
}

.case__logo img {
  height: 80px;
  display: block;
}

.case__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-border);
}

.case__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 100px;
  border-radius: 28px;
  background: #fff;
  padding: 20px;
}

.case__metric svg,
.case__metric--icon {
  color: var(--cobalt);
  margin-bottom: 12px;
  width: 32px;
  height: 32px;
}

.case__metric-value {
  font-size: 21px;
  font-weight: 500;
  color: var(--green-dark);
}

.case__metric-label {
  font-size: 15px;
  color: var(--text-muted);
}

.case__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 40px;
}

.case__col {
  flex: 1;
  min-width: 240px;
}

.case__source {
  margin-top: 20px;
}

.case__source a {
  color: var(--cobalt);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.case__source a:hover {
  color: var(--green);
}

.case__spoiler-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--cobalt);
  cursor: pointer;
  padding: 12px 0;
  transition: color 0.2s;
}

.case__spoiler-btn:hover {
  color: var(--green);
}

/* Спойлер */
.spoiler__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.spoiler__content {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-border);
}

.spoiler__content[aria-hidden="false"] {
  display: block;
}

.spoiler__inner {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.spoiler__inner p {
  margin-bottom: 16px;
}

/* Системы (бегущая строка) */
.system {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.system__track {
  display: flex;
  gap: 40px;
  align-items: center;
  width: max-content;
  animation: scroll-left 25s linear infinite;
}

.system__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 60px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.system__item:hover {
  border-color: var(--cobalt);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.system__pic {
  width: auto;
  height: 48px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Клиенты */
.clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}

.clients__item {
  flex: 0 0 auto;
  padding: 10px 20px;
  filter: grayscale(1);
  opacity: 0.6;
  transition: all 0.2s;
}

.clients__item:hover {
  filter: grayscale(0);
  opacity: 1;
}

.clients__item img {
  height: 48px;
  width: auto;
  max-width: 120px;
}

/* Баннер CTA */
.banner-cta {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.banner-cta__title {
  font-size: 36px;
  margin-bottom: 20px;
}

.banner-cta__text {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ===== 6. СТРАНИЦЫ ===== */
/* Технические возможности */
.tech-quote {
  display: flex;
  gap: 16px;
  background: var(--gradient-emerald);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 56px;
  font-size: 18px;
}

.tech-quote svg {
  flex-shrink: 0;
  color: var(--green);
}

.tech-quote strong {
  color: var(--green-dark);
}

.tech__columns {
  gap: 32px;
}

.tech__card {
  background: #fff;
  border: 1px solid var(--green);
  border-radius: 28px;
  padding: 32px 15px;
  transition: all 0.2s ease;
  text-align: center;
}

.tech__card-title {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.tech__card-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tech__card-note {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
}

.tech-badge {
  display: flex;
  background: var(--gray-border);
  border: 1px solid var(--gray-border);
  border-radius: 18px;
  padding: 15px 20px;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.2s;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.tech-badge img {
  height: 20px;
  width: auto;
}

/* Преимущества */
.benefits__grid {
  margin-top: 20px;
}

.benefit {
  text-align: center;
}

/* Пилотный проект */
.promo-block {
  border-radius: 40px;
  padding: 30px 56px;
  display: flex;
  gap: 48px;
  align-items: center;
  background: var(--gradient-nature);
}

.promo-block__info {
  flex: 1.5;
}

.promo-block__pic {
  width: 300px;
  flex: 1;
}

.promo-block__pic img {
  width: 100%;
}

.promo-block .title--h2 {
  color: var(--green-dark);
  margin-bottom: 0;
}

.promo-block__text {
  font-size: 20px;
  margin: 30px 0;
}

/* Команда */
.team {
  padding-top: 40px;
  gap: 100px;
}

.team__image img {
  width: 100%;
  border-radius: 32px;
  display: block;
}

/* Стоимость */
.price-card {
  flex: 1;
  min-width: 280px;
  background: #ffffff;
  border-radius: 32px;
  padding: 40px;
  border: 1px solid var(--cobalt-light);
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-card--highlight {
  border-color: var(--green);
  background: linear-gradient(135deg, #fff 0%, var(--green-light) 100%);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  padding: 4px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.price-card__icon svg {
  width: 40px;
  height: 40px;
}

.price-card__desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.price-card__title span {
  display: block;
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 12px;
  margin-top: 12px;
}

.price-card__price-block {
  margin-bottom: 28px;
}

.price-card__price {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}

.price-card__connect {
  color: var(--text-dark);
  font-weight: 450;
  margin-top: 8px;
  margin-bottom: 8px;
}

.price-card__note {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 20px;
}

.price-card__btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Каталог */
.section.catalog {
  padding: 60px 0;
}

.catalog {
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

.catalog__inner {
  text-align: center;
}

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

.catalog__nav li a {
  display: inline-block;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 400;
  padding: 8px 20px;
  border: 1px solid var(--green-light);
  border-radius: 60px;
  background: var(--green-light);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.catalog__nav li a:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  transform: translateY(-1px);
  background: #fff;
}

/* Страница с героем (template-hero-page) */
.hero-page {
  background: var(--gradient-nature);
  padding: 40px 0;
  margin: 0;
}

.hero-page__grid {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-page__content {
  width: 60%;
  padding-right: 50px;
}

.hero-page__title {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  margin-top: 0;
}

.hero-page__text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-page__btns {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-page__image {
  width: 40%;
}

.hero-page__image img {
  width: 100%;
  display: block;
}

/* Обычная страница (page-header) */
.page-header {
  background: var(--gradient-nature);
  padding: 60px 0;
  margin: 0;
}
.page-header__title {
  margin-bottom: 16px;
  max-width: 1100px;
}
.page-header__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 1000px;
}
/* Хлебные крошки */
.breadcrumbs {
  margin-bottom: 24px;
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--cobalt);
  text-decoration: none;
  transition: color 0.2s;
  margin-right: 5px;
}

.breadcrumbs a:hover {
  color: var(--green);
}

.breadcrumbs__separator {
  color: var(--text-muted);
  margin-right: 5px;
}

.breadcrumbs__current {
  color: var(--text-muted);
}

/* Заголовок с иконкой */
.title.title--icon {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
  font-weight: 400;
  min-height: 2.4em;
  font-size: 24px !important;
  align-items: start;
}

.title.title--icon img {
  width: 32px;
  height: 32px;
}

/* ===== 7. АРХИВ КЕЙСОВ ===== */
.cases-section {
  padding: 60px 0;
}

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

.case-card {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  position: relative;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  border-color: var(--green-light);
}

.case-card__logo {
  position: absolute;
  background: #fff;
  height: 60px;
  width: auto;
  top: 15px;
  left: 15px;
}

.case-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gray-bg);
  flex-shrink: 0;
}

.case-card__content {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.case-card__badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
}

.case-card__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.case-card:hover .case-card__title {
  color: var(--green);
}

.case-card__excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.case-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
}

.case-card__metric {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--green-dark);
}

.case-card__metric svg {
  width: 16px;
  height: 16px;
  stroke: var(--green);
}

/* Пагинация */
.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.pagination .nav-links .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 40px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  background: transparent;
}

.pagination .nav-links .page-numbers.current {
  background: var(--green);
  color: white;
}

.pagination .nav-links .page-numbers:hover:not(.current) {
  background: var(--green-light);
  color: var(--green);
}

/* Страница кейса */
.case-single__logo img {
  max-height: 80px;
  width: auto;
}

.case-single__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
  padding: 30px;
  background: var(--gray-bg);
  border-radius: 20px;
  max-width: 1100px;
}

.case-single__metric {
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 5px;
}

.case-single__metric img {
  width: 26px;
  height: 26px;
}

.case-single__links {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-border);
  font-size: 15px;
}

.case-single__links a {
  color: var(--cobalt);
  text-decoration: none;
  display: inline-block;
  margin-left: 8px;
}

.case-single__links a:hover {
  color: var(--green);
  text-decoration: underline;
}
.case-single__quote {
  margin: 32px 0;
  padding: 24px 32px;
  background: var(--green-light);
  border-radius: 20px;
  font-style: italic;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 1100px;
}

.case-single__quote p {
  margin-bottom: 12px;
}

.case-single__quote-footer,
.case-single__quote-author {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  font-style: normal;
  text-align: right;
  margin-top: 16px;
}
/* ===== 8. FAQ ===== */
.faq__grid {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: white;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--gray-border);
  transition: all 0.2s;
}

.accordion-item:hover {
  border-color: var(--green-light);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.2s;
  text-align: left;
}

.accordion-header:hover {
  color: var(--green);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
  color: var(--cobalt);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  display: none;
  padding: 24px 28px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--gray-border);
  margin-top: 0;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* ===== 9. ФОРМА CTA ===== */
.cta-form {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--cobalt-light) 100%);
  border-radius: 40px;
  padding: 60px;
}

.cta-form__grid {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-form__content {
  flex: 1;
}

.cta-form__title {
  font-size: 32px;
  font-weight: 350;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.cta-form__text {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-form__form {
  flex: 1;
  background: white;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.cta-form__input {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  transition: all 0.2s;
}

.cta-form__input:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(38, 120, 200, 0.1);
}

.cta-form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cta-form__checkbox input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--green);
}

.cta-form__checkbox span {
  font-size: 13px;
  color: var(--text-muted);
}

.cta-form__checkbox a {
  color: var(--cobalt);
  text-decoration: none;
}

.cta-form__checkbox a:hover {
  color: var(--green);
}

.cta-form__btn {
  width: 100%;
  justify-content: center;
}

.cta-form__form p {
  margin: 0;
}

.cta-form__form .cta-form__policy {
  margin-top: 16px;
}

.cta-form__policy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* ===== 10. CF7 ===== */
.wpcf7-not-valid-tip {
  color: #dc3545 !important;
  font-size: 12px !important;
  position: absolute;
  bottom: -35px;
}

.wpcf7-response-output {
  padding: 16px !important;
  border-radius: 12px !important;
  margin-top: 16px !important;
}

.wpcf7-spinner {
  display: none !important;
}

.wpcf7 .ajax-loader {
  display: none !important;
}

.wpcf7 .wpcf7-submit:disabled, .wpcf7 .wpcf7-submit:disabled:hover {
  cursor: not-allowed;
  opacity: 0.3;
}

.wpcf7 .wpcf7-submit:disabled:hover {
  background: var(--green);
  box-shadow: 0 2px 8px rgba(29, 139, 74, 0.2);
  transform: translateY(0);
}

/* ===== 11. КАРТОЧКА КЕЙСА (для главной) ===== */
.case-card-simple {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}

.case-card-simple:hover {
  transform: translateY(-4px);
  border-color: var(--green-light);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.case-card-simple__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--gray-bg);
}

.case-card-simple__content {
  padding: 24px;
}

.case-card-simple__title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.case-card-simple__text {
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.case-card-simple__btn {
  font-weight: 500;
  color: var(--cobalt);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.case-card-simple__btn:hover {
  color: var(--green);
}

/* ===== 12. ФУТЕР ===== */
.footer {
  background: var(--gray-bg);
  color: var(--text-dark);
  padding: 56px 0 32px;
  border-top: 1px solid var(--green);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer__col {
  flex: 1;
  min-width: 200px;
}

.footer__logo-name {
  font-size: 21px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 8px;
}

.footer__logo-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.footer__about {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 16px 0 20px;
}

.footer__registry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 12px;
  color: var(--green);
}

.footer__registry svg {
  stroke: var(--green);
  flex-shrink: 0;
}

.footer__title {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav li {
  margin-bottom: 12px;
}

.footer__nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--green);
}

.footer__phone {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  margin-bottom: 12px;
}

.footer__email {
  display: block;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 16px;
}

.footer__phone:hover,
.footer__email:hover {
  color: var(--green);
}

.footer__address {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 24px;
}

.footer__btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.footer__policy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.footer__policy a {
  color: var(--text-muted);
  text-decoration: underline;
}

.footer__policy a:hover {
  color: var(--green);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--gray-border);
  gap: 20px;
}

.footer__copyright {
  font-size: 12px;
  color: var(--text-muted);
}

.footer__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__docs a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
}

.footer__docs a:hover {
  color: var(--green);
}

/* ===== АРХИВ СТАТЕЙ ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.article-card {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: 24px;
  padding: 28px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  border-color: var(--green-light);
}

.article-card__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.article-card:hover .article-card__title {
  color: var(--green);
}

.article-card__excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
}

.article-card__meta svg {
  width: 16px;
  height: 16px;
  stroke: var(--cobalt);
}

/* ===== СТРАНИЦА СТАТЬИ ===== */

.single-article__title {
  font-size: 38px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--text-dark);
}



.single-article-meta svg {
  stroke: var(--text-muted);
  width: 18px;
  height: 18px;
}

.single-article__image {
  margin: 0 0 30px 0;
  border-radius: 16px;
  overflow: hidden;
}

.single-article__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  max-width: 700px;
}

/* ===== НАВИГАЦИЯ ПО СТАТЬЯМ/НОВОСТЯМ ===== */
.single-blog__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-border);
  flex-wrap: wrap;
  gap: 16px;
}

.single-blog__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--cobalt);
  transition: color 0.2s;
}

.single-blog__link:hover {
  color: var(--green);
}

.single-blog__link svg {
  flex-shrink: 0;
  display: block;
}

.single-blog__prev svg {
  transform: rotate(180deg);
}

.single-blog__link--disabled {
  color: var(--text-muted);
  cursor: default;
  opacity: 0.4;
}

.single-blog__back {
  color: var(--text-muted);
}

.single-blog__back:hover {
  color: var(--green);
}

/* ===== АРХИВ НОВОСТЕЙ ===== */
.news-section {
  padding: 60px 0;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-item {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--gray-border);
  border-radius: 24px;

}
.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  border-color: var(--green-light);
}
.news-item__link { display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  transition: all 0.2s ease;
  color: var(--text-dark)
}


.news-item__image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: var(--gray-bg);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-light), var(--cobalt-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.news-item__content {
  flex: 1;
}

.news-item__date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-item__date svg {
  width: 16px;
  height: 16px;
  stroke: var(--cobalt);
}

.news-item__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s;
}

.news-item__title:hover {
  color: var(--green);
}

/* Пагинация для новостей и статей */
.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 40px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 450;
  transition: all 0.2s;
  border: 1px solid var(--gray-border);
}

.pagination .page-numbers.current {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.pagination .page-numbers:hover:not(.current) {
  background: var(--green-light);
  color: var(--green);
  border-color: var(--green);
}

/* ===== СТРАНИЦА НОВОСТИ ===== */
.page-header__date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}





.news-text h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 48px 0 24px;
}

.news-text h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 32px 0 16px;
}

.news-text strong {
  font-weight: 600;
  color: var(--green-dark);
}

.news-text ul,
.news-text ol {
  margin: 0 0 24px 20px;
  color: var(--text-muted);
}

.news-text li {
  margin-bottom: 10px;
}

.news-text img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
  margin: 30px 0;
}

.news-text .wp-block-image {
  margin: 30px 0;
}

.news-text .wp-block-image figcaption {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ===== СТРАНИЦА КОНТАКТЫ ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contacts-info__block {
  margin-bottom: 32px;
}

.contacts-info__block:last-child {
  margin-bottom: 0;
}

.contacts-info__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contacts-info__text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contacts-info__text a {
  color: var(--cobalt);
  text-decoration: none;
}

.contacts-info__text a:hover {
  color: var(--green);
}

.contacts-info__label {
  color: var(--text-muted);
  font-size: 14px;
}

.contacts-info__block--details {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-border);
}

.contacts-info__text--details {
  font-size: 15px;
  line-height: 1.6;
}

.contacts-map__wrap {
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.contacts-map__wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ===== 13. АДАПТИВ ===== */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 1100px) {
  .header-nav {
    gap: 25px;
  }
}

@media (min-width: 1001px) {
  .submenu-arrow {
    display: inline-block;
    margin-left: 5px;
    font-size: 8px;
    margin-top: 5px;
  }
}

@media (max-width: 1000px) {
  #nav-icon {
    display: flex;
    flex-shrink: 0;
    cursor: pointer;
  }

  #nav-icon img {
    display: block;
  }

  .no-scroll .header__top {
    display: none;
    position: relative;
    z-index: -1;
  }

  .header__bottom {
    border-top: none;
  }

  .main-nav {
    position: fixed;
    z-index: 998;
    top: 0;
    left: -295px;
    width: 260px;
    min-height: 100%;
    padding: 42px 10px 10px 20px;
    background: #fff;
    box-shadow: 0 0 15px #0000004d;
    height: 100vh;
  }

  .main-nav__close {
    position: absolute;
    z-index: 199;
    top: 15px;
    right: 15px;
    display: block;
    cursor: pointer;
  }

  .main-nav>.container {
    padding: 0;
    max-height: 100%;
  }

  .header-nav {
    line-height: 1.1;
    display: block;
    border: none;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .header-nav>li,
  .header-nav>li:not(:last-child) {
    font-size: 14px;
    margin-right: 0;
  }

  .header-nav>li>a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-border);
  }

  .header-nav>li.menu-item-has-children>a {
    position: relative;
    padding-right: 30px;
    display: block;
  }

  .submenu-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    transition: transform 0.3s ease;
  }

  .header-nav__sub-nav {
    position: relative;
    border: none;
    background: #f5f5f5;
    border-radius: 0;
    width: 100%;
  }

  .header-nav>li:hover .header-nav__sub-nav {
    display: none;
  }

  .header-nav .header-nav__sub-nav>li>a {
    display: block;
    padding: 13px 8px;
    color: #4f4f4f;
    font-size: 13px;
    line-height: 1.1;
  }

  .hero {
    padding: 50px 0 20px;
  }

  .section {
    margin: 60px 0;
  }

  .section.section--first {
    margin-top: 60px;
  }

  .section.section--gray {
    padding: 60px 0;
  }

  .hero__grid,
  .hero-page__grid {
    flex-wrap: wrap;
  }

  .hero__content,
  .hero-page__content {
    width: 100%;
    padding-right: 0;
  }

  h1,
  .hero__title,
  .title--h1 {
    font-size: 32px;
    margin-bottom: 0.8em;
  }

  h2,
  .title--h2 {
    font-size: 30px;
    margin-bottom: 0.8em;
  }

  h3,
  .card__title {
    font-size: 18px;
    margin-bottom: 0.8em;
  }

  .hero-page__title {
    font-size: 36px;
  }

  .hero__profit {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .hero__image-wrap,
  .hero-page__image {
    width: 100%;
    margin: 30px auto 0;
    order: 1;
    max-width: 400px;
  }

  .page-header {
    padding: 40px 0;
  }

  .stats {
    gap: 16px;
  }

  .stats__stat {
    padding: 20px;
  }

  .stats__title {
    font-size: 24px;
  }

  .stats__text {
    font-size: 14px;
  }

  .about-system__row {
    padding: 60px 0 0;
    gap: 60px;
  }

  .about-system__text {
    font-size: 16px;
  }

  .footer__col.footer__col--info,
  .footer__col--contacts {
    width: 100%;
    flex: auto;
    text-align: center;
  }

  .footer__col.footer__col--info {
    order: 4;
  }

  .footer__col.footer__col--contacts {
    padding: 20px;
    border: 1px solid var(--cobalt-light);
    border-radius: 28px;
    background: var(--gradient-emerald);
  }

  .footer__btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 16px;
    max-width: 300px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .hero-page__text {
    font-size: 16px;
    margin-bottom: 26px;
  }

  .floating-btn {
    padding: 12px 15px 10px;
    font-size: 13px;
  }

  .floating-btn svg {
    width: 16px;
    height: 16px;
  }

  .card {
    border-radius: 24px;
    padding: 26px;
  }

  .title.title--icon {
    font-size: 20px !important;
  }

  .title.title--icon img,
  .card__icon img {
    width: 26px;
    height: 26px;
  }

  .section__text {
    font-size: 16px;
  }

  .accordion-header {
    font-size: 16px;
  }

  .accordion-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .cta-form__grid {
    gap: 30px;
  }

  .cta-form__title {
    font-size: 30px;
    margin-bottom: 0.5em;
  }

  .case__inner,
  .cta-form {
    padding: 30px;
  }

  .row.about-system__row.about-system__row--center {
    align-items: start;
  }

  .grid,
  .two-columns,
  .cases-grid {
    gap: 26px;
  }

  .case-single__logo img {
    max-height: 60px;
  }

  .case-single__content h2 {
    font-size: 28px;
    margin: 1em 0 0.8em;
  }

  .entry-content blockquote,
  .case-single__content blockquote,
  .news-text blockquote,
  .single-article__content blockquote,
  .case-single__quote {
    font-size: 16px;
    padding: 20px 26px;
  }

  .case-single__quote-author,
  .case-single__content blockquote footer {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .stats__stat {
    flex: 1 1 300px;
  }

  .case__metric {
    flex: auto;
    width: 100%;
  }

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

  .catalog-nav li a {
    white-space: normal;
    font-size: 14px;
    padding: 6px 16px;
  }

  .articles-grid {
    gap: 24px;
  }

  .article-card__title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .section {
    margin: 40px 0;
  }

  .section.section--color,
  .section.section--gray {
    padding: 40px 0;
  }

  .container {
    padding: 0 20px;
  }

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

  .title--h2 {
    font-size: 28px;
  }

  .title--h3 {
    font-size: 22px;
  }

  .row {
    flex-direction: column;
    gap: 40px;
  }

  .row--reverse {
    flex-direction: column;
  }

  .row__image {
    order: -1;
  }

  #nav-icon {
    position: absolute;
    top: 15px;
    right: 20px;
  }

  .logo {
    max-width: 200px;
  }

  .header__top {
    padding-right: 50px;
    align-items: start;
    justify-content: start;
  }

  .header__contacts {
    flex-wrap: wrap;
  }

  .header-nav {
    gap: 16px;
  }

  .header-nav a {
    font-size: 12px;
  }

  .hero__btns {
    flex-wrap: wrap;
  }

  .calculator__card,
  .calculator__result,
  .case__inner,
  .card,
  .tech-quote {
    padding: 24px;
  }

  .calculator__form {
    flex-direction: column;
  }

  .calculator__result-label {
    font-size: 19px;
  }

  .case__metric {
    flex: auto;
    width: 100%;
  }

  .case__inner {
    border-radius: 30px;
  }

  .case__logo img {
    height: 50px;
    display: block;
  }

  .case__grid {
    gap: 0;
    margin-bottom: 30px;
    flex-direction: column;
  }

  .system__item {
    gap: 5px;
    padding: 10px 20px;
    border-radius: 60px;
    font-size: 14px;
  }

  .system__pic {
    height: 40px;
  }

  .banner-cta__title {
    font-size: 28px;
  }

  .banner-cta__text {
    font-size: 16px;
    margin-bottom: 26px;
  }

  .tech-quote {
    flex-direction: column;
  }

  .tech__card {
    padding: 10px 24px 20px;
    flex: auto;
    width: 100%;
  }

  .tech__card-title {
    font-size: 18px;
  }

  .clients {
    gap: 10px;
  }

  .clients__item img {
    height: 35px;
    max-width: 100px;
  }

  .promo-block {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }

  .promo-block__info,
  .promo-block__pic {
    width: 100%;
  }

  .catalog {
    padding: 40px 0;
  }

  .catalog__nav {
    gap: 12px;
  }

  .catalog__nav li a {
    white-space: normal;
  }

  .hero-page {
    padding: 40px 0;
  }

  .hero-page__title {
    font-size: 32px;
  }

  .hero-page__grid {
    flex-direction: column;
  }

  .cta-form {
    padding: 32px;
  }

  .cta-form__grid {
    flex-direction: column;
  }

  .cta-form__form {
    padding: 20px;
  }

  .cta-form__title {
    font-size: 24px;
  }

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

  .pagination .nav-links .page-numbers {
    min-width: 35px;
    height: 35px;
    padding: 5px;
    border-radius: 35px;
    font-size: 14px;
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer__grid {
    gap: 26px;
  }

  .footer__col {
    flex: 1;
    min-width: 300px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__docs {
    justify-content: center;
  }

.floating-btn {
  /* padding: 10px 18px; */
  /* font-size: 12px; */
  /* bottom: 16px; */
  /* right: 16px; */
  display: none;
}

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

  .single-article__title {
    font-size: 28px;
  }

  .single-blog__footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .single-blog__link {
    justify-content: center;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacts-map__wrap {
    min-height: 300px;
  }

  .contacts-map__wrap iframe {
    min-height: 300px;
  }

  .modal {
    padding: 32px 24px 28px;
    margin: 12px;
  }

  .modal__title {
    font-size: 22px;
  }

  .page-404 .like-h1 {
    font-size: 60px;
  }

  .page-404 .error-404 {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .news-item__link {
    flex-direction: column;
    align-items: stretch;
  }

  .news-item__image {
    width: 100%;
    height: 160px;
  }

  .header__top {
    flex-direction: column;
    padding-right: 0;
  }

  .logo {
    max-width: 250px;
    padding-right: 50px;
  }
.logo__name {
  font-size: 18px;
  color: var(--green);
  display: block;
  margin-bottom: 7px;
  font-weight: 500;
}
.header__contacts {
	/* flex-wrap: nowrap; */
	justify-content: space-between;
	width: 100%;
}
.header__cta.btn.btn--green {
	width: 100%;
}
}

@media (max-width: 600px) {

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

  .grid {
    flex-direction: column;
  }

  .stats__stat {
    flex: 0 1 auto;
    text-align: center;
  }

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

  .tech-badge {
    padding: 10px;
    gap: 5px;
  }

  .tech-badge img {
    height: 20px;
  }

  .calculator__card,
  .calculator__result,
  .case__inner,
  .card,
  .promo-block,
  .tech-quote {
    padding: 20px;
  }

  .cta-form {
    padding: 20px;
  }

  .two-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .calculator__card,
  .calculator__result,
  .case__inner,
  .card,
  .promo-block,
  .tech-quote {
    padding: 16px;
  }

  .hero__btns .btn {
    width: 100%;
  }

  .step {
    padding: 24px 16px;
  }

  .step__title {
    font-size: 18px;
  }

  .case__spoiler-btn {
    width: 100%;
    justify-content: center;
  }
}