:root {
  --navy: #06164d;
  --navy-2: #0b215d;
  --orange: #ff5a0a;
  --orange-2: #ff7a18;
  --ink: #07133f;
  --muted: #5d6785;
  --line: #e8ecf4;
  --paper: #ffffff;
  --soft: #f7f9fd;
  --shadow: 0 18px 40px rgba(7, 19, 63, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 42px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(232,236,244,.78);
  backdrop-filter: blur(16px);
}
.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo img {
  width: auto;
  height: 82px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  font-weight: 800;
  font-size: 14px;
}
.nav-links a { position: relative; }
.nav-links a:hover, .nav-links a.is-active { color: var(--orange); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 7px;
  font-weight: 900;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 14px 24px rgba(255, 90, 10, .22);
}
.btn-secondary { color: var(--navy); background: #fff; border-color: var(--navy); }
.btn-dark { color: #fff; background: var(--navy); }

.hero {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(255,115,35,.19), transparent 34%), linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255,255,255,.52) 58%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-media {
  position: absolute;
  inset: 0 0 0 36%;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: min(520px, 58vw);
  min-height: 360px;
  padding-top: 92px;
}
.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: 0;
  min-height: 140px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  max-width: 500px;
  margin: 0 0 28px;
  color: var(--navy-2);
  font-size: 17px;
  font-weight: 700;
  min-height: 82px;
}
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: auto;
}
.service-icon svg, .about-card svg, .hub-tile svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slider-arrow {
  position: absolute;
  z-index: 5;
  top: 53%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 19, 63, .16);
  cursor: pointer;
}
.slider-arrow svg,
.hub-controls button svg,
.partner-carousel button svg,
.card-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slider-arrow.prev { left: 22px; }
.slider-arrow.next { right: 22px; }
.hero-dots {
  position: absolute;
  z-index: 4;
  left: calc((100% - min(1180px, calc(100% - 42px))) / 2);
  bottom: 34px;
  display: flex;
  gap: 12px;
}
.hero-dot, .hub-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
}
.hero-dot.is-active, .hub-dots button.is-active { background: var(--orange); }

.section { padding: 64px 0; }
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s ease var(--reveal-delay, 0ms),
    transform .7s ease var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.about-grid {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 42px;
  align-items: center;
}
.image-frame { position: relative; }
.image-frame::before, .image-frame::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 76px;
  background-image: radial-gradient(var(--orange) 1.5px, transparent 1.5px);
  background-size: 11px 11px;
}
.image-frame::before { left: -22px; top: 16px; }
.image-frame::after { right: -24px; bottom: 6px; }
.image-frame img {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  width: 100%;
  box-shadow: var(--shadow);
}
.section-title { text-align: center; margin-bottom: 24px; }
.section-title.left { text-align: left; margin-bottom: 22px; }
.section-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}
.section-title p { margin: 12px 0 0; color: var(--muted); }
.about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.about-card {
  min-height: 164px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(7,19,63,.08);
}
.about-card svg { color: var(--orange); width: 42px; height: 42px; }
.about-card h3 { margin: 14px 0 8px; color: var(--navy); font-size: 16px; line-height: 1.2; }
.about-card p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 650; }

.services { background: linear-gradient(#fff, #fafcff); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  min-height: 252px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7,19,63,.09);
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card img { width: 100%; height: 96px; object-fit: cover; }
.service-icon {
  position: absolute;
  left: 22px;
  top: 68px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
}
.service-copy { padding: 40px 22px 22px; }
.service-copy h3 { margin: 0 0 10px; color: var(--navy); font-size: 17px; line-height: 1.15; }
.service-copy p { margin: 0; color: var(--navy-2); font-size: 13px; font-weight: 700; }
.card-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 2px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-weight: 950;
}
.card-arrow svg { width: 15px; height: 15px; stroke-width: 2.8; }
.center-actions { display: flex; justify-content: center; margin-top: 28px; }

.hub { padding-top: 64px; }
.hub-shell {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.hub-frame { position: relative; min-height: 330px; }
.hub-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
}
.hub-slide.is-active { opacity: 1; }
.hub-slide img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.hub-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,17,66,.93) 0%, rgba(4,17,66,.78) 38%, rgba(4,17,66,.1) 72%);
}
.hub-overlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: min(560px, 60%);
  height: 100%;
  padding: 34px 48px;
  color: #fff;
}
.hub-overlay span { color: var(--orange-2); font-weight: 950; text-transform: uppercase; font-size: 13px; }
.hub-overlay h2 {
  min-height: 98px;
  margin: 8px 0 14px;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.08;
}
.hub-overlay p {
  min-height: 76px;
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  font-weight: 650;
}
.hub-slide-link {
  align-self: flex-start;
  min-width: 196px;
  margin-top: auto;
}
.hub-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  min-height: 34px;
  margin: 10px 0 22px;
  font-size: 11px;
  text-align: center;
}
.hub-controls {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hub-controls button:not(.hub-dots button) {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.14);
  cursor: pointer;
}
.hub-dots { display: flex; gap: 8px; }
.hub-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.hub-tile {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 22px;
  background: #fff;
}
.hub-tile svg { color: var(--orange); width: 34px; height: 34px; }
.hub-tile h3 { margin: 0 0 5px; font-size: 15px; color: var(--navy); }
.hub-tile p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; }

.partners { padding-top: 64px; }
.partner-carousel {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 12px;
}
.partner-carousel button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.partner-viewport {
  overflow: hidden;
}
.partner-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 14px;
}
.partner-strip::-webkit-scrollbar {
  display: none;
}
.partner-card {
  flex: 0 0 calc((100% - 48px) / 4);
  display: grid;
  place-items: center;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7,19,63,.08);
  font-size: 24px;
  font-weight: 950;
  scroll-snap-align: start;
}
.partner-card small { display: block; color: var(--muted); font-size: 11px; text-align: center; }
.partner-card.google { color: #4285f4; }
.partner-card.meta { color: #1769ff; }
.partner-card.amazon { color: #111; }
.partner-card.dhl { color: #d60909; }
.partner-card.microsoft { color: #666; }
.partner-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}
.partner-types span { border-right: 2px solid #bac2d5; }
.partner-types span:last-child { border-right: 0; }

.contact {
  padding: 64px 0 0;
}
.contact-panel {
  display: grid;
  grid-template-columns: 300px 1fr 330px;
  gap: 28px;
  width: 100%;
  margin: 0;
  padding: 28px max(28px, calc((100vw - 1180px) / 2));
  border-radius: 0;
  color: #fff;
  background: radial-gradient(circle at 86% 32%, rgba(255,90,10,.35), transparent 25%), linear-gradient(135deg, #06164d, #07113c);
  box-shadow: none;
}
.contact-panel h2 { margin: 6px 0 22px; font-size: 31px; line-height: 1.1; }
.contact-list { display: grid; gap: 7px; color: rgba(255,255,255,.92); font-weight: 700; }
.contact-list span { color: var(--orange); margin-right: 8px; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 5px;
  padding: 15px 16px;
  color: var(--navy);
  background: #fff;
  outline: none;
  font-weight: 750;
}
.contact-form textarea { grid-column: 1 / -1; min-height: 96px; resize: vertical; }
.contact-form button { grid-column: 1 / -1; justify-self: end; min-width: 280px; }
.contact-map {
  align-self: center;
  opacity: .96;
  mix-blend-mode: screen;
}
.footer {
  padding: 18px 0 24px;
  color: rgba(255,255,255,.72);
  background: #06113d;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  text-align: center;
}

.service-detail-hero {
  padding: 62px 0;
  background: linear-gradient(135deg, #fff, #f4f7ff);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 42px;
  align-items: center;
}
.detail-grid h1 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
}
.detail-grid p { color: var(--muted); font-size: 18px; font-weight: 700; }
.detail-grid img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.detail-body {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 36px;
  padding: 56px 0;
}
.detail-body h2 { margin: 0 0 12px; color: var(--navy); font-size: 30px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.gallery img { height: 170px; width: 100%; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 24px rgba(7,19,63,.1); }
.more-services {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.more-services h3 { margin: 0 0 8px; color: var(--navy); }
.more-services a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 850;
}

@media (max-width: 1020px) {
  .nav-links { gap: 18px; }
  .about-grid, .detail-grid, .detail-body, .contact-panel { grid-template-columns: 1fr; }
  .about-cards, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-tiles { grid-template-columns: repeat(2, 1fr); }
  .partner-card { flex-basis: calc((100% - 16px) / 2); }
  .contact-map { max-width: 360px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav { height: 78px; }
  .logo img { height: 62px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 22px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: grid; }
  .header-cta { display: none; }
  .hero { min-height: 720px; }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 42%, rgba(255,255,255,.25) 100%); }
  .hero-media { inset: 43% 0 0; }
  .hero-content { width: 100%; min-height: 330px; padding-top: 48px; }
  .hero h1 { min-height: 132px; }
  .hero p { min-height: 92px; }
  .services-grid, .about-cards, .hub-tiles, .partner-types, .gallery { grid-template-columns: 1fr; }
  .hub-frame { min-height: 540px; }
  .hub-overlay { width: 100%; padding: 28px; }
  .hub-overlay h2 { min-height: 96px; }
  .hub-overlay p { min-height: 126px; }
  .hub-slide img { min-height: 540px; }
  .hub-features { grid-template-columns: repeat(2, 1fr); }
  .partner-card { flex-basis: 100%; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form button { justify-self: stretch; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-slide,
  .hub-slide {
    transition: none;
  }
}
