:root {
  --navy: #0c1f3d;
  --navy-mid: #152d52;
  --navy-light: #1e3a66;
  --gold: #c9a227;
  --gold-soft: #e8d48a;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text: #1a2332;
  --text-muted: #5a6578;
  --border: #dde3ec;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(12, 31, 61, 0.08);
  --shadow-lg: 0 20px 60px rgba(12, 31, 61, 0.12);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --max: 1140px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 8px;
}

.logo-text {
  font-weight: 600;
  font-size: 0.95rem;
  max-width: 220px;
  line-height: 1.25;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.main-nav a:hover {
  color: var(--navy);
}

.nav-cta {
  padding: 0.5rem 1.1rem;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--navy-mid);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(201, 162, 39, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(30, 58, 102, 0.12), transparent),
    linear-gradient(180deg, var(--cream) 0%, #eef1f6 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 1.25rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stats strong {
  font-size: 1rem;
  color: var(--navy);
}

.hero-stats span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-card h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 1rem;
}

.hero-card p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
}

.hero-card li {
  margin-bottom: 0.5rem;
}

/* Trust bar */
.trust-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem 0;
}

.trust-grid p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  max-width: 52em;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-tags span {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.875rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.section-label-light {
  color: var(--gold-soft);
}

.section-header {
  margin-bottom: 3rem;
  max-width: 42em;
}

.section-header.narrow {
  max-width: 36em;
}

.section-header h2,
.split h2,
.process-steps h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 1rem;
}

.section-dark h2 {
  color: var(--white);
}

.section-intro {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

.section-intro.light {
  color: rgba(255, 255, 255, 0.75);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-content p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.split-content p strong {
  color: var(--text);
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.info-card h3 {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.info-card dl {
  margin: 0;
}

.info-card dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 1rem;
}

.info-card dt:first-child {
  margin-top: 0;
}

.info-card dd {
  margin: 0.35rem 0 0;
  color: var(--text);
}

/* Service cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Features */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.feature-row h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.feature-row p {
  margin: 0;
  color: var(--text-muted);
}

/* Process */
.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.75rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
}

.steps strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.steps span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pull-quote {
  margin: 2rem 0 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--gold);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.industry-grid article {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.industry-grid h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.industry-grid p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Tech columns */
.tech-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tech-columns h3 {
  color: var(--gold-soft);
  font-size: 1rem;
  margin: 0 0 1rem;
}

.tech-columns ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.tech-columns li {
  margin-bottom: 0.5rem;
}

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.case-card h3 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.case-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Check list */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonials-grid blockquote {
  margin: 0;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.testimonials-grid p {
  margin: 0 0 1.25rem;
  font-style: italic;
  color: var(--text);
}

.testimonials-grid footer {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 48em;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-list summary {
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  padding-right: 2rem;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.25rem;
  color: var(--gold);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Insights */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.insights-grid article {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.insights-grid time {
  font-size: 0.8125rem;
  color: var(--gold);
  font-weight: 600;
}

.insights-grid h3 {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.insights-grid p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.insights-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Partners */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.partner-logos span {
  padding: 1rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, var(--cream) 0%, #e8ecf2 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-address {
  font-style: normal;
  margin: 1.5rem 0;
  line-height: 1.8;
  color: var(--text);
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--navy-light);
  outline-offset: 1px;
}

.form-disclaimer {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
}

.footer-logo {
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.footer-small {
  font-size: 0.875rem;
  margin-top: 1rem;
  opacity: 0.75;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--gold);
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .split.reverse,
  .contact-grid,
  .tech-columns {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .logo-text {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
