/* Be Sure Hitech Diagnostic Centre - clean clinical light theme */
:root {
  --blue: #2553c4;
  --blue-dark: #1b3f9a;
  --navy: #1e3a78;
  --teal: #0f9f8f;
  --green: #2fae4e;
  --coral: #e8604c;
  --violet: #6d5bd0;

  --sky: #e2ecff;
  --mint: #d8f3ee;
  --rose: #fde6e1;
  --lav: #e9e6ff;

  --sky-50: #f3f7ff;
  --mint-50: #f0faf8;
  --rose-50: #fff6f4;
  --lav-50: #f6f5ff;

  --ink: #0f1b33;
  --text: #45506a;
  --muted: #6b778f;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 27, 51, .05), 0 8px 24px rgba(15, 27, 51, .06);
  --shadow-lg: 0 2px 4px rgba(15, 27, 51, .05), 0 18px 40px rgba(15, 27, 51, .10);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

.scribble { color: var(--blue); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(37, 83, 196, .22); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--teal)); display: grid; place-items: center;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.2rem; color: var(--navy); letter-spacing: -.02em; }
.brand-sub { font-size: .72rem; color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: var(--text); font-weight: 500; font-size: .94rem;
  padding: 8px 14px; border-radius: 8px; transition: background .2s, color .2s;
}
.nav a:hover { color: var(--blue); background: var(--sky-50); }
.nav a.active { color: var(--blue); background: var(--sky); font-weight: 600; }
.nav .btn { margin-left: 10px; padding: 10px 18px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--blue-dark); }
.nav-toggle {
  display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  width: 42px; height: 42px; cursor: pointer; color: var(--ink); font-size: 18px;
}

@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-50), #fff 85%); }
.hero .container { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.035em; margin-bottom: 20px; font-weight: 800; }
.hero-lead { font-size: 1.1rem; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { color: var(--teal); }
.hero-media { position: relative; }
.hero-illus { width: 100%; height: auto; display: block; overflow: visible; }
.hero-badge {
  position: absolute; right: 4%; bottom: -4%;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
}
.hero-badge .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--rose); color: var(--coral); display: grid; place-items: center; font-size: 17px; }
.hero-badge strong { display: block; color: var(--ink); font-size: .92rem; }
.hero-badge small { color: var(--muted); font-size: .8rem; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 56px; gap: 24px; }
  .hero-media { max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-badge { position: relative; right: auto; bottom: auto; margin: -8px auto 0; width: fit-content; }
}

/* Page header (inner pages) */
.page-hero { padding: 48px 0 52px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-50), #fff); }
.page-hero.tint-mint { background: linear-gradient(180deg, var(--mint-50), #fff); }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.03em; font-weight: 800; }
.page-hero p { max-width: 540px; margin: 0; font-size: 1.06rem; }
.page-hero-art { justify-self: center; width: 210px; height: 210px; display: grid; place-items: center; border-radius: 50%; }
.page-hero-art .illus { width: 64%; height: 64%; overflow: visible; }
.crumbs { font-size: .85rem; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
@media (max-width: 760px) {
  .page-hero { padding: 32px 0 40px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .page-hero-art { order: -1; width: 132px; height: 132px; }
  .page-hero p { margin: 0 auto; }
}

/* Colour helpers */
.blob-sky, .blob-butter { background: var(--sky); }
.blob-mint { background: var(--mint); }
.blob-peach { background: var(--rose); }
.blob-lav { background: var(--lav); }
.card.tint-sky { background: var(--sky-50); }
.card.tint-mint { background: var(--mint-50); }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .25s, transform .25s, border-color .25s;
}
a.card { display: block; color: inherit; }
a.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #d3dcf0; color: inherit; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--blue); }

.icon-tile {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sky); color: var(--blue); font-size: 21px; margin-bottom: 20px;
}
.icon-tile.green { background: var(--mint); color: var(--teal); }

.illus-blob { width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; }
.illus-blob .illus { width: 54px; height: 54px; overflow: visible; }

/* Hours strip */
.hours { margin-top: -30px; position: relative; z-index: 2; }
.hours .card { display: flex; align-items: center; gap: 18px; padding: 20px 24px; box-shadow: var(--shadow); }
.hours .icon-tile { margin: 0; flex: none; background: #fff; box-shadow: 0 1px 3px rgba(15,27,51,.08); }
.hours h3 { font-size: 1rem; margin: 0 0 2px; }
.hours p { margin: 0; color: var(--text); }

/* Services */
.service { text-align: center; }
.service .illus-blob { margin-left: auto; margin-right: auto; width: 88px; height: 88px; border-radius: 50%; }
.service .illus-blob .illus { width: 60px; height: 60px; }

/* Upcoming */
.upcoming {
  display: flex; align-items: center; gap: 24px; max-width: 640px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow);
}
.upcoming img { width: 72px; height: 72px; border-radius: 50%; background: var(--sky-50); object-fit: cover; flex: none; }
.upcoming h3 { margin: 0 0 2px; font-size: 1.1rem; }
.upcoming p { margin: 0; color: var(--muted); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); background: var(--mint); padding: 4px 10px; border-radius: 6px; margin-bottom: 6px; }

/* CTA band */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--blue-dark), var(--blue) 55%, var(--teal));
  color: #fff; border-radius: 20px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 6px; }
.cta p { color: rgba(255, 255, 255, .86); margin: 0; }
.cta .btn-white { background: #fff; color: var(--blue); }
.cta .btn-white:hover { background: var(--sky-50); color: var(--blue-dark); }
.cta .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .cta { padding: 32px 24px; } }

/* Packages */
.intro-text { max-width: 760px; margin: 0 auto 48px; text-align: center; font-size: 1.05rem; }
.package { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.package-head { padding: 24px 24px 20px; border-bottom: 1px solid var(--line); border-top: 4px solid var(--blue); }
.grid > .package:nth-child(4n+2) .package-head { border-top-color: var(--teal); }
.grid > .package:nth-child(4n+3) .package-head { border-top-color: var(--violet); }
.grid > .package:nth-child(4n+4) .package-head { border-top-color: var(--green); }
.package-head h3 { font-size: 1.08rem; margin: 0 0 6px; }
.package-head p { font-size: .88rem; }
.package-count {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700;
  color: var(--teal); background: var(--mint-50); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.package ul { padding: 18px 24px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; flex: 1; align-content: start; }
.package li { display: flex; align-items: flex-start; gap: 8px; font-size: .92rem; color: var(--ink); }
.package li i { color: var(--teal); margin-top: 5px; font-size: .78rem; }
.package-foot { padding: 0 24px 24px; }
.package-foot .btn { width: 100%; }
.package.featured { border-color: var(--blue); box-shadow: 0 0 0 3px var(--sky), var(--shadow); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 18px; color: var(--ink); font-weight: 500;
}
.chip i { color: var(--blue); font-size: 1.05rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }
.gallery a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.gallery a::after {
  content: "\f00e"; font-family: FontAwesome; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 24px; color: #fff;
  background: rgba(15, 27, 51, .35); opacity: 0; transition: opacity .25s;
}
.gallery a:hover img { transform: scale(1.04); }
.gallery a:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(15, 27, 51, .9);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 46px; height: 46px; border-radius: 50%; font-size: 20px; cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Team */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.member { text-align: center; width: 260px; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-size: 2rem; font-weight: 700;
  color: var(--blue); background: var(--sky);
}
.avatar-mint { color: var(--teal); background: var(--mint); }
.member h3 { margin-bottom: 4px; font-size: 1.15rem; }
.member p { color: var(--muted); font-size: .92rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: stretch; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list .icon-tile { width: 44px; height: 44px; border-radius: 12px; font-size: 18px; margin: 0; flex: none; }
.contact-list li:nth-child(2) .icon-tile { background: var(--rose); color: var(--coral); }
.contact-list li:nth-child(3) .icon-tile { background: var(--mint); color: var(--teal); }
.contact-list li:nth-child(4) .icon-tile { background: var(--lav); color: var(--violet); }
.contact-list strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.contact-list span, .contact-list a { font-size: .95rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Covid tests */
.test-card h3 { font-size: 1.25rem; }
.test-card .package-count { margin-bottom: 14px; }
.test-card p { color: var(--text); }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; display: flex; gap: 10px; }
.site-footer li i { color: var(--teal); width: 16px; margin-top: 5px; flex: none; text-align: center; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--blue); }
.footer-about { color: var(--muted); max-width: 320px; margin-top: 16px; }
.copyright { border-top: 1px solid var(--line); padding: 20px 0; text-align: center; color: var(--muted); font-size: .85rem; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--blue); box-shadow: var(--shadow); cursor: pointer;
  display: grid; place-items: center; font-size: 18px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) { a.card:hover { transform: none; } }
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .card { padding: 24px; }
}

/* Logo image: logo.jpeg is square with white space, so crop to the artwork */
.brand img { height: 48px; width: auto; aspect-ratio: 2.1 / 1; object-fit: cover; object-position: 50% 46%; mix-blend-mode: multiply; }
.site-footer .brand img { height: 52px; }
@media (max-width: 600px) { .brand img { height: 38px; } }
.hours-card { max-width: 560px; margin: 0 auto; justify-content: center; text-align: center; }

/* Specialist doctors */
.doctor { padding: 0; overflow: hidden; }
.doctor img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.doctor-info { padding: 20px 24px 24px; }
.doctor-info h3 { margin-bottom: 4px; }
.doctor-info p { color: var(--text); }
.doctor-info .quals { color: var(--muted); font-size: .88rem; margin-top: 4px; }
