/* =========================================================================
   CORTEX landing page — Process IQ Company
   Single-page marketing site styling. No framework; hand-written to mirror
   the reference design (navy / blue / emerald, Inter + Plus Jakarta Sans).
   ========================================================================= */

:root {
  /* Brand palette */
  --navy-900: #081830;
  --navy-800: #0f2540;
  --navy-700: #243d5e;
  --blue: #1d66f0;
  --blue-600: #1656d6;
  --blue-light: #59a6ff;
  --blue-tint: #eef6ff;
  --emerald: #10b981;
  --emerald-light: #34d399;

  /* Neutrals */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --white: #ffffff;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(8, 24, 48, 0.06);
  --shadow: 0 10px 30px rgba(8, 24, 48, 0.08);
  --shadow-lg: 0 24px 60px rgba(8, 24, 48, 0.14);
  --container: 1200px;
  --header-h: 76px;

  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }

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

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

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

/* --------------------------------------------------------- shared blocks */
.section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--blue-light); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
.section-head p {
  margin-top: 18px;
  font-size: 1.075rem;
  color: var(--slate-500);
}
.on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark .section-head p { color: var(--slate-300); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.975rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(29, 102, 240, 0.28);
}
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--slate-200);
}
.btn-outline:hover { border-color: var(--blue); background: var(--blue-tint); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--emerald);
}
.link-arrow:hover { gap: 10px; }

/* =============================================================== HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 24, 48, 0.95);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px rgba(8, 24, 48, 0.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
}
.brand-sub { font-size: 0.72rem; color: var(--blue-light); letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-200);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links .btn { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
}

/* ---- Product dropdown ---- */
.nav-dropdown { position: relative; }
.nav-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-200);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.nav-dd-toggle:hover { color: var(--white); }
.nav-dd-toggle svg { transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-dd-toggle svg,
.nav-dropdown.open .nav-dd-toggle svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  display: grid;
  gap: 2px;
  padding: 10px;
  background: #0e2748;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(8, 24, 48, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}
.nav-dropdown:hover .nav-dd-menu,
.nav-dropdown.open .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-menu a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--slate-200);
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-dd-menu a:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }

/* =================================================================== HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    rgba(8, 24, 48, 0.96) 0%,
    rgba(8, 24, 48, 0.85) 45%,
    rgba(15, 37, 64, 0.7) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: var(--header-h); }
.hero-inner { max-width: 760px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--emerald-light);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-light); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  margin: 22px 0 0;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--blue-light), var(--emerald-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 22px;
  font-size: 1.2rem;
  color: var(--slate-200);
  max-width: 620px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-200);
}
.pill svg { color: var(--blue-light); }

.scroll-ind {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--slate-300);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-ind .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  position: relative;
}
.scroll-ind .mouse::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
  animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ========================================================= WHAT IS CORTEX */
.what { background: var(--slate-50); }
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 60px;
}
.what-media { position: relative; }
.what-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.media-chip {
  position: absolute;
  right: -14px;
  bottom: -14px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.media-chip span { color: var(--emerald-light); }

.ace-list { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }
.ace-item { display: flex; gap: 18px; }
.ace-badge {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}
.ace-item:nth-child(2) .ace-badge { background: linear-gradient(135deg, #0ea5e9, var(--blue-light)); }
.ace-item:nth-child(3) .ace-badge { background: linear-gradient(135deg, var(--emerald), var(--emerald-light)); }
.ace-item h4 { font-size: 1.15rem; margin-bottom: 4px; }
.ace-item p { color: var(--slate-500); font-size: 0.97rem; }

/* Why CORTEX callout */
.why {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.why h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 14px; }
.why p { color: var(--slate-500); margin-bottom: 18px; }
.why-checks { display: grid; gap: 14px; }
.why-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  list-style: none;
  font-weight: 500;
  color: var(--slate-700);
}
.why-checks ul { margin: 0; padding: 0; display: grid; gap: 14px; }
.check-ic {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
}

/* ============================================================== PRODUCT / BENEFITS */
.benefits { background: var(--slate-50); }
.product { background: var(--white); }
/* keep 5 product cards visually balanced (3 + 2, centered) */
.product-grid { justify-content: center; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--slate-500); font-size: 0.95rem; }

/* feature cards that are links (Product Suite) */
a.feature.feature-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; }
a.feature.feature-link p { flex: 1; }
.feature-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue);
  transition: gap 0.2s ease;
}
a.feature.feature-link:hover .feature-more { gap: 11px; }

/* ========================================================= PRODUCT PAGES */
.product-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 72px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
  color: var(--white);
  overflow: hidden;
}
.product-hero::after {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(29, 102, 240, 0.35), transparent 65%);
  pointer-events: none;
}
.product-hero .container { position: relative; z-index: 1; }
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 26px;
}
.crumbs a { color: var(--slate-300); }
.crumbs a:hover { color: var(--white); }
.crumbs .current { color: var(--blue-light); }
.product-hero-inner { max-width: 760px; }
.product-hero-ic {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(29, 102, 240, 0.35);
}
.product-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin: 14px 0 0;
}
.product-hero-lead {
  margin-top: 18px;
  font-size: 1.15rem;
  color: var(--slate-200);
  max-width: 640px;
}
.product-hero .hero-cta { margin-top: 30px; }

/* prose (rendered markdown) */
.product-body { background: var(--slate-50); }
.prose { max-width: 820px; margin-inline: auto; color: var(--slate-700); font-size: 1.05rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 44px 0 16px;
}
.prose h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 32px 0 12px;
}
.prose p { margin: 0 0 18px; line-height: 1.75; }
.prose a { color: var(--blue); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 0; list-style: none; }
.prose ul li, .prose ol li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  line-height: 1.65;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.prose ol { counter-reset: pc; }
.prose ol li { counter-increment: pc; }
.prose ol li::before {
  content: counter(pc);
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  display: grid;
  place-items: center;
}
.prose blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  border-left: 4px solid var(--blue);
  background: var(--white);
  border-radius: 0 12px 12px 0;
  color: var(--slate-600);
}
.prose strong { color: var(--navy-900); }
.prose img {
  display: block;
  border-radius: 12px;
  margin: 24px auto;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 0;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prose img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(14, 14, 16, 0.5);
  z-index: 20;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #eef2f7;
  color: var(--navy-800);
  padding: 2px 6px;
  border-radius: 5px;
}
.prose pre {
  background: var(--navy-900);
  color: #e6edf7;
  padding: 20px 22px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 0 0 22px;
  font-size: 0.9rem;
  line-height: 1.6;
  box-shadow: var(--shadow);
}
.prose pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 0.95rem;
}
.prose th, .prose td { border: 1px solid var(--slate-200); padding: 10px 14px; text-align: left; }
.prose th { background: var(--slate-100); font-family: var(--font-head); color: var(--navy-900); }

/* CTA band */
.product-cta { background: var(--white); }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  color: var(--white);
}
.cta-band h2 { color: var(--white); font-size: 1.7rem; font-weight: 800; }
.cta-band p { color: var(--slate-300); margin-top: 10px; max-width: 560px; }
.cta-band .btn { flex: none; }

/* ========================================================= ARTICLES */
.article-dateline { margin-top: 16px; color: var(--slate-300); font-size: 0.95rem; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.article-tags span {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--slate-200);
  font-size: 0.78rem;
  font-weight: 500;
}
.article-foot { max-width: 820px; margin: 40px auto 0; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--slate-400);
  font-weight: 500;
  margin-bottom: 12px;
}
.article-meta .dot { color: var(--slate-300); }
.article-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  line-height: 1.3;
}
.article-card p { color: var(--slate-500); font-size: 0.96rem; flex: 1; }
.article-card .feature-more { margin-top: 16px; }

@media (max-width: 720px) {
  .article-grid { grid-template-columns: 1fr; }
}

/* ============================================================ HOW IT WORKS */
.how {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.step {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  text-transform: uppercase;
}
.step h3 { color: var(--white); font-size: 1.2rem; margin: 14px 0 10px; }
.step p { color: var(--slate-300); font-size: 0.95rem; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px; right: -14px;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--blue-light), transparent);
}

/* =============================================================== SOCIAL */
.social { background: var(--slate-50); }
.social-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.testimonials { position: relative; margin-top: 32px; }
.tcard {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: none;
}
.tcard.active { display: block; animation: fade 0.4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tcard .quote-mark {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.25;
}
.tcard blockquote {
  margin: 0 0 20px;
  font-size: 1.12rem;
  color: var(--slate-700);
  font-weight: 500;
}
.tcard .who { font-family: var(--font-head); font-weight: 700; color: var(--navy-900); }
.tcard .role { color: var(--slate-500); font-size: 0.9rem; }

.t-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}
.dots { display: flex; gap: 8px; }
.dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--slate-300);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.dots button.active { background: var(--blue); width: 26px; border-radius: 6px; }
.arrows { display: flex; gap: 10px; }
.arrows button {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.arrows button:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stats-row { grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
.stat {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat p { color: var(--slate-500); font-size: 0.9rem; margin-top: 6px; }

/* ================================================================= ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-media .media-chip { background: linear-gradient(135deg, var(--blue), var(--emerald)); }
.about-media .media-chip span { color: var(--white); }
.mvv { display: grid; gap: 22px; margin-top: 28px; }
.mvv-item {
  border-left: 3px solid var(--blue);
  padding-left: 18px;
}
.mvv-item h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.mvv-item p { color: var(--slate-500); font-size: 0.97rem; }

/* =============================================================== CONTACT */
.contact {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { color: var(--white); }
.contact-info > p { color: var(--slate-300); margin: 18px 0 30px; font-size: 1.05rem; }
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: center; }
.contact-item .c-ic {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--blue-light);
}
.contact-item .label { color: var(--slate-400); font-size: 0.82rem; }
.contact-item .val { color: var(--white); font-weight: 600; font-family: var(--font-head); }

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 34px;
  backdrop-filter: blur(6px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-200);
  margin-bottom: 8px;
}
.field label .req { color: var(--emerald-light); }
.field .count { float: right; color: var(--slate-400); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--slate-400); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  background: rgba(255, 255, 255, 0.1);
}
.contact-card .btn-primary { width: 100%; justify-content: center; }
.contact-card .btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.form-note { margin-top: 14px; font-size: 0.82rem; color: var(--slate-400); text-align: center; }
.form-note a { color: var(--blue-light); }

/* Inline form status banners (support form) */
.form-banner {
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  border: 1px solid transparent;
}
.form-banner.ok {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.4);
  color: #bbf7d0;
}
.form-banner.err {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fecaca;
}
.form-banner a { color: inherit; text-decoration: underline; }

/* Team / leadership cards (about page) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.team-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.team-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 2px solid var(--slate-200);
}
.team-id h3 { font-size: 1.05rem; line-height: 1.35; margin: 0; }
.team-li {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  color: var(--navy-700);
  transition: color 0.2s;
}
.team-li:hover { color: var(--blue); }
.team-card p { color: var(--slate-600); font-size: 0.95rem; margin-top: 10px; }
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ================================================================ FOOTER */
.site-footer { background: var(--navy-900); color: var(--slate-300); padding: 64px 0 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--slate-400); font-size: 0.95rem; max-width: 360px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--slate-300);
  transition: background 0.2s, color 0.2s;
}
.socials a:hover { background: var(--blue); color: var(--white); }
.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--slate-400); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.88rem;
  color: var(--slate-400);
}
.footer-bottom .soc2 {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--emerald-light); font-weight: 600;
}
.footer-links { display: flex; gap: 22px; }

/* =============================================================== RESPONSIVE */
@media (max-width: 960px) {
  .what-grid, .why, .social-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-media { order: -1; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: rgba(8, 24, 48, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 10px 0; }
  .nav-toggle { display: inline-flex; }
  /* dropdown expands inline in the mobile panel */
  .nav-dropdown { width: 100%; }
  .nav-dd-toggle { width: 100%; justify-content: space-between; padding: 10px 0; }
  .nav-dd-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 4px 0 6px 14px;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav-dd-menu a { padding: 8px 0; }
  .section { padding: 72px 0; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .media-chip { right: 12px; }
}

@media (max-width: 460px) {
  .benefits-grid, .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}
