/*
Theme Name: Taxi Đồng Xoài Đồng Nai
Theme URI: https://taxidongxoaidongnai.io.vn/
Author: Taxi Đồng Xoài Đồng Nai
Description: Theme WordPress riêng cho Taxi Đồng Xoài Đồng Nai, 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: #01173d;
  --red-900: #013ca4;
  --red-800: #0148c2;
  --red-700: #2f66d6;
  --red-600: #4a80e8;
  --rose-100: #eef4fd;
  --rose-200: #dbe7fb;
  --rose-300: #c2d8f7;
  --ink: #101c30;
  --muted: #4f5f7a;
  --line: #d8e2f3;
  --paper: #f8fafd;
  --surface: #ffffff;
  --wash: #eef3fb;
  --blue: #0f6cbd;
  --shadow: 0 10px 28px rgba(1, 60, 164, .12);
  --radius-xs: 12px;
  --radius-sm: 18px;
  --radius-md: 24px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a, button, .btn, .hotline, .main-nav a, .sticky-actions a, .inline-cta a, .site-footer a, .service-card {
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

:focus-visible {
  outline: 2px solid var(--red-600);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-xs);
  background: var(--red-900);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(1, 23, 61, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  backdrop-filter: blur(8px);
}

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

.nav {
  min-height: 72px;
  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;
}

.brand-mark img {
  display: block;
  height: 44px;
  width: auto;
}

.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;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(74, 128, 232, .3);
}

.hotline:hover {
  box-shadow: 0 14px 30px rgba(74, 128, 232, .4);
  transform: translateY(-1px);
}

.hotline:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(74, 128, 232, .3);
}

.hero {
  background:
    linear-gradient(118deg, rgba(1, 23, 61, .94), rgba(47, 102, 214, .86)),
    url("assets/images/taxi5.jpeg") center/cover no-repeat;
  color: #fff;
  padding: 52px 0 40px;
}

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

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

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

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

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

h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h3 {
  font-size: 18px;
  font-weight: 700;
}

p {
  margin: 12px 0 0;
}

.lead {
  margin-top: 14px;
  max-width: 640px;
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
}

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

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

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

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(.98);
}

.btn-primary {
  background: linear-gradient(145deg, #2f6fe0, var(--red-700));
  color: #fff;
  box-shadow: 0 8px 20px rgba(74, 128, 232, .28);
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(74, 128, 232, .38);
}

.btn-secondary {
  background: #fff;
  color: var(--red-900);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}

.btn-secondary:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

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

.btn-dark:hover {
  background: var(--red-800);
}

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

.trust-row span {
  display: inline-flex;
  min-height: 32px;
  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-size: 14px;
  font-weight: 700;
}

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

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

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

.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: var(--radius-md);
  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: 18px;
  line-height: 1.2;
}

.quick-grid span {
  color: var(--muted);
}

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

.quick-phone:hover {
  color: var(--red-800);
}

.transparency-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(194, 216, 247, .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: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  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(--ink);
}

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

.section {
  padding: 56px 0;
}

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

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

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

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

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

.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: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(1, 23, 61, .08);
}

.service-card:hover {
  border-color: var(--red-600);
  box-shadow: 0 16px 34px rgba(1, 23, 61, .14);
  transform: translateY(-3px);
}

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

.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(--ink);
  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: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--red-900), var(--red-700));
  color: #fff;
  box-shadow: var(--shadow);
}

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

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

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

.content {
  max-width: 860px;
}

.content h2 {
  margin-top: 26px;
  font-size: 22px;
}

.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(--ink);
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  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;
}

.inline-cta a:hover {
  background: var(--red-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: 18px;
}

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

.footer-mark img {
  height: 38px;
}

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

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

.site-footer a:hover {
  color: var(--rose-300);
}

.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(1, 23, 61, .22);
}

.sticky-actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(1, 23, 61, .3);
}

.sticky-actions a:active {
  transform: translateY(0);
}

.sticky-call {
  background: linear-gradient(145deg, #2f6fe0, 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: 34px;
  }

  h2 {
    font-size: 24px;
  }
}

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

  .brand-mark img {
    height: 38px;
  }

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

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

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

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 21px;
  }

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