/* ==========================================================================
   Sharuma HMIS — public website
   Palette: navy #10263E · teal #167D85 · gold #C7A56B
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/site/fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/site/fonts/plusjakarta.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: block;
}

:root {
  --navy-950: #08192b;
  --navy-900: #10263e;
  --navy-800: #17324f;
  --teal-700: #0f646b;
  --teal-600: #12737b;
  --teal-500: #167d85;
  --teal-400: #1e9aa3;
  --teal-300: #4fc3c9;
  --teal-50: #e8f4f4;
  --gold-600: #b08f55;
  --gold-500: #c7a56b;
  --gold-50: #f8f3ea;
  --ink: #10263e;
  --body: #506072;
  --muted: #6b7b8c;
  --line: #e3e9ee;
  --bg: #ffffff;
  --soft: #f5f7f8;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(8, 25, 43, 0.05);
  --shadow: 0 18px 48px -20px rgba(8, 25, 43, 0.28);
  --shadow-lg: 0 30px 70px -28px rgba(8, 25, 43, 0.45);
  --head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --text: "Inter", "Segoe UI", system-ui, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--text);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 4.1vw, 3.45rem); line-height: 1.04; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.7rem); }
h3 { font-size: 1.12rem; line-height: 1.3; }
p { margin: 0; }
strong { color: var(--navy-900); font-weight: 600; }
::selection { background: var(--teal-500); color: #fff; }

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

svg.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -70px; z-index: 2000;
  background: var(--navy-900); color: #fff; padding: 12px 22px;
  border-radius: var(--radius-sm); font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

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

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-family: var(--text); font-size: 15px; font-weight: 600; line-height: 1.2;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform 0.22s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-primary { background: var(--teal-500); color: #fff; box-shadow: 0 10px 24px -14px rgba(22, 125, 133, 0.9); }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy-900); background: #fff; }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-600); color: #fff; transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 28px -18px rgba(8, 25, 43, 0.4); }
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { height: 40px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-name {
  display: block; font-family: var(--head); font-weight: 800;
  font-size: 19px; letter-spacing: -0.02em; color: var(--navy-900);
}
.brand-name span { color: var(--teal-600); }
.brand-sub {
  display: block; font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a {
  display: inline-block; padding: 9px 10px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--navy-800); white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-list a:hover { color: var(--teal-600); background: var(--soft); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.link-login { font-size: 14px; font-weight: 600; color: var(--navy-800); padding: 10px 14px; border-radius: 6px; }
.link-login:hover { color: var(--teal-600); background: var(--soft); }
.nav-mobile-actions { display: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; color: var(--navy-900);
}
.nav-toggle svg { width: 23px; height: 23px; }
.nav-toggle .ico-close { display: none; }
.nav-open .nav-toggle .ico-close { display: block; }
.nav-open .nav-toggle .ico-menu { display: none; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 82% 8%, rgba(30, 154, 163, 0.28), transparent 62%),
    radial-gradient(700px 380px at 4% 96%, rgba(199, 165, 107, 0.13), transparent 60%),
    linear-gradient(160deg, #0a1c30 0%, #10263e 55%, #0d2a3f 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 500px at 60% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 500px at 60% 20%, #000 20%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(30px, 4.5vw, 58px); align-items: center;
  padding-top: 58px;
  padding-bottom: 76px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 20px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-500); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--teal-300); }
.hero-lead { font-size: 17.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.86); max-width: 560px; }
.hero-sub { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.64); max-width: 540px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.9);
}
.hero-chip svg { width: 14px; height: 14px; color: var(--teal-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 22px; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }
.hero-note span + span::before { content: "·"; margin: 0 7px; opacity: 0.7; }

/* Product preview -------------------------------------------------------- */
.preview { position: relative; padding: 0; }
.preview-caption {
  margin-top: 24px; font-size: 10.5px; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45); text-align: left;
}
.laptop {
  position: relative; border-radius: 16px; padding: 9px;
  background: linear-gradient(180deg, #22374d, #0a1a2b);
  box-shadow: 0 40px 80px -34px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.laptop-screen {
  border-radius: 9px; overflow: hidden; background: #f4f7fa;
  aspect-ratio: 16 / 10.2;
}
.laptop-base {
  height: 11px; margin: 0 -26px -18px; border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #d5dfe8, #a9b7c4);
  box-shadow: 0 10px 18px -12px rgba(0, 0, 0, 0.6);
}
.app { display: flex; height: 100%; font-size: 8px; color: #33445a; }
.app-side {
  width: 25%; background: #0d2236; color: rgba(255, 255, 255, 0.72);
  padding: 10px 8px; display: flex; flex-direction: column; gap: 3px;
}
.app-logo { display: flex; align-items: center; gap: 5px; color: #fff; font-weight: 700; font-size: 8.5px; margin-bottom: 8px; }
.app-logo i { width: 13px; height: 13px; border-radius: 4px; background: var(--teal-500); display: block; }
.app-menu { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 4px; font-size: 7.5px; }
.app-menu svg { width: 9px; height: 9px; opacity: 0.75; }
.app-menu.active { background: rgba(30, 154, 163, 0.22); color: #fff; }
.app-main { flex: 1; padding: 10px 11px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app-top strong { font-size: 9.5px; color: #10263e; }
.app-search {
  flex: 1; max-width: 120px; height: 13px; border-radius: 4px;
  background: #e8eef4; margin-left: auto;
}
.app-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.app-kpi { background: #fff; border: 1px solid #e3e9ee; border-radius: 5px; padding: 5px 6px; }
.app-kpi small { display: block; font-size: 6.2px; color: #7a8a9a; }
.app-kpi b { font-size: 11px; color: #10263e; }
.app-kpi i { display: block; font-style: normal; font-size: 5.6px; color: #1e9aa3; }
.app-charts { display: grid; grid-template-columns: 1.6fr 1fr; gap: 6px; flex: 1; min-height: 0; }
.app-card { background: #fff; border: 1px solid #e3e9ee; border-radius: 5px; padding: 6px; overflow: hidden; }
.app-card h6 { font-size: 6.6px; font-weight: 600; color: #10263e; margin-bottom: 3px; }
.app-card svg { width: 100%; height: auto; }
.donut-wrap { display: flex; align-items: center; gap: 6px; }
.donut {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: conic-gradient(#167d85 0 42%, #4fc3c9 42% 65%, #c7a56b 65% 82%, #dbe5ec 82% 100%);
  position: relative;
}
.donut::after {
  content: "342"; position: absolute; inset: 9px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-size: 7.5px; font-weight: 700; color: #10263e;
}
.app-legend { display: grid; gap: 2.5px; font-size: 5.8px; color: #66788a; }
.app-legend i { display: inline-block; width: 5px; height: 5px; border-radius: 2px; margin-right: 3px; }
.app-table { display: grid; gap: 2px; }
.app-row { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr 0.8fr; gap: 4px; font-size: 5.8px; padding: 2.5px 0; border-bottom: 1px solid #eef2f6; color: #5d6f81; }
.app-row.head { font-weight: 700; color: #8494a4; border-bottom-color: #e3e9ee; }
.app-pill { display: inline-block; padding: 1px 4px; border-radius: 3px; background: #e6f5f1; color: #10775f; font-size: 5.2px; }

.phone {
  position: absolute; right: -6px; bottom: 34px; width: 116px;
  border-radius: 18px; padding: 4px;
  background: #0a1a2b; box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.phone-screen { border-radius: 14px; overflow: hidden; background: #f4f7fa; aspect-ratio: 9 / 17; padding: 8px 7px; }
.phone-notch { width: 34px; height: 4px; border-radius: 3px; background: #0a1a2b; margin: 0 auto 6px; }
.phone-head { font-size: 6.5px; font-weight: 700; color: #10263e; margin-bottom: 5px; }
.phone-stat { background: #fff; border: 1px solid #e3e9ee; border-radius: 5px; padding: 4px; margin-bottom: 4px; }
.phone-stat small { font-size: 5.4px; color: #7a8a9a; display: block; }
.phone-stat b { font-size: 9px; color: #10263e; }
.phone-bars { display: flex; align-items: flex-end; gap: 3px; height: 34px; padding: 3px 0; }
.phone-bars span { flex: 1; background: var(--teal-500); border-radius: 2px 2px 0 0; opacity: 0.85; }
.phone-row { display: flex; justify-content: space-between; font-size: 5.2px; color: #66788a; padding: 2px 0; border-bottom: 1px solid #eef2f6; }

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(62px, 8vw, 104px) 0; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy-900); color: rgba(255, 255, 255, 0.8); position: relative; overflow: hidden; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255, 255, 255, 0.72); }
.section-navy .eyebrow { color: var(--teal-300); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; opacity: 0.55; }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 16.5px; line-height: 1.75; margin-top: 14px; }
.lead { font-size: 17px; line-height: 1.75; }

/* Feature strip ---------------------------------------------------------- */
.strip {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); margin-top: -42px; overflow: hidden;
}
.strip-item { display: flex; gap: 10px; align-items: flex-start; padding: 20px 18px; border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item svg { width: 22px; height: 22px; color: var(--teal-500); margin-top: 1px; }
.strip-item strong { display: block; font-family: var(--head); font-size: 12.5px; color: var(--navy-900); line-height: 1.3; }
.strip-item span { font-size: 11px; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }

/* Feature cards ---------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(22, 125, 133, 0.32); }
.icon-box {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 11px; background: var(--teal-50); color: var(--teal-600); margin-bottom: 16px;
}
.icon-box svg { width: 23px; height: 23px; }
.icon-box.gold { background: var(--gold-50); color: var(--gold-600); }
.feature-card h3 { margin-bottom: 8px; font-size: 1.06rem; }
.feature-card p { font-size: 14.5px; line-height: 1.65; }
.feature-note { display: block; margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* Departments ------------------------------------------------------------ */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dept {
  display: flex; gap: 13px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 16px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.dept:hover { border-color: rgba(22, 125, 133, 0.35); box-shadow: var(--shadow-sm); }
.dept svg { width: 21px; height: 21px; color: var(--teal-600); margin-top: 2px; }
.dept h3 { font-size: 0.95rem; margin-bottom: 4px; }
.dept p { font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* Reporting workflow ----------------------------------------------------- */
.report-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.flow { display: grid; gap: 0; counter-reset: step; }
.flow-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 24px; position: relative; }
.flow-step:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 2px; width: 1.5px;
  background: linear-gradient(180deg, rgba(22, 125, 133, 0.4), rgba(22, 125, 133, 0.12));
}
.flow-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1.5px solid rgba(22, 125, 133, 0.35);
  color: var(--teal-700); font-family: var(--head); font-weight: 700; font-size: 14px;
  position: relative; z-index: 2;
}
.flow-step h3 { font-size: 1rem; margin-bottom: 5px; }
.flow-step p { font-size: 13.5px; line-height: 1.6; }

.benefit-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.benefit-panel h3 { margin-bottom: 16px; }
.benefit-list { display: grid; gap: 12px; }
.benefit-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--navy-800); }
.benefit-list svg { width: 17px; height: 17px; color: var(--teal-500); margin-top: 3px; }

/* Supplier API ----------------------------------------------------------- */
.api-flow {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 20px; box-shadow: var(--shadow-sm);
}
.api-node { text-align: center; padding: 0 8px; position: relative; }
.api-node:not(:last-child)::after {
  content: "→"; position: absolute; right: -7px; top: 22px;
  color: var(--teal-400); font-size: 16px;
}
.api-node .icon-box { margin: 0 auto 10px; width: 44px; height: 44px; }
.api-node h3 { font-size: 0.86rem; margin-bottom: 3px; }
.api-node p { font-size: 11.5px; line-height: 1.45; color: var(--muted); }

/* Steps ------------------------------------------------------------------ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; position: relative;
}
.step-card .num {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 14px;
  background: var(--navy-900); color: var(--gold-500);
  font-family: var(--head); font-weight: 700; font-size: 13px;
}
.step-card h3 { font-size: 0.98rem; margin-bottom: 6px; }
.step-card p { font-size: 13px; line-height: 1.55; }

/* Pricing ---------------------------------------------------------------- */
.pricing-panel {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm);
}
.pricing-list { display: grid; gap: 10px; margin: 18px 0 0; }
.pricing-list li { display: flex; gap: 10px; font-size: 14px; color: var(--navy-800); }
.pricing-list svg { width: 17px; height: 17px; color: var(--teal-500); margin-top: 3px; }
.pricing-cta {
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.pricing-cta strong { display: block; font-family: var(--head); font-size: 1.05rem; margin-bottom: 6px; }
.pricing-cta p { font-size: 13px; margin-bottom: 16px; }

/* Resources -------------------------------------------------------------- */
.resource-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.resource {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.resource:hover { border-color: rgba(22, 125, 133, 0.35); box-shadow: var(--shadow-sm); }
.resource svg { width: 21px; height: 21px; color: var(--teal-600); margin-top: 3px; }
.resource h3 { font-size: 0.98rem; margin-bottom: 4px; }
.resource p { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* About / contact -------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4.5vw, 60px); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-copy p { margin-bottom: 14px; }
.legal-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--gold-50); border: 1px solid rgba(199, 165, 107, 0.3);
  border-left: 3px solid var(--gold-500); border-radius: 10px;
  padding: 16px 18px; margin-top: 20px; font-size: 13.5px; line-height: 1.65; color: var(--navy-800);
}
.legal-note svg { width: 19px; height: 19px; color: var(--gold-600); margin-top: 2px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon-box { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.contact-item .icon-box svg { width: 19px; height: 19px; }
.contact-item h3 { font-family: var(--text); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-item a, .contact-item p { font-size: 15px; color: var(--navy-900); line-height: 1.55; }
.contact-item a:hover { color: var(--teal-600); }

/* FAQ -------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; max-width: 880px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px;
  transition: border-color 0.2s var(--ease);
}
.faq details[open] { border-color: rgba(22, 125, 133, 0.35); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--head); font-size: 15px; font-weight: 600; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 19px; color: var(--teal-600); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; font-size: 14px; line-height: 1.7; }

/* CTA band --------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0a1c30, #10263e 60%, #0d3a44);
  color: #fff; padding: clamp(42px, 6vw, 66px) 0;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(30, 154, 163, 0.35), transparent 65%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, 0.72); font-size: 15.5px; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.62); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: var(--teal-300); }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.45); }
.footer-brand .brand-mark { background: #fff; border-radius: 8px; padding: 4px; height: 44px; width: 44px; object-fit: contain; }
.footer-tagline { font-family: var(--head); color: #fff; font-size: 15.5px; font-weight: 600; margin: 18px 0 8px; }
.footer-reg { font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.5); max-width: 330px; }
.footer-col h4, .footer-col-title {
  font-family: var(--text); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 15px;
}
.footer-col a, .footer-col span { display: block; font-size: 13.5px; line-height: 1.5; padding: 5px 0; color: rgba(255, 255, 255, 0.6); }
.footer-col a:hover { color: var(--gold-500); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }

/* Reveal ----------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-list a { padding: 8px 8px; font-size: 13.5px; }
  .brand-sub { display: none; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip-item:nth-child(3) { border-right: 0; }
  .strip-item:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  .header-actions .link-login { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-header { backdrop-filter: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 899;
    background: #fff; padding: 14px 22px 40px; overflow-y: auto;
    border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 15px 6px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-mobile-actions { display: grid; gap: 10px; margin-top: 18px; }
  .nav-mobile-actions .btn { width: 100%; }

  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 64px; gap: 38px; }
  .hero-lead { max-width: none; }
  .preview { max-width: 640px; margin: 0 auto; width: 100%; }
  .report-grid, .split, .pricing-panel, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .api-flow { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .api-node { display: flex; text-align: left; gap: 14px; align-items: center; padding: 0; }
  .api-node .icon-box { margin: 0; flex: none; }
  .api-node:not(:last-child)::after { content: "↓"; right: auto; left: 21px; top: auto; bottom: -16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  h1 { font-size: clamp(2.15rem, 9vw, 2.7rem); }
  .hero { padding-top: 6px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .strip { grid-template-columns: 1fr 1fr; margin-top: -30px; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 14px; }
  .strip-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dept { padding: 14px 12px; }
  .dept p { display: none; }
  .dept h3 { font-size: 0.88rem; margin: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .resource-list { grid-template-columns: 1fr; }
  .preview { padding-bottom: 26px; }
  .phone { width: 92px; right: -4px; }
  .app-side { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .wrap { flex-direction: column; gap: 6px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .hero-chip { font-size: 10.5px; padding: 6px 8px; gap: 5px; }
  .hero-chip svg { width: 12px; height: 12px; }
}

@media (max-width: 430px) {
  .dept-grid { grid-template-columns: 1fr; }
  .dept p { display: block; }
  .brand-name { font-size: 17px; }
  .brand-mark { height: 36px; }
  .hero-chip { font-size: 11px; }
  .app-kpis { grid-template-columns: 1fr 1fr; }
}

@media print {
  .site-header, .site-footer, .cta-band, .hero-actions, .nav-toggle { display: none !important; }
  body { color: #000; }
}

/* ------------------------------------------------------------------ */
/* Simple pages (facility registration / confirmation)                 */
/* ------------------------------------------------------------------ */
.simple-page { background: var(--soft); min-height: 100vh; display: flex; flex-direction: column; }
.simple-header { background: #fff; border-bottom: 1px solid var(--line); }
.simple-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.simple-header .brand-sub { display: block; }
.simple-footer { margin-top: auto; background: var(--navy-950); color: rgba(255,255,255,.55); font-size: 12.5px; }
.simple-footer .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.reg-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; padding-top: 34px; padding-bottom: 54px; }
.reg-aside {
  background: linear-gradient(160deg, #0a1c30, #10263e 60%, #0d2f3c);
  color: #fff; border-radius: var(--radius-lg); padding: 30px 28px;
  position: sticky; top: 20px;
}
.reg-aside h1 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.reg-aside > p { color: rgba(255,255,255,.75); font-size: 14.5px; line-height: 1.7; }
.reg-steps { display: grid; gap: 14px; margin: 24px 0; }
.reg-step { display: flex; gap: 12px; align-items: flex-start; }
.reg-step .n {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22); color: var(--teal-300);
  font-family: var(--head); font-size: 12px; font-weight: 700;
}
.reg-step strong { display: block; color: #fff; font-size: 13.5px; }
.reg-step span { display: block; color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.5; }
.reg-aside .contact-mini { border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; margin-top: 20px; font-size: 12.5px; color: rgba(255,255,255,.65); }
.reg-aside .contact-mini a { color: var(--teal-300); }

.reg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(22px, 3vw, 34px); }
.reg-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.reg-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.reg-fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.reg-fieldset legend {
  font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px;
  width: 100%; border-bottom: 1px solid var(--line); padding-bottom: 8px;
}
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reg-grid .span-2 { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.field .req { color: var(--teal-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 13px;
  font-family: var(--text); font-size: 14.5px; color: var(--navy-900);
  background: #fff; border: 1px solid #d5dde4; border-radius: 9px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 88px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(22,125,133,.14);
}
.field .help { display: block; font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.45; }
.field-subdomain { display: flex; align-items: stretch; }
.field-subdomain input { border-radius: 9px 0 0 9px; }
.field-subdomain .suffix {
  display: flex; align-items: center; padding: 0 12px; font-size: 12.5px; color: var(--muted);
  background: var(--soft); border: 1px solid #d5dde4; border-left: 0; border-radius: 0 9px 9px 0; white-space: nowrap;
}
.form-alert { background: #fdf0ef; border: 1px solid #f2c7c3; border-left: 3px solid #c0574f; color: #8f2f28; border-radius: 9px; padding: 12px 15px; font-size: 13.5px; margin-bottom: 18px; }
.reg-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.reg-actions .note { font-size: 12px; color: var(--muted); max-width: 320px; }

.result-card { max-width: 660px; margin: 46px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(26px, 4vw, 40px); }
.result-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; margin-bottom: 18px; }
.result-icon svg { width: 26px; height: 26px; }
.result-card h1 { font-size: 1.8rem; margin-bottom: 10px; }
.result-card > p { font-size: 14.5px; margin-bottom: 20px; }
.result-list { border-top: 1px solid var(--line); margin-bottom: 24px; }
.result-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.result-row dt { color: var(--muted); }
.result-row dd { color: var(--navy-900); font-weight: 600; text-align: right; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .reg-layout { grid-template-columns: 1fr; }
  .reg-aside { position: static; }
}
@media (max-width: 720px) {
  .reg-grid { grid-template-columns: 1fr; }
  .reg-grid .span-2 { grid-column: auto; }
}


@media (max-width: 540px) {
  .simple-header .brand-sub { display: none; }
  .simple-header .btn { padding: 9px 13px; font-size: 12.5px; min-height: 40px; }
  .simple-header .brand-name { font-size: 17px; }
  .simple-header .brand-mark { height: 34px; }
  .reg-card { padding: 20px 16px; }
}
