:root {
  --navy: #0B1F3A;
  --navy-deep: #071426;
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --bg-light: #F8FAFC;
  --crimson: #E11D48;
  --crimson-dark: #BE123C;
  --emerald: #059669;
  --white: #FFFFFF;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-md: 10px;
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--slate-900);
  margin: 0;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   Top Trust Strip
   =========================== */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-badges,
.top-bar-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-pill {
  background: rgba(225, 29, 72, 0.22);
  color: #FDA4AF;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}

.top-sep {
  opacity: 0.45;
}

.top-bar-links a:hover {
  color: var(--white);
}

/* ===========================
   Sticky Header
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.4px;
}

.brand-accent {
  color: var(--crimson);
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 0.4px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate-700);
  transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--crimson);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--crimson);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--crimson-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--slate-200);
}

.btn-outline:hover {
  border-color: var(--navy);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-deep);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 1050;
  padding: 24px;
  transition: right 0.25s ease;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.mobile-nav-list a:not(.btn) {
  font-weight: 600;
  padding: 6px 0;
  color: var(--slate-900);
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--slate-700);
}

/* ===========================
   Split Hero
   =========================== */
.hero {
  position: relative;
  padding: 64px 0 80px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 55%, #FFF1F2 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 31, 58, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}

.eyebrow-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.text-gradient {
  color: var(--crimson);
}

.hero-desc {
  font-size: 17.5px;
  color: var(--slate-700);
  margin: 0 0 28px;
  max-width: 560px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

/* Inner Page Header Banner */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #16335B 100%);
  color: var(--white);
  padding: 56px 0;
}

.page-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.page-breadcrumb a:hover {
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 660px;
  margin: 0;
}

.service-bullets {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: var(--slate-700);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--bg-light);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
}

.contact-info-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-info-card p {
  margin: 0;
  font-size: 14.5px;
}

.section-cta {
  text-align: center;
  margin-top: 38px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
}

.metric-label {
  font-size: 13px;
  color: var(--slate-500);
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--slate-200);
}

/* Hero Form Card */
.hero-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 45px rgba(11, 31, 58, 0.08);
}

.card-header h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.card-header p {
  font-size: 14px;
  color: var(--slate-500);
  margin: 0 0 20px;
}

.field-group {
  margin-bottom: 14px;
}

.field-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 5px;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--slate-900);
  background: var(--bg-light);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--crimson);
  background: var(--white);
}

.form-feedback {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

.form-feedback.ok { color: var(--emerald); }
.form-feedback.err { color: var(--crimson-dark); }

/* ===========================
   Sections Shared
   =========================== */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--crimson);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head p {
  margin: 0;
  color: var(--slate-500);
}

/* ===========================
   Services Grid (6 Cards)
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  border-color: #CBD5E1;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #FFF1F2;
  color: var(--crimson);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--slate-500);
}

/* ===========================
   Certifications Directory
   =========================== */
.cert-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.cert-tab {
  background: var(--slate-100);
  color: var(--slate-700);
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.18s ease;
}

.cert-tab.active,
.cert-tab:hover {
  background: var(--navy);
  color: var(--white);
}

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

.cert-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cert-item.hidden {
  display: none;
}

.cert-item:hover {
  border-color: var(--crimson);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cert-code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--slate-100);
  padding: 4px 10px;
  border-radius: 6px;
}

.cert-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--crimson);
}

.cert-item h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
}

.cert-item p {
  font-size: 14px;
  color: var(--slate-500);
  margin: 0 0 18px;
  flex: 1;
}

.cert-apply-btn {
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.cert-apply-btn:hover {
  color: var(--crimson);
}

/* ===========================
   4-Step Process
   =========================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--crimson);
  display: inline-block;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.process-step p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-500);
}

/* ===========================
   About & Governance
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.12);
}

.about-inset-card {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 210px;
  background: var(--white);
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  box-shadow: 0 14px 30px rgba(11, 31, 58, 0.16);
}

.about-copy h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.about-copy p {
  margin: 0 0 16px;
}

.governance-list {
  margin: 20px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.governance-list li {
  position: relative;
  padding-left: 24px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--slate-900);
}

.governance-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

/* ===========================
   Verify Banner
   =========================== */
.verify-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #16335B 100%);
  color: var(--white);
  padding: 72px 0;
}

.verify-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.tag-light {
  color: #FDA4AF;
}

.verify-copy h2 {
  color: var(--white);
  font-size: 34px;
  margin-bottom: 10px;
}

.verify-copy p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.verify-form {
  display: flex;
  gap: 10px;
  background: var(--white);
  padding: 8px;
  border-radius: 10px;
}

.verify-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--slate-900);
}

.sample-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

.sample-chip {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  cursor: pointer;
}

.sample-chip:hover {
  background: rgba(255, 255, 255, 0.22);
}

.verify-result {
  margin-top: 16px;
}

.verify-card {
  background: var(--white);
  color: var(--slate-900);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 14px;
}

.badge-valid {
  display: inline-block;
  background: #DCFCE7;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.badge-invalid {
  display: inline-block;
  background: #FEE2E2;
  color: #991B1B;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 48px;
}

.text-white {
  color: var(--white);
}

.footer-desc {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 13px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom-inner p {
  margin: 0;
}

/* ===========================
   Modal & Scroll Top
   =========================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  max-width: 560px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.modal-card h3 {
  margin-bottom: 14px;
}

.modal-card .close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
}

.scroll-top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.28);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .verify-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inset-card {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 640px) {
  .top-bar {
    display: none;
  }

  .hero-title {
    font-size: 34px;
  }

  .services-grid,
  .cert-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .verify-form {
    flex-direction: column;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
