:root {
  --navy: #0f1f33;
  --navy-2: #142a45;
  --charcoal: #1d2733;
  --blue: #2f6fed;
  --blue-dark: #1f56c5;
  --gold: #c9a15c;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --border: #dce3ec;
  --muted: #627084;
  --text: #1c2633;
  --shadow: 0 18px 45px rgba(15, 31, 51, 0.12);
}

/* Base layout */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 31, 51, 0.96);
  color: var(--white);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.nav-links {
  display: none;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
}

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

/* Shared sections and buttons */
.section {
  padding: 72px 0;
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(47, 111, 237, 0.26), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.section-muted {
  background: var(--off-white);
}

.hero {
  padding: 82px 0 72px;
}

.hero-grid,
.form-layout,
.split,
.footer-grid {
  display: grid;
  gap: 32px;
}

.hero-copy h1,
.section-heading h2,
.form-intro h2,
.split h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 8vw, 4.9rem);
}

.hero-subtitle {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 3vw, 1.35rem);
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

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

.button-primary:hover,
.button-primary:focus {
  background: var(--blue-dark);
}

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

.hero-panel {
  align-self: start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.hero-panel p,
.small-note,
.site-footer p {
  color: rgba(255, 255, 255, 0.76);
}

/* Content cards */
.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
}

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

.section-heading h2,
.form-intro h2,
.split h2 {
  color: var(--charcoal);
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.section-heading p,
.split p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card,
.step,
.lead-form,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  padding: 24px;
  min-height: 178px;
}

.service-card h3,
.step h3 {
  margin: 0 0 10px;
  color: var(--charcoal);
  font-size: 1.12rem;
}

.service-card p,
.step p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  padding: 24px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-list span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  background: var(--off-white);
  font-weight: 700;
}

.trust-grid {
  display: grid;
  gap: 14px;
}

.trust-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 31, 51, 0.06);
}

.trust-card span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.trust-card h3 {
  margin: 2px 0 0;
  color: var(--charcoal);
  font-size: 1rem;
}

.form-section .section-heading h2,
.form-section .form-intro h2 {
  color: var(--white);
}

.form-section .form-intro p {
  color: rgba(255, 255, 255, 0.78);
}

/* Lead intake form */
.reference-box {
  display: inline-grid;
  gap: 4px;
  margin: 20px 0 10px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.reference-box span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.reference-box strong {
  font-size: 1.25rem;
}

.lead-form {
  padding: 22px;
  color: var(--text);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--charcoal);
  font-weight: 800;
}

.field label span {
  color: #b33a3a;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cfd8e4;
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  background: var(--white);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(47, 111, 237, 0.18);
  border-color: var(--blue);
}

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

.form-footer {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.form-message {
  min-height: 1.4em;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--charcoal);
  font-weight: 800;
}

.faq-list p {
  margin-top: 10px;
}

.legal-hero {
  padding: 70px 0 54px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 7vw, 4rem);
  line-height: 1.08;
}

.legal-hero p:not(.eyebrow) {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

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

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  color: var(--charcoal);
  font-size: 1.35rem;
}

.legal-content p,
.legal-content address {
  color: var(--muted);
}

.legal-content address {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-style: normal;
  background: var(--off-white);
}

.legal-content a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.operator-section {
  background: var(--off-white);
}

.operator-block {
  display: grid;
  gap: 26px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.operator-photo-wrap {
  overflow: hidden;
  border-radius: 8px;
  background: var(--off-white);
}

.operator-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.operator-content h2 {
  margin: 8px 0 14px;
  color: var(--charcoal);
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.1;
}

.operator-content p {
  margin: 0 0 14px;
  color: var(--muted);
}

.operator-logo {
  display: block;
  width: 150px;
  max-width: 48%;
  height: auto;
  margin-bottom: 18px;
}

.site-footer {
  padding: 34px 0;
  color: var(--white);
  background: #091522;
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--white);
}

.disclaimer {
  font-size: 0.92rem;
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-full {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 0.9fr 1.4fr;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.55fr 0.75fr;
    align-items: center;
  }

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

  .steps,
  .split,
  .form-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .form-intro {
    grid-column: span 1;
  }

  .lead-form {
    grid-column: span 2;
  }

  .operator-block {
    grid-template-columns: 0.78fr 1.22fr;
    padding: 32px;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    max-width: 190px;
    line-height: 1.15;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }
}
