* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Manrope", Inter, Arial, sans-serif !important;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.hidden {
  display: none !important;
}
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.992);
  filter: blur(2px);
  will-change: transform, opacity, filter;
  transition:
    opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}
.hero-grid {
  grid-template-columns: 1fr;
}
.hero-expertise {
  display: block;
}
.nav-main {
  display: none;
}
.calc-block {
  display: grid;
  gap: 12px;
}
.package-option,
.rate-item,
.media-item {
  border: 1px solid #d9e7f7;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.rate-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}
.rate-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rate-controls input {
  width: 86px;
  border: 1px solid #cfe2f7;
  border-radius: 8px;
  padding: 6px 8px;
}
.js-media-tab {
  background: #ffffff !important;
  color: #314b67 !important;
}
.js-media-tab:hover {
  background: #f7fbff !important;
}
.js-mode.active,
.js-media-tab.active {
  background: #0a4ea7 !important;
  border-color: #0a4ea7 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 20px rgba(10, 78, 167, 0.28) !important;
}
[data-media-panel="screens"] details[open] summary > span:last-child > span:last-child {
  transform: rotate(180deg);
}
[data-media-panel="screens"] h3 {
  letter-spacing: 0;
}
.tv-live-player {
  object-fit: contain;
  opacity: 0.96;
  transition: object-fit 220ms ease, opacity 220ms ease;
}
.tv-live-player.is-ready {
  object-fit: cover;
  opacity: 1;
}
#ms-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
}
#ms-thumbs .js-ms-thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 64px;
  border: 1px solid #d7e6f7;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  opacity: 0.82;
  transition: opacity 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
#ms-thumbs .js-ms-thumb:hover {
  opacity: 1;
  transform: translateY(-1px);
}
#ms-thumbs .js-ms-thumb.is-active {
  opacity: 1;
  box-shadow: 0 10px 18px rgba(11, 78, 158, 0.34);
  outline: 2px solid #7cb4ff;
}
#ms-thumbs .js-ms-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.am-marquee-shell {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  border-top: 1px solid #d4e3f4;
  border-bottom: 1px solid #d4e3f4;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  box-shadow: 0 10px 28px rgba(10, 55, 108, 0.08);
}
.am-marquee-inner {
  display: flex;
  width: max-content;
  will-change: transform;
  transition: opacity 220ms ease-out;
  opacity: 0;
}
.am-marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: max-content;
  gap: 1.4rem;
  padding: 1.05rem 1.55rem;
}
.am-marquee-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: "Manrope", Inter, Arial, sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.03rem;
  font-weight: 800;
  color: #0a4ea7;
}
.am-marquee-item::after {
  content: "•";
  margin-left: 1.35rem;
  color: #ff3700;
  font-size: 1.1rem;
}
.am-marquee-fade-left,
.am-marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 96px;
  pointer-events: none;
  z-index: 1;
}
.am-marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, #f5f9ff 10%, transparent);
}
.am-marquee-fade-right {
  right: 0;
  background: linear-gradient(270deg, #f0f6ff 10%, transparent);
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.18fr 0.82fr;
  }
}
@media (min-width: 768px) {
  .nav-main {
    display: flex;
  }
}


#packages .js-open-package {
  will-change: transform;
}
#package-modal article {
  backdrop-filter: blur(2px);
}
.route-glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  box-shadow:
    0 10px 22px rgba(12, 44, 81, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.route-glass-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)) !important;
}
.regional-glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.2)) !important;
  border: 1px solid rgba(255, 255, 255, 0.46) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 12px 24px rgba(10, 43, 79, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.regional-glass-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.26)) !important;
}

.case-scroller {
  overflow-x: auto;
  padding: 0 4px 0;
  cursor: grab;
  user-select: none;
  scroll-snap-type: x mandatory;
  background: transparent !important;
  box-shadow: none !important;
}
.case-scroller:active {
  cursor: grabbing;
}
.case-scroller-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 1rem;
}
.case-card {
  box-shadow: none !important;
  scroll-snap-align: start;
}
.case-scroller-wrap {
  background: transparent !important;
  box-shadow: none !important;
}
#cases-dots {
  background: transparent !important;
  margin-top: 6px;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .case-scroller-track {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
}
@media (min-width: 1024px) {
  .case-scroller-track {
    grid-auto-columns: calc((100% - 2rem) / 3);
  }
}
