@font-face {
  font-family: "IRANSans";
  src: url("../../font/IRANSANSWEB.TTF") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../../font/IRANSANSWEB.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../../font/IRANSANSWEB.TTF") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../../font/IRANSANSWEB.TTF") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../../font/IRANSANSWEB_BOLD.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../../font/IRANSANSWEB_BOLD.TTF") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../../font/IRANSANSWEB_BOLD.TTF") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #143e5d;
  --black-2: #0b2538;
  --primary: #143e5d;
  --primary-2: #1f5f85;
  --primary-dark: #0f3048;
  --orange: #ea580c;
  --orange-2: #f97316;
  --accent: #f59e0b;
  --accent-soft: #fff7ed;
  --warm-50: #f3f8fb;
  --warm-100: #e4eef5;
  --warm-200: #c9dce8;
  --warm-700: #ea580c;
  --warm-900: #143e5d;
  --white: #ffffff;
  --text: #143e5d;
  --muted: #536a7d;
  --line: #d5e4ec;
  --soft: #f3f8fb;
  --shadow: 0 18px 45px rgba(20, 62, 93, 0.11);
  --shadow-soft: 0 10px 28px rgba(20, 62, 93, 0.08);
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 48%, #ffffff 100%);
  font-family: "IRANSans", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-align: right;
  opacity: 0;
  animation: pageFadeIn 0.32s ease forwards;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

body.is-leaving {
  pointer-events: none;
  animation: pageFadeOut 0.32s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pageFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  body.is-leaving {
    opacity: 1;
    animation: none;
  }
}

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

img,
svg {
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(var(--container), calc(100% - 36px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: relative;
  z-index: 60;
  background: var(--white);
}

.logo-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  border-bottom: 1px solid #c9dce8;
}

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

.main-logo img {
  width: 124px;
  height: auto;
}

.header-quick-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

.phone-quick,
.site-search-quick,
.support-quick {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #c9dce8;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(20, 62, 93, 0.1);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.phone-quick {
  gap: 9px;
  padding: 0 14px 0 16px;
  font-size: 15px;
  font-weight: 900;
  direction: rtl;
}

.phone-quick img,
.support-quick img {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-search-quick svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-search-quick,
.support-quick {
  width: 44px;
  padding: 0;
  cursor: pointer;
}

.phone-quick:hover,
.phone-quick:focus-visible,
.site-search-quick:hover,
.site-search-quick:focus-visible,
.support-quick:hover,
.support-quick:focus-visible {
  color: var(--orange);
  border-color: rgba(20, 62, 93, 0.4);
  box-shadow: 0 14px 28px rgba(20, 62, 93, 0.18);
  transform: translateY(-2px);
}

.site-search-modal[hidden] {
  display: none;
}

.site-search-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: start center;
  padding: clamp(22px, 7vh, 74px) 18px 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-search-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.site-search-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(11, 37, 56, 0.58);
  border: 0;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.site-search-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(760px, calc(100dvh - 36px));
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  overflow: hidden;
  color: var(--black);
  background: #ffffff;
  border: 1px solid rgba(31, 95, 133, 0.18);
  border-radius: 22px;
  box-shadow: 0 30px 85px rgba(11, 37, 56, 0.28);
}

.site-search-head {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.site-search-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.site-search-close,
.mobile-menu-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  color: #ffffff;
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.site-search-close svg,
.mobile-menu-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
  padding: 16px 18px 12px;
}

.site-search-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--black);
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
}

.site-search-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(20, 62, 93, 0.14);
}

.site-search-form button {
  width: 48px;
  min-height: 52px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}

.site-search-form button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-search-status {
  margin: 0;
  padding: 0 18px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-search-results {
  display: grid;
  gap: 10px;
  min-height: 180px;
  overflow-y: auto;
  padding: 0 18px 18px;
}

.site-search-result {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: var(--black);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid rgba(31, 95, 133, 0.18);
  border-radius: 14px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.site-search-result:hover,
.site-search-result:focus-visible {
  border-color: rgba(20, 62, 93, 0.38);
  box-shadow: 0 16px 30px rgba(20, 62, 93, 0.12);
  transform: translateY(-2px);
}

.site-search-result strong {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.6;
}

.site-search-result p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.site-search-result span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.search-page-results {
  margin-top: 20px;
}

.floating-chat {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 120;
  direction: rtl;
}

.floating-chat-toggle {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  background: linear-gradient(180deg, #1f5f85 0%, #143e5d 100%);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(20, 62, 93, 0.32);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.floating-chat-toggle img {
  position: relative;
  z-index: 2;
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.floating-chat-toggle span {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(20, 62, 93, 0.48);
  border-radius: inherit;
  animation: floatingChatPulse 2.1s ease-out infinite;
}

.floating-chat-toggle:hover,
.floating-chat-toggle:focus-visible {
  background: linear-gradient(180deg, #2a6d98 0%, #143e5d 100%);
  box-shadow: 0 20px 42px rgba(15, 48, 72, 0.38);
  transform: translateY(-3px);
}

.floating-chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(420px, calc(100vw - 32px));
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(20, 62, 93, 0.12);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(20, 62, 93, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-chat.is-open .floating-chat-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-chat-head {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 15px;
  color: #ffffff;
  background: linear-gradient(135deg, #143e5d 0%, #143e5d 100%);
}

.floating-chat-head strong,
.floating-chat-head span {
  display: block;
}

.floating-chat-head strong {
  font-size: 15px;
  font-weight: 900;
}

.floating-chat-head span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.floating-chat-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.floating-chat-close svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  fill: none;
}

.floating-chat-close:hover,
.floating-chat-close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(4deg);
}

.floating-chat-body {
  position: relative;
  padding: 10px;
  background: #f3f8fb;
}

.floating-chat-frame {
  position: relative;
  height: clamp(430px, calc(100vh - 180px), 640px);
  overflow: hidden;
  background: #ffffff;
  border-radius: 14px;
}

.floating-chat-frame:empty::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(20, 62, 93, 0.12);
  border-top-color: #143e5d;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: floatingChatLoader 0.8s linear infinite;
}

.floating-chat-frame > div,
.floating-chat-frame [id^="swiftiframecontainer"] {
  width: 100%;
  height: 100%;
}

.floating-chat-frame iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
  background: #ffffff;
}

.floating-chat-message {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.floating-chat-launch {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 16px;
  color: #ffffff;
  background: linear-gradient(180deg, #1f5f85 0%, #143e5d 100%);
  border: 1px solid rgba(20, 62, 93, 0.1);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(20, 62, 93, 0.22);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-chat-launch:hover,
.floating-chat-launch:focus-visible {
  background: linear-gradient(180deg, #2a6d98 0%, #143e5d 100%);
  box-shadow: 0 14px 28px rgba(20, 62, 93, 0.32);
  transform: translateY(-1px);
}

@keyframes floatingChatPulse {
  0% {
    opacity: 0.9;
    transform: scale(0.86);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes floatingChatLoader {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.menu-panel {
  padding: 10px 0 14px;
  background: #ffffff;
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

body.has-scrolled .site-header {
  padding-bottom: var(--sticky-menu-height, 84px);
}

body.has-scrolled .menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  padding: 8px 0;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--black);
  background: #dee4e8;
  border: 1px solid rgba(31, 95, 133, 0.22);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(20, 62, 93, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.navbar.container {
  width: min(1480px, calc(100% - 18px));
}

.brand,
.main-logo,
.menu-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.menu-logo img {
  width: 31px;
  height: auto;
}

.menu-logo {
  width: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(8px);
  transition: width 0.25s ease, max-width 0.25s ease, opacity 0.2s ease, transform 0.25s ease;
}

body.has-scrolled .menu-logo {
  width: 31px;
  max-width: 31px;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  flex: 1 1 auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.has-submenu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 14px;
  z-index: 89;
}

.nav-menu > .nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 13px;
  color: #173951;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.submenu-indicator {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.82;
  transform: rotate(-45deg) translateY(-1px);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.has-submenu:hover .submenu-indicator,
.has-submenu:focus-within .submenu-indicator,
.has-submenu.is-submenu-open .submenu-indicator {
  opacity: 1;
  transform: rotate(135deg) translateY(1px);
}

.nav-menu > .nav-item > .nav-link:hover,
.nav-menu > .nav-item > .nav-link:focus-visible,
.nav-menu > .nav-item > .nav-link.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%);
  box-shadow: 0 10px 22px rgba(20, 62, 93, 0.2);
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  width: min(680px, calc(100vw - 24px));
  padding: 16px;
  margin: 0;
  background: #dee4e8;
  border: 1px solid rgba(31, 95, 133, 0.22);
  border-radius: 22px;
  box-shadow: 0 28px 65px rgba(20, 62, 93, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-submenu-open .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: stretch;
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mega-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 78px;
  padding: 12px;
  color: var(--black);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid rgba(31, 95, 133, 0.2);
  border-radius: 14px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mega-link-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--orange-2);
  background: #f3f8fb;
  border: 1px solid #c9dce8;
  border-radius: 12px;
}

.mega-link-icon .menu-svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-link-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.mega-link strong {
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
}

.mega-link small {
  color: #536a7d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.75;
}

.mega-link:hover,
.mega-link:focus-visible,
.mega-link.is-active {
  background: #f3f8fb;
  border-color: rgba(20, 62, 93, 0.36);
  transform: translateY(-2px);
}

.mega-link:hover .mega-link-icon,
.mega-link:focus-visible .mega-link-icon,
.mega-link.is-active .mega-link-icon {
  color: var(--black);
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%);
  border-color: transparent;
}

.mega-visual {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  min-height: 100%;
  padding: 13px;
  color: var(--black);
  background:
    radial-gradient(circle at 25% 15%, rgba(31, 95, 133, 0.26), transparent 36%),
    linear-gradient(180deg, #f7fafc 0%, #f3f8fb 100%);
  border: 1px solid rgba(31, 95, 133, 0.22);
  border-radius: 16px;
  text-align: center;
}

.mega-visual svg {
  width: min(190px, 100%);
  height: auto;
}

.mega-visual span {
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
}

.has-submenu.is-submenu-open > .nav-link {
  color: #ffffff;
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  direction: ltr;
}

.system-menu {
  position: relative;
  display: inline-flex;
}

.system-login-toggle {
  gap: 8px;
}

.system-login-toggle .submenu-indicator {
  transform: rotate(-45deg) translateY(-1px);
}

.system-menu:hover .system-login-toggle .submenu-indicator,
.system-menu:focus-within .system-login-toggle .submenu-indicator,
.system-menu.is-submenu-open .system-login-toggle .submenu-indicator {
  transform: rotate(135deg) translateY(1px);
}

.login-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.login-btn {
  min-height: 46px;
  padding: 0 13px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%);
  box-shadow: 0 12px 22px rgba(20, 62, 93, 0.26);
  direction: rtl;
  font-size: 13px;
  white-space: nowrap;
}

.login-btn-secondary {
  color: var(--black);
  background: #ffffff;
  border: 1px solid rgba(20, 62, 93, 0.26);
  box-shadow: none;
}

.system-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 95;
  width: 230px;
  padding: 9px;
  direction: rtl;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(31, 95, 133, 0.22);
  border-radius: 18px;
  box-shadow: 0 24px 52px rgba(20, 62, 93, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.system-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 14px;
  z-index: 94;
}

.system-menu:hover .system-dropdown,
.system-menu:focus-within .system-dropdown,
.system-menu.is-submenu-open .system-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.system-dropdown a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--black);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  direction: rtl;
  text-align: right;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.system-dropdown a::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--orange-2);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(20, 62, 93, 0.14);
}

.system-dropdown a:hover,
.system-dropdown a:focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%);
  transform: translateX(-2px);
}

.system-dropdown a:hover::before,
.system-dropdown a:focus-visible::before {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.cart-btn {
  position: relative;
  color: var(--white);
}

.cart-btn svg {
  width: 27px;
  height: 27px;
}

.cart-btn span {
  position: absolute;
  top: -11px;
  right: -12px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--orange-2);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(20, 62, 93, 0.24);
}

.menu-toggle svg {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.menu-close-icon {
  opacity: 0;
  transform: rotate(-45deg) scale(0.85);
}

.menu-toggle[aria-expanded="true"] .menu-open-icon {
  opacity: 0;
  transform: rotate(45deg) scale(0.85);
}

.menu-toggle[aria-expanded="true"] .menu-close-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.home-slider {
  position: relative;
  min-height: 720px;
  height: min(78vh, 790px);
  margin-top: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(31, 95, 133, 0.24), transparent 25%),
    radial-gradient(circle at 82% 18%, rgba(20, 62, 93, 0.12), transparent 24%),
    linear-gradient(110deg, #ffffff 0%, #ffffff 38%, #f3f8fb 68%, #e4eef5 100%);
  isolation: isolate;
}

.home-slider::before,
.home-slider::after {
  content: "";
  position: absolute;
  display: none;
  pointer-events: none;
}

.home-slider::before {
  top: -70px;
  left: -40px;
  z-index: 0;
  width: min(46vw, 640px);
  aspect-ratio: 1;
  opacity: 0.6;
  background:
    radial-gradient(circle, rgba(20, 62, 93, 0.14) 0 2px, transparent 3px) 0 0 / 34px 34px,
    radial-gradient(circle at center, transparent 48%, rgba(31, 95, 133, 0.15) 49%, transparent 50%),
    linear-gradient(35deg, transparent 48%, rgba(31, 95, 133, 0.16) 49%, transparent 51%),
    linear-gradient(145deg, transparent 48%, rgba(31, 95, 133, 0.14) 49%, transparent 51%);
  border-radius: 50%;
}

.home-slider::after {
  right: 5vw;
  bottom: 30px;
  z-index: 1;
  width: 250px;
  height: 118px;
  opacity: 0.52;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(20, 62, 93, 0.18) 24% 26%, transparent 26% 49%, rgba(31, 95, 133, 0.2) 49% 51%, transparent 51% 74%, rgba(20, 62, 93, 0.16) 74% 76%, transparent 76%),
    linear-gradient(0deg, transparent 0 38%, rgba(31, 95, 133, 0.16) 38% 40%, transparent 40% 70%, rgba(20, 62, 93, 0.12) 70% 72%, transparent 72%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide::before,
.hero-slide::after {
  content: "";
  position: absolute;
  display: none;
  pointer-events: none;
}

.hero-slide::before {
  left: clamp(28px, 6vw, 92px);
  top: clamp(92px, 15vh, 128px);
  z-index: 1;
  width: min(48vw, 760px);
  height: min(48vh, 430px);
  border: 1px solid rgba(31, 95, 133, 0.26);
  border-radius: 26px;
  background:
    linear-gradient(90deg, #143e5d 0 56px, transparent 56px),
    radial-gradient(circle at 142px 158px, transparent 0 34px, rgba(20, 62, 93, 0.96) 35px 43px, transparent 44px),
    linear-gradient(#f3f8fb, #f3f8fb) 106px 80px / 178px 12px no-repeat,
    linear-gradient(#c9dce8, #c9dce8) 106px 106px / 122px 8px no-repeat,
    linear-gradient(#143e5d, #143e5d) 74px 205px / 230px 4px no-repeat,
    linear-gradient(#f97316, #f97316) 74px 246px / 230px 4px no-repeat,
    linear-gradient(#143e5d, #143e5d) 320px 202px / 260px 5px no-repeat,
    linear-gradient(#1f5f85, #1f5f85) 320px 244px / 215px 5px no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 38px 90px rgba(20, 62, 93, 0.2), -18px 22px 50px rgba(20, 62, 93, 0.08);
  transform: perspective(1100px) rotateY(-7deg) rotateZ(1deg);
}

.hero-slide::after {
  left: clamp(34px, 7vw, 115px);
  bottom: clamp(56px, 9vh, 92px);
  z-index: 2;
  width: 156px;
  height: 190px;
  border: 8px solid rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 50% 58%, #ffffff 0 14px, transparent 15px),
    linear-gradient(180deg, #1f5f85 0%, #143e5d 65%, #0f3048 100%);
  clip-path: polygon(50% 0, 92% 16%, 84% 70%, 50% 100%, 16% 70%, 8% 16%);
  box-shadow: 0 30px 58px rgba(20, 62, 93, 0.3);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  transform: scale(1.03);
  transition: transform 10s ease;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(247, 250, 252, 0.34) 44%, rgba(255, 255, 255, 0.94) 100%);
}

.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-top: 0;
}

.content-right {
  justify-content: flex-start;
}

.content-left {
  justify-content: flex-start;
}

.slide-copy {
  width: min(590px, 100%);
  padding: 0;
  color: var(--black);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  padding: 8px 16px;
  color: #143e5d;
  background: linear-gradient(180deg, #f7fafc 0%, #e4eef5 100%);
  border: 1px solid #c9dce8;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(20, 62, 93, 0.1);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #143e5d;
  clip-path: polygon(50% 0, 88% 15%, 78% 74%, 50% 100%, 22% 74%, 12% 15%);
}

.slide-copy h1,
.slide-copy h2 {
  margin: 0 0 17px;
  color: var(--black);
  font-size: clamp(32px, 3.7vw, 54px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0;
}

.slide-copy p {
  margin: 0 0 28px;
  color: #536a7d;
  font-size: 18px;
  font-weight: 600;
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.slide-actions .btn {
  min-width: 176px;
}

.btn {
  min-width: 205px;
  min-height: 56px;
  padding: 0 25px;
  font-size: 15px;
  box-shadow: var(--shadow-soft);
}

.btn:hover,
.login-btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #1f5f85 0%, #143e5d 100%);
  box-shadow: 0 16px 30px rgba(20, 62, 93, 0.22);
}

.btn-dark {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 62, 93, 0.38);
  box-shadow: 0 14px 28px rgba(20, 62, 93, 0.1);
}

.hero-control {
  position: absolute;
  top: 52%;
  z-index: 5;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #ffffff;
  background: linear-gradient(180deg, #1f5f85 0%, #143e5d 100%);
  border: 0;
  border-radius: 50%;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.hero-prev {
  right: 28px;
}

.hero-next {
  left: 28px;
}

.hero-dots {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 30px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  background: rgba(20, 62, 93, 0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: var(--orange);
}

.customer-logo-marquee {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  display: block;
  overflow: hidden;
  padding: 18px 0 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.66) 45%, rgba(255, 255, 255, 0.94) 100%);
  text-decoration: none;
  cursor: pointer;
}

.customer-logo-marquee-inner {
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.customer-logo-track {
  display: flex;
  width: max-content;
  animation: customerLogoMarquee 36s linear infinite;
  will-change: transform;
}

.customer-logo-marquee:hover .customer-logo-track {
  animation-play-state: paused;
}

.customer-logo-group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-inline: 9px;
}

.customer-logo {
  width: 156px;
  height: 64px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  color: var(--logo-color, #143e5d);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 95, 133, 0.18);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(20, 62, 93, 0.15);
  text-decoration: none;
  backdrop-filter: blur(12px);
  pointer-events: auto;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.customer-logo:hover,
.customer-logo-marquee:focus-visible .customer-logo {
  border-color: rgba(249, 115, 22, 0.48);
  box-shadow: 0 18px 42px rgba(20, 62, 93, 0.22);
  transform: translateY(-3px);
}

.customer-logo-marquee:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.48);
  outline-offset: -10px;
}

.customer-logo-svg {
  width: 122px;
  height: 54px;
}

.customer-logo-svg path,
.customer-logo-svg rect,
.customer-logo-svg circle {
  fill: currentColor;
}

.customer-logo-svg [stroke-width] {
  fill: none;
  stroke: currentColor;
}

.customer-logo-svg .logo-soft {
  opacity: 0.16;
}

.customer-logo-svg .logo-accent {
  color: var(--logo-accent, #f97316);
  opacity: 1;
}

.customer-logo:nth-child(6n + 1) {
  --logo-color: #143e5d;
  --logo-accent: #f97316;
}

.customer-logo:nth-child(6n + 2) {
  --logo-color: #1f5f85;
  --logo-accent: #22a6b3;
}

.customer-logo:nth-child(6n + 3) {
  --logo-color: #243b53;
  --logo-accent: #2f80ed;
}

.customer-logo:nth-child(6n + 4) {
  --logo-color: #24544a;
  --logo-accent: #16a34a;
}

.customer-logo:nth-child(6n + 5) {
  --logo-color: #5b3f82;
  --logo-accent: #f59e0b;
}

.customer-logo:nth-child(6n + 6) {
  --logo-color: #6b3a2a;
  --logo-accent: #ef4444;
}

@keyframes customerLogoMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-logo-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }

  .customer-logo-group {
    flex-wrap: wrap;
    justify-content: center;
  }

  .customer-logo-group[aria-hidden="true"] {
    display: none;
  }

  .customer-logo-marquee-inner {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.features-preview {
  position: relative;
  z-index: 3;
  padding-bottom: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fb 100%);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: -62px;
}

.feature-card,
.number-card,
.why-panel,
.testimonial-card,
.brand-strip span,
.page-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(20, 62, 93, 0.1);
}

.feature-card {
  min-height: 178px;
  padding: 25px 21px 22px;
  text-align: center;
  border-radius: 18px;
}

.card-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  color: var(--orange);
  background: #f3f8fb;
  border: 1px solid #f97316;
  border-radius: 13px;
  font-weight: 900;
}

.feature-card h2,
.feature-card h3,
.why-grid h3,
.testimonial-card h3 {
  margin: 12px 0 7px;
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
}

.feature-card p,
.why-grid p,
.testimonial-card p,
.number-card p,
.page-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.feature-card a,
.number-card a,
.page-card a {
  display: inline-flex;
  margin-top: 9px;
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
}

.numbers-section {
  padding: 56px 0 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fb 100%);
}

.section-heading {
  margin-bottom: 31px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
}

.section-heading p {
  position: relative;
  display: inline-block;
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.section-heading p::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 16px);
  width: 42px;
  height: 3px;
  background: var(--orange);
  border-radius: 999px;
}

.section-heading-row h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.section-heading-row h2::after {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--orange);
  border-radius: 999px;
}

.slider-shell {
  position: relative;
}

.number-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px;
}

.number-slider::-webkit-scrollbar {
  display: none;
}

.number-card {
  flex: 0 0 calc((100% - 75px) / 4);
  min-height: 128px;
  padding: 20px 18px 15px;
  text-align: center;
  border-radius: 13px;
}

.number-card span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 1px 11px;
  color: #0f3048;
  background: #e4eef5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.number-card h3 {
  margin: 9px 0 2px;
  color: var(--black);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--black);
  background: var(--orange-2);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 24px rgba(20, 62, 93, 0.28);
  cursor: pointer;
  transform: translateY(-50%);
  font-size: 34px;
  font-weight: 900;
}

.slider-prev {
  right: -10px;
}

.slider-next {
  left: -10px;
}

.why-section {
  padding: 18px 0 10px;
  background: var(--soft);
}

.why-panel {
  padding: 26px 26px 25px;
  border-radius: 16px;
}

.why-panel .section-heading {
  margin-bottom: 18px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
}

.why-grid article {
  min-height: 128px;
  padding: 13px 19px 9px;
  border-left: 1px solid var(--line);
}

.why-grid article:last-child {
  border-left: 0;
}

.why-icon {
  min-width: 50px;
  height: 39px;
  display: inline-grid;
  place-items: center;
  margin-inline: auto;
  padding: 0 9px;
  color: var(--black);
  border: 2px solid #f97316;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.why-grid h3 {
  margin-top: 10px;
  font-size: 16px;
}

.stats-section {
  padding: 8px 0 30px;
  background: var(--soft);
}

.stats-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  padding: 28px 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 22%, rgba(31, 95, 133, 0.2), transparent 18%),
    radial-gradient(circle at 98% 100%, rgba(20, 62, 93, 0.24), transparent 18%),
    linear-gradient(180deg, #143e5d 0%, #0b2538 100%);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.stats-bar article {
  text-align: center;
  padding: 2px 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.stats-bar article:last-child {
  border-left: 0;
}

.stats-bar strong {
  display: block;
  color: var(--orange-2);
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 900;
  line-height: 1.15;
  direction: ltr;
}

.stats-bar p {
  margin: 8px 0 0;
  color: #f3f8fb;
  font-weight: 800;
}

.testimonials-section {
  padding: 25px 0 20px;
  background: #ffffff;
}

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

.testimonial-card {
  position: relative;
  min-height: 149px;
  padding: 24px 24px 15px;
  border-radius: 13px;
}

.quote-mark {
  position: absolute;
  top: 9px;
  left: 22px;
  color: var(--orange);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
}

.customer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: linear-gradient(180deg, #e4eef5, var(--orange-2));
  border-radius: 50%;
  font-weight: 900;
}

.testimonial-card h3 {
  margin: 0;
  font-size: 15px;
}

.testimonial-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.stars {
  margin-top: 7px;
  color: var(--orange);
  font-size: 16px;
  letter-spacing: 0;
  text-align: center;
}

.brands-section {
  padding: 4px 0 31px;
  background: #ffffff;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 23px;
}

.brand-strip span {
  min-height: 57px;
  display: grid;
  place-items: center;
  color: #607184;
  border-radius: 9px;
  font-size: 21px;
  font-weight: 900;
  filter: grayscale(1);
}

.cta-section {
  position: relative;
  z-index: 2;
  padding: 0;
  background: #ffffff;
}

.cta-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  min-height: 117px;
  padding: 24px 56px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #1f5f85 0%, #143e5d 58%, #0b2538 100%);
  border-radius: 12px;
  box-shadow: 0 22px 45px rgba(20, 62, 93, 0.32);
}

.cta-box h2 {
  margin: 0 0 5px;
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 900;
  line-height: 1.35;
}

.cta-box p {
  margin: 0;
  color: #e4eef5;
  font-size: 16px;
  font-weight: 700;
}

.site-footer {
  margin-top: 0;
  padding: 58px 0 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 6% 2%, rgba(31, 95, 133, 0.18), transparent 21%),
    linear-gradient(180deg, #143e5d 0%, #0b2538 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-logo {
  margin-bottom: 17px;
}

.footer-logo img {
  width: 89px;
  height: auto;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
}

.footer-grid h2 {
  margin: 0 0 15px;
  color: var(--orange-2);
  font-size: 18px;
  font-weight: 900;
}

.footer-grid a,
.footer-grid p {
  color: #e4eef5;
  font-size: 14px;
  font-weight: 600;
}

.footer-grid a {
  display: block;
  margin: 9px 0;
}

.footer-grid p {
  margin: 8px 0;
}

.footer-about p {
  max-width: 330px;
}

.footer-about {
  grid-column: span 2;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 0;
  color: #f3f8fb;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.footer-grid span {
  color: var(--orange-2);
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 19px;
  color: #9fb0bd;
  font-size: 13px;
  font-weight: 600;
}

.footer-bottom p {
  margin: 0;
}

.page-hero {
  margin-top: 0;
  padding: 92px 0 86px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 62, 93, 0.94), rgba(20, 62, 93, 0.58)),
    url("../images/slider/slide-01.jpg") center/cover no-repeat;
}

.page-hero h1 {
  max-width: 800px;
  margin: 0 0 12px;
  font-size: clamp(33px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.45;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #f3f8fb;
  font-size: 18px;
  font-weight: 600;
}

.page-section {
  padding: 58px 0;
  background: var(--soft);
}

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

.page-card {
  min-height: 168px;
  padding: 24px;
  border-radius: 16px;
}

.page-card h2,
.page-card h3 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
}

.page-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 25px;
  font-weight: 900;
}

.page-note {
  margin-top: 24px;
  padding: 22px 26px;
  color: var(--white);
  background: linear-gradient(180deg, #0b2538, #0b2538);
  border-radius: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #f97316;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  color: #ffffff;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 28px;
  align-items: start;
}

.content-flow,
.related-links {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.content-flow {
  padding: 30px;
}

.content-flow h2 {
  margin: 34px 0 12px;
  color: var(--black);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.55;
}

.content-flow h2:first-child {
  margin-top: 0;
}

.content-flow h3 {
  margin: 24px 0 9px;
  color: var(--black);
  font-size: 21px;
  font-weight: 900;
}

.content-flow p {
  margin: 0 0 15px;
  color: #344d62;
  font-weight: 600;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  padding: 0;
  margin: 16px 0 22px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 11px 38px 11px 13px;
  color: #28445a;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 13px;
  color: var(--orange);
  font-weight: 900;
}

.content-actions,
.cta-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.related-links {
  position: sticky;
  top: 104px;
  padding: 22px;
}

.related-links h2 {
  margin: 0 0 14px;
  color: var(--black);
  font-size: 19px;
  font-weight: 900;
}

.related-links a {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 8px 13px;
  color: #1f4b67;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.faq-item summary {
  cursor: pointer;
  padding: 17px 19px;
  color: var(--black);
  font-size: 17px;
  font-weight: 900;
}

.faq-item p {
  padding: 0 19px 18px;
  margin: 0;
}

.data-note {
  margin: 24px 0 0;
  padding: 20px 22px;
  color: #28445a;
  background: #f3f8fb;
  border: 1px solid #f97316;
  border-radius: 14px;
}

.data-note strong {
  display: block;
  margin-bottom: 6px;
  color: #0f3048;
  font-weight: 900;
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.pricing-table article {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.pricing-table h3 {
  margin-top: 0;
}

.pricing-table strong {
  color: var(--orange);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #28445a;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(20, 62, 93, 0.16);
}

.code-sample {
  margin-top: 20px;
  overflow-x: auto;
  color: #f7fafc;
  background: #0b2538;
  border-radius: 14px;
}

.code-sample pre {
  margin: 0;
  padding: 20px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.8;
}

.service-strip strong {
  direction: ltr;
}

@media (max-width: 1380px) {
  .nav-menu > .nav-item > .nav-link {
    padding-inline: 9px;
    font-size: 12px;
  }

  .login-btn {
    min-height: 42px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .login-btn-secondary {
    display: none;
  }
}

@media (max-width: 1240px) {
  .menu-logo img {
    width: 28px;
  }

  .nav-menu > .nav-item > .nav-link {
    padding-inline: 8px;
    font-size: 12px;
  }

  .login-btn {
    padding-inline: 14px;
  }
}

@media (max-width: 1260px) {
  .container {
    width: min(var(--container), calc(100% - 34px));
  }

  .navbar {
    min-height: 70px;
    border-radius: 28px;
    gap: 18px;
  }

  .menu-logo img {
    width: 31px;
  }

  body.has-scrolled .menu-logo {
    width: 31px;
    max-width: 31px;
  }

  .menu-toggle {
    display: grid;
    order: 2;
  }

  .menu-logo {
    order: 1;
  }

  .nav-actions {
    order: 3;
    margin-right: auto;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 11px);
    left: 17px;
    right: 17px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    direction: rtl;
    gap: 8px;
    align-items: stretch;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding: 16px;
    background: #dee4e8;
    border: 1px solid rgba(31, 95, 133, 0.22);
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(20, 62, 93, 0.16);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu a {
    width: 100%;
    font-size: 13px;
    justify-content: flex-start;
    text-align: right;
  }

  .nav-item {
    display: block;
  }

  .nav-menu > .nav-item > .nav-link {
    justify-content: flex-start;
    direction: rtl;
  }

  .nav-menu > .has-submenu > .nav-link .submenu-indicator {
    margin-right: auto;
  }

  .submenu {
    position: static;
    width: calc(100% - 22px);
    min-width: 0;
    display: none;
    margin-top: 7px;
    margin-right: 22px;
    margin-left: 0;
    padding: 8px;
    background: #dee4e8;
    border-right: 2px solid rgba(20, 62, 93, 0.48);
    border-radius: 14px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: none;
  }

  .has-submenu.is-submenu-open .submenu {
    display: block;
  }

  .mega-menu-grid,
  .mega-links {
    grid-template-columns: 1fr;
  }

  .mega-link {
    direction: rtl;
    text-align: right;
  }

  .mega-link {
    min-height: auto;
  }

  .mega-visual {
    display: none;
  }

  .home-slider {
    min-height: 690px;
    height: auto;
  }

  .hero-slide::before {
    width: min(42vw, 520px);
    height: 340px;
    opacity: 0.72;
  }

  .hero-slide::after {
    width: 112px;
    height: 138px;
  }

  .slide-content {
    padding-block: 70px;
  }

  .feature-cards,
  .testimonial-grid,
  .brand-strip,
  .page-grid,
  .pricing-table {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .related-links {
    position: static;
  }

  .number-card {
    flex-basis: calc((100% - 25px) / 2);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid article,
  .why-grid article:last-child {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .stats-bar article:nth-child(2n) {
    border-left: 0;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .site-header {
    position: relative;
  }

  .navbar {
    gap: 9px;
    padding: 10px 12px;
  }

  .navbar.container {
    width: min(var(--container), calc(100% - 24px));
  }

  .menu-toggle {
    transform: translateX(-12px);
  }

  .logo-panel-inner {
    min-height: 72px;
    gap: 12px;
  }

  .main-logo img {
    width: 96px;
  }

  .phone-quick {
    min-height: 40px;
    gap: 7px;
    padding-inline: 10px 12px;
    font-size: 13px;
  }

  .site-search-quick,
  .support-quick {
    width: 40px;
    min-height: 40px;
  }

  .phone-quick img,
  .site-search-quick svg,
  .support-quick img {
    width: 23px;
    height: 23px;
  }

  .floating-chat {
    right: max(6px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .floating-chat-toggle {
    width: 52px;
    height: 52px;
  }

  .floating-chat-toggle img {
    width: 29px;
    height: 29px;
  }

  .floating-chat-panel {
    bottom: 66px;
    width: calc(100vw - 24px);
    border-radius: 16px;
  }

  .floating-chat-body {
    padding: 8px;
  }

  .floating-chat-frame {
    height: clamp(360px, calc(100vh - 150px), 560px);
    border-radius: 12px;
  }

  .site-search-modal {
    place-items: stretch;
    padding: 12px;
  }

  .site-search-dialog {
    max-height: calc(100dvh - 24px);
    border-radius: 18px;
  }

  .site-search-head {
    min-height: 62px;
    padding: 12px 14px;
  }

  .site-search-form {
    padding: 14px;
  }

  .site-search-results {
    padding-inline: 14px;
  }

  .floating-chat-head {
    min-height: 58px;
    padding: 10px 13px;
  }

  .menu-logo img {
    width: 27px;
  }

  body.has-scrolled .menu-logo {
    width: 27px;
    max-width: 27px;
  }

  .login-btn {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .cart-btn svg {
    width: 24px;
    height: 24px;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-menu {
    grid-template-columns: 1fr;
    left: 12px;
    right: 12px;
  }

  .home-slider {
    min-height: 720px;
    margin-top: 0;
  }

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

  .customer-logo-marquee {
    padding: 12px 0 14px;
  }

  .customer-logo-marquee-inner {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }

  .customer-logo-track {
    animation-duration: 26s;
  }

  .customer-logo-group {
    gap: 12px;
    padding-inline: 6px;
  }

  .customer-logo {
    width: 118px;
    height: 50px;
    padding: 0 11px;
    border-radius: 12px;
  }

  .customer-logo-svg {
    width: 92px;
    height: 42px;
  }

  .hero-slide img {
    height: 100%;
    opacity: 1;
  }

  .slide-content {
    align-items: end;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 72px 24px 146px;
  }

  .slide-copy {
    width: min(100%, 382px);
    max-width: calc(100vw - 48px);
    margin-inline: auto;
    padding: 25px 22px;
    border-radius: 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 95, 133, 0.22);
    box-shadow: 0 22px 48px rgba(20, 62, 93, 0.14);
    backdrop-filter: blur(14px);
  }

  .slide-copy h1,
  .slide-copy h2 {
    font-size: 26px;
    overflow-wrap: anywhere;
    letter-spacing: 0;
  }

  .eyebrow {
    margin-inline: auto;
  }

  .slide-copy p {
    font-size: 15px;
    text-align: center;
  }

  .slide-actions,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
  }

  .hero-control {
    display: none;
  }

  .feature-cards,
  .why-grid,
  .stats-bar,
  .testimonial-grid,
  .brand-strip,
  .footer-grid,
  .page-grid,
  .check-list,
  .pricing-table {
    grid-template-columns: 1fr;
  }

  .feature-cards {
    margin-top: -48px;
  }

  .numbers-section {
    padding-top: 44px;
  }

  .number-slider {
    gap: 14px;
    scroll-snap-type: x mandatory;
  }

  .number-card {
    flex-basis: 86%;
    scroll-snap-align: start;
  }

  .slider-btn {
    display: none;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .section-heading p::before,
  .section-heading-row h2::after {
    width: 30px;
  }

  .why-panel {
    padding-inline: 18px;
  }

  .why-grid article,
  .why-grid article:last-child {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .why-grid article:last-child {
    border-bottom: 0;
  }

  .stats-bar {
    padding-block: 14px;
  }

  .stats-bar article,
  .stats-bar article:nth-child(2n) {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-block: 17px;
  }

  .stats-bar article:last-child {
    border-bottom: 0;
  }

  .brand-strip {
    gap: 14px;
  }

  .cta-box {
    min-height: auto;
    padding: 28px 22px;
    text-align: center;
  }

  .site-footer {
    margin-top: 0;
    padding-top: 46px;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-about {
    grid-column: auto;
  }

  .content-flow {
    padding: 22px;
  }

  .content-flow h2 {
    font-size: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .page-hero {
    margin-top: 0;
    padding: 70px 0 58px;
  }
}

@media (max-width: 430px) {
  .main-logo img {
    width: 78px;
  }

  .header-quick-links {
    gap: 7px;
  }

  .phone-quick {
    min-height: 38px;
    padding-inline: 8px 10px;
    font-size: 12px;
  }

  .site-search-quick,
  .support-quick {
    width: 38px;
    min-height: 38px;
  }

  .phone-quick img,
  .site-search-quick svg,
  .support-quick img {
    width: 22px;
    height: 22px;
  }

  .floating-chat-panel {
    width: calc(100vw - 18px);
  }

  .floating-chat-frame {
    height: clamp(340px, calc(100vh - 145px), 540px);
  }

  .menu-logo img {
    width: 24px;
  }

  .login-btn {
    padding-inline: 10px;
  }

  .login-btn-secondary {
    display: none;
  }

  .slide-copy h1,
  .slide-copy h2 {
    font-size: 27px;
  }
}
