/* =====================================================================
   BIH — styles.css
   Vanilla CSS, no build step. Three landing-page designs scoped under
   .design--v1 / .design--v2 / .design--v3, plus a floating version switcher.
   Brand palette taken from the BAU International Hospital logo (medical blues).
===================================================================== */

/* ---------- Brand fonts (Helvetica Neue LT Geo) ---------- */
@font-face {
  font-family: "HN Geo Bold Caps";
  src: url("../fonts/helvetica-neue-lt-geo-75-bold-caps.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "HN Geo Roman Caps";
  src: url("../fonts/helvetica-neue-lt-geo-55-roman-caps.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "HN Geo Roman";
  src: url("../fonts/helvetica-neue-lt-geo-55-roman.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --bih-cyan: #29ABE2;
  --bih-blue: #1A75BB;
  --bih-blue-d: #155f97;
  --bih-navy: #0c2742;
  --bih-navy-2: #102f4e;
  --grad: linear-gradient(135deg, #29ABE2 0%, #1A75BB 100%);
  --ink: #1f2a37;
  --muted: #5b6b7b;
  --line: #e6ecf2;
  --bg-soft: #f3f8fc;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(16, 47, 78, .07);
  --shadow-md: 0 14px 40px rgba(16, 47, 78, .12);
  --font: "HN Geo Roman", "Noto Sans Georgian", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "HN Geo Roman", "Noto Sans Georgian", "Segoe UI", system-ui, sans-serif;
  --font-head: "HN Geo Roman Caps", "Noto Sans Georgian", "Segoe UI", system-ui, sans-serif;   /* h2 / h3 */
  --font-head-bold: "HN Geo Bold Caps", "Noto Sans Georgian", "Segoe UI", system-ui, sans-serif; /* h1 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; }
/* Brand typography per element: h1 = bold-caps, h2/h3 = roman-caps, body/p = roman, nav = roman-caps */
h1 { font-family: var(--font-head-bold); }
h2, h3, h4 { font-family: var(--font-head); }
p { margin: 0; font-family: var(--font-body); }
nav a { font-family: var(--font-head); }
ul { margin: 0; padding: 0; list-style: none; }
iframe { border: 0; }

/* ---------- design visibility (controlled by main.js) ---------- */
.design { display: none; }
.design.is-active { display: block; }
/* Before JS runs, show v1 so there is no blank flash. */
body:not([data-active-design]) .design--v1 { display: block; }

/* =====================================================================
   VERSION SWITCHER — review tool only (div-based, not an analytics event)
===================================================================== */
.vswitch {
  position: fixed; z-index: 1000; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px;
  background: rgba(12, 39, 66, .92); color: #fff;
  padding: 7px 10px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  backdrop-filter: blur(6px);
  font-size: 13px;
}
.vswitch__label { opacity: .7; padding: 0 6px 0 4px; }
.vswitch__opt {
  cursor: pointer; padding: 6px 14px; border-radius: 999px;
  color: #cfe3f2; transition: background .2s, color .2s; white-space: nowrap;
}
.vswitch__opt:hover { color: #fff; }
.vswitch__opt.is-active { background: var(--grad); color: #fff; }
.vswitch__opt:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* shared focus visibility for custom controls */
[role="button"]:focus-visible { outline: 2px solid var(--bih-blue); outline-offset: 2px; }


/* =====================================================================
   ============================  DESIGN V1  ============================
   "Clean Clinical"
===================================================================== */
.v1-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.design--v1 { color: var(--ink); }

.v1-h2 { font-size: clamp(26px, 3.2vw, 38px); color: var(--bih-navy); }
.v1-eyebrow {
  display: inline-block; color: var(--bih-blue); font-weight: 700;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px;
}
.v1-sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.v1-sec-head__sub { color: var(--muted); margin-top: 10px; }

/* buttons */
.v1-btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-head); font-size: 15px; font-weight: 600; border: 0;
  padding: 12px 22px; border-radius: 10px; transition: transform .15s, box-shadow .2s, background .2s;
}
.v1-btn img { width: 18px; height: 18px; }
.v1-btn--lg { padding: 15px 28px; font-size: 16px; }
.v1-btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); }
.v1-btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.v1-btn--primary img { filter: brightness(0) invert(1); }
.v1-btn--ghost { background: rgba(255, 255, 255, .15); color: #fff; border: 1.5px solid rgba(255, 255, 255, .65); }
.v1-btn--ghost:hover { background: #fff; color: var(--bih-blue); }
.v1-btn--ghost img { filter: brightness(0) invert(1); }
.v1-btn--ghost:hover img { filter: none; }
.v1-btn--outline { background: transparent; color: var(--bih-blue); border: 1.5px solid var(--bih-blue); }
.v1-btn--outline:hover { background: var(--bih-blue); color: #fff; }
.v1-btn--outline:hover img { filter: brightness(0) invert(1); }

/* top bar */
.v1-topbar { background: var(--bih-navy); color: #cfe0ee; font-size: 13.5px; }
.v1-topbar__row { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.v1-topbar__items { display: flex; gap: 22px; align-items: center; }
.v1-topbar__items span, .v1-topbar__items a { display: inline-flex; align-items: center; gap: 7px; }
.v1-topbar img { width: 15px; height: 15px; filter: brightness(0) invert(1); opacity: .8; }
.v1-topbar a:hover { color: #fff; }
.v1-topbar__social { display: inline-flex; align-items: center; gap: 6px; }
.v1-topbar__social button { background: none; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; transition: background .2s; }
.v1-topbar__social button:hover { background: rgba(255, 255, 255, .15); }

/* header */
.v1-header { position: sticky; top: 0; z-index: 200; background: #fff; box-shadow: var(--shadow-sm); }
.v1-header__row { display: flex; align-items: center; gap: 24px; height: 80px; }
.v1-brand__img { height: 60px; width: auto; }
.v1-nav { display: flex; gap: 26px; margin-left: auto; }
.v1-nav a { color: var(--bih-navy); padding: 6px 0; position: relative; }
.v1-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--grad); transition: width .25s; }
.v1-nav a:hover::after { width: 100%; }
.v1-header__cta { white-space: nowrap; }
.v1-burger { display: none; cursor: pointer; padding: 8px; }
.v1-burger img { width: 26px; height: 26px; }

/* hero */
.v1-hero { position: relative; min-height: 710px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.v1-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v1-hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12, 39, 66, .88) 0%, rgba(12, 39, 66, .55) 55%, rgba(26, 117, 187, .35) 100%); }
/* Full container width so hero text starts at the logo's left edge (not a centered narrow block).
   width:100% needed because .v1-hero is a flex container (item would otherwise shrink to content). */
.v1-hero__inner { position: relative; width: 100%; max-width: 1180px; padding-top: 40px; padding-bottom: 40px; }
.v1-hero__eyebrow { display: inline-block; font-weight: 600; letter-spacing: .04em; background: rgba(255, 255, 255, .14); padding: 7px 14px; border-radius: 999px; font-size: 13.5px; margin-bottom: 20px; }
.v1-hero__title { font-size: clamp(32px, 5vw, 56px); line-height: 1.12; }
.v1-hero__sub { margin: 20px 0 30px; font-size: clamp(16px, 1.6vw, 19px); max-width: 600px; color: #e7eef5; }
.v1-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* feature trio */
.v1-features { margin-top: -60px; position: relative; z-index: 5; }
.v1-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.v1-feature { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-md); border-top: 4px solid var(--bih-cyan); }
.v1-feature__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: var(--bg-soft); margin-bottom: 16px; }
.v1-feature__icon img { width: 30px; height: 30px; }
.v1-feature h3 { color: var(--bih-navy); font-size: 19px; margin-bottom: 8px; }
.v1-feature p { color: var(--muted); font-size: 15px; }

/* about — faint brand-petal watermark bleeding from the left */
.v1-about { position: relative; overflow: hidden; padding: 90px 0; }
.v1-about::before {
  content: ""; position: absolute; top: 50%; left: -150px; transform: translateY(-50%);
  width: 460px; height: 460px; background: url("../img/bg.png") no-repeat center / contain;
  opacity: .07; pointer-events: none; z-index: 0;
}
.v1-about__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.v1-about__media { position: relative; }
.v1-about__media img { border-radius: var(--radius); width: 100%; height: 460px; object-fit: cover; box-shadow: var(--shadow-md); }
.v1-about__badge { position: absolute; right: -16px; bottom: -16px; background: var(--grad); color: #fff; border-radius: var(--radius); padding: 18px 24px; text-align: center; box-shadow: var(--shadow-md); }
.v1-about__badge strong { display: block; font-size: 30px; }
.v1-about__badge span { font-size: 13px; opacity: .9; }
.v1-about__body p { color: var(--muted); margin-top: 16px; }
.v1-founders { display: flex; gap: 30px; margin-top: 26px; flex-wrap: wrap; }
.v1-founder { display: flex; align-items: center; gap: 12px; }
.v1-founder__avatar { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-soft); }
.v1-founder__avatar img { width: 24px; height: 24px; }
.v1-founder strong { display: block; color: var(--bih-navy); }
.v1-founder span { font-size: 13px; color: var(--muted); }

/* services */
.v1-services { padding: 90px 0; background: var(--bg-soft); }
.v1-services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.v1-service { background: #fff; border-radius: var(--radius); padding: 26px 20px; text-align: center; border: 1px solid var(--line); transition: transform .18s, box-shadow .2s, border-color .2s; }
.v1-service:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.v1-service__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bg-soft); margin-bottom: 14px; color: var(--bih-blue); transition: background .2s, color .2s; }
.v1-service:hover .v1-service__icon { background: var(--grad); color: #fff; }
.v1-service__icon img { width: 32px; height: 32px; }
.v1-service h3 { font-size: 16px; color: var(--bih-navy); }

/* doctors */
.v1-doctors { padding: 90px 0; }
.v1-doctors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.v1-doc { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .18s, box-shadow .2s; }
.v1-doc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.v1-doc__photo { aspect-ratio: 1 / 1.05; overflow: hidden; background: var(--bg-soft); }
.v1-doc__photo img { width: 100%; height: 100%; object-fit: cover; }
.v1-doc h3 { font-size: 17px; color: var(--bih-navy); padding: 16px 16px 4px; }
.v1-doc p { font-size: 13px; color: var(--muted); padding: 0 16px 18px; }

/* stats */
.v1-stats { background: var(--grad); color: #fff; padding: 54px 0; }
.v1-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.v1-stat strong { display: block; font-size: 42px; font-weight: 800; }
.v1-stat span { opacity: .9; font-size: 15px; }

/* gallery — faint brand-petal watermark bleeding from the right */
.v1-gallery { position: relative; overflow: hidden; padding: 90px 0; background: var(--bg-soft); }
.v1-gallery::after {
  content: ""; position: absolute; top: 50%; right: -150px; transform: translateY(-50%);
  width: 460px; height: 460px; background: url("../img/bg.png") no-repeat center / contain;
  opacity: .07; pointer-events: none; z-index: 0;
}
.v1-gallery > .v1-container { position: relative; z-index: 1; }
.v1-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v1-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.v1-gallery img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s; }
.v1-gallery figure:hover img { transform: scale(1.07); }

/* contact */
.v1-contact { padding: 90px 0; }
.v1-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.v1-contact__list { margin: 24px 0 28px; display: grid; gap: 16px; }
.v1-contact__list li { display: flex; align-items: center; gap: 14px; }
.v1-contact__list img { width: 22px; height: 22px; }
.v1-contact__list span { color: var(--ink); }
/* clickable contact rows (tracked buttons styled as info rows) */
.v1-contact__row { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; margin: 0; font: inherit; font-family: var(--font-body); color: var(--ink); cursor: pointer; text-align: left; transition: color .15s; }
button.v1-contact__row:hover, button.v1-contact__row:hover span { color: var(--bih-blue); }
.v1-contact__row--static { cursor: default; }
.v1-contact__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.v1-contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.v1-contact__map iframe { width: 100%; height: 380px; }

/* footer — four-petal brand symbol on the left */
.v1-footer { position: relative; overflow: hidden; background: var(--bih-navy); color: #aebfce; }
.v1-footer::before {
  content: ""; position: absolute; left: -110px; bottom: -90px;
  width: 380px; height: 380px; background: url("../img/bg.png") no-repeat center / contain;
  opacity: .1; pointer-events: none; z-index: 0;
}
.v1-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding: 60px 20px; }
.v1-footer__bar { position: relative; z-index: 1; }
.v1-footer__logo { height: 60px; background: #fff; padding: 8px 12px; border-radius: 10px; width: auto; }
.v1-footer__brand p { margin-top: 16px; max-width: 360px; font-size: 14.5px; }
.v1-footer__col h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.v1-footer__col a, .v1-footer__col span { display: block; margin-bottom: 10px; font-size: 14.5px; }
.v1-footer__col a:hover { color: #fff; }
/* clickable footer contact entries (tracked buttons styled as links) */
.v1-footer__link, .v2-footer__link, .v3-footer__link { display: block; background: none; border: 0; padding: 0; margin: 0 0 10px; font: inherit; font-family: var(--font-body); font-size: 14.5px; color: #aebfce; cursor: pointer; text-align: left; transition: color .15s; }
.v1-footer__link:hover, .v2-footer__link:hover, .v3-footer__link:hover { color: #fff; }
.v1-footer__social, .v2-footer__social, .v3-footer__social { display: flex; gap: 10px; margin-top: 14px; }
.v1-footer__social button, .v2-footer__social button, .v3-footer__social button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); display: grid; place-items: center; cursor: pointer; transition: background .2s; padding: 0; }
.v1-footer__social button:hover, .v2-footer__social button:hover, .v3-footer__social button:hover { background: var(--bih-blue); }
.v1-footer__social img, .v2-footer__social img, .v3-footer__social img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.v1-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.v1-footer__bar .v1-container { padding-top: 18px; padding-bottom: 18px; }
.v1-footer__bar-row, .v2-footer__bar-row, .v3-footer__bar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.v1-footer__credit a, .v2-footer__credit a, .v3-footer__credit a { color: var(--bih-cyan); }
.v1-footer__credit a:hover, .v2-footer__credit a:hover, .v3-footer__credit a:hover { color: #fff; }


/* =====================================================================
   ============================  DESIGN V2  ============================
   "Bold Modern"
===================================================================== */
.v2-container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.design--v2 { background: #fff; }
.v2-h2 { font-size: clamp(27px, 3.4vw, 40px); color: var(--bih-navy); }
.v2-eyebrow { display: inline-block; color: var(--bih-cyan); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.v2-sec-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }

.v2-btn { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 15px; border: 0; padding: 13px 24px; border-radius: 999px; transition: transform .15s, box-shadow .2s, background .2s; }
.v2-btn img { width: 18px; height: 18px; }
.v2-btn--lg { padding: 16px 30px; font-size: 16px; }
.v2-btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(41, 171, 226, .35); }
.v2-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(41, 171, 226, .45); }
.v2-btn--primary img { filter: brightness(0) invert(1); }
.v2-btn--soft { background: #eaf4fb; color: var(--bih-blue); }
.v2-btn--soft:hover { background: #d9ecf8; }

/* shared language switcher (div-based — not an analytics event) */
.lang-switcher { display: flex; align-items: center; gap: 2px; }
.lang-option { cursor: pointer; padding: 3px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 600; font-family: var(--font-head); color: #cfe0ee; transition: background .2s, color .2s; }
.lang-option:hover { color: #fff; }
.lang-option.is-active { background: rgba(255, 255, 255, .16); color: #fff; }
.lang-option:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

/* topbar (above nav): address · social · language */
.v2-topbar { background: var(--bih-navy); color: #cfe0ee; font-size: 13px; }
.v2-topbar__row { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.v2-topbar__addr { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; color: inherit; font: inherit; font-family: var(--font-body); cursor: pointer; }
.v2-topbar__addr img { width: 15px; height: 15px; filter: brightness(0) invert(1); opacity: .8; }
.v2-topbar__addr:hover { color: #fff; }
.v2-topbar__right { display: flex; align-items: center; gap: 16px; }
.v2-topbar__social { display: flex; gap: 6px; }
.v2-topbar__social button { background: none; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; transition: background .2s; }
.v2-topbar__social button:hover { background: rgba(255, 255, 255, .15); }
.v2-topbar__social img { width: 15px; height: 15px; filter: brightness(0) invert(1); opacity: .85; }

/* header (sticky, solid white so nav is always legible) */
.v2-header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.v2-header__row { display: flex; align-items: center; gap: 24px; height: 76px; }
.v2-brand img { height: 60px; width: auto; }
.v2-nav { display: flex; gap: 28px; margin-left: auto; }
.v2-nav a { color: var(--bih-navy); }
.v2-nav a:hover { color: var(--bih-blue); }
.v2-header.is-scrolled { box-shadow: var(--shadow-md); }
.v2-burger { display: none; cursor: pointer; padding: 8px; background: rgba(255,255,255,.9); border-radius: 10px; }
.v2-burger img { width: 24px; height: 24px; }

/* hero */
.v2-hero { position: relative; overflow: hidden; background: linear-gradient(150deg, #eaf6fe 0%, #cfe7fa 52%, #e9f4fb 100%); padding: 150px 0 90px; }
.v2-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.v2-chip { display: inline-block; background: #eaf4fb; color: var(--bih-blue); font-weight: 700; font-size: 13.5px; padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; }
.v2-hero__title { font-size: clamp(34px, 5.2vw, 42px); line-height: 1.08; color: var(--bih-navy); }
.v2-hero__title span { color: var(--bih-blue); }
.v2-hero__sub { margin: 22px 0 30px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 520px; }
.v2-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.v2-hero__mini { display: flex; gap: 24px; margin-top: 26px; flex-wrap: wrap; }
.v2-hero__mini span { display: inline-flex; align-items: center; gap: 8px; color: var(--bih-navy); font-weight: 600; font-size: 14px; }
.v2-hero__mini img { width: 20px; height: 20px; }
.v2-hero__media { position: relative; }
.v2-hero__petal { position: absolute; z-index: 0; top: -28%; right: -28%; width: 155%; opacity: .22; pointer-events: none; }
.v2-hero__slides { position: relative; z-index: 1; width: 100%; height: 470px; }
.v2-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-md); opacity: 0; transition: opacity 1s ease; }
.v2-hero__img.is-active { opacity: 1; }
.v2-hero__card { position: absolute; z-index: 2; left: -22px; bottom: 30px; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px; }
.v2-hero__card-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); color: var(--bih-blue); }
.v2-hero__card-ico img { width: 26px; height: 26px; }
.v2-hero__card strong { font-size: 24px; color: var(--bih-navy); display: block; }
.v2-hero__card small { color: var(--muted); }

/* highlight strip */
.v2-strip { margin-top: -36px; position: relative; z-index: 4; }
.v2-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-md); padding: 26px; }
.v2-strip__item { display: flex; align-items: center; gap: 16px; }
.v2-strip__item span { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--bg-soft); color: var(--bih-blue); flex: none; }
.v2-strip__item span img { width: 30px; height: 30px; }
.v2-strip__item strong { display: block; color: var(--bih-navy); }
.v2-strip__item small { color: var(--muted); }

/* about */
.v2-about { padding: 96px 0; }
.v2-about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.v2-about__media { position: relative; padding-bottom: 30px; }
.v2-about__media > img { width: 86%; height: 420px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-md); }
.v2-about__media2 { position: absolute; right: 0; bottom: 0; width: 46%; height: 230px; object-fit: cover; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow-md); }
.v2-about__years { position: absolute; left: 0; top: 18px; background: var(--grad); color: #fff; border-radius: 16px; padding: 14px 20px; text-align: center; box-shadow: var(--shadow-md); }
.v2-about__years strong { display: block; font-size: 26px; }
.v2-about__years span { font-size: 12px; opacity: .9; }
.v2-about__body > p { color: var(--muted); margin-top: 16px; }
.v2-checks { margin: 22px 0; display: grid; gap: 12px; }
.v2-checks li { display: flex; align-items: center; gap: 12px; color: var(--bih-navy); font-weight: 500; }
.v2-checks img { width: 22px; height: 22px; color: var(--bih-cyan); }
.v2-founders { display: flex; gap: 28px; margin-top: 8px; flex-wrap: wrap; }
.v2-founder { border-left: 3px solid var(--bih-cyan); padding-left: 14px; }
.v2-founder strong { display: block; color: var(--bih-navy); }
.v2-founder span { font-size: 13px; color: var(--muted); }

/* founders section — co-founder cards with photo + bio */
.v2-foundersec { padding: 96px 0; }
.v2-foundersec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.v2-fcard { display: flex; gap: 20px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-sm); padding: 26px; align-items: flex-start; }
.v2-fcard__media { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.v2-fcard__photo { width: 170px; height: 200px; border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.v2-fcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.v2-fcard__sign { width: 140px; height: auto; opacity: .85; }
.v2-fcard__body h3 { font-size: 19px; color: var(--bih-navy); }
.v2-fcard__role { display: inline-block; color: var(--bih-blue); font-size: 13px; font-weight: 700; margin: 2px 0 10px; }
.v2-fcard__body p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* services — horizontal carousel, with four-petal watermark on the left */
.v2-services { position: relative; overflow: hidden; padding: 96px 0; background: var(--bg-soft); }
.v2-services::before { content: ""; position: absolute; top: 50%; left: -150px; transform: translateY(-50%); width: 440px; height: 440px; background: url("../img/bg.png") no-repeat center / contain; opacity: .07; pointer-events: none; }
.v2-services > .v2-container { position: relative; z-index: 1; }
.v2-carousel { position: relative; }
.v2-carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none; -ms-overflow-style: none; }
.v2-carousel__track::-webkit-scrollbar { display: none; }
.v2-carousel__track > * { flex: 0 0 auto; scroll-snap-align: start; }
.v2-services__track .v2-service { width: 220px; }
.v2-carousel__btn { position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s; }
.v2-carousel__btn img { width: 22px; height: 22px; }
.v2-carousel__btn--prev { left: -12px; }
.v2-carousel__btn--prev img { transform: rotate(180deg); }
.v2-carousel__btn--next { right: -12px; }
.v2-carousel__btn:hover { background: var(--grad); }
.v2-carousel__btn:hover img { filter: brightness(0) invert(1); }
.v2-carousel__btn.is-disabled { opacity: .3; pointer-events: none; }
.v2-service { background: #fff; border-radius: 18px; padding: 30px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.v2-service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.v2-service__icon { display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 18px; background: var(--grad); color: #fff; margin-bottom: 16px; }
.v2-service__icon img { width: 34px; height: 34px; filter: brightness(0) invert(1); }
.v2-service h3 { font-size: 16.5px; color: var(--bih-navy); }

/* doctors — photo card with a floating info panel overlapping the bottom */
.v2-doctors { padding: 96px 0; }
.v2-doctors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.v2-doc { position: relative; transition: transform .2s; }
.v2-doc:hover { transform: translateY(-6px); }
.v2-doc__photo { aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.v2-doc__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.v2-doc:hover .v2-doc__photo img { transform: scale(1.06); }
.v2-doc__body { position: relative; z-index: 1; margin: -48px 12px 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); padding: 16px 14px; text-align: center; border-bottom: 3px solid var(--bih-cyan); }
.v2-doc__body h3 { font-size: 16px; color: var(--bih-navy); margin-bottom: 5px; }
.v2-doc__body p { font-size: 12.5px; color: var(--muted); }

/* stat band — faint four-petal symbol watermark */
.v2-stats { position: relative; overflow: hidden; background: var(--bih-navy); color: #fff; padding: 60px 0; }
.v2-stats::before { content: ""; position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 320px; height: 320px; background: url("../img/bg.png") no-repeat center / contain; opacity: .1; pointer-events: none; }
.v2-stats__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.v2-stat strong { display: block; font-size: 44px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.v2-stat span { opacity: .85; }

/* gallery */
.v2-gallery { padding: 96px 0; background: var(--bg-soft); }
.v2-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.v2-gallery figure { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.v2-gallery__big { grid-column: span 2; grid-row: span 2; }
.v2-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.v2-gallery figure:hover img { transform: scale(1.06); }

/* contact */
.v2-contact { padding: 96px 0; }
.v2-contact__card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-md); }
.v2-contact__info { padding: 52px 46px; background: #fff; }
.v2-contact__info > p { color: var(--muted); margin: 12px 0 20px; }
.v2-contact__list { display: grid; gap: 14px; margin-bottom: 26px; }
.v2-contact__list li { display: flex; align-items: center; gap: 14px; color: var(--bih-navy); font-weight: 500; }
.v2-contact__list span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bg-soft); color: var(--bih-blue); flex: none; }
.v2-contact__list span img { width: 20px; height: 20px; }
.v2-contact__row { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; margin: 0; font: inherit; font-family: var(--font-body); color: var(--bih-navy); font-weight: 500; cursor: pointer; text-align: left; transition: color .15s; }
.v2-contact__row:hover { color: var(--bih-blue); }
.v2-contact__map iframe { width: 100%; height: 100%; min-height: 420px; }

/* footer — four-petal watermark on the right */
.v2-footer { position: relative; overflow: hidden; background: var(--bih-navy); color: #aebfce; }
.v2-footer::after { content: ""; position: absolute; right: -110px; bottom: -90px; width: 380px; height: 380px; background: url("../img/bg.png") no-repeat center / contain; opacity: .1; pointer-events: none; }
.v2-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 40px; padding: 64px 22px; }
.v2-footer__bar { position: relative; z-index: 1; }
.v2-footer__logo { height: 60px; width: auto; background: #fff; padding: 8px 12px; border-radius: 10px; }
.v2-footer__brand p { margin: 16px 0; max-width: 360px; font-size: 14.5px; }
.v2-footer__fb { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); }
.v2-footer__fb img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.v2-footer__fb:hover { background: var(--bih-blue); }
.v2-footer__col h4 { color: #fff; margin-bottom: 16px; }
.v2-footer__col a, .v2-footer__col span { display: block; margin-bottom: 10px; font-size: 14.5px; }
.v2-footer__col a:hover { color: #fff; }
.v2-footer__bar { border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.v2-footer__bar .v2-container { padding-top: 18px; padding-bottom: 18px; }


/* =====================================================================
   ============================  DESIGN V3  ============================
   "Premium Editorial"
===================================================================== */
.v3-container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.design--v3 { background: #fff; }
.v3-h2 { font-size: clamp(28px, 3.6vw, 44px); color: var(--bih-navy); letter-spacing: -.01em; }
.v3-h2--light { color: #fff; }
.v3-eyebrow { display: inline-block; color: var(--bih-blue); font-weight: 700; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 12px; }
.v3-eyebrow--light { color: var(--bih-cyan); }
.v3-sec-head { margin-bottom: 48px; }

.v3-btn { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 15px; border: 0; padding: 13px 26px; border-radius: 4px; transition: transform .15s, box-shadow .2s, background .2s, color .2s; }
.v3-btn img { width: 18px; height: 18px; }
.v3-btn--lg { padding: 16px 32px; font-size: 16px; }
.v3-btn--primary { background: #19B5B5; color: #fff; }
.v3-btn--primary:hover { transform: translateY(-2px); background: #149c9c; box-shadow: 0 14px 30px rgba(25,181,181,.4); }
.v3-btn--primary img { filter: brightness(0) invert(1); }
.v3-btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.v3-btn--outline:hover { background: #fff; color: var(--bih-navy); }
.v3-btn--outline img { filter: brightness(0) invert(1); }
.v3-btn--outline:hover img { filter: none; }

/* topbar (above nav): address · social · language */
.v3-topbar { background: rgba(0, 0, 0, .22); color: #b9c8d6; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.v3-topbar__row { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.v3-topbar__addr { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; color: inherit; font: inherit; font-family: var(--font-body); cursor: pointer; }
.v3-topbar__addr img { width: 15px; height: 15px; filter: brightness(0) invert(1); opacity: .8; }
.v3-topbar__addr:hover { color: #fff; }
.v3-topbar__right { display: flex; align-items: center; gap: 16px; }
.v3-topbar__social { display: flex; gap: 6px; }
.v3-topbar__social button { background: none; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; transition: background .2s; }
.v3-topbar__social button:hover { background: rgba(255, 255, 255, .12); }
.v3-topbar__social img { width: 15px; height: 15px; filter: brightness(0) invert(1); opacity: .85; }

/* header (slim navy, sticky) */
.v3-header { position: sticky; top: 0; z-index: 200; background: var(--bih-navy); transition: box-shadow .3s; }
.v3-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.v3-header__row { display: flex; align-items: center; gap: 26px; height: 76px; }
.v3-brand img { height: 64px; width: auto; background: #fff; padding: 5px 9px; border-radius: 6px; }
.v3-nav { display: flex; gap: 30px; margin-left: auto; }
.v3-nav a { color: #d6e3ef; font-weight: 500; font-size: 15px; letter-spacing: .01em; }
.v3-nav a:hover { color: #fff; }
.v3-header__cta { white-space: nowrap; }
.v3-burger { display: none; cursor: pointer; padding: 8px; }
.v3-burger img { width: 26px; height: 26px; filter: brightness(0) invert(1); }

/* hero */
.v3-hero { position: relative; min-height: 660px; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; }
.v3-hero__bgs { position: absolute; inset: 0; }
.v3-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.v3-hero__bg.is-active { opacity: 1; }
.v3-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,39,66,.78) 0%, rgba(12,39,66,.55) 40%, rgba(12,39,66,.85) 100%); }
.v3-hero__inner { position: relative; padding: 90px 24px; max-width: 820px; }
.v3-hero__eyebrow { display: inline-block; letter-spacing: .28em; font-size: 13px; font-weight: 600; color: var(--bih-cyan); margin-bottom: 22px; }
.v3-hero__title { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.1; font-weight: 700; }
.v3-hero__sub { margin: 22px 0 32px; font-size: clamp(16px, 1.6vw, 19px); color: #e2eaf2; max-width: 600px; }
.v3-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.v3-hero__bar { position: relative; z-index: 2; background: rgba(12,39,66,.72); backdrop-filter: blur(6px); border-top: 1px solid rgba(255,255,255,.12); }
.v3-hero__bar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 22px 24px; }
.v3-hero__barItem { display: flex; align-items: center; gap: 14px; }
.v3-hero__barItem img { width: 26px; height: 26px; filter: brightness(0) invert(1); opacity: .85; }
.v3-hero__barItem strong { display: block; font-size: 16px; }
.v3-hero__barItem span { font-size: 13px; color: #b9c8d6; }

/* about */
.v3-about { padding: 100px 0 0; }
.v3-about__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; padding-bottom: 56px; }
.v3-about__text p { color: var(--muted); margin-bottom: 16px; font-size: 16.5px; }
.v3-about__founders { display: flex; gap: 40px; margin-top: 26px; flex-wrap: wrap; }
.v3-about__founders strong { display: block; color: var(--bih-navy); font-size: 17px; }
.v3-about__founders span { color: var(--muted); font-size: 13px; }
.v3-about__media img { width: 100%; height: 560px; object-fit: cover; border-radius: 6px; }

/* services — hairline tiles */
.v3-services { padding: 100px 0; }
.v3-services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.v3-tile { display: flex; flex-direction: column; gap: 14px; padding: 34px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s, color .25s; }
.v3-tile img { width: 38px; height: 38px; color: var(--bih-blue); transition: filter .25s; }
.v3-tile h3 { font-size: 16.5px; color: var(--bih-navy); font-weight: 600; }
.v3-tile:hover { background: var(--grad); }
.v3-tile:hover img { filter: brightness(0) invert(1); }
.v3-tile:hover h3 { color: #fff; }

/* values band (dark) */
.v3-values { background: var(--bih-navy); color: #fff; padding: 90px 0; }
.v3-values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.v3-value span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); margin-bottom: 18px; }
.v3-value span img { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.v3-value h3 { font-size: 19px; margin-bottom: 10px; }
.v3-value p { color: #b9c8d6; font-size: 14.5px; }

/* doctors — portrait cards with overlay caption, in a horizontal carousel */
.v3-doctors { padding: 100px 0; }
.v3-carousel { position: relative; }
.v3-carousel__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; scrollbar-width: none; -ms-overflow-style: none; }
.v3-carousel__track::-webkit-scrollbar { display: none; }
.v3-carousel__track > * { flex: 0 0 auto; scroll-snap-align: start; }
.v3-doctors__track .v3-doc { width: 280px; }
.v3-carousel__btn { position: absolute; top: -66px; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.v3-carousel__btn img { width: 22px; height: 22px; }
.v3-carousel__btn--prev { right: 56px; }
.v3-carousel__btn--prev img { transform: rotate(180deg); }
.v3-carousel__btn--next { right: 0; }
.v3-carousel__btn:hover { background: var(--grad); border-color: transparent; }
.v3-carousel__btn:hover img { filter: brightness(0) invert(1); }
.v3-carousel__btn.is-disabled { opacity: .35; pointer-events: none; }
.v3-doc { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 1 / 1.25; }
.v3-doc img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.v3-doc:hover img { transform: scale(1.05); }
.v3-doc__cap { position: absolute; inset: auto 0 0 0; padding: 22px 18px 18px; background: linear-gradient(180deg, transparent, rgba(12,39,66,.92)); color: #fff; }
.v3-doc__cap h3 { font-size: 17px; }
.v3-doc__cap p { font-size: 12.5px; color: #cdd9e5; margin-top: 4px; }

/* gallery — full-width strip */
.v3-gallery { padding: 100px 0; background: var(--bg-soft); }
.v3-gallery__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 0 14px; margin-top: 10px; }
.v3-gallery figure { margin: 0; overflow: hidden; border-radius: 4px; }
.v3-gallery img { width: 100%; height: 260px; object-fit: cover; transition: transform .5s, filter .3s; filter: grayscale(.15); }
.v3-gallery figure:hover img { transform: scale(1.06); filter: none; }

/* contact (dark) */
.v3-contact { background: var(--bih-navy-2); color: #fff; padding: 100px 0; }
.v3-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.v3-contact__info > p { color: #c2cfdb; margin: 14px 0 24px; max-width: 440px; }
.v3-contact__list { display: grid; gap: 16px; margin-bottom: 30px; }
.v3-contact__list li { display: flex; align-items: center; gap: 14px; }
.v3-contact__list img { width: 24px; height: 24px; filter: brightness(0) invert(1); opacity: .85; }
.v3-contact__row { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; margin: 0; font: inherit; font-family: var(--font-body); color: #fff; cursor: pointer; text-align: left; transition: color .15s; }
.v3-contact__row:hover { color: var(--bih-cyan); }
.v3-contact__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.v3-contact__map { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); }
.v3-contact__map iframe { width: 100%; height: 420px; }

/* footer */
.v3-footer { position: relative; background: var(--bih-navy); color: #aebfce; }
.v3-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 40px; padding: 64px 24px; border-top: 1px solid rgba(255,255,255,.08); }
.v3-footer__logo { height: 58px; width: auto; background: #fff; padding: 8px 12px; border-radius: 6px; }
.v3-footer__brand p { margin-top: 16px; max-width: 360px; font-size: 14.5px; }
.v3-footer__col h4 { color: #fff; margin-bottom: 16px; }
.v3-footer__col a, .v3-footer__col span { display: block; margin-bottom: 10px; font-size: 14.5px; }
.v3-footer__col a:hover { color: #fff; }
.v3-footer__bar { border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.v3-footer__bar .v3-container { padding-top: 18px; padding-bottom: 18px; }


/* Long single-word department names (e.g. ოტორინოლარინგოლოგია) must be able to
   wrap, and grid items must be allowed to shrink, or they overflow on mobile. */
.v1-service, .v2-service, .v3-tile { min-width: 0; }
.v1-service h3, .v2-service h3, .v3-tile h3 { overflow-wrap: anywhere; word-break: break-word; }

/* =====================================================================
   FLOATING HELP BUTTON (FAB)
===================================================================== */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 1500; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab__menu { display: flex; flex-direction: column; gap: 10px; align-items: center; opacity: 0; transform: translateY(10px) scale(.92); pointer-events: none; transition: opacity .25s, transform .25s; }
.fab.is-open .fab__menu { opacity: 1; transform: none; pointer-events: auto; }
.fab__item { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .15s; }
.fab__item:hover { transform: scale(1.09); }
.fab__item img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.fab--phone { background: #1A75BB; }
.fab--messenger { background: #0084ff; }
.fab--whatsapp { background: #25D366; }
.fab--viber { background: #7360f2; }
.fab--telegram { background: #29a9eb; }
.fab__toggle { width: 60px; height: 60px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(26, 117, 187, .45); transition: transform .2s; }
.fab__toggle:hover { transform: scale(1.06); }
.fab__toggle img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.fab__toggle:focus-visible { outline: 2px solid var(--bih-blue); outline-offset: 3px; }
.fab__bubble { position: absolute; right: 72px; bottom: 14px; background: #fff; color: var(--bih-navy); font-family: var(--font-body); font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 14px; box-shadow: var(--shadow-md); white-space: nowrap; opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .3s, transform .3s; }
.fab__bubble.show { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.fab__bubble::after { content: ""; position: absolute; right: -6px; bottom: 15px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }

/* =====================================================================
   OFFER POPUP
===================================================================== */
.offer { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.offer.is-open { display: flex; }
.offer__overlay { position: absolute; inset: 0; background: rgba(8, 20, 33, .7); backdrop-filter: blur(3px); }
.offer__box { position: relative; z-index: 1; width: 100%; max-width: 440px; background: #fff; border-radius: 20px; padding: 42px 32px 34px; text-align: center; box-shadow: var(--shadow-md); overflow: hidden; }
.offer__box::before { content: ""; position: absolute; z-index: 0; top: -40px; left: -40px; width: 170px; height: 170px; background: url("../img/bg.png") no-repeat center / contain; opacity: .07; pointer-events: none; }
.offer__close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; cursor: pointer; }
.offer__close img { width: 18px; height: 18px; }
.offer__img, .offer__title, .offer__text, .offer__cta { position: relative; z-index: 1; }
.offer__img { height: 52px; width: auto; display: block; margin: 0 auto 18px; }
.offer__title { font-size: 21px; color: var(--bih-navy); margin-bottom: 12px; line-height: 1.3; }
.offer__text { color: var(--muted); margin-bottom: 24px; }
.offer__cta { display: inline-flex; align-items: center; gap: 10px; background: var(--grad); color: #fff; border: 0; font-family: var(--font-head); font-weight: 700; font-size: 16px; padding: 15px 30px; border-radius: 10px; cursor: pointer; transition: transform .15s, box-shadow .2s; }
.offer__cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.offer__cta img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

/* =====================================================================
   PREMIUM LOGO LOADER
===================================================================== */
.loader { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; background: #fff; transition: opacity .55s ease, visibility .55s ease; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader__logo { width: 88px; height: 88px; animation: loaderPulse 1.5s ease-in-out infinite; }
.loader__name { font-family: var(--font-head); letter-spacing: .16em; font-size: 12.5px; color: var(--bih-blue); text-transform: uppercase; }
.loader__bar { position: relative; width: 150px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.loader__bar::before { content: ""; position: absolute; top: 0; left: -45%; height: 100%; width: 45%; border-radius: 3px; background: var(--grad); animation: loaderBar 1.1s ease-in-out infinite; }
@keyframes loaderPulse { 0%, 100% { transform: scale(.88); opacity: .72; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes loaderBar { 0% { left: -45%; } 100% { left: 100%; } }

/* =====================================================================
   SECTION SCROLL-REVEAL (added by main.js wireReveal)
===================================================================== */
.is-revealing { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.is-revealing.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .is-revealing { opacity: 1 !important; transform: none !important; transition: none; }
  .loader__logo, .loader__bar::before { animation: none; }
}

/* =====================================================================
   RESPONSIVE
===================================================================== */
@media (max-width: 1024px) {
  .v1-services__grid, .v1-doctors__grid, .v1-gallery__grid,
  .v2-services__grid, .v2-doctors__grid,
  .v3-services__grid, .v3-doctors__grid { grid-template-columns: repeat(3, 1fr); }
  .v3-gallery__strip { grid-template-columns: repeat(3, 1fr); }
  .v3-tile { border-right: 1px solid var(--line); }
}

@media (max-width: 860px) {
  /* nav → burger menu */
  .v1-nav, .v2-nav, .v3-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; box-shadow: var(--shadow-md); padding: 8px 0; margin: 0;
    display: none;
  }
  .v1-header.nav-open .v1-nav,
  .v2-header.nav-open .v2-nav,
  .v3-header.nav-open .v3-nav { display: flex; }
  .v1-nav a, .v2-nav a, .v3-nav a { padding: 14px 22px; color: var(--bih-navy); text-shadow: none; border-bottom: 1px solid var(--line); }
  .v2-header, .v3-header { position: sticky; }
  .v2-header { background: #fff; box-shadow: var(--shadow-sm); }
  .v2-nav a { color: var(--bih-navy); text-shadow: none; }
  .v2-brand img { background: transparent; padding: 0; }
  .v1-burger, .v2-burger, .v3-burger { display: inline-flex; margin-left: auto; }
  .v1-header__cta, .v2-header__cta, .v3-header__cta { display: none; }
  .v1-nav { margin-left: 0; }

  /* stack 2-col layouts */
  .v1-about__grid, .v1-contact__grid,
  .v2-hero__grid, .v2-about__grid, .v2-contact__card, .v2-foundersec__grid,
  .v3-about__grid, .v3-contact__grid { grid-template-columns: 1fr; }
  .v1-about__media img { height: 360px; }
  .v2-hero { padding-top: 120px; }
  .v2-hero__media { margin-top: 20px; }
  .v3-about__media { margin-top: 8px; }

  .v1-features__grid, .v2-strip__grid, .v3-hero__bar-grid { grid-template-columns: 1fr; }
  .v1-features { margin-top: -40px; }
  .v1-stats__grid, .v2-stats__grid, .v3-values__grid { grid-template-columns: repeat(2, 1fr); }
  .v1-services__grid, .v1-doctors__grid, .v1-gallery__grid,
  .v2-services__grid, .v2-doctors__grid, .v2-gallery__grid,
  .v3-services__grid, .v3-doctors__grid, .v3-gallery__strip { grid-template-columns: repeat(2, 1fr); }
  .v2-gallery__grid { grid-auto-rows: 160px; }
  .v3-tile { border-right: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .vswitch { font-size: 12px; padding: 6px 8px; }
  .vswitch__label { display: none; }
  .vswitch__opt { padding: 6px 12px; }
  .v1-topbar, .v2-topbar, .v3-topbar { display: none; }
  .v1-services__grid, .v1-doctors__grid, .v1-gallery__grid,
  .v2-services__grid, .v2-doctors__grid,
  .v3-services__grid, .v3-doctors__grid { grid-template-columns: 1fr 1fr; }
  .v1-hero, .v3-hero { min-height: 540px; }
  .v1-footer__grid, .v2-footer__grid, .v3-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .v1-about__badge { right: 10px; }
}


/* =====================================================================
   IMAGE LIGHTBOX (gallery zoom + prev/next). Controls are <div>s — image
   zoom is not an analytics event, so per house rules they are not <button>s.
===================================================================== */
.v1-gallery img, .v2-gallery img, .v3-gallery img { cursor: zoom-in; }

.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox__overlay { position: absolute; inset: 0; background: rgba(8, 20, 33, .93); backdrop-filter: blur(3px); }
.lightbox__figure { position: relative; z-index: 1; max-width: 90vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__img { max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55); background: #0c2742; }
.lightbox__count { color: #cdd9e5; font-size: 14px; font-family: var(--font-body); }
.lightbox__close { position: absolute; top: 18px; right: 20px; z-index: 2; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .12); transition: background .2s; }
.lightbox__close:hover { background: rgba(255, 255, 255, .26); }
.lightbox__close img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; cursor: pointer; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .14); transition: background .2s; }
.lightbox__nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox__nav img { width: 26px; height: 26px; filter: brightness(0) invert(1); }
.lightbox__prev { left: 16px; }
.lightbox__prev img { transform: rotate(180deg); }
.lightbox__next { right: 16px; }
.lightbox [role="button"]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 520px) {
  .lightbox__nav { width: 46px; height: 46px; }
  .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
}
