/* =========================================================
   Mediconnects — Main Stylesheet
   ========================================================= */

:root {
  --blue: #0F2D5C;
  --blue-deep: #0A2249;
  --blue-mid: #16407E;
  --green: #0685BA;
  --green-600: #0D6598;
  --green-soft: #1191c83e;
  --bg: #FFFFFF;
  --bg-soft: #F3F7FC;
  --bg-tint: #EDF3FA;
  --border: #E3EAF4;
  --ink: #0F2D5C;
  --text: #475467;
  --text-muted: #7C8AA0;
  --danger: #D0524B;
  --white: #FFFFFF;
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-card: 0 1px 2px rgba(15,45,92,.04), 0 8px 24px rgba(15,45,92,.06), 0 24px 60px rgba(15,45,92,.07);
  --shadow-float: 0 24px 70px rgba(15,45,92,.16), 0 8px 24px rgba(15,45,92,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  font-optical-sizing: auto;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ─────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-600);
  display: inline-block;
}
.eyebrow.on-dark { color: #0685BA; }
.entry-content ul {
  margin-left: 1em;
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border-radius: 999px;
  padding: 15px 26px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(6,133,186,.32); }
.btn-primary:hover { background: var(--green-600); box-shadow: 0 16px 34px rgba(6,133,186,.4); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--blue); border-color: #CDD9EA; }
.btn-secondary:hover { border-color: var(--blue); background: var(--bg-soft); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.linkarrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-600);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.linkarrow svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.linkarrow:hover svg { transform: translateX(4px); }

/* ── Nav ────────────────────────────────────── */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
header.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 6px 24px rgba(15,45,92,.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.primary-branding {
  max-width: 150px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 23px;
  color: var(--ink);
  letter-spacing: -.02em;
  cursor: pointer;
}
.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--blue), var(--blue-mid));
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
}
.logo .mark::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  right: 6px;
  bottom: 6px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.9);
}
.logo .mark svg { width: 18px; height: 18px; color: #fff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > ul.menu {
  width: 100%;
  display: flex;
}
.nav-links li,
.nav-links .nav-item {
  list-style: none;
  position: relative;
}

/* Nav link */
.nav-links .nav-link {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--blue);
  opacity: .72;
  transition: opacity .2s, color .2s;
  cursor: pointer;
  position: relative;
  padding: 6px 10px;
  text-decoration: none;
  display: inline-block;
}
.nav-links .nav-link:hover { opacity: 1; }
.nav-links .nav-link.current-menu-item {
  opacity: 1;
  color: var(--green-600);
}
.nav-links .nav-link.current-menu-item::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

/* Chevron toggle */
.nav-links .dropdown-toggle {
  background: none;
  border: none;
  padding: 6px 4px 6px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  opacity: .72;
  transition: opacity .2s, transform .2s;
  vertical-align: middle;
}
.nav-links .dropdown-toggle svg { width: 15px; height: 15px; display: block; }
.nav-links .dropdown-toggle:hover { opacity: 1; }
.nav-links .nav-item.open .dropdown-toggle { opacity: 1; transform: rotate(180deg); }

/* Dropdown panel */
.nav-links .dropdown {
  display: none;
  position: absolute;
  top: calc(100%);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15,45,92,.10);
  padding: 8px;
  list-style: none;
  margin: 0;
  z-index: 200;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.nav-links .nav-item.open .dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-links .dropdown .nav-item { position: static; }
.nav-links .dropdown .nav-link {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 14.5px;
  opacity: 1;
  color: var(--blue);
  transition: background .15s, color .15s;
  margin-bottom: 3px;
}
.nav-links .dropdown .nav-link:hover {
  background: var(--green-soft);
  color: var(--green-600);
}
.nav-links .dropdown .nav-link.current-menu-item {
  color: var(--green-600);
  background: var(--green-soft);
}
.nav-links .dropdown .nav-link.current-menu-item::after { display: none; }

/* Mobile dropdown */
.mm-links .dropdown {
  display: none;
  padding-left: 16px;
  margin: 4px 0 8px;
  list-style: none;
  border-left: 2px solid var(--green-soft);
}
.mm-links .nav-item.open .dropdown { display: block; }
.mm-links .dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 6px;
  color: var(--blue);
  opacity: .6;
  transition: transform .2s, opacity .2s;
  vertical-align: middle;
}
.mm-links .dropdown-toggle svg { width: 16px; height: 16px; }
.mm-links .nav-item.open .dropdown-toggle { transform: rotate(180deg); opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: .3s;
}

/* ── Mobile Menu ────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  padding: 0 24px 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.mobile-menu.open { transform: none; }
.mm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.mm-close {
  background: none;
  border: 0;
  font-size: 28px;
  cursor: pointer;
  color: var(--blue);
  line-height: 1;
  padding: 8px;
}
.mm-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.mm-links li {
  list-style: none !important;
  margin: 15px 0px;
}
.mm-links a {
  font-size: 19px;
  font-weight: 500;
  color: var(--blue);
  padding: 14px 0;
}
.mm-links .btn {
  margin-top: 24px;
  justify-content: center;
  color: #fff !important;
}

/* ── Hero ───────────────────────────────────── */
.hero {
  position: relative;
  padding: 74px 0 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .5;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero h1 {
  font-size: 60px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.04;
  margin-top: 16px;
}
.hero h1 em { font-style: normal; color: var(--green-600); }
.hero .subhead {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  color: var(--blue-mid);
  margin-top: 20px;
  line-height: 1.32;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text);
  margin-top: 22px;
  max-width: 540px;
  line-height: 1.62;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.hero-trust .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C6D2E4;
}
.hero-trust b { color: var(--blue); font-weight: 600; }

/* ── App Mockup ─────────────────────────────── */
.mock-stage { position: relative; }
.app {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.app-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.app-top .dotrow { display: flex; gap: 6px; }
.app-top .dotrow i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #E0E7F1;
  display: block;
}
.app-top .title {
  margin-left: 8px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--blue);
}
.app-top .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-600);
  background: var(--green-soft);
  padding: 5px 10px;
  border-radius: 999px;
}
.app-top .live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}
.app-body {
  padding: 20px;
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, #FBFDFF, #F4F8FD);
}
.app-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-h .h-l { font-weight: 600; color: var(--blue); font-size: 15px; }
.app-h .h-r { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.dossier {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 15px;
}
.dossier .av {
  width: 38px; height: 38px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 13px;
}
.dossier .av svg { width: 18px; height: 18px; color: #fff; }
.dossier .meta { flex: 1; min-width: 0; }
.dossier .meta b {
  display: block;
  font-weight: 600;
  color: var(--blue);
  font-size: 14px;
}
.dossier .meta span { font-size: 12px; color: var(--text-muted); }
.pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.pill i { width: 6px; height: 6px; border-radius: 50%; display: block; }
.pill.ok  { background: var(--green-soft); color: var(--green-600); }
.pill.ok i { background: var(--green); }
.pill.warn { background: #FEF3E2; color: #C2790B; }
.pill.warn i { background: #F1A33B; }
.pill.todo { background: #FDECEC; color: var(--danger); }
.pill.todo i { background: #E2685F; }
.progress {
  height: 7px;
  border-radius: 999px;
  background: #E7EEF7;
  overflow: hidden;
  margin-top: 9px;
}
.progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), #34D399);
}
.sign {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
}
.sign .ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,.14);
  display: grid;
  place-items: center;
  flex: none;
}
.sign .ic svg { width: 18px; height: 18px; color: #fff; }
.sign b { font-weight: 600; font-size: 14px; display: block; }
.sign span { font-size: 12px; color: #B9CBE6; }
.sign .scribble {
  margin-left: auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: #7FE3B6;
  opacity: .9;
}
.stat-tab {
  position: absolute;
  right: -22px;
  bottom: -44px;
  z-index: 3;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-float);
  padding: 16px 20px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-tab .num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  color: var(--blue);
  line-height: 1;
  padding-right: 5px;
}
.stat-tab .lbl {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
  max-width: 120px;
}
.stat-tab .ring {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 280deg, #E7EEF7 0);
  display: grid;
  place-items: center;
  flex: none;
}
.stat-tab .ring i {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--green-600);
}
.report {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 15px;
}
.report .rl {
  font-weight: 600;
  color: var(--blue);
  font-size: 13px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.report .rl span { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.bar {
  height: 8px;
  border-radius: 6px;
  background: #EAF0F8;
  margin-bottom: 8px;
}

/* ── Section frame ──────────────────────────── */
section { position: relative; }
.sec     { padding: 104px 0; }
.sec-sm  { padding: 78px 0; }
.sec-head { max-width: 660px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 {
  font-size: 42px;
  font-weight: 500;
  margin-top: 14px;
  letter-spacing: -.02em;
}
.sec-head p { margin-top: 16px; font-size: 18px; color: var(--text); }

/* ── Features ───────────────────────────────── */
.features { background: var(--bg-soft); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-float); }
.card .ic {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #EAF1FA, #F4F8FD);
  border: 1px solid var(--border);
}
.card .ic svg { width: 26px; height: 26px; color: var(--blue); stroke-width: 1.8; }
.card h3 { font-size: 23px; margin-top: 22px; font-weight: 500; }
.card p { margin-top: 13px; font-size: 15.5px; color: var(--text); line-height: 1.62; flex: 1; }
.card .linkarrow { margin-top: 22px; }

/* ── About band ─────────────────────────────── */
.about {
  background: var(--blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about .rings {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px; height: 560px;
  opacity: .4;
  pointer-events: none;
}
.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  padding: 96px 0;
}
.about h2 { color: #fff; font-size: 40px; font-weight: 500; line-height: 1.12; }
.about p { color: #C5D4EC; font-size: 18px; margin-top: 20px; max-width: 520px; }
.about .btn { margin-top: 30px; }
.about-side { display: grid; gap: 16px; }
.about-side .row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 18px 20px;
}
.about-side .row .ic {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(6,133,186,.16);
  display: grid;
  place-items: center;
  flex: none;
}
.about-side .row .ic svg { width: 20px; height: 20px; color: #fff; }
.about-side .row b { color: #fff; font-weight: 600; font-size: 15.5px; display: block; }
.about-side .row span { color: #A9BEDD; font-size: 14px; }

/* ── USP bar ────────────────────────────────── */
.usp { padding: 78px 0; }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.usp-item .ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.usp-item .ic svg { width: 26px; height: 26px; color: var(--green-600); stroke-width: 1.9; }
.usp-item b {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: 19px;
  display: block;
  margin-bottom: 6px;
}
.usp-item span { font-size: 14.5px; color: var(--text-muted); }

/* ── FAQ ────────────────────────────────────── */
.faq { background: var(--bg-soft); }
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}
.faq-toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex: none;
  transition: background .25s, transform .25s;
}
.faq-toggle svg { width: 18px; height: 18px; color: var(--blue); transition: transform .3s var(--ease); }
.faq-item.open .faq-toggle { background: var(--blue); }
.faq-item.open .faq-toggle svg { color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 4px 26px; font-size: 16px; color: var(--text); max-width: 640px; }

/* ── CTA ────────────────────────────────────── */
.cta { padding: 0 0 110px; }
.cta-box {
  background: linear-gradient(150deg, var(--blue), var(--blue-mid));
  color: #fff;
  border-radius: 32px;
  padding: 72px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-box .glow {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.5), transparent 65%);
  right: -120px; top: -160px;
  filter: blur(10px);
}
.cta-box .glow.two {
  left: -160px; bottom: -200px;
  background: radial-gradient(circle, rgba(26,202,252,.35), transparent 65%);
}
.cta-box h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.15;
}
.cta-box .btn { position: relative; z-index: 1; margin-top: 34px; }

/* ── Footer ─────────────────────────────────── */
footer {
  background: var(--blue-deep);
  color: #fff;
  padding: 54px 0 40px;
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.foot-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.foot-links .logo { color: #fff; }
.foot-links .logo .mark { background: rgba(255,255,255,.12); }
.foot-links a {
  font-size: 15px;
  color: #B9CBE6;
  font-weight: 500;
  transition: color .2s;
}
.foot-links a:hover { color: #fff; }
.foot-copy { font-size: 14px; color: #8FA6C6; }

/* ── Page hero (subpages) ───────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.page-hero .inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 {
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin-top: 14px;
}
.page-hero h1 em { font-style: normal; color: var(--green-600); }
.page-hero p {
  font-size: 19px;
  color: var(--text);
  margin-top: 20px;
  max-width: 620px;
  line-height: 1.6;
}
.page-hero .ph-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ── Module rows ────────────────────────────── */
.module-row {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
}
.module-row + .module-row { border-top: 1px solid var(--border); }
.module-row.rev .m-text { order: 2; }
.m-text .mtag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  letter-spacing: .02em;
}
.m-text .mtag .n {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.m-text h2 { font-size: 34px; font-weight: 500; margin-top: 18px; }
.m-text > p { margin-top: 16px; font-size: 17px; color: var(--text); }
.checklist { list-style: none; display: grid; gap: 13px; margin-top: 24px; }
.checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--text);
}
.checklist li svg { width: 21px; height: 21px; color: var(--green-600); flex: none; margin-top: 1px; }
.m-text .linkarrow { margin-top: 26px; }

/* ── Steps ──────────────────────────────────── */
.stepsband { background: var(--bg-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}
.step .n {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--blue);
  color: #fff;
  font-family: var(--serif);
  font-size: 21px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.step h3 { font-size: 21px; font-weight: 500; }
.step p { margin-top: 10px; font-size: 15px; color: var(--text); }

/* ── Values ─────────────────────────────────── */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.value {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
}
.value .ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.value .ic svg { width: 25px; height: 25px; color: var(--green-600); stroke-width: 1.9; }
.value h3 { font-size: 21px; font-weight: 500; }
.value p { margin-top: 11px; font-size: 15.5px; color: var(--text); }

/* ── Story ──────────────────────────────────── */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.story .lead-q {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1.32;
}
.story p { font-size: 16.5px; color: var(--text); margin-top: 18px; }

/* ── Stats ──────────────────────────────────── */
.statsrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
}
.stat .num {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 500;
  color: var(--blue);
  line-height: 1;
}
.stat .lbl { font-size: 15px; color: var(--text); margin-top: 10px; }

/* ── Contact ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
  margin-top: 8px;
}
.info-list { display: grid; gap: 14px; }
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}
.info-row .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex: none;
}
.info-row .ic svg { width: 21px; height: 21px; color: var(--blue); }
.info-row b { display: block; font-weight: 600; color: var(--blue); font-size: 15px; }
.info-row span { font-size: 14.5px; color: var(--text-muted); }

.info-row a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.info-row a:hover {
  color: var(--green);
}

/* ── Form ───────────────────────────────────── */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 38px;
  box-shadow: var(--shadow-card);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 0;
}
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 13.5px; color: var(--blue); }
.field label .opt { color: var(--text-muted); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--blue);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea {
  height: auto;
  min-height: 108px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.5;
}
.field input::placeholder,
.field textarea::placeholder { color: #A9B5C7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(208,82,75,.12);
}
.field .err { color: var(--danger); font-size: 12.5px; display: none; }
.field.invalid .err { display: block; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-chip { flex: 1; min-width: 160px; position: relative; }
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip label {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  transition: border-color .2s, background .2s;
}
.radio-chip .tick {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #CDD9EA;
  flex: none;
  transition: .2s;
  position: relative;
}
.radio-chip input:checked + label { border-color: var(--green); background: var(--green-soft); }
.radio-chip input:checked + label .tick { border-color: var(--green); background: var(--green); }
.radio-chip input:checked + label .tick::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
}
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-foot {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 18px;
}
.success { text-align: center; padding: 28px 8px; }
.success .ic {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}
.success .ic svg { width: 36px; height: 36px; color: var(--green-600); }
.success h3 { font-size: 26px; font-weight: 500; }
.success p { margin-top: 12px; font-size: 16px; color: var(--text); max-width: 380px; margin-left: auto; margin-right: auto; }
.success .linkarrow { margin-top: 22px; justify-content: center; }

.miss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  margin-top: 50px;
}
.miss b { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); }
.miss span { font-size: 15px; color: var(--text); display: block; margin-top: 4px; }

/* ── Reveal Animations ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.no-anim { transition: none !important; opacity: 1 !important; transform: none !important; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 980px) {
  .nav-links,
  .nav-cta .btn-secondary, .nav-cta .btn-primary { display: none; }
  .burger { display: flex; }
  .hero-grid,
  .about-inner,
  .faq-grid,
  .module-row,
  .story,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .module-row.rev .m-text { order: 0; }
  .hero h1 { font-size: 46px; }
  .page-hero h1 { font-size: 42px; }
  .feat-grid,
  .steps,
  .statsrow,
  .values { grid-template-columns: 1fr; gap: 18px; }
  .usp-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .about .rings { display: none; }
  .stat-tab { right: 8px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 48px 0 140px; }
  .hero h1 { font-size: 37px; }
  .hero .subhead { font-size: 20px; }
  .page-hero h1 { font-size: 33px; }
  .sec, .sec-sm { padding: 64px 0; }
  .cta-box { padding: 48px 28px; }
  .cta-box h2 { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: 1; }
  .feat-grid { margin-top: 36px; }
  .hero-trust .dot { display: none; }
  .stat-tab { bottom: -110px; }
  .about { padding: 70px 0px; }
}

/* ── WP Admin Bar fix ───────────────────────── */
.admin-bar header.nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar header.nav { top: 46px; }
}

/* ── Contact Form 7 — theme integration ──────── */

/* Label text above inputs */
.wpcf7 .field label {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--blue);
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}
.wpcf7 .field .field-label {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}
.wpcf7 .field label .opt {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13px;
  display: inline;
}

/* CF7 control wrap — full width block */
.wpcf7 .field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Inputs */
.wpcf7 .field input[type="text"],
.wpcf7 .field input[type="email"],
.wpcf7 .field input[type="tel"],
.wpcf7 .field input[type="url"],
.wpcf7 .field select,
.wpcf7 .field textarea {
  width: 100%;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--blue);
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
  display: block;
  box-sizing: border-box;
}
.wpcf7 .field select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%230F2D5C' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
  cursor: pointer;
}
.wpcf7 .field textarea {
  height: auto;
  min-height: 108px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.5;
}
.wpcf7 .field input::placeholder,
.wpcf7 .field textarea::placeholder { color: #A9B5C7; }
.wpcf7 .field input:focus,
.wpcf7 .field select:focus,
.wpcf7 .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}

/* ── Radio chips ────────────────────────────── */
/* CF7 radio output (without use_label_element):
   span.wpcf7-radio
     span.wpcf7-list-item
       label
         input[type=radio]
         span.wpcf7-list-item-label  */

.wpcf7 .radio-row .wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7 .radio-row .wpcf7-radio {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}
.wpcf7 .radio-row .wpcf7-list-item {
  flex: 1;
  min-width: 160px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  transition: border-color .2s, background .2s;
  box-sizing: border-box;
}
.wpcf7 .radio-row .wpcf7-list-item.checked {
  border-color: var(--green) !important;
  background: var(--green-soft) !important;
}
.wpcf7 .radio-row .wpcf7-list-item input[type="radio"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #CDD9EA;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  margin: 0;
  cursor: pointer;
  background: #fff;
  transition: .2s;
  padding: 0px;
}
.wpcf7 .radio-row .wpcf7-list-item.checked input[type="radio"] {
  border-color: var(--green);
  background: var(--green);
}
.wpcf7 .radio-row .wpcf7-list-item.checked input[type="radio"]::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  display: block;
}
.wpcf7 .radio-row .wpcf7-list-item input[type="radio"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #CDD9EA;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  margin: 0;
  cursor: pointer;
  background: #fff;
  transition: .2s;
  padding: 0px;
}
.wpcf7 .radio-row .wpcf7-list-item input[type="radio"]:checked {
  border-color: var(--green);
  background: var(--green);
}
.wpcf7 .radio-row .wpcf7-list-item input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  display: block;
}
.wpcf7 .radio-row .wpcf7-list-item.checked label,
.wpcf7 .radio-row .wpcf7-list-item.checked label:hover {
  border-color: var(--green) !important;
  background: var(--green-soft) !important;
}

/* ── Submit ─────────────────────────────────── */
.wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 20px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border-radius: 999px;
  padding: 15px 26px;
  border: none;
  cursor: pointer;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 26px rgba(6,133,186,.32);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.wpcf7 input[type="submit"]:hover {
  background: var(--green-600);
  box-shadow: 0 16px 34px rgba(6,133,186,.4);
  transform: translateY(-1px);
}
.wpcf7-spinner { display: none !important; }

/* ── Footer note ────────────────────────────── */
.form-foot {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 18px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* ── Validation ─────────────────────────────── */
.wpcf7-not-valid-tip {
  color: var(--danger);
  font-size: 12.5px;
  margin-top: 4px;
  display: block;
}
.wpcf7-not-valid input,
.wpcf7-not-valid select,
.wpcf7-not-valid textarea {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(208,82,75,.12) !important;
}

/* ── Response messages ──────────────────────── */
.wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid var(--border);
}
.wpcf7-mail-sent-ok        { background: var(--green-soft); border-color: var(--green);  color: var(--green-600); }
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked        { background: #FDECEC; border-color: var(--danger); color: var(--danger); }
.wpcf7-acceptance-missings { background: #FEF3E2; border-color: #F1A33B; color: #C2790B; }