/* ============================================================
   Ozeito Healthcare — Marketing Website
   Clinical & trustworthy. Built on the Ozeito platform tokens.
   Soft medical blue, slate ink, generous whitespace.
   ============================================================ */

:root {
  --blue-50:  #EFF4FE;
  --blue-100: #DCE7FC;
  --blue-200: #BFD2F8;
  --blue-300: #93B2F1;
  --blue-400: #5E88E6;
  --blue-500: #3367D6;
  --blue-600: #2853BC;
  --blue-700: #1F4197;
  --blue-glow: rgba(51,103,214,.16);

  --ink:      #161D2B;
  --ink-2:    #34405A;
  --muted:    #69748C;
  --faint:    #97A1B5;
  --line:     #E7EBF1;
  --line-2:   #EFF2F7;
  --canvas:   #F5F7FB;
  --surface:  #FFFFFF;
  --surface-2:#FAFBFD;

  --green:    #168F63;
  --green-bg: #E4F4EC;
  --amber:    #C77A14;
  --amber-bg: #FBEFD8;
  --violet:   #6B54C8;
  --violet-bg:#ECE8FA;
  --teal:     #1796A0;
  --teal-bg:  #DEF1F2;
  --rose:     #C0453B;
  --rose-bg:  #FBE7E4;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --font: 'Lexend', system-ui, sans-serif;

  --shadow-xs: 0 1px 2px rgba(22,29,43,.05);
  --shadow-sm: 0 1px 3px rgba(22,29,43,.06), 0 1px 2px rgba(22,29,43,.04);
  --shadow-md: 0 6px 20px -6px rgba(22,29,43,.12), 0 2px 6px rgba(22,29,43,.05);
  --shadow-lg: 0 24px 50px -12px rgba(22,29,43,.22), 0 6px 16px rgba(22,29,43,.08);
  --shadow-xl: 0 40px 80px -20px rgba(22,29,43,.28), 0 12px 28px rgba(22,29,43,.10);

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
a { color: var(--blue-600); text-decoration: none; transition: color .14s; }
a:hover { color: var(--blue-700); }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--blue-200); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600); margin: 0 0 14px;
}
.eyebrow.on-dark { color: var(--blue-200); }
.lead { font-size: 19px; color: var(--muted); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px;
  transition: background .14s, box-shadow .14s, transform .08s, border-color .14s, color .14s;
  white-space: nowrap; cursor: pointer;
}
.btn:active { transform: translateY(.5px); }
.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 3px 10px -2px var(--blue-glow); }
.btn-primary:hover { background: var(--blue-600); color:#fff; box-shadow: 0 10px 24px -6px var(--blue-glow); }
.btn-ghost { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--canvas); border-color: #D7DDE7; color: var(--ink); }
.btn-white { background: #fff; color: var(--blue-700); }
.btn-white:hover { background: var(--blue-50); color: var(--blue-700); }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color:#fff; }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.btn-link { color: var(--blue-600); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.btn-link:hover { color: var(--blue-700); gap: 10px; }

/* ---------- Badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 12px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; line-height: 1.4;
  background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100);
}
.pill .dot { width: 7px; height: 7px; border-radius: 99px; background: var(--green); box-shadow: 0 0 0 3px var(--green-bg); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 34px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(150deg, var(--blue-400), var(--blue-600));
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 5px 14px -3px var(--blue-glow);
}
.brand-name { font-weight: 600; font-size: 19px; color: var(--ink); letter-spacing: -.03em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 14px; border-radius: 9px; color: var(--ink-2); font-size: 15px; font-weight: 500;
  transition: background .14s, color .14s;
}
.nav-links a:hover { background: var(--canvas); color: var(--ink); }
.nav-links a.active { color: var(--blue-600); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-signin { color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 8px 10px; }
.nav-signin:hover { color: var(--blue-600); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 68px 0; }
.section-tint { background: var(--canvas); }
.section-ink { background: var(--ink); color: #C7CEDC; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: 42px; margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--muted); }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Hero ---------- */
.hero { padding: 66px 0 0; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; text-align: center; }
.hero h1 { font-size: 60px; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 .hl { color: var(--blue-500); }
.hero-sub { font-size: 20px; color: var(--muted); max-width: 620px; margin: 0 auto 32px; line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--faint); display:flex; gap: 18px; justify-content:center; flex-wrap:wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--green); }

/* Browser frame for product shots */
.frame {
  border-radius: 14px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-xl);
}
.frame-bar {
  height: 42px; background: var(--surface-2); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px; padding: 0 16px;
}
.frame-dot { width: 11px; height: 11px; border-radius: 99px; background: #DCE1EA; }
.frame-url {
  margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 99px; padding: 5px 18px; font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; gap: 7px;
}
.frame-url svg { color: var(--green); }
.frame img { width: 100%; display: block; }

.hero-frame-wrap { position: relative; margin-top: 8px; }
.hero-frame-wrap::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 160px;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}

/* soft blue glow behind hero */
.hero-glow {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 560px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(51,103,214,.10), transparent);
  pointer-events: none; z-index: -1;
}

/* ---------- Logos / trust bar ---------- */
.trust { padding: 40px 0 8px; }
.trust p { text-align: center; font-size: 13px; color: var(--faint); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-logo { font-size: 19px; font-weight: 700; color: var(--faint); letter-spacing: -.02em; opacity: .8; }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; }
.stat .num { font-size: 46px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat .num .u { color: var(--blue-500); }
.stat .lbl { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

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

.fcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .16s, box-shadow .16s, transform .16s;
}
.fcard:hover { border-color: var(--blue-200); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.fic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 18px;
}
.fic.teal { background: var(--teal-bg); color: var(--teal); }
.fic.green { background: var(--green-bg); color: var(--green); }
.fic.violet { background: var(--violet-bg); color: var(--violet); }
.fic.amber { background: var(--amber-bg); color: var(--amber); }
.fcard h3 { font-size: 18.5px; margin-bottom: 9px; }
.fcard p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- Portals (tabbed / split) ---------- */
.portal-split { display: grid; grid-template-columns: 1.05fr 1.4fr; gap: 56px; align-items: center; }
.portal-tabs { display: flex; flex-direction: column; gap: 10px; }
.ptab {
  text-align: left; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); display: flex; gap: 15px; align-items: flex-start;
  transition: border-color .16s, background .16s, box-shadow .16s; width: 100%;
}
.ptab:hover { border-color: var(--blue-200); }
.ptab.active { border-color: var(--blue-400); background: var(--blue-50); box-shadow: 0 0 0 3px var(--blue-glow); }
.ptab-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); color: var(--blue-600); border: 1px solid var(--line); flex-shrink: 0; }
.ptab.active .ptab-ic { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }
.ptab h4 { font-size: 16.5px; margin-bottom: 3px; }
.ptab p { font-size: 14px; color: var(--muted); margin: 0; }
.portal-preview .frame { transition: opacity .2s; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-n {
  width: 42px; height: 42px; border-radius: 12px; background: var(--blue-500); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: 18px; margin-bottom: 18px;
  box-shadow: 0 6px 16px -4px var(--blue-glow);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Split feature (image + text) ---------- */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feat-row.rev .feat-media { order: 2; }
.feat-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.feat-li { display: flex; gap: 13px; align-items: flex-start; }
.feat-li .ck { width: 24px; height: 24px; border-radius: 8px; background: var(--green-bg); color: var(--green); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.feat-li b { color: var(--ink); font-weight: 600; }
.feat-li p { font-size: 15px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote-lg {
  max-width: 860px; margin: 0 auto; text-align: center;
}
.quote-lg .q { font-size: 30px; line-height: 1.4; color: var(--ink); font-weight: 500; letter-spacing: -.02em; }
.quote-lg .q .mk { color: var(--blue-300); }
.quote-author { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.q-av { width: 52px; height: 52px; border-radius: 99px; display: grid; place-items: center; color: #fff; font-weight: 600; background: linear-gradient(150deg, var(--blue-400), var(--blue-600)); }
.q-meta { text-align: left; }
.q-meta .n { font-weight: 600; color: var(--ink); }
.q-meta .r { font-size: 13.5px; color: var(--muted); }

.tcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 18px;
}
.tcard .stars { display: flex; gap: 3px; color: #E7A93B; }
.tcard .body { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard .who .av { width: 42px; height: 42px; border-radius: 99px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 15px; background: linear-gradient(150deg, var(--blue-400), var(--blue-600)); }
.tcard .who .n { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.tcard .who .r { font-size: 13px; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--blue-400); box-shadow: 0 0 0 3px var(--blue-glow), var(--shadow-lg); position: relative; }
.price-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue-500); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 5px 14px; border-radius: 99px; }
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .desc { font-size: 14.5px; color: var(--muted); min-height: 44px; }
.price-amt { display: flex; align-items: flex-end; gap: 4px; margin: 20px 0 4px; }
.price-amt .cur { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.price-amt .val { font-size: 52px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.price-amt .per { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.price-note { font-size: 13.5px; color: var(--faint); margin-bottom: 24px; }
.price-card .btn { width: 100%; }
.plist { list-style: none; margin: 26px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 13px; }
.plist li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.plist li svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.plist li.off { color: var(--faint); }
.plist li.off svg { color: var(--faint); }

.price-toggle { display: inline-flex; align-items: center; gap: 12px; background: var(--canvas); border-radius: 99px; padding: 5px; }
.price-toggle button { padding: 8px 18px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--muted); }
.price-toggle button.active { background: var(--surface); color: var(--blue-600); box-shadow: var(--shadow-xs); }
.save-tag { font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-bg); padding: 2px 8px; border-radius: 99px; }

/* comparison table */
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 15px; color: var(--ink); }
.cmp thead th:first-child { color: var(--muted); font-weight: 500; }
.cmp td:first-child { color: var(--ink-2); font-weight: 500; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.cmp td svg { color: var(--green); }
.cmp .dash { color: var(--faint); }
.cmp tbody tr:hover { background: var(--surface-2); }
.cmp .grp td { background: var(--canvas); font-weight: 600; color: var(--ink); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; font-size: 17.5px; font-weight: 600; color: var(--ink); }
.faq-q .ic { color: var(--faint); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); color: var(--blue-500); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 4px 26px; font-size: 15.5px; color: var(--muted); line-height: 1.65; max-width: 640px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--blue-600), var(--blue-700));
  border-radius: 26px; padding: 66px 56px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: 40px; margin-bottom: 16px; }
.cta-band p { color: var(--blue-100); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero-cta { justify-content: center; }
.cta-band::before, .cta-band::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent);
}
.cta-band::before { width: 420px; height: 420px; top: -180px; right: -120px; }
.cta-band::after { width: 360px; height: 360px; bottom: -200px; left: -100px; }
.cta-band > * { position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #97A1B5; padding: 64px 0 34px; }
.footer a { color: #B7C0D0; }
.footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.09); }
.foot-brand .brand-name { color: #fff; }
.foot-blurb { font-size: 14.5px; color: #8A93A6; margin-top: 16px; max-width: 280px; line-height: 1.6; }
.foot-col h5 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.foot-col a { display: block; font-size: 14.5px; padding: 6px 0; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 13.5px; color: #6E7889; flex-wrap: wrap; gap: 14px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.06); display: grid; place-items: center; }
.foot-social a:hover { background: rgba(255,255,255,.14); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; outline: none; font-size: 15px; color: var(--ink);
  transition: border .14s, box-shadow .14s; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px var(--blue-glow); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; gap: 15px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.contact-item .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; }
.contact-item h4 { font-size: 15.5px; margin-bottom: 3px; }
.contact-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- About / team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-av { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 14px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 30px; background: linear-gradient(150deg, var(--blue-400), var(--blue-600)); }
.team-card h4 { font-size: 16.5px; margin-bottom: 3px; }
.team-card p { font-size: 14px; color: var(--muted); }
.value-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.value-card .fic { margin-bottom: 16px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 15px; color: var(--muted); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 74px 0 56px; text-align: center; background: var(--canvas); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 50px; letter-spacing: -.035em; margin-bottom: 18px; }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 44px; }
  .section-head h2 { font-size: 34px; }
  .portal-split, .feat-row, .feat-row.rev .feat-media, .contact-grid { grid-template-columns: 1fr; }
  .feat-row.rev .feat-media { order: 0; }
  .stat-row, .g-4, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .g-3, .steps, .price-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 34px; }
  .g-2, .stat-row, .g-4, .team-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band, .price-card { padding: 40px 24px; }
}

/* ============================================================
   AGENCY — Ozeito healthcare software studio
   ============================================================ */

.fic.rose { background: var(--rose-bg); color: var(--rose); }

/* ---------- Split hero (text + product frame) ---------- */
.hero.split .hero-grid { grid-template-columns: 1.02fr 1.12fr; text-align: left; gap: 60px; align-items: center; }
.hero.split .hero-sub { margin-left: 0; margin-right: 0; max-width: 540px; }
.hero.split .hero-cta { justify-content: flex-start; }
.hero.split .hero-note { justify-content: flex-start; }
.hero.split h1 { font-size: 54px; }
.hero.split .hero-frame-wrap { margin-top: 0; }
.hero.split .hero-frame-wrap::after { display: none; }
.hero-float {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex;
  align-items: center; gap: 12px; z-index: 3;
}
.hero-float .hf-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.hero-float .hf-k { font-size: 12.5px; color: var(--muted); }
.hero-float .hf-v { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.hero-float.one { top: 26px; left: -26px; }
.hero-float.two { bottom: 30px; right: -22px; }

/* ---------- Eyebrow chip (specialty tag) ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px;
  border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 600;
  background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100);
}

/* ---------- Problem cards ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prob {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: flex; gap: 15px; align-items: flex-start;
  transition: border-color .16s, box-shadow .16s;
}
.prob:hover { border-color: var(--rose-bg); box-shadow: var(--shadow-sm); }
.prob .px { width: 40px; height: 40px; border-radius: 11px; background: var(--rose-bg); color: var(--rose); display: grid; place-items: center; flex-shrink: 0; }
.prob h4 { font-size: 15.5px; margin-bottom: 4px; }
.prob p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Solution tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 18px; text-align: center; transition: border-color .16s, box-shadow .16s, transform .16s;
}
.tile:hover { border-color: var(--blue-200); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tile .ti { width: 46px; height: 46px; border-radius: 13px; margin: 0 auto 14px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.tile h4 { font-size: 14.5px; line-height: 1.3; }

/* ---------- Service cards ---------- */
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: border-color .16s, box-shadow .16s, transform .16s; display: flex; flex-direction: column; }
.svc:hover { border-color: var(--blue-200); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc .fic { margin-bottom: 20px; }
.svc h3 { font-size: 20px; margin-bottom: 10px; }
.svc > p { font-size: 15px; color: var(--muted); line-height: 1.58; }
.svc .who-for { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--faint); line-height: 1.5; }
.svc .who-for b { color: var(--ink-2); font-weight: 600; }

/* ---------- Audience cards ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.aud { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; transition: border-color .16s, box-shadow .16s, transform .16s; }
.aud:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.aud .ai { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 14px; }
.aud h4 { font-size: 15.5px; margin-bottom: 6px; }
.aud p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- Module feature grid ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.mod-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.mod-head { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.mod-head .fic { margin: 0; }
.mod-head h3 { font-size: 19px; }
.mod-head p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.mod-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.mod-list .mi { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.mod-list .mi svg { color: var(--blue-500); flex-shrink: 0; margin-top: 3px; }

/* ---------- Process timeline (5 steps) ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process::before { content: ''; position: absolute; top: 21px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--blue-200), var(--blue-100)); z-index: 0; }
.pstep { position: relative; z-index: 1; }
.pstep .pn { width: 44px; height: 44px; border-radius: 13px; background: var(--blue-500); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 17px; margin-bottom: 18px; box-shadow: 0 6px 16px -4px var(--blue-glow); }
.pstep h3 { font-size: 16.5px; margin-bottom: 8px; }
.pstep p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Trust points ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tpoint { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; gap: 12px; align-items: flex-start; }
.tpoint .tk { width: 34px; height: 34px; border-radius: 9px; background: var(--green-bg); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.tpoint p { font-size: 14px; color: var(--ink-2); font-weight: 500; line-height: 1.45; }
.stat.ph .num { position: relative; }
.ph-note { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--amber); background: var(--amber-bg); padding: 2px 8px; border-radius: 99px; margin-bottom: 14px; }

/* ---------- Security strip ---------- */
.sec-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec-item { display: flex; gap: 13px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.sec-item .si { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; }
.sec-item h4 { font-size: 15px; margin-bottom: 4px; }
.sec-item p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

@media (max-width: 980px) {
  .hero.split .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero.split h1 { font-size: 40px; }
  .hero-float { display: none; }
  .prob-grid, .sec-strip { grid-template-columns: 1fr; }
  .tile-grid, .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .mod-grid, .process, .trust-grid { grid-template-columns: 1fr; }
  .process::before { display: none; }
  .mod-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tile-grid, .aud-grid, .trust-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LEAD FUNNEL — multi-step wizard
   ============================================================ */
.funnel-bg { background: var(--canvas); min-height: calc(100vh - 70px); padding: 40px 0 72px; }
.funnel { max-width: 760px; margin: 0 auto; }
.funnel-top { text-align: center; margin-bottom: 26px; }
.funnel-top .eyebrow { margin-bottom: 10px; }
.funnel-top h1 { font-size: 30px; letter-spacing: -.03em; }

/* progress */
.fprog { display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 0 auto 30px; }
.fprog-track { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.fprog-fill { height: 100%; background: linear-gradient(90deg, var(--blue-400), var(--blue-600)); border-radius: 99px; width: 20%; transition: width .32s cubic-bezier(.4,0,.2,1); }
.fprog-label { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* card shell */
.fcard-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 40px; }
.fstep { display: none; animation: fstepIn .34s cubic-bezier(.4,0,.2,1); }
.fstep.active { display: block; }
@keyframes fstepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fstep-q { font-size: 24px; color: var(--ink); font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.fstep-help { font-size: 15px; color: var(--muted); margin-bottom: 26px; }

/* choice grid */
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-grid.g1 { grid-template-columns: 1fr; }
.choice {
  display: flex; align-items: center; gap: 13px; text-align: left; width: 100%;
  padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--surface);
  transition: border-color .14s, background .14s, box-shadow .14s;
}
.choice:hover { border-color: var(--blue-300); background: var(--blue-50); }
.choice.selected { border-color: var(--blue-500); background: var(--blue-50); box-shadow: 0 0 0 3px var(--blue-glow); }
.choice .ci { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; transition: background .14s, color .14s; }
.choice.selected .ci { background: var(--blue-500); color: #fff; }
.choice .cl { font-size: 15px; font-weight: 600; color: var(--ink); }
.choice .cs { font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.choice .ck { margin-left: auto; width: 22px; height: 22px; border-radius: 99px; border: 1.5px solid var(--line); display: grid; place-items: center; color: #fff; flex-shrink: 0; transition: background .14s, border-color .14s; }
.choice.selected .ck { background: var(--blue-500); border-color: var(--blue-500); }
.choice .ck svg { opacity: 0; transition: opacity .14s; }
.choice.selected .ck svg { opacity: 1; }

/* chips (multi-select) */
.chip-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.fchip {
  padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .14s;
}
.fchip:hover { border-color: var(--blue-300); color: var(--ink); }
.fchip.selected { border-color: var(--blue-500); background: var(--blue-50); color: var(--blue-700); font-weight: 600; }

/* funnel nav */
.fnav { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.fback { color: var(--muted); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 7px; padding: 10px 6px; }
.fback:hover { color: var(--ink); }
.fback[hidden] { visibility: hidden; }
.ferror { font-size: 13.5px; color: var(--rose); font-weight: 600; margin-top: 14px; display: none; }
.ferror.show { display: block; }

/* trust footer under card */
.funnel-assure { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 24px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
.funnel-assure span { display: inline-flex; align-items: center; gap: 7px; }
.funnel-assure svg { color: var(--green); }

/* summary review chips */
.review-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.review-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 11px; }
.review-row .rk { font-size: 13px; color: var(--muted); font-weight: 500; }
.review-row .rv { font-size: 14px; color: var(--ink); font-weight: 600; text-align: right; }

/* done screen */
.fdone { text-align: center; padding: 20px 10px; display: none; }
.fdone.active { display: block; animation: fstepIn .4s ease; }
.fdone .fd-ic { width: 74px; height: 74px; border-radius: 99px; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin: 0 auto 22px; }
.fdone h2 { font-size: 28px; margin-bottom: 12px; }
.fdone p { font-size: 16px; color: var(--muted); max-width: 460px; margin: 0 auto 26px; }
.fdone-next { text-align: left; max-width: 420px; margin: 0 auto 30px; display: flex; flex-direction: column; gap: 14px; }
.fdone-next .fn-row { display: flex; gap: 13px; align-items: flex-start; }
.fdone-next .fn-n { width: 28px; height: 28px; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); font-weight: 600; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.fdone-next .fn-t { font-size: 14.5px; color: var(--ink-2); }

@media (max-width: 560px) {
  .fcard-shell { padding: 26px 20px; }
  .choice-grid { grid-template-columns: 1fr; }
  .funnel-top h1 { font-size: 25px; }
}
