:root {
  color-scheme: light;
  --navy: #0b1f3a;
  --navy-deep: #071528;
  --teal: #009aa6;
  --teal-dark: #007d87;
  --teal-soft: #e6f5f6;
  --ink: #3b4c60;
  --muted: #5c6e82;
  --line: #dce3e9;
  --wash: #f4f7f9;
  --white: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK", "PingFang SC", "Helvetica Neue", "Microsoft JhengHei", "Microsoft YaHei", Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.68;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

h1, h2, h3, h4, p, ul, ol {
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: 650;
  color: var(--navy);
}

p {
  color: var(--ink);
}

section[id] {
  scroll-margin-top: 98px;
}

.container {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  padding: 10px 16px;
  background: var(--white);
  border: 2px solid var(--teal);
  z-index: 100;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  border-top: 4px solid var(--navy);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  display: block;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
}

.main-nav a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--teal);
}

.language-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  white-space: nowrap;
}

.language-nav a {
  padding: 6px 10px;
  text-decoration: none;
  border-radius: 3px;
  color: var(--ink);
}

.language-nav a[aria-current="page"] {
  color: var(--white);
  background: var(--navy);
  font-weight: 600;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--wash) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: 72px 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 5px 11px;
  border-radius: 3px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(26px, 3.8vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.hero-subline {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 38em;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  padding: 5px 12px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--navy);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--navy);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--teal);
  text-decoration: none;
}

.scope-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  padding: 26px 28px;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.04);
}

.scope-panel h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.scope-list {
  list-style: none;
  padding: 0;
}

.scope-list li {
  padding-block: 13px;
  border-top: 1px solid var(--line);
}

.scope-list li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.scope-list li:last-child {
  padding-bottom: 2px;
}

.scope-list strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 3px;
}

.scope-list span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Section Headers */
.section-block {
  padding-block: 68px 72px;
  border-bottom: 1px solid var(--line);
}

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

.section-head {
  max-width: 48em;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
}

/* Capability Blocks (4-grid) */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.capability-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.capability-card:nth-child(even) {
  border-top-color: var(--teal);
}

.cap-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.capability-card h3 {
  font-size: 19px;
  line-height: 1.35;
}

.capability-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}

.cap-points {
  margin-top: 6px;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

/* Staged Cooperation Path */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stage-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 22px;
  position: relative;
}

.stage-step {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 3px 9px;
  margin-bottom: 12px;
}

.stage-card:nth-child(even) .stage-step {
  background: var(--teal-dark);
}

.stage-card h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.stage-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* RFQ Form */
.rfq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.rfq-aside {
  background: var(--navy);
  color: var(--white);
  padding: 28px 30px;
  border-top: 4px solid var(--teal);
}

.rfq-aside h3 {
  color: var(--white);
  font-size: 19px;
  margin-bottom: 10px;
}

.rfq-aside p {
  color: #cdd8e3;
  font-size: 14.5px;
  line-height: 1.65;
}

.rfq-checklist {
  margin-top: 18px;
  padding-left: 18px;
  color: #e3ecf3;
  font-size: 13.5px;
  display: grid;
  gap: 8px;
}

.rfq-direct {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13.5px;
  color: #cdd8e3;
}

.rfq-direct a {
  color: var(--white);
  font-weight: 600;
  text-decoration-color: var(--teal);
}

.rfq-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px 32px;
}

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

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

.form-field.full {
  grid-column: 1 / -1;
}

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

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #bfcbd6;
  padding: 10px 12px;
  border-radius: 2px;
}

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

.form-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-note {
  font-size: 12.5px;
  color: var(--muted);
}

/* Contact Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  border-top: 4px solid var(--teal);
  padding-block: 52px 44px;
}

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

.footer-col h2,
.footer-col h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-col p,
.footer-col li {
  color: #c8d4df;
  font-size: 14px;
  line-height: 1.7;
}

.footer-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 6px;
}

.footer-list a {
  color: var(--white);
  text-decoration-color: var(--teal);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: #9fb0c1;
}

.footer-bottom p {
  color: #9fb0c1;
}

@media (max-width: 960px) {
  section[id] {
    scroll-margin-top: 124px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-block: 14px;
  }
  .language-nav {
    margin-left: auto;
  }
  .main-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .hero-grid,
  .rfq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-inner {
    gap: 10px 12px;
  }
  .brand {
    font-size: 20px;
    gap: 10px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .language-nav {
    padding-left: 10px;
    font-size: 12px;
  }
  .language-nav a {
    padding: 5px 8px;
  }
  .main-nav {
    gap: 8px 16px;
    font-size: 13px;
  }
  .capability-grid,
  .stage-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-block: 48px 52px;
  }
  .hero-subline {
    font-size: 16px;
  }
  .section-block {
    padding-block: 48px 52px;
  }
  .rfq-form {
    padding: 22px 20px;
  }
}

@media print {
  .container {
    width: 100%;
  }
  .site-header {
    position: static;
  }
  .main-nav,
  .language-nav,
  .skip-link,
  .hero-actions,
  #rfq {
    display: none;
  }
  .hero,
  .section-block,
  .site-footer {
    padding-block: 20px;
  }
  .capability-card,
  .stage-card,
  .scope-panel {
    break-inside: avoid;
  }
}
