:root {
  --navy: #081b31;
  --navy-dark: #051324;
  --blue: #0878d1;
  --blue-hover: #0769b8;
  --ink: #10243b;
  --muted: #627488;
  --line: #dce6ef;
  --soft: #f4f8fc;
  --white: #fff;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

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

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

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

/* ==========================================================================
   TOPBAR (Universal WST Institutional Bar)
   ========================================================================== */
.site-topbar {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: #94a3b8;
  padding: 8px 0;
  line-height: 1.2;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
}

.topbar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  flex-shrink: 0;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-sep {
  color: rgba(255, 255, 255, 0.2);
}

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #cbdbe9;
}

.topbar-phone strong {
  color: #38bdf8;
  font-weight: 750;
}

.topbar-phone:hover strong {
  color: #7dd3fc;
}

/* Header — Unified Enterprise Dark Navy */
.quote-header,
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  width: 130px;
  height: auto;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.quote-nav,
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 20px;
}

.quote-nav a,
.site-nav a {
  font-size: 13.5px;
  font-weight: 650;
  color: #e2e8f0;
  transition: color 0.15s ease;
}

.quote-nav a:hover,
.site-nav a:hover {
  color: #38bdf8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.back {
  font-size: 12.5px;
  font-weight: 700;
  color: #cbdbe9;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.15s ease;
}

.back:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.langs,
.lang-switch {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.langs button,
.lang-btn {
  border: 0;
  background: transparent;
  padding: 5px 8px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.langs button.is-active,
.lang-btn.is-active {
  color: #ffffff;
  background: var(--blue);
}

/* Hero — Unified Enterprise Dark Navy */
.eyebrow {
  margin: 0 0 10px;
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-hero {
  padding: 52px 0 40px;
  background: radial-gradient(circle at 85% 20%, rgba(14, 116, 214, 0.22) 0%, rgba(7, 27, 49, 0) 55%),
              linear-gradient(180deg, #071b31 0%, #0a2342 60%, #0d2c52 100%);
  border-bottom: 1px solid #e7eff6;
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.lead {
  max-width: 620px;
  margin: 16px 0 0;
  color: #cbdbe9;
  font-size: 15.5px;
  line-height: 1.62;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 700;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid #d4e3ef;
  border-radius: 8px;
  background: #fff;
  color: #3b536d;
  font-size: 12px;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  height: 320px;
  border-radius: 16px;
  background: #0b2744;
  box-shadow: 0 16px 40px rgba(8, 35, 62, 0.14);
}

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

.hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 18, 34, 0.78));
}

.visual-note {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #fff;
}

.visual-note b, .visual-note span {
  display: block;
}

.visual-note b {
  font-size: 17px;
}

.visual-note span {
  margin-top: 3px;
  color: #c9dbea;
  font-size: 11px;
}

/* Deliverables Bar */
.deliverables-shell {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid #dbe6f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(12, 36, 62, 0.04);
}

.deliverables-head {
  margin-bottom: 16px;
}

.deliverables-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

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

.deliv-item {
  border-left: 2px solid var(--blue);
  padding-left: 12px;
}

.deliv-item strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  margin-bottom: 4px;
}

.deliv-item p {
  margin: 0;
  color: #64768a;
  font-size: 11px;
  line-height: 1.5;
}

/* Quote Layout */
.quote-section {
  padding: 44px 0 54px;
  background: var(--soft);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

/* Form Shell */
.form-shell {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(19, 51, 83, 0.06);
}

.steps-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf2f7;
}

.step-pill {
  padding: 8px 12px;
  border-radius: 8px;
  background: #f3f7fb;
  color: #5b6f84;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  border: 1px solid #e1ebf3;
}

.step-pill.active {
  background: #eaf5fd;
  color: var(--blue);
  border-color: #badcf6;
}

.form-heading {
  margin-bottom: 24px;
}

.form-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
  letter-spacing: -0.03em;
}

.form-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

fieldset {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eef3f8;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.grid label {
  display: block;
}

.grid label.wide {
  grid-column: 1 / -1;
}

.grid label > span {
  display: block;
  margin-bottom: 6px;
  color: #4b6075;
  font-size: 12px;
  font-weight: 750;
}

.grid input, .grid select, .grid textarea {
  width: 100%;
  border: 1px solid #d4e0ea;
  border-radius: 9px;
  background: #fbfdff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.grid input, .grid select {
  height: 46px;
  padding: 0 12px;
}

.grid textarea {
  padding: 11px 12px;
  resize: vertical;
  min-height: 96px;
}

.grid input:focus, .grid select:focus, .grid textarea:focus {
  border-color: #75bce9;
  box-shadow: 0 0 0 3px rgba(8, 120, 209, 0.08);
  outline: 0;
}

.grid .invalid {
  border-color: #d84d4d;
}

.error {
  display: block;
  min-height: 14px;
  margin-top: 4px;
  color: #c63d3d;
  font-size: 10px;
}

.honeypot {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 22px 0 0;
  color: #647688;
  font-size: 11px;
  line-height: 1.5;
}

.consent input {
  margin-top: 2px;
}

.consent a {
  color: var(--blue);
  text-decoration: underline;
}

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

.btn {
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(8, 120, 209, 0.2);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.submit-row p {
  margin: 0;
  color: #7d8d9e;
  font-size: 11px;
}

.status {
  display: none;
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.status.success {
  display: block;
  background: #edf9f2;
  border: 1px solid #cce9d7;
  color: #176c3f;
}

.status.error {
  display: block;
  background: #fff2f2;
  border: 1px solid #f0cccc;
  color: #a83333;
}

/* Sidebar */
.side {
  display: grid;
  gap: 16px;
}

.side-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(12, 36, 62, 0.04);
}

.side-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: -0.01em;
}

.side-card ol {
  margin: 0;
  padding-left: 18px;
  color: #55687b;
  font-size: 12px;
  line-height: 1.6;
}

.side-card li + li {
  margin-top: 8px;
}

.side-card.reassurance ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-card.reassurance li {
  position: relative;
  padding-left: 20px;
  color: #55687b;
  font-size: 12px;
  line-height: 1.5;
}

.side-card.reassurance li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900;
}

.side-card.reassurance li + li {
  margin-top: 10px;
}

.side-card.dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.side-card.dark .side-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.side-card.dark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

.side-card.dark h3 {
  color: #fff;
  margin: 0;
  font-size: 17px;
}

.side-card.dark .side-dept {
  font-size: 11px;
  color: #9cb2c5;
}

.side-card.dark .side-corp {
  font-size: 11px;
  color: #9cb2c5;
  line-height: 1.4;
  margin-bottom: 14px;
}

.side-card.dark a {
  display: block;
  margin: 6px 0;
  color: #dbe7f1;
  font-size: 12px;
  font-weight: 700;
}

.side-card.dark .side-hours {
  font-size: 11px;
  color: #7a93a8;
  display: block;
  margin-top: 8px;
}

.side-card.dark a:hover {
  color: #75bce9;
}

/* Universal Enterprise Footer */
.site-footer {
  background: #061629;
  color: #dce6ee;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 34px;
  padding-top: 48px;
  padding-bottom: 36px;
}

.footer-brand img {
  width: 124px;
  height: auto;
  background: #ffffff;
  padding: 5px 10px;
  border-radius: 8px;
}

.footer-brand p {
  max-width: 260px;
  margin: 16px 0 0;
  color: #93a9ba;
  font-size: 11.5px;
  line-height: 1.55;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.footer-grid a, .footer-grid span {
  display: block;
  margin: 8px 0;
  color: #9eb0bf;
  font-size: 11px;
  line-height: 1.4;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-langs {
  display: flex;
  margin-top: 14px;
  gap: 4px;
}

.footer-langs button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #cbdbe9;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.footer-langs button.is-active {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #788e9f;
  font-size: 11px;
}

.mobile-bar {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-visual {
    height: 280px;
  }
  .deliverables-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quote-layout {
    grid-template-columns: 1fr;
  }
  .side {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .quote-nav {
    display: none;
  }
  .side {
    grid-template-columns: 1fr;
  }
  .deliverables-grid {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .grid label.wide {
    grid-column: auto;
  }
  .steps-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 70px;
  }
  .container {
    width: calc(100% - 24px);
  }
  .header-inner {
    height: 64px;
  }
  .brand img {
    height: 32px;
    max-width: 110px;
  }
  .quote-hero {
    padding: 32px 0 24px;
  }
  .hero-copy h1 {
    font-size: 28px;
  }
  .hero-visual {
    height: 220px;
  }
  .form-shell {
    padding: 20px;
  }
  .submit-row {
    flex-direction: column;
    align-items: stretch;
  }
  .submit-row .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 32px;
    padding-bottom: 28px;
  }
  .footer-brand p {
    max-width: none;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .mobile-bar {
    position: fixed;
    z-index: 100;
    left: 8px;
    right: 8px;
    bottom: 8px;
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 7px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 30px rgba(7, 29, 52, 0.2);
    backdrop-filter: blur(12px);
  }
  .mobile-bar a, .mobile-bar button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
  }
  .mobile-bar a {
    border: 1px solid #ccd9e4;
    color: var(--navy);
  }
  .mobile-bar button {
    border: 0;
    background: var(--blue);
    color: #fff;
  }
}
