:root {
  --background: #f5f7fb;
  --surface: #ffffff;
  --surface-strong: #eaf1ff;
  --foreground: #03132f;
  --muted: #53627a;
  --line: #d8e1ef;
  --navy: #03132f;
  --teal: #0b55cc;
  --copper: #1e6de0;
  --copper-soft: #e2edff;
  --shadow: 0 24px 60px rgba(3, 19, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header,
.hero,
.section-band,
.split-section,
.cta-band,
.page-intro,
.service-grid,
.contact-layout,
.site-footer {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(240px, 24vw, 310px);
  height: clamp(80px, 8vw, 100px);
  object-fit: cover;
  object-position: center 42%;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px;
}

.main-nav a,
.header-cta,
.primary-button,
.secondary-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a {
  padding: 0 15px;
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--navy);
  background: var(--surface-strong);
}

.header-cta {
  padding: 0 18px;
  background: var(--navy);
  color: #ffffff;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 44px;
  padding: 34px 0 64px;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 5.1rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-copy > p:not(.eyebrow),
.intro-copy,
.section-heading p,
.service-card p,
.check-list,
.contact-panel p {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  max-width: 620px;
  font-size: 1.08rem;
}

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

.primary-button,
.secondary-button {
  border: 0;
  padding: 0 20px;
  font: inherit;
  cursor: pointer;
}

.primary-button {
  background: var(--teal);
  color: #ffffff;
}

.secondary-button {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid var(--line);
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 24px -18px -18px 38px;
  border-radius: 8px;
  background: var(--copper-soft);
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-band {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p {
  margin: 0;
}

.section-heading.services-heading {
  grid-template-columns: 1fr;
  align-items: start;
  padding-left: 24px;
  margin-bottom: 42px;
}

.service-grid {
  display: grid;
  gap: 16px;
}

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

.service-grid.full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 56px;
}

.service-grid .service-card {
  transition: transform 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-grid .service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 109, 224, 0.32);
  box-shadow: 0 18px 42px rgba(3, 19, 47, 0.14);
}

.service-grid .service-card:focus-visible {
  outline: 3px solid rgba(11, 85, 204, 0.28);
  outline-offset: 3px;
}

.service-card {
  min-height: 224px;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.service-card span {
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--copper);
  margin-bottom: 24px;
}

.service-card p {
  margin: 14px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 44px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.split-section.bordered {
  border-bottom: 1px solid var(--line);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 70px;
  padding: 34px;
  background: var(--navy);
  color: #ffffff;
  border-radius: 8px;
}

.cta-band h2,
.cta-band .eyebrow {
  color: #ffffff;
}

.cta-band .primary-button {
  background: #ffffff;
  color: var(--navy);
}

.page-intro {
  padding: 76px 0 48px;
}

.page-intro h1 {
  max-width: 900px;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
}

.intro-copy {
  max-width: 680px;
  margin-top: 22px;
  font-size: 1.05rem;
}

.intro-copy p {
  margin: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
}

.check-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 109, 224, 0.32);
  box-shadow: 0 18px 42px rgba(3, 19, 47, 0.14);
}

.check-list a {
  display: block;
  padding: 16px 18px;
  border-radius: inherit;
}

.check-list a:focus-visible {
  outline: 3px solid rgba(11, 85, 204, 0.28);
  outline-offset: 3px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: 18px;
  padding-bottom: 72px;
}

.contact-panel,
.request-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.contact-panel h2 {
  margin-bottom: 22px;
  font-size: 1.4rem;
}

.contact-panel div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-panel span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel a,
.contact-panel p {
  margin: 0;
  font-weight: 700;
}

.contact-panel .contact-person + .contact-person {
  margin-top: 12px;
}

.contact-person strong,
.contact-person a {
  display: block;
}

.contact-person strong {
  color: var(--navy);
}

.request-form {
  display: grid;
  gap: 18px;
}

.form-status {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: #134e36;
  background: #e8f6ef;
  border-color: #9bd2b6;
}

.form-status[data-state="error"] {
  color: #7a271a;
  background: #fff0ed;
  border-color: #edb1a7;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--foreground);
  background: #fbfcfc;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(11, 85, 204, 0.18);
  border-color: var(--teal);
}

.form-button {
  justify-self: start;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--navy);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-weight: 700;
}

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

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .section-heading,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .hero-image {
    aspect-ratio: 16 / 11;
  }

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

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section-band,
  .split-section,
  .cta-band,
  .page-intro,
  .service-grid,
  .contact-layout,
  .site-footer {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 250px;
    height: 82px;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav a {
    flex: 1;
    padding: 0 10px;
    font-size: 0.92rem;
  }

  .hero {
    gap: 28px;
    padding-bottom: 46px;
  }

  .service-grid.compact,
  .service-grid.full,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .split-section,
  .section-band,
  .page-intro {
    padding: 48px 0;
  }

  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band {
    padding: 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-grid .service-card,
  .check-list li {
    transition: none;
  }
}
