/* Doctor web profile - modern, social-media friendly.
   Colours come from the doctor's theme (resources/views/partials/theme-vars.blade.php):
   --brand, --brand-dark, --brand-soft, --accent (+ --brand-rgb, --accent-rgb). */
:root {
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e7ebf3;
    --surface: #f7f9fc;
    --radius: 20px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .05);
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .28);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Fraunces', Georgia, serif;
    --bs-body-font-family: var(--font);
    --bs-body-color: var(--ink-2);
    --bs-link-color: var(--brand);
    --bs-link-hover-color: var(--brand-dark);
    --bs-primary: var(--brand);
    --bs-primary-rgb: var(--brand-rgb);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink-2); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.display-serif { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
.text-brand { color: var(--brand) !important; }
.text-accent { color: var(--accent) !important; }
.bg-brand-soft { background: var(--brand-soft) !important; }
.bg-surface { background: var(--surface) !important; }
::selection { background: rgba(var(--brand-rgb), .18); }

/* Buttons */
.btn { border-radius: 999px; font-weight: 600; padding: .62rem 1.3rem; letter-spacing: .01em; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .4rem .9rem; }
.btn-lg { padding: .85rem 1.7rem; }
.btn-brand { color: #fff; background: var(--brand); border: 0; box-shadow: 0 10px 24px -10px rgba(var(--brand-rgb), .8); }
.btn-brand:hover, .btn-brand:focus { color: #fff; background: var(--brand-dark); }
.btn-accent { color: #fff; background: var(--accent); border: 0; box-shadow: 0 10px 24px -10px rgba(var(--accent-rgb), .8); }
.btn-accent:hover { color: #fff; filter: brightness(.95); }
.btn-soft { color: var(--brand); background: var(--brand-soft); border: 0; }
.btn-soft:hover { color: #fff; background: var(--brand); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-glass:hover { color: var(--ink); background: #fff; }
.btn-whatsapp { color: #fff; background: #25d366; border: 0; }
.btn-whatsapp:hover { color: #fff; background: #1ebe5b; }
.btn-outline-brand { color: var(--brand); border: 1.5px solid rgba(var(--brand-rgb), .35); background: #fff; }
.btn-outline-brand:hover { color: #fff; background: var(--brand); border-color: var(--brand); }

/* ---------- Navbar ---------- */
.site-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(15, 23, 42, .35); }
.site-nav .nav-link { font-weight: 600; color: var(--ink-2); padding: .5rem .85rem !important; border-radius: 999px; font-size: .95rem; white-space: nowrap; }
.site-nav .btn { white-space: nowrap; }
@media (max-width: 991.98px) {
    .site-nav .container { flex-wrap: nowrap; }
    .site-nav .navbar-collapse { position: absolute; top: 100%; left: 0; right: 0; padding: 0 1rem 1rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .site-nav .navbar-brand { min-width: 0; flex: 1; margin-right: .5rem; }
    .brand-text { min-width: 0; }
    .brand-text strong, .brand-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
}
@media (min-width: 992px) and (max-width: 1299.98px) { .site-nav .nav-link { padding: .45rem .6rem !important; font-size: .9rem; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .brand-text small { display: none; } }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand); background: var(--brand-soft); }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1rem; background: linear-gradient(135deg, var(--brand), var(--accent)); box-shadow: 0 8px 20px -8px rgba(var(--brand-rgb), .7); flex-shrink: 0; }
.brand-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--brand-soft); border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(var(--brand-rgb), .35), 0 6px 16px -6px rgba(15, 23, 42, .35); }
.brand-avatar img, .brand-avatar svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-avatar img { transform: scale(1.75); transform-origin: 50% 17%; } /* zoom to the face */
.site-footer .brand-avatar { border-color: rgba(255, 255, 255, .85); box-shadow: none; }
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; color: var(--ink); font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.brand-text small { color: var(--muted); font-size: .76rem; font-weight: 500; }
.dropdown-menu { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: .5rem; }
.dropdown-item { border-radius: 10px; padding: .5rem .8rem; font-weight: 500; }
.dropdown-item:hover { background: var(--brand-soft); color: var(--brand); }
.topline { background: var(--brand-dark); color: rgba(255, 255, 255, .85); font-size: .82rem; }
.topline a { color: #fff; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--brand-dark); isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: -20%; z-index: -2;
    background: radial-gradient(40% 50% at 15% 20%, rgba(var(--brand-rgb), .95), transparent 70%),
                radial-gradient(35% 45% at 85% 15%, rgba(var(--accent-rgb), .55), transparent 70%),
                radial-gradient(45% 55% at 70% 90%, rgba(var(--brand-rgb), .7), transparent 70%); filter: blur(10px); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.hero.has-cover::before { background: linear-gradient(110deg, rgba(var(--brand-rgb), .95) 30%, rgba(var(--brand-rgb), .55)), var(--cover) center / cover; filter: none; inset: 0; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; }
.hero .lead { color: rgba(255, 255, 255, .86); font-size: 1.12rem; }
.verified { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: .82rem; font-weight: 600; backdrop-filter: blur(6px); }
.verified .bi-patch-check-fill { color: #4ade80; }
.chip-light { display: inline-block; padding: .3rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 600; background: rgba(255, 255, 255, .14); color: #fff; margin: 0 .3rem .4rem 0; }
.hero-photo-wrap { position: relative; max-width: 440px; margin-inline: auto; }
.hero-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 42% 58% 54% 46% / 46% 42% 58% 54%; overflow: hidden; background: rgba(255, 255, 255, .1); border: 6px solid rgba(255, 255, 255, .18); box-shadow: var(--shadow-lg); animation: morph 14s ease-in-out infinite; }
.hero-photo img, .hero-photo svg { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes morph { 50% { border-radius: 55% 45% 42% 58% / 52% 58% 42% 48%; } }
.float-card { position: absolute; display: flex; align-items: center; gap: .65rem; padding: .7rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow); backdrop-filter: blur(10px); font-size: .85rem; animation: bob 6s ease-in-out infinite; }
.float-card .num { font-weight: 800; font-size: 1.15rem; line-height: 1; color: var(--ink); }
.float-card .ico { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); font-size: 1.15rem; }
.float-card.fc-1 { left: -6%; top: 14%; }
.float-card.fc-2 { right: -8%; top: 46%; animation-delay: -2s; }
.float-card.fc-3 { left: 4%; bottom: 4%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.social-row a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); text-decoration: none; transition: .2s; }
.social-row a:hover { background: #fff; color: var(--brand); }

/* Stats strip */
.stats-strip { position: relative; z-index: 2; margin-top: -48px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.stat .num { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--ink); line-height: 1; }
.stat .label { color: var(--muted); font-size: .85rem; font-weight: 500; }
.stat + .stat { border-left: 1px solid var(--line); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); }
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; }
.section-title em { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--brand); }
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--brand-dark); padding: 64px 0 56px; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(40% 60% at 20% 30%, rgba(var(--brand-rgb), .9), transparent 70%), radial-gradient(35% 50% at 90% 20%, rgba(var(--accent-rgb), .45), transparent 70%); filter: blur(8px); }
/* Faint medical instruments (stethoscope, medicines, thermometer) as line-art on the right, fading into the brand colour. */
.page-hero::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: min(62%, 900px); z-index: -1; pointer-events: none;
    background: url('../images/site/hero-instruments.jpg') center 45% / cover no-repeat;
    filter: grayscale(1) invert(1) contrast(1.6) brightness(.9); mix-blend-mode: screen; opacity: .22;
    -webkit-mask-image: linear-gradient(to left, #000 35%, transparent); mask-image: linear-gradient(to left, #000 35%, transparent); }
@media (max-width: 767.98px) { .page-hero::after { width: 100%; opacity: .12; } }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a, .page-hero .breadcrumb-item::before { color: rgba(255, 255, 255, .75); text-decoration: none; font-size: .88rem; }

/* Cards */
.card-x { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-x.hover:hover, a.card-x:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(var(--brand-rgb), .25); }
a.card-x { color: inherit; text-decoration: none; display: block; }
.icon-tile { width: 56px; height: 56px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--brand); background: var(--brand-soft); transition: .25s; flex-shrink: 0; }
a.card-x:hover .icon-tile, .card-x.hover:hover .icon-tile { color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent)); transform: rotate(-6deg); }
.arrow-link { font-weight: 700; color: var(--brand); text-decoration: none; font-size: .9rem; }
.arrow-link i { transition: transform .2s; }
.card-x:hover .arrow-link i, .arrow-link:hover i { transform: translateX(4px); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: .35rem 0 .35rem 2rem; }
.check-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: .3rem; color: var(--brand); font-size: 1.15rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .85rem; }
.pill-muted { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }

/* About / credentials timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), rgba(var(--brand-rgb), .1)); }
.timeline-item { position: relative; padding-bottom: 1.4rem; }
.timeline-item::before { content: ''; position: absolute; left: -2rem; top: .35rem; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline-item .period { font-size: .78rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.about-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--brand-soft); box-shadow: var(--shadow-lg); }
.about-photo img, .about-photo svg { width: 100%; height: 100%; object-fit: cover; }
.sticky-side { position: sticky; top: 96px; }

/* Locations */
.open-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; }
.open-badge.open { background: #dcfce7; color: #15803d; }
.open-badge.later { background: #fef3c7; color: #a16207; }
.open-badge.closed { background: #fee2e2; color: #b91c1c; }
.open-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-badge.open .dot { animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(21, 128, 61, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(21, 128, 61, 0); } }
.timing-table td { padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.timing-table tr:last-child td { border-bottom: 0; }
.timing-table tr.today td { color: var(--brand); font-weight: 700; }
.map-frame { width: 100%; height: 260px; border: 0; border-radius: 16px; filter: saturate(.9); }

/* Testimonials */
.review-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 360px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.5rem; scrollbar-width: thin; }
.review-scroller > * { scroll-snap-align: start; }
.review-card { padding: 1.6rem; height: 100%; display: flex; flex-direction: column; }
.review-card .stars { color: #f59e0b; letter-spacing: 2px; }
.review-card .quote { font-size: 2.6rem; line-height: 1; color: rgba(var(--brand-rgb), .2); font-family: var(--display); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent)); flex-shrink: 0; }

/* Gallery */
.gallery-grid { columns: 3 260px; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1rem; border-radius: 18px; overflow: hidden; position: relative; cursor: zoom-in; display: block; background: var(--surface); }
.gallery-item img { width: 100%; display: block; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap { position: absolute; inset: auto 0 0 0; padding: 1.4rem .9rem .7rem; color: #fff; font-weight: 600; font-size: .88rem; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); opacity: 0; transition: opacity .25s; }
.gallery-item:hover .cap { opacity: 1; }
.gallery-item .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.gallery-item .play i { font-size: 3.4rem; color: #fff; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .4)); }
.filter-chips .btn { border-radius: 999px; }
.filter-chips .btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Blog */
.post-card .cover { aspect-ratio: 16 / 9; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--brand-soft); }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .cover img { transform: scale(1.05); }
.post-meta { font-size: .82rem; color: var(--muted); }
.featured-post { border-radius: 28px; overflow: hidden; }
.featured-post .cover { min-height: 340px; height: 100%; background: var(--brand-soft); }
.featured-post .cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.prose h2, .prose h3 { margin-top: 2.2rem; margin-bottom: .8rem; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.25rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 1rem 1.25rem; border-radius: 0 14px 14px 0; font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.prose img { max-width: 100%; border-radius: 16px; }
.prose a { color: var(--brand); font-weight: 600; }
.prose table { width: 100%; margin-bottom: 1.4rem; font-size: .95rem; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.prose th { background: var(--brand-soft); color: var(--ink); font-weight: 700; }
.prose th, .prose td { padding: .65rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose .not-prose { font-size: 1rem; }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1040; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.share-bar .btn { width: 42px; height: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.author-box { border-radius: var(--radius); background: linear-gradient(135deg, var(--brand-soft), #fff); border: 1px solid var(--line); }

/* FAQ accordion */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 16px !important; overflow: hidden; margin-bottom: .75rem; }
.faq .accordion-button { font-weight: 700; color: var(--ink); padding: 1.1rem 1.25rem; }
.faq .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; color: #fff; background: linear-gradient(120deg, var(--brand-dark), var(--brand)); isolation: isolate; }
.cta-band::after { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; z-index: -1; background: radial-gradient(rgba(var(--accent-rgb), .55), transparent 70%); }
.cta-band h2 { color: #fff; }

/* Forms */
.form-control, .form-select { border-radius: 14px; border-color: var(--line); padding: .7rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .22rem rgba(var(--brand-rgb), .14); }
.form-label { font-weight: 600; color: var(--ink); font-size: .9rem; }
.form-floating > label { color: var(--muted); }

/* Footer */
.site-footer { background: #0b1220; color: #94a3b8; }
.site-footer h6 { color: #fff; font-weight: 700; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .social-row a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }

/* Mobile action bar + floating WhatsApp */
.action-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1035; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-radius: 20px; box-shadow: 0 16px 40px -12px rgba(15, 23, 42, .35); border: 1px solid var(--line); overflow: hidden; }
.action-bar a, .action-bar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .55rem 0; font-size: .72rem; font-weight: 700; color: var(--ink-2); text-decoration: none; border: 0; background: none; }
.action-bar i { font-size: 1.25rem; }
.action-bar .book { color: #fff; background: var(--brand); }
.action-bar .wa { color: #16a34a; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 1035; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: #25d366; font-size: 1.7rem; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); text-decoration: none; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* Link in bio */
.linkbio { min-height: 100vh; background: var(--brand-dark); position: relative; isolation: isolate; overflow: hidden; }
.linkbio::before { content: ''; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(45% 40% at 20% 10%, rgba(var(--brand-rgb), .95), transparent 70%), radial-gradient(40% 40% at 90% 30%, rgba(var(--accent-rgb), .5), transparent 70%), radial-gradient(50% 50% at 50% 100%, rgba(var(--brand-rgb), .7), transparent 70%); filter: blur(10px); }
.linkbio .photo { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255, 255, 255, .5); margin: 0 auto; box-shadow: var(--shadow-lg); background: #fff; }
.linkbio .photo img, .linkbio .photo svg { width: 100%; height: 100%; object-fit: cover; }
.link-btn { display: flex; align-items: center; gap: .8rem; padding: .95rem 1.2rem; border-radius: 18px; background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); transition: transform .15s; }
.link-btn:hover { transform: translateY(-2px) scale(1.01); color: var(--ink); }
.link-btn i { flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); font-size: 1.1rem; }
.link-btn.primary { background: var(--accent); color: #fff; }
.link-btn.primary i { background: rgba(255, 255, 255, .2); color: #fff; }

/* Home: bespoke sections */
.min-w-0 { min-width: 0; }
.d-grid { grid-template-columns: minmax(0, 1fr); }
.condition-tile { padding: 1.4rem; }
.photo-card { overflow: hidden; display: flex; flex-direction: column; }
.photo-card .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-soft); }
.photo-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.photo-card:hover .ph img { transform: scale(1.06); }
.photo-card .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(var(--brand-rgb), .35)); }
.photo-card .ph .icon-tile { position: absolute; z-index: 1; left: 1.25rem; bottom: 14px; background: #fff; box-shadow: var(--shadow); }
.journey-band { position: relative; overflow: hidden; background: var(--brand-dark); color: rgba(255, 255, 255, .78); isolation: isolate; }
.journey-band::before { content: ''; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(35% 50% at 10% 20%, rgba(var(--brand-rgb), .85), transparent 70%), radial-gradient(30% 45% at 95% 80%, rgba(var(--accent-rgb), .45), transparent 70%); filter: blur(8px); }
.journey-band .section-title em { color: #fff; }
.eyebrow-light { color: rgba(255, 255, 255, .8); }
.journey .step { position: relative; padding: 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); color: #fff; }
.journey .step p { color: rgba(255, 255, 255, .75); }
.journey .step .no { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--accent); }
@media (min-width: 992px) { .journey .col-lg-3:not(:last-child) .step::after { content: '\F138'; font-family: 'bootstrap-icons'; position: absolute; right: -1.15rem; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-size: .8rem; } }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 1rem; }
.mosaic figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.mosaic figure:nth-child(1) { grid-row: span 2; }
.mosaic figure:nth-child(4) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--ink); }
@media (max-width: 575.98px) { .mosaic { grid-auto-rows: 130px; gap: .6rem; } }
.insurer { display: inline-flex; align-items: center; padding: .55rem 1rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.video-thumb { aspect-ratio: 16 / 9; cursor: pointer; }
.video-thumb img { height: 100%; object-fit: cover; }
.video-thumb .cap { font-size: .82rem; }
.treat-hero { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow); }
.treat-hero img { width: 100%; height: 100%; object-fit: cover; }
.fact-grid .fact { padding: 1rem 1.1rem; border-radius: 16px; background: var(--brand-soft); }
.fact-grid .fact .v { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.fact-grid .fact .k { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.steps-list { counter-reset: s; list-style: none; padding: 0; }
.steps-list li { counter-increment: s; position: relative; padding: 0 0 1.1rem 3.2rem; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent)); }
.recovery { border-left: 3px solid var(--brand-soft); padding-left: 1.2rem; }
.recovery .r { position: relative; padding-bottom: .9rem; }
.recovery .r::before { content: ''; position: absolute; left: calc(-1.2rem - 7px); top: .35rem; width: 11px; height: 11px; border-radius: 50%; background: var(--brand); }
.recovery .r b { color: var(--ink); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; } .reveal-delay-2 { transition-delay: .16s; } .reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-photo, .float-card { animation: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 991.98px) {
    .section { padding: 64px 0; }
    .float-card.fc-1 { left: 0; } .float-card.fc-2 { right: 0; }
    .stat:nth-child(3) { border-left: 0; }
    .stat { padding-block: .75rem; }
}
@media (max-width: 767.98px) {
    body.has-action-bar { padding-bottom: 86px; }
    .wa-float { display: none; }
    .stats-strip { margin-top: -32px; }
    .float-card { font-size: .75rem; padding: .5rem .7rem; }
    .float-card .ico { width: 30px; height: 30px; font-size: .95rem; }
    .float-card .num { font-size: .95rem; }
    .hero-photo-wrap { max-width: 300px; }
    .gallery-grid { columns: 2 150px; }
}
@media print { .site-nav, .action-bar, .wa-float, .site-footer, .share-bar { display: none !important; } }

/* Hero call-to-action buttons: compact, one row on desktop */
.hero-cta .btn { padding: .6rem 1.1rem; font-size: .95rem; }
@media (min-width: 992px) { .hero-cta { flex-wrap: nowrap !important; } }

/* Floating quick-action dock (left side, wide screens). Below 1260px the bottom action bar takes over. */
.quick-dock { position: fixed; left: 0; top: calc(50% + 50px); transform: translateY(-50%); z-index: 1036; display: none; flex-direction: column; align-items: center; gap: 2px; padding: 8px 5px; border-radius: 0 20px 20px 0; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border: 1px solid var(--line); border-left: 0; box-shadow: 0 18px 44px -14px rgba(15, 23, 42, .4); }
.quick-dock a, .quick-dock button { position: relative; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink-2); background: transparent; border: 0; font-size: 1.05rem; text-decoration: none; transition: background .2s, color .2s, transform .15s; }
.quick-dock a:hover, .quick-dock button:hover, .quick-dock a:focus-visible, .quick-dock button:focus-visible { background: var(--brand-soft); color: var(--brand); }
.quick-dock .qd-book { color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent)); box-shadow: 0 8px 18px -8px rgba(var(--brand-rgb), .8); }
.quick-dock .qd-book:hover { color: #fff; background: var(--brand-dark); }
.quick-dock .qd-wa { color: #16a34a; }
.quick-dock .qd-wa:hover { background: #dcfce7; color: #15803d; }
.quick-dock .qd-sep { width: 22px; height: 1px; background: var(--line); margin: 3px 0; }
.quick-dock .qd-dot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; animation: ping 1.6s infinite; }
.quick-dock .lbl { position: absolute; left: calc(100% + 12px); top: 50%; transform: translate(-6px, -50%); white-space: nowrap; padding: .4rem .75rem; border-radius: 10px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; box-shadow: var(--shadow); }
.quick-dock .lbl::before { content: ''; position: absolute; left: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--ink); border-radius: 2px; }
.quick-dock a:hover .lbl, .quick-dock button:hover .lbl, .quick-dock a:focus-visible .lbl, .quick-dock button:focus-visible .lbl { opacity: 1; transform: translate(0, -50%); }
@media (min-width: 1260px) {
    .quick-dock { display: flex; }
    .action-bar { display: none; }
}
@media (max-width: 1259.98px) {
    body.has-action-bar { padding-bottom: 86px; }
    .wa-float { display: none; }
    .action-bar { max-width: 560px; margin-inline: auto; }
}
@media (min-width: 1400px) { .container { max-width: 1200px; } } /* keep clear of the dock on very wide screens */
@media print { .quick-dock { display: none !important; } }
