:root {
  color-scheme: light;
  --ink: #132331;
  --muted-ink: #5a6874;
  --paper: #f5f8fb;
  --white: #ffffff;
  --line: #d7e2eb;
  --brand-blue: #084f83;
  --brand-sky: #0fa2f4;
  --brand-light: #e8f4fc;
  --brand-mid: #87c5f1;
  --accent: #f2a23a;
  --alert: #a85534;
  --shadow: 0 22px 54px rgba(8, 79, 131, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brand-blue);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 38, 64, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--white);
}

.brand img {
  width: clamp(142px, 16vw, 190px);
  height: auto;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-menu a {
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(690px, 78svh);
  overflow: hidden;
  display: grid;
  align-items: center;
  margin-top: -72px;
  padding-top: 72px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("/assets/business-recovery-readiness-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 32, 54, 0.94) 0%, rgba(5, 32, 54, 0.78) 34%, rgba(5, 32, 54, 0.28) 72%, rgba(5, 32, 54, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 32, 54, 0.52) 0%, rgba(5, 32, 54, 0.05) 52%, rgba(5, 32, 54, 0.48) 100%);
}

.hero-content {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 116px) 0 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6.2vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.15rem);
}

h3 {
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 79, 131, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 79, 131, 0.18);
}

.hero-stats div {
  min-height: 122px;
  padding: 20px;
  background: var(--white);
}

.hero-stats dt {
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted-ink);
}

.quick-stats {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding-bottom: 28px;
}

.section {
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.muted {
  background: #eaf2f8;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.split.wide {
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
}

.intro p:not(.eyebrow),
.contact-copy p,
.split > p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 1.12rem;
}

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

.section-heading.compact {
  max-width: 720px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.service-card {
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(22, 33, 31, 0.06);
}

.service-card.featured {
  border-color: rgba(15, 162, 244, 0.42);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 8px;
  color: var(--brand-blue);
  background: var(--brand-light);
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p,
.service-card li,
.timeline p,
.outcome-list p,
.form-note {
  color: var(--muted-ink);
}

.service-card p {
  min-height: 112px;
  margin: 14px 0 22px;
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
}

.service-card li + li {
  margin-top: 8px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.timeline li {
  min-height: 270px;
  padding: 26px;
  background: var(--white);
}

.timeline span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--alert);
  font-weight: 900;
}

.timeline p {
  margin: 14px 0 0;
}

.outcome-list {
  display: grid;
  gap: 16px;
}

.outcome-list article {
  padding: 26px;
  border-left: 4px solid var(--brand-sky);
  border-radius: var(--radius);
  background: var(--white);
}

.outcome-list p {
  margin: 10px 0 0;
}

.contact-section {
  background: #062640;
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 108px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 20px;
}

.contact-methods {
  margin-top: 28px;
  align-items: flex-start;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.78);
}

.contact-methods a {
  color: var(--brand-mid);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(3, 24, 41, 0.64);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(135, 197, 241, 0.32);
  border-color: var(--brand-mid);
}

.contact-form select option {
  color: var(--ink);
}

.form-button {
  width: 100%;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.66);
}

.form-note a {
  color: var(--brand-mid);
}

.honeypot {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.7);
  background: #041e33;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--brand-mid);
}

.simple-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--white);
  background: #062640;
}

.thanks {
  width: min(100%, 760px);
}

.thanks section {
  margin-top: 44px;
}

.thanks h1 {
  font-size: clamp(2.7rem, 8vw, 5.5rem);
}

.thanks p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(6, 38, 64, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .split,
  .split.wide,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .card-grid.three,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 78svh;
  }

  .hero-content {
    padding-bottom: 42px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-stats,
  .card-grid.three,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .service-card,
  .timeline li {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section {
    padding: 64px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}
