/* локальные шрифты (21.09): Golos Text (текст) + Unbounded (заголовки) */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/golos-text-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/golos-text-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: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/golos-text-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/golos-text-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: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/golos-text-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/golos-text-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: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/golos-text-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/golos-text-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: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/unbounded-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/unbounded-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: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/unbounded-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/unbounded-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;
}

/* ============================================================
   Центр безопасности Омега — редизайн (генерация: claude-opus-5,
   части 1-2 + локальные дополнения). 2026-09-18.
   ============================================================ */
/* Montserrat (21.09): hero-заголовок */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../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('../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('../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('../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 {
  --blue-dark: #204168;
  --blue-mid: #6B8DBA;
  --accent: #4A90E2;
  --accent-light: #7ab8ff;
  --ink: #1f2937;
  --muted: #4b5563;
  --bg-soft: #e9ebee; /* 21.09: = основной фон (по запросу) */ /* 21.09: секция-альт чуть светлее основного фона */
  --border: #e5e9f0;
  --white: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Golos Text', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #e9ebee; /* 21.09: основной фон — очень светло серо-голубой */
}

a {
  text-decoration: none;
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-dark);
  border-bottom: 2px solid #fff; /* 21.09: тонкая белая полоса между шапкой и фоном */
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px; /* 21.09: под шрифт меню 21px */
}

.hero-logo {
  display: inline-block;
  margin: 0 0 34px;
  background: transparent; /* 21.09: прозрачный фон (по запросу) */
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 0;
}

.hero-logo img {
  width: 660px; /* 21.09: в 3 раза крупнее */
  max-width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > a,
.nav-dropdown > a.nav-toggle {
  position: relative;
  padding: 12px 16px;
  color: #E8E7E7;
  font-size: 21px; /* 21.09: больше исходных 16.5px, но не 33 */
  font-weight: 500;
  transition: color .2s ease;
}

.main-nav > a::after,
.nav-dropdown > a.nav-toggle::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 6px;
  left: 16px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.main-nav > a:hover,
.nav-dropdown > a.nav-toggle:hover {
  color: #fff;
}

.main-nav > a:hover::after,
.nav-dropdown > a.nav-toggle:hover::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .nav-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 340px; /* 21.09: под шрифт 18.5px */
  padding: 8px 0;
  list-style: none;
  background: #16304f;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu a {
  display: block;
  padding: 12px 20px;
  color: #E8E7E7;
  font-size: 18.5px; /* 21.09: пропорционально пунктам меню */
  line-height: 1.4;
  transition: background-color .2s ease, color .2s ease;
}

.nav-menu a:hover {
  color: #fff;
  background: var(--accent);
}

.main-nav > a.header-phone {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-light);
  font-size: 21px; /* 21.09: в тот же размер, что пункты меню */
  font-weight: 600;
  transition: color .2s ease;
}

.header-phone:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 440px;
  border-bottom: 4px solid #fff; /* 21.09: шире (было 2px) */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../img/main-coding-security.gif') no-repeat center / cover fixed;
  background: url('../img/main-coding-security.webp') no-repeat center / cover fixed; /* 21.09: 2x LANCZOS, аним. WebP 2480x320 */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 32, 56, .82),
    rgba(32, 65, 104, .70)
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  padding: 60px 20px;
}

.hero-title {
  margin: 0 0 20px;
  color: #d9dde2; /* 21.09: светло-серый */
  font-family: 'Unbounded', 'Golos Text', sans-serif; /* 21.09: как заголовки блоков */
  font-size: clamp(28px, 3.6vw, 54px); /* размер прежний */
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}

.hero-subtitle + .hero-subtitle {
  margin-top: 6px;
}

.hero-subtitle {
  margin: 0;
  color: var(--accent-light);
  font-family: 'Golos Text', sans-serif;
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 600;
  line-height: 1.35;
}

.section {
  padding: 84px 0;
}

.section--alt {
  background: var(--bg-soft);
}

/* 21.09: секции «О нас» / «Наши услуги» / «Наши партнеры» — одинаковые
   скруглённые карточки (фон чуть светлее основного) */
#about-us,
#activity,
#partners {
  max-width: 1560px;
  margin: 40px auto;
  padding: 72px 48px;
  /* 21.09: градиентная заливка серый -> синий */
  background: linear-gradient(180deg, #eceded 0%, #dfe2e5 45%, #d2d6da 100%); /* 21.09: по вертикали */
  border: 1.5px solid rgba(74, 144, 226, .55); /* 21.09: синяя окантовка */
  border-radius: 14px;
  box-shadow:
    0 0 16px rgba(74, 144, 226, .28),
    0 0 4px rgba(74, 144, 226, .18),
    0 4px 16px rgba(32, 65, 104, .06); /* 21.09: синее свечение */
}

.section-title {
  position: relative;
  margin: 0 0 44px;
  padding-bottom: 14px;
  color: var(--blue-dark);
  font-family: 'Unbounded', 'Golos Text', sans-serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.25;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--accent);
}

.about-text {
  max-width: 82ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(32, 65, 104, .06);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(32, 65, 104, .14);
}

.service-card__img {
  width: calc(100% - 52px);
  margin: 22px 26px 0; /* 21.09: отступ от краёв карточки */
  height: 200px;
  object-fit: contain;
}

.service-card__body {
  padding: 24px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__body h3 {
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  text-align: center; /* 21.09: название услуги по центру */
}

.service-card__body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 14px;
}

details.service-details,
details.partner-details {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

details.service-details {
  margin-top: auto;
}

details.service-details summary,
details.partner-details summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 600;
  font-size: 14.5px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

details.service-details summary::-webkit-details-marker,
details.partner-details summary::-webkit-details-marker {
  display: none;
}

details.service-details summary::before,
details.partner-details summary::before {
  content: "+";
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  line-height: 1;
  font-size: 16px;
  font-weight: 500;
  transition: transform .2s;
}

details.service-details[open] summary::before,
details.partner-details[open] summary::before {
  transform: rotate(45deg);
}

details.service-details[open] summary,
details.partner-details[open] summary {
  margin-bottom: 10px;
}

.service-details p,
.service-details ul,
.partner-details p,
.partner-details ul {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.service-details ul,
.partner-details ul {
  padding-left: 20px;
  margin: 10px 0;
}

.service-details li,
.partner-details li {
  margin: 6px 0;
  line-height: 1.65;
}

.service-details p:last-child,
.partner-details p:last-child,
.service-details__price,
.partner-details__price {
  margin-top: 12px;
  font-weight: 600;
  color: var(--blue-dark);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(32, 65, 104, .05);
  transition: border-color .25s, box-shadow .25s;
}

.partner-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(32, 65, 104, .12);
}

.partner-card a {
  color: inherit;
}

.partner-card__logo {
  display: block;
  margin: 0 auto 18px;
  height: 64px;
  max-width: 170px;
  object-fit: contain;
  opacity: .92;
}

.partner-card h3 {
  font-size: 17px;
  color: var(--blue-dark);
  font-weight: 700;
  margin: 0 0 10px;
}

.partner-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

details.partner-details {
  margin-top: auto;
  padding-top: 14px;
  text-align: left;
}

.site-footer {
  background: var(--blue-dark);
  color: #d7e0ec;
  padding: 60px 0 40px;
}

.footer-company {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
}

.footer-line {
  margin: 8px 0;
  font-size: 15.5px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.footer-line i {
  color: var(--accent-light);
  width: 20px;
  text-align: center;
}

.site-footer a {
  color: var(--accent-light);
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: 14px;
  color: #9fb2c8;
}

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

/* дополнения (локально): стрелка дропдауна, смещение якорей под sticky-меню */
.caret-ico {
  margin-left: 6px;
  font-size: 11px;
}

section[id] {
  scroll-margin-top: 80px;
}

@media (max-width: 991px) {
  .header-phone {
    display: none;
  }

  .hero {
    min-height: 380px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 767px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0;
    justify-content: center;
    gap: 4px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  .nav-dropdown .nav-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    min-width: 0;
  }

  .nav-dropdown:hover .nav-menu,
  .nav-dropdown:focus-within .nav-menu {
    display: block;
  }

  .section {
    padding: 52px 0;
  }

  .section-title {
    font-size: 26px;
  }


  .hero {
    background-attachment: scroll;
  }
}

/* 18.09 (фидбек): выравнивание текста по ширине выделенной области */
.about-text p,
.service-card__body p,
.partner-card > p,
.service-details p,
.partner-details p {
  text-align: justify;
  hyphens: auto;
}

/* 21.09 (фидбек): «О нас» по центру */
#about-us .container {
  text-align: center;
}

#about-us .section-title,
#activity .section-title,
#partners .section-title {
  text-align: center;
}

#about-us .section-title::after,
#activity .section-title::after,
#partners .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

#about-us .about-text {
  margin-left: auto;
  margin-right: auto;
}

#about-us .about-text p {
  text-align: justify;
  hyphens: auto;
}

/* 21.09: ширина карточек прежняя (grid), остаток ряда — по центру сетки */
@media (min-width: 1404px) {
  .service-card:nth-child(5) { grid-column: 2; }
  .service-card:nth-child(6) { grid-column: 3; }
}

@media (min-width: 1386px) {
  .partner-card:nth-child(16) { grid-column: 3; }
}

@media (min-width: 838px) and (max-width: 1111px) {
  .partner-card:nth-child(16) { grid-column: 2; }
}

@media (max-width: 767px) {
  #about-us,
  #activity,
  #partners {
    margin: 24px 12px;
    padding: 48px 20px;
  }
}

/* 21.09: фон основной части сайта (ниже шапки) — изображение Back, слегка прозрачное */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('../img/back.jpg') center / cover no-repeat;
  opacity: 0.7; /* 21.09: менее прозрачный (было 0.55) */
}

/* 21.09: скролл по якорям — блок не прячется под липкую шапку */
#partners {
  scroll-margin-top: 90px;
}

/* 21.09: окно «Контакты» — стилистика сайта (градиент, синяя окантовка, свечение) */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13, 31, 56, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.modal-mask.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px 44px 36px;
  background: linear-gradient(180deg, #eceded 0%, #dfe2e5 45%, #d2d6da 100%);
  border: 1.5px solid rgba(74, 144, 226, .55);
  border-radius: 14px;
  box-shadow:
    0 0 16px rgba(74, 144, 226, .28),
    0 0 4px rgba(74, 144, 226, .18),
    0 12px 40px rgba(13, 31, 56, .25);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(32, 65, 104, .08);
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.modal-close:hover {
  background: var(--accent);
  color: #fff;
}

.modal-title {
  position: relative;
  margin: 0 0 30px;
  padding-bottom: 14px;
  text-align: center;
  color: var(--blue-dark);
  font-family: 'Unbounded', 'Golos Text', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
}

.modal-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.contact-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 20px;
  margin: 0 0 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item:hover {
  border-color: rgba(74, 144, 226, .55);
  box-shadow: 0 2px 10px rgba(74, 144, 226, .15);
}

.contact-item__role {
  grid-column: 1;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 700;
}

.contact-item__name {
  grid-column: 1;
  color: var(--muted);
  font-size: 15px;
}

.contact-item__contacts {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  text-align: right; /* 21.09: почта/телефон по правому краю */
}

.contact-item__contacts a {
  color: var(--accent);
  text-decoration: none;
}

.contact-item__contacts a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .modal {
    padding: 32px 20px 28px;
  }

  .contact-item {
    grid-template-columns: 1fr;
  }

  .contact-item__contacts {
    grid-column: 1;
    grid-row: auto;
    margin-top: 6px;
  }
}

/* 21.09: юридическая надпись в самом конце сайта */
.footer-notice {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(232, 231, 231, .2);
  text-align: center;
  color: rgba(232, 231, 231, .6);
  font-size: 13.5px;
  line-height: 1.5;
}

/* 21.09: информационное окно (раздел в разработке) */
.modal--info {
  max-width: 560px;
  text-align: center;
}

.modal-info-text {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

/* 21.09: окно «Задать вопрос» — поле ввода и кнопка в стилистике сайта */
.modal--question {
  max-width: 640px;
}

.question-label {
  display: block;
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 700;
}

.question-textarea {
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.question-textarea:focus {
  outline: none;
  border-color: rgba(74, 144, 226, .6);
  box-shadow: 0 0 8px rgba(74, 144, 226, .25);
}

.question-hint {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.question-submit {
  display: block;
  width: 100%;
  padding: 13px 0;
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.question-submit:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 14px rgba(32, 65, 104, .3);
}

/* 21.09: форма «Задать вопрос» — сетка полей */
.question-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.question-field--full {
  grid-column: 1 / -1;
}

.q-input {
  width: 100%;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15.5px;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.q-input:focus {
  outline: none;
  border-color: rgba(74, 144, 226, .6);
  box-shadow: 0 0 8px rgba(74, 144, 226, .25);
}

.q-input--area {
  min-height: 110px;
  resize: vertical;
}

.question-consent {
  margin: 16px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.question-success {
  margin: 14px 0 0;
  padding: 12px 16px;
  background: #e8f4e8;
  border: 1px solid rgba(46, 125, 50, .35);
  border-radius: 10px;
  color: #2e7d32;
  font-size: 15px;
}

@media (max-width: 640px) {
  .question-grid {
    grid-template-columns: 1fr;
  }
}

/* 21.09: окно «Запрос технической поддержки» */
.support-note {
  margin: 0 0 18px;
  padding: 12px 16px;
  background: rgba(74, 144, 226, .1);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.q-file {
  width: 100%;
  padding: 9px 12px;
  background: #fff;
  border: 1px dashed rgba(74, 144, 226, .5);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.q-file:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(74, 144, 226, .25);
}

.q-input:disabled {
  background: #f1f3f6;
  color: #9aa3ad;
  cursor: not-allowed;
}

.no-cert-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  background: transparent;
  border: 1px dashed rgba(74, 144, 226, .55);
  border-radius: 10px;
  color: var(--accent);
  font-family: inherit;
  font-size: 14.5px;
  cursor: pointer;
  transition: background-color .2s ease;
}

.no-cert-btn:hover:not(:disabled) {
  background: rgba(74, 144, 226, .08);
}

.no-cert-btn:disabled {
  opacity: .5;
  cursor: default;
}

/* 21.09: иконки услуг — линейные иконки (Lucide, ISC) на градиентных плашках */
.service-icon {
  /* 21.09: стилистика логотипа — скруглённая плашка, щит, символ, цвет логотипа */
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 03.10 (mail): ошибки отправки + honeypot */
.question-error { margin: 12px 0 0; padding: 10px 14px; border: 1px solid rgba(178, 39, 39, .35); border-radius: 10px; background: rgba(178, 39, 39, .07); color: #991b1b; font-size: 14.5px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Ошибка валидации поля */




.field-error { border: 2px solid #ff0000 !important; background-color: transparent !important; }
