:root {
  --bg: #f4f6f9;
  --card: #ffffff;
  --ink: #1c2430;
  --muted: #5b6776;
  --line: #d9e0ea;
  --blue: #0b6cbd;
  --blue-dark: #095796;
  --navy: #10233d;
  --ok: #128c4b;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(16, 35, 61, 0.08);
  --font: "DM Sans", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--navy);
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
}

h3 {
  font-size: 22px;
  margin: 0 0 8px;
}

p { margin: 0 0 14px; }

.wrap {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: #fff;
  padding: 8px 10px 7px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.topbar-apps {
  white-space: nowrap;
  font-size: clamp(10px, 2.65vw, 15px);
  line-height: 1.25;
  max-width: 100%;
  letter-spacing: -0.015em;
}

.topbar a {
  font-weight: 700;
  text-decoration: none;
}

.topbar-phone {
  color: #fff;
  font-size: clamp(13px, 3.5vw, 16px);
  letter-spacing: 0.06em;
  white-space: nowrap;
  line-height: 1.2;
}

.app-wa { color: #25d366 !important; }
.app-vb { color: #a78bfa !important; }
.app-wc { color: #07c160 !important; }
.app-tg { color: #34b7f1 !important; }
.app-bt { color: #ff7a1a !important; }

.topbar .sep {
  color: rgba(255,255,255,0.45);
  margin: 0 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand img {
  height: 52px;
  width: auto;
  flex-shrink: 0;
  background: #000;
  border-radius: 8px;
  padding: 4px 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  color: var(--navy);
  line-height: 1.2;
}

.brand-text strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  color: #5b6776;
  font-weight: 600;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.nav-link {
  color: var(--navy);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav a:hover,
.nav a.is-active,
.nav-link:hover,
.nav-item.is-current .nav-link {
  background: #eaf3fb;
  color: var(--blue);
  text-decoration: none;
}

.nav-item { position: relative; }

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 50;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  display: block;
}

.submenu a {
  display: block;
  width: 100%;
  padding: 12px 14px;
}

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
}

.hero {
  padding: 48px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.lead {
  font-size: 19px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.logo-static {
  background: #071428;
  border-radius: 18px;
  padding: 0;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.logo-static img {
  width: 100%;
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover { background: var(--blue-dark); color: #fff; }

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.panel .btn {
  margin: 8px 10px 0 0;
}

.btn-wa {
  background: var(--ok);
  color: #fff;
}

.btn-wa:hover { background: #0e743e; color: #fff; }

.section {
  padding: 28px 0 56px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(16, 35, 61, 0.04);
  display: flex;
  flex-direction: column;
}

.card-photo {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #e8eef4;
}

.card-body {
  padding: 24px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card p {
  color: var(--muted);
  flex: 1;
}

.card .num {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.why-grid,
.use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.cta-band {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.step span {
  display: block;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero {
  padding: 36px 0 8px;
}

.page-hero p {
  color: var(--muted);
  font-size: 19px;
}

.content {
  padding: 12px 0 64px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.panel ul {
  padding-left: 20px;
  color: var(--muted);
}

.panel li { margin: 8px 0; }

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

.spec li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.spec span { color: var(--muted); }

.form {
  display: grid;
  gap: 12px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  font: inherit;
  font-size: 17px;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.form textarea { min-height: 120px; resize: vertical; }

.site-footer {
  background: var(--navy);
  color: #d5dee8;
  padding: 36px 0 24px;
}

.site-footer a { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.legal-links a {
  color: #fff;
  font-size: 14px;
}

.site-footer small {
  display: block;
  margin-top: 10px;
  color: #9aabbd;
}

.legal h2 {
  margin-top: 28px;
  font-size: 22px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal .meta {
  font-size: 15px;
  color: var(--muted);
}

.float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.float a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.float a img {
  width: 28px;
  height: 28px;
  max-width: none;
  display: block;
  pointer-events: none;
}

.float .tel img { width: 24px; height: 24px; }
.float .wc img { width: 30px; height: 30px; }

.float a:hover { text-decoration: none; filter: brightness(0.95); }

.float .tel { background: var(--navy); }
.float .wa { background: var(--ok); }
.float .tg { background: #229ed9; }
.float .vb { background: #7360f2; }
.float .wc { background: #2dc100; }
.float .bt { background: #e85d04; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  z-index: 60;
  display: none;
}

.toast.is-on { display: block; }

.mobile-bar { display: none; }

@media (max-width: 1080px) {
  body {
    font-size: 17px;
    padding-bottom: 72px;
  }

  .nav { display: none; }

  .menu-btn { display: grid; place-items: center; }

  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px;
  }

  .mobile-nav a {
    padding: 14px 8px;
    color: var(--navy);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .services,
  .steps,
  .why-grid,
  .use-grid,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-photo { height: 200px; }

  .cta-band { padding: 22px; }

  .hero { padding-top: 28px; }

  .brand img { height: 42px; width: auto; padding: 3px 6px; }
  .brand { gap: 8px; }
  .brand-text strong { font-size: 17px; }
  .brand-text small { font-size: 12px; }

  .float { display: none; }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .mobile-bar a {
    min-height: 48px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
  }

  .mobile-bar .call { background: var(--navy); }
  .mobile-bar .chat { background: var(--ok); }
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #10233d;
  display: grid;
  place-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro.is-gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-inner {
  text-align: center;
  animation: introIn 0.9s ease both;
}

.intro-inner img {
  width: min(420px, 84vw);
  height: auto;
  display: block;
  margin: 0 auto 8px;
}

.intro-unvan {
  display: block;
  width: min(420px, 84vw);
  margin: 6px auto 0;
  color: #fff;
  font-size: clamp(13px, 3.1vw, 18px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

@keyframes introIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

body.intro-lock { overflow: hidden; }
