:root {
  --navy: #0b1f3a;
  --ink: #172033;
  --muted: #5b667a;
  --line: #dbe2ea;
  --paper: #f7f9fc;
  --white: #ffffff;
  --gold: #c99a35;
  --gold-dark: #9b6f17;
  --shadow: 0 18px 50px rgba(8, 27, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 226, 234, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  width: 68px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 3px 12px rgba(8, 27, 52, 0.1);
}

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

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: #2d3748;
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  white-space: nowrap;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 17, 35, 0.88) 0%, rgba(5, 17, 35, 0.7) 42%, rgba(5, 17, 35, 0.22) 100%),
    linear-gradient(0deg, rgba(5, 17, 35, 0.34), rgba(5, 17, 35, 0.1));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding: 86px 0;
}

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

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--gold);
  color: #09182c;
}

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

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.intro p:last-child,
.section-heading p,
.final-cta p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.section-heading.compact {
  margin-bottom: 0;
}

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

.service-card {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(8, 27, 52, 0.06);
}

.card-number {
  display: inline-flex;
  color: var(--gold-dark);
  font-weight: 800;
  margin-bottom: 38px;
}

.service-card h3,
.process-steps h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.18rem;
}

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

.process {
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 5vw, 72px);
  background: var(--paper);
}

.process .section-heading,
.process-steps {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

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

.process-steps div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.forms-section {
  padding-bottom: 0;
}

.forms-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.forms-panel h2 {
  color: var(--white);
}

.forms-panel p {
  color: rgba(255, 255, 255, 0.76);
}

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

.form-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

a.form-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
}

.form-card span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.form-card strong {
  color: var(--white);
  font-size: 1.18rem;
}

.form-card.disabled {
  opacity: 0.66;
}

.consultation-section {
  padding-bottom: 0;
}

.consultation-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.consultation-panel h2 {
  margin: 0;
}

.consultation-panel p:not(.section-kicker) {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.final-cta {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-top: 96px;
}

.final-cta p {
  max-width: 720px;
  margin: 18px auto 8px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: #061326;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.form-page {
  background: var(--paper);
  min-height: calc(100vh - 75px);
}

.form-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.form-page-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.form-page-heading h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.form-page-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-page-heading .button {
  width: fit-content;
}

.jotform-frame {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.consultation-shell {
  width: min(980px, calc(100% - 40px));
}

.consultation-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(8, 27, 52, 0.08);
}

.form-row {
  display: grid;
  gap: 18px;
}

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

.consultation-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.consultation-form textarea {
  resize: vertical;
  line-height: 1.5;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  outline: 3px solid rgba(201, 154, 53, 0.24);
  border-color: var(--gold);
}

.consultation-form button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hidden-field {
  display: none;
}

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 17, 35, 0.9), rgba(5, 17, 35, 0.56));
  }

  .intro,
  .forms-panel,
  .consultation-panel {
    grid-template-columns: 1fr;
  }

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

  .consultation-panel .button {
    width: fit-content;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.86rem;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .section {
    width: calc(100% - 36px);
    padding: 68px 0;
  }

  .process {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .forms-panel {
    padding: 24px;
  }

  .form-shell {
    width: calc(100% - 36px);
    padding: 40px 0;
  }

  .jotform-frame {
    min-height: 820px;
  }

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