:root {
  --font-display: "Noto Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-body: "Noto Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --color-brand: #1b4378;
  --color-brand-strong: #143660;
  --color-brand-soft: #d9e6f7;
  --color-accent: #f6a21d;
  --color-accent-soft: #ffefd4;
  --color-bg: #f3f5f9;
}

body.parent-theme {
  background: var(--color-bg);
  --container: min(1460px, 92vw);
}

body.parent-theme .container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 0;
}

.topbar-corporate {
  background: var(--color-brand-strong);
  color: #e6eefb;
}

.topbar-corporate .container {
  min-height: 2.35rem;
}

.meta-line,
.social-line {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
}

.meta-line i,
.social-line i {
  color: var(--color-accent);
}

.social-line a {
  color: #f2f7ff;
}

.parent-header {
  background: #f7f8fb;
  border-bottom: 1px solid #d8e0ed;
}

.parent-brand-row {
  min-height: 7.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.consult-box {
  text-align: right;
}

.consult-box p {
  margin-bottom: 0.3rem;
  color: var(--color-accent);
  font-weight: 800;
}

.consult-box strong {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  color: #0f1b2f;
  line-height: 1;
}

.parent-nav-wrap {
  background: #fff;
  border-bottom: 1px solid #d6ddeb;
}

.parent-nav-row {
  min-height: 3.55rem;
  display: flex;
  align-items: center;
}

.nav-icon-links {
  width: 100%;
  gap: 0.15rem;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-icon-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border-radius: 0;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  color: #5d6472;
}

.nav-icon-links a::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--color-accent);
  transition: transform 0.25s ease;
}

.nav-icon-links a i {
  color: #9ca2ad;
}

.nav-icon-links a:hover,
.nav-icon-links a.active {
  background: transparent;
  color: #121d30;
}

.nav-icon-links a:hover i,
.nav-icon-links a.active i {
  color: var(--color-accent);
}

.nav-icon-links a:hover::before,
.nav-icon-links a.active::before {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-drop-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  border-radius: 0;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  color: #5d6472;
  cursor: pointer;
}

.nav-drop-toggle::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--color-accent);
  transition: transform 0.25s ease;
}

.nav-drop-toggle i {
  color: #9ca2ad;
}

.nav-dropdown:hover .nav-drop-toggle,
.nav-dropdown.active .nav-drop-toggle,
.nav-dropdown.open .nav-drop-toggle {
  color: #121d30;
}

.nav-dropdown:hover .nav-drop-toggle i,
.nav-dropdown.active .nav-drop-toggle i,
.nav-dropdown.open .nav-drop-toggle i {
  color: var(--color-accent);
}

.nav-dropdown:hover .nav-drop-toggle::before,
.nav-dropdown.active .nav-drop-toggle::before,
.nav-dropdown.open .nav-drop-toggle::before {
  transform: scaleX(1);
}

.drop-caret {
  font-size: 0.75rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  min-width: 17.8rem;
  background: #fff;
  border: 1px solid #d7dfec;
  border-radius: 0.45rem;
  box-shadow: 0 20px 35px rgba(11, 31, 61, 0.18);
  padding: 0.35rem 0;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-mega {
  min-width: 52rem;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  border: 1px solid #d9e1ef;
  border-radius: 0.45rem;
  padding: 0.55rem;
  background: #fff;
  color: #1b2f4b;
}

.mega-item i {
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 0.15rem;
}

.mega-item span {
  display: grid;
  gap: 0.15rem;
}

.mega-item span strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.mega-item span small {
  color: #627086;
  font-size: 0.77rem;
  line-height: 1.2;
}

.mega-item:hover {
  background: #f5f8fd;
}

.mega-overview {
  background: #ecf3ff;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: #22334a;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-dropdown-menu a::before {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: #eef3fb;
  color: #12284a;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-modern {
  padding: 0;
  margin-bottom: 2rem;
}

.hero-modern-shell {
  --hero-split: clamp(2.6rem, 4.8vw, 4.4rem);
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #0f2e57;
  box-shadow: 0 24px 44px rgba(13, 36, 72, 0.16);
  aspect-ratio: 24 / 9;
  min-height: 18rem;
  max-height: 31rem;
}

.modern-slide {
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  height: 100%;
}

.modern-slide.is-active {
  display: grid;
}

.modern-panel {
  position: relative;
  z-index: 2;
  background: var(--color-brand-strong);
  color: #f5f8ff;
  padding-block: clamp(1.5rem, 3.2vw, 2.35rem);
  padding-left: clamp(1.9rem, 4.6vw, 4.2rem);
  padding-right: calc(clamp(1.35rem, 2.8vw, 2.8rem) + var(--hero-split));
  margin-right: calc(-1 * var(--hero-split));
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--hero-split)) 100%, 0 100%);
  display: grid;
  align-content: center;
  gap: 1rem;
  text-align: left;
}

.modern-panel .kicker {
  background: rgba(255, 255, 255, 0.1);
  color: #dce9fb;
}

.modern-panel h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.65vw, 2.75rem);
  line-height: 1.08;
  text-transform: uppercase;
  max-width: 18ch;
}

.modern-panel p {
  margin: 0;
  color: #d7e4f7;
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.08vw, 1.08rem);
  line-height: 1.5;
}

.modern-media {
  position: relative;
  z-index: 1;
  background: #0f2e57;
  height: 100%;
  overflow: hidden;
}

.modern-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.45rem;
  background: rgba(22, 55, 97, 0.88);
  color: #f1f6ff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 6;
}

.slide-prev {
  left: 0.75rem;
}

.slide-next {
  right: 0.75rem;
}

.modern-dots {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  display: flex;
  gap: 0.45rem;
  z-index: 6;
}

.modern-dots button {
  width: 1.4rem;
  height: 0.3rem;
  border-radius: 100vmax;
  border: 0;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.modern-dots button.active {
  background: var(--color-accent);
}

.quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  gap: var(--space-4);
  align-items: center;
}

.quick-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.quick-card {
  background: #fff;
  border: 1px solid #d6ddeb;
  border-radius: 0.45rem;
  overflow: hidden;
  box-shadow: 0 14px 25px rgba(20, 51, 93, 0.09);
}

.quick-card img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
}

.quick-card h3 {
  padding: 0.9rem 0.95rem 0;
}

.quick-card p {
  margin: 0;
  padding: 0 0.95rem 1rem;
  font-weight: 600;
  color: #1e2d43;
}

.quick-card p i {
  color: var(--color-accent);
}

.callout-card {
  background: #fff;
  border: 1px solid #d6ddeb;
  border-left: 5px solid var(--color-brand);
  border-radius: 0.55rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 16px 32px rgba(16, 39, 69, 0.11);
}

.callout-card span {
  font-size: 1.1rem;
  color: var(--color-accent);
  font-weight: 800;
}

.callout-card h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-lite {
  background: linear-gradient(180deg, #eef2f8, #f8faff);
}

.icon-chip {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  color: #d17d00;
  font-size: 1rem;
}

.portfolio-card {
  display: grid;
  gap: 0.8rem;
}

.portfolio-card .btn {
  justify-self: start;
}

.promo-card {
  background: linear-gradient(145deg, #183e71, #1f4c87);
  color: #eef4ff;
}

.promo-card p {
  color: #d2e1f8;
}

.promo-card .icon-chip {
  background: rgba(246, 162, 29, 0.18);
  color: #ffc25f;
}

.motion-section {
  padding-top: 1rem;
}

.motion-strip {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid #d8dfec;
  border-bottom: 1px solid #d8dfec;
  background: #fff;
}

.motion-track {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0;
  animation: move-services 26s linear infinite;
}

.motion-track span {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 100vmax;
  background: #ecf3ff;
  color: #1b3d71;
  border: 1px solid #cedaf0;
  font-size: 0.86rem;
  font-weight: 700;
}

.nav-tools {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-divider {
  color: #c2c8d2;
  padding: 0 0.45rem;
  font-weight: 400;
}

.icon-btn {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: #8d95a2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  cursor: pointer;
}

.icon-btn:hover {
  background: #f0f4fb;
  color: #1b3354;
}

.search-panel {
  background: #f2f6fc;
  border-bottom: 1px solid #d8dfeb;
}

.search-panel-inner {
  min-height: 3.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-panel-inner form {
  flex: 1;
}

.search-panel-inner input {
  border: 1px solid #ced8e9;
  background: #fff;
  font-size: 0.97rem;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(22rem, 92vw);
  height: 100dvh;
  background: #fff;
  border-left: 1px solid #d5deeb;
  box-shadow: -16px 0 30px rgba(15, 36, 64, 0.2);
  z-index: 160;
  padding: 1rem;
  transform: translateX(102%);
  transition: transform 0.24s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.cart-drawer-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.cart-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.cart-drawer li a {
  display: block;
  padding: 0.58rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid #d8dfea;
  color: #223a5d;
  font-weight: 700;
}

.cart-drawer li a:hover {
  background: #eff5ff;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 48, 0.45);
  z-index: 150;
}

@keyframes move-services {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.blue-divider {
  background: linear-gradient(110deg, #1d3f72, #223e6a);
  color: #f0f5ff;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.divider-content {
  text-align: center;
}

.divider-content p {
  margin-bottom: 0.2rem;
  color: var(--color-accent);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
}

.divider-content h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
}

.page-hero {
  background: linear-gradient(125deg, #1b4378, #214e87);
  color: #f0f5ff;
  padding: clamp(2.8rem, 7vw, 5.5rem) 0;
}

.page-hero p {
  color: #d8e6fa;
  max-width: 65ch;
}

.page-hero .kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #e7f0ff;
}

.page-hero h1 {
  max-width: 20ch;
}

.section-head h2 {
  color: #132947;
}

.section-head p {
  color: #58657a;
}

.card h3 i {
  color: var(--color-accent);
}

.contact-layout {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 0.86fr 1.14fr;
}

.site-footer {
  background: #1f3e6e;
}

.footer-logo {
  width: min(220px, 100%);
  height: auto;
}

@media (max-width: 1080px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .parent-nav-row {
    position: relative;
  }

  .nav-icon-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: auto;
    width: min(92vw, 24rem);
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    max-height: min(48vh, 20rem);
    overflow-y: auto;
    border: 1px solid #d6dfed;
    border-radius: 0.6rem;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 36, 64, 0.2);
    z-index: 180;
  }

  .nav-icon-links.open {
    display: flex;
  }

  .nav-icon-links > a,
  .nav-icon-links .nav-dropdown,
  .nav-icon-links .nav-tools {
    width: 100%;
  }

  .nav-drop-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-icon-links a,
  .nav-drop-toggle {
    padding: 0.72rem 0.82rem;
    font-size: 0.9rem;
  }

  .nav-icon-links a i,
  .nav-drop-toggle > i:first-child {
    font-size: 0.9rem;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border: 0;
    border-left: 2px solid #d5dff0;
    border-radius: 0;
    box-shadow: none;
    margin-left: 0.55rem;
    display: none;
  }

  .nav-mega {
    min-width: 0;
    grid-template-columns: 1fr;
    padding: 0.4rem 0;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-tools {
    margin-left: 0;
    padding: 0.35rem 0.72rem 0.6rem;
    justify-content: flex-start;
    gap: 0.4rem;
    border-top: 1px solid #edf2f9;
  }

  .parent-brand-row {
    min-height: auto;
    padding: 1rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .consult-box {
    text-align: left;
  }

  .modern-slide {
    grid-template-columns: 1fr;
    height: auto;
  }

  .modern-panel {
    clip-path: none;
    margin-right: 0;
    padding-left: clamp(1.15rem, 3vw, 2.1rem);
    padding-right: clamp(1.15rem, 3vw, 2.1rem);
    padding-bottom: 2.6rem;
  }

  .modern-media {
    min-height: 16rem;
    height: 16rem;
  }

  .quick-card-grid {
    grid-template-columns: 1fr;
  }

  .grid.three {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .slide-arrow {
    width: 2.2rem;
    height: 2.2rem;
  }

  .hero-modern-shell {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
  }

  .meta-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .social-line {
    align-self: flex-end;
  }

  .motion-track {
    animation-duration: 19s;
  }
}
