:root {
  --navy: #0b2248;
  --ink: #172132;
  --muted: #647188;
  --line: rgba(11, 34, 72, 0.12);
  --glass: rgba(255, 255, 255, 0.72);
  --steel: #dce5ee;
  --accent: #08a6b6;
  --accent-dark: #067483;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--ink);
  background: #f7fafc;
  cursor: default;
}

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

.page-shell {
  height: 100%;
  overflow: hidden;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 34px);
}

.background,
.grain {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.background {
  background:
    linear-gradient(100deg, rgba(247, 250, 252, 0.92) 0%, rgba(247, 250, 252, 0.72) 42%, rgba(247, 250, 252, 0.2) 100%),
    url("assets/bg.png") center / cover no-repeat;
  filter: saturate(1.04) contrast(1.03);
}

.grain {
  z-index: -2;
  background:
    radial-gradient(circle at 19% 24%, rgba(8, 166, 182, 0.16), transparent 30%),
    radial-gradient(circle at 69% 45%, rgba(11, 34, 72, 0.12), transparent 34%),
    linear-gradient(135deg, transparent 0 49.6%, rgba(11, 34, 72, 0.08) 49.8% 50.2%, transparent 50.4% 100%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.brand img {
  display: block;
  width: clamp(180px, 15vw, 260px);
  height: auto;
}

.top-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.44fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4.5vh, 56px) 0;
}

.copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 580px;
  margin: 22px 0 0;
  color: #3b485c;
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

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

.mobile-actions {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  margin-right: 9px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 20px 42px rgba(11, 34, 72, 0.2);
}

.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(11, 34, 72, 0.16);
  backdrop-filter: blur(16px);
}

.services-card {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: grid;
  gap: 16px;
  width: min(390px, 100%);
  padding: 26px 28px 18px;
  border: 1px solid rgba(11, 34, 72, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.5)),
    linear-gradient(135deg, rgba(8, 166, 182, 0.06), rgba(11, 34, 72, 0.04));
  box-shadow: 0 20px 58px rgba(11, 34, 72, 0.1);
  backdrop-filter: blur(18px);
}

.services-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 2px solid rgba(8, 166, 182, 0.55);
  pointer-events: none;
}

.services-card p {
  margin: 0;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services {
  display: grid;
  gap: 2px;
}

.service-item {
  display: grid;
  align-items: center;
  min-height: 50px;
  padding: 10px 0;
  border-top: 1px solid rgba(11, 34, 72, 0.1);
  cursor: default;
  transition: border-color 180ms ease, padding-left 180ms ease;
}

.service-item:first-child {
  border-top-color: rgba(11, 34, 72, 0.16);
}

.service-item strong {
  color: var(--navy);
  font-size: clamp(14px, 1.14vw, 17px);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-item:hover {
    border-top-color: rgba(8, 166, 182, 0.35);
    padding-left: 8px;
  }

  .service-item:hover strong {
    color: var(--accent-dark);
    transform: translateX(6px);
  }
}

.contact-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 0.9fr;
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(11, 34, 72, 0.1);
  border-radius: 8px;
  background: rgba(11, 34, 72, 0.1);
  box-shadow: 0 18px 54px rgba(11, 34, 72, 0.1);
}

.contact-card {
  display: grid;
  gap: 8px;
  min-height: 76px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  text-align: center;
}

.contact-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--navy);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.35;
}

@media (max-width: 920px) {
  .hero {
    height: 100vh;
    height: 100svh;
    padding: 18px;
  }

  .topbar {
    align-items: flex-start;
  }

  .top-link {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0 18px;
  }

  .lead {
    max-width: 100%;
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }

  .services-card {
    justify-self: stretch;
    width: 100%;
    padding: 18px;
  }

  .service-item {
    min-height: 48px;
    padding: 9px 0;
  }

  .service-item:nth-child(2) {
    border-top-color: rgba(11, 34, 72, 0.16);
  }

  .service-item:nth-child(-n + 2) {
    border-top-color: rgba(11, 34, 72, 0.16);
  }

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

  .contact-card {
    min-height: 58px;
    padding: 11px 14px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 12px 14px;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: stretch;
    row-gap: 10px;
  }

  .background {
    background:
      linear-gradient(180deg, rgba(247, 250, 252, 0.94) 0%, rgba(247, 250, 252, 0.76) 100%),
      url("assets/bg.png") 62% center / cover no-repeat;
  }

  .brand img {
    width: 128px;
  }

  .topbar {
    justify-content: center;
    padding-top: 16px;
  }

  .hero-grid {
    gap: 10px;
    align-self: stretch;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 42px 0 4px;
    text-align: center;
  }

  .copy {
    display: grid;
    justify-items: center;
    grid-template-rows: auto auto auto;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(32px, 10vw, 43px);
    line-height: 1;
  }

  .eyebrow {
    justify-content: center;
    margin-bottom: 10px;
    font-size: 11px;
  }

  .eyebrow::before {
    display: none;
  }

  .lead {
    margin-top: 14px;
    font-size: 12px;
  }

  .actions {
    margin-top: 14px;
  }

  .desktop-actions {
    display: none;
  }

  .mobile-actions {
    grid-column: auto;
    grid-row: 3;
    align-self: end;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
  }

  .button {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 7px;
    width: 100%;
    min-height: 60px;
    padding: 7px 5px;
    border-radius: 8px;
    font-size: 10.5px;
    line-height: 1.15;
    text-align: center;
  }

  .button svg {
    width: 18px;
    height: 18px;
    margin-right: 0;
  }

  .services-card {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    gap: 10px;
    padding: 12px 13px;
    text-align: center;
    margin-top: 0;
    box-shadow: 0 12px 30px rgba(11, 34, 72, 0.08);
  }

  .services-card p {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-item {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 48px;
    padding: 7px 0;
    border: 0;
    border-top: 1px solid rgba(11, 34, 72, 0.09);
    border-radius: 0;
    background: transparent;
  }

  .service-item strong {
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
  }

  .service-item:last-child {
    padding-bottom: 0;
  }

  .contact-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    align-self: end;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 12px 30px rgba(11, 34, 72, 0.08);
  }

  .contact-card {
    min-height: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 5px;
    padding: 9px 6px;
    border: 1px solid rgba(11, 34, 72, 0.12);
    border-radius: 8px;
    text-align: center;
  }

  .contact-card:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
  }

  .contact-card:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  .contact-card span {
    font-size: 9.5px;
  }

  .contact-card strong {
    font-size: 11px;
    line-height: 1.22;
  }
}
