/* Vận tải Tri Châu — restored stylesheet */

:root {
  --blue: #1bbbe9;
  --blue-dark: #0d8fb5;
  --yellow: #ffcd27;
  --ink: #333;
  --heading: #1c2b33;
  --muted: #777;
  --line: #e4e8ea;
  --tint: #f5fbfd;
  --dark: #14232b;
  --wrap: 1120px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3 { margin: 0; line-height: 1.3; color: var(--heading); }
p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; }

:where(a, button):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.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;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

.btn {
  display: inline-block;
  margin: 4px 6px 0 0;
  padding: 11px 26px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  transition: background .3s ease;
}
.btn:hover { background: var(--blue-dark); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; border: 2px solid var(--blue); color: var(--blue); padding: 9px 24px; }
.btn--ghost:hover { background: var(--blue); color: #fff; }

.section { padding: 56px 0; }
.section-title { font-size: 30px; text-align: center; text-transform: uppercase; }
.section-lead { max-width: 760px; margin: 12px auto 34px; text-align: center; color: var(--muted); }

/* ---------- header ---------- */

.top-bar { background: var(--dark); color: #cfe3ec; font-size: 14px; }
.top-bar__inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.top-bar a { color: var(--yellow); font-weight: 700; }

.site-header { border-bottom: 3px solid var(--blue); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--heading); }
.brand img { width: 52px; height: 52px; border-radius: 6px; }
.brand span { font-size: 19px; font-weight: 700; text-transform: uppercase; }
.brand:hover { text-decoration: none; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; flex-wrap: wrap; }
.primary-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--heading);
  font-weight: 700;
  font-size: 15px;
}
.primary-nav a:hover { color: var(--blue); text-decoration: none; }

.nav-toggle {
  display: none;
  position: relative;
  margin-left: auto;
  width: 44px; height: 40px;
  padding: 0;
  background: var(--blue);
  border: 0; border-radius: 6px;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute; left: 50%;
  width: 21px; height: 2px; margin-left: -10px;
  background: #fff; content: "";
}
.nav-toggle__bars { top: 19px; }
.nav-toggle__bars::before { top: -7px; left: 0; margin-left: 0; }
.nav-toggle__bars::after { top: 7px; left: 0; margin-left: 0; }

/* ---------- about ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.about__figure { margin: 0; }
.about__figure img { width: 100%; border-radius: 8px; }
.about__text h1 { font-size: 30px; margin-bottom: 14px; color: var(--blue-dark); }
.about__text p + p { margin-top: 12px; }
.quote {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 4px solid var(--yellow);
  font-style: italic;
  font-weight: 700;
}

/* ---------- services ---------- */

.services { background: var(--tint); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.services__grid > * { min-width: 0; }
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.service img { width: 100%; aspect-ratio: 35 / 24; object-fit: contain; background: #fff; padding: 10px; }
.service__body { padding: 18px 22px 24px; }
.service h3 { font-size: 19px; margin-bottom: 8px; text-transform: uppercase; color: var(--blue-dark); }

.cta {
  margin-top: 34px;
  padding: 26px;
  background: #fff;
  border: 2px dashed var(--blue);
  border-radius: 10px;
  text-align: center;
}
.cta p:first-child { margin-bottom: 12px; font-size: 18px; font-weight: 700; }

/* ---------- posts ---------- */

.posts { display: grid; gap: 18px; }
.post {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.posts .post:last-child { border-bottom: 0; padding-bottom: 0; }
.post img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.post h3 { font-size: 18px; margin-bottom: 6px; }
.post p { color: var(--muted); }

/* ---------- footer ---------- */

.site-footer {
  padding: 44px 0 18px;
  background: var(--dark);
  color: #b9ccd6;
  font-size: 15px;
}
.site-footer h2 { margin-bottom: 12px; font-size: 17px; color: #fff; text-transform: uppercase; }
.site-footer a { color: var(--yellow); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 34px;
}
.footer__grid > * { min-width: 0; }
.footer__col li { padding: 4px 0; }
.footer__qr { width: 150px; background: #fff; padding: 6px; border-radius: 8px; }
.site-footer .btn--ghost { border-color: var(--yellow); color: var(--yellow); }
.site-footer .btn--ghost:hover { background: var(--yellow); color: var(--dark); }

.copyright {
  max-width: var(--wrap);
  margin: 30px auto 0;
  padding: 15px 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- scroll top ---------- */

.scroll-top {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 40;
  width: 44px; height: 44px;
  padding: 0;
  background: var(--blue);
  border: 0; border-radius: 50%;
  cursor: pointer;
}
.scroll-top svg { width: 26px; height: 26px; margin: 0 auto; fill: #fff; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .about__figure img { max-width: 380px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .section { padding: 40px 0; }
  .section-title { font-size: 24px; }

  .nav-toggle { display: block; }
  .primary-nav { display: none; order: 3; width: 100%; margin-left: 0; padding-bottom: 8px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: block; }
  .primary-nav li + li { border-top: 1px solid var(--line); }
  .site-header__inner { flex-wrap: wrap; }

  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .post { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
