:root {
  --ink: #101317;
  --muted: #59606b;
  --line: #d7dce2;
  --soft: #f4f6f8;
  --panel: #ffffff;
  --accent: #a8782a;
  --accent-dark: #75521f;
  --steel: #233342;
  --steel-soft: #e7edf1;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--panel);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  color: white;
  background: rgba(8, 10, 12, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: #f5d391;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.language-select {
  height: 36px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 28px 0 10px;
  font-weight: 760;
  cursor: pointer;
}

.language-select option {
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #07090b;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.04) 48%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 88px;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-body {
  max-width: 670px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  font-weight: 760;
  font-size: 14px;
}

.button.primary {
  color: white;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.stats-band {
  background: var(--steel);
  color: white;
}

.stats-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.stats-grid div {
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.055);
}

.stats-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #f6d395;
  font-size: 24px;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section.muted {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.check-list,
.capability-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li,
.capability-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before,
.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

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

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.service-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card p {
  margin-bottom: 0;
}

.image-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 620px;
  background: var(--steel);
  color: white;
}

.image-band img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.image-band div {
  padding: 64px clamp(28px, 6vw, 86px);
}

.image-band h2 {
  color: white;
}

.image-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.capability-list {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.workflow-step span {
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
}

.workflow-step p {
  margin-bottom: 0;
}

.calibration {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 56px;
  align-items: center;
  padding: 78px clamp(28px, 5vw, 58px);
  color: white;
  background: #121820;
  border-radius: 8px;
}

.calibration h2,
.calibration h3 {
  color: white;
}

.calibration p,
.calibration li {
  color: rgba(255, 255, 255, 0.72);
}

.calibration-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.calibration-panel ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.calibration-panel li {
  margin: 12px 0;
  line-height: 1.5;
}

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

.asset-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: white;
}

.asset-card img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  background: var(--steel-soft);
}

.asset-card div {
  padding: 24px;
}

.asset-card p {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 760;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 64px;
  padding: 52px;
  color: white;
  background: var(--steel);
  border-radius: 8px;
}

.contact-section h2 {
  color: white;
}

.contact-section p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 28px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #080b0f;
}

.site-footer strong {
  color: white;
}

.inquiry-section {
  padding-top: 24px;
}

.inquiry-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 760;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #cbd2da;
  border-radius: 4px;
  background: white;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.inquiry-form textarea {
  resize: vertical;
  margin-top: 18px;
}

.consent-line {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px !important;
  margin: 18px 0;
  color: var(--muted) !important;
  font-weight: 600 !important;
}

.consent-line input {
  width: auto;
  margin-top: 4px;
}

.hidden-field {
  display: none;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(rgba(8, 11, 15, 0.82), rgba(8, 11, 15, 0.82)),
    url("assets/hero-framework.jpg") center / cover;
}

.thank-you-card {
  width: min(720px, 100%);
  padding: 46px;
  border-radius: 8px;
  background: white;
}

.thank-you-card h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.02;
}

.thank-you-languages {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  .brand {
    order: 1;
  }

  .language-select-wrap {
    order: 2;
    margin-left: auto;
  }

  .menu-toggle {
    order: 3;
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 4px;
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
  }

  .nav-links {
    order: 4;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 20px 24px;
    background: rgba(8, 10, 12, 0.96);
  }

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

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

  .split,
  .image-band,
  .calibration {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .services-grid,
  .asset-grid,
  .workflow-grid,
  .capability-list,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .image-band img {
    height: 420px;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 66px;
  }

  .brand span:last-child {
    max-width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    top: 66px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-body {
    font-size: 16px;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 68px 0;
  }

  .section.muted {
    padding-left: 16px;
    padding-right: 16px;
  }

  .services-grid,
  .asset-grid,
  .workflow-grid,
  .capability-list,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .workflow-step {
    grid-template-columns: 1fr;
  }

  .calibration {
    padding: 40px 22px;
  }

  .contact-section {
    width: min(100% - 32px, var(--max));
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 24px;
  }

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

  .inquiry-form {
    padding: 22px;
  }
}
