:root {
  --navy: #0b2149;
  --navy-dark: #071a3b;
  --blue: #1554d1;
  --blue-bright: #1760e9;
  --light-blue: #eef4ff;
  --page: #f5f8fd;
  --text: #13213a;
  --muted: #6b7890;
  --border: #dce4ef;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(20, 42, 78, .06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page);
  line-height: 1.5;
}

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

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

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

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

/* HEADER */
.site-header {
  height: 66px;
  background: var(--white);
  border-bottom: 1px solid #edf1f6;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.9px;
  color: #17233a;
}

.brand span,
.footer-brand span { color: var(--blue); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav > a:not(.quote-btn) {
  color: #202a3c;
  position: relative;
  padding: 24px 0;
}

.main-nav > a:not(.quote-btn):hover,
.main-nav > a.active { color: var(--blue); }

.main-nav > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--blue);
  border-radius: 5px;
}

.quote-btn,
.submit-btn {
  border: 0;
  background: var(--blue-bright);
  color: white;
  border-radius: 30px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 7px 16px rgba(23, 96, 233, .18);
}

.quote-btn span,
.submit-btn span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}

.menu-toggle {
  display: none;
  width: 43px;
  height: 40px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

/* HERO */
.contact-hero {
  background: var(--navy);
  color: white;
  padding: 27px 0 16px;
}

.hero-grid {
  min-height: 273px;
  display: grid;
  grid-template-columns: 1fr 310px;
  align-items: center;
  gap: 50px;
}

.breadcrumb {
  display: flex;
  gap: 12px;
  color: #9eb0cf;
  font-size: 12px;
  margin-bottom: 15px;
}

.breadcrumb a:hover { color: white; }

.hero-copy h1 {
  margin: 0 0 3px;
  font-size: clamp(38px, 4vw, 55px);
  line-height: 1.05;
  letter-spacing: -1.7px;
}

.hero-copy p {
  margin: 0;
  color: #c0cbe0;
  font-size: 14px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 55px;
}

.hero-badges span {
  background: rgba(48, 94, 165, .35);
  color: #dce8ff;
  border-radius: 18px;
  padding: 6px 10px;
  font-size: 12px;
}

.hero-badges b {
  color: #fff;
  background: #3478ed;
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin-right: 4px;
  font-size: 9px;
}

.hero-socials {
  width: 230px;
  justify-self: end;
  padding: 14px;
  border: 1px solid rgba(125, 169, 240, .28);
  border-radius: 19px;
  background: rgba(36, 72, 126, .38);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.hero-socials a {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #eaf0fb;
  display: grid;
  place-items: center;
}

.hero-socials a:hover { transform: translateY(-2px); }

.hero-socials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-socials p {
  grid-column: 1 / -1;
  text-align: center;
  margin: 8px 0 -1px;
  color: #aebbd1;
  font-size: 10px;
}

/* GENERAL */
.section { padding: 47px 0; }

.contact-options { background: #f6f9fe; }

.section-heading { margin-bottom: 27px; }

.eyebrow {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 7px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 34px);
  letter-spacing: -1px;
  line-height: 1.1;
}

.section-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* OPTIONS */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.option-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 17px;
  box-shadow: var(--shadow);
}

.option-card h3 {
  margin: 0;
  font-size: 17px;
}

.card-intro {
  margin: 2px 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.contact-link {
  min-height: 50px;
  border: 1px solid #dfe7f1;
  background: #f9fbfe;
  border-radius: 11px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  margin-top: 7px;
  transition: .2s ease;
}

.contact-link:hover {
  border-color: #a9c3f4;
  transform: translateY(-1px);
  background: white;
}

.contact-link img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 9px;
  background: #e7edf6;
}

.contact-link span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.contact-link strong { font-size: 13px; }
.contact-link small {
  color: #8a95a7;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-link > b {
  color: var(--blue);
  font-size: 18px;
  font-weight: 500;
}

/* FORM */
.form-section { background: #f6f9fe; padding-top: 5px; }

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .85fr);
  gap: 24px;
  align-items: stretch;
}

.quote-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 27px;
  box-shadow: var(--shadow);
}

.form-title h2 {
  margin: 0;
  font-size: 20px;
}

.form-title p {
  margin: 2px 0 17px;
  color: var(--muted);
  font-size: 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 14px;
  margin-bottom: 14px;
}

.field label,
.services-field legend {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
}

.field label span,
.services-field legend span { color: var(--blue); }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d5dfeb;
  border-radius: 8px;
  background: white;
  padding: 10px 12px;
  color: var(--text);
  outline: none;
  font-size: 13px;
  transition: .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #6190eb;
  box-shadow: 0 0 0 3px rgba(31, 94, 214, .08);
}

.field textarea {
  resize: vertical;
  min-height: 105px;
}

.services-field {
  border: 0;
  padding: 0;
  margin: 0 0 15px;
}

.services-field legend small {
  color: #8a95a7;
  font-weight: 500;
  margin-left: 3px;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.choice { position: relative; }

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #d2dce9;
  border-radius: 20px;
  font-size: 11px;
  color: #344157;
  cursor: pointer;
  transition: .2s;
}

.choice input:checked + span {
  color: var(--blue);
  border-color: #5d8de9;
  background: #edf4ff;
  font-weight: 700;
}

.choice input:checked + span::before {
  content: "✓";
  margin-right: 4px;
  font-weight: 900;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 13px;
  color: #6d788b;
  font-size: 11px;
}

.consent input {
  margin-top: 1px;
  accent-color: var(--blue);
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 17px;
}

.submit-btn {
  padding: 10px 17px;
  font-size: 11px;
}

.reply-note {
  color: #7b8799;
  font-size: 11px;
}

.form-status {
  margin: 10px 0 0;
  font-size: 10px;
  font-weight: 700;
}

.hidden-field {
  position: absolute !important;
  left: -5000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* NEXT CARD */
.next-card {
  background: #1749cc;
  color: white;
  border-radius: 15px;
  padding: 27px 25px 20px;
  box-shadow: 0 15px 30px rgba(23, 73, 204, .12);
}

.next-card h2 {
  margin: 0;
  font-size: 21px;
}

.next-card > p {
  margin: 2px 0 22px;
  color: #d5e0ff;
  font-size: 12px;
}

.steps { position: relative; }

.steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 17px;
  bottom: 19px;
  width: 1px;
  background: rgba(255,255,255,.7);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 11px;
  min-height: 73px;
}

.step > span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  z-index: 1;
}

.step h3 {
  margin: 2px 0 1px;
  font-size: 13px;
}

.step p {
  margin: 0;
  color: #d9e4ff;
  font-size: 11px;
  line-height: 1.5;
}

.quick-chat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 7px;
  padding: 13px;
  border-radius: 11px;
  background: rgba(92, 142, 240, .45);
}

.quick-chat:hover { background: rgba(92, 142, 240, .62); }

.quick-chat strong { font-size: 12px; }
.quick-chat span { color: #dce7ff; font-size: 11px; }

/* FOOTER */
.site-footer {
  background: #061731;
  color: white;
  padding: 23px 0 13px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
}

.footer-brand { color: white; font-size: 25px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 9px;
  color: #d5deed;
}

.footer-nav a:hover { color: white; }

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.footer-socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #162b4b;
  color: #dce7f8;
  font-size: 9px;
  font-weight: 800;
}

.footer-bottom {
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8391a9;
  font-size: 9px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .main-nav { gap: 14px; }
  .hero-grid { grid-template-columns: 1fr 260px; }
  .form-grid { grid-template-columns: 1fr; }
  .next-card { min-height: auto; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 30px, 600px); }

  .site-header { height: 64px; }

  .menu-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 15px;
    right: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 18px 35px rgba(14, 33, 67, .13);
  }

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

  .main-nav > a:not(.quote-btn) {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .main-nav > a.active::after { display: none; }
  .main-nav > a.active { background: #eef4ff; }

  .quote-btn { text-align: center; margin-top: 4px; }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 8px;
  }

  .hero-socials {
    justify-self: start;
    width: 220px;
  }

  .hero-badges { margin-top: 27px; }

  .options-grid { grid-template-columns: 1fr; }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials { justify-content: center; }

  .footer-nav { gap: 13px; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .section { padding: 37px 0; }

  .hero-copy h1 { font-size: 39px; }

  .field-grid { grid-template-columns: 1fr; gap: 12px; }

  .quote-form { padding: 19px; }

  .submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .reply-note { margin-left: 2px; }

  .hero-socials { width: 100%; max-width: 250px; }
}

/* Typography scale: intentionally larger for easier reading */
.main-nav { font-size: 14px; }
.breadcrumb { font-size: 12px; }
.hero-copy p { font-size: 16px; line-height: 1.65; }
.hero-badges span { font-size: 11px; }
.section-heading p { font-size: 15px; line-height: 1.6; }
.option-card h3 { font-size: 18px; }
.card-intro { font-size: 12px; }
.contact-link strong { font-size: 13px; }
.contact-link small { font-size: 11px; }
.form-title h2 { font-size: 21px; }
.form-title p { font-size: 13px; line-height: 1.5; }
.field label, .services-field legend { font-size: 12px; }
.field input, .field select, .field textarea { font-size: 13px; padding: 12px 13px; }
.choice span { font-size: 11px; padding: 7px 11px; }
.consent { font-size: 11px; line-height: 1.5; }
.submit-btn { font-size: 13px; }
.reply-note { font-size: 11px; }
.next-card h2 { font-size: 21px; }
.next-card > p { font-size: 12px; }
.step h3 { font-size: 13px; }
.step p { font-size: 11px; }
.quick-chat strong { font-size: 12px; }
.quick-chat span { font-size: 11px; }
.footer-nav { font-size: 11px; }
.footer-bottom { font-size: 10px; }

@media (max-width: 520px) {
  .hero-copy p { font-size: 15px; }
  .section-heading p { font-size: 14px; }
  .option-card h3 { font-size: 17px; }
  .form-title h2 { font-size: 20px; }
  .field input, .field select, .field textarea { font-size: 14px; }
  .choice span { font-size: 11px; }
}
