/* =============================================================
   PT Adrina Jaya Abadi (AJA) · Integrated Services — Landing Page
   Design System: Phase 5 (Engineered Reliability)
   Palette: Graphite + Copper + Steel · Fonts: Space Grotesk + Inter
   ============================================================= */

/* ---------- TIER 1 · Literal tokens ---------- */
:root {
  /* Graphite */
  --graphite-900: #071a2d;
  --graphite-800: #0d2942;
  --graphite-700: #173b5c;
  --graphite-600: #285675;

  /* Brand — from adrina logo: Amber (warm, dominant) + Red (action) */
  --amber-400: #f2b138;
  --amber-500: #e5960c;   /* logo amber */
  --amber-600: #b87608;
  --red-400: #e6434e;
  --red-500: #d4071c;     /* logo red */
  --red-600: #b3101b;     /* AA-safe darker red for text/buttons */
  /* Legacy aliases → warm decorative uses now resolve to amber */
  --copper-400: var(--amber-400);
  --copper-500: var(--amber-500);
  --copper-600: var(--amber-600);

  /* Steel */
  --steel-500: #66829b;
  --steel-300: #a9bdce;

  /* Neutrals (light) */
  --white: #ffffff;
  --paper-50: #f5f8fb;
  --paper-100: #eaf0f6;
  --line-200: #dbe5ee;

  /* Ink */
  --ink-900: #0b2239;
  --ink-600: #405a70;
  --ink-400: #71879a;

  /* Functional */
  --success-500: #2e7d5b;
  --safety-500: #e0a200;

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale (8px base) */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-6: 1.5rem;   --sp-8: 2rem;    --sp-12: 3rem;   --sp-16: 4rem;
  --sp-20: 5rem;    --sp-24: 6rem;   --sp-32: 8rem;

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1200px;
  --header-h: 72px;
}

/* ---------- TIER 2 · Semantic tokens ---------- */
:root {
  --accent: var(--red-500);             /* action / CTA / links */
  --accent-text: var(--red-600);        /* accent text on light (AA) */
  --accent-warm: var(--amber-500);      /* warm highlight (large / on-dark) */
  --bg: var(--white);
  --bg-subtle: var(--paper-50);
  --bg-dark: var(--graphite-900);
  --surface: var(--white);
  --surface-dark: var(--graphite-800);
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --text-on-dark: #f2f4f7;
  --text-on-dark-muted: var(--steel-300);
  --border: var(--line-200);
  --border-dark: var(--graphite-700);
  --focus: var(--red-600);
}

/* ---------- Element resets (scoped, no global *) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;              /* 17px */
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
  letter-spacing: -0.01em;
}
p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Reveal-on-scroll: content visible by default; only hidden when JS active */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.section { padding-block: clamp(3.5rem, 2rem + 7vw, 8rem); }
.section--subtle { background: var(--bg-subtle); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  --accent-text: var(--amber-400);   /* warm accent on dark */
  background-image:
    radial-gradient(60rem 40rem at 85% -10%, color-mix(in oklab, var(--copper-600) 18%, transparent), transparent 60%);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-on-dark); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 var(--sp-3);
}
.section--dark .eyebrow { color: var(--copper-400); }

.section-head { max-width: 44rem; margin-bottom: var(--sp-12); }
.section-head.center { margin-inline: auto; text-align: center; }

h1, .h1 { font-size: clamp(2.125rem, 1.3rem + 3.6vw, 4rem); }
h2, .h2 { font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.25rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem); }
.lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: var(--text-muted); }
.section--dark .lead { color: var(--text-on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
              color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(7,26,45,0.16);
}
.btn--primary:hover { background: var(--red-500); box-shadow: 0 6px 18px rgba(212,7,28,0.32); }
.btn--primary:active { background: #8f0d16; transform: translateY(0); }

.btn--secondary {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--graphite-900);
}
.btn--secondary:hover { background: var(--graphite-900); color: var(--white); }

.section--dark .btn--secondary,
.on-dark .btn--secondary { color: var(--white); border-color: rgba(255,255,255,0.55); }
.section--dark .btn--secondary:hover { background: var(--white); color: var(--graphite-900); }

.btn--ghost { background: transparent; color: var(--accent-text); padding-inline: 0; min-height: auto; }
.section--dark .btn--ghost { color: var(--copper-400); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--white) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 14px rgba(7,26,45,0.05);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink-900); letter-spacing: -0.02em; }
.brand-name b { color: var(--accent-text); font-weight: 700; }
.brand-tag { font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: var(--sp-8); }
.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links a { color: var(--ink-600); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink-900); text-decoration: none; }

.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  color: var(--ink-900);
}

/* Mobile drawer */
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    padding: var(--sp-6);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 40;
    overflow-y: auto;
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav a { display: block; padding: var(--sp-4) 0; font-size: 1.1rem; color: var(--ink-900); border-bottom: 1px solid var(--border); font-weight: 500; }
  .mobile-nav .btn { display: inline-flex; margin-top: var(--sp-6); }
  @media (prefers-reduced-motion: reduce) { .mobile-nav { transition: none; } }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--graphite-900);
  color: var(--text-on-dark);
  --accent-text: var(--amber-400);
  padding-block: clamp(3.5rem, 2rem + 8vw, 8rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--graphite-900); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1); transition: opacity 1s ease-in-out, transform 10s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1.035); }
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  font-weight: 600;
  color: var(--amber-400);
  margin: 0 0 var(--sp-5);
  text-wrap: balance;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  /* Strong dark wash keeps text legible over any hero photo; falls back cleanly with no photo. */
  background:
    linear-gradient(100deg, rgba(7,26,45,0.95) 28%, rgba(7,26,45,0.75) 62%, rgba(7,26,45,0.55) 100%),
    radial-gradient(50rem 34rem at 78% 8%, color-mix(in oklab, var(--copper-500) 26%, transparent), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 44px);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 46rem; }
.hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  letter-spacing: -0.01em;
  color: var(--amber-400);
  margin: 0 0 var(--sp-6);
}
.hero .lead { color: var(--text-on-dark-muted); margin-bottom: var(--sp-8); max-width: 40rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.hero .btn--secondary {
  border-color: rgba(255,255,255,0.78);
  background: rgba(7,26,45,0.48);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.24);
  backdrop-filter: blur(6px);
}
.hero .btn--secondary:hover { border-color: var(--white); background: var(--white); color: var(--graphite-900); }
.hero-trust {
  margin-top: var(--sp-8);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  font-size: 0.875rem; color: var(--text-on-dark-muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero-trust .trust-check { color: var(--amber-400); font-style: normal; font-weight: 700; line-height: 1; }

/* ---------- Client trust ---------- */
.client-trust { background: var(--surface); border-bottom: 1px solid var(--border); padding-block: var(--sp-12); }
.client-trust-head { margin: 0 auto var(--sp-8); max-width: 46rem; text-align: center; }
.client-trust-head .eyebrow { margin-bottom: var(--sp-3); }
.client-trust-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: var(--sp-3); }
.client-trust-head p:last-child { color: var(--text-muted); font-size: 0.975rem; margin: 0; }
.client-logo-marquee { overflow: hidden; }
.client-logo-grid { animation: client-logo-marquee 58s linear infinite; display: flex; gap: var(--sp-4); list-style: none; margin: 0; padding: 0; width: max-content; }
.client-logo { align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; flex: 0 0 12rem; justify-content: center; min-height: 8rem; padding: var(--sp-4); }
.client-logo img { height: 5.25rem; max-width: 100%; object-fit: contain; width: 100%; }
@keyframes client-logo-marquee { to { transform: translateX(calc(-50% - var(--sp-2))); } }
@media (prefers-reduced-motion: reduce) { .client-logo-grid { animation: none; } }
@media (max-width: 560px) { .client-trust { padding-block: var(--sp-8); } .client-logo { flex-basis: 10rem; min-height: 7.25rem; } .client-logo img { height: 4.75rem; } }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-8);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(7,26,45,0.08); border-color: color-mix(in oklab, var(--copper-500) 40%, var(--border)); }
.card .icon { color: var(--accent-text); margin-bottom: var(--sp-4); }
.card h3, .card h4 { margin-bottom: var(--sp-2); }
.card p { color: var(--text-muted); font-size: 0.975rem; margin: 0; }
.card--dark { background: var(--surface-dark); border-color: var(--border-dark); }
.card--dark h3, .card--dark h4 { color: #fff; }
.card--dark p { color: var(--text-on-dark-muted); }
.card--dark .icon { color: var(--copper-400); }

/* Outcome card */
.outcome { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-6); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.outcome .icon { color: var(--accent-text); flex: 0 0 auto; }
.outcome h4 { font-size: 1.0625rem; margin-bottom: 4px; }
.outcome p { font-size: 0.925rem; color: var(--text-muted); margin: 0; }

/* Feature row (Why us) */
.features { display: grid; gap: var(--sp-8); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; gap: var(--sp-6); } }
.feature .num { font-family: var(--font-display); font-size: 0.95rem; color: var(--copper-400); font-weight: 700; letter-spacing: 0.08em; }
.feature h3 { font-size: 1.2rem; margin: var(--sp-3) 0 var(--sp-2); }
.feature p { color: var(--text-on-dark-muted); margin: 0; }

/* Problem block */
.problem-punch {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.6vw, 1.9rem);
  color: var(--ink-900);
  border-left: 3px solid var(--red-500);
  padding-left: var(--sp-6);
  margin-top: var(--sp-8);
  text-wrap: balance;
}

/* OPERATE cycle */
.operate-title { color: var(--amber-400); font-size: 1.15em; }
.operate-marquee { margin-top: var(--sp-12); overflow: hidden; }
.operate-cycle {
  display: flex;
  gap: var(--sp-6);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: operate-marquee 42s linear infinite;
}
.operate-step {
  position: relative;
  display: flex;
  gap: var(--sp-3);
  width: 13.5rem;
  min-height: 12.5rem;
  color: var(--text);
}
.operate-letter { color: var(--accent-text); font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
.operate-step h4 { margin: 0 0 var(--sp-2); color: var(--text); font-size: 1.0625rem; }
.operate-step p { margin: 0; color: var(--text-muted); font-size: 0.975rem; line-height: 1.5; }
@keyframes operate-marquee {
  to { transform: translateX(calc(-50% - var(--sp-3))); }
}
@media (prefers-reduced-motion: reduce) { .operate-cycle { animation: none; } }
@media (max-width: 560px) { .operate-marquee { margin-top: var(--sp-8); } .operate-step { width: 14rem; min-height: 11.5rem; } }

/* Industry expertise */
.industry-tabs {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.industry-tabs::-webkit-scrollbar { display: none; }
.industry-tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--sp-2);
  min-height: 46px;
  padding: 0.625rem var(--sp-4);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.industry-tab:hover { border-color: color-mix(in oklab, var(--amber-500) 60%, var(--border)); transform: translateY(-1px); }
.industry-tab.is-active { border-color: var(--graphite-900); background: var(--graphite-900); color: var(--text-on-dark); }
.industry-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(7,26,45,0.06);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.js .industry-panel.is-switching { opacity: 0.42; transform: translateY(6px); }
.industry-photo-wrap { position: relative; min-height: 100%; margin: 0; overflow: hidden; background: var(--graphite-800); }
.industry-photo { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 32rem; object-fit: cover; }
.industry-photo--next { z-index: 1; opacity: 0; transform: scale(1.025); transition: opacity 0.46s ease, transform 0.7s ease; }
.industry-photo--next.is-visible { opacity: 1; transform: scale(1); }
.industry-panel-body { padding: clamp(var(--sp-6), 3vw, var(--sp-12)); }
.industry-kicker { margin-bottom: var(--sp-2); color: var(--accent-text); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.industry-intro h3 { margin-bottom: var(--sp-3); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); }
.industry-intro p { color: var(--text-muted); }
.industry-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); margin: var(--sp-8) 0; }
.industry-detail { padding-top: var(--sp-4); border-top: 2px solid color-mix(in oklab, var(--amber-500) 55%, var(--border)); }
.industry-detail h4 { margin-bottom: var(--sp-3); font-size: 0.875rem; letter-spacing: 0.02em; }
.industry-list { display: grid; gap: var(--sp-2); }
.industry-list li { display: flex; gap: var(--sp-2); color: var(--text-muted); font-size: 0.9rem; line-height: 1.45; }
.industry-list li::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; margin-top: 0.42rem; border-radius: 50%; background: var(--accent-text); }
.industry-cta { min-height: 44px; font-size: 0.95rem; }
@media (max-width: 860px) {
  .industry-panel { grid-template-columns: 1fr; }
  .industry-photo-wrap { min-height: 18rem; max-height: 28rem; }
  .industry-photo { min-height: 18rem; max-height: 28rem; }
}
@media (max-width: 640px) {
  .industry-tabs { margin-inline: calc(-1 * var(--sp-6)); padding-inline: var(--sp-6); }
  .industry-detail-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .industry-panel-body { padding: var(--sp-6); }
}

/* Trust badges */
.badges { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-8); }
.badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-size: 0.875rem; color: var(--text-on-dark);
  background: color-mix(in oklab, var(--graphite-800) 70%, transparent);
}
.badge svg { color: var(--copper-400); }

/* Operational governance */
.governance-grid .card { min-height: 100%; }
.governance-status { display: inline-block; margin: 0 0 var(--sp-3); color: var(--copper-400); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- ISO certifications ---------- */
.certificate-group + .certificate-group { border-top: 1px solid var(--border); margin-top: var(--sp-16); padding-top: var(--sp-12); }
.certificate-group-head { margin-bottom: var(--sp-8); max-width: 44rem; }
.certificate-group-head h3 { font-size: 1.25rem; margin-bottom: var(--sp-2); }
.certificate-group-head p { color: var(--text-muted); margin: 0; }
.certificate-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.certificate-grid--additional { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 44rem; }
.certificate-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: var(--sp-4); }
.certificate-preview { align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; height: 16rem; justify-content: center; margin-bottom: var(--sp-4); overflow: hidden; }
.certificate-preview img { height: 100%; object-fit: contain; transition: transform 0.2s ease; width: 100%; }
.certificate-preview:hover img { transform: scale(1.025); }
.certificate-code { color: var(--accent-text); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.09em; margin: 0 0 var(--sp-2); text-transform: uppercase; }
.certificate-card h3 { font-size: 1rem; line-height: 1.25; margin-bottom: var(--sp-2); }
.certificate-card > p:not(.certificate-code) { color: var(--text-muted); font-size: 0.875rem; margin: 0 0 var(--sp-4); }
.certificate-card .certificate-meta { color: var(--steel-500); font-size: 0.8rem; line-height: 1.5; }
.certificate-link { font-size: 0.875rem; font-weight: 600; margin-top: auto; }
.certificate-link span { display: inline-block; transition: transform 0.15s ease; }
.certificate-link:hover { text-decoration: none; }
.certificate-link:hover span { transform: translateX(3px); }
.certificate-validity { color: var(--text-muted); font-size: 0.875rem; margin: var(--sp-6) 0 0; text-align: center; }
@media (max-width: 960px) { .certificate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .certificate-grid, .certificate-grid--additional { grid-template-columns: 1fr; } .certificate-preview { height: 20rem; } }

/* ---------- Leadership & project organization ---------- */
.board-section { margin-bottom: var(--sp-16); }
.leadership-subhead { margin-bottom: var(--sp-8); max-width: 44rem; }
.leadership-subhead h3 { font-size: 1.35rem; margin-bottom: var(--sp-2); }
.leadership-subhead p { color: var(--text-muted); margin: 0; }
.board-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.board-card { background: linear-gradient(145deg, #0d2942, #071a2d); border: 1px solid #1d547d; border-radius: 2rem; overflow: hidden; padding: var(--sp-6); text-align: center; }
.board-photo { align-items: center; aspect-ratio: 1; background: linear-gradient(145deg, #84c6eb, #4d91c8); border: 4px solid #a9d8f2; border-radius: 50%; color: var(--graphite-800); display: flex; justify-content: center; margin: 0 auto; max-width: 11rem; overflow: hidden; position: relative; }
.board-photo::before { border: 1px solid color-mix(in oklab, var(--steel-300) 35%, transparent); border-radius: 50%; content: ""; height: 5rem; opacity: 0.7; position: absolute; top: 25%; width: 5rem; }
.board-photo::after { border: 1px solid color-mix(in oklab, var(--steel-300) 35%, transparent); border-bottom: 0; border-radius: 5rem 5rem 0 0; bottom: 15%; content: ""; height: 4.5rem; opacity: 0.7; position: absolute; width: 9rem; }
.board-photo span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; position: relative; text-transform: uppercase; z-index: 1; }
.board-photo--image::before, .board-photo--image::after { display: none; }
.board-photo--image img { height: 100%; object-fit: cover; object-position: 45% 100%; position: relative; transform: translateY(8%); width: 100%; z-index: 1; }
.board-photo--director img { object-position: 50% 47%; transform: none; }
.board-photo--business-development img { object-fit: contain; object-position: 50% bottom; transform: translateY(5%) scale(1.14); }
.board-photo--finance img { object-position: 55% 100%; transform: translateY(8%) scale(1.03); transform-origin: 55% 100%; }
.board-card-body { padding: var(--sp-6) 0 0; }
.board-role { color: var(--amber-400); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.09em; margin: 0 0 var(--sp-2); text-transform: uppercase; }
.board-card h4 { color: var(--white); font-size: 1.2rem; margin-bottom: var(--sp-2); }
.board-card-body > p:last-child { color: var(--text-on-dark-muted); font-size: 0.925rem; margin: 0; }
.project-org-section { border-top: 1px solid var(--border); padding-top: var(--sp-12); }
.project-orgchart { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-8); }
.org-node { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; flex-direction: column; min-height: 8rem; padding: var(--sp-4); }
.org-node--lead { border-color: var(--graphite-700); margin: 0 auto; max-width: 21rem; text-align: center; }
.org-node--team { margin: var(--sp-6) auto 0; max-width: 32rem; text-align: center; }
.org-level { color: var(--accent-text); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; margin-bottom: var(--sp-2); text-transform: uppercase; }
.org-node strong { color: var(--text); font-family: var(--font-display); font-size: 1rem; line-height: 1.2; }
.org-node small { color: var(--text-muted); font-size: 0.78rem; line-height: 1.45; margin-top: var(--sp-2); }
.org-branches { display: grid; gap: var(--sp-4); grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--sp-8); position: relative; }
@media (min-width: 861px) { .org-branches::before { background: var(--border); content: ""; height: 1px; left: 12.5%; position: absolute; right: 12.5%; top: -1.25rem; } }
@media (max-width: 860px) { .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .org-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .board-grid, .org-branches { grid-template-columns: 1fr; } .project-orgchart { padding: var(--sp-4); } }

/* ---------- Commissioner's message ---------- */
.commissioner-grid { align-items: start; display: grid; gap: clamp(var(--sp-8), 6vw, var(--sp-20)); grid-template-columns: minmax(16rem, 0.65fr) minmax(0, 1.35fr); }
.commissioner-profile { position: sticky; top: calc(var(--header-h) + var(--sp-6)); }
.commissioner-photo { align-items: center; aspect-ratio: 4 / 5; background: linear-gradient(150deg, var(--graphite-700), var(--graphite-900)); border: 1px solid color-mix(in oklab, var(--steel-300) 30%, transparent); border-radius: var(--radius); color: var(--steel-300); display: flex; justify-content: center; overflow: hidden; position: relative; }
.commissioner-photo::before { border: 1px solid color-mix(in oklab, var(--steel-300) 35%, transparent); border-radius: 50%; content: ""; height: 7rem; opacity: 0.75; position: absolute; top: 20%; width: 7rem; }
.commissioner-photo::after { border: 1px solid color-mix(in oklab, var(--steel-300) 35%, transparent); border-bottom: 0; border-radius: 8rem 8rem 0 0; bottom: 13%; content: ""; height: 7rem; opacity: 0.75; position: absolute; width: 13rem; }
.commissioner-photo span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; position: relative; text-transform: uppercase; z-index: 1; }
.commissioner-photo--image::before, .commissioner-photo--image::after { display: none; }
.commissioner-photo--image img { height: 100%; object-fit: cover; object-position: center top; position: relative; width: 100%; }
.commissioner-profile-copy { border-left: 2px solid var(--amber-500); margin-top: var(--sp-4); padding-left: var(--sp-4); }
.commissioner-profile-copy p { color: var(--white); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.2; margin: 0 0 0.2rem; }
.commissioner-profile-copy span { color: var(--text-on-dark-muted); font-size: 0.9rem; }
.commissioner-content { max-width: 47rem; }
.commissioner-content h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); margin-bottom: var(--sp-8); }
.commissioner-copy { border-left: 1px solid color-mix(in oklab, var(--steel-300) 30%, transparent); padding-left: var(--sp-6); }
.commissioner-copy p { color: var(--text-on-dark-muted); margin-bottom: var(--sp-5); }
.commissioner-copy p:first-child { color: var(--white); font-family: var(--font-display); font-size: 1.1rem; }
.commissioner-signature { display: flex; flex-direction: column; gap: 0.15rem; margin-top: var(--sp-8); }
.commissioner-signature span { color: var(--text-on-dark-muted); font-size: 0.875rem; }
.commissioner-signature strong { color: var(--white); font-family: var(--font-display); font-size: 1.15rem; margin-top: var(--sp-2); }
@media (max-width: 860px) { .commissioner-grid { grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1.45fr); gap: var(--sp-8); } }
@media (max-width: 640px) { .commissioner-grid { grid-template-columns: 1fr; } .commissioner-profile { position: static; } .commissioner-photo { aspect-ratio: 4 / 3; max-width: 24rem; } .commissioner-copy { padding-left: var(--sp-4); } }

/* Final CTA */
.cta-band { text-align: center; }
.cta-band .container { max-width: 46rem; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn--secondary { border-color: var(--red-600); color: var(--red-600); background: var(--white); }
.cta-band .btn--secondary:hover { border-color: var(--red-600); background: color-mix(in oklab, var(--red-500) 7%, var(--white)); color: var(--red-600); }
@media (max-width: 560px) { .cta-band .hero-cta { flex-direction: column; align-items: stretch; } .cta-band .btn { justify-content: center; width: 100%; } }

/* Company profile form */
.company-profile-dialog { width: min(calc(100% - 2rem), 42rem); padding: 0; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); background: var(--surface); box-shadow: 0 24px 70px rgba(7,26,45,0.28); }
.company-profile-dialog::backdrop { background: rgba(7,26,45,0.66); backdrop-filter: blur(3px); }
.company-profile-form { padding: var(--sp-8); }
.dialog-head { display: flex; justify-content: space-between; gap: var(--sp-6); margin-bottom: var(--sp-6); }
.dialog-head .eyebrow { margin-bottom: var(--sp-2); }
.dialog-head h2 { font-size: 1.65rem; margin-bottom: var(--sp-2); }
.dialog-head p:last-child { color: var(--text-muted); margin: 0; }
.dialog-close { flex: 0 0 auto; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: var(--paper-100); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.company-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.company-profile-fields label { display: grid; gap: var(--sp-2); color: var(--text); font-size: 0.875rem; font-weight: 600; }
.company-profile-fields input { width: 100%; min-height: 44px; padding: 0.625rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); color: var(--text); font: inherit; }
.company-profile-fields input:focus { border-color: var(--red-600); outline: 2px solid color-mix(in oklab, var(--red-500) 20%, transparent); outline-offset: 1px; }
.company-profile-actions { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-6); }
.company-profile-note { margin: var(--sp-4) 0 0; color: var(--text-muted); font-size: 0.825rem; }
@media (max-width: 560px) { .company-profile-form { padding: var(--sp-6); } .company-profile-fields { grid-template-columns: 1fr; } .company-profile-actions { align-items: stretch; flex-direction: column; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite-900); color: var(--text-on-dark-muted); padding-block: var(--sp-16) var(--sp-8); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--sp-8); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: #fff; }
.footer-brand-mark { align-items: center; display: flex; gap: var(--sp-4); }
.footer-brand-mark .footer-logo { margin-bottom: 0; }
.footer-brand-copy { display: flex; flex-direction: column; gap: 0; }
.footer-brand-name { color: #fff; font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.1; margin: 0; }
.footer-brand-subtitle { color: var(--steel-500); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.15em; line-height: 1.15; margin: 0; text-transform: uppercase; }
.footer-col h4 { color: #fff; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: var(--sp-4); }
.footer-col ul li { margin-bottom: var(--sp-3); }
.footer-col a { color: var(--text-on-dark-muted); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact { font-style: normal; }
.footer-whatsapp-label { color: var(--text-on-dark-muted); font-size: 0.95rem; }
.footer-whatsapp-number { margin-bottom: 0.45rem !important; }
.footer-whatsapp-number a { font-size: 0.875rem; }
.footer-address { margin-top: var(--sp-5); max-width: 19rem; }
.footer-address a { font-size: 0.8125rem; line-height: 1.6; }
.footer-legal {
  border-top: 1px solid var(--border-dark);
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4);
  font-size: 0.8125rem; color: var(--steel-500);
}
.footer-legal a { color: var(--steel-500); }
/* Sticky mobile CTA */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); max-width: 100vw; overflow-x: hidden;
    padding: var(--sp-3) var(--sp-4) calc(var(--sp-3) + env(safe-area-inset-bottom));
    background: color-mix(in oklab, var(--white) 92%, transparent);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
  }
  .mobile-cta .btn { box-sizing: border-box; grid-column: 1; justify-content: center; justify-self: stretch; max-width: 100%; min-height: 46px; min-width: 0; width: auto; }
  .mobile-cta .btn--wa { background: #1f9d55; color: #fff; }
  body { padding-bottom: calc(128px + env(safe-area-inset-bottom)); }
}

/* Utility */
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--graphite-900); color: #fff; padding: var(--sp-3) var(--sp-4); z-index: 100; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Brand logo (AJA) ---------- */
.brand { flex-direction: row; align-items: center; gap: var(--sp-3); }
.brand-logo { height: 46px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 40px; } }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.05; }
.brand-lockup .brand-co { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--ink-900); letter-spacing: -0.01em; }
.brand-lockup .brand-tag { font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); margin-top: 2px; }
@media (max-width: 480px) { .brand-lockup { display: none; } .brand-logo { height: 38px; } }
.footer-logo { height: 52px; width: auto; margin-bottom: var(--sp-3); }
@media (max-width: 560px) { .footer-logo { height: 48px; } }

/* ---------- Operational capability cards ---------- */
.capability .grid { gap: var(--sp-4); }
.media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(7,26,45,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.media-visual {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  /* Branded fallback shown when no photo is available. */
  background-image:
    linear-gradient(150deg, color-mix(in oklab, var(--amber-600) 22%, var(--graphite-800)), var(--graphite-900)),
    repeating-linear-gradient(125deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 22px);
  background-size: cover, auto;
  background-position: center;
}
.media-photo { width: 100%; height: 100%; object-fit: cover; }
.media:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(7,26,45,0.10); border-color: color-mix(in oklab, var(--amber-500) 45%, var(--border)); }
.media-body { padding: var(--sp-6); background: var(--surface); }
.media-body .icon { display: block; color: var(--accent-text); margin-bottom: var(--sp-3); }
.media-body h4 { color: var(--text); font-size: 1.125rem; margin: 0 0 var(--sp-2); }
.media-body p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Section-level CTA (centered) ---------- */
.section-cta { text-align: center; margin-top: var(--sp-12); }
.section-cta .note { display: block; margin-top: var(--sp-3); font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-topbar { border-bottom: 1px solid var(--border); background: var(--white); }
.legal-topbar .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.legal-topbar .brand-logo { height: 42px; width: auto; }
.legal-topbar a.back { font-size: 0.95rem; font-weight: 500; color: var(--ink-600); }
.legal-prose { max-width: 46rem; }
.legal-prose h1 { margin-bottom: var(--sp-2); }
.legal-prose .updated { color: var(--ink-400); font-size: 0.9rem; margin-bottom: var(--sp-8); }
.legal-prose h2 { font-size: 1.25rem; margin: var(--sp-8) 0 var(--sp-3); }
.legal-prose p { color: var(--text-muted); }
.legal-prose ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 var(--sp-4); }
.legal-prose li { margin-bottom: var(--sp-2); color: var(--text-muted); }
.legal-prose a { text-decoration: underline; }

/* ---------- FAQ (native accordion) ---------- */
.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--sp-6) 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent-text); flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--accent-text); }
.faq .faq-a { padding: 0 0 var(--sp-6); }
.faq .faq-a p { color: var(--text-muted); margin: 0; max-width: 60ch; }
.faq .faq-a p + p { margin-top: var(--sp-3); }
.faq .faq-a ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2) var(--sp-6); margin: var(--sp-3) 0; }
.faq .faq-a li { color: var(--text-muted); font-size: 0.95rem; }
.faq .faq-a li::before { content: "•"; color: var(--accent-text); margin-right: var(--sp-2); }
@media (max-width: 560px) { .faq .faq-a ul { grid-template-columns: 1fr; } }
