/* ============================================================
   برفكت لاب — التصميم
   الألوان والمقاسات كلها متغيرات هنا عشان أي تعديل يبقى من مكان واحد
   ============================================================ */
:root {
  --navy: #0B2A5B;
  --navy-2: #133B7A;
  --navy-deep: #071B3D;
  --plum: #2B1450;
  --wine: #7A0F2A;
  --red: #C8102E;
  --red-dark: #A30D25;
  --red-soft: #FDECEE;
  --red-on-dark: #FF5A6E;
  --blue-soft: #EEF3FB;
  --ground: #F7F8FC;
  --surface: #FFFFFF;
  --line: #E3E8F0;
  --line-2: #D5DEEA;
  --ink: #0F1B2D;
  --ink-2: #2B3748;
  --muted: #4B5768;
  --good: #146C3A;
  --good-soft: #E6F4EC;
  --warn: #8A5300;
  --warn-soft: #FFF4E5;
  --grad-brand: linear-gradient(120deg, var(--navy) 0%, var(--plum) 60%, #6E0F2E 100%);
  --grad-hero: linear-gradient(250deg, var(--navy-deep) 0%, #0D2350 45%, #2E0E34 78%, #5E0E2A 100%);
  --grad-soft: linear-gradient(160deg, #F2F6FD 0%, #FFFFFF 45%, #FDF0F2 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 12px 30px rgba(11, 42, 91, .08);
  --shadow-lg: 0 30px 60px rgba(11, 42, 91, .18);
  --font: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--ground); line-height: 1.7; font-size: 16px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.3; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 2px; }
[hidden] { display: none !important; }
.stack { display: grid; gap: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding-top: 88px; }
.section:last-of-type { padding-bottom: 88px; }
.finder-result p, .finder-result .disclaimer { color: var(--muted); font-size: 13px; }
.eyebrow { color: var(--red); font-weight: 700; font-size: 15px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 660px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { color: var(--muted); font-size: 17px; }
.muted { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }

/* ---------- Buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 22px rgba(200, 16, 46, .25); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--blue-soft); color: var(--navy); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-light { background: #fff; color: var(--red-dark); }
.btn-light:hover { color: var(--red); }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-on-dark:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-wa { background: #E6F4EC; color: var(--good); }
.btn-wa:hover { background: #D5EEDF; color: var(--good); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative; text-decoration: none; }
.badge-count { position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.badge-count[data-count="0"] { display: none; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--navy); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--navy-2); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.pill-red { background: var(--red-soft); color: var(--red-dark); }
.pill-blue { background: var(--blue-soft); color: var(--navy-2); }
.pill-good { background: var(--good-soft); color: var(--good); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.brand img { width: 36px; height: 45px; object-fit: contain; }
.brand b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--navy); line-height: 1.2; }
.brand span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .2px; }
.main-nav { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.main-nav a { text-decoration: none; padding: 10px 0; position: relative; }
.main-nav a[aria-current="page"] { color: var(--red); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-phone { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; padding: 0 8px; min-height: 44px; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); color: #fff; }
.hero-deco { position: absolute; left: -140px; top: -100px; width: 760px; height: 960px; opacity: .35; pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-badge { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 90, 110, .14); border: 1px solid rgba(255, 90, 110, .35); color: #FFC2CB; font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; }
.hero-badge i { width: 8px; height: 8px; border-radius: 999px; background: var(--red-on-dark); }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 62px); line-height: 1.18; }
.hero h1 em { font-style: normal; color: var(--red-on-dark); }
.hero-lead { font-size: 19px; line-height: 1.85; color: #C9D6EA; max-width: 560px; }
.search { display: flex; gap: 8px; background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); max-width: 620px; }
.search .ic { display: flex; align-items: center; padding: 0 10px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; font-size: 17px; padding: 12px 0; background: transparent; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35), 0 20px 50px rgba(0, 0, 0, .3); }
.popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.popular span { font-size: 14px; color: #A9BBD8; }
.popular a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.popular a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.glass-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 600px; margin-top: 6px; }
.glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.glass b { font-family: var(--font-display); font-size: 26px; }
.glass span { font-size: 14px; color: #D3DDEE; }
.hero-visual { position: relative; padding-top: 28px; }
.hero-drop { position: absolute; top: -36px; left: -24px; width: 140px; z-index: 2; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); animation: float 6s ease-in-out infinite; }
.hero-toast { position: absolute; top: 0; right: 24px; z-index: 3; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); font-size: 14px; font-weight: 700; }
.hero-toast i { width: 30px; height: 30px; border-radius: 999px; background: var(--good-soft); color: var(--good); display: flex; align-items: center; justify-content: center; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-12px) rotate(-6deg); } }

/* ---------- Quick booking card ---------- */
.book-card { position: relative; background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 32px 26px 24px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 16px; }
.book-card h2 { font-size: 22px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #F0F3F8; padding: 5px; border-radius: 14px; }
.seg button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; cursor: pointer; }
.seg button[aria-selected="true"] { background: #fff; color: var(--navy); font-weight: 700; box-shadow: 0 2px 8px rgba(11, 42, 91, .12); }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { height: 50px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; font-size: 15px; background: #fff; font-weight: 500; color: var(--ink); width: 100%; }
.field textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(19, 59, 122, .12); }
.field .hint { font-weight: 500; color: var(--muted); font-size: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grid-3 .chip { border-radius: 12px; min-height: 44px; }

/* ---------- Ticker ---------- */
.ticker-wrap { background: linear-gradient(90deg, var(--red-dark), var(--red) 50%, var(--wine)); color: #fff; overflow: hidden; }
.ticker { display: flex; gap: 40px; width: max-content; padding: 14px 0; font-size: 16px; font-weight: 600; white-space: nowrap; animation: tick 40s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.ticker > span { display: flex; gap: 40px; align-items: center; }
.ticker b { font-family: var(--font-display); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.lift:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(11, 42, 91, .12); border-color: #C9D5E6; }
.ic-box { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--blue-soft); color: var(--navy-2); }
.ic-box.red { background: var(--red-soft); color: var(--red); }
.ic-box.good { background: var(--good-soft); color: var(--good); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick { padding: 18px 20px; display: flex; gap: 14px; align-items: center; text-decoration: none; }
.quick b { display: block; font-size: 16px; color: var(--ink); }
.quick span { display: block; font-size: 14px; color: var(--muted); }
.quick .chev { margin-inline-start: auto; color: #6B7686; }

/* finder */
.finder { background: var(--grad-brand); border-radius: 32px; padding: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; color: #fff; box-shadow: 0 30px 60px rgba(43, 20, 80, .25); }
.finder h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.finder p { color: #C9D6EA; font-size: 17px; }
.finder .tag { align-self: flex-start; background: rgba(255, 255, 255, .12); color: #DCE5F3; font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.finder-q { display: flex; flex-direction: column; gap: 18px; }
.finder-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.finder-opts button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }
.finder-opts button[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; font-weight: 700; }
.finder-result { background: #fff; color: var(--ink); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.finder-result h3 { font-size: 22px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 10px; background: #F0F3F8; font-size: 14px; font-weight: 600; }
.disclaimer { font-size: 13px; color: var(--muted); border-top: 1px solid #EEF1F6; padding-top: 14px; }

/* categories / tests */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cat { padding: 20px; display: flex; gap: 14px; align-items: flex-start; text-decoration: none; }
.cat .ic-box { width: 44px; height: 44px; border-radius: 12px; }
.cat b { display: block; font-size: 16px; color: var(--ink); }
.cat span { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; }
.cat-cta { grid-column: span 2; background: var(--red-soft); border-radius: var(--radius); padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; text-decoration: none; }
.cat-cta b { display: block; color: var(--ink); font-size: 17px; }
.cat-cta span { color: var(--muted); font-size: 14px; }

/* packages */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 18px; align-items: stretch; }
.pkg { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.pkg.featured { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 24px 50px rgba(11, 42, 91, .22); }
.pkg-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pkg h3 { font-size: 19px; color: inherit; }
.pkg .sub { font-size: 14px; color: var(--muted); }
.pkg.featured .sub { color: #C9D6EA; }
.price { display: flex; gap: 8px; align-items: baseline; }
.price b { font-family: var(--font-display); font-size: 34px; color: var(--navy); }
.pkg.featured .price b { color: #fff; }
.price s { color: #6B7686; font-size: 16px; }
.pkg.featured .price s { color: #A9BBD8; }
.check-list { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid #EEF1F6; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.pkg.featured .check-list { border-color: #234A87; }
.check-list li { display: flex; gap: 8px; align-items: center; }
.check-list svg { color: var(--good); flex-shrink: 0; }
.pkg.featured .check-list svg { color: #8FE0B0; }
.pkg .btn { margin-top: auto; }
.pkg.featured .btn-outline { background: var(--red); border-color: var(--red); color: #fff; }
.btn[data-in-cart="true"] { background: var(--good-soft) !important; border-color: var(--good-soft) !important; color: var(--good) !important; }

/* awareness */
.soft-band { background: var(--grad-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 88px; padding: 88px 0; }
.aw-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.aw { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.aw-main { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.aw-main h3 { font-size: 26px; line-height: 1.45; }
.aw-main > p { font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.aw-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aw-col { background: #fff; border-radius: 18px; padding: 20px; }
.aw-col h4 { margin: 0 0 12px; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.aw-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--ink-2); }
.aw-col li { display: flex; gap: 10px; }
.aw-col li::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--red); margin-top: 10px; flex-shrink: 0; }
.aw-col.who li::before { background: var(--navy-2); }
.aw-offer { background: var(--grad-brand); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.aw-offer h3 { color: #fff; font-size: 24px; }
.aw-offer .tests { color: #DCE5F3; font-size: 15px; }
.aw-offer .price b { color: #fff; font-size: 40px; }
.aw-offer .price span { color: #C9D6EA; }
.aw-offer .warn { background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #FFE7B8; }
.aw-offer .btn { margin-top: auto; }
.reminder { margin-top: 24px; background: var(--red-soft); border-radius: 22px; padding: 28px 32px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px 36px; align-items: center; }
.reminder h3 { font-size: 21px; }
.reminder form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.reminder input { flex: 1 1 180px; height: 48px; border-radius: 12px; border: 1.5px solid #F2C4CB; padding: 0 14px; background: #fff; }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { padding: 24px; display: flex; flex-direction: column; gap: 10px; counter-increment: s; }
.steps li::before { content: '0' counter(s); font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--line-2); line-height: 1; }
.steps b { font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; }

/* faq + prep */
.faq-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.faq { overflow: hidden; }
.faq-item { border-bottom: 1px solid #EEF1F6; }
.faq-item:last-child { border-bottom: 0; }
.faq-q { width: 100%; min-height: 64px; padding: 18px 24px; border: 0; background: #fff; display: flex; gap: 16px; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 700; text-align: start; cursor: pointer; }
.faq-q .chev { width: 36px; height: 36px; border-radius: 999px; background: #F0F3F8; color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .2s, background .2s; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); background: var(--navy); color: #fff; }
.faq-a { padding: 0 24px 22px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.faq-a[hidden] { display: none; }
.prep { padding: 26px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.prep-head { display: flex; gap: 12px; align-items: center; }
.prep-head b { display: block; font-family: var(--font-display); font-size: 19px; color: var(--navy); }
.prep-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prep-out { background: var(--ground); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.brand-visual { background: var(--grad-brand); position: relative; overflow: hidden; height: 460px; border-radius: 32px; box-shadow: 0 30px 60px rgba(43, 20, 80, .25); }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); transform: translate(-50%, -50%); }
.brand-visual .mark { position: absolute; left: 50%; top: 50%; width: 150px; margin: -100px 0 0 -75px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .4)); animation: float 6s ease-in-out infinite; }
.floater { position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; box-shadow: 0 16px 34px rgba(0, 0, 0, .25); font-weight: 700; font-size: 14px; animation: bob 5s ease-in-out infinite; }
.floater .ic-box { width: 36px; height: 36px; border-radius: 10px; }
.floater:nth-child(odd) { animation-delay: 1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.brand-visual .foot { position: absolute; bottom: 22px; left: 24px; right: 24px; display: flex; justify-content: space-between; color: #fff; font-size: 13px; }
.brand-visual .foot b { font-family: var(--font-display); font-size: 16px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.values div { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 15px; }
.values .ic-box { width: 38px; height: 38px; border-radius: 12px; }

/* branches */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.branch { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.branch .row { display: flex; gap: 8px; color: var(--muted); font-size: 15px; }
.branch .row svg { flex-shrink: 0; margin-top: 4px; }
.branch .actions { display: flex; gap: 10px; margin-top: auto; }
.branch .actions .btn { flex: 1; background: var(--blue-soft); min-height: 44px; font-size: 14px; }
.contact-list a { display: flex; gap: 12px; align-items: center; text-decoration: none; min-height: 48px; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }

/* CTA */
.cta { background: linear-gradient(110deg, var(--red-dark) 0%, var(--wine) 50%, var(--plum) 100%); border-radius: 32px; padding: 56px 52px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; color: #fff; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 32px); }
.cta p { color: #FFE3E7; font-size: 17px; }

/* footer */
.site-footer { background: var(--navy); color: #C9D6EA; margin-top: 88px; }
.site-footer .container { padding-top: 56px; padding-bottom: 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.site-footer h3 { color: #fff; font-family: var(--font); font-size: 16px; margin-bottom: 12px; }
.site-footer a { color: #C9D6EA; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-logo { background: #fff; border-radius: 18px; padding: 14px 18px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { width: 110px; }
.footer-bottom { border-top: 1px solid #1E3F75; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; }

/* floating */
.wa-float { position: fixed; bottom: 20px; left: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 999px; background: #1E9E57; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px rgba(20, 108, 58, .35); }
.wa-float:hover { color: #fff; background: var(--good); }
.cart-bar { visibility: hidden; position: fixed; bottom: 20px; right: 50%; transform: translateX(50%) translateY(140%); z-index: 59; background: var(--ink); color: #fff; border-radius: 16px; padding: 10px 10px 10px 18px; display: flex; gap: 16px; align-items: center; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); transition: transform .3s; max-width: calc(100% - 120px); }
.cart-bar.show { visibility: visible; transform: translateX(50%) translateY(0); }
.cart-bar span { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast { position: fixed; top: calc(var(--header-h) + 14px); left: 50%; transform: translate(-50%, -20px); opacity: 0; z-index: 70; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 18px; font-weight: 600; font-size: 15px; transition: all .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Tests page ---------- */
.page-hero { background: var(--grad-hero); color: #fff; padding: 56px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.page-hero p { color: #C9D6EA; font-size: 18px; margin-top: 10px; }
.page-hero .search { margin-top: 24px; }
.tests-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; padding-top: 32px; }
.filters { padding: 18px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); }
.filters button { min-height: 42px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; text-align: start; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.filters button small { opacity: .7; font-weight: 500; }
.test-list { display: flex; flex-direction: column; gap: 12px; }
.test-row { padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; }
.test-row h3 { font-family: var(--font); font-size: 17px; color: var(--ink); }
.test-row .en { color: var(--muted); font-size: 14px; }
.test-row .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.test-row .side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.test-row .p { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--navy); }
.test-row .p.ask { font-family: var(--font); font-size: 14px; color: var(--muted); font-weight: 600; }
.empty { padding: 40px; text-align: center; color: var(--muted); }

/* ---------- Booking page ---------- */
.book-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; padding-top: 32px; }
.book-form { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.form-step { display: flex; flex-direction: column; gap: 14px; }
.form-step h2 { font-size: 19px; display: flex; gap: 10px; align-items: center; }
.form-step h2 i { width: 30px; height: 30px; border-radius: 999px; background: var(--navy); color: #fff; font-style: normal; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.selected-list { display: flex; flex-wrap: wrap; gap: 8px; }
.selected-list button { display: inline-flex; gap: 6px; align-items: center; min-height: 38px; padding: 0 8px 0 12px; border-radius: 10px; border: 0; background: var(--blue-soft); color: var(--navy); font-weight: 600; font-size: 14px; cursor: pointer; }
.picker { position: relative; }
.picker-list { position: absolute; top: 100%; right: 0; left: 0; z-index: 10; margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 300px; overflow: auto; padding: 6px; }
.picker-list button { width: 100%; min-height: 44px; padding: 8px 12px; border: 0; background: transparent; border-radius: 10px; display: flex; justify-content: space-between; gap: 10px; text-align: start; cursor: pointer; font-size: 15px; }
.picker-list button:hover, .picker-list button:focus { background: var(--ground); }
.picker-list small { color: var(--muted); }
.summary { padding: 24px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.summary .total b { font-family: var(--font-display); font-size: 26px; color: var(--navy); }
.prep-box { background: var(--warn-soft); color: var(--warn); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.error { color: var(--red-dark); font-size: 13px; font-weight: 600; }
.success { padding: 40px 28px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.success .ic-box { width: 72px; height: 72px; border-radius: 999px; }

/* legal */
.prose { max-width: 760px; padding: 40px 0; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 49; padding: 20px; flex-direction: column; gap: 4px; overflow: auto; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { min-height: 52px; display: flex; align-items: center; font-weight: 600; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero .container, .finder, .aw, .faq-wrap, .about, .reminder, .book-layout, .tests-layout { grid-template-columns: minmax(0, 1fr); }
  .hero .container > *, .finder > *, .aw > *, .book-layout > *, .tests-layout > * { min-width: 0; }
  .hero .container { padding-top: 48px; padding-bottom: 64px; gap: 48px; }
  .branch-grid { grid-template-columns: 1fr 1fr; }
  .finder { padding: 32px 24px; }
  .prep, .summary, .filters { position: static; }
  .filters { flex-direction: row; overflow-x: auto; }
  .filters button { flex-shrink: 0; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding-top: 64px; }
  .section-head h2 { font-size: 24px; }
  .soft-band { margin-top: 64px; padding: 64px 0; }
  .header-actions .btn-primary, .header-actions .icon-btn.account { display: none; }
  .quick-grid, .branch-grid, .aw-cols, .values, .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cat-cta { grid-column: auto; }
  .glass-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .glass { padding: 12px; } .glass b { font-size: 20px; } .glass span { font-size: 12px; }
  .search .btn { padding: 0 16px; }
  .aw-main, .aw-offer, .book-form { padding: 22px; }
  .cta { padding: 36px 24px; }
  .brand-visual { height: 400px; }
  .site-footer .container { grid-template-columns: 1fr; }
  .hero-drop { width: 90px; top: -20px; left: -6px; }
  .glass b { font-size: 18px; }
  .test-row { grid-template-columns: 1fr; }
  .test-row .side { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker, .hero-drop, .brand-visual .mark, .floater { animation: none; }
  .lift:hover, .btn:hover { transform: none; }
}

/* ============================================================
   v2 — طابع هادي وراقي: خلفيات صور عالية الجودة + زجاج شفاف
   الصور من Unsplash (ترخيص مجاني للاستخدام التجاري)
   لتغيير صورة: غيّري الرابط في المتغير بتاعها هنا بس
   ============================================================ */
:root {
  --img-hero: url('../img/hero-lab.webp');
  --img-lab: url('https://images.unsplash.com/photo-1602052577122-f73b9710adba?auto=format&fit=crop&w=2000&q=80');
  --img-pipette: url('https://images.unsplash.com/photo-1614935151651-0bea6508db6b?auto=format&fit=crop&w=2000&q=80');
  --img-tubes: url('https://images.unsplash.com/photo-1606206591513-adbfbdd7a177?auto=format&fit=crop&w=2000&q=80');
  --img-micros: url('https://images.unsplash.com/photo-1518152006812-edab29b069ac?auto=format&fit=crop&w=2000&q=80');
  --img-glass: url('https://images.unsplash.com/photo-1766297247072-93fd815afef3?auto=format&fit=crop&w=2000&q=80');
  --ivory: #FAF8F4;
  --mist: #EEF3F8;
  --ink-soft: #3A4657;
  --glass-white: rgba(255, 255, 255, .72);
  --glass-line: rgba(255, 255, 255, .7);
  --shadow-soft: 0 20px 50px rgba(15, 35, 70, .10);
}
body { background: var(--ivory); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.2px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: 14px; font-weight: 600; letter-spacing: .3px; }
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.card { border-color: rgba(15, 35, 70, .07); box-shadow: 0 1px 2px rgba(15, 35, 70, .04); }

/* photo band: full-bleed photo with a soft wash on top */
.photo-band { position: relative; isolation: isolate; overflow: hidden; }
.photo-band > .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 8s ease-out; }
.photo-band.in > .bg { transform: scale(1); }
.photo-band > .wash { position: absolute; inset: 0; z-index: -1; }
.glass-card { background: var(--glass-white); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: var(--shadow-soft); }

/* header over the hero */
.site-header { background: rgba(255, 255, 255, .78); border-bottom-color: rgba(15, 35, 70, .06); }

/* hero */
.hero { background: none; color: var(--ink); min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.hero > .bg { background-image: var(--img-hero); background-position: left center; }
.hero > .wash { background: linear-gradient(270deg, rgba(250, 248, 244, .97) 0%, rgba(250, 248, 244, .9) 38%, rgba(250, 248, 244, .45) 62%, rgba(250, 248, 244, .05) 100%); }
.hero .container { width: 100%; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: var(--navy); font-size: clamp(38px, 5vw, 64px); line-height: 1.2; }
.hero h1 em { color: var(--red); }
.hero-lead { color: var(--ink-soft); }
.hero-badge { background: rgba(255, 255, 255, .8); border-color: rgba(200, 16, 46, .18); color: var(--red-dark); backdrop-filter: blur(8px); }
.hero-badge i { background: var(--red); }
.search { box-shadow: 0 18px 40px rgba(15, 35, 70, .12); border: 1px solid rgba(15, 35, 70, .06); }
.popular span { color: var(--muted); }
.popular a { border-color: rgba(15, 35, 70, .12); background: rgba(255, 255, 255, .7); color: var(--navy); backdrop-filter: blur(6px); }
.popular a:hover { background: #fff; color: var(--red); }
.glass { background: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .8); box-shadow: 0 10px 30px rgba(15, 35, 70, .08); }
.glass b { color: var(--navy); }
.glass span { color: var(--muted); }
.hero-deco { display: none; }
.hero-drop { width: 96px; top: -58px; left: -34px; filter: drop-shadow(0 16px 24px rgba(200, 16, 46, .25)); }
.book-card { background: rgba(255, 255, 255, .74); border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); box-shadow: 0 30px 70px rgba(15, 35, 70, .16); }
.seg { background: rgba(15, 35, 70, .05); }
.hero-toast { box-shadow: 0 12px 26px rgba(15, 35, 70, .14); }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(11, 42, 91, .35); border-radius: 999px; }
.scroll-cue::after { content: ''; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--navy); opacity: .6; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: .7; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ticker: quieter */
.ticker-wrap { background: var(--navy); }
.ticker { font-size: 15px; font-weight: 500; padding: 13px 0; }
.ticker span[aria-hidden="true"] { color: var(--red-on-dark); font-size: 10px; }

/* quick actions float over the seam */
.quick { background: rgba(255, 255, 255, .9); }

/* finder over a photo */
.finder { background: none; box-shadow: none; padding: 0; display: block; }
.finder-band { border-radius: 32px; padding: 56px; }
.finder-band > .bg { background-image: var(--img-pipette); }
.finder-band > .wash { background: linear-gradient(90deg, rgba(11, 42, 91, .35) 0%, rgba(11, 42, 91, .7) 50%, rgba(8, 25, 55, .9) 100%); }
.finder-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; color: #fff; }
.finder-inner h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.finder-inner p { color: #D6E0EF; font-size: 17px; }
.finder .tag { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); }
.finder-opts button { border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.finder-result { background: rgba(255, 255, 255, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }

/* packages over a soft photo */
.pkg-band { margin-top: 88px; padding: 96px 0; }
.pkg-band > .bg { background-image: var(--img-glass); filter: blur(2px); }
.pkg-band > .wash { background: linear-gradient(180deg, rgba(250, 248, 244, .86), rgba(238, 243, 248, .8)); }
.pkg-band .section { padding-top: 0; }
.pkg { background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: rgba(255, 255, 255, .9); }
.pkg.featured { background: linear-gradient(160deg, #0E3270 0%, #0B2A5B 55%, #2B1450 100%); border-color: transparent; }

/* awareness over a photo */
.soft-band { background: none; border: 0; }
.soft-band > .bg { background-image: var(--img-tubes); }
.soft-band > .wash { background: linear-gradient(180deg, rgba(250, 248, 244, .94) 0%, rgba(250, 248, 244, .78) 50%, rgba(250, 248, 244, .94) 100%); }
.aw-main { background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: rgba(255, 255, 255, .9); box-shadow: var(--shadow-soft); }
.aw-col { background: rgba(250, 248, 244, .9); }
.aw-offer { background: linear-gradient(160deg, #0E3270 0%, #0B2A5B 55%, #2B1450 100%); box-shadow: var(--shadow-soft); }
.reminder { background: rgba(255, 255, 255, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-soft); }
.reminder input { border-color: var(--line-2); }

/* home visit: photo + steps */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.visit-photo { position: relative; min-height: 460px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-soft); }
.visit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit-photo .badge-float { position: absolute; bottom: 20px; right: 20px; left: 20px; padding: 16px 18px; border-radius: 18px; display: flex; gap: 12px; align-items: center; }
.visit .steps { grid-template-columns: 1fr 1fr; align-content: center; }
.steps li { background: #fff; }

/* about */
.about-photos { position: relative; height: 480px; }
.about-photos .main { position: absolute; inset: 0 0 60px 80px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-soft); }
.about-photos .side { position: absolute; left: 0; bottom: 0; width: 46%; height: 200px; border-radius: 22px; overflow: hidden; border: 6px solid var(--ivory); box-shadow: var(--shadow-soft); }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }
.about-photos .stamp { position: absolute; top: 24px; right: 24px; padding: 12px 16px; border-radius: 16px; display: flex; gap: 10px; align-items: center; }
.about-photos .stamp img { width: 28px; height: 35px; object-fit: contain; }

/* CTA over photo */
.cta { background: none; padding: 0; display: block; border-radius: 32px; }
.cta-band { border-radius: 32px; padding: 72px 56px; }
.cta-band > .bg { background-image: var(--img-micros); }
.cta-band > .wash { background: linear-gradient(90deg, rgba(11, 42, 91, .35) 0%, rgba(11, 42, 91, .75) 55%, rgba(8, 25, 55, .92) 100%); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; color: #fff; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.cta-inner p { color: #D6E0EF; font-size: 17px; }

/* inner page heroes */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: none; color: var(--ink); padding: 72px 0; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--img-lab) center / cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(250, 248, 244, .97) 0%, rgba(250, 248, 244, .88) 55%, rgba(250, 248, 244, .6) 100%); }
.page-hero h1 { color: var(--navy); }
.page-hero p { color: var(--ink-soft); }

/* footer */
.site-footer { background: linear-gradient(180deg, #0B2A5B 0%, #081C3E 100%); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero { display: block; }
  .hero > .bg { bottom: auto; height: 340px; background-position: 30% 40%; transform: none; }
  .hero > .wash { background: linear-gradient(180deg, rgba(250, 248, 244, 0) 0, rgba(250, 248, 244, .1) 150px, rgba(250, 248, 244, .85) 270px, var(--ivory) 340px); }
  .hero .container { padding-top: 230px; }
  .hero-badge { box-shadow: 0 8px 20px rgba(15, 35, 70, .12); }
  .finder-inner, .visit { grid-template-columns: minmax(0, 1fr); }
  .finder-band { padding: 32px 22px; }
  .cta-band { padding: 44px 24px; }
  .visit-photo { min-height: 320px; }
  .about-photos { height: 400px; }
  .about-photos .main { inset: 0 0 50px 40px; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .visit .steps { grid-template-columns: 1fr; }
  .pkg-band { padding: 64px 0; margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .photo-band > .bg { transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
}

/* ============================================================
   v4 — أقسام تفاعلية: الاختبار، خريطة الجسم، نموذج التقرير
   ============================================================ */
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.per-day { font-size: 13px; color: var(--muted); margin-top: -6px; }
.pkg.featured .per-day { color: #C9D6EA; }
.per-day b { color: var(--navy); }
.pkg.featured .per-day b { color: #fff; }

/* quiz */
.quiz-progress { display: flex; gap: 6px; }
.quiz-progress i { height: 4px; flex: 1; border-radius: 4px; background: rgba(255, 255, 255, .25); transition: background .3s; }
.quiz-progress i.on { background: #fff; }
.quiz-step { display: flex; flex-direction: column; gap: 14px; animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.quiz-back { align-self: flex-start; border: 0; background: transparent; color: #D6E0EF; font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; min-height: 36px; padding: 0; }
.quiz-back svg { transform: scaleX(-1); }
.quiz-ghost { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-ghost span { height: 36px; width: 120px; border-radius: 10px; background: linear-gradient(90deg, #EEF1F6, #F7F8FB, #EEF1F6); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.quiz-ghost span:nth-child(2) { width: 90px; } .quiz-ghost span:nth-child(3) { width: 140px; } .quiz-ghost span:nth-child(4) { width: 100px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* body map */
.body-map { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.body-figure { position: relative; aspect-ratio: 1 / 1; max-height: 620px; margin: 0 auto; width: 100%; max-width: 560px; background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #F3F6FB 55%, rgba(243, 246, 251, 0) 72%); border-radius: 50%; }
.silhouette { position: absolute; inset: 0; width: 100%; height: 100%; }
.hotspots { position: absolute; inset: 0; }
.spot { position: absolute; transform: translate(-50%, -50%); border: 0; background: transparent; padding: 0; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; }
.spot i { position: relative; width: 16px; height: 16px; border-radius: 999px; background: var(--red); box-shadow: 0 0 0 4px rgba(200, 16, 46, .18); flex-shrink: 0; }
.spot i::after { content: ''; position: absolute; inset: -6px; border-radius: 999px; border: 2px solid rgba(200, 16, 46, .45); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.spot span { position: absolute; right: calc(100% - 6px); white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--navy); background: rgba(255, 255, 255, .92); padding: 4px 10px; border-radius: 999px; box-shadow: 0 6px 16px rgba(15, 35, 70, .1); opacity: 0; transform: translateX(6px); transition: all .2s; pointer-events: none; }
.spot:hover span, .spot:focus-visible span, .spot[aria-pressed="true"] span { opacity: 1; transform: none; }
.spot[aria-pressed="true"] i { background: var(--navy); box-shadow: 0 0 0 6px rgba(11, 42, 91, .18); }
.spot[aria-pressed="true"] i::after { border-color: rgba(11, 42, 91, .4); }
.body-panel { border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 14px; animation: stepIn .35s ease; }
.body-fact { font-family: var(--font-display); font-size: 21px; line-height: 1.6; color: var(--navy); }
.body-tests { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.body-tests li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.body-tests li b { display: block; font-size: 15px; }
.body-tests li small { color: var(--muted); font-size: 12.5px; }
.body-pkg { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; border-radius: 16px; padding: 14px 16px; }
.body-pkg small { display: block; color: #C9D6EA; font-size: 12.5px; }
.body-pkg .price b, .body-pkg .price span { color: #fff !important; }

/* sample report */
.report { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.report-sheet { padding: 26px; border-radius: 24px; box-shadow: var(--shadow-soft); background: #fff; position: relative; }
.report-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.brand-mini { display: flex; gap: 8px; align-items: center; }
.brand-mini img { width: 26px; height: 33px; object-fit: contain; }
.brand-mini b { font-family: var(--font-display); color: var(--navy); font-size: 18px; }
.report-meta { display: flex; gap: 20px; padding: 12px 0; color: var(--muted); font-size: 14px; border-bottom: 1px solid var(--line); }
.report-meta b { color: var(--ink); }
.report-rows { display: flex; flex-direction: column; }
.r-row { display: grid; grid-template-columns: 1.3fr 1.4fr .8fr auto; gap: 14px; align-items: center; padding: 14px 10px; border: 0; border-bottom: 1px solid #F0F2F6; background: transparent; text-align: start; cursor: pointer; border-radius: 12px; transition: background .15s; }
.r-row:hover { background: var(--ground); }
.r-row[aria-pressed="true"] { background: var(--blue-soft); }
.r-name b { display: block; font-size: 15px; }
.r-name small, .r-val small { color: var(--muted); font-size: 12px; }
.r-val { direction: ltr; text-align: right; white-space: nowrap; }
.r-val b { font-family: var(--font-display); font-size: 18px; }
.r-val small { margin-inline-start: 4px; }
.r-bar { position: relative; height: 8px; border-radius: 99px; background: #EEF1F6; direction: ltr; }
.r-bar .band { position: absolute; top: 0; bottom: 0; background: #BFE3CD; border-radius: 99px; }
.r-bar .mark { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 999px; border: 3px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.mark.ok, .dot.ok { background: #1E9E57; }
.mark.near, .dot.near { background: #D98A00; }
.mark.out, .dot.out { background: var(--red); }
.r-ok { background: var(--good-soft); color: var(--good); }
.r-near { background: var(--warn-soft); color: var(--warn); }
.r-out { background: var(--red-soft); color: var(--red-dark); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; vertical-align: middle; }
.report-legend { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 14px; font-size: 13px; color: var(--muted); }
.report-legend span { display: inline-flex; gap: 6px; align-items: center; }
.report-side { padding: 26px; border-radius: 24px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); box-shadow: var(--shadow-soft); animation: stepIn .35s ease; }
.report-side h3 { font-size: 22px; }
.trend { width: 100%; height: auto; margin-top: 8px; }

@media (max-width: 900px) {
  .body-map, .report { grid-template-columns: minmax(0, 1fr); }
  .report-side { position: static; }
  .body-figure { max-width: 420px; }
}
@media (max-width: 640px) {
  .r-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .r-row .r-bar { grid-column: 1 / -1; order: 3; }
  .r-row .r-val { order: 2; }
  .r-row .pill { display: none; }
  .body-fact { font-size: 18px; }
  .spot span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .spot i::after, .quiz-ghost span { animation: none; }
  .quiz-step, .body-panel, .report-side { animation: none; }
}

/* ============================================================
   v5 — خريطة تشريحية + تجربة موبايل أقصر
   ============================================================ */
/* shortcuts */
.shortcuts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding-top: 32px; }
.sc { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; padding: 18px 10px; border-radius: 20px; background: rgba(255, 255, 255, .85); border: 1px solid rgba(15, 35, 70, .07); font-weight: 600; font-size: 14px; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.sc:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); color: var(--ink); }
.sc .ic-box { width: 52px; height: 52px; border-radius: 16px; }
.hero-cta-m { display: none; gap: 10px; }

/* anatomy */
.body-map { grid-template-columns: 1.05fr 1fr; gap: 40px; }
.body-stage { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.body-figure { position: relative; width: 100%; max-width: 380px; aspect-ratio: 200 / 420; background: none; border-radius: 0; max-height: none; }
.body-figure::before { content: ''; position: absolute; left: -20%; right: -20%; top: 10%; bottom: 10%; background: radial-gradient(closest-side, rgba(91, 141, 239, .14), rgba(91, 141, 239, 0)); z-index: -1; }
.anatomy { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.anatomy .organ { cursor: pointer; }
.anatomy .organ .halo { opacity: 0; transition: opacity .3s; }
.anatomy .organ .shape { transition: filter .3s, opacity .3s; opacity: .82; }
.anatomy .organ.hover .halo { opacity: .6; }
.anatomy .organ.hover .shape, .anatomy .organ.on .shape { opacity: 1; }
.anatomy .organ.on .halo { opacity: 1; animation: halo 2.2s ease-in-out infinite; }
.anatomy .organ.on .shape { filter: drop-shadow(0 0 3px rgba(200, 16, 46, .55)); }
.anatomy.has-sel .organ:not(.on) .shape { opacity: .45; }
@keyframes halo { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.anatomy .scan { animation: scan 5.5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes scan { 0% { transform: translateY(0); } 100% { transform: translateY(480px); } }
.hotspots .spot { min-width: 40px; min-height: 40px; border-radius: 999px; }
.hotspots .spot i { width: 10px; height: 10px; background: #fff; border: 2px solid var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, .15); }
.hotspots .spot i::after { inset: -8px; }
.hotspots .spot span { display: none; }
.hotspots .spot[aria-pressed="true"] i { background: var(--red); border-color: #fff; }
.organ-tag { position: absolute; transform: translate(-50%, calc(-100% - 22px)); background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s, left .35s, top .35s; box-shadow: 0 8px 20px rgba(11, 42, 91, .25); }
.organ-tag.show { opacity: 1; }
.organ-tag::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--navy); transform: translateX(-50%) rotate(45deg); }
.organ-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 520px; }
.organ-chips .chip { min-height: 36px; font-size: 13px; }
.body-panel { min-height: 420px; }
.panel-head { display: flex; gap: 12px; align-items: center; }
.panel-head .num { font-family: var(--font-display); font-size: 13px; color: var(--muted); margin-inline-start: auto; }

/* bottom sheet (phones) */
.sheet-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(8, 25, 55, .35); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s; }
.sheet-backdrop.show { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 81; max-height: 78vh; background: #fff; border-radius: 26px 26px 0 0; box-shadow: 0 -20px 50px rgba(8, 25, 55, .25); display: flex; flex-direction: column; transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.sheet.show { transform: none; }
.sheet-grip { width: 44px; height: 5px; border-radius: 9px; background: #D5DEEA; margin: 10px auto 4px; flex-shrink: 0; }
.sheet-nav { display: flex; align-items: center; gap: 8px; padding: 4px 16px 8px; }
.sheet-nav .sheet-count { margin-inline-end: auto; font-size: 13px; color: var(--muted); font-weight: 600; order: -1; }
.sheet-nav .icon-btn { width: 40px; height: 40px; border-radius: 12px; }
.sheet-body { overflow: auto; padding: 4px 18px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }

/* bottom nav (phones) */
.bottom-nav { display: none; }

@media (max-width: 1100px) {
  .shortcuts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .body-map { grid-template-columns: minmax(0, 1fr); }
  .body-panel { display: none; }
  .body-figure { max-width: 250px; }
  .organ-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .organ-chips::-webkit-scrollbar { display: none; }
  .organ-chips .chip { flex-shrink: 0; }
}
@media (max-width: 640px) {
  /* app-like nav */
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-decoration: none; min-height: 50px; justify-content: center; }
  .bottom-nav a.on { color: var(--red); }
  .bottom-nav .bn-main { color: var(--ink); }
  .bottom-nav .bn-main span { width: 46px; height: 46px; margin-top: -22px; border-radius: 999px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(200, 16, 46, .35); border: 3px solid #fff; }
  .wa-float { display: none; }
  .cart-bar { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .header-actions .header-phone { display: none; }

  /* shorter hero */
  .hero-visual { display: none; }
  .hero-cta-m { display: flex; }
  .hero-cta-m .btn { flex: 1; }
  .hero-lead { font-size: 16px; }
  .popular { display: none; }
  .glass-stats { margin-top: 0; }

  /* shortcuts → swipe row */
  .shortcuts { display: flex; overflow-x: auto; gap: 10px; padding-top: 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shortcuts::-webkit-scrollbar { display: none; }
  .sc { flex: 0 0 88px; padding: 12px 6px; font-size: 12px; scroll-snap-align: start; }
  .sc .ic-box { width: 44px; height: 44px; border-radius: 14px; }

  /* carousels instead of long stacks */
  .pkg-grid, .cat-grid, .visit .steps, .branch-grid { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding: 4px 20px 12px; margin: 0 -20px; scrollbar-width: none; }
  .pkg-grid::-webkit-scrollbar, .cat-grid::-webkit-scrollbar, .visit .steps::-webkit-scrollbar, .branch-grid::-webkit-scrollbar { display: none; }
  .pkg-grid > *, .visit .steps > *, .branch-grid > * { flex: 0 0 84%; scroll-snap-align: center; }
  .cat-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 78%; }
  .cat-grid > * { scroll-snap-align: start; }
  .cat-cta { grid-row: span 2; }
  .swipe-hint { display: flex; }
  .visit-photo { min-height: 220px; }
  .about-photos { height: 300px; }
  .section-head { margin-bottom: 18px; }
  .section-head p { font-size: 15px; }
}
.swipe-hint { display: none; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin: -8px 0 8px; }
@media (prefers-reduced-motion: reduce) {
  .anatomy .scan, .anatomy .organ.on .halo { animation: none; }
  .sheet, .sheet-backdrop { transition: none; }
}
.branch-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.area-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.area-chips::-webkit-scrollbar { display: none; }
.area-chips .chip { flex-shrink: 0; }
.area-chips small { opacity: .7; font-weight: 500; }
@media (max-width: 900px) { .branch-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .branch-list { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding: 4px 20px 12px; margin: 0 -20px; scrollbar-width: none; }
  .branch-list > * { flex: 0 0 84%; scroll-snap-align: center; }
}
.aw-more > summary { list-style: none; cursor: pointer; display: none; }
.aw-more > summary::-webkit-details-marker { display: none; }
@media (max-width: 640px) {
  .hero .container { padding-top: 200px; }
  .hero > .bg { height: 300px; }
  .about-photos { display: none; }
  .report-side { display: none; }
  .r-row::after { content: '›'; font-size: 22px; color: var(--muted); grid-column: 2; grid-row: 1; justify-self: end; }
  .aw-main { padding: 20px; gap: 14px; }
  .aw-main h3 { font-size: 20px; }
  .aw-main > p { font-size: 15px; }
  .aw-more > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); font-weight: 700; font-size: 14px; }
  .aw-more > summary::after { content: '+'; font-size: 20px; }
  .aw-more[open] > summary::after { content: '−'; }
  .aw-more[open] > summary { margin-bottom: 12px; }
  .reminder { padding: 20px; }
  .site-footer { margin-top: 56px; }
  .site-footer .container { grid-template-columns: 1fr; gap: 20px; padding-top: 36px; }
  .site-footer .container > div:nth-child(2), .site-footer .container > div:nth-child(3) { display: none; }
  .footer-logo img { width: 84px; }
  .faq-q { font-size: 15.5px; padding: 14px 16px; min-height: 56px; }
  .faq-a { padding: 0 16px 16px; font-size: 15px; }
  .cta-band { padding: 32px 22px; }
}

/* v6 — scan stage for the anatomy */
.body-stage { position: relative; background: radial-gradient(120% 90% at 50% 40%, #12366F 0%, #0A2350 45%, #061633 100%); border-radius: 32px; padding: 28px 20px 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(8, 25, 55, .28); }
.body-stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(127, 178, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 178, 255, .07) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 50% 45%, #000 40%, transparent 80%); -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 40%, transparent 80%); }
.body-stage::after { content: 'BODY SCAN · PERFECT LAB'; position: absolute; top: 16px; left: 20px; font: 600 10.5px/1 var(--font); letter-spacing: 2px; color: rgba(156, 200, 255, .55); direction: ltr; }
.body-figure::before { display: none; }
.anatomy .organ .shape { opacity: .9; }
.anatomy.has-sel .organ:not(.on) .shape { opacity: .5; }
.anatomy .organ.on .shape { filter: drop-shadow(0 0 4px rgba(255, 107, 126, .9)); }
.hotspots .spot i { background: rgba(10, 35, 80, .6); border-color: #9CC8FF; box-shadow: 0 0 0 3px rgba(156, 200, 255, .18); }
.hotspots .spot i::after { border-color: rgba(156, 200, 255, .5); }
.hotspots .spot[aria-pressed="true"] i { background: #FF6B7E; border-color: #fff; box-shadow: 0 0 12px rgba(255, 107, 126, .9); }
.organ-tag { background: rgba(255, 255, 255, .95); color: var(--navy); }
.organ-tag::after { background: rgba(255, 255, 255, .95); }
.body-stage .organ-chips .chip { background: rgba(255, 255, 255, .06); border-color: rgba(156, 200, 255, .25); color: #DCE8FA; }
.body-stage .organ-chips .chip[aria-selected="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.body-stage .organ-chips { position: relative; z-index: 1; }
.body-figure { z-index: 1; }
@media (max-width: 900px) { .body-stage { padding: 34px 12px 16px; border-radius: 26px; } .body-figure { max-width: 230px; } }

/* v6 — B2B */
.nav-biz { color: var(--red) !important; }
.biz-hero .container { display: flex; flex-direction: column; gap: 14px; max-width: 1240px; }
.biz-hero h1 { max-width: 760px; font-size: clamp(28px, 4vw, 46px); }
.biz-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.biz-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 28px 0 22px; scrollbar-width: none; }
.biz-tabs::-webkit-scrollbar { display: none; }
.biz-tabs .chip { flex-shrink: 0; min-height: 44px; font-size: 15px; }
.biz-intro { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.biz-intro h2 { font-size: clamp(22px, 3vw, 30px); }
.biz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.biz-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.biz-card b { font-size: 16px; }
.biz-card > span:last-child { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.num-box { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.biz-form-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.biz-form-side { display: flex; flex-direction: column; gap: 12px; }
.biz-form-side h2 { font-size: clamp(24px, 3vw, 32px); }
.biz-teaser { background: linear-gradient(135deg, #FFFFFF 0%, #EEF3FB 100%); border: 1px solid var(--line); border-radius: 28px; padding: 36px; display: grid; grid-template-columns: 1fr 1.8fr; gap: 28px; align-items: center; }
.biz-teaser-head { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.biz-teaser-head h2 { font-size: clamp(22px, 3vw, 30px); }
.biz-teaser-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.biz-mini { padding: 18px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.biz-mini span { color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 900px) {
  .biz-grid { grid-template-columns: 1fr 1fr; }
  .biz-form-wrap, .biz-teaser { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .biz-grid { grid-template-columns: 1fr; }
  .biz-teaser { padding: 22px; }
  .biz-teaser-cards { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; margin: 0 -22px; padding: 0 22px 6px; scrollbar-width: none; }
  .biz-teaser-cards > * { flex: 0 0 78%; scroll-snap-align: center; }
}
/* v6 — booking steps */
.step-bar { position: sticky; top: 72px; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin: -8px -8px 18px; padding: 8px; border-radius: 16px; border: 1px solid var(--line); }
.step-bar button { display: flex; align-items: center; gap: 6px; justify-content: center; border: 0; background: transparent; padding: 8px 4px; border-radius: 10px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.step-bar i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink); font-size: 12px; flex-shrink: 0; }
.step-bar .on { background: #EEF3FB; color: var(--ink); font-weight: 600; }
.step-bar .on i { background: var(--navy, #0B2A5B); color: #fff; }
.step-bar .done i { background: #1E9E6A; color: #fff; }
.for-group .chip { min-height: 44px; justify-content: center; }
@media (max-width: 640px) { .step-bar { top: 64px; } .step-bar span { display: none; } }

/* v7 — uploaded artwork */
.anatomy-img { object-fit: contain; filter: drop-shadow(0 0 18px rgba(90, 160, 255, .35)); transition: filter .4s; }
.body-figure { max-width: 400px; }
.scanline { position: absolute; left: 4%; right: 4%; height: 70px; top: 0; background: linear-gradient(180deg, rgba(120, 190, 255, 0), rgba(120, 190, 255, .22) 85%, rgba(170, 220, 255, .7) 100%); border-bottom: 1px solid rgba(190, 230, 255, .8); pointer-events: none; mix-blend-mode: screen; animation: scanY 6s cubic-bezier(.45, 0, .55, 1) infinite; border-radius: 0 0 40% 40% / 0 0 6px 6px; }
@keyframes scanY { 0% { top: -8%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: 96%; opacity: 0; } }
.organ-glow { position: absolute; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.6); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 120, 140, .55), rgba(255, 90, 110, .18) 55%, rgba(255, 90, 110, 0)); mix-blend-mode: screen; opacity: 0; pointer-events: none; transition: left .35s, top .35s, opacity .3s, transform .35s; }
.organ-glow.show { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: glowPulse 2.4s ease-in-out infinite; }
@keyframes glowPulse { 50% { transform: translate(-50%, -50%) scale(1.15); } }
.organ-chips .chip img, .body-panel .organ-ic { width: 22px; height: 22px; border-radius: 6px; background: #fff; padding: 2px; flex-shrink: 0; }
.organ-chips .chip { display: inline-flex; align-items: center; gap: 6px; }
.organ-head { display: flex; align-items: center; gap: 12px; }
.body-panel .organ-ic, .sheet .organ-ic { width: 52px; height: 52px; border-radius: 14px; padding: 6px; background: #F1F5FC; }
.biz-ic { width: 48px; height: 48px; margin-bottom: 4px; }
.biz-hero.page-hero::before { background-image: url('../img/b2b.webp'); background-position: left center; background-size: cover; }
@media (max-width: 640px) { .body-figure { max-width: 260px; } }
@media (prefers-reduced-motion: reduce) { .scanline, .organ-glow.show { animation: none; } }
.biz-hero.page-hero { padding: 96px 0; }
.biz-hero.page-hero::before { transform: scaleX(-1); background-position: left 30%; }
.biz-hero.page-hero::after { background: linear-gradient(270deg, rgba(250, 248, 244, .96) 0%, rgba(250, 248, 244, .85) 42%, rgba(250, 248, 244, .15) 72%, rgba(250, 248, 244, 0) 100%); }
@media (max-width: 900px) { .biz-hero.page-hero { padding: 56px 0 64px; } .biz-hero.page-hero::after { background: linear-gradient(180deg, rgba(250, 248, 244, .8), rgba(250, 248, 244, .95)); } }
@media (min-width: 901px) {
  .biz-hero.page-hero::before { background-size: auto 100%; background-repeat: no-repeat; background-position: right center; background-color: #F3F5F8; }
  .biz-hero h1, .biz-hero p { max-width: 600px; }
  .biz-hero.page-hero::after { background: linear-gradient(270deg, rgba(250, 248, 244, .97) 0%, rgba(250, 248, 244, .9) 40%, rgba(250, 248, 244, 0) 58%); }
}
/* v9 — logo sticker + menu */
.hero-sticker { position: absolute; z-index: 2; width: 150px; height: auto; left: 4%; bottom: 9%; background: #fff; padding: 6px; border-radius: 26px; box-shadow: 0 0 0 4px #fff, 0 18px 36px rgba(15, 35, 70, .28), 0 2px 6px rgba(15, 35, 70, .18); transform: rotate(-7deg); animation: stickerIn .7s cubic-bezier(.2, 1.4, .4, 1) both .3s; pointer-events: none; }
.hero-sticker::after { content: ''; }
@keyframes stickerIn { from { opacity: 0; transform: rotate(-20deg) scale(.6); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }
@media (max-width: 1100px) and (min-width: 901px) { .hero-sticker { width: 120px; left: 2%; bottom: 4%; } }
@media (max-width: 900px) { .hero-sticker { width: 104px; left: auto; right: 18px; bottom: auto; top: 26px; border-radius: 20px; padding: 4px; transform: rotate(6deg); animation-name: stickerInM; } }
@keyframes stickerInM { from { opacity: 0; transform: rotate(20deg) scale(.6); } to { opacity: 1; transform: rotate(6deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-sticker { animation: none; } }
.mobile-nav { z-index: 60; }
@media (max-width: 900px) { .mobile-nav { top: var(--header-h); } }
@media (min-width: 901px) { .hero-sticker { width: 132px; left: 2.2%; bottom: auto; top: 6%; z-index: 4; } }
/* v10 — die-cut sticker (shape follows the logo, transparent around it) */
.hero-sticker { background: none; padding: 0; border-radius: 0; box-shadow: none; width: 150px; filter: drop-shadow(0 6px 10px rgba(15, 35, 70, .12)); transform-origin: 50% 40%; }
.hero-sticker:hover { transform: rotate(-3deg) scale(1.04); }
@media (min-width: 901px) { .hero-sticker { width: 150px; top: 3%; left: 1.6%; pointer-events: auto; transition: transform .3s; } }
@media (max-width: 900px) { .hero-sticker { width: 112px; top: 18px; right: 14px; padding: 0; border-radius: 0; } }

/* v11 — branch map + language button */
.branch-map-wrap { margin: 4px 0 18px; }
.branch-map { height: 380px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #E8EEF6; box-shadow: var(--shadow-soft, 0 10px 30px rgba(15, 35, 70, .08)); z-index: 0; }
.map-note { margin-top: 8px; }
.map-pin { background: none; border: 0; }
.map-pin span { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #0B2A5B; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(11, 42, 91, .35); color: #fff; font: 700 13px/1 Alexandria, sans-serif; transition: background .2s, transform .2s; }
.map-pin b { transform: rotate(45deg); }
.map-pin.on span { background: #C8102E; transform: rotate(-45deg) scale(1.18); }
.leaflet-tooltip { font-family: inherit; font-weight: 600; }
.lang-btn { font: 700 14px/1 Alexandria, sans-serif; text-decoration: none; color: var(--navy); letter-spacing: .5px; }
@media (max-width: 640px) { .branch-map { height: 280px; border-radius: 18px; } }
/* English (LTR) tweaks */
[dir="ltr"] .main-nav a, [dir="ltr"] .header-phone, [dir="ltr"] .btn { white-space: nowrap; }
[dir="ltr"] .main-nav { gap: 18px; }
@media (max-width: 1360px) { [dir="ltr"] .header-phone span { display: none; } }
@media (max-width: 1180px) and (min-width: 901px) { [dir="ltr"] .main-nav a[href*="faq"] { display: none; } }
[dir="ltr"] .hero-sticker { left: auto; right: 2.2%; transform: rotate(7deg); }
@media (max-width: 900px) { [dir="ltr"] .hero-sticker { left: auto; right: 14px; transform: rotate(6deg); } }
[dir="ltr"] .brand, [dir="ltr"] .brand b { white-space: nowrap; }
[dir="ltr"] .hero-toast { right: auto; left: 24px; }
@media (min-width: 901px) {
  [dir="ltr"] .hero > .bg { transform: scaleX(-1); }
  [dir="ltr"] .hero > .wash { background: linear-gradient(90deg, rgba(250, 248, 244, .97) 0%, rgba(250, 248, 244, .9) 38%, rgba(250, 248, 244, .45) 62%, rgba(250, 248, 244, .05) 100%); }
}
@media (max-width: 1440px) and (min-width: 901px) { [dir="ltr"] .main-nav { gap: 14px; } [dir="ltr"] .main-nav a { font-size: 15px; } [dir="ltr"] .main-nav a[href*="faq"] { display: none; } }
@media (min-width: 901px) {
  [dir="ltr"] .hero-sticker { top: 1%; }
  [dir="ltr"] .biz-hero.page-hero::before { transform: none; background-position: right center; }
  [dir="ltr"] .biz-hero.page-hero::after { background: linear-gradient(90deg, rgba(250, 248, 244, .97) 0%, rgba(250, 248, 244, .9) 40%, rgba(250, 248, 244, 0) 58%); }
}
/* header fit (both languages) */
.main-nav a, .header-phone, .brand b { white-space: nowrap; }
@media (max-width: 1440px) and (min-width: 901px) { .main-nav { gap: 14px; } .main-nav a { font-size: 15px; } .main-nav a[href*="faq"] { display: none; } }
@media (max-width: 1360px) and (min-width: 901px) { .header-phone span { display: none; } }
@media (max-width: 1440px) and (min-width: 901px) { .brand small, .brand span small { white-space: nowrap; } }
/* v12 — partners */
.partners-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.partner-tile { padding: 22px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 150px; }
.partner-tile img { width: 56px; height: 56px; object-fit: contain; }
.partner-tile b { font-size: 15px; color: var(--navy); }
.partner-tile > span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.partner-logo img { width: auto; max-width: 140px; height: 56px; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.partner-logo:hover img { filter: none; opacity: 1; }
.partner-join { border: 2px dashed rgba(200, 16, 46, .35); border-radius: 22px; background: linear-gradient(160deg, #FFF5F6, #FFFFFF); text-decoration: none; transition: border-color .2s, transform .2s; }
.partner-join:hover { border-color: var(--red); transform: translateY(-2px); }
.partner-join .plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff !important; font: 700 24px/1 Alexandria, sans-serif; }
.partner-join b { color: var(--red-dark, #9E0C24); }
.partner-join .btn { margin-top: 4px; }
@media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner-join { grid-column: 1 / -1; } }
.brand > span > span { white-space: nowrap; }
.partner-join > .btn { color: #fff; }
@media (max-width: 640px) { .partner-tile { min-height: 120px; padding: 16px 12px; } .partner-tile img { width: 46px; height: 46px; } }
/* v13 — hero logo: no background, straight, the hero of the photo */
.hero-sticker { display: none !important; }
.hero-logo { align-self: flex-start; width: 132px; height: auto; filter: drop-shadow(0 0 14px rgba(255, 255, 255, .95)) drop-shadow(0 10px 22px rgba(15, 35, 70, .16)); animation: logoIn .8s cubic-bezier(.2, 1.2, .4, 1) both .15s; }
@keyframes logoIn { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero .container { padding-top: 250px; }
  .hero-logo { position: absolute; top: 18px; left: 50%; width: 170px; margin-left: -85px; z-index: 2; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1)) drop-shadow(0 0 26px rgba(255, 255, 255, .9)) drop-shadow(0 10px 24px rgba(15, 35, 70, .22)); }
  .hero > .bg { filter: blur(3px) saturate(.85); transform: scale(1.04); height: 340px; }
  .hero > .wash { background: radial-gradient(60% 55% at 50% 34%, rgba(250, 248, 244, .55), rgba(250, 248, 244, .2) 70%), linear-gradient(180deg, rgba(250, 248, 244, .15) 0, rgba(250, 248, 244, .25) 180px, rgba(250, 248, 244, .9) 300px, var(--ivory) 340px); }
}
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } }
