:root {
  color-scheme: light;
  --bg: #fbfcfd;
  --ink: #111827;
  --muted: #5f6875;
  --line: #e4e9ef;
  --panel: #ffffff;
  --soft: #f3f7fa;
  --dark: #101827;
  --cyan: #35bfd1;
  --violet: #7d4c92;
  --green: #43bd70;
  --blue: #317dcc;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(16, 24, 39, .12);
  font-family: "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand img { width: 182px; height: auto; }
.main-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  font-size: .94rem;
}
.main-nav a, .header-action, .site-footer a { text-decoration: none; }
.main-nav a:hover, .site-footer a:hover { color: var(--blue); }
.header-action {
  border: 1px solid rgba(49, 125, 204, .35);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--blue);
  font-weight: 700;
}
.menu-toggle { display: none; }

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
}
.muted { background: var(--soft); }
.hero {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(0, 760px);
  justify-content: center;
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  min-height: calc(100vh - 74px);
  background: #eef4f7;
}
.hero-media {
  position: relative;
  aspect-ratio: 2 / 3;
  max-height: 680px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 28px;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
}
h1, h2, h3 {
  margin: 0;
  font-family: Ubuntu, Arial, sans-serif;
  line-height: 1.08;
}
h1 { max-width: 760px; font-size: clamp(2.7rem, 7vw, 6rem); }
h2 { max-width: 920px; font-size: clamp(1.85rem, 3.2vw, 3.15rem); }
h3 { font-size: 1.18rem; }
.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}
.hero-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-top: 28px;
  padding-left: 15px;
  border-left: 4px solid var(--cyan);
}
.hero-phone span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-phone a {
  color: var(--ink);
  font-family: Ubuntu, Arial, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  gap: 9px;
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}
.btn i { flex: 0 0 auto; font-size: 1.08rem; }
.whatsapp { background: var(--green); }
.telegram { background: var(--blue); }
.max-messenger { background: #202936; }
.max-mark { align-items: center; display: inline-flex; height: 21px; justify-content: center; width: 21px; border-radius: 5px; background: var(--cyan); color: #10202a; font: 900 13px Arial,sans-serif; }
.call { background: var(--violet); }
.contact-card { border: 1px solid #b9c8d3; background: #fff; color: #304252; }

.section-heading {
  max-width: 1120px;
  margin: 0 auto 34px;
}
.section-heading.compact { text-align: center; }
.section-heading.compact h2, .section-heading.compact p { margin-left: auto; margin-right: auto; }
.section-heading.compact > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}
.services-calculator-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 20px;
  padding: 11px 17px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
  text-decoration: none;
}
.services-calculator-action:hover, .services-calculator-action:focus-visible {
  border-color: #2769ab;
  background: #2769ab;
  outline: 3px solid rgba(49,125,204,.18);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 38px;
  max-width: 1120px;
  margin: 0 auto;
}
.about-copy {
  color: #1f2937;
  font-size: 1.05rem;
}
.about-copy p { margin: 0 0 18px; }
.stat-panel {
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
}
.stat-panel div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.stat-panel strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}
.stat-panel span { color: rgba(255,255,255,.72); }
.stat-panel a {
  color: #b9f7ff;
  font-weight: 700;
  text-decoration: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.service-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 24, 39, .06);
}
.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f7fafc;
  border-radius: var(--radius);
}
.service-card p { margin: 0; color: var(--muted); }
.service-card .price {
  color: var(--violet);
  font-weight: 900;
}
.service-card a {
  justify-self: start;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.reviews-frame {
  max-width: 760px;
  height: 880px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.reviews-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-section { scroll-margin-top: 84px; }
.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
  max-width: 1120px;
  margin: 0 auto;
}
.feature-copy { max-width: 680px; }
.feature-copy h2 { margin-bottom: 22px; }
.feature-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  font-size: 1.35rem;
}
.feature-icon.partner-icon { background: var(--violet); }
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  font-weight: 800;
  text-decoration: none;
}
.feature-link.secondary {
  color: var(--ink);
  background: transparent;
  border-color: #b9c8d3;
}
.feature-points { border-top: 1px solid var(--line); }
.feature-points div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.feature-points strong {
  display: block;
  margin-bottom: 4px;
  font-family: Ubuntu, Arial, sans-serif;
  font-size: 1.12rem;
}
.feature-points span { color: var(--muted); }

.social-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
}
.social-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 96px;
  padding: 16px 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 900;
  background: #fff;
}
.social-grid i { font-size: 1.7rem; }
.social-youtube i { color: #e52d27; }
.social-tiktok i { color: #111827; }
.social-telegram i { color: #279bd3; }
.social-instagram i { color: #b52f78; }
.social-vk i { color: #2787f5; }
.social-zen i { color: #181818; }
.social-rutube i { color: #d62246; }
.social-max .max-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 17px;
}

.telegram-resources {
  max-width: 1180px;
  margin: 42px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.telegram-resources h3 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.35rem;
}
.telegram-resources-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.telegram-resources-grid a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.telegram-resources-grid a:hover {
  border-color: rgba(39, 155, 211, .55);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 24, 39, .08);
}
.telegram-resources-grid i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #279bd3;
  font-size: 1.35rem;
}
.telegram-resources-grid span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.telegram-resources-grid small {
  color: var(--blue);
  font-size: .74rem;
  font-style: normal;
  font-weight: 800;
}
.telegram-resources-grid strong {
  margin-top: 3px;
  overflow-wrap: anywhere;
  font-size: .94rem;
  line-height: 1.3;
}
.telegram-resources-grid em {
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: .78rem;
  font-style: normal;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(420px, 1.22fr);
  justify-content: center;
  align-items: stretch;
  gap: 42px;
  background: var(--dark);
  color: #fff;
}
.contact-info { max-width: 760px; justify-self: stretch; }
.contact-info dd, .contact-info dl { margin: 0; }
.contact-info dl {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}
.contact-info dt {
  margin-bottom: 5px;
  color: #b9f7ff;
  font-weight: 900;
}
.contact-info dd { color: rgba(255,255,255,.78); }
.contact-info a { color: #fff; }
.contact-map { min-height: 473px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: #fff; }
.contact-map > * { max-width: 100% !important; }
.contact-map iframe {
  display: block;
  width: 100% !important;
  height: 473px !important;
  min-height: 473px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: rgba(255,255,255,.72);
  background: #070b13;
}
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: auto auto; }
  .brand { grid-column: 1; }
  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 15px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 800;
  }
  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }
  .main-nav.is-open { display: flex; }
  .header-action { display: none; }
  .hero, .about-grid, .feature-inner, .contact-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media { max-width: 420px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .telegram-resources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-info { justify-self: stretch; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .brand img { width: 150px; }
  .section { padding: 46px 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-phone a { font-size: 1.65rem; }
  .services-grid, .social-grid, .telegram-resources-grid { grid-template-columns: 1fr; }
  .reviews-frame { height: 720px; }
  .feature-actions, .feature-link { width: 100%; }
  .contact-map { min-height: 390px; }
  .contact-map iframe { height: 390px !important; min-height: 390px; }
  .site-footer { flex-direction: column; }
}
