/* ============================================
   JPR EXPORTS — Professional Responsive CSS
   Mobile-first, all breakpoints covered
   ============================================ */

:root {
  --navy-deep: #03275b;
  --navy: #0D3868;
  --navy-light: #134B8C;
  --orange: #E29A2E;
  --orange-bright: #F0AC3E;
  --paper: #ffffff;
  --paper-dim: #ffffff;
  --ink: #15181C;
  --ink-soft: #454C55;
  --stencil: #8E97A3;
  --line: rgba(10, 37, 64, 0.12);
  --white: #FFFFFF;
  --radius: 3px;
  --nav-h: 64px;
  --transition: 0.25s ease;
}

/* ====== RESET & BASE ====== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
}

/* ====== UTILITY ====== */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

.mono  { font-family: 'JetBrains Mono', monospace; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Manifest tag (eyebrow) */
.manifest-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.manifest-tag::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 2px;
  background: var(--orange);
}
.manifest-tag .sep { color: var(--stencil); }

/* Section shared */
section { padding: 72px 0; }

h2.section-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.1;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

/* ====== SECTION HEAD — ALL CENTERED ====== */
.section-head {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  text-align: center;
}

.section-desc {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--orange);
  color: var(--navy-deep);
}
.btn-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226,154,46,0.35);
}
.btn-outline {
  border-color: rgba(255,255,255,0.38);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-dark {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}
.btn-dark:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

/* ====== HEADER / NAV ====== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(247,243,234,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
  height: var(--nav-h);
}
header.scrolled {
  box-shadow: 0 4px 24px rgba(10,37,64,0.10);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 20px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 640px) { .nav { padding: 0 32px; } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 2;
}
.nav-logo img {
  height: 32px;
  width: auto;
}

/* Desktop nav links */
.nav-links {
  display: none;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-deep);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--navy-deep) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  font-size: 13px !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--orange) !important; }
.nav-cta::after { display: none !important; }

/* Burger button */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 2;
  border-radius: 4px;
  transition: background var(--transition);
}
.burger:hover { background: var(--paper-dim); }
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-deep);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Burger open animation */
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: rgba(247,243,234,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 48px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-deep);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .mobile-cta {
  margin-top: 24px;
  background: var(--navy-deep);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  border: none;
}
.mobile-menu .mobile-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.mobile-menu .mobile-contact p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.mobile-menu .mobile-contact a {
  font-size: 15px;
  font-weight: 600;
  border-bottom: none;
  padding: 4px 0;
  color: var(--navy);
}

/* Desktop: show nav links, hide burger */
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ====== HERO ====== */
.hero {
  position: relative;
  padding-top: var(--nav-h);
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Diagonal accent */
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: -5%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%, transparent 35%,
    rgba(226,154,46,0.18) 35.5%, rgba(226,154,46,0.18) 40%,
    transparent 40.5%, transparent 55%,
    rgba(19,75,140,0.55) 55.5%, rgba(19,75,140,0.55) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-bright);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 2px;
  background: var(--orange-bright);
}

h1.hero-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 8vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
h1.hero-title em {
  font-style: normal;
  color: var(--orange-bright);
}

.hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 28px;
}
.hero-stat {
  padding-right: 16px;
}
.hero-stat:nth-child(odd) {
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--orange-bright);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.58);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero visual / container card */
.hero-visual {
  position: relative;
  z-index: 2;
}
.container-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.container-card img { width: 100%; display: block; }

/* Placeholder visual when no image */
.container-placeholder {
  background: linear-gradient(145deg, var(--navy-light), var(--navy));
  border-radius: 6px;
  padding: 48px 32px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.container-placeholder svg {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  color: var(--orange-bright);
  opacity: 0.6;
}
.container-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,20,30,0.92));
  padding: 48px 20px 18px;
  font-family: 'JetBrains Mono', monospace;
  color: #fff;
}
.container-label .top-row {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--orange-bright);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.container-label .code {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (min-width: 760px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stat:nth-child(odd) { border-right: none; }
  .hero-stat { border-right: 1px solid rgba(255,255,255,0.12); }
  .hero-stat:last-child { border-right: none; }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
  .hero-visual { order: 0; }
}

/* ====== ABOUT ====== */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
}

.about-photo { position: relative; padding-bottom: 30px; }
.about-photo .frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 24px 24px 0;
}
.about-photo img { width: 100%; border-radius: 4px 4px 0 0; }

.about-badge {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--navy-deep);
  color: #fff;
  padding: 16px 20px;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(10,37,64,0.28);
}
.about-badge .num {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--orange-bright);
  line-height: 1;
}
.about-badge .lbl {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.68);
  margin-top: 4px;
}

.about-body p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-body strong { color: var(--navy-deep); }

.founder-quote {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--paper);
  border-left: 3px solid var(--orange);
  border-radius: 2px;
}
.founder-quote p {
  font-style: italic;
  color: var(--navy-deep) !important;
  font-size: 15px !important;
  margin: 0 !important;
}
.founder-quote .who {
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--navy);
  background: var(--paper);
  word-break: break-all;
}

/* ====== SERVICES ====== */
.services { background: var(--paper); }

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
@media (min-width: 560px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--white);
  padding: 32px 26px;
  position: relative;
  transition: background var(--transition);
}
.service-card:hover {
  background: var(--navy-deep);
}
.service-card:hover .svc-title,
.service-card:hover .svc-num { color: var(--orange-bright); }
.service-card:hover .svc-desc { color: rgba(255,255,255,0.7); }
.service-card:hover .svc-icon { color: var(--orange-bright); }

.svc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--stencil);
  margin-bottom: 20px;
  display: block;
  transition: color var(--transition);
}
.svc-icon {
  width: 36px; height: 36px;
  margin-bottom: 16px;
  color: var(--orange);
  transition: color var(--transition);
}
.svc-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-deep);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.svc-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  transition: color var(--transition);
}

/* ====== CERTIFICATIONS ====== */
.certs {
  background: var(--navy-deep);
  color: #fff;
}
.certs .section-title { color: #fff; }
.certs .section-desc { color: rgba(255,255,255,0.62); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 540px) {
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .cert-grid { grid-template-columns: repeat(5, 1fr); }
}

.cert-stamp {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 4px;
  padding: 22px 14px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.cert-stamp:hover {
  border-color: var(--orange-bright);
  transform: translateY(-3px);
}
.cert-stamp .ring {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  border: 2px solid var(--orange-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 12px;
  color: var(--orange-bright);
}
.cert-stamp .cname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}
.cert-stamp .cno {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  word-break: break-all;
}

/* ====== FEATURED PROJECT ====== */
.feature { background: var(--white); }

.feature-card {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.feature-top {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .feature-top { grid-template-columns: 1fr 1fr; }
}

.feature-copy {
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 640px) {
  .feature-copy { padding: 52px 48px; }
}

.feature-copy .manifest-tag { color: var(--navy); }
.feature-copy .manifest-tag::before { background: var(--navy); }

.feature-copy h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--navy-deep);
  margin-bottom: 14px;
  line-height: 1.15;
}
.feature-copy p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.7;
}
.feature-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.feature-stats .fnum {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--orange);
}
.feature-stats .flbl {
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.feature-photo {
  position: relative;
  min-height: 260px;
  background: var(--navy-deep);
}
@media (min-width: 860px) { .feature-photo { min-height: 360px; } }
.feature-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Placeholder for missing feature image */
.feature-photo-placeholder {
  min-height: 260px;
  background: linear-gradient(145deg, var(--navy-light), var(--navy-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: rgba(255,255,255,0.5);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.feature-photo-placeholder svg {
  width: 56px; height: 56px;
  color: var(--orange-bright);
  opacity: 0.4;
}

/* ====== VERTICALS ====== */
.verticals { background: var(--paper-dim); }

.vert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 860px) {
  .vert-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.vert-list { display: flex; flex-direction: column; }

.vert-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.vert-item:first-child { border-top: 1px solid var(--line); }
.vert-item .vnum {
  font-family: 'JetBrains Mono', monospace;
  color: var(--orange);
  font-size: 12.5px;
  flex-shrink: 0;
  padding-top: 2px;
  width: 28px;
}
.vert-item .vname {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-deep);
  min-width: 140px;
  flex-shrink: 0;
}
.vert-item .vdesc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 480px) {
  .vert-item { flex-wrap: wrap; }
  .vert-item .vdesc { width: 100%; }
}

.map-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(10,37,64,0.16);
}
.map-frame img { width: 100%; display: block; }

/* Map placeholder */
.map-placeholder {
  background: linear-gradient(145deg, #dde8f0, #c8d8e8);
  border-radius: 8px;
  padding: 48px 24px;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--navy);
}
.map-placeholder svg {
  width: 48px; height: 48px;
  opacity: 0.4;
}
.map-placeholder p {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.6;
}

/* ====== CLIENTS ====== */
.clients { background: var(--white); }

.client-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.client-chip {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-deep);
  background: var(--paper);
  transition: all var(--transition);
}
.client-chip:hover {
  border-color: var(--orange);
  background: var(--white);
  color: var(--orange);
}

/* ====== PROCESS ====== */
.process {
  background: var(--navy-deep);
  color: #fff;
}
.process .section-title { color: #fff; }
.process .section-desc { color: rgba(255,255,255,0.62); }

.process-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 560px) { .process-track { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .process-track { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  position: relative;
  padding-top: 22px;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.14);
}
.process-step.active::before { background: var(--orange-bright); }

.pstep-no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--orange-bright);
  margin-bottom: 12px;
}
.pstep-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}
.pstep-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ====== CTA BAND ====== */
.cta-band {
  background: var(--orange);
  color: var(--navy-deep);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-inner h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 36px);
  max-width: 560px;
  line-height: 1.15;
}

/* ====== CONTACT PAGE ====== */
.contact-page {
  background: var(--paper);
  padding-bottom: 80px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 40px;
}
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1.6fr; gap: 60px; }
}

.contact-details h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--navy-deep);
  margin-bottom: 22px;
}
.contact-details p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  line-height: 1.65;
}
.contact-details strong { color: var(--ink); }
.contact-details a {
  color: var(--navy);
  font-weight: 600;
  transition: color var(--transition);
}
.contact-details a:hover { color: var(--orange); }
.contact-details hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-card .icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.contact-info-card .icon svg { width: 20px; height: 20px; }
.contact-info-card .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--stencil);
  margin-bottom: 4px;
}
.contact-info-card .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-deep);
}
.contact-info-card .value a {
  color: var(--navy-deep);
}
.contact-info-card .value a:hover { color: var(--orange); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
}
@media (min-width: 640px) { .contact-form-wrap { padding: 40px 36px; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; gap: 0 16px; }
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.form-group label {
  font-weight: 600;
  font-size: 12.5px;
  color: var(--navy-deep);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group .req { color: var(--orange); }

.form-submit { margin-top: 8px; width: 100%; }
.form-submit .btn { width: 100%; padding: 15px 24px; font-size: 15px; }

/* ====== FOOTER ====== */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.68);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
}

.footer-logo img {
  height: 30px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-about {
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 13.5px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
}
.footer-col a:hover { color: var(--orange-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom span { color: rgba(255,255,255,0.45); }
.footer-bottom .mono { font-family: 'JetBrains Mono', monospace; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}
.whatsapp-fab svg { width: 28px; height: 28px; color: #fff; }

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1; transform: none; transition: none;
  }
}

/* ====== PAGE HERO (inner pages) — CENTERED ====== */
.page-hero {
  background: var(--navy-deep);
  color: #fff;
  padding: calc(var(--nav-h) + 56px) 0 56px;
  text-align: center;
}
.page-hero .manifest-tag {
  color: var(--orange-bright);
  justify-content: center;
}
.page-hero .manifest-tag::before { background: var(--orange-bright); }
.page-hero h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ====== PRINT ====== */
@media print {
  header, .whatsapp-fab { display: none; }
  body { background: #fff; color: #000; }
  section { padding: 32px 0; }
}

/* ====== HOMEPAGE TEASERS (Kingdom Plastics / MD) ====== */
.teasers { background: var(--paper-dim); }

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .teaser-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.teaser-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.teaser-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10,37,64,0.10);
  border-color: var(--orange);
}
.teaser-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.teaser-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.teaser-icon svg {
  width: 24px; height: 24px;
  color: var(--orange-bright);
}
.teaser-body { flex: 1; min-width: 0; }
.teaser-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.teaser-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy-deep);
  margin-bottom: 6px;
  line-height: 1.25;
}
.teaser-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 12px;
}
.teaser-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.teaser-card:hover .teaser-link { gap: 10px; color: var(--orange); }

/* ====== TEAM / ID VERIFICATION PAGE ====== */
.id-page {
  background: var(--paper-dim);
  min-height: 100vh;
  padding: calc(var(--nav-h) + 48px) 0 64px;
  display: flex;
  align-items: center;
}
.id-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(10,37,64,0.18);
  position: relative;
}
.id-card-top {
  background: var(--navy-deep);
  padding: 28px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.id-card-top::before {
  content: "";
  position: absolute;
  top: -20%; left: -10%;
  width: 60%; height: 140%;
  background: var(--orange);
  opacity: 0.9;
  transform: rotate(18deg);
}
.id-card-top::after {
  content: "";
  position: absolute;
  bottom: -40px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.id-logo-plate {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.id-card-top img.id-logo {
  display: block;
  height: 22px;
  margin: 0;
}
.id-photo-wrap {
  position: relative;
  z-index: 3;
  width: 150px; height: 150px;
  border-radius: 50%;
  margin: 18px auto -75px;
  background: var(--paper-dim);
  border: 5px solid var(--white);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.id-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.id-card-body {
  padding: 88px 32px 36px;
  text-align: center;
}
.id-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}
.id-title {
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 4px;
  margin-bottom: 22px;
}
.id-divider {
  width: 60%;
  margin: 0 auto 24px;
  border: none;
  border-top: 1.5px solid var(--line);
}
.id-fields {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 20px;
}
.id-field {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  font-size: 13.5px;
}
@media (min-width: 560px) {
  .id-card { max-width: 560px; }
  .id-fields { grid-template-columns: 1fr 1fr; }
  .id-field { grid-template-columns: 60px 1fr; }
  .id-field.id-field-wide { grid-column: 1 / -1; }
}
.id-field .k {
  color: var(--stencil);
  font-weight: 600;
}
.id-field .v {
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}
.id-field .v a { color: var(--navy); }
.id-field .v a:hover { color: var(--orange); }
.id-badge-verified {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42,157,92,0.1);
  color: #1f7a47;
  border: 1px solid rgba(42,157,92,0.3);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
}
.id-badge-verified svg { width: 15px; height: 15px; }
.id-card-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 18px 32px;
  text-align: center;
}
.id-card-footer p {
  font-size: 11.5px;
  color: var(--stencil);
  line-height: 1.6;
}
.id-back-link {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.id-back-link:hover { color: var(--orange); }


.kingdom-logo-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 6px;
}
.kingdom-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}



    /* ===== MEMBERSHIPS CAROUSEL ===== */
    .memberships-carousel {
      background: var(--white);
      padding: 72px 0;
      overflow: hidden;
      position: relative;
    }
    .memberships-carousel .section-head {
      text-align: center;
      margin-bottom: 48px;
    }
    .manifest-tag {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #64748b;
      margin-bottom: 6px;
    }
    .manifest-tag .sep {
      margin: 0 8px;
      color: #cbd5e1;
    }
    .section-title {
      font-family: 'Archivo', sans-serif;
      font-weight: 800;
      font-size: 36px;
      color: #0A2540;
      line-height: 1.2;
    }
    .section-desc {
      font-size: 18px;
      color: #475569;
      max-width: 640px;
      margin: 8px auto 0;
    }

    /* Track & wrapper */
    .logo-track-wrapper {
      overflow: hidden;
      position: relative;
      width: 100%;
      padding: 10px 0;
    }
    .logo-track {
      display: flex;
      gap: 40px;
      width: max-content;
      animation: scrollLogos 30s linear infinite;
      padding: 20px 0;
    }
    /* pause on hover */
    .logo-track-wrapper:hover .logo-track {
      animation-play-state: paused;
    }

    /* each logo item */
    .logo-item {
      flex: 0 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 16px 28px;
      background: var(--white);
      border-radius: 12px;
      border: 1px solid #e9edf2;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      transition: transform 0.25s, box-shadow 0.3s, border-color 0.25s;
      min-width: 160px;
      cursor: default;
    }
    .logo-item:hover {
      transform: scale(1.08);
      box-shadow: 0 12px 32px rgba(10,37,64,0.12);
      border-color: var(--orange);
      z-index: 5;
      position: relative;
    }
    .logo-item img {
      height: 150px;
      width: auto;
      max-width: 120px;
      object-fit: contain;
      display: block;
      filter: grayscale(0.1);
      transition: filter 0.3s;
    }
    .logo-item:hover img {
      filter: grayscale(0);
    }
    .logo-item .logo-label {
      font-size: 11px;
      font-weight: 600;
      color: #64748b;
      margin-top: 8px;
      text-align: center;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    /* infinite scroll keyframes */
    @keyframes scrollLogos {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* responsive */
    @media (max-width: 700px) {
      .logo-item {
        min-width: 120px;
        padding: 12px 16px;
      }
      .logo-item img {
        height: 36px;
        max-width: 90px;
      }
      .section-title {
        font-size: 28px;
      }
      .logo-track {
        gap: 24px;
        animation-duration: 25s;
      }
    }
    @media (max-width: 480px) {
      .logo-item {
        min-width: 100px;
        padding: 10px 12px;
      }
      .logo-item img {
        height: 30px;
        max-width: 70px;
      }
      .logo-item .logo-label {
        font-size: 9px;
      }
      .logo-track {
        gap: 16px;
        animation-duration: 20s;
      }
    }