:root {
  --ink: #101621;
  --muted: #5f6876;
  --paper: #f5f7fb;
  --white: #ffffff;
  --blue: #2563eb;
  --cyan: #14b8d4;
  --yellow: #f4c430;
  --line: rgba(16, 22, 33, 0.13);
  --shadow: 0 20px 60px rgba(16, 22, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--white);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(255, 255, 255, 0.9) 43% 54%, transparent 55%),
    linear-gradient(135deg, var(--blue), var(--cyan));
}

nav {
  display: flex;
  gap: clamp(14px, 4vw, 34px);
  color: var(--muted);
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: calc(100svh - 70px);
  display: flex;
  align-items: center;
  padding: clamp(36px, 7vw, 82px) clamp(20px, 5vw, 64px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.73), rgba(255, 255, 255, 0.12)),
    linear-gradient(0deg, rgba(16, 22, 33, 0.2), transparent 48%);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
input,
textarea,
button {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.hero p:not(.eyebrow),
.split p,
.contact p,
.service-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.16rem;
}

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

.button,
button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.primary,
button {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line);
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: var(--white);
}

.trust div {
  min-height: 112px;
  padding: 24px clamp(20px, 5vw, 64px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust strong,
.trust span {
  display: block;
}

.trust strong {
  font-size: 1.5rem;
}

.trust span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.section {
  padding: clamp(62px, 9vw, 110px) clamp(20px, 5vw, 64px);
}

.heading {
  max-width: 800px;
  margin-bottom: 34px;
}

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

.service-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 22, 33, 0.06);
}

.service-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--blue);
  background: #eaf1ff;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.64fr);
  align-items: start;
  gap: clamp(28px, 6vw, 76px);
  background: var(--paper);
}

.quote-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.quote-box button {
  width: 100%;
  margin-top: 16px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(46px, 7vw, 76px) clamp(20px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #0f172a);
}

.contact div {
  max-width: 800px;
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.contact h2 {
  margin-bottom: 12px;
}

footer {
  padding: 22px clamp(20px, 5vw, 64px);
  color: var(--muted);
  background: var(--white);
}

@media (max-width: 900px) {
  .trust,
  .service-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
    align-items: end;
  }

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

@media (max-width: 620px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .button {
    width: 100%;
  }
}
