.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 26px !important;
  min-height: 106px;
  padding: 0 26px !important;
  overflow: hidden;
  border-bottom: 0 !important;
  background: rgba(3, 47, 57, 0.94) !important;
  box-shadow: 0 16px 34px rgba(3, 41, 50, 0.22) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  transition:
    transform 320ms ease,
    opacity 220ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

.topbar.is-scroll-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(-100% - 14px), 0);
}

.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 34%, rgba(255, 255, 255, 0.22) 43%, rgba(52, 204, 197, 0.16) 49%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.12), transparent 26%);
  opacity: 0.62;
  transform: translateX(-42%);
  animation: detail-topbar-shimmer 5.5s ease-in-out infinite;
}

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

.topbar .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #062f39;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.topbar .brand img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.topbar .brand-header {
  gap: 12px;
}

.topbar .brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  line-height: 1;
}

.topbar .brand-company,
.topbar .brand-service {
  display: block;
  margin: 0;
  line-height: 1;
}

.topbar .brand-company {
  color: var(--gold, #f2c51e);
  font-size: 17px;
  font-weight: 950;
}

.topbar .brand-service {
  color: #fff;
  font-size: 25px;
  font-weight: 950;
}

.detail-main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 18px;
  margin-left: 12px;
}

.detail-main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.detail-main-nav a:hover,
.detail-main-nav a:focus-visible {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.phone-link svg,
.language-button svg {
  color: #d7f8f5;
}

.phone-stack {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.phone-stack span {
  display: block;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.icon-button svg,
.header-cta svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.language-button {
  position: relative;
  width: auto;
  min-width: 108px;
  height: 50px;
  gap: 8px;
  padding: 0 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(3, 47, 57, 0.26);
  box-shadow:
    0 10px 24px rgba(2, 35, 43, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: #fff;
}

.language-button::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 180ms ease;
}

.language-button > * {
  position: relative;
  z-index: 1;
}

.language-button .language-current,
.language-button .language-target {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
}

.language-button .language-current {
  display: grid;
  place-items: center;
  min-width: 29px;
  min-height: 28px;
  border-radius: 6px;
  background: #fff;
  color: #073d48;
}

.language-button .language-target {
  color: rgba(255, 255, 255, 0.78);
}

.language-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.32);
}

.language-button:hover,
.language-button:focus-visible {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(52, 204, 197, 0.14)),
    rgba(3, 47, 57, 0.34);
}

.language-button:hover::before,
.language-button:focus-visible::before {
  opacity: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 66px;
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #073d48;
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--gold, #f2c51e);
  color: #062f39;
}

.hidden-page-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 92px 20px 24px;
  background:
    radial-gradient(circle at 12% 12%, rgba(52, 204, 197, 0.3), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(242, 197, 30, 0.18), transparent 22%),
    radial-gradient(circle at 52% 100%, rgba(52, 204, 197, 0.2), transparent 28%),
    linear-gradient(135deg, #031d25 0%, #06414d 48%, #02151c 100%);
  color: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.hidden-page-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(105deg, transparent 0 30%, rgba(255, 255, 255, 0.1) 42%, rgba(52, 204, 197, 0.22) 48%, rgba(242, 197, 30, 0.1) 54%, transparent 66% 100%),
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, 0.16) 44% 45%, transparent 45% 100%),
    linear-gradient(25deg, transparent 0 46%, rgba(52, 204, 197, 0.18) 46% 47%, transparent 47% 100%),
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.14) 18% 18.4%, transparent 18.4% 100%);
  background-position: -80% 0, 0 0, 0 0, 0 0;
  background-size: 78% 100%, 340px 340px, 420px 420px, 620px 100%;
  filter: blur(0.2px);
  animation: hidden-footer-light-sweep 12s ease-in-out infinite;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 82%);
}

.hidden-page-footer::after {
  content: "";
  position: absolute;
  inset: 24px 20px auto;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(52, 204, 197, 0.72), rgba(255, 255, 255, 0.3), transparent);
}

.hidden-footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.3fr;
  gap: 64px;
  max-width: 1840px;
  margin: 0 auto;
}

.hidden-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-decoration: none;
}

.hidden-footer-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.hidden-footer-logo span {
  display: block;
  line-height: 1;
}

.hidden-footer-company {
  color: var(--gold, #f2c51e);
  font-size: 23px;
  font-weight: 950;
}

.hidden-footer-service {
  margin-top: 5px;
  color: #fff;
  font-size: 40px;
  font-weight: 950;
}

.hidden-footer-brand p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.hidden-footer-brand svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
}

.hidden-footer-nav,
.hidden-footer-services,
.hidden-footer-contact-links {
  display: grid;
  align-content: start;
  gap: 20px;
}

.hidden-page-footer a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: color 180ms ease;
}

.hidden-page-footer a:hover,
.hidden-page-footer a:focus-visible {
  color: var(--teal, #34ccc5);
}

.hidden-footer-contact-links {
  gap: 12px;
  margin-bottom: 26px;
}

.hidden-footer-contact-links a {
  display: block;
  color: #fff;
  font-size: 26px;
  line-height: 1.18;
  white-space: nowrap;
}

.hidden-footer-contact-links .hidden-footer-email {
  font-size: 18px;
}

.hidden-footer-social {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
}

.hidden-footer-social a {
  color: var(--teal, #34ccc5);
  font-size: 18px;
  font-weight: 900;
}

.hidden-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1840px;
  min-height: 106px;
  margin: 125px auto 0;
  padding: 0 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.hidden-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.hidden-footer-top-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #126f80;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(3, 41, 50, 0.25);
}

.hidden-footer-top-button svg {
  width: 32px;
  height: 32px;
}

@keyframes hidden-footer-light-sweep {
  0%,
  28% {
    background-position: -80% 0, 0 0, 0 0, 0 0;
  }

  64% {
    background-position: 120% 0, 90px 0, -80px 0, 180px 0;
  }

  100% {
    background-position: 150% 0, 120px 0, -120px 0, 240px 0;
  }
}

.reference-card {
  border-color: rgba(49, 202, 197, 0.42) !important;
  background:
    radial-gradient(circle at 86% 10%, rgba(74, 222, 216, 0.28), transparent 34%),
    linear-gradient(150deg, #063743 0%, #0b5c6d 52%, #073d48 100%) !important;
  color: #fff !important;
  box-shadow: 0 28px 78px rgba(3, 41, 50, 0.22) !important;
}

.reference-card h2 {
  color: #fff !important;
}

.reference-card p,
.reference-card li,
.reference-card a {
  color: rgba(255, 255, 255, 0.88) !important;
}

.reference-card li::marker {
  color: var(--aqua, #31cac5);
  font-weight: 900;
}

@keyframes detail-topbar-shimmer {
  0%,
  42% {
    transform: translateX(-42%);
  }

  78%,
  100% {
    transform: translateX(42%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar {
    transition: none;
  }

  .topbar::before,
  .hidden-page-footer::before {
    animation: none;
  }
}

@media (max-width: 1700px) {
  .phone-link .phone-stack {
    display: none;
  }
}

@media (max-width: 1180px) {
  .topbar {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 16px !important;
    min-height: 0;
    padding: 18px !important;
  }

  .detail-main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .header-actions {
    width: 100%;
    margin-left: 0;
  }

  .hidden-footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 82px;
    gap: 12px !important;
    padding: 0 14px !important;
  }

  .topbar .brand {
    gap: 8px;
    min-width: 0;
    white-space: normal;
  }

  .topbar .brand-header .brand-text {
    max-width: 170px;
  }

  .topbar .brand-header .brand-company {
    font-size: 13px;
    line-height: 1.05;
  }

  .topbar .brand-header .brand-service {
    font-size: 20px;
    line-height: 1.05;
  }

  .topbar .brand img {
    width: 35px;
    height: 35px;
  }

  .detail-main-nav {
    grid-column: 1 / -1;
  }

  .header-actions {
    display: flex;
    justify-self: end;
    margin-left: 0;
  }

  .header-cta,
  .phone-link,
  .search-button,
  .language-button {
    display: none;
  }

  .hidden-page-footer {
    padding: 64px 16px 18px;
  }

  .hidden-footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hidden-footer-service {
    font-size: 30px;
  }

  .hidden-footer-brand p,
  .hidden-page-footer a {
    font-size: 18px;
  }

  .hidden-footer-contact-links a {
    font-size: 23px;
  }

  .hidden-footer-contact-links .hidden-footer-email {
    font-size: 17px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hidden-footer-bottom {
    min-height: 92px;
    margin-top: 58px;
    padding: 18px 18px;
  }

  .hidden-footer-bottom p {
    font-size: 15px;
  }

  .hidden-footer-top-button {
    width: 54px;
    height: 54px;
  }
}
