/*
Theme Name: Đồng Xoài Minh Bạch Taxi
Theme URI: https://taxidongxoai.binhphuoc.vn/
Author: Taxi Đồng Xoài
Author URI: https://taxidongxoai.binhphuoc.vn/
Description: Theme giới thiệu dịch vụ taxi Đồng Xoài với nội dung minh bạch, đầy đủ thông tin liên hệ, chính sách bảo mật và quy định sử dụng.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: dong-xoai-minh-bach
*/

:root {
  --ink: #16202a;
  --muted: #5d6b78;
  --line: #dfe6ed;
  --surface: #ffffff;
  --soft: #f3f7fb;
  --brand: #0b7a46;
  --brand-dark: #075a35;
  --accent: #f5b301;
  --accent-dark: #c98700;
  --danger: #b42318;
  --shadow: 0 18px 48px rgba(22, 32, 42, .12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: 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;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

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

.top-strip {
  background: var(--brand-dark);
  color: #fff;
  font-size: 14px;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 174px;
  height: auto;
}

.brand-text {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
  color: #25313d;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  padding: 28px 0;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--brand);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #1c1a10;
  box-shadow: 0 10px 26px rgba(245, 179, 1, .28);
}

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

.btn-outline {
  border-color: rgba(255,255,255,.72);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--brand-dark);
}

.phone-pill {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #fff;
  background: #0d3326;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 32, 22, .92), rgba(5, 32, 22, .66) 48%, rgba(5, 32, 22, .12));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(260px, 360px);
  gap: 44px;
  align-items: end;
  min-height: 680px;
  padding: 88px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: rgba(255,255,255,.9);
  font-size: 19px;
}

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

.hero-facts {
  display: grid;
  gap: 12px;
}

.fact {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
}

.fact strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
}

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

.notice {
  background: #fff7d6;
  border-bottom: 1px solid #ead58b;
}

.notice-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
}

.notice strong {
  display: block;
  margin-bottom: 2px;
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: var(--soft);
}

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

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.page-title h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading p,
.split-copy p,
.page-title p {
  color: var(--muted);
  font-size: 17px;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(22, 32, 42, .07);
}

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

.service-card-body {
  padding: 22px;
}

.service-card h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

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

.tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f5ee;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 46px;
  align-items: start;
}

.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.info-panel-header {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--brand);
  color: #fff;
}

.info-panel-header h3 {
  margin: 0;
  font-size: 24px;
}

.info-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list strong {
  display: block;
  margin-bottom: 4px;
}

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

.step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step b {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid img:first-child {
  grid-row: span 2;
}

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

.area-pills span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #334150;
  font-weight: 700;
}

.cta-band {
  background: var(--brand-dark);
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-grid h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

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

.page-hero {
  background: linear-gradient(135deg, #083625, #0b7a46);
  color: #fff;
  padding: 72px 0 58px;
}

.page-title {
  max-width: 840px;
}

.page-title p {
  color: rgba(255,255,255,.86);
}

.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 38px;
}

.article-content {
  color: #243140;
}

.article-content h2,
.article-content h3 {
  margin: 28px 0 12px;
  line-height: 1.2;
}

.article-content h2 {
  font-size: 30px;
}

.article-content h3 {
  font-size: 22px;
}

.article-content a {
  color: var(--brand);
  font-weight: 800;
}

.sidebar-card {
  position: sticky;
  top: 102px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 32, 42, .08);
}

.sidebar-card h3 {
  margin: 0 0 10px;
}

.footer {
  background: #101820;
  color: #dbe4ec;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 34px;
  padding: 54px 0;
}

.footer h2,
.footer h3 {
  margin: 0 0 12px;
  color: #fff;
}

.footer p,
.footer li {
  color: #b8c4ce;
}

.footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  color: #aab6bf;
  font-size: 14px;
}

.floating-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(180, 35, 24, .32);
}

@media (max-width: 980px) {
  .top-strip .container,
  .nav-wrap,
  .notice-grid,
  .cta-grid {
    align-items: flex-start;
  }

  .main-nav {
    display: none;
  }

  .hero-content,
  .split,
  .content-wrap,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
    padding: 72px 0 42px;
  }

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

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .top-strip .container,
  .notice-grid,
  .cta-grid,
  .header-actions {
    flex-direction: column;
    display: flex;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    width: 148px;
  }

  .phone-pill {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg::after {
    background: rgba(5, 32, 22, .82);
  }

  .hero-facts,
  .steps,
  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img:first-child {
    grid-row: auto;
  }

  .section {
    padding: 54px 0;
  }

  .floating-call {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }
}
