:root {
  --brand: #de002a;
  --brand-rgb: 222, 0, 42;
  --brand-2: #ff4a4a;
  --brand-dark: #a00020;
  --ink: #15171d;
  --ink-2: #2b2f3a;
  --muted: #667085;
  --paper: #f6f7fb;
  --surface: #ffffff;
  --line: rgba(15, 23, 42, 0.10);
  --line-strong: rgba(15, 23, 42, 0.16);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .06), 0 4px 14px rgba(16, 24, 40, .05);
  --shadow: 0 18px 55px rgba(16, 24, 40, .10);
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: 'Prompt', system-ui, sans-serif; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
img { max-width: 100%; }

/* ─────────────  Navbar  ───────────── */
.site-nav {
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.site-nav .container { height: 68px; flex-wrap: nowrap; }
.site-nav .navbar-collapse { min-width: 0; }
.site-nav .navbar-nav { flex-wrap: nowrap; }
.site-nav .nav-main { align-items: center; gap: 2px; }
.site-nav.scrolled { box-shadow: 0 4px 24px rgba(15, 23, 42, .07); }

/* Transparent hero mode — index.php only */
body.has-dark-hero .site-nav.at-top { background: transparent; border-color: transparent; box-shadow: none; }
body.has-dark-hero .site-nav.at-top .navbar-brand,
body.has-dark-hero .site-nav.at-top .navbar-toggler { color: rgba(255,255,255,.92); }
body.has-dark-hero .site-nav.at-top .brand-name { color: rgba(255,255,255,.92); }
body.has-dark-hero .site-nav.at-top .nav-link { color: rgba(255,255,255,.78); }
body.has-dark-hero .site-nav.at-top .nav-link:hover,
body.has-dark-hero .site-nav.at-top .nav-link.active { color: #fff; }
body.has-dark-hero .site-nav.at-top .nav-link::after { background: rgba(255,255,255,.7); }
body.has-dark-hero .site-nav.at-top .nav-phone { color: rgba(255,255,255,.52); }
body.has-dark-hero .site-nav.at-top .nav-phone:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.08); }
body.has-dark-hero .site-nav.at-top .nav-divider { background: rgba(255,255,255,.2); }
body.has-dark-hero .site-nav.at-top .btn-nav-cta { box-shadow: 0 0 0 1.5px rgba(255,255,255,.3), 0 4px 18px rgba(0,0,0,.25); }

/* Brand */
.navbar-brand { display: flex; align-items: center; font-weight: 800; letter-spacing: -.015em; color: var(--ink); flex-shrink: 0; transition: opacity .2s, color .25s; }
.navbar-brand:hover { color: var(--ink); opacity: .8; }
.brand-mark { width: 9px; height: 9px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 14px rgba(var(--brand-rgb),.5); margin-right: 10px; flex-shrink: 0; }
.brand-name { font-size: .98rem; transition: color .25s; }
.brand-logo { height: 36px; width: auto; object-fit: contain; transition: opacity .2s; }

/* Toggler */
.navbar-toggler { border: 0; color: var(--ink); padding: 6px 8px; border-radius: 8px; font-size: 1.35rem; line-height: 1; transition: background .15s, color .25s; }
.navbar-toggler:hover { background: rgba(0,0,0,.06); }
.navbar-toggler:focus { box-shadow: none; }

/* The logo still carries the identity on narrower laptops. Hiding only the
   repeated name preserves space without removing any navigation choice. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-nav .brand-name { display: none; }
}

/* Promo deadline — plain date when far off, ticking boxes in the final week. */
.promo-cd { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; font-weight: 600; }
.promo-cd i { font-size: 13px; }
.promo-cd--far, .promo-cd--over { color: var(--muted); }
.promo-cd--near { color: var(--brand); }
.promo-cd-lb { color: var(--muted); font-weight: 600; }
.promo-cd-box {
  display: inline-block; min-width: 34px; text-align: center;
  background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 3px 6px; border-radius: 6px; font-variant-numeric: tabular-nums;
}
[data-theme="dark"] .promo-cd-box { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
[data-theme="dark"] .promo-cd--near { color: #ff8fa3; }

/* "Almost full" bar — sits directly under the fixed navbar. */
.qbar { position: fixed; top: 68px; left: 0; right: 0; z-index: 1029; background: rgba(var(--brand-rgb), .07); border-bottom: 1px solid rgba(var(--brand-rgb), .22); backdrop-filter: blur(10px); }
.qbar-in { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.qbar-pill { display: inline-flex; align-items: center; gap: 6px; flex: none; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 99px; white-space: nowrap; }
.qbar-sub { font-size: 12.5px; color: var(--brand-dark); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qbar-cta { flex: none; margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--brand-dark); border: 1px solid rgba(var(--brand-rgb), .5); padding: 4px 13px; border-radius: 99px; }
.qbar-cta:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.qbar-x { flex: none; border: 0; background: none; color: var(--brand-dark); opacity: .6; cursor: pointer; padding: 4px 2px; line-height: 1; font-size: 12px; }
.qbar-x:hover { opacity: 1; }
@media (max-width: 991px) {
  .qbar { top: 60px; }
  .qbar-sub { display: none; }
}
@media (max-width: 575.98px) {
  .qbar-in { padding: 7px 10px; gap: 8px; }
  .qbar-pill { font-size: 11px; padding: 3px 9px; }
}

/* Nav links */
.site-nav .nav-link {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 38px; border: 0; border-radius: 10px; background: transparent;
  font-family: inherit; font-weight: 600; font-size: .84rem; letter-spacing: .005em;
  color: var(--ink-2); padding: 8px 11px;
  white-space: nowrap; flex-shrink: 0;
  transition: color .18s, background .18s;
}
.site-nav .nav-link:hover { color: var(--ink); background: rgba(15,23,42,.045); }
.site-nav .nav-link.active { color: var(--brand); background: rgba(var(--brand-rgb),.075); }
.nav-top-ic { display: inline-block; width: 15px; color: var(--muted); font-size: .78rem; line-height: 1; text-align: center; opacity: .72; transition: color .18s,opacity .18s; }
.site-nav .nav-link:hover .nav-top-ic,.site-nav .nav-link.active .nav-top-ic { color: var(--brand); opacity: 1; }
body.has-dark-hero .site-nav.at-top .nav-top-ic { color: inherit; opacity: .82; }
.nav-menu-toggle { cursor: pointer; }
.nav-caret { margin-left: 1px; color: var(--muted); font-size: .68rem; transition: transform .18s; }
.nav-menu-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

/* Services dropdown: one calm top-level choice, with enough context inside to
   choose the correct catalogue without trial and error. */
.nav-service-menu {
  width: 350px; margin-top: 12px !important; padding: 10px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  box-shadow: 0 20px 55px rgba(16,24,40,.16);
}
.nav-service-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 5px 7px 10px; }
.nav-service-head span { color: var(--ink); font-size: .78rem; font-weight: 800; }
.nav-service-head small { color: var(--muted); font-size: .66rem; }
.nav-service-link {
  display: grid; grid-template-columns: 40px minmax(0,1fr) 18px; align-items: center; gap: 10px;
  padding: 9px; border-radius: 11px; color: var(--ink-2); transition: background .16s, color .16s;
}
.nav-service-link:hover,.nav-service-link.active { color: var(--ink); background: rgba(var(--brand-rgb),.055); }
.nav-service-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--brand); border-radius: 10px; background: rgba(var(--brand-rgb),.08); font-size: 1rem; }
.nav-service-link strong,.nav-service-link small { display: block; }
.nav-service-link strong { margin-bottom: 2px; font-size: .78rem; font-weight: 750; }
.nav-service-link small { overflow: hidden; color: var(--muted); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.nav-service-arrow { color: var(--muted); font-size: .72rem; opacity: 0; transform: translateX(-3px); transition: opacity .16s,transform .16s; }
.nav-service-link:hover .nav-service-arrow,.nav-service-link.active .nav-service-arrow { opacity: 1; transform: none; }

/* Phone chip */
.nav-phone {
  display: flex; align-items: center; gap: 7px;
  min-height: 38px; font-size: .76rem; font-weight: 650;
  color: var(--muted); text-decoration: none;
  padding: 6px 9px; border-radius: 9px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-phone:hover { color: var(--ink); background: rgba(0,0,0,.04); }
.nav-phone i { color: var(--brand); font-size: .85rem; }

/* Language + theme toggles read as one utility group, not two more nav items. */
.nav-right { flex-shrink: 0; gap: 7px; }
.nav-tools { display: inline-flex; align-items: center; height: 38px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 11px; background: rgba(255,255,255,.34); }
.nav-lang { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 30px; padding: 0 8px;
  border: 0; border-right: 1px solid var(--line); border-radius: 8px 0 0 8px; font-size: .68rem; font-weight: 800; letter-spacing: .04em;
  color: var(--ink-2); transition: all .18s; }
.nav-lang:hover { color: var(--brand); background: rgba(var(--brand-rgb),.055); }
.nav-theme { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 30px; flex-shrink: 0;
  border: 0; border-radius: 0 8px 8px 0; background: none; font-size: .82rem; color: var(--ink-2);
  cursor: pointer; transition: all .18s; }
.nav-theme:hover { color: var(--brand); background: rgba(var(--brand-rgb),.055); }
body.has-dark-hero .site-nav.at-top .nav-lang,
body.has-dark-hero .site-nav.at-top .nav-theme { color: rgba(255,255,255,.85); }
body.has-dark-hero .site-nav.at-top .nav-tools { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
body.has-dark-hero .site-nav.at-top .nav-lang { border-right-color: rgba(255,255,255,.2); }

/* CTA button */
.btn-nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand); color: #fff !important;
  min-height: 40px; border-radius: 11px; border: none;
  padding: 9px 17px; font-size: .8rem; font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 3px 14px rgba(var(--brand-rgb),.28);
  transition: background .2s, transform .15s, box-shadow .15s;
}
.btn-nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(var(--brand-rgb),.38); }
.btn-nav-cta:active { transform: none; }

/* Compact only the utility side on laptop widths. The primary labels stay
   readable; the phone number remains available from the icon and on mobile. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-nav .nav-link { padding-left: 8px; padding-right: 8px; font-size: .79rem; }
  .site-nav .nav-phone { width: 38px; justify-content: center; padding: 0; }
  .site-nav .nav-phone-number { display: none; }
  .site-nav .btn-nav-cta { padding-left: 13px; padding-right: 13px; }
}

/* ─────────────  Shared atoms  ───────────── */
.section { padding: 80px 0; }
.bg-white { background: var(--surface) !important; }
.text-brand { color: var(--brand); }
.eyebrow { color: var(--brand); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; font-size: .76rem; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.section-sub { color: var(--muted); max-width: 480px; margin: 12px auto 0; font-size: .96rem; line-height: 1.7; }

.btn-brand { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; border-radius: 999px; padding: 12px 26px; font-weight: 700; transition: filter .15s, transform .15s; }
.btn-brand:hover { color: #fff; filter: brightness(.96); transform: translateY(-1px); }
.btn-soft { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 24px; font-weight: 700; transition: border-color .15s, background .15s; }
.btn-soft:hover { background: #fafbfc; border-color: var(--brand); color: var(--ink); }

.surface { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: var(--radius); }

/* ─────────────  Chips / badges  ───────────── */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; line-height: 1.4; }
.chip-brand { background: rgba(var(--brand-rgb), .9); color: #fff; backdrop-filter: blur(4px); }
.chip-dark { background: rgba(21, 23, 29, .82); color: #fff; backdrop-filter: blur(4px); }
.chip-soft { background: rgba(var(--brand-rgb), .08); color: var(--brand); border: 1px solid rgba(var(--brand-rgb), .18); }

/* ═════════════  HOME — hero slider  ═════════════ */
.hero-slider { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: #111; }

.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; z-index: 0; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 8s ease; will-change: transform; }
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.15) 100%); }

.hero-slider-content { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; padding-top: 80px; }
.hero-slider-text { max-width: 600px; color: #fff; }
.hero-slider-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.hero-slider-title { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; margin-bottom: 14px; color: #fff; }
.hero-slider-lead { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 12px; letter-spacing: -.01em; }
.hero-slider-sub { font-size: .97rem; color: rgba(255,255,255,.62); line-height: 1.7; margin-bottom: 36px; max-width: 460px; }
.btn-ghost-white { border: 2px solid rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); font-weight: 600; border-radius: 999px; transition: all .2s; }
.btn-ghost-white:hover { background: rgba(255,255,255,.2); border-color: #fff; color: #fff; }

.hero-slider-stats { display: flex; margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); max-width: 400px; }
.hero-slider-stat { flex: 1; text-align: center; }
.hero-slider-stat + .hero-slider-stat { border-left: 1px solid rgba(255,255,255,.12); }
.hero-slider-stat-num { font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-slider-stat-label { font-size: .72rem; color: rgba(255,255,255,.48); margin-top: 5px; font-weight: 500; }

.slider-controls { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; gap: 14px; }
.slider-dots { display: flex; gap: 7px; align-items: center; }
.slider-dot { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: all .35s ease; padding: 0; }
.slider-dot.active { background: #fff; width: 26px; }
.slider-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font-size: 1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; backdrop-filter: blur(6px); }
.slider-arrow:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.7); }
.slider-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--brand); width: 0; z-index: 10; transition: width .1s linear; }

/* ─────────────  Brands section · premium  ───────────── */
.brands-v2 { padding: 74px 0; background: var(--paper); position: relative; overflow: hidden; }
.brands-v2::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
/* soft brand-coloured glow behind the marquee for depth */
.brands-v2::after { content: ''; position: absolute; left: 50%; top: 64%; width: min(940px, 92%); height: 300px; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(var(--brand-rgb),.08), transparent 72%); pointer-events: none; }
.brands-v2 > .container, .brands-v2 > .brands-marquee { position: relative; z-index: 1; }
.brands-v2-head { text-align: center; max-width: 560px; margin: 0 auto 46px; }
.brands-v2-head .section-sub { margin-left: auto; margin-right: auto; }

/* auto-scrolling marquee (loops seamlessly; the track holds two identical halves) */
.brands-marquee { position: relative; overflow: hidden; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands-track { display: flex; align-items: stretch; width: max-content; animation: brandsScroll 45s linear infinite; }
.brands-marquee:hover .brands-track { animation-play-state: paused; }
@keyframes brandsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brands-track { animation: none; } }

.brand-v2-card { position: relative; flex: 0 0 auto; width: 200px; min-height: 156px; margin-right: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; box-shadow: 0 3px 14px rgba(16,24,40,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.brand-v2-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.brand-v2-card:hover { transform: translateY(-7px); box-shadow: 0 24px 48px rgba(16,24,40,.15); border-color: rgba(var(--brand-rgb),.25); }
.brand-v2-card:hover::after { transform: scaleX(1); }
.brand-v2-logo { height: 62px; display: flex; align-items: center; justify-content: center; }
.brand-v2-logo img { max-height: 62px; max-width: 136px; width: auto; object-fit: contain; }
.brand-v2-initial { width: 62px; height: 62px; border-radius: 17px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font-weight: 800; font-size: 1.7rem; display: flex; align-items: center; justify-content: center; }
.brand-v2-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; color: var(--ink); }
.brand-v2-cat { display: inline-flex; align-items: center; gap: 6px; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.brand-v2-cat::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }

/* ─────────────  Store locations  ───────────── */
.loc-section { padding: 74px 0; background: var(--surface); }
.loc-head { text-align: center; max-width: 580px; margin: 0 auto 46px; }
.loc-head .section-sub { margin-left: auto; margin-right: auto; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 26px; }
.loc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.loc-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(16,24,40,.13); }
.loc-map { position: relative; aspect-ratio: 16 / 10; background: var(--paper); }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; }
/* placeholder shown until a Google embed URL is added */
.loc-map--blank { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-decoration: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--brand-rgb),.10), transparent 55%),
    linear-gradient(135deg, #1a1c22 0%, #24262e 100%);
  background-image:
    radial-gradient(circle at 30% 30%, rgba(var(--brand-rgb),.14), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 44px),
    linear-gradient(135deg, #1a1c22, #24262e);
  transition: filter .2s ease; }
.loc-map--blank:hover { filter: brightness(1.12); }
.loc-map-pin { width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 10px 26px rgba(var(--brand-rgb),.5); }
.loc-map-hint { color: #fff; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 7px 16px; border-radius: 999px; }
.loc-tag { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 800; padding: 6px 13px; border-radius: 999px; box-shadow: 0 6px 18px rgba(var(--brand-rgb),.4); pointer-events: none; }
.loc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; }
.loc-name { display: flex; align-items: center; gap: 10px; font-size: 1.22rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.loc-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font-size: .9rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.loc-info { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 11px; }
.loc-info li { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.loc-info li i { color: var(--brand); font-size: .95rem; margin-top: 2px; flex-shrink: 0; width: 16px; text-align: center; }
.loc-info a { color: var(--ink-2); font-weight: 700; transition: color .15s; }
.loc-info a:hover { color: var(--brand); }
.loc-actions { display: flex; gap: 10px; margin-top: auto; }
.loc-actions .btn { flex: 1; justify-content: center; }
.loc-actions .btn-line { background: #06c755; color: #fff; border: 0; }
.loc-actions .btn-line:hover { background: #05b14b; color: #fff; }

/* ─────────────  Contact channels  ───────────── */
.contact-hub { padding: 80px 0; background: var(--paper); }
.chub-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1000px; margin: 0 auto; }
.chub-card { flex: 1 1 220px; max-width: 300px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.chub-card::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--chub, var(--brand)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.chub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.chub-card:hover::before { transform: scaleX(1); }
.chub-ic { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff;
  background: var(--chub, var(--brand)); box-shadow: 0 10px 22px rgba(0, 0, 0, .12); margin-bottom: 10px; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.chub-card:hover .chub-ic { transform: translateY(-2px) scale(1.05); }
.chub-label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.chub-value { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.35; word-break: break-word; }
.chub-cta { margin-top: 10px; display: inline-flex; align-items: center; font-size: .85rem; font-weight: 700; color: var(--chub, var(--brand)); }
.chub-cta i { transition: transform .2s; }
.chub-card:hover .chub-cta i { transform: translateX(4px); }
.chub-card--phone  { --chub: #de002a; }
.chub-card--line   { --chub: #06c755; }
.chub-card--fb     { --chub: #1877f2; }
.chub-card--ig     { --chub: #e1306c; }
.chub-card--ig .chub-ic { background: linear-gradient(135deg, #feda75, #fa7e1e 28%, #d62976 62%, #962fbf 92%); }
.chub-card--tiktok { --chub: #010101; }
.chub-card--mail   { --chub: #64748b; }
.chub-hours { text-align: center; margin-top: 28px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.chub-hours i { color: var(--brand); }
@media (max-width: 520px) { .chub-card { max-width: none; } .contact-hub { padding: 56px 0; } }

@media (max-width: 575px) {
  .loc-section { padding: 48px 0; }
  .loc-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ─────────────  Service cards  ───────────── */
.service-card-v2 { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 32px 28px; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.service-card-v2:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(16, 24, 40, .1); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(var(--brand-rgb), .07); display: flex; align-items: center; justify-content: center; font-size: 1.45rem; color: var(--brand); margin-bottom: 20px; }
.service-card-v2 h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card-v2 p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: 20px; }
.service-link { color: var(--brand); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 5px; transition: gap .15s; }
.service-link:hover { gap: 9px; color: var(--brand); }

/* ─────────────  Trust signals  ───────────── */
.trust-grid-border .trust-item { border-top: 1px solid var(--line); }
.trust-item { text-align: center; padding: 40px 28px; }
.trust-item-mid { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.trust-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(var(--brand-rgb), .07); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.45rem; color: var(--brand); }
.trust-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.trust-desc { color: var(--muted); font-size: .88rem; line-height: 1.65; max-width: 220px; margin: 0 auto; }

/* ═════════════  Inner page hero  ═════════════ */
.page-hero { background: linear-gradient(160deg, #fff 0%, #f6f7fb 60%, #fff4f5 100%); padding: 132px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -160px; right: -120px; background: radial-gradient(circle, rgba(var(--brand-rgb), .06), transparent 70%); pointer-events: none; }
.page-hero-title { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.025em; margin: 8px 0 0; }
.page-hero-sub { color: var(--muted); font-size: 1rem; line-height: 1.7; margin: 12px 0 0; max-width: 560px; }

/* ═════════════  Product pages (tint / android)  ═════════════ */
.product-hero { padding: 124px 0 72px; background: linear-gradient(150deg, #fff 0%, #f6f7fb 55%, #fff4f5 100%); overflow: hidden; }
.product-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.product-hero-title { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; margin: 10px 0 12px; }
.product-hero-lead { font-size: clamp(1rem, 2vw, 1.18rem); font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.product-hero-sub { color: var(--muted); font-size: .98rem; line-height: 1.7; margin-bottom: 28px; max-width: 440px; }
.product-hero-media { position: relative; }
.product-hero-image { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 22px; display: block; box-shadow: 0 28px 70px rgba(16, 24, 40, .14); }

.feature-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row i { color: #16a34a; font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.feature-row b { display: block; font-size: .96rem; }
.feature-row span { color: var(--muted); font-size: .88rem; line-height: 1.6; }

.brand-pick-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; height: 100%; transition: transform .2s, box-shadow .2s; }
.brand-pick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand-logo { align-items: center; display: flex; height: 70px; justify-content: flex-start; margin-bottom: 16px; }
.brand-logo img { max-height: 52px; max-width: 100%; object-fit: contain; }

/* ═════════════  Works grid + cards  ═════════════ */
.work-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; height: 100%; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: #e8ebf1; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-card-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.work-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.work-card-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; line-height: 1.35; }
.work-card-title a { color: var(--ink); }
.work-card-title a:hover { color: var(--brand); }
.work-card-meta { color: var(--muted); font-size: .85rem; margin: 0 0 16px; }
.work-card-link { margin-top: auto; color: var(--brand); font-weight: 700; font-size: .86rem; display: inline-flex; align-items: center; gap: 6px; transition: gap .15s; }
.work-card:hover .work-card-link { gap: 10px; }

/* ═════════════  Work detail  ═════════════ */
.work-gallery { display: flex; flex-direction: column; gap: 16px; }
.work-gallery img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; }
.work-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; box-shadow: var(--shadow-sm); }
.work-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.work-sale-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.work-sale-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 12px; }
.work-spec-list { margin: 18px 0 22px; }
.work-spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.work-spec-row:last-child { border-bottom: 1px solid var(--line); }
.work-spec-row dt { color: var(--muted); margin: 0; font-weight: 500; }
.work-spec-row dd { margin: 0; font-weight: 600; text-align: right; }
.work-media-links { display: grid; gap: 9px; margin-top: 20px; }
.work-media-links a { display: flex; align-items: center; gap: 10px; padding: 11px 13px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 11px; font-size: .86rem; font-weight: 700; text-decoration: none; transition: border-color .16s, color .16s, transform .16s; }
.work-media-links a:hover { color: var(--brand); border-color: var(--brand); transform: translateX(2px); }
.work-media-links .bi-youtube { color: #ff0033; }
.work-media-links .bi-facebook { color: #1877f2; }

/* ═════════════  Tint Films  ═════════════ */
.tint-brand-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.tint-brand-tab { border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 8px 20px; font-size: .86rem; font-weight: 700; cursor: pointer; transition: all .15s; font-family: inherit; }
.tint-brand-tab:hover { border-color: var(--brand); color: var(--brand); }
.tint-brand-tab.active { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(var(--brand-rgb),.28); }

.tint-films-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 22px; }

.tint-film-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.tint-film-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(16,24,40,.14); border-color: rgba(var(--brand-rgb),.2); }

.tint-film-media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: linear-gradient(135deg, #e9edf3, #f4f6fa); }
.tint-film-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.tint-film-card:hover .tint-film-media img { transform: scale(1.06); }
.tint-film-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 42px; color: var(--line-strong); }
.tint-badge { position: absolute; top: 12px; font-size: 11px; font-weight: 800; padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center; z-index: 2; }
.tint-badge--feat { left: 12px; background: rgba(15,18,28,.78); color: #fff; backdrop-filter: blur(3px); }
.tint-badge--promo { right: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 4px 14px rgba(var(--brand-rgb),.4); }

.tint-film-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.tint-film-brand { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.tint-film-name { font-weight: 800; font-size: 1.02rem; line-height: 1.32; letter-spacing: -.01em; margin-bottom: 7px; }
.tint-film-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.tint-film-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 12px; background: var(--paper); border-radius: 12px; }
.film-stat { text-align: center; min-width: 0; }
.film-stat-label { font-size: .62rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; cursor: help; }
.film-stat-val { font-size: 1.12rem; font-weight: 800; line-height: 1.1; margin: 2px 0 6px; letter-spacing: -.02em; }
.film-stat-track { height: 4px; background: #fff; border-radius: 99px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(15,23,42,.05); }
.film-stat-bar { height: 100%; border-radius: 99px; transition: width .6s cubic-bezier(.25,.8,.25,1); }

.tint-film-price { display: inline-flex; align-items: center; font-size: .84rem; font-weight: 800; color: var(--ink); margin-top: 14px; }
.tint-film-price i { color: var(--brand); }

.tint-film-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.tint-film-actions .btn { flex: 1; justify-content: center; white-space: nowrap; }

/* ═════════════  Android Products  ═════════════ */
.android-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.android-product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.android-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.android-card-thumb { position: relative; aspect-ratio: 4/3; background: #edf0f5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.android-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.android-product-card:hover .android-card-thumb img { transform: scale(1.05); }
.android-card-thumb-icon { font-size: 3rem; color: #c0c8d8; }
.android-card-featured { position: absolute; top: 12px; left: 12px; }

.android-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.android-card-name { font-weight: 700; font-size: 1rem; line-height: 1.35; margin: 0 0 3px; }
.android-card-brand { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }

.android-spec-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.android-spec-tag { background: #f4f6fa; border: 1px solid var(--line); color: var(--ink-2); border-radius: 7px; padding: 3px 9px; font-size: .77rem; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.android-spec-tag i { font-size: .85em; opacity: .7; }

.android-card-desc { font-size: .875rem; color: var(--muted); line-height: 1.65; margin: 0 0 16px; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.android-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.android-price { font-weight: 800; font-size: 1.05rem; color: var(--brand); }

/* View toggle buttons */
.android-view-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.android-view-tab { border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); border-radius: 8px; padding: 7px 16px; font-size: .88rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .15s; font-family: inherit; }
.android-view-tab:hover { border-color: var(--brand); color: var(--brand); }
.android-view-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Comparison table */
.android-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.android-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.android-table th { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f9fafb; padding: 12px 16px; white-space: nowrap; text-align: left; border-bottom: 1px solid var(--line); }
.android-table td { padding: 14px 16px; vertical-align: middle; border-bottom: 1px solid rgba(15,23,42,.05); }
.android-table tbody tr:last-child td { border-bottom: none; }
.android-table tbody tr:hover td { background: #fafbfc; }

/* ═════════════  About page  ═════════════ */
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-story-media { position: relative; }
.about-story-img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about-story-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-story-badge { position: absolute; bottom: -20px; right: -20px; background: var(--brand); border-radius: 18px; padding: 18px 24px; text-align: center; box-shadow: 0 12px 40px rgba(var(--brand-rgb),.35); }
.about-story-badge-num { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.about-story-badge-num span { font-size: 1.2rem; }
.about-story-badge-label { font-size: .7rem; color: rgba(255,255,255,.75); margin-top: 4px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.about-section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.2; margin: 12px 0 18px; letter-spacing: -.02em; }
.about-story-body p { color: var(--muted); line-height: 1.8; margin-bottom: 14px; font-size: .97rem; }
.about-story-features { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.about-story-feat { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; }
.about-story-feat i { color: var(--brand); font-size: 1rem; flex-shrink: 0; }

.about-stats { background: var(--ink); padding: 52px 0; }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.about-stat { text-align: center; padding: 20px 16px; }
.about-stat + .about-stat { border-left: 1px solid rgba(255,255,255,.09); }
.about-stat-num { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.about-stat-label { font-size: .73rem; color: rgba(255,255,255,.42); margin-top: 7px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.about-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.about-value-card { position: relative; text-align: left; padding: 30px 26px; border-radius: 18px; border: 1px solid var(--line); background: #fff; height: 100%; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; overflow: hidden; }
.about-value-card::after { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.about-value-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(16,24,40,.13); border-color: rgba(var(--brand-rgb),.22); }
.about-value-card:hover::after { transform: scaleX(1); }
.about-value-card-featured { border-color: rgba(var(--brand-rgb),.3); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.07), var(--shadow-sm); }
.about-value-card-featured::after { transform: scaleX(1); }
.about-value-icon { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.4rem; color: #fff; box-shadow: 0 8px 20px rgba(var(--brand-rgb),.28); }
.about-value-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 9px; letter-spacing: -.01em; }
.about-value-desc { font-size: .875rem; color: var(--muted); line-height: 1.7; margin: 0; }

.about-service-card { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; }
.about-service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.about-service-icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(var(--brand-rgb),.07); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--brand); margin-bottom: 16px; }
.about-service-card h3 { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.about-service-card p { color: var(--muted); font-size: .875rem; line-height: 1.7; margin-bottom: 16px; }
.about-service-link { font-size: .85rem; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }

.about-locations { background: var(--paper); }
.about-locations-head { max-width: 720px; margin: 0 auto 42px; }
.about-branches-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.about-branch-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.about-branch-map { position: relative; aspect-ratio: 16 / 8.5; min-height: 250px; overflow: hidden; background: var(--line); }
.about-branch-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.about-branch-number { position: absolute; left: 18px; top: 18px; z-index: 1; padding: 7px 13px; color: #fff; background: rgba(15,23,42,.88); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .76rem; font-weight: 700; backdrop-filter: blur(8px); }
.about-branch-body { padding: 26px; }
.about-branch-body h3 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 800; line-height: 1.35; letter-spacing: -.015em; }
.about-branch-desc { min-height: 3.4em; margin: 0 0 20px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.about-branch-detail { display: flex; align-items: flex-start; gap: 10px; margin-top: 11px; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.about-branch-detail .bi { flex: none; margin-top: 2px; color: var(--brand); }
.about-branch-phone { width: fit-content; text-decoration: none; }
.about-branch-phone:hover { color: var(--brand); }
.about-branch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-branch-actions .btn { padding: 11px 17px; font-size: .84rem; }

.about-cta { background: linear-gradient(135deg, #c0001f 0%, #de002a 50%, #ff2244 100%); padding: 88px 0; }
.about-cta-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -.025em; line-height: 1.15; }
.about-cta-sub { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 480px; margin: 0 auto; line-height: 1.7; }
.about-cta-hours { color: rgba(255,255,255,.6); font-size: .88rem; margin-top: 14px; }
.btn-white-solid { background: #fff; color: var(--brand); border: 2px solid #fff; font-weight: 700; border-radius: 999px; transition: all .2s; }
.btn-white-solid:hover { background: transparent; color: #fff; }
.btn-ghost-red { background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.45); color: #fff; font-weight: 700; border-radius: 999px; backdrop-filter: blur(4px); transition: all .2s; }
.btn-ghost-red:hover { background: rgba(255,255,255,.25); border-color: #fff; color: #fff; }

/* ═════════════  CTA band  ═════════════ */
.cta-band { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); padding: 76px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .82); margin-bottom: 36px; font-size: 1rem; }
.btn-white { background: #fff; color: var(--brand); border: 0; border-radius: 999px; padding: 13px 28px; font-weight: 700; }
.btn-white:hover { color: var(--brand); filter: brightness(.97); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 12px 28px; font-weight: 700; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }

/* ═════════════  Footer  ═════════════ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; }
.footer-brand { display: flex; align-items: center; font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 14px; }
.footer-text { color: rgba(255, 255, 255, .55); font-size: .92rem; line-height: 1.7; max-width: 360px; }
.footer-head { color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: rgba(255, 255, 255, .65); font-size: .92rem; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-muted { color: rgba(255, 255, 255, .5); font-size: .9rem; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .08); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; transition: background .15s; }
.footer-social a:hover { background: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 22px; font-size: .82rem; color: rgba(255, 255, 255, .4); }
.footer-admin-link { color: inherit; opacity: 0; margin-left: 8px; font-size: 14px; transition: opacity .3s; vertical-align: middle; position: relative; -webkit-tap-highlight-color: transparent; }
/* Invisible padded hit area (~44px) around the tiny icon so it's easy to tap without enlarging the footer line. */
.footer-admin-link::before { content: ''; position: absolute; inset: -15px; border-radius: 50%; }
.footer-admin-link:hover, .footer-admin-link:active { opacity: .4; }
/* Touch devices have no hover — keep it faintly visible (and a bit larger) so the owner can find and tap it. */
@media (hover: none) { .footer-admin-link { opacity: .3; font-size: 17px; } }

/* ═════════════  Mobile contact bar  ═════════════ */
.mobile-cta { display: none; }

/* ═════════════  Responsive  ═════════════ */
@media (max-width: 991px) {
  .hero-slider { height: 92vh; }
  .trust-item-mid { border-left: none; border-right: none; border-top: 1px solid var(--line); }
  .about-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-story-badge { bottom: 12px; right: 12px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat + .about-stat:nth-child(3) { border-left: none; border-top: 1px solid rgba(255,255,255,.09); }
  .about-stat + .about-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.09); }
  .about-branches-grid { grid-template-columns: 1fr; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-hero-media { order: -1; }
  .site-nav .container { position: relative; height: 60px; }
  .site-nav .navbar-collapse {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; width: auto;
    background: rgba(15,23,42,.99);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    max-height: calc(100vh - 76px); overflow-y: auto;
    border-radius: 16px; padding: 10px;
    margin-top: 0; border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 22px 55px rgba(0,0,0,.28);
  }
  .site-nav .nav-main { align-items: stretch; gap: 2px; }
  .site-nav .nav-link { justify-content: flex-start; width: 100%; color: rgba(255,255,255,.72); padding: 11px 14px; border-radius: 10px; font-size: .88rem; gap: 10px; }
  .site-nav .nav-top-ic { display: inline-block; width: 20px; color: rgba(255,255,255,.55); font-size: .96rem; }
  .site-nav .nav-caret { margin-left: auto; color: rgba(255,255,255,.45); }
  .site-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
  .site-nav .nav-link.active { color: #fff; background: rgba(var(--brand-rgb),.22); }
  .site-nav .nav-link:hover .nav-top-ic,.site-nav .nav-link.active .nav-top-ic { color: #fff; }
  .site-nav .nav-service-menu { position: static !important; width: auto; margin: 3px 4px 7px !important; padding: 7px; transform: none !important; border-color: rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.045); box-shadow: none; }
  .site-nav .nav-service-head { display: none; }
  .site-nav .nav-service-link { grid-template-columns: 35px minmax(0,1fr) 16px; gap: 9px; padding: 8px; color: rgba(255,255,255,.78); }
  .site-nav .nav-service-link:hover,.site-nav .nav-service-link.active { color: #fff; background: rgba(255,255,255,.07); }
  .site-nav .nav-service-icon { width: 35px; height: 35px; color: #ff8197; background: rgba(var(--brand-rgb),.18); font-size: .9rem; }
  .site-nav .nav-service-link strong { font-size: .76rem; }
  .site-nav .nav-service-link small { color: rgba(255,255,255,.45); font-size: .61rem; }
  .site-nav .nav-service-arrow { color: rgba(255,255,255,.4); opacity: 1; transform: none; }
  .nav-phone { justify-content: center; color: rgba(255,255,255,.7); padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.055); font-size: .78rem; }
  .nav-phone i { color: #ff8197; }
  .nav-phone:hover { color: rgba(255,255,255,.8); background: rgba(255,255,255,.06); }
  .nav-right { display: grid !important; grid-template-columns: auto minmax(0,1fr); gap: 8px; width: 100%; margin-top: 8px; padding: 10px 4px 2px; border-top: 1px solid rgba(255,255,255,.08); }
  .nav-tools { height: 38px; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.045); }
  .nav-lang,.nav-theme { color: rgba(255,255,255,.78); }
  .nav-lang { border-right-color: rgba(255,255,255,.12); }
  .btn-nav-cta { grid-column: 1/-1; width: 100%; justify-content: center; margin-top: 0; box-shadow: none; padding: 11px 20px; font-size: .9rem; }
  .btn-nav-cta span { display: inline !important; }
}

@media (max-width: 575.98px) {
  .about-locations-head { margin-bottom: 28px; }
  .about-branch-map { min-height: 220px; }
  .about-branch-body { padding: 21px 18px; }
  .about-branch-desc { min-height: 0; }
  .about-branch-actions { flex-direction: column; }
  .about-branch-actions .btn { width: 100%; }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .hero-slider { height: 100svh; min-height: 560px; }
  .hero-slider-title { font-size: 2.2rem; }
  .slider-controls { bottom: 80px; }
  .brands-v2 { padding: 48px 0; }
  .brands-v2-head { margin-bottom: 32px; }
  .brand-v2-card { width: 162px; min-height: 138px; margin-right: 16px; padding: 22px 16px; gap: 12px; border-radius: 18px; }
  .brand-v2-logo { height: 50px; }
  .brand-v2-logo img { max-height: 50px; max-width: 116px; }
  .page-hero { padding: 116px 0 44px; }
  .product-hero { padding: 110px 0 56px; }
  /* keep content clear of the fixed mobile contact bar */
  body { padding-bottom: 64px; }
  .site-footer { margin-bottom: 0; }

  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 24px rgba(16, 24, 40, .1); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px; border-radius: 11px; font-weight: 700; font-size: .92rem; }
  .mobile-cta-call { background: var(--ink); color: #fff; }
  .mobile-cta-line { background: #06c755; color: #fff; }
}

/* ─────────────  Promotions strip (homepage) — restored  ───────────── */
.promo-strip { padding: 72px 0; background: var(--surface); }
.promo-home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.promo-home-card { display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.promo-home-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.10); transform: translateY(-2px); }
.promo-home-img { width: 100%; padding: 0; border: 0; background: var(--paper); cursor: pointer; overflow: hidden; }
.promo-home-img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.promo-home-img--empty { height: 180px; display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: 48px; background: linear-gradient(135deg,var(--brand),var(--brand-dark)); }
.promo-home-trigger img { transition: transform .3s; }
.promo-home-card:hover .promo-home-trigger img { transform: scale(1.04); }
.promo-home-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.promo-home-badge { display: inline-block; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; border-radius: 99px; padding: 4px 12px; margin-bottom: 10px; letter-spacing: .05em; }
.promo-home-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.promo-home-title-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.promo-home-title-btn:hover { color: var(--brand); }
.promo-home-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 2px 0 9px; }
.promo-home-price-label { color: var(--muted); font-size: .74rem; font-weight: 700; }
.promo-home-price-current { color: var(--brand); font-size: 1.35rem; font-weight: 900; line-height: 1; }
.promo-home-price-old { color: var(--muted); font-size: .82rem; }
.promo-home-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.promo-home-until { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.promo-home-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.promo-home-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border: 0; border-radius: 99px; background: rgba(var(--brand-rgb),.09); color: var(--brand); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s,color .15s; }
.promo-home-btn:hover { background: var(--brand); color: #fff; }
.promo-home-detail { background: var(--brand); color: #fff; }
.promo-home-detail:hover { background: var(--brand-dark); }
.home-promo-modal .modal-content { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.home-promo-modal .modal-header,.home-promo-modal .modal-footer { border-color: var(--line); }
.home-promo-modal-img { width: 100%; max-height: 430px; object-fit: cover; display: block; }
.home-promo-modal-empty { min-height: 250px; display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: 68px; background: linear-gradient(135deg,var(--brand),var(--brand-dark)); }
.home-promo-modal-body { color: var(--muted); line-height: 1.85; overflow-wrap: anywhere; }
[data-theme="dark"] .home-promo-modal .btn-close { filter: invert(1) grayscale(1); }

/* ─────────────  Booking band — restored  ───────────── */
.book-band { padding: 0; background: var(--brand); }
.book-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 0; flex-wrap: wrap; }
.book-band-left { display: flex; align-items: center; gap: 20px; }
.book-band-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 24px; color: #fff; flex-shrink: 0; }
.book-band-title { font-size: 1.2rem; font-weight: 800; color: #fff; }
.book-band-sub { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 3px; }
.book-band-btn { display: inline-flex; align-items: center; white-space: nowrap; padding: 13px 28px; border-radius: 99px; background: #fff; color: var(--brand); font-size: 15px; font-weight: 800; transition: all .18s; box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.book-band-btn:hover { background: var(--ink); color: #fff; }
@media (max-width: 640px) {
  .book-band-inner { justify-content: center; text-align: center; }
  .book-band-left { flex-direction: column; align-items: center; }
  .book-band-btn { width: 100%; justify-content: center; }
}

/* ─────────────  Homepage reviews — restored  ───────────── */
.home-rv-score { display:inline-flex; align-items:center; gap:8px; margin-top:14px; font-size:15px; }
.home-rv-stars { color:#fbbf24; letter-spacing:1px; }
.home-rv-card { height:100%; background:var(--paper); border:1.5px solid var(--surface); border-radius:16px; padding:22px; display:flex; flex-direction:column; }
.home-rv-body { font-size:14px; color:var(--ink); line-height:1.7; flex:1; margin-bottom:16px; }
.home-rv-shot { display:block; flex:1; margin-bottom:16px; border-radius:10px; overflow:hidden; border:1px solid var(--surface); }
.home-rv-shot img { width:100%; display:block; max-height:240px; object-fit:cover; }
.home-rv-foot { display:flex; align-items:center; gap:10px; }
.home-rv-avatar { width:40px; height:40px; border-radius:50%; object-fit:cover; background:var(--surface); }
.home-rv-avatar-ph { width:40px; height:40px; border-radius:50%; background:var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; }
.home-rv-author { font-weight:700; font-size:13.5px; color:var(--ink); }
.home-rv-src { font-size:11px; color:#4285F4; font-weight:600; }

/* ─────────────  Live chat widget · premium red-black  ───────────── */
#rjChat { position: fixed; right: 20px; bottom: 20px; z-index: 1050; }
#rjChatBtn { position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; background: radial-gradient(circle at 32% 28%, var(--brand-2), var(--brand) 46%, #14141a 130%); color: #fff; font-size: 24px; box-shadow: 0 12px 32px rgba(0,0,0,.28), 0 6px 18px rgba(var(--brand-rgb),.42); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
#rjChatBtn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 16px 40px rgba(0,0,0,.32), 0 8px 22px rgba(var(--brand-rgb),.55); }
#rjChatBtn > i { transition: transform .25s ease; }
#rjChatBtn.rj-open > i { transform: rotate(90deg); }
.rj-chat-badge { position: absolute; top: -3px; right: -3px; background: #16a34a; color: #fff; font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 99px; display: flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); }

/* Launcher greeting nudge */
.rj-chat-greeting { position: absolute; right: 74px; bottom: 12px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; padding: 9px 34px 9px 14px; border-radius: 999px; box-shadow: 0 8px 26px rgba(15,23,42,.18); white-space: nowrap; cursor: pointer; animation: rjGreet .3s ease; }
.rj-chat-greeting::after { content: ''; position: absolute; right: -6px; bottom: 13px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); box-shadow: 3px -3px 6px rgba(15,23,42,.06); }
#rjChatGreetingClose { position: absolute; top: 50%; right: 11px; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; padding: 0; }
@keyframes rjGreet { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

#rjChatPanel { position: absolute; right: 0; bottom: 76px; width: 356px; max-width: calc(100vw - 32px); height: 496px; max-height: calc(100vh - 140px); background: #fff; border-radius: 20px; box-shadow: 0 24px 64px rgba(10,10,15,.30); border: 1px solid rgba(0,0,0,.06); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: rjPop .2s cubic-bezier(.34,1.4,.6,1); }
@keyframes rjPop { from { opacity: 0; transform: translateY(14px) scale(.95); } to { opacity: 1; transform: none; } }

.rj-chat-head { position: relative; display: flex; align-items: center; gap: 11px; padding: 15px 15px 16px; background: linear-gradient(135deg, #17171c 0%, var(--brand-dark) 55%, var(--brand) 120%); color: #fff; flex-shrink: 0; overflow: hidden; }
.rj-chat-head::after { content: ''; position: absolute; right: -30px; top: -40px; width: 140px; height: 140px; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); }
.rj-chat-head-avatar { position: relative; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.rj-chat-head-info { flex: 1; min-width: 0; z-index: 1; }
.rj-chat-head-title { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rj-chat-head-status { font-size: 11.5px; opacity: .9; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.rj-chat-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); display: inline-block; flex-shrink: 0; }
.rj-chat-dot--on { background: #4ade80; animation: rjPulse 1.8s infinite; }
.rj-chat-dot--off { background: rgba(255,255,255,.4); }
@keyframes rjPulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); } 70% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
#rjChatClose { position: relative; z-index: 1; background: none; border: 0; color: #fff; opacity: .8; font-size: 15px; padding: 5px; cursor: pointer; border-radius: 7px; transition: opacity .15s, background .15s; }
#rjChatClose:hover { opacity: 1; background: rgba(255,255,255,.15); }

.rj-chat-messages { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; background: var(--paper); }
.rj-chat-welcome { background: #fff; border: 1px solid var(--line); border-radius: 3px 15px 15px 15px; padding: 11px 14px; font-size: 12.5px; line-height: 1.65; color: var(--ink-2); align-self: flex-start; max-width: 90%; box-shadow: var(--shadow-sm); margin-bottom: 6px; }

/* Quick-reply chips */
.rj-chat-quick { display: flex; flex-wrap: wrap; gap: 7px; align-self: flex-start; max-width: 100%; margin-bottom: 4px; }
.rj-quick { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid rgba(var(--brand-rgb),.22); color: var(--brand); font-size: 12px; font-weight: 700; font-family: inherit; padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.rj-quick i { font-size: 13px; }
.rj-quick:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(var(--brand-rgb),.28); }

.rj-msg { display: flex; flex-direction: column; max-width: 84%; margin-top: 6px; }
.rj-msg--visitor { align-self: flex-end; align-items: flex-end; }
.rj-msg--admin { align-self: flex-start; align-items: flex-start; }
.rj-msg-row { display: flex; align-items: flex-end; gap: 7px; }
.rj-msg-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.rj-msg-col { display: flex; flex-direction: column; }
.rj-msg-bubble { padding: 9px 13px; border-radius: 15px; font-size: 13px; line-height: 1.55; word-break: break-word; box-shadow: var(--shadow-sm); }
.rj-msg--visitor .rj-msg-bubble { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: 15px 4px 15px 15px; }
.rj-msg--admin .rj-msg-bubble { background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 4px 15px 15px 15px; }
.rj-msg-time { font-size: 10px; color: var(--muted); margin-top: 3px; padding: 0 2px; }
.rj-msg--admin .rj-msg-time { margin-left: 33px; }
.rj-msg--pending .rj-msg-bubble { opacity: .55; }
.rj-msg--failed .rj-msg-bubble { background: #fef2f2 !important; color: #b91c1c !important; border: 1px solid #fecaca; }
/* chat attachments */
.rj-msg-img { display: block; }
.rj-msg-img img { display: block; max-width: 200px; max-height: 200px; width: auto; border-radius: 10px; }
.rj-msg-text { margin-top: 6px; }
.rj-msg-img + .rj-msg-text, .rj-msg-file + .rj-msg-text { margin-top: 7px; }
.rj-msg-file { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; font-weight: 600; font-size: 12.5px; }
.rj-msg-file i { font-size: 20px; }
.rj-msg--visitor .rj-msg-file { color: #fff; }
.rj-msg--admin .rj-msg-file { color: var(--brand); }
.rj-chat-attach { flex-shrink: 0; width: 38px; height: 40px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--muted); font-size: 17px; cursor: pointer; transition: all .15s; }
.rj-chat-attach:hover { color: var(--brand); border-color: var(--brand); }
.rj-msg-retry { margin-top: 4px; background: none; border: 0; color: #dc2626; font-size: 11px; font-weight: 600; font-family: inherit; cursor: pointer; padding: 2px 0; display: inline-flex; align-items: center; gap: 4px; }
.rj-msg-retry:hover { text-decoration: underline; }

.rj-chat-form { flex-shrink: 0; padding: 11px 12px calc(11px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.rj-chat-form input[type="text"] { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; font-size: 12.5px; margin-bottom: 7px; font-family: inherit; }
.rj-chat-input-row { display: flex; gap: 8px; align-items: flex-end; }
.rj-chat-form textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 12px; padding: 9px 13px; font-size: 13px; font-family: inherit; max-height: 110px; line-height: 1.5; }
.rj-chat-form textarea:focus, .rj-chat-form input[type="text"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.1); }
#rjChatSend { flex-shrink: 0; width: 44px; height: 40px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font-size: 15px; cursor: pointer; transition: filter .15s, transform .12s; }
#rjChatSend:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }
#rjChatSend:disabled, .rj-chat-form textarea:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 767px) {
  #rjChat { right: 14px; bottom: 84px; }
  #rjChatPanel { bottom: 76px; }
  .rj-chat-greeting { display: none; }
}

/* ─────────────  Page-builder sections (home / about / nav pages)  ───────────── */
.cp-sec { padding: 56px 0; }
.cp-sec--surface { background: var(--paper); }
.cp-sec--dark { background: var(--ink); color: #fff; }
.cp-sec--dark .cp-title, .cp-sec--dark .cp-text-body { color: #fff; }
.cp-title { font-size: 1.7rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -.01em; }
.cp-text-body { font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.cp-caption { font-size: 13px; color: var(--muted); margin-top: 10px; }

.cp-imgtext { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.cp-imgtext--right { flex-direction: row-reverse; }
.cp-imgtext-media { flex: 1 1 320px; min-width: 260px; }
.cp-imgtext-media img { width: 100%; border-radius: var(--radius); display: block; }
.cp-imgtext-body { flex: 1 1 320px; min-width: 260px; }

.cp-columns { display: grid; grid-template-columns: repeat(var(--cp-cols, 2), 1fr); gap: 32px; }
.cp-column-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }

.cp-video-wrap { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: #000; }
.cp-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cp-cards { display: grid; grid-template-columns: repeat(var(--cp-cols, 3), 1fr); gap: 22px; margin-top: 28px; }
.cp-card { background: #fff; border: 1.5px solid var(--surface); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.cp-card-icon { font-size: 30px; color: var(--brand); margin-bottom: 12px; display: block; }
.cp-card-title { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.cp-card-body { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0; }

.cp-gallery { display: grid; grid-template-columns: repeat(var(--cp-cols, 3), 1fr); gap: 16px; margin-top: 24px; }
.cp-gallery-item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.cp-gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.cp-gallery-item figcaption { padding: 8px 10px; font-size: 12px; color: var(--muted); }

.cp-faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: 10px; overflow: hidden; }
.cp-faq .accordion-button { font-weight: 700; font-size: 14.5px; }
.cp-faq .accordion-button:not(.collapsed) { color: var(--brand); background: rgba(var(--brand-rgb),.05); box-shadow: none; }
.cp-faq .accordion-button:focus { box-shadow: none; }
.cp-faq .accordion-body { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

.cp-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 24px; text-align: center; }
.cp-stat-num { font-size: 2.2rem; font-weight: 800; color: var(--brand); }
.cp-stat-label { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

.cp-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.cp-testimonial { background: #fff; border: 1.5px solid var(--surface); border-radius: var(--radius); padding: 24px; }
.cp-quote-icon { font-size: 22px; color: var(--brand); opacity: .5; }
.cp-testimonial-quote { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin: 10px 0 14px; }
.cp-testimonial-author { font-weight: 700; font-size: 13.5px; }
.cp-testimonial-author span { font-weight: 400; color: var(--muted); }

.cp-divider--line { display: flex; align-items: center; }
.cp-divider--line::after { content: ''; display: block; width: 100%; height: 1px; background: var(--line); }

@media (max-width: 767px) {
  .cp-sec { padding: 40px 0; }
  .cp-columns, .cp-cards, .cp-gallery { grid-template-columns: 1fr !important; }
}

/* ─────────────  Works page — search + grid  ───────────── */
.wk-toolbar { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.wk-search { position: relative; margin-bottom: 12px; }
.wk-search > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }
.wk-search input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 44px; font-size: 15px; font-family: inherit; }
.wk-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.1); }
.wk-search-clear { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); border: 0; background: var(--surface); width: 28px; height: 28px; border-radius: 50%; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.wk-search-clear:hover { color: var(--brand); }
.wk-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wk-select { border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; font-family: inherit; color: var(--ink); background: #fff; cursor: pointer; }
.wk-select:focus { outline: none; border-color: var(--brand); }
.wk-chip { border: 1.5px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 8px 15px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; color: var(--ink-2); transition: all .15s; }
.wk-chip:hover { border-color: var(--brand); color: var(--brand); }
.wk-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.wk-reset { margin-left: auto; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 13px; cursor: pointer; font-family: inherit; }
.wk-reset:hover { color: var(--brand); }
.wk-resultbar { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; gap: 6px; }
.wk-spin { display: inline-block; width: 13px; height: 13px; border: 2px solid var(--line-strong); border-top-color: var(--brand); border-radius: 50%; animation: wkspin .7s linear infinite; }
@keyframes wkspin { to { transform: rotate(360deg); } }

.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.wk-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.wk-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(16,24,40,.13); }
.wk-card-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--paper); }
.wk-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.wk-card:hover .wk-card-media img { transform: scale(1.05); }
.wk-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.wk-badge { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; color: #fff; display: inline-flex; align-items: center; }
.wk-badge--feat { background: rgba(var(--brand-rgb),.92); }
.wk-badge--ba { background: rgba(21,23,29,.82); }
.wk-card-cat { position: absolute; bottom: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(3px); z-index: 2; }
.wk-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.wk-card-title { font-size: 1.02rem; font-weight: 800; line-height: 1.35; margin-bottom: 6px; letter-spacing: -.01em; }
.wk-card-title a { color: var(--ink); }
.wk-card-title a:hover { color: var(--brand); }
.wk-card-meta { font-size: 13px; color: var(--muted); margin: 0; }
.wk-card-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 14px; }
.wk-media-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .15s, color .15s; }
.wk-media-link:hover { border-color: currentColor; }
.wk-media-link--youtube, .wk-media-link--youtube:hover { color: #d9002b; }
.wk-media-link--facebook, .wk-media-link--facebook:hover { color: #1769c2; }
.wk-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.wk-empty i { font-size: 44px; opacity: .25; display: block; margin-bottom: 14px; }
.wk-empty p { font-size: 14.5px; margin: 0; }

@media (max-width: 575px) {
  .works-grid { grid-template-columns: 1fr; }
  .wk-reset { margin-left: 0; }
}

/* ─────────────  Car audio catalog (audio.php)  ───────────── */
.audio-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.audio-tab { border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink-2); font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 999px; transition: all .15s; }
.audio-tab:hover { border-color: var(--brand); color: var(--brand); }
.audio-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.audio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audio-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.audio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.audio-card-media { position: relative; aspect-ratio: 4/3; background: var(--paper); }
.audio-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.audio-card-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 44px; color: var(--line-strong); }
.audio-card-cat { position: absolute; left: 12px; top: 12px; background: rgba(21,23,29,.78); backdrop-filter: blur(4px); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.audio-card-featured { position: absolute; right: 12px; top: 12px; }
.audio-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.audio-card-brand { font-size: 11.5px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.audio-card-title { font-size: 1.02rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.audio-card-spec { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.audio-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.audio-card-price { font-weight: 800; font-size: 14px; color: var(--ink); }
.audio-card-price--muted { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.audio-empty { text-align: center; padding: 48px 0; color: var(--muted); font-size: 14px; }

@media (max-width: 991px) {
  .audio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .audio-grid { grid-template-columns: 1fr; }
  .audio-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .audio-tab { flex-shrink: 0; }
}

/* ─────────────  Dark mode  ─────────────
   Toggled by data-theme="dark" on <html> (set pre-paint in public_header).
   Tokens flip first; components with hardcoded light colours are overridden below. */
:root[data-theme="dark"] {
  --paper: #0e1014;
  --surface: #171a21;
  --ink: #eceef4;
  --ink-2: #d3d7e0;
  --muted: #98a0b3;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .17);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .5), 0 4px 14px rgba(0, 0, 0, .4);
  --shadow: 0 18px 55px rgba(0, 0, 0, .55);
}
[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
[data-theme="dark"] .bg-white { background-color: var(--surface) !important; }
[data-theme="dark"] .site-nav { background: rgba(14, 16, 20, .92); }
[data-theme="dark"] .nav-tools { background: rgba(255,255,255,.025); }
[data-theme="dark"] .nav-service-menu { border-color: var(--line); background: var(--surface); box-shadow: 0 20px 55px rgba(0,0,0,.5); }

/* The bar's text uses --brand-dark, which only reads against the pale pink
   background of light mode — on the near-black dark surface it drops to ~1.3:1.
   Lift it to a tint that carries the same brand cue and stays legible. */
[data-theme="dark"] .qbar { background: rgba(var(--brand-rgb), .16); border-bottom-color: rgba(var(--brand-rgb), .38); }
[data-theme="dark"] .qbar-sub,
[data-theme="dark"] .qbar-cta,
[data-theme="dark"] .qbar-x { color: #ff8fa3; }
[data-theme="dark"] .qbar-cta { border-color: rgba(255, 143, 163, .5); }
[data-theme="dark"] .qbar-cta:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
[data-theme="dark"] .navbar-toggler:hover { background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .nav-phone:hover { background: rgba(255, 255, 255, .07); }

/* The brand red is only ~3.7:1 on the dark navbar — fine for the underline, but
   too low for the active/hover label text. Lighten it just here (kept tied to
   the admin-picked --brand). The flat colour is the fallback for browsers
   without color-mix(). */
[data-theme="dark"] .site-nav .nav-link:hover,
[data-theme="dark"] .site-nav .nav-link.active { color: #ff6b85; }
@supports (color: color-mix(in srgb, red 50%, white)) {
  [data-theme="dark"] .site-nav .nav-link:hover,
  [data-theme="dark"] .site-nav .nav-link.active { color: color-mix(in srgb, var(--brand) 55%, #fff); }
}
[data-theme="dark"] .site-nav .nav-link:hover .nav-ic,
[data-theme="dark"] .site-nav .nav-link.active .nav-ic { color: inherit; }

/* Card-like components that hardcode white backgrounds */
[data-theme="dark"] .loc-card,
[data-theme="dark"] .service-card-v2,
[data-theme="dark"] .brand-pick-card,
[data-theme="dark"] .work-card,
[data-theme="dark"] .tint-brand-tab,
[data-theme="dark"] .tint-film-card,
[data-theme="dark"] .about-value-card,
[data-theme="dark"] .wk-toolbar,
[data-theme="dark"] .wk-select,
[data-theme="dark"] .wk-chip,
[data-theme="dark"] .wk-card,
[data-theme="dark"] .audio-tab,
[data-theme="dark"] .audio-card,
[data-theme="dark"] .cp-card,
[data-theme="dark"] .cp-testimonial,
[data-theme="dark"] .svc2-card,
[data-theme="dark"] .tsim-panel,
[data-theme="dark"] .tsim-preset,
[data-theme="dark"] .tbenefit,
[data-theme="dark"] .tstep,
[data-theme="dark"] .tfaq-item,
[data-theme="dark"] .thero-chip,
[data-theme="dark"] .home-rv-card,
[data-theme="dark"] .promo-home-card,
[data-theme="dark"] .mobile-cta { background: var(--surface); }

[data-theme="dark"] .tsim-scene-toggle { background: var(--paper); }
[data-theme="dark"] .tsim-scene-toggle button.active { background: var(--surface); color: var(--ink); }
[data-theme="dark"] .tsim-preset.active { background: var(--brand); border-color: var(--brand); color: #fff; }
[data-theme="dark"] .thero-float { background: rgba(23, 26, 33, .92); }
[data-theme="dark"] .btn-soft { background: var(--surface); color: var(--ink); }
[data-theme="dark"] .btn-soft:hover { background: #1d212a; }
[data-theme="dark"] .form-control, [data-theme="dark"] .form-select {
  background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
[data-theme="dark"] .form-control::placeholder { color: var(--muted); }

/* Light gradient heroes → dark gradients */
[data-theme="dark"] .page-hero { background: linear-gradient(160deg, #14161c 0%, #0e1014 60%, #190a0f 100%); }
[data-theme="dark"] .product-hero { background: linear-gradient(150deg, #14161c 0%, #0e1014 55%, #190a0f 100%); }
[data-theme="dark"] .thero { background: linear-gradient(160deg, #14161c 0%, #0e1014 52%, #1c0a10 100%); }

/* Chat widget */
[data-theme="dark"] #rjChatPanel,
[data-theme="dark"] .rj-chat-form,
[data-theme="dark"] .rj-chat-welcome,
[data-theme="dark"] .rj-chat-attach,
[data-theme="dark"] .rj-quick,
[data-theme="dark"] .rj-msg--admin .rj-msg-bubble,
[data-theme="dark"] .rj-chat-greeting { background: var(--surface); color: var(--ink); }
[data-theme="dark"] .rj-chat-greeting::after { background: var(--surface); }

/* Keep brand logo chips white so coloured logos stay readable */
[data-theme="dark"] .brand-v2-card { background: #fff; }

/* "Always-dark" surfaces (footer, stats band, active tabs, mobile call button)
   pull their background from var(--ink) — which flips to LIGHT in dark mode,
   leaving their white text invisible. Pin them to a fixed dark so they stay
   dark-with-white-text in both themes. */
[data-theme="dark"] .site-footer,
[data-theme="dark"] .about-stats,
[data-theme="dark"] .cp-sec--dark { background: #0a0c11; }
[data-theme="dark"] .android-view-tab.active,
[data-theme="dark"] .audio-tab.active,
[data-theme="dark"] .mobile-cta-call { background: #2b3140; border-color: #2b3140; color: #fff; }
[data-theme="dark"] .book-band-btn { background: var(--surface); color: var(--ink); }
[data-theme="dark"] .book-band-btn:hover { background: #0a0c11; color: #fff; }

/* Small chips / thumbnails / tables with hardcoded LIGHT backgrounds */
[data-theme="dark"] .android-spec-tag { background: #23262f; }
[data-theme="dark"] .android-card-thumb,
[data-theme="dark"] .work-thumb { background: #1b1f27; }
[data-theme="dark"] .android-table-wrap { border-color: var(--line); }
[data-theme="dark"] .android-table th { background: #1b1f27; }
[data-theme="dark"] .android-table td { border-bottom-color: rgba(255, 255, 255, .07); }
[data-theme="dark"] .android-table tbody tr:hover td { background: rgba(255, 255, 255, .04); }
[data-theme="dark"] .film-stat-track { background: rgba(255, 255, 255, .13); box-shadow: none; }
/* White pill overlaid on a photo — keep its text dark so it stays readable. */
[data-theme="dark"] .wk-card-cat { color: #15171d; }

/* ─────────────  Android product: clickable card + detail modal  ───────────── */
.android-card-clickable { cursor: pointer; }
.android-card-count { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; color: #fff; background: rgba(15,18,28,.72); backdrop-filter: blur(4px); padding: 4px 9px; border-radius: 999px; z-index: 2; }
.android-card-view { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(15,18,28,.42); opacity: 0; transition: opacity .2s; }
.android-product-card:hover .android-card-view, .android-product-card:focus-visible .android-card-view { opacity: 1; }
.android-table-name { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; }
.android-table-name:hover { color: var(--brand); text-decoration: underline; }

.apm-backdrop { position: fixed; inset: 0; z-index: 1060; background: rgba(10,10,15,.62); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; animation: apmFade .18s ease; }
@keyframes apmFade { from { opacity: 0; } to { opacity: 1; } }
.apm-panel { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); background: var(--surface); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; box-shadow: 0 30px 90px rgba(0,0,0,.5); animation: apmPop .22s cubic-bezier(.34,1.4,.6,1); }
@keyframes apmPop { from { transform: translateY(14px) scale(.98); opacity: .6; } to { transform: none; opacity: 1; } }
.apm-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #15171d; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.apm-close:hover { background: #fff; }
.apm-gallery { background: #0e1014; display: flex; flex-direction: column; min-width: 0; }
.apm-main { position: relative; aspect-ratio: 4/3; background: #0e1014; display: flex; align-items: center; justify-content: center; }
.apm-main img { width: 100%; height: 100%; object-fit: contain; }
.apm-noimg { color: rgba(255,255,255,.25); font-size: 3rem; }
.apm-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: background .15s; }
.apm-nav:hover { background: rgba(0,0,0,.7); }
.apm-prev { left: 12px; } .apm-next { right: 12px; }
.apm-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: #0a0b0e; }
.apm-thumb { flex: 0 0 auto; width: 60px; height: 46px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.apm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apm-thumb.active { border-color: var(--brand); }
.apm-info { padding: 30px 28px; overflow-y: auto; display: flex; flex-direction: column; min-width: 0; }
.apm-badge { align-self: flex-start; font-size: 11px; font-weight: 800; color: #fff; background: var(--brand); padding: 4px 11px; border-radius: 999px; margin-bottom: 10px; }
.apm-brand { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.apm-name { font-size: 1.4rem; font-weight: 800; margin: 4px 0 16px; color: var(--ink); }
.apm-specs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.apm-spec { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.apm-spec > i { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: rgba(var(--brand-rgb),.09); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.apm-spec-label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.apm-spec-val { display: block; font-weight: 700; color: var(--ink); }
.apm-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; white-space: pre-line; }
.apm-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.apm-price { font-size: 1.3rem; font-weight: 800; color: var(--brand); }
@media (max-width: 720px) {
  .apm-panel { grid-template-columns: 1fr; max-height: calc(100vh - 24px); overflow-y: auto; }
  .apm-info { padding: 22px 20px; }
}
[data-theme="dark"] .apm-close { background: rgba(40,44,54,.95); color: #eceef4; }
[data-theme="dark"] .android-card-count { background: rgba(0,0,0,.6); }

/* ─── Tint film card: clickable + gallery affordances (mirror android) ─── */
.tint-card-clickable { cursor: pointer; }
.tint-film-count { position: absolute; bottom: 10px; right: 10px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; color: #fff; background: rgba(15,18,28,.72); backdrop-filter: blur(4px); padding: 4px 9px; border-radius: 999px; z-index: 2; }
.tint-film-view { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(15,18,28,.42); opacity: 0; transition: opacity .2s; z-index: 1; }
.tint-film-card:hover .tint-film-view, .tint-film-card:focus-visible .tint-film-view { opacity: 1; }

/* Tint detail-modal extras (reuses .apm-* modal frame) */
.apm-subtitle { font-size: .86rem; color: var(--muted); margin: -8px 0 14px; }
.apm-badge--promo { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.apm-foot-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.tint-mstats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.tint-mstat-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.tint-mstat-label { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.tint-mstat-val { font-size: .95rem; font-weight: 800; }
.tint-mstat-track { height: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.tint-mstat-bar { height: 100%; border-radius: 99px; transition: width .3s ease; }
[data-theme="dark"] .tint-film-count { background: rgba(0,0,0,.6); }
[data-theme="dark"] .tint-mstat-track { background: rgba(255,255,255,.08); }

/* ─── Skeleton loading cards (works filter) ─── */
.sk-shimmer { position: relative; overflow: hidden; background: rgba(15,23,42,.07); }
.sk-shimmer::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
  animation: skSweep 1.25s infinite; }
@keyframes skSweep { to { transform: translateX(100%); } }
.wk-skel { pointer-events: none; }
.sk-line { height: 13px; border-radius: 6px; margin-top: 10px; }
.sk-line--title { height: 17px; width: 78%; margin-top: 2px; }
.sk-line--meta { width: 52%; }
[data-theme="dark"] .sk-shimmer { background: rgba(255,255,255,.06); }
[data-theme="dark"] .sk-shimmer::after { background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.12) 50%, transparent 80%); }
@media (prefers-reduced-motion: reduce) { .sk-shimmer::after { animation: none; } }

/* ─────────────  404 page  ─────────────
   Built on tokens only (--surface/--ink/--muted/--line), so dark mode needs
   no overrides. The big "404" is a background watermark behind the copy. */
.nf-wrap { position: relative; padding: 150px 0 90px; overflow: hidden; }
.nf-code {
  position: absolute; top: 78px; left: 50%; transform: translateX(-50%);
  font-size: clamp(180px, 34vw, 420px); font-weight: 800; line-height: .8;
  letter-spacing: -.04em; pointer-events: none; user-select: none; z-index: 0;
  background: linear-gradient(180deg, rgba(var(--brand-rgb), .16), rgba(var(--brand-rgb), 0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nf-body { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; }
.nf-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: var(--ink); margin: 6px 0 10px; }
.nf-sub { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 26px; }

.nf-search {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.nf-search > i { color: var(--muted); font-size: 16px; flex: none; }
.nf-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  color: var(--ink); font-family: inherit; font-size: 14.5px; padding: 10px 0;
}
.nf-search input::placeholder { color: var(--muted); }
.nf-search button { flex: none; padding: 9px 22px; font-size: 14px; font-weight: 600; }

.nf-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 14px; }
.nf-btn-ghost {
  display: inline-flex; align-items: center; padding: 10px 24px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink); background: var(--surface); font-size: 14px; font-weight: 600;
  transition: background .18s, border-color .18s;
}
.nf-btn-ghost:hover { background: var(--paper); border-color: var(--brand); color: var(--brand); }
.nf-help { color: var(--muted); font-size: 13px; margin: 0; }

.nf-links-head {
  position: relative; z-index: 1; text-align: center; margin: 54px 0 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.nf-links {
  position: relative; z-index: 1; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 860px; margin: 0 auto;
}
.nf-link {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.nf-link:hover { transform: translateY(-3px); border-color: rgba(var(--brand-rgb), .45); box-shadow: var(--shadow); color: var(--ink); }
.nf-link-icon {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(var(--brand-rgb), .10); color: var(--brand); font-size: 19px;
}
.nf-link-text { display: flex; flex-direction: column; min-width: 0; }
.nf-link-text strong { font-size: 14.5px; font-weight: 600; }
.nf-link-text small { color: var(--muted); font-size: 12.5px; }
.nf-link-arrow { margin-left: auto; color: var(--muted); font-size: 14px; transition: transform .18s, color .18s; }
.nf-link:hover .nf-link-arrow { transform: translateX(3px); color: var(--brand); }

@media (max-width: 575.98px) {
  .nf-wrap { padding: 120px 0 70px; }
  .nf-search { flex-wrap: wrap; border-radius: var(--radius); padding: 10px; }
  .nf-search input { width: 100%; flex: 1 1 100%; padding: 6px 4px; }
  .nf-search button { width: 100%; }
  .nf-search > i { display: none; }
}

/* Automatic chat replies — visibly distinct from a staff message so a visitor
   can tell at a glance that a human has not answered yet. */
.rj-msg--bot .rj-msg-avatar { background: var(--ink-2); }
.rj-msg--bot .rj-msg-bubble { background: var(--paper); border-style: dashed; }
.rj-msg--bot .rj-msg-time { font-style: italic; }
[data-theme="dark"] .rj-msg--bot .rj-msg-bubble { background: var(--paper); border-color: var(--line-strong); color: var(--ink); }
[data-theme="dark"] .rj-msg--bot .rj-msg-avatar { background: var(--line-strong); color: var(--ink); }

/* Social proof chip — real booking counts, never a fabricated number. */
.bproof {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 10px 14px; margin-bottom: 18px;
  background: rgba(22, 163, 74, .09); border: 1px solid rgba(22, 163, 74, .25);
  border-radius: 12px; font-size: 13px; font-weight: 600;
  /* #15803d lands at 4.25:1 on the tinted background — just under AA. */
  color: #146c34;
}
.bproof-ic { display: inline-flex; font-size: 14px; }
.bproof-txt { min-width: 0; }
.bproof-note {
  display: inline-flex; align-items: center; gap: 4px; margin-left: auto;
  /* No opacity here — fading text multiplies against the tint and drops it
     below AA. The colour itself is dialled back instead. */
  font-size: 11px; font-weight: 500; color: #197a3c; white-space: nowrap;
}
.bproof-note i { font-size: 10px; }
[data-theme="dark"] .bproof { background: rgba(22,163,74,.14); border-color: rgba(22,163,74,.34); color: #6ee7a8; }
[data-theme="dark"] .bproof-note { color: #6ee7a8; }

/* Compact variant sits on the brand-red booking band, so it borrows white
   rather than the green used on light surfaces. */
.bproof--sm {
  margin: 8px 0 0; padding: 4px 11px; font-size: 12px; border-radius: 99px;
  background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.28); color: #fff;
}
[data-theme="dark"] .bproof--sm { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.26); color: #fff; }

/* Empty-state offer card — a listing with nothing to show still gets to sell. */
.eoffer {
  text-align: center; padding: 48px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px dashed var(--line-strong);
}
.eoffer-ic {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 18px;
  display: grid; place-items: center; font-size: 26px;
  background: rgba(var(--brand-rgb), .09); color: var(--brand);
}
.eoffer-msg {
  max-width: 480px; margin: 0 auto 22px; color: var(--muted);
  font-size: 14.5px; line-height: 1.8;
}
.eoffer-msg strong { display: block; color: var(--ink); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.eoffer-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 575.98px) {
  .eoffer { padding: 36px 16px; }
  .eoffer-btns .btn { width: 100%; justify-content: center; }
}

/* ─────────  Shared service-page sections  ─────────
   Benefits / process / FAQ. These were written for the film page and lived in
   its inline <style>, so the same markup rendered unstyled anywhere else.
   Moved here so every service page can reuse the blocks. */
.tbenefits { padding: 60px 0; background: var(--surface); }
.tbenefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tbenefit { padding: 26px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: transform .18s, box-shadow .18s, border-color .18s; }
.tbenefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.tbenefit-ic { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--brand); background: rgba(var(--brand-rgb), .1); margin-bottom: 16px; }
.tbenefit h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 7px; }
.tbenefit p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

.tprocess { padding: 80px 0; background: var(--paper); }
.tstep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tstep { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px 22px 24px; }
.tstep-no { position: absolute; top: -18px; left: 22px; width: 44px; height: 44px; border-radius: 13px; color: #fff; font-weight: 800; font-size: 1.15rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px rgba(var(--brand-rgb), .35); }
.tstep h3 { font-size: 1.02rem; font-weight: 800; margin: 12px 0 7px; }
.tstep p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

.tfaq { padding: 80px 0; background: var(--surface); }
.tfaq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.tfaq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.tfaq-item[open] { border-color: rgba(var(--brand-rgb), .3); box-shadow: var(--shadow-sm); }
.tfaq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; font-weight: 700; font-size: 15px; color: var(--ink); }
.tfaq-item summary::-webkit-details-marker { display: none; }
.tfaq-item summary i { flex-shrink: 0; color: var(--brand); font-size: 20px; transition: transform .2s; }
.tfaq-item[open] summary i { transform: rotate(45deg); }
.tfaq-a { padding: 0 20px 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }

@media (max-width: 992px) { .tbenefit-grid, .tstep-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tbenefit-grid, .tstep-grid { grid-template-columns: 1fr; } }
.tfaq--alt { background: var(--paper); }

/* Brand tags on a work card — a job can involve several brands at once. */
.wk-card-brands { display:flex; flex-wrap:wrap; gap:5px; margin-top:9px; }
.wk-brand-tag { font-size:11px; font-weight:600; padding:3px 9px; border-radius:999px;
  background:rgba(var(--brand-rgb),.08); color:var(--brand-dark); border:1px solid rgba(var(--brand-rgb),.18); }
[data-theme="dark"] .wk-brand-tag { background:rgba(var(--brand-rgb),.16); color:#ff8fa3; border-color:rgba(var(--brand-rgb),.3); }

/* Works gallery — headline figures */
.wk-stats { padding:0 0 8px; }
.wk-stat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; }
.wk-stat { text-align:center; padding:20px 14px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.wk-stat > i { font-size:20px; color:var(--brand); display:block; margin-bottom:8px; }
.wk-stat-num { font-size:1.7rem; font-weight:800; line-height:1; color:var(--ink); }
.wk-stat-label { font-size:12px; color:var(--muted); margin-top:5px; }

/* Category tabs — the coarse split, above the finer dropdowns */
.wk-cats { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.wk-cat { display:inline-flex; align-items:center; gap:7px; padding:8px 16px; border-radius:999px;
  border:1.5px solid var(--line); background:var(--surface); color:var(--ink);
  font-size:13.5px; font-weight:600; cursor:pointer; font-family:inherit; transition:all .15s; }
.wk-cat:hover { border-color:var(--brand); }
.wk-cat.active { background:var(--brand); border-color:var(--brand); color:#fff; }
.wk-cat-n { font-size:11px; font-weight:700; padding:1px 7px; border-radius:999px;
  background:rgba(var(--brand-rgb),.12); color:var(--brand-dark); }
.wk-cat.active .wk-cat-n { background:rgba(255,255,255,.24); color:#fff; }
[data-theme="dark"] .wk-cat-n { background:rgba(var(--brand-rgb),.22); color:#ff8fa3; }
@media (max-width:575.98px) { .wk-cat { padding:7px 13px; font-size:12.5px; } }
/* A service with no work yet stays visible but inert — the tab row keeps its
   shape as the gallery fills, and nobody clicks into an empty result. */
.wk-cat.is-empty { opacity:.45; cursor:not-allowed; }
.wk-cat.is-empty:hover { border-color:var(--line); }

/* ── Cookie consent banner (PDPA) ─────────────────────────────────────────
   Sits above the mobile CTA bar rather than over it — covering the call
   button would make the banner feel like a trap rather than a choice.
   Accept and Reject are the same size and weight: consent has to be freely
   given, so a washed-out "reject" next to a bright "accept" would not do. */
.ck-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1055;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: ckIn .28s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes ckIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ck-banner.ck-out { opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.ck-inner {
  display: flex; align-items: center; gap: 18px;
  max-width: 1180px; margin: 0 auto; padding: 15px 18px;
}
.ck-text { min-width: 0; }
.ck-title { margin: 0 0 3px; font-weight: 700; font-size: .97rem; display: flex; align-items: center; gap: 7px; }
.ck-title .bi { color: var(--brand); }
.ck-desc { margin: 0; font-size: .855rem; line-height: 1.55; color: var(--muted); }
.ck-desc a { color: var(--brand-dark); text-decoration: underline; font-weight: 600; }
.ck-actions { display: flex; gap: 9px; flex: none; margin-left: auto; }
.ck-btn {
  border-radius: 10px; padding: 10px 18px; font-weight: 700; font-size: .875rem;
  white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.ck-btn-yes { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.ck-btn-yes:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.ck-btn-no { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.ck-btn-no:hover { background: var(--paper); border-color: var(--muted); }
.ck-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

[data-theme="dark"] .ck-desc a { color: #ff8fa3; }

@media (max-width: 767.98px) {
  /* Clear the fixed mobile CTA bar (approx. 62px + the phone's safe area). */
  .ck-banner { left: 8px; right: 8px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .ck-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; }
  .ck-actions { margin-left: 0; }
  .ck-btn { flex: 1; padding: 11px 12px; }
  .ck-desc { font-size: .82rem; }
}

/* Footer legal row — privacy policy + a way back into the cookie choice,
   which PDPA requires to be as easy to reach as giving consent was. */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.footer-legal a, .footer-legal button {
  background: none; border: 0; padding: 0;
  font-size: .82rem; color: inherit; opacity: .75; text-decoration: underline; cursor: pointer;
}
.footer-legal a:hover, .footer-legal button:hover { opacity: 1; }

/* ── Privacy / PDPA page ──────────────────────────────────────────────────
   Legal text is read, not skimmed: a narrow measure, generous line height and
   real spacing between sections do more for comprehension here than styling. */
.pv-wrap { max-width: 860px; }
.pv-wrap p, .pv-wrap li { line-height: 1.85; }
.pv-updated { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.pv-h2 {
  font-size: 1.22rem; font-weight: 700; margin: 42px 0 12px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.pv-h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 26px; }
.pv-list { padding-left: 0; list-style: none; margin: 0 0 8px; }
.pv-list li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.pv-list li::before {
  content: ""; position: absolute; left: 4px; top: .78em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.pv-note {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 13px 16px;
  font-size: .88rem; color: var(--muted); margin-top: 14px;
}

.pv-summary {
  background: rgba(var(--brand-rgb), .05);
  border: 1px solid rgba(var(--brand-rgb), .2);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 10px;
}
.pv-summary-title { font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.pv-summary-title .bi { color: var(--brand); }
.pv-summary ul { margin: 0; padding-left: 20px; }
.pv-summary li { margin-bottom: 5px; }

/* Tables scroll inside their own box so the page body never scrolls sideways. */
.pv-table-wrap { overflow-x: auto; margin: 14px 0 6px; -webkit-overflow-scrolling: touch; }
.pv-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .875rem; }
.pv-table th, .pv-table td { padding: 11px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.pv-table thead th { background: var(--paper); font-weight: 700; white-space: nowrap; }
.pv-table code { font-size: .82rem; background: var(--paper); padding: 2px 6px; border-radius: 5px; color: var(--ink); }
.pv-tag {
  display: inline-block; font-size: .76rem; font-weight: 700; padding: 3px 9px;
  border-radius: 99px; background: var(--paper); color: var(--muted); border: 1px solid var(--line);
  white-space: nowrap;
}
.pv-tag-yes { background: rgba(var(--brand-rgb), .1); color: var(--brand-dark); border-color: rgba(var(--brand-rgb), .3); }

/* On phones the table becomes stacked cards — a 5-column legal table is
   unreadable at 375px however much it scrolls. */
@media (max-width: 640px) {
  .pv-table { min-width: 0; }
  .pv-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pv-table tr {
    display: block; border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 6px 12px; margin-bottom: 12px; background: var(--surface);
  }
  .pv-table td { display: block; border: 0; padding: 7px 0; }
  .pv-table td + td { border-top: 1px dashed var(--line); }
  .pv-table td::before {
    content: attr(data-th); display: block;
    font-size: .74rem; font-weight: 700; color: var(--muted); margin-bottom: 2px;
  }
}

.pv-rights { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 16px 0 6px; }
.pv-right {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px;
}
.pv-right .bi { color: var(--brand); font-size: 1.1rem; flex: none; margin-top: 1px; }
.pv-right b { display: block; font-size: .93rem; margin-bottom: 2px; }
.pv-right span { display: block; font-size: .83rem; color: var(--muted); line-height: 1.6; }

.pv-link-btn {
  background: none; border: 0; padding: 0;
  color: var(--brand-dark); font-weight: 600; text-decoration: underline; cursor: pointer;
}
[data-theme="dark"] .pv-link-btn { color: #ff8fa3; }

/* Rights request form */
.pv-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 6px; }
.pv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pv-field-full { grid-column: 1 / -1; }
.pv-field { display: flex; flex-direction: column; gap: 6px; }
.pv-field > span { font-size: .87rem; font-weight: 600; }
.pv-req { color: var(--brand); }
.pv-field input, .pv-field select, .pv-field textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: .92rem;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
}
.pv-field input:focus, .pv-field select:focus, .pv-field textarea:focus {
  outline: none; border-color: var(--brand); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .13);
}
.pv-consent-note {
  font-size: .84rem; color: var(--muted); line-height: 1.7;
  margin: 14px 0 16px; display: flex; gap: 8px; align-items: flex-start;
}
.pv-consent-note .bi { color: var(--brand); flex: none; margin-top: 3px; }
.pv-err, .pv-ok {
  display: flex; gap: 11px; align-items: flex-start;
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px;
}
.pv-err { background: rgba(var(--brand-rgb), .07); border: 1px solid rgba(var(--brand-rgb), .28); color: var(--brand-dark); }
.pv-err ul { margin: 0; padding-left: 18px; }
.pv-ok { background: rgba(16, 138, 72, .09); border: 1px solid rgba(16, 138, 72, .3); }
.pv-ok .bi { color: #0f7a44; font-size: 1.25rem; flex: none; }
.pv-ok b { display: block; }
.pv-ok span { font-size: .88rem; color: var(--muted); }
[data-theme="dark"] .pv-err { color: #ff8fa3; }
[data-theme="dark"] .pv-ok .bi { color: #4ade80; }

@media (max-width: 575.98px) {
  .pv-form-grid { grid-template-columns: 1fr; }
  .pv-form { padding: 16px; }
  .pv-h2 { font-size: 1.1rem; margin-top: 34px; }
}

/* Collection notice shown at the point of collection, on every public form. */
.pdpa-notice {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: .78rem; line-height: 1.6; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 12px; margin: 14px 0 12px;
}
.pdpa-notice .bi { color: var(--brand); flex: none; margin-top: 2px; font-size: .9rem; }
.pdpa-notice a { color: var(--brand-dark); text-decoration: underline; font-weight: 600; white-space: nowrap; }
[data-theme="dark"] .pdpa-notice a { color: #ff8fa3; }
/* Inside the chat panel the notice sits above a cramped input row. */
.rj-chat-form .pdpa-notice { margin: 0 0 8px; font-size: .72rem; padding: 8px 10px; }

/* In dark mode --brand-dark is a deep red that all but disappears against the
   dark surface, so the consent tag needs its own lighter tone. */
[data-theme="dark"] .pv-tag-yes { color: #ff9eb0; border-color: rgba(var(--brand-rgb), .45); }
