/* =========================================================
   Unik premium theme layer — Poppins, spacing, dark mode,
   backgrounds, Lenis-friendly motion (brand #074f78)
   ========================================================= */

/* Poppins loaded in master layout — avoid duplicate @import */
:root {
  --unik-primary: #074f78;
  --unik-primary-rgb: 7, 79, 120;
  --unik-ink: #1a1a1a;
  --unik-ink-rgb: 26, 26, 26;
  --unik-muted: #5b6672;
  --unik-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --unik-space-1: 0.5rem;
  --unik-space-2: 1rem;
  --unik-space-3: 1.5rem;
  --unik-space-4: 2rem;
  --unik-space-5: 3rem;
  --unik-space-6: 4.5rem;
  --unik-space-7: 6rem;
  --unik-radius: 1.25rem;
  --unik-bg-light: #f5f8fb;
  --unik-bg-light-2: #eef3f7;
  --unik-bg-dark: #12171c;
  --unik-bg-dark-2: #1a222b;
  --unik-card-dark: #1e272f;
  --unik-text-dark: #e8eef3;
  --unik-muted-dark: #a9b4bf;
  --unik-text-base: 1rem;
  --unik-text-sm: 0.875rem;
  --unik-text-xs: 0.8125rem;
  --unik-leading: 1.65;
  --unik-leading-tight: 1.22;
  --unik-page-x: clamp(1rem, 4.2vw, 1.35rem);
  --unik-header-h: 64px;
  --unik-header-offset: 64px;
}

/* ---------- Poppins sitewide ---------- */
html, body,
body,
button, input, select, textarea,
.navbar, .nav-link, .btn, .card, .dropdown-menu,
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.lead, p, a, span, li, label, small {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif !important;
}

body {
  letter-spacing: 0.01em;
  font-size: var(--unik-text-base);
  line-height: var(--unik-leading);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p, .lead, .unik-section-sub, .text-secondary {
  line-height: var(--unik-leading);
}

.unik-section-title,
h2.unik-section-title {
  line-height: var(--unik-leading-tight);
  letter-spacing: -0.025em;
}

.btn {
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

@media (max-width: 767.98px) {
  body {
    font-size: 0.9375rem;
  }

  .container:not(.px-0),
  .container-fluid:not(.px-0) {
    padding-left: var(--unik-page-x) !important;
    padding-right: var(--unik-page-x) !important;
  }

  .unik-section-title,
  h2.unik-section-title {
    font-size: clamp(1.42rem, 5.2vw, 1.85rem) !important;
  }

  .unik-section-sub,
  .unik-section-subtitle,
  .lead {
    font-size: 0.92rem !important;
    line-height: 1.62 !important;
  }

  .btn-lg {
    font-size: 0.9rem !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
  }

  h1, .h1 {
    font-size: clamp(1.55rem, 6vw, 2rem) !important;
  }

  h3, .h3, h4, .h4 {
    font-size: clamp(1rem, 3.8vw, 1.15rem) !important;
  }
}

@media (min-width: 992px) {
  .unik-section-title,
  h2.unik-section-title {
    font-size: clamp(1.75rem, 2.6vw, 2.35rem) !important;
  }

  .unik-section-sub,
  .lead {
    font-size: 1.02rem;
  }
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5 {
  letter-spacing: -0.02em;
  font-weight: 700;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent;
}

* {
  scrollbar-width: none;
}

/* ---------- Consistent section rhythm ---------- */
.unik-section,
section.unik-section,
.service-page > section,
main > section:not(.position-relative.z-index-2):not(.unik-home-hero) {
  padding-top: clamp(2.5rem, 4.2vw, 4.25rem);
  padding-bottom: clamp(2.5rem, 4.2vw, 4.25rem);
}

.service-page .mb-7 { margin-bottom: clamp(1.75rem, 3.5vw, 3rem) !important; }
.service-page .mb-6 { margin-bottom: clamp(1.5rem, 3vw, 2.5rem) !important; }
.service-page .py-lg-7,
.service-page .py-lg-8 {
  padding-top: clamp(2.5rem, 4.2vw, 4.25rem) !important;
  padding-bottom: clamp(2.5rem, 4.2vw, 4.25rem) !important;
}

.unik-home-hero {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Light-mode ink: body + muted text use #1a1a1a family */
html[data-bs-theme="light"] body,
html[data-bs-theme="light"] .text-body {
  color: var(--unik-ink, #1a1a1a);
}

html[data-bs-theme="light"] p:not(.text-white):not(.text-primary):not(.text-success):not(.text-danger):not(.text-warning),
html[data-bs-theme="light"] li:not(.text-white),
html[data-bs-theme="light"] label:not(.text-white) {
  color: var(--unik-ink, #1a1a1a);
}

html[data-bs-theme="light"] .text-muted,
html[data-bs-theme="light"] .text-body-secondary,
html[data-bs-theme="light"] .text-secondary,
html[data-bs-theme="light"] .small.text-muted,
html[data-bs-theme="light"] .lead.text-muted,
html[data-bs-theme="light"] .unik-about-lead,
html[data-bs-theme="light"] .card-text:not(.text-white) {
  color: #1a1a1a !important;
  opacity: 0.78;
}

.container {
  width: 100%;
  padding-left: max(var(--unik-page-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--unik-page-x), env(safe-area-inset-right, 0px));
}

.unik-badge {
  display: inline-block;
  padding: .35rem .85rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(var(--unik-primary-rgb), .12);
  color: var(--unik-primary);
}

/* ---------- Theme backgrounds ---------- */
html[data-bs-theme="dark"] body {
  background: #12171c !important;
  background-image: none !important;
}

html[data-bs-theme="light"] body {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(7, 79, 120, 0.06), transparent 60%),
    #ffffff !important;
  background-attachment: scroll;
  color: var(--unik-ink, #1a1a1a);
}

@media (min-width: 992px) {
  html[data-bs-theme="light"] body {
    background-attachment: fixed;
  }
}

html {
  color-scheme: light;
  scroll-behavior: auto;
  scrollbar-width: none;
  scroll-padding-top: var(--unik-header-h, 64px);
}

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

body,
.card,
.navbar,
.dropdown-menu,
.form-control,
.btn {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

html[data-bs-theme="light"] header.header-sticky > .navbar {
  background: #ffffff !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(7, 79, 120, 0.06);
  border-bottom: 1px solid rgba(7, 79, 120, 0.08);
}

html[data-bs-theme="dark"] header.header-sticky > .navbar {
  background: #12171c !important;
  backdrop-filter: none;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Fixed header shell — fades out completely on scroll */
.unik-header-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1045;
  width: 100%;
  background: var(--bs-body-bg, #fff);
  isolation: isolate;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.32s var(--unik-ease), opacity 0.28s var(--unik-ease), visibility 0.28s var(--unik-ease);
}

.unik-header-shell.is-header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.unik-header-shell.is-header-shown {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

#main-content {
  padding-top: var(--unik-header-offset, var(--unik-header-h, 64px));
  transition: padding-top 0.28s var(--unik-ease);
}

/* Theme fixed header must never overlay page content */
header.header-sticky,
header.header-sticky.header-sticky-on {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  animation: none !important;
  transform: none !important;
}

.unik-header-shell .navbar > .container {
  padding-left: max(var(--unik-page-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--unik-page-x), env(safe-area-inset-right, 0px));
  max-width: 100%;
}

@media (max-width: 1199.98px) {
  .unik-header-shell .navbar-brand {
    margin-right: auto !important;
    margin-left: 0 !important;
    padding-left: 0;
  }

  .unik-header-shell .nav.align-items-center {
    gap: 0.25rem;
    margin-left: 0 !important;
    flex-shrink: 0;
  }

  .unik-header-shell .nav.align-items-center .nav-item {
    margin-left: 0 !important;
  }

  .unik-header-shell .unik-mobile-menu-btn {
    margin-left: 0.15rem !important;
  }
}

.unik-header-shell header.header-sticky {
  position: relative !important;
  top: auto !important;
  background: transparent !important;
}

/* Top bar — always brand blue in every theme */
.unik-topbar.navbar,
html[data-bs-theme="light"] .unik-topbar.navbar,
html[data-bs-theme="dark"] .unik-topbar.navbar {
  background: linear-gradient(90deg, #074f78, #0a628f) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 40px;
  box-shadow: none !important;
}

.unik-topbar .text-white,
.unik-topbar a.text-white {
  color: rgba(255, 255, 255, 0.95) !important;
}

.unik-topbar a.text-white:hover {
  color: #ffffff !important;
}

.unik-topbar .btn-icon {
  opacity: 0.92;
}

.unik-topbar .btn-icon:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12) !important;
}

html[data-bs-theme="light"] .unik-content-card,
html[data-bs-theme="light"] .category-card:not(.bg-primary),
html[data-bs-theme="light"] .unik-service-card {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(7, 79, 120, 0.06);
}

html[data-bs-theme="light"] .category-card.bg-primary {
  background: linear-gradient(135deg, #074f78, #0a628f) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(7, 79, 120, 0.22);
}

html[data-bs-theme="light"] .category-card.bg-primary h3,
html[data-bs-theme="light"] .category-card.bg-primary .h6,
html[data-bs-theme="light"] .category-card.bg-primary p {
  color: #ffffff !important;
}

html[data-bs-theme="dark"] #bd-theme {
  color: #9fd0ef !important;
}

html[data-bs-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #074f78, #0a628f) !important;
  border: none !important;
  box-shadow: 0 10px 24px rgba(7, 79, 120, 0.18);
}

html[data-bs-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #0a628f, #074f78) !important;
  border: none !important;
}

html[data-bs-theme="dark"] .bg-mode,
html[data-bs-theme="dark"] .card.bg-mode,
html[data-bs-theme="dark"] .unik-service-card,
html[data-bs-theme="dark"] .service-page .hover-card {
  background-color: var(--unik-card-dark) !important;
  color: var(--unik-text-dark);
  border-color: rgba(255, 255, 255, 0.06) !important;
}

html[data-bs-theme="dark"] .text-muted,
html[data-bs-theme="dark"] .text-body-secondary,
html[data-bs-theme="dark"] .text-secondary,
html[data-bs-theme="dark"] .small.text-muted,
html[data-bs-theme="dark"] .card-text,
html[data-bs-theme="dark"] .unik-service-card p,
html[data-bs-theme="dark"] .unik-service-list li,
html[data-bs-theme="dark"] .lead.text-muted {
  color: var(--unik-muted-dark) !important;
}

html[data-bs-theme="dark"] h1,
html[data-bs-theme="dark"] h2,
html[data-bs-theme="dark"] h3,
html[data-bs-theme="dark"] h4,
html[data-bs-theme="dark"] h5,
html[data-bs-theme="dark"] h6,
html[data-bs-theme="dark"] .card-title,
html[data-bs-theme="dark"] .unik-service-card h5 {
  color: #f3f7fa !important;
}

html[data-bs-theme="dark"] .bg-light,
html[data-bs-theme="dark"] .service-features-band,
html[data-bs-theme="dark"] .card-header.bg-light {
  background-color: var(--unik-bg-dark) !important;
  color: var(--unik-text-dark);
}

html[data-bs-theme="light"] .service-features-band {
  background:
    linear-gradient(180deg, rgba(7, 79, 120, 0.04), rgba(7, 79, 120, 0.02)),
    var(--unik-bg-light-2) !important;
}

/* ---------- Deep dark-mode hover fixes (no white-wash) ---------- */
html[data-bs-theme="dark"] .card:hover,
html[data-bs-theme="dark"] .unik-service-card:hover,
html[data-bs-theme="dark"] .unik-hover-lift:hover,
html[data-bs-theme="dark"] .hover-card:hover,
html[data-bs-theme="dark"] .category-card:hover {
  background-color: #25313b !important;
  color: #f3f7fa !important;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.45) !important;
}

html[data-bs-theme="dark"] .card:hover h1,
html[data-bs-theme="dark"] .card:hover h2,
html[data-bs-theme="dark"] .card:hover h3,
html[data-bs-theme="dark"] .card:hover h4,
html[data-bs-theme="dark"] .card:hover h5,
html[data-bs-theme="dark"] .card:hover h6,
html[data-bs-theme="dark"] .card:hover p,
html[data-bs-theme="dark"] .card:hover span,
html[data-bs-theme="dark"] .card:hover li,
html[data-bs-theme="dark"] .unik-service-card:hover h5,
html[data-bs-theme="dark"] .unik-service-card:hover p,
html[data-bs-theme="dark"] .unik-service-card:hover li {
  color: #f3f7fa !important;
}

html[data-bs-theme="dark"] .btn-light {
  background-color: #e8eef3 !important;
  border-color: #e8eef3 !important;
  color: #0e1318 !important;
}

html[data-bs-theme="dark"] .btn-light:hover {
  background-color: #ffffff !important;
  color: #0e1318 !important;
}

html[data-bs-theme="dark"] .btn-outline-primary {
  color: #8ec5e8 !important;
  border-color: rgba(142, 197, 232, 0.55) !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover {
  background-color: rgba(7, 79, 120, 0.35) !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .dropdown-menu {
  background-color: var(--unik-card-dark);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-bs-theme="dark"] .dropdown-item {
  color: var(--unik-text-dark);
}

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus {
  background-color: rgba(7, 79, 120, 0.35);
  color: #fff;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-control.bg-light {
  background-color: #1a222b !important;
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--unik-text-dark) !important;
}

html[data-bs-theme="dark"] .navbar .nav-link {
  color: rgba(232, 238, 243, 0.88) !important;
}

html[data-bs-theme="dark"] .navbar .nav-link:hover,
html[data-bs-theme="dark"] .navbar .nav-link.active {
  color: #ffffff !important;
}

/* ---------- Lucide icons ---------- */
[data-lucide],
i[data-lucide],
svg.lucide {
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
  stroke: currentColor;
}

.icon-lg svg.lucide,
.icon-xl svg.lucide,
.unik-service-icon svg.lucide,
.service-cta-icon svg.lucide {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-xl svg.lucide { width: 1.6rem; height: 1.6rem; }

.unik-service-icon,
.service-cta-icon,
.icon-lg,
.icon-xl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.unik-service-icon {
  width: 60px;
  height: 60px;
  border-radius: .85rem;
  background: rgba(var(--unik-primary-rgb), .12);
  color: var(--unik-primary);
}

html[data-bs-theme="dark"] .unik-service-icon {
  background: rgba(7, 79, 120, 0.35);
  color: #9fd0ef;
}

/* ---------- Service CTA (distinct from map contact bar) ---------- */
.service-cta-panel {
  border-radius: var(--unik-radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(var(--unik-primary-rgb), 0.18);
  background:
    linear-gradient(135deg, rgba(7, 79, 120, 0.08), rgba(7, 79, 120, 0.02) 45%, transparent),
    var(--bs-body-bg);
  box-shadow: 0 1rem 2.5rem rgba(7, 79, 120, 0.08);
}

html[data-bs-theme="dark"] .service-cta-panel {
  background:
    linear-gradient(135deg, rgba(7, 79, 120, 0.28), rgba(30, 39, 47, 0.95)),
    var(--unik-card-dark);
  border-color: rgba(142, 197, 232, 0.18);
  box-shadow: 0 1.25rem 2.75rem rgba(0, 0, 0, 0.35);
}

.service-cta-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: rgba(var(--unik-primary-rgb), 0.12);
  color: var(--unik-primary);
}

html[data-bs-theme="dark"] .service-cta-icon {
  background: rgba(7, 79, 120, 0.45);
  color: #b6def5;
}

.service-cta-section {
  /* keep breathing room above global map CTA */
  padding-bottom: clamp(2rem, 4vw, 3.25rem) !important;
}

/* ---------- Motion (Lenis-friendly, no jerks) ---------- */
html {
  scroll-behavior: auto; /* Lenis owns smooth scrolling */
}

@media (prefers-reduced-motion: no-preference) {
  .unik-reveal {
    opacity: 1;
    transform: none;
    transition: opacity .85s cubic-bezier(0.22, 1, 0.36, 1), transform .85s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.js-motion-ready .unik-reveal:not(.is-visible) {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }

  .unik-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  html.js-motion-ready .unik-always-visible,
  html.js-motion-ready .unik-no-reveal,
  html.js-motion-ready .unik-page-hero,
  html.js-motion-ready .unik-catalog-toolbar {
    opacity: 1 !important;
    transform: none !important;
  }

  .unik-reveal-delay-1 { transition-delay: .05s; }
  .unik-reveal-delay-2 { transition-delay: .1s; }
  .unik-reveal-delay-3 { transition-delay: .15s; }
  .unik-reveal-delay-4 { transition-delay: .2s; }

  .unik-img-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.js-motion-ready .unik-img-reveal:not(.is-visible) {
    opacity: 0;
    transform: translate3d(0, 6px, 0);
  }

  html.js-motion-ready .unik-img-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .unik-hover-lift {
    transition: transform .28s var(--unik-ease), box-shadow .28s var(--unik-ease), background-color .28s ease, color .28s ease;
    will-change: transform;
  }

  .unik-hover-lift:hover {
    transform: translate3d(0, -4px, 0);
  }

  html[data-bs-theme="light"] .unik-hover-lift:hover {
    box-shadow: 0 1rem 2rem rgba(7, 79, 120, 0.12);
  }

  .btn {
    transition: transform .2s var(--unik-ease), box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  }

  .btn:hover {
    transform: translate3d(0, -1px, 0);
  }

  .navbar .nav-link,
  .footer-links a {
    transition: color .2s ease, opacity .2s ease, padding .2s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .unik-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html, body {
    scroll-behavior: auto !important;
  }
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

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

@media (max-width: 575.98px) {
  .display-4, .display-5 {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem) !important;
    line-height: 1.2;
  }

  .btn-lg {
    padding: .7rem 1.1rem;
    font-size: 1rem;
  }

  .service-cta-panel .btn-lg {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  html.unik-touch-scroll .unik-reveal,
  html.unik-touch-scroll .unik-img-reveal,
  html.unik-touch-scroll .unik-reveal.is-visible,
  html.unik-touch-scroll .unik-img-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html.unik-touch-scroll,
  html.unik-touch-scroll body {
    scroll-behavior: auto !important;
    overscroll-behavior-y: none;
  }

  .unik-header-shell {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

body.unik-search-open {
  overflow: hidden !important;
  touch-action: none;
}

.unik-search-overlay__close {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    max-height: min(80vh, 560px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.service-page a:focus-visible,
.navbar a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--unik-primary);
  outline-offset: 3px;
}

/* Kill legacy sticky jitter — shell handles sticky in-flow */
.unik-header-shell header.header-sticky,
.unik-header-shell header.header-sticky.header-sticky-on {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  animation: none !important;
  transform: none !important;
  border-bottom: 1px solid rgba(7, 79, 120, 0.08);
}

html[data-bs-theme="dark"] .unik-header-shell header.header-sticky,
html[data-bs-theme="dark"] .unik-header-shell header.header-sticky.header-sticky-on {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* Homepage hero — flush under sticky header */
main > section.unik-home-hero,
section.unik-home-hero {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0;
}

section.unik-home-hero .card {
  border-radius: 0 !important;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (max-width: 991.98px) {
  nav.unik-topbar.navbar {
    display: none !important;
  }
}

nav.unik-topbar.navbar {
  overflow: hidden;
}

/* ---------- 2026-08-20 polish: ink, topbar marquee, theme ---------- */
html[data-bs-theme="light"] h1,
html[data-bs-theme="light"] h2,
html[data-bs-theme="light"] h3,
html[data-bs-theme="light"] h4,
html[data-bs-theme="light"] h5,
html[data-bs-theme="light"] h6,
html[data-bs-theme="light"] .display-1,
html[data-bs-theme="light"] .display-2,
html[data-bs-theme="light"] .display-3,
html[data-bs-theme="light"] .display-4,
html[data-bs-theme="light"] .display-5,
html[data-bs-theme="light"] .display-6 {
  color: var(--unik-ink, #1a1a1a);
}

html[data-bs-theme="dark"] h1,
html[data-bs-theme="dark"] h2,
html[data-bs-theme="dark"] h3,
html[data-bs-theme="dark"] h4,
html[data-bs-theme="dark"] h5,
html[data-bs-theme="dark"] h6,
html[data-bs-theme="dark"] .display-1,
html[data-bs-theme="dark"] .display-2,
html[data-bs-theme="dark"] .display-3,
html[data-bs-theme="dark"] .display-4,
html[data-bs-theme="dark"] .display-5,
html[data-bs-theme="dark"] .display-6 {
  color: #f3f7fa !important;
}

.unik-topbar-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  min-height: 40px;
}

nav.unik-topbar .unik-topbar-inner.container {
  max-width: none !important;
}

.unik-topbar-marquee {
  flex: 1 1 auto;
  width: 100%;
  overflow: hidden;
}

.unik-topbar-marquee__inner {
  display: flex;
  width: max-content;
  animation: unik-topbar-scroll 42s linear infinite;
  will-change: transform;
}

.unik-topbar-marquee:hover .unik-topbar-marquee__inner {
  animation-play-state: paused;
}

.unik-topbar-marquee__group {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  flex-shrink: 0;
  padding-right: 2.75rem;
}

.unik-topbar-marquee__track {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  width: max-content;
  padding: 0 1.25rem;
  animation: unik-topbar-scroll 38s linear infinite;
  will-change: transform;
}

.unik-topbar-marquee:hover .unik-topbar-marquee__track {
  animation-play-state: paused;
}

.unik-topbar-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
}

.unik-topbar-marquee__item:hover { color: #fff; }

@keyframes unik-topbar-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Laptop/desktop container polish (override theme 1350/1300 inconsistency) */
@media (min-width: 1200px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 1140px !important;
  }
}
@media (min-width: 1400px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1280px !important;
  }
}

/* Laptop/desktop polish — readable width, grids, touch targets */
@media (min-width: 992px) {
  .unik-page .unik-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .unik-product-grid .col-xl-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .unik-shell-content,
  .unik-page .container,
  .unik-page .container-fluid.unik-blog-detail-shell {
    max-width: 100%;
  }

  .unik-product-detail-page .unik-product-gallery {
    min-height: 420px;
  }

  .navbar .navbar-nav .nav-link {
    padding: 0.55rem 0.85rem;
  }
}

@media (min-width: 1200px) {
  .unik-page-hero__title {
    font-size: clamp(2rem, 2.8vw, 2.75rem);
    line-height: 1.15;
  }

  .unik-crm-toolbar .form-control,
  .unik-crm-reply-form .form-control {
    min-height: 38px;
  }
}

@media (min-width: 1400px) {
  .unik-page-hero {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .unik-product-detail-section .row {
    gap: 0.5rem;
  }
}

/* Focus visibility for keyboard users */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible {
  outline: 2px solid var(--unik-brand, #074f78);
  outline-offset: 2px;
}

/* Smooth interactive motion baseline */
@media (prefers-reduced-motion: no-preference) {
  .unik-swiper-nav,
  .btn,
  .nav-link,
  .category-card,
  .unik-service-card {
    transition: transform .25s var(--unik-ease), box-shadow .25s var(--unik-ease), background-color .25s ease, color .25s ease, border-color .25s ease;
  }
  .category-card:hover,
  .unik-service-card:hover {
    transform: translateY(-3px);
  }
}

