:root {
  --osp-header-ink: #06142e;
  --osp-header-muted: #60708b;
  --osp-header-line: #dfe7f4;
  --osp-header-blue: #2563eb;
  --osp-header-violet: #7c3aed;
}

body > .topbar,
body > .header,
body > .service-strip,
body > .all-services-menu,
.global-footer,
body > .header *,
.global-footer * {
  box-sizing: border-box;
}

.global-footer {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(24px, 4vw, 58px);
  padding: 46px clamp(22px, 6vw, 84px);
  color: #d9e5ff;
  background: #04132f;
  border: 0;
}

.global-footer > div {
  min-width: 0;
}

.global-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  color: #fff;
  text-decoration: none;
}

.global-footer .footer-brand img {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.global-footer h3,
.global-footer h4,
.global-footer p {
  margin-top: 0;
}

.global-footer h3 {
  margin-bottom: 2px;
  color: #fff;
  font-size: 19px;
  line-height: 1.15;
}

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

.global-footer p {
  color: #b9c8e6;
  font-size: 14px;
  line-height: 1.9;
}

.global-footer a {
  color: inherit;
  text-decoration: none;
}

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

.global-footer .follow {
  margin-top: 18px;
}

.global-footer .socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.global-footer .socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
}

body > .topbar {
  min-height: 42px;
  background: linear-gradient(90deg, #063ed2, #6a32f4 52%, #071735);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 24px;
  font-size: 14px;
}

body > .topbar small {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 5px 12px;
  border-radius: 999px;
}

body > .topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

body > .header {
  width: 100%;
  max-width: none;
  min-height: auto;
  margin: 0;
  background: rgba(6, 20, 46, .98);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 16px clamp(22px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  border-radius: 0;
  backdrop-filter: blur(12px);
  transform: translateZ(0);
}

body > .header .brand {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

body > .header .brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
}

body > .header .brand h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

body > .header .brand p {
  margin: 2px 0 0;
  color: #bed0f3;
  font-size: 14px;
  font-weight: 500;
}

body > .header .search {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  margin: 0;
  overflow: visible;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 18px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(37, 99, 235, .85), rgba(124, 58, 237, .85)) border-box;
  box-shadow: 0 14px 34px rgba(2, 6, 23, .16), inset 0 1px 0 rgba(255, 255, 255, .85);
  z-index: 40;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body > .header .search:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .25), 0 0 0 4px rgba(91, 77, 255, .12);
}

body > .header .search select,
body > .header .search input {
  min-width: 0;
  border: 0;
  outline: 0;
}

body > .header .search select {
  flex: 0 0 80px;
  width: 80px;
  height: 52px;
  padding: 0 10px;
  color: #071735;
  border-radius: 17px 0 0 17px;
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
  border-right: 1px solid rgba(223, 231, 244, .95);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}

body > .header .search input {
  flex: 1;
  height: 52px;
  padding: 0 18px;
  color: var(--osp-header-ink);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

body > .header .search input::placeholder {
  color: #7788a8;
  font-weight: 650;
}

body > .header .search > button {
  flex: 0 0 54px;
  width: 54px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  padding: 0;
  margin-right: 5px;
  color: #fff;
  background: linear-gradient(135deg, var(--osp-header-blue), var(--osp-header-violet));
  box-shadow: 0 10px 22px rgba(37, 99, 235, .26);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

body > .header .search > button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(124, 58, 237, .32);
}

body > .header .search-results-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  display: none;
  max-height: 420px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid rgba(217, 226, 244, .95);
  border-radius: 22px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 60px rgba(2, 6, 23, .18);
  backdrop-filter: blur(18px);
}

body > .header .search-results-panel.open {
  display: grid;
  gap: 14px;
}

body > .header .search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 2px 8px;
  border-bottom: 1px solid #edf2fb;
}

body > .header .search-panel-head b,
body > .header .search-panel-head span {
  display: block;
}

body > .header .search-panel-head b {
  color: #06142e;
  font-size: 15px;
  font-weight: 950;
}

body > .header .search-panel-head span {
  margin-top: 3px;
  color: #71809b;
  font-size: 12px;
  font-weight: 750;
}

body > .header .search-panel-head button {
  flex: 0 0 auto;
  width: auto;
  height: 38px;
  min-width: 92px;
  margin: 0;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

body > .header .search-panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
}

body > .header .search-panel-main,
body > .header .search-panel-side {
  min-width: 0;
}

body > .header .search-panel-side {
  display: grid;
  align-content: start;
  gap: 8px;
  border-left: 1px solid #edf2fb;
  padding-left: 14px;
}

body > .header .search-panel-label {
  display: block;
  margin: 0 0 8px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body > .header .search-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

body > .header .search-result-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  border: 1px solid #e7eefb;
  border-radius: 18px;
  padding: 12px;
  color: #071735;
  background: linear-gradient(135deg, #fff, #f7faff);
  text-align: left;
  cursor: pointer;
}

body > .header .search-result-card .search-result-action {
  grid-column: 2;
  width: fit-content;
  margin-top: 7px;
}

body > .header .search-result-list {
  display: grid;
  gap: 8px;
}

body > .header .search-result-item {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid #edf2fb;
  border-radius: 16px;
  padding: 10px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  color: #071735;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

body > .header .search-result-item:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, .22);
  background: #f8fbff;
}

body > .header .search-result-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--osp-header-blue), var(--osp-header-violet));
}

body > .header .search-result-copy {
  min-width: 0;
}

body > .header .search-result-copy b,
body > .header .search-result-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body > .header .search-result-copy b {
  color: #06142e;
  font-size: 14px;
}

body > .header .search-result-copy small {
  margin-top: 3px;
  color: #60708b;
  font-size: 12px;
}

body > .header .search-result-action {
  border-radius: 999px;
  padding: 7px 10px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 900;
}

body > .header .search-chip {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  border: 1px solid #edf2fb;
  border-radius: 999px;
  padding: 0 12px;
  color: #293957;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

body > .header .search-chip i {
  color: #2563eb;
}

body > .header .search-help-card {
  margin-top: 6px;
  border: 1px solid #e4eafe;
  border-radius: 18px;
  padding: 14px;
  color: #53627a;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
  font-size: 12px;
  line-height: 1.45;
}

body > .header .search-help-card b,
body > .header .search-help-card span {
  display: block;
}

body > .header .search-help-card b {
  margin-bottom: 5px;
  color: #071735;
  font-size: 13px;
}

body > .header .search-empty {
  padding: 18px;
  color: #60708b;
  font-size: 13px;
  text-align: center;
}

body > .header .search-empty b,
body > .header .search-empty span {
  display: block;
}

body > .header .head-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #bed0f3;
  font-size: 14px;
  white-space: nowrap;
}

body > .header .head-icons button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: auto;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  padding: 10px 12px;
  color: #d8e5ff;
  background: rgba(255, 255, 255, .08);
  font-weight: 800;
}

body > .header .head-icons button:hover {
  background: rgba(255, 255, 255, .14);
}

body > .header .head-icons b,
body > .header .mobile-menu b {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--osp-header-blue);
  font-size: 12px;
}

body > .header .mobile-menu-btn,
body > .header .mobile-menu {
  display: none;
}

body > .service-strip {
  position: relative;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 60px;
  padding: 0 clamp(22px, 5vw, 64px);
  background: #fff;
  border-top: 1px solid var(--osp-header-line);
  border-bottom: 1px solid var(--osp-header-line);
  overflow: visible;
}

body > .service-strip a,
body > .service-strip .strip-dropdown-toggle {
  position: relative;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 0;
  padding: 0 14px;
  color: #465166;
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

body > .service-strip a:hover,
body > .service-strip .strip-dropdown:hover .strip-dropdown-toggle,
body > .service-strip .strip-dropdown-toggle:focus-visible {
  color: var(--osp-header-blue);
  background: #f7faff;
}

body > .service-strip a.active {
  color: var(--osp-header-ink);
  font-weight: 800;
}

body > .service-strip a.active::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--osp-header-blue), var(--osp-header-violet));
}

body > .service-strip .strip-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

body > .service-strip .strip-dropdown-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 6px;
  min-width: 290px;
  border: 1px solid rgba(214, 224, 241, .95);
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, .98);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}

body > .service-strip .strip-dropdown:hover .strip-dropdown-menu,
body > .service-strip .strip-dropdown:focus-within .strip-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

body > .service-strip .more-dropdown .strip-dropdown-menu {
  right: 0;
  left: auto;
  transform: translateY(8px);
}

body > .service-strip .more-dropdown:hover .strip-dropdown-menu,
body > .service-strip .more-dropdown:focus-within .strip-dropdown-menu {
  transform: translateY(0);
}

body > .service-strip .strip-dropdown-menu a {
  min-height: auto;
  border-radius: 12px;
  padding: 10px 12px;
  color: #27364e;
  background: #f8fbff;
  font-size: 13px;
  font-weight: 800;
}

body > .service-strip .strip-dropdown-menu a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--osp-header-blue), var(--osp-header-violet));
}

body > .all-services-menu {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 26px clamp(22px, 5vw, 64px);
  background: #fff;
  border-bottom: 1px solid var(--osp-header-line);
}

body > .all-services-menu.open,
body > .service-strip:has(.all-items-trigger:hover) + .all-services-menu,
body > .all-services-menu:hover {
  display: grid;
}

body > .all-services-menu .all-service-group {
  border: 1px solid var(--osp-header-line);
  border-radius: 14px;
  padding: 16px;
  background: #f8fbff;
}

body > .all-services-menu .all-service-group h3 {
  margin: 0 0 10px;
  color: var(--osp-header-ink);
  font-size: 16px;
}

body > .all-services-menu .all-service-group a {
  display: block;
  padding: 7px 0;
  color: var(--osp-header-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

body > .all-services-menu .all-service-group a:hover {
  color: var(--osp-header-blue);
}

@media (max-width: 900px) {
  body > .topbar,
  body > .service-strip {
    display: none;
  }

  body > .header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
  }

  body > .header .brand {
    min-width: 0;
  }

  body > .header .brand img {
    width: 50px;
    height: 50px;
  }

  body > .header .brand h2 {
    font-size: 17px;
  }

  body > .header .brand p,
  body > .header .head-icons {
    display: none;
  }

  body > .header .mobile-menu-btn {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .10);
    font-size: 20px;
  }

  body > .header .mobile-menu {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
  }

  body > .header .mobile-menu.open {
    display: grid;
  }

  body > .header .mobile-menu button,
  body > .header .mobile-language {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 11px;
    padding: 0 14px;
    color: #fff;
    background: rgba(255, 255, 255, .10);
    font-weight: 800;
  }

  body > .header .mobile-menu button {
    justify-content: space-between;
  }

  body > .header .mobile-language select {
    flex: 1;
    min-width: 0;
    border: 0;
    color: #fff;
    background: transparent;
    font-weight: 800;
    outline: 0;
  }

  body > .header .mobile-language select option {
    color: #000;
  }

  body > .header .search {
    min-height: 48px;
    grid-column: 1 / -1;
    border-radius: 16px;
  }

  body > .header .search select {
    display: none;
  }

  body > .header .search input {
    height: 48px;
    padding: 0 12px;
    font-size: 13px;
  }

  body > .header .search input::placeholder {
    color: #7b8aa7;
    font-size: 12px;
  }

  body > .header .search > button {
    flex: 0 0 46px;
    width: 46px;
    height: 40px;
    border-radius: 12px;
  }

  body > .header .search-results-panel {
    top: calc(100% + 8px);
    max-height: 360px;
    border-radius: 18px;
    padding: 8px;
  }

  body > .header .search-result-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    padding: 9px;
  }

  body > .header .search-result-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  body > .header .search-result-action {
    display: none;
  }

  body > .header .search-panel-head {
    align-items: flex-start;
  }

  body > .header .search-panel-head button {
    min-width: 78px;
    height: 34px;
    padding: 0 12px;
  }

  body > .header .search-panel-layout {
    grid-template-columns: 1fr;
  }

  body > .header .search-panel-side {
    border-left: 0;
    border-top: 1px solid #edf2fb;
    padding: 12px 0 0;
  }

  body > .header .search-card-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body > .header .search-result-card {
    grid-template-columns: 38px minmax(0, 1fr);
    border-radius: 15px;
    padding: 10px;
  }

  body.mobile-search-sticky > .header {
    display: block;
    padding: 8px 12px;
    background: rgba(6, 20, 46, .98);
  }

  body.mobile-search-sticky > .header .brand,
  body.mobile-search-sticky > .header .mobile-menu-btn,
  body.mobile-search-sticky > .header .mobile-menu {
    display: none !important;
  }

  body.mobile-search-sticky > .header .search {
    width: 100%;
    grid-column: auto;
    margin: 0;
    min-height: 46px;
  }

  body.mobile-search-sticky > .header .search input,
  body.mobile-search-sticky > .header .search > button {
    height: 42px;
  }

  body > .all-services-menu {
    grid-template-columns: 1fr;
    max-height: 420px;
    overflow-y: auto;
  }
}

/* Global flat UI polish: remove drop shadows across cards, sections, modals, and shop items. */
html body *,
html body *::before,
html body *::after {
  box-shadow: none !important;
  text-shadow: none !important;
}

/* OSP v2 mobile shell: every page keeps logo left, burger right, search below. */
@media (max-width: 900px) {
  body > .header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px !important;
    grid-auto-rows: auto !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px 12px !important;
  }

  body > .header .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0 !important;
    overflow: hidden;
  }

  body > .header .brand img {
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    flex: 0 0 auto;
  }

  body > .header .brand h2 {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body > .header .mobile-menu-btn {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: grid !important;
  }

  body > .header .search {
    grid-column: 1 / -1 !important;
    grid-row: 2;
    width: 100% !important;
    margin: 0 !important;
    z-index: 1002;
  }

  body > .header .mobile-menu {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  body > .header .search-results-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 112px;
    max-height: calc(100dvh - 130px);
    z-index: 5100;
  }
}

@media (max-width: 620px) {
  body.mobile-search-sticky > .header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px !important;
    gap: 8px !important;
    padding: 8px 12px 10px !important;
  }

  body.mobile-search-sticky > .header .brand {
    display: flex !important;
  }

  body.mobile-search-sticky > .header .mobile-menu-btn {
    display: grid !important;
  }

  body.mobile-search-sticky > .header .mobile-menu {
    display: none !important;
  }

  body.mobile-search-sticky > .header .mobile-menu.open {
    display: grid !important;
  }

  body.mobile-search-sticky > .header .search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    min-height: 42px !important;
  }

  body.mobile-search-sticky > .header .search input,
  body.mobile-search-sticky > .header .search > button {
    height: 42px !important;
  }

  body > footer,
  footer {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 28px 18px 96px !important;
    text-align: center !important;
  }

  body > footer > div,
  footer > div {
    min-width: 0;
    text-align: center !important;
  }

  footer .footer-brand,
  footer .follow,
  footer .socials {
    justify-content: center !important;
  }

  footer p,
  footer h3,
  footer h4 {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
