:root {
  --blue: #0021A5;
  --blue-dark: #001466;
  --blue-deep: #081033;
  --blue-soft: #EDF1FC;
  --red: #ED1C24;
  --red-dark: #C4101A;
  --ink: #101828;
  --muted: #5B6472;
  --line: #E4E9F4;
  --bg-soft: #F5F7FC;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 16, 51, 0.08);
  --shadow-lg: 0 20px 45px rgba(8, 16, 51, 0.14);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--blue-deep); font-weight: 800; }

.accent { color: var(--red); }

.section { padding: 88px 0; }

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

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }

.section-head.left { margin: 0 0 48px; text-align: left; }

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(237, 28, 36, 0.3); }

.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }

.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

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

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

.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn svg { width: 18px; height: 18px; }

.topbar { background: var(--blue-deep); color: #C9D1EC; font-size: 13.5px; }

.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }

.topbar-contacts { display: flex; gap: 22px; }

.topbar-contacts a { display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s; }

.topbar-contacts a:hover { color: #fff; }

.topbar-contacts svg { width: 14px; height: 14px; }

.topbar-right { display: flex; align-items: center; gap: 18px; }

.topbar-tag { letter-spacing: 0.4px; }

.lang-switch { display: flex; background: rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 3px; }

.lang-btn {
  border: 0;
  background: transparent;
  color: #C9D1EC;
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active { background: var(--red); color: #fff; }

.navbar { position: sticky; top: 0; background: #fff; z-index: 90; transition: box-shadow 0.25s; }

.navbar.scrolled { box-shadow: var(--shadow); }

.navbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }

.brand-logo { height: 44px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 6px; }

.nav-menu > li > a {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-menu > li > a:not(.btn) { position: relative; }

.nav-menu > li > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), #4D6BFF);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-menu > li > a:not(.btn):hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav-menu > li > a:not(.btn):hover::after { transform: scaleX(1); }

.navbar .btn:hover { transform: none; }

.nav-menu > li > a.active { color: var(--blue); }

.nav-menu > li > a.active::after {
  background: var(--red);
  transform: scaleX(0.45);
  transform-origin: left;
}

.nav-menu > li:last-child > a { color: #fff; }

.nav-menu > li:last-child > a:hover { color: #fff; background: var(--red-dark); }

.nav-menu > li { position: relative; }

.nav-menu > li.has-sub > a { padding-right: 34px; }

.sub-caret {
  width: 14px;
  height: 14px;
  color: var(--blue);
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
  pointer-events: none;
}

.has-sub:hover .sub-caret,
.has-sub:focus-within .sub-caret { transform: translateY(-50%) rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 330px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 95;
}

.submenu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.submenu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}

.submenu li a::before {
  content: "";
  flex: none;
  width: 4px;
  height: 16px;
  border-radius: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.2s;
}

.submenu li a:hover { background: var(--blue-soft); color: var(--blue); }

.submenu li a:hover::before { opacity: 1; }

.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }

.nav-toggle span { width: 26px; height: 3px; background: var(--blue-deep); border-radius: 2px; transition: 0.25s; }

.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #0A2EDB 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.3;
}

.hero::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 560px;
  height: 560px;
  background: repeating-linear-gradient(135deg, rgba(237, 28, 36, 0.85) 0 26px, transparent 26px 70px);
  clip-path: circle(50% at 50% 50%);
  opacity: 0.28;
}

.hero-home {
  background:
    linear-gradient(90deg, rgba(0, 16, 80, 0.8) 0%, rgba(0, 20, 102, 0.58) 45%, rgba(0, 33, 165, 0.22) 100%),
    url("../assets/hero.png") center / cover no-repeat;
}

.hero-home::before,
.hero-home::after { display: none; }

.hero-home .hero-inner { grid-template-columns: 1fr; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0 110px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 24px;
}

.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.3); }

.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); margin-bottom: 20px; }

.hero p.lead { color: #D5DCF5; font-size: 18px; max-width: 560px; margin-bottom: 34px; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(8, 16, 51, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.hero-stat { text-align: center; padding: 30px 12px; border-left: 1px solid rgba(255, 255, 255, 0.1); }

.hero-stat:first-child { border-left: 0; }

.hero-stat .num { font-size: 34px; font-weight: 800; color: #fff; }

.hero-stat .num span { color: var(--red); }

.hero-stat .num .count { color: #fff; }

.hero-stat .lbl { color: #C9D1EC; font-size: 13.5px; font-weight: 600; margin-top: 4px; }

.trust { padding: 44px 0; border-bottom: 1px solid var(--line); }

.trust-title { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 26px; }

.trust-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.chip {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #D8E0F7;
}

.chip.light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.trust .chip {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.trust .chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 33, 165, 0.16);
}

.trust .chip::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(237, 28, 36, 0.32), transparent);
  transform: skewX(-18deg);
  animation: chipShine 4s ease-in-out infinite;
  pointer-events: none;
}

.trust .chip:nth-child(2n)::before { animation-delay: 0.55s; }

.trust .chip:nth-child(3n)::before { animation-delay: 1.1s; }

@keyframes chipShine {
  0% { left: -120%; }
  55% { left: 140%; }
  100% { left: 140%; }
}

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card:hover::before { transform: scaleX(1); }

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.icon-box svg { width: 28px; height: 28px; }

.icon-box.red { background: #FDE8E8; color: var(--red); }

.card h3 { font-size: 19px; margin-bottom: 12px; }

.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }

.card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 700; font-size: 14.5px; }

.card-link svg { width: 16px; height: 16px; transition: transform 0.2s; }

.card-link:hover svg { transform: translateX(4px); }

.card.cta-card {
  background: linear-gradient(150deg, var(--blue-dark), var(--blue));
  border: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card.cta-card::before { display: none; }

.card.cta-card h3 { color: #fff; font-size: 22px; }

.card.cta-card p { color: #C9D1EC; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.split-visual {
  position: relative;
  background: linear-gradient(150deg, var(--blue-dark), var(--blue));
  border-radius: 20px;
  padding: 56px 44px;
  color: #fff;
  overflow: hidden;
}

.split-visual::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: repeating-linear-gradient(135deg, rgba(237, 28, 36, 0.8) 0 22px, transparent 22px 60px);
  clip-path: circle(50% at 50% 50%);
  opacity: 0.3;
}

.split-media { position: relative; }

.split-img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.split-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.split-image-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(237, 28, 36, 0.16);
}

.split-image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 16s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.split-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 20, 102, 0.38);
}

.split-image-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-18deg);
  animation: shine 6s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -80%; }
  55% { left: 140%; }
  100% { left: 140%; }
}

.split-image-content {
  position: relative;
  z-index: 3;
  padding: 36px 34px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 100%;
  animation: cardIn 0.8s ease both;
}

@keyframes cardIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.split-image-content h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
  padding-bottom: 12px;
  position: relative;
  animation: fadeUp 0.7s 0.25s ease both;
}

.split-image-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), #FF6B70);
}

.split-image-content p {
  color: #D5DCF5;
  margin-bottom: 0;
  animation: fadeUp 0.7s 0.45s ease both;
}

.split-image-content p::first-letter {
  color: var(--red);
  font-weight: 800;
}

.split-image-content .big-num { font-size: 56px; font-weight: 800; color: #fff; line-height: 1.05; }

.split-image-content .big-num span { color: var(--red); }

.overlay-chips { justify-content: flex-start; margin-top: 12px; }

.split-image-content .trust-chips { animation: fadeUp 0.7s 0.65s ease both; }

.split-image-content .chip.light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue);
  border-color: transparent;
  transition: transform 0.2s, color 0.2s, background 0.2s;
}

.split-image-content .chip.light:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

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

.split-visual .big-num { font-size: 64px; font-weight: 800; }

.split-visual .big-num span { color: var(--red); }

.split-visual h3 { color: #fff; font-size: 24px; margin: 10px 0 14px; }

.split-visual p { color: #C9D1EC; }

.check-list li { display: flex; gap: 14px; margin-bottom: 22px; }

.check-list .tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #FDE8E8;
  color: var(--red);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.check-list .tick svg { width: 14px; height: 14px; }

.check-list h4 { font-size: 17px; margin-bottom: 5px; }

.check-list p { color: var(--muted); font-size: 15px; }

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

.step { position: relative; text-align: center; padding: 0 8px; }

.step .num {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--blue-soft);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.step:hover .num {
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(237, 28, 36, 0.14);
  transform: scale(1.08);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  left: calc(50% + 44px);
  width: calc(100% - 88px);
  border-top: 2px dashed #C6D2F2;
}

.step h3 { font-size: 17px; margin-bottom: 8px; }

.step p { color: var(--muted); font-size: 14.5px; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

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

.testi .quote { color: var(--red); font-size: 40px; line-height: 1; font-weight: 800; margin-bottom: 12px; }

.testi p { color: var(--ink); font-size: 15.5px; font-style: italic; margin-bottom: 22px; }

.testi-who { display: flex; align-items: center; gap: 14px; }

.testi-who .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 15px;
}

.testi-who .name { font-weight: 700; font-size: 15px; color: var(--blue-deep); }

.testi-who .role { color: var(--muted); font-size: 13px; }

.cta-banner { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--blue-dark), var(--blue)); border-radius: 22px; padding: 60px 64px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 40px; }

.cta-banner::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: repeating-linear-gradient(135deg, rgba(237, 28, 36, 0.85) 0 24px, transparent 24px 64px);
  clip-path: circle(50% at 50% 50%);
  opacity: 0.3;
}

.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }

.cta-banner p { color: #C9D1EC; max-width: 520px; }

.cta-banner > * { position: relative; z-index: 1; }

.page-hero { padding: 96px 0 110px; }

.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }

.page-hero p { color: #D5DCF5; font-size: 17px; max-width: 680px; }

.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; margin-bottom: 20px; color: #AAB6E4; }

.breadcrumb a { color: #AAB6E4; transition: color 0.2s; }

.breadcrumb a:hover { color: #fff; }

.breadcrumb .sep { color: var(--red); }

.breadcrumb .current { color: #fff; }

.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }

.detail-body h2 { font-size: 26px; margin: 34px 0 16px; }

.detail-body p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }

.detail-body .lead-p { color: var(--ink); font-size: 17.5px; font-weight: 500; }

.benefit-box { background: var(--blue-soft); border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; padding: 28px 30px; margin-top: 30px; }

.benefit-box h3 { font-size: 18px; margin-bottom: 16px; }

.benefit-box ul li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--ink); font-size: 15px; font-weight: 500; }

.benefit-box ul li:last-child { margin-bottom: 0; }

.benefit-box .tick { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--red); color: #fff; display: grid; place-items: center; margin-top: 2px; }

.benefit-box .tick svg { width: 12px; height: 12px; }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; position: sticky; top: 100px; }

.side-card h3 { font-size: 18px; margin-bottom: 18px; }

.side-card ul li { margin-bottom: 10px; }

.side-card ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-soft);
  transition: all 0.2s;
}

.side-card ul li a:hover { background: var(--blue-soft); color: var(--blue); }

.side-card ul li a.current { background: var(--blue); color: #fff; }

.side-card ul li a svg { width: 15px; height: 15px; color: var(--red); flex: none; }

.side-card ul li a.current svg { color: #fff; }

.side-cta { margin-top: 22px; background: linear-gradient(150deg, var(--blue-dark), var(--blue)); border-radius: 12px; padding: 24px 22px; color: #fff; }

.side-cta h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }

.side-cta .btn { width: 100%; }

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

.value-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 14px 30px rgba(8, 16, 51, 0.14),
    0 28px 60px rgba(8, 16, 51, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: #B9C8F0;
  box-shadow:
    0 22px 44px rgba(8, 16, 51, 0.22),
    0 40px 80px rgba(8, 16, 51, 0.18),
    0 0 0 5px rgba(237, 28, 36, 0.08);
}

.value-card:hover::before { transform: scaleX(1); }

.value-card .icon-box {
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.value-card:hover .icon-box {
  transform: scale(1.14) rotate(-6deg);
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 24px rgba(237, 28, 36, 0.3);
}

.value-card h3 { transition: color 0.3s ease; }

.value-card:hover h3 { color: var(--red); }

.value-card .icon-box { margin: 0 auto 18px; }

.value-card h3 { font-size: 17px; margin-bottom: 8px; }

.value-card p { color: var(--muted); font-size: 14.5px; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 48px; }

.vm-card { border-radius: var(--radius); padding: 38px 34px; }

.vm-card.visi { background: linear-gradient(150deg, var(--blue-dark), var(--blue)); color: #fff; }

.vm-card.visi h3 { color: #fff; }

.vm-card.visi p { color: #D5DCF5; }

.vm-card.misi { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); box-shadow: var(--shadow); }

.vm-card h3 { font-size: 21px; margin-bottom: 16px; padding-bottom: 14px; position: relative; }

.vm-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), #FF6B70);
}

.vm-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0, 33, 165, 0.1), rgba(237, 28, 36, 0.1));
  border: 1px solid #D8E0F7;
  position: relative;
}

.vm-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 15px;
  border: 2px dashed rgba(237, 28, 36, 0.3);
  animation: iconRing 14s linear infinite;
}

@keyframes iconRing {
  to { transform: rotate(360deg); }
}

.vm-icon-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(8, 16, 51, 0.25));
}

.vm-card.visi .vm-icon-img { filter: drop-shadow(0 8px 16px rgba(0, 0, 20, 0.45)); }

.vm-card.visi .vm-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.vm-card.visi .vm-icon::before { border-color: rgba(255, 255, 255, 0.35); }

.vm-card.visi .vm-icon-img { animation: iconFloat 4s ease-in-out infinite; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.vm-card.misi .vm-icon-img { animation: rocketFloat 3.4s ease-in-out infinite; }

@keyframes rocketFloat {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-6px); }
}

.vm-card.visi { position: relative; overflow: hidden; }

.vm-card.visi::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-18deg);
  animation: vmShine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes vmShine {
  0% { left: -80%; }
  55% { left: 140%; }
  100% { left: 140%; }
}

.vm-card.visi > * { position: relative; z-index: 2; }

.hl-white { color: #fff; font-weight: 700; }

.hl-red { color: #FF8A8F; font-weight: 700; }

.hl-grad {
  font-weight: 800;
  background: linear-gradient(90deg, #FFD86B, #FF6B70, #8DC2FF, #FFD86B);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShine 3.5s linear infinite;
}

@keyframes gradShine {
  to { background-position: 300% center; }
}

.hl-uline {
  font-weight: 700;
  border-bottom: 3px solid var(--red);
  padding-bottom: 2px;
}

.vm-card.misi { transition: transform 0.3s, box-shadow 0.3s; }

.vm-card.misi:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vm-card.visible ol li {
  opacity: 0;
  animation: liIn 0.6s ease forwards;
}

.vm-card.visible ol li:nth-child(1) { animation-delay: 0.15s; }
.vm-card.visible ol li:nth-child(2) { animation-delay: 0.3s; }
.vm-card.visible ol li:nth-child(3) { animation-delay: 0.45s; }
.vm-card.visible ol li:nth-child(4) { animation-delay: 0.6s; }

@keyframes liIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: none; }
}

.vm-card ol { list-style: none; counter-reset: misi; }

.vm-card ol li { counter-increment: misi; display: flex; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: 15px; }

.vm-card ol li::before { content: counter(misi, decimal-leading-zero); color: var(--red); font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 38px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-group { margin-bottom: 18px; }

.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--blue-deep); margin-bottom: 8px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  outline: none;
  transition: border 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); background: #fff; }

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

.form-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }

.form-note svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

.info-stack { display: grid; gap: 18px; }

.info-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

.info-card .icon-box { margin: 0; width: 50px; height: 50px; }

.info-card h4 { font-size: 16px; margin-bottom: 4px; }

.info-card p, .info-card a { color: var(--muted); font-size: 14.5px; }

.info-card a:hover { color: var(--blue); }

.map-embed {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin-top: 18px;
}

.map-box {
  margin-top: 18px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--blue-dark), var(--blue));
  min-height: 210px;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.map-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
}

.map-box .inner { position: relative; text-align: center; }

.map-box svg { width: 44px; height: 44px; color: var(--red); margin: 0 auto 10px; }

.footer {
  background:
    linear-gradient(rgba(8, 16, 51, 0.94), rgba(8, 16, 51, 0.94)),
    url("../assets/hero.png") center / cover no-repeat;
  color: #B9C1DE;
  padding: 70px 0 0;
  font-size: 14.5px;
}

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 54px; }

.footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 20px; letter-spacing: 0.4px; }

.footer .brand-logo { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); }

.footer p { margin-bottom: 18px; }

.footer ul li { margin-bottom: 11px; }

.footer ul li a { transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }

.footer ul li a:hover { color: #fff; }

.footer ul li a svg { width: 14px; height: 14px; color: var(--red); }

.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }

.footer-contact li svg { width: 16px; height: 16px; color: var(--red); flex: none; margin-top: 4px; }

.socials { display: flex; gap: 10px; }

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.socials a:hover { background: var(--red); }

.socials a svg { width: 17px; height: 17px; color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }

.footer-bottom a { color: #B9C1DE; }

.footer-bottom a:hover { color: #fff; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.post-card .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: block; }

.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .thumb img { transform: scale(1.07); }

.post-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 13px;
  border-radius: 999px;
}

.post-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.post-body h3 { font-size: 18px; line-height: 1.35; }

.post-body h3 a { transition: color 0.25s; }

.post-body h3 a:hover { color: var(--blue); }

.post-body > p { color: var(--muted); font-size: 14.5px; flex: 1; }

.post-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }

.post-meta span { display: inline-flex; align-items: center; gap: 6px; }

.post-meta svg { width: 14px; height: 14px; color: var(--blue); }

.article-layout { max-width: 800px; margin: 0 auto; }

.article-tag {
  display: inline-block;
  background: #FDE8E8;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.article-meta-line {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 14px;
}

.article-meta-line span { display: inline-flex; align-items: center; gap: 7px; }

.article-meta-line svg { width: 15px; height: 15px; color: var(--red); }

.article-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 48px; box-shadow: var(--shadow); margin-top: 26px; }

.article-body .lead-p { font-size: 17.5px; color: var(--ink); font-weight: 500; margin-bottom: 18px; }

.article-body p { color: var(--muted); margin-bottom: 16px; }

.article-body h2 { font-size: 24px; margin: 30px 0 16px; }

.plain-list { margin: 0 0 18px; }

.plain-list li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--ink); font-weight: 500; font-size: 15px; }

.plain-list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.article-back { margin-top: 34px; }

.accordion { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }

.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.acc-item:hover {
  border-color: #B9C8F0;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.acc-item.open {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 22px 26px;
  font-family: var(--font);
}

.acc-num {
  flex: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 1px;
  transition: color 0.3s;
}

.acc-item:hover .acc-num { color: var(--blue); }

.acc-q {
  flex: 1;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--blue-deep);
  transition: color 0.3s;
}

.acc-item:hover .acc-q { color: var(--blue); }

.acc-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  transition: transform 0.35s, background 0.3s, color 0.3s;
}

.acc-icon svg { width: 16px; height: 16px; }

.acc-item:hover .acc-icon { background: #FDE8E8; color: var(--red); }

.acc-item.open .acc-icon {
  transform: rotate(180deg);
  background: var(--red);
  color: #fff;
}

.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.acc-item.open .acc-body { grid-template-rows: 1fr; }

.acc-inner { overflow: hidden; }

.acc-inner p {
  padding: 0 26px 24px 66px;
  color: var(--muted);
  font-size: 15px;
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal.visible { opacity: 1; transform: none; }

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.07); }

.wa-float svg { width: 28px; height: 28px; color: #fff; }

.wa-popup {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 79;
  width: 330px;
  max-width: calc(100vw - 32px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 16, 51, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px) scale(0.94);
  transition: opacity 0.5s cubic-bezier(0.18, 0.9, 0.32, 1.18), transform 0.5s cubic-bezier(0.18, 0.9, 0.32, 1.18), visibility 0.5s;
}

.wa-popup.show { opacity: 1; visibility: visible; transform: none; }

.wa-popup::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 34px;
  width: 20px;
  height: 20px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 3px;
}

.popup-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  position: relative;
}

.popup-avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  padding: 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.popup-avatar img { width: 100%; height: 100%; object-fit: contain; }

.popup-id { line-height: 1.3; }

.popup-id strong { display: block; font-size: 15.5px; color: #fff; font-weight: 800; }

.popup-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #B7E5C4;
  font-weight: 600;
}

.popup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  animation: popPulse 1.6s infinite;
}

@keyframes popPulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}

.popup-close:hover { background: var(--red); transform: rotate(90deg); }

.popup-body { padding: 18px; background: #fff; }

.popup-msg { font-size: 14px; color: var(--ink); line-height: 1.6; margin-bottom: 14px; }

.popup-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}

.popup-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  animation: popupShine 3.2s ease-in-out infinite;
}

@keyframes popupShine {
  0% { left: -80%; }
  60% { left: 140%; }
  100% { left: 140%; }
}

.popup-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.popup-btn svg { width: 18px; height: 18px; flex: none; }

.popup-note { display: block; margin-top: 10px; text-align: center; font-size: 12px; color: var(--muted); }

@media (max-width: 560px) {
  .wa-popup { right: 12px; bottom: 84px; }
}

@media (max-width: 992px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open { display: flex; max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav-menu > li > a { display: block; }
  .nav-menu > li:last-child > a { margin-top: 10px; text-align: center; }
  .submenu {
    position: static;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: 2px 0 8px;
    padding: 0 0 0 14px;
  }
  .submenu::before { display: none; }
  .sub-caret { display: none; }
}

@media (max-width: 1024px) {
  .cards-grid, .testi-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .step:not(:last-child)::after { display: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; padding: 72px 0 88px; }
  .page-hero { padding: 72px 0 88px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .detail-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .split-image-card { max-height: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-contacts a span { display: none; }
  .topbar-tag { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(3) { border-left: 0; }
  .hero-stat { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .hero-stat:nth-child(-n+2) { border-top: 0; }
  .cards-grid, .testi-grid, .vm-grid, .blog-grid { grid-template-columns: 1fr; }
  .article-body { padding: 32px 26px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 48px 30px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .acc-inner p { padding-left: 26px; }
}

@media (max-width: 560px) {
  .steps, .values-grid, .footer-grid { grid-template-columns: 1fr; }
}
