:root{
  --orange:#f28c1b;
  --orange2:#ffb14a;

  --text:#0f172a;
  --muted:#475569;

  --bg:#ffffff;
  --soft:#fff7ed;
  --card:#ffffff;

  --border: rgba(2,6,23,.10);
  --shadow: 0 18px 45px rgba(2,6,23,.10);

  --r:18px;
  --max:1420px;
}

*{box-sizing:border-box}
html,body{margin:0}
a{color:inherit;text-decoration:none}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 80% 0%, rgba(242,140,27,.16), transparent 58%),
    radial-gradient(700px 520px at 10% 20%, rgba(255,177,74,.10), transparent 55%),
    linear-gradient(180deg, #fff 0%, #fff7ed 55%, #fff 100%);
  line-height:1.55;
}

.container{max-width:var(--max); margin:0 auto; padding:0 18px; max-width:1360px;}

/* ---------- Topbar ---------- */
.topbar{
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.topbar__wrap{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 0;
  flex-wrap:wrap;
}
.topbar__left, .topbar__right{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.75);
}
.chip--link:hover{border-color: rgba(242,140,27,.45)}

/* ---------- Header ---------- */
.header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.header__wrap{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:14px 0;
}
.brand{display:flex; gap:12px; align-items:center; min-width:240px}
.brand__mark{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:14px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color:#1b1105;
  box-shadow: 0 18px 55px rgba(242,140,27,.22);
  font-weight:1000;
}
.brand__name{font-weight:1000; letter-spacing:-.02em}
.brand__name span{color: var(--orange)}
.brand__tag{font-size:12px; color:var(--muted); letter-spacing:.08em}

.nav{display:flex; gap:18px; align-items:center}
.nav a{font-weight:900; color:var(--text); opacity:.88}
.nav a:hover{opacity:1; color:var(--orange)}

.header__actions{display:flex; gap:10px; align-items:center; min-width:240px; justify-content:flex-end}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  font-weight:1000;
  border:1px solid rgba(2,6,23,.12);
  background: rgba(255,255,255,.85);
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease, border-color .12s ease;
  box-shadow: 0 14px 30px rgba(2,6,23,.08), 0 1px 0 rgba(255,255,255,.9) inset;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(2,6,23,.22)}
.btn--primary{
  border-color: transparent;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  color:#1b1105;
  box-shadow: 0 16px 40px rgba(242,140,27,.18);
  position: relative;
}
.btn--primary::after{
  content:"";
  position:absolute; inset:0;
  border-radius:14px;
  background: linear-gradient(180deg, rgba(255,255,255,.35), transparent 60%);
  pointer-events:none;
}
.btn--ghost{background: rgba(255,255,255,.78)}
.btn--full{width:100%}
.btn--sm{padding:8px 12px; border-radius:12px; font-size:13px}

/* ---------- Hero (IDEA STYLE) ---------- */
.hero2{
  position: relative;
  min-height: 560px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

/* Background: bạn có thể thay bằng ảnh hero riêng (assets/hero-bg.jpg) nếu muốn */
.hero2__bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 20% 20%, rgba(255,255,255,.22), transparent 58%),
    radial-gradient(700px 420px at 80% 20%, rgba(255,177,74,.18), transparent 60%),
    linear-gradient(180deg, rgba(242,140,27,.18), rgba(255,255,255,.25)),
    url("assets/storefront.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}

/* Overlay mờ để text nổi */
.hero2::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(2,6,23,.12) 0%, rgba(2,6,23,.10) 45%, rgba(2,6,23,.18) 100%),
    radial-gradient(900px 520px at 50% 20%, rgba(242,140,27,.24), transparent 60%);
  pointer-events:none;
}

.hero2__inner{
  position: relative;
  z-index: 2;
  text-align:center;
  padding: 36px 0 80px;
}

.badge{
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.75);
  border:1px solid rgba(255,255,255,.55);
  color:#1f2937;
  font-weight:1000;
  font-size:13px;
  backdrop-filter: blur(10px);
}

.hero2__title{
  margin:14px 0 6px;
  font-size: clamp(44px, 6vw, 78px);
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 18px 50px rgba(2,6,23,.35);
  font-weight: 1000;
}
.accent{color: var(--orange)}
.hero2__sub{
  color: rgba(255,255,255,.92);
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.hero2__sub span{
  display:inline-block;
  margin-top: 6px;
  letter-spacing: .14em;
  font-size: 12px;
  opacity: .95;
}

.hero2__cta{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin: 12px 0 18px;
}

/* Machines center card */
.hero2__machines{
  position: relative;
  width: min(860px, 92vw);
  margin: 0 auto;
  border-radius: 26px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  box-shadow:
    0 40px 120px rgba(2,6,23,.35),
    0 1px 0 rgba(255,255,255,.25) inset;
}
.hero2__machines img{
  width:100%;
  height: 240px;
  object-fit: cover;
  display:block;
  filter: contrast(1.04) saturate(1.05);
}
.machines__glow{
  position:absolute;
  inset:-120px -120px auto -120px;
  height: 260px;
  background: radial-gradient(circle at 50% 50%, rgba(242,140,27,.35), transparent 60%);
  filter: blur(10px);
  pointer-events:none;
}

/* Pills */
.hero2__chips{
  margin-top: 14px;
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}
.pill{
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  font-weight: 1000;
  font-size: 13px;
  box-shadow: 0 16px 30px rgba(2,6,23,.10);
}

/* Bubbles */
.bubbles{position:absolute; inset:0; z-index:1; pointer-events:none;}
.bubble{
  position:absolute;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.65), rgba(255,255,255,.10));
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: inset 0 0 18px rgba(255,255,255,.25);
  opacity: .75;
  animation: floaty 9s ease-in-out infinite;
}
.b1{width:140px; height:140px; left:10%; top:20%; animation-duration: 10s}
.b2{width:86px; height:86px; left:22%; top:52%; animation-duration: 8s}
.b3{width:110px; height:110px; right:18%; top:24%; animation-duration: 11s}
.b4{width:70px; height:70px; right:10%; top:58%; animation-duration: 9s}
.b5{width:52px; height:52px; left:48%; top:30%; animation-duration: 7s}
.b6{width:95px; height:95px; left:62%; top:56%; animation-duration: 12s}

@keyframes floaty{
  0%,100%{transform: translateY(0) translateX(0) scale(1);}
  50%{transform: translateY(-18px) translateX(10px) scale(1.02);}
}

/* Clouds (mây) */
.cloud{line-height:0; margin-top: 0;}
.cloud svg{width:100%; height:100%; display:block;}
.cloud--idea{position:absolute; left:0; right:0; bottom:-2px; height:130px; z-index:3;}
.cloud--idea path{fill: rgba(255,255,255,.98);}

/* ---------- Sections ---------- */
.section{position: relative; padding: 22px 0 0;}
.section--soft{background: linear-gradient(180deg, rgba(255,247,237,.85), rgba(255,255,255,.75));}

.section__head{padding: 10px 0 12px;}
.section__head h2{
  margin:0;
  font-size:26px;
  letter-spacing:-.01em;
  position: relative;
  padding-left: 12px;
}
.section__head h2::before{
  content:"";
  position:absolute; left:0; top:50%;
  transform: translateY(-50%);
  width:6px; height:22px;
  border-radius:6px;
  background: linear-gradient(180deg, var(--orange), var(--orange2));
}
.section__head p{margin:6px 0 0; color:var(--muted); max-width: 75ch; font-size:14px}

.section__head--row{
  display:flex; justify-content:space-between; gap:16px; align-items:flex-end;
}

/* cards */
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  padding-bottom: 10px;
}
.card{
  background: rgba(255,255,255,.92);
  border:1px solid rgba(2,6,23,.10);
  border-radius: var(--r);
  padding:16px;
  box-shadow: var(--shadow);
  transition: transform .14s ease;
}
.card:hover{transform: translateY(-2px)}
.icon{
  width:44px; height:44px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(242,140,27,.12);
  border:1px solid rgba(242,140,27,.20);
  color:#8a3b00;
  font-size:20px;
}
.card h3{margin:10px 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:14px}

/* steps */
.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  padding-bottom: 12px;
}
.step{
  background: rgba(255,255,255,.92);
  border:1px solid rgba(2,6,23,.10);
  border-radius: var(--r);
  padding:16px;
  box-shadow: var(--shadow);
  transition: transform .14s ease;
}
.step:hover{transform: translateY(-2px)}
.step__n{
  width:38px; height:38px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: linear-gradient(180deg, rgba(242,140,27,.18), rgba(242,140,27,.10));
  border:1px solid rgba(242,140,27,.22);
  font-weight:1000;
  color:#8a3b00;
}
.step h3{margin:10px 0 6px; font-size:15px}
.step p{margin:0; color:var(--muted); font-size:13px}

/* pricing */
.pricing{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
  padding-bottom: 12px;
}
.price-table{
  border-radius: var(--r);
  overflow:hidden;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.price-row{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid rgba(2,6,23,.08);
  font-size:14px;
}
.price-row:last-child{border-bottom:none}
.price-row--head{font-weight:1000; background: rgba(255,255,255,.95)}
.price{font-weight:1000; color: var(--orange)}

.promo{
  border-radius: var(--r);
  background:
    radial-gradient(700px 380px at 70% 0%, rgba(242,140,27,.18), transparent 60%),
    rgba(255,255,255,.92);
  border:1px solid rgba(242,140,27,.22);
  box-shadow: var(--shadow);
  padding:16px;
}
.promo__tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(242,140,27,.14);
  border:1px solid rgba(242,140,27,.20);
  font-weight:1000;
  color:#8a3b00;
  font-size:12px;
}
.promo h3{margin:10px 0 6px; font-size:16px}
.promo p{margin:0 0 12px; color:var(--muted); font-size:14px}

.row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.field{display:flex; flex-direction:column; gap:6px; margin-bottom:12px}
.field label{font-size:13px; font-weight:1000}
.field input, .field select{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(2,6,23,.12);
  background: rgba(255,255,255,.95);
  outline:none;
}
.field input:focus, .field select:focus{
  border-color: rgba(242,140,27,.55);
  box-shadow: 0 0 0 4px rgba(242,140,27,.14);
}

/* clouds reused */
.cloud{height: 92px; line-height:0; margin-top: 14px;}
.cloud svg{width:100%; height:100%; display:block;}
.cloud path{fill: var(--soft);}
.cloud--down{transform: translateY(1px);}
.cloud--white  path{fill: rgba(255,255,255,.95);}
.cloud--soft   path{fill: rgba(255,247,237,.95);}

/* branches */
.current{
  display:flex; gap:10px; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.current__label{color:var(--muted); font-weight:900; font-size:13px}
.current__name{font-weight:1000; font-size:13px}

.branch-banner{
  position: relative;
  border-radius: calc(var(--r) + 8px);
  overflow: hidden;
  border: 1px solid rgba(2,6,23,.10);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.92);
}
.branch-banner__img{
  width: 100%;
  height: 520px;
  object-fit: cover;
  display:block;
  filter: contrast(1.02) saturate(1.06);
}
.branch-banner::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.22) 58%, rgba(0,0,0,.52) 100%);
  pointer-events:none;
}
.branch-banner__overlay{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  z-index:2;
}
.branch-card{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  color: var(--text);
  text-align:left;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease;
  box-shadow: 0 18px 40px rgba(2,6,23,.16), 0 1px 0 rgba(255,255,255,.75) inset;
}
.branch-card:hover{transform: translateY(-2px); border-color: rgba(255,255,255,.78);}
.branch-card.is-active{
  border-color: rgba(242,140,27,.75);
  box-shadow: 0 18px 45px rgba(242,140,27,.22), 0 1px 0 rgba(255,255,255,.85) inset;
}
.branch-card__title{font-weight:1000}
.branch-card__sub{margin-top:4px; color:var(--muted); font-size:12.5px; font-weight:900}

.hint{margin:12px 0 8px; color:var(--muted); font-size:13px}

/* quotes */
.quotes{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  padding-bottom: 14px;
}
.quote{
  background: rgba(255,255,255,.92);
  border:1px solid rgba(2,6,23,.10);
  border-radius: var(--r);
  padding:16px;
  box-shadow: var(--shadow);
  transition: transform .14s ease;
}
.quote:hover{transform: translateY(-2px)}
.stars{color:#f59e0b; font-weight:1000; letter-spacing:.12em}
.quote p{margin:10px 0 0}
.who{margin-top:10px; color:var(--muted); font-weight:1000; font-size:13px}

/* CTA */
.cta{position: relative; padding: 18px 0 0;}
.cta__box{
  border-radius: calc(var(--r) + 10px);
  border:1px solid rgba(2,6,23,.10);
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(242,140,27,.18), transparent 62%),
    radial-gradient(700px 420px at 90% 0%, rgba(255,177,74,.12), transparent 60%),
    rgba(255,255,255,.92);
  box-shadow: 0 26px 70px rgba(2,6,23,.10);
  padding:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.cta__box h2{margin:0; font-size:22px}
.cta__box p{margin:6px 0 0; color:var(--muted)}
.cta__actions{display:flex; gap:10px; flex-wrap:wrap}

/* Footer */
.footer{
  border-top:1px solid rgba(2,6,23,.10);
  padding:18px 0 28px;
  color:var(--muted);
  font-size:13px;
  background: rgba(255,255,255,.92);
}
.footer__wrap{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
.footer a:hover{color: var(--orange)}

/* Modal */
.modal{position: fixed; inset:0; display:none; z-index:999;}
.modal.is-open{display:block}
.modal__backdrop{position:absolute; inset:0; background: rgba(2,6,23,.55); backdrop-filter: blur(4px);}
.modal__dialog{
  position:relative;
  max-width: 980px;
  margin: 26px auto;
  border-radius: 18px;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 90px rgba(2,6,23,.25);
  overflow:hidden;
}
.modal__head{
  display:flex; justify-content:space-between; gap:10px; align-items:flex-start;
  padding:16px;
  border-bottom:1px solid rgba(2,6,23,.10);
  background:
    radial-gradient(900px 260px at 70% 0%, rgba(242,140,27,.22), transparent 60%),
    rgba(255,255,255,.96);
}
.modal__kicker{color: rgba(2,6,23,.55); font-size:12px; font-weight:1000; letter-spacing:.12em; text-transform:uppercase;}
.modal__title{margin:6px 0 0; font-size:18px; letter-spacing:-.01em;}
.modal__close{
  width:40px; height:40px;
  border-radius:12px;
  border:1px solid rgba(2,6,23,.12);
  background: rgba(255,255,255,.90);
  cursor:pointer;
}
.modal__body{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:14px;
  padding:14px;
}
.modal__photo{
  grid-column: 1 / -1;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(2,6,23,.10);
  box-shadow: var(--shadow);
}
.modal__photo img{width:100%; height:220px; object-fit:cover; display:block;}

.modal__info{
  border:1px solid rgba(2,6,23,.10);
  border-radius:16px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  padding:14px;
}
.info-row{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:10px;
  padding:10px 0;
  border-bottom:1px dashed rgba(2,6,23,.12);
}
.info-row:last-child{border-bottom:none}
.info-label{color: rgba(2,6,23,.55); font-weight:1000; font-size:13px}
.info-value{font-weight:1000}
.info-value a:hover{color: var(--orange)}
.modal__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}

.modal__map{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  min-height: 380px;
}
.modal__map iframe{width:100%; height:100%; min-height:380px; border:0}

/* Responsive */
@media (max-width: 1100px){
  .cards{grid-template-columns: repeat(2, 1fr);}
  .quotes{grid-template-columns:1fr}
}
@media (max-width: 980px){
  .nav{display:none}
  .header__actions{min-width:auto}
  .brand{min-width:auto}

  .row{grid-template-columns:1fr}
  .steps{grid-template-columns: 1fr 1fr;}
  .pricing{grid-template-columns:1fr}
  .branch-banner__overlay{grid-template-columns: repeat(2, 1fr);}

  .hero2{min-height: 620px;}
  .hero2__machines img{height: 220px;}
}
@media (max-width: 520px){
  .steps{grid-template-columns:1fr}
  .branch-banner__overlay{grid-template-columns:1fr;}
  .hero2__machines img{height: 200px;}
}
/* ====== BRANCHES (layout theo sketch) ====== */
.branch-layout{
  display: grid;
  gap: 14px;
}

.branch-hero{
  position: relative;
  border-radius: calc(var(--r) + 10px);
  overflow: hidden;
  border: 1px solid rgba(2,6,23,.10);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.92);
}

.branch-hero__img{
  width:100%;
  height: 520px;
  object-fit: cover;
  display:block;
  filter: contrast(1.02) saturate(1.06);
}

.branch-hero__shade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.22) 58%, rgba(0,0,0,.55) 100%);
  pointer-events:none;
}

/* Tabs nằm ở nửa dưới của ảnh */
.branch-tabs{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  z-index: 2;
}

.branch-tab{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.60);
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(10px);
  text-align:left;
  cursor:pointer;
  box-shadow: 0 18px 40px rgba(2,6,23,.18), 0 1px 0 rgba(255,255,255,.75) inset;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.branch-tab:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.85);
}

.branch-tab.is-active{
  border-color: rgba(242,140,27,.80);
  box-shadow: 0 18px 45px rgba(242,140,27,.22), 0 1px 0 rgba(255,255,255,.85) inset;
}

.branch-tab__title{font-weight:1000}
.branch-tab__sub{margin-top:4px; color:var(--muted); font-size:12.5px; font-weight:900}

/* Khối nội dung dưới ảnh */
.branch-detail{
  border-radius: calc(var(--r) + 10px);
}

.branch-detail__grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 14px;
}

.branch-box{
  border-radius: calc(var(--r) + 2px);
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  padding: 16px;
}

.branch-box__head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 12px;
}
.branch-box__icon{
  width:42px; height:42px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(242,140,27,.12);
  border: 1px solid rgba(242,140,27,.20);
  color:#8a3b00;
  font-weight: 1000;
}
.branch-box h3{margin:0; font-size:16px}

.branch-kv{display:grid; gap:10px}
.kv{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(2,6,23,.12);
}
.kv:last-child{border-bottom:none}
.kv__k{color: rgba(2,6,23,.55); font-weight:1000; font-size:13px}
.kv__v{font-weight:1000}

.branch-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
}

.branch-list{
  margin: 0;
  padding-left: 18px;
  display:grid;
  gap: 8px;
  color: var(--text);
  font-weight: 900;
}
.branch-note{
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 900;
}

.branch-contact{display:grid; gap:10px}
.contact-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(2,6,23,.12);
}
.contact-row:last-child{border-bottom:none}
.contact-row__k{color: rgba(2,6,23,.55); font-weight:1000; font-size:13px}
.contact-row__v{font-weight:1000}
.contact-row__v:hover{color: var(--orange)}

.branch-mini-map{
  margin-top: 12px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(2,6,23,.12);
  min-height: 220px;
}
.branch-mini-map iframe{
  width:100%;
  height: 220px;
  border: 0;
}

/* Responsive */
@media (max-width: 980px){
  .branch-tabs{grid-template-columns: repeat(2, 1fr);}
  .branch-detail__grid{grid-template-columns: 1fr;}
}
@media (max-width: 520px){
  .branch-tabs{grid-template-columns: 1fr;}
  .branch-hero__img{height: 460px;}
}
/* ===== Branch layout theo sketch ===== */
.branch-sketch{
  display: grid;
  gap: 14px;
}

/* Row 1: tabs */
.branch-sketch__tabs{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.btab{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  font-weight: 1000;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.btab:hover{transform: translateY(-2px); border-color: rgba(242,140,27,.35);}
.btab.is-active{
  border-color: rgba(242,140,27,.75);
  box-shadow: 0 18px 45px rgba(242,140,27,.18), 0 1px 0 rgba(255,255,255,.85) inset;
}

/* Row 2: hero image */
.branch-sketch__hero{
  position: relative;
  border-radius: calc(var(--r) + 10px);
  overflow: hidden;
  border: 1px solid rgba(2,6,23,.10);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.92);
}
.branch-sketch__hero img{
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(1.06);
}
.branch-sketch__heroShade{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.50) 100%);
  pointer-events: none;
}
.branch-sketch__heroBadge{
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  font-weight: 1000;
  box-shadow: 0 18px 40px rgba(2,6,23,.16);
}
.branch-sketch__heroBadge .dot{
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(180deg, var(--orange), var(--orange2));
  box-shadow: 0 10px 20px rgba(242,140,27,.25);
}

/* Row 3: details */
.branch-sketch__detail{
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 14px;
}

.bcard{
  border-radius: calc(var(--r) + 2px);
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  padding: 16px;
}

.bcard__head{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.bicon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(242,140,27,.12);
  border: 1px solid rgba(242,140,27,.20);
  color: #8a3b00;
  font-weight: 1000;
}
.bcard h3{margin:0; font-size:16px}

/* key-values */
.kv{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(2,6,23,.12);
}
.kv:last-child{border-bottom:none}
.kv__k{color: rgba(2,6,23,.55); font-weight:1000; font-size:13px}
.kv__v{font-weight:1000}

.bactions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* services list */
.blist{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-weight: 900;
}
.bnote{
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 900;
}

/* contact + map */
.bcontact{display:grid; gap:10px}
.crow{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(2,6,23,.12);
}
.crow:last-child{border-bottom:none}
.crow__k{color: rgba(2,6,23,.55); font-weight:1000; font-size:13px}
.crow__v{font-weight:1000}
.crow__v:hover{color: var(--orange)}

.bmap{
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(2,6,23,.12);
  min-height: 220px;
}
.bmap iframe{width:100%; height:220px; border:0}

/* responsive */
@media (max-width: 980px){
  .branch-sketch__tabs{grid-template-columns: repeat(2, 1fr);}
  .branch-sketch__detail{grid-template-columns: 1fr;}
}
@media (max-width: 520px){
  .branch-sketch__tabs{grid-template-columns: 1fr;}
  .branch-sketch__hero img{height: 460px;}
}
/* ===== Branch: tất cả bọc trong ảnh ===== */
.branch-wrap{
  position: relative;
  border-radius: calc(var(--r) + 12px);
  overflow: hidden;
  border: 1px solid rgba(2,6,23,.10);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.92);
  min-height: 720px;
}

.branch-wrap__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: contrast(1.02) saturate(1.06);
  transform: scale(1.01);
}

.branch-wrap__shade{
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.25) 0%,
      rgba(0,0,0,.45) 45%,
      rgba(0,0,0,.65) 100%
    );
}

.branch-wrap__content{
  position: relative;
  z-index: 2;
  padding: 14px;
  display: grid;
  gap: 12px;
  
}

/* Tabs row (trên ảnh) */
.branch-tabs2{
  display:grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
  max-width:100%;
  align-self:flex-start;
}

.btab2{
  display:flex;
  align-items:center;
  gap:14px;

  padding:14px 16px;
  border-radius:18px;

  min-height:86px;

  background: rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(12px);

  box-shadow:
    0 18px 40px rgba(2,6,23,.18),
    0 1px 0 rgba(255,255,255,.75) inset;

  text-align:left;
  cursor:pointer;
  transition:.18s ease;
}
.btab2:hover{transform: translateY(-2px); border-color: rgba(255,255,255,.85);}
.btab2.is-active{
  border-color: rgba(242,140,27,.80);
  box-shadow: 0 18px 45px rgba(242,140,27,.22), 0 1px 0 rgba(255,255,255,.85) inset;
}

/* Panels row (trong ảnh) */
.branch-panels{
  display:grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.panel{
  border-radius: calc(var(--r) + 2px);
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 60px rgba(2,6,23,.18), 0 1px 0 rgba(255,255,255,.70) inset;
  padding: 16px;
}

.panel__head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 12px;
}
.panel__icon{
  width:42px; height:42px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(242,140,27,.14);
  border: 1px solid rgba(242,140,27,.20);
  color:#8a3b00;
  font-weight:1000;
}
.panel h3{margin:0; font-size:16px}

.kv2{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(2,6,23,.14);
}
.kv2:last-child{border-bottom:none}
.kv2__k{color: rgba(2,6,23,.55); font-weight:1000; font-size:13px}
.kv2__v{font-weight:1000}

.panel__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
}

.panel__list{
  margin:0;
  padding-left: 18px;
  display:grid;
  gap: 8px;
  font-weight: 900;
}
.panel__note{
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 900;
}

.panel__contact{display:grid; gap:10px}
.crow2{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(2,6,23,.14);
}
.crow2:last-child{border-bottom:none}
.crow2__k{color: rgba(2,6,23,.55); font-weight:1000; font-size:13px}
.crow2__v{font-weight:1000}
.crow2__v:hover{color: var(--orange)}

.panel__map{
  margin-top: 12px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(2,6,23,.12);
  min-height: 220px;
}
.panel__map iframe{width:100%; height:220px; border:0}

/* Responsive */
@media (max-width: 980px){
  .branch-tabs2{grid-template-columns: repeat(2, 1fr);}
  .branch-panels{grid-template-columns: 1fr;}
  .branch-wrap{min-height: 980px;}
}
@media (max-width: 520px){
  .branch-tabs2{grid-template-columns: 1fr;}
}
.branch-tabs2 a{
  text-decoration:none;
  color:inherit;
}

.branch-tabs2 a::after{
  content:"→";
  float:right;
  opacity:.4;
  font-weight:900;
}
.branch-tabs2 a:hover::after{
  opacity:1;
  color: var(--orange);
}
/* ===== Branch sliding panel inside image ===== */
.branch-panel{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:0;
  overflow:hidden;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-top-left-radius:24px;
  border-top-right-radius:24px;
  box-shadow: 0 -30px 80px rgba(2,6,23,.25);
  transition: height .45s cubic-bezier(.4,0,.2,1);
  z-index:4;
}

.branch-panel.is-open{
  height:58%;
}

.branch-panel__drag{
  width:46px;
  height:4px;
  border-radius:999px;
  background:rgba(0,0,0,.25);
  margin:10px auto 6px;
}

.branch-panel__grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:14px;
  padding:12px 16px 16px;
  height:100%;
}

.branch-panel__info h3{
  margin:0;
  font-size:20px;
}
.branch-panel__info p{
  color:rgba(0,0,0,.65);
  font-weight:600;
}

.branch-panel__info ul{
  margin:10px 0;
  padding-left:18px;
  display:grid;
  gap:6px;
  font-weight:700;
}

.bp-contact{
  margin-top:10px;
  font-weight:700;
}

.branch-panel__gallery img{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:var(--shadow);
}

.branch-panel__map iframe{
  width:100%;
  height:160px;
  border-radius:14px;
  border:0;
  box-shadow:var(--shadow);
}

/* mobile */
@media(max-width:900px){
  .branch-panel.is-open{height:72%;}
  .branch-panel__grid{
    grid-template-columns:1fr;
  }
  .branch-panel__gallery img{
    height:120px;
  }
}
.branch-wrap{
  position:relative;
}

.branch-detail-wrap{
  margin-top:12px;
}

.branch-detail{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap:22px;

  background:
    linear-gradient(180deg,
      rgba(255,255,255,.85),
      rgba(255,250,245,.82)
    );

  border-radius:26px;
  padding:20px 22px;
  backdrop-filter: blur(14px);

  box-shadow:
    0 24px 50px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,255,255,.6) inset;
}

.branch-detail__left h3{
  margin:0;
  font-size:22px;
  font-weight:900;
}

.bd-meta{
  margin:10px 0;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(242,140,27,.08);
  font-weight:700;
}

.bd-gallery img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:16px;
}

.bd-thumbs{
  display:flex;
  gap:8px;
  margin-top:8px;
}
.bd-thumbs img{
  width:54px;
  height:54px;
  border-radius:10px;
  object-fit:cover;
  cursor:pointer;
  opacity:.6;
}
.bd-thumbs img.active{
  opacity:1;
  border:2px solid var(--orange);
}

.bd-map iframe{
  width:100%;
  height:200px;
  border-radius:16px;
  border:0;
}

@media(max-width:900px){
  .branch-detail{
    grid-template-columns:1fr;
  }
}
.branch-detail__left{
  position:relative;
}

.branch-detail__left::before{
  content:"";
  position:absolute;
  left:-12px;
  top:6px;
  bottom:6px;
  width:4px;
  border-radius:4px;
  background:linear-gradient(
    180deg,
    var(--orange),
    #ffb26a
  );
}

.branch-detail__left h3{
  font-size:22px;
  font-weight:900;
  margin-bottom:6px;
}

.bd-meta{
  background:
    linear-gradient(180deg,
      rgba(242,140,27,.12),
      rgba(242,140,27,.06)
    );
}
.branch-detail__right{
  display:grid;
  grid-template-rows:auto auto;
  gap:14px;
}

/* gallery nổi hơn */
.bd-gallery{
  background:#fff;
  border-radius:20px;
  padding:10px;
  box-shadow:0 18px 40px rgba(0,0,0,.16);
}

/* map nhẹ hơn */
.bd-map{
  background:rgba(255,255,255,.88);
  border-radius:18px;
  padding:8px;
  box-shadow:0 10px 26px rgba(0,0,0,.12);
}

.bd-map iframe{
  height:160px;
}

/* ===== Services (Landing style) ===== */
.bd-section-title{
  margin:16px 0 10px;
  font-weight:900;
  font-size:15px;
  position:relative;
  padding-left:12px;
}

.bd-section-title::before{
  content:"";
  position:absolute;
  left:0; top:50%;
  transform:translateY(-50%);
  width:4px; height:18px;
  border-radius:4px;
  background:linear-gradient(180deg,var(--orange),var(--orange2));
}

.bd-services{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}

.service-card{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px;
  border-radius:14px;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.95),
      rgba(255,255,255,.88)
    );
  border:1px solid rgba(2,6,23,.10);
  box-shadow: 0 14px 30px rgba(2,6,23,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(242,140,27,.18);
}

.service-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:20px;
  background:linear-gradient(180deg,
    rgba(242,140,27,.22),
    rgba(242,140,27,.12)
  );
  border:1px solid rgba(242,140,27,.25);
}

.service-title{
  font-weight:900;
  font-size:14px;
}

.service-desc{
  font-size:12.5px;
  color:var(--muted);
  margin-top:2px;
  font-weight:700;
}

@media(max-width:900px){
  .bd-services{
    grid-template-columns:1fr;
  }
}
/* ===== Branch tab with thumbnail (idea style) ===== */
.btab2{
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left;
  min-height:96px;
  padding:16px 18px;
}

.btab2__thumb{
  width:72px;
  height:72px;
  border-radius:14px;
  overflow:hidden;
  flex-shrink:0;
  border:1px solid rgba(0,0,0,.08);
}

.btab2__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.btab2__text{
  display:flex;
  flex-direction:column;
}

.btab2__title{
  font-weight:900;
  font-size:15px;
  line-height:1.2;
}

.btab2__sub{
  font-size:13px;
  color:var(--muted);
  font-weight:700;
}

.btab2.is-active{
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.98),
      rgba(255,240,220,.92)
    );
  border-color: rgba(242,140,27,.85);
  box-shadow:
    0 20px 45px rgba(242,140,27,.25),
    0 1px 0 rgba(255,255,255,.85) inset;
}

.btab2.is-active::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  bottom:10px;
  width:4px;
  border-radius:4px;
  background:linear-gradient(180deg,var(--orange),var(--orange2));
}

/* ===============================
   MOBILE: ảnh + content CHUNG FORM
   =============================== */
@media (max-width: 900px){

  /* 1. wrapper KHÔNG ép chiều cao */
  .branch-wrap{
    position: relative;
    height: auto;          /* 🔑 quan trọng */
    min-height: unset;     /* xoá mọi min-height cũ */
    overflow: hidden;
  }

  /* 2. Ảnh nền KHÔNG absolute full */
  .branch-wrap__img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .branch-wrap__shade{
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  /* 3. CONTENT quyết định chiều cao */
  .branch-wrap__content{
    position: relative;    /* 🔑 để đẩy height */
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;

    pointer-events: auto;
  }

  /* 4. Detail mặc định ĐÓNG */
  .branch-detail-wrap{
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4,0,.2,1);
  }

  /* 5. Khi mở → ảnh GIÃN VỪA ĐỦ */
  .branch-wrap.is-open .branch-detail-wrap{
    max-height: 2000px; /* đủ lớn, KHÔNG gây thừa */
  }
}
/* ===============================
   MOBILE: ảnh + content CHUNG FORM (CHỐT 1 CƠ CHẾ)
   - Đóng: ảnh chỉ cao theo tabs
   - Mở: ảnh cao vừa đủ chứa detail
   - Không ảnh thừa
   =============================== */
@media (max-width: 900px){

  /* 0) Chỉ giữ 1 cơ chế accordion: max-height (KHÔNG dùng display none/block nữa) */
  .branch-detail-wrap{
    display: block !important;   /* ép luôn block để max-height hoạt động */
    padding-top: 0 !important;
    margin-top: 12px;
    overflow: hidden;

    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);

    transition:
      max-height .45s cubic-bezier(.4,0,.2,1),
      opacity .25s ease,
      transform .25s ease;
  }

  /* Khi mở */
  .branch-detail-wrap.is-open{
    max-height: 3000px; /* đủ lớn để chứa hết content */
    opacity: 1;
    transform: translateY(0);
  }

  /* 1) branch-wrap KHÔNG ép cao */
  .branch-wrap{
    min-height: unset !important; /* chặn min-height:720 / 980 */
    height: auto !important;
    overflow: hidden;
  }

  /* 2) Ảnh nền ăn theo chiều cao wrapper (wrapper cao theo content) */
  .branch-wrap__img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 3) Shade phải có position để phủ đúng */
  .branch-wrap__shade{
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  /* 4) content là thứ "đẩy height" cho wrapper */
  .branch-wrap__content{
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }

  /* 5) Tabs vẫn nằm TRÊN ẢNH */
  .branch-tabs2{
    grid-template-columns: 1fr; /* mobile 1 cột */
    gap: 12px;
  }

  /* 6) Detail gọn hơn */
  .branch-detail{
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .bd-gallery img{ height: 160px; }
  .bd-map iframe{ height: 160px; }

  /* 7) Icon mở/đóng cho tab */
  .btab2{
    position: relative;
  }
  .btab2::after{
    content: "▼";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 900;
    opacity: .45;
    transition: .25s ease;
  }
  .btab2.is-open::after{
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
    color: var(--orange);
  }

  /* 8) Chặn “dư đáy” do spacing */
  .branch-detail,
  .branch-detail-wrap{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}
@media (max-width: 900px){
  .hero2__chips{ display:none !important; }
}
@media (max-width: 900px){

  /* Topbar: 1 hàng, không wrap, nếu thiếu chỗ thì scroll ngang */
  .topbar__wrap{
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 10px 0;
  }
  .topbar__wrap::-webkit-scrollbar{ display:none; }
  .topbar__wrap{ scrollbar-width: none; }

  .topbar__left,
  .topbar__right{
    flex-wrap: nowrap !important;
    gap: 10px;
  }

  /* Chip gọn hơn */
  .chip{
    white-space: nowrap;
    padding: 7px 10px;
    font-size: 13px;
  }

  /* Nút đặt lịch trên topbar nhỏ lại */
  .topbar .btn--sm{
    white-space: nowrap;
    padding: 8px 10px;
    font-size: 13px;
  }
}
@media (max-width: 900px){
  .header__wrap{
    flex-wrap: nowrap !important;
    gap: 10px;
  }

  /* Brand co lại (đỡ chiếm chỗ) */
  .brand{ min-width: 0 !important; }
  .brand__text{ min-width: 0; }
  .brand__tag{ display:none; } /* mobile bỏ tagline để đủ chỗ */
  .brand__name{ font-size: 16px; }

  /* Actions: 1 hàng, không wrap */
  .header__actions{
    flex-wrap: nowrap !important;
    gap: 8px;
    min-width: unset !important;
  }

  /* Nút gọn lại để vừa 1 hàng */
  .header__actions .btn{
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 12px;
    white-space: nowrap;
  }
}
@media (max-width: 900px){

  /* 1) Ẩn topbar (địa chỉ + 24/7 + sđt + đặt lịch) */
  .topbar{ display:none !important; }

  /* 2) Giữ lại tagline dưới logo trên mobile */
  .brand__tag{
    display:block !important;
    font-size: 11px;
    letter-spacing: .06em;
    line-height: 1.25;
    opacity: .85;
    white-space: nowrap;           /* ưu tiên 1 dòng */
    overflow: hidden;
    text-overflow: ellipsis;       /* nếu quá dài thì ... */
    max-width: 52vw;               /* tránh đè nút */
  }

  /* 3) Để header 1 hàng, nút không xuống dòng */
  .header__wrap{
    flex-wrap: nowrap !important;
    gap: 10px;
  }
  .brand{ min-width: 0 !important; }
  .brand__text{ min-width: 0; }

  .header__actions{
    flex-wrap: nowrap !important;
    gap: 8px;
    min-width: unset !important;
  }
  .header__actions .btn{
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 12px;
    white-space: nowrap;
  }
}

/* Nếu máy rất nhỏ (≤ 380px) thì cho tagline xuống 2 dòng đẹp hơn thay vì ... */
@media (max-width: 380px){
  .brand__tag{
    white-space: normal;
    display:-webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow:hidden;
    max-width: 56vw;
  }
}
/* ===== Branch tab as IMAGE CARD ===== */
.btab2--image{
  position: relative;
  padding: 0;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;

  background: #000;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 18px 45px rgba(0,0,0,.25);

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.btab2--image:hover{
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(0,0,0,.35);
}
.btab2__bg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.05);
}
.btab2__overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 12px 14px;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.55) 70%,
      rgba(0,0,0,.75) 100%
    );

  color: #fff;
}

.btab2__title{
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
}

.btab2__sub{
  color: white;
  font-size: 13px;
  opacity: .9;
  /* font-weight: 600; */
}
.btab2--image.is-active{
  border-color: rgba(242,140,27,.9);
  box-shadow:
    0 0 0 2px rgba(242,140,27,.45),
    0 30px 70px rgba(242,140,27,.35);
}

.btab2--image.is-active .btab2__overlay{
  background:
    linear-gradient(
      180deg,
      rgba(242,140,27,.0) 0%,
      rgba(242,140,27,.55) 70%,
      rgba(242,140,27,.85) 100%
    );
}
.branch-tabs2{
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.btab2{
  padding: 0;
  min-height: 96px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

/* Ảnh full */
.btab2__thumb{
  width:100%;
  height:100%;
  border-radius:0;
}

.btab2__thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
}

/* Overlay chữ */
.btab2__text{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:10px 12px;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0),
    rgba(0,0,0,.55)
  );
  color:#fff;
}

.btab2__title{
  font-size:14px;
  font-weight:900;
}

.btab2__sub{
  font-size:12px;
  color:rgba(255,255,255,.85);
}

/* Active */
.btab2.is-active{
  outline:3px solid rgba(242,140,27,.85);
  outline-offset:-3px;
}
.branch-detail__right{
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* Ảnh lớn hơn */
.bd-gallery{
  padding:12px;
}

.bd-gallery img{
  height:280px;     
  border-radius:18px;
}

/* Thumbnail gọn */
.bd-thumbs img{
  width:48px;
  height:48px;
}

/* MAP = trọng tâm */
.bd-map{
  padding:10px;
}

.bd-map iframe{
  height:260px;      /* 👈 map đủ “đã” */
  border-radius:18px;
}
.bd-services{
  grid-template-columns:1fr;
  gap:10px;
}

/* .service-card{
  padding:14px;
  border-radius:16px;
}

.service-card:nth-child(n+3){
  background:transparent;
  border:none;
  box-shadow:none;
  padding:6px 0;
}

.service-card:nth-child(n+3) .service-icon{
  display:none;
}

.service-card:nth-child(n+3) .service-title{
  font-size:13px;
}

.service-card:nth-child(n+3) .service-desc{
  font-size:12px;
} */
.branch-wrap__img{
  filter:
    blur(6px)
    brightness(.55)
    saturate(.75)
    contrast(.9);
  transform: scale(1.08);
}

/* Overlay tăng chiều sâu */
.branch-wrap__shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      180deg,
      rgba(15,23,42,.55) 0%,
      rgba(15,23,42,.75) 45%,
      rgba(15,23,42,.85) 100%
    );
  z-index:1;
}
.btab2{
  background:#000;
}

.btab2__thumb img{
  filter: brightness(.75) saturate(.9);
}

.btab2__text{
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0),
      rgba(0,0,0,.65)
    );
}

.btab2.is-active{
  outline: none;
  box-shadow:
    0 0 0 2px rgba(242,140,27,.85),
    0 22px 50px rgba(242,140,27,.35);
}

.btab2.is-active .btab2__thumb img{
  filter: brightness(.95) saturate(1.05);
}
.branch-detail{
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.96),
      rgba(255,255,255,.92)
    );
  backdrop-filter: blur(18px);
}

.branch-detail,
.bd-gallery,
.bd-map{
  box-shadow:
    0 18px 40px rgba(0,0,0,.16);
}
.bd-gallery img{
  filter: contrast(.95) saturate(.9);
}

.bd-thumbs img{
  filter: grayscale(.3) brightness(.9);
}

.bd-thumbs img.active{
  filter: none;
}
/* =========================================
   FIX MOBILE: BRANCH OVERFLOW & CHE CONTENT
   ========================================= */
@media (max-width: 900px){

  /* 1. Wrapper ăn theo content */
  .branch-wrap{
    position: relative;
    height: auto;
    min-height: unset;
    overflow: hidden;
  }

  /* 2. Ảnh nền chỉ làm BACKDROP */
  .branch-wrap__img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(.5) saturate(.7);
    transform: scale(1.1);
  }

  .branch-wrap__shade{
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  /* 3. Content là thứ quyết định chiều cao */
  .branch-wrap__content{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}
/* =========================================
   MOBILE: BRANCH TABS STACK
   ========================================= */
@media (max-width: 900px){

  .branch-tabs2{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .btab2{
    width: 100%;
    min-height: auto;
  }
}
/* =========================================
   MOBILE: ACCORDION SAFE HEIGHT
   ========================================= */
@media (max-width: 900px){

  .branch-detail-wrap{
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4,0,.2,1);
  }

  .branch-wrap.is-open .branch-detail-wrap{
    max-height: 3000px; /* đủ lớn nhưng KHÔNG phá layout */
  }
}
/* =========================================
   MOBILE: NO OVERLAY CHE CONTENT
   ========================================= */
@media (max-width: 900px){

  .branch-wrap__img,
  .branch-wrap__shade{
    pointer-events: none;
  }
}
.lang-switch{
  display:flex;
  gap:6px;
}

.lang-switch button{
  padding:6px 10px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-weight:900;
  cursor:pointer;
}

.lang-switch button:hover{
  background:var(--orange);
  color:#fff;
}

/* Mobile: gọn hơn */
@media(max-width:900px){
  .lang-switch{
    gap:4px;
  }
  .lang-switch button{
    padding:4px 8px;
    font-size:12px;
  }
}
/* =========================
   LANGUAGE SWITCH (VI / EN)
   ========================= */

.lang-switch {
  display: inline-flex;
  gap: 6px;
  margin-left: 12px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.lang-switch button {
  appearance: none;
  border: 0;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: #555;
  transition: all .25s ease;
}

/* Hover */
.lang-switch button:hover {
  background: rgba(255, 165, 0, 0.15);
  color: #ff8a00;
}

/* Active language */
.lang-switch button.is-active {
  background: linear-gradient(135deg, #ff9a1f, #ff7a00);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 138, 0, 0.35);
}

/* =========================
   MOBILE OPTIMIZATION
   ========================= */
@media (max-width: 900px) {
  .lang-switch {
    margin-left: 6px;
    padding: 3px;
  }

  .lang-switch button {
    padding: 5px 10px;
    font-size: 12px;
  }
}
/* =========================
   INLINE LANGUAGE (VI / EN)
   ========================= */

.lang-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  font-weight: 700;
  font-size: 13px;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 4px 6px;
  cursor: pointer;
  color: #475569;
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
}

.lang-btn:hover {
  color: var(--orange);
  background: rgba(242,140,27,.12);
}

.lang-btn.is-active {
  color: var(--orange);
  background: rgba(242,140,27,.18);
}

.lang-sep {
  opacity: .35;
  font-weight: 600;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .lang-inline {
    font-size: 12px;
    margin-right: 4px;
  }

  .lang-btn {
    padding: 3px 5px;
  }
}
