/* ==========================================================================
   Thanh Phong Auto — main stylesheet
   1. Tokens        2. Base            3. Layout         4. Buttons & icons
   5. Top bars      6. Header & nav    7. Home           8. Cards & sections
   9. Inner pages  10. Forms          11. Training      12. About
  13. Footer       14. Contact dock   15. Chat          16. Dialogs
  17. Utilities    18. Dark theme     19. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy-950: #061430;
  --navy-900: #0a1f44;
  --navy-800: #0f2b5c;
  --navy-700: #163a78;
  --blue: #123f8c;
  --blue-600: #1b51ad;
  --blue-50: #edf3fc;
  --red: #e00808;
  --red-700: #b80606;
  --amber: #ffc93f;
  --green: #1f8a4c;
  --zalo: #0068ff;
  --messenger: #0a7cff;

  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --text: #13213a;
  --text-muted: #56647a;
  --text-soft: #7a879a;
  --border: #e1e7ef;
  --border-strong: #c6d1df;
  --link: #123f8c;
  --kicker: #d30a0a;
  --focus: #f0a400;
  --header-bg: rgba(255, 255, 255, .94);

  --font: "Be Vietnam Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1240px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, .06), 0 1px 3px rgba(10, 31, 68, .05);
  --shadow: 0 10px 30px -12px rgba(10, 31, 68, .22);
  --shadow-lg: 0 24px 60px -20px rgba(6, 20, 48, .45);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
iframe { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button,
input,
select,
textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a,
button,
input,
select,
textarea,
summary { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 3vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.5vw, 2.4rem); }
h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--text-muted); text-wrap: pretty; }
strong, b { font-weight: 700; }
small { font-size: .8125rem; }
ul, ol { color: var(--text-muted); }
[hidden] { display: none !important; }
::selection { background: rgba(18, 63, 140, .18); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(56px, 4rem + 2vw, 96px); }
.pale { background: var(--bg-alt); }
.grid,
.three,
.two,
.four { display: grid; gap: 24px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.four,
.knowledge-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.small { font-size: .875rem; color: var(--text-soft); }
.center-actions { display: flex; justify-content: center; margin-top: 28px; }
.section-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 32px;
  text-align: center;
}
p.section-bottom { display: block; max-width: 760px; margin-inline: auto; }

.kicker {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--kicker);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
}
.kicker::before {
  content: "";
  margin-top: .65em;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  flex: none;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 56px;
  margin-bottom: 36px;
}
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 420px; margin: 0; font-size: .975rem; }
.section-heading .button { flex: none; }

/* 4. Buttons & icons ------------------------------------------------------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.25em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid var(--red);
  border-radius: var(--radius-sm);
  background: var(--red);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  letter-spacing: .005em;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.button:hover { background: var(--red-700); border-color: var(--red-700); box-shadow: 0 8px 20px -10px rgba(224, 8, 8, .7); }
.button:active { transform: translateY(1px); }
.button .icon { width: 1.15em; height: 1.15em; }
.button .link-arrow { transition: transform .2s var(--ease); }
.button:hover .link-arrow { transform: translateX(2px); }

.button.secondary {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}
.button.secondary:hover { background: var(--blue); color: #fff; box-shadow: none; }

/* Red action used on cards: a compact solid button. */
.brand-red-action,
.text-link.brand-red-action,
.button.secondary.brand-red-action {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 42px;
  padding: 9px 16px;
  border: 1.5px solid var(--red);
  border-radius: var(--radius-sm);
  background: var(--red);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  transition: background-color .2s var(--ease);
}
.brand-red-action:hover,
.text-link.brand-red-action:hover,
.button.secondary.brand-red-action:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; text-decoration: none; }
.garage-services .text-link.brand-red-action { color: #fff; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding-block: 6px;
  border: 0;
  background: none;
  color: var(--link);
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.text-link .link-arrow { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.text-link:hover .link-arrow { transform: translateX(3px); }
.text-link:hover .icon-arrow-up-right { transform: translate(2px, -2px); }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--blue);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.icon-button:hover { background: var(--blue-50); border-color: var(--border-strong); }
.icon-button .icon { width: 20px; height: 20px; }

.theme-toggle .when-dark { display: none; }
[data-theme="dark"] .theme-toggle .when-dark { display: block; }
[data-theme="dark"] .theme-toggle .when-light { display: none; }

/* 5. Top bars ---------------------------------------------------------------- */
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }

.topline,
.training-top {
  background: var(--navy-950);
  color: #dbe5f3;
  font-size: .8125rem;
}
.topline .wrap,
.training-top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding-block: 6px;
}
.topline .wrap > span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.topline .icon,
.training-top .icon { width: 15px; height: 15px; color: var(--amber); }
.topline a[href^="tel:"] { color: var(--amber); font-weight: 700; letter-spacing: .02em; }
.topline a[href^="tel:"]:hover,
.topline a:hover,
.training-top a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topline .wrap > a,
.training-top a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; }

.brand-ribbon {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.brand-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 14px;
}
.brand-values > div {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding-inline: 20px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.brand-values > div:first-child { border-left: 0; padding-left: 0; }
.value-symbol {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 82, 82, .12);
  color: #ff6b6b;
}
.value-symbol .icon { width: 19px; height: 19px; }
.brand-values strong { font-size: .8125rem; letter-spacing: .08em; line-height: 1.3; }
.brand-values small { color: #a9bbd6; font-size: .75rem; line-height: 1.4; }

/* 6. Header & nav --------------------------------------------------------------- */
.tpa-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.identity {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
  transition: height .25s var(--ease);
}
.compact .identity { height: 64px; }
.logo { flex: none; width: 132px; transition: width .25s var(--ease); }
.compact .logo { width: 112px; }
.logo img { width: 100%; height: auto; }

.brand-line,
.training-brand {
  display: grid;
  gap: 1px;
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--border);
  line-height: 1.35;
}
.brand-line strong { color: var(--blue); font-size: .9375rem; letter-spacing: -.01em; }
.brand-line span { color: var(--text-muted); font-size: .8125rem; }
.training-brand b { color: var(--blue); font-size: .875rem; letter-spacing: .01em; }
.training-brand small { display: block; margin-top: 2px; color: var(--text-muted); font-size: .78rem; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.appointment-button,
.header-actions .button { min-height: 44px; padding-inline: 18px; white-space: nowrap; }
.mobile-toggle { display: none; }
.mobile-toggle .when-open { display: none; }
.mobile-open .mobile-toggle .when-open { display: block; }
.mobile-open .mobile-toggle .when-closed { display: none; }

.nav-border { border-top: 1px solid var(--border); }
nav#navigation {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 8px;
  position: relative;
}
.training-nav { justify-content: flex-start !important; gap: 4px 32px !important; }
.nav-item { display: flex; }
.nav-label { display: flex; align-items: center; gap: 2px; position: relative; }
.nav-label > a,
.training-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 600;
  position: relative;
  transition: color .2s var(--ease);
  text-transform: uppercase;
}
.nav-label > a::after,
.training-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-label > a:hover,
.nav-item.is-open .nav-label > a,
.nav-label > a[aria-current],
.training-nav > a:hover,
.training-nav > a[aria-current] { color: var(--blue); }
.nav-item.is-open .nav-label > a::after,
.nav-label > a[aria-current]::after,
.nav-label > a:hover::after,
.training-nav > a:hover::after,
.training-nav > a[aria-current]::after { transform: scaleX(1); }

.nav-expand {
  display: grid;
  place-items: center;
  width: 28px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--text-soft);
}
.nav-expand:hover { color: var(--blue); background: var(--blue-50); }
.nav-expand .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav-expand[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 32px;
  padding: 24px 28px 28px;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: drop .22s var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.nav-dropdown > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: .9375rem;
  transition: color .15s var(--ease), padding .2s var(--ease);
}
.nav-dropdown > a:hover { color: var(--red); padding-left: 6px; }
.nav-dropdown .dropdown-heading {
  grid-column: 1 / -1;
  margin-bottom: 6px;
  border-bottom: 0;
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 700;
}
.nav-dropdown .dropdown-heading:hover { padding-left: 0; color: var(--red); }

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(6, 20, 48, .45);
  animation: fade .2s var(--ease);
}
@keyframes fade { from { opacity: 0; } }

/* Mega menu */
.service-mega-v3 { display: block; max-height: min(78dvh, 640px); overflow: auto; }
.mega-columns { display: grid; grid-template-columns: 1fr 1.7fr .8fr; gap: 32px; }
.mega-title {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.mega-category { border-bottom: 1px solid var(--border); }
.mega-category summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.mega-category summary::-webkit-details-marker { display: none; }
.mega-category[open] summary { color: var(--blue); }
.mega-category a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: .875rem;
  line-height: 1.45;
}
.mega-category a:hover { background: var(--blue-50); color: var(--blue); }
.mega-category > div { padding-bottom: 10px; }
.mega-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mega-feature {
  display: grid !important;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px !important;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.mega-feature:hover { background: var(--bg-alt); border-color: var(--border); }
.mega-feature img { width: 72px; height: 64px; border-radius: 8px; object-fit: cover; }
.mega-feature b { display: block; color: var(--text); font-size: .875rem; line-height: 1.35; }
.mega-feature small { display: block; margin-top: 3px; color: var(--text-soft); font-size: .75rem; line-height: 1.4; }
.mega-featured > .text-link { margin-top: 12px; }
.mega-promo {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: #fff;
}
.mega-promo img { width: 100%; height: 140px; object-fit: cover; }
.mega-promo > b { padding: 16px 18px 12px; font-size: 1.1rem; line-height: 1.35; }
.mega-promo .button { margin: 0 16px 8px; }
.mega-promo .text-link { align-self: center; margin-bottom: 10px; color: #fff; font-size: .8125rem; }

/* 7. Home ----------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(39, 96, 196, .45), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(224, 8, 8, .16), transparent 60%),
    var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero .kicker {
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #cfe0ff;
  font-size: .8125rem;
}
.hero .kicker::before { margin-top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(224, 8, 8, .25); }
.hero h1 { margin: 6px 0 22px; color: #fff; font-size: clamp(2.3rem, 1.4rem + 2.9vw, 3.65rem); }
.hero h1 em { display: inline-block; font-style: normal; color: var(--amber); }
.hero-copy > p:not(.kicker) { max-width: 540px; margin-bottom: 30px; color: #c3d2e8; font-size: 1.125rem; line-height: 1.7; }
.hero .actions { gap: 14px; }
.hero .button { min-height: 52px; padding-inline: 24px; font-size: 1rem; }
.hero .button.secondary { border-color: rgba(255, 255, 255, .35); color: #fff; }
.hero .button.secondary:hover { background: #fff; border-color: #fff; color: var(--navy-900); }

.hero-hotline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
}
.hero-hotline-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 201, 63, .14);
  color: var(--amber);
}
.hero-hotline-icon .icon { width: 21px; height: 21px; }
.hero-hotline small { display: block; color: #9fb3d1; font-size: .8125rem; }
.hero-hotline b { color: var(--amber); font-size: 1.35rem; letter-spacing: .02em; }
.hero-hotline:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* Slideshow */
.tpa-slideshow {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-950);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08);
}
.slide-images { aspect-ratio: 5 / 4; }
.slide-images img { width: 100%; height: 100%; object-fit: cover; animation: fade .6s var(--ease); }
.tpa-slideshow figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 64px 200px 20px 22px;
  background: linear-gradient(to top, rgba(6, 20, 48, .88), transparent);
  color: #fff;
  font-size: .9375rem;
  pointer-events: none;
}
.slide-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(6, 20, 48, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.slide-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
}
.slide-controls button:hover { background: rgba(255, 255, 255, .14); }
.slide-controls .icon { width: 18px; height: 18px; }
.slide-controls .icon-play { width: 15px; height: 15px; }
.slide-status { min-width: 44px; color: #dbe6f5; font-size: .8125rem; font-variant-numeric: tabular-nums; text-align: center; }
.tpa-slideshow .when-paused { display: none; }
.tpa-slideshow.is-paused .when-paused { display: block; }
.tpa-slideshow.is-paused .when-playing { display: none; }

/* Offer */
.offer-strip.offer-with-poster {
  margin-block: clamp(32px, 4vw, 56px) 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.offer-strip-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  padding: 20px 24px;
}
.offer-strip-heading b { display: block; color: var(--text); font-size: 1.2rem; line-height: 1.4; }
.offer-strip-heading span { display: block; margin-top: 4px; color: var(--text-muted); font-size: .875rem; }
.offer-poster-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.offer-poster-button img { width: 100%; height: auto; }
.zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(6, 20, 48, .75);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.offer-poster-button:hover .zoom-hint,
.offer-poster-button:focus-visible .zoom-hint { opacity: 1; transform: none; }

/* Quick needs */
.needs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-block: clamp(28px, 3vw, 40px) clamp(40px, 5vw, 64px);
}
.needs > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.needs > a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.need-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
}
.need-icon .icon { width: 22px; height: 22px; }
.needs b { display: block; color: var(--text); font-size: .9375rem; line-height: 1.35; }
.needs small { display: block; margin-top: 3px; color: var(--text-muted); font-size: .8125rem; line-height: 1.45; }
.need-arrow { width: 18px; height: 18px; color: var(--text-soft); transition: transform .2s var(--ease), color .2s var(--ease); }
.needs > a:hover .need-arrow { color: var(--red); transform: translateX(3px); }

/* Training teaser */
.education-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.education-feature > img,
.education-feature figure img,
.about-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.education-feature h3 { margin-top: 24px; }
.learning-links { display: grid; margin: 22px 0 26px; border-top: 1px solid var(--border); }
.learning-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  transition: color .2s var(--ease), padding .2s var(--ease);
}
.learning-links a .icon { width: 18px; height: 18px; color: var(--red); transition: transform .2s var(--ease); }
.learning-links a:hover { color: var(--blue); padding-left: 10px; }
.learning-links a:hover .icon { transform: translateX(3px); }
.home-training .small { margin: 14px 0 0; }

/* Services (navy band) */
.garage-services {
  width: 100%;
  max-width: none;
  padding-inline: max(var(--gutter), (100% - var(--container)) / 2);
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(39, 96, 196, .28), transparent 60%),
    var(--navy-900);
  color: #fff;
}
.garage-services .kicker { color: #ff7b7b; }
.garage-services h2,
.garage-services h3,
.garage-services h3 a { color: #fff; }
.garage-services .section-heading > p,
.garage-services .card p { color: #b5c6df; }
.garage-services .card {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
}
.garage-services .card:hover { border-color: rgba(255, 255, 255, .28); }
.garage-services .card-label { color: #8fb4ee; }
.garage-services .section-bottom .text-link { color: #fff; }

/* 8. Cards & sections --------------------------------------------------------- */
.card,
.case-slot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { box-shadow: var(--shadow); }
.card > img,
.card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card-image { display: block; overflow: hidden; }
.card-image img { transition: transform .5s var(--ease); }
.card-image:hover img,
.card:hover .card-image img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-body > :last-child { margin-bottom: 0; }
.card-body > .brand-red-action,
.card-body > .text-link:last-child { align-self: flex-start; margin-top: auto; }
.card-body > p + .brand-red-action { margin-top: auto; }
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card h3 a:hover { color: var(--blue); }
.card p { font-size: .9375rem; }
.card-label,
.status {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff6db;
  color: #7a5800;
  letter-spacing: .02em;
  text-transform: none;
  font-size: .8125rem;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0a100; }

/* Pricing */
.pricing-section {
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(18, 63, 140, .07), transparent 70%),
    var(--bg-alt);
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.price-card:hover { border-color: rgba(18, 63, 140, .35); box-shadow: var(--shadow); transform: translateY(-3px); }
.price-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.price-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.price-icon .icon { width: 24px; height: 24px; stroke-width: 1.75; }
.price-card:hover .price-icon { background: var(--blue); color: #fff; }
.price-card-head .card-label {
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: .6875rem;
  letter-spacing: .06em;
}
.price-card h3 { min-height: 2.7em; margin-bottom: 8px; font-size: 1.15rem; line-height: 1.35; }
.price-desc { min-height: 3em; margin-bottom: 20px; font-size: .9rem; line-height: 1.55; }
.price-value {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 108px;
  margin: auto 0 18px;
  padding: 16px 16px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border-left: 3px solid var(--red);
}
.price-value small { color: var(--text-soft); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.price-value strong {
  color: var(--red);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.price-unit { margin-left: 2px; font-size: .62em; vertical-align: .55em; }
.price-range { color: var(--text-muted); font-size: .8125rem; }
.price-value--quote { border-left-color: var(--blue); }
.price-value--quote strong { color: var(--blue); font-size: 1.3rem; }
.price-cta {
  width: 100%;
  min-height: 46px;
  background: transparent;
  border-color: var(--border-strong);
  color: var(--blue);
  font-size: .875rem;
}
.price-cta:hover,
.price-card:hover .price-cta { background: var(--red); border-color: var(--red); color: #fff; }
.price-cta:hover { box-shadow: 0 8px 20px -10px rgba(224, 8, 8, .7); }
.pricing-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}
.pricing-foot p { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 0; font-size: .8125rem; line-height: 1.55; }
.pricing-foot p .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--blue); }
.pricing-foot .text-link { flex: none; }

/* Video */
.video-section { border-top: 0; }
.video-player {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--navy-950);
}
.video-player iframe { width: 100%; height: 100%; border: 0; }
.video-card { min-width: 0; }
.video-card h3 { margin: 14px 0 6px; font-size: 1rem; line-height: 1.45; }
.video-card h3 a:hover { color: var(--blue); }
.video-card .small { margin: 0; font-size: .8125rem; }
.video-thumb { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--navy-950); }
.video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.video-thumb:hover img { transform: scale(1.04); opacity: .85; }
.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px rgba(224, 8, 8, .25);
  transition: transform .25s var(--ease);
}
.play-badge .icon { width: 22px; height: 22px; margin-left: 3px; }
.video-thumb:hover .play-badge { transform: translate(-50%, -50%) scale(1.08); }
#video-tabs { margin-top: 48px; }

/* Knowledge */
.knowledge-four .card-image img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--surface-2); }
.knowledge-four .card h3 { font-size: 1.05rem; line-height: 1.45; }
.knowledge-four .card-body { padding: 20px; }
.imported-article .card-body { padding-top: 20px; }
.article-topic-art {
  display: flex;
  align-items: flex-end;
  min-height: 110px;
  padding: 20px 22px;
  background:
    radial-gradient(300px 140px at 100% 0%, rgba(224, 8, 8, .35), transparent 70%),
    linear-gradient(140deg, var(--navy-900), var(--blue-600));
  color: #d6e5ff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.knowledge-intro { max-width: 760px; margin: 0 0 24px; }
.knowledge-intro h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

/* Knowledge teaser (home) */
.knowledge-section .knowledge-four { gap: 20px; }
.knowledge-card { position: relative; box-shadow: var(--shadow-sm); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.knowledge-card:hover { transform: translateY(-4px); border-color: rgba(18, 63, 140, .3); box-shadow: var(--shadow); }
.knowledge-section .knowledge-card .card-image img {
  aspect-ratio: 287 / 265;
  object-fit: cover;
  background: var(--surface-2);
}
.knowledge-section .knowledge-card .card-body { padding: 18px 20px 0; }
.knowledge-card h3 {
  display: -webkit-box;
  margin-bottom: 8px;
  overflow: hidden;
  font-size: 1.05rem;
  line-height: 1.45;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.knowledge-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.knowledge-card h3 a:focus-visible { outline: none; }
.knowledge-card:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.knowledge-card:hover h3 a { color: var(--blue); }
.knowledge-card p {
  display: -webkit-box;
  margin-bottom: 16px;
  overflow: hidden;
  font-size: .875rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.knowledge-card .card-body > .card-more {
  align-self: stretch;
  justify-content: space-between;
  margin: auto -20px 0;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  color: var(--red);
  font-size: .875rem;
}
.knowledge-card .card-more .link-arrow { transition: transform .2s var(--ease); }
.knowledge-card:hover .card-more .link-arrow { transform: translate(2px, -2px); }
.knowledge-card:hover .card-more { text-decoration: none; }
.knowledge-section .section-bottom { margin-top: 36px; }

/* About teaser (home) */
.about-teaser .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
.about-media { position: relative; margin: 0 0 32px; }
.about-teaser .about-media > img:first-child {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-media .about-inset {
  position: absolute;
  right: -24px;
  bottom: -32px;
  width: 46%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 6px solid var(--bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  max-width: 190px;
  padding: 14px 18px 16px;
  border-radius: var(--radius);
  background: rgba(10, 31, 68, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: var(--shadow);
}
.about-badge b { color: var(--amber); font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.about-badge span { margin-top: 4px; color: #c9d7ec; font-size: .78rem; line-height: 1.45; }
.about-copy > p:not(.kicker) { max-width: 540px; font-size: 1.025rem; }
.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}
.value-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.value-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(224, 8, 8, .08);
  color: var(--red);
}
.value-icon .icon { width: 20px; height: 20px; }
.value-list b { display: block; color: var(--text); font-size: .9375rem; line-height: 1.3; }
.value-list small { display: block; margin-top: 2px; color: var(--text-muted); font-size: .78rem; line-height: 1.4; }
.about-teaser .actions { gap: 12px 28px; }
.about-teaser .text-link .icon { width: 1.05em; height: 1.05em; }

/* Products */
.product-card > a { display: block; background: var(--surface-2); }
.product-card > a > img { width: 100%; height: 240px; padding: 16px; object-fit: contain; mix-blend-mode: multiply; }
.product-card h3 { font-size: 1.15rem; }
.product-card .card-body > p:not(.small) { margin-bottom: 8px; color: var(--text-soft); font-size: .8125rem; }
.product-price { color: var(--red); font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.product-card .small { margin: 2px 0 10px; font-size: .8125rem; }
.product-card .text-link { align-self: flex-start; margin-bottom: 14px; }
.product-card .brand-red-action { justify-content: center; width: 100%; margin-top: auto; }

/* About teaser / values */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 18px; }
.values span {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: .8125rem;
  font-weight: 600;
}
.about-grid .actions { gap: 8px 28px; }

/* Customers */
.customer-voices.pale { background: var(--bg); }
.customer-voices h2 { line-height: 1.15; }
.customer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.customer-grid h3 { margin: 0 0 8px; font-size: 1.15rem; }
.customer-grid h3 ~ h3 { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.customer-grid .button { width: 100%; margin-top: 10px; justify-content: flex-start; }
.customer-grid .button .icon-star { color: var(--amber); fill: var(--amber); stroke: var(--amber); }
.customer-grid .button:hover .icon-star { color: var(--amber); }

/* CTA band */
.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px 40px;
  margin-block: clamp(48px, 6vw, 80px);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(224, 8, 8, .35), transparent 70%),
    var(--navy-900);
  color: #fff;
}
.cta-band .kicker { margin-bottom: 8px; color: #ff8a8a; }
.cta-band h2 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.95rem); }
.cta-band .button { flex: none; min-height: 52px; padding-inline: 26px; }

/* 9. Inner pages ------------------------------------------------------------------ */
.page-hero,
.page-head {
  position: relative;
  padding-block: clamp(36px, 5vw, 64px);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(18, 63, 140, .08), transparent 70%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero h1,
.page-head h1 { max-width: 900px; margin-bottom: 16px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.page-head p:not(.kicker) { max-width: 680px; font-size: 1.1rem; }
.page-head .button { margin-top: 8px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-bottom: 22px;
  color: var(--text-soft);
  font-size: .8125rem;
}
.breadcrumb a { color: var(--text-muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.lead { max-width: 720px; margin: 0; color: var(--text-muted); font-size: 1.125rem; line-height: 1.65; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.page-hero-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.prose { max-width: 760px; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.35rem, 1.15rem + .6vw, 1.65rem); }
.prose h2:first-child,
.prose .status + h2 { margin-top: 0; }
.prose .status { margin-bottom: 20px; }
.prose p,
.prose li { font-size: 1.025rem; }
.prose ul,
.prose ol { margin: 0 0 1.2em; padding: 0; list-style: none; }
.prose li { position: relative; margin-bottom: 12px; padding-left: 30px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--red);
  transform: rotate(45deg);
}
.prose ol { counter-reset: step; }
.prose ol li { counter-increment: step; padding-left: 42px; min-height: 30px; padding-top: 2px; }
.prose ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
}
.prose > .text-link,
.prose > .button { margin-top: 18px; }
.prose details:first-of-type { margin-top: 28px; }

.detail-aside,
.panel,
.request-panel,
.contact-summary {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.detail-aside {
  position: sticky;
  top: calc(var(--header-h) + 76px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: var(--bg-alt);
}
.detail-aside h3 { margin-bottom: 6px; font-size: 1.25rem; }
.detail-aside .button { width: 100%; margin-block: 14px 6px; }
.detail-aside p { margin-bottom: 4px; }
.detail-aside .small { margin-top: 10px; }

.facts { margin: 8px 0 24px; border-top: 1px solid var(--border); }
.facts > div {
  display: grid;
  grid-template-columns: minmax(160px, .9fr) 1.4fr;
  gap: 6px 24px;
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
}
.facts dt { color: var(--text); font-size: .9375rem; font-weight: 700; }
.facts dd { margin: 0; color: var(--text-muted); font-size: .9375rem; }

details { border-bottom: 1px solid var(--border); }
.prose details { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; background: var(--surface); }
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  color: var(--text);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.prose summary { padding: 16px 18px; }
summary::-webkit-details-marker { display: none; }
.summary-icon { width: 18px; height: 18px; color: var(--text-soft); transition: transform .25s var(--ease); }
details[open] > summary .summary-icon { transform: rotate(180deg); color: var(--red); }
details p { margin: 0; padding: 0 0 16px; }
.prose details p { padding: 0 18px 18px; }

.inline-help {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  margin-top: 36px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.inline-help h2 { margin-bottom: 8px; font-size: 1.4rem; }
.inline-help p { margin: 0; }
.inline-help .button,
.inline-help .text-link { flex: none; }
.inline-help + .text-link { margin-top: 20px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filter-bar button {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 600;
  transition: all .2s var(--ease);
}
.filter-bar button:hover { border-color: var(--blue); color: var(--blue); }
.filter-bar button.selected { border-color: var(--blue); background: var(--blue); color: #fff; }

.policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel h2 { font-size: 1.35rem; }
.panel h3 { font-size: 1.15rem; }
.panel > :last-child { margin-bottom: 0; }
.panel .button { margin-top: 8px; }
.panel .phone { margin-top: 4px; }

.reading { max-width: 860px; }
.reading figure { margin-bottom: 36px; }
.reading img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-lg); }
.reading .button { margin-bottom: 8px; }

.service-directory > section { margin-bottom: 56px; scroll-margin-top: 140px; }
.service-directory > section:last-child { margin-bottom: 0; }
.service-directory h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem);
}
.service-directory h2::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.service-directory .three { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-directory .card > img { aspect-ratio: 16 / 10; }
.service-directory .card-body { padding: 18px 18px 20px; }
.service-directory .card h3 { font-size: 1.05rem; }

.empty-state {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  text-align: center;
}
.empty-state p { max-width: 600px; margin: 0 auto 24px; }
.empty-state .actions { justify-content: center; }
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
}
.empty-icon .icon { width: 28px; height: 28px; }
.empty-state h2 { font-size: 1.5rem; }

/* Topic shortcuts & jump links */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 48px; }
.topic {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.topic:hover { box-shadow: var(--shadow); border-color: var(--border-strong); border-left-color: var(--red); }
.topic span { color: var(--text); font-weight: 700; }
.topic small { grid-column: 1; color: var(--text-muted); }
.topic-arrow { grid-row: 1 / 3; grid-column: 2; width: 18px; height: 18px; color: var(--text-soft); }
.topic:hover .topic-arrow { color: var(--red); }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump-links a {
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: .875rem;
  font-weight: 600;
  transition: all .2s var(--ease);
}
.jump-links a:hover { border-color: var(--blue); background: var(--blue); color: #fff; }

/* Search */
.search-page > * { max-width: 900px; }
.search-field { position: relative; display: block; }
.search-field > .icon {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  color: var(--text-soft);
  transform: translateY(-50%);
  pointer-events: none;
}
.search-field input { padding-left: 52px !important; }
.search-input { min-height: 60px; margin-bottom: 18px; font-size: 1.125rem !important; border-radius: var(--radius) !important; }
#search-count { margin: 0 0 8px; color: var(--text-soft); font-size: .875rem; }
#search-results article { padding: 22px 0; border-bottom: 1px solid var(--border); }
#search-results .card-label { margin-bottom: 4px; }
#search-results h3 { margin: 0 0 6px; font-size: 1.2rem; }
#search-results h3 a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
#search-results p { margin: 0; }
.search-empty { padding: 28px 0; }

/* 10. Forms --------------------------------------------------------------------- */
input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
textarea { min-height: 96px; resize: vertical; }
input::placeholder,
textarea::placeholder { color: var(--text-soft); }
input:hover,
select:hover,
textarea:hover { border-color: #9fb0c6; }
input:focus,
select:focus,
textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18, 63, 140, .14); }
select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356647a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
input[type="date"],
input[type="time"],
input[type="datetime-local"] { min-height: 48px; }

.field { margin-bottom: 18px; }
.field label,
.schedule-filter,
.consult-copy label,
#booking-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: .875rem;
  font-weight: 600;
}
.consult-copy label input,
.consult-copy label select,
.consult-copy label textarea,
#booking-form label input,
#booking-form label select,
.schedule-filter input { margin-top: 7px; font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-notice {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #cddcf3;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--text);
  font-size: .9rem;
}
#request-form .button[type="submit"] { width: 100%; min-height: 52px; }
#request-result {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #cddcf3;
  border-radius: var(--radius);
  background: var(--blue-50);
}
#request-result h3 { margin-bottom: 6px; }
#request-result textarea { margin-block: 12px; background: var(--surface); }
#request-result .actions { margin-top: 4px; }
[role="alert"]:not(:empty) { margin-top: 10px; color: #c20000; font-weight: 600; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.request-panel h2 { font-size: 1.5rem; }
.contact-summary { position: sticky; top: calc(var(--header-h) + 76px); background: var(--bg-alt); }
.contact-summary h3 { margin: 22px 0 8px; font-size: 1.05rem; }
.contact-summary h3:first-of-type { margin-top: 4px; }
.phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
.phone .icon { width: 20px; height: 20px; color: var(--red); }
.phone:hover { color: var(--red); }
.contact-summary .phone { display: flex; }
.contact-summary p { margin: 16px 0 6px; font-size: .9rem; }

/* 11. Training ------------------------------------------------------------------- */
.training-header .identity { height: 84px; }
.compact .training-header .identity { height: 68px; }
.training-hero {
  padding-block: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(18, 63, 140, .12), transparent 70%),
    var(--bg-alt);
}
.training-hero > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.training-hero h1 { color: var(--navy-900); font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.training-hero p:not(.kicker) { max-width: 480px; font-size: 1.1rem; }
.training-hero img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.training-hero .actions { margin-top: 26px; }

#muc-tieu .three { margin-top: 26px; }
.goal-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.goal-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.goal-text { flex: 1; }
.goal-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: .9375rem;
  font-weight: 800;
}
.goal-arrow { width: 18px; height: 18px; color: var(--red); transition: transform .2s var(--ease); }
.goal-card:hover .goal-arrow { transform: translateX(3px); }

.course-showcase > img { aspect-ratio: 16 / 10; }
.training-schedule-banner {
  background:
    radial-gradient(600px 300px at 100% 100%, rgba(224, 8, 8, .25), transparent 70%),
    var(--navy-900);
  color: #fff;
  text-align: center;
}
.training-schedule-banner .wrap { display: flex; flex-direction: column; align-items: center; }
.training-schedule-banner h2 { color: #fff; }
.training-schedule-banner .kicker { color: #ff8a8a; }
.training-schedule-banner p { max-width: 560px; color: #c0d0e8; }

.schedule-notice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
  padding: 20px 22px;
  border: 1px solid #f0dca0;
  border-left: 4px solid #e0a100;
  border-radius: var(--radius-sm);
  background: #fffaeb;
  color: var(--text);
}
.schedule-notice p { margin: 0; color: #5e5136; }
.schedule-filter { max-width: 520px; margin-bottom: 32px; }
.schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.schedule-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.schedule-card > img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.schedule-card > div { display: flex; flex-direction: column; padding: 22px; }
.schedule-card h2 { margin-bottom: 14px; font-size: 1.25rem; }
.schedule-card dl { display: grid; grid-template-columns: 92px 1fr; gap: 8px 12px; margin: 0 0 18px; font-size: .875rem; }
.schedule-card dt { color: var(--text-soft); }
.schedule-card dd { margin: 0; color: var(--text); font-weight: 600; }
.schedule-card .actions { justify-content: space-between; margin-top: auto; }
.schedule-card .button { min-height: 42px; padding: 9px 16px; font-size: .8125rem; }

.training-footer { display: grid; grid-template-columns: 1.3fr 1fr .9fr; gap: 48px; }
.training-footer h3 { line-height: 1.45; }

.training-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 210px;
}
.training-contact > a,
.training-contact > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: .9375rem;
  box-shadow: 0 10px 24px -10px rgba(6, 20, 48, .55);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.training-contact > button { background: var(--red); }
.training-contact > *:hover { transform: translateY(-2px); }

/* 12. About -------------------------------------------------------------------------- */
.about-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
}
.about-jump a {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: .875rem;
  font-weight: 600;
  transition: all .2s var(--ease);
}
.about-jump a:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.about-facts { display: flex; flex-wrap: wrap; gap: 20px; margin: 28px 0 0; }
.about-facts > div {
  min-width: 220px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.about-facts b { display: block; color: var(--blue); font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.about-facts span { color: var(--text-muted); font-size: .875rem; }
#dinh-huong .three,
#linh-vuc .three,
#co-so ~ .pale .three { margin-top: 24px; }
.about-values { margin-top: 28px; gap: 20px; }
.about-values article {
  padding: 24px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.about-values h3 { margin-bottom: 8px; }
.about-values p { margin: 0; font-size: .9375rem; }
.overview-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 36px; }
.overview-gallery figure { overflow: hidden; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); }
.overview-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.overview-gallery figure:hover img { transform: scale(1.04); }
.overview-gallery figcaption { padding: 10px 14px 12px; color: var(--text-muted); font-size: .8125rem; line-height: 1.45; }
#co-so .two { margin-bottom: 16px; }
#co-so .two article { padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); }
#co-so .two h3 { margin-bottom: 4px; font-size: 1.05rem; }
#co-so .two p { margin: 0; }
main > section.wrap.section > .grid.two { margin-block: 24px 40px; }

/* 13. Footer ----------------------------------------------------------------------- */
.tpa-footer {
  padding: clamp(48px, 6vw, 72px) 0 24px;
  background: var(--navy-950);
  color: #dbe5f3;
  font-size: .9rem;
  --zalo-ink: var(--navy-950);
}
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-grid > div,
.training-footer > div { min-width: 0; }
.footer-logo {
  width: 168px;
  margin-bottom: 20px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
}
.tpa-footer h3 { margin-bottom: 16px; color: #fff; font-size: 1rem; letter-spacing: 0; }
.tpa-footer p { color: #a9bbd6; font-size: .875rem; line-height: 1.6; }
.tpa-footer p small { display: block; color: #8299bb; font-size: .8rem; }
.tpa-footer b { color: #fff; }
.tpa-footer a { display: block; margin-bottom: 8px; color: #dbe5f3; transition: color .15s; }
.tpa-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tpa-footer a[href^="tel:"],
.tpa-footer a[href^="mailto:"],
.footer-address {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tpa-footer a[href^="tel:"] { color: var(--amber); font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.tpa-footer a[href^="tel:"]:hover { color: #ffe08a; }
.tpa-footer a[href^="tel:"] .icon,
.tpa-footer a[href^="mailto:"] .icon,
.footer-address .icon,
.footer-hours .icon { width: 17px; height: 17px; color: #6f8cb8; }
.tpa-footer p a[href^="tel:"] { margin: 6px 0 2px; }
.footer-address { align-items: flex-start; line-height: 1.5; }
.footer-address .icon { margin-top: 3px; }
.tpa-footer a[href^="mailto:"] { font-size: .8125rem; white-space: nowrap; }
.footer-hours { display: flex; gap: 10px; align-items: flex-start; }
.footer-hours .icon { margin-top: 3px; }
.tpa-footer .button { display: inline-flex; margin-top: 6px; color: #fff; text-decoration: none; }
.tpa-footer .button:hover { color: #fff; text-decoration: none; }
.footer-grid > div:first-child > b { display: block; margin-bottom: 18px; font-size: .875rem; line-height: 1.6; color: #fff; }

.footer-maps { margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-maps h2 { margin-bottom: 20px; color: #fff; font-size: 1.4rem; }
.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.map-card { overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.map-card iframe { width: 100%; height: 240px; border: 0; background: #e3e9f1; }
.map-card > div { padding: 18px 20px; }
.map-card h3 { margin-bottom: 4px; }
.map-card p { margin-bottom: 8px; }
.map-card a { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #fff; font-weight: 700; }
.map-card a .icon { width: 16px; height: 16px; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #8299bb;
  font-size: .8125rem;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  color: #dbe5f3;
}
.footer-social a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.footer-social .icon { width: 19px; height: 19px; }

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-widgets .widget { padding: 0; border: 0; border-radius: 0; background: none; color: #a9bbd6; font-size: .85rem; line-height: 1.7; }
.footer-widgets .widget-title { display: block; margin: 0 0 10px; color: #fff; font-size: .95rem; font-weight: 700; }
.footer-widgets .widget-title::before { display: none; }
.footer-widgets .widget p { margin: 0 0 .6em; }
.footer-widgets .widget p,
.footer-widgets .widget span { color: #a9bbd6 !important; font-size: .85rem; text-align: left !important; }
.footer-widgets .textwidget > :last-child { margin-bottom: 0; }
.footer-widgets .widget strong { color: #fff; }
.footer-widgets .widget a { display: inline; margin: 0; color: #dbe5f3; font-size: inherit; text-decoration: underline; text-decoration-color: rgba(219, 229, 243, .35); text-underline-offset: 3px; }
.footer-widgets .widget a:hover { color: #fff; text-decoration-color: currentColor; }
.footer-widgets .widget hr { display: none; }

/* 14. Contact dock --------------------------------------------------------------- */
.contact-dock {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 35;
  display: grid;
  gap: 10px;
}
.contact-dock > a,
.contact-dock > button {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(6, 20, 48, .5);
  transition: transform .2s var(--ease);
}
.contact-dock > *:hover { transform: scale(1.06); }
.contact-dock .icon { width: 24px; height: 24px; }
.dock-phone { background: var(--green); }
.dock-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(31, 138, 76, .55);
  animation: ring 2.4s infinite;
}
@keyframes ring { 70% { box-shadow: 0 0 0 14px rgba(31, 138, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 138, 76, 0); } }
.dock-zalo { background: var(--zalo); --zalo-ink: var(--zalo); }
.dock-zalo .icon { width: 28px; height: 28px; }
.dock-messenger { background: linear-gradient(135deg, #00b2ff, #006aff 60%, #a033ff); }
.dock-chat { background: var(--red); }
.dock-chat.is-active { background: var(--navy-900); }
.contact-dock span {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--navy-900);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(6px, -50%);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.contact-dock > *:hover span,
.contact-dock > *:focus-visible span { opacity: 1; transform: translate(0, -50%); }

/* 15. Chat ----------------------------------------------------------------------------- */
.tpa-chat {
  position: fixed;
  right: 88px;
  bottom: 24px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  width: 370px;
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.chat-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 20px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue));
  color: #fff;
}
.chat-heading b { font-size: 1rem; }
.chat-heading small { display: block; color: #c4d6f3; font-size: .78rem; }
.chat-heading button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.chat-heading button:hover { background: rgba(255, 255, 255, .22); }
.chat-heading .icon { width: 18px; height: 18px; }
.chat-log { flex: 1; min-height: 140px; max-height: 320px; padding: 16px; overflow-y: auto; font-size: .9rem; line-height: 1.55; background: var(--bg-alt); }
.chat-answer {
  max-width: 92%;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px 14px 14px 14px;
  background: var(--surface);
  color: var(--text);
}
.chat-answer p { margin: 0; color: var(--text); }
.chat-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chat-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: .8125rem;
  font-weight: 700;
}
.chat-links a:hover { background: var(--blue); color: #fff; }
.chat-links .icon { width: 14px; height: 14px; }
.chat-question {
  width: fit-content;
  max-width: 85%;
  margin: 12px 0 12px auto;
  padding: 10px 14px;
  border-radius: 14px 4px 14px 14px;
  background: var(--blue);
  color: #fff;
}
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 4px; border-top: 1px solid var(--border); }
.chat-suggestions button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue);
  font-size: .8125rem;
  font-weight: 600;
}
.chat-suggestions button:hover { border-color: var(--blue); background: var(--blue-50); }
#chat-form { display: flex; gap: 8px; padding: 10px 14px; }
#chat-input { min-height: 44px; padding: 10px 14px; border-radius: 999px; font-size: .9375rem; }
#chat-form button {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
#chat-form button:hover { background: var(--red-700); }
#chat-form .icon { width: 18px; height: 18px; }
.chat-disclaimer { margin: 0; padding: 0 16px 12px; color: var(--text-soft); font-size: .72rem; line-height: 1.45; }

/* 16. Dialogs --------------------------------------------------------------------------- */
html:has(body.dialog-open) { overflow: hidden; }
.tpa-dialog {
  max-height: 92dvh;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  scrollbar-width: thin;
}
.tpa-dialog[open] { animation: pop .25s var(--ease); }
.tpa-dialog:focus { outline: none; }
.tpa-dialog::backdrop { background: rgba(4, 12, 30, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(6, 20, 48, .6);
  color: #fff;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.dialog-close:hover { background: var(--red); transform: rotate(90deg); }
.dialog-close .icon { width: 20px; height: 20px; }

.offer-dialog { width: min(820px, 94vw); }
.offer-heading { padding: 18px 70px 16px 24px; background: var(--navy-900); color: #fff; }
.offer-heading span { color: #9fb6da; font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.offer-heading h2 { margin: 2px 0 0; color: #fff; font-size: 1.35rem; }
.offer-dialog > img { width: 100%; max-height: 62dvh; object-fit: contain; background: var(--surface-2); }
.offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 24px; }
.offer-actions p { margin: 0 auto 0 0; color: var(--text-muted); font-size: .875rem; }
.quiet-button {
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quiet-button:hover { color: var(--text); }

.live-booking-dialog { width: min(1080px, 95vw); }
.live-booking-dialog .dialog-close { position: sticky; float: right; top: 12px; margin: 12px 12px -52px 0; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.live-booking-dialog .dialog-close:hover { background: var(--red); color: #fff; }
.live-booking-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.live-booking-content { min-width: 0; padding: 28px 32px 32px; }
.booking-brand {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--blue-50);
}
.booking-brand > img { width: 100%; }
.booking-brand h2 { margin: 0; color: var(--blue); font-size: 1.15rem; }
.booking-brand p { margin: 2px 0 6px; color: var(--text-muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.booking-brand b { color: var(--text); font-size: .875rem; }
.hotline-pair { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 2px; }
.hotline-pair a { color: var(--red); font-size: 1.35rem; font-weight: 800; letter-spacing: .01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hotline-pair a:hover { text-decoration: underline; text-underline-offset: 3px; }
.booking-call { grid-column: 1 / -1; width: 100%; }
.booking-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 4px;
  color: var(--text-soft);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
}
.booking-divider::before,
.booking-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
#booking-form fieldset { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
#booking-form legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 0;
  color: var(--blue);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .06em;
}
#booking-form label { margin-bottom: 0; }
.booking-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-fields > * { min-width: 0; }
.message-count { display: block; margin-top: 4px; color: var(--text-soft); font-size: .75rem; text-align: right; }
.booking-submit { width: 100%; min-height: 54px; margin-top: 20px; font-size: 1rem; }
.booking-privacy,
.booking-followup { margin: 10px 0 0; color: var(--text-soft); font-size: .8125rem; line-height: 1.55; }
#booking-result { margin-top: 20px; padding: 20px; border-radius: var(--radius); background: var(--blue-50); }
#booking-result h3 { margin-bottom: 6px; font-size: 1.1rem; }
#booking-text { margin-block: 10px; font-size: .875rem; background: var(--surface); }
.booking-result-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.live-booking-visual { min-width: 0; background: var(--navy-900); color: #fff; }
.live-booking-visual > img { width: 100%; height: 300px; object-fit: cover; }
.live-booking-visual > div { padding: 28px; }
.live-booking-visual h3 { margin-bottom: 22px; color: #fff; font-size: 1.35rem; }
.live-booking-visual em { color: #ff6b6b; font-style: normal; }
.live-booking-visual ul { color: #fff; display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.live-booking-visual li { padding-left: 16px; border-left: 3px solid var(--red); }
.live-booking-visual b { display: block; margin-bottom: 4px; font-size: .9375rem; letter-spacing: .02em; }
.live-booking-visual span { color: #b8c9e2; font-size: .9rem; line-height: 1.6; }

.consultation-dialog { width: min(640px, 94vw); }
.consult-copy { padding: 34px 34px 30px; }
.consult-copy h2 { padding-right: 40px; font-size: 1.6rem; }
.consult-copy .dialog-close,
.consultation-dialog .dialog-close { background: var(--bg-alt); color: var(--text); }
.consultation-dialog .dialog-close:hover { background: var(--red); color: #fff; }
.hotline-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--red); font-size: 1.6rem; font-weight: 800; }
.consult-copy label { margin: 14px 0 0; }
.consult-copy .button { width: 100%; margin-top: 18px; }
#consult-result { margin-top: 20px; padding: 20px; border-radius: var(--radius); background: var(--blue-50); }
#consult-result textarea { margin-block: 10px; background: var(--surface); }
#consult-result .button { margin-top: 8px; }

/* 17. Utilities ------------------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 18. Dark theme --------------------------------------------------------------------- */
[data-theme="dark"] {
  --bg: #0b1424;
  --bg-alt: #0f1b2f;
  --surface: #12203a;
  --surface-2: #172846;
  --text: #e8eef8;
  --text-muted: #a8b7cd;
  --text-soft: #8193ad;
  --border: #22344f;
  --border-strong: #33496b;
  --link: #8fb8ff;
  --kicker: #ff6b6b;
  --blue-50: #172b4d;
  --header-bg: rgba(11, 20, 36, .9);
  --shadow: 0 12px 30px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
[data-theme="dark"] .button.secondary { border-color: #5d84c6; color: #cfe0ff; }
[data-theme="dark"] .button.secondary:hover { background: #cfe0ff; border-color: #cfe0ff; color: var(--navy-900); }
[data-theme="dark"] .icon-button { color: #cfe0ff; }
[data-theme="dark"] .icon-button:hover { background: var(--surface-2); }
[data-theme="dark"] .logo img,
[data-theme="dark"] .booking-brand > img { padding: 4px 8px; border-radius: 10px; background: #fff; }
[data-theme="dark"] .brand-line strong,
[data-theme="dark"] .training-brand b,
[data-theme="dark"] .card-label,
[data-theme="dark"] .nav-dropdown .dropdown-heading,
[data-theme="dark"] .phone,
[data-theme="dark"] .booking-brand h2,
[data-theme="dark"] #booking-form legend,
[data-theme="dark"] .about-facts b,
[data-theme="dark"] .goal-num,
[data-theme="dark"] .need-icon,
[data-theme="dark"] .empty-icon,
[data-theme="dark"] .prose ol li::before,
[data-theme="dark"] .chat-links a,
[data-theme="dark"] .chat-suggestions button,
[data-theme="dark"] .mega-category[open] summary,
[data-theme="dark"] .nav-label > a:hover,
[data-theme="dark"] .nav-item.is-open .nav-label > a,
[data-theme="dark"] .nav-label > a[aria-current],
[data-theme="dark"] .training-nav > a:hover { color: #9cc0ff; }
[data-theme="dark"] .training-hero h1 { color: var(--text); }
[data-theme="dark"] .filter-bar button.selected,
[data-theme="dark"] .chat-question { border-color: #2f62bd; background: #2f62bd; }
[data-theme="dark"] .price-cta,
[data-theme="dark"] .price-value--quote strong,
[data-theme="dark"] .price-icon { color: #9cc0ff; }
[data-theme="dark"] .price-card:hover .price-icon { background: #2f62bd; color: #fff; }
[data-theme="dark"] .price-card:hover .price-cta { color: #fff; }
[data-theme="dark"] .price-value strong { color: #ff6b6b; }
[data-theme="dark"] .product-card > a > img { mix-blend-mode: normal; background: #fff; border-radius: 10px; }
[data-theme="dark"] .product-card > a { padding: 14px; }
[data-theme="dark"] .knowledge-four .card-image img { background: #fff; }
[data-theme="dark"] .status { background: #3a3013; color: #ffd978; }
[data-theme="dark"] .schedule-notice { border-color: #5a4a1c; background: #2a2412; }
[data-theme="dark"] .schedule-notice p { color: #d9c99b; }
[data-theme="dark"] .form-notice,
[data-theme="dark"] #request-result { border-color: #2a4675; }
[data-theme="dark"] select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8b7cd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
[data-theme="dark"] input:hover,
[data-theme="dark"] select:hover,
[data-theme="dark"] textarea:hover { border-color: #4a6690; }
[data-theme="dark"] input:focus,
[data-theme="dark"] select:focus,
[data-theme="dark"] textarea:focus { border-color: #6d9cf0; box-shadow: 0 0 0 4px rgba(109, 156, 240, .2); }
[data-theme="dark"] .text-link:hover { color: #c3d8ff; }
[data-theme="dark"] .page-hero,
[data-theme="dark"] .page-head,
[data-theme="dark"] .training-hero { background: radial-gradient(600px 300px at 100% 0%, rgba(80, 130, 230, .14), transparent 70%), var(--bg-alt); }
[data-theme="dark"] .offer-dialog > img { background: #0b1424; }
[data-theme="dark"] .knowledge-card:hover h3 a { color: #9cc0ff; }
[data-theme="dark"] .knowledge-card .card-more,
[data-theme="dark"] .value-icon { color: #ff7b7b; }

/* 19. Responsive ------------------------------------------------------------------------ */
@media (max-width: 1180px) {
  .brand-line,
  .training-brand { display: none; }
  .nav-label > a { font-size: .875rem; }
  .mega-columns { grid-template-columns: 1fr 1.6fr; }
  .mega-promo { display: none; }
  .pricing-grid,
  .four,
  .knowledge-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .service-directory .three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-card { grid-template-columns: 1fr; }
  .schedule-card > img { height: 200px; min-height: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  html { scroll-padding-top: 90px; }
  .compact .identity { height: var(--header-h); }
  .logo,
  .compact .logo { width: 108px; }
  .mobile-toggle { display: inline-grid; }

  .nav-border { border: 0; }
  nav#navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - var(--header-h));
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) calc(100px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .mobile-open nav#navigation { display: flex; animation: drop .22s var(--ease); }
  html:has(body.mobile-open) { overflow: hidden; }
  .training-nav { gap: 0 !important; }
  .nav-item { flex-direction: column; }
  .nav-label { justify-content: space-between; border-bottom: 1px solid var(--border); }
  .nav-label > a,
  .training-nav > a { min-height: 56px; font-size: 1rem; flex: 1; }
  .training-nav > a { border-bottom: 1px solid var(--border); }
  .nav-label > a::after,
  .training-nav > a::after { display: none; }
  .nav-expand { width: 48px; height: 48px; border-radius: 10px; }
  .nav-expand .icon { width: 20px; height: 20px; }
  .nav-dropdown {
    position: static;
    display: block;
    margin: 8px 0 12px;
    padding: 8px 16px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    box-shadow: none;
  }
  .nav-dropdown > a { min-height: 46px; font-size: .9375rem; }
  .nav-dropdown > a:last-child { border-bottom: 0; }
  .nav-dropdown .dropdown-heading { font-size: 1rem; margin: 0; border-bottom: 1px solid var(--border); }
  .service-mega-v3 { max-height: none; overflow: visible; }
  .mega-columns { display: block; }
  .mega-featured { margin-top: 20px; }
  .mega-category a { font-size: .9375rem; padding: 10px; }
  .mega-feature-grid { display: none; }
  .mega-featured .mega-title { display: none; }
  .mega-featured > .text-link { margin-top: 0; }

  .hero-layout,
  .education-feature,
  .about-grid,
  .page-hero-grid,
  .training-hero > .wrap,
  .customer-grid,
  .detail-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .hero-copy > p:not(.kicker) { max-width: none; }
  .tpa-slideshow figcaption { padding-right: 22px; padding-bottom: 70px; }
  .slide-images { aspect-ratio: 4 / 3; }
  .education-feature > img,
  .education-feature figure,
  .about-grid figure { order: -1; }
  .about-teaser .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 640px; margin-right: 24px; }
  .education-feature > img,
  .education-feature figure img,
  .about-grid img { aspect-ratio: 16 / 10; }
  .page-hero-grid img { aspect-ratio: 16 / 9; max-height: 360px; }
  .detail-aside,
  .contact-summary { position: static; }
  .three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-section .three { gap: 28px 20px; }
  .policy-grid { grid-template-columns: 1fr; }
  .training-footer { grid-template-columns: 1fr 1fr; }
  .overview-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-heading > p { max-width: 640px; }
  .cta-band { flex-direction: column; align-items: flex-start; }

  /* Contact dock becomes a bottom bar */
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .contact-dock {
    left: 0;
    right: 0;
    bottom: 0;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
  }
  .contact-dock > a,
  .contact-dock > button {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    height: 52px;
    border-radius: 12px;
    box-shadow: none;
  }
  .contact-dock > *:hover { transform: none; }
  .contact-dock .icon { width: 20px; height: 20px; }
  .dock-zalo .icon { width: 24px; height: 24px; margin-block: -2px; }
  .contact-dock span {
    position: static;
    padding: 0;
    background: none;
    font-size: .72rem;
    opacity: 1;
    transform: none;
  }
  .dock-phone::before { display: none; }
  .tpa-chat { right: 12px; left: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); width: auto; max-height: calc(100dvh - 110px); }

  .training-site { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .training-contact {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    flex-direction: row;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .training-contact > * { flex: 1; min-height: 48px; box-shadow: none; font-size: .875rem; }
}

@media (max-width: 760px) {
  .live-booking-layout { grid-template-columns: 1fr; }
  .live-booking-visual > img { display: none; }
  .live-booking-visual > div { padding: 22px; }
  .live-booking-content { padding: 22px 20px 24px; }
  .live-booking-dialog .dialog-close { margin: 10px 10px -50px 0; }
  .schedule-grid { grid-template-columns: 1fr; }
  .maps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .topline { font-size: .75rem; }
  .topline .wrap { flex-wrap: wrap; justify-content: center; gap: 2px 12px; padding-block: 8px; }
  .topline .wrap > a { display: none; }
  .training-top .wrap { flex-wrap: wrap; justify-content: center; gap: 2px 16px; padding-block: 8px; }
  .training-top a { font-size: .75rem; white-space: nowrap; }
  .training-hero .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .training-hero .button { padding-inline: 10px; font-size: .875rem; }
  .brand-values { gap: 4px; padding-block: 10px; }
  .brand-values > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-inline: 4px;
    text-align: center;
  }
  .brand-values > div:first-child { padding-left: 4px; }
  .value-symbol { width: 30px; height: 30px; }
  .value-symbol .icon { width: 15px; height: 15px; }
  .brand-values strong { font-size: .625rem; letter-spacing: .04em; }
  .brand-values small { display: none; }
  .identity { gap: 10px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-button { width: 40px; height: 40px; }
  .appointment-button,
  .header-actions .button { min-height: 40px; padding: 8px 12px; font-size: .8125rem; }
  .appointment-button .icon,
  .header-actions .button .icon { display: none; }
  .header-actions .search-button { display: none; }

  .hero { padding-block: 32px 40px; }
  .hero .kicker { font-size: .72rem; }
  .hero-copy > p:not(.kicker) { font-size: 1rem; }
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero .button { padding-inline: 12px; font-size: .9rem; }
  .hero-hotline { margin-top: 24px; padding-top: 20px; }
  .tpa-slideshow figcaption { font-size: .8125rem; padding: 48px 16px 64px; }
  .slide-controls { right: 50%; transform: translateX(50%); }

  .offer-strip-heading { flex-direction: column; align-items: flex-start; padding: 18px; }
  .offer-strip-heading b { font-size: 1.05rem; }
  .needs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .needs > a { grid-template-columns: 1fr; gap: 10px; padding: 16px; align-content: start; }
  .need-arrow { display: none; }
  .needs b { font-size: .875rem; }
  .needs small { font-size: .75rem; }

  .three,
  .two,
  .grid.two,
  .pricing-grid,
  .service-directory .three { grid-template-columns: 1fr; }
  .knowledge-four,
  .four { grid-template-columns: 1fr; }
  .knowledge-section .knowledge-four { grid-template-columns: 1fr 1fr; gap: 12px; }
  .knowledge-section .knowledge-card .card-body { padding: 14px 14px 0; }
  .knowledge-card h3 { font-size: .9375rem; -webkit-line-clamp: 4; }
  .knowledge-card p { display: none; }
  .knowledge-card .card-more { margin-inline: -14px; padding: 12px 14px; font-size: .8125rem; }
  .about-media { margin-right: 12px; margin-bottom: 28px; }
  .about-media .about-inset { right: -12px; bottom: -24px; width: 44%; border-width: 4px; }
  .about-badge { top: 12px; left: 12px; padding: 10px 14px 12px; max-width: 160px; }
  .about-badge b { font-size: 1.5rem; }
  .card-body { padding: 18px 18px 20px; }
  .price-card h3,
  .price-desc { min-height: 0; }
  .pricing-foot { flex-direction: column; align-items: flex-start; }
  .pricing-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 14px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .price-card { scroll-snap-align: start; padding: 20px; }
  /* Services, videos, products: one swipeable row instead of a tall stack. */
  .garage-services .grid.three,
  .video-section .grid.three,
  .featured-products .grid.three {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 14px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: rgba(18, 63, 140, .35) transparent;
  }
  .garage-services .grid.three { scrollbar-color: rgba(255, 255, 255, .35) transparent; }
  .garage-services .grid.three > *,
  .video-section .grid.three > *,
  .featured-products .grid.three > * { min-width: 0; scroll-snap-align: start; }
  .garage-services .grid.three > :hover,
  .featured-products .grid.three > :hover { transform: none; }
  .garage-services .grid.three::-webkit-scrollbar,
  .video-section .grid.three::-webkit-scrollbar,
  .featured-products .grid.three::-webkit-scrollbar { height: 4px; }
  .garage-services .grid.three::-webkit-scrollbar-thumb,
  .video-section .grid.three::-webkit-scrollbar-thumb,
  .featured-products .grid.three::-webkit-scrollbar-thumb { border-radius: 4px; background: rgba(18, 63, 140, .35); }
  .garage-services .grid.three::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .35); }
  .price-card:hover { transform: none; }
  .price-card-head { margin-bottom: 14px; }
  .facts > div { grid-template-columns: 1fr; }
  .inline-help { flex-direction: column; align-items: flex-start; padding: 22px; }
  .detail-aside,
  .panel,
  .request-panel,
  .contact-summary { padding: 22px 18px; }
  .footer-grid,
  .training-footer { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .overview-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .overview-gallery figcaption { padding: 8px 10px 10px; font-size: .75rem; }
  .goal-card { padding: 18px; font-size: 1rem; }
  .about-facts > div { flex: 1 1 100%; }
  .schedule-card .actions { flex-direction: column; align-items: stretch; }
  .schedule-card .button { width: 100%; }
  .booking-brand { grid-template-columns: 72px 1fr; padding: 16px; }
  .booking-brand h2 { padding-right: 34px; }
  .booking-brand .hotline-pair a { font-size: 1.2rem; }
  .booking-fields { grid-template-columns: 1fr; gap: 0; }
  .booking-fields label + label { margin-top: 10px; }
  .offer-actions { padding: 14px 16px; }
  .offer-actions .button { flex: 1; }
  .offer-actions p { width: 100%; }
  .consult-copy { padding: 26px 20px 22px; }
  .cta-band .button { width: 100%; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar button { flex: none; }
}

@media (max-width: 480px) {
  .value-list { gap: 10px; }
  .value-list li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px; }
  .value-icon { width: 36px; height: 36px; }
}

@media (max-width: 380px) {
  .appointment-button { padding-inline: 10px; font-size: .75rem; }
  .logo { width: 92px; }
  .hero .actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .topline,
  .brand-ribbon,
  .tpa-header,
  .contact-dock,
  .training-contact,
  .tpa-chat,
  .tpa-footer .footer-maps { display: none !important; }
}

/* 20. WordPress integration ------------------------------------------------- */
body.tpa-home { margin: 0; }
.admin-bar .tpa-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tpa-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .tpa-header { top: 0; } }
.tpa-bg-white { background: var(--bg) !important; }
.tpa-bg-pale { background: var(--bg-alt) !important; }
.video-tabs { margin-top: 48px; }
.education-feature figure img { width: 100%; }
@media (min-width: 961px) { .education-feature.image-right > figure { order: 2; } }
.knowledge-section .knowledge-card .card-image img { aspect-ratio: 4 / 3; }
.mega-category a.mega-overview { color: var(--blue); font-weight: 600; }
.mega-single a { display: block; padding: 12px 0; color: var(--text); font-size: .9375rem; font-weight: 700; }
.mega-single a:hover { color: var(--blue); }
@media (max-width: 960px) {
  .contact-dock { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
}
.language-switch { display: flex; align-items: center; }
.language-switch img { width: 22px; height: auto; }
.language-switch a { display: inline-flex; margin: 0 2px; }
@media (max-width: 640px) { .language-switch { display: none; } }
.free-content .prose { max-width: 860px; }
.booking-shortcode input,
.booking-shortcode select,
.booking-shortcode textarea { margin-bottom: 12px; }
.booking-shortcode .wpcf7-submit { width: 100%; min-height: 52px; border: 0; border-radius: var(--radius-sm); background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }

/* Search dialog */
.search-dialog { width: min(640px, 94vw); }
.search-dialog-form { display: grid; gap: 16px; padding: 32px 28px 28px; }
.search-dialog-form .kicker { margin: 0; }
.search-dialog-form .search-input { margin: 0; }
.search-dialog .dialog-close { background: var(--bg-alt); color: var(--text); }
.search-dialog .dialog-close:hover { background: var(--red); color: #fff; }

/* Legacy chat widgets injected by GTM duplicate the contact dock */
.tpa-hide-legacy [sbz-plugin-type],
.tpa-hide-legacy #arcontactus { display: none !important; }
