:root {
  --blue: #004aa8;
  --blue-dark: #002c69;
  --blue-soft: #e8f2ff;
  --gold: #e5a900;
  --gold-bright: #ffc500;
  --ink: #091631;
  --muted: #5d6b82;
  --line: #dce4ef;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(7, 28, 62, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 92px;
  padding: 14px clamp(22px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 228, 239, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, min-height 0.25s ease;
}

.site-header.scrolled {
  min-height: 76px;
  box-shadow: 0 14px 32px rgba(4, 26, 61, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  display: block;
  width: auto;
  height: clamp(68px, 7vw, 88px);
  max-width: 190px;
  object-fit: contain;
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 0.75;
}

.brand-mark span:first-child {
  color: var(--blue);
}

.brand-mark span:last-child {
  color: var(--gold);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  color: var(--gold);
  font-size: 16px;
}

.brand-copy small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  height: 100%;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  line-height: 1;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.quote-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.quote-button,
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #d49800);
  box-shadow: 0 14px 28px rgba(229, 169, 0, 0.24);
}

.secondary-button {
  color: var(--gold);
  border: 1px solid var(--gold);
  background: rgba(255, 255, 255, 0.86);
}

.quote-button svg,
.primary-button svg,
.secondary-button svg {
  width: 22px;
  height: 22px;
}

.quote-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 74, 168, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  min-height: calc(100vh - 92px);
  overflow: hidden;
  padding: clamp(54px, 7vw, 96px) clamp(22px, 5vw, 70px);
  background:
    radial-gradient(circle at 72% 24%, rgba(229, 169, 0, 0.16), transparent 28%),
    radial-gradient(circle at 5% 92%, rgba(0, 74, 168, 0.12), transparent 28%),
    linear-gradient(110deg, #fff 0 48%, #f7f8fb 48% 100%);
}

.hero::after {
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: 58vw;
  min-width: 580px;
  aspect-ratio: 1;
  content: "";
  background: linear-gradient(140deg, rgba(0, 74, 168, 0.1), rgba(229, 169, 0, 0.18));
  clip-path: circle(50% at 50% 50%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.hero-dbs {
  margin: 0 0 22px;
  font-size: clamp(14px, 1.8vw, 26px);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue-dark) 20%, var(--gold) 50%, var(--blue-dark) 80%, var(--blue-dark) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.65;
  animation: dbs-shine 4s ease-in-out infinite;
  user-select: none;
}

@keyframes dbs-shine {
  0%   { background-position: 100% 0; }
  50%  { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dbs { animation: none; }
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
}

h1 span,
.section-heading span {
  color: var(--gold);
}

.hero-text {
  max-width: 560px;
  color: #34425a;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 34px 0 54px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 650px;
}

.trust-row div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
}

.trust-row svg {
  width: 34px;
  min-width: 34px;
  color: var(--blue);
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 560px;
}

.orbit {
  position: absolute;
  top: 1%;
  left: 6%;
  width: 430px;
  height: 560px;
  border-radius: 50%;
  transform: rotate(24deg);
}

.orbit-blue {
  border-left: 28px solid var(--blue);
  animation: floatArc 5.5s ease-in-out infinite;
}

.orbit-gold {
  left: 11%;
  border-left: 18px solid var(--gold);
  animation: floatArc 5.5s ease-in-out infinite reverse;
}

.laptop {
  position: absolute;
  right: 4%;
  bottom: 14%;
  width: min(70%, 620px);
  perspective: 1200px;
  filter: drop-shadow(0 34px 42px rgba(7, 28, 62, 0.2));
  animation: floatDevice 5s ease-in-out infinite;
}

.screen {
  position: relative;
  height: 350px;
  padding: 38px;
  border: 14px solid #121826;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(140deg, #ffffff, #eef4fb);
  transform: rotateY(-7deg) rotateX(2deg);
  overflow: hidden;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.screen-top img {
  width: 110px;
  height: auto;
}

.search-line {
  position: absolute;
  top: 46px;
  right: 40px;
  width: 170px;
  height: 10px;
  border-radius: 999px;
  background: #dfe7f0;
}

.dashboard-title {
  margin: 18px 0 0;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 900;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 58%;
  margin-top: 16px;
}

.dash-grid span {
  display: grid;
  align-content: center;
  gap: 4px;
  height: 76px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e1e8f2;
  box-shadow: 0 8px 18px rgba(0, 44, 105, 0.06);
}

.dash-grid b {
  color: var(--blue);
  font-size: 17px;
  line-height: 1;
}

.dash-grid em {
  color: #627086;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.chart {
  position: absolute;
  right: 48px;
  top: 126px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 43%, var(--gold) 43% 73%, #dfe8f5 73% 100%);
}

.chart span {
  position: absolute;
  inset: 44px;
  border-radius: 50%;
  background: #fff;
}

.bars {
  position: absolute;
  right: 58px;
  bottom: 46px;
  width: 138px;
}

.bars i {
  display: block;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--blue);
}

.bars i:nth-child(2) {
  width: 70%;
  background: var(--gold);
}

.bars i:nth-child(3) {
  width: 52%;
}

.base {
  width: 108%;
  height: 36px;
  margin-left: -4%;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(90deg, #b9c2cf, #f5f6f8, #9aa6b6);
}

.document-card,
.phone-card {
  position: absolute;
  background: #fff;
  box-shadow: var(--shadow);
}

.document-card {
  left: 8%;
  bottom: 24%;
  z-index: 3;
  display: grid;
  gap: 9px;
  width: 178px;
  padding: 18px;
  border: 1px solid #e2e9f3;
  border-radius: 8px;
  animation: floatDevice 4.4s ease-in-out infinite reverse;
}

.document-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.document-card strong {
  color: var(--ink);
  font-size: 28px;
}

.document-card i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #dfe7f0;
}

.document-card i:nth-of-type(2) {
  width: 68%;
}

.document-card small,
.phone-card small {
  width: fit-content;
  padding: 6px 10px;
  color: var(--blue);
  border-radius: 999px;
  background: var(--blue-soft);
  font-size: 11px;
  font-weight: 900;
}

.phone-card {
  right: 0;
  bottom: 1%;
  z-index: 3;
  width: 190px;
  min-height: 246px;
  padding: 22px 18px;
  border: 9px solid #101827;
  border-radius: 24px;
  transform: rotate(7deg);
}

.phone-head {
  width: 54px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #d7dfeb;
}

.phone-card strong {
  color: var(--blue-dark);
  font-size: 16px;
}

.phone-card span {
  display: block;
  height: 42px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 74, 168, 0.14), rgba(229, 169, 0, 0.16));
}

.phone-card span:nth-of-type(2) {
  width: 65%;
}

.section {
  padding: clamp(60px, 7vw, 96px) clamp(22px, 5vw, 70px);
}

section[id],
footer[id],
article[id] {
  scroll-margin-top: 96px;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.cta h2 {
  color: var(--blue-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  min-height: 318px;
  padding: 34px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 32px rgba(4, 26, 61, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 74, 168, 0.26);
  box-shadow: var(--shadow);
}

.service-card .number {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  border-radius: 50%;
  background: var(--gold);
  font-weight: 900;
}

.service-card svg {
  width: 58px;
  height: 58px;
  margin: 18px 0 22px;
  color: var(--blue);
}

.service-card h3 {
  color: var(--blue);
  font-size: 18px;
  line-height: 1.2;
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
  color: #202a3a;
  font-size: 13px;
  line-height: 1.6;
}

.service-toggle {
  display: none;
}

.about-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  color: #fff;
  background: linear-gradient(100deg, var(--blue) 0 48%, var(--gold) 48% 100%);
  overflow: hidden;
}

.about-copy {
  position: relative;
  padding: clamp(58px, 6vw, 88px) clamp(22px, 5vw, 70px);
}

.about-copy::after {
  position: absolute;
  right: 2%;
  bottom: -60px;
  content: "MHS";
  color: rgba(255, 255, 255, 0.05);
  font-family: Georgia, serif;
  font-size: 220px;
  font-weight: 700;
}

.about-copy h2 {
  color: #fff;
  max-width: 520px;
}

.about-copy p:not(.eyebrow) {
  max-width: 620px;
  line-height: 1.75;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 46px;
  padding: clamp(58px, 6vw, 88px) clamp(22px, 5vw, 70px);
}

.values div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 18px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
}

.values svg {
  grid-row: span 2;
  width: 60px;
  height: 60px;
  padding: 14px;
  color: var(--blue);
  border-radius: 50%;
  background: #fff;
}

.values h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.values p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.stat {
  display: grid;
  grid-template-columns: 58px auto;
  align-items: center;
  gap: 4px 16px;
  padding: 18px 28px;
  border-right: 1px solid #e6d196;
}

.stat:last-child {
  border-right: 0;
}

.stat svg {
  grid-row: span 2;
  width: 50px;
  color: var(--blue);
}

.stat strong {
  color: var(--blue);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
}

.stat strong::before {
  content: "+";
}

.stat:nth-child(4) strong::after {
  content: "%";
}

.stat span {
  font-size: 14px;
  font-weight: 700;
}

.process {
  background: linear-gradient(#fff, #f7faff);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.timeline::before {
  position: absolute;
  top: 70px;
  left: 10%;
  right: 10%;
  height: 2px;
  content: "";
  background: repeating-linear-gradient(90deg, var(--gold), var(--gold) 7px, transparent 7px, transparent 18px);
}

.step {
  position: relative;
  text-align: center;
}

.step span {
  position: absolute;
  top: -5px;
  left: calc(50% + 28px);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  border-radius: 50%;
  background: var(--gold);
  font-weight: 900;
}

.step div {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  margin: 0 auto 18px;
  color: #fff;
  border: 12px solid #eaf1fb;
  border-radius: 50%;
  background: var(--blue);
  transition: transform 0.28s ease;
}

.step:hover div {
  transform: translateY(-8px) scale(1.04);
}

.step svg {
  width: 42px;
  height: 42px;
}

.step h3 {
  color: var(--blue-dark);
  font-size: 16px;
}

.step p {
  margin: 0 auto;
  max-width: 190px;
  color: #34425a;
  font-size: 13px;
  line-height: 1.5;
}

.cta {
  position: relative;
  padding: clamp(28px, 4vw, 48px) clamp(22px, 5vw, 70px);
  color: #fff;
  background:
    radial-gradient(circle at 9% 20%, rgba(255, 197, 0, 0.18), transparent 26%),
    linear-gradient(135deg, #003f91, #00285f 72%);
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 42px;
  max-width: 1300px;
  min-height: 154px;
  margin: 0 auto;
  padding: 34px 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 14, 42, 0.25);
  backdrop-filter: blur(8px);
}

.cta::after {
  position: absolute;
  top: -70px;
  right: clamp(24px, 9vw, 160px);
  width: 180px;
  height: 290px;
  content: "";
  border-right: 18px solid var(--gold);
  border-radius: 50%;
  transform: rotate(27deg);
  opacity: 0.95;
}

.cta h2 {
  max-width: 640px;
  margin: 0;
  color: #fff;
}

.cta p {
  max-width: 420px;
  margin: 0;
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
  background:
    linear-gradient(180deg, #f7faff, #fff 48%),
    radial-gradient(circle at 90% 10%, rgba(229, 169, 0, 0.14), transparent 24%);
}

.contact-info h2,
.contact-form h2 {
  color: var(--blue-dark);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.contact-card,
.contact-list,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(4, 26, 61, 0.07);
}

.contact-card {
  padding: 26px;
  border-left: 5px solid var(--gold);
}

.contact-card h3 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 20px;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
  overflow: hidden;
}

.contact-list div {
  display: grid;
  gap: 7px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.contact-list div:last-child {
  border-bottom: 0;
}

.contact-list span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list p,
.contact-list small {
  margin: 0;
  color: #34425a;
  line-height: 1.5;
}

.contact-list a {
  width: fit-content;
  color: var(--blue);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.contact-form h2,
.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.contact-form label > span {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  grid-column: 1 / -1;
  width: 100%;
  border: 1px solid #d8e1ee;
  border-radius: 6px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: #fbfdff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%) calc(100% - 20px) 52% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--blue) 50%, transparent 50%) calc(100% - 15px) 52% / 7px 7px no-repeat,
    #fbfdff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 74, 168, 0.1);
}

.form-checks {
  display: grid;
  gap: 12px;
  padding: 2px 0 4px;
}

.form-checks label {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  color: #34425a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.form-checks input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--blue);
}

.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr;
  gap: 54px;
  padding: 56px clamp(22px, 5vw, 70px);
  color: #fff;
  background: linear-gradient(135deg, #003b87, #001f4a 78%);
}

.footer .brand-copy strong {
  font-size: 19px;
}

.footer .brand img {
  width: auto;
  height: 96px;
  max-width: 210px;
}

.footer p {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0b75ca;
  font-size: 12px;
  font-weight: 800;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font-style: normal;
}

.footer h3 {
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: 14px;
  text-transform: uppercase;
}

.footer a,
.footer span {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

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

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

@keyframes floatDevice {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes floatArc {
  0%,
  100% {
    transform: rotate(24deg) translateY(0);
  }
  50% {
    transform: rotate(24deg) translateY(-18px);
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height, 86px);
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 0;
    width: 100%;
    min-height: calc(100vh - var(--header-height, 86px));
    padding: 24px clamp(18px, 5vw, 42px) 18px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 22px 42px rgba(4, 26, 61, 0.16);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    background: #fff;
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0;
    border-bottom: 1px solid #eef3f9;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .quote-button {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 500px;
    margin-top: 30px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats,
  .timeline,
  .footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 74px;
    padding: 10px 16px;
  }

  .brand-mark {
    font-size: 44px;
  }

  .brand img {
    height: 60px;
    max-width: 140px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .menu-toggle {
    grid-column: 2;
    width: 42px;
    height: 42px;
  }

  .main-nav {
    top: var(--header-height, 74px);
    left: 0;
    right: 0;
    min-height: calc(100vh - var(--header-height, 74px));
    padding: 26px 18px 18px;
  }

  .hero {
    min-height: auto;
    padding: 34px 18px 44px;
    background:
      radial-gradient(circle at 80% 18%, rgba(229, 169, 0, 0.14), transparent 26%),
      linear-gradient(180deg, #fff 0 58%, #f7f8fb 58% 100%);
  }

  .hero::after {
    right: -46%;
    bottom: 4%;
    min-width: 360px;
    width: 92vw;
  }

  h1 {
    font-size: clamp(36px, 10vw, 46px);
    line-height: 1;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    margin: 26px 0 34px;
  }

  .hero-actions,
  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
  }

  .hero-visual {
    min-height: 315px;
    margin-top: 10px;
  }

  .orbit {
    left: -34%;
    top: -5%;
    width: 285px;
    height: 350px;
  }

  .orbit-blue {
    border-left-width: 18px;
  }

  .orbit-gold {
    left: -26%;
    border-left-width: 12px;
  }

  .laptop {
    right: 50%;
    bottom: 8%;
    width: min(100%, 430px);
    transform: translateX(50%);
    animation: none;
  }

  .screen {
    height: 235px;
    padding: 18px;
    border-width: 9px;
  }

  .screen-top img {
    width: 88px;
  }

  .dashboard-title {
    font-size: 13px;
  }

  .dash-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 60%;
    gap: 8px;
    margin-top: 12px;
  }

  .dash-grid span {
    height: 46px;
    padding: 8px;
  }

  .dash-grid b {
    font-size: 14px;
  }

  .dash-grid em {
    font-size: 9px;
  }

  .chart {
    right: 18px;
    top: 104px;
    width: 86px;
    height: 86px;
  }

  .chart span {
    inset: 28px;
  }

  .document-card,
  .phone-card,
  .search-line,
  .bars {
    display: none;
  }

  .service-grid,
  .about-band,
  .values,
  .stats,
  .timeline,
  .footer {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 18px;
  }

  section[id],
  footer[id],
  article[id] {
    scroll-margin-top: 82px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2,
  .about-copy h2,
  .cta h2,
  .contact-info h2,
  .contact-form h2 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .service-grid {
    gap: 16px;
  }

  .service-card {
    min-height: auto;
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 4px 14px;
    padding: 18px 18px 16px;
  }

  .service-card svg {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .service-card .number {
    top: 12px;
    left: 12px;
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .service-card h3 {
    margin: 0;
    font-size: 16px;
  }

  .service-card ul {
    grid-column: 1 / -1;
    display: none;
    margin-top: 12px;
  }

  .service-card.expanded ul {
    display: block;
  }

  .service-toggle {
    display: inline-flex;
    grid-column: 2;
    justify-self: start;
    width: fit-content;
    border: 0;
    padding: 0;
    color: var(--gold);
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
  }

  .about-band {
    background: linear-gradient(180deg, var(--blue) 0 48%, var(--gold) 48% 100%);
  }

  .about-copy,
  .values {
    padding: 50px 18px;
  }

  .values {
    gap: 18px;
  }

  .values div {
    grid-template-columns: 56px 1fr;
    gap: 0 14px;
    padding-bottom: 18px;
  }

  .values svg {
    width: 48px;
    height: 48px;
    padding: 11px;
  }

  .stats {
    gap: 0;
  }

  .stat {
    grid-template-columns: 50px auto;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid #e6d196;
  }

  .timeline {
    gap: 22px;
  }

  .step {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 0 16px;
    text-align: left;
  }

  .step span {
    left: 54px;
  }

  .step div {
    grid-row: span 2;
    width: 78px;
    height: 78px;
    margin: 0;
    border-width: 9px;
  }

  .step svg {
    width: 32px;
    height: 32px;
  }

  .step p {
    max-width: none;
    margin: 0;
  }

  .cta {
    padding: 28px 18px;
  }

  .cta-inner {
    gap: 20px;
    padding: 26px 20px;
  }

  .cta::after {
    right: -32px;
    opacity: 0.35;
  }

  .contact-section {
    gap: 26px;
  }

  .contact-card,
  .contact-list div,
  .contact-form {
    padding: 22px 18px;
  }

  .contact-form {
    gap: 16px;
  }

  .footer-links,
  .footer-contact {
    padding-left: 0;
    border-left: 0;
  }

  .footer {
    gap: 30px;
    padding: 44px 18px;
  }
}

@media (max-width: 430px) {
  .brand img {
    height: 54px;
    max-width: 128px;
  }

  h1 {
    font-size: 34px;
  }

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

  .screen {
    height: 216px;
    padding: 14px;
  }

  .dashboard-title {
    max-width: 62%;
  }

  .dash-grid {
    width: 62%;
    gap: 6px;
  }

  .dash-grid span {
    height: 42px;
    padding: 7px;
  }

  .dash-grid span:nth-child(n + 5) {
    display: none;
  }

  .chart {
    right: 14px;
    top: 102px;
    width: 74px;
    height: 74px;
  }

  .chart span {
    inset: 23px;
  }

  .base {
    height: 28px;
  }

  .trust-row div {
    align-items: flex-start;
  }

  .contact-form label {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .contact-form label > span {
    font-size: 11px;
  }

  .footer .brand img {
    height: 80px;
  }
}
