/* ==========================================================================
   JOIS Consultancy Services — Institution Growth & Management Platform
   Global stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --brand-900: #0b1f52;
  --brand-800: #12327a;
  --brand-700: #1a3fa0;
  --brand-600: #2450c8;
  --brand-500: #3b6cf0;
  --brand-400: #6d95f6;
  --brand-100: #e5edff;
  --brand-050: #f2f6ff;

  --accent-500: #f5a623;   /* warm gold highlight */
  --accent-600: #e0910f;

  --ink-900: #0e1526;
  --ink-700: #333c4f;
  --ink-500: #5b6577;
  --ink-400: #808a9c;
  --brand-200: #c7d6f7;

  --line: #e4e8f0;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;
  --surface-tint: #eef3fd;

  --ok-500: #128a5b;

  /* Phase accent colors */
  --p1: #2563eb;
  --p2: #7c3aed;
  --p3: #0d9488;
  --p4: #d97706;
  --p5: #db2777;
  --p6: #15803d;
  --p7: #64748b;

  /* Typography */
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Metrics */
  --header-h: 90px;
  --container: 1180px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 21, 38, .06), 0 2px 8px rgba(14, 21, 38, .05);
  --shadow-md: 0 12px 30px -12px rgba(18, 50, 122, .22);
  --shadow-lg: 0 30px 60px -20px rgba(18, 50, 122, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

img, svg, video, canvas { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--brand-600); text-decoration: none; transition: color .18s var(--ease); overflow-wrap: anywhere; }
a:hover { color: var(--brand-800); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1 { font-size: clamp(1.75rem, 4.8vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 3.8vw, 2.5rem); }
h3 { font-size: clamp(1.18rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.075rem; font-weight: 700; }

p { color: var(--ink-500); overflow-wrap: anywhere; word-break: break-word; }

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

::selection { background: var(--brand-500); color: #fff; }

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

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

.section {
  padding-block: clamp(64px, 9vw, 116px);
}

.section--tint { background: var(--surface-alt); }
.section--brand {
  background: linear-gradient(160deg, var(--brand-800), var(--brand-900));
  color: #dbe6ff;
}
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand p { color: #b7c8ee; }

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
}
.section--brand .eyebrow { color: var(--accent-500); }
.center .eyebrow::before { display: none; }

.lead {
  font-size: 1.15rem;
  color: var(--ink-500);
  margin-top: 14px;
}
.section--brand .lead { color: #c9d8f5; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  box-shadow: 0 10px 24px -12px rgba(36, 80, 200, .8);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(36, 80, 200, .85);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-700);
  border-color: var(--brand-200, #c7d6f7);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--brand-050); }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-800);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5);
}
.btn--on-dark-ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .4);
  box-shadow: none;
}
.btn--on-dark-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.btn--lg { padding: 17px 34px; font-size: 1rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
}
.arrow-link svg { transition: transform .2s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(14, 21, 38, .4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink-900); }
.brand__logo {
  height: 58px;
  width: auto;
  display: block;
}
.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--brand-500), var(--brand-800));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-top: 1px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-700);
  border-radius: 9px;
}
.nav__link:hover { color: var(--brand-700); background: var(--brand-050); }
.nav__link[aria-current="page"] { color: var(--brand-700); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-500);
}

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

/* Mobile-only CTA that lives inside the collapsible menu */
.nav-cta-mobile { display: none; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle svg { transition: transform .2s var(--ease); }
.has-dropdown.is-open .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--ink-700);
}
.dropdown a:hover { background: var(--surface-alt); }
.dropdown .d-ico {
  width: 30px; height: 30px; flex: none;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--brand-050);
  color: var(--brand-600);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8rem;
}
.dropdown .d-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink-900);
}
.dropdown .d-desc { display: block; font-size: .8rem; color: var(--ink-400); line-height: 1.45; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle.is-active span { background: transparent; }
.nav__toggle.is-active span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav__toggle.is-active span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(72px, 10vw, 130px);
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(59, 108, 240, .16), transparent 60%),
    radial-gradient(760px 420px at 6% 12%, rgba(245, 166, 35, .10), transparent 55%),
    var(--surface);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero__content { max-width: 620px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand-600), var(--brand-400) 60%, var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { font-size: 1.2rem; max-width: 560px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 44px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero__stat .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--brand-800);
  letter-spacing: -0.02em;
}
.hero__stat .l {
  font-size: .84rem;
  color: var(--ink-400);
  font-weight: 500;
}

/* Hero visual — stacked ecosystem cards */
.hero__visual {
  position: relative;
  display: grid;
  gap: 16px;
}
.eco-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.eco-card:nth-child(odd) { transform: translateX(14px); }
.eco-card__ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}
.eco-card__t {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  color: var(--ink-900);
}
.eco-card__d { display: block; font-size: .82rem; color: var(--ink-400); }

/* ---------- Generic page banner ---------- */
.page-banner {
  position: relative;
  padding-block: clamp(66px, 8vw, 104px);
  background:
    radial-gradient(900px 440px at 85% -20%, rgba(59, 108, 240, .18), transparent 60%),
    linear-gradient(165deg, var(--brand-800), var(--brand-900));
  color: #dce7ff;
}
.page-banner h1 { color: #fff; margin-bottom: 16px; }
.page-banner p { color: #b9caee; font-size: 1.12rem; max-width: 640px; }
.page-banner .eyebrow { color: var(--accent-500); }
.crumbs {
  display: flex;
  gap: 8px;
  font-size: .82rem;
  color: #90a6d6;
  margin-bottom: 22px;
}
.crumbs a { color: #b9caee; }
.crumbs span { color: #6f86bb; }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d3ddf0;
}
.card__ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-050);
  color: var(--brand-600);
  margin-bottom: 20px;
}
.card__ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card h4 { margin-bottom: 8px; }
.card p { font-size: .95rem; }

/* Phase card (used on home + ecosystem) */
.phase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.phase-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--pc, var(--brand-500));
}
.phase-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.phase-card__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pc, var(--brand-500));
  margin-bottom: 12px;
}
.phase-card__badge {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--pc, var(--brand-500)) 12%, #fff);
  color: var(--pc, var(--brand-600));
  margin-bottom: 16px;
}
.phase-card h3 { margin-bottom: 10px; }
.phase-card p { font-size: .95rem; flex: 1; }
.phase-card .arrow-link { margin-top: 20px; color: var(--pc, var(--brand-600)); }

/* Feature list with ticks */
.ticks { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.ticks li {
  position: relative;
  padding-left: 32px;
  font-size: .95rem;
  color: var(--ink-700);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--brand-050);
  background-image: 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='%232450c8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.ticks.on-dark li { color: #cfdcf5; }
.ticks.on-dark li::before { background-color: rgba(255,255,255,.12); }

.ticks--accent li::before {
  background-color: color-mix(in srgb, var(--pc, var(--brand-500)) 14%, #fff);
  background-image: 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='%23111' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Two-column feature block */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.1fr .9fr; }
.media-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-alt);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

/* ---------- Stat strip ---------- */
.statstrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.statstrip .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: #fff;
  letter-spacing: -0.02em;
}
.statstrip .l { color: #a9bde6; font-size: .9rem; }

/* ---------- Timeline (roadmap) ---------- */
.roadmap {
  position: relative;
  display: grid;
  gap: 22px;
}
.roadmap::before {
  content: "";
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--brand-200, #c7d6f7), transparent);
}
.rm-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
}
.rm-item__dot {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  background: var(--pc, var(--brand-600));
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--pc, var(--brand-600)) 80%, transparent);
  z-index: 1;
}
.rm-item__body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.rm-item__body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.rm-item__body p { font-size: .95rem; }
.rm-item__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pc, var(--brand-600));
  margin-bottom: 10px;
}

/* ---------- Plans / pricing tiers ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.plans--3 {
  grid-template-columns: repeat(3, 1fr);
}
.plan {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.plan.is-featured {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-md);
}
.plan__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink-900);
}
.plan__tier {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}
.plan__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.plan__price span { font-size: .82rem; font-weight: 500; color: var(--ink-400); }
.plan__desc { font-size: .88rem; margin-bottom: 18px; }
.plan .ticks { margin-top: 4px; }
.plan .ticks li { font-size: .88rem; padding-left: 28px; }
.plan .ticks li::before { width: 18px; height: 18px; }
.plan__flag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-600);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 68px);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(245, 166, 35, .22), transparent 60%),
    linear-gradient(150deg, var(--brand-700), var(--brand-900));
  color: #fff;
  overflow: hidden;
}
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { color: #c6d5f4; max-width: 560px; margin-top: 12px; }

/* ---------- FAQ / accordion ---------- */
.accordion { display: grid; gap: 12px; }
.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-900);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.acc-trigger .pm {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
}
.acc-trigger .pm::before,
.acc-trigger .pm::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--brand-600);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.acc-trigger .pm::before { width: 14px; height: 2px; }
.acc-trigger .pm::after { width: 2px; height: 14px; }
.acc-item.is-open .pm::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
}
.acc-panel__inner { padding: 0 24px 22px; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.field { margin-bottom: 18px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink-700);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  color: var(--ink-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.field textarea { min-height: 130px; resize: vertical; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d64545; box-shadow: 0 0 0 4px #f7dede; }
.field__msg { font-size: .78rem; color: #d64545; margin-top: 6px; display: none; }
.field.has-error .field__msg { display: block; }

.form-note {
  font-size: .82rem;
  color: var(--ink-400);
  margin-top: 14px;
}
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--ok-500) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--ok-500) 40%, #fff);
  color: #0c603f;
  font-size: .9rem;
}
.form-status.is-visible { display: block; }

.contact-detail {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: 0; }
.contact-detail__ico {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  background: var(--brand-050);
  color: var(--brand-600);
  display: grid; place-items: center;
}
.contact-detail h4 { margin-bottom: 2px; }
.contact-detail p { font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-900);
  color: #a9bde6;
  padding-block: 66px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer .brand { color: #fff; background: #fff; padding: 12px 16px; border-radius: 12px; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand__logo { height: 62px; }
.footer-about { margin-top: 18px; font-size: .9rem; color: #93a9d6; max-width: 320px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #dfe8fb;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: #a9bde6;
  font-size: .92rem;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .84rem;
  color: #8298c7;
}

/* ---------- Reveal animation ---------- */
/* Content is visible by default; only hidden when JS is available to reveal it. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 44px; }
.text-center { text-align: center; }
.muted { color: var(--ink-400); }
.divider { height: 1px; background: var(--line); border: 0; margin-block: 0; }
.soon-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 999px;
}
.phase-card--soon { opacity: .92; }
.phase-card--soon h3 { color: var(--ink-700); }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .86rem;
  color: var(--ink-700);
}
.section--tint .pill { background: #fff; }
.pill--dark {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: #dbe6ff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 520px; }
  .eco-card:nth-child(odd) { transform: none; }
  .split, .split--wide-left { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 14px; font-size: 1rem; border-radius: 10px; min-height: 44px; justify-content: center; text-align: center; width: 100%; }
  .nav__link[aria-current="page"]::after { display: none; }

  .has-dropdown { width: 100%; text-align: center; }
  .has-dropdown .dropdown {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    margin: 4px 0 8px 0;
    padding: 4px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height .28s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown.is-open .dropdown {
    transform: none;
    max-height: 720px;
    opacity: 1;
    visibility: visible;
  }
  .dropdown a {
    min-height: 44px;
    padding: 12px 14px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
  }
  .dropdown a > span:not(.d-ico) {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .dropdown .d-title { text-align: center; }
  .dropdown .d-desc { display: none; }
  .nav__actions .btn { display: none; }
  .nav__menu .nav-cta-mobile { display: inline-flex; width: 100%; margin-top: 10px; justify-content: center; }

  /* iOS Form Zoom Prevention */
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .plans, .plans--3 { grid-template-columns: repeat(2, 1fr); }
  .statstrip { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  :root { --header-h: 70px; }
  .container { padding-inline: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .plans, .plans--3 { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px 32px; }
  .rm-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .rm-item__dot { width: 44px; height: 44px; border-radius: 13px; font-size: .9rem; }
  .roadmap::before { left: 21px; }
  .section { padding-block: 52px; }

  .nav { gap: 12px; }
  .brand { font-size: 0.95rem; gap: 8px; }
  .brand__logo { height: 42px; }
  .site-footer .brand { padding: 10px 12px; }
  .site-footer .brand__logo { height: 52px; }
  .cta-band { padding: 34px 24px; }
}

@media (max-width: 540px) {
  .container { padding-inline: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .statstrip { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .statstrip .n { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-row .btn { width: 100%; text-align: center; }
  .hero__stats { gap: 16px 20px; }
  .hero__stat .n { font-size: 1.55rem; }
  .rm-item { grid-template-columns: 40px 1fr; gap: 14px; }
  .rm-item__dot { width: 40px; height: 40px; border-radius: 11px; font-size: .85rem; }
  .rm-item__body { padding: 18px 18px; }
  .roadmap::before { left: 19px; }
  .card, .phase-card, .plan, .media-frame { padding: 20px 18px; }
  .acc-trigger { padding: 16px 18px; font-size: 0.95rem; }
  .acc-panel__inner { padding: 0 18px 18px; }
}

@media (max-width: 360px) {
  .container { padding-inline: 12px; }
  .brand { font-size: 0.86rem; gap: 6px; }
  .brand__logo { height: 38px; }
  .btn--lg { padding: 14px 22px; font-size: 0.9rem; }
  .hero__stats { flex-direction: column; gap: 12px; }
}
