/* ==========================================================================
   Dotbunch — Healthcare Branding, Marketing & Software
   Brand palette: #0136FF (Dot Blue) · #04024F (Midnight) · #FFB701 (Pulse Yellow)
   ========================================================================== */

:root {
  --blue: #0136ff;
  --blue-600: #002ad1;
  --blue-50: #eef2ff;
  --blue-100: #dde5ff;
  --navy: #04024f;
  --navy-800: #0a0866;
  --navy-700: #15127a;
  --yellow: #ffb701;
  --yellow-50: #fff6dc;

  --ink: #0b0a2e;
  --ink-2: #3c3b5c;
  --ink-3: #6b6a87;
  --line: #e6e7f2;
  --bg: #ffffff;
  --bg-soft: #f6f7fc;
  --white: #ffffff;

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(4, 2, 79, .06), 0 2px 8px rgba(4, 2, 79, .04);
  --shadow: 0 10px 30px -10px rgba(4, 2, 79, .18);
  --shadow-lg: 0 30px 60px -20px rgba(4, 2, 79, .30);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1em; }
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #c9c8e8; }
.section--navy h2, .section--navy h3 { color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 8px 14px; z-index: 999; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-50); }
.section--navy .eyebrow { color: var(--yellow); }
.section--navy .eyebrow::before { box-shadow: 0 0 0 4px rgba(255, 183, 1, .18); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-3); max-width: 62ch; }
.section--navy .lead { color: #b9b8de; }
.hl { color: var(--blue); }
.hl-y { position: relative; white-space: nowrap; }
.hl-y::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .28em; background: var(--yellow); z-index: -1; border-radius: 4px; opacity: .85; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -8px rgba(1, 54, 255, .6); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px -8px rgba(255, 183, 1, .6); }
.btn--yellow:hover { transform: translateY(-2px); background: #ffc533; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn--ghost-light:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--blue); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar + Header ---------- */
.topbar { background: var(--navy); color: #b9b8de; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--yellow); }
.topbar svg { width: 14px; height: 14px; }
.topbar__links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__tag { display: flex; align-items: center; gap: 8px; }
.topbar__tag b { color: var(--yellow); font-weight: 600; }

.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
/* frosted background lives on a pseudo-element: a backdrop-filter on .header itself would trap the fixed mobile menu inside the 78px bar */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
body.nav-open .header::before { background: #fff; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(4, 2, 79, .35); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__drop > button {
  padding: 10px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: var(--ink);
  background: none; border: 0; display: inline-flex; align-items: center; gap: 6px; transition: background .15s, color .15s;
}
.nav > a:hover, .nav__drop > button:hover { background: var(--blue-50); color: var(--blue); }
.nav a.is-active, .nav__drop.is-active > button { color: var(--blue); }
.nav__drop { position: relative; }
.nav__drop > button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: .2s ease;
}
.nav__menu--narrow { width: 380px; grid-template-columns: 1fr; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__drop:hover > button svg { transform: rotate(180deg); }
.nav__menu a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; transition: background .15s; }
.nav__menu a:hover { background: var(--bg-soft); }
.nav__menu .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.nav__menu .ico svg { width: 20px; height: 20px; }
.nav__menu strong { display: block; font-family: var(--font-display); color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav__menu span { font-size: .84rem; color: var(--ink-3); line-height: 1.4; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; color: var(--ink); }
.burger svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .burger { display: grid; }
  .header__cta .btn { display: none; }
  .nav {
    position: fixed; top: var(--nav-top, 118px); left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .nav > a, .nav__drop > button { width: 100%; justify-content: space-between; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav > a:hover, .nav__drop > button:hover { background: none; }
  .nav__menu { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; padding: 6px 0; grid-template-columns: 1fr; }
  .nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { transform: none; }
  .nav__drop.open .nav__menu { display: grid; transform: none; }
  .nav__mobile-cta { display: flex !important; flex-direction: column; gap: 10px; margin-top: 24px; }
  .topbar__tag { display: none; }
}
.nav__mobile-cta { display: none !important; }
@media (max-width: 560px) { .topbar__links a:nth-child(2) { display: none; } .brand img { height: 36px; } .header .container { height: 70px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(800px 500px at 85% 10%, rgba(1, 54, 255, .10), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255, 183, 1, .12), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(4, 2, 79, .12) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.pill b { background: var(--navy); color: var(--yellow); padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: .78rem; letter-spacing: .04em; }
.hero__trust { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.hero__trust-item svg { width: 18px; height: 18px; color: var(--blue); }

/* hero visual: composed UI cards */
.hero__visual { position: relative; min-height: 520px; }
.hv-main {
  position: absolute; inset: 30px 0 40px 40px; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 85%); overflow: hidden; box-shadow: var(--shadow-lg);
}
.hv-main::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); right: -140px; top: -140px; }
.hv-main::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: var(--yellow); left: 46px; bottom: 46px; box-shadow: 0 0 0 18px rgba(255, 183, 1, .18); }
.hv-main__icon { position: absolute; right: 38px; bottom: 34px; width: 120px; opacity: .95; }
.hv-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 18px; font-size: .85rem; color: var(--ink-2); animation: float 6s ease-in-out infinite; }
.hv-card h4 { font-size: .95rem; margin: 0 0 4px; }
.hv-card small { color: var(--ink-3); font-size: .76rem; }
.hv-card--rx { top: 0; left: 0; width: 250px; }
.hv-card--growth { top: 120px; right: -10px; width: 220px; animation-delay: -2s; }
.hv-card--brand { bottom: 0; left: 70px; width: 270px; animation-delay: -4s; }
.hv-row { display: flex; align-items: center; gap: 10px; }
.hv-dot { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.hv-dot svg { width: 18px; height: 18px; }
.hv-dot--y { background: var(--yellow-50); color: #b07e00; }
.hv-lines { margin-top: 12px; display: grid; gap: 7px; }
.hv-lines i { display: block; height: 7px; border-radius: 4px; background: var(--bg-soft); }
.hv-lines i:nth-child(1) { width: 92%; } .hv-lines i:nth-child(2) { width: 74%; } .hv-lines i:nth-child(3) { width: 58%; background: var(--blue-100); }
.hv-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 12px; }
.hv-bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--blue-100); }
.hv-bars i:last-child { background: var(--blue); }
.hv-chip { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #0a8a4a; background: #e6f7ee; padding: 2px 8px; border-radius: 999px; font-size: .74rem; }
.hv-swatches { display: flex; gap: 6px; margin-top: 12px; }
.hv-swatches i { width: 34px; height: 34px; border-radius: 9px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hv-card { animation: none; } html { scroll-behavior: auto; } .reveal { opacity: 1 !important; transform: none !important; } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
  .hero__visual { min-height: 400px; }
  .hv-main { inset: 40px 0 50px 20px; }
  .hv-card--rx { width: 210px; } .hv-card--growth { width: 180px; right: 0; top: 150px; } .hv-card--brand { left: 10px; width: 230px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 6vw, 80px); background: var(--navy); color: #c9c8e8; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 90% 0%, rgba(1, 54, 255, .55), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(255, 183, 1, .14), transparent 60%); }
.page-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .04); z-index: -1; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: #b9b8de; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero .eyebrow::before { box-shadow: 0 0 0 4px rgba(255, 183, 1, .18); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; margin-bottom: 26px; color: #8f8dc0; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero .btn-row { margin-top: 30px; }

/* ---------- Logo strip / clients ---------- */
.logos { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logos__label { text-align: center; font-size: .84rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 22px; font-weight: 600; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee 40s linear infinite; }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation-duration: 90s; } .marquee--rev .marquee__track { animation-duration: 100s; } }

/* client logo slot: shows image if present, else typographic wordmark */
.clogo { display: flex; align-items: center; justify-content: center; height: 72px; min-width: 190px; padding: 0 22px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.clogo img { max-height: 44px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .25s; }
.clogo:hover img { filter: none; opacity: 1; }
.clogo img + .clogo__word { display: none; }
.clogo__word { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink-2); letter-spacing: -.01em; white-space: nowrap; }
.clogo__word small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-align: center; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--navy); padding: 34px 28px; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 600; color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat__num em { font-style: normal; color: var(--yellow); }
.stat__label { margin-top: 10px; color: #b9b8de; font-size: .95rem; }
.section:not(.section--navy) .stats { background: var(--line); }
.section:not(.section--navy) .stat { background: #fff; }
.section:not(.section--navy) .stat__num { color: var(--ink); }
.section:not(.section--navy) .stat__num em { color: var(--blue); }
.section:not(.section--navy) .stat__label { color: var(--ink-3); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-3); margin-bottom: 0; }
.card .link-arrow { margin-top: 18px; }
.card__ico { width: 54px; height: 54px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; transition: .25s; }
.card__ico svg { width: 26px; height: 26px; }
.card:hover .card__ico { background: var(--blue); color: #fff; }
.card--link::after { content: ""; position: absolute; inset: 0; }
.card--feature { padding: 36px; }
.card ul.ticks { margin-top: 16px; }

.service-card { display: flex; flex-direction: column; }
.service-card .num { position: absolute; top: 26px; right: 28px; font-family: var(--font-display); font-weight: 600; color: var(--line); font-size: 2.4rem; line-height: 1; }
.service-card--big { grid-column: span 2; background: linear-gradient(140deg, var(--navy) 0%, var(--navy-700) 100%); color: #c9c8e8; border: 0; overflow: hidden; }
.service-card--big h3 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.service-card--big p { color: #b9b8de; }
.service-card--big .card__ico { background: rgba(255, 255, 255, .1); color: var(--yellow); }
.service-card--big .link-arrow { color: var(--yellow); }
.service-card--big .num { color: rgba(255, 255, 255, .1); }
.service-card--big::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); }
@media (max-width: 980px) { .service-card--big { grid-column: span 2; } }
@media (max-width: 640px) { .service-card--big { grid-column: auto; } }

ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230136ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.section--navy ul.ticks li, .service-card--big ul.ticks li { color: #d6d5f0; }
.section--navy ul.ticks li::before, .service-card--big ul.ticks li::before { background-color: rgba(255, 183, 1, .15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb701' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
ul.ticks.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { ul.ticks.cols-2 { grid-template-columns: 1fr; } }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* ---------- Products ---------- */
.product { position: relative; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.product--doctro { background: linear-gradient(155deg, #0136ff 0%, #0a1fb8 60%, #04024f 100%); color: #d6dcff; }
.product--care { background: linear-gradient(155deg, #04024f 0%, #15127a 100%); color: #c9c8e8; }
.product h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 6px; }
.product__tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.product p { color: inherit; opacity: .92; }
.product__mods { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }
.product__mods span { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); font-size: .84rem; color: #fff; font-weight: 500; }
.product .btn-row { margin-top: auto; }
.product::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .06); }

/* product mock UI */
.mock { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9dbe8; }
.mock__bar i:first-child { background: #ff6b6b; } .mock__bar i:nth-child(2) { background: var(--yellow); } .mock__bar i:nth-child(3) { background: #2fcf7a; }
.mock__bar span { margin-left: 12px; font-size: .78rem; color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; flex: 1; max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__body { display: grid; grid-template-columns: 160px 1fr; min-height: 340px; }
.mock__side { background: var(--navy); padding: 18px 12px; display: grid; align-content: start; gap: 4px; }
.mock__side b { color: #fff; font-family: var(--font-display); font-size: .95rem; padding: 0 8px 14px; display: block; }
.mock__side span { color: #a9a8d4; font-size: .8rem; padding: 8px; border-radius: 8px; display: flex; gap: 8px; align-items: center; }
.mock__side span svg { width: 15px; height: 15px; }
.mock__side span.on { background: rgba(255, 255, 255, .1); color: #fff; }
.mock__main { padding: 18px; display: grid; gap: 12px; align-content: start; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mock__kpi small { font-size: .7rem; color: var(--ink-3); display: block; }
.mock__kpi strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.mock__table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .78rem; }
.mock__table div { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--line); align-items: center; }
.mock__table div:first-child { border-top: 0; background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-weight: 600; }
.tag--g { background: #e6f7ee; color: #0a8a4a; } .tag--b { background: var(--blue-50); color: var(--blue); } .tag--y { background: var(--yellow-50); color: #9a6e00; }
@media (max-width: 560px) { .mock__body { grid-template-columns: 1fr; } .mock__side { display: none; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process--3 { grid-template-columns: repeat(3, 1fr); }
.process__step { position: relative; padding-top: 70px; }
.process__step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 600; box-shadow: 0 0 0 8px var(--blue-50); }
.process__step::after { content: ""; position: absolute; top: 26px; left: 70px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-100) 0 8px, transparent 8px 14px); }
.process__step:last-child::after { display: none; }
.process__step p { color: var(--ink-3); }
.section--navy .process__step p { color: #b9b8de; }
.section--navy .process__step::before { box-shadow: 0 0 0 8px rgba(1, 54, 255, .3); }
@media (max-width: 900px) { .process, .process--3 { grid-template-columns: 1fr 1fr; } .process__step::after { display: none; } }
@media (max-width: 560px) { .process, .process--3 { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--font-display); font-weight: 500; color: var(--ink-2); transition: .15s; }
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .work-grid { grid-template-columns: 1fr; } }
.work { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work.is-hidden { display: none; }
.work__thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; background: var(--c1, var(--blue)); background: linear-gradient(145deg, var(--c1, var(--blue)), var(--c2, var(--navy))); }
.work__thumb > img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.work:hover .work__thumb > img { transform: scale(1.04); }
.work__ph { position: relative; width: 78%; aspect-ratio: 16 / 11; background: #fff; border-radius: 10px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .35); overflow: hidden; display: flex; flex-direction: column; }
.work__ph-bar { height: 18px; background: var(--bg-soft); display: flex; align-items: center; gap: 4px; padding: 0 8px; border-bottom: 1px solid var(--line); }
.work__ph-bar i { width: 6px; height: 6px; border-radius: 50%; background: #d4d6e5; }
.work__ph-body { flex: 1; display: grid; place-items: center; padding: 10px; text-align: center; }
.work__ph-body strong { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--c2, var(--navy)); display: block; line-height: 1.1; }
.work__ph-body span { font-size: .72rem; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.work__ph--social { width: 56%; aspect-ratio: 9 / 13; border-radius: 18px; }
.work__ph--social .work__ph-bar { justify-content: center; }
.work__ph--social .work__ph-bar i { width: 30px; height: 4px; border-radius: 4px; }
.work__ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 6px; }
.work__ph-grid i { aspect-ratio: 1; border-radius: 3px; background: var(--c1, var(--blue)); opacity: .18; }
.work__ph-grid i:nth-child(3n+2) { background: var(--c2, var(--navy)); opacity: .25; }
.work__ph-grid i:nth-child(4) { background: var(--yellow); opacity: .6; }
.work__body { padding: 22px 24px 24px; }
.work__cat { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); }
.work__body h3 { margin: 6px 0 6px; font-size: 1.25rem; }
.work__body p { color: var(--ink-3); font-size: .93rem; margin-bottom: 14px; }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.work__tags span { font-size: .74rem; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- Brand case (portfolio/branding) ---------- */
.brand-case { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.brand-case + .brand-case { margin-top: 28px; }
.brand-case__visual { position: relative; min-height: 340px; display: grid; place-items: center; padding: 40px; background: var(--bg-soft); }
.brand-case__visual .clogo { background: #fff; height: 120px; min-width: 260px; box-shadow: var(--shadow); border: 0; }
.brand-case__visual .clogo img { max-height: 80px; max-width: 220px; filter: none; opacity: 1; }
.brand-case__visual .clogo__word { font-size: 1.6rem; }
.brand-case__body { padding: clamp(28px, 4vw, 48px); }
@media (max-width: 860px) { .brand-case { grid-template-columns: 1fr; } }

/* ---------- CEO ---------- */
.ceo { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ceo__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--blue), var(--navy)); box-shadow: var(--shadow-lg); }
.ceo__photo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ceo__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.ceo__ph span { font-family: var(--font-display); font-weight: 600; font-size: clamp(5rem, 12vw, 8rem); color: rgba(255, 255, 255, .92); letter-spacing: -.04em; }
.ceo__photo::after { z-index: 2; content: ""; position: absolute; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); left: 22px; top: 22px; box-shadow: 0 0 0 10px rgba(255, 183, 1, .25); }
.ceo__badge { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-radius: 16px; padding: 16px 20px; z-index: 3; }
.ceo__badge strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.15rem; }
.ceo__badge span { font-size: .88rem; color: var(--ink-3); }
.ceo blockquote { margin: 0 0 26px; padding: 0 0 0 22px; border-left: 4px solid var(--yellow); font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.4; color: var(--ink); font-weight: 500; }
.section--navy .ceo blockquote { color: #fff; }
.ceo__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.ceo__fact { border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.ceo__fact strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--blue); line-height: 1; }
.ceo__fact span { font-size: .85rem; color: var(--ink-3); }
@media (max-width: 900px) { .ceo { grid-template-columns: 1fr; } .ceo__photo { max-width: 420px; } }
@media (max-width: 480px) { .ceo__facts { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), var(--yellow)); }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.timeline__item b { font-family: var(--font-display); color: var(--blue); font-size: .9rem; letter-spacing: .06em; }
.timeline__item h3 { margin: 4px 0 6px; font-size: 1.2rem; }
.timeline__item p { color: var(--ink-3); margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230136ff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-3); padding-bottom: 20px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 90%); color: #d6dcff; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -100px; top: -100px; width: 360px; height: 360px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .06); z-index: -1; }
.cta-band::after { content: ""; position: absolute; left: 40%; bottom: -50px; width: 120px; height: 120px; border-radius: 50%; background: var(--yellow); opacity: .9; z-index: -1; filter: blur(0); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #d6dcff; margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } .cta-band::after { left: auto; right: 30px; } }

/* ---------- Lead form / funnel ---------- */
.lead-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 920px) { .lead-wrap { grid-template-columns: 1fr; } }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); color: var(--ink-2); }
.form-card h3, .section--navy .form-card h3 { margin-bottom: 4px; color: var(--ink); }
.form-card > p { color: var(--ink-3); font-size: .95rem; }
.steps-bar { display: flex; gap: 6px; margin: 18px 0 26px; }
.steps-bar i { flex: 1; height: 5px; border-radius: 4px; background: var(--line); transition: background .3s; }
.steps-bar i.on { background: var(--blue); }
.fstep { display: none; }
.fstep.is-on { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fstep__q { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.15rem; margin-bottom: 14px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 500; color: var(--ink-2); transition: .15s; font-size: .95rem; height: 100%; }
.choice span svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--ink); box-shadow: 0 0 0 3px rgba(1, 54, 255, .12); }
.choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(1, 54, 255, .12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.fnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.fnav .btn { flex: none; }
.form-note { font-size: .8rem; color: var(--ink-3); margin-top: 14px; display: flex; gap: 6px; align-items: center; }
.form-note svg { width: 14px; height: 14px; color: #0a8a4a; flex: none; }
.form-err { color: #c62828; font-size: .86rem; margin-top: 8px; min-height: 1.2em; }
.form-done { text-align: center; padding: 20px 0; }
.form-done .card__ico { margin: 0 auto 18px; background: #e6f7ee; color: #0a8a4a; }

.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: .2s; }
.contact-item:hover { background: rgba(255, 255, 255, .1); border-color: var(--yellow); }
.contact-item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--yellow); color: var(--navy); display: grid; place-items: center; flex: none; }
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: .78rem; color: #9796c6; text-transform: uppercase; letter-spacing: .1em; }
.contact-item strong { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.section:not(.section--navy) .contact-item { background: #fff; border-color: var(--line); }
.section:not(.section--navy) .contact-item strong { color: var(--ink); }
.section:not(.section--navy) .contact-item small { color: var(--ink-3); }

/* ---------- Feature table / modules ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .mod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mod-grid { grid-template-columns: 1fr; } }
.mod { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; transition: .2s; }
.mod:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.mod .card__ico { width: 46px; height: 46px; margin-bottom: 14px; }
.mod .card__ico svg { width: 22px; height: 22px; }
.mod h3 { font-size: 1.08rem; margin-bottom: 6px; }
.mod p { font-size: .9rem; color: var(--ink-3); margin: 0; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; font-size: .95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; }
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare .yes { color: #0a8a4a; font-weight: 600; } .compare .no { color: #c62828; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }

/* ---------- Industries / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; color: var(--ink-2); font-size: .94rem; }
.chips span svg { width: 16px; height: 16px; color: var(--blue); }
.section--navy .chips span { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #e3e2f7; }
.section--navy .chips span svg { color: var(--yellow); }

/* ---------- Footer ---------- */
.footer { background: #030140; color: #a3a2cf; padding: 80px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 34ch; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--yellow); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; margin-top: 4px; color: var(--yellow); flex: none; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; transition: .2s; }
.socials a:hover { background: var(--yellow); color: var(--navy); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 60px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7c7bb0; }
.footer__bottom a { color: #a3a2cf; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .2s; }
.fab a:hover { transform: scale(1.07); }
.fab svg { width: 26px; height: 26px; }
.fab__wa { background: #25d366; color: #fff; }
.fab__call { background: var(--blue); color: #fff; }
@media (min-width: 900px) { .fab__call { display: none !important; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.divider { height: 1px; background: var(--line); margin: 40px 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: .86rem; font-weight: 500; }
.badge svg { width: 16px; height: 16px; color: var(--yellow); }

/* Let grid children shrink below their content width on small screens */
.split > *, .lead-wrap > *, .ceo > *, .hero__grid > *, .grid > *, .brand-case > *, .cta-band > * { min-width: 0; }
.contact-item strong, .footer__contact a { overflow-wrap: anywhere; }

/* ==========================================================================
   Social media showcase (Instagram phone mockups)
   ========================================================================== */
.ig-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1080px) { .ig-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ig-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; } .ig-row::-webkit-scrollbar { display: none; } .ig { flex: 0 0 78%; scroll-snap-align: center; } }
.ig { display: flex; flex-direction: column; background: #fff; border-radius: 26px; padding: 10px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55); color: var(--ink); transition: transform .25s; border: 6px solid #15127a; }
.ig:hover { transform: translateY(-6px); }
.ig__head { display: flex; align-items: center; gap: 10px; padding: 8px 6px 12px; }
.ig__head > svg { width: 20px; height: 20px; margin-left: auto; color: #c13584; flex: none; }
.ig__head strong { display: block; font-family: var(--font-display); font-size: .92rem; line-height: 1.2; overflow-wrap: anywhere; }
.ig__head small { display: block; font-size: .74rem; color: var(--ink-3); line-height: 1.3; }
.ig__head > span:nth-child(2) { min-width: 0; }
.ig__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); display: grid; place-items: center; }
.ig__avatar img, .ig__avatar b { width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 2px solid #fff; object-fit: contain; display: grid; place-items: center; font-family: var(--font-display); color: var(--blue); font-size: .95rem; }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 12px; overflow: hidden; }
.ig__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.ig__ph { aspect-ratio: 4 / 5; display: grid; place-items: center; align-content: center; gap: 6px; background: var(--bg-soft); color: var(--blue); text-align: center; padding: 4px; }
.ig__ph svg { width: 22px; height: 22px; }
.ig__ph i { font-style: normal; font-size: .64rem; font-weight: 600; color: var(--ink-3); line-height: 1.15; }
.ig__ph:nth-child(3n+2) { background: var(--blue); color: #fff; } .ig__ph:nth-child(3n+2) i { color: rgba(255, 255, 255, .8); }
.ig__ph:nth-child(5) { background: var(--yellow); color: var(--navy); } .ig__ph:nth-child(5) i { color: var(--navy); }
.ig__ph:nth-child(7) { background: var(--navy); color: var(--yellow); } .ig__ph:nth-child(7) i { color: #b9b8de; }
.ig__foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 0 4px; font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--blue); }
.ig__foot svg { width: 14px; height: 14px; }
.filters__link { padding: 10px 18px; border-radius: 999px; font-family: var(--font-display); font-weight: 500; color: var(--blue); }

/* ==========================================================================
   Mobile quick-action bar
   ========================================================================== */
.mbar { display: none; }
@media (max-width: 900px) {
  .fab { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(4, 2, 79, .35);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: 12px; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink); background: var(--bg-soft); }
  .mbar a svg { width: 18px; height: 18px; color: var(--blue); }
  .mbar a:nth-child(2) svg { color: #1faa53; }
  .mbar .mbar__cta { background: var(--blue); color: #fff; }
  .mbar .mbar__cta svg { color: #fff; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body.nav-open .mbar { display: none; }
}

/* ==========================================================================
   Mobile refinements
   ========================================================================== */
.header { top: env(safe-area-inset-top, 0px); }
@media (max-width: 640px) {
  :root { --section: 64px; }
  h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .lead { font-size: 1rem; }
  .btn { padding: 14px 22px; }
  .hero .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 auto; }
  .hero__trust { gap: 10px 16px; margin-top: 26px; }
  .pill { font-size: .8rem; }
  .card, .card--feature { padding: 24px; }
  .section-head { margin-bottom: 30px; }
  /* hero illustration: tidier composition on phones */
  .hero__visual { min-height: 360px; max-width: 360px; }
  .hv-main { inset: 34px 6px 44px 26px; }
  .hv-main::after { width: 64px; height: 64px; left: 26px; bottom: 26px; box-shadow: 0 0 0 12px rgba(255, 183, 1, .18); }
  .hv-main__icon { width: 84px; right: 22px; bottom: 22px; }
  .hv-card { padding: 12px 14px; }
  .hv-card--rx { width: 200px; }
  .hv-card--growth { width: 168px; top: 112px; right: 0; }
  .hv-card--brand { width: 220px; left: 0; }
  .hv-bars { height: 46px; }
  .hv-swatches i { width: 28px; height: 28px; }
  /* modules: two compact columns */
  .mod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mod { padding: 16px; }
  .mod .card__ico { width: 38px; height: 38px; margin-bottom: 10px; }
  .mod h3 { font-size: .98rem; }
  .mod p { font-size: .82rem; }
  /* comparison table becomes cards */
  .table-scroll { overflow: visible; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare { border: 0; background: none; }
  .compare thead { display: none; }
  .compare tr { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
  .compare td { border: 0; padding: 4px 0; }
  .compare td:first-child { font-family: var(--font-display); font-size: 1.05rem; padding-bottom: 8px; }
  .compare td.no::before { content: "Before: "; font-weight: 600; color: var(--ink-3); }
  .compare td.yes::before { content: "With Doctrolive: "; font-weight: 600; color: var(--ink); }
  .cta-band::after { width: 70px; height: 70px; right: 20px; bottom: -30px; }
  .cta-band .btn-row .btn { flex: 1 1 auto; }
  .stat { padding: 24px 18px; }
  .stat__label { font-size: .86rem; }
  .ceo__photo { max-width: 100%; }
  .work-grid { gap: 18px; }
  .process__step { padding-top: 0; padding-left: 68px; min-height: 52px; }
  .footer { padding-top: 56px; }
}

/* ==========================================================================
   Brand guidelines
   ========================================================================== */
.bg-hero { display: grid; place-items: center; background: var(--bg-soft); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 64px); min-height: 320px; }
.bg-hero img { width: min(380px, 100%); }
.bg-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .bg-logos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bg-logos { grid-template-columns: 1fr; } }
.bg-tile { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bg-tile__art { display: grid; place-items: center; height: 200px; padding: 28px; background: #fff; }
.bg-tile__art img { max-height: 90px; width: auto; max-width: 100%; }
.bg-tile__art--navy { background: var(--navy); } .bg-tile__art--blue { background: var(--blue); } .bg-tile__art--yellow { background: var(--yellow); }
.bg-tile figcaption { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 18px; border-top: 1px solid var(--line); align-items: center; }
.bg-tile figcaption strong { font-family: var(--font-display); color: var(--ink); }
.bg-tile figcaption span { grid-column: 1; font-size: .84rem; color: var(--ink-3); }
.bg-tile figcaption a { grid-column: 2; grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 600; font-size: .82rem; color: var(--blue); border: 1px solid var(--blue-100); padding: 6px 12px; border-radius: 999px; }
.bg-clear { display: grid; place-items: center; padding: 24px 0 8px; }
.bg-clear__zone { position: relative; padding: 26px; border: 2px dashed var(--blue-100); border-radius: 6px; background: repeating-linear-gradient(45deg, var(--blue-50) 0 6px, #fff 6px 12px); }
.bg-clear__zone img { width: min(240px, 60vw); background: #fff; }
.bg-clear__x { position: absolute; font-family: var(--font-display); font-weight: 600; font-size: .74rem; color: var(--blue); }
.bg-clear__x--t { top: 4px; left: 50%; transform: translateX(-50%); } .bg-clear__x--b { bottom: 4px; left: 50%; transform: translateX(-50%); }
.bg-clear__x--l { left: 4px; top: 50%; transform: translateY(-50%); } .bg-clear__x--r { right: 4px; top: 50%; transform: translateY(-50%); }
.bg-min { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; margin-top: 22px; }
.bg-min div { display: grid; gap: 10px; justify-items: start; }
.bg-min span { font-size: .82rem; color: var(--ink-3); line-height: 1.4; }
.bg-min b { color: var(--ink); }
.bg-donts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 1000px) { .bg-donts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .bg-donts { grid-template-columns: 1fr 1fr; } }
.bg-donts figure { margin: 0; }
.bg-donts figure > div { position: relative; height: 110px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding: 14px; }
.bg-donts figure > div img { max-width: 80%; }
.bg-donts figure > div::after { content: ""; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: #c62828 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.bg-donts figcaption { font-size: .84rem; color: var(--ink-2); margin-top: 8px; }
.bg-colours { display: grid; grid-template-columns: 1fr 1fr .62fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 760px) { .bg-colours { grid-template-columns: 1fr; } }
.bg-colour { position: relative; min-height: 340px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; }
@media (max-width: 760px) { .bg-colour { min-height: 220px; } }
.bg-colour__no { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-size: 1.4rem; opacity: .85; }
.bg-colour strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.bg-colour > div > span { display: block; font-size: .86rem; opacity: .85; margin-bottom: 16px; }
.bg-colour dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: .86rem; font-variant-numeric: tabular-nums; }
.bg-colour dt { opacity: .7; font-weight: 600; letter-spacing: .08em; font-size: .74rem; align-self: center; }
.bg-colour dd { margin: 0; font-family: var(--font-display); font-weight: 500; }
.bg-neutrals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.bg-neutrals span { border-radius: 12px; padding: 30px 12px 10px; font-size: .76rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bg-neutrals b { display: block; font-family: var(--font-display); font-size: .9rem; }
.bg-ratio { display: flex; height: 64px; border-radius: 12px; overflow: hidden; margin-top: 18px; }
.bg-ratio span { display: grid; place-items: center; color: #fff; font-size: .74rem; font-weight: 600; white-space: nowrap; overflow: hidden; }
.bg-pairs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
@media (max-width: 900px) { .bg-pairs { grid-template-columns: 1fr 1fr; } }
.bg-pairs div { border-radius: 14px; padding: 16px; font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1; }
.bg-pairs span { display: block; font-family: var(--font-body); font-size: .76rem; font-weight: 500; margin-top: 12px; line-height: 1.35; opacity: .9; }
.bg-type__role { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.bg-type__aa { font-size: clamp(4.5rem, 10vw, 7rem); font-weight: 600; color: var(--ink); line-height: 1; margin: 10px 0 6px; letter-spacing: -.03em; }
.bg-type__glyphs { font-size: 1.05rem; color: var(--ink); line-height: 1.6; overflow-wrap: anywhere; background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; }
.bg-scale { display: grid; gap: 4px; margin-top: 10px; }
.bg-scale > div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.bg-scale > div:first-child { border-top: 0; }
.bg-scale span { font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bg-scale p { margin: 0; line-height: 1.15; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .bg-scale > div { grid-template-columns: 1fr; gap: 6px; } }
.bg-motif { position: relative; height: 150px; border-radius: 14px; background: linear-gradient(140deg, var(--blue), var(--navy)); overflow: hidden; margin-bottom: 20px; }
.bg-motif .ring { position: absolute; width: 200px; height: 200px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .08); right: -60px; top: -60px; }
.bg-motif .dot { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); left: 28px; bottom: 26px; box-shadow: 0 0 0 10px rgba(255, 183, 1, .2); }
.bg-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.bg-icons svg { width: 100%; height: 66px; padding: 20px; background: var(--blue-50); color: var(--blue); border-radius: 12px; }
.bg-photo { height: 150px; border-radius: 14px; margin-bottom: 20px; background: linear-gradient(0deg, rgba(4, 2, 79, .85), rgba(1, 54, 255, .25)), url("../img/ramshad-ceo.jpg") center 25% / cover, var(--navy); display: flex; align-items: flex-end; padding: 14px; }
.bg-photo span { color: #fff; font-size: .8rem; font-weight: 500; }
.bg-apps { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 26px; align-items: end; }
@media (max-width: 900px) { .bg-apps { grid-template-columns: 1fr; } }
.mock-cap { font-size: .8rem; color: #9796c6; margin: 14px 0 0; text-transform: uppercase; letter-spacing: .1em; }
.bg-card-mock { position: relative; padding-top: 10px; }
.bg-bc { aspect-ratio: 90 / 55; border-radius: 12px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6); }
.bg-bc--back { width: 78%; background: linear-gradient(140deg, var(--blue), var(--navy)); display: grid; place-items: center; transform: rotate(-5deg); }
.bg-bc--back img { width: 36%; }
.bg-bc--front { width: 78%; margin: -32% 0 0 auto; position: relative; background: #fff; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(3deg); }
.bg-bc--front img { width: 44%; }
.bg-bc--front strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1rem; }
.bg-bc--front span { display: block; font-size: .72rem; color: var(--blue); font-weight: 600; }
.bg-bc--front small { display: block; font-size: .64rem; color: var(--ink-3); margin-top: 4px; overflow-wrap: anywhere; }
.bg-letter__page { aspect-ratio: 210 / 297; max-height: 380px; margin: 0 auto; background: #fff; border-radius: 6px; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6); position: relative; overflow: hidden; }
.bg-letter__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 14px; }
.bg-letter__head img { width: 46%; }
.bg-letter__head small { font-size: .52rem; color: var(--ink-3); text-align: right; line-height: 1.5; }
.bg-letter__foot { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(90deg, var(--blue) 0 80%, var(--yellow) 80%); }
.bg-post__sq { position: relative; aspect-ratio: 1; border-radius: 16px; background: linear-gradient(150deg, var(--blue), var(--navy)); padding: 24px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6); }
.bg-post__sq img { width: 44%; margin-bottom: auto; }
.bg-post__sq strong { font-family: var(--font-display); color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.15; max-width: 12ch; position: relative; z-index: 1; }
.bg-post__sq span { color: var(--yellow); font-family: var(--font-display); font-weight: 600; margin-top: 12px; position: relative; z-index: 1; }
.bg-post__sq i { position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--yellow); opacity: .95; }
.bg-voice h3 { display: flex; align-items: center; gap: 10px; }
.bg-voice--dont ul.ticks li::before { background-color: #fdecec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c62828' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }

/* ==========================================================================
   Device mockups with scrolling website screenshots
   ========================================================================== */
.dev-view { position: relative; overflow: hidden; container-type: size; background: var(--bg-soft); }
.dev-view > img { position: absolute; left: 0; top: 0; width: 100%; height: auto; display: block; transform: translateY(0); transition: transform 7s cubic-bezier(.45, 0, .25, 1); will-change: transform; }
/* screens auto-scroll through the real site while in view; hovering pauses so it can be read */
.is-in .dev-view > img, .ig--profile .dev-view > img { animation: devScroll 22s ease-in-out .8s infinite alternate; transition: none; }
.devices:hover .dev-view > img, .ig--profile:hover .dev-view > img, .site-card:hover .dev-view > img { animation-play-state: paused; }
.dev-fallback { position: absolute; inset: 0; display: none; place-content: center; text-align: center; gap: 4px; font-size: .8rem; color: var(--ink-3); }
.dev-fallback b { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.dev-view.is-missing > img { display: none; }
.dev-view.is-missing .dev-fallback { display: grid; }

@keyframes devScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
@media (prefers-reduced-motion: reduce) { .dev-view > img { transition: none !important; animation: none !important; } }

.devices { position: relative; padding: 0 0 4% 0; }
.dev-laptop { width: 86%; }
.devices--compact .dev-laptop { width: 100%; }
.dev-screen { background: #111; border-radius: 14px 14px 0 0; padding: 2.2% 2.2% 0; box-shadow: var(--shadow-lg); }
.dev-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #f1f2f8; border-radius: 6px 6px 0 0; }
.dev-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d6e5; flex: none; }
.dev-bar span { margin-left: 8px; font-size: .7rem; color: var(--ink-3); background: #fff; border-radius: 999px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-laptop .dev-view { aspect-ratio: 16 / 10; max-width: 100%; }
.dev-base { height: 14px; margin: 0 -5%; background: linear-gradient(#d9dbe6, #b9bccb); border-radius: 0 0 14px 14px; position: relative; }
.dev-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #a9acbd; border-radius: 0 0 8px 8px; }
.dev-phone { position: absolute; right: 0; bottom: 0; width: 24%; background: #111; border-radius: 22px; padding: 7px; box-shadow: var(--shadow-lg); }
.dev-phone .dev-view { aspect-ratio: 9 / 19.5; border-radius: 16px; max-width: 100%; }

.site-rows { display: grid; gap: clamp(48px, 7vw, 96px); }
.site-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.site-row:nth-child(even) .devices { order: 2; }
.site-row > * { min-width: 0; }
.site-row__body h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 8px 0 10px; }
.site-row__body p { color: var(--ink-3); }
.site-row__hint { font-size: .8rem; margin: 14px 0 0; }
@media (hover: none) { .site-row__hint { display: none; } }
@media (max-width: 860px) { .site-row { grid-template-columns: 1fr; } .site-row:nth-child(even) .devices { order: 0; } }

.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .site-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-grid { grid-template-columns: 1fr; } }
.site-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 0; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.site-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.site-card .devices { padding: 0; }
.site-card .dev-base { margin: 0 -4%; }
.site-card__body { padding: 18px 2px 22px; }
.site-card__body h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.site-card--more { justify-content: center; background: var(--bg-soft); padding: 28px; }
.site-card--more .site-card__body { padding: 0; }

.ig--profile { padding: 8px; border-radius: 30px; }
.ig__screen { aspect-ratio: 9 / 18; border-radius: 22px; max-width: 100%; }
.dev-phone .dev-fallback { font-size: .62rem; padding: 6px; } .dev-phone .dev-fallback b { font-size: .8rem; }

/* ==========================================================================
   Client logos (real logos from the DoctorLive client list)
   ========================================================================== */
.logos .marquee + .marquee { margin-top: 14px; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.logos .clogo { background: #fff; min-width: 0; width: 200px; height: 84px; padding: 10px 18px; }
.logos .clogo img { max-height: 58px; max-width: 160px; filter: none; opacity: 1; }
@media (max-width: 640px) { .logos .clogo { width: 150px; height: 66px; padding: 8px 12px; } .logos .clogo img { max-height: 44px; max-width: 122px; } }
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.logo-wall li { display: grid; place-items: center; height: 96px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .2s, box-shadow .2s; }
.logo-wall li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.logo-wall img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 560px) { .logo-wall { grid-template-columns: 1fr 1fr; gap: 10px; } .logo-wall li { height: 80px; } .logo-wall img { max-height: 52px; } }

/* ==========================================================================
   DoctorLive product page (DoctorLive's own brand blue)
   ========================================================================== */
.dl-hero { --dl: #131793; background: var(--dl); color: #d3d6ff; padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; position: relative; isolation: isolate; }
.dl-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 380px at 0% 0%, rgba(124, 233, 141, .14), transparent 60%), radial-gradient(500px 360px at 100% 100%, rgba(91, 192, 235, .18), transparent 60%); }
.dl-hero .crumbs a, .dl-hero .crumbs { color: #a5a9f0; }
.dl-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.dl-hero__grid > * { min-width: 0; }
.dl-hero__logo { width: 190px; height: auto; margin-bottom: 26px; }
.dl-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.9rem); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; font-weight: 700; }
.dl-hero h1 span { color: #7ce98d; display: block; }
.dl-hero .lead { color: #c4c8ff; }
.dl-checks { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.dl-checks li { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.dl-checks svg { width: 18px; height: 18px; color: #7ce98d; }
.dl-hero__art { align-self: end; margin-right: calc(var(--gutter) * -1); }
.dl-hero__art img { width: 100%; height: auto; display: block; }
.dl-hero .btn--yellow { background: #7ce98d; color: #0b0d5e; box-shadow: 0 10px 24px -8px rgba(124, 233, 141, .55); }
@media (max-width: 900px) { .dl-hero__grid { grid-template-columns: 1fr; } .dl-hero__art { margin: 0 calc(var(--gutter) * -1); } }
.mod--cta { background: var(--blue); border-color: var(--blue); color: #d6dcff; display: flex; flex-direction: column; justify-content: center; }
.mod--cta h3 { color: #fff; } .mod--cta p { color: #d6dcff; } .mod--cta .link-arrow { color: var(--yellow); margin-top: 10px; }
.steps8 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius-lg); overflow: hidden; }
.steps8 li { background: var(--navy); padding: 28px 24px; }
.steps8 b { font-family: var(--font-display); font-size: 1.9rem; color: var(--yellow); display: block; margin-bottom: 14px; line-height: 1; }
.steps8 h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps8 p { color: #b9b8de; font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .steps8 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps8 { grid-template-columns: 1fr; } .steps8 li { padding: 22px 20px; } }

/* Footer product backlinks */
.footer__products { margin-top: 48px; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.footer__products > span { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: .95rem; }
.footer__products a { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .2s; }
.footer__products a:hover { border-color: var(--yellow); }
.footer__products img { height: 30px; width: auto; }
.footer__products small { color: #a3a2cf; font-size: .8rem; }
.product__logo { height: 34px; width: auto; margin-bottom: 18px; }
.product--care { background: linear-gradient(155deg, #08624a 0%, #053f2e 100%); color: #d5ece4; }

/* ==========================================================================
   Caresoft.ai page (Caresoft's own palette: #F0F6F4 · #08624A · #053F2E)
   ========================================================================== */
.cs-hero { --cs1: #f0f6f4; --cs2: #08624a; --cs3: #053f2e; --cs4: #2fae72; background: var(--cs3); color: #cfe6dd; padding: clamp(40px, 6vw, 84px) 0; position: relative; overflow: hidden; isolation: isolate; }
.cs-hero::before { content: ""; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px; border-radius: 50%; border: 80px solid rgba(240, 246, 244, .05); z-index: -1; }
.cs-hero .crumbs, .cs-hero .crumbs a { color: #9cc7b7; }
.cs-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cs-hero__grid > * { min-width: 0; }
.cs-hero__logo { width: 210px; height: auto; margin-bottom: 26px; }
.cs-kicker { display: block; font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cs4); margin-bottom: 14px; }
.cs-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.cs-hero .lead { color: #cfe6dd; margin-bottom: 30px; }
.cs-btn { background: var(--cs4, #2fae72); color: #04241a; box-shadow: 0 10px 24px -8px rgba(47, 174, 114, .55); }
.cs-btn:hover { background: #3cc283; transform: translateY(-2px); }
.cs-hero__price { margin: 20px 0 0; font-size: .95rem; }
.cs-hero__price strong { color: #fff; } .cs-hero__price a { color: var(--cs4); font-weight: 600; }
.cs-app { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); color: #123526; }
.cs-app__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f0f6f4; }
.cs-app__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9ddd5; }
.cs-app__bar span { margin-left: 10px; font-size: .74rem; color: #4d6b5f; background: #fff; border-radius: 999px; padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-app__body { padding: 18px; display: grid; gap: 14px; }
.cs-app__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cs-app__kpis div { border: 1px solid #e1ece7; border-radius: 12px; padding: 10px 12px; }
.cs-app__kpis small { display: block; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: #6b8a7e; }
.cs-app__kpis strong { font-family: var(--font-display); font-size: 1.35rem; color: #053f2e; font-variant-numeric: tabular-nums; }
.cs-app__kpis em { display: block; font-style: normal; font-size: .72rem; color: #1b7a4a; font-weight: 600; }
.cs-app__cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; }
.cs-app__panel { border: 1px solid #e1ece7; border-radius: 12px; padding: 12px; display: grid; gap: 8px; align-content: start; font-size: .76rem; }
.cs-app__panel b { font-family: var(--font-display); color: #053f2e; font-size: .9rem; }
.cs-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 6px; align-items: center; color: #3e5a4f; }
.cs-tag { font-style: normal; font-size: .64rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #f0f6f4; color: #08624a; white-space: nowrap; }
.cs-tag--meet { background: #e3f6ec; color: #1b7a4a; }
.cs-tl { display: grid; grid-template-columns: 12px 1fr; gap: 8px; color: #3e5a4f; line-height: 1.35; }
.cs-tl i { width: 10px; height: 10px; border-radius: 50%; background: #2fae72; margin-top: 3px; box-shadow: 0 0 0 3px #e3f6ec; }
.cs-tl small { color: #6b8a7e; }
.cs-app__note { margin: 0; font-size: .68rem; color: #8aa59a; }
@media (max-width: 900px) { .cs-hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cs-app__cols { grid-template-columns: 1fr; } .cs-app__kpis strong { font-size: 1.1rem; } }
.cs-eyebrow { color: #08624a; }
.cs-eyebrow::before { background: #2fae72; box-shadow: 0 0 0 4px #e3f6ec; }
.cs-soft { background: #f0f6f4; }
.cs-card .card__ico { background: #e3f1ec; color: #08624a; }
.cs-card:hover .card__ico { background: #08624a; color: #fff; }
.cs-card ul.ticks li::before { background-color: #e3f1ec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308624a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.cs-new { display: inline-block; vertical-align: middle; font-family: var(--font-body); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #2fae72; color: #04241a; padding: 3px 8px; border-radius: 999px; margin-left: 6px; }
.cs-flow { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.cs-flow li { display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 12px; border-radius: 999px; background: #f0f6f4; border: 1px solid #dceae4; font-family: var(--font-display); font-weight: 600; color: #053f2e; }
.cs-flow li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #08624a; color: #fff; font-size: .9rem; }
.cs-flow li + li::before { content: "→"; margin: 0 6px 0 -2px; color: #2fae72; order: -1; display: none; }
.cs-dark { background: #053f2e; color: #cfe6dd; }
.cs-dark h2, .cs-dark h3 { color: #fff; }
.cs-dark .lead { color: #b8d8cc; }
.cs-dark .cs-eyebrow { color: #2fae72; }
.cs-dark .cs-eyebrow::before { box-shadow: 0 0 0 4px rgba(47, 174, 114, .2); }
.cs-ai { list-style: none; padding: 0; margin: 26px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cs-ai li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(240, 246, 244, .07); border: 1px solid rgba(240, 246, 244, .12); color: #fff; font-weight: 500; }
.cs-ai svg { width: 20px; height: 20px; color: #2fae72; }
.cs-note { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #b8d8cc; background: rgba(47, 174, 114, .1); border-radius: 12px; padding: 14px 16px; }
.cs-note svg { width: 18px; height: 18px; flex: none; color: #2fae72; margin-top: 3px; }
.cs-panel { background: rgba(240, 246, 244, .06); border: 1px solid rgba(240, 246, 244, .12); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); }
.cs-panel p { color: #b8d8cc; }
.cs-spark { color: #2fae72; background: rgba(0, 0, 0, .15); border-radius: 14px; padding: 14px; }
.cs-spark svg { width: 100%; height: 90px; display: block; }
.cs-spark__lbl { display: flex; justify-content: space-between; font-size: .76rem; color: #b8d8cc; font-variant-numeric: tabular-nums; }
.cs-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .cs-plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.cs-plan { background: #fff; border: 1px solid #dceae4; border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.cs-plan__tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1b7a4a; }
.cs-plan h3 { margin: 10px 0 8px; color: #053f2e; }
.cs-plan > p { color: var(--ink-3); font-size: .94rem; }
.cs-plan__price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: #053f2e; letter-spacing: -.02em; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.cs-plan__price small { font-size: .95rem; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.cs-plan .ticks { flex: 1; margin-bottom: 24px; }
.cs-plan .ticks li::before { background-color: #e3f1ec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308624a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.cs-plan .btn { align-self: stretch; }
.cs-plan--best { background: #053f2e; border-color: #053f2e; color: #cfe6dd; }
.cs-plan--best h3, .cs-plan--best .cs-plan__price { color: #fff; }
.cs-plan--best > p, .cs-plan--best .cs-plan__price small { color: #b8d8cc; }
.cs-plan--best .cs-plan__tag { color: #2fae72; }
.cs-plan--best .ticks li { color: #e3f1ec; }
.cs-plan--best .ticks li::before { background-color: rgba(47, 174, 114, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fae72' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* 3D tilt that follows the pointer (set by main.js) */
[data-tilt] { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s ease-out; transform-style: preserve-3d; will-change: transform; }
[data-tilt].is-tilting { transition: transform .08s linear; }
.devices--solo .dev-laptop { width: 100%; }
.devices--solo { padding-bottom: 0; }
.dev-screen { position: relative; }
.dev-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, transparent 38%); }
@media (prefers-reduced-motion: reduce) { [data-tilt] { transform: none !important; } }

/* ==========================================================================
   Instagram post embeds
   ========================================================================== */
.igposts-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; margin: clamp(48px, 6vw, 72px) 0 22px; }
.igposts-head h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.igposts-head p { margin: 0; color: #b9b8de; }
.igposts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .igposts { grid-template-columns: 1fr 1fr; max-width: 820px; margin: 0 auto; } }
@media (max-width: 640px) { .igposts { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.igpost { min-width: 0; }
.igpost .instagram-media, .igpost iframe { width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; border-radius: 16px !important; overflow: hidden; }
.igpost blockquote.instagram-media { background: #fff; border: 0; padding: 0; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55); }
.igpost__fallback { display: flex; flex-direction: column; color: var(--ink); }
.igpost__head { display: flex; align-items: center; gap: 10px; padding: 14px; }
.igpost__head > svg { width: 20px; height: 20px; margin-left: auto; color: #c13584; }
.igpost__head strong { display: block; font-family: var(--font-display); font-size: .92rem; }
.igpost__head small { display: block; font-size: .74rem; color: var(--ink-3); }
.igpost__body { aspect-ratio: 4 / 5; display: grid; place-items: center; align-content: center; gap: 12px; background: linear-gradient(150deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%, #4f5bd5); color: #fff; font-family: var(--font-display); font-weight: 600; }
.igpost__body svg { width: 54px; height: 54px; }
.igpost__foot { padding: 12px 14px; font-size: .8rem; color: var(--ink-3); }
.igpost__head > span:nth-child(2) { min-width: 0; flex: 1; }
.igpost__head strong, .igpost__head small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Fixes: menu, logos, product logos, logo wall ---------- */
.product__logo { align-self: flex-start; height: 40px; width: auto; max-width: 70%; object-fit: contain; }
.nav__menu--products { width: 400px; gap: 8px; }
.nav__product { display: grid !important; gap: 10px; padding: 18px !important; border-radius: 14px; }
.nav__product img { height: 38px; width: auto; max-width: 180px; object-fit: contain; }
.nav__product span { font-size: .86rem; color: var(--ink-3); line-height: 1.45; }
.nav__product--dl { background: #131793; } .nav__product--dl span { color: #c4c8ff; }
.nav__product--dl:hover { background: #1a1fa8 !important; }
.nav__product--cs { background: #f0f6f4; } .nav__product--cs:hover { background: #e3f1ec !important; }
@media (max-width: 1080px) {
  .nav__menu--products { width: 100%; padding: 8px 0 14px; }
  .nav__menu .ico { width: 36px; height: 36px; }
  .nav { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
}
.logos .clogo { width: 210px; height: 92px; }
.logos .clogo img { max-height: 64px; max-width: 172px; }
@media (max-width: 640px) {
  .logos { padding: 28px 0; }
  .logos__label { font-size: .74rem; padding: 0 8px; }
  .logos .marquee__track { gap: 12px; animation-duration: 30s; }
  .logos .marquee--rev .marquee__track { animation-duration: 34s; }
  .logos .clogo { width: 168px; height: 76px; padding: 8px 14px; }
  .logos .clogo img { max-height: 52px; max-width: 140px; }
}
.logo-wall__more { display: none; margin: 22px auto 0; }
.logo-wall__more svg { transition: transform .2s; }
.logo-wall__more[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 640px) {
  .logo-wall:not(.is-open) li:nth-child(n+13) { display: none; }
  .logo-wall__more { display: flex; }
}
.product--doctro .product__logo { height: 52px; }
