/* ==========================================================================
   Amin General Hospital — site styles
   Ported 1:1 from the Claude Design prototype.
   .vd = desktop design (1440 canvas, shown ≥1024px)
   .vm = mobile design (390 canvas, shown <1024px)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
@media (max-width: 1023.98px) { html { scroll-padding-top: 84px; } }
body { margin: 0; font-family: 'Fira Sans', ui-sans-serif, system-ui, sans-serif; color: #0F1B2A; background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3, h4 { font-family: 'Archivo', 'Arial Narrow', sans-serif; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: #B84300; }
a:hover { color: #8A3200; }
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Desktop / mobile switch */
.vd { display: flex; flex-direction: column; min-height: 100vh; background: #fff;
  /* side gutter: 120px on the 1440 canvas, shrinking to 32px at 1024, centred beyond 1440 */
  --gx: max(clamp(32px, calc(21.15vw - 184.6px), 120px), calc((100% - 1200px) / 2)); }
.vm { display: flex; flex-direction: column; min-height: 100vh; background: #fff; position: relative;
  /* side gutter: 20px on phones, content column capped at 640px on tablets */
  --mx: max(20px, calc((100% - 640px) / 2)); }
@media (max-width: 1023.98px) { .vd { display: none !important; } }
@media (min-width: 1024px) { .vm { display: none !important; } }

/* ----- shared primitives (both canvases) ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 'Fira Sans', sans-serif; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; box-sizing: border-box; transition: background .15s, color .15s, box-shadow .15s; }
.vm .btn { padding: 0 22px; }
.btn-o { background: #FF6200; color: #0B1B30; }
.btn-o:hover { background: #FF7A26; color: #0B1B30; }
.btn-n { background: #0B2340; color: #fff; }
.btn-n:hover { background: #143A62; color: #fff; }
.btn-w { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-w:hover { color: #fff; background: rgba(255,255,255,.08); }
.btn-g { background: transparent; color: #0B2340; box-shadow: inset 0 0 0 1.5px #0B2340; }
.btn-g:hover { color: #0B2340; background: #EEF3F8; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.eyebrow { font: 600 13px/1 'Fira Sans', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: #B84300; }
.vm .eyebrow { font-size: 12px; letter-spacing: .22em; }
.eyebrow-d { color: #FF8A3D; }

.ph { position: relative; overflow: hidden; background-color: #E4EAF1; background-image: repeating-linear-gradient(135deg, rgba(11,35,64,.07) 0 1px, transparent 1px 14px); color: #3E4E60; display: flex; align-items: center; justify-content: center; text-align: center; font: 500 13px/1.4 'Fira Sans', sans-serif; letter-spacing: .03em; }
.vm .ph { background-image: repeating-linear-gradient(135deg, rgba(11,35,64,.07) 0 1px, transparent 1px 12px); font-size: 12px; padding: 8px; }
.ph-d { background-color: #143A62; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 1px, transparent 1px 14px); color: #C9D6E4; }
.vm .ph-d { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 1px, transparent 1px 12px); }

.lnk { color: #B84300; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.lnk:hover { color: #8A3200; }
.lnk svg { transition: transform .15s; }
.lnk:hover svg { transform: translateX(3px); }

.foot a { color: #C9D6E4; text-decoration: none; font-size: 15px; }
.foot a:hover { color: #fff; }
.soc-sq { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; transition: border-color .15s, background .15s; }
.soc-sq:hover { border-color: #FF6200; background: rgba(255,98,0,.08); }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 600 14px 'Fira Sans', sans-serif; color: #0F1B2A; }
.field input, .field select, .field textarea { height: 54px; border: 1.5px solid #D5DDE6; border-radius: 12px; padding: 0 16px; font: 400 16px 'Fira Sans', sans-serif; color: #0F1B2A; background: #fff; box-sizing: border-box; width: 100%; outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: 130px; padding: 14px 16px; resize: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #0B2340; box-shadow: 0 0 0 3px rgba(11,35,64,.08); }
.field .err, .form-err { color: #B42318; font-size: 13px; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: #D92D20; }
.vm .field input, .vm .field select, .vm .field textarea { height: 52px; padding: 0 14px; }
.vm .field textarea { height: 120px; padding: 12px 14px; }
.pg-home .vd .field label { font-size: 13px; }
.pg-home .vd .field input, .pg-home .vd .field select { height: 52px; }
.pg-book .vd .field textarea { height: 100px; }
.pg-book .vm .field textarea { height: 96px; }

.chip { height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #D5DDE6; background: #fff; color: #0F1B2A; font: 500 15px 'Fira Sans', sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: border-color .15s, background .15s, color .15s; }
.chip:hover { border-color: #0B2340; }
.chip.on { background: #0B2340; border-color: #0B2340; color: #fff; }
.vm .chip { padding: 0 18px; flex-shrink: 0; white-space: nowrap; }
.pg-book .vd .chip { height: 48px; gap: 10px; }
.pg-book .vm .chip { padding: 0 16px; font-size: 14px; }

.tab { height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #D5DDE6; background: #fff; color: #0F1B2A; font: 500 15px 'Fira Sans', sans-serif; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.tab:hover { border-color: #0B2340; }
.tab.on { background: #0B2340; border-color: #0B2340; color: #fff; }
.vm .tab { height: 44px; padding: 0 16px; font-size: 14px; flex-shrink: 0; white-space: nowrap; }

.hs { scrollbar-width: none; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hs::-webkit-scrollbar { display: none; }

/* ----- header / nav ----- */
.util a { color: #DCE5EF; text-decoration: none; }
.util a:hover { color: #fff; }
.nav a { color: #0F1B2A; text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: #B84300; }
.nav a.on { color: #B84300; font-weight: 600; }

/* ----- desktop home ----- */
.qa { color: #0F1B2A; text-decoration: none; transition: background .15s; }
.vd .qa:hover { background: #FFF6F0; color: #0F1B2A; }
.card-l { color: #0F1B2A; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.card-l:hover { color: #0F1B2A; box-shadow: 0 18px 40px -20px rgba(11,35,64,.35); }
.soc { color: #0F1B2A; text-decoration: none; transition: border-color .15s; }
.soc:hover { color: #0F1B2A; border-color: #FF6200 !important; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #0B2340; background: #fff; color: #0B2340; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .15s, color .15s; }
.arrow:hover { background: #0B2340; color: #fff; }
.arrow:disabled { border-color: #D5DDE6; color: #A7B1BD; background: #fff; cursor: default; }
.dot { width: 10px; height: 10px; border-radius: 5px; border: 0; padding: 0; background: #CBD5E0; cursor: pointer; transition: width .3s, background .3s; }
.dot.on { width: 32px; background: #FF6200; }
.track { display: flex; gap: 16px; width: max-content; animation: mq 60s linear infinite; }
.track.rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .track { animation-play-state: paused; }
.vm .track { gap: 10px; animation-duration: 45s; }
.vm .track.rev { animation-duration: 52s; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }
.logo { width: 220px; height: 96px; border-radius: 18px; border: 1.5px solid #ECE7E0; background: #FFFFFF; display: flex; align-items: center; justify-content: center; gap: 10px; font: 600 14px 'Fira Sans', sans-serif; color: #4A5A6C; flex-shrink: 0; text-decoration: none; overflow: hidden; }
.logo .mark { width: 28px; height: 28px; border-radius: 8px; background-color: #E4EAF1; background-image: repeating-linear-gradient(135deg, rgba(11,35,64,.1) 0 1px, transparent 1px 6px); flex-shrink: 0; }
.logo img { max-width: 80%; max-height: 64%; object-fit: contain; }
.vm .logo { width: 150px; height: 72px; border-radius: 14px; gap: 8px; font-size: 12px; }
.vm .logo .mark { width: 22px; height: 22px; border-radius: 6px; background-image: repeating-linear-gradient(135deg, rgba(11,35,64,.1) 0 1px, transparent 1px 5px); }
.ptag { font-size: 14px; font-weight: 500; padding: 9px 14px; border-radius: 999px; background: #F7F4EF; color: #0B2340; }
.doc-track { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: var(--col, 282px); column-gap: 24px; row-gap: 32px; transition: transform .5s cubic-bezier(.2,.7,.2,1); }

/* ----- services ----- */
.cat { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 18px; border-radius: 14px; border: 0; background: transparent; color: #0F1B2A; font: 500 16px 'Fira Sans', sans-serif; cursor: pointer; text-align: left; width: 100%; transition: background .15s; }
.cat:hover { background: #F2EEE8; }
.cat.on { background: #0B2340; color: #fff; }
.tag { font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: #EEF3F8; color: #143A62; white-space: nowrap; }
.vm .tag { font-size: 12px; padding: 4px 9px; }
.search { height: 60px; border: 0; border-radius: 999px; padding: 0 24px 0 56px; font: 400 17px 'Fira Sans', sans-serif; width: 100%; box-sizing: border-box; background: #fff; color: #0F1B2A; box-shadow: 0 10px 30px -18px rgba(11,35,64,.35); outline: none; }
.vm .search { height: 52px; padding: 0 18px 0 48px; font-size: 16px; box-shadow: 0 10px 24px -16px rgba(11,35,64,.4); }
.row { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid #ECE7E0; text-decoration: none; color: #0F1B2A; }
.row:hover { color: #0F1B2A; }
.empty { padding: 40px 0; color: #4A5A6C; font-size: 16px; }

/* ----- specialists ----- */
.inp { height: 60px; border: 1.5px solid #D5DDE6; border-radius: 14px; padding: 0 20px; font: 400 16px 'Fira Sans', sans-serif; color: #0F1B2A; background: #fff; box-sizing: border-box; width: 100%; outline: none; }
.vm .inp { height: 52px; border: 0; padding: 0 16px; }

/* ----- appointment ----- */
.doc { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1.5px solid #E1E6EC; background: #fff; cursor: pointer; text-align: left; font-family: inherit; color: #0F1B2A; transition: border-color .15s, background .15s; }
.doc:hover { border-color: #0B2340; }
.doc.on { border-color: #FF6200; background: #FFF6F0; box-shadow: inset 0 0 0 1px #FF6200; }
.vm .doc { gap: 12px; padding: 12px; width: 100%; }
.day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 84px; border-radius: 16px; border: 1.5px solid #E1E6EC; background: #fff; cursor: pointer; font-family: inherit; color: #0F1B2A; transition: border-color .15s, background .15s, color .15s; }
.day:hover { border-color: #0B2340; }
.day.on { background: #0B2340; border-color: #0B2340; color: #fff; }
.vm .day { gap: 2px; width: 64px; height: 78px; border-radius: 14px; flex-shrink: 0; }
.slot { height: 48px; border-radius: 12px; border: 1.5px solid #E1E6EC; background: #fff; font: 500 15px 'Fira Sans', sans-serif; cursor: pointer; color: #0F1B2A; transition: border-color .15s, background .15s; }
.slot:hover { border-color: #0B2340; }
.slot.on { background: #FF6200; border-color: #FF6200; color: #0B1B30; font-weight: 600; }
.slot.off, .slot.off:hover { background: #F3F4F6; color: #8A94A0; text-decoration: line-through; cursor: not-allowed; border-color: #F3F4F6; }
.step { background: #FFFFFF; border: 1px solid #E6E0D6; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.vm .step { border-radius: 22px; padding: 20px; gap: 16px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: #0B2340; color: #fff; display: flex; align-items: center; justify-content: center; font: 700 15px 'Archivo', sans-serif; flex-shrink: 0; transition: background .2s, color .2s; }
.num.ok { background: #FF6200; color: #0B1B30; }
.vm .num { width: 30px; height: 30px; font-size: 14px; }
.pbar { height: 6px; border-radius: 3px; background: #D5DDE6; transition: background .2s; }
.pbar.ok { background: #FF6200; }

/* ----- about ----- */
.ms { position: absolute; width: 220px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transform: translateX(-50%); }
.ms b { font: 800 26px 'Archivo', sans-serif; color: #FF8A3D; }
.ms span { font-size: 15px; line-height: 1.45; color: #DCE5EF; }
.tl-dot { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 6px rgba(255,98,0,.35); transform: translateX(-50%); }

/* ----- news / gallery / social ----- */
.art { color: #0F1B2A; text-decoration: none; }
.art:hover { color: #0F1B2A; }
.art:hover .art-t { color: #B84300; }
.pt { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; border: 1.5px solid rgba(255,255,255,.16); background: transparent; color: #fff; cursor: pointer; font-family: inherit; text-align: left; transition: border-color .15s, background .15s, color .15s; }
.pt:hover { border-color: rgba(255,255,255,.4); }
.pt.on { background: #FFFFFF; color: #0B2340; border-color: #FFFFFF; }
.pt .ic { width: 42px; height: 42px; border-radius: 12px; background: #FF6200; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vm .pt { height: 48px; padding: 0 14px 0 6px; border-radius: 999px; border-color: rgba(255,255,255,.2); font: 600 14px 'Fira Sans', sans-serif; gap: 8px; flex-shrink: 0; }
.vm .pt .ic { width: 36px; height: 36px; border-radius: 50%; }
.pill { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 6px; border-radius: 999px; background: #FFFFFF; border: 1.5px solid #E6E0D6; color: #0F1B2A; text-decoration: none; font: 600 15px 'Fira Sans', sans-serif; flex-shrink: 0; }
.pill:hover { color: #0F1B2A; border-color: #FF6200; }
.gi { position: relative; border: 0; padding: 0; border-radius: 20px; overflow: hidden; cursor: pointer; background: none; font-family: inherit; display: block; }
.vm .gi { border-radius: 14px; }
.gi.g-big { grid-column: span 2; grid-row: span 2; }
.gi.g-wide { grid-column: span 2; }
.gi.g-tall { grid-row: span 2; }
.gi .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(to top, rgba(8,26,48,.88), rgba(8,26,48,0)); color: #fff; display: flex; flex-direction: column; gap: 4px; text-align: left; opacity: 0; transform: translateY(8px); transition: all .25s; }
.gi:hover .cap, .gi:focus-visible .cap { opacity: 1; transform: none; }
.gi:hover .ph { background-color: #D9E1EA; }
.gi img { transition: transform .4s; }
.gi:hover img { transform: scale(1.03); }
.lb-btn { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex-shrink: 0; transition: background .15s, border-color .15s, color .15s; }
.lb-btn:hover { background: #FF6200; border-color: #FF6200; color: #0B1B30; }
.vm .lb-btn { width: 48px; height: 48px; }
.lightbox { position: fixed; inset: 0; background: rgba(8,26,48,.94); z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 60px var(--gx, 20px); }
.vm .lightbox { background: rgba(8,26,48,.96); align-items: stretch; gap: 18px; padding: 20px; }
.lb-stage { display: flex; align-items: center; gap: 28px; width: min(1040px, 100%); }
.lb-photo { flex: 1 1 auto; min-width: 0; height: min(580px, calc(100vh - 220px)); border-radius: 20px; font-size: 15px; }
.lb-photo img { object-fit: contain !important; background: #081A30; }
body.lb-open { overflow: hidden; }

/* ----- contact ----- */
.faq { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; background: transparent; border: 0; border-bottom: 1px solid #E3DDD4; font: 600 18px 'Archivo', sans-serif; color: #0B2340; cursor: pointer; text-align: left; }
.vm .faq { gap: 12px; padding: 18px 0; font: 600 16px/1.3 'Archivo', sans-serif; min-height: 64px; }
.faq .pm { color: #B84300; font-size: 26px; font-weight: 500; transition: transform .2s; flex-shrink: 0; line-height: 1; }
.vm .faq .pm { font-size: 24px; }
.faq[aria-expanded="true"] .pm { transform: rotate(45deg); }
.faq-a { font-size: 16px; line-height: 1.6; color: #4A5A6C; padding: 14px 0 22px; border-bottom: 1px solid #E3DDD4; }
.vm .faq-a { font-size: 15px; padding: 12px 0 18px; }
.info { background: #FFFFFF; border: 1px solid #E6E0D6; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.info .ic { width: 48px; height: 48px; border-radius: 14px; background: #FFF1E8; display: flex; align-items: center; justify-content: center; }
.vm .info { background: none; border: 0; border-radius: 0; flex-direction: row; gap: 14px; padding: 16px 0; border-bottom: 1px solid #ECE7E0; }
.vm .info .ic { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; }
.map-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ----- mobile chrome ----- */
.ibtn { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid #E1E6EC; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: #0B2340; }
.menu { position: fixed; left: 0; right: 0; top: 108px; bottom: 0; background: #0B2340; z-index: 50; padding: 16px max(24px, calc((100% - 640px) / 2)) 24px; display: flex; flex-direction: column; overflow-y: auto; }
.menu > a { color: #FFFFFF; text-decoration: none; font: 700 24px 'Archivo', sans-serif; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; }
.menu .btn { font: 600 16px 'Fira Sans', sans-serif; border: 0; padding: 0; justify-content: center; }
.menu .btn-o { color: #0B1B30; }
body.menu-open { overflow: hidden; }
.bar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); height: 64px; background: #FFFFFF; border-radius: 20px; box-shadow: 0 18px 40px -12px rgba(11,35,64,.45); display: flex; align-items: center; padding: 2px; z-index: 40; border: 1px solid #EEE9E2; max-width: 640px; margin: 0 auto; }
.bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; font: 600 12px 'Fira Sans', sans-serif; color: #0B2340; height: 60px; }

/* ----- flash / alerts ----- */
.alert { border-radius: 16px; padding: 16px 20px; font-size: 15px; line-height: 1.5; display: flex; gap: 12px; align-items: flex-start; }
.alert-ok { background: #ECFDF3; color: #05603A; border: 1px solid #ABEFC6; }
.alert-err { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }

/* ----- rich text (news articles, doctor bios) ----- */
.prose { font-size: 18px; line-height: 1.7; color: #2B3A4B; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose h2, .prose h3 { color: #0B2340; margin: 1.4em 0 .5em; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 23px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose a { color: #B84300; }
.prose img { border-radius: 18px; height: auto; }
.vm .prose { font-size: 16px; }
.vm .prose h2 { font-size: 24px; } .vm .prose h3 { font-size: 20px; }

/* deep-linked service card (#slug from the home page) */
.svc-card { scroll-margin-top: 24px; transition: box-shadow .3s, border-color .3s; }
.svc-card:target { border-color: #FF6200 !important; box-shadow: 0 0 0 3px rgba(255,98,0,.25); }

/* in-page loader (booking availability) */
.mini-loader { position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: rgba(255,255,255,.72); display: flex; align-items: center; justify-content: center; }
.mini-loader[hidden] { display: none; }
.mini-loader span { background: #0B2340; border-radius: 18px; padding: 12px 18px; box-shadow: 0 18px 40px -18px rgba(11,35,64,.6); }
.mini-loader img { width: 120px; height: auto; display: block; }

/* ----- sticky site header (both canvases) ----- */
.site-head { position: sticky; top: 0; z-index: 45; background: #FFFFFF; transition: box-shadow .2s; }
.site-head.stuck { box-shadow: 0 10px 30px -18px rgba(11,35,64,.35); }

/* ----- doctor portrait frame: soft rounded card with an orange tab ----- */
.portrait { border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(11,35,64,.06); aspect-ratio: 10 / 11; }
/* same shape on every screen, and crop from the top so faces stay in frame */
.portrait img { object-position: 50% 15%; }
.portrait::after { content: ''; position: absolute; top: 0; left: 22px; width: 44px; height: 6px; border-radius: 0 0 6px 6px; background: #FF6200; z-index: 1; }
.vm .portrait { border-radius: 16px; }
.vm .portrait::after { left: 16px; width: 32px; height: 5px; }

/* ----- certificate thumbnails ----- */
.cert-card { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.cert-card:hover { color: inherit; }
.cert-paper { position: relative; background: #FFFFFF; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 18px 36px -20px rgba(0,0,0,.55); transition: transform .2s; }
.cert-card:hover .cert-paper { transform: translateY(-4px); }
.cert-paper img.scan { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }

/* ----- home gallery strip ----- */
.gstrip .track { gap: 14px; }
.gs-item { position: relative; width: 300px; height: 210px; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: pointer; flex-shrink: 0; font-family: inherit; }
.gs-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(to top, rgba(8,26,48,.85), rgba(8,26,48,0)); color: #fff; font: 600 14px 'Fira Sans', sans-serif; text-align: left; }
.gs-item img { transition: transform .4s; }
.gs-item:hover img { transform: scale(1.04); }
.vm .gs-item { width: 200px; height: 150px; border-radius: 14px; }
.vm .gstrip .track { gap: 10px; }

/* ----- services <-> departments links ----- */
a.svc-tag { text-decoration: none; transition: background .15s, color .15s; }
a.svc-tag:hover { background: #0B2340; color: #FFFFFF; }
.svc-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: #FFFFFF; border: 1.5px solid #E6E0D6; color: #0B2340; text-decoration: none; font: 600 14px 'Fira Sans', sans-serif; white-space: nowrap; flex-shrink: 0; transition: border-color .15s; }
.svc-pill:hover { color: #0B2340; border-color: #FF6200; }

/* header: drop the "Call us" button when 7 nav links need the room */
@media (max-width: 1279.98px) { .hdr-call { display: none !important; } }
.svc-banner { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 14px; background: #FFF1E8; border: 1.5px solid #FFD2B3; color: #0B2340; font-size: 15px; }
.svc-banner strong { font-weight: 700; }
.svc-clear { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: #8A3200; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; padding: 0; }
.svc-clear:hover { background: #FFDCC6; }

/* ----- doctor weekly timetable ----- */
.hours-card { background: #F7F4EF; border-radius: 24px; padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.vm .hours-card { border-radius: 20px; padding: 20px; }
.hours-title { font: 700 20px 'Archivo', sans-serif; color: #0B2340; }
.vm .hours-title { font-size: 18px; }
.hours { width: 100%; border-collapse: separate; border-spacing: 0; background: #FFFFFF; border-radius: 16px; overflow: hidden; border: 1px solid #E6E0D6; font-size: 15px; }
.vm .hours { font-size: 14px; }
.hours th, .hours td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #EEE9E2; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; color: #0B2340; white-space: nowrap; width: 46%; }
.hours td { color: #0B2340; font-variant-numeric: tabular-nums; }
.hours .is-off th, .hours .is-off td { color: #8A94A0; font-weight: 400; }
.hours .is-today th, .hours .is-today td { background: #FFF1E8; }
.hours .is-today th { box-shadow: inset 4px 0 0 #FF6200; }
.today-pill { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #FF6200; color: #0B1B30; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.hours-note { font-size: 14px; line-height: 1.5; color: #4A5A6C; }

/* ----- announcement pop-up ----- */
.ann { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8,26,48,.62); opacity: 0; transition: opacity .25s; }
.ann.open { opacity: 1; }
.ann-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #FFFFFF; border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); transform: translateY(16px) scale(.98); transition: transform .25s; }
.ann.open .ann-card { transform: none; }
.ann-img { aspect-ratio: 16 / 9; background: #E4EAF1; }
.ann-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ann-body { padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.ann-title { font-size: 28px; line-height: 1.12; font-weight: 800; color: #0B2340; padding-right: 28px; }
.ann-text { font-size: 16px; line-height: 1.6; color: #4A5A6C; }
.ann-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; }
.ann-x { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #0B2340; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px -6px rgba(0,0,0,.35); }
.ann-x:hover { background: #FFFFFF; color: #B84300; }
body.ann-open { overflow: hidden; }
@media (max-width: 600px) {
  .ann { align-items: flex-end; padding: 12px; }
  .ann-body { padding: 22px 20px 20px; }
  .ann-title { font-size: 24px; }
  .ann-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .ann, .ann-card { transition: none; } }
