/* ===== vmmm.ru — общие стили ===== */
:root {
  --black: #000;
  --dark: #111;
  --teal: #0ca5ab;
  --orange: #fa9010;
  --grad: linear-gradient(90deg, #ff9415 0%, #ffc709 100%);
  --gray: #eee;
  --card: #f0f0f0;
  --text: #111;
  --muted: #444;
  --head-font: 'Manrope', 'Roboto', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-family: var(--head-font);
  font-weight: 700;
  text-align: center;
  margin: 0;
  line-height: 1.15;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 32px;
  border-radius: 10px; border: 0;
  color: #fff; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--grad); box-shadow: 0 5px 15px rgba(255,148,21,.5); }
.btn-teal { background: var(--teal); box-shadow: 0 15px 30px -10px rgba(0,11,48,.2); }
.btn-sm { min-height: 42px; padding: 0 28px; font-size: 14px; }
/* блик, как на Tilda */
.btn-flash::after {
  content: ""; position: absolute; top: 0; left: -80px;
  width: 45px; height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.45));
  transform: skewX(-45deg);
  animation: flash 3s linear infinite;
}
@keyframes flash { 0% { left: -80px; } 25%, 100% { left: 120%; } }

/* ===== Шапка ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: 100px;
  background: var(--black); z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo img { width: 260px; height: auto; display: block; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; transition: opacity .2s; }
.nav a:hover, .nav a.active { opacity: .7; }
.burger { display: none; width: 28px; height: 20px; background: none; border: 0; padding: 0; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 0; width: 100%; height: 3px; background: #fff; border-radius: 2px; transition: .25s ease; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 8px; }
.burger span:nth-child(3) { top: 16px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

main { padding-top: 100px; }

/* ===== Первый экран ===== */
.hero { background: var(--black); color: #fff; padding: 105px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.hero h1 { font-family: var(--head-font); font-size: 24px; line-height: 1.3; margin: 0 0 24px; }
.hero ul { margin: 0 0 36px; padding-left: 20px; font-weight: 700; font-size: 17px; }
.hero li { margin-bottom: 6px; }
.video-wrap { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-caption { text-align: center; font-size: 22px; line-height: 1.6; margin: 16px 0 0; }

/* ===== Преимущества ===== */
.features { background: var(--gray); padding: 120px 0 165px; }
.features .section-title { font-size: 36px; margin-bottom: 105px; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px 60px; list-style: none; margin: 0; padding: 0; }
.feature-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.feature-head svg { width: 34px; height: 34px; flex: none; stroke: #111; }
.feature-head h3 { margin: 0; font-size: 17px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ===== Тарифы ===== */
.tariffs { background: var(--black); padding: 60px 0 80px; }
.tariffs .section-title { color: #fff; font-size: 42px; margin-bottom: 90px; }
.tariffs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.tariff {
  display: flex; flex-direction: column;
  background: var(--card); border-radius: 10px; overflow: hidden;
  box-shadow: 0 15px 30px -10px rgba(0,11,48,.2);
  text-align: center;
}
.tariff-head { background: var(--teal); color: #fff; padding: 24px 20px 28px; }
.tariff--featured .tariff-head { background: var(--orange); }
.tariff-name { font-family: var(--head-font); font-size: 30px; font-weight: 700; margin: 0; padding-bottom: 14px; border-bottom: 1px solid #fff; }
.tariff-price { font-size: 21px; font-weight: 700; margin: 18px 0 6px; }
.tariff-sub { font-size: 16px; line-height: 1.45; margin: 0; }
.tariff-body { flex: 1; display: flex; flex-direction: column; padding: 30px 18px 30px; text-align: left; font-size: 15px; line-height: 1.75; }
.tariff-lead { text-align: center; font-weight: 700; font-size: 18px; line-height: 1.45; margin: 0 0 28px; }
.tariff-body p { margin: 0; }
.tariff-body .gap { height: 18px; }
.tariff-body .plus { font-weight: 700; }
.tariff-btn { margin-top: auto; padding-top: 40px; text-align: center; }

/* ===== Коротко о нас ===== */
.about {
  position: relative; padding: 90px 0;
  background: url('https://static.tildacdn.com/tild3334-6230-4563-b762-633731346138/foncontact.jpg') center / cover fixed;
}
.about::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.8); }
.about .container { position: relative; }
.about .section-title { font-size: 36px; margin-bottom: 70px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; list-style: none; margin: 0; padding: 0; text-align: center; }
.stat-value { font-family: var(--head-font); font-size: 30px; font-weight: 700; }
.stat-line { height: 1px; background: rgba(0,0,0,.2); margin: 14px 0; }
.stat-label { font-size: 17px; }

/* ===== Контакты ===== */
.contacts { background: var(--black); color: #fff; padding: 60px 0 70px; text-align: center; }
.contacts .section-title { font-size: 36px; margin-bottom: 40px; }
.person-photo { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 24px; }
.person-q { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.person-a { font-size: 22px; margin: 0 0 36px; }
.contact-lines { font-size: 16px; line-height: 1.8; opacity: .9; margin: 0 0 24px; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.tg-link { display: inline-block; width: 30px; height: 30px; color: #fff; }
.tg-link svg { width: 100%; height: 100%; display: block; }

/* ===== Подвал ===== */
.site-footer { background: var(--dark); color: #fff; border-top: 1px solid #292929; padding: 50px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.site-footer ul { margin: 18px 0 0; padding-left: 18px; }
.site-footer li { margin-bottom: 4px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ===== Страницы документов ===== */
.doc-page { padding: 70px 0 90px; }
.doc-page h1, .partners-page h1 { font-family: var(--head-font); font-size: 46px; line-height: 1.1; margin: 0 0 16px; }
.doc-approved { text-align: right; color: var(--muted); font-size: 16px; margin: 0 0 50px; }
.doc-meta { color: var(--muted); font-size: 16px; margin: 0 0 50px; }
.accordion { border-bottom: 1px solid var(--gray); }
.accordion details { border-top: 1px solid var(--gray); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-family: var(--head-font); font-size: 22px; font-weight: 700;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background:
    linear-gradient(#111, #111) center / 100% 2px no-repeat,
    linear-gradient(#111, #111) center / 2px 100% no-repeat;
  transition: transform .25s ease;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 28px; font-size: 16px; line-height: 1.65; color: #222; }
.acc-body p { margin: 0 0 10px; }
.acc-body ul { margin: 0 0 10px; padding-left: 22px; }
.acc-body li { margin-bottom: 6px; }
.acc-body ul ul { margin-top: 6px; }

/* ===== Партнёры ===== */
.partners-page { padding: 70px 0 90px; }
.banks {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px; justify-items: center; padding: 20px 0;
}
.bank_item {
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  padding: 16px 10px; border: 1px solid #ccc; border-radius: 15px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; width: 100%; max-width: 220px; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bank_item:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.bimg { height: 60px; display: flex; align-items: center; }
.bimg img { max-height: 60px; max-width: 100%; border-radius: 10px; }
.bname { font-weight: 700; font-size: 17px; padding: 10px 6px 0; }
.banks-status { padding: 30px 0; color: var(--muted); font-size: 17px; }

/* ===== Адаптив ===== */
@media (max-width: 980px) {
  html { scroll-padding-top: 64px; }
  .site-header { height: 64px; }
  main { padding-top: 64px; }
  .logo img { width: 200px; }
  .burger { display: block; }
  .nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--black); padding: 10px 20px 26px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 18px; }
  .hero { padding: 60px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .features { padding: 80px 0; }
  .features .section-title { font-size: 28px; margin-bottom: 45px; }
  .features .section-title br { display: none; }
  .features-grid { grid-template-columns: 1fr; gap: 40px; }
  .tariffs .section-title { font-size: 32px; margin-bottom: 40px; }
  .tariffs-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .tariffs-grid, .stats { grid-template-columns: 1fr; }
  .video-caption { font-size: 18px; }
  .doc-page h1, .partners-page h1 { font-size: 32px; }
  .accordion summary { font-size: 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
