:root {
  --navy: #17254a;
  --blue: #1b2a52;
  --orange: #f6a313;
  --orange-deep: #e36306;
  --ink: #111827;
  --muted: #687386;
  --paper: #f5f8fc;
  --line: rgba(255, 255, 255, .18);
  --shadow: 0 24px 70px rgba(13, 20, 45, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fa 48%, #fbfcff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(27, 42, 82, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 42, 82, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 70%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  background: rgba(247, 250, 254, .82);
  box-shadow: 0 18px 60px rgba(15, 25, 50, .13);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 245px;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: #303749;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 10px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav a:hover::after { transform: scaleX(1); }

.header-cta,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
}

.header-cta,
.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  box-shadow: 0 14px 28px rgba(227, 99, 6, .22);
}

.secondary {
  color: var(--blue);
  border: 1px solid rgba(27, 42, 82, .18);
  background: rgba(255, 255, 255, .72);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: 54px;
  padding: 138px max(24px, calc((100vw - 1160px) / 2)) 76px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  right: 0;
  top: 120px;
  width: 42vw;
  height: 68vh;
  background:
    linear-gradient(135deg, rgba(246, 163, 19, .18), rgba(27, 42, 82, .04)),
    repeating-linear-gradient(135deg, rgba(27, 42, 82, .10) 0 1px, transparent 1px 18px);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  margin: 18px 0 22px;
  max-width: 690px;
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: .95;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: #596476;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-visual img {
  position: relative;
  z-index: 3;
  width: min(470px, 82vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 74px;
  width: 170px;
  height: 170px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

.brand-block {
  position: absolute;
  border-radius: 8px;
  z-index: 4;
  box-shadow: 0 20px 38px rgba(10, 62, 95, .18);
}

.brand-block.blue {
  width: 94px;
  height: 94px;
  top: 86px;
  left: 88px;
  background: var(--blue);
}

.brand-block.orange {
  width: 88px;
  height: 88px;
  top: 176px;
  left: 0;
  background: var(--orange);
}

.floating-note {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 102px;
  width: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  color: #fff;
  background: rgba(27, 42, 82, .9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.floating-note strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.floating-note span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.5;
}

.service-strip {
  overflow: hidden;
  padding: 18px 0;
  color: #fff;
  background: var(--navy);
}

.strip-track {
  width: max-content;
  display: flex;
  gap: 42px;
  animation: marquee 24s linear infinite;
}

.strip-track span {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.intro {
  max-width: 920px;
  margin: 0 auto;
  padding: 100px 24px 34px;
  text-align: center;
}

.intro.compact {
  padding: 0;
  text-align: left;
}

.intro h2,
.references h2,
.cta h2 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.intro p,
.cta p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.showcase {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 70px;
}

.service-panel {
  position: sticky;
  top: 106px;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(330px, .75fr);
  gap: 44px;
  align-items: center;
  margin: 0 0 52px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 28px 80px rgba(15, 24, 56, .11);
  backdrop-filter: blur(18px);
}

.service-panel.reverse {
  grid-template-columns: minmax(330px, .75fr) minmax(0, .95fr);
}

.service-panel.reverse .service-media { order: 2; }

.service-media {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
}

.service-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  z-index: 2;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 42, 82, .02), rgba(27, 42, 82, .32));
  z-index: 1;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s ease;
}

.service-panel.visible .service-media img { transform: scale(1); }

.service-copy { padding: 10px 0; }

.service-copy > span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.service-copy h2 {
  margin: 22px 0 18px;
  font-size: clamp(36px, 4.8vw, 66px);
  line-height: .95;
}

.service-copy p {
  color: #596476;
  font-size: 17px;
  line-height: 1.8;
}

.service-copy ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.service-copy li {
  position: relative;
  padding-left: 28px;
  color: #343c4f;
  font-weight: 700;
}

.service-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(246, 163, 19, .16);
}

.process {
  padding: 94px max(24px, calc((100vw - 1160px) / 2));
  background: linear-gradient(135deg, #111a34, #1b2a52);
  color: #fff;
}

.process .eyebrow { color: #fff; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.process-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}

.process-grid span {
  color: var(--orange);
  font-weight: 900;
}

.process-grid h3 {
  margin: 42px 0 12px;
  font-size: 24px;
}

.process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

.references {
  max-width: 1160px;
  margin: 0 auto;
  padding: 98px 24px;
}

.reference-band {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.reference-band span {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(27, 42, 82, .08);
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
  box-shadow: 0 20px 54px rgba(20, 30, 56, .09);
  font-weight: 900;
  text-align: center;
}

.cta {
  max-width: 1160px;
  margin: 0 auto 80px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 38px;
  align-items: center;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(246, 163, 19, .88), rgba(27, 42, 82, .96)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=80") center/cover;
  box-shadow: var(--shadow);
}

.cta .eyebrow,
.cta p { color: #fff; }

.cta .eyebrow::before { background: #fff; }

.cta p {
  margin-left: 0;
  color: rgba(255, 255, 255, .82);
}

.cta-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(14px);
}

.cta-card a {
  color: #fff;
  font-size: 23px;
  font-weight: 900;
}

.cta-card span { color: rgba(255, 255, 255, .78); }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px max(24px, calc((100vw - 1160px) / 2));
  color: #6b7282;
  background: #fff;
  border-top: 1px solid rgba(27, 42, 82, .08);
}

.footer img {
  width: 230px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.footer p { margin: 0; }

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .85s ease, transform .85s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .site-header { top: 10px; }
  .brand img { width: 190px; }
  .nav { display: none; }

  .hero,
  .service-panel,
  .service-panel.reverse,
  .cta {
    grid-template-columns: 1fr;
  }

  .service-panel,
  .service-panel.reverse {
    position: relative;
    top: auto;
  }

  .service-panel.reverse .service-media { order: 0; }
  .process-grid,
  .reference-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    min-height: 64px;
  }

  .brand img { width: 166px; }

  .header-cta {
    min-height: 40px;
    padding: 0 13px;
  }

  .hero {
    padding: 112px 18px 58px;
    gap: 20px;
  }

  .hero h1 { font-size: 42px; }

  .hero p,
  .service-copy p,
  .intro p { font-size: 15px; }

  .hero-visual { min-height: 380px; }

  .brand-block.blue {
    left: 58px;
    top: 42px;
  }

  .brand-block.orange {
    left: 16px;
    top: 118px;
  }

  .floating-note {
    right: 8px;
    top: 42px;
  }

  .intro {
    padding: 74px 18px 22px;
    text-align: left;
  }

  .showcase { padding: 20px 12px 54px; }

  .service-panel {
    min-height: auto;
    padding: 16px;
    gap: 22px;
  }

  .service-media { height: 330px; }
  .service-copy h2 { font-size: 38px; }

  .process-grid,
  .reference-band { grid-template-columns: 1fr; }

  .cta {
    margin: 0 12px 58px;
    padding: 28px;
  }

  .cta-card a { font-size: 19px; }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
