/* MVD Health website — same design language as the Android app (2026 theme) */
:root {
  --blue: #0b3d91;
  --blue-2: #1d6fd8;
  --sky: #0ea5e9;
  --red: #e30613;
  --ink: #0b1f44;
  --muted: #5b6b85;
  --line: #e6edf6;
  --bg: #f5f9ff;
  --white: #fff;
  --ok: #0e8a4b;
  --grad: linear-gradient(120deg, var(--sky), var(--blue-2) 55%, var(--blue));
  --radius: 24px;
  --shadow: 0 18px 40px -16px rgba(11, 61, 145, .28);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--white); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 700; font-size: 16px;
  transition: transform .15s, filter .15s, background .15s; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--grad); color: var(--white); box-shadow: 0 10px 22px -8px rgba(11, 61, 145, .55); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-white { background: var(--white); color: var(--blue); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); }
.btn-white:hover { background: #f1f7ff; }
.btn-glass { background: rgba(255, 255, 255, .14); color: var(--white); border: 1px solid rgba(255, 255, 255, .45); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--blue); background: #eef5ff; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .12) 0 30%, transparent 30.2%),
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, .08) 0 22%, transparent 22.2%),
    var(--grad);
  border-radius: 0 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: clamp(48px, 8vw, 96px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); font-size: 13px; font-weight: 600; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #7ef0b5; box-shadow: 0 0 0 4px rgba(126, 240, 181, .25); }
.hero h1 { margin-top: 20px; font-size: clamp(36px, 6vw, 60px); font-weight: 800; }
.hero h1 span { color: #bfe6ff; }
.lead { margin-top: 18px; font-size: clamp(16px, 1.6vw, 18px); color: rgba(255, 255, 255, .88); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-founders { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; padding: 8px 18px 8px 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); max-width: 100%; }
.hero-founders > span:last-child { display: grid; min-width: 0; }
.hero-founders strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-founders small { font-size: 12px; opacity: .8; }
.avatars { display: flex; flex: none; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--white); background: var(--white); }
.avatars img + img { margin-left: -12px; }

.hero-visual { position: relative; display: grid; gap: 16px; padding: 24px 0; }
.float-card {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 16px;
  background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: 0 24px 50px -18px rgba(3, 20, 60, .5);
  animation: float 6s ease-in-out infinite;
}
.float-card > span:not(.ic) { flex: 1; display: grid; min-width: 0; }
.float-card strong { font-size: 15px; }
.float-card small { color: var(--muted); font-size: 13px; }
.fc-1 { margin-right: 12%; }
.fc-2 { margin-left: 14%; animation-delay: -2s; }
.fc-3 { margin-right: 22%; animation-delay: -4s; }
.go { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: var(--white); display: grid; place-items: center; font-style: normal; }
.chip { flex: none; font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; color: var(--ok); background: rgba(14, 138, 75, .12); }
.hero-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.r1 { width: 420px; height: 420px; right: -80px; top: -40px; }
.r2 { width: 260px; height: 260px; left: -40px; bottom: -60px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Icon tile */
.ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: color-mix(in srgb, var(--c) 12%, transparent); }
.ic svg { width: 24px; height: 24px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tint { background: linear-gradient(180deg, #eaf4ff, #f5f9ff); }
.section-head { max-width: 640px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.kicker { display: inline-block; color: var(--blue-2); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { margin-top: 8px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 30%, var(--line)); }
.svc .ic { width: 56px; height: 56px; border-radius: 18px; }
.svc .ic svg { width: 28px; height: 28px; }
.svc h3 { margin-top: 18px; font-size: 19px; }
.svc p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 28px 24px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: var(--white); font-size: 18px; box-shadow: 0 10px 20px -8px rgba(11, 61, 145, .6); }
.steps h3 { margin-top: 16px; font-size: 18px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.founders { display: flex; justify-content: center; gap: clamp(20px, 5vw, 56px); flex-wrap: wrap; }
.founder { margin: 0; text-align: center; }
.founder img { width: clamp(160px, 22vw, 220px); height: auto; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--white); box-shadow: var(--shadow); margin: 0 auto; }
.founder figcaption { margin-top: 16px; display: grid; gap: 2px; }
.founder strong { font-size: 19px; }
.founder span { color: var(--blue-2); font-weight: 600; font-size: 14px; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-block: 0 clamp(56px, 8vw, 96px); padding: clamp(28px, 4vw, 44px) !important;
  background: var(--grad); color: var(--white); border-radius: 32px;
  max-width: calc(1160px - 2 * clamp(16px, 4vw, 32px)); width: calc(100% - 2 * clamp(16px, 4vw, 32px));
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.cta-band p { margin-top: 6px; color: rgba(255, 255, 255, .85); }

/* Contact */
.contacts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact { display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.contact:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact > span:last-child { display: grid; min-width: 0; }
.contact small { color: var(--muted); font-size: 13px; }
.contact strong { font-size: 15px; overflow-wrap: anywhere; }
.contact strong.addr { font-size: 14px; line-height: 1.4; font-weight: 600; }
.socials { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; }
.socials > span { color: var(--muted); font-weight: 600; font-size: 14px; margin-right: 4px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.social:hover { border-color: var(--sky); color: var(--blue); }
.social svg, .footer-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--white);
  background: #16a34a; box-shadow: 0 12px 28px -8px rgba(22, 163, 74, .6); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.footer-contact { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.footer-contact a:hover { color: var(--blue); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--blue); }
.footer-social a:hover { background: #eef5ff; }
.footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 32px 20px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 14px; }
.footer-links a:hover { color: var(--blue); }
.footer-base { padding-block: 16px 88px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* Tablet */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-visual { max-width: 520px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .contacts { grid-template-columns: minmax(0, 1fr); } }
/* Phone */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 720px) {
  .brand img { height: 34px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .fc-1, .fc-2, .fc-3 { margin: 0; }
  .r1 { width: 300px; height: 300px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .svc { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .svc .ic { grid-row: span 2; width: 48px; height: 48px; }
  .svc h3 { margin-top: 2px; font-size: 17px; }
  .svc p { margin-top: 2px; font-size: 14px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand img { height: 30px; }
  .nav-cta { padding: 0 14px; }
}

/* Doctors (home page, loaded from API) */
.doctors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 350px)); justify-content: center; gap: 20px; }
.doctors .doc-skeleton { height: 380px; }
.doctors-more { grid-column: 1 / -1; justify-self: center; }
.doctors:not(.show-all) .dcard.is-more { display: none; }

/* Compact doctor card (home grid) */
.dcard { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 24px; transition: transform .2s, box-shadow .2s; }
.dcard:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(11, 61, 145, .45); }
.dcard-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.dcard-photo { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(180deg, #eaf5ff, #f6faff); color: var(--blue); font-weight: 800; font-size: 48px; }
.dcard-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform .3s; }
.dcard:hover .dcard-photo img { transform: scale(1.03); }
.dcard-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.dcard-body h3 { font-size: 19px; font-weight: 800; }
.dcard-degree { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.dcard-when { display: flex; gap: 8px; align-items: flex-start; margin-top: 4px; padding: 10px 12px; border-radius: 14px; background: #f2f8ff; font-size: 13.5px; font-weight: 600; }
.dcard-when svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--blue-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dcard-when span { display: grid; }
.dcard-when b { color: var(--ok); font-size: 12.5px; }
.dcard-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.dcard-fee { display: grid; margin-right: auto; font-size: 20px; font-weight: 800; line-height: 1.1; }
.dcard-fee small { font-size: 11px; font-weight: 600; color: var(--muted); }
.dcard-foot .btn-sm { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14px; }

/* Profile popup */
html.no-scroll { overflow: hidden; }
.doc-dialog { width: min(980px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 28px; background: transparent; overflow: visible; }
.doc-dialog::backdrop { background: rgba(8, 24, 56, .55); backdrop-filter: blur(3px); }
.doc-dialog-body { max-height: calc(100dvh - 48px); overflow-y: auto; border-radius: 28px; overscroll-behavior: contain; }
.doc-dialog .doctor { box-shadow: none; border: 0; }
.doc-dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 16px; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.doc-dialog-close:hover { background: #fff; color: var(--blue); }
@media (max-width: 640px) {
  .doc-dialog { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .doc-dialog-body { max-height: 100dvh; height: 100dvh; border-radius: 0; background: var(--white); }
  .doc-dialog .doctor { border-radius: 0; }
}
.doc-skeleton { height: 420px; border-radius: 28px; background: linear-gradient(90deg, #eef4fb, #f8fbff, #eef4fb); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.doctor {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: 0 24px 50px -28px rgba(11, 61, 145, .35);
}
/* Left: identity + booking */
.doctor-side {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  background: linear-gradient(180deg, #eaf5ff 0%, #f6faff 100%); border-right: 1px solid var(--line);
}
.doctor-photo {
  width: 100%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--grad);
  display: grid; place-items: center; color: var(--white); font-weight: 800; font-size: 56px;
  box-shadow: 0 14px 30px -16px rgba(11, 61, 145, .55);
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.doctor-side h3 { font-size: 24px; font-weight: 800; }
.doctor-degree { margin-top: -8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.doctor-spec { align-self: flex-start; justify-self: start; padding: 5px 12px; border-radius: 99px; background: rgba(29, 111, 216, .1); color: var(--blue-2); font-weight: 700; font-size: 13px; }
.doctor-fee { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 14px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.doctor-fee span { color: var(--muted); font-size: 13px; font-weight: 600; }
.doctor-fee strong { font-size: 22px; font-weight: 800; }
.doctor-side .btn { width: 100%; min-height: 50px; font-size: 15px; white-space: normal; text-align: center; }
.btn-outline { border: 1.5px solid #cfe0f5; color: var(--blue); background: var(--white); }
.btn-outline:hover { border-color: var(--sky); }

/* Right: details */
.doctor-main { display: grid; gap: 22px; padding: 26px 28px; align-content: start; }
.doctor-block h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doctor-block h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.doctor-exp { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doctor-exp li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.doctor-exp li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--grad); }

.avail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px; border-radius: 20px; background: #f2f8ff; border: 1px solid #e1edfb; }
.avail-rule { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 16px; }
.avail-rule svg { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--blue-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.avail-label { margin: 16px 0 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.avail-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.avail-date { display: grid; justify-items: center; gap: 0; padding: 10px 6px; border-radius: 14px; background: var(--white); border: 1px solid #d7e7fb; text-align: center; }
.avail-date small { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.avail-date b { font-size: 22px; line-height: 1.2; color: var(--blue); }
.avail-date i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink); }
.avail-date.first { background: var(--grad); border-color: transparent; }
.avail-date.first small, .avail-date.first b, .avail-date.first i { color: var(--white); }


.doctor-treats { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.doctor-treats li { counter-increment: t; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.doctor-treats li::before { content: counter(t); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(14, 165, 233, .12); color: var(--blue); font-size: 12px; font-weight: 800; }
.doctor-treats.collapsed li:nth-child(n+7) { display: none; }
.treats-toggle { margin-top: 10px; border: 0; background: none; padding: 6px 0; color: var(--blue-2); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }

.doctors-error { text-align: center; color: var(--muted); }
.doctors-error a { color: var(--blue); font-weight: 700; }

@media (max-width: 900px) {
  .doctor { grid-template-columns: minmax(0, 1fr); }
  .doctor-side { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 18px; row-gap: 10px; align-items: center; }
  .doctor-photo { grid-row: span 4; font-size: 40px; border-radius: 20px; }
  .doctor-degree { margin-top: 0; }
  .doctor-side .btn, .doctor-fee { grid-column: 1 / -1; }
  .doctor-main { padding: 22px; }
}
@media (max-width: 640px) {
  .avail-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doctor-treats { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .doctor-side { grid-template-columns: 96px minmax(0, 1fr); padding: 18px; }
  .doctor-side h3 { font-size: 20px; }
  .doctor-main { padding: 18px; }
}
/* Phone: doctor cards become compact rows so a long list stays short */
@media (max-width: 560px) {
  .doctors { gap: 12px; }
  .dcard { display: grid; grid-template-columns: 96px minmax(0, 1fr); border-radius: 20px; }
  .dcard-open { height: 100%; }
  .dcard-photo { aspect-ratio: auto; height: 100%; min-height: 150px; font-size: 30px; }
  .dcard-body { padding: 12px 14px 14px; gap: 4px; }
  .dcard-body h3 { font-size: 17px; }
  .dcard-degree { font-size: 12.5px; }
  .dcard-when { padding: 8px 10px; font-size: 12.5px; }
  .dcard-foot { flex-wrap: wrap; gap: 6px; }
  .dcard-fee { font-size: 17px; flex: 1 1 100%; display: flex; align-items: baseline; gap: 6px; }
  .dcard-foot .btn-sm { flex: 1; min-height: 36px; padding: 0 10px; font-size: 13px; }
  .dcard .doctor-spec { font-size: 11.5px; padding: 3px 9px; }
}

/* Treatments with Hindi / English switch */
.treats-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.treats-head h4 { flex: 1; margin: 0; }
.lang-switch { display: inline-flex; flex: none; padding: 3px; border-radius: 99px; background: #eef4fb; border: 1px solid var(--line); }
.lang-switch button { border: 0; background: none; padding: 6px 14px; border-radius: 99px; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--white); color: var(--blue); box-shadow: 0 2px 6px rgba(11, 61, 145, .15); }
.doctor-treats[data-lang="hi"] .t-en, .doctor-treats[data-lang="en"] .t-hi { display: none; }
.treat { font-size: 14.5px; }

/* ---- Account + booking (login required) ---- */
.acct-slot { display: inline-flex; }
.btn-ghost-dark { background: #eef5ff; color: var(--blue); }
.btn-ghost-dark:hover { background: #e2eeff; }
.acct-menu { position: relative; }
.acct-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 5px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.acct-chip span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: var(--white); font-size: 14px; }
.acct-pop { position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); z-index: 60; }
.acct-pop[hidden] { display: none; }
.acct-pop button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.acct-pop button:hover { background: #f2f8ff; }

.acct-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 26px; background: transparent; overflow: visible; }
.acct-dialog::backdrop { background: rgba(8, 24, 56, .55); backdrop-filter: blur(3px); }
.acct-body { max-height: calc(100dvh - 48px); overflow-y: auto; padding: 28px 24px 24px; background: var(--white); border-radius: 26px; overscroll-behavior: contain; }
.acct-body h2 { font-size: 24px; font-weight: 800; }
.acct-sub { margin-top: 6px; color: var(--muted); font-size: 14px; }
.acct-form { display: grid; gap: 14px; }
.acct-form h2 { margin-right: 40px; }
.acct-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.acct-form label small { color: var(--muted); font-weight: 500; }
.acct-form input, .ab-notes textarea { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: #f5f9ff; font: inherit; font-size: 15px; color: var(--ink); }
.ab-notes textarea { height: auto; padding: 12px 14px; resize: vertical; }
.acct-form input:focus, .ab-notes textarea:focus { outline: none; border-color: var(--sky); background: var(--white); box-shadow: 0 0 0 4px rgba(14, 165, 233, .12); }
.acct-form .btn, .acct-book .btn, .ad-actions .btn { width: 100%; }
.acct-err { padding: 10px 12px; border-radius: 12px; background: rgba(227, 6, 19, .07); color: #c1121f; font-size: 13.5px; font-weight: 600; }
.acct-err[hidden] { display: none; }
.acct-alt, .acct-help { text-align: center; font-size: 13.5px; color: var(--muted); }
.acct-help a { color: var(--blue); font-weight: 700; }
.link { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--blue-2); cursor: pointer; }

.acct-book { display: grid; gap: 14px; }
.ab-doc { display: flex; align-items: center; gap: 12px; margin-right: 40px; }
.ab-photo { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; flex: none; background: var(--grad); }
.ab-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ab-doc > span:last-child { display: grid; }
.ab-doc small { color: var(--muted); font-size: 13px; }
.ab-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ab-dates .avail-date { cursor: pointer; font: inherit; }
.ab-dates .avail-date:hover:not(.first) { border-color: var(--sky); }
.ab-pick { padding: 10px 12px; border-radius: 12px; background: #f2f8ff; font-size: 14px; }
.ab-notes { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.ab-counter { display: grid; padding: 12px 14px; border-radius: 14px; background: linear-gradient(120deg, #e9f8f0, #f2fbf6); font-size: 13.5px; }
.ab-counter b { color: var(--ok); font-size: 15px; }

.acct-done { display: grid; gap: 12px; justify-items: center; text-align: center; }
.ad-tick { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: var(--white); font-size: 34px; font-weight: 800; box-shadow: 0 0 0 12px rgba(14, 138, 75, .12); margin: 8px 0 6px; }
.ad-card { width: 100%; display: grid; gap: 10px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); text-align: left; font-size: 14px; }
.ad-card small { display: block; color: var(--muted); font-size: 12px; }
.ad-pay b { color: var(--ok); }
.ad-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.acct-list ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.acct-list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; }
.acct-list li > div:first-child { display: grid; gap: 2px; }
.acct-list li small { color: var(--muted); font-size: 13px; }
.acct-list li.is-cancelled { opacity: .55; }
.al-right { display: grid; justify-items: end; gap: 4px; text-align: right; font-size: 12.5px; }
.al-st { padding: 3px 9px; border-radius: 99px; font-weight: 700; text-transform: capitalize; background: #fff4df; color: #9a6700; }
.al-st.st-confirmed, .al-st.st-completed { background: #e7f8ef; color: #0f7a3c; }
.al-st.st-cancelled { background: #ffe8ea; color: #c1121f; }
.al-pay { color: var(--muted); font-weight: 600; }
.acct-list .acct-help { margin-top: 14px; }
.doctor-side .btn-outline + .btn-outline { margin-top: -4px; }
@media (max-width: 960px) { .acct-slot { margin-left: auto; } }
@media (max-width: 560px) {
  .acct-dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .acct-body { height: 100dvh; max-height: 100dvh; border-radius: 0; padding: 24px 18px; }
  .ab-dates { gap: 6px; }
  .acct-chip { padding-right: 5px; font-size: 0; gap: 0; }
  .acct-chip span { font-size: 14px; }
  .nav-cta { display: none; }
}

/* ---- Lab tests ---- */
.lab-tools { max-width: 560px; margin: 0 auto 18px; }
.lab-tools input { width: 100%; height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); font: inherit; font-size: 15px; color: var(--ink); }
.lab-tools input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(14, 165, 233, .12); }
.labs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.lab { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.lab-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(11, 61, 145, .08); }
.lab-ic.urine { background: rgba(217, 119, 6, .12); }
.lab-ic svg, .lab-ph svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lab-ic.urine svg { stroke: #b45309; }
.lab-main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.lab-main strong { font-size: 15px; }
.lab-main small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lab-main em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--blue-2); }
.lab-side { flex: none; display: grid; justify-items: end; gap: 6px; }
.lab-side b { font-size: 18px; font-weight: 800; }
.lab-side .btn-sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.lab-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 20px; }
.lab-empty a { color: var(--blue); font-weight: 700; }
.lab-more-wrap { text-align: center; margin-top: 18px; }
.lab-more-wrap .btn[hidden] { display: none; }
.lab-ph { display: grid; place-items: center; background: rgba(11, 61, 145, .08) !important; }

/* ---- Lab tests: filters, multi-select, booking ---- */
.lab-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.lab-filter { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; }
.lab-filter b { margin-left: 4px; padding: 1px 7px; border-radius: 99px; background: #eef4fb; font-size: 12px; }
.lab-filter.on { background: var(--grad); color: var(--white); border-color: transparent; }
.lab-filter.on b { background: rgba(255, 255, 255, .25); }
.lab.picked { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(29, 111, 216, .12); }
.lab-ic.k-urine { background: rgba(217, 119, 6, .12); }
.lab-ic.k-urine svg { stroke: #b45309; }
.lab-ic.k-xray, .lab-ic.k-ecg { background: rgba(124, 58, 237, .1); }
.lab-ic.k-xray svg, .lab-ic.k-ecg svg { stroke: #6d28d9; }
.btn-added { background: #e7f8ef; color: var(--ok); border: 1px solid #b9e6cc; }
.lab-bar { position: sticky; bottom: 16px; z-index: 40; margin-top: 18px; }
.lab-bar[hidden] { display: none; }
.lab-bar-in { display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 0 auto; padding: 12px 12px 12px 20px; background: var(--ink); color: var(--white); border-radius: 18px; box-shadow: 0 18px 40px -12px rgba(11, 31, 68, .55); }
.lab-bar-in > span { flex: 1; min-width: 0; display: grid; }
.lab-bar-in small { color: rgba(255, 255, 255, .7); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lab-bar-in .link { color: rgba(255, 255, 255, .8); }
.lab-bar-in .btn { min-height: 46px; padding: 0 20px; }

.lab-picked { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lab-picked li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #f5f9ff; font-size: 14px; }
.lab-picked li span { flex: 1; font-weight: 600; }
.lab-picked .link { color: var(--muted); font-size: 13px; }
.mode-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode { display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.mode small { color: var(--muted); font-size: 12.5px; }
.mode.on { border-color: var(--blue-2); background: #f2f8ff; box-shadow: 0 0 0 3px rgba(29, 111, 216, .12); }
.mode[data-mode="home"] small { color: var(--ok); font-weight: 700; }
.mode:disabled { opacity: .5; cursor: not-allowed; }
.mode:disabled small { color: var(--muted); }
.lb-label { margin: 2px 0 -6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lb-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lb-days .avail-date:disabled { opacity: .4; cursor: not-allowed; }
.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { padding: 10px 6px; border: 1px solid #d7e7fb; border-radius: 12px; background: var(--white); font: inherit; font-size: 13px; font-weight: 700; color: var(--blue); cursor: pointer; }
.slot.on { background: var(--grad); color: var(--white); border-color: transparent; }
.slot:disabled { color: #b7c3d2; background: #f6f8fb; text-decoration: line-through; cursor: not-allowed; }
.lab-addr { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 10px; }
.lab-addr legend { padding: 0 6px; font-weight: 800; font-size: 14px; }
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addr-grid label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
.addr-grid .span2 { grid-column: 1 / -1; }
.addr-grid input, .addr-grid select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #f5f9ff; font: inherit; font-size: 15px; color: var(--ink); }
.addr-grid input:focus, .addr-grid select:focus { outline: none; border-color: var(--sky); background: var(--white); box-shadow: 0 0 0 4px rgba(14, 165, 233, .12); }
.loc-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.loc-msg { font-size: 13px; color: var(--muted); }
.loc-msg a { color: var(--blue-2); font-weight: 700; }
.lab-addr .acct-help { text-align: left; font-size: 12.5px; }
.lb-total { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border-radius: 14px; background: #f5f9ff; font-size: 14px; }
.lb-total .t { font-size: 16px; font-weight: 800; padding-top: 6px; border-top: 1px dashed var(--line); }
@media (max-width: 480px) {
  .mode-row { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addr-grid { grid-template-columns: 1fr; }
  .lab-bar { bottom: 10px; }
  .lab-bar-in { padding: 10px 10px 10px 14px; gap: 8px; }
  .lab-bar-in .link { display: none; }
}

/* Closed days in lab booking */
.lb-days .avail-date.closed:disabled { opacity: 1; background: #fff4f4; border-color: #f5c2c2; }
.lb-days .avail-date.closed i { color: #c81e1e; font-weight: 800; font-style: normal; }
.lb-closed { margin: -4px 0 0; font-size: 13px; color: #c81e1e; font-weight: 600; }

/* Patients in lab booking */
.lb-hint { font-weight: 500; }
.pt-list { display: grid; gap: 8px; }
.pt-list:empty { display: none; }
.pt-chip { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); padding-right: 6px; }
.pt-chip.on { border-color: var(--blue-2); background: #f2f8ff; box-shadow: 0 0 0 3px rgba(29, 111, 216, .1); }
.pt-pick { flex: 1; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.pt-pick i { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #b9cbe3; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; color: var(--white); }
.pt-chip.on .pt-pick i { background: var(--blue-2); border-color: var(--blue-2); }
.pt-pick span { display: grid; }
.pt-pick small { color: var(--muted); font-size: 12.5px; }
.pt-del { color: var(--muted); padding: 6px; }
.pt-form { padding: 14px; border: 1px dashed #9cc3f0; border-radius: 16px; background: #f7fbff; display: grid; gap: 10px; }
.pt-form-actions { display: flex; align-items: center; gap: 12px; }
.pt-add { justify-self: start; }

/* ---- SEO update: hero H1 / title, Hindi line, FAQ ---- */
.hero h1.eyebrow { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.hero .hero-title { margin: 20px 0 0; font-size: clamp(36px, 6vw, 60px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.hero .hero-title span { color: #bfe6ff; }
.hero .lead-hi { margin: 10px 0 0; font-size: 15px; color: rgba(255, 255, 255, .85); }
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: 0 18px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--blue-2); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; color: var(--muted); }

/* Why choose us */
.why-hi { margin-top: 6px; font-size: 15px; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.why li { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.why li b { font-size: 16px; color: var(--ink); }
.why li b::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: #e7f8ef; color: var(--ok); font-size: 13px; }
.why li span { color: var(--muted); font-size: 14.5px; }

/* ================= Medicines, chat, notifications (care.js) ================= */
:where(.bell, .bell-item, .chat-fab, .cp-x, .cp-btn, .cp-send, .med-forms button, .med-letters button, .qty button, .seg button, .rx-f button, .rx-saved button, .rx-cta) { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
.bell svg, .chat-fab svg, .cp-btn svg, .cp-send svg, .rx-cta-ic svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc { position: relative; }
.svc-link::after { content: ""; position: absolute; inset: 0; }

/* Bell */
.bell-wrap { position: relative; display: inline-flex; }
.bell-wrap:empty { display: none; }
.bell { position: relative; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); background: #eef5ff; }
.bell svg { width: 22px; height: 22px; }
.bell i, .chat-fab i { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font: 800 11px/19px var(--font); font-style: normal; text-align: center; }
.chat-fab i[hidden] { display: none; }
.bell-pop { position: absolute; right: 0; top: calc(100% + 8px); width: min(360px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); z-index: 70; }
.bell-pop[hidden] { display: none; }
.bell-head { padding: 14px 16px 8px; position: sticky; top: 0; background: var(--white); }
.bell-item { display: grid; gap: 2px; width: 100%; text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); }
.bell-item:hover { background: #f5f9ff; }
.bell-item.new { background: #eef6ff; box-shadow: inset 3px 0 0 var(--sky); }
.bell-item span { color: var(--muted); font-size: 14px; }
.bell-item small { color: var(--muted); font-size: 12px; }
.bell-empty { padding: 18px 16px; color: var(--muted); margin: 0; }

/* Chat button + panel */
.chat-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(max(16px, env(safe-area-inset-bottom)) + 68px); z-index: 61; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border-radius: 99px; background: var(--grad); color: #fff; font-weight: 800; box-shadow: 0 12px 28px -8px rgba(11, 61, 145, .6); }
body:not(:has(.wa-float)) .chat-fab { bottom: max(16px, env(safe-area-inset-bottom)); }
.chat-fab svg { width: 24px; height: 24px; }
.chat-open .chat-fab { display: none; }
.chat-panel { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; width: 380px; height: min(600px, calc(100dvh - 32px)); display: flex; flex-direction: column; background: var(--white); border-radius: 22px; box-shadow: 0 24px 60px -18px rgba(11, 31, 68, .5); overflow: hidden; border: 1px solid var(--line); }
.chat-panel[hidden] { display: none; }
.cp-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: var(--grad); color: #fff; }
.cp-head div { flex: 1; display: grid; }
.cp-head small { opacity: .85; font-size: 12px; }
.cp-av { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.cp-x { width: 36px; height: 36px; border-radius: 10px; color: #fff; font-size: 16px; }
.cp-x:hover { background: rgba(255, 255, 255, .18); }
.cp-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f3f7fc; overscroll-behavior: contain; }
.cp-hello { margin: auto 0 0; background: #fff; border-radius: 14px; padding: 12px 14px; color: var(--muted); font-size: 14px; }
.cp-msg { max-width: 82%; padding: 8px 12px; border-radius: 16px; background: #fff; align-self: flex-start; border: 1px solid var(--line); }
.cp-msg.me { align-self: flex-end; background: #dcefff; border-color: #c4e2fb; }
.cp-msg p { margin: 0; white-space: pre-wrap; word-break: break-word; font-size: 15px; }
.cp-msg img { display: block; max-width: 220px; max-height: 240px; border-radius: 10px; margin-bottom: 4px; }
.cp-msg audio { width: 220px; max-width: 100%; height: 36px; }
.cp-msg time { display: block; text-align: right; font-size: 11px; color: var(--muted); margin-top: 2px; }
.cp-doc { font-weight: 700; color: var(--blue); }
.cp-msg { position: relative; }
.cp-msg.flash { animation: cp-flash 1.6s; }
@keyframes cp-flash { 0%, 60% { box-shadow: 0 0 0 3px #f5b400; } }
.cp-reply { position: absolute; top: 50%; translate: 0 -50%; right: -32px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; opacity: 0; transition: opacity .15s; padding: 0; }
.cp-msg.me .cp-reply { right: auto; left: -32px; }
.cp-msg:hover .cp-reply, .cp-reply:focus-visible { opacity: 1; }
@media (hover: none) { .cp-reply { opacity: .75; } }
.cp-quote { display: flex; flex-direction: column; width: 100%; text-align: left; font: inherit; margin: 0 0 5px; padding: 4px 8px; border: 0; border-left: 3px solid var(--blue); border-radius: 8px; background: rgba(29, 111, 216, .08); cursor: pointer; color: inherit; }
.cp-quote b { font-size: 12px; color: var(--blue); }
.cp-quote span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-replying { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 14px; border-top: 1px solid var(--line); border-left: 3px solid var(--blue); background: #f1f6fd; }
.cp-replying[hidden] { display: none; }
.cp-replying > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cp-replying b { font-size: 12px; color: var(--blue); }
.cp-replying span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-x2 { width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; font: inherit; }
.cp-x2:hover { background: #e3edf9; }
.banner-sec { padding-top: clamp(20px, 3vw, 36px); }
.banner-sec[hidden] { display: none; }
.bn-slider { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(11, 31, 68, .45); background: #e9f1fb; }
.bn-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bn-track::-webkit-scrollbar { display: none; }
.bn-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 9; }
.bn-slide > *, .bn-link { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.bn-slide > div { cursor: default; }
.bn-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bn-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #0b1f44; font: inherit; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); opacity: 0; transition: opacity .2s; }
.bn-arrow.prev { left: 14px; }
.bn-arrow.next { right: 14px; }
.bn-slider:hover .bn-arrow, .bn-arrow:focus-visible { opacity: 1; }
.bn-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; }
.bn-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); cursor: pointer; transition: width .2s; }
.bn-dots button[aria-current="true"] { width: 24px; background: #fff; }
@media (max-width: 640px) { .bn-slider { border-radius: 16px; } .bn-arrow { display: none; } }
.bell-img { display: block; width: 100%; max-height: 140px; object-fit: cover; border-radius: 10px; margin: 4px 0 2px; }
.promo-pop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(8, 20, 45, .62); animation: promo-in .2s ease-out; }
@keyframes promo-in { from { opacity: 0; } }
.promo-card { position: relative; max-width: min(440px, 100%); max-height: calc(100dvh - 40px); }
.promo-card img { display: block; max-width: 100%; max-height: calc(100dvh - 40px); border-radius: 18px; box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .55); background: #fff; }
.promo-card img[role="button"] { cursor: pointer; }
.promo-x { position: absolute; top: -12px; right: -12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #0b1f44; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.promo-x:hover { background: #eef5ff; }
@media (max-width: 480px) { .promo-x { top: 8px; right: 8px; } }
.holiday-bar { position: relative; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 10px max(16px, env(safe-area-inset-left)); background: #fff4e5; color: #6b4300; border-bottom: 1px solid #f6d7a7; font-size: 14px; line-height: 1.45; }
.holiday-bar.now { background: #fdecec; color: #8f1d14; border-color: #f5c2c2; }
.holiday-bar > span { flex: 1; max-width: 1180px; margin: 0 auto; }
.holiday-bar [lang="hi"] { margin-left: 4px; }
.holiday-bar button { flex: 0 0 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; cursor: pointer; }
.holiday-bar button:hover { background: rgba(0, 0, 0, .06); }
.bell-push { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; padding: 10px 12px; border-radius: 12px; background: #eef5ff; font-size: 13px; color: var(--ink); }
.bell-push span { flex: 1 1 180px; }
.bell-push small { flex-basis: 100%; color: var(--red); }
.bell-push.on { background: #eaf8ef; color: #17713a; }
.bell-push.off { background: #fff4e5; color: #8a5300; }
.cp-push { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fffbe8; border-top: 1px solid #f3e6b0; font-size: 13px; }
.cp-push span { flex: 1; }
.cp-push button { font: inherit; font-weight: 700; color: var(--blue); background: none; border: 0; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.cp-push button:hover { background: #fff3c2; }
.cp-form { display: flex; align-items: flex-end; gap: 6px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.cp-form textarea { flex: 1; min-width: 0; min-height: 42px; max-height: 110px; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 15px; }
.cp-form textarea:focus { outline: 2px solid var(--sky); border-color: transparent; }
.cp-btn, .cp-send { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.cp-btn:hover { background: #eef5ff; color: var(--blue); }
.cp-btn svg, .cp-send svg { width: 22px; height: 22px; }
.cp-send { background: var(--grad); color: #fff; }
.cp-mic.rec { background: var(--red); color: #fff; animation: cp-pulse 1s infinite; }
@keyframes cp-pulse { 50% { opacity: .6; } }
.cp-status { margin: 0; padding: 0 14px 8px; font-size: 13px; color: var(--muted); }
.cp-status:empty { display: none; }
.cp-login { flex: 1; display: grid; align-content: center; gap: 12px; padding: 24px; text-align: center; color: var(--muted); }
@media (max-width: 520px) {
  .chat-panel { inset: 0; width: auto; height: 100dvh; border-radius: 0; border: 0; }
  .chat-fab span { display: none; }
  .chat-fab { padding: 0; width: 56px; justify-content: center; }
}

/* My orders (account dialog) */
.mo { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-top: 10px; display: grid; gap: 6px; }
.mo.cancelled { opacity: .65; }
.mo-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.mo-top b { color: var(--blue); }
.mo.delivered .mo-top b { color: var(--ok); }
.mo.cancelled .mo-top b { color: var(--red); }
.mo-top small, .mo-rx { color: var(--muted); font-size: 13px; margin: 0; }
.mo-line, .mo-total { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.mo-total { border-top: 1px dashed var(--line); padding-top: 6px; }
.mo-note { margin: 0; background: #fff8e6; border-radius: 10px; padding: 6px 10px; font-size: 14px; }
.mo-rxs { display: flex; gap: 6px; flex-wrap: wrap; }
.mo-rxs a { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 12px; color: var(--blue); }
.mo-rxs img { width: 100%; height: 100%; object-fit: cover; }

/* Medicines page */
.nav a[aria-current="page"] { color: var(--blue); background: #eef5ff; }
.med-hero { background: linear-gradient(180deg, #eaf4ff, var(--bg)); padding: 36px 0 18px; }
.med-hero-in { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.med-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.15; margin: 0 0 8px; }
.med-hero p { color: var(--muted); max-width: 640px; margin: 0 0 16px; }
.med-search { display: flex; gap: 8px; max-width: 640px; }
.med-search input { flex: 1; min-width: 0; height: 52px; border: 1px solid var(--line); border-radius: 16px; padding: 0 16px; font: inherit; font-size: 16px; background: #fff; }
.med-search input:focus { outline: 2px solid var(--sky); border-color: transparent; }
.rx-cta { font: inherit; display: grid; justify-items: center; gap: 4px; padding: 20px 26px; border-radius: 22px; background: #fff; border: 2px dashed #9cc7f5; text-align: center; color: var(--ink); }
.rx-cta:hover { border-color: var(--sky); background: #f6fbff; }
.rx-cta-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 4px; }
.rx-cta-ic svg { width: 28px; height: 28px; }
.rx-cta small { color: var(--muted); }
.med-shop { padding-top: 12px; padding-bottom: 110px; }
.med-forms, .med-letters { display: flex; gap: 6px; overflow-x: auto; padding: 6px 0; scrollbar-width: thin; }
.med-forms button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--muted); }
.med-forms button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.med-letters { gap: 4px; }
.med-letters button { flex: 0 0 auto; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px; font-weight: 800; font-size: 13.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); }
.med-letters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.med-info { color: var(--muted); font-size: 14px; margin: 10px 2px; }
.meds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 10px; }
.med { display: flex; gap: 12px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.med-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.med-main strong { font-size: 15.5px; }
.med-main small { color: var(--ink); opacity: .75; font-size: 13px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.med-main em { font-style: normal; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rx { justify-self: start; font-size: 11px; font-weight: 800; color: var(--red); background: #fff0f1; border-radius: 6px; padding: 1px 6px; margin-top: 2px; }
.rx.disc { color: #4b5563; background: #eef0f3; }
.med-side { display: grid; justify-items: end; gap: 6px; text-align: right; }
.med-side b { font-size: 16px; }
.med-side s, .med-side small { color: var(--muted); font-size: 12px; }
.med-side .ask { max-width: 90px; line-height: 1.2; }
.med-side .btn-sm { min-height: 38px; padding: 0 16px; }
.med-empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--muted); background: #fff; border-radius: 18px; border: 1px dashed var(--line); }
.med-ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; background: #eef5ff center / 24px no-repeat; }
.med-img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 14px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 3px; }
.med-forms .med-ic { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 0; background-color: transparent; background-size: 18px; }
.med-forms .on .med-ic { filter: brightness(0) invert(1); }
.med-ic[data-form] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3d91' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='9' width='18' height='6' rx='3' transform='rotate(-45 12 12)'/%3E%3Cpath d='m9.5 9.5 5 5'/%3E%3C/svg%3E"); }
.med-ic[data-form="Tablet"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3d91' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M6.5 17.5 17.5 6.5'/%3E%3C/svg%3E"); }
.med-ic[data-form="Syrup"], .med-ic[data-form="Solution"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3d91' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M10 2h4v3l2 3v12a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V8l2-3z'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E"); }
.med-ic[data-form="Injection"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3d91' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m18 2 4 4M17 7l-9 9-3 1 1-3 9-9M14 4l6 6M9 11l2 2'/%3E%3C/svg%3E"); }
.med-ic[data-form="Drops"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3d91' stroke-width='1.8'%3E%3Cpath d='M12 3s6 7 6 11a6 6 0 0 1-12 0c0-4 6-11 6-11z'/%3E%3C/svg%3E"); }
.med-ic[data-form="Cream & Ointment"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3d91' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M7 8h10l-1 13H8z'/%3E%3Cpath d='M9 8V5h6v3M10 2h4v3h-4z'/%3E%3C/svg%3E"); }
.med-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(16px, env(safe-area-inset-bottom)); width: min(620px, calc(100% - 120px)); display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 10px 10px 10px 20px; background: var(--ink); color: #fff; border-radius: 18px; box-shadow: 0 18px 40px -12px rgba(11, 31, 68, .55); margin: 0; z-index: 55; }
.med-bar[hidden] { display: none; }
.med-disclaimer { color: var(--muted); font-size: 13px; margin-top: 18px; }
@media (max-width: 760px) {
  .med-hero-in { grid-template-columns: 1fr; }
  .rx-cta { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 14px; padding: 14px 16px; }
  .rx-cta-ic { grid-row: span 2; margin: 0; }
  .med-bar { left: 16px; right: 88px; width: auto; transform: none; }
  .med-search .btn { padding: 0 16px; }
}

/* Cart dialog */
.cart-dlg h2 { margin-bottom: 10px; }
.cart-lines { list-style: none; margin: 0 0 6px; padding: 0; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto 72px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-lines li div { display: grid; min-width: 0; }
.cart-lines small { color: var(--muted); font-size: 12.5px; }
.cl-p { text-align: right; font-weight: 700; }
.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.qty button { width: 34px; height: 34px; font-size: 18px; font-weight: 800; color: var(--blue); border-radius: 10px; }
.qty button:hover { background: #eef5ff; }
.qty b { min-width: 22px; text-align: center; }
.cart-sum { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0 14px; }
.cart-sum span { color: var(--muted); font-size: 14px; }
.rx-box { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-bottom: 14px; display: grid; gap: 6px; background: #f8fbff; }
.rx-box.need { border-color: #f6b8bd; background: #fff7f7; }
.rx-box small { color: var(--muted); }
.rx-box .req { color: var(--red); font-size: 12px; }
.rx-box .opt { color: var(--muted); font-size: 12px; font-weight: 600; }
.rx-files, .rx-saved { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rx-f { position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.rx-f img { width: 100%; height: 100%; object-fit: cover; }
.rx-f i { font-style: normal; font-weight: 800; color: var(--blue); }
.rx-f button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(11, 31, 68, .75); color: #fff; font-size: 11px; }
.rx-add { width: 132px; height: 72px; border-radius: 12px; border: 2px dashed #9cc7f5; display: grid; place-items: center; align-content: center; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--blue); cursor: pointer; background: #fff; }
.rx-add span { font-size: 20px; line-height: 1; }
.rx-saved button { width: 56px; display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 800; color: var(--blue); }
.rx-saved img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.rx-msg { margin: 0; font-size: 13px; color: var(--red); }
.rx-msg:empty { display: none; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.seg button { display: grid; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.seg button small { color: var(--muted); font-size: 12px; }
.seg button.on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #f2f7ff; }
.fld { display: grid; gap: 4px; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.fld small { font-weight: 500; color: var(--muted); }
.fld input, .fld textarea { font: inherit; font-weight: 500; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.pay-note { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
.cart-dlg > .btn { width: 100%; }
/* care.js */

/* Report / order tracking steps */
.trk { list-style: none; margin: 10px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trk li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 11.5px; color: #5b6b85; }
.trk li::before { content: ''; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: #d5dfec; z-index: 0; }
.trk li:first-child::before { display: none; }
.trk li.done::before, .trk li.now::before { background: #0e8a4b; }
.trk i { position: relative; z-index: 1; font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #d5dfec; color: #5b6b85; font-weight: 800; font-size: 12px; }
.trk li.done i { background: #0e8a4b; color: #fff; }
.trk li.now i { background: #0b3d91; color: #fff; }
.trk li.done span, .trk li.now span { color: #0b1f44; font-weight: 700; }
.al-rep { margin-top: 8px; display: inline-flex; }
.rp-h { margin: 14px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: #5b6b85; }
.rp-card { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.rp-card.ready { border-color: #bfe5cf; }
.rp-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rp-top small { color: #5b6b85; }
.rp-sum { margin: 6px 0 8px; color: #34425c; font-size: 14px; }
.rp-card .btn { margin-top: 8px; }

/* Tracker: undo the booking-list card style on its steps, draw a clean line */
.acct-list ol.trk, ol.trk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 12px 0 6px; padding: 4px 0 0; border: 0; }
.acct-list ol.trk li, ol.trk li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding: 0 2px; border: 0; border-radius: 0; background: none; text-align: center; font-size: 12px; line-height: 1.25; }
ol.trk li::before { top: 13px; left: calc(-50% + 16px); width: calc(100% - 32px); height: 3px; border-radius: 2px; }
ol.trk i { width: 28px; height: 28px; font-size: 12.5px; box-shadow: 0 0 0 4px #fff; }
ol.trk li.now i { box-shadow: 0 0 0 4px #dbe8fb; }
.mo .trk { margin: 14px 0 10px; padding: 12px 8px; background: #f7faff; border-radius: 14px; }
.mo .trk i { box-shadow: 0 0 0 4px #f7faff; }
.mo .trk li.now i { box-shadow: 0 0 0 4px #dbe8fb; }

.al-inv { display: inline-block; margin-top: 4px; font-weight: 700; }
.mo-inv { margin-top: 10px; display: inline-flex; }

/* Coupon box (checkout) */
.cp-box { margin: 10px 0; padding: 12px; border: 1px dashed #9cc3f0; border-radius: 14px; background: #f7fbff; display: grid; gap: 8px; }
.cp-row { display: flex; gap: 8px; }
.cp-row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.cp-row .btn { margin: 0; }
.cp-offers { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.cp-offers button { flex: none; text-align: left; border: 1px solid #9cc3f0; background: #fff; border-radius: 10px; padding: 6px 10px; cursor: pointer; font: inherit; display: grid; }
.cp-offers b { color: #0b3d91; letter-spacing: 1px; font-size: 13px; }
.cp-offers small { color: var(--muted); font-size: 11.5px; }
.cp-applied { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #0b5c33; background: #eaf7ef; border-radius: 10px; padding: 8px 10px; font-size: 14px; }
.cp-line { color: #0e8a4b; }

/* Links from the home page to the search pages */
.labs-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* Google Play badge + MVD Health app section */
.play-badge { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 14px; border-radius: 12px; background: #000; color: #fff; border: 1px solid #a6a6a6; line-height: 1.1; text-align: left; transition: transform .15s, box-shadow .15s; }
.play-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .55); }
.play-badge:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.play-badge svg { width: 24px; height: 26px; flex: none; }
.play-badge span { display: grid; }
.play-badge small { font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.play-badge strong { font-size: 19px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.play-badge-sm { height: 44px; padding: 0 16px 0 12px; border-radius: 10px; margin-top: 14px; }
.play-badge-sm svg { width: 20px; height: 22px; }
.play-badge-sm strong { font-size: 16px; }
.hero-app { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.hero-app > span { font-size: 14px; color: rgba(255, 255, 255, .88); max-width: 16em; }
.hero-app .play-badge { border-color: rgba(255, 255, 255, .5); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-actions .play-badge { border-color: rgba(255, 255, 255, .5); }
.app-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 36px); align-items: center; padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.app-icon { width: 96px; height: 96px; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 12px 24px -14px rgba(11, 61, 145, .55); }
.app-copy h2 { margin-top: 6px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.app-copy p { margin-top: 10px; color: var(--muted); max-width: 42em; }
.app-copy .why-hi { margin-top: 6px; }
.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.app-qr { margin: 0; display: grid; justify-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.app-qr img { width: 132px; height: 132px; }
.app-qr figcaption { font-size: 12px; font-weight: 600; color: var(--muted); }
@media (max-width: 760px) {
  .app-band { grid-template-columns: minmax(0, 1fr); }
  .app-icon { width: 72px; height: 72px; border-radius: 18px; }
  .app-qr { display: none; }
}
.footer-app { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 20px 6px; font-weight: 600; color: var(--muted); }
.footer-app .play-badge-sm { margin-top: 0; }

/* Hamburger (☰) button + side menu (all screen sizes) */
.menu-btn { flex: none; display: inline-grid; place-content: center; gap: 4px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--blue); cursor: pointer; transition: background .15s; }
.menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-btn:hover { background: #eef5ff; }
.menu-btn + .brand { margin-left: -8px; }
.topbar .acct-slot { margin-left: auto; }
.topbar .nav-cta { margin-left: 0; }
.nav-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 90; width: min(340px, 88vw); display: flex; flex-direction: column; background: var(--white); box-shadow: 24px 0 60px -24px rgba(11, 31, 68, .45); transform: translateX(-102%); visibility: hidden; transition: transform .28s ease, visibility .28s; overflow-y: auto; overscroll-behavior: contain; }
body.nav-open .nav-drawer { transform: none; visibility: visible; transition: transform .28s ease, visibility 0s; }
.nav-scrim { position: fixed; inset: 0; z-index: 85; background: rgba(8, 20, 45, .45); opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s; }
body.nav-open .nav-scrim { opacity: 1; visibility: visible; transition: opacity .28s, visibility 0s; }
body.nav-open { overflow: hidden; }
.nd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--line); }
.nd-head img { height: 36px; width: auto; }
.nd-close { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #eef5ff; color: var(--blue); cursor: pointer; }
.nd-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.nd-links { display: grid; gap: 2px; padding: 12px; }
.nd-links a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 16px; color: var(--ink); }
.nd-links a:hover, .nd-links a[aria-current="page"] { background: #eef5ff; color: var(--blue); }
.nd-links svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--blue-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nd-foot { margin-top: auto; display: grid; gap: 12px; justify-items: start; padding: 18px 20px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.nd-foot .btn { width: 100%; }

/* ==== Buttons: one look everywhere ====
   Every button (.btn-primary / -outline / -ghost-dark / -glass) is the same blue button:
   same colour, shape, font and shadow. Two sizes only: normal (48px) and small (42px, in lists and the top bar).
   On blue/dark areas (hero, "Book your test today" band, cart bar) the same button is white so it stays visible. */
.btn { min-height: 48px; padding: 0 22px; border-radius: 14px; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .15s, filter .15s, box-shadow .15s, background .15s; }
.btn-primary, .btn-outline, .btn-ghost-dark, .btn-glass { background: var(--grad); color: var(--white); border: 0; box-shadow: 0 10px 22px -10px rgba(11, 61, 145, .6); }
.btn-primary:hover, .btn-outline:hover, .btn-ghost-dark:hover, .btn-glass:hover { background: var(--grad); color: var(--white); filter: brightness(1.08); box-shadow: 0 14px 26px -10px rgba(11, 61, 145, .7); }
.btn-white, .hero .btn, .cta-band .btn, .lab-bar-in .btn, .med-bar .btn { background: var(--white); color: var(--blue); border: 0; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); }
.btn-white:hover, .hero .btn:hover, .cta-band .btn:hover, .lab-bar-in .btn:hover, .med-bar .btn:hover { background: #f1f7ff; color: var(--blue); filter: none; }
.btn-sm, .dcard-foot .btn-sm, .lab-side .btn-sm, .med-side .btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.lab-bar-in .btn, .doctor-side .btn { min-height: 48px; }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; transform: none; box-shadow: none; }
.btn-added, .btn-added:hover { background: #e7f8ef; color: var(--ok); border: 1px solid #b9e6cc; box-shadow: none; filter: none; }
/* ☰ button: same blue button */
.menu-btn { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--grad); color: var(--white); box-shadow: 0 10px 22px -10px rgba(11, 61, 145, .6); }
.menu-btn:hover { background: var(--grad); filter: brightness(1.08); }
/* "Get it on Google Play": the same button as every other one, with the Play logo in a small white tile */
.play-badge { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px 0 9px; border: 0; border-radius: 14px; background: var(--grad); color: var(--white); font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap; box-shadow: 0 10px 22px -10px rgba(11, 61, 145, .6); transition: transform .15s, filter .15s, box-shadow .15s, background .15s; }
.play-badge:hover { transform: none; filter: brightness(1.08); box-shadow: 0 14px 26px -10px rgba(11, 61, 145, .7); }
.play-badge:active { transform: scale(.98); }
.play-badge svg { box-sizing: border-box; width: 30px; height: 30px; padding: 6px 5px 6px 7px; border-radius: 9px; background: var(--white); }
.play-badge span { display: inline; }
.play-badge-sm { height: 42px; padding: 0 16px 0 7px; font-size: 14px; border-radius: 12px; }
.play-badge-sm svg { width: 28px; height: 28px; padding: 6px 5px 6px 7px; border-radius: 8px; }
.hero .play-badge, .cta-band .play-badge { background: var(--white); color: var(--blue); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); }
.hero .play-badge:hover, .cta-band .play-badge:hover { background: #f1f7ff; filter: none; }
.hero .play-badge svg, .cta-band .play-badge svg { background: #eef5ff; }
/* Side menu: WhatsApp and Google Play buttons are identical (full width, same height) */
.nd-foot { gap: 10px; justify-items: stretch; }
.nd-foot .btn, .nd-foot .play-badge { width: 100%; height: 48px; min-height: 48px; margin: 0; font-size: 15px; border-radius: 14px; }
.nd-foot .play-badge { padding: 0 22px 0 9px; }
.nd-foot .play-badge svg { width: 30px; height: 30px; }
.nd-foot .btn { justify-content: center; gap: 10px; padding: 0 22px 0 9px; }
.nd-foot .btn svg { box-sizing: border-box; flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 9px; background: var(--white); fill: none; stroke: #16a34a; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* Contact page: 2 roomy cards per row so the email and address fit */
.contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
@media (max-width: 560px) { .contacts { grid-template-columns: minmax(0, 1fr); } }

/* ==== UI polish (21 Nov 2026) ==== */
/* Calmer spacing between sections */
.section { padding-block: clamp(40px, 6vw, 72px); }
.seo-hero + .section { padding-top: clamp(24px, 4vw, 40px); }
.cta-band { margin-top: clamp(8px, 2vw, 24px); }

/* Test rows: price and button side by side on wide cards; test name opens its details page */
.lab-main strong a { color: inherit; }
.lab-main strong a:hover { color: var(--blue); text-decoration: underline; }
.lab-main em { line-height: 1.35; }
@media (min-width: 721px) {
  .lab-side { display: flex; align-items: center; gap: 14px; }
  .lab-side b { min-width: 58px; text-align: right; }
}

/* Medicines: chip rows scroll sideways without showing a scrollbar */
.med-forms, .med-letters { scrollbar-width: none; -ms-overflow-style: none; }
.med-forms::-webkit-scrollbar, .med-letters::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .med-letters { flex-wrap: wrap; overflow: visible; } }

/* Floating Chat / WhatsApp buttons (tablet + desktop): two equal round buttons that never sit on the "Book now" bar */
@media (min-width: 721px) and (max-width: 1320px) {
  .chat-fab { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .chat-fab span { display: none; }
}
@media (min-width: 721px) and (max-width: 1000px) {
  body:has(.lab-bar:not([hidden])) .wa-float { bottom: 96px; }
  body:has(.lab-bar:not([hidden])) .chat-fab { bottom: 164px; }
}

/* Phones: bottom action bar instead of floating buttons (built by nav.js) */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 62; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 28px -18px rgba(11, 31, 68, .45); }
  .mbar a, .mbar button { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 52px; padding: 4px 2px; border: 0; border-radius: 14px; background: none; font: inherit; font-size: 11.5px; font-weight: 700; line-height: 1.1; color: var(--muted); cursor: pointer; }
  .mbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mbar a:active, .mbar button:active { background: #eef5ff; color: var(--blue); }
  .mbar .mb-main { background: var(--grad); color: var(--white); box-shadow: 0 8px 18px -10px rgba(11, 61, 145, .7); }
  .mbar i { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--red); color: #fff; font: 800 10.5px/17px var(--font); font-style: normal; text-align: center; }
  .mbar i[hidden] { display: none; }
  body.has-mbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.has-mbar .wa-float, body.has-mbar .chat-fab { display: none; }
  body.has-mbar .footer-base { padding-bottom: 20px; }
  body.has-mbar .lab-bar { bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.has-mbar .med-bar { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.nav-open .mbar, .chat-open .mbar { display: none; }
}

/* Phones: buttons in a block are all the same width */
@media (max-width: 560px) {
  .hero-actions .btn, .hero-app .play-badge, .cta-actions, .cta-actions .btn, .cta-actions .play-badge, .app-actions .play-badge { width: 100%; flex: 1 1 100%; }
  .hero-app > span { max-width: none; }
  .lab-bar-in { gap: 10px; padding: 10px 10px 10px 16px; }
}

/* =====================================================================================
   Premium theme (v2, 21 Nov 2026)
   Deep-navy hero with the real app in a phone, floating glass header, soft depth on cards,
   dark footer. Everything below overrides the older rules above.
   ===================================================================================== */
:root {
  --navy: #05173a;
  --bar: 74px; /* floating header: 10px gap + 62px bar + 2px border */
  --shadow-sm: 0 1px 2px rgba(11, 31, 68, .05), 0 10px 26px -16px rgba(11, 31, 68, .22);
  --shadow-lg: 0 40px 80px -36px rgba(5, 23, 58, .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
body { background: #f4f8fe; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: rgba(14, 165, 233, .28); }

/* ---- Header: floating glass bar ---- */
.topbar { background: none; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 10px clamp(10px, 3vw, 24px) 0; pointer-events: none; }
.topbar-in { pointer-events: auto; min-height: 62px; gap: 14px; padding-inline: 12px; border-radius: 22px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 18px 44px -26px rgba(5, 23, 58, .6), 0 2px 8px -4px rgba(5, 23, 58, .12); }
.brand img { height: 38px; }
/* The first block of every page slides under the floating header */
.hero, .seo-hero, .med-hero { margin-top: calc(-1 * var(--bar)); }

/* ---- Home hero ---- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); padding-top: var(--bar); background: linear-gradient(140deg, #030f29 0%, #06204f 36%, #0a3a8c 68%, #0f6fd1 100%); border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg .glow { position: absolute; aspect-ratio: 1; border-radius: 50%; filter: blur(80px); animation: drift 16s ease-in-out infinite alternate; }
.hero-bg .g1 { width: min(46vw, 620px); left: -12%; top: -34%; background: rgba(14, 165, 233, .55); }
.hero-bg .g2 { width: min(44vw, 580px); right: -8%; top: 6%; background: rgba(59, 130, 246, .62); animation-delay: -5s; }
.hero-bg .g3 { width: min(38vw, 480px); left: 30%; bottom: -44%; background: rgba(99, 102, 241, .42); animation-delay: -10s; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 75% 75% at 68% 38%, #000 0%, transparent 78%); mask-image: radial-gradient(ellipse 75% 75% at 68% 38%, #000 0%, transparent 78%); }
@keyframes drift { to { transform: translate3d(5%, 7%, 0) scale(1.1); } }

.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 5vw, 64px) clamp(84px, 9vw, 116px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: 1.35; color: rgba(255, 255, 255, .92); }
.eyebrow i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5ef2a8; box-shadow: 0 0 0 4px rgba(94, 242, 168, .22), 0 0 14px 2px rgba(94, 242, 168, .7); }
.hero .hero-title { margin: 22px 0 0; font-size: clamp(40px, 6.1vw, 74px); font-weight: 800; line-height: 1.03; letter-spacing: -.035em; }
.hero .hero-title span { background: linear-gradient(92deg, #67d2ff 0%, #bfe6ff 48%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 20px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 33em; }
.lead b { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { list-style: none; margin: 34px 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 14px clamp(22px, 3.4vw, 44px); border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-facts li { display: grid; gap: 2px; }
.hero-facts b { font-size: clamp(20px, 2.1vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.hero-facts span { font-size: 13px; color: rgba(255, 255, 255, .68); }

/* Phone with the real app screen */
.hero-visual { position: relative; display: block; max-width: none; padding: 0; }
.phone { position: relative; width: min(292px, 64%); margin: 0 auto; padding: 9px; border-radius: 44px; background: linear-gradient(160deg, #24385f, #060e22 62%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22), 0 60px 110px -44px rgba(0, 0, 0, .8), 0 0 130px -24px rgba(56, 189, 248, .6); transform: rotate(3deg); animation: phone-in 1s var(--ease) both; }
.phone img { width: 100%; height: auto; border-radius: 35px; }
.phone::before { content: ""; position: absolute; z-index: 1; top: 19px; left: 50%; width: 62px; height: 17px; margin-left: -31px; border-radius: 99px; background: #050c1d; }
@keyframes phone-in { from { opacity: 0; transform: translateY(36px) rotate(7deg) scale(.96); } }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 258px; margin: 0; padding: 12px 16px 12px 12px; background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 18px; box-shadow: 0 26px 54px -22px rgba(2, 10, 36, .75), 0 0 0 1px rgba(255, 255, 255, .6); animation: float 6s ease-in-out infinite; }
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card strong { font-size: 14px; line-height: 1.25; }
.float-card small { font-size: 12.5px; line-height: 1.3; }
.fc-1 { left: -2%; top: 11%; margin: 0; }
.fc-2 { right: -2%; top: 45%; margin: 0; animation-delay: -2s; }
.fc-3 { left: 2%; bottom: 9%; margin: 0; animation-delay: -4s; }

/* ---- Highlights card (overlaps the hero) ---- */
.hl { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; width: min(1096px, calc(100% - 2 * clamp(16px, 4vw, 32px))); margin: -48px auto 0; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); }
.hl-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; transition: background .2s, transform .2s var(--ease); }
.hl-item:hover { background: #f1f7ff; transform: translateY(-2px); }
.hl-item > span:last-child { display: grid; gap: 1px; min-width: 0; }
.hl-item b { font-size: 15px; line-height: 1.3; }
.hl-item small { color: var(--muted); font-size: 13px; }

/* ---- Sections ---- */
.kicker { padding: 6px 13px; border-radius: 99px; background: rgba(29, 111, 216, .1); font-size: 12px; letter-spacing: .09em; }
.section-head h2 { margin-top: 14px; font-size: clamp(27px, 3.7vw, 42px); letter-spacing: -.03em; }
.section-head p { font-size: 16.5px; }
.banner-sec { padding-top: clamp(28px, 4vw, 48px); }
.bn-slider { border-radius: 26px; box-shadow: var(--shadow-lg); }

/* How it works */
.steps { gap: 20px; }
.steps li { position: relative; overflow: hidden; padding: 26px 24px 26px; background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.steps li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.steps li::before { content: "Step " attr(data-n); display: block; margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue-2); order: 2; }
.steps li::after { content: "0" attr(data-n); position: absolute; right: 16px; top: -14px; font-size: 118px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: rgba(11, 61, 145, .055); pointer-events: none; }
.steps li { display: flex; flex-direction: column; }
.st-ic { order: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: var(--white); box-shadow: 0 14px 26px -12px rgba(11, 61, 145, .7); }
.st-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { order: 3; margin-top: 6px; font-size: 20px; }
.steps p { order: 4; margin-top: 8px; font-size: 15px; }

/* Booking band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, #04143a 0%, #0a3a8c 55%, #0f74d6 100%); border-radius: 32px; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 460px; aspect-ratio: 1; right: -90px; top: -230px; border-radius: 50%; background: rgba(56, 189, 248, .5); filter: blur(72px); }
.cta-band::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.03em; }

/* ---- Cards everywhere: soft depth + lift on hover ---- */
.lab, .med, .dcard, .svc, .contact, .fact-card, .side-card, .pkg-card, .faq-item, .why li, .app-band, .rx-cta { box-shadow: var(--shadow-sm); }
.svc, .dcard, .pkg-card, .contact, .why li { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.svc:hover, .dcard:hover, .pkg-card:hover, .contact:hover, .why li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lab, .med { transition: border-color .2s, box-shadow .2s; }
.lab:hover, .med:hover { border-color: #cfe0f5; box-shadow: 0 14px 30px -18px rgba(11, 61, 145, .35); }
.svc { border-radius: 26px; }
.faq-item { border-radius: 18px; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { border-color: #cfe0f5; box-shadow: 0 16px 34px -20px rgba(11, 61, 145, .35); }
.faq-item summary::after { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #eef5ff; font-size: 18px; }
.lab-tools input, .med-search input { box-shadow: var(--shadow-sm); }
.btn-primary, .btn-outline, .btn-ghost-dark, .btn-glass, .menu-btn, .play-badge { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 24px -12px rgba(11, 61, 145, .7); }
.btn:hover, .play-badge:hover { transform: translateY(-1px); }
.btn:active, .play-badge:active { transform: scale(.98); }
.hero .btn, .cta-band .btn, .hero .play-badge, .cta-band .play-badge, .btn-white, .lab-bar-in .btn, .med-bar .btn { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); }

/* ---- Footer: dark ---- */
.footer { margin-top: clamp(8px, 2vw, 24px); background: var(--navy); border-top: 0; color: rgba(255, 255, 255, .74); }
.footer-in { padding-block: 44px 28px; }
.footer-brand img { height: 54px; width: auto; padding: 9px 14px; background: var(--white); border-radius: 16px; }
.footer-brand p { margin-top: 12px; color: rgba(255, 255, 255, .6); }
.footer-contact a { color: rgba(255, 255, 255, .9); }
.footer-contact a:hover { color: #7dd3fc; }
.footer-social a { border-color: rgba(255, 255, 255, .2); color: var(--white); transition: background .2s, transform .2s var(--ease); }
.footer-social a:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); }
.footer-base a:hover { color: var(--white); }
.footer-app { color: rgba(255, 255, 255, .78); padding-block: 26px 16px; }
.footer-app b { color: var(--white); }

/* ---- Scroll reveal (classes are added by nav.js only for content below the first screen) ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease) !important; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Tablet ---- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-bottom: 0; }
  .hero-visual { width: 100%; max-width: 440px; height: 340px; margin: 0 auto; }
  .phone { width: 236px; border-radius: 38px; }
  .phone img { border-radius: 30px; }
  .fc-1 { left: 0; top: 9%; }
  .fc-2 { right: 0; top: 46%; }
  .fc-3 { display: none; }
  .hl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---- Phone ---- */
@media (max-width: 720px) {
  :root { --bar: 70px; }
  .topbar-in { min-height: 58px; border-radius: 20px; padding-inline: 10px; gap: 10px; }
  .brand img { height: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::after { font-size: 96px; }
}
@media (max-width: 560px) {
  .hero-actions .btn, .hero-actions .play-badge { width: 100%; flex: 1 1 100%; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; padding-top: 20px; }
  .hero-facts b { font-size: 19px; }
  .hero-facts span { font-size: 12px; line-height: 1.35; }
  .hero-visual { height: 300px; }
  .phone { width: 212px; }
  .float-card { max-width: 196px; padding: 10px 12px 10px 10px; gap: 10px; }
  .float-card .chip { display: none; }
  .float-card small { display: none; }
  .hl { margin-top: -40px; border-radius: 22px; }
  .hl-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .hl-item b { font-size: 14px; }
  .hl-item small { font-size: 12.5px; }
  .footer-in { padding-block: 36px 22px; }
}
@media (max-width: 420px) {
  .brand img { height: 30px; }
}

.med-hero { padding-top: calc(var(--bar) + 34px); background: radial-gradient(720px 340px at 92% -12%, rgba(14, 165, 233, .22), transparent 70%), linear-gradient(180deg, #e4f0ff 0%, #f4f8fe 100%); }
.float-card { max-width: none; }
.float-card strong, .float-card small { white-space: nowrap; }
@media (min-width: 961px) { .fc-1 { left: -7%; top: 13%; } }
@media (min-width: 721px) { .footer-base { padding-bottom: 30px; } }
