/* Inner page style based on about_page_mecary_code_no_stats_advantages */
.template-inner {
  background: #ffffff;
}

.template-inner .topbar {
  background: #061f4f;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.template-inner .topbar .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.template-inner .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(9, 41, 91, 0.09);
  box-shadow: 0 4px 20px rgba(10, 38, 80, 0.08);
  backdrop-filter: blur(10px);
}

.template-inner .header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.template-inner .brand {
  min-width: 250px;
  gap: 12px;
}


.template-inner .brand-title {
  color: #0b4b9a;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.template-inner .brand-subtitle {
  display: none;
}

.template-inner .nav {
  margin-left: auto;
  gap: 34px;
  align-self: stretch;
}

.template-inner .nav a {
  position: relative;
  min-width: 0;
  height: auto;
  padding: 26px 0;
  color: #182842;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 0;
}

.template-inner .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  border-radius: 9px;
  background: #ff8f1f;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.template-inner .nav a:hover,
.template-inner .nav a.active {
  color: #ff8f1f;
  background: transparent;
}

.template-inner .nav a:hover::after,
.template-inner .nav a.active::after {
  transform: scaleX(1);
}

.template-inner .inner-hero {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 18, 48, 0.82) 0%, rgba(5, 39, 96, 0.66) 45%, rgba(5, 39, 96, 0.26) 100%),
    url("/skin/about_page_mecary_code_no_stats_advantages/assets/inner-hero-bg.jpg") center / cover no-repeat;
}

.template-inner .inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    radial-gradient(circle at 16% 70%, rgba(26, 128, 255, 0.9), transparent 18%),
    repeating-radial-gradient(ellipse at 22% 76%, transparent 0 14px, rgba(255, 255, 255, 0.15) 15px 16px);
  pointer-events: none;
}

.template-inner .inner-hero .hero-inner {
  position: relative;
  z-index: 1;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.template-inner .inner-hero h1 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.template-inner .inner-hero p {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.template-inner .breadcrumb {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.template-inner .inner-nav-strip {
  background: #185aa8;
  color: #ffffff;
}

.template-inner .inner-product-nav {
  display: grid;
  min-height: 58px;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.template-inner .inner-product-item {
  position: relative;
}

.template-inner .inner-product-item > a,
.template-inner .inner-product-dropdown a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.template-inner .inner-product-item:last-child > a {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.template-inner .inner-product-item > a:hover,
.template-inner .inner-product-item:hover > a {
  background: #0d438b;
}

.template-inner .inner-product-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  display: grid;
  min-width: 198px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(10, 37, 76, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.template-inner .inner-product-item:hover .inner-product-dropdown,
.template-inner .inner-product-item:focus-within .inner-product-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.template-inner .inner-product-dropdown a {
  justify-content: flex-start;
  min-height: 42px;
  color: #173b6e;
  border-left: 0;
  border-bottom: 1px solid #edf2f8;
  font-size: 13px;
}

.template-inner .inner-product-dropdown a:hover {
  color: #ffffff;
  background: #185aa8;
}

.template-inner .inner-main {
  padding: 52px 0 78px;
}

.inner-footer {
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 92% 8%, rgba(27, 110, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #041b43 0%, #062a68 100%);
}

.inner-footer .footer-contact-grid {
  min-height: 245px;
  display: grid;
  align-items: center;
  gap: 28px;
  grid-template-columns: 180px 116px 1fr 180px;
}

.inner-footer .footer-hotline em,
.inner-footer .footer-contact-text nav a,
.inner-footer .footer-contact-text p {
  color: rgba(255, 255, 255, 0.76);
}

.inner-footer .footer-hotline span {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.inner-footer .fake-qr {
  width: 96px;
  height: 96px;
  border-color: #ffffff;
}

.inner-footer .footer-contact-text nav {
  gap: 22px 30px;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.footer-message {
  height: 46px;
  color: #ffffff;
  background: linear-gradient(90deg, #ff8f1f, #ffb14a);
  border-radius: 8px;
}

.inner-footer .footer-bottom {
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(0, 0, 0, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.template-inner .floating-social-bar {
  display: none;
}

@media (max-width: 980px) {
  .template-inner .brand {
    min-width: 0;
  }

  .template-inner .nav {
    display: none;
  }

  .template-inner .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .template-inner .inner-product-nav {
    display: flex;
    overflow-x: auto;
  }

  .template-inner .inner-product-item {
    flex: 0 0 150px;
  }

  .inner-footer .footer-contact-grid {
    grid-template-columns: 1fr;
  }
}
