:root {
  --orange: #ff4d00;
  --blue: #006ee6;
  --dark: #101216;
  --text: #171a20;
  --muted: #646b76;
  --line: #e8ebef;
  --bg: #f6f7f9;
  --white: #ffffff;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand img {
  display: block;
  width: min(185px, 38vw);
  max-height: 94px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 14px;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 14px 34px rgba(255, 77, 0, .22);
}

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

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 630px;
  display: flex;
  align-items: center;
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 75% 20%, rgba(0,110,230,.34), transparent 34%),
    linear-gradient(135deg, #0b0d11 0%, #131722 58%, #08101c 100%);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: auto -90px -200px auto;
  width: 520px;
  height: 520px;
  border-radius: 48px;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  transform: rotate(35deg);
  opacity: .9;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,77,0,.15), transparent 26%),
    linear-gradient(0deg, rgba(255,255,255,.04), transparent 38%);
  pointer-events: none;
}

.hero-inner,
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: .96;
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.section {
  padding: clamp(70px, 9vw, 115px) clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

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

.card {
  min-height: 260px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(16,18,22,.06);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  color: var(--white);
  border-radius: 18px;
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--blue));
}

.card p,
.about-copy p,
.quote-band p,
.service-detail-card p,
.process-grid p,
.areas-detail p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  background: var(--bg);
}

.about-copy {
  font-size: 18px;
}

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

.about-copy li {
  position: relative;
  padding-left: 32px;
  font-weight: 800;
}

.about-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--orange);
}

.quote-band {
  margin: clamp(20px, 5vw, 72px);
  padding: clamp(34px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  color: var(--white);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,77,0,.94), rgba(0,110,230,.88)),
    var(--dark);
}

.quote-band .eyebrow,
.quote-band p {
  color: rgba(255,255,255,.82);
}

.contact-card {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
}

.contact-card a {
  font-size: 22px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  color: var(--text);
  box-shadow: 0 26px 70px rgba(0,0,0,.14);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

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

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  background: #fbfcfd;
  color: var(--text);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 110, 230, .18);
  border-color: var(--blue);
}

.form-note {
  margin: 0;
  color: var(--muted) !important;
  font-size: 13px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* Services page only */
.service-page-hero {
  min-height: 520px;
}

.service-detail-section {
  background: var(--white);
}

.service-detail-grid {
  display: grid;
  gap: 20px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 28px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(16,18,22,.06);
}

.service-detail-card h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.service-detail-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail-card li {
  position: relative;
  padding-left: 26px;
  font-weight: 800;
}

.service-detail-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--orange), var(--blue));
}

.process-panel {
  background: var(--bg);
}

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

.process-grid article {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  color: var(--white);
  border-radius: 18px;
  font-weight: 900;
  background: var(--orange);
}

.areas-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
}

.area-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-pill-grid span {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-weight: 900;
}

.compact-quote {
  align-items: center;
}

.compact-quote .contact-card {
  margin-top: 0;
}

@media (max-width: 860px) {
  .site-header {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    font-size: 12px;
  }

  .header-cta {
    position: absolute;
    right: 20px;
    top: 22px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .hero,
  .page-hero {
    min-height: 560px;
  }

  .cards,
  .split,
  .quote-band,
  .process-grid,
  .areas-detail {
    grid-template-columns: 1fr;
  }

  .quote-band {
    margin: 20px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .contact-form,
  .service-detail-card,
  .service-detail-card ul {
    grid-template-columns: 1fr;
  }

  .service-detail-card {
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 145px;
    max-height: 72px;
  }

  .hero::before,
  .page-hero::before {
    width: 360px;
    height: 360px;
    right: -160px;
    bottom: -170px;
  }

  .card {
    min-height: auto;
    padding: 26px;
  }

  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }
}
