/* ==========================================================================
   Medical Marketing — page-specific components, built on the home styles.css
   design tokens (--brand, --accent, --cyan, --coral, --ink, --line, --cream,
   shadows --sh*). No second design system; this only adds page-unique pieces.
   ========================================================================== */

/* ==========================================================================
   Unique medical hero — light, airy, doctor photo + live booking proof
   (deliberately different from the home's dark photo + glass carousel hero)
   ========================================================================== */
.mhero { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(155deg, var(--brand-dark) 0%, var(--brand-700) 44%, var(--brand) 100%); }
.mhero::before { content: ""; position: absolute; top: -160px; right: -90px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(95,179,204,.34), transparent 68%); pointer-events: none; }
.mhero::after { content: ""; position: absolute; left: -90px; bottom: -130px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(95,179,204,.16), transparent 70%); pointer-events: none; }
.mhero__grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(44px, 6vw, 88px); }
.mhero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-weight: 700;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24); padding: 8px 15px; border-radius: 999px; margin-bottom: 22px; }
.mhero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.mhero h1 { color: #fff; font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.1rem); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 20px; }
.mhero__sub { font-size: clamp(1.06rem, 1rem + .45vw, 1.28rem); color: rgba(255,255,255,.86); max-width: 50ch; line-height: 1.55; margin-bottom: 30px; }
.mhero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.mhero__proof { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .92rem; color: rgba(255,255,255,.8); }
.mhero__proof .g { display: inline-flex; align-items: center; gap: 8px; }
.mhero__proof svg { width: 20px; height: 20px; flex: none; }
.mhero__proof b { color: #fff; }
.mhero__proof .stars { color: #f5b301; letter-spacing: 1px; }

.mhero__photo-wrap { position: relative; }
.mhero__photo { width: 100%; aspect-ratio: 5 / 5.3; object-fit: cover; border-radius: 30px;
  box-shadow: 0 34px 80px -22px rgba(20,34,43,.5); }
.mfloat { position: absolute; z-index: 2; background: #fff; border-radius: 16px; box-shadow: 0 20px 44px rgba(20,34,43,.2);
  padding: 13px 16px; display: flex; align-items: center; gap: 12px; }
.mfloat .ic { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; }
.mfloat .ic svg { width: 21px; height: 21px; }
.mfloat .t { font-weight: 700; font-size: .92rem; color: var(--ink); line-height: 1.2; }
.mfloat .s { font-size: .77rem; color: var(--muted); }
.mfloat--book { top: 30px; left: -28px; }
.mfloat--book .ic { background: #e6f7ee; color: #1a9d5a; }
.mfloat--rate { bottom: 32px; right: -24px; gap: 11px; }
.mfloat--rate .ic { background: var(--cyan-50); }
.mfloat--rate .n { font-weight: 800; font-size: 1.15rem; color: var(--ink); line-height: 1; }
.mfloat--rate .stars { color: #f5b301; font-size: .8rem; letter-spacing: 1px; display: block; margin: 2px 0; }
.mfloat--rate .s { font-size: .75rem; color: var(--muted); }
@media (max-width: 980px) {
  .mhero__grid { grid-template-columns: 1fr; gap: 40px; }
  .mhero__photo { aspect-ratio: 5 / 3.6; }
  /* width:100% defeats grid shrink-to-fit (auto margins on a grid item size it
     to max-content — which collapses the heroshow carousel, whose images are
     absolutely positioned, down to its dots row). */
  .mhero__photo-wrap { width: 100%; max-width: 560px; margin: 0 auto; }
  .mfloat--book { left: -10px; } .mfloat--rate { right: -10px; }
}
@media (max-width: 560px) { .mfloat { transform: scale(.86); } .mfloat--book { left: -4px; } .mfloat--rate { right: -4px; } }

/* ---------- Why-Avily cards (on teal) ---------- */
.mwhy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .mwhy { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mwhy { grid-template-columns: 1fr; } }
.mwhy__c { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); padding: 28px 26px; }
.mwhy__c .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(95,179,204,.18); color: var(--cyan); margin-bottom: 16px; }
.mwhy__c .ic svg { width: 25px; height: 25px; }
.mwhy__c h3 { color: #fff; font-size: 1.2rem; line-height: 1.25; margin-bottom: 9px; }
.mwhy__c p { color: #c5d4d8; font-size: .96rem; line-height: 1.55; }

/* ---------- Client testimonial cards ---------- */
.mtesti { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .mtesti { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.mtesti__c { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: 16px; }
.mtesti__c .origin { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.mtesti__c blockquote { font-size: 1.04rem; line-height: 1.5; color: var(--ink); flex: 1; }
.mtesti__who { display: flex; align-items: center; gap: 13px; }
.mtesti__who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--cyan-50); color: var(--brand); font-weight: 800; display: grid; place-items: center; flex: none; }
.mtesti__who .nm { font-weight: 700; font-size: .95rem; color: var(--ink); }
.mtesti__who .rl { font-size: .82rem; color: var(--muted); }
.mtesti__c--invite { background: linear-gradient(150deg, var(--brand-dark), var(--brand)); border-color: transparent; }
.mtesti__c--invite .origin { color: var(--cyan); }
.mtesti__c--invite blockquote { color: #fff; }

/* ---------- Trust banner (dark blue, under the hero) ---------- */
.mtrust-band { background: linear-gradient(125deg, #0E2A45 0%, #163D63 100%); }
.mtrust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mtrust__i { display: flex; align-items: center; justify-content: center; gap: 13px; }
.mtrust__i .ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: rgba(95,179,204,.16); color: var(--cyan); }
.mtrust__i .ic svg { width: 22px; height: 22px; }
.mtrust__i b { font-size: 1.02rem; color: #fff; line-height: 1.25; }
@media (max-width: 900px) { .mtrust { grid-template-columns: 1fr 1fr; gap: 22px; } .mtrust__i { justify-content: flex-start; } }
@media (max-width: 520px) { .mtrust { grid-template-columns: 1fr; } }

/* ---------- Stats grid with three metrics (website-design page) ---------- */
.metrics--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .metrics--3 { grid-template-columns: 1fr; } }

/* ---------- Comparison table (raised, 3D brand column) ---------- */
.mcompare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(20,34,43,.06), 0 36px 70px -30px rgba(20,34,43,.42); }
.mcompare th, .mcompare td { padding: 18px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.mcompare tr:last-child td { border-bottom: none; }
.mcompare thead th { font-weight: 700; font-size: .98rem; color: var(--muted); padding-block: 22px; }
.mcompare thead th.is-brand { color: #fff; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  font-size: 1.14rem; position: relative; box-shadow: 0 18px 32px -12px rgba(30,110,120,.6); }
.mcompare td:first-child, .mcompare th:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.mcompare td.is-brand { background: var(--cyan-50);
  box-shadow: inset 7px 0 14px -10px rgba(30,110,120,.35), inset -7px 0 14px -10px rgba(30,110,120,.35); }
.mcompare tbody tr { transition: background-color .15s ease; }
.mcompare tbody tr:hover td:not(.is-brand) { background: var(--s50); }
.mcompare .ic { display: inline-flex; width: 28px; height: 28px; filter: drop-shadow(0 3px 5px rgba(20,34,43,.18)); }
.mcompare-legend { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; margin-top: 26px; font-size: .9rem; color: var(--muted); }
.mcompare-legend span { display: inline-flex; align-items: center; gap: 8px; }
.mcompare-legend svg { width: 20px; height: 20px; }
/* Mobile: the table FITS — compact icon columns instead of a 620px off-screen
   scroll (columns were invisible and the scroll had no affordance). */
@media (max-width: 768px) {
  .mcompare-wrap { overflow-x: visible; }
  .mcompare { min-width: 0; }
  .mcompare th, .mcompare td { padding: 12px 6px; }
  .mcompare td:first-child, .mcompare th:first-child { padding-left: 12px; font-size: .88rem; line-height: 1.35; }
  .mcompare thead th { font-size: .72rem; line-height: 1.25; padding: 12px 4px; }
  .mcompare th:not(:first-child), .mcompare td:not(:first-child) { width: 54px; }
  .mcompare .ic { width: 20px; height: 20px; }
  .mcompare-legend { gap: 14px; font-size: .82rem; }
}

/* ---------- Free-audit scanner card (3D, glowing bars) ---------- */
.mscan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; position: relative; overflow: hidden;
  box-shadow: 0 2px 8px rgba(20,34,43,.06), 0 44px 80px -34px rgba(20,34,43,.48); }
.mscan::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--accent), var(--cyan), var(--coral)); }
.mscan__score { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.mscan__score .n { font-size: 3.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mscan__score .d { font-size: 1.1rem; color: var(--s400); }
.mscan__label { font-size: .9rem; color: var(--muted); margin: 6px 0 26px; }
.mscan__row { margin-bottom: 18px; }
.mscan__rhead { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 7px; }
.mscan__rhead b { font-weight: 700; color: var(--ink); }
.mscan__rhead span { color: var(--muted); font-weight: 700; }
.mscan__bar { height: 10px; border-radius: 100px; background: var(--s100); position: relative; overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(20,34,43,.16); }
.mscan__bar i { position: absolute; inset: 0 auto 0 0; border-radius: 100px;
  background: linear-gradient(90deg, var(--accent), var(--cyan)); box-shadow: 0 0 10px rgba(95,179,204,.7); }
.mscan__bar .avg { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--coral); border-radius: 2px; }

/* ---------- Google search (SERP) mock ---------- */
.gserp { background: #fff; border-radius: 16px; box-shadow: 0 16px 40px -10px rgba(20,34,43,.28); padding: 16px; width: 100%; max-width: 420px; }
.gserp__bar { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; box-shadow: 0 1px 3px rgba(20,34,43,.06); }
.gserp__bar > svg:first-child { width: 18px; height: 18px; flex: none; }
.gserp__bar span { flex: 1; font-size: .92rem; color: var(--text); }
.gserp__mag { width: 16px; height: 16px; color: var(--accent); flex: none; }
.gserp__top { margin-top: 14px; border: 1px solid var(--cyan-200); background: var(--cyan-50); border-radius: 13px; padding: 14px 16px;
  box-shadow: 0 12px 26px -10px rgba(30,110,120,.34); }
.gserp__badge { display: inline-block; font-family: var(--font-mono); font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; background: var(--brand); border-radius: 5px; padding: 3px 8px; margin-bottom: 8px; }
.gserp__name { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.gserp__rate { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.gserp__rate b { color: var(--ink); }
.gserp__stars { color: #f5b301; letter-spacing: 1px; }
.gserp__chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 11px; }
.gserp__chips span { font-size: .72rem; color: var(--brand); background: #fff; border: 1px solid var(--cyan-200); border-radius: 999px; padding: 4px 11px; }
.gserp__row { margin-top: 13px; padding: 0 4px; }
.gserp__u { display: block; font-size: .72rem; color: #1a7a3c; }
.gserp__h { display: block; font-size: .95rem; color: #1a0dab; }
.gserp__row--dim { opacity: .45; }

/* ---------- Social post card (no date — styled to look like a real post) ---------- */
.spost { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 22px 48px -16px rgba(20,34,43,.3); width: 100%; max-width: 380px; overflow: hidden; }
.spost__head { display: flex; align-items: center; gap: 11px; padding: 14px 16px; }
.spost__av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; display: grid; place-items: center; flex: none; }
.spost__who { line-height: 1.25; flex: 1; min-width: 0; }
.spost__who b { display: block; font-size: .92rem; color: var(--ink); }
.spost__who small { font-size: .76rem; color: var(--muted); }
.spost__more { width: 20px; height: 20px; color: var(--muted); flex: none; }
.spost__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--mist); }
.spost__actions { display: flex; gap: 24px; padding: 12px 16px 6px; color: var(--ink); }
.spost__actions span { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; }
.spost__actions svg { width: 19px; height: 19px; }
.spost__cap { padding: 4px 16px 16px; }
.spost__cap p { font-size: .88rem; color: var(--text); line-height: 1.55; }
.spost__cap b { color: var(--ink); margin-right: 5px; }

/* ---------- Video case studies ---------- */
.vids { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); max-width: 1000px; margin: 0 auto; }
@media (max-width: 760px) { .vids { grid-template-columns: 1fr; max-width: 560px; } }
.vcard { margin: 0; }
.vcard__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
  border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 26px 54px -18px rgba(8,20,26,.6); }
.vcard__play img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .4s ease, opacity .3s ease; }
.vcard__play:hover img { transform: scale(1.04); opacity: 1; }
.vcard__btn { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(8,20,26,.45); transition: transform .25s ease, background-color .25s ease; }
.vcard__play:hover .vcard__btn { transform: scale(1.08); background: #fff; }
.vcard__btn svg { width: 28px; height: 28px; color: var(--brand); margin-left: 3px; }
.vcard figcaption { margin-top: 16px; text-align: center; }
.vcard figcaption b { display: block; color: var(--ink); font-size: 1.12rem; }
.vcard figcaption span { color: var(--muted); font-size: .92rem; }
.vcard__iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; display: block; box-shadow: 0 26px 54px -18px rgba(8,20,26,.6); }

/* ---------- Client logo rotating banner ---------- */
.logobar { overflow: hidden; padding: 8px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logobar__track { display: flex; align-items: center; gap: clamp(40px, 6vw, 86px); width: max-content; animation: logoscroll 44s linear infinite; }
.logobar:hover .logobar__track { animation-play-state: paused; }
.logobar img { height: 48px; width: auto; flex: none; opacity: .92; transition: opacity .25s ease, transform .25s ease; }
.logobar img:hover { opacity: 1; transform: translateY(-2px); }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logobar__track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ---------- Client logo wall ---------- */
.logowall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 900px) { .logowall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .logowall { grid-template-columns: repeat(2, 1fr); } }
.logotile { display: flex; align-items: center; justify-content: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; min-height: 78px; box-shadow: var(--sh-sm); }
.logotile img { max-height: 42px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Resources cards ---------- */
.resgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .resgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .resgrid { grid-template-columns: 1fr; } }
.rescard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease; }
.rescard:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.rescard__thumb { height: 116px; display: grid; place-items: center; }
.rescard__thumb svg { width: 46px; height: 46px; color: #fff; }
.rescard:nth-child(1) .rescard__thumb { background: linear-gradient(135deg, var(--brand), var(--brand-700)); }
.rescard:nth-child(2) .rescard__thumb { background: linear-gradient(135deg, var(--cyan), var(--brand)); }
.rescard:nth-child(3) .rescard__thumb { background: linear-gradient(135deg, var(--coral), var(--coral-600)); }
.rescard:nth-child(4) .rescard__thumb { background: linear-gradient(135deg, var(--green), var(--brand)); }
.rescard:nth-child(5) .rescard__thumb { background: linear-gradient(135deg, var(--accent), var(--brand)); }
.rescard:nth-child(6) .rescard__thumb { background: linear-gradient(135deg, var(--brand-700), var(--accent)); }
.rescard__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rescard__type { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.rescard__body h3 { font-size: 1.12rem; line-height: 1.3; flex: 1; }
.rescard__more { font-weight: 700; font-size: .92rem; color: var(--brand); }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    background: #fff; padding: 10px 18px 14px; box-shadow: 0 -10px 28px rgba(20,34,43,.12); }
  .mobile-cta-bar .btn { width: 100%; }
  body { padding-bottom: 76px; }
}

/* ---------- Feature split: tag list + "explore" link (reuses home .belief) ---------- */
.feat__list { list-style: none; margin: 16px 0 22px; display: flex; flex-direction: column; gap: 11px; }
.feat__list li { position: relative; padding-left: 28px; color: var(--text); font-size: 1rem; line-height: 1.5; }
.feat__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }


/* ==========================================================================
   Medical Website Design — page-specific additions (scoped; do not affect the
   medical-marketing hero, which uses the dark .mhero without --light).
   ========================================================================== */

/* ---------- Light hero variant ---------- */
.mhero--light { color: var(--ink);
  background: linear-gradient(165deg, #F4FAFB 0%, #E7F2F6 52%, #DBEBF1 100%); }
.mhero--light::before { background: radial-gradient(circle, rgba(95,179,204,.30), transparent 68%); }
.mhero--light::after { background: radial-gradient(circle, rgba(75,130,168,.12), transparent 70%); }
.mhero--light h1 { color: var(--ink); }
.mhero--light h1 .hl { color: var(--accent); }
.mhero--light .mhero__sub { color: var(--text); }
.mhero--light .mhero__eyebrow { color: var(--brand); background: #fff; border-color: var(--cyan-200); box-shadow: var(--sh-sm); }
.mhero--light .mhero__proof { color: var(--muted); }
.mhero--light .mhero__proof b { color: var(--ink); }

/* ---------- Hero website showcase carousel (laptop frame, cross-fade) ---------- */
.heroshow { position: relative; max-width: 580px; margin-inline: auto; }
.heroshow__screen { background: #1b2733; border-radius: 16px 16px 4px 4px; padding: 12px 12px 0;
  box-shadow: 0 30px 56px rgba(8,20,26,.30); }
.heroshow__stage { position: relative; aspect-ratio: 16 / 9; border-radius: 6px 6px 0 0; overflow: hidden; background: #fff; }
.heroshow__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: top center; opacity: 0; transition: opacity .8s ease; }
.heroshow__stage img.is-on { opacity: 1; }
.heroshow__base { height: 18px; margin: 0 -4%; background: linear-gradient(180deg, #cfd8dd, #aab6bf);
  border-radius: 0 0 14px 14px; position: relative; box-shadow: 0 16px 20px rgba(8,20,26,.16); }
.heroshow__base::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 8px; background: #8b98a1; border-radius: 0 0 8px 8px; }
.heroshow__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.heroshow__dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(20,34,43,.20);
  padding: 0; border: 0; cursor: pointer; transition: background-color .2s ease, width .2s ease; }
.heroshow__dots button.on { background: var(--accent); width: 26px; border-radius: 5px; }
@media (prefers-reduced-motion: reduce) { .heroshow__stage img { transition: none; } }

/* ---------- iPad device frame ---------- */
.ipad { position: relative; max-width: 400px; margin-inline: auto;
  background: linear-gradient(158deg, #2c3a45, #161f27); border-radius: 30px; padding: 16px;
  box-shadow: 0 30px 60px rgba(8,20,26,.30); }
.ipad__cam { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px;
  border-radius: 50%; background: #0a1117; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.ipad__screen { position: relative; aspect-ratio: 3 / 4; border-radius: 7px; overflow: hidden; background: #fff; }
.ipad__screen img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top center; background: #fff; }

/* ---------- Patient review mock ---------- */
.revmock { background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px rgba(8,20,26,.18); max-width: 420px; margin-inline: auto; padding: 24px 24px 22px; }
.revmock__top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.revmock__av { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(140deg, var(--accent), var(--brand)); }
.revmock__who { line-height: 1.25; }
.revmock__who b { display: block; color: var(--ink); font-size: .98rem; }
.revmock__who span { color: var(--muted); font-size: .82rem; }
.revmock__g { width: 22px; height: 22px; margin-left: auto; flex: none; }
.revmock__stars { color: #f5b301; letter-spacing: 2px; font-size: 1rem; margin-bottom: 9px; }
.revmock__body { color: var(--text); line-height: 1.6; font-size: 1rem; }
.revmock__foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.revmock__score { font-weight: 800; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.revmock__foot .revmock__stars { margin: 0; font-size: .9rem; }
.revmock__foot small { color: var(--muted); font-size: .82rem; }

/* ---------- Two video stories, side by side ---------- */
.vidpair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 30px); }
.vidpair .vidmain { width: 100%; }
@media (max-width: 760px) { .vidpair { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Feature suite cohesion (website-design page only) ----------
   The visuals are all different shapes (laptop / vertical iPad / review card /
   photo). Each sits CENTRED inside an equal-height, FRAMELESS box — no panel,
   border or background behind them — so the alternating rows share one rhythm. */
.beliefs--web .belief { align-items: center; }
.beliefs--web .laptop { max-width: 500px; }
/* Gary Groenewald card: phone on the LEFT of the laptop, pulled further out so it
   overlaps the screen less (overrides the shared right-side .laptop__phone). */
.beliefs--web .laptop__phone { right: auto; left: -13%; bottom: -12%; }
@media (max-width: 768px) {
  /* Pull the overlapping phones back inside the viewport on small screens. */
  .beliefs--web .laptop__phone { left: 2%; }
}
.beliefs--web .ipad { max-width: 300px; }
.beliefs--web .revmock { max-width: 400px; }
.beliefs--web .belief__body p { margin-bottom: 0; }
.beliefs--web .feat__list { margin: 18px 0 0; }
.beliefs--web .belief__cta { margin-top: 24px; }

@media (min-width: 861px) {
  /* device + review-card mocks: float centred inside a shared-height box, no frame */
  .beliefs--web .belief__media--device,
  .beliefs--web .belief__media--mock {
    min-height: 440px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    background: none; box-shadow: none; overflow: visible;
  }
}

/* Photo card: a clean rounded landscape image (no white frame, no blue panel).
   A defined box + object-fit keeps a wide photo rendering reliably and in full,
   instead of an auto-sized <img> flex child (which sizes unpredictably). */
.beliefs--web .belief__media:not(.belief__media--device):not(.belief__media--mock) {
  display: block; min-height: 0; padding: 0;
  width: 100%; max-width: 520px; margin-inline: auto;
  aspect-ratio: 3 / 2; overflow: hidden;
  border: 0; border-radius: 18px; background: none; box-shadow: var(--sh-lg);
}
.beliefs--web .belief__media:not(.belief__media--device):not(.belief__media--mock) img {
  width: 100%; height: 100%; min-width: 0; aspect-ratio: auto;
  object-fit: cover; border-radius: 0; box-shadow: none;
}

/* ==========================================================================
   Hero exploration — glowing "swoop" shape behind an oversized carousel that
   bleeds off the right edge (clipped by .mhero overflow:hidden). Scoped to the
   light hero so the medical-marketing hero is untouched.
   ========================================================================== */
.mhero--light .mhero__photo-wrap { position: relative; }
.heroswoop { position: absolute; z-index: 0; top: 50%; left: 50%; width: 138%; aspect-ratio: 1 / 1;
  transform: translate(-44%, -52%) rotate(-14deg); pointer-events: none;
  background: linear-gradient(135deg, rgba(95,179,204,.62) 0%, rgba(75,130,168,.45) 46%, rgba(46,151,166,.18) 74%, transparent 84%);
  border-radius: 46% 54% 56% 44% / 54% 44% 56% 46%;
  filter: blur(30px); opacity: .9; }
.mhero--light .heroshow { position: relative; z-index: 1; }
@media (min-width: 981px) {
  /* Oversize the carousel and let its right edge run past the column / section. */
  .mhero--light .heroshow { max-width: none; width: 128%; margin-left: 4%; margin-inline: 0; }
}
