:root {
  --primary: #0ea5e9;
  --accent: #16a34a;
  --dark: #0f172a;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
.header {
  position: relative;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px; /* tăng chiều cao tổng thể */
  padding: 0 24px;
}

.logo img {
  height: 50px;
}
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.menu li a {
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 16px 12px; /* tăng khoảng đệm */
  transition: all 0.25s ease;
}

.menu li a:hover,
.menu li.active a {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

.header-call .button {
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
}

/* ===== HERO ===== */
.section-hero {
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  padding: 120px 20px;
  color: #fff;
  text-align: center;
}
.hero-title {
  font-size: 42px;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.hero-sub {
  font-size: 20px;
}

/* ===== SECTION ===== */
.section {
  padding: 60px 20px;
}
.section-yellow {
  background: #fffbea;
}
.section-green {
  background: #ecfdf5;
}
.section-light {
  background: #f8fafc;
}
.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

/* ===== GRID ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: center;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===== TEXT & UTILS ===== */
.center {
  text-align: center;
  font-size: 26px;  
  font-weight: 800;
  letter-spacing: .3px;
}
@media (min-width: 992px){
  #section_1200975334 .center .text-red,
  #section_1200975334 .center .text-red-strong{
    font-size: 34px;      /* desktop */
  }
}
.text-red {
  color: #dc2626;
}
.text-red-strong {
  color: #b91c1c;
  font-weight: 700;
}

/* ===== BUTTON ===== */
.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 20px;
  border: 2px solid transparent;
  font-weight: 700;
  text-align: center;
  transition: 0.2s;
}
.button.secondary {
  background: var(--primary);
  color: #fff;
}
.button.secondary:hover {
  opacity: 0.9;
}

/* ===== ICON BOX ===== */
.icon-box {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.icon-box-img img {
  width: 70px;
  height: 70px;
  margin: 0 auto 10px;
}

/* ===== CITY / COUNTY ===== */
.city-card, .county-card {
  position: relative;
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  border-radius: var(--radius);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  font-size: 20px;
}
.county-card {
  height: 150px;
}

/* Ảnh nền chuyển sang pseudo-element để scale */
.city-card::before, .county-card::before{
  content: "";
  position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover; background-position: center;
  border-radius: inherit;
  transition: transform .6s ease, filter .6s ease;
  z-index: 0;
}

/* Nội dung text vẫn nổi trên ảnh */
.city-card > *, .county-card > *{ position: relative; z-index: 1; }

/* Hover: ảnh phóng nhẹ + tối nhẹ, card nổi lên */
.city-card:hover::before, .county-card:hover::before{
  transform: scale(1.06);
  filter: brightness(.9);
}
.city-card:hover, .county-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

/* ===== FOOTER ===== */
.footer-wrapper {
  background: #111827;
  color: #e5e7eb;
  padding: 40px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.widget-title {
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 10px;
}
.img-full {
  width: 180px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .cards-3, .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .cards-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 32px;
  }
}

/* ====== NÚT LIÊN HỆ NỔI ====== */
#button-contact-vr {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- Vòng tròn ngoài --- */
.phone-vr-circle-fill {
  width: 70px;
  height: 70px;
  top: 0;
  left: 0;
  position: absolute;
  border-radius: 50%;
  opacity: 0.75;
  animation: phonePulse 1.6s infinite ease-in-out;
}

/* --- Icon trung tâm --- */
.phone-vr-img-circle {
  width: 50px;
  height: 50px;
  top: 10px;
  left: 10px;
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: phoneRing 1.2s infinite ease-in-out;
}

.phone-vr-img-circle img {
  width: 22px;
  height: 22px;
}

/* --- Gói chung cho 1 nút --- */
.button-contact {
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

/* ZALO - màu xanh */
#zalo-vr .phone-vr-circle-fill {
  background-color: rgba(33,150,243,0.7);
  box-shadow: 0 0 0 0 #2196f3;
}

#zalo-vr .phone-vr-img-circle {
  background-color: #2196f3;
}

/* GỌI NGAY - màu đỏ */
#contact-vr .phone-vr-circle-fill {
  background-color: rgba(230,8,8,0.7);
  box-shadow: 0 0 0 0 #e60808;
}

#contact-vr .phone-vr-img-circle {
  background-color: #e60808;
}

/* ===== Hiệu ứng animation ===== */
@keyframes phonePulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0,0,0,0.3);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px transparent;
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes phoneRing {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(-15deg); }
  20% { transform: rotate(15deg); }
  30% { transform: rotate(-15deg); }
  40% { transform: rotate(15deg); }
  50% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* ========== HEADER – LOGO / SEARCH / CALL BUTTON ========== */

/* Khung nav */
.header .nav {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  align-items: center;
  height: 90px; /* cao hơn 1 chút cho thoáng */
}

/* Logo cao rõ nét */
.logo img {
  height: 60px;
  width: auto;
}

/* Form search lớn & bo tròn */
.searchform {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}
.search-field {
  width: 100%;
  height: 46px;
  padding: 0 54px 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  outline: none;
  background: #fff;
  font-size: 15px;
  transition: box-shadow .2s, border-color .2s;
}
.search-field::placeholder { color: #9ca3af; }
.search-field:focus {
  border-color: #d1d5db;
  box-shadow: 0 0 0 4px rgba(14,165,233,.15);
}

/* Nút kính lúp dính mép phải input */
.btn.btn-secondary {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  min-width: 42px;
  border: 0;
  border-radius: 999px;
  background: #e4570c; /* cam đậm giống ảnh top */
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.btn.btn-secondary:hover { opacity: .9; }

/* Nút gọi màu đỏ + pulse (fade in/out) */
.header-call .button {
  --red: #b30000;         /* nền chính */
  --red-strong: #8f0000;  /* bóng đổ */
  background: var(--red);
  color: #fff;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 9999px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .3px;
  box-shadow: 0 6px 0 var(--red-strong), 0 10px 22px rgba(179,0,0,.25);
  border: none;
  text-transform: none;
  animation: headerPulse 1.8s ease-in-out infinite;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.header-call .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 0 var(--red-strong), 0 14px 28px rgba(179,0,0,.28);
}
.header-call .button:active {
  transform: translateY(1px);
  box-shadow: 0 4px 0 var(--red-strong), 0 8px 18px rgba(179,0,0,.22);
}

/* Hiệu ứng fade/pulse */
@keyframes headerPulse {
  0%   { box-shadow: 0 6px 0 var(--red-strong), 0 0 0 0 rgba(179,0,0,.35); }
  50%  { box-shadow: 0 6px 0 var(--red-strong), 0 0 0 14px rgba(179,0,0,0); }
  100% { box-shadow: 0 6px 0 var(--red-strong), 0 0 0 0 rgba(179,0,0,.35); }
}

/* Thanh menu dưới sát lề trái/phải đẹp hơn (tùy chọn) */
.header-bottom {
  background: #16a34a;
  padding: 12px 24px;
}

.header-bottom .menu li a {
  color: #fff;
}

.header-bottom .menu li a:hover,
.header-bottom .menu li.active a {
  color: #ffeb3b;
  border-bottom: none;
}


/* Responsive: xếp dọc logo / search / call trên màn nhỏ */
@media (max-width: 960px) {
  .header .nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 14px;
  }
  .logo { grid-column: 1 / 2; }
  .searchform { grid-column: 1 / -1; order: 3; }
  .header-call { grid-column: 2 / 3; justify-self: end; }
  .header-call .button { height: 48px; font-size: 16px; padding: 0 18px; }
}

/* ===== NÚT GỌI TRONG NỘI DUNG (MÀU ĐỎ + ZOOM IN/OUT) ===== */
.button.secondary.is-xlarge {
  background: #e60808;               /* đỏ chính */
  color: #fff;
  border: none;
  font-size: 20px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 0 0 rgba(230, 8, 8, 0.6);
  animation: pulseCall 1.8s infinite ease-in-out; /* hiệu ứng zoom */
  transition: transform 0.2s ease;
}

.button.secondary.is-xlarge:hover {
  transform: scale(1.05);
  background: #c30000;
}

/* Hiệu ứng zoom in/out */
@keyframes pulseCall {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(230, 8, 8, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(230, 8, 8, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(230, 8, 8, 0.5);
  }
}

/* Canh TRÁI riêng nút gọi ở section dịch vụ */
#section_1911010209 p.center {
  text-align: left;            /* bỏ canh giữa */
  margin-top: 20px;
}

#section_1911010209 .button.secondary.is-xlarge {
  margin-left: 0;              /* bảo đảm không bị đẩy sang phải */
}

/* --- SECTION LIÊN HỆ --- */
.contact-section {
  padding: 60px 20px;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  align-items: center;
}

.contact-left {
  color: #111;
  line-height: 1.6;
}

.motto {
  color: #e11b22;
  font-size: 26px;
  font-weight: 700;
  margin: 16px 0;
}

.hotline {
  color: #0ea5e9;
  font-weight: 600;
  text-decoration: none;
}

.contact-right h3 {
  color: #e11b22;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.contact-icon img {
  width: 60px;
  margin: 20px auto;
  display: block;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.call-button {
  display: inline-block;
  background: #c73300;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}

.call-button:hover { background: #e14a00; }

/* --- MAP SECTION --- */
.map-call {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  align-items: center;
  gap: 40px;
  background: #f0fdf4;
  padding: 40px 20px;
  border-radius: 20px;
  margin-top: 40px;
}

.map-left h3 {
  color: #0f172a;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  background: #f97316;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  padding: 20px 50px;
  border-radius: 60px;
  box-shadow: 3px 4px 0 #a35100;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 5px 7px 0 #a35100;
}
/* ===== CONTACT LEFT – SECTION_58169097 ===== */
#section_58169097 .contact-left {
  max-width: 680px;              /* dễ đọc, không quá dài dòng */
  color: #0f172a;
  line-height: 1.7;
}

#section_58169097 .contact-left h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #0f172a;                 /* đen, nổi bật đề mục */
}

#section_58169097 .contact-left .motto {
  margin: 8px 0 18px;
  font-size: 34px;                /* to rõ như hình bạn gửi */
  font-weight: 800;
  line-height: 1.3;
  color: #e11d2a;                 /* đỏ đậm */
}

#section_58169097 .contact-left p {
  font-size: 18px;
  margin: 10px 0;
  color: #111827;
}

#section_58169097 .contact-left b {
  font-weight: 800;               /* nhấn mạnh cụm in đậm */
}

#section_58169097 .contact-left ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

#section_58169097 .contact-left li {
  position: relative;
  padding-left: 22px;             /* chừa chỗ cho bullet tuỳ biến */
  margin: 8px 0;
  font-size: 18px;
}

#section_58169097 .contact-left li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1;
  font-size: 26px;
  color: #16a34a;                 /* bullet xanh lá */
}

/* Hotline xanh + nét gạch chấm khi hover */
#section_58169097 .contact-left .hotline {
  color: #0ea5e9;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px dotted rgba(14,165,233,.45);
}
#section_58169097 .contact-left .hotline:hover {
  color: #0284c7;
  border-bottom-color: #0284c7;
}

/* Responsive */
@media (max-width: 960px) {
  #section_58169097 .contact-left .motto { font-size: 30px; }
}
@media (max-width: 600px) {
  #section_58169097 .contact-left .motto { font-size: 26px; }
  #section_58169097 .contact-left p,
  #section_58169097 .contact-left li { font-size: 16px; }
}

/* === ĐẶT XE ONLINE (THAY MAP) === */
.online-booking {
  background: #f0fdf4; /* xanh nhạt nhẹ */
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.online-booking:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.online-booking h3 {
  color: #0f172a;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.online-booking .desc {
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 20px;
}

.online-booking ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.online-booking li {
  font-size: 18px;
  color: #065f46;
  margin: 6px 0;
  font-weight: 600;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.online-booking .cta-btn {
  display: inline-block;
  background: #f97316;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  padding: 18px 40px;
  border-radius: 50px;
  box-shadow: 3px 4px 0 #a35100;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.online-booking .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 5px 6px 0 #a35100;
  background: #fb923c;
}

/* Responsive */
@media (max-width: 768px) {
  .online-booking {
    padding: 30px 20px;
  }
  .online-booking h3 {
    font-size: 22px;
  }
  .online-booking .cta-btn {
    font-size: 20px;
    padding: 15px 30px;
  }
}

/* === FOOTER === */
.dark-footer {
  background: #0f172a;
  color: #f1f5f9;
  padding: 60px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.footer-col p {
  line-height: 1.6;
  margin: 10px 0;
  color: #e2e8f0;
}

.footer-title {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 40px;
  height: 3px;
  background: #f97316;
  border-radius: 4px;
}

.footer-hotline {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
}

.footer-hotline:hover {
  color: #0ea5e9;
  text-decoration: underline;
}

.footer-sub {
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  background: #0c1322;
  color: #94a3b8;
  font-size: 15px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-title::after { left: 50%; transform: translateX(-50%); }
}

html { scroll-behavior: smooth; }
section { scroll-margin-top: 80px; }

/* ========== MOBILE HEADER FIX ========== */
@media (max-width: 768px) {
  /* Hàng trên: logo + search + nút gọi */
  .header .nav {
    grid-template-columns: 120px auto;   /* logo + khu vực còn lại */
    grid-template-rows: auto auto;
    gap: 10px;
    height: auto;
  }

  .logo img {
    height: 42px;
  }

  .searchform {
    grid-column: 1 / -1;
    order: 3;
  }

  .header-call {
    justify-self: end;
  }

  .header-call .button {
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
    box-shadow: 0 4px 0 #8f0000, 0 8px 16px rgba(179,0,0,.22);
  }

  /* Hàng menu dưới: 1 hàng, vuốt ngang, không xuống dòng */
  .header-bottom {
    padding: 8px 10px;
  }

  .header-bottom .menu {
    display: flex;
    flex-wrap: nowrap;           /* không cho wrap */
    gap: 10px;
    overflow-x: auto;            /* vuốt ngang */
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;       /* ẩn scrollbar trên Firefox */
  }
  .header-bottom .menu::-webkit-scrollbar { display: none; } /* ẩn scrollbar trên WebKit */

  .header-bottom .menu li {
    flex: 0 0 auto;              /* mỗi mục có bề rộng theo nội dung */
  }

  .header-bottom .menu li a {
    font-size: 13px;
    padding: 10px 12px;
    border: 0;                   /* bỏ gạch chân hover ở mobile */
    word-break: keep-all;        /* tránh bẻ chữ */
  }
}

/* Tránh bẻ chữ trên mọi kích thước */
.menu li a { word-break: keep-all; }
