/* ══════════════════════════════════════════
   MOBILE-FIRST DESIGN — VETC HOME CAR
   Base = mobile (≤ 480px)
   sm  = 480px+
   md  = 768px+
   lg  = 1024px+
   xl  = 1280px+
══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:     #1565C0;
  --blue-dk:  #0D47A1;
  --blue-lt:  #E3F2FD;
  --blue-mid: #1976D2;
  --dark:     #1A237E;
  --green:    #2E7D32;
  --yellow:   #FFD54F;
  --gray:     #F5F7FA;
  --border:   #E0E0E0;
  --text:     #212121;
  --muted:    #757575;
  --white:    #FFFFFF;
  --zalo:     #0180C7;
  --fb:       #1877F2;
  --radius:   12px;
  --radius-sm:8px;
  --shadow:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:0 8px 40px rgba(0,0,0,.18);
  /* Bottom nav safe area */
  --nav-h:    56px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--text); background: #fff;
  /* make room for sticky bottom nav on mobile */
  padding-bottom: var(--nav-h);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── UTILS ── */
.container { width: 100%; padding: 0 16px; }
.section { padding: 48px 0; }
.section-title { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; line-height: 1.25; }
.section-sub  { color: var(--muted); font-size: .9rem; margin-bottom: 28px; line-height: 1.6; }
.text-center  { text-align: center; }
.visually-hidden { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; border-radius: var(--radius-sm); font-weight: 700;
  font-size: 1rem; cursor: pointer; transition: opacity .18s, transform .15s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  padding: 13px 22px;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:active { opacity:.85; }
.btn-zalo    { background: var(--zalo); color: #fff; }
.btn-fb      { background: var(--fb); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-sm      { padding: 9px 16px; font-size: .875rem; border-radius: 7px; }
.btn-block   { width: 100%; }

/* ══ TOP HEADER ══ */
header {
  position: sticky; top: 0; z-index: 900;
  background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,.09);
  height: 56px; display: flex; align-items: center;
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 16px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.1rem; color: var(--blue); }
.logo-icon {
  width: 36px; height: 36px; background: var(--blue); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; font-weight: 900; flex-shrink: 0;
}
/* Hamburger */
.menu-btn {
  width: 40px; height: 40px; background: none; border: none; border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .25s, opacity .2s;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer menu */
.drawer {
  position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 890; transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-nav { padding: 16px; flex: 1; }
.drawer-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 12px; border-radius: var(--radius-sm);
  font-size: 1.05rem; font-weight: 600; color: var(--text);
  transition: background .15s; border-bottom: 1px solid var(--gray);
}
.drawer-nav a:active { background: var(--gray); }
.drawer-nav a span.ico { font-size: 1.3rem; width: 28px; text-align: center; }
.drawer-cta { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.drawer-social { display: flex; gap: 12px; padding: 0 16px 24px; }
.drawer-social a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 0; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 700;
}

/* ══ HERO — mobile ══ */
.hero {
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dk) 55%, var(--dark) 100%);
  color: #fff; padding: 32px 16px 28px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15); border-radius: 999px;
  padding: 5px 14px; font-size: .78rem; font-weight: 700; margin-bottom: 14px;
}
.hero h1 {
  font-size: 1.65rem; font-weight: 800; line-height: 1.25; margin-bottom: 12px;
}
.hero h1 span { color: var(--yellow); }
.hero-desc { font-size: .9rem; opacity: .88; line-height: 1.7; margin-bottom: 20px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-cta .btn { flex: 1; min-width: 140px; font-size: .95rem; padding: 13px 12px; }

/* Hero feature chips */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hero-chip {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; padding: 5px 12px; font-size: .78rem; opacity: .9;
}

/* Hero service cards — horizontal scroll */
.hero-scroll-wrap { margin: 0 -16px; }
.hero-cards {
  display: flex; gap: 12px; overflow-x: auto; padding: 4px 16px 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.hero-cards::-webkit-scrollbar { display: none; }
.hero-card {
  flex: 0 0 220px; scroll-snap-align: start;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px); border-radius: var(--radius); padding: 16px 14px;
  display: flex; align-items: flex-start; gap: 10px;
}
.hero-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.hero-card h3 { font-size: .88rem; font-weight: 700; margin-bottom: 4px; }
.hero-card p  { font-size: .78rem; opacity: .8; line-height: 1.45; }
.hero-card .price { font-size: .88rem; font-weight: 800; color: var(--yellow); margin-top: 6px; }

/* Scroll dots */
.scroll-dots { display: flex; gap: 5px; justify-content: center; padding: 4px 0 0; }
.scroll-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background .2s; }
.scroll-dot.active { background: #fff; width: 18px; border-radius: 3px; }

/* ══ WHY US ══ */
.why { background: var(--gray); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-item {
  background: #fff; border-radius: var(--radius); padding: 20px 14px;
  text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.why-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 10px;
}
.why-item h3 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.why-item p  { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ══ SERVICES ══ */
.services-scroll {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 12px; margin: 0 -16px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.services-scroll::-webkit-scrollbar { display: none; }
.service-card {
  flex: 0 0 240px; scroll-snap-align: start;
  border-radius: var(--radius); border: 1px solid var(--border);
  padding: 22px 18px; background: #fff; display: flex; flex-direction: column;
}
.service-icon { font-size: 2.2rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.service-card p  { font-size: .83rem; color: var(--muted); line-height: 1.55; margin-bottom: 12px; flex: 1; }
.service-price { font-size: 1rem; font-weight: 800; color: var(--blue); margin-bottom: 12px; }
.service-price small { font-size: .75rem; font-weight: 400; color: var(--muted); }
.service-more {
  display: flex; align-items: center; gap: 5px;
  background: var(--blue-lt); color: var(--blue);
  border-radius: 7px; padding: 8px 14px; font-size: .83rem; font-weight: 700;
  border: none; width: fit-content;
}

/* ══ BRANCHES ══ */
.branches { background: var(--gray); }
.branch-filter {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 20px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.branch-filter::-webkit-scrollbar { display: none; }
.branch-tag {
  flex-shrink: 0; padding: 7px 16px; border-radius: 999px;
  border: 2px solid var(--border); font-size: .85rem; font-weight: 600;
  background: #fff; cursor: pointer; transition: all .18s; white-space: nowrap;
}
.branch-tag.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.branches-list { display: flex; flex-direction: column; gap: 12px; }
.branch-card {
  background: #fff; border-radius: var(--radius); padding: 16px;
  border: 1px solid var(--border); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}
.branch-card:active { box-shadow: var(--shadow); }
.branch-card-left { flex: 1; min-width: 0; }
.branch-card h4 {
  font-size: .97rem; font-weight: 700; color: var(--dark);
  margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.branch-card p { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.branch-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: #E8F5E9; color: var(--green); border-radius: 999px;
  font-size: .7rem; font-weight: 700; padding: 3px 9px; margin-bottom: 5px;
}
.branch-arrow { color: var(--muted); font-size: 1.1rem; flex-shrink: 0; }

/* Branch sheet (bottom sheet on mobile) */
.sheet-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1000;
}
.sheet-overlay.open { display: block; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001;
  background: #fff; border-radius: 20px 20px 0 0;
  padding: 0 0 env(safe-area-inset-bottom,16px);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .3s cubic-bezier(.4,0,.2,1), visibility 0s linear .3s;
  max-height: 90vh; overflow-y: auto;
}
.sheet.open {
  transform: translateY(0);
  visibility: visible;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.sheet-handle { width: 40px; height: 4px; background: #DDD; border-radius: 2px; margin: 12px auto 20px; }
.sheet-content { padding: 0 20px 20px; }
.sheet-content h3 { font-size: 1.15rem; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.sheet-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.sheet-row { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.sheet-row span:first-child { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.map-box {
  background: var(--blue-lt); border-radius: 10px; height: 140px;
  display: flex; align-items: center; justify-content: center; color: var(--blue);
  font-weight: 600; font-size: .9rem; margin-bottom: 16px;
  border: 2px dashed #90CAF9;
}
.sheet-actions { display: flex; flex-direction: column; gap: 10px; }

/* ══ REGISTER FORM ══ */
.register { background: linear-gradient(160deg, var(--blue-dk) 0%, var(--blue) 100%); color: #fff; }
.register-header { padding-bottom: 28px; }
.register-header h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.register-header p { font-size: .88rem; opacity: .85; line-height: 1.65; }
.reg-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.reg-feat {
  display: flex; align-items: center; gap: 7px; font-size: .8rem;
  background: rgba(255,255,255,.1); border-radius: 8px; padding: 8px 10px;
}
.form-card {
  background: #fff; border-radius: 18px 18px 0 0;
  padding: 24px 16px 32px; margin: 0 -16px -48px;
}
.form-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 5px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 14px; font-size: 1rem; font-family: inherit;
  transition: border-color .18s; outline: none;
  /* iOS tap highlight */
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}
.form-group textarea { resize: vertical; height: 80px; }
.service-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-item {
  display: flex; align-items: center; gap: 8px; font-size: .85rem; cursor: pointer;
  background: var(--gray); border-radius: 8px; padding: 10px 12px; border: 1.5px solid transparent;
  transition: border-color .15s, background .15s;
}
.check-item:has(input:checked) { border-color: var(--blue); background: var(--blue-lt); color: var(--blue); font-weight: 600; }
.check-item input[type=checkbox] { accent-color: var(--blue); width: 16px; height: 16px; flex-shrink: 0; }
.btn-submit {
  width: 100%; padding: 15px; background: var(--blue); color: #fff; border: none;
  border-radius: 12px; font-size: 1.05rem; font-weight: 800; cursor: pointer;
  transition: background .18s; margin-top: 8px;
  -webkit-tap-highlight-color: transparent;
}
.btn-submit:active { background: var(--dark); }
.form-note { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* ══ NEWS ══ */
.news-scroll {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 12px; margin: 0 -16px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.news-scroll::-webkit-scrollbar { display: none; }
.news-card {
  flex: 0 0 260px; scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: #fff; display: flex; flex-direction: column;
}
.news-img { height: 140px; background: linear-gradient(135deg, var(--blue-lt), #BBDEFB); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.news-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.news-tag { display: inline-block; background: var(--blue-lt); color: var(--blue); border-radius: 4px; font-size: .72rem; font-weight: 700; padding: 3px 9px; margin-bottom: 8px; }
.news-card h4 { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.4; flex: 1; }
.news-meta { font-size: .75rem; color: #BDBDBD; margin-top: 8px; }

/* ══ FOOTER ══ */
footer { background: #0D1B2A; color: #fff; padding: 40px 16px 20px; }
.footer-brand { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { font-size: .85rem; opacity: .65; line-height: 1.7; margin: 12px 0 16px; }
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
footer h4 { font-size: .88rem; font-weight: 700; margin-bottom: 12px; color: var(--yellow); }
footer ul li { margin-bottom: 9px; }
footer ul li a { font-size: .83rem; opacity: .65; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px;
  font-size: .78rem; opacity: .45; line-height: 1.7;
}

/* ══ BOTTOM NAV (mobile only) ══ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 850;
  height: var(--nav-h); background: #fff;
  box-shadow: 0 -2px 12px rgba(0,0,0,.1);
  display: flex; align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: .65rem; font-weight: 600; color: var(--muted);
  -webkit-tap-highlight-color: transparent; transition: color .15s;
}
.bottom-nav a.active { color: var(--blue); }
.bottom-nav a span.nav-icon { font-size: 1.3rem; line-height: 1; }
.bottom-nav .nav-cta { background: var(--blue); color: #fff; margin: 8px 4px; border-radius: 10px; flex: 1.4; }

/* ══ FLOATING BUTTONS ══ */
.float-btns {
  position: fixed; right: 14px; bottom: calc(var(--nav-h) + 12px); z-index: 840;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: 0 4px 14px rgba(0,0,0,.22);
  -webkit-tap-highlight-color: transparent;
}
.float-zalo { background: var(--zalo); }
.float-fb   { background: var(--fb); }

/* ══ TOAST ══ */
.toast {
  position: fixed; bottom: calc(var(--nav-h) + 72px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--green); color: #fff; border-radius: 10px;
  padding: 12px 22px; font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow); z-index: 9999; opacity: 0;
  transition: all .3s; pointer-events: none; white-space: nowrap; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══ DIVIDER ══ */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ══════════════════════════════════════════
   TABLET — sm ≥ 480px
══════════════════════════════════════════ */
@media (min-width: 480px) {
  .container { padding: 0 20px; }
  .hero-card { flex: 0 0 240px; }
  .service-card { flex: 0 0 260px; }
  .news-card { flex: 0 0 280px; }
}

/* ══════════════════════════════════════════
   TABLET — md ≥ 768px
   Bottom nav hidden, body padding reset
══════════════════════════════════════════ */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .float-btns { bottom: 24px; right: 24px; }
  .toast { bottom: 80px; }
  .container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 1.85rem; }

  /* Header */
  header { height: 64px; }
  .nav { padding: 0 24px; }
  .menu-btn { display: none; }
  .logo { font-size: 1.2rem; }
  .desktop-nav { display: flex !important; align-items: center; gap: 28px; }
  .desktop-nav a { font-size: .9rem; font-weight: 600; color: var(--text); transition: color .15s; }
  .desktop-nav a:hover { color: var(--blue); }
  .nav-book-btn { display: flex !important; }

  /* Hero */
  .hero { padding: 64px 24px 56px; }
  .hero-inner { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero-scroll-wrap { margin: 0; }
  .hero-cards { flex-direction: column; overflow-x: visible; padding: 0; }
  .hero-card { flex: none; }
  .scroll-dots { display: none; }

  /* Why */
  .why-grid { grid-template-columns: repeat(4,1fr); gap: 20px; }

  /* Services */
  .services-scroll { flex-wrap: wrap; overflow-x: visible; margin: 0; padding: 0; gap: 20px; }
  .service-card { flex: 1 1 calc(50% - 10px); min-width: 200px; }

  /* Branches */
  .branches-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

  /* Bottom sheet → centered modal on desktop */
  .sheet {
    left: 50%; top: 50%; bottom: auto; right: auto;
    width: 90%; max-width: 520px; border-radius: 16px;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .sheet.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1; visibility: visible;
    transition: opacity .25s ease, transform .25s ease;
  }

  /* Form */
  .register { padding: 64px 24px; }
  .register-inner { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }
  .form-card { border-radius: 16px; padding: 28px; margin: 0; }
  .register-header { padding-bottom: 0; }

  /* News */
  .news-scroll { flex-wrap: wrap; overflow-x: visible; margin: 0; padding: 0; gap: 20px; }
  .news-card { flex: 1 1 calc(50% - 10px); min-width: 200px; }

  /* Footer */
  footer { padding: 56px 24px 28px; }
  .footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
  .footer-brand { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
  .footer-cols { display: contents; }
}

/* ══════════════════════════════════════════
   DESKTOP — lg ≥ 1024px
══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .container { max-width: 960px; }
  .section { padding: 80px 0; }
  .section-title { font-size: 2rem; }
  .hero { padding: 80px 0 64px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-inner { grid-template-columns: 1fr 400px; gap: 56px; }
  .services-scroll { gap: 24px; }
  .service-card { flex: 1 1 calc(33.33% - 16px); }
  .news-card { flex: 1 1 calc(33.33% - 14px); }
  .branches-list { grid-template-columns: repeat(3,1fr); }
  .why-grid { gap: 24px; }
}

/* ══════════════════════════════════════════
   PAGE LAYOUT + AD BANNERS — xl ≥ 1320px
   Layout: [160px banner] [~960px content] [160px banner]
   Dùng flexbox — banner KHÔNG đè lên content
══════════════════════════════════════════ */
.ad-banner { display: none; }
#page-layout { display: block; }
#content-wrap { min-width: 0; }

@media (min-width: 1320px) {
  /* Wrapper 3 cột: banner | content | banner */
  #page-layout {
    display: flex;
    align-items: flex-start;
    max-width: 1360px;
    margin: 0 auto;
    gap: 0;
  }
  #content-wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  /* Container bên trong content không cần max-width nữa vì đã bị giới hạn bởi content-wrap */
  #content-wrap .container { max-width: 960px; }

  /* Banner cột bên: sticky theo scroll, không fixed */
  .ad-banner {
    display: flex; flex-direction: column; gap: 12px;
    width: 168px; flex-shrink: 0; padding: 72px 8px 16px;
    position: sticky; top: 0; align-self: flex-start;
    max-height: 100vh; overflow-y: auto;
  }

  /* Mỗi slot banner */
  .ad-slot {
    width: 152px; border-radius: 10px; overflow: hidden;
    background: #F0F4FF; border: 1.5px dashed #90CAF9;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 8px; color: #90CAF9;
    font-size: .75rem; font-weight: 600; text-align: center;
    padding: 12px 8px; cursor: pointer; transition: border-color .2s, background .2s;
    position: relative;
  }
  .ad-slot:hover { border-color: var(--blue); background: #E3F0FF; color: var(--blue); }
  .ad-slot-icon { font-size: 1.8rem; line-height: 1; }
  .ad-slot-tall  { height: 600px; } /* ~160×600 — Wide Skyscraper */
  .ad-slot-small { height: 200px; } /* ~160×200 — Vertical Banner */
  .ad-slot-label {
    position: absolute; top: 6px; right: 6px;
    background: rgba(21,101,192,.12); color: var(--blue);
    font-size: .65rem; font-weight: 700; border-radius: 4px; padding: 2px 6px;
  }
}