:root {
  --navy: #173356;
  --navy-deep: #102742;
  --copper: #b87333;
  --copper-soft: #c98a52;
  --slate: #66758a;
  --slate-light: #eef2f6;
  --ink: #1d2630;
  --white: #ffffff;
  --border: rgba(23, 51, 86, 0.12);
  --shadow: 0 20px 60px rgba(16, 39, 66, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

* {
  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(--ink);
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fa 100%);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

/* =========================
   HEADER
========================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(23, 51, 86, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(23, 51, 86, 0.18);
}

.brand-mark::after {
  inset: 8px;
  border-color: rgba(184, 115, 51, 0.28);
}

.needle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.needle svg {
  width: 54px;
  height: 54px;
}

.brand-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.brand-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.95rem;
  color: var(--slate);
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--white) !important;
  box-shadow: 0 12px 28px rgba(16, 39, 66, 0.18);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-deep);
  border-radius: 2px;
  transition: 0.25s ease;
}

/* =========================
   HERO
========================= */

.hero {
  padding: 64px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(184, 115, 51, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--navy-deep);
}

.hero h1 span {
  display: block;
  color: var(--copper);
}

.hero p {
  font-size: 1.08rem;
  color: #4f5f73;
  max-width: 640px;
  margin: 0 0 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.18s ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  box-shadow: 0 16px 34px rgba(16, 39, 66, 0.2);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(23, 51, 86, 0.14);
}

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

.metric {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow);
}

.metric strong {
  display: block;
  font-size: 1.45rem;
  color: var(--navy-deep);
}

.metric span {
  color: var(--slate);
  font-size: 0.92rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 51, 86, 0.1);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 15px;
}

.compass-wrap {
  position: relative;
  height: 100%;
}

.overlay-word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: grid;
  gap: 6px;
  text-align: center;
  padding: 22px 28px;
  min-width: 330px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(16, 39, 66, 0.12);
}

.overlay-word strong {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  color: var(--navy-deep);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.overlay-word span {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 800;
  white-space: nowrap;
}

/* =========================
   SECTIONS
========================= */

section {
  padding: 40px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-kicker {
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy-deep);
}

.section-copy {
  color: var(--slate);
  max-width: 670px;
}

/* =========================
   SERVICES
========================= */

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

.service-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 220px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--copper), var(--navy));
}

.service-index {
  font-size: 0.8rem;
  color: var(--copper);
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--navy-deep);
}

.service-card p {
  color: #55657a;
}

/* =========================
   PROCESS
========================= */

.process-chevron-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.process-chevron-step {
  position: relative;
  min-height: 220px;
  color: var(--white);
}

.process-chevron-step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    var(--navy-deep) 0%,
    var(--navy) 100%
  );
}

.process-chevron-inner {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.process-chevron-number {
  display: inline-flex;
  padding: 8px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.process-chevron-step h3 {
  margin: 0 0 10px;
}

.process-chevron-step p {
  color: rgba(255, 255, 255, 0.86);
}

/* =========================
   FAQ
========================= */

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 26px;
}

.faq-intro,
.faq-list {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.faq-badge {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(184, 115, 51, 0.12);
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 700;
}

.faq-item {
  border-bottom: 1px solid rgba(23, 51, 86, 0.08);
  padding: 14px 0;
}

details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-deep);
}

/* =========================
   INDUSTRIES
========================= */

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

.industry-slide {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--navy-deep);
}

.industry-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.industry-slide:hover img {
  transform: scale(1.06);
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 39, 66, 0.08) 0%,
    rgba(16, 39, 66, 0.22) 32%,
    rgba(16, 39, 66, 0.74) 72%,
    rgba(16, 39, 66, 0.9) 100%
  );
}

.industry-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
}

.industry-pill {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(184, 115, 51, 0.18);
  font-weight: 800;
}

.industry-content h3 {
  margin: 0 0 10px;
  color: var(--white);
}

.industry-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

/* =========================
   CTA
========================= */

.cta-card {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: 32px;
  padding: 38px;
  color: var(--white);
  box-shadow: 0 26px 70px rgba(16, 39, 66, 0.26);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
}

.contact-panel {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
}

/* =========================
   CONTACT FORM
========================= */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--copper);
}

.form-submit {
  padding: 13px 28px;
  background: var(--copper);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

/* =========================
   SOCIAL
========================= */

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.social-links svg {
  width: 18px;
  height: 18px;
}

/* =========================
   FOOTER
========================= */

footer {
  padding: 18px 0 36px;
  color: var(--slate);
  text-align: center;
  font-size: 0.9rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1080px) {
  .hero-grid,
  .faq-wrap,
  .cta-grid,
  .services-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .process-chevron-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-hamburger {
    display: flex;
  }

  .nav {
    flex-wrap: wrap;
  }
  .nav-cta {
  text-align: center;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(23, 51, 86, 0.08);
  }

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

  .nav-links a {
    width: 100%;
    padding: 12px 0;
  }

  .hero {
    padding-top: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .industry-slide {
    min-height: 340px;
  }

  .overlay-word strong {
    font-size: 2rem;
  }
}