:root {
  --blue-950: #071a2f;
  --blue-900: #0b2b4c;
  --blue-800: #123f68;
  --steel-700: #40566b;
  --gold-650: #b98b3c;
  --gold-120: #f4ead7;
  --soft: #f3f6f4;
  --paper: #fbfaf6;
  --white: #ffffff;
  --ink: #152033;
  --muted: #5f6f7f;
  --line: #dce2e6;
  --error: #9f3028;
  --shadow: 0 22px 58px rgba(7, 26, 47, 0.13);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

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

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

h1,
h2,
h3,
.button,
.trust-item,
.steps li,
.faq-list summary {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

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

.skip-link,
.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;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--gold-650);
  color: var(--blue-950);
  font-weight: 900;
}

:focus-visible {
  outline: 3px solid rgba(185, 139, 60, 0.5);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
  padding: 12px 28px;
  border-bottom: 1px solid rgba(220, 226, 230, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 42px rgba(7, 26, 47, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 96px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand > span {
  color: var(--blue-950);
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--blue-900);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 800;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.12;
}

.brand-text strong {
  color: var(--blue-950);
  font-size: 20px;
  font-weight: 900;
}

.brand-text small {
  color: var(--gold-650);
  font-size: 12px;
  font-weight: 800;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: var(--soft);
  outline: none;
}

.primary-nav .nav-cta {
  margin-left: 6px;
  background: var(--blue-900);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 136px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--blue-950);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 26, 47, 0.94) 0%, rgba(7, 26, 47, 0.78) 48%, rgba(7, 26, 47, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 26, 47, 0.82) 0%, rgba(7, 26, 47, 0.04) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 104px 0 54px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin-bottom: 12px;
  color: var(--gold-650);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 960px;
  margin-bottom: 24px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: normal;
  hyphens: none;
}

.mobile-title {
  display: none;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 0;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.button-primary {
  background: var(--gold-650);
  color: var(--blue-950);
  box-shadow: 0 14px 34px rgba(185, 139, 60, 0.2);
}

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

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

.trust-strip {
  background: linear-gradient(180deg, var(--white) 0%, #f7faf8 100%);
  color: var(--blue-950);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
}

.trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 36px rgba(7, 26, 47, 0.06);
}

.trust-item span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--gold-120);
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 900;
}

.trust-item strong {
  color: var(--blue-950);
  font-weight: 900;
}

.trust-item small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--soft);
}

.intro-grid,
.decision-layout,
.buyer-grid,
.image-grid,
.search-grid,
.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.intro-section h2,
.section-head h2,
.decision-layout h2,
.buyer-grid h2,
.image-grid h2,
.search-grid h2,
.faq-grid h2,
.contact-grid h2 {
  margin-bottom: 18px;
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: 0;
}

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

.section-head {
  max-width: 880px;
  margin-bottom: 34px;
}

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

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

.info-card,
.type-card,
.buyer-list article,
.steps li,
.advisor-card,
.contact-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 26, 47, 0.06);
}

.info-card {
  min-height: 285px;
  padding: 24px;
}

.number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--gold-120);
  color: var(--blue-900);
  font-weight: 900;
}

.info-card h3,
.type-card h3,
.buyer-list strong,
.steps h3,
.advisor-card h3 {
  color: var(--blue-950);
  line-height: 1.2;
}

.info-card h3,
.type-card h3,
.steps h3,
.advisor-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.info-card p,
.type-card p,
.buyer-list p,
.steps p,
.advisor-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.decision-layout {
  align-items: stretch;
}

.question-box {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.question-box label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 800;
}

.question-box input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--blue-900);
}

.advisor-card {
  position: sticky;
  top: 96px;
  padding: 28px;
}

.advisor-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold-650);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.advisor-tags,
.mini-grid,
.query-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.advisor-tags {
  margin: 22px 0;
}

.advisor-tags span,
.mini-grid span,
.query-grid p {
  border-radius: var(--radius);
  background: var(--gold-120);
  color: var(--blue-900);
  font-weight: 900;
}

.advisor-tags span {
  padding: 7px 9px;
  font-size: 13px;
}

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

.buyer-list article {
  padding: 22px;
}

.buyer-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

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

.type-card {
  min-height: 245px;
  padding: 22px;
  overflow: hidden;
}

.type-card > img {
  width: calc(100% + 44px);
  height: 154px;
  margin: -22px -22px 18px;
  object-fit: cover;
  object-position: center;
}

.type-card.large {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  padding: 0;
  overflow: hidden;
}

.type-card.large img {
  width: 100%;
  height: 100%;
  margin: 0;
  min-height: 330px;
  object-fit: cover;
  object-position: center;
}

.type-card.large div {
  padding: 24px;
}

.image-grid {
  align-items: center;
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  min-height: 460px;
  height: 100%;
  object-fit: cover;
}

.mini-grid {
  margin-top: 24px;
}

.mini-grid span {
  padding: 9px 11px;
  font-size: 14px;
}

.process-section {
  background: linear-gradient(180deg, #eef4f1 0%, #f8faf8 100%);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-section .section-head h2 {
  color: var(--blue-950);
}

.process-section .section-head p {
  max-width: 760px;
  color: var(--muted);
}

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

.steps li {
  min-height: 258px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  box-shadow: 0 18px 38px rgba(7, 26, 47, 0.07);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--blue-900);
  color: var(--white);
  font-weight: 900;
}

.steps h3 {
  color: var(--blue-950);
}

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

.section-deep {
  background: linear-gradient(180deg, #f7faf8 0%, var(--white) 100%);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-deep h2 {
  color: var(--blue-950);
}

.query-grid p {
  margin: 0;
  flex: 1 1 230px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  box-shadow: 0 16px 34px rgba(7, 26, 47, 0.06);
  font-weight: 700;
}

.query-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-950);
  font-weight: 900;
}

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

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  min-height: 58px;
  padding: 17px 20px;
  color: var(--blue-950);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  padding: 0 20px 18px;
  margin-bottom: 0;
  color: var(--muted);
}

.cta-section {
  background: var(--blue-950);
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
}

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

.note-light {
  padding: 14px 16px;
  border-left: 4px solid var(--gold-650);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.contact-form[hidden] {
  display: none;
}

.form-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 560px;
  margin: 0 auto 20px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.form-switch-button {
  min-height: 46px;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-switch-button.is-active,
.form-switch-button:focus-visible {
  background: var(--white);
  color: var(--blue-950);
}

.form-grid {
  display: block;
  max-width: 760px;
  margin: 0 auto;
}

.section-head.centered {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.contact-form h3 {
  margin-bottom: 4px;
  color: var(--blue-950);
  font-size: 24px;
  line-height: 1.2;
}

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

.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 700;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--blue-900);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--blue-950);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form [aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(159, 48, 40, 0.14);
}

.form-error {
  min-height: 22px;
  margin: 0;
  color: var(--error);
  font-weight: 900;
}

.form-success {
  min-height: 22px;
  margin: 0;
  color: #1e6f4a;
  font-weight: 900;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 48px 0;
  background: #041321;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 36px;
}

.footer-logo {
  width: 132px;
  height: auto;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--white);
}

.brand-footer .brand-mark {
  background: var(--white);
  color: var(--blue-950);
}

.brand-footer .brand-text strong {
  color: var(--white);
}

.brand-footer .brand-text small {
  color: var(--gold-650);
}

.site-footer p {
  margin: 14px 0 0;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer h2 {
  color: var(--white);
  font-size: 21px;
}

.legal-section {
  padding-top: 150px;
  background: var(--soft);
}

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

.legal-content h1 {
  max-width: 720px;
  margin-bottom: 16px;
  color: var(--blue-950);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
}

.legal-content h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  color: var(--blue-950);
  font-size: 24px;
}

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

@media (max-width: 1120px) {
  .primary-nav a {
    padding-inline: 9px;
    font-size: 13px;
  }

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

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

@media (max-width: 920px) {
  .site-header {
    padding: 10px 16px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: grid;
    gap: 2px;
  }

  .primary-nav a {
    min-height: 48px;
    padding: 11px 12px;
    font-size: 15px;
  }

  .primary-nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: 710px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .intro-section h2,
  .section-head h2,
  .decision-layout h2,
  .buyer-grid h2,
  .image-grid h2,
  .search-grid h2,
  .faq-grid h2,
  .contact-grid h2 {
    font-size: 42px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 26, 47, 0.95) 0%, rgba(7, 26, 47, 0.82) 65%, rgba(7, 26, 47, 0.52) 100%),
      linear-gradient(0deg, rgba(7, 26, 47, 0.86) 0%, rgba(7, 26, 47, 0.06) 54%);
  }

  .trust-grid,
  .intro-grid,
  .decision-layout,
  .buyer-grid,
  .image-grid,
  .search-grid,
  .faq-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .advisor-card {
    position: static;
  }

  .buyer-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  body {
    font-size: 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-logo {
    width: 58px;
    height: 36px;
  }

  .brand > span {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-text small {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding: 46px 0 24px;
  }

  .hero-media img {
    object-position: 26% center;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 27px;
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: inline;
  }

  .hero-actions {
    display: grid;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 16px;
  }

  .intro-section h2,
  .section-head h2,
  .decision-layout h2,
  .buyer-grid h2,
  .image-grid h2,
  .search-grid h2,
  .faq-grid h2,
  .contact-grid h2 {
    font-size: 31px;
  }

  .button {
    width: 100%;
  }

  .trust-grid,
  .card-grid,
  .type-grid,
  .form-grid,
  .optional-grid,
  .mini-grid,
  .steps,
  .query-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: auto;
  }

  .info-card,
  .steps li,
  .type-card {
    min-height: auto;
  }

  .type-card.large {
    grid-column: auto;
    grid-row: auto;
    grid-template-rows: auto auto;
  }

  .type-card.large img,
  .image-panel img {
    height: 260px;
    min-height: 0;
  }

  .type-card > img {
    height: 210px;
  }

  .contact-form,
  .advisor-card {
    padding: 20px;
  }

  .form-switch {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
