/* =========================================================
   Vibhav Enterprise Solutions — "Rising V" theme
   Light + dark themes built on the new logo palette
   (navy #12355b, teal #0e9f8e, amber #f59e0b).

   Loaded AFTER the free libraries, site.css and custom.css on every page.
   Dark mode: <html data-theme="dark">, set by the inline script
   in each page <head> (saved choice, else the device setting)
   and switched by the header toggle (assets/js/theme.js).
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  color-scheme: light;

  --bg: #f6f8fb;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --heading: #0f2744;
  --text: #3d4b5c;
  --muted: #64748b;

  --brand-navy: #12355b;
  --brand-teal: #0e9f8e;
  --brand-amber: #f59e0b;
  --accent: #0b7f72;          /* teal dark enough for text on white (AA) */
  --accent-strong: #0a6d62;
  --accent-soft: rgba(14, 159, 142, 0.10);
  --link: #0b7f72;

  --grad-brand: linear-gradient(120deg, #0e9f8e 0%, #12355b 100%);
  --grad-banner: linear-gradient(125deg, #0f2744 0%, #12355b 45%, #0e7f74 100%);
  --hero-bg:
    radial-gradient(700px 420px at 92% 10%, rgba(14, 159, 142, 0.12), transparent 60%),
    radial-gradient(600px 380px at 0% 0%, rgba(18, 53, 91, 0.08), transparent 60%),
    linear-gradient(180deg, #eef4f9 0%, var(--bg) 100%);

  --shadow-sm: 0 1px 2px rgba(15, 39, 68, 0.06), 0 2px 8px rgba(15, 39, 68, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 22px 50px rgba(15, 39, 68, 0.14);
  --radius: 18px;
  --radius-sm: 12px;

  --header-h: 76px;
  --font-head: 'Montserrat', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;

  /* re-point the template's own variables at the new palette */
  --primary: var(--accent);
  --secondary: var(--brand-navy);
  --title-color: var(--heading);
  --text-color: var(--text);
  --light-bg-color: var(--surface-2);
  --card-curve: var(--radius);
}

html[data-theme="dark"] {
  color-scheme: dark;

  /* deep teal-tinted charcoal, matched to the logo (not cold navy) */
  --bg: #0a1316;
  --bg-alt: #0e1a1e;
  --bg-elev: #0d181b;
  --surface: #122126;
  --surface-2: #172a30;
  --surface-glass: rgba(10, 19, 22, 0.86);
  --border: #1f363d;
  --border-strong: #2c4950;

  --heading: #eef6f6;
  --text: #b7c8cb;
  --muted: #84999e;

  --brand-navy: #8bd3ff;
  --accent: #34d3bd;
  --accent-strong: #6ee7d5;
  --accent-soft: rgba(52, 211, 189, 0.12);
  --link: #6ee7d5;

  --art-panel: #e3eeee;          /* light "display panel" behind illustrations */

  --grad-brand: linear-gradient(120deg, #19b8a3 0%, #0f7f86 100%);
  --grad-banner: linear-gradient(125deg, #0b2a2c 0%, #0d3a3a 45%, #0f5a52 100%);
  --hero-bg:
    radial-gradient(760px 460px at 88% 0%, rgba(52, 211, 189, 0.16), transparent 62%),
    radial-gradient(520px 340px at 0% 8%, rgba(245, 158, 11, 0.07), transparent 60%),
    linear-gradient(180deg, #0d1c20 0%, var(--bg) 100%);

  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 56px rgba(0, 0, 0, 0.6);
}

/* ---------- 2. Base ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

body {
  background: var(--bg) !important;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body, p, li, input, textarea, button, select, .btn { font-family: var(--font-body); }
p { color: var(--text); }

h1, h2, h3, h4, h5, h6,
.header-section h2, .header-section h3 {
  font-family: var(--font-head);
  color: var(--heading);
  letter-spacing: -0.01em;
}

a { color: var(--link); }
a:hover { color: var(--accent-strong); }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; }

::selection { background: rgba(14, 159, 142, 0.25); }

:focus-visible {
  outline: 3px solid var(--brand-amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.sub-title {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.header-section h2,
.header-section h3 {
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.2;
  font-weight: 800;
}
.header-section p { color: var(--text); line-height: 1.65; }

/* ---------- 3. Header / navigation ---------- */
header#site-header,
header#site-header.nav-fixed {
  height: var(--header-h);
  background: var(--surface-glass) !important;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
header#site-header.nav-fixed { box-shadow: var(--shadow-sm); }

.navbar { min-height: var(--header-h); flex-wrap: wrap; }

.navbar .navbar-brand { display: inline-flex; align-items: center; line-height: 0; }
.navbar .navbar-brand img,
.navbar-brand img {
  height: 46px !important;
  width: auto !important;
  max-width: none !important;
}
.brand-logo-dark { display: none !important; }
html[data-theme="dark"] .brand-logo-light { display: none !important; }
html[data-theme="dark"] .brand-logo-dark { display: inline-block !important; }

.navbar-expand-lg .navbar-nav .nav-link,
.nav-fixed .navbar-expand-lg .navbar-nav .nav-link {
  color: var(--heading);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  opacity: 1;
}
.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-item.active .nav-link,
.nav-fixed .navbar-expand-lg .navbar-nav li.nav-item.active .nav-link {
  color: var(--accent);
}
a.nav-link:before, a.dropdown-item:before { background: var(--brand-amber); }

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  flex: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; color: var(--brand-amber); }

/* Hamburger */
.navbar-toggler { border: 0; padding: 0 !important; }
.navbar-toggler-icon.fa {
  width: 42px !important;
  height: 42px !important;
  line-height: 42px !important;
  font-size: 20px;
  border-radius: 12px !important;
  background: var(--grad-brand) !important;
  color: #fff !important;
}
.navbar-toggler.bg-gradient { background: none !important; }

/* Products dropdown */
.navbar .dropdown-menu,
.navbar-expand-lg .navbar-nav .dropdown-menu {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-lg) !important;
}
.navbar-expand-lg .navbar-nav .dropdown-menu:before {
  background: var(--surface);
  border-color: var(--border);
}
.dropdown-menu-label { color: var(--muted); }
.dropdown-item.product-link:hover,
.dropdown-item.product-link:focus { background: var(--surface-2); }
.dropdown-item.product-link .product-name { color: var(--heading); }
.dropdown-item.product-link .product-tag { color: var(--muted); }
html[data-theme="dark"] .dropdown-item.product-link img {
  background: #e9f5f3;
  border-radius: 10px;
  padding: 4px;
}

/* Desktop layout: toggle sits after the menu */
@media (min-width: 992px) {
  .navbar .theme-toggle { order: 3; margin-left: 18px; }
  .navbar-expand-lg .navbar-nav .nav-item { padding: 0 13px; }
}

/* Mobile / tablet menu */
@media (max-width: 991.98px) {
  :root { --header-h: 68px; }
  header#site-header,
  header#site-header.nav-fixed { height: auto; min-height: var(--header-h); padding: 0; }
  .navbar { padding: 12px 0; min-height: 0; }
  .navbar .navbar-brand img, .navbar-brand img { height: 40px !important; }
  .navbar .theme-toggle { margin-left: auto; margin-right: 10px; }

  .navbar-collapse {
    flex-basis: 100%;
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .navbar-collapse .navbar-nav {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin: 12px 0 6px;
    padding: 10px !important;
    text-align: left;
  }
  .navbar-expand-lg .navbar-nav .nav-item { padding: 0; }
  .navbar-expand-lg .navbar-nav .nav-link {
    display: block;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 16px;
    text-align: left;
  }
  .navbar-expand-lg .navbar-nav .nav-link:hover { background: var(--surface-2); }
  a.nav-link:before { display: none; }
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    transform: none !important;
    margin: 4px 0 8px !important;
    min-width: 0;
    box-shadow: none !important;
    background: var(--surface-2) !important;
    text-align: left;
  }
  .navbar-expand-lg .navbar-nav .dropdown-menu:before { display: none; }
  .navbar-nav .nav-item .btn { display: block; width: 100%; text-align: center; }
}
@media (max-width: 380px) {
  .navbar .navbar-brand img, .navbar-brand img { height: 34px !important; }
  .theme-toggle, .navbar-toggler-icon.fa { width: 38px !important; height: 38px !important; line-height: 38px !important; }
}

/* ---------- 4. Buttons ---------- */
.btn { border-radius: 999px !important; }
.theme-button {
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  min-height: 44px;              /* comfortable touch target */
}

.btn-primary,
.theme-brand .btn-primary,
.home-hero .btn-primary {
  background: var(--grad-brand) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(14, 159, 142, 0.28) !important;
}
.btn-primary:hover, .btn-primary:focus { filter: brightness(1.08); color: #fff !important; }

.btn-outline-primary,
.theme-brand .btn-outline-primary,
.home-hero .btn-outline-primary {
  color: var(--accent) !important;
  border: 2px solid var(--accent) !important;
  background: transparent !important;
}
.btn-outline-primary:hover,
.theme-brand .btn-outline-primary:hover,
.home-hero .btn-outline-primary:hover {
  background: var(--accent) !important;
  color: #fff !important;
}
html[data-theme="dark"] .btn-outline-primary:hover { color: #06201d !important; }

.btn-light {
  background: #fff !important;
  color: #0f2744 !important;
  border: none !important;
}
.btn-light:hover { background: #f1f5f9 !important; }

/* keep product pages' own accent buttons readable in dark mode */
html[data-theme="dark"] .theme-rose .btn-outline-primary { color: #f58ba6 !important; border-color: #f58ba6 !important; }
html[data-theme="dark"] .theme-mint .btn-outline-primary { color: #5fd08f !important; border-color: #5fd08f !important; }
html[data-theme="dark"] .theme-violet .btn-outline-primary { color: #a99ff7 !important; border-color: #a99ff7 !important; }

/* ---------- 5. Heroes & sections ---------- */
.home-hero,
.product-hero.theme-brand {
  background: var(--hero-bg) !important;
}
.home-hero { padding: calc(var(--header-h) + 64px) 0 72px; }
.product-hero { padding-top: calc(var(--header-h) + 64px); }

.home-hero h1,
.product-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.home-hero h1 {
  background: linear-gradient(120deg, var(--heading) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-brand .eyebrow-pill,
.home-hero .eyebrow-pill {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(14, 159, 142, 0.25);
}
.theme-brand .dot { background: var(--brand-amber); }
.theme-brand .stat-pill h4 { color: var(--accent); }
.theme-brand .step-num { background: var(--grad-brand); }
.stat-pill h4 { font-family: var(--font-head); }
.stat-pill p { color: var(--muted); }

.section-soft-blue { background: var(--surface-2) !important; }
html[data-theme="dark"] .section-soft-blue { background: rgba(23, 36, 62, 0.6) !important; }
html[data-theme="dark"] .section-soft-rose { background: rgba(244, 114, 152, 0.06) !important; }
html[data-theme="dark"] .section-soft-mint { background: rgba(74, 222, 128, 0.05) !important; }
html[data-theme="dark"] .section-soft-violet { background: rgba(167, 139, 250, 0.06) !important; }

html[data-theme="dark"] .product-hero.theme-rose { background: linear-gradient(180deg, #2a1420 0%, var(--bg) 100%); }
html[data-theme="dark"] .product-hero.theme-mint { background: linear-gradient(180deg, #0f2a1d 0%, var(--bg) 100%); }
html[data-theme="dark"] .product-hero.theme-violet { background: linear-gradient(180deg, #1c1838 0%, var(--bg) 100%); }

/* product accents need lighter tints on dark backgrounds */
html[data-theme="dark"] .theme-rose .eyebrow-pill { color: #f58ba6; background: rgba(245, 139, 166, 0.14); }
html[data-theme="dark"] .theme-mint .eyebrow-pill { color: #5fd08f; background: rgba(95, 208, 143, 0.14); }
html[data-theme="dark"] .theme-violet .eyebrow-pill { color: #a99ff7; background: rgba(169, 159, 247, 0.14); }
html[data-theme="dark"] .theme-rose .stat-pill h4 { color: #f58ba6; }
html[data-theme="dark"] .theme-mint .stat-pill h4 { color: #5fd08f; }
html[data-theme="dark"] .theme-violet .stat-pill h4 { color: #a99ff7; }

/* "Trusted by" logos: white chips so JPG logos read in both themes */
.logo-strip { gap: 18px 22px; }
.logo-strip img {
  height: 54px;
  max-width: 150px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  opacity: 0.85;
}
.home-hero .text-center[style*="a9adb4"] { color: var(--muted) !important; }

/* Illustrations: soft rounded stage in dark mode so pale SVG art doesn't glare */
html[data-theme="dark"] .product-hero-art,
html[data-theme="dark"] .home-hero img.product-hero-art,
html[data-theme="dark"] section img.img-fluid[src$=".svg"] {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45)) brightness(0.92);
}

/* Product carousel slides */
.product-slide {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.product-slide h3 { font-size: clamp(22px, 3vw, 30px); }

/* ---------- 6. Cards (replace the old glass effect) ---------- */
.feature-card,
.mode-card,
.value-card,
.product-grid-card,
.weekly-mock,
.contact-form,
.contact-section .contact-card,
.testimonials-section .testimonial-card,
.news-section .grids5-info,
.stats-section .stats_info,
.services-more .svc-more-card,
.services-more .svc-more-card,
.team-section .column-btm {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.feature-card:hover,
.mode-card:hover,
.product-grid-card:hover {
  background: var(--surface) !important;
  border-color: rgba(14, 159, 142, 0.45) !important;
  box-shadow: var(--shadow-lg) !important;
}
.value-card { border-left: 4px solid var(--brand-teal) !important; }

.feature-card h5, .mode-card h4, .value-card h5, .product-grid-card h5,
.step-row h6, .timeline-item h6, .weekly-mock-head, .cart-mock-info strong,
.cart-mock-price, .cart-mock-total, .parsed-field strong, .call-console-head,
.mode-card ul li { color: var(--heading); }
.feature-card p, .mode-card p, .value-card p, .product-grid-card p { color: var(--text); }
.product-grid-card .card-link { color: var(--accent); }

/* icons in cards are light-tinted SVGs — give them a chip in dark mode */
html[data-theme="dark"] .feature-card-icon {
  background: #eaf6f4;
  border-radius: 16px;
  padding: 8px;
}

/* mock-up widgets */
.weekly-mock-head, .call-console-head { border-color: var(--border) !important; }
.weekly-mock-day, .parsed-field { background: var(--surface-2); }
.weekly-mock-day p, .parsed-field small, .cart-mock-info small, .parse-arrow { color: var(--muted); }
.cart-mock-row { border-color: var(--border); }
.call-line.bot { background: var(--surface-2); color: var(--heading); }
.tag-pill-list span { background: var(--surface); border-color: var(--border); color: var(--heading); }
.timeline::before { background: var(--border); }
.timeline-dot { box-shadow: 0 0 0 5px var(--bg); background: var(--accent); }
html[data-theme="dark"] .timeline-dot { color: #06201d; }

/* ---------- 7. Banners ---------- */
.brand-banner,
.cta-banner.theme-brand {
  background: var(--grad-banner) !important;
}
.brand-banner::before { background: rgba(245, 158, 11, 0.16); }
.brand-banner::after { background: rgba(14, 159, 142, 0.22); }
.brand-banner h2, .cta-banner h3 { color: #fff !important; -webkit-text-fill-color: #fff; }
.brand-banner h2 { font-size: clamp(24px, 3.4vw, 34px); }
.cta-banner { box-shadow: var(--shadow-lg); }
.cta-banner h3 { font-size: clamp(22px, 3vw, 30px); }

/* ---------- 8. Testimonials ---------- */
.testimonials-section .testimonials {
  background: var(--surface-2) !important;
  background-image: none !important;
}
.testimonials-section .message p { color: var(--text); }
.testimonials-section .name h4 { color: var(--accent); font-family: var(--font-head); }
.testimonials-section .name p { color: var(--muted); }
.testimonial-avatar { background: #fff; border-color: var(--border); }

.owl-theme .owl-dots .owl-dot span { background: var(--border-strong) !important; }
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span { background: var(--accent) !important; }

/* ---------- 9. Forms ---------- */
.subscribe input,
.contact-section input.form-field,
.contact-section textarea,
.form-control,
.about-band .quote-form input {
  background: var(--bg-elev) !important;
  border: 1.5px solid var(--border-strong) !important;
  color: var(--heading) !important;
  font-size: 16px !important;   /* stops iOS zooming into fields */
}
.subscribe input:focus,
.contact-section input.form-field:focus,
.contact-section textarea:focus,
.form-control:focus {
  border-color: var(--accent) !important;
  background: var(--bg-elev) !important;
  box-shadow: 0 0 0 4px var(--accent-soft) !important;
}
::placeholder { color: var(--muted) !important; opacity: 1; }
.captcha-label { color: var(--text); }
html[data-theme="dark"] .form-feedback.is-success { color: #5fd08f; }
html[data-theme="dark"] .form-feedback.is-error { color: #f58ba6; }

/* ---------- 10. Template sections used on inner pages ---------- */
.contact-section, .contact-section .contact-band, .contact-section .contact-main { background: transparent !important; }
.contact-section .contact-card .icon,
.services-overview .svc-num-col span {
  background: var(--accent-soft) !important;
  color: var(--accent) !important;
}
.contact-section .contact-card-text h4 { color: var(--heading); }
.contact-section .contact-card-text p, .contact-section .contact-card-text a { color: var(--text); }
.contact-section .contact-card-text a:hover { color: var(--accent); }

.services-overview .svc-band { background: var(--surface-2) !important; }
.services-overview img.svc-art-img { border-color: var(--surface) !important; }
.services-more ul.feature-list li span.fa { background: var(--accent-soft) !important; color: var(--accent) !important; }

.team-section .img-circle, .testimonials-section .img-circle { background: var(--surface-2) !important; }
.team-section h3.name-pos a { color: var(--heading); }
.about-band .modal-header { background: var(--surface-2); }
.about-band span.video-play-icon { background: var(--surface); }
.modal-content { background: var(--surface); color: var(--text); border-color: var(--border); }

nav#breadcrumbs { background: var(--surface-2); }

/* ---------- 11. Footer ---------- */
.site-footer .site-footer-main,
.site-footer .site-footer-main.py-5 {
  background: var(--bg-elev) !important;
  border-top: 1px solid var(--border);
}
.site-footer .site-footer-main h3 {
  color: var(--heading);
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer .footer-links li a { color: var(--text); }
.site-footer .footer-links li a:hover,
.site-footer .site-footer-main p a:hover { color: var(--accent); }
.site-footer .site-footer-main p { color: var(--muted); }
.site-footer .footer-bottom { border-top: 1px solid var(--border) !important; }
.site-footer .end-column { background: var(--surface) !important; }
.site-footer #movetop { background: var(--grad-brand); box-shadow: var(--shadow-md); }

/* ---------- 12. Responsive polish ---------- */
@media (max-width: 991.98px) {
  .home-hero, .product-hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 48px; }
  .home-hero { text-align: center; }
  .home-hero .d-flex.flex-wrap { justify-content: center; }
  .home-hero .stat-pill-row { justify-content: center; }
  .product-hero-art { max-width: 88%; margin-left: auto; margin-right: auto; }
}

@media (max-width: 575.98px) {
  .container { padding-left: 16px !important; padding-right: 16px !important; }
  section.py-5, .py-5 { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }

  .home-hero .d-flex.flex-wrap .btn,
  .product-hero .btn,
  .cta-banner .btn {
    width: 100%;
    margin-right: 0 !important;
  }
  .stat-pill-row { gap: 18px 26px; }
  .stat-pill h4 { font-size: 22px; }

  .product-slide { padding: 28px 18px; min-height: 0; border-radius: 20px; }
  .feature-card, .mode-card, .product-grid-card { padding: 24px 20px; }
  .cta-banner { padding: 34px 20px; border-radius: 22px; }
  .brand-banner { padding: 3rem 0; }

  .logo-strip img { height: 46px; max-width: 120px; padding: 8px 12px; }

  .site-footer .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .site-footer .column { text-align: center; }

  .parsed-grid { grid-template-columns: 1fr; }
  .call-line { max-width: 92%; }
}

/* Floating buttons stay clear of each other and of iPhone home bar */
.whatsapp-float { bottom: max(18px, env(safe-area-inset-bottom)); left: max(18px, env(safe-area-inset-left)); }
.site-footer #movetop { bottom: max(18px, env(safe-area-inset-bottom)); right: max(18px, env(safe-area-inset-right)); }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print: always light, no chrome */
@media print {
  header#site-header, .whatsapp-float, #movetop, .theme-toggle { display: none !important; }
  body { background: #fff !important; color: #000; }
}

/* ---------- 13. Polish ---------- */
/* eyebrow pill everywhere (homepage + carousel slides, not only product heroes) */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

/* homepage products band uses the neutral brand surface, not the rose tint */
#our-products { background: var(--surface-2) !important; }
html[data-theme="dark"] #our-products { background: var(--bg-elev) !important; }

.brand-banner::before { background: rgba(255, 255, 255, 0.06); }
.brand-banner::after { background: rgba(45, 212, 191, 0.16); }

/* tone down pale illustration art in dark mode */
html[data-theme="dark"] .product-hero-art,
html[data-theme="dark"] section img.img-fluid[src$=".svg"] {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45)) brightness(0.8) saturate(0.95);
}

/* footer: app not yet released (plain text, no link) */
.site-footer .footer-links li .footer-soon { color: var(--muted); font-size: 15px; cursor: default; }

/* =========================================================
   14. Dark theme refinement
   Deep teal charcoal, clear layering (page → alt band → card),
   illustrations on light "display panels", product colours as
   soft glows instead of muddy fills.
   ========================================================= */
html[data-theme="dark"] body { background: var(--bg) !important; }

/* Illustrations: show them on a soft light panel instead of dimming them */
html[data-theme="dark"] .product-hero-art,
html[data-theme="dark"] .home-hero img.product-hero-art,
html[data-theme="dark"] section img.img-fluid[src$=".svg"]:not(.vt-art):not(.vt-hero-art) {
  filter: none !important;
  background: var(--art-panel);
  border-radius: 28px;
  padding: clamp(10px, 2vw, 22px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 50px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .vt-art,
html[data-theme="dark"] .vt-hero-art { background: var(--art-panel); }

/* Icon chips and partner logos use the same panel colour */
html[data-theme="dark"] .feature-card-icon { background: var(--art-panel); border-radius: 16px; padding: 8px; }
html[data-theme="dark"] .dropdown-item.product-link img { background: var(--art-panel); }
html[data-theme="dark"] .logo-strip img { background: var(--art-panel); border-color: transparent; opacity: 0.92; }
html[data-theme="dark"] .testimonial-avatar { background: var(--art-panel); border-color: transparent; }

/* Section layering */
html[data-theme="dark"] .section-soft-blue,
html[data-theme="dark"] #our-products,
html[data-theme="dark"] .testimonials-section .testimonials,
html[data-theme="dark"] .services-overview .svc-band { background: var(--bg-alt) !important; }
html[data-theme="dark"] nav#breadcrumbs { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
html[data-theme="dark"] .vt-subnav { background: var(--surface-glass); }

/* Product colour zones: soft glows over the dark base */
html[data-theme="dark"] .section-soft-rose   { background: radial-gradient(900px 420px at 50% 0%, rgba(244, 114, 152, 0.08), transparent 70%), var(--bg-alt) !important; }
html[data-theme="dark"] .section-soft-mint   { background: radial-gradient(900px 420px at 50% 0%, rgba(74, 222, 128, 0.07), transparent 70%), var(--bg-alt) !important; }
html[data-theme="dark"] .section-soft-violet { background: radial-gradient(900px 420px at 50% 0%, rgba(167, 139, 250, 0.08), transparent 70%), var(--bg-alt) !important; }
html[data-theme="dark"] .product-hero.theme-rose   { background: radial-gradient(720px 440px at 85% 5%, rgba(244, 114, 152, 0.16), transparent 62%), linear-gradient(180deg, #0d1c20 0%, var(--bg) 100%) !important; }
html[data-theme="dark"] .product-hero.theme-mint   { background: radial-gradient(720px 440px at 85% 5%, rgba(74, 222, 128, 0.13), transparent 62%), linear-gradient(180deg, #0d1c20 0%, var(--bg) 100%) !important; }
html[data-theme="dark"] .product-hero.theme-violet { background: radial-gradient(720px 440px at 85% 5%, rgba(167, 139, 250, 0.15), transparent 62%), linear-gradient(180deg, #0d1c20 0%, var(--bg) 100%) !important; }

/* Carousel slides get a subtle product-coloured edge */
html[data-theme="dark"] .product-slide { background: var(--surface); }
html[data-theme="dark"] .product-slide.theme-rose   { box-shadow: inset 0 3px 0 rgba(244, 114, 152, 0.55), var(--shadow-md); }
html[data-theme="dark"] .product-slide.theme-mint   { box-shadow: inset 0 3px 0 rgba(74, 222, 128, 0.5), var(--shadow-md); }
html[data-theme="dark"] .product-slide.theme-violet { box-shadow: inset 0 3px 0 rgba(167, 139, 250, 0.55), var(--shadow-md); }
html[data-theme="dark"] .product-slide.theme-brand  { box-shadow: inset 0 3px 0 rgba(52, 211, 189, 0.55), var(--shadow-md); }

/* Cards: visible edge, lift on hover */
html[data-theme="dark"] .feature-card:hover,
html[data-theme="dark"] .mode-card:hover,
html[data-theme="dark"] .product-grid-card:hover,
html[data-theme="dark"] .vt-feat:hover {
  background: var(--surface-2) !important;
  border-color: rgba(52, 211, 189, 0.4) !important;
}

/* Hero headline: soft teal sweep, not a hard gradient */
html[data-theme="dark"] .home-hero h1 {
  background: linear-gradient(120deg, #ffffff 35%, #7ee8d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Header + footer */
html[data-theme="dark"] header#site-header { border-bottom-color: rgba(255, 255, 255, 0.06); }
html[data-theme="dark"] .site-footer .site-footer-main,
html[data-theme="dark"] .site-footer .site-footer-main.py-5 { background: #071012 !important; border-top-color: var(--border); }
html[data-theme="dark"] .theme-toggle { background: var(--surface); border-color: var(--border-strong); }

/* Brand banner circles */
html[data-theme="dark"] .brand-banner::before { background: rgba(245, 158, 11, 0.08); }
html[data-theme="dark"] .brand-banner::after { background: rgba(52, 211, 189, 0.12); }


/* product pages: small Privacy / Terms links in the closing call-to-action */
.legal-links { margin-top: 14px !important; margin-bottom: 0 !important; font-size: 13.5px; opacity: .92; }
.legal-links a { color: inherit !important; text-decoration: underline; text-underline-offset: 2px; }
.contact-legal-note { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: right; }
.contact-legal-note a { text-decoration: underline; }

/* homepage carousel: VeeAssets slide (teal + orange brand) */
.theme-va .eyebrow-pill { background: rgba(15, 118, 110, 0.10); color: #0F766E; border: 1px solid rgba(15, 118, 110, 0.22); }
.theme-va .dot { background: #FF9933; }
.theme-va .btn-primary { background: linear-gradient(120deg, #14B8A6, #0F766E) !important; box-shadow: 0 10px 24px rgba(20, 184, 166, 0.3) !important; }
.product-slide.theme-va .product-hero-art { max-width: 460px; width: 100%; border-radius: 22px; }

/* =========================================================
   Compact footer on phones: two columns, left aligned,
   app links in a 2-column grid. Same markup on every page.
   ========================================================= */
@media (max-width: 767.98px) {
  .site-footer .site-footer-main.py-5 { padding-top: 28px !important; padding-bottom: 20px !important; }
  .site-footer .site-footer-main .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    margin: 0;
  }
  .site-footer .site-footer-main .row > .column {
    max-width: none; width: auto; padding: 0; margin-top: 0 !important; text-align: left;
  }
  /* Company (1st) and Our Services (3rd) side by side; App links (2nd) full width below */
  .site-footer .site-footer-main .row > .column:nth-child(1) { grid-column: 1; grid-row: 1; }
  .site-footer .site-footer-main .row > .column:nth-child(3) { grid-column: 2; grid-row: 1; }
  .site-footer .site-footer-main .row > .column:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .site-footer .site-footer-main .row > .column:nth-child(2) .footer-links {
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px;
  }

  .site-footer .site-footer-main h3 { font-size: 12px; letter-spacing: .1em; margin-bottom: 6px; text-align: left; }
  .site-footer .footer-links { text-align: left; }
  .site-footer .footer-links li { display: block; margin: 0; padding: 0; }
  .site-footer .footer-links li a,
  .site-footer .footer-links li .footer-soon {
    display: flex; align-items: center; min-height: 32px; font-size: 14px; line-height: 1.3; padding: 2px 0;
  }
  .site-footer .footer-links li .footer-soon {
    font-size: 12.5px; color: var(--muted);
  }

  .site-footer .footer-bottom {
    margin-top: 16px !important; padding-top: 12px !important;
    flex-direction: row !important; flex-wrap: wrap; justify-content: center !important; gap: 4px 10px;
  }
  .site-footer .footer-bottom .columns,
  .site-footer .footer-bottom .columns-2 { margin-top: 0 !important; }
  .site-footer .footer-bottom p { font-size: 12.5px; margin: 0; }
  .site-footer .footer-bottom .columns p:after { content: ' ·'; }
}
@media (max-width: 767.98px) {
  /* keep the last footer line clear of the floating WhatsApp / back-to-top buttons */
  .site-footer .site-footer-main.py-5 { padding-bottom: 84px !important; }
}

/* homepage carousel: VeeTrax slide (deep teal + amber brand) */
.theme-vt .eyebrow-pill { background: rgba(11, 59, 57, 0.08); color: #0b7f72; border: 1px solid rgba(14, 159, 142, 0.25); }
.theme-vt .dot { background: #f59e0b; }
.theme-vt .btn-primary { background: linear-gradient(120deg, #0e9f8e, #0b3b39) !important; box-shadow: 0 10px 24px rgba(14, 159, 142, 0.3) !important; }
.product-slide.theme-vt .product-hero-art { max-width: 460px; width: 100%; border-radius: 22px; }

/* =========================================================
   Compact footer: all screen sizes
   ========================================================= */
.site-footer .site-footer-main.py-5 { padding-top: 34px !important; padding-bottom: 18px !important; }
.site-footer .site-footer-main h3 { font-size: 12.5px; letter-spacing: .1em; margin-bottom: 10px; }
.site-footer .footer-links li { margin: 0 0 6px; }
.site-footer .footer-links li a,
.site-footer .footer-links li .footer-soon { font-size: 14.5px; line-height: 1.45; }
.site-footer .footer-bottom {
  margin-top: 18px !important; padding-top: 12px !important;
  display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px;
}
.site-footer .footer-bottom .columns, .site-footer .footer-bottom .columns-2 { margin-top: 0 !important; }
.site-footer .footer-bottom p { font-size: 13px; margin: 0; }

@media (min-width: 768px) {
  /* Company | App links (double width, two lists) | Our Services */
  .site-footer .site-footer-main .row {
    display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 0 28px; margin: 0;
  }
  .site-footer .site-footer-main .row > .column { max-width: none; width: auto; padding: 0; margin-top: 0 !important; }
  .site-footer .site-footer-main .row > .column:nth-child(2) .footer-links {
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .site-footer .site-footer-main.py-5 { padding-top: 24px !important; padding-bottom: 76px !important; }
  .site-footer .site-footer-main .row { gap: 14px 16px; }
  .site-footer .footer-links li { margin: 0; }
  .site-footer .footer-links li a,
  .site-footer .footer-links li .footer-soon { min-height: 30px; font-size: 14px; }
  .site-footer .footer-links li .footer-soon { font-size: 12.5px; }
  .site-footer .footer-bottom { justify-content: center; margin-top: 12px !important; }
}

/* About page "What We Do": product tag on practice cards */
.practice-tag {
  display: inline-block; margin: 2px 0 8px; padding: 3px 10px; border-radius: 999px;
  font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(14, 159, 142, 0.22);
}
.practices .feature-card { display: flex; flex-direction: column; align-items: center; }
.practices .feature-card p { flex: 1 1 auto; }
.practices .card-link { margin-top: 12px; font-weight: 700; color: var(--accent); }
.practices .card-link span { display: inline-block; transition: transform .2s ease; }
.practices .feature-card:hover .card-link span { transform: translateX(3px); }

/* closing call-to-action: phone / WhatsApp line under the button */
.cta-banner .cta-contact-line { margin: 14px 0 0 !important; font-size: 14.5px; color: rgba(255, 255, 255, 0.85) !important; }
.cta-banner .cta-contact-line a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cta-banner .cta-contact-line a:hover { color: #fde68a; }

/* =========================================================
   Consistent spacing under the breadcrumb (all inner pages)
   The breadcrumb already sits below the fixed header, so the
   first section must not add the header height again.
   ========================================================= */
#breadcrumbs ~ .product-hero,
#breadcrumbs ~ main .vt-hero,
#breadcrumbs ~ main .faq-hero,
#breadcrumbs ~ main .cp-hero,
#breadcrumbs ~ main .legal-hero { padding-top: 56px !important; }
@media (max-width: 991.98px) {
  #breadcrumbs ~ .product-hero,
  #breadcrumbs ~ main .vt-hero,
  #breadcrumbs ~ main .faq-hero,
  #breadcrumbs ~ main .cp-hero,
  #breadcrumbs ~ main .legal-hero { padding-top: 44px !important; }
}
@media (max-width: 575.98px) {
  #breadcrumbs ~ .product-hero,
  #breadcrumbs ~ main .vt-hero,
  #breadcrumbs ~ main .faq-hero,
  #breadcrumbs ~ main .cp-hero,
  #breadcrumbs ~ main .legal-hero { padding-top: 32px !important; }
  .breadcrumbs { padding: 10px 0; }
}

/* =========================================================
   Ticked lists (e.g. About page services): tidy pill grid,
   left-aligned inside a centred block, 1 / 2 / 3 columns.
   ========================================================= */
.cont-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px 12px;
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
}
.cont-4 li {
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 10px 14px; min-height: 46px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--heading);
  box-shadow: var(--shadow-sm);
}
.cont-4 li .fa {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff; background: var(--grad-brand);
}
@media (min-width: 992px) {
  .product-hero .cont-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
}
@media (max-width: 991.98px) {
  .product-hero .cont-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 400px) {
  .product-hero .cont-4 { grid-template-columns: 1fr; max-width: 320px; }
}
@media (max-width: 400px) {
  .eyebrow-pill { font-size: 10.5px; letter-spacing: .03em; padding: 6px 12px; gap: 6px; }
}

/* =========================================================
   "Talk to us" call-to-action system (all pages)
   ========================================================= */
/* header call button (replaces Vaidhika Login) */
.header-talk {
  display: inline-flex !important; align-items: center; gap: 8px; line-height: 1 !important;
  padding: 0 18px !important; min-height: 46px; white-space: nowrap;
}
.header-talk svg { width: 18px; height: 18px; flex: none; }
.header-talk-num { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0; text-transform: none; opacity: .9; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.35); }
.header-talk:hover svg { animation: ring .6s ease 1; }
@keyframes ring { 0%,100% { transform: rotate(0) } 20%,60% { transform: rotate(-14deg) } 40%,80% { transform: rotate(14deg) } }
@media (max-width: 1199.98px) { .header-talk-num { display: none; } }
@media (max-width: 991.98px) { .header-talk { width: 100%; justify-content: center; } .header-talk-num { display: inline; } }

/* phone: Call / WhatsApp bar on every page */
.vt-stickybar { display: none; }
@media (max-width: 767.98px) {
  .vt-stickybar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 12px; padding-bottom: calc(8px + env(safe-area-inset-bottom));
    background: var(--surface-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(15, 39, 68, .08);
  }
  .vt-stickybar a {
    flex: 1 1 0%; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; margin: 0 4px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 700; font-size: 15px;
  }
  .vt-stickybar svg { width: 20px; height: 20px; }
  .vt-sb-call { background: #0b3b39; color: #fff; }
  .vt-sb-wa { background: #25d366; color: #fff; }
  .vt-sb-call:hover, .vt-sb-wa:hover { color: #fff; }
  body { padding-bottom: 64px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .whatsapp-float, .wa-bubble { display: none !important; }
  #movetop { bottom: 76px !important; }
}

/* trust badges next to calls-to-action */
.trust-badges { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.trust-badges li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.trust-badges li::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230e9f8e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.cta-banner .trust-badges { justify-content: center; }
.cta-banner .trust-badges li { color: rgba(255,255,255,.85); }
.cta-banner .trust-badges li::before { background-color: rgba(255,255,255,.18); }
@media (max-width: 991.98px) { .home-hero .trust-badges { justify-content: center; } }

/* WhatsApp availability bubble (desktop) */
.wa-bubble {
  position: fixed; left: 86px; bottom: 30px; z-index: 98; max-width: 260px;
  padding: 12px 34px 12px 14px; border-radius: 16px 16px 16px 4px; background: #fff; color: var(--heading);
  border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(15, 39, 68, .18);
  font-size: 14px; line-height: 1.4; opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.wa-bubble.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble strong { display: block; font-family: var(--font-head); font-size: 14.5px; margin-bottom: 2px; }
.wa-bubble a { color: #128c4b; font-weight: 700; }
.wa-bubble .wa-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 6px; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.wa-bubble .wa-dot.off { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.wa-bubble-close { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 18px; line-height: 26px; cursor: pointer; padding: 0; }
.wa-bubble-close:hover { background: var(--surface-2); }

/* "Request a call back" mini form */
.callback {
  margin: 18px auto 0; max-width: 620px; padding: 14px; border-radius: 18px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
}
.callback-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 10px; color: inherit; }
.callback-row { display: flex; gap: 8px; flex-wrap: wrap; }
.callback-row input {
  flex: 1 1 160px; min-width: 0; min-height: 46px; padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.4); background: #fff; color: #0f2744; font-size: 16px;
}
.callback-row input:focus { outline: none; border-color: #fcd34d; box-shadow: 0 0 0 3px rgba(252,211,77,.35); }
.callback-row button { flex: 0 0 auto; min-height: 46px; }
.callback .form-feedback { margin-top: 8px; font-weight: 600; text-align: center; }
.callback .form-feedback.is-success { color: #bbf7d0; }
.callback .form-feedback.is-error { color: #fecaca; }
.callback.on-light { background: var(--surface-2); border-color: var(--border); }
.callback.on-light .callback-row input { border-color: var(--border-strong); }
.callback.on-light .form-feedback.is-success { color: #15803d; }
.callback.on-light .form-feedback.is-error { color: #b91c1c; }
@media (max-width: 575.98px) { .callback-row button { flex: 1 1 100%; } }

/* =========================================================
   Bigger logo + slimmer header once you scroll
   ========================================================= */
:root { --header-h: 88px; }
.navbar .navbar-brand img, .navbar-brand img {
  height: 62px !important; width: auto !important; max-width: none !important;
  transition: height .3s ease;
}
header#site-header { transition: height .3s ease, box-shadow .3s ease, background-color .3s ease; }
@media (min-width: 992px) {
  /* after scrolling, the header and logo shrink a little to give more room */
  header#site-header.nav-fixed { height: 72px; }
  header#site-header.nav-fixed .navbar { min-height: 72px; }
  header#site-header.nav-fixed .navbar-brand img { height: 50px !important; }
}
@media (max-width: 991.98px) {
  :root { --header-h: 76px; }
  .navbar .navbar-brand img, .navbar-brand img { height: 50px !important; }
}
@media (max-width: 380px) {
  :root { --header-h: 68px; }
  .navbar .navbar-brand img, .navbar-brand img { height: 42px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .navbar-brand img, header#site-header { transition: none !important; }
}

/* ---- dark theme fine-tuning ---- */
html[data-theme="dark"] .callback.on-light { background: rgba(0,0,0,.18); border-color: rgba(0,0,0,.25); }
html[data-theme="dark"] .callback.on-light .callback-title { color: #1f1300; }
html[data-theme="dark"] .ts-warn { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.35); color: #fcd34d; }
html[data-theme="dark"] .ts-callout { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.35); }
html[data-theme="dark"] .ts-callout strong { color: #fde68a; }
html[data-theme="dark"] .ts-callout span { color: #fbbf24; }
html[data-theme="dark"] .soon-badge, html[data-theme="dark"] .vt-acc-badge, html[data-theme="dark"] .dev-strip-tag { background: rgba(245,158,11,.18); color: #fcd34d; }
html[data-theme="dark"] .wa-bubble { background: var(--surface); }
html[data-theme="dark"] .wa-bubble a { color: #4ade80; }
html[data-theme="dark"] .hero-art-main, html[data-theme="dark"] .vt-art, html[data-theme="dark"] .vt-hero-art { filter: none !important; }
