:root {
  --ink: #17212f;
  --muted: #596779;
  --blue: #2f76c8;
  --sky: #6db7df;
  --green: #2f8f72;
  --amber: #f4b942;
  --paper: #f7f9fb;
  --white: #ffffff;
  --line: rgba(23, 33, 47, 0.14);
  --shadow: 0 22px 60px rgba(18, 31, 48, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
  padding: 8px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: clamp(140px, 16vw, 188px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a,
.site-footer button {
  color: var(--ink);
  text-decoration: none;
}

.nav-cta,
.site-footer button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.nav-cta {
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 7vw, 92px) clamp(20px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, var(--paper), rgba(247, 249, 251, 0));
  z-index: -1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 24, 39, 0.78), rgba(10, 24, 39, 0.42) 48%, rgba(10, 24, 39, 0.14)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero-content {
  width: min(720px, 100%);
  color: var(--white);
}

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

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

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.8rem, 6.8vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
}

.hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions,
.cta-band {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

.primary-button,
.secondary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 7px;
  border: 0;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 34px rgba(47, 143, 114, 0.34);
}

.primary-button.dark {
  background: var(--ink);
  box-shadow: none;
}

.primary-button.full {
  width: 100%;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin: 44px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-facts div {
  min-height: 92px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.11);
}

.hero-facts dt {
  font-size: 1.22rem;
  font-weight: 950;
}

.hero-facts dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.intro-band,
.services,
.process,
.video-section,
.cta-band,
.successor-note {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 6vw, 80px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  background: var(--white);
}

.intro-band > p,
.video-copy p,
.cta-band p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.service-card {
  overflow: hidden;
  min-height: 420px;
  display: grid;
  grid-template-rows: 240px 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(18, 31, 48, 0.08);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.service-card p,
.steps p {
  color: var(--muted);
  line-height: 1.65;
}

.process {
  background: #edf4f8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border-left: 5px solid var(--amber);
  border-radius: 8px;
}

.steps span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 950;
  font-size: 0.9rem;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: stretch;
  background: var(--white);
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.video-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(16, 23, 34, 0.82), rgba(16, 23, 34, 0.14)),
    url("https://images.unsplash.com/photo-1533750349088-cd871a92f312?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.play-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 90px;
  border-radius: 50%;
  background: var(--white);
  position: relative;
}

.play-icon::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  border-left: 20px solid var(--blue);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.video-card strong {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.video-card small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band {
  justify-content: space-between;
  background: var(--amber);
}

.cta-band div {
  max-width: 760px;
}

.cta-band .eyebrow {
  color: rgba(23, 33, 47, 0.72);
}

.successor-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--ink);
  color: var(--white);
}

.successor-note img {
  width: min(220px, 45vw);
  height: auto;
  padding: 12px;
  background: var(--white);
  border-radius: 8px;
}

.successor-note p {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 80px);
  background: #111827;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
}

.site-footer button {
  color: var(--white);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 14, 24, 0.72);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  color: var(--ink);
  background: #edf2f7;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 900;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 118, 200, 0.14);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .intro-band,
  .service-grid,
  .steps,
  .video-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .main-nav a {
    display: none;
  }

  .main-nav {
    justify-content: flex-end;
  }

  .hero-actions,
  .primary-button,
  .secondary-button,
  .cta-band .primary-button {
    width: 100%;
  }

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