:root {
  --brand-blue: #1539cd;
  --brand-orange: #ff9319;
  --ink: #191919;
  --muted: #666c76;
  --line: #d9dde5;
  --canvas: #eef3f9;
  --white: #ffffff;
  --shadow: 0 18px 36px rgba(16, 31, 79, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

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

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

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.landing-page {
  overflow: clip;
}

.section-inner {
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(21, 57, 205, 0.22);
}

.button--blue {
  color: var(--white);
  background: var(--brand-blue);
}

.button--orange {
  color: var(--white);
  background: var(--brand-orange);
}

.button--ghost {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.flash {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 30;
  max-width: min(420px, calc(100% - 40px));
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.flash--notice {
  background: rgba(18, 56, 204, 0.95);
  color: var(--white);
}

.flash--alert {
  background: rgba(153, 34, 34, 0.95);
  color: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: 785px;
  color: var(--white);
  background:
    linear-gradient(rgba(42, 35, 31, 0.58), rgba(42, 35, 31, 0.58)),
    var(--hero-background-image);
  background-position: center center;
  background-size: cover;
}

.hero__topbar {
  background: var(--brand-blue);
}

.hero__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}

.hero__contact-list {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__contact-link,
.hero__social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero__contact-link span {
  overflow-wrap: anywhere;
}

.hero__contact-icon,
.hero__social-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  line-height: 1;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero__social-link {
  line-height: 1;
}

.hero__header {
  padding: 16px 0 0;
}

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

.hero__brand {
  display: inline-flex;
  width: min(280px, 48vw);
}

.hero__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 36px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero__nav a {
  position: relative;
  padding-bottom: 10px;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.92;
}

.hero__nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--brand-blue);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.7);
  transform-origin: center;
  transition: opacity 150ms ease, transform 150ms ease;
}

.hero__nav a.is-active,
.hero__nav a:hover,
.hero__nav a:focus-visible {
  opacity: 1;
}

.hero__nav a.is-active::after,
.hero__nav a:hover::after,
.hero__nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero__content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
  padding: 92px 0 120px;
}

.hero__copy {
  max-width: 640px;
  text-align: center;
}

.hero__copy h1 {
  margin: 0 0 24px;
  font-size: clamp(2.65rem, 4vw, 4.15rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.hero__copy p {
  margin: 0 auto 28px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.18rem;
  line-height: 1.5;
}

.page-shell {
  background: var(--canvas);
}

.page-hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(rgba(21, 33, 70, 0.62), rgba(21, 33, 70, 0.62)),
    var(--page-hero-background-image);
  background-position: center center;
  background-size: cover;
}

.page-hero__content {
  display: flex;
  align-items: center;
  min-height: 420px;
  padding: 78px 0 88px;
}

.page-hero__copy {
  max-width: 720px;
}

.page-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.page-hero__copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.08;
}

.page-hero__copy p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.14rem;
  line-height: 1.6;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.cta-strip {
  background: var(--brand-blue);
  color: var(--white);
}

.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
}

.cta-strip__inner p {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  font-weight: 800;
}

.intro-section {
  padding: 46px 0 38px;
  background: var(--white);
}

.intro-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 340px);
  gap: 32px;
  align-items: start;
}

.intro-section__copy h2,
.capabilities h3 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.owner-profile {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}

.owner-profile__image {
  width: 252px;
  border-radius: 2px;
}

.owner-profile__text {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.owner-profile__text p {
  margin: 0 0 20px;
}

.capabilities__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #555d67;
  font-size: 1.02rem;
}

.capabilities__list li {
  position: relative;
  padding-left: 28px;
}

.capabilities__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: inset 0 0 0 4px var(--white);
}

.quote-panel {
  padding: 30px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(18, 33, 86, 0.06);
}

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

.form-errors {
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff6ef;
  color: #8b4a15;
  font-weight: 600;
}

.form-errors p {
  margin: 0;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label,
.form-row legend,
.footer-signup label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #444;
}

.quote-form__input,
.footer-signup__input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: var(--white);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.quote-form__textarea {
  min-height: 112px;
  padding: 14px;
  resize: vertical;
}

.quote-form__input:focus,
.footer-signup__input:focus,
.job-type-option__input:focus + .job-type-option__label {
  outline: 0;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(21, 57, 205, 0.12);
}

.is-invalid {
  border-color: #d65555;
}

.form-error {
  margin: -2px 0 0;
  font-size: 0.88rem;
  color: #c43434;
}

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

.job-type-option {
  position: relative;
}

.job-type-option__input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.job-type-option__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #52585f;
  background: var(--white);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.job-type-option__label::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 1px solid #bfc5d2;
  border-radius: 50%;
  background: var(--white);
}

.job-type-option__input:checked + .job-type-option__label {
  color: var(--white);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.job-type-option__input:checked + .job-type-option__label::before {
  border-color: var(--white);
  background:
    radial-gradient(circle at center, var(--brand-blue) 0 34%, transparent 35%),
    var(--white);
}

.quote-form__submit {
  width: 146px;
  justify-self: center;
}

.services-section {
  padding: 30px 0 56px;
  background: var(--canvas);
}

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

.content-section {
  padding: 68px 0;
  background: var(--white);
}

.content-section--canvas {
  background: var(--canvas);
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.95fr);
  gap: 34px;
  align-items: start;
}

.split-content--profile {
  grid-template-columns: 320px minmax(0, 1fr);
}

.split-content__copy h2,
.section-heading h2,
.page-cta__copy h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.split-content__copy p,
.detail-card p,
.feature-tile__body p,
.page-cta__copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

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

.info-panel,
.detail-card,
.feature-tile,
.profile-card {
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-panel {
  padding: 28px 24px;
}

.info-panel h3,
.feature-tile__body h3,
.detail-card h3 {
  margin: 0 0 16px;
  font-size: 1.24rem;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #4f5661;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: inset 0 0 0 4px var(--white);
}

.feature-grid,
.detail-grid,
.process-grid {
  display: grid;
  gap: 22px;
}

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

.feature-tile {
  overflow: hidden;
}

.feature-tile__image,
.profile-card__image {
  width: 100%;
}

.feature-tile__body,
.detail-card {
  padding: 24px;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.process-step {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(21, 57, 205, 0.08), rgba(255, 255, 255, 0.9));
}

.process-step p {
  margin: 0;
  color: #44505f;
  line-height: 1.65;
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-weight: 800;
  color: var(--white);
  background: var(--brand-blue);
}

.page-cta {
  padding: 0 0 56px;
  background: var(--canvas);
}

.page-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, #1235c8 0%, #2049e4 100%);
  box-shadow: var(--shadow);
}

.page-cta__copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.service-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card__media {
  position: relative;
}

.service-card__media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 62%;
  background: linear-gradient(
    180deg,
    rgba(21, 57, 205, 0.68) 0%,
    rgba(21, 57, 205, 0.42) 52%,
    rgba(21, 57, 205, 0) 100%
  );
  pointer-events: none;
}

.service-card__image {
  width: 100%;
}

.service-card__title {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 24px;
  margin: 0;
  transform: translateY(calc(-50% - 18px));
  text-align: center;
  color: var(--white);
  font-size: 1.52rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.service-card__icon-wrap {
  position: absolute;
  left: 50%;
  bottom: -28px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 14px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(18, 33, 86, 0.14);
  transform: translateX(-50%);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.service-card__body {
  display: grid;
  gap: 22px;
  padding: 42px 22px 18px;
}

.service-card__body p {
  margin: 0;
  color: #4f5661;
  font-size: 1rem;
  line-height: 1.55;
}

.service-card__button {
  width: 100%;
}

.site-footer {
  padding-top: 30px;
  background: var(--white);
  border-top: 4px solid var(--brand-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.45fr;
  gap: 48px;
  padding-bottom: 54px;
}

.site-footer h3 {
  margin: 0 0 24px;
  font-size: 1.12rem;
}

.footer-links,
.footer-legal {
  display: grid;
  gap: 12px;
  color: #50555d;
}

.footer-contact p,
.footer-legal p {
  margin: 0;
  color: #50555d;
}

.footer-signup {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.footer-signup__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
}

.footer-signup__input {
  border-radius: 6px 0 0 6px;
}

.footer-signup__submit {
  border-radius: 0 6px 6px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 24px;
  border-top: 1px solid #e6e9ef;
  color: #777d88;
  font-size: 0.95rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(119, 125, 136, 0.5);
}

.footer-bottom__brand {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-blue);
  text-decoration: none;
}

@media (max-width: 1080px) {
  .hero {
    min-height: auto;
  }

  .page-hero__content,
  .hero__content {
    min-height: auto;
  }

  .hero__header-inner,
  .hero__topbar-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .hero__nav {
    justify-content: center;
  }

  .hero__content {
    min-height: 560px;
    padding-top: 72px;
  }

  .split-content,
  .split-content--profile,
  .feature-grid,
  .detail-grid,
  .process-grid,
  .intro-section__inner,
  .footer-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .owner-profile {
    grid-template-columns: 1fr;
  }

  .owner-profile__image {
    width: min(252px, 100%);
  }
}

@media (max-width: 720px) {
  .section-inner {
    width: min(100% - 28px, 1152px);
  }

  .hero__topbar-inner,
  .hero__header-inner {
    gap: 16px;
  }

  .hero__contact-list {
    justify-content: center;
    gap: 14px 20px;
  }

  .hero__brand {
    width: min(250px, 76vw);
  }

  .hero__nav {
    gap: 12px 18px;
  }

  .hero__nav a {
    font-size: 0.84rem;
    padding-bottom: 8px;
  }

  .hero__content {
    padding: 56px 0 76px;
  }

  .hero__copy h1 {
    font-size: clamp(2.15rem, 9vw, 3rem);
  }

  .hero__copy p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .page-hero__content {
    padding: 60px 0 72px;
  }

  .page-hero__copy {
    max-width: 100%;
    text-align: center;
  }

  .page-hero__copy h1 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .page-hero__copy p {
    font-size: 1rem;
  }

  .page-hero__actions,
  .page-cta__inner,
  .cta-strip__inner,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .page-hero__actions .button,
  .page-cta__inner .button,
  .cta-strip__inner .button,
  .hero__copy > .button {
    width: 100%;
    max-width: 320px;
    align-self: center;
  }

  .cta-strip__inner {
    min-height: 0;
    padding: 24px 0 28px;
    gap: 18px;
  }

  .cta-strip__inner p {
    line-height: 1.18;
  }

  .capabilities__list {
    grid-template-columns: 1fr;
  }

  .job-type-options,
  .footer-signup__controls {
    grid-template-columns: 1fr;
  }

  .page-cta__inner {
    text-align: center;
    align-items: stretch;
  }

  .intro-section {
    padding: 38px 0 34px;
  }

  .owner-profile__image {
    margin: 0 auto;
  }

  .quote-panel {
    padding: 24px 18px 18px;
  }

  .footer-grid {
    gap: 34px;
    padding-bottom: 38px;
  }

  .site-footer h3 {
    margin-bottom: 18px;
  }

  .footer-signup__controls {
    gap: 10px;
  }

  .footer-bottom {
    gap: 12px;
    padding: 18px 0 22px;
  }

  .footer-signup__input,
  .footer-signup__submit {
    border-radius: 6px;
  }

  .quote-form__submit {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .hero__topbar-inner {
    padding: 10px 0 12px;
  }

  .hero__contact-list {
    flex-direction: column;
    gap: 8px;
  }

  .hero__contact-link {
    gap: 8px;
    font-size: 0.85rem;
  }

  .hero__header {
    padding-top: 12px;
  }

  .hero__brand {
    width: min(228px, 78vw);
  }

  .hero__nav {
    justify-content: center;
    gap: 12px 16px;
  }

  .hero__nav a {
    font-size: 0.78rem;
  }

  .hero__content {
    min-height: 0;
    padding: 42px 0 64px;
  }

  .hero__copy h1 {
    margin-bottom: 18px;
    font-size: clamp(1.95rem, 11vw, 2.65rem);
    line-height: 1.08;
  }

  .hero__copy p {
    margin-bottom: 22px;
    font-size: 0.98rem;
  }

  .page-hero__content {
    padding: 48px 0 60px;
  }

  .page-hero__copy h1,
  .intro-section__copy h2,
  .capabilities h3,
  .split-content__copy h2,
  .section-heading h2,
  .page-cta__copy h2 {
    font-size: clamp(1.9rem, 10vw, 2.4rem);
    line-height: 1.08;
  }

  .page-hero__copy p,
  .owner-profile__text,
  .split-content__copy p,
  .detail-card p,
  .feature-tile__body p,
  .page-cta__copy p,
  .footer-contact p,
  .footer-legal p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .owner-profile {
    gap: 18px;
    margin-bottom: 24px;
  }

  .owner-profile__image {
    width: min(100%, 320px);
  }

  .owner-profile__text p {
    margin-bottom: 16px;
  }

  .capabilities__list,
  .check-list {
    gap: 12px;
    font-size: 0.98rem;
  }

  .content-section {
    padding: 50px 0;
  }

  .feature-tile__body,
  .detail-card,
  .info-panel,
  .page-cta__inner {
    padding: 22px;
  }

  .page-cta {
    padding-bottom: 42px;
  }

  .site-footer {
    padding-top: 24px;
  }

  .footer-grid {
    gap: 28px;
    padding-bottom: 32px;
  }

  .footer-links,
  .footer-legal {
    gap: 10px;
  }

  .footer-signup {
    margin-top: 16px;
  }

  .footer-bottom__brand {
    font-size: 1.55rem;
  }
}
