/*
Theme Name: Taxi Bình Long
Theme URI: https://taxibinhlong.vn/
Author: Taxi Bình Long
Description: Theme WordPress riêng cho website Taxi Bình Long, tối ưu giao diện đặt xe, dịch vụ taxi và liên hệ nhanh.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: taxi-binh-long
*/

:root {
  --green-950: #0d1f16;
  --green-900: #143124;
  --green-800: #1e4f36;
  --green-700: #276d45;
  --gold: #f4c842;
  --gold-soft: #fff4c2;
  --red: #d9362b;
  --blue: #1769aa;
  --ink: #17211b;
  --muted: #5d6a63;
  --line: #dbe5dd;
  --paper: #ffffff;
  --wash: #f6f8f4;
  --shadow: 0 18px 45px rgba(13, 31, 22, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 31, 22, .96);
  border-bottom: 3px solid var(--gold);
  color: #fff;
}

.admin-bar .site-header {
  top: 32px;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 170px;
  height: 58px;
  object-fit: contain;
  object-position: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(244, 200, 66, .16);
  color: var(--gold);
}

.hotline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(217, 54, 43, .28);
}

.hero {
  background:
    linear-gradient(110deg, rgba(13, 31, 22, .94), rgba(30, 79, 54, .88)),
    url("./assets/images/taxi-binh-long-xe-sach.jpg") center/cover no-repeat;
  color: #fff;
  padding: 72px 0 54px;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  align-items: center;
  gap: 44px;
}

.reverse {
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.05fr);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
}

h1 {
  font-size: 62px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 12px 0 0;
}

.lead {
  margin-top: 18px;
  max-width: 620px;
  color: rgba(255, 255, 255, .88);
  font-size: 19px;
}

.page-hero .lead,
.text-only .lead {
  color: var(--muted);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 28px rgba(217, 54, 43, .24);
}

.btn-secondary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 105, 170, .18);
}

.btn-dark {
  background: var(--green-900);
  color: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(244, 200, 66, .5);
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 800;
}

.hero-media,
.feature-image {
  margin: 0;
}

.hero-media img,
.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, .9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image img {
  border-color: #fff;
}

.quick-contact {
  background: var(--gold);
  color: var(--green-950);
}

.quick-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
}

.quick-grid strong,
.quick-grid span {
  display: block;
}

.quick-grid strong {
  font-size: 22px;
  line-height: 1.2;
}

.quick-grid span {
  color: rgba(13, 31, 22, .78);
}

.quick-phone {
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.business-section {
  background: linear-gradient(180deg, #fffef7, #ffffff);
}

.business-grid {
  align-items: start;
}

.business-card,
.legal-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.business-card h3,
.legal-card h2 {
  margin-bottom: 18px;
}

.facts-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.facts-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.facts-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.facts-list dt {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--green-700);
}

.facts-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.service-band {
  background: var(--wash);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.price-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--green-800);
  color: #fff;
}

tr:last-child td {
  border-bottom: 0;
}

.note {
  color: var(--muted);
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(13, 31, 22, .08);
}

.service-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 18px;
}

.service-card p {
  color: var(--muted);
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--green-700);
  border-bottom: 3px solid var(--green-700);
  transform: rotate(-45deg);
}

.cta-section {
  padding-top: 0;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: var(--green-900);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-box p {
  color: rgba(255, 255, 255, .82);
}

.page-hero {
  padding: 66px 0;
  background: linear-gradient(180deg, #f8fbf6, #fff);
}

.text-only {
  padding-bottom: 34px;
}

.content {
  max-width: 860px;
}

.legal-content {
  display: grid;
  gap: 28px;
}

.content h2 {
  margin-top: 30px;
  font-size: 28px;
}

.content h2:first-child {
  margin-top: 0;
}

.content p,
.content li {
  color: var(--muted);
  font-size: 18px;
}

.legal p {
  font-size: 17px;
}

.compact-facts dt {
  font-size: 12px;
}

.compact-facts dd {
  font-size: 16px;
}

.policy-block ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.policy-block li {
  margin: 10px 0;
  font-size: 18px;
}

.policy-links-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf6;
}

.policy-links-grid,
.footer-links {
  display: grid;
  gap: 10px;
}

.policy-links-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.policy-links-grid a,
.footer-links a {
  display: block;
  color: var(--green-800);
  font-weight: 800;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.inline-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--green-800);
  color: #fff;
  font-weight: 800;
}

.site-footer {
  padding: 44px 0 26px;
  background: var(--green-950);
  color: rgba(255, 255, 255, .84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .8fr .9fr;
  gap: 34px;
}

.footer-logo {
  width: 190px;
  height: 66px;
  object-fit: contain;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 20px;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-weight: 800;
}

.footer-links {
  margin-top: 18px;
}

.copyright {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 14px;
}

.compact {
  padding: 22px 0;
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-line span {
  margin-right: auto;
}

.footer-line a {
  margin-top: 0;
}

.sticky-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 10px;
}

.sticky-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(13, 31, 22, .2);
}

.sticky-call {
  background: var(--red);
}

.sticky-zalo {
  background: var(--blue);
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    flex-basis: 100%;
  }

  .hotline {
    margin-left: auto;
  }

  .hero-grid,
  .split,
  .reverse,
  .quick-grid,
  .cta-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-grid {
    padding: 18px 0;
  }

  .quick-phone {
    font-size: 26px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand img {
    width: 138px;
    height: 48px;
  }

  .hotline {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .hero,
  .page-hero,
  .section {
    padding: 44px 0;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 17px;
  }

  .btn,
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 14px;
  }

  .cta-box {
    padding: 24px;
  }

  .sticky-actions {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .sticky-actions a {
    flex: 1;
    min-width: 0;
    padding: 0 10px;
    font-size: 14px;
  }

  .policy-links-grid {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 70px;
  }
}
