/* =====================================================================
   VAPI HEALTH  -  assets/css/style.css
   Shared design system + public website styles.
   Palette: professional healthcare blue on white, teal accent.
   ===================================================================== */

:root {
    --vh-primary:        #1257c9;
    --vh-primary-dark:   #0d3f96;
    --vh-primary-darker: #092c6b;
    --vh-primary-light:  #e8f0fe;
    --vh-primary-soft:   #f4f8ff;
    --vh-accent:         #00b3a4;
    --vh-accent-light:   #e0f7f5;
    --vh-ink:            #0f1c33;
    --vh-body:           #475569;
    --vh-muted:          #7b8794;
    --vh-line:           #e3e9f2;
    --vh-surface:        #ffffff;
    --vh-bg:             #f6f9fd;

    --vh-radius:    16px;
    --vh-radius-lg: 24px;
    --vh-radius-sm: 10px;

    --vh-shadow-xs: 0 1px 2px rgba(15, 28, 51, .06);
    --vh-shadow-sm: 0 2px 10px rgba(15, 28, 51, .06);
    --vh-shadow:    0 8px 30px rgba(15, 28, 51, .08);
    --vh-shadow-lg: 0 20px 60px rgba(15, 28, 51, .12);

    --vh-gradient:  linear-gradient(135deg, #1257c9 0%, #2b7cf0 55%, #00b3a4 140%);
    --vh-gradient-soft: linear-gradient(135deg, #eef4ff 0%, #e6f7f5 100%);

    --bs-primary: #1257c9;
}

/* ---------------------------------------------------------------- base */
* { -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--vh-body);
    background: var(--vh-surface);
    font-size: .975rem;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { color: var(--vh-ink); font-weight: 700; letter-spacing: -.02em; }
h1 { font-weight: 800; }
a  { text-decoration: none; color: var(--vh-primary); transition: color .2s ease; }
a:hover { color: var(--vh-primary-dark); }
img { max-width: 100%; }
::selection { background: var(--vh-primary); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--vh-bg); }
::-webkit-scrollbar-thumb { background: #c7d3e4; border-radius: 10px; border: 2px solid var(--vh-bg); }
::-webkit-scrollbar-thumb:hover { background: #a9b9d1; }

/* ------------------------------------------------------------- helpers */
.text-primary   { color: var(--vh-primary) !important; }
.bg-primary     { background-color: var(--vh-primary) !important; }
.text-accent    { color: var(--vh-accent) !important; }
.section        { padding: 96px 0; }
.section-tight  { padding: 72px 0; }
.bg-soft        { background: var(--vh-bg); }
.bg-gradient-soft { background: var(--vh-gradient-soft); }

.section-label {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--vh-primary-light); color: var(--vh-primary-dark);
    font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: .45rem 1rem; border-radius: 100px; margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.2; margin-bottom: .85rem; }
.section-sub   { color: var(--vh-muted); max-width: 640px; margin: 0 auto; }
.divider-dot { width: 54px; height: 4px; border-radius: 4px; background: var(--vh-gradient); margin: 1rem auto 0; }

/* -------------------------------------------------------------- buttons */
.btn {
    font-weight: 600; border-radius: 10px; padding: .625rem 1.35rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .85rem 1.9rem; font-size: 1rem; border-radius: 12px; }
.btn-primary {
    background: var(--vh-primary); border-color: var(--vh-primary);
    box-shadow: 0 6px 18px rgba(18, 87, 201, .25);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--vh-primary-dark); border-color: var(--vh-primary-dark);
    box-shadow: 0 10px 26px rgba(18, 87, 201, .32); transform: translateY(-2px);
}
.btn-soft-primary {
    background: var(--vh-primary-light); color: var(--vh-primary-dark); border: 1px solid transparent;
}
.btn-soft-primary:hover { background: #d8e6fd; color: var(--vh-primary-darker); }
.btn-accent { background: var(--vh-accent); border-color: var(--vh-accent); color: #fff; }
.btn-accent:hover { background: #009c8f; border-color: #009c8f; color: #fff; transform: translateY(-2px); }
.btn-outline-primary { border-color: var(--vh-primary); color: var(--vh-primary); }
.btn-outline-primary:hover { background: var(--vh-primary); border-color: var(--vh-primary); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--vh-primary-dark); border-color: #fff; }
.btn-white:hover { background: #f1f5fb; color: var(--vh-primary-darker); transform: translateY(-2px); }
.btn-ghost-white { border: 1.5px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-white:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }

/* --------------------------------------------------------------- brand */
.brand-mark {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: var(--vh-gradient); color: #fff; font-size: 1.05rem;
    box-shadow: 0 6px 16px rgba(18, 87, 201, .3);
}
.brand-text { font-weight: 800; font-size: 1.28rem; color: var(--vh-ink); letter-spacing: -.03em; }
.brand-text span { color: var(--vh-primary); }
.navbar-brand, .sidebar-brand a, .footer-brand {
    display: inline-flex; align-items: center; gap: .65rem;
}

/* -------------------------------------------------------------- navbar */
.vh-navbar {
    background: rgba(255,255,255,.86);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    padding: .85rem 0; transition: all .3s ease; z-index: 1040;
}
.vh-navbar.scrolled { box-shadow: var(--vh-shadow-sm); border-bottom-color: var(--vh-line); padding: .55rem 0; }
.vh-navbar .nav-link {
    color: var(--vh-ink); font-weight: 600; font-size: .93rem;
    padding: .5rem .9rem !important; border-radius: 8px; position: relative;
}
.vh-navbar .nav-link:hover, .vh-navbar .nav-link.active { color: var(--vh-primary); background: var(--vh-primary-soft); }
.navbar-toggler { border: none; font-size: 1.25rem; color: var(--vh-primary); box-shadow: none !important; }

/* ---------------------------------------------------------- preloader */
#vh-preloader {
    position: fixed; inset: 0; background: #fff; z-index: 9999;
    display: grid; place-items: center; transition: opacity .45s ease, visibility .45s ease;
}
#vh-preloader.hidden { opacity: 0; visibility: hidden; }
.vh-preloader-inner { text-align: center; color: var(--vh-muted); font-weight: 600; font-size: .9rem; }
.vh-pulse {
    width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 1rem;
    background: var(--vh-gradient); color: #fff; display: grid; place-items: center; font-size: 1.6rem;
    animation: vhPulse 1.3s ease-in-out infinite;
}
@keyframes vhPulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(18,87,201,.4); }
    50%      { transform: scale(1.08); box-shadow: 0 0 0 22px rgba(18,87,201,0); }
}

/* Inline spinner used by AJAX forms */
.vh-spinner {
    width: 1rem; height: 1rem; border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff; border-radius: 50%; display: inline-block;
    animation: vhSpin .7s linear infinite; vertical-align: -2px;
}
@keyframes vhSpin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ reveal fx */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ---------------------------------------------------------------- hero */
.hero {
    position: relative; padding: 170px 0 110px;
    background: linear-gradient(160deg, #f4f8ff 0%, #eaf3ff 45%, #e3f6f4 100%);
    overflow: hidden;
}
.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55;
}
.hero::before { width: 480px; height: 480px; background: radial-gradient(circle, rgba(18,87,201,.16), transparent 65%); top: -160px; right: -120px; }
.hero::after  { width: 420px; height: 420px; background: radial-gradient(circle, rgba(0,179,164,.16), transparent 65%); bottom: -180px; left: -140px; }
.hero > .container { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex; align-items: center; gap: .55rem; background: #fff;
    border: 1px solid var(--vh-line); border-radius: 100px; padding: .45rem 1rem .45rem .5rem;
    font-size: .82rem; font-weight: 600; color: var(--vh-ink); box-shadow: var(--vh-shadow-xs); margin-bottom: 1.4rem;
}
.hero-badge i { background: var(--vh-accent-light); color: var(--vh-accent); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.12; margin-bottom: 1.15rem; }
.hero h1 .grad {
    background: var(--vh-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 1.075rem; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.4rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.4rem; }
.hero-stats div strong { display: block; font-size: 1.65rem; font-weight: 800; color: var(--vh-ink); line-height: 1.2; }
.hero-stats div > span { font-size: .82rem; color: var(--vh-muted); font-weight: 600; }
.hero-stats div strong span { font-size: inherit; color: inherit; font-weight: inherit; }

.hero-visual { position: relative; }
.hero-card {
    background: #fff; border-radius: var(--vh-radius-lg); box-shadow: var(--vh-shadow-lg);
    padding: 1.6rem; border: 1px solid var(--vh-line);
}
.hero-card-head { display: flex; align-items: center; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--vh-line); margin-bottom: 1rem; }
.hero-card-head .avatar-circle { background: var(--vh-gradient); }
.hero-vitals { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.hero-vital {
    background: var(--vh-primary-soft); border-radius: var(--vh-radius-sm); padding: .85rem;
    border: 1px solid var(--vh-line);
}
.hero-vital i { color: var(--vh-primary); font-size: .95rem; }
.hero-vital strong { display: block; font-size: 1.15rem; color: var(--vh-ink); line-height: 1.3; }
.hero-vital span { font-size: .74rem; color: var(--vh-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.floating-card {
    position: absolute; background: #fff; border-radius: 14px; padding: .8rem 1rem;
    box-shadow: var(--vh-shadow); border: 1px solid var(--vh-line);
    display: flex; align-items: center; gap: .7rem; font-size: .82rem; font-weight: 600; color: var(--vh-ink);
    animation: vhFloat 4.5s ease-in-out infinite;
}
.floating-card i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: .85rem; }
.floating-card.fc-1 { top: -24px; left: -30px; }
.floating-card.fc-2 { top: 48%; right: -46px; animation-delay: 1.4s; }
.floating-card.fc-3 { bottom: -30px; left: -22px; animation-delay: 2.6s; }
.hero-visual { padding-block: 8px 26px; }
@keyframes vhFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* --------------------------------------------------------- trust strip */
.trust-strip { border-block: 1px solid var(--vh-line); background: #fff; padding: 1.9rem 0; }
.trust-strip .t-item { display: flex; align-items: center; gap: .8rem; justify-content: center; }
.trust-strip i { color: var(--vh-primary); font-size: 1.35rem; }
.trust-strip strong { display: block; color: var(--vh-ink); font-size: 1.05rem; line-height: 1.2; }
.trust-strip span { font-size: .8rem; color: var(--vh-muted); }

/* ---------------------------------------------------------------- cards */
.vh-card {
    background: #fff; border: 1px solid var(--vh-line); border-radius: var(--vh-radius);
    box-shadow: var(--vh-shadow-xs); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    height: 100%;
}
.vh-card:hover { transform: translateY(-6px); box-shadow: var(--vh-shadow); border-color: #cfe0fb; }

.service-card { padding: 2rem 1.6rem; }
.service-icon {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
    font-size: 1.35rem; margin-bottom: 1.15rem; background: var(--vh-primary-light); color: var(--vh-primary);
    transition: transform .3s ease;
}
.vh-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-card h5 { font-size: 1.075rem; margin-bottom: .55rem; }
.service-card p  { font-size: .9rem; margin-bottom: 1rem; color: var(--vh-muted); }
.service-link { font-size: .85rem; font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.service-link i { transition: transform .25s ease; }
.service-card:hover .service-link i { transform: translateX(4px); }

/* ---------------------------------------------------------------- about */
.about-img-wrap { position: relative; }
.about-img {
    border-radius: var(--vh-radius-lg); overflow: hidden; box-shadow: var(--vh-shadow-lg);
    background: var(--vh-gradient); aspect-ratio: 4/3.4; display: grid; place-items: center; color: #fff;
}
.about-badge {
    position: absolute; right: -18px; bottom: 34px; background: #fff; border-radius: var(--vh-radius);
    box-shadow: var(--vh-shadow); padding: 1.1rem 1.35rem; text-align: center; border: 1px solid var(--vh-line);
}
.about-badge strong { display: block; font-size: 2rem; font-weight: 800; color: var(--vh-primary); line-height: 1; }
.about-badge span { font-size: .78rem; color: var(--vh-muted); font-weight: 600; }
.about-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .85rem; }
.about-list li { display: flex; gap: .8rem; align-items: flex-start; }
.about-list i {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--vh-accent-light);
    color: var(--vh-accent); display: grid; place-items: center; font-size: .72rem; margin-top: .18rem;
}
.about-list strong { display: block; color: var(--vh-ink); font-size: .95rem; }
.about-list small { color: var(--vh-muted); }

/* ------------------------------------------------------------ ai section */
.ai-section-wrap {
    background: linear-gradient(150deg, #0b2f6d 0%, #1257c9 55%, #0e7f88 130%);
    color: #fff; position: relative; overflow: hidden;
}
.ai-section-wrap::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.09), transparent 45%),
                      radial-gradient(circle at 80% 70%, rgba(0,255,229,.10), transparent 45%);
}
.ai-section-wrap > .container { position: relative; z-index: 2; }
.ai-section-wrap h2, .ai-section-wrap h5 { color: #fff; }
.ai-section-wrap .section-label { background: rgba(255,255,255,.14); color: #d8ecff; }
.ai-feature { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.ai-feature i {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.13);
    display: grid; place-items: center; font-size: 1rem; color: #7fe3da;
}
.ai-feature strong { color: #fff; display: block; }
.ai-feature p { color: rgba(255,255,255,.72); font-size: .88rem; margin: 0; }

.chat-preview {
    background: #fff; border-radius: var(--vh-radius-lg); box-shadow: var(--vh-shadow-lg); overflow: hidden;
}
.chat-preview-head {
    background: var(--vh-primary-soft); padding: 1rem 1.25rem; display: flex; align-items: center; gap: .8rem;
    border-bottom: 1px solid var(--vh-line);
}
.chat-preview-head .bot-avatar {
    width: 40px; height: 40px; border-radius: 12px; background: var(--vh-gradient); color: #fff;
    display: grid; place-items: center;
}
.chat-preview-head strong { display: block; color: var(--vh-ink); font-size: .95rem; }
.chat-preview-head small { color: var(--vh-accent); font-weight: 600; }
.chat-preview-body { padding: 1.25rem; display: grid; gap: .85rem; max-height: 340px; overflow-y: auto; }
.chat-bubble { max-width: 84%; padding: .75rem 1rem; border-radius: 14px; font-size: .875rem; line-height: 1.6; }
.chat-bubble.user { background: var(--vh-primary); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.chat-bubble.bot  { background: var(--vh-bg); color: var(--vh-body); border: 1px solid var(--vh-line); border-bottom-left-radius: 4px; }
.chat-bubble.bot strong { color: var(--vh-ink); }
.chat-preview-foot { border-top: 1px solid var(--vh-line); padding: .85rem 1.25rem; display: flex; gap: .6rem; }
.chat-preview-foot input { border: 1px solid var(--vh-line); border-radius: 10px; padding: .55rem .9rem; flex: 1; font-size: .875rem; }

.typing-dots { display: inline-flex; gap: 4px; align-items: center; }
.typing-dots span {
    width: 7px; height: 7px; border-radius: 50%; background: var(--vh-primary); opacity: .35;
    animation: vhTyping 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: .2s; }
.typing-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes vhTyping { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* -------------------------------------------------------------- doctors */
.doctor-card { overflow: hidden; text-align: center; }
.doctor-photo {
    position: relative; padding: 1.75rem 1rem .75rem; background: var(--vh-primary-soft);
}
.doctor-photo img {
    width: 108px; height: 108px; border-radius: 50%; object-fit: cover;
    border: 4px solid #fff; box-shadow: var(--vh-shadow-sm); background: #fff;
}
.doctor-avail {
    position: absolute; top: 1rem; right: 1rem; font-size: .68rem; font-weight: 700;
    padding: .28rem .6rem; border-radius: 100px; text-transform: uppercase; letter-spacing: .04em;
}
.doctor-avail.yes { background: #dcfce7; color: #15803d; }
.doctor-avail.no  { background: #fee2e2; color: #b91c1c; }
.doctor-body { padding: 1.1rem 1.25rem 1.5rem; }
.doctor-body h5 { font-size: 1.02rem; margin-bottom: .15rem; }
.doctor-qual { font-size: .78rem; color: var(--vh-muted); display: block; margin-bottom: .5rem; }
.doctor-spec {
    display: inline-block; background: var(--vh-primary-light); color: var(--vh-primary-dark);
    font-size: .74rem; font-weight: 700; padding: .25rem .7rem; border-radius: 100px; margin-bottom: .85rem;
}
.doctor-meta {
    display: flex; justify-content: center; gap: 1.1rem; font-size: .8rem; color: var(--vh-muted);
    padding: .7rem 0; border-block: 1px dashed var(--vh-line); margin-bottom: .95rem;
}
.doctor-meta strong { color: var(--vh-ink); display: block; font-size: .9rem; }
.doctor-rating { color: #f59e0b; font-size: .8rem; }
.doctor-rating span { color: var(--vh-muted); margin-left: .25rem; }

/* -------------------------------------------------------------- why-us */
.why-card { padding: 1.75rem 1.5rem; display: flex; gap: 1.1rem; align-items: flex-start; }
.why-card .n {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    background: var(--vh-gradient); color: #fff; font-weight: 800; font-size: 1rem;
}
.why-card h6 { font-size: 1rem; margin-bottom: .35rem; }
.why-card p  { font-size: .875rem; color: var(--vh-muted); margin: 0; }

/* --------------------------------------------------------- testimonials */
.testimonial-card { padding: 2rem 1.7rem; position: relative; }
.testimonial-card .quote-mark {
    position: absolute; top: 1.1rem; right: 1.4rem; font-size: 2.4rem; color: var(--vh-primary-light);
}
.testimonial-stars { color: #f59e0b; margin-bottom: .9rem; font-size: .85rem; }
.testimonial-text { font-size: .92rem; color: var(--vh-body); margin-bottom: 1.35rem; }
.testimonial-user { display: flex; align-items: center; gap: .8rem; }
.testimonial-user strong { display: block; color: var(--vh-ink); font-size: .92rem; }
.testimonial-user small { color: var(--vh-muted); font-size: .78rem; }

.avatar-circle {
    width: 42px; height: 42px; border-radius: 50%; background: var(--vh-primary);
    color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: .85rem;
    flex-shrink: 0; letter-spacing: .02em;
}
.avatar-circle.sm { width: 34px; height: 34px; font-size: .74rem; }
.avatar-circle.lg { width: 64px; height: 64px; font-size: 1.2rem; }
.avatar-circle.xl { width: 92px; height: 92px; font-size: 1.7rem; }
.avatar-teal   { background: var(--vh-accent); }
.avatar-indigo { background: #6366f1; }
.avatar-rose   { background: #e11d48; }
.avatar-amber  { background: #d97706; }

/* -------------------------------------------------------------- pricing */
.price-card { padding: 2.2rem 1.8rem; position: relative; }
.price-card.featured { border-color: var(--vh-primary); box-shadow: var(--vh-shadow); transform: translateY(-8px); }
.price-card.featured::before {
    content: 'Most Popular'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--vh-gradient); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; padding: .35rem 1rem; border-radius: 100px; white-space: nowrap;
}
.price-plan { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--vh-primary); }
.price-amount { font-size: 2.6rem; font-weight: 800; color: var(--vh-ink); line-height: 1.1; margin: .6rem 0 .2rem; }
.price-amount small { font-size: .95rem; font-weight: 600; color: var(--vh-muted); }
.price-desc { font-size: .86rem; color: var(--vh-muted); margin-bottom: 1.4rem; }
.price-features { list-style: none; padding: 0; margin: 0 0 1.7rem; display: grid; gap: .7rem; font-size: .88rem; }
.price-features li { display: flex; gap: .6rem; align-items: flex-start; }
.price-features i { color: var(--vh-accent); margin-top: .25rem; font-size: .78rem; }
.price-features li.off { color: #b6c0ce; }
.price-features li.off i { color: #cbd5e1; }

/* ------------------------------------------------------------------ faq */
.accordion-item { border: 1px solid var(--vh-line); border-radius: var(--vh-radius) !important; margin-bottom: .85rem; overflow: hidden; background: #fff; }
.accordion-button {
    font-weight: 700; color: var(--vh-ink); font-size: .97rem; padding: 1.15rem 1.35rem;
    background: #fff; box-shadow: none !important;
}
.accordion-button:not(.collapsed) { background: var(--vh-primary-soft); color: var(--vh-primary-dark); }
.accordion-button::after { background-size: 1rem; }
.accordion-body { padding: 0 1.35rem 1.3rem; font-size: .9rem; color: var(--vh-muted); }

/* -------------------------------------------------------------- contact */
.contact-info-card { padding: 1.4rem; display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-card i {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    background: var(--vh-primary-light); color: var(--vh-primary); font-size: 1.05rem;
}
.contact-info-card h6 { margin-bottom: .2rem; font-size: .95rem; }
.contact-info-card p  { margin: 0; font-size: .875rem; color: var(--vh-muted); }

.form-label { font-weight: 600; font-size: .85rem; color: var(--vh-ink); margin-bottom: .4rem; }
.form-control, .form-select {
    border: 1px solid var(--vh-line); border-radius: 10px; padding: .7rem .95rem; font-size: .92rem;
    background: #fff; color: var(--vh-ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--vh-primary); box-shadow: 0 0 0 4px rgba(18, 87, 201, .1);
}
.form-control::placeholder { color: #a9b4c4; }
.input-icon { position: relative; }
.input-icon > i {
    position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--vh-muted); font-size: .88rem;
    pointer-events: none;
}
.input-icon .form-control, .input-icon .form-select { padding-left: 2.6rem; }
.input-icon .toggle-pass {
    position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); color: var(--vh-muted);
    background: none; border: none; cursor: pointer; font-size: .88rem; padding: .25rem;
}

/* ---------------------------------------------------------------- cta */
.cta-band {
    background: var(--vh-gradient); color: #fff; border-radius: var(--vh-radius-lg);
    padding: 3rem 2.6rem; position: relative; overflow: hidden;
}
.cta-band::after {
    content: '\f21e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; right: 2rem; bottom: -2.4rem; font-size: 11rem; opacity: .09;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.15rem); }
.cta-band p  { color: rgba(255,255,255,.82); margin-bottom: 0; }

/* -------------------------------------------------------------- footer */
.vh-footer { background: #0b1b33; color: #93a4bd; padding: 76px 0 0; }
.vh-footer h6 { color: #fff; font-size: .95rem; margin-bottom: 1.1rem; }
.vh-footer .brand-text { color: #fff; }
.vh-footer .brand-text span { color: #64a8ff; }
.footer-about { font-size: .89rem; margin: 1.1rem 0 1.4rem; max-width: 380px; }
.vh-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.vh-footer ul a { color: #93a4bd; font-size: .89rem; }
.vh-footer ul a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; font-size: .89rem; }
.footer-contact i { color: #64a8ff; margin-top: .3rem; width: 16px; flex-shrink: 0; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.07); color: #cbd8ea;
    display: grid; place-items: center; font-size: .88rem; transition: all .25s ease;
}
.footer-social a:hover { background: var(--vh-primary); color: #fff; transform: translateY(-3px); }
.footer-bottom {
    margin-top: 3.2rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.08);
    display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; font-size: .84rem;
}
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { color: #93a4bd; }
.footer-legal a:hover { color: #fff; }

.back-to-top {
    position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 14px;
    background: var(--vh-primary); color: #fff; display: grid; place-items: center; z-index: 1030;
    box-shadow: 0 8px 24px rgba(18,87,201,.35); opacity: 0; visibility: hidden; transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--vh-primary-dark); color: #fff; transform: translateY(-3px); }

/* ---------------------------------------------------------- auth pages */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside {
    background: linear-gradient(155deg, #0b2f6d 0%, #1257c9 60%, #0e7f88 130%);
    color: #fff; padding: 3.5rem; display: flex; flex-direction: column; justify-content: space-between;
    position: relative; overflow: hidden;
}
.auth-aside::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 15% 15%, rgba(255,255,255,.10), transparent 42%),
                      radial-gradient(circle at 85% 80%, rgba(0,255,229,.12), transparent 42%);
}
.auth-aside > * { position: relative; z-index: 2; }
.auth-aside h2 { color: #fff; font-size: 1.9rem; line-height: 1.25; }
.auth-aside p  { color: rgba(255,255,255,.75); }
.auth-points { list-style: none; padding: 0; display: grid; gap: 1rem; margin: 1.8rem 0 0; }
.auth-points li { display: flex; gap: .85rem; align-items: flex-start; font-size: .9rem; color: rgba(255,255,255,.9); }
.auth-points i { color: #7fe3da; margin-top: .28rem; }
.auth-quote { background: rgba(255,255,255,.09); border-radius: var(--vh-radius); padding: 1.3rem; font-size: .88rem; }
.auth-main { display: grid; place-items: center; padding: 2.5rem 1.5rem; background: #fff; }
.auth-form { width: 100%; max-width: 440px; }
.auth-form h3 { font-size: 1.6rem; margin-bottom: .35rem; }
.auth-form .lead-sm { color: var(--vh-muted); font-size: .92rem; margin-bottom: 1.8rem; }
.demo-hint {
    background: var(--vh-primary-soft); border: 1px dashed #bcd3f7; border-radius: var(--vh-radius-sm);
    padding: .85rem 1rem; font-size: .82rem; color: var(--vh-primary-dark); margin-bottom: 1.4rem;
}
.demo-hint strong { display: block; margin-bottom: .15rem; }
.auth-divider { display: flex; align-items: center; gap: 1rem; color: var(--vh-muted); font-size: .8rem; margin: 1.5rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--vh-line); }
@media (max-width: 991.98px) {
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
}

/* ------------------------------------------------------- dark mode base */
[data-bs-theme="dark"] {
    --vh-ink: #eef3fb;
    --vh-body: #b6c2d4;
    --vh-muted: #8b99ad;
    --vh-line: #22304a;
    --vh-surface: #0e1729;
    --vh-bg: #0a1220;
    --vh-primary-light: #16294a;
    --vh-primary-soft: #101d33;
    --vh-accent-light: #10312f;
}
[data-bs-theme="dark"] body { background: var(--vh-surface); color: var(--vh-body); }
[data-bs-theme="dark"] .vh-card,
[data-bs-theme="dark"] .accordion-item,
[data-bs-theme="dark"] .accordion-button,
[data-bs-theme="dark"] .hero-card,
[data-bs-theme="dark"] .chat-preview,
[data-bs-theme="dark"] .floating-card,
[data-bs-theme="dark"] .auth-main,
[data-bs-theme="dark"] .trust-strip { background: #111c30; border-color: var(--vh-line); }
[data-bs-theme="dark"] .vh-navbar { background: rgba(14,23,41,.9); }
[data-bs-theme="dark"] .hero { background: linear-gradient(160deg, #0b1424 0%, #0e1c33 50%, #0b2320 100%); }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select { background: #0f1b2f; border-color: var(--vh-line); color: var(--vh-ink); }
[data-bs-theme="dark"] #vh-preloader { background: #0e1729; }
[data-bs-theme="dark"] .doctor-photo { background: #101d33; }
[data-bs-theme="dark"] ::-webkit-scrollbar-thumb { background: #2a3a57; border-color: #0a1220; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 991.98px) {
    .section { padding: 68px 0; }
    .hero { padding: 130px 0 80px; text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 3.5rem; }
    .floating-card.fc-1 { left: 0; }
    .floating-card.fc-2 { right: 0; }
    .vh-navbar .navbar-collapse {
        background: #fff; border: 1px solid var(--vh-line); border-radius: var(--vh-radius);
        padding: 1rem; margin-top: .75rem; box-shadow: var(--vh-shadow);
    }
    [data-bs-theme="dark"] .vh-navbar .navbar-collapse { background: #111c30; }
    .price-card.featured { transform: none; }
    .about-badge { right: 12px; bottom: 12px; }
}
@media (max-width: 575.98px) {
    .section { padding: 54px 0; }
    .cta-band { padding: 2.2rem 1.4rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; flex-wrap: wrap; }
    .hero-stats { gap: 1.5rem; }
}
