/*
Theme Name: Taxi Đồng Xoài 24H
Theme URI: https://taxidongxoai24h.asia/
Author: Taxi Đồng Xoài 24H
Description: Theme WordPress riêng cho Taxi Đồng Xoài 24H, tối ưu đặt xe nhanh và hiển thị dịch vụ taxi địa phương.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: taxi-binh-long
*/

:root {
  --red-950: #531015;
  --red-900: #7a151d;
  --red-800: #9f1d27;
  --red-700: #c62832;
  --red-600: #e23a45;
  --rose-100: #fff1f2;
  --rose-200: #ffdfe2;
  --rose-300: #ffc7cd;
  --ink: #2c1719;
  --muted: #75565b;
  --line: #efd4d8;
  --paper: #fffaf9;
  --surface: #ffffff;
  --wash: #fff3f4;
  --blue: #0f6cbd;
  --shadow: 0 22px 58px rgba(122, 21, 29, .16);
}

* {
  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(83, 16, 21, .96);
  border-bottom: 3px solid var(--red-600);
  color: #fff;
  backdrop-filter: blur(8px);
}

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

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

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffbcc4, #fff);
  color: var(--red-900);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 900;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  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 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.hotline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--red-600), var(--red-700));
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(226, 58, 69, .3);
}

.hero {
  background:
    linear-gradient(118deg, rgba(83, 16, 21, .94), rgba(198, 40, 50, .86)),
    url("assets/images/taxi5.jpeg") center/cover no-repeat;
  color: #fff;
  padding: 74px 0 58px;
}

.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: 660px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #ffe0e3;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  font-size: 60px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 12px 0 0;
}

.lead {
  margin-top: 18px;
  max-width: 640px;
  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: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(145deg, #ff5c69, var(--red-700));
  color: #fff;
  box-shadow: 0 16px 30px rgba(226, 58, 69, .28);
}

.btn-secondary {
  background: #fff;
  color: var(--red-900);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
}

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

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

.trust-row span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font-weight: 800;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.stat-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}

.stat-card strong {
  display: block;
  font-size: 20px;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
}

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

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

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

.quick-contact {
  background: linear-gradient(180deg, #fff, var(--rose-100));
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.quick-grid {
  min-height: 94px;
  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: var(--muted);
}

.quick-phone {
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
  color: var(--red-900);
}

.transparency-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 199, 205, .55), transparent 32%),
    linear-gradient(180deg, #fff, var(--paper));
}

.transparency-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 28px;
  align-items: stretch;
}

.transparency-grid > div:first-child,
.transparency-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}

.transparency-card {
  background: linear-gradient(180deg, #fff, var(--rose-100));
}

.transparency-card h3 {
  color: var(--red-900);
}

.transparency-card a {
  color: var(--red-900);
  font-weight: 900;
}

.section {
  padding: 74px 0;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.price-card,
.about-card,
.route-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.price-card {
  overflow-x: auto;
}

.price-card h3 {
  margin-bottom: 14px;
  color: var(--red-900);
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.area-pills span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--rose-100);
  color: var(--red-900);
  font-size: 14px;
  font-weight: 800;
}

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(--red-900);
  color: #fff;
}

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

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

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

.service-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(83, 16, 21, .08);
}

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

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

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

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

.service-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--rose-100);
  color: var(--red-900);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.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: .72em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--red-700);
  border-bottom: 3px solid var(--red-700);
  transform: rotate(-45deg);
}

.about-card {
  margin-top: 24px;
  background: linear-gradient(180deg, #fff, var(--rose-100));
}

.about-card strong {
  display: block;
  color: var(--red-900);
  font-size: 18px;
}

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

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 36px;
  border-radius: 32px;
  background: linear-gradient(140deg, var(--red-950), var(--red-700));
  color: #fff;
  box-shadow: var(--shadow);
}

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

.page-hero {
  padding: 68px 0;
  background: linear-gradient(180deg, #fff, var(--rose-100));
}

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

.content {
  max-width: 860px;
}

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

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.route-card h3 {
  color: var(--red-900);
  font-size: 20px;
}

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

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

.site-footer {
  padding: 48px 0 28px;
  background: var(--red-950);
  color: rgba(255, 255, 255, .86);
}

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

.footer-brand {
  display: flex;
  gap: 14px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 20px;
}

.footer-mark {
  flex: 0 0 auto;
}

.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-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

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

.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: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(83, 16, 21, .22);
}

.sticky-call {
  background: linear-gradient(145deg, #ff5c69, var(--red-700));
}

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

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

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

  .hotline {
    margin-left: auto;
  }

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

  .stat-grid {
    grid-template-columns: 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 {
    align-items: flex-start;
  }

  .brand-copy strong {
    font-size: 16px;
  }

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

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

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

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 17px;
  }

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

  .price-card,
  .about-card,
  .route-card,
  .cta-box {
    padding: 20px;
  }

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

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