/* Gara Bánh Răng (garage-oto 5.0): refined and calm. Deep emerald, warm white and brass, serif titles, service groups as
   showcase rows that alternate photo and price list, floating stat plates on the hero photo, the owner's app on a green
   band. Fonts: Playfair Display (titles, numbers) + Be Vietnam Pro (text). */
:root {
  --emerald: #0e4a3b;
  --emerald-2: #176a54;
  --brass: #b88a3b;
  --brass-2: #d3a85a;
  --cream: #f7f3ea;
  --white: #ffffff;
  --ink: #17231f;
  --muted: #5d6b65;
  --line: #e1dccd;
  --k-font: 'Be Vietnam Pro', system-ui, sans-serif;
  --k-font-display: 'Playfair Display', Georgia, serif;
  --k-accent: #0e4a3b;
  --k-accent-ink: #ffffff;
  --k-ink: #17231f;
  --k-paper: #ffffff;
  --k-muted: #5d6b65;
  --k-line: #e1dccd;
  --k-radius: 12px;
}

body {
  background: var(--white);
  color: var(--ink);
  font:
    400 16px/1.65 'Be Vietnam Pro',
    system-ui,
    sans-serif;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}
.plain {
  margin: 0;
  padding: 0;
  list-style: none;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow-light {
  color: var(--brass-2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 1.5px solid var(--emerald);
  border-radius: 999px;
  background: var(--emerald);
  color: #fff;
  font:
    600 16px/1.2 'Be Vietnam Pro',
    sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--emerald-2);
  border-color: var(--emerald-2);
}
.btn-line {
  background: transparent;
  color: var(--emerald);
}
.btn-line:hover {
  background: var(--cream);
  color: var(--emerald);
}
.btn-block {
  width: 100%;
}
.round {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--brass);
  color: #fff;
  cursor: pointer;
}
.round:hover {
  background: var(--emerald);
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font:
    600 15px/1 'Be Vietnam Pro',
    sans-serif;
  cursor: pointer;
}
.link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.link-big {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--brass);
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--emerald);
  font-weight: 700;
  text-decoration: none;
}

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 0 0;
  color: var(--emerald);
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}
.gear {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--brass-2);
}
.hdr-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brass);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.hdr-menu {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--emerald);
  cursor: pointer;
}
.menu {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  padding: 6px 0;
}
.menu[data-open] {
  display: flex;
}
.menu a {
  padding: 12px 4px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  text-decoration: none;
}
.menu .menu-cta {
  color: var(--brass);
}

/* Sections */
.sec {
  padding: 48px 16px;
}
.sec > * {
  max-width: 1128px;
  margin-left: auto;
  margin-right: auto;
}
.page {
  max-width: 1160px;
  margin: 0 auto;
}
.sec-cream {
  background: var(--cream);
}
.sec-green {
  background: var(--emerald);
  color: #fff;
}
.h1 {
  font-size: 34px;
}
.h2 {
  margin-bottom: 22px;
  font-size: 30px;
}
.h3 {
  margin-bottom: 10px;
  font-size: 22px;
}
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}

/* Hero */
.hero {
  display: grid;
  gap: 30px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}
.hero-title {
  color: var(--emerald);
  font-size: 38px;
}
.hero-title em {
  color: var(--brass);
}
.hero-lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.hero-art {
  position: relative;
  margin: 0 0 28px;
}
.hero-art img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 180px 180px 24px 24px;
}
.plate {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(14, 74, 59, 0.2);
  line-height: 1.3;
}
.plate b {
  color: var(--emerald);
  font-family: 'Playfair Display', serif;
  font-size: 26px;
}
.plate span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.plate {
  left: 8px;
  bottom: -26px;
}
.plate-b {
  left: auto;
  right: 8px;
  top: 24px;
  bottom: auto;
}

/* Group showcase rows */
.groups {
  display: grid;
  gap: 22px;
  counter-reset: g;
}
.group {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  counter-increment: g;
}
.group-img {
  position: relative;
  display: block;
  min-height: 170px;
  background-size: cover;
  background-position: center;
}
.group-no::before {
  content: counter(g, decimal-leading-zero);
  position: absolute;
  top: 12px;
  left: 14px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.group-body {
  padding: 18px 20px 20px;
}
.group-name {
  margin-bottom: 10px;
  font-size: 24px;
}
.group-name a {
  text-decoration: none;
}
.group-list {
  margin-bottom: 14px;
}
.group-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.group-list a {
  text-decoration: none;
}
.group-list a:hover {
  color: var(--emerald-2);
  text-decoration: underline;
}
.group-list b {
  flex: none;
  max-width: 48%;
  color: var(--emerald);
  text-align: right;
}

/* Cards */
.cards {
  display: grid;
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}
.card-img img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}
.card-cat {
  margin: 0;
  color: var(--brass);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-name {
  margin: 4px 0 6px;
  font-size: 21px;
}
.card-name a {
  text-decoration: none;
}
.card-short {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.card-price {
  margin: 0;
}
.card-price b {
  color: var(--emerald);
  font-family: 'Playfair Display', serif;
  font-size: 19px;
}
.card-price small {
  color: var(--muted);
}

/* App */
.app-grid {
  display: grid;
  gap: 32px;
}
.app-phone .k-phone {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.perks {
  display: grid;
  gap: 14px;
}
.perks li {
  display: flex;
  gap: 12px;
}
.perks .k-icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--brass-2);
}
.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.sec-green .btn {
  background: var(--brass);
  border-color: var(--brass);
}
.sec-green .btn:hover {
  background: var(--brass-2);
  border-color: var(--brass-2);
}

/* Crew */
.crew {
  display: grid;
  gap: 16px;
}
.mech {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  background: var(--cream);
}
.mech img {
  width: 112px;
  height: 132px;
  object-fit: cover;
  object-position: top;
  border-radius: 56px 56px 14px 14px;
}
.mech-name {
  font-size: 21px;
}
.mech-role {
  margin: 4px 0 6px;
  color: var(--brass);
  font-size: 14px;
  font-weight: 700;
}
.mech-bio {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Reviews rail */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  margin: 0 -16px;
  padding: 0 16px 8px;
  scrollbar-width: none;
}
.rev {
  margin: 0;
  padding: 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  scroll-snap-align: start;
}
.rev-stars {
  margin: 0;
  color: var(--brass);
  letter-spacing: 2px;
}
.rev blockquote {
  margin: 8px 0 14px;
}
.rev figcaption {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.rev small {
  color: var(--muted);
}

/* Posts */
.posts {
  display: grid;
  gap: 20px;
}
.post {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.post img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 22px;
}
.post-date {
  display: block;
  margin-top: 12px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 700;
}
.post-title {
  margin-top: 2px;
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}
.post-excerpt {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.post:hover .post-title {
  color: var(--emerald-2);
}

/* FAQ */
.faqs {
  display: grid;
  gap: 10px;
}
.faq {
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 16px 48px 16px 18px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  top: 22px;
  right: 20px;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--brass);
  border-bottom: 2.5px solid var(--brass);
  transform: rotate(45deg);
}
.faq[open] summary::after {
  top: 26px;
  transform: rotate(-135deg);
}
.faq p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

/* Visit */
.visit {
  display: grid;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
}
.visit > * {
  max-width: none;
  margin: 0;
}
.visit-card {
  padding: 24px;
  border-radius: 26px;
  background: var(--emerald);
  color: #fff;
}
.visit-card .btn {
  background: var(--brass);
  border-color: var(--brass);
}
.visit-card .btn-line {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.map {
  min-height: 280px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--cream);
}

/* List */
.finder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 12px;
}
.search {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1.5px solid var(--emerald);
  border-radius: 999px;
  color: var(--emerald);
}
.search input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  outline: none;
}
.select {
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.filters,
.filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filters {
  margin-bottom: 22px;
}
.filter {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font:
    600 15px/1 'Be Vietnam Pro',
    sans-serif;
  cursor: pointer;
}
.filter[aria-pressed='true'] {
  border-color: var(--emerald);
  background: var(--emerald);
  color: #fff;
}
.empty {
  padding: 22px;
  border-radius: 18px;
  background: var(--cream);
  text-align: center;
}

/* Detail */
.dtop {
  padding: 24px 16px 40px;
  background: var(--cream);
}
.dtop-in {
  display: grid;
  gap: 26px;
  max-width: 1128px;
  margin: 0 auto;
}
.dshort {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.dprice-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(14, 74, 59, 0.1);
}
.dprice {
  margin: 0;
}
.dprice b {
  color: var(--emerald);
  font-family: 'Playfair Display', serif;
  font-size: 28px;
}
.dprice small {
  color: var(--muted);
}
.dprice-card .actions {
  margin-top: 14px;
}
.dimg {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 24px 120px 24px 24px;
}
.dbody {
  display: grid;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.dbody > * {
  max-width: none;
  margin: 0;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tags li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--emerald);
  font-size: 14px;
  font-weight: 700;
}
.facts {
  display: grid;
  gap: 10px;
  margin: 0;
}
.facts div {
  padding: 12px 16px;
  border-left: 4px solid var(--brass);
  border-radius: 0 14px 14px 0;
  background: var(--cream);
}
.facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.facts dd {
  margin: 2px 0 0;
  font-weight: 600;
}

/* Order, account */
.order,
.acc {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
}
.summary {
  order: -1;
  padding: 20px;
  border-radius: 26px;
  background: var(--emerald);
  color: #fff;
}
.sum-label {
  margin: 0;
  color: var(--brass-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sum-item {
  margin: 4px 0 0;
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  line-height: 1.25;
}
.sum-item:empty::before {
  content: 'Chọn dịch vụ ở ô “Dịch vụ”.';
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
}
.sum-dep {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 15px;
}
.sum-dep .k-icon {
  flex: none;
  margin-top: 3px;
  color: var(--brass-2);
}
.sum-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  font-size: 15px;
}
.sum-list li {
  display: flex;
  gap: 8px;
}
.sum-list .k-icon {
  flex: none;
  margin-top: 3px;
  color: var(--brass-2);
}
.acc-side {
  padding: 22px;
  border-radius: 26px;
  background: var(--cream);
}
.acc-side .h3 {
  margin-top: 0;
}
.acc-side .perks .k-icon {
  color: var(--brass);
}
.acc-side .btn {
  margin-top: 22px;
}

/* App page */
.features {
  display: grid;
  gap: 14px;
}
.feature {
  padding: 22px;
  border-radius: 24px;
  background: var(--cream);
}
.feature > .k-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  color: var(--brass);
}
.feature p {
  margin: 0;
  color: var(--muted);
}

/* Article */
.read {
  max-width: 740px;
  margin: 0 auto;
}
.read > * {
  max-width: none;
}
.read-lead {
  margin: 12px 0 20px;
  color: var(--muted);
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
}
.read-img {
  width: 100%;
  height: 240px;
  margin-bottom: 22px;
  object-fit: cover;
  border-radius: 26px;
}
.read-body p {
  margin: 0 0 16px;
  font-size: 17px;
}
.posts-all {
  margin-top: 22px;
}

/* Footer */
.ftr {
  background: #0a352a;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}
.ftr-in {
  display: grid;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 16px;
}
.ftr p {
  margin: 0 0 6px;
}
.brand-ftr {
  margin-bottom: 12px !important;
  color: #fff;
}
.brand-ftr .gear {
  background: var(--brass);
  color: #fff;
}
.ftr-h {
  color: var(--brass-2);
  font-weight: 700;
}
.ftr .link-big {
  color: #fff;
}
.ftr-app {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px !important;
}
.ftr-app .store {
  min-height: 44px;
  font-size: 14px;
}

@media (min-width: 720px) {
  .group {
    grid-template-columns: 1fr 1fr;
  }
  .group:nth-child(even) .group-img {
    order: 2;
  }
  .group-img {
    min-height: 240px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .crew {
    grid-template-columns: 1fr 1fr;
  }
  .rail {
    grid-auto-columns: 46%;
  }
  .posts {
    grid-template-columns: repeat(3, 1fr);
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .ftr-in {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 519px) {
  .brand {
    font-size: 18px;
  }
  .hdr-app {
    justify-content: center;
    width: 44px;
    padding: 0;
  }
  .hdr-app span {
    display: none;
  }
}

@media (min-width: 960px) {
  .hdr {
    padding: 12px max(16px, calc((100% - 1128px) / 2));
  }
  .hdr-menu {
    display: none;
  }
  .menu {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    order: -1;
    gap: 26px;
    margin-right: 10px;
    padding: 0;
  }
  .brand {
    order: -2;
  }
  .menu a {
    padding: 0;
    border: 0;
  }
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
    padding: 56px 16px 80px;
  }
  .hero-title {
    font-size: 56px;
  }
  .hero-art img {
    height: 520px;
  }
  .plate {
    left: -28px;
    bottom: 44px;
  }
  .plate-b {
    left: auto;
    right: -20px;
    top: 44px;
    bottom: auto;
  }
  .sec {
    padding: 80px 16px;
  }
  .h1 {
    font-size: 46px;
  }
  .h2 {
    font-size: 38px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-all,
  .sec-cream .cards[data-list='related'] {
    grid-template-columns: repeat(3, 1fr);
  }
  .group-body {
    align-self: center;
    padding: 28px 36px;
  }
  .group-img {
    min-height: 280px;
  }
  .app-grid {
    grid-template-columns: 340px 1fr;
    gap: 72px;
    align-items: center;
  }
  .rail {
    grid-auto-columns: calc((100% - 28px) / 3);
    margin: 0 auto;
    padding: 0 0 8px;
  }
  .faqs {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .visit {
    grid-template-columns: 1fr 1.3fr;
  }
  .finder {
    grid-template-columns: 1fr 230px 230px;
  }
  .search {
    grid-column: auto;
  }
  .dtop {
    padding: 44px 16px 56px;
  }
  .dtop-in {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .dimg {
    height: 460px;
    border-radius: 24px 180px 24px 24px;
  }
  .dbody {
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .order,
  .acc {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
  .summary {
    order: 0;
    position: sticky;
    top: 90px;
  }
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
  .read-img {
    height: 400px;
  }
}
