/* Utilities */
.nowrap { white-space: nowrap; }

/* Basic UI */
.btn { border-radius: 0 !important; }
.icon-text { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.icon-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
.icon-top i { font-size: 2rem; line-height: 1; margin-bottom: .25rem; }
.shadow-lite { box-shadow: 0 .25rem .75rem rgba(0,0,0,.06); }

/* Badge */
.badges-wrap .badge-elevated{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.5rem .75rem; border-radius:9999px; background:#fff;
  border:1px solid rgba(0,0,0,.08); box-shadow:0 6px 12px rgba(0,0,0,.10);
  font-weight:600; color:#212529;
}

/* Contact */
.contact-list { font-size: 1.05rem; }
.contact-list li { padding: .5rem 0; border-bottom: 1px dashed #eee; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list i { font-size: 1.25rem; }

/* Branch nav */
.branch-nav { display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; margin-bottom:1rem; }
.branch-nav a { display:inline-flex; align-items:center; gap:.4rem; padding:.35rem .6rem; border:1px solid #e5e7eb; border-radius:.375rem; background:#fff; text-decoration:none; color:#111; font-weight:600; }
.branch-nav a:hover { background:#f8f9fa; }

/* ── Slider ────────────────────────────────────────────────── */
#CN-slider {
  position: relative; overflow: hidden; border-radius: 8px;
  width: 100%; background: #0a0a0a; line-height: 0;
  isolation: isolate; /* stacking context mới, tránh z-index leak */
}
#CN-slider::before { content: ""; display: block; padding-top: 56.25%; } /* 16:9 */
@media (max-width: 991.98px) { #CN-slider::before { padding-top: 75%; } }

/* Track */
#CN-slider .CN-track { position: absolute; inset: 0; }

/* Images — fade + Ken Burns subtle zoom (GPU composited) */
#CN-slider .CN-track > img {
  position: absolute; inset: 0; display: block;
  width: 100% !important; height: 100% !important;
  max-width: none !important; max-height: none !important;
  object-fit: cover; object-position: center;
  opacity: 0;
  transform: scale(1.05);                     /* starting zoom — slightly larger */
  transition:
    opacity   .75s cubic-bezier(.4, 0, .2, 1),
    transform .75s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform;
  -webkit-user-drag: none; user-select: none;
  backface-visibility: hidden;
  border: 0; padding: 0; margin: 0;
}
#CN-slider .CN-track > img.CN-active {
  opacity: 1;
  transform: scale(1);                        /* zooms into place as it fades in */
}

/* Arrow buttons */
#CN-slider .CN-arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(8px) saturate(1.4);
  -webkit-backdrop-filter: blur(8px) saturate(1.4);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%; width: 44px; height: 44px;
  display: grid; place-items: center;
  cursor: pointer; z-index: 2;
  opacity: 0;                                 /* hidden until hover */
  transition: opacity .22s ease, background .2s ease, border-color .2s ease;
}
/* Show on slider hover (desktop); always visible on touch */
#CN-slider:hover .CN-arrow,
#CN-slider:focus-within .CN-arrow { opacity: 1; }
#CN-slider .CN-arrow:hover {
  background: rgba(0, 0, 0, .70);
  border-color: rgba(255, 255, 255, .38);
}
#CN-slider .CN-arrow:active { transform: translateY(-50%) scale(.90); }
#CN-slider .CN-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; opacity: 1; }
#CN-prev { left: 12px; } #CN-next { right: 12px; }
@media (max-width: 767.98px) {
  #CN-slider .CN-arrow { width: 38px; height: 38px; opacity: .72; } /* touch: always visible */
}
@media (max-width: 575.98px) {
  #CN-slider .CN-arrow { width: 34px; height: 34px; }
}

/* Dot navigation — pill active state */
#CN-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; gap: .38rem; justify-content: center; align-items: center; z-index: 2;
}
#CN-dots button {
  width: 8px; height: 8px; border-radius: 9999px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .45);
  cursor: pointer; flex-shrink: 0;
  transition:
    width      .32s cubic-bezier(.4, 0, .2, 1),
    background .25s ease,
    transform  .18s ease;
}
#CN-dots button.CN-active {
  background: #fff; width: 22px;             /* expands to pill */
}
#CN-dots button:hover:not(.CN-active) {
  background: rgba(255, 255, 255, .75);
  transform: scale(1.2);
}
#CN-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  #CN-slider .CN-track > img {
    transition: opacity .15s linear;
    transform: none !important; will-change: auto;
  }
  #CN-dots button { transition: background .15s linear; width: 8px !important; }
  #CN-slider .CN-arrow { transition: opacity .1s linear; }
}

/* FAQ */
.faq-answer{ max-height:0; opacity:0; overflow:hidden; transition:max-height .35s ease, opacity .35s ease; }
.faq-answer.show{ opacity:1; }
.faq-chevron{ transition: transform .25s ease; }
.faq-chevron.rot{ transform: rotate(180deg); }

/* =========================================================
   Tag Cloud — Pills UI (không cần đổi HTML hiện có)
   • Hỗ trợ: compact, kích cỡ, trạng thái, dark mode, mobile scroll
   • Tham số hoá bằng CSS variables để tinh chỉnh nhanh
   ========================================================= */

:root{
  /* Kích thước & spacing mặc định */
  --tag-gap: .5rem;          /* khoảng cách giữa các tag */
  --tag-px: .6rem;           /* padding ngang của tag */
  --tag-py: .28rem;          /* padding dọc của tag */
  --tag-radius: 9999px;      /* pill shape */
  --tag-fs: .875rem;         /* cỡ chữ mặc định */
  --tag-lh: 1.1;             /* line-height thấp để tag gọn */
  --tag-weight: 600;

  /* Màu & viền mặc định (nền sáng) */
  --tag-bg: rgba(0,0,0,.04);
  --tag-bd: rgba(0,0,0,.12);
  --tag-fg: #212529;

  /* Hiệu ứng & icon */
  --tag-icon-size: 1em;
  --tag-ring: 0 0 0 .2rem rgba(13,110,253,.25); /* tương thích Bootstrap Primary */
  --tag-transition: color .15s ease, background-color .15s ease,
                    border-color .15s ease, box-shadow .2s ease,
                    transform .15s ease;
}

/* ===================== Container ===================== */
.tag-cloud{
  display: flex;
  flex-wrap: wrap;                 /* mặc định cho phép xuống dòng */
  align-items: center;
  gap: var(--tag-gap);
}

/* Tuỳ chọn: scroll ngang trên màn nhỏ để tránh nhảy nhiều hàng */
@media (max-width: 575.98px){
  .tag-cloud.is-scrollable-xs{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;         /* Firefox ẩn thanh cuộn */
    scroll-snap-type: x proximity; /* snap nhe */
  }
  .tag-cloud.is-scrollable-xs::-webkit-scrollbar{ display: none; } /* WebKit */
}

/* ===================== Tag ===================== */
.tag{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: var(--tag-py) var(--tag-px);
  font-size: var(--tag-fs);
  line-height: var(--tag-lh);
  font-weight: var(--tag-weight);
  border-radius: var(--tag-radius);
  border: 1px solid var(--tag-bd);
  background-color: var(--tag-bg);
  color: var(--tag-fg);
  text-decoration: none;           /* nếu là <a> */
  -webkit-tap-highlight-color: transparent;
  transition: var(--tag-transition);
  white-space: nowrap;             /* không bể hàng trong 1 tag */
  max-width: 100%;                 /* tránh spill container khi có icon dài */
}

/* Icon trong tag */
.tag i,
.tag .icon{
  font-size: var(--tag-icon-size);
  line-height: 1;
  display: inline-block;
  flex: 0 0 auto;
}

/* ===================== States ===================== */
.tag:hover{
  background-color: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.18);
  transform: translateY(-1px);
}

.tag:active{
  transform: translateY(0);
  background-color: rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.22);
}

.tag:focus{ outline: none; }
.tag:focus-visible{
  box-shadow: var(--tag-ring);
  border-color: #86b7fe; /* tương thích với ring */
}

/* ===================== Biến thể kích thước ===================== */
.tag--xs{
  --tag-fs: .78rem;
  --tag-px: .45rem;
  --tag-py: .18rem;
  --tag-radius: .5rem;
  --tag-weight: 500;
}
.tag--sm{
  --tag-fs: .82rem;
  --tag-px: .5rem;
  --tag-py: .22rem;
  --tag-radius: .6rem;
  --tag-weight: 500;
}
.tag--lg{
  --tag-fs: .95rem;
  --tag-px: .8rem;
  --tag-py: .36rem;
}

/* ===================== Biến thể sắc độ ===================== */
/* Mềm (soft) — nền nhạt, chữ theo màu chủ đạo */
.tag--soft{
  /* mặc định theo primary nếu không gán màu */
  --tag-bg: rgba(13,110,253,.10);
  --tag-bd: rgba(13,110,253,.20);
  --tag-fg: #0d6efd;
}
/* Đặc (solid) — nền đậm, chữ trắng */
.tag--solid{
  --tag-bg: #0d6efd;
  --tag-bd: #0d6efd;
  --tag-fg: #fff;
}
/* Viền (outline) — nền trong suốt */
.tag--outline{
  --tag-bg: transparent;
  --tag-bd: rgba(0,0,0,.18);
  --tag-fg: #212529;
}

/* Màu hệ Bootstrap (tuỳ chọn) */
.tag--success{ --tag-bg: rgba(25,135,84,.10); --tag-bd: rgba(25,135,84,.20); --tag-fg:#198754; }
.tag--warning{ --tag-bg: rgba(255,193,7,.14); --tag-bd: rgba(255,193,7,.32); --tag-fg:#b58100; }
.tag--danger { --tag-bg: rgba(220,53,69,.10); --tag-bd: rgba(220,53,69,.22); --tag-fg:#dc3545; }
.tag--info   { --tag-bg: rgba(13,202,240,.12); --tag-bd: rgba(13,202,240,.22); --tag-fg:#0aa2c0; }

/* ===================== Nhóm compact (tương thích selector cũ) ===================== */
.tag-cloud.is-compact{ 
  --tag-gap: .35rem;
}
.tag-cloud.is-compact .tag{
  --tag-fs: .82rem;
  --tag-px: .5rem;
  --tag-py: .22rem;
  --tag-radius: .5rem;
  --tag-weight: 500;
}

/* Icon nhỏ gọn hơn trong compact */
.tag-cloud.is-compact .tag i{
  font-size: .95em;
  margin-right: .0rem;   /* đã có gap chung nên không cần margin riêng */
}

/* ===================== Mobile tuning ===================== */
@media (max-width: 575.98px){
  .tag-cloud{ --tag-gap: .4rem; }

  /* Nếu muốn nhỏ hơn trên XS */
  .tag-cloud.is-compact .tag{
    --tag-fs: .80rem;
    --tag-px: .45rem;
    --tag-py: .20rem;
  }
}

/* ===================== Dark mode ===================== */
@media (prefers-color-scheme: dark){
  :root{
    --tag-bg: rgba(255,255,255,.06);
    --tag-bd: rgba(255,255,255,.18);
    --tag-fg: #e9ecef;
    --tag-ring: 0 0 0 .2rem rgba(49,132,253,.35);
  }
  .tag:hover{ background-color: rgba(255,255,255,.10); border-color: rgba(255,255,255,.24); }
  .tag:active{ background-color: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
  .tag--outline{ --tag-bd: rgba(255,255,255,.22); --tag-fg:#e9ecef; }
}

/* ===================== Giảm chuyển động nếu người dùng chọn ===================== */
@media (prefers-reduced-motion: reduce){
  .tag{ transition: none; }
  .tag:hover, .tag:active{ transform: none; }
}



/* Wide images */
.wide-img{ display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; margin:clamp(16px,4vw,36px) auto; }

/* Promise list */
.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .5rem 0;
  border-bottom: 1px dashed #eee;
  line-height: 1.5;
}
.promise-list li:last-child { border-bottom: 0; }
.promise-list li i {
  flex-shrink: 0;
  margin-top: .2rem;
  font-size: 1.1rem;
}

/* ── Bootstrap gap-* fix: alpha2 có không có gap utilities ── */
/* Thay bằng native gap trực tiếp trên các element dùng d-flex */
.badges-wrap { gap: .5rem; }

/* ── CTA action button group ── */
.branch-cta-actions {
  display: flex; flex-wrap: wrap;
  gap: 1.1rem; justify-content: center; align-items: center;
}
@media (max-width: 575.98px) {
  .branch-cta-actions { flex-direction: column; gap: 1.5rem; }
  .branch-cta-actions .btn-cta-white,
  .branch-cta-actions .btn-cta-phone {
    width: 100%; max-width: 300px; justify-content: center;
  }
  .branch-cta-actions .btn-cta-phone { border-color: rgba(255,255,255,.7); }
}

/* ── About section buttons ── */
.branch-about-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Mid-page CTA Banner */
.branch-cta-banner {
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
}
.branch-cta-banner h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  margin-bottom: .5rem;
  color: #fff;
}
.branch-cta-banner p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  margin-bottom: 1.25rem;
}
.branch-cta-banner .btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2rem;
  background: #fff;
  color: #111;
  font-weight: 800;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 1rem;
  transition: background .15s, transform .15s;
}
.branch-cta-banner .btn-cta-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}
.branch-cta-banner .btn-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  font-size: .95rem;
  transition: border-color .15s;
}
.branch-cta-banner .btn-cta-phone:hover { border-color: #fff; }

/* Sticky mobile booking button */
.branch-float-cta {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1040;
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .branch-float-cta { display: block; }
  /* Push content above sticky bar */
  body { padding-bottom: 72px; }
}
.branch-float-cta a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  background: #111;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: background .15s, transform .1s;
}
.branch-float-cta a:active { transform: scale(.97); }

/* Section divider with label */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0 2rem;
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}
.section-divider span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9ca3af;
  white-space: nowrap;
}

/* ================================================================
   BRANCH LANDING PAGE v2 — Full redesign system
   ================================================================ */

/* ── Hero wrap: slider becomes cinematic hero ── */
.branch-hero-wrap { position: relative; }
.branch-hero-wrap #CN-slider { border-radius: 0; }
.branch-hero-wrap #CN-slider::before { padding-top: 50%; }
@media (max-width: 991.98px) { .branch-hero-wrap #CN-slider::before { padding-top: 65%; } }
@media (max-width: 575.98px)  { .branch-hero-wrap #CN-slider::before { padding-top: 75%; } }

/* Gradient overlay sits above images, below arrows (z:2) */
.branch-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.08) 0%,
    rgba(0,0,0,.40) 45%,
    rgba(0,0,0,.80) 100%
  );
  display: flex; align-items: flex-end;
  padding: clamp(1.25rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem); /* clear dots */
  z-index: 1;
  pointer-events: none; /* let clicks pass through to arrows/dots */
}
/* Re-enable pointer events only on interactive children */
.branch-hero-overlay a,
.branch-hero-overlay button,
.branch-hero-overlay nav { pointer-events: auto; }

.branch-hero-content { max-width: 700px; color: #fff; }

.branch-hero-sub {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
  margin-bottom: .5rem; display: block;
}
.branch-hero-title {
  font-size: clamp(1.55rem, 4vw, 2.8rem); font-weight: 900;
  line-height: 1.15; margin-bottom: .65rem; color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.branch-hero-title span {
  display: block; font-size: .6em; font-weight: 700;
  color: rgba(255,255,255,.82); margin-top: .15em;
}
.branch-hero-desc {
  font-size: clamp(.82rem, 1.6vw, .97rem);
  color: rgba(255,255,255,.82); margin-bottom: 1.1rem;
  line-height: 1.6; max-width: 560px; display: block;
}
.branch-hero-cta {
  display: flex; flex-wrap: wrap; gap: .65rem; align-items: center;
}
.hero-btn-book {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .72rem 1.6rem; background: #fff; color: #111;
  font-weight: 800; font-size: .92rem; border-radius: 9999px;
  text-decoration: none; transition: background .15s, transform .12s;
  white-space: nowrap;
}
.hero-btn-book:hover { background: #f0f0f0; color: #111; transform: translateY(-2px); }
.hero-btn-call {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .72rem 1.4rem; border: 2px solid rgba(255,255,255,.55);
  color: #fff; font-weight: 700; font-size: .88rem;
  border-radius: 9999px; text-decoration: none;
  transition: border-color .15s, background .15s; white-space: nowrap;
}
.hero-btn-call:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }

/* Hero nav: pills on dark bg */
.branch-hero-nav { margin-top: .9rem; }
.branch-hero-nav a {
  background: rgba(255,255,255,.14); color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px);
}
.branch-hero-nav a:hover,
.branch-hero-nav a.active { background: rgba(255,255,255,.28); color: #fff; border-color: rgba(255,255,255,.5); }

/* ── Mobile/tablet/lg hero: strip to essentials, move nav out ── */
/* Below xl (0-1199px): hide desc+nav from overlay, quick-nav handles it */
@media (max-width: 1199.98px) {
  .branch-hero-desc { display: none; }
  .branch-hero-nav  { display: none; }   /* quick-nav strip takes over */
}
/* Mobile (0-767): also compact title + buttons */
@media (max-width: 767.98px) {
  .branch-hero-wrap #CN-slider::before { padding-top: 72%; }
  .branch-hero-overlay { padding: .9rem .9rem 2.75rem; }
  .branch-hero-sub { font-size: .68rem; margin-bottom: .3rem; }
  .branch-hero-title { font-size: clamp(1.1rem, 5.5vw, 1.45rem); margin-bottom: .5rem; }
  .branch-hero-title span { font-size: .72em; }
  .hero-btn-book, .hero-btn-call { padding: .55rem 1rem; font-size: .8rem; gap: .35rem; }
  .branch-hero-cta { gap: .45rem; }
}
@media (max-width: 399.98px) {
  .branch-hero-title { font-size: clamp(1rem, 5vw, 1.2rem); }
  .hero-btn-book, .hero-btn-call { padding: .5rem .85rem; font-size: .76rem; }
}

/* ── Quick nav strip (replaces hero nav on mobile) ── */
.branch-quick-nav {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: sticky;
  top: 0;
  z-index: 100;
}
.branch-quick-nav::-webkit-scrollbar { display: none; }
.branch-quick-nav-inner {
  display: flex;
  white-space: nowrap;
  padding: 0;
  min-width: max-content;
}
.branch-quick-nav a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .7rem .95rem; font-size: .78rem; font-weight: 600;
  color: #444; text-decoration: none;
  border-right: 1px solid #f0f0f0; flex-shrink: 0;
  transition: background .15s, color .15s;
}
.branch-quick-nav a:hover,
.branch-quick-nav a.active { background: #f8f9fa; color: #111; }
.branch-quick-nav i { font-size: .85em; }

/* ── Info strip: dark band below hero ── */
.branch-info-strip { background: #111; color: rgba(255,255,255,.82); padding: .9rem 0; }
.branch-info-strip-inner {
  display: flex; flex-wrap: wrap; gap: .4rem 1.75rem;
  align-items: center; justify-content: center;
}
.branch-info-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .84rem; white-space: nowrap;
}
.branch-info-item i { font-size: .9rem; color: rgba(255,255,255,.5); flex-shrink: 0; }
.branch-info-item a { color: #fff; text-decoration: none; font-weight: 600; }
.branch-info-item a:hover { text-decoration: underline; }
@media (max-width: 575.98px) {
  .branch-info-strip-inner { gap: .35rem 1.1rem; }
  .branch-info-item { font-size: .78rem; }
}

/* ── Trust / Stats bar ── */
.branch-trust-bar {
  background: #f8f9fa; padding: 1.25rem 0;
  border-bottom: 1px solid #e9ecef;
}
.branch-trust-bar-inner {
  display: flex; flex-wrap: wrap; gap: 0;
  align-items: stretch; justify-content: center;
}
.trust-stat {
  text-align: center; padding: .6rem 1.5rem;
  border-right: 1px solid #dee2e6;
}
.trust-stat:last-child { border-right: 0; }
.trust-stat-num {
  display: block; font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 900; line-height: 1; color: #111; margin-bottom: .15rem;
}
.trust-stat-label {
  font-size: .72rem; color: #6c757d;
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
@media (max-width: 575.98px) {
  .trust-stat { padding: .5rem .9rem; }
  .trust-stat-num { font-size: 1.2rem; }
  .trust-stat-label { font-size: .65rem; }
}

/* ── Section system ── */
.branch-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.branch-section--grey { background: #f8f9fa; }
.branch-section--dark { background: #111; color: #fff; }

.branch-section-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #6c757d; margin-bottom: .6rem;
}
.branch-section--dark .branch-section-eyebrow { color: rgba(255,255,255,.45); }

.branch-section-heading {
  font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800;
  line-height: 1.25; margin-bottom: .6rem; letter-spacing: -.015em;
}
.branch-section--dark .branch-section-heading { color: #fff; }

.branch-section-lead {
  font-size: clamp(.88rem, 1.8vw, 1rem); color: #6c757d;
  max-width: 620px; margin: 0 auto 2.25rem; line-height: 1.65;
}
.branch-section--dark .branch-section-lead { color: rgba(255,255,255,.6); }

/* ── Feature grid (why choose us) ── */
.branch-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.branch-feature-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; background: #fff; border-radius: 12px;
  padding: 1.35rem .9rem; box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}
.branch-feature-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.09); }
.branch-feature-item i { font-size: 1.6rem; margin-bottom: .65rem; color: #212529; }
.branch-feature-item strong { font-size: .88rem; font-weight: 700; margin-bottom: .3rem; display: block; }
.branch-feature-item p { font-size: .8rem; color: #6c757d; margin: 0; line-height: 1.5; }

/* ── Map frame ── */
.branch-map-frame { width: 100%; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.branch-map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 767.98px) { .branch-map-frame { aspect-ratio: 16/9; } }

/* ── Service cards ── */
.branch-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}
.branch-service-card {
  background: #fff; border-radius: 12px; padding: 1.35rem 1.25rem;
  display: flex; flex-direction: column; gap: .45rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}
.branch-service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.09); }
.branch-service-card i { font-size: 1.4rem; color: #212529; }
.branch-service-card strong { font-size: .92rem; font-weight: 700; }
.branch-service-card p { font-size: .81rem; color: #6c757d; margin: 0; line-height: 1.5; }

/* ── Gallery grid ── */
.branch-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: .4rem;
}
.gallery-item { overflow: hidden; }
/* !important overrides blade template's .branch-lp-article img { height: auto } */
.gallery-item img {
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block;
  transition: transform .45s ease; -webkit-user-drag: none;
}
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 767.98px) {
  .branch-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 399.98px) { .branch-gallery-grid { grid-auto-rows: 135px; } }

/* ── Process steps ── */
.branch-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem 1rem;
}
.branch-process-item { text-align: center; padding: 0 .5rem; }
.branch-process-num {
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  font-size: 1.1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .75rem; border: 2px solid rgba(255,255,255,.25);
}
.branch-section--dark .branch-process-num { background: rgba(255,255,255,.12); color: #fff; }
.branch-process-item strong { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .3rem; color: #fff; }
.branch-process-item p { font-size: .79rem; color: rgba(255,255,255,.6); margin: 0; line-height: 1.5; }

/* ── Pricing callout card ── */
.branch-price-card {
  background: #f8f9fa; border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid #e9ecef;
}
.branch-price-card-link {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.25rem; background: #fff; border-radius: 10px;
  border: 1px solid #e9ecef; text-decoration: none; color: #111;
  font-weight: 700; font-size: .95rem;
  transition: box-shadow .2s, transform .2s;
}
.branch-price-card-link:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px); color: #111;
}
.branch-price-card-link i { font-size: 1.2rem; flex-shrink: 0; }
.branch-price-badge {
  margin-left: auto; font-size: .72rem; font-weight: 700;
  background: #198754; color: #fff;
  padding: .25rem .6rem; border-radius: 9999px; white-space: nowrap;
}

/* ── Reveal scroll animations ── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Branch landing page layout ─────────────────────────────── */
.branch-lp-wrapper { padding-bottom: 3rem; }
.branch-lp-header  { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.branch-lp-related { padding-bottom: 2rem; }

/* ── H1 */
.branch-page-h1 {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}

/* ── Info bar */
.branch-infobar { font-size: .82rem; }

/* ── Lead text */
.branch-lead-text { font-size: .95rem; max-width: 640px; margin: 0 auto 1.5rem; }

/* ── CTA bar */
.branch-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-top: .25rem;
  margin-bottom: .5rem;
}
.branch-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-width: 148px;
  padding: .6rem 1.4rem;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.branch-cta-btn i { font-size: .95rem; flex-shrink: 0; }
/* Mobile: stack full-width */
@media (max-width: 479.98px) {
  .branch-cta-wrap { flex-direction: column; align-items: stretch; }
  .branch-cta-btn  { min-width: unset; width: 100%; }
}

/* ── CKEditor article full width
   overflow-x: clip (not hidden) preserves position:sticky in child elements */
.branch-lp-article { width: 100%; max-width: 100%; overflow-x: clip; }
.branch-lp-article img    { max-width: 100%; height: auto; }
.branch-lp-article table  { width: 100%; }
.branch-lp-article iframe { max-width: 100%; }

/* ── Nav active state */
.branch-nav a.active,
.branch-nav a[aria-current="true"] {
  background: #111;
  color: #fff;
  border-color: #111;
}
