/* ============================================================
   PTNL Rating — site.css
   Доп. компоненты сайта поверх home*.css:
   Партнёры · FAQ · форма ОС · юр-футер · cookie-плашка · «наверх».
   Использует токены из home.css / home5.css.
   ============================================================ */

/* ---- hero: убраны артефакты старого 3D-hero (вращающееся кольцо + radial-свечение) — фон-морф сам по себе герой ---- */
.hero-stage::before,
.hero-stage::after {
  display: none !important;
}

/* ---- морф-зона ---- */
/* Короткая пауза между блоками; сам морф растянут во времени лерпом в main-bg.js,
   поэтому длина зоны на плавность не влияет — только на размер пустого пробела. */
.morph-zone {
  height: 25vh;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .morph-zone {
    display: none;
  }
}

/* ---- disabled-кнопка ---- */
.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none !important;
  pointer-events: none;
}

/* ---- доступность: видимый focus-ring (только клавиатура) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.faq-q:focus-visible,
.check input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 3px;
  border-radius: 8px;
}
.btn:focus-visible {
  outline-offset: 4px;
}

/* ---- Партнёры ---- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 6px;
}
@media (max-width: 860px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.partner-card {
  position: relative;
  min-height: 158px;
  border-radius: var(--r-lg);
  background: rgba(10, 24, 36, 0.5);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px) saturate(1.1);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition:
    border-color var(--d-base),
    transform var(--d-base) var(--e-out),
    background var(--d-base);
}
.partner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 90% at 50% 0%,
    rgba(239, 78, 53, 0.06),
    transparent 60%
  );
  pointer-events: none;
}
.partner-card:hover {
  border-color: var(--stroke-2);
  transform: translateY(-4px);
  background: rgba(12, 28, 42, 0.55);
}
.partner-card .ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
}
.partner-card .ph .mk {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--mist);
  display: grid;
  place-items: center;
}
.partner-card .ph .mk svg {
  opacity: 0.45;
}
.partner-card .ph span {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.partner-card .partner-logo {
  max-width: 76%;
  max-height: 76%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
  transition:
    opacity var(--d-base),
    transform var(--d-base) var(--e-out);
}
.partner-card:hover .partner-logo {
  opacity: 1;
  transform: scale(1.03);
}
.partners-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 720px;
  margin: 6px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(10, 24, 36, 0.5);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color var(--d-base);
}
.faq-item.open {
  border-color: var(--stroke-2);
}
.faq-q {
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  padding: 20px 58px 20px 22px;
  position: relative;
  display: block;
}
.faq-q::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 26px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--slate-400);
  border-bottom: 2px solid var(--slate-400);
  transform: rotate(45deg);
  transition:
    transform var(--d-base),
    border-color var(--d-base);
}
.faq-item.open .faq-q::after {
  transform: rotate(-135deg);
  border-color: var(--accent-500);
}
.faq-a {
  max-height: 0;
  text-align:left;
  overflow: hidden;
  transition: max-height 0.42s var(--e-out);
}
.faq-a > p {
  padding: 0 22px 20px;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
  /*max-width: 64ch;*/
}
.faq-cta {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* ---- Карточка «Документация» (ссылка на docs.ptnlrating.ru) ---- */
.docs-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 48px 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke);
  background: rgba(10, 24, 36, 0.5);
  backdrop-filter: blur(14px) saturate(1.1);
  position: relative;
  overflow: hidden;
}
.docs-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 90% at 50% 0%,
    rgba(239, 78, 53, 0.06),
    transparent 60%
  );
  pointer-events: none;
}
.docs-card p {
  color: var(--text-soft);
  max-width: 62ch;
  line-height: 1.65;
  margin: 0;
}
.docs-card .btn {
  margin-top: 10px;
  position: relative;
  z-index: 1;
}
@media (max-width: 860px) {
  .docs-card {
    padding: 34px 22px;
  }
}

/* ---- Форма «Свяжитесь с нами» ---- */
.lead {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(10, 22, 34, 0.55);
  backdrop-filter: blur(20px) saturate(1.15);
  padding: clamp(26px, 4vw, 48px);
}
.lead-head {
  max-width: 960px;
  margin:0px auto 28px auto;
  text-align:center;
}
.lead-head .slab {
  margin-bottom: 14px;
}
.lead-head h2 {
  margin-bottom: 14px;
}
.lead-head p {
  color: var(--text-soft);
  line-height: 1.6;
}
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lead-form .full {
  grid-column: 1/-1;
}
@media (max-width: 680px) {
  .lead-form {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field label {
  font-size: 12.5px;
  color: var(--text-soft);
  font-family: var(--f-mono);
  letter-spacing: 0.03em;
}
.field label .req {
  color: var(--accent-500);
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(232, 235, 247, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition:
    border-color var(--d-base),
    background var(--d-base);
}
.field textarea {
  min-height: 108px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #6b7c93;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  background: rgba(232, 235, 247, 0.06);
}
.field.invalid input,
.field.invalid textarea {
  border-color: #e0593a;
}
.consents {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.5;
}
.check.invalid {
  color: #e88a76;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid var(--stroke-2);
  border-radius: 6px;
  background: rgba(232, 235, 247, 0.04);
  cursor: pointer;
  position: relative;
  transition: 0.2s;
}
.check input:checked {
  background: var(--accent-500);
  border-color: var(--accent-500);
}
.check input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check.invalid input {
  border-color: #e0593a;
}
.check a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lead-submit {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.lead-note {
  font-size: 12.5px;
  color: var(--slate-400);
}
.form-success {
  display: none;
  margin-top: 6px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(79, 195, 208, 0.1);
  border: 1px solid rgba(79, 195, 208, 0.35);
  color: var(--text);
  font-size: 15px;
}
.lead.sent .form-success {
  display: block;
}
.lead.sent .lead-form {
  display: none;
}

/* ---- Cookie-плашка ---- */
.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: 780px;
  margin: 0 auto;
  background: rgba(10, 22, 34, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--stroke-2);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(160%);
  transition: transform 0.5s var(--e-out);
}
.cookie.show {
  transform: none;
}
.cookie p {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}
.cookie p a {
  color: var(--text);
  text-decoration: underline;
}
.cookie .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .cookie {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---- Кнопка «наверх» ---- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--stroke-2);
  background: rgba(10, 22, 34, 0.8);
  backdrop-filter: blur(12px);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0.3s,
    border-color 0.25s,
    background 0.25s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  border-color: var(--accent-500);
  background: rgba(239, 78, 53, 0.12);
}

/* ---- Юр-футер: контакты + реквизиты ---- */
.foot-contacts a,
.foot-contacts span {
  display: block;
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 9px;
  line-height: 1.45;
}
.foot-contacts a:hover {
  color: var(--text);
}
.req {
  font-size: 12.5px;
  color: var(--slate-400);
  line-height: 1.7;
  margin: 0;
}
.req b {
  color: var(--text-soft);
  font-weight: 600;
}
.foot-bottom .legal-links a {
  color: var(--text-soft);
  text-decoration: none;
  margin-left: 18px;
}
.foot-bottom .legal-links a:hover {
  color: var(--text);
}
@media (max-width: 680px) {
  .foot-bottom .legal-links a {
    margin: 8px 16px 0 0;
    display: inline-block;
  }
}

/* ============================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (Функционал/Тарифы/Документация/Контакты/Политика/404)
   ============================================================ */

/* активный пункт меню */
.nav a.on {
  color: var(--text);
}
.nav a.on::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 2px;
  margin-top: 5px;
  background: var(--accent-500);
}

/* лёгкий reveal для внутренних страниц (IntersectionObserver → .in) */
.r-up {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--e-out),
    transform 0.7s var(--e-out);
	text-align:center;
}
.r-up.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .r-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* шапка страницы */
.page-hero {
  padding: calc(var(--s10) + 40px) 0 36px;
}
@media (max-width: 900px) {
  .page-hero {
    padding: 120px 0 30px;
  }
}
.page-hero .slab {
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(34px, 5vw, 60px);
  margin-bottom: 18px;
}
.page-hero .lede {
  max-width: 660px;
  margin:0px auto;
}
.page-hero .page-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

/* стеклянный «скриншот/видео» плейсхолдер */
.shot {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(10, 24, 36, 0.5);
  backdrop-filter: blur(14px) saturate(1.1);
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(154, 170, 196, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 170, 196, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}
.shot .ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  z-index: 1;
}
.shot .ph .pl {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--stroke-2);
  background: rgba(232, 235, 247, 0.04);
  display: grid;
  place-items: center;
}
.shot .ph span {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* текст ошибки под полем формы: показывается при .field.invalid */
.field .field-err {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #ef6a55;
}
.field.invalid .field-err {
  display: block;
}

/* ---- стопка скриншотов (функционал): клик — передний уходит назад ---- */
.shot--stack {
  overflow: visible;
  border: none;
  background: none;
  backdrop-filter: none;
  display: block;
}
.shot--stack::after {
  display: none;
}
.shot-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.ss-card {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(10, 24, 36, 0.6);
  cursor: pointer;
  transition:
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.45s ease,
    box-shadow 0.45s ease;
  will-change: transform;
}
.ss-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
/* широкий скрин целиком, без обрезки (подложка тёмная) */
.ss-card--fit {
  background: #0b1723;
}
.ss-card--fit img {
  object-fit: contain;
  object-position: center;
}
.ss-card[data-pos='0'] {
  z-index: 3;
  transform: none;
  opacity: 1;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 14px 32px rgba(0, 0, 0, 0.25);
}
.ss-card[data-pos='1'] {
  z-index: 2;
  transform: translate(5%, -7%) scale(0.94);
  opacity: 0.7;
  pointer-events: none;
}
.ss-card[data-pos='2'] {
  z-index: 1;
  transform: translate(10%, -14%) scale(0.88);
  opacity: 0.45;
  pointer-events: none;
}
.ss-card.ss-leaving {
  transform: translate(-14%, 6%) rotate(-3deg) scale(0.96);
  opacity: 0;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  /*align-items: center;*/
  text-align:left;
  
  margin-top: 30px;
}
.feature-row.rev .fr-copy {
  order: 2;
  
}
@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-row.rev .fr-copy {
    order: 0;
  }
}
.fr-copy h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 14px;
  
}
.fr-copy p {
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 52ch;
}
.fr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fr-list li {
  display: flex;
  gap: 10px;
  color: var(--text-soft);
  font-size: 15px;
}
.fr-list li::before {
  content: "+";
  color: var(--accent-500);
  font-weight: 700;
}

/* тарифы */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 960px) {
  .tiers {
    grid-template-columns: 1fr;
  }
}
.tier {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: rgba(10, 24, 36, 0.55);
  backdrop-filter: blur(16px) saturate(1.1);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--d-base),
    transform var(--d-base) var(--e-out);
}
.tier:hover {
  border-color: var(--stroke-2);
  transform: translateY(-4px);
}
.tier.featured {
  border-color: rgba(239, 78, 53, 0.45);
  box-shadow: 0 18px 50px rgba(239, 78, 53, 0.12);
}
.tier .badge {
  position: absolute;
  top: -11px;
  left: 26px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-500);
  color: #fff;
  padding: 4px 11px;
  border-radius: var(--r-pill);
}
.tier .kk {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.tier h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.tier .desc {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 66px;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.tier ul li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.45;
}
.tier ul li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 5px;
  background: rgba(79, 195, 208, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5 5-5' stroke='%234FC3D0' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tier .tier-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tiers-note {
  text-align: center;
  color: var(--slate-400);
  font-size: 13px;
  margin-top: 24px;
}

/* документация */
.doc-jump {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
  text-align:left;
}
@media (max-width: 680px) {
  .doc-jump {
    grid-template-columns: 1fr;
  }
}
.doc-jump a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke);
  background: rgba(10, 24, 36, 0.5);
  backdrop-filter: blur(12px);
  color: var(--text);
  transition:
    border-color var(--d-base),
    transform var(--d-base) var(--e-out);
}
.doc-jump a:hover {
  border-color: var(--stroke-2);
  transform: translateY(-3px);
}
.doc-jump .di {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mist);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.doc-jump b {
  font-family: var(--f-display);
  font-size: 17px;
  display: block;
  margin-bottom: 3px;
}
.doc-jump span {
  color: var(--text-soft);
  font-size: 13.5px;
}
.doc-block {
  text-align:left;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: rgba(10, 24, 36, 0.45);
  backdrop-filter: blur(12px);
  padding: 26px 28px;
  margin-top: 18px;
}
.doc-block h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.doc-block > p {
  color: var(--text-soft);
  margin-bottom: 18px;
  /*max-width: 64ch;*/
}
.doc-toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.doc-toc li a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--stroke);
  color: var(--text-soft);
  font-size: 15px;
  transition: color var(--d-base);
}
.doc-toc li:last-child a {
  border-bottom: 0;
}
.doc-toc li a:hover {
  color: var(--text);
}
.doc-toc .soon {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  border: 1px solid var(--stroke);
  border-radius: var(--r-pill);
  padding: 2px 9px;
  align-self: center;
}

/* контакты */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.contact-card {
	text-align:left;
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke);
  background: rgba(10, 24, 36, 0.5);
  backdrop-filter: blur(12px);
  transition:
    border-color var(--d-base),
    transform var(--d-base) var(--e-out);
  display: block;
}
.contact-card:hover {
  border-color: var(--stroke-2);
  transform: translateY(-3px);
}
.contact-card .ci {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--mist);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.contact-card .ck {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 5px;
}
.contact-card .cv {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}
.info-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 860px) {
  .info-2col {
    grid-template-columns: 1fr;
  }
}
.info-card {
		text-align:left;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke);
  background: rgba(10, 24, 36, 0.45);
  backdrop-filter: blur(12px);
}
.info-card h3 {
  font-size: 19px;
  margin-bottom: 14px;
}
.info-card .req {
  font-size: 13.5px;
}
.map-ph {
  aspect-ratio: 16/9;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(8, 18, 28, 0.6);
  display: grid;
  place-items: center;
  color: var(--slate-400);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 14px;
}

/* юридический текст (политика) */
.legal-doc {
  /*max-width: 820px;*/
  text-align:left;
}
.legal-doc h2 {
  font-size: 24px;
  margin: 34px 0 12px;
}
.legal-doc h2:first-child {
  margin-top: 0;
}
.legal-doc p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-doc .note {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px dashed var(--stroke-2);
  color: var(--slate-400);
  font-size: 13.5px;
}

/* страница 404 */
.nf {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 0 60px;
}
.nf .code {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(90px, 18vw, 200px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--text), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nf h1 {
  font-size: clamp(22px, 4vw, 32px);
  margin: 10px 0 14px;
}
.nf p {
  color: var(--text-soft);
  max-width: 440px;
  margin: 0 auto 26px;
}

/* CTA-полоса (низ внутренних страниц) */
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: rgba(10, 22, 34, 0.55);
  backdrop-filter: blur(18px);
  padding: clamp(28px, 4vw, 46px);
  text-align: center;
}
.cta-band h2 {
  margin-bottom: 12px;
}
.cta-band p {
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 24px;
}
.cta-band .row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* глифы в светлых «mist»-контейнерах — навизные, иначе сливаются с фоном плашки */
.contact-card .ci svg,
.doc-jump .di svg,
.partner-card .mk svg {
  color: #1a4669;
}
