/* ==========================================================
   Repair shop landing page — mobile-first
   Layout inspired by large VN repair chains (topbar USPs,
   category list + promo slider, "nổi bật" service blocks,
   4-step process, sticky contact actions).
   ========================================================== */

:root {
  --primary: #0b7a3b;
  --primary-dark: #075c2b;
  --primary-soft: #e8f6ec;
  --ink: #1d1d1f;
  --muted: #5f6368;
  --bg: #f4f5f7;
  --card: #fff;
  --line: #e6e8eb;
  --yellow: #ffd400;
  --yellow-soft: #fff6c7;
  --yellow-ink: #5c4a00;
  --zalo: #0068ff;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  --bar-h: 62px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: var(--bar-h); /* room for mobile bottom bar */
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 3px solid var(--zalo);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.container--narrow {
  max-width: 820px;
}
.center {
  text-align: center;
  margin-top: 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
  border-radius: 6px;
}
.skip:focus {
  left: 8px;
}

/* ---------- Icons ---------- */
.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic--fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    background-color 0.15s;
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-dark);
}
.btn--zalo {
  background: var(--zalo);
  color: #fff;
}
.btn--zalo:hover {
  background: #0052cc;
}
.btn--light {
  background: #fff;
  color: var(--primary);
}
.btn--outline {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}

/* ---------- Top USP strip ---------- */
.topbar {
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.8125rem;
}
.topbar__list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
  padding-top: 6px;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.topbar__list::-webkit-scrollbar {
  display: none;
}
.topbar__list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Header ---------- */
/* Topbar + header stay pinned while scrolling */
.sitehead {
  position: sticky;
  top: 0;
  z-index: 50;
}
.header {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  /* Mobile: space between the yellow strip and logo/hotline row */
  padding-top: 8px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.125rem;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #fff;
  color: var(--primary);
  border-radius: 10px;
}
/* Mobile: nav is a scrollable second row under logo + hotline */
.nav {
  order: 3;
  flex: 1 0 100%;
  display: flex;
  gap: 4px;
  margin: 0 -16px;
  padding: 0 12px 6px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar {
  display: none;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.hotline {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  min-height: 44px;
}
.hotline small {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.9;
  line-height: 1.1;
}
.hotline strong {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.2;
}
.hotline:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ---------- Intro (H1) ---------- */
.intro {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.intro__inner {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.intro h1 {
  font-size: 1.5rem;
  font-weight: 800;
}
.hl {
  color: var(--primary);
}
.intro__sub {
  color: var(--muted);
  margin-top: 6px;
}
.intro__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: 14px;
  padding-top: 14px;
  padding-bottom: 6px;
}

/* Categories: icon grid on mobile, vertical list on desktop */
.cats {
  order: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.cats a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 6px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}
.cats__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.1rem;
}

/* Slider (CSS scroll-snap, JS only for dots/autoplay) */
.slider {
  order: 1;
  position: relative;
  min-width: 0;
}
.slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: var(--radius);
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar {
  display: none;
}
.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: 210px;
  padding: 22px 20px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}
.slide--green {
  background: linear-gradient(135deg, #0b7a3b 0%, #20a95a 100%);
}
.slide--dark {
  background: linear-gradient(135deg, #1d1d1f 0%, #4a4a52 100%);
}
.slide--teal {
  background: linear-gradient(135deg, #075c2b 0%, #0f8f6b 100%);
}
.slide--yellow {
  background: linear-gradient(135deg, #ffc400 0%, #ffe066 100%);
}
.slide__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: 999px;
}
.slide__title {
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.slide__price {
  font-size: 1.0625rem;
}
.slide__price strong {
  color: var(--yellow);
  font-size: 1.375rem;
}
.slide .btn {
  min-height: 42px;
  padding: 8px 18px;
  margin-top: 4px;
}
.slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.slider__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.2s;
  /* enlarge hit area without changing visual size */
  box-shadow: 0 0 0 10px transparent;
}
.slider__dots button[aria-current='true'] {
  width: 22px;
  background: #fff;
}

.side {
  order: 3;
  display: none;
}
.side__card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  text-decoration: none;
}
.side__card > .ic {
  color: var(--primary);
  font-size: 1.5rem;
}
.side__card strong {
  display: block;
}
.side__card small {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 32px 0;
}
.section--white {
  background: #fff;
}
.section__title {
  font-size: 1.375rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.section__title--left {
  text-align: left;
}
.section__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--primary);
  margin: 10px auto 0;
}
.section__title--left::after {
  margin-left: 0;
}
.section__lead {
  text-align: center;
  color: var(--muted);
  margin: 12px auto 20px;
  max-width: 640px;
}
.section__title + .steps,
.section__title + .promise,
.section__title + .reviews,
.section__title + .faq {
  margin-top: 22px;
}

/* ---------- Service blocks ---------- */
.block {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 18px;
}
.block__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.block__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
}
.block__head h2 {
  font-size: 1.1875rem;
  font-weight: 800;
  text-transform: uppercase;
}
.block__head p {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 8px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.tile:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.tile > .ic {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 4px;
  stroke-width: 1.6;
}
.tile h3 {
  font-size: 0.9375rem;
  font-weight: 700;
}
.tile__price {
  font-size: 0.8125rem;
  color: var(--muted);
}
.tile__price strong {
  color: var(--primary);
  font-size: 1rem;
}
.tile__time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow-ink);
  background: var(--yellow-soft);
  border-radius: 999px;
  padding: 2px 8px;
}

/* ---------- Promo strip ---------- */
.strip {
  background: linear-gradient(90deg, #ffc400, var(--yellow));
  color: var(--ink);
}
.strip__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ---------- Price table ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.price {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.price th,
.price td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.price tbody tr:nth-child(even) {
  background: #fafafa;
}
.price tbody tr:last-child td {
  border-bottom: 0;
}
.price__val {
  color: var(--primary);
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  gap: 14px;
  counter-reset: none;
}
.step {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px 16px 16px;
}
.step__no {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-soft);
  -webkit-text-stroke: 1px #9fd8b3;
}
.step > .ic {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.step h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
  padding-right: 36px;
}
.step p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- Commitments ---------- */
.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.promise li {
  text-align: center;
  padding: 14px 8px;
}
.promise .ic {
  font-size: 1.5rem;
  color: var(--primary);
  width: 56px;
  height: 56px;
  padding: 14px;
  border-radius: 50%;
  background: var(--primary-soft);
  margin-bottom: 8px;
}
.promise h3 {
  font-size: 0.9875rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.promise p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  gap: 14px;
}
.review {
  margin: 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.review__stars {
  color: #f5a623;
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}
.review blockquote {
  margin: 0 0 10px;
  font-style: italic;
}
.review figcaption {
  font-weight: 700;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 44px 14px 16px;
  font-weight: 700;
  position: relative;
  min-height: 48px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  padding: 0 16px 16px;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  gap: 20px;
}
.contact__list {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}
.contact__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact__list .ic {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 2px;
}
.contact__list strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 600;
}
.contact__list a {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.contact__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.contact__map iframe,
.map-placeholder {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius);
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: repeating-linear-gradient(45deg, #eceef1 0 12px, #f6f7f9 12px 24px);
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}
.map-placeholder .ic {
  font-size: 2.5rem;
  color: var(--primary);
}

/* ---------- Footer ---------- */
.footer {
  background: #1d1d1f;
  color: #c9c9cf;
  font-size: 0.9375rem;
  padding-top: 28px;
}
.footer__inner {
  display: grid;
  gap: 16px;
}
.footer__inner p + p {
  margin-top: 4px;
}
.footer a {
  color: #fff;
}
.footer__brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
}
.footer__copy {
  text-align: center;
  font-size: 0.8125rem;
  border-top: 1px solid #333;
  margin-top: 24px;
  padding: 14px 16px;
}

/* ---------- Floating buttons (desktop) ---------- */
.fab {
  display: none;
}

/* ---------- Bottom bar (mobile) ---------- */
.bottombar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  height: var(--bar-h);
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottombar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.bottombar .ic {
  font-size: 1.25rem;
  color: var(--primary);
}
.bottombar__call {
  background: var(--primary);
  color: #fff !important;
  font-size: 0.875rem !important;
}
.bottombar__call .ic {
  color: #fff;
  animation: ring 1.6s infinite;
}
@keyframes ring {
  0%,
  60%,
  100% {
    transform: rotate(0);
  }
  10%,
  30%,
  50% {
    transform: rotate(-15deg);
  }
  20%,
  40% {
    transform: rotate(15deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bottombar__call .ic {
    animation: none;
  }
}

/* ==========================================================
   Tablet ≥ 600px
   ========================================================== */
@media (min-width: 600px) {
  .intro h1 {
    font-size: 1.875rem;
  }
  .intro__cta {
    display: flex;
  }
  .cats {
    grid-template-columns: repeat(5, 1fr);
  }
  .slide {
    min-height: 260px;
    padding: 28px 36px 44px;
  }
  .slide__title {
    font-size: 1.875rem;
  }
  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .promise {
    grid-template-columns: repeat(4, 1fr);
  }
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
  .strip__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .contact__cta {
    display: flex;
  }
}

/* ==========================================================
   Desktop ≥ 960px
   ========================================================== */
@media (min-width: 960px) {
  body {
    padding-bottom: 0;
  }
  .bottombar {
    display: none;
  }

  .header__inner {
    flex-wrap: nowrap;
    padding-top: 0;
  }
  .nav {
    order: 0;
    flex: 0 1 auto;
    margin: 0 0 0 24px;
    padding: 0;
  }
  .nav a {
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 8px;
    background: none;
  }
  .nav a:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .intro__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .intro h1 {
    font-size: 2rem;
  }

  .hero {
    grid-template-columns: 230px minmax(0, 1fr) 250px;
    align-items: stretch;
    padding-top: 18px;
  }
  .cats {
    order: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 6px 0;
  }
  .cats a {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    box-shadow: none;
    border-radius: 0;
    background: none;
    padding: 7px 14px;
    font-size: 0.875rem;
    text-align: left;
  }
  .cats a:hover {
    background: var(--primary-soft);
    color: var(--primary);
  }
  .cats__ic {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  .slider {
    order: 0;
  }
  .slider__track {
    height: 100%;
  }
  .slide {
    min-height: 340px;
    padding: 36px 48px 48px;
  }
  .slide__title {
    font-size: 2.25rem;
  }
  .side {
    order: 0;
    display: grid;
    gap: 12px;
    grid-auto-rows: 1fr;
  }

  .section {
    padding: 48px 0;
  }
  .section__title {
    font-size: 1.625rem;
  }
  .block {
    padding: 22px;
  }
  .tiles {
    grid-template-columns: repeat(6, 1fr);
  }
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .contact {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 40px;
  }
  .contact__map iframe,
  .map-placeholder {
    height: 360px;
  }
  .footer__inner {
    grid-template-columns: 1.2fr 1.5fr 1fr;
  }

  .fab {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 60;
  }
  .fab__btn {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    text-decoration: none;
  }
  .fab__btn--zalo {
    background: var(--zalo);
  }
  .fab__btn--call {
    background: var(--primary);
  }
  .fab__btn--top {
    background: #fff;
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .fab__btn--top.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Yellow slide: dark text for contrast */
.slide--yellow {
  color: var(--ink);
}
.slide--yellow .slide__kicker {
  background: rgba(0, 0, 0, 0.08);
}
.slide--yellow .slide__price strong {
  color: var(--primary-dark);
}
/* Yellow accent on header hotline */
.hotline strong {
  color: var(--yellow);
}

@media (min-width: 960px) {
  html {
    scroll-padding-top: 110px;
  }
}

/* Small phones: keep logo + hotline on one row so the pinned head stays short */
@media (max-width: 599px) {
  .header__inner {
    gap: 8px;
    min-height: 52px;
  }
  .logo {
    white-space: nowrap;
    font-size: 1rem;
    min-width: 0;
  }
  .logo__mark {
    width: 32px;
    height: 32px;
  }
  .hotline {
    padding: 4px 12px;
  }
  .hotline small {
    display: none;
  }
  .topbar__list {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

/* Price table fits phone width (no sideways scroll) */
@media (max-width: 599px) {
  .price {
    font-size: 0.875rem;
  }
  .price th,
  .price td {
    padding: 10px 8px;
  }
  .price__val {
    white-space: normal;
  }
}

/* ---------- Booking form ---------- */
.booking {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 16px;
}
.booking__grid {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #c9ced4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  font-size: 1rem; /* ≥16px: no zoom-in on iPhone */
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary-soft);
}
.field [aria-invalid='true'] {
  border-color: #c62828;
}
.booking__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.booking__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--muted);
}
.booking__consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--primary);
}
.booking__msg {
  margin-top: 14px;
  font-weight: 600;
}
.booking__msg:empty {
  display: none;
}
.booking__msg.is-ok {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.booking__msg.is-error {
  padding: 12px 14px;
  border-radius: 8px;
  background: #fdecea;
  color: #b3261e;
}
.booking__submit {
  width: 100%;
  margin-top: 16px;
}
.booking__submit[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.booking__alt {
  margin-top: 12px;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
}
.booking__alt a {
  color: var(--primary);
  font-weight: 700;
}
@media (min-width: 600px) {
  .booking {
    padding: 28px;
  }
  .booking__grid {
    grid-template-columns: 1fr 1fr;
  }
  .field--full {
    grid-column: 1 / -1;
  }
  .booking__submit {
    width: auto;
    min-width: 240px;
  }
}
.intro__cta .btn--outline {
  grid-column: 1 / -1;
}
.tile__book {
  margin-top: 8px;
  padding: 6px 14px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}
.tile__book:hover {
  background: var(--primary);
  color: #fff;
}
.booking__done {
  text-align: center;
  padding: 8px 0;
}
.booking__done h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.booking__done p {
  margin-bottom: 6px;
}
.booking__done .btn {
  margin-top: 12px;
}

/* ---------- Warranty lookup result ---------- */
.wcard {
  margin-top: 16px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--primary-soft);
}
.wcard[hidden] {
  display: none;
}
.wcard--expired {
  border-color: #9aa0a6;
  background: #f1f3f4;
}
.wcard--void {
  border-color: #c62828;
  background: #fdecea;
}
.wcard__status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
}
.wcard--expired .wcard__status {
  background: #5f6368;
}
.wcard--void .wcard__status {
  background: #b3261e;
}
.wcard__big {
  margin: 10px 0 12px;
  font-size: 1.125rem;
  font-weight: 800;
}
.wcard dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 12px;
  font-size: 0.9375rem;
}
.wcard dt {
  color: var(--muted);
}
.wcard dd {
  margin: 0;
  font-weight: 600;
}

/* Repair progress (lookup result for a device still at the shop) */
.wcard--repair {
  border-color: var(--yellow-ink);
  background: var(--yellow-soft);
}
.wcard--repair .wcard__status {
  background: var(--yellow);
  color: var(--ink);
}
.wcard--ready .wcard__status {
  background: var(--primary);
}
.tsteps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: tstep;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
}
.tsteps li {
  position: relative;
  padding: 30px 2px 0;
  line-height: 1.2;
  counter-increment: tstep;
}
.tsteps li::before {
  content: counter(tstep);
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border: 2px solid #c9ced4;
  border-radius: 50%;
  background: #fff;
  line-height: 20px;
}
.tsteps li + li::after {
  content: '';
  position: absolute;
  top: 11px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: #c9ced4;
}
.tsteps .is-done,
.tsteps .is-now {
  color: var(--primary-dark);
}
.tsteps .is-done::before {
  content: '✓';
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.tsteps .is-now::before {
  border-color: var(--primary);
  background: var(--yellow);
  color: var(--ink);
}
.tsteps .is-done::after,
.tsteps .is-now::after {
  background: var(--primary);
}

/* 7 nav links: keep header on one row on small desktops */
@media (min-width: 960px) and (max-width: 1199px) {
  .nav {
    margin-left: 12px;
  }
  .nav a {
    font-size: 0.9375rem;
    padding: 8px 8px;
  }
}

/* ==========================================================
   Design v2 — tidy layout + light "sparkle" effects
   (overrides above; all motion disabled for reduced-motion users)
   ========================================================== */
:root {
  --primary-2: #16a34a;
  --footer-deep: #043d1d;
  --glow: rgba(11, 122, 59, 0.35);
  --shadow-lg: 0 14px 30px -12px rgba(7, 92, 43, 0.35);
  --radius-lg: 18px;
}

h1,
.section__title {
  text-wrap: balance;
}

/* Section titles: green → yellow underline */
.section__title::after {
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--yellow));
}

/* Intro: soft glow background */
.intro {
  background:
    radial-gradient(circle at 8% 0%, var(--yellow-soft) 0, transparent 38%),
    radial-gradient(circle at 95% 100%, var(--primary-soft) 0, transparent 42%), #fff;
}
.hl {
  background: linear-gradient(transparent 62%, var(--yellow-soft) 62%);
  border-radius: 4px;
}

/* ---------- Buttons: gradient + shine sweep ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary-2), var(--primary) 55%, var(--primary-dark));
  box-shadow: 0 8px 18px -8px var(--glow);
}
.btn--zalo {
  box-shadow: 0 8px 18px -8px rgba(0, 104, 255, 0.45);
}
@media (hover: hover) {
  .btn:hover::after {
    transform: translateX(130%);
  }
  .btn--primary:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  }
}

/* ---------- Cards: rounder, lift on hover ---------- */
.block,
.cats,
.side__card,
.step,
.booking,
.pcard,
.faq details,
.contact__info,
.contact__map iframe {
  border-radius: var(--radius-lg);
}
.tile,
.side__card,
.step,
.pcard,
.trust__list li {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
@media (hover: hover) {
  .tile:hover,
  .side__card:hover,
  .step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
  }
}
.tile > .ic {
  width: 56px;
  height: 56px;
  padding: 13px;
  border-radius: 16px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--primary-soft), var(--yellow-soft));
}
.block__icon {
  background: linear-gradient(135deg, var(--primary-2), var(--primary-dark));
  box-shadow: 0 6px 14px -6px var(--glow);
}

/* ---------- Hero slider sheen ---------- */
.slide {
  position: relative;
  overflow: hidden;
}
.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  animation: sheen 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen {
  0% {
    left: -60%;
  }
  35%,
  100% {
    left: 130%;
  }
}

/* ---------- Trust band ---------- */
.trust {
  padding: 18px 0 6px;
}
.trust__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.trust__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}
.trust__ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-dark));
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.trust__list strong {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.25;
}
.trust__list small {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

/* ---------- Service tiles: compact rows on phones ---------- */
@media (max-width: 599px) {
  .tiles {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tile {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    grid-template-areas:
      'ic title book'
      'ic price book'
      'ic time book';
    align-items: center;
    column-gap: 12px;
    row-gap: 1px;
    text-align: left;
    padding: 10px 12px;
  }
  .tile > .ic {
    grid-area: ic;
    width: 48px;
    height: 48px;
    padding: 11px;
    margin: 0;
  }
  .tile h3 {
    grid-area: title;
  }
  .tile__price {
    grid-area: price;
  }
  .tile__time {
    grid-area: time;
    justify-self: start;
  }
  .tile__book {
    grid-area: book;
    margin: 0;
  }
}

/* ---------- Price: tabs + cards ---------- */
.ptabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 16px;
  padding: 5px;
  width: fit-content;
  background: var(--primary-soft);
  border-radius: 999px;
}
.ptabs[hidden] {
  display: none;
}
.ptabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--primary-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ptabs button[aria-selected='true'] {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #fff;
  box-shadow: 0 6px 14px -6px var(--glow);
}
.pgrid {
  display: grid;
  gap: 16px;
}
.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px;
}
.pcard__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 2px 4px 12px;
}
.price tbody tr {
  transition: background-color 0.15s;
}
.price tbody tr:hover {
  background: var(--yellow-soft);
}
.price td:last-child {
  color: var(--muted);
  font-size: 0.875rem;
}
.pnote {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 100% 0%, var(--yellow-soft) 0, transparent 55%), var(--primary-soft);
  border: 1px dashed var(--primary);
}
.pnote__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Booking + warranty ---------- */
.section--book {
  background:
    radial-gradient(circle at 0% 0%, var(--primary-soft) 0, transparent 40%),
    radial-gradient(circle at 100% 100%, var(--yellow-soft) 0, transparent 40%), var(--bg);
}
.book {
  display: grid;
  gap: 20px;
}
.book__lead {
  color: var(--muted);
  margin-top: 12px;
}
.book__perks {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.book__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.book__perks .ic {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  stroke-width: 3;
}
.book__warranty {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--yellow);
  padding: 20px 16px;
}
.book__warranty .booking {
  box-shadow: none;
  border: 0;
  padding: 0;
  margin-top: 14px;
}
.book > .booking {
  border-top: 5px solid var(--primary);
}

/* ---------- Process: numbered timeline ---------- */
.steps {
  position: relative;
}
.step {
  padding: 20px 18px 18px;
  z-index: 1;
}
.step__no {
  position: static;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 50%;
  font-size: 1.125rem;
  color: #fff;
  -webkit-text-stroke: 0;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-dark));
  box-shadow: 0 0 0 6px var(--primary-soft);
}
.step > .ic {
  position: absolute;
  top: 20px;
  right: 18px;
  font-size: 1.75rem;
  margin: 0;
  color: var(--yellow-ink);
  opacity: 0.5;
}
.step h3 {
  padding-right: 0;
}

/* ---------- FAQ ---------- */
.faq details {
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.faq details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.faq details[open] summary {
  color: var(--primary-dark);
}

/* ---------- Contact ---------- */
.contact__map iframe {
  box-shadow: var(--shadow-lg);
}

/* ---------- Footer ---------- */
.footer {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 0, 0.12) 0, transparent 35%),
    linear-gradient(160deg, var(--primary-dark), var(--footer-deep));
  color: rgba(255, 255, 255, 0.82);
  padding-top: 36px;
}
.footer__inner {
  gap: 26px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.footer__brand .logo__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
}
.footer__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.footer__cta .btn {
  min-height: 44px;
  padding: 8px 18px;
}
.footer .btn {
  color: #fff;
}
.footer__h {
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.footer__list {
  display: grid;
  gap: 10px;
}
.footer__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer__list .ic {
  color: var(--yellow);
  margin-top: 3px;
}
.footer__list a,
.footer__links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.footer__links a:hover,
.footer__list a:hover {
  color: var(--yellow);
  text-decoration: underline;
}
.footer__copy {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Floating call button: pulse ring ---------- */
.fab__btn--call {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--glow);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(11, 122, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(11, 122, 59, 0);
  }
}

/* Bottom bar: 5 actions */
.bottombar {
  grid-template-columns: 1.25fr repeat(4, 1fr);
}
.bottombar a {
  font-size: 0.6875rem;
}

/* ---------- Reveal on scroll (only when JS adds .reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Layout ≥ 600px ---------- */
@media (min-width: 600px) {
  .trust__list {
    grid-template-columns: repeat(4, 1fr);
  }
  .book__warranty {
    padding: 24px 28px;
  }
}

/* ---------- Layout ≥ 960px ---------- */
@media (min-width: 960px) {
  .trust {
    padding-top: 22px;
  }
  .trust__list li {
    padding: 16px;
  }
  .ptabs {
    display: none;
  }
  .pgrid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas:
      'phone laptop'
      'phone note';
    align-items: start;
    gap: 20px;
  }
  .pgrid .pcard[hidden] {
    display: block;
  }
  .pcard--phone {
    grid-area: phone;
  }
  .pcard--laptop {
    grid-area: laptop;
  }
  .pnote {
    grid-area: note;
  }
  .book {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    grid-template-areas:
      'intro form'
      'warranty form';
    align-items: start;
    column-gap: 36px;
    row-gap: 24px;
  }
  .book__intro {
    grid-area: intro;
  }
  .book > .booking,
  .book > .booking__done {
    grid-area: form;
  }
  .book__warranty {
    grid-area: warranty;
  }
  .book__warranty .booking__grid {
    grid-template-columns: 1fr;
  }
  .steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 16px);
    opacity: 0.4;
  }
  .footer__inner {
    grid-template-columns: 1.3fr 1.2fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide::after,
  .fab__btn--call {
    animation: none;
  }
  .btn::after {
    display: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .tile,
  .side__card,
  .step {
    transition: none;
  }
}

/* Keep "lấy liền" together in the H1 */
.hl {
  white-space: nowrap;
}

/* Simple text pages (chinh-sach-bao-mat.html) */
.page-plain {
  padding-bottom: 0;
}
.page-plain .header {
  position: static;
}
.prose {
  line-height: 1.65;
}
.prose h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
  color: var(--primary-dark);
}
.prose h2 {
  margin: 28px 0 8px;
  font-size: 1.1875rem;
  color: var(--primary-dark);
}
.prose p,
.prose ul {
  margin: 0 0 12px;
}
.prose ul {
  padding-left: 1.25em;
}
.prose li + li {
  margin-top: 6px;
}
.prose a {
  color: var(--primary);
  font-weight: 700;
}
.prose__back {
  font-size: 0.9375rem;
}
.prose__date {
  color: var(--muted);
  font-size: 0.9375rem;
}
.footer__copy a {
  color: inherit;
  text-decoration: underline;
}

/* ---- Category pages (generated by scripts/make-pages.mjs) ---- */
.block__more {
  margin-left: auto;
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}
.block__more:hover {
  background: var(--primary);
  color: #fff;
}
.cpage__hero {
  padding: 18px 0 26px;
  background: linear-gradient(180deg, var(--primary-soft), var(--bg));
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: var(--muted);
}
.crumbs a {
  color: var(--primary);
  font-weight: 700;
}
.cpage__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.cpage__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 16px;
  background: var(--primary);
  color: var(--yellow);
  font-size: 1.6rem;
  box-shadow: var(--shadow);
}
.cpage__head h1 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  line-height: 1.2;
  color: var(--primary-dark);
}
.cpage__lead {
  margin-top: 6px;
  font-size: 1.0625rem;
  color: var(--ink);
}
.cpage__prices {
  display: grid;
  gap: 18px;
}
.cpage__note {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.cpage__cols {
  display: grid;
  gap: 16px;
}
.cpage__box {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, var(--radius));
  box-shadow: var(--shadow);
}
.cpage__box h2 {
  margin-bottom: 12px;
  font-size: 1.1875rem;
  color: var(--primary-dark);
}
.cpage__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cpage__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.cpage__list .ic {
  flex: none;
  margin-top: 3px;
  color: var(--primary);
}
.catgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.catgrid a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
}
.catgrid a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.catgrid .ic {
  flex: none;
  color: var(--primary);
}
.cpage__end {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
@media (min-width: 768px) {
  .cpage__hero {
    padding: 26px 0 36px;
  }
  .cpage__prices:has(> .pcard:nth-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cpage__prices > .cpage__note {
    grid-column: 1 / -1;
  }
  .cpage__cols {
    grid-template-columns: 1fr 1fr;
  }
  .catgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .catgrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.catgrid a,
.block__more {
  text-decoration: none;
}

/* Static-only build (no "Đặt lịch" item): 4 actions in the bottom bar */
.bottombar:has(> a:nth-child(4):last-child) {
  grid-template-columns: 1.25fr repeat(3, 1fr);
}
