/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  --navy:       #0b1e3d;
  --navy-mid:   #122447;
  --navy-light: #1a3260;
  --white:      #f5f8fc;
  --off-white:  #e8eef7;
  --blue:       #1e72c8;
  --blue-light: #3d8fe0;
  --blue-pale:  #dbeeff;
  --steel:      #6b82a0;
  --steel-light:#98afc8;
  --text-dark:  #0d1f3a;
  --text-body:  #2e4060;
  --text-muted: #6b82a0;
  --border:     #ccd9ea;

  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans:  'DM Sans', sans-serif;
  --font-mono:  'DM Mono', monospace;

  --radius:     4px;
  --max-width:  1200px;
  --section-v:  96px;
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ─────────────────────────────────────────────
   UTILITY
───────────────────────────────────────────── */
.section { padding: var(--section-v) 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--tinted { background: var(--off-white); }

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-block;
  max-width: 100%;
}
.section--dark .label { color: var(--blue-light); }

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1.25;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { max-width: min(68ch, 100%); }
.section--dark p { color: var(--steel-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30,114,200,0.3);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-dark {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--outline-dark:hover { background: var(--blue-pale); }

/* ─────────────────────────────────────────────
   TOPBAR
───────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 9px 0;
}
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
}
.topbar__item {
  font-size: 12px;
  font-weight: 500;
  color: var(--steel-light);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}
.topbar__item:hover { color: var(--white); }

/* ─────────────────────────────────────────────
   HEADER / NAV
───────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo__mark {
  width: 38px;
  height: 38px;
  background: var(--blue);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo__text { line-height: 1.2; }
.logo__name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--steel-light);
  padding: 8px 13px;
  border-radius: var(--radius);
  transition: all 0.18s;
  white-space: nowrap;
}
.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav__cta {
  margin-left: 8px;
  font-size: 13px;
  padding: 9px 18px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--blue-light); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--steel-light);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ─────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,114,200,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,114,200,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 60% 50%, rgba(30,114,200,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
}
.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.page-hero__line {
  width: 36px;
  height: 1.5px;
  background: var(--blue);
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 6vw, 3rem);
  margin-bottom: 18px;
}
.page-hero p {
  font-size: 17px;
  color: var(--steel-light);
  max-width: min(56ch, 100%);
}

/* ─────────────────────────────────────────────
   INTRO STRIP
───────────────────────────────────────────── */
.intro-strip {
  background: var(--blue);
  padding: 18px 32px;
}
.intro-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.intro-strip__items {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.intro-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.intro-strip__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__heading { margin-top: 14px; margin-bottom: 20px; }
.about__body { margin-bottom: 16px; }
.about__body:last-of-type { margin-bottom: 32px; }

.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.pillar {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 5px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pillar:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(30,114,200,0.08);
}
.pillar__icon {
  width: 38px; height: 38px;
  background: var(--blue-pale);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--blue);
}
.pillar__title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.pillar__text { font-size: 13px; line-height: 1.6; color: var(--text-muted); }

/* ─────────────────────────────────────────────
   PRODUCTS / SERVICES
───────────────────────────────────────────── */
.services__intro { max-width: 60ch; margin-bottom: 52px; }
.services__intro h2 { margin: 12px 0 16px; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.service-card {
  background: var(--white);
  padding: 38px 32px;
  transition: background 0.2s;
}
.service-card:hover { background: var(--off-white); }
.service-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.service-card__icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-light);
}
.service-card h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p { font-size: 14px; line-height: 1.65; color: var(--text-muted); }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.15s;
}
.service-card__link:hover { gap: 10px; }

/* ─────────────────────────────────────────────
   STANDARDS
───────────────────────────────────────────── */
.standards__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
}
.standards__header h2 { margin-top: 12px; }

.standards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}
.std-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px;
  padding: 28px 24px;
  transition: border-color 0.2s, background 0.2s;
}
.std-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(30,114,200,0.5);
}
.std-card__code {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--blue-light);
  margin-bottom: 10px;
}
.std-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}
.std-card__desc { font-size: 12.5px; color: var(--steel); line-height: 1.55; }

.standards__sectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 5px;
  overflow: hidden;
}
.sector { padding: 36px; background: var(--navy-mid); }
.sector__label { margin-bottom: 14px; }
.sector h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.sector p { font-size: 14px; color: var(--steel); line-height: 1.65; }

/* ─────────────────────────────────────────────
   INTERNATIONAL
───────────────────────────────────────────── */
.international__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.international__copy h2 { margin: 12px 0 20px; }
.international__copy p { margin-bottom: 16px; }
.international__copy .btn { margin-top: 16px; }

.international__features { display: flex; flex-direction: column; gap: 16px; }
.int-feature {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  background: rgba(255,255,255,0.03);
  align-items: flex-start;
  transition: border-color 0.2s;
}
.int-feature:hover { border-color: rgba(30,114,200,0.4); }
.int-feature__icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(30,114,200,0.15);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
}
.int-feature__title { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 5px; }
.int-feature__desc { font-size: 13px; color: var(--steel); line-height: 1.6; }

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.contact__copy h2 { margin: 12px 0 18px; }
.contact__copy p { margin-bottom: 24px; }

.contact__details { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact__detail { display: flex; gap: 16px; align-items: flex-start; }
.contact__detail-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--blue-pale);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.contact__detail-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact__detail-value { font-size: 15px; font-weight: 500; color: var(--text-dark); }

.contact__form-wrap {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
}
.form-title { font-family: var(--font-sans); font-size: 17px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.form-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,114,200,0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 8px;
}
.form-submit:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,114,200,0.28);
}
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer {
  background: #07111f;
  color: var(--steel-light);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 14px 0 8px;
}
.footer__brand-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--steel);
  max-width: 28ch;
}
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 13.5px; color: var(--steel-light); transition: color 0.18s; }
.footer__links a:hover { color: var(--white); }
.footer__links span { font-size: 13.5px; color: var(--steel-light); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 12.5px; color: var(--steel); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 12.5px; color: var(--steel); transition: color 0.18s; }
.footer__legal a:hover { color: var(--white); }

.certbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel-light);
  margin-top: 16px;
}
.certbadge__dot { width: 6px; height: 6px; border-radius: 50%; background: #2ecc71; }

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow { animation: fadeUp 0.5s ease both; }
.hero__title   { animation: fadeUp 0.55s 0.08s ease both; }
.hero__desc    { animation: fadeUp 0.55s 0.16s ease both; }
.hero__actions { animation: fadeUp 0.55s 0.24s ease both; }
.hero__panel   { animation: fadeUp 0.6s 0.12s ease both; }

.page-hero__eyebrow { animation: fadeUp 0.5s ease both; }
.page-hero h1       { animation: fadeUp 0.55s 0.08s ease both; }
.page-hero p        { animation: fadeUp 0.55s 0.16s ease both; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .standards__grid { grid-template-columns: repeat(2, 1fr); }
  .international__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  :root { --section-v: 64px; }
  .container { padding: 0 20px; }
  .topbar { display: none; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .standards__grid { grid-template-columns: 1fr; }
  .standards__sectors { grid-template-columns: 1fr; }
  .standards__header { flex-direction: column; align-items: flex-start; }
  .contact__form-wrap { padding: 28px 22px; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .about__pillars { grid-template-columns: 1fr; }
  .intro-strip { padding: 18px 20px; }
  .intro-strip__items { gap: 12px; }
  .intro-strip__inner { flex-direction: column; align-items: center; }
  .page-hero { padding: 52px 0 60px; }
  .page-hero p { font-size: 15px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  h2 { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
}
@media (min-width: 720px) {
  .logo__name { font-size: 26px; }
}
.nav.nav--open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 12px 20px 20px;
  gap: 2px;
  z-index: 200;
}
.nav.nav--open .nav__link { padding: 12px 16px; }
.nav.nav--open .nav__cta { margin-left: 0; margin-top: 8px; text-align: center; }
