/* =========================================================
   MediFier Solutions — Global Styles
   ========================================================= */
:root {
  --navy: #002e43;
  --ink: #19333f;
  --blue: #0086c5;
  --blue-dark: #006c9e;
  --teal: #00b6ca;
  --green: #04b584;
  --green-2: #00d398;
  --sky-1: #f0f8fc;
  --sky-2: #e3f2f9;
  --sky-3: #cbe7f4;
  --sky-4: #a2d3e9;
  --line: #dde1e2;
  --muted: #475c65;
  --white: #ffffff;
  --highlight: #ffff04;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --shadow-card: 0 20px 45px rgba(0, 46, 67, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
[id] { scroll-margin-top: 120px; }
.is-target { animation: target-glow 1.6s ease; }
@keyframes target-glow { 0% { box-shadow: 0 0 0 0 rgba(0, 134, 197, .45), var(--shadow-card); } 100% { box-shadow: 0 0 0 18px rgba(0, 134, 197, 0), var(--shadow-card); } }
body {
  margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.375rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.center { text-align: center; }
.icon { width: 24px; height: 24px; flex: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font-family: inherit; font-weight: 700; border-radius: 40px; transition: all .25s ease; line-height: 1.2;
  border: 2px solid transparent; white-space: nowrap; text-align: center;
}
.btn--green {
  background: linear-gradient(90deg, var(--green) 0%, var(--green-2) 100%); color: #fff;
  text-transform: uppercase; letter-spacing: .08em; font-size: 14px; padding: 16px 32px;
  box-shadow: 0 8px 18px rgba(4, 181, 132, .3);
}
.btn--green:hover { color: #fff; filter: brightness(1.05); box-shadow: 0 12px 26px rgba(4, 181, 132, .4); transform: translateY(-1px); }
.btn--gray-stroke {
  border-color: var(--line); color: var(--blue); background: transparent; text-transform: uppercase;
  letter-spacing: .08em; font-size: 14px; padding: 16px 32px;
}
.btn--gray-stroke:hover { border-color: var(--blue); }
.btn--blue-stroke { border-color: var(--blue); color: var(--blue); font-size: 16px; padding: 12px 32px; background: transparent; }
.btn--blue-stroke:hover { background: var(--blue); color: #fff; }
.btn--sm { font-size: 13px; padding: 10px 18px; letter-spacing: 0; text-transform: none; box-shadow: none; }
.btn--lg { font-size: 18px; padding: 20px 44px; letter-spacing: .12em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 22px; }
.learn-more {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
}
.learn-more:hover { color: var(--blue); }
.learn-more--blue { color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 100; background: transparent; transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: #fff; box-shadow: 0 4px 20px rgba(0, 46, 67, .08); }
.page-plain .site-header { background: #fff; }
.nav-wrap { display: flex; align-items: center; height: 106px; gap: 34px; transition: height .25s; }
.is-scrolled .nav-wrap { height: 80px; }
.brand { flex: none; display: block; }
.brand img { height: 54px; width: auto; transition: height .25s; }
.is-scrolled .brand img { height: 46px; }
.main-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex: 1; }
.main-nav > ul > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; font: inherit; font-size: 15px; font-weight: 700;
  color: var(--navy); background: none; border: 0; cursor: pointer; border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--blue); }
.nav-link.is-active { border-bottom-color: var(--blue); }
.nav-link .icon { width: 14px; height: 14px; stroke-width: 3; color: var(--blue); transition: transform .2s; }
.has-drop:hover .nav-link .icon, .has-drop.is-open .nav-link .icon { transform: rotate(180deg); }
.drop {
  position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; padding: 14px 0;
  box-shadow: 0 20px 40px rgba(0, 46, 67, .15); border-top: 3px solid var(--blue);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease;
}
.has-drop:hover .drop, .has-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.drop > a:not(.mega-item):not(.mega-link):not(.btn) { display: block; padding: 9px 24px; font-size: 15px; font-weight: 600; color: var(--navy); }
.drop > a:not(.mega-item):not(.mega-link):not(.btn):hover { color: var(--blue); background: var(--sky-1); }
.drop .drop-title { display: block; padding: 6px 24px 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #75858c; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-right .nav-mail { font-size: 14px; font-weight: 700; color: var(--navy); }
.nav-right .nav-mail:hover { color: var(--blue); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 6px; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 30px; height: 30px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; padding-top: 106px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fafd 40%, #e9f4fa 100%);
}
.hero-shape {
  position: absolute; right: -6%; top: -32%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 70% 40%, #7cc0e3 0%, #b9def0 45%, rgba(220, 238, 248, .2) 75%, transparent 76%);
}
.hero-shape-2 {
  position: absolute; right: -14%; top: 22%; width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(200deg, #ffffff 30%, #eaf5fb 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 694px; }
.hero-copy { max-width: 620px; padding: 60px 0 90px; position: relative; z-index: 2; }
.hero-copy p { font-size: 21px; line-height: 1.72; margin-bottom: 36px; }
.hero-person {
  position: absolute; right: 7%; bottom: 0; height: 100%; width: 46%; z-index: 1;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-person img {
  height: 96%; width: auto; max-width: none; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 62% 75% at 50% 52%, #000 55%, transparent 80%);
          mask-image: radial-gradient(ellipse 62% 75% at 50% 52%, #000 55%, transparent 80%);
  mix-blend-mode: multiply;
}

/* ---------- Intro + orbit ---------- */
.intro { padding: 70px 0 140px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro h2 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.18; max-width: 560px; margin-bottom: .7em; }
.bullets { margin: 0 0 24px; padding-left: 40px; font-size: 18px; line-height: 1.55; }
.bullets li { margin-bottom: 0; }
.bullets--spaced li { margin-bottom: 0; }
.intro p { font-size: 18px; }
mark { background: var(--highlight); color: inherit; padding: 0 2px; }

.orbit { position: relative; width: 100%; max-width: 610px; aspect-ratio: 1; margin: 0 auto; }
.orbit .ring { position: absolute; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.orbit .r1 { width: 100%; height: 100%; background: var(--sky-2); }
.orbit .r2 { width: 80%; height: 80%; background: var(--sky-3); }
.orbit .r3 { width: 56%; height: 56%; background: var(--sky-4); }
.orbit .core {
  position: absolute; width: 30.5%; height: 30.5%; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; z-index: 2;
  background: #fff; border: 6px solid rgba(255, 255, 255, .6); background-clip: padding-box;
  display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(0, 134, 197, .12), 0 20px 40px rgba(0, 108, 158, .25);
}
.orbit .core img { width: 70%; height: auto; }
.orbit .track { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed rgba(0, 134, 197, .28); transform: translate(-50%, -50%); pointer-events: none; }
.orbit-node {
  position: absolute; z-index: 3; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; background: #fff; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 28px rgba(0, 46, 67, .16);
  transition: transform .25s ease, box-shadow .25s; will-change: left, top;
}
.orbit-node .icon { width: 34px; height: 34px; }
.orbit-node:hover, .orbit-node.is-active { transform: scale(1.12); box-shadow: 0 18px 34px rgba(0, 46, 67, .24); }
.orbit-pop {
  position: absolute; z-index: 6; width: 270px; background: #fff; padding: 20px 22px; box-shadow: 0 24px 50px rgba(0, 46, 67, .22);
  border-top: 3px solid var(--blue); font-size: 15px; line-height: 1.5; transform: translate(-50%, calc(-100% - 46px));
}
.orbit-pop.below { transform: translate(-50%, 46px); }
.orbit-pop.align-left { transform: translate(-30px, calc(-100% - 46px)); }
.orbit-pop.align-left.below { transform: translate(-30px, 46px); }
.orbit-pop.align-right { transform: translate(calc(-100% + 30px), calc(-100% - 46px)); }
.orbit-pop.align-right.below { transform: translate(calc(-100% + 30px), 46px); }
.orbit-pop h4 { font-size: 18px; margin-bottom: 6px; }
.orbit-pop p { color: var(--muted); margin-bottom: 12px; }
.orbit-pop .close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }

/* ---------- Announcement band ---------- */
.band { background: var(--navy); color: #fff; text-align: center; padding: 42px 0; }
.band p { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.band a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Trusted / specialties strip ---------- */
.trusted { background: var(--sky-3); padding: 62px 0 70px; overflow: hidden; }
.trusted .label { font-size: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 30px; }
.marquee { display: flex; width: max-content; gap: 70px; animation: marquee 40s linear infinite; }
.trusted:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.spec-logo { display: flex; align-items: center; gap: 12px; color: var(--blue); }
.spec-logo .icon { width: 44px; height: 44px; stroke-width: 1.6; }
.spec-logo span { font-size: 20px; font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
.spec-logo small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #3f86ad; margin-top: 3px; }

/* ---------- Results guaranteed ---------- */
.results { position: relative; background: linear-gradient(180deg, var(--sky-3) 0%, var(--sky-1) 34%, var(--sky-1) 100%); padding: 0 0 80px; overflow: hidden; }
.results::before {
  content: ""; position: absolute; left: -10%; top: 0; width: 75%; height: 640px;
  background: linear-gradient(180deg, #f2f9fd 0%, rgba(240, 248, 252, .8) 100%); border-radius: 0 520px 0 0;
}
.results::after {
  content: ""; position: absolute; left: -140px; top: 300px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 231, 244, .55) 0%, rgba(203, 231, 244, 0) 70%);
}
.results-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; padding-top: 150px; align-items: start; }
.results-grid h2 { font-size: clamp(1.9rem, 2.6vw, 2.25rem); line-height: 1.12; margin-bottom: 18px; }
.results-grid .lead { font-size: 21px; line-height: 1.72; max-width: 500px; }
.aud-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 20px; }
.aud-card {
  background: #fff; padding: 36px 34px 40px; box-shadow: var(--shadow-card); color: var(--ink); display: flex; flex-direction: column;
  transition: transform .25s;
}
.aud-card:hover { transform: translateY(-4px); color: var(--ink); }
.aud-card h3 { font-size: 30px; line-height: 1.07; margin: 14px 0 18px; }
.aud-card p { font-size: 13.5px; line-height: 1.55; margin-bottom: 26px; }
.blob-icon { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.blob-icon::before {
  content: ""; position: absolute; right: 0; top: 0; width: 64px; height: 60px; background: var(--sky-2);
  border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%;
}
.blob-icon .icon { position: relative; width: 66px; height: 66px; stroke-width: 1.4; }

.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 210px; }
.stat { border-left: 2px solid var(--sky-3); padding: 10px 20px 26px 46px; }
.stat .num { font-size: clamp(3rem, 5vw, 4.1rem); line-height: 1; font-weight: 800; color: var(--blue); letter-spacing: -.02em; margin-bottom: 14px; }
.stat .label { font-size: 21px; font-weight: 700; color: var(--navy); line-height: 1.33; }

/* ---------- Save time ---------- */
.savetime { background: var(--sky-1); padding: 110px 0 140px; }
.savetime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.savetime-copy { max-width: 470px; justify-self: center; }
.savetime-copy h2 { font-size: clamp(1.9rem, 2.6vw, 2.25rem); }
.savetime-copy p { font-size: 17px; line-height: 1.66; margin-bottom: 30px; }

/* ---------- Stories (solution cards) ---------- */
.stories { background: linear-gradient(180deg, var(--sky-1) 0%, #ffffff 45%, #ffffff 70%, var(--sky-1) 100%); padding: 20px 0 120px; }
.stories .intro-text { max-width: 720px; margin: 0 auto 50px; font-size: 18px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 200px; }
.story {
  display: grid; grid-template-columns: 209px 1fr; background: #fff; box-shadow: var(--shadow-card); min-height: 175px; color: var(--ink);
  transition: transform .25s;
}
.story:hover { transform: translateY(-4px); color: var(--ink); }
.story-media { position: relative; overflow: hidden; background: var(--navy); }
.story-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.story-media .badge {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; text-align: center; padding: 10px;
}
.story-media .badge .icon { width: 46px; height: 46px; stroke-width: 1.6; }
.story-media .badge span { font-size: 13px; font-weight: 700; line-height: 1.2; }
.story-body { padding: 34px 34px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.story-body h3 { font-size: 17px; line-height: 1.42; margin: 0; }

/* ---------- Why ---------- */
.why { padding: 80px 0 90px; overflow: hidden; background: linear-gradient(180deg, var(--sky-1) 0%, #ffffff 22%, #ffffff 72%, var(--sky-1) 100%); }
.why-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }

.why-copy { max-width: 500px; }
.why-copy p { font-size: 18px; line-height: 1.55; margin-bottom: 36px; }

/* ---------- Let's get started ---------- */
.started { position: relative; background: var(--sky-1); overflow: hidden; }
.started-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; min-height: 472px; }
.started-title { display: flex; align-items: center; position: relative; z-index: 1; }
.started-title h2 { font-size: clamp(1.9rem, 2.6vw, 2.25rem); margin: 0; }
.chev { position: relative; padding: 70px 30px 70px 40px; display: flex; flex-direction: column; justify-content: center; }
.chev::before {
  content: ""; position: absolute; inset: 0 -60px 0 -100px; z-index: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .55) 100%);
  clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%, 22% 50%);
}
.chev > * { position: relative; z-index: 1; }
.chev .blob-icon { margin-bottom: 18px; }
.chev h3 { font-size: 26px; margin-bottom: 14px; }
.chev p { font-size: 15px; line-height: 1.6; margin: 0; max-width: 200px; }

/* ---------- CTA + footer ---------- */
.cta {
  background: radial-gradient(900px 300px at 40% 0%, rgba(40, 90, 115, .55), transparent 70%), var(--navy);
  text-align: center; padding: 150px 0 140px;
}
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 44px; }
.site-footer { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.footer-top { border-top: 2px solid rgba(255, 255, 255, .18); padding: 100px 0 150px; display: grid; grid-template-columns: 240px 290px 210px 220px 1fr; column-gap: 20px; }
.footer-logo img { width: 170px; height: auto; }
.footer-col h4 { color: #fff; font-size: 18px; margin: 0 0 22px; }
.footer-col ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.footer-col a { color: #fff; font-size: 18px; line-height: 1.6; }
.footer-col a:hover { color: var(--sky-4); }
.footer-col .strong a { font-weight: 700; }
.footer-col p { font-size: 18px; margin: 0 0 14px; }
.footer-bottom { position: relative; z-index: 1; padding: 0 0 22px; font-size: 14px; color: #c3d4dc; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-bottom a { color: #c3d4dc; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }
.footer-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 190px; display: block; pointer-events: none; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding-top: 106px; background: linear-gradient(180deg, #fff 0%, var(--sky-1) 100%); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.page-hero-copy { padding: 50px 60px 70px 0; position: relative; z-index: 1; }
.page-hero-copy h1 { font-size: clamp(2.2rem, 3.6vw, 3rem); }
.page-hero-copy p { font-size: 17px; line-height: 1.65; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks .icon { width: 22px; height: 22px; color: var(--blue); stroke-width: 3; margin-top: 1px; }
.page-hero-media { position: absolute; right: 0; top: 106px; bottom: 0; width: 42%; z-index: 0; }
.page-hero-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 0 round 300px 0 0 0); }
.page-hero-media::before {
  content: ""; position: absolute; left: -90px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; background: var(--sky-3); z-index: 0;
}
.page-hero-media::after {
  content: ""; position: absolute; left: -26px; top: 70px; width: 70px; height: 70px; border-radius: 50%; background: var(--sky-4); opacity: .6; z-index: 0;
}
.page-hero--simple { text-align: center; padding-bottom: 70px; }
.page-hero--simple h1 { margin: 40px auto 18px; max-width: 900px; }
.page-hero--simple p.lead { max-width: 760px; margin: 0 auto; font-size: 19px; }

/* ---------- Inner sections ---------- */
.section { padding: 100px 0; }
.section--sky { background: var(--sky-1); }
.section--grad { background: linear-gradient(180deg, var(--sky-1) 0%, #ffffff 30%, #ffffff 70%, var(--sky-1) 100%); }
.page-hero + .results { background: var(--sky-1); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 2.6vw, 2.25rem); }
.split p { font-size: 17px; line-height: 1.66; }
.stat-card { background: #fff; box-shadow: var(--shadow-card); padding: 40px 44px; max-width: 470px; justify-self: end; width: 100%; }
.stat-card .big { font-size: 46px; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.stat-card .big-label { font-size: 20px; font-weight: 700; color: var(--navy); margin: 8px 0 28px; }
.stat-card .src { font-size: 12px; color: var(--muted); margin: 0; }
.photo-frame { box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.eyebrow { display: block; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.section-intro { max-width: 860px; margin: 0 auto 56px; text-align: center; }
.section-intro p { font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; box-shadow: var(--shadow-card); margin-bottom: 56px; }
.feature { padding: 36px 34px; border-right: 1px solid var(--sky-2); border-bottom: 1px solid var(--sky-2); }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature .icon { width: 40px; height: 40px; stroke-width: 1.6; margin-bottom: 16px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 15px; line-height: 1.55; margin: 0; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.svc-card { background: #fff; padding: 36px 34px 40px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; color: var(--ink); transition: transform .25s; }
.svc-card:hover { transform: translateY(-4px); color: var(--ink); }
.svc-card .icon { width: 54px; height: 54px; stroke-width: 1.4; margin-bottom: 18px; }
.svc-card h3 { font-size: 22px; margin-bottom: 12px; }
.svc-card p { font-size: 15px; line-height: 1.55; flex: 1; margin-bottom: 22px; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; background: #fff; box-shadow: var(--shadow-card); }
.faq details { border-bottom: 1px solid var(--sky-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 26px 70px 26px 36px; font-weight: 700; font-size: 18px; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 34px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 36px 26px; margin: 0; font-size: 16px; color: var(--muted); }

/* ---------- Form section ---------- */
.form-section { position: relative; z-index: 2; padding: 100px 0 0; background: linear-gradient(180deg, var(--sky-1) 0%, #ffffff 35%); }
.form-section .stripes { position: absolute; left: 0; top: 150px; width: 52%; height: 520px; pointer-events: none;
  background: repeating-linear-gradient(-55deg, transparent 0 70px, rgba(0, 134, 197, .35) 70px 110px, transparent 110px 170px, rgba(162, 211, 233, .55) 170px 215px);
  -webkit-mask-image: radial-gradient(ellipse 75% 50% at 25% 50%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse 75% 50% at 25% 50%, #000 25%, transparent 72%);
}
.form-section h2 { text-align: center; font-size: clamp(1.8rem, 2.6vw, 2.25rem); max-width: 700px; margin: 0 auto 50px; }
.stripes { position: absolute; left: 0; top: 180px; width: 46%; height: 420px; pointer-events: none;
  background: repeating-linear-gradient(-55deg, transparent 0 60px, rgba(0, 134, 197, .55) 60px 120px, transparent 120px 190px, rgba(162, 211, 233, .7) 190px 250px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, transparent 100%);
}
.form-card { position: relative; z-index: 1; max-width: 940px; margin: 0 auto; background: #fff; box-shadow: var(--shadow-card); padding: 50px 48px 46px; border-bottom: 3px solid var(--blue); transform: translateY(0); }
.form-wrap-pull { margin-bottom: -60px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; }
.fgrid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #8a9aa2; padding: 8px 2px 10px; font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border-radius: 0; margin-bottom: 18px;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--blue); }
.checkgrid { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 6px 0 22px; }
.checkgrid label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.checkgrid input { accent-color: var(--blue); width: 16px; height: 16px; margin: 0; }
.form-actions { text-align: center; margin-top: 14px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 16px 0 0; }
[hidden] { display: none !important; }
.site-form.is-sent > :not(.form-success) { display: none !important; }
.form-success { text-align: center; padding: 26px 10px 8px; outline: none; animation: fs-in .45s ease; }
.fs-icon { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(90deg, var(--green), var(--green-2)); box-shadow: 0 0 0 10px rgba(4, 181, 132, .12), 0 12px 26px rgba(4, 181, 132, .3); }
.fs-icon .icon { width: 38px; height: 38px; stroke-width: 3; }
.form-success h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 10px; }
.form-success p { font-size: 17px; max-width: 520px; margin: 0 auto 12px; }
.form-success .fs-small { font-size: 14px; color: var(--muted); margin-top: 18px; }
.form-success a, .form-error a { text-decoration: underline; }
.form-error { margin-top: 16px; padding: 14px 16px; background: #fdecec; color: #9b1c1c; font-size: 15px; text-align: center; }
@keyframes fs-in { from { opacity: .3; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Contact "Say hello" ---------- */
.hello { background: linear-gradient(180deg, #fff 0%, var(--sky-1) 100%); padding: 106px 0 80px; }
.hello h1 { text-align: center; margin: 60px 0 80px; }
.hello-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.hello-grid .icon { width: 56px; height: 56px; stroke-width: 1.4; margin-bottom: 18px; }
.hello-grid h3 { font-size: 24px; margin-bottom: 10px; }
.hello-grid p { font-size: 17px; }
.hello-grid a { text-decoration: underline; word-break: break-word; }
.contact-form-sec { position: relative; z-index: 2; background: var(--sky-1); padding: 40px 0 0; }
.contact-form-sec h2 { text-align: center; font-size: 36px; margin-bottom: 40px; }
.contact-form-sec + .site-footer .footer-top { padding-top: 160px; }

/* ---------- Specialty grid ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.spec-card { background: #fff; padding: 34px 32px; box-shadow: var(--shadow-card); }
.spec-card h3 { font-size: 22px; margin: 10px 0 10px; }
.spec-card p { font-size: 15px; line-height: 1.55; margin: 0; }

/* ---------- Revenue calculator modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 46, 67, .7); }
.modal.is-open { display: flex; }
.modal-box { position: relative; width: 100%; max-width: 920px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.modal-close { position: absolute; top: 10px; right: 14px; z-index: 2; background: none; border: 0; font-size: 30px; line-height: 1; color: #fff; cursor: pointer; }
.calc-form { padding: 40px; }
.calc-form h3 { font-size: 26px; }
.calc-form .sub { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.calc-field { margin-bottom: 22px; }
.calc-field label { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.calc-field output { color: var(--blue); }
.calc-field input[type="range"] { width: 100%; accent-color: var(--blue); }
.calc-field input[type="text"] { width: 100%; border: 0; border-bottom: 1px solid #8a9aa2; font: inherit; font-size: 20px; font-weight: 700; padding: 6px 2px; color: var(--navy); }
.calc-field input[type="text"]:focus { outline: none; border-bottom: 2px solid var(--blue); }
.calc-field .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.calc-result { background: linear-gradient(160deg, var(--navy), #014a6b); color: #cfe3ec; padding: 50px 40px 40px; display: flex; flex-direction: column; justify-content: center; }
.calc-result .eyebrow { color: var(--sky-4); }
.calc-result .big { font-size: 52px; font-weight: 800; color: #fff; line-height: 1; margin: 6px 0 4px; }
.calc-result .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 15px; }
.calc-result .row strong { color: #fff; }
.calc-result .disc { font-size: 12px; color: #8fb3c4; margin: 14px 0 22px; }

/* ---------- Gradient icon strokes ---------- */
.g-blue { stroke: url(#g-blue); }
.g-orange { stroke: url(#g-orange); }
.g-purple { stroke: url(#g-purple); }
.g-teal { stroke: url(#g-teal); }
.g-pink { stroke: url(#g-pink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
}

/* ================= Responsive ================= */
@media (max-width: 1280px) {
  .story-grid { gap: 40px; }
  .footer-top { grid-template-columns: 190px 1fr 1fr 1fr 1fr; gap: 20px; }
  .footer-logo img { width: 150px; }
}
@media (max-width: 1100px) {
  .nav-right .nav-mail { display: none; }
  .main-nav > ul { gap: 0; }
  .nav-link { padding: 10px 7px; font-size: 14px; }
}
@media (max-width: 980px) {
  body { font-size: 17px; }
  .container { padding: 0 24px; }
  .nav-wrap, .is-scrolled .nav-wrap { height: 76px; }
  .brand img, .is-scrolled .brand img { height: 42px; }
  .hero, .page-hero, .hello { padding-top: 76px; }
  .site-header { background: #fff; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: 76px; bottom: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 24px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; gap: 0;
  }
  .main-nav.is-open { transform: none; }
  .main-nav > ul { flex-direction: column; flex: none; }
  .main-nav > ul > li { border-bottom: 1px solid var(--sky-2); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 2px; font-size: 17px; border-bottom: 0; }
  .nav-link.is-active { border-bottom: 0; color: var(--blue); }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 12px; }
  .has-drop.is-open .drop { display: block; }
  .nav-right { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .nav-right .nav-mail { display: block; text-align: center; }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 40px 0 0; }
  .hero-person { position: relative; right: auto; width: 100%; height: 440px; }
  .hero-shape { width: 120%; right: -50%; top: auto; bottom: -30%; }
  .hero-shape-2 { display: none; }
  .intro-grid, .results-grid, .savetime-grid, .why-grid, .split, .page-hero-grid { grid-template-columns: 1fr; }
  .intro { padding-bottom: 80px; }
  .orbit { max-width: min(480px, calc(100% - 60px)); }
  .results-grid { padding-top: 80px; }
  .results::before { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 80px; row-gap: 30px; }
  .savetime { padding: 80px 0; }
  .savetime-grid .orbit { order: 2; }
  .story-grid { grid-template-columns: 1fr; }
  .why { padding-bottom: 60px; }
  .started-grid { grid-template-columns: 1fr; min-height: 0; padding: 60px 0; gap: 16px; }
  .started-title { justify-content: center; margin-bottom: 10px; }
  .chev { padding: 30px; background: rgba(255, 255, 255, .8); }
  .chev::before { display: none; }
  .chev p { max-width: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; padding: 60px 0 130px; }
  .footer-wave { height: 150px; }
  .footer-logo { grid-column: 1 / -1; }
  .page-hero-media { position: relative; top: auto; width: 100%; height: 340px; }
  .page-hero-media::before, .page-hero-media::after { display: none; }
  .page-hero-media img { border-radius: 0; clip-path: inset(0 0 0 0 round 200px 0 0 0); }
  .page-hero-copy { padding: 30px 0 40px; }
  .stat-card { justify-self: stretch; max-width: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(n) { border-right: 1px solid var(--sky-2); border-bottom: 1px solid var(--sky-2); }
  .feature:nth-child(2n) { border-right: 0; }
  .card-grid, .spec-grid, .hello-grid { grid-template-columns: 1fr 1fr; }
  .modal-box { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .main-nav { padding: 10px 16px 30px; }
  .brand img, .is-scrolled .brand img { height: 36px; }
  .footer-logo img { width: 140px; }
  .hero-copy p, .results-grid .lead { font-size: 18px; }
  .btn-row .btn { width: 100%; }
  .hero-person { height: 360px; }
  .aud-cards, .stats, .card-grid, .spec-grid, .hello-grid, .feature-grid, .fgrid, .checks { grid-template-columns: 1fr; }
  .feature:nth-child(n) { border-right: 0; }
  .stat { padding-left: 24px; }
  .story { grid-template-columns: 120px 1fr; }
  .story-body { padding: 22px; }
  .band p { font-size: 14px; }
  .form-card { padding: 34px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .faq summary { padding: 22px 54px 22px 20px; }
  .faq summary::after { right: 20px; }
  .faq details p { padding: 0 20px 22px; }
  .calc-form, .calc-result { padding: 30px 22px; }
  .btn--lg { font-size: 15px; padding: 18px 30px; }
}

/* ---------- How it works timeline ---------- */
.timeline { position: relative; max-width: 960px; margin: 0 auto; display: grid; gap: 30px; }
.timeline::before { content: ""; position: absolute; left: 35px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(180deg, var(--sky-4), var(--sky-3)); }
.t-step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 28px; align-items: start; }
.t-num {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(225deg, var(--teal), var(--blue)); color: #fff; font-size: 22px; font-weight: 800; box-shadow: 0 12px 24px rgba(0, 134, 197, .25);
}
.t-body { background: #fff; box-shadow: var(--shadow-card); padding: 26px 32px; min-width: 0; }
.t-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.t-body h3 { font-size: 22px; margin-bottom: 8px; }
.t-body p { font-size: 16px; line-height: 1.6; margin: 0; }

/* ---------- FAQ page ---------- */
.faq-group { max-width: 900px; margin: 0 auto 56px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); margin-bottom: 18px; }
.page-hero--simple .lead a { text-decoration: underline; }

/* ---------- Legal text ---------- */
.legal { max-width: 860px; margin: 0 auto; background: #fff; box-shadow: var(--shadow-card); padding: 50px 56px; }
.legal h2 { font-size: 24px; margin: 34px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 0 0 1em; }

@media (max-width: 640px) {
  .timeline::before { left: 23px; }
  .t-step { grid-template-columns: 48px 1fr; gap: 14px; }
  .t-num { width: 48px; height: 48px; font-size: 16px; }
  .t-body { padding: 20px; }
  .legal { padding: 30px 20px; }
}

/* =========================================================
   Navigation v2 — outcome-led mega menus
   ========================================================= */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 10px; color: #fff; }


.site-header { background: transparent; }
.site-header.is-scrolled { background: #fff; box-shadow: 0 4px 20px rgba(0, 46, 67, .08); }
.nav-wrap { height: 106px; }
.is-scrolled .nav-wrap { height: 80px; }
.brand img { height: 54px; }
.is-scrolled .brand img { height: 46px; }
.main-nav { gap: 18px; }
.main-nav > ul.nav-list { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 6px; flex: none; }
.nav-link { font-size: 15.5px; padding: 10px 14px; border-radius: 30px; border-bottom: 0; transition: background .2s, color .2s; }
.nav-link:hover, .has-drop.is-open > .nav-link, .has-drop:hover > .nav-link { background: var(--sky-1); color: var(--blue); }
.nav-link.is-active { color: var(--blue); background: var(--sky-2); border-bottom: 0; }
.nav-right { margin-left: 8px; gap: 20px; }
.nav-right .nav-mail.is-active { color: var(--blue); }
.nav-mobile-foot { display: none; }

/* dropdown + mega panels */
.main-nav > ul > li.has-mega { position: static; }
.drop { border-top: 0; border-radius: 14px; padding: 10px; top: calc(100% + 6px); }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega { left: 50%; right: auto; transform: translate(-50%, 8px); width: min(1080px, calc(100vw - 48px)); padding: 0; overflow: hidden; }
.has-drop:hover .mega, .has-drop.is-open .mega, .has-drop:focus-within .mega { transform: translate(-50%, 0); }
.has-drop:focus-within .drop { opacity: 1; visibility: visible; }
.mega-inner { display: grid; grid-template-columns: 1fr 300px; }
.mega-inner--who { grid-template-columns: 1fr 1.15fr; gap: 10px; padding: 26px; }
.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 26px; }
.mega-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #75858c; margin: 0 0 10px 12px; }
.mega-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--navy); transition: background .2s; }
.mega-item:hover { background: var(--sky-1); color: var(--navy); }
.mega-item strong { display: block; font-size: 15px; line-height: 1.3; }
.mega-item small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 3px; font-weight: 500; }
.mega-item:hover strong { color: var(--blue); }
.mega-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--sky-2); display: grid; place-items: center; flex: none; }
.mega-icon .icon { width: 22px; height: 22px; }
.mega-feature { background: linear-gradient(160deg, var(--navy), #014a6b); color: #cfe3ec; padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mega-feature .mega-label { color: var(--sky-4); margin: 0; }
.mega-feature h3 { color: #fff; font-size: 21px; margin: 0; }
.mega-feature p { font-size: 14px; line-height: 1.55; margin: 0 0 6px; }
.mega-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--blue); margin: 8px 0 0 12px; }
.mega-link .icon { width: 17px; height: 17px; }
.mega-feature .mega-link { color: #fff; margin-left: 0; }
.mega-feature .mega-link:hover { color: var(--sky-4); }
.mega-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px; }
.mega-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 30px; background: var(--sky-1); font-size: 13px; font-weight: 600; color: var(--navy); }
.mega-chips .icon { width: 15px; height: 15px; color: var(--blue); }
.drop--rich { width: 340px; display: grid; gap: 2px; }
.drop a.mega-item { padding: 12px; font-size: inherit; font-weight: inherit; }
.drop a.mega-item:hover { background: var(--sky-1); }

/* inline calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: var(--shadow-card); max-width: 1000px; margin: 0 auto; }

@media (max-width: 1280px) {
  .nav-link { padding: 10px 11px; font-size: 15px; }
}
@media (max-width: 1100px) {
  .main-nav > ul.nav-list { gap: 0; }
}
@media (max-width: 980px) {
  .site-header { background: #fff; }
  .nav-wrap, .is-scrolled .nav-wrap { height: 76px; }
  .brand img, .is-scrolled .brand img { height: 42px; }
  .main-nav { top: 76px; }
  .main-nav > ul.nav-list { flex-direction: column; margin: 0; }
  .nav-link { border-radius: 0; padding: 18px 4px; background: none !important; }
  .nav-link.is-active { color: var(--blue); }
  .mega, .drop--rich { width: auto; transform: none !important; display: none; }
  .has-drop.is-open .mega, .has-drop.is-open .drop--rich { display: block; }
  .mega-inner, .mega-inner--who { grid-template-columns: 1fr; padding: 0; }
  .mega-cols { grid-template-columns: 1fr; padding: 0 0 8px; }
  .mega-feature { border-radius: 12px; margin: 6px 0 14px; }
  .mega-label { margin-top: 10px; }
  .nav-right { margin: 24px 0 0; }
  .nav-right .btn { width: 100%; padding: 14px; font-size: 15px; }
  .nav-right .nav-mail { display: none !important; }
  .nav-mobile-foot { display: grid; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--sky-2); }
  .nav-mobile-foot a { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; word-break: break-all; }
  .nav-mobile-foot .icon { width: 18px; height: 18px; color: var(--blue); }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand img, .is-scrolled .brand img { height: 36px; }
}

/* =========================================================
   Orbit v2 — GPU-smooth revolution (CSS rotation, no layout work per frame)
   ========================================================= */
.orbit-arm {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  transform: rotate(var(--start)); animation: orbit-spin var(--dur) linear infinite; will-change: transform;
}
.orbit .orbit-node {
  position: absolute; left: calc(50% + var(--r)); top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px;
  background: none; border: 0; padding: 0; border-radius: 50%; box-shadow: none; cursor: pointer; pointer-events: auto;
  transform: rotate(calc(-1 * var(--start))); animation: orbit-counter var(--dur) linear infinite; will-change: transform;
  transition: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.orbit .orbit-node:hover, .orbit .orbit-node.is-active { box-shadow: none; }
.node-face {
  width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 28px rgba(0, 46, 67, .16); transition: transform .25s ease, box-shadow .25s ease;
}
.node-face .icon { width: 34px; height: 34px; }
.orbit-node:hover .node-face, .orbit-node.is-active .node-face, .orbit-node:focus-visible .node-face { transform: scale(1.14); box-shadow: 0 18px 34px rgba(0, 46, 67, .26); }
.orbit-node:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.orbit.is-paused .orbit-arm, .orbit.is-paused .orbit-node { animation-play-state: paused; }
@keyframes orbit-spin { from { transform: rotate(var(--start)); } to { transform: rotate(calc(var(--start) + 360deg)); } }
@keyframes orbit-counter { from { transform: rotate(calc(-1 * var(--start))); } to { transform: rotate(calc(-1 * var(--start) - 360deg)); } }
.orbit-pop.is-center { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; width: min(280px, 88%); }
@media (max-width: 640px) {
  .orbit .orbit-node { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .node-face .icon { width: 26px; height: 26px; }
  .orbit-pop { padding: 18px 18px 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-arm, .orbit .orbit-node { animation: none; }
}

/* =========================================================
   Specialty pages
   ========================================================= */
.mega-chips a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 11px; border-radius: 30px; background: var(--sky-1); font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; color: var(--navy); transition: background .2s, color .2s; }
.mega-chips a .icon { width: 15px; height: 15px; flex: none; display: block; color: var(--blue); }
.mega-chips a:hover { background: var(--sky-2); color: var(--blue); }
.drop .mega-chips a { padding: 7px 12px; }
a.spec-logo:hover span { color: var(--navy); }
a.spec-card { color: var(--ink); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
a.spec-card:hover { transform: translateY(-4px); color: var(--ink); box-shadow: 0 26px 50px rgba(0, 46, 67, .16); }
a.spec-card p { flex: 1; margin-bottom: 18px; }
.eyebrow .crumb { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.spec-photo { position: relative; }
.spec-badge { position: absolute; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 12px 18px; border-radius: 40px; font-weight: 700; font-size: 15px; color: var(--navy); box-shadow: 0 12px 26px rgba(0, 46, 67, .18); }
.spec-badge .icon { width: 20px; height: 20px; color: var(--blue); }
.challenge-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.challenge-list li { display: flex; gap: 10px; align-items: flex-start; background: #fff; padding: 14px 16px; box-shadow: 0 8px 20px rgba(0, 46, 67, .07); font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.challenge-list .icon { width: 20px; height: 20px; color: #e8505b; flex: none; margin-top: 1px; }

.terms-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; background: linear-gradient(150deg, var(--navy), #014a6b); color: #cfe3ec; padding: 60px; box-shadow: var(--shadow-card); }
.terms-panel h2 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.terms-panel p { font-size: 17px; margin-bottom: 26px; }
.terms-panel .eyebrow { color: var(--sky-4); }
.terms-panel .btn--blue-stroke { border-color: #fff; color: #fff; }
.terms-panel .btn--blue-stroke:hover { background: #fff; color: var(--navy); }
.term-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.term-cloud span { padding: 10px 16px; border-radius: 30px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(162, 211, 233, .35); color: #fff; font-size: 14.5px; font-weight: 600; }

.other-specs { margin-top: 60px; text-align: center; }
.other-specs .mega-label { margin: 0 0 16px; }
.other-specs .mega-chips { justify-content: center; padding: 0; }
.other-specs .mega-chips a { background: #fff; box-shadow: 0 6px 16px rgba(0, 46, 67, .08); font-size: 14px; padding: 9px 16px; }

@media (max-width: 980px) {
  .terms-panel { grid-template-columns: 1fr; gap: 30px; padding: 40px 30px; }
}
@media (max-width: 640px) {
  .challenge-list { grid-template-columns: 1fr; }
  .terms-panel { padding: 32px 20px; }
  .spec-badge { left: 12px; bottom: 12px; font-size: 13px; padding: 9px 14px; }
}

/* =========================================================
   Slide-in animations (applied by main.js)
   Hidden only until revealed; the keyframe animation then always ends in the
   element's own normal styles, so nothing can get stuck invisible.
   ========================================================= */
[data-anim]:not(.in) { opacity: 0; }
[data-anim].in { animation: anim-up .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) backwards; }
[data-anim="left"].in { animation-name: anim-left; }
[data-anim="right"].in { animation-name: anim-right; }
[data-anim="zoom"].in { animation-name: anim-zoom; }
@keyframes anim-up { from { opacity: 0; transform: translateY(38px); } to { opacity: 1; } }
@keyframes anim-left { from { opacity: 0; transform: translateX(-56px); } to { opacity: 1; } }
@keyframes anim-right { from { opacity: 0; transform: translateX(56px); } to { opacity: 1; } }
@keyframes anim-zoom { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; } }
@media (max-width: 980px) {
  [data-anim="left"].in, [data-anim="right"].in { animation-name: anim-up; }
}
@media (prefers-reduced-motion: reduce) {
  [data-anim]:not(.in) { opacity: 1; }
  [data-anim].in { animation: none; }
}


/* =========================================================
   "Why MediFier?" photo mosaic
   ========================================================= */
.why-grid { align-items: center; }
.mosaic { position: relative; padding: 34px 34px 34px 0; }
.mosaic-bg { position: absolute; top: 0; bottom: 0; left: -60px; right: 0; border-radius: 0 220px 220px 0;
  background: linear-gradient(150deg, #cfe9f6 0%, #7cc0e3 55%, #3d9fd2 100%); }
.mosaic-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 14px; }
.mosaic-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: 0 14px 30px rgba(0, 46, 67, .2); }
.mosaic-grid .m1 { grid-row: 1 / 3; }
.mosaic-grid .m2 { grid-column: 2; grid-row: 1; }
.mosaic-grid .m3 { grid-column: 3; grid-row: 1; }
.mosaic-grid .m4 { grid-column: 2 / 4; grid-row: 2; }
.mosaic-grid .m5 { display: none; }
.mosaic-badge { position: absolute; left: -14px; bottom: -6px; display: flex; align-items: center; gap: 12px; background: #fff;
  padding: 14px 20px; border-radius: 14px; box-shadow: 0 18px 36px rgba(0, 46, 67, .18); }
.mosaic-badge strong { font-size: 32px; line-height: 1; color: var(--blue); font-weight: 800; }
.mosaic-badge span { font-size: 13px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.mosaic-badge--b { left: auto; right: 6px; bottom: auto; top: -10px; }
.mosaic-badge--b .icon { width: 28px; height: 28px; color: var(--green); }
@media (max-width: 980px) {
  .mosaic { padding: 24px 24px 40px 0; max-width: 640px; }
  .mosaic-bg { left: -24px; border-radius: 0 160px 160px 0; }
  .mosaic-grid { grid-template-rows: 160px 160px; }
}
@media (max-width: 640px) {
  .mosaic { padding: 18px 16px 46px 0; }
  .mosaic-bg { left: -16px; border-radius: 0 90px 90px 0; }
  .mosaic-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 110px 110px; gap: 10px; }
  .mosaic-grid .m1 { grid-column: 1 / 3; grid-row: 1; }
  .mosaic-grid .m2 { grid-column: 1; grid-row: 2; }
  .mosaic-grid .m3 { grid-column: 2; grid-row: 2; }
  .mosaic-grid .m4 { grid-column: 1 / 3; grid-row: 3; }
  .mosaic-badge { left: 0; bottom: 0; padding: 10px 14px; }
  .mosaic-badge strong { font-size: 24px; }
  .mosaic-badge--b { display: none; }
}

/* ---------- Service pages: ad landing elements ---------- */
.page-hero--svc .eyebrow { color: var(--blue); margin-bottom: 12px; }
.hero-ctas { margin-top: 30px; gap: 16px; }
.hero-ctas .btn--blue-stroke { font-size: 15px; }
.hero-trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust .icon { width: 17px; height: 17px; color: var(--green); }
.page-hero--svc .checks { padding-top: 26px; border-top: 1px solid var(--line); }

.assure { background: var(--navy); color: #fff; padding: 34px 0; }
.assure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.assure-grid > div { display: flex; gap: 14px; align-items: center; }
.assure-grid .icon { width: 34px; height: 34px; color: var(--green-2); }
.assure-grid strong { display: block; font-size: 17px; color: #fff; }
.assure-grid span { font-size: 14px; color: #c3d4dc; line-height: 1.4; }

.svc-steps { list-style: none; padding: 0; margin: 0 0 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
.svc-steps li { background: #fff; border-radius: 18px; padding: 34px 30px; box-shadow: var(--shadow-card); position: relative; }
.svc-step-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.svc-steps h3 { font-size: 1.3rem; }
.svc-steps p { font-size: 16px; margin: 0; color: var(--muted); }

.ad-band { background: radial-gradient(800px 300px at 15% 0%, rgba(0, 182, 202, .35), transparent 70%), linear-gradient(120deg, var(--navy), #00506f); color: #fff; padding: 80px 0; }
.ad-band-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.ad-band h2 { color: #fff; font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.ad-band p { color: #d5e6ee; font-size: 18px; margin: 0; }
.ad-band .btn-row { justify-content: flex-end; align-items: center; gap: 16px; }
.ad-band .btn { white-space: normal; }
.btn--white-stroke { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; padding: 16px 32px; }
.btn--white-stroke:hover { background: #fff; color: var(--navy); }
.btn--white-stroke .icon { width: 18px; height: 18px; }

.form-assure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 16px 0 0; text-align: center; }
.form-assure .icon { width: 16px; height: 16px; color: var(--green); }
.site-form.is-sent .form-assure { display: none; }

.sticky-cta { display: none; }

@media (max-width: 980px) {
  .assure-grid { grid-template-columns: 1fr 1fr; }
  .svc-steps { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .ad-band-inner { grid-template-columns: 1fr; text-align: center; }
  .ad-band .btn-row { justify-content: center; }
}
@media (max-width: 640px) {
  .assure-grid { grid-template-columns: 1fr; gap: 16px; }
  .ad-band { padding: 60px 0; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px rgba(0, 46, 67, .15); transition: transform .25s ease; }
  .sticky-cta span { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; }
  .sticky-cta .btn { flex: none; white-space: nowrap; }
  .sticky-cta.is-hidden { transform: translateY(110%); }
  body:has(.sticky-cta) .site-footer { padding-bottom: 70px; }
}
