:root {
  --ink: #17202a;
  --muted: #5f6b76;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --line: #d9dfdf;
  --teal: #0f766e;
  --teal-dark: #0b4e49;
  --copper: #b6633a;
  --gold: #d9a441;
  --night: #111821;
  --shadow: 0 22px 60px rgba(21, 33, 41, 0.14);
  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);
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(17, 24, 33, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, var(--teal), var(--copper));
  border-radius: 8px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.nav a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.icon-button svg,
.service-icon svg,
.call-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--night);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 33, 0.96) 0%, rgba(17, 24, 33, 0.72) 42%, rgba(17, 24, 33, 0.2) 100%),
    linear-gradient(180deg, rgba(17, 24, 33, 0.1), rgba(17, 24, 33, 0.35));
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 84px clamp(18px, 6vw, 76px) 64px;
  color: #fff;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.26);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.button.ghost {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}

.button.call-button {
  gap: 8px;
  color: #17202a;
  background: #f5c85f;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 28px rgba(217, 164, 65, 0.25);
}

.button.call-button:hover {
  background: #e8b84f;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 700px;
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.hero-stats dt {
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  color: #fff;
  background: var(--teal-dark);
}

.trust-strip span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.88rem;
}

.section {
  padding: clamp(54px, 8vw, 100px) clamp(18px, 5vw, 72px);
}

.split,
.assessment,
.support,
.remote-support {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.section p {
  color: var(--muted);
}

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

.service-card,
.timeline article,
.intake-form,
.modal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card {
  padding: 24px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--copper);
  border-radius: 8px;
}

.process {
  color: #fff;
  background: #20272f;
}

.process p {
  color: rgba(255, 255, 255, 0.74);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.timeline article {
  padding: 24px;
  color: var(--ink);
}

.timeline span {
  color: var(--teal);
  font-weight: 900;
}

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

.intake-form,
.modal-card {
  padding: 24px;
}

label,
legend {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

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

textarea {
  resize: vertical;
}

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

.intake-form > label,
.modal-card > label {
  margin-bottom: 16px;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.turnstile-wrap {
  min-height: 70px;
  margin: 8px 0 16px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.support {
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #17202a, #0f3f3c);
}

.support p {
  color: rgba(255, 255, 255, 0.76);
}

.support-actions {
  justify-content: flex-end;
}

.remote-support {
  align-items: center;
  background: #fff;
}

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

.remote-steps article {
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f5;
  box-shadow: var(--shadow);
}

.remote-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

.remote-steps strong {
  color: var(--teal-dark);
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--night);
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ticket-modal {
  width: min(760px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.ticket-modal::backdrop {
  background: rgba(12, 18, 24, 0.72);
}

.modal-card {
  margin: 0;
}

.modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-header .icon-button {
  color: var(--ink);
  border-color: var(--line);
  background: #f4f6f4;
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    inset: 71px 14px auto;
    display: none;
    flex-direction: column;
    padding: 16px;
    background: #17202a;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
  }

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

  .menu-toggle {
    display: inline-grid;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(17, 24, 33, 0.95), rgba(17, 24, 33, 0.58));
  }

  .hero-content {
    padding-top: 72px;
  }

  .hero-stats,
  .split,
  .assessment,
  .support,
  .remote-support,
  .timeline,
  .remote-steps {
    grid-template-columns: 1fr;
  }

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

  .support-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

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

  .button {
    width: 100%;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stats div {
    padding: 14px;
  }
}
