:root {
  --navy: #0f2049;
  --navy-light: #17306e;
  --steel: #8a7a5f;
  --steel-dark: #6f6149;
  --slate: #5c5648;
  --slate-light: #837a68;
  --bg: #f8f6f2;
  --white: #ffffff;
  --border: #e6e0d3;
  --success: #1a7f4e;
  --error: #b3392c;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(15, 32, 73, 0.08);
  --max-width: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(26px, 4vw, 34px); }
h3 { font-size: 20px; }

p { margin: 0 0 16px; }

.lede {
  font-size: 18px;
  color: var(--slate);
  max-width: 640px;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--steel);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--steel-dark);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.brand-logo-footer {
  height: 60px;
}

nav#main-nav ul {
  display: flex;
  gap: 32px;
}

nav#main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

nav#main-nav a:hover {
  color: var(--steel);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.menu-icon span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.2s ease;
}

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(138, 122, 95, 0.18), transparent), var(--navy);
  color: var(--white);
  padding: 100px 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 32px;
}

.hero-panel ul li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-panel ul li:last-child {
  border-bottom: none;
}

.hero-panel .dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--steel);
  margin-top: 7px;
}

/* Trust bar */
.trust-bar {
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.trust-bar .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-bar .grid div {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}

/* Grids and cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(138, 122, 95, 0.14);
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.card ul {
  margin-top: 16px;
}

.card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--slate);
  font-size: 15px;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--steel);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 700;
  color: var(--steel);
  font-size: 14px;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step .num {
  font-size: 14px;
  font-weight: 800;
  color: var(--steel);
  border: 2px solid var(--steel);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step p.desc {
  color: var(--slate);
  font-size: 14px;
}

/* Industries */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.chip {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: 16px;
  padding: 56px;
  text-align: center;
}

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

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .hero-actions {
  justify-content: center;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.contact-info-card .row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-card .row:last-child {
  border-bottom: none;
}

.contact-info-card .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-light);
  font-weight: 700;
  margin-bottom: 2px;
}

form#contactForm {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(138, 122, 95, 0.2);
}

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

.field-error {
  color: var(--error);
  font-size: 13px;
  min-height: 16px;
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--slate);
}

.consent-row input {
  margin-top: 3px;
}

.form-msg {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: var(--radius);
  display: none;
}

.form-msg.show {
  display: block;
}

.form-msg.success {
  background: rgba(26, 127, 78, 0.1);
  color: var(--success);
}

.form-msg.error {
  background: rgba(192, 57, 43, 0.1);
  color: var(--error);
}

.recaptcha-note {
  font-size: 12px;
  color: var(--slate-light);
}

.recaptcha-note a {
  text-decoration: underline;
}

/* Page header (interior pages) */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* Service detail blocks */
.service-block {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block h3 {
  font-size: 24px;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-item {
  display: flex;
  gap: 16px;
}

.service-item .num {
  flex-shrink: 0;
  font-weight: 800;
  color: var(--steel);
  font-size: 14px;
  width: 28px;
}

.service-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.service-item p {
  margin: 0;
  color: var(--slate);
  font-size: 14.5px;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer ul li {
  margin-bottom: 10px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

/* Legal pages */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 40px;
}

.legal-content p, .legal-content li {
  color: var(--slate);
}

.legal-content ul {
  margin-bottom: 16px;
}

.legal-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
}

.updated {
  color: var(--slate-light);
  font-size: 14px;
  margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container,
  .contact-layout,
  .service-block {
    grid-template-columns: 1fr;
  }

  .grid-2, .grid-3, .grid-4, .steps, .trust-bar .grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  nav#main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  nav#main-nav.active {
    max-height: 400px;
  }

  nav#main-nav ul {
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
  }

  nav#main-nav a {
    display: block;
    padding: 12px 0;
  }

  .menu-icon {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }
}

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

  .grid-2, .grid-3, .grid-4, .steps, .trust-bar .grid, .footer-grid, .form-row {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 36px 24px;
  }
}
