/* =========================================================================
   QUANG PHONG CHILD THEME - main.css
   Design tokens, base typography, va cac block tai su dung.
   ========================================================================= */

:root {
  /* Colors */
  --qp-primary: #0d3b66;
  --qp-primary-dark: #082748;
  --qp-primary-light: #1d5a96;
  --qp-accent: #ee6c4d;
  --qp-accent-dark: #d65232;
  --qp-accent-2: #f4a261;
  --qp-text: #1f2937;
  --qp-muted: #6b7280;
  --qp-border: #e5e7eb;
  --qp-bg: #ffffff;
  --qp-bg-soft: #f7f9fc;
  --qp-success: #2a9d8f;
  --qp-danger: #e63946;

  /* Shadows */
  --qp-shadow-sm:
    0 1px 3px rgba(13, 59, 102, 0.08), 0 1px 2px rgba(13, 59, 102, 0.06);
  --qp-shadow-md:
    0 4px 12px rgba(13, 59, 102, 0.1), 0 2px 6px rgba(13, 59, 102, 0.06);
  --qp-shadow-lg: 0 12px 32px rgba(13, 59, 102, 0.14);

  /* Radius */
  --qp-radius-sm: 6px;
  --qp-radius: 12px;
  --qp-radius-lg: 20px;
  --qp-radius-pill: 999px;

  /* Spacing */
  --qp-container: 1240px;

  /* Typography */
  --qp-font:
    "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Roboto, Arial,
    sans-serif;
}

/* Base ------------------------------------------------------------------- */
body {
  font-family: var(--qp-font);
  color: var(--qp-text);
  background: var(--qp-bg);
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.site-title {
  font-family: var(--qp-font);
  color: var(--qp-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  color: var(--qp-primary-light);
}
a:hover {
  color: var(--qp-accent);
}

::selection {
  background: var(--qp-accent);
  color: #fff;
}

/* Container override ----------------------------------------------------- */
.ast-container,
.qp-container {
  max-width: var(--qp-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================================
   STICKY WRAPPER - bao header + sub-navbar di kem voi nhau
   ========================================================================= */
.qp-site-stick {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 4px 12px rgba(13, 59, 102, 0.08);
}

/* =========================================================================
   HEADER - Hotline pill
   ========================================================================= */
.qp-header {
  background: #fff;
  box-shadow: var(--qp-shadow-sm);
}
.qp-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 80px;
}
.qp-header__logo img {
  max-height: 60px;
  width: auto;
}
.qp-header__menu {
  flex: 1;
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.qp-header__menu a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--qp-text);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: var(--qp-radius-sm);
  transition: all 0.2s;
}
.qp-header__menu a:hover {
  color: var(--qp-accent);
  background: var(--qp-bg-soft);
}

.qp-hotline-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 14px;
  background: linear-gradient(135deg, var(--qp-accent), var(--qp-accent-dark));
  color: #fff;
  border-radius: var(--qp-radius-pill);
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: var(--qp-shadow-md);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.qp-hotline-pill:hover {
  transform: translateY(-1px);
  box-shadow: var(--qp-shadow-lg);
  color: #fff;
}
.qp-hotline-pill__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: qp-ring 1.6s infinite;
}
.qp-hotline-pill__num {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.qp-hotline-pill__num small {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 500;
}
.qp-hotline-pill__num strong {
  font-size: 16px;
}

@keyframes qp-ring {
  0%,
  100% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(-22deg);
  }
  20% {
    transform: rotate(22deg);
  }
  30% {
    transform: rotate(-22deg);
  }
  40% {
    transform: rotate(22deg);
  }
  50% {
    transform: rotate(0);
  }
}

/* =========================================================================
   SUB-NAVBAR - Categories (full-width, scroll ngang khi tran)
   ========================================================================= */
.qp-navbar {
  background: linear-gradient(
    180deg,
    var(--qp-primary-dark) 0%,
    var(--qp-primary) 100%
  );
  border-bottom: 3px solid var(--qp-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 32px,
    #000 calc(100% - 32px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 32px,
    #000 calc(100% - 32px),
    transparent 100%
  );
}
.qp-navbar::-webkit-scrollbar {
  display: none;
}
.qp-navbar.is-grabbing {
  cursor: grabbing;
}
.qp-navbar__track {
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: max-content;
}
.qp-navbar__list {
  display: inline-flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}
.qp-navbar__list > li {
  display: flex;
  flex-shrink: 0;
}
.qp-navbar__list > li:not(:last-child),
.qp-navbar__list:first-child > li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.qp-navbar__list a {
  display: inline-flex;
  align-items: center;
  padding: 13px 18px;
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.qp-navbar__list a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--qp-accent);
  color: #fff;
}
.qp-navbar__list a.is-active {
  background: rgba(244, 162, 97, 0.12);
  border-bottom-color: var(--qp-accent-2);
  color: var(--qp-accent-2);
}
@media (max-width: 1024px) {
  .qp-navbar__list {
    justify-content: flex-start;
  }
  .qp-navbar__list a {
    font-size: 12px;
    padding: 11px 14px;
  }
}

/* =========================================================================
   BANNER (hero) - 2 column with stats, trust, marquee
   ========================================================================= */
.qp-banner {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--qp-primary-light);
  padding-bottom: 80px;
}
.qp-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  z-index: 0;
}
.qp-banner__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* darken top 1/3 de text de doc — nhe hon, cho bai phe lieu lo ra */
    linear-gradient(
      180deg,
      rgba(29, 90, 150, 0.55) 0%,
      rgba(29, 90, 150, 0.18) 35%,
      transparent 60%
    ),
    /* fade trai (text area) sang phai (photo area) — tone xanh sang */
    linear-gradient(
        110deg,
        rgba(29, 90, 150, 0.78) 0%,
        rgba(29, 90, 150, 0.5) 40%,
        rgba(29, 90, 150, 0.18) 70%,
        rgba(29, 90, 150, 0) 100%
      );
}

/* Decorative blobs + dots */
.qp-banner__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.qp-banner__shape--1 {
  width: 380px;
  height: 380px;
  top: -120px;
  right: -100px;
  background: var(--qp-accent);
}
.qp-banner__shape--2 {
  width: 280px;
  height: 280px;
  bottom: -80px;
  left: 10%;
  background: var(--qp-accent-2);
  opacity: 0.25;
}
.qp-banner__shape--dots {
  position: absolute;
  inset: auto auto 60px 30%;
  width: 240px;
  height: 120px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.18) 1.5px,
    transparent 1.5px
  );
  background-size: 16px 16px;
  filter: none;
  opacity: 0.9;
  z-index: 0;
}

/* Grid layout */
.qp-banner__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 70px 0 40px;
  position: relative;
  z-index: 2;
}
.qp-banner__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0;
}

.qp-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.25),
    rgba(238, 108, 77, 0.18)
  );
  border: 1px solid rgba(244, 162, 97, 0.55);
  color: var(--qp-accent-2);
  border-radius: var(--qp-radius-pill);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(244, 162, 97, 0.15);
}
.qp-banner__eyebrow i {
  color: #fff;
}

.qp-banner h1 {
  color: #fff;
  font-size: clamp(30px, 4.6vw, 60px);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 800;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
.qp-banner h1 span {
  background: linear-gradient(90deg, var(--qp-accent-2), var(--qp-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.qp-banner__sub {
  font-size: 18px;
  color: #e2e8f0;
  margin: 0 0 28px;
  max-width: 560px;
  line-height: 1.6;
}
.qp-banner__cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Trust badges row */
.qp-banner__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}
.qp-banner__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
}
.qp-banner__trust i {
  color: var(--qp-accent-2);
  font-size: 14px;
}

/* Right media column */
.qp-banner__media {
  position: relative;
  aspect-ratio: 5/4;
  z-index: 2;
}
.qp-banner__photo {
  position: relative;
  height: 100%;
  border-radius: var(--qp-radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.qp-banner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qp-banner__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(13, 59, 102, 0.45) 100%
  );
}

/* Floating feature cards */
.qp-banner__float {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--qp-primary);
  padding: 14px 18px;
  border-radius: var(--qp-radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  animation: qp-float-y 4s ease-in-out infinite;
}
.qp-banner__float strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 800;
}
.qp-banner__float small {
  display: block;
  font-size: 12px;
  color: var(--qp-muted);
  margin-top: 2px;
}
.qp-banner__float-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--qp-accent), var(--qp-accent-dark));
  flex-shrink: 0;
}
.qp-banner__float-icon--green {
  background: linear-gradient(135deg, #2a9d8f, #1d8377);
}
.qp-banner__float--top {
  top: 12%;
  left: -20px;
  animation-delay: 0s;
}
.qp-banner__float--bot {
  bottom: 14%;
  right: -28px;
  animation-delay: 1.5s;
}
@keyframes qp-float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Stats counter row */
.qp-banner__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 32px;
  margin-top: 8px;
  background: linear-gradient(
    135deg,
    rgba(8, 39, 72, 0.78),
    rgba(13, 59, 102, 0.62)
  );
  border: 1px solid rgba(244, 162, 97, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--qp-radius-lg);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.qp-banner__stat {
  text-align: center;
  position: relative;
}
.qp-banner__stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: -12px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.qp-banner__stat strong {
  display: block;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  background: linear-gradient(90deg, var(--qp-accent-2), var(--qp-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.qp-banner__stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
}

/* Marquee tags scroll */
.qp-banner__marquee {
  position: relative;
  z-index: 3;
  margin-top: 56px;
  padding: 14px 0;
  background: linear-gradient(
    180deg,
    rgba(8, 39, 72, 0.95),
    rgba(8, 39, 72, 1)
  );
  border-top: 1px solid rgba(244, 162, 97, 0.3);
  border-bottom: 1px solid rgba(244, 162, 97, 0.2);
  box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.qp-banner__marquee span {
  color: #f1f5f9;
}
.qp-banner__marquee-track {
  display: inline-flex;
  gap: 36px;
  white-space: nowrap;
  animation: qp-marquee 40s linear infinite;
}
.qp-banner__marquee span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.03em;
}
.qp-banner__marquee i {
  color: var(--qp-accent-2);
}
@keyframes qp-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Buttons --------------------------------------------------------------- */
.qp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--qp-radius-pill);
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.qp-btn--primary {
  background: linear-gradient(135deg, var(--qp-accent), var(--qp-accent-dark));
  color: #fff;
  box-shadow: var(--qp-shadow-md);
}
.qp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--qp-shadow-lg);
  color: #fff;
}
.qp-btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}
.qp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.qp-btn--pulse > i {
  animation: qp-ring 1.4s infinite;
}

/* Bang gia button (cu) - giu compatibility */
.btn-bang-gia {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--qp-accent), var(--qp-accent-dark));
  color: #fff !important;
  padding: 14px 28px;
  border-radius: var(--qp-radius-pill);
  font-weight: 700;
  font-size: 17px;
  box-shadow: var(--qp-shadow-md);
  text-transform: uppercase;
  margin: 16px auto;
  transition: transform 0.2s;
}
.btn-bang-gia:hover {
  transform: scale(1.03);
  color: #fff;
}

/* =========================================================================
   SECTION + HEADING decorations
   ========================================================================= */
.qp-section {
  padding: 64px 0;
}
.qp-section--soft {
  background: var(--qp-bg-soft);
}
.qp-section--dark {
  background: var(--qp-primary);
  color: #fff;
}
.qp-section--dark h2,
.qp-section--dark h3 {
  color: #fff;
}

.qp-section__head {
  text-align: center;
  margin-bottom: 40px;
}
.qp-section__eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(238, 108, 77, 0.12);
  color: var(--qp-accent);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: var(--qp-radius-pill);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.qp-section__title {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 8px;
  font-weight: 800;
}
.qp-section__title strong {
  color: var(--qp-accent);
}
.qp-section__lead {
  color: var(--qp-muted);
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
}

/* =========================================================================
   WHY-CHOICE cards
   ========================================================================= */
.qp-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: qpwhy;
}
.qp-why__card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px 22px 28px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(13, 59, 102, 0.06);
  border: 1px solid var(--qp-border);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  overflow: hidden;
  counter-increment: qpwhy;
}
/* Top gradient stripe */
.qp-why__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--qp-accent), var(--qp-accent-2));
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform 0.35s ease;
}
/* Step number badge in top-right corner */
.qp-why__card::after {
  content: counter(qpwhy, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 28px;
  font-weight: 800;
  color: rgba(13, 59, 102, 0.07);
  font-family: Georgia, serif;
  letter-spacing: -1px;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}
.qp-why__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(13, 59, 102, 0.14);
  border-color: var(--qp-accent-2);
}
.qp-why__card:hover::before {
  transform: scaleX(1);
}
.qp-why__card:hover::after {
  color: rgba(238, 108, 77, 0.18);
  transform: scale(1.1);
}
.qp-why__icon {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--qp-accent), var(--qp-accent-2));
  color: #fff;
  font-size: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow:
    0 10px 22px rgba(238, 108, 77, 0.28),
    0 0 0 6px rgba(238, 108, 77, 0.08);
  transition:
    transform 0.35s ease,
    border-radius 0.35s ease;
  z-index: 1;
}
.qp-why__card:hover .qp-why__icon {
  transform: rotate(-6deg) scale(1.05);
  border-radius: 50%;
}
.qp-why__card h5 {
  font-size: 16px;
  margin: 0 0 12px;
  text-transform: uppercase;
  color: var(--qp-primary);
  font-weight: 800;
  letter-spacing: 0.3px;
  position: relative;
}
.qp-why__card h5::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--qp-accent);
  margin: 8px auto 0;
  border-radius: 2px;
  opacity: 0.55;
  transition:
    width 0.3s ease,
    opacity 0.3s ease;
}
.qp-why__card:hover h5::after {
  width: 50px;
  opacity: 1;
}
.qp-why__card p {
  color: var(--qp-muted);
  font-size: 13.5px;
  margin: 0;
  line-height: 1.65;
}

/* =========================================================================
   LIST-VIEW (services / posts) cards
   ========================================================================= */
.qp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.qp-card {
  background: #fff;
  border-radius: var(--qp-radius);
  overflow: hidden;
  box-shadow: var(--qp-shadow-sm);
  border: 1px solid var(--qp-border);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.qp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--qp-shadow-md);
}
.qp-card__img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.qp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.qp-card:hover .qp-card__img img {
  transform: scale(1.05);
}
.qp-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--qp-accent);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--qp-radius-pill);
  font-weight: 600;
  text-transform: uppercase;
}
.qp-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.qp-card__title {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--qp-primary);
  font-weight: 700;
}
.qp-card__desc {
  color: var(--qp-muted);
  font-size: 14px;
  margin: 0 0 16px;
  flex: 1;
}
.qp-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--qp-accent);
  font-weight: 600;
  font-size: 14px;
}
.qp-card__more:hover {
  gap: 10px;
  color: var(--qp-accent-dark);
}

/* =========================================================================
   ARCHIVE HEADER BANNER - hero phia tren blog/archive/search
   ========================================================================= */
.qp-archive-header {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--qp-primary) 0%,
    var(--qp-primary-dark) 100%
  );
  color: #fff;
  padding: 56px 0 80px;
  margin-bottom: 32px;
  overflow: hidden;
}
.qp-archive-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--qp-accent),
    var(--qp-accent-2),
    var(--qp-accent)
  );
}
.qp-archive-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--qp-bg-soft);
  clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 100%);
}
.qp-archive-header__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(244, 162, 97, 0.18) 1.5px,
    transparent 1.5px
  );
  background-size: 18px 18px;
  opacity: 0.35;
  pointer-events: none;
}
.qp-archive-header__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.qp-archive-header__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--qp-radius-pill);
  border: 1px solid rgba(244, 162, 97, 0.3);
}
.qp-archive-header__crumbs a {
  color: var(--qp-accent-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qp-archive-header__crumbs a:hover {
  color: #fff;
}
.qp-archive-header__crumbs i {
  font-size: 11px;
  opacity: 0.7;
}
.qp-archive-header__crumbs span {
  color: #fff;
  font-weight: 600;
}
.qp-archive-header__title {
  color: #fff;
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 auto 12px;
  max-width: 880px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.qp-archive-header__title em {
  color: var(--qp-accent-2);
  font-style: normal;
}
.qp-archive-header__desc {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto 22px;
  max-width: 720px;
}
.qp-archive-header__stats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--qp-radius-pill);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
}
.qp-archive-header__stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qp-archive-header__stats i {
  color: var(--qp-accent-2);
}

/* An entry-header default cua Astra tren blog archive (de banner moi take over) */
body.blog .ast-page-header-section,
body.archive .ast-page-header-section,
body.search .ast-page-header-section {
  display: none !important;
}

/* Padding bottom de cards khong sat duoi */
body.blog .site-content,
body.archive .site-content,
body.search .site-content {
  padding-bottom: 60px !important;
}

@media (max-width: 768px) {
  .qp-archive-header {
    padding: 36px 0 56px;
  }
  .qp-archive-header::after {
    height: 40px;
  }
  .qp-archive-header__title {
    font-size: 24px !important;
  }
  .qp-archive-header__desc {
    font-size: 14px;
  }
  .qp-archive-header__stats {
    font-size: 12px;
    gap: 6px 14px;
    padding: 10px 16px;
  }
}

/* =========================================================================
   BLOG ARCHIVE / TIN TUC PAGE - card grid layout
   ========================================================================= */
body.blog #primary,
body.archive #primary,
body.search #primary {
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide entry-header default da tu wp tieu de + breadcrumb cua single post */
body.blog .ast-archive-description,
body.archive .ast-archive-description {
  display: none;
}

/* Astra wrap articles trong .ast-row - auto-fit grid */
body.blog .site-main,
body.archive .site-main {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.blog .site-main .ast-row,
body.archive .site-main .ast-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 28px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}
/* Force article fill cell, override Astra width */
body.blog .ast-article-post,
body.archive .ast-article-post,
body.search .ast-article-post {
  width: 100% !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  float: none !important;
}

/* Pagination span full width */
body.blog .ast-pagination,
body.archive .ast-pagination,
body.blog .pagination,
body.archive .pagination {
  grid-column: 1 / -1;
  margin-top: 16px;
}

/* Article card */
body.blog .ast-article-post,
body.archive .ast-article-post,
body.search .ast-article-post {
  background: #fff !important;
  border-radius: var(--qp-radius) !important;
  box-shadow: var(--qp-shadow-sm) !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--qp-border) !important;
  transition:
    transform 0.25s,
    box-shadow 0.25s !important;
  display: flex !important;
  flex-direction: column !important;
}
body.blog .ast-article-post:hover,
body.archive .ast-article-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--qp-shadow-md) !important;
}
body.blog .ast-article-inner,
body.archive .ast-article-inner {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}
body.blog .post-content,
body.archive .post-content {
  padding: 22px 22px 18px !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Inject thumbnail */
.qp-archive__thumb {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--qp-bg-soft);
}
.qp-archive__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.qp-archive__thumb:hover img {
  transform: scale(1.05);
}

/* Hide default Astra featured-section emptiness */
body.blog .ast-blog-featured-section,
body.archive .ast-blog-featured-section {
  display: none !important;
}

/* Hide cat-links ("Chua phan loai") va author "root" */
body.blog .ast-taxonomy-container,
body.archive .ast-taxonomy-container,
body.blog .posted-by,
body.archive .posted-by {
  display: none !important;
}

/* An ca dau "/" (text node giua span posted-by va posted-on) */
body.blog .entry-meta,
body.archive .entry-meta {
  font-size: 0 !important;
}
body.blog .entry-meta .posted-on,
body.archive .entry-meta .posted-on {
  font-size: 12px !important;
}

/* Entry title */
body.blog .entry-title,
body.archive .entry-title {
  margin: 0 0 8px !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  padding: 0 !important;
}
body.blog .entry-title::before,
body.archive .entry-title::before {
  content: none !important;
}
body.blog .entry-title a,
body.archive .entry-title a {
  color: var(--qp-primary);
  text-decoration: none;
}
body.blog .entry-title a:hover,
body.archive .entry-title a:hover {
  color: var(--qp-accent);
}

/* Meta - posted-on */
body.blog .entry-header.ast-blog-meta-container,
body.archive .entry-header.ast-blog-meta-container {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
}
body.blog .entry-header.ast-blog-meta-container::after,
body.archive .entry-header.ast-blog-meta-container::after {
  content: none !important;
}
body.blog .entry-meta,
body.archive .entry-meta {
  font-size: 12px;
  color: var(--qp-muted);
}
body.blog .entry-meta .posted-on,
body.archive .entry-meta .posted-on {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body.blog .entry-meta .posted-on::before,
body.archive .entry-meta .posted-on::before {
  content: "\f073";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--qp-accent);
}

/* Excerpt */
body.blog .ast-excerpt-container,
body.archive .ast-excerpt-container {
  flex: 1;
  margin-bottom: 14px !important;
}
body.blog .ast-excerpt-container p,
body.archive .ast-excerpt-container p {
  font-size: 14px;
  color: var(--qp-muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* entry-content trong loop - hide */
body.blog .entry-content.clear,
body.archive .entry-content.clear {
  display: none !important;
}

/* Read more link */
body.blog .read-more,
body.archive .read-more,
body.blog .ast-button,
body.archive .ast-button {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: var(--qp-accent) !important;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto !important;
  margin: 0 !important;
}
body.blog .read-more::after,
body.archive .read-more::after,
body.blog .ast-button::after,
body.archive .ast-button::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  transition: transform 0.2s;
}
body.blog .read-more:hover::after,
body.archive .read-more:hover::after {
  transform: translateX(4px);
}

/* Pagination - day xuong duoi grid full width */
body.blog .ast-pagination,
body.archive .ast-pagination {
  margin-top: 32px !important;
  padding: 0 !important;
  background: transparent !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
}
body.blog .ast-pagination nav.pagination,
body.archive .ast-pagination nav.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
body.blog .ast-pagination .nav-links,
body.archive .ast-pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
body.blog .ast-pagination .page-numbers,
body.archive .ast-pagination .page-numbers {
  background: #fff;
  border: 1px solid var(--qp-border);
  color: var(--qp-text);
  padding: 10px 16px;
  border-radius: var(--qp-radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  min-width: 44px;
  text-align: center;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.blog .ast-pagination .page-numbers:hover,
body.archive .ast-pagination .page-numbers:hover {
  border-color: var(--qp-accent);
  color: var(--qp-accent);
  transform: translateY(-2px);
  box-shadow: var(--qp-shadow-sm);
}
body.blog .ast-pagination .page-numbers.current,
body.archive .ast-pagination .page-numbers.current {
  background: linear-gradient(
    135deg,
    var(--qp-accent),
    var(--qp-accent-dark)
  ) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 14px rgba(238, 108, 77, 0.3);
}
body.blog .ast-pagination .page-numbers.next,
body.archive .ast-pagination .page-numbers.next,
body.blog .ast-pagination .page-numbers.prev,
body.archive .ast-pagination .page-numbers.prev {
  padding: 10px 18px;
  font-weight: 600;
}

/* Hide entry-header content (title) on blog/archive page header to keep only banner intro */
body.blog .entry-header h2.entry-title,
body.archive .entry-header h2.entry-title {
  /* keep, it's per-card */
}

@media (max-width: 768px) {
  body.blog .site-main,
  body.archive .site-main {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.blog .post-content,
  body.archive .post-content {
    padding: 18px 18px 16px !important;
  }
}

/* News - Xem tat ca button */
.qp-news__view-all {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.qp-news__view-all .qp-btn {
  padding: 14px 32px;
  font-size: 15px;
}
.qp-news__view-all .qp-btn i:last-child {
  transition: transform 0.2s;
}
.qp-news__view-all .qp-btn:hover i:last-child {
  transform: translateX(4px);
}

/* =========================================================================
   TESTIMONIAL slider
   ========================================================================= */
.qp-testimonial {
  background: linear-gradient(
    135deg,
    var(--qp-primary) 0%,
    var(--qp-primary-dark) 100%
  );
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.qp-testimonial::before {
  content: "\201C";
  position: absolute;
  top: -40px;
  left: 30px;
  font-size: 220px;
  font-family: Georgia, serif;
  color: rgba(244, 162, 97, 0.12);
  line-height: 1;
}
.qp-testimonial__head {
  text-align: center;
  margin-bottom: 36px;
}
.qp-testimonial__head h2 {
  color: #fff;
}
.qp-testimonial__head h2 span {
  color: var(--qp-accent-2);
}

/* Testimonial - marquee slide vo han */
.qp-testimonial__marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}
.qp-testimonial__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  width: max-content;
  animation: qp-testi-marquee 80s linear infinite;
}
@keyframes qp-testi-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.qp-testimonial__card {
  flex: 0 0 360px;
  width: 360px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--qp-radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.qp-testimonial__card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 162, 97, 0.4);
}
.qp-testimonial__quote-icon {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 28px;
  color: rgba(244, 162, 97, 0.2);
}
.qp-testimonial__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.qp-testimonial__person strong {
  display: block;
  color: #fff;
  font-size: 15px;
}
.qp-testimonial__person small {
  display: block;
  color: var(--qp-accent-2);
  font-size: 12px;
  margin-top: 2px;
}
.qp-testimonial__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  border: 2px solid rgba(244, 162, 97, 0.55);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-family: var(--qp-font);
}
.qp-testimonial__stars {
  display: flex;
  gap: 2px;
  color: var(--qp-accent-2);
  font-size: 13px;
}
.qp-testimonial__quote {
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
  color: #f1f5f9;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================================
   FOOTER 4 cot
   ========================================================================= */
.qp-footer {
  background:
    radial-gradient(
      800px 400px at 100% 0%,
      rgba(238, 108, 77, 0.1) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, var(--qp-primary) 0%, var(--qp-primary-dark) 100%);
  color: #cbd5e1;
  padding: 64px 0 0;
  margin-top: 80px;
  position: relative;
}
.qp-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--qp-accent),
    var(--qp-accent-2),
    var(--qp-accent)
  );
}
.qp-footer__columns {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.8fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}
.qp-footer__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 12px;
}
.qp-footer__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--qp-accent), var(--qp-accent-2));
  border-radius: 3px;
}
.qp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.qp-footer ul li {
  margin-bottom: 8px;
}
.qp-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition:
    color 0.2s,
    padding 0.2s;
  display: inline-block;
  font-size: 14px;
}
.qp-footer a:hover {
  color: var(--qp-accent-2);
  padding-left: 4px;
}

/* Brand col */
.qp-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  margin-bottom: 18px;
}
.qp-footer__brand .qp-site-header__brand-mark {
  background: linear-gradient(135deg, var(--qp-accent), var(--qp-accent-dark));
  box-shadow: 0 6px 16px rgba(238, 108, 77, 0.35);
}
.qp-footer__brand strong {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
}
.qp-footer__brand small {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
  margin-top: 2px;
}
.qp-footer__lead {
  font-size: 14px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 18px;
}

/* Contact list (brand col) */
.qp-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.qp-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0 !important;
  line-height: 1.5;
}
.qp-footer__contact i {
  color: var(--qp-accent-2);
  width: 16px;
  flex-shrink: 0;
  margin-top: 4px;
}
.qp-footer__contact a:hover {
  padding-left: 0;
}

/* Map widget */
.qp-footer__map {
  position: relative;
  border-radius: var(--qp-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  aspect-ratio: 4 / 3;
  background: rgba(8, 39, 72, 0.6);
}
.qp-footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}
.qp-footer__map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 162, 97, 0.3);
  border-radius: var(--qp-radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--qp-accent-2) !important;
  transition: all 0.2s;
}
.qp-footer__map-link:hover {
  background: rgba(244, 162, 97, 0.15);
  color: #fff !important;
  padding-left: 14px !important;
}
.qp-footer__map-link i {
  color: var(--qp-accent);
}

/* Bottom bar */
.qp-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 39, 72, 0.5);
  padding: 16px 0;
  font-size: 13px;
  color: #94a3b8;
}
.qp-footer__bottom p {
  margin: 0;
  text-align: center;
}
.qp-footer__bottom strong {
  color: #f1f5f9;
}
.qp-footer__bottom a {
  color: var(--qp-accent-2);
}
.qp-footer__sep {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 6px;
}

@media (max-width: 1200px) {
  .qp-footer__columns {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }
  .qp-footer__col--brand {
    grid-column: 1 / -1;
  }
  .qp-footer__col--map {
    grid-column: 1 / 3;
  }
}
@media (max-width: 768px) {
  .qp-footer__columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .qp-footer__col--brand,
  .qp-footer__col--map {
    grid-column: 1 / -1;
  }
  .qp-footer__map {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 480px) {
  .qp-footer {
    padding: 40px 0 0;
    margin-top: 40px;
  }
  .qp-footer__columns {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }
  .qp-footer__bottom p {
    font-size: 12px;
    line-height: 1.7;
  }
  .qp-footer__sep {
    display: block;
    height: 0;
    visibility: hidden;
  }
}

/* =========================================================================
   FLOATING contact buttons (zalo + phone)
   ========================================================================= */
.qp-floating {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.qp-floating__btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  text-decoration: none !important;
  box-shadow: var(--qp-shadow-md);
  transition: transform 0.2s;
}
.qp-floating__btn:hover {
  transform: scale(1.08);
  color: #fff;
}
.qp-floating__btn--zalo {
  background: #2196f3;
}
.qp-floating__btn--phone {
  background: var(--qp-accent);
}
.qp-floating__btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.35;
  animation: qp-pulse 1.6s infinite;
  z-index: -1;
}
@keyframes qp-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

/* =========================================================================
   CONTENT-area helpers (Astra entry-content)
   ========================================================================= */
.entry-content blockquote {
  border-left: 4px solid var(--qp-accent);
  background: var(--qp-bg-soft);
  padding: 16px 20px;
  margin: 16px 0;
  font-style: italic;
  color: var(--qp-text);
  border-radius: 0 var(--qp-radius-sm) var(--qp-radius-sm) 0;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: #fff;
  border-radius: var(--qp-radius);
  overflow: hidden;
  box-shadow: var(--qp-shadow-sm);
}
.entry-content table th {
  background: var(--qp-primary);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
}
.entry-content table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--qp-border);
}
.entry-content table tr:nth-child(even) td {
  background: var(--qp-bg-soft);
}

/* Khu vuc mua heading (cu, giu compat) */
.khu-vuc-mua {
  display: flex;
  align-items: center;
  gap: 16px;
}
.khu-vuc-mua h3 {
  color: var(--qp-primary);
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 24px;
}
.khu-vuc-mua b {
  flex: 1;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--qp-accent),
    transparent
  );
  display: block;
}

/* =========================================================================
   INNER PAGE polish (non-home pages)
   ========================================================================= */
body:not(.home) .site-content {
  background: var(--qp-bg-soft);
  padding-bottom: 60px !important;
}
body:not(.home) #primary,
body:not(.home) .ast-container .site-main {
  max-width: 100%; /* parent .ast-container da bao 1240px roi */
  margin: 0;
  padding: 0;
}

/* Astra layout overrides cho single post (ast-narrow-container, ast-separate-container) */
body:not(.home) .site-content > .ast-container,
.ast-narrow-container .site-content > .ast-container,
.ast-separate-container .site-content > .ast-container {
  max-width: var(--qp-container) !important;
  padding: 0 24px !important;
}
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.single-post .entry-header,
body.page:not(.home) .entry-header {
  text-align: center;
  padding: 60px 24px 40px;
  background: linear-gradient(
    135deg,
    var(--qp-primary) 0%,
    var(--qp-primary-dark) 100%
  );
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
body.single-post .entry-header::before,
body.page:not(.home) .entry-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(244, 162, 97, 0.12) 1.5px,
    transparent 1.5px
  );
  background-size: 16px 16px;
  opacity: 0.35;
}
body.single-post .entry-header::after,
body.page:not(.home) .entry-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--qp-bg-soft);
  clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 100%);
}
body.single-post .entry-header .entry-title,
body.page:not(.home) .entry-header .entry-title {
  position: relative;
  z-index: 2;
  color: #fff !important;
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  max-width: 880px;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
body:not(.home) .entry-content {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

/* Cot chinh = noi dung bai viet */
.qp-pl__main {
  background: #fff;
  border-radius: var(--qp-radius-lg);
  padding: 40px 48px;
  box-shadow: var(--qp-shadow-sm);
  font-size: 16px;
  line-height: 1.75;
  min-width: 0; /* tranh tran khi co table/code */
}

/* Cot phai = sidebar widget sticky */
.qp-pl__side {
  position: sticky;
  top: 200px; /* duoi sticky header (~140px) + 60px chua header banner */
  display: flex;
  flex-direction: column;
  gap: 20px;
}
body:not(.home) .qp-pl__main > p:first-of-type,
body:not(.home) .entry-content > p:first-of-type {
  font-size: 18px;
  color: var(--qp-text);
  font-weight: 500;
  border-left: 4px solid var(--qp-accent);
  padding: 4px 0 4px 20px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, rgba(238, 108, 77, 0.05), transparent);
}
body:not(.home) .entry-content h2 {
  font-size: 24px;
  margin: 36px 0 16px;
  color: var(--qp-primary);
  position: relative;
  padding-left: 14px;
}
body:not(.home) .entry-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  background: linear-gradient(180deg, var(--qp-accent), var(--qp-accent-2));
  border-radius: 3px;
}
body:not(.home) .entry-content h3 {
  font-size: 19px;
  color: var(--qp-primary-light);
  margin: 24px 0 12px;
}
body:not(.home) .entry-content ul,
body:not(.home) .entry-content ol {
  padding-left: 22px;
}
body:not(.home) .entry-content li {
  margin-bottom: 8px;
}
body:not(.home) .entry-content ul li::marker {
  color: var(--qp-accent);
}
body:not(.home) .entry-content blockquote {
  border-left: 4px solid var(--qp-accent);
  background: var(--qp-bg-soft);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 var(--qp-radius-sm) var(--qp-radius-sm) 0;
}
body:not(.home) .entry-content table {
  margin: 20px 0;
}

/* =========================================================================
   SIDEBAR WIDGETS (qp-widget) - Bai viet moi nhat + CTA
   ========================================================================= */
.qp-widget {
  background: #fff;
  border-radius: var(--qp-radius);
  overflow: hidden;
  box-shadow: var(--qp-shadow-sm);
  border: 1px solid var(--qp-border);
}
.qp-widget__title {
  background: linear-gradient(
    135deg,
    var(--qp-primary),
    var(--qp-primary-dark)
  );
  color: #fff !important;
  margin: 0 !important;
  padding: 14px 20px !important;
  font-size: 16px !important;
  font-weight: 700;
  text-align: center;
  border-bottom: 3px solid var(--qp-accent) !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.qp-widget__title::before {
  content: none !important;
} /* huy gradient bar cua h2 */
.qp-widget__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.qp-widget__list li {
  border-bottom: 1px solid var(--qp-border);
  margin: 0 !important;
}
.qp-widget__list li:last-child {
  border-bottom: 0;
}
.qp-widget__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--qp-text);
  transition:
    background 0.2s,
    color 0.2s;
}
.qp-widget__list a:hover {
  background: var(--qp-bg-soft);
  color: var(--qp-accent);
}
.qp-widget__list img {
  width: 64px;
  height: 56px;
  border-radius: var(--qp-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--qp-bg-soft);
}
.qp-widget__list span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA widget */
.qp-widget--cta {
  background: linear-gradient(
    135deg,
    var(--qp-primary),
    var(--qp-primary-dark)
  );
  border-color: transparent;
  padding: 0 18px 18px; /* dat padding tren parent thay vi margin con */
  position: relative;
  overflow: hidden;
}
.qp-widget--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(244, 162, 97, 0.18) 1.5px,
    transparent 1.5px
  );
  background-size: 16px 16px;
  opacity: 0.4;
  pointer-events: none;
}
.qp-widget--cta .qp-widget__title {
  background: transparent !important;
  border-bottom: 0 !important;
  font-size: 18px !important;
  margin: 0 -18px !important; /* keo title ra full-width vuot padding parent */
  padding: 14px 18px !important;
}
.qp-widget--cta p {
  color: #cbd5e1;
  font-size: 13px;
  text-align: center;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.qp-widget--cta a {
  position: relative;
  z-index: 1;
  margin: 0; /* huy margin de width 100% inline khong tran */
  display: flex;
  box-sizing: border-box;
}
.qp-widget--cta a + a {
  margin-top: 8px !important;
}
.qp-btn--ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}
.qp-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Hero image on inner pages */
.qp-page-hero {
  margin: 0 0 28px;
  border-radius: var(--qp-radius);
  overflow: hidden;
  box-shadow: var(--qp-shadow-md);
}
.qp-page-hero img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top right;
}

/* Inner page sections (qp_quy_trinh, qp_why_choice, qp_areas) inside .entry-content */
body:not(.home) .entry-content .qp-why,
body:not(.home) .entry-content .qp-quy-trinh,
body:not(.home) .entry-content .qp-areas {
  margin: 24px 0;
}
body:not(.home) .entry-content .qp-areas {
  background: linear-gradient(
    135deg,
    var(--qp-primary),
    var(--qp-primary-dark)
  );
  padding: 28px;
  border-radius: var(--qp-radius);
  margin: 24px 0;
}

/* CTA bang gia button khi nam trong content */
body:not(.home) .entry-content .btn-bang-gia {
  display: inline-flex;
  margin: 12px 0;
}

@media (max-width: 1100px) {
  body:not(.home) .entry-content {
    grid-template-columns: 1fr; /* stack: content tren, sidebar duoi */
  }
  .qp-pl__side {
    position: static; /* khong sticky tren mobile */
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .qp-pl__side > .qp-widget {
    flex: 1 1 280px;
  }
}
@media (max-width: 720px) {
  body:not(.home) .entry-header {
    padding: 36px 16px 28px;
  }
  body:not(.home) .qp-pl__main {
    padding: 24px 18px;
    border-radius: var(--qp-radius);
  }
  body:not(.home) .qp-pl__main > p:first-of-type {
    font-size: 16px;
    padding-left: 14px;
  }
  body:not(.home) .entry-content h2 {
    font-size: 20px;
  }
  .qp-pl__side > .qp-widget {
    flex: 1 1 100%;
  }
  .qp-widget__list a {
    padding: 10px 12px;
    gap: 10px;
  }
  .qp-widget__list img {
    width: 56px;
    height: 50px;
  }
  .qp-widget__list span {
    font-size: 12px;
  }
}

/* =========================================================================
   ASTRA OVERRIDES - hide default header + page title on home/single pages
   ========================================================================= */
/* An Astra default header + footer GLOBAL */
#masthead,
.site-header,
.ast-mobile-header-wrap,
.main-header-bar-wrap,
.ast-header-break-point .main-header-bar,
#colophon,
.site-footer,
.footer-widgets-wrap,
.footer-sml-layout-1,
.footer-sml-layout-2 {
  display: none !important;
}

/* Reset margin/padding cao mac dinh cua Astra plain container */
.ast-plain-container.ast-no-sidebar #primary,
.ast-plain-container .ast-container,
.site-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.home #primary {
  margin-bottom: 0 !important;
}
body:not(.home) #primary {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.home .ast-page-header-section,
body.home .entry-header,
body.home .ast-archive-description,
body.home .ast-breadcrumbs-wrap {
  display: none !important;
}
body.home .entry-header,
body.home .entry-title {
  display: none !important;
}
body.home .site-content > .ast-container {
  max-width: 100%;
  padding: 0;
}
body.home .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}
body.home .site-content {
  padding: 0 !important;
}
body.home .ast-container .site-main > article {
  padding: 0 !important;
}

/* =========================================================================
   QP CUSTOM HEADER (sticky di chung trong .qp-site-stick wrapper)
   ========================================================================= */
.qp-site-header {
  background: #fff;
}
.qp-site-header__top {
  background: var(--qp-primary);
  color: #fff;
  font-size: 13px;
}
.qp-site-header__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 24px;
  max-width: var(--qp-container);
  margin: 0 auto;
  font-weight: 500;
}
.qp-site-header__top a {
  color: #fff;
  text-decoration: none;
}
.qp-site-header__top a:hover {
  color: var(--qp-accent-2);
}
.qp-site-header__top-info {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.qp-site-header__top-info span i {
  color: var(--qp-accent-2);
  margin-right: 4px;
}
.qp-site-header__main {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  max-width: var(--qp-container);
  margin: 0 auto;
}
.qp-site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.qp-site-header__brand-logo {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.qp-site-header__brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--qp-primary),
    var(--qp-primary-light)
  );
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  box-shadow: var(--qp-shadow-sm);
}
.qp-site-header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.qp-site-header__brand-text strong {
  color: var(--qp-primary);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}
.qp-site-header__brand-text small {
  color: var(--qp-muted);
  font-size: 12px;
}
.qp-site-header__menu {
  flex: 1;
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.qp-site-header__menu a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--qp-text);
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  border-radius: var(--qp-radius-sm);
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.qp-site-header__menu a:hover,
.qp-site-header__menu a.is-active {
  color: var(--qp-accent);
  background: var(--qp-bg-soft);
}
.qp-site-header__toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--qp-primary);
  font-size: 22px;
}

/* Dual hotline */
.qp-hotline-dual {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.qp-hotline-pill--sm {
  padding: 6px 14px 6px 8px;
}
.qp-hotline-pill--sm .qp-hotline-pill__icon {
  width: 28px;
  height: 28px;
  font-size: 12px;
}
.qp-hotline-pill--sm .qp-hotline-pill__num small {
  font-size: 10px;
}
.qp-hotline-pill--sm .qp-hotline-pill__num strong {
  font-size: 13px;
}

/* =========================================================================
   BANG GIA table - 3 cot, group theo loai
   ========================================================================= */
.qp-banggia {
  background: #fff;
  border-radius: var(--qp-radius);
  box-shadow: var(--qp-shadow-md);
  padding: 8px;
  border: 1px solid var(--qp-border);
}
.qp-banggia__figure {
  margin: 0;
  border-radius: calc(var(--qp-radius) - 4px);
  overflow: hidden;
}
.qp-banggia__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.qp-banggia__scroll {
  overflow-x: auto;
}
.qp-banggia__table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  margin: 0;
  box-shadow: none;
  table-layout: fixed;
  min-width: 720px;
}
.qp-banggia__table thead th {
  background: linear-gradient(
    135deg,
    var(--qp-primary),
    var(--qp-primary-dark)
  );
  color: #fff;
  text-align: center;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.qp-banggia__table thead th:first-child {
  width: 17%;
}
.qp-banggia__table thead th:nth-child(2) {
  width: 42%;
}
.qp-banggia__table thead th:nth-child(3) {
  width: 28%;
}
.qp-banggia__table thead th:last-child {
  width: 13%;
  border-right: 0;
}
.qp-banggia__table tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--qp-border);
  border-right: 1px solid var(--qp-border);
  font-size: 13px;
  vertical-align: middle;
}
.qp-banggia__table tbody td:last-child {
  border-right: 0;
}
.qp-banggia__table tbody tr.qp-banggia__group-start td {
  border-top: 2px solid var(--qp-accent-2);
}
.qp-banggia__table tbody tr:last-child td {
  border-bottom: 0;
}
.qp-banggia__table tbody tr:hover td {
  background: var(--qp-bg-soft);
}
.qp-banggia__cat {
  background: linear-gradient(
    180deg,
    rgba(13, 59, 102, 0.04),
    rgba(13, 59, 102, 0.08)
  );
  color: var(--qp-primary);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  border-right: 2px solid var(--qp-accent-2) !important;
  vertical-align: middle;
}
.qp-banggia__price {
  font-weight: 700;
  color: var(--qp-accent);
  white-space: nowrap;
  text-align: right;
  padding-right: 20px !important;
  font-size: 12.5px;
  letter-spacing: -0.1px;
}
.qp-banggia__note {
  margin: 0;
  font-size: 13.5px;
  color: var(--qp-text);
  padding: 12px 16px;
  background: rgba(238, 108, 77, 0.06);
  border-left: 4px solid var(--qp-accent);
  border-radius: var(--qp-radius-sm);
  line-height: 1.6;
}
.qp-banggia__note i {
  color: var(--qp-accent);
  margin-right: 6px;
}

/* Bang gia head: ngay cap nhat + cam ket gia */
.qp-banggia__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(
    135deg,
    rgba(13, 59, 102, 0.05),
    rgba(238, 108, 77, 0.05)
  );
  border-bottom: 1px solid var(--qp-border);
  border-radius: var(--qp-radius) var(--qp-radius) 0 0;
}
.qp-banggia__head strong {
  display: block;
  color: var(--qp-primary);
  font-size: 17px;
  font-weight: 800;
}
.qp-banggia__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--qp-muted);
}
.qp-banggia__date i {
  color: var(--qp-accent);
}
.qp-banggia__commitment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--qp-accent), var(--qp-accent-dark));
  color: #fff;
  border-radius: var(--qp-radius-pill);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(238, 108, 77, 0.3);
}
.qp-banggia__commitment strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline;
}
.qp-banggia__commitment i {
  color: var(--qp-accent-2);
}

/* Cot Xu huong */
.qp-banggia__th-trend {
  width: 110px !important;
  text-align: center !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}
.qp-banggia__trend {
  text-align: center;
}
.qp-trend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: help;
}
.qp-trend--up {
  background: linear-gradient(135deg, #2a9d8f, #1d8377);
  color: #fff;
  box-shadow: 0 4px 10px rgba(42, 157, 143, 0.3);
  animation: qp-pulse-trend 2s infinite;
}
.qp-trend--down {
  background: linear-gradient(135deg, #e63946, #c1121f);
  color: #fff;
}
.qp-trend--stable {
  background: var(--qp-bg-soft);
  color: var(--qp-muted);
  border: 1px solid var(--qp-border);
}
@keyframes qp-pulse-trend {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* CTA section sau bang gia */
.qp-banggia__after {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 2px solid var(--qp-accent);
  background: #fff;
  border-radius: 0 0 var(--qp-radius) var(--qp-radius);
}
.qp-banggia__cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.qp-banggia__cta-row .qp-btn {
  flex: 1 1 240px;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
}
.qp-btn--zalo {
  background: linear-gradient(135deg, #0068ff, #0052cc);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 104, 255, 0.3);
}
.qp-btn--zalo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 104, 255, 0.4);
  color: #fff;
}

/* Partners section - social proof */
.qp-partners {
  padding: 0;
}
.qp-partners__lead {
  text-align: center;
  font-size: 17px;
  color: var(--qp-text);
  margin-bottom: 28px;
}
.qp-partners__lead i {
  color: var(--qp-accent);
  margin-right: 8px;
}
.qp-partners__lead strong {
  color: var(--qp-primary);
}
.qp-partners__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.qp-partner {
  background: #fff;
  border: 1px solid var(--qp-border);
  border-radius: var(--qp-radius);
  padding: 22px 14px;
  text-align: center;
  transition: all 0.25s;
}
.qp-partner:hover {
  border-color: var(--qp-accent);
  transform: translateY(-3px);
  box-shadow: var(--qp-shadow-sm);
}
.qp-partner i {
  font-size: 32px;
  color: var(--qp-primary-light);
  margin-bottom: 10px;
  display: block;
  transition: color 0.2s;
}
.qp-partner:hover i {
  color: var(--qp-accent);
}
.qp-partner strong {
  display: block;
  font-size: 13.5px;
  color: var(--qp-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.qp-partner small {
  display: block;
  font-size: 11.5px;
  color: var(--qp-muted);
  line-height: 1.4;
}
.qp-partners__note {
  text-align: center;
  font-size: 12px;
  color: var(--qp-muted);
  font-style: italic;
  margin: 0;
}
.qp-partners__note i {
  color: var(--qp-accent-2);
  margin-right: 4px;
}

@media (max-width: 1024px) {
  .qp-partners__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .qp-partners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .qp-partner {
    padding: 16px 10px;
  }
  .qp-partner i {
    font-size: 26px;
  }
  .qp-banggia__head {
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  .qp-banggia__commitment {
    font-size: 12px;
    padding: 6px 12px;
  }
  .qp-banggia__cta-row .qp-btn {
    font-size: 13px;
    padding: 12px 18px;
    flex: 1 1 100%;
  }
  .qp-banggia__th-trend {
    width: 70px !important;
    font-size: 9.5px !important;
  }
  .qp-trend {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
}

/* =========================================================================
   SERVICES grid
   ========================================================================= */
.qp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.qp-service-card {
  background: #fff;
  border: 1px solid var(--qp-border);
  border-radius: var(--qp-radius);
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.qp-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--qp-accent), var(--qp-accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.qp-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--qp-shadow-md);
  border-color: transparent;
}
.qp-service-card:hover::before {
  transform: scaleX(1);
}
.qp-service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(238, 108, 77, 0.1),
    rgba(244, 162, 97, 0.18)
  );
  color: var(--qp-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: all 0.25s;
}
.qp-service-card:hover .qp-service-card__icon {
  background: linear-gradient(135deg, var(--qp-accent), var(--qp-accent-dark));
  color: #fff;
  transform: rotate(-6deg);
}
.qp-service-card h4 {
  color: var(--qp-primary);
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
}
.qp-service-card p {
  color: var(--qp-muted);
  font-size: 14px;
  margin: 0 0 16px;
  flex: 1;
}
.qp-service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--qp-accent);
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.2s;
}
.qp-service-card:hover .qp-service-card__more {
  gap: 10px;
}

/* =========================================================================
   AREAS grid (in dark section)
   ========================================================================= */
.qp-areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.qp-area-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--qp-radius);
  padding: 18px 20px;
  backdrop-filter: blur(8px);
}
.qp-area-card h4 {
  color: var(--qp-accent-2);
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 700;
}
.qp-area-card h4 i {
  margin-right: 6px;
}
.qp-area-card p {
  color: #cbd5e1;
  font-size: 13px;
  margin: 0;
  line-height: 1.55;
}

/* =========================================================================
   ABOUT section - text wrap chu L quanh anh
   ========================================================================= */
.qp-about {
  display: block;
  position: relative;
}
.qp-about::after {
  content: "";
  display: table;
  clear: both;
}

/* Left visual column - float left, text wrap quanh */
.qp-about__visual {
  position: relative;
  float: left;
  width: 44%;
  aspect-ratio: 4/5;
  margin: 8px 56px 32px 0;
  shape-outside: inset(0 round var(--qp-radius-lg));
}
.qp-about__shape {
  position: absolute;
  border-radius: 32% 68% 35% 65% / 50% 30% 70% 50%;
  z-index: 0;
  pointer-events: none;
}
.qp-about__shape--1 {
  top: -20px;
  left: -28px;
  width: 70%;
  height: 70%;
  background: linear-gradient(
    135deg,
    rgba(238, 108, 77, 0.15),
    rgba(244, 162, 97, 0.1)
  );
  filter: blur(2px);
  animation: qp-blob 14s ease-in-out infinite;
}
.qp-about__shape--2 {
  bottom: -30px;
  right: -20px;
  width: 55%;
  height: 55%;
  background: linear-gradient(
    135deg,
    rgba(13, 59, 102, 0.12),
    rgba(29, 90, 150, 0.08)
  );
  filter: blur(2px);
  animation: qp-blob 18s ease-in-out infinite reverse;
}
@keyframes qp-blob {
  0%,
  100% {
    border-radius: 32% 68% 35% 65% / 50% 30% 70% 50%;
  }
  50% {
    border-radius: 60% 40% 65% 35% / 40% 60% 40% 60%;
  }
}

/* Main image - lon, lech trai-tren */
.qp-about__media--main {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  aspect-ratio: 3/4;
  border-radius: var(--qp-radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(13, 59, 102, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.5);
  z-index: 2;
}
.qp-about__media--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Secondary image - nho, lech phai-duoi, overlap */
.qp-about__media--accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  aspect-ratio: 4/3;
  border-radius: var(--qp-radius-lg);
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(13, 59, 102, 0.25),
    0 0 0 6px #fff;
  z-index: 3;
}
.qp-about__media--accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badge "10+" - lech tren-phai cua main image */
.qp-about__badge {
  position: absolute;
  top: 20px;
  right: 8%;
  background: linear-gradient(135deg, var(--qp-accent), var(--qp-accent-dark));
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--qp-radius);
  text-align: center;
  box-shadow: 0 12px 28px rgba(238, 108, 77, 0.4);
  z-index: 4;
  transform: rotate(-3deg);
}
.qp-about__badge strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}
.qp-about__badge span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Stat card "1000+ khach hang" - lech trai-duoi */
.qp-about__stat {
  position: absolute;
  bottom: 12%;
  left: -8px;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--qp-radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 32px rgba(13, 59, 102, 0.18);
  z-index: 4;
  border: 1px solid var(--qp-border);
}
.qp-about__stat i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--qp-primary-light),
    var(--qp-primary)
  );
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.qp-about__stat strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--qp-primary);
  line-height: 1;
}
.qp-about__stat small {
  display: block;
  font-size: 11px;
  color: var(--qp-muted);
  margin-top: 3px;
}

/* Intro (heading + lead) - wrap around image */
.qp-about__intro {
  /* khong overflow: hidden, de chu chay quanh anh */
}
.qp-about__intro h2 {
  margin: 0 0 16px;
}
.qp-about__lead {
  color: var(--qp-text);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.qp-about__lead strong {
  color: var(--qp-primary);
  font-weight: 600;
}

/* Details (list + CTA) - clear float, span full width */
.qp-about__details {
  clear: both;
  padding-top: 8px;
}

/* List - card dep voi icon container, full width 3 cot */
.qp-about__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 16px;
}
.qp-about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--qp-radius-sm);
  background: var(--qp-bg-soft);
  border: 1px solid transparent;
  transition: all 0.25s;
  font-size: 14.5px;
  color: var(--qp-text);
  line-height: 1.55;
}
.qp-about__list li:hover {
  background: #fff;
  border-color: var(--qp-accent-2);
  transform: translateX(4px);
  box-shadow: var(--qp-shadow-sm);
}
.qp-about__list-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--qp-accent), var(--qp-accent-dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(238, 108, 77, 0.3);
}

/* CTA row */
.qp-about__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.qp-btn--ghost-dark {
  background: transparent;
  color: var(--qp-primary);
  border: 2px solid var(--qp-primary);
}
.qp-btn--ghost-dark:hover {
  background: var(--qp-primary);
  color: #fff;
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .qp-about__visual {
    float: none;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 5/4;
    margin: 0 auto 32px;
    shape-outside: none;
  }
  .qp-about__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .qp-about__visual {
    aspect-ratio: 1/1;
  }
  .qp-about__media--main {
    width: 75%;
  }
  .qp-about__media--accent {
    width: 55%;
  }
  .qp-about__badge {
    padding: 10px 14px;
    top: 12px;
  }
  .qp-about__badge strong {
    font-size: 22px;
  }
  .qp-about__badge span {
    font-size: 10px;
  }
  .qp-about__stat {
    padding: 10px 12px;
    gap: 10px;
  }
  .qp-about__stat i {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .qp-about__stat strong {
    font-size: 16px;
  }
  /* List flush left edge - bo padding va background card de UI deu */
  .qp-about__list {
    grid-template-columns: 1fr;
    gap: 4px;
    margin: 0 -12px 24px;
  }
  .qp-about__list li {
    padding: 10px 12px;
    font-size: 13.5px;
    background: transparent;
    border: 0;
  }
  .qp-about__list li:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
  }
  /* CTA buttons stack doc - de bam tren mobile */
  .qp-about__cta {
    flex-direction: column;
    gap: 10px;
  }
  .qp-about__cta .qp-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* =========================================================================
   QUY TRINH steps
   ========================================================================= */
.qp-quy-trinh {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.qp-quy-trinh__step {
  background: #fff;
  border-radius: var(--qp-radius);
  padding: 36px 24px 24px;
  text-align: center;
  box-shadow: var(--qp-shadow-sm);
  border: 1px solid var(--qp-border);
  position: relative;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.qp-quy-trinh__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--qp-shadow-md);
}
.qp-quy-trinh__num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    var(--qp-primary),
    var(--qp-primary-dark)
  );
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: var(--qp-shadow-sm);
}
.qp-quy-trinh__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(238, 108, 77, 0.1),
    rgba(244, 162, 97, 0.2)
  );
  color: var(--qp-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.qp-quy-trinh__step h4 {
  color: var(--qp-primary);
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 700;
}
.qp-quy-trinh__step p {
  color: var(--qp-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* Author line cho testimonial */
.qp-testimonial__author {
  margin: 8px 0 0;
  color: var(--qp-accent-2);
  font-size: 13px;
}
.qp-testimonial__author strong {
  color: #fff;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .qp-why {
    grid-template-columns: repeat(2, 1fr);
  }
  .qp-card-grid,
  .qp-services-grid,
  .qp-quy-trinh {
    grid-template-columns: repeat(2, 1fr);
  }
  .qp-areas {
    grid-template-columns: repeat(2, 1fr);
  }
  .qp-testimonial__card {
    flex: 0 0 320px;
    width: 320px;
  }
  .qp-footer__columns {
    grid-template-columns: 1fr 1fr;
  }
  .qp-about {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .qp-site-header__top-info {
    display: none;
  }
  .qp-site-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .qp-hotline-dual .qp-hotline-pill--sm:nth-child(2) {
    display: none;
  }
  .qp-banner__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 24px;
  }
  .qp-banner__media {
    max-width: 100%;
    width: 100%;
    margin: 0;
    aspect-ratio: 16/10;
  }
  .qp-banner__stats {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px;
    gap: 14px;
  }
  .qp-banner__stat span {
    font-size: 12px;
  }
  .qp-banner__shape--dots {
    display: none;
  }
}
@media (max-width: 720px) {
  .qp-banner h1 {
    font-size: 30px;
  }
  .qp-banner__sub {
    font-size: 15px;
  }
  .qp-banner__eyebrow {
    font-size: 11px;
    padding: 6px 12px;
  }
  .qp-banner__cta-row .qp-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  .qp-banner__trust {
    gap: 8px 14px;
  }
  .qp-banner__trust li {
    font-size: 12px;
  }
  .qp-banner__float--top {
    top: 8%;
    left: 8px;
    padding: 10px 12px;
  }
  .qp-banner__float--bot {
    bottom: 8%;
    right: 8px;
    padding: 10px 12px;
  }
  .qp-banner__float-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .qp-banner__float strong {
    font-size: 13px;
  }
  .qp-banner__float small {
    font-size: 11px;
  }
  .qp-banner__stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px;
    gap: 12px;
  }
  .qp-banner__stat:not(:last-child)::after {
    display: none;
  }
  .qp-banner__stat strong {
    font-size: 22px;
  }
  .qp-banner__marquee span {
    font-size: 12px;
  }
  .qp-banner__marquee-track {
    gap: 22px;
  }
  .qp-banner__shape--1 {
    width: 220px;
    height: 220px;
  }
  .qp-banner__shape--2 {
    width: 160px;
    height: 160px;
  }
  .qp-section {
    padding: 40px 0;
  }
  .qp-why,
  .qp-card-grid,
  .qp-services-grid,
  .qp-quy-trinh,
  .qp-areas {
    grid-template-columns: 1fr;
  }
  .qp-footer__columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .qp-hotline-pill__num small {
    display: none;
  }
  .qp-floating {
    right: 10px;
    bottom: 10px;
  }
  .qp-floating__btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  .qp-banggia__table thead th,
  .qp-banggia__table tbody td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* =========================================================================
   MOBILE - HEADER drawer menu + compact header
   ========================================================================= */
@media (max-width: 1024px) {
  /* An hoan toan top bar tren mobile - tiet kiem vertical space */
  .qp-site-header__top {
    display: none !important;
  }

  .qp-site-header__main {
    padding: 8px 16px;
    gap: 10px;
    justify-content: space-between;
  }
  .qp-site-header__brand {
    gap: 10px;
  }
  .qp-site-header__brand-logo {
    height: 38px;
  }
  .qp-site-header__brand-mark {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 10px;
  }
  .qp-site-header__brand-text strong {
    font-size: 15px;
  }
  .qp-site-header__brand-text small {
    font-size: 11px;
  }
  .qp-hotline-dual .qp-hotline-pill--sm {
    padding: 4px 10px 4px 5px;
  }
  .qp-hotline-dual .qp-hotline-pill__icon {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .qp-hotline-dual .qp-hotline-pill__num small {
    display: none;
  }
  .qp-hotline-dual .qp-hotline-pill__num strong {
    font-size: 12.5px;
  }

  /* Sub-navbar compact */
  .qp-navbar__list a {
    padding: 9px 13px;
    font-size: 11.5px;
  }
  .qp-navbar {
    border-bottom-width: 2px;
  }

  /* Toggle button visible */
  .qp-site-header__toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
      135deg,
      var(--qp-accent),
      var(--qp-accent-dark)
    );
    color: #fff;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    font-size: 18px;
    flex-shrink: 0;
  }

  /* Dropdown thả xuống dưới header (collapsed by default) */
  .qp-site-header__main {
    position: relative;
  }
  .qp-site-header__menu {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.4s ease,
      box-shadow 0.2s ease;
    z-index: 60;
    gap: 0;
    border-top: 1px solid var(--qp-border);
  }
  .qp-site-header__menu li {
    width: 100%;
  }
  .qp-site-header__menu a {
    display: block;
    padding: 14px 20px;
    border-radius: 0;
    border-bottom: 1px solid var(--qp-border);
    font-size: 14px;
  }
  .qp-site-header__menu a:hover,
  .qp-site-header__menu a.is-active {
    background: var(--qp-bg-soft);
    color: var(--qp-accent);
    border-left: 4px solid var(--qp-accent);
    padding-left: 16px;
  }
  /* Open state - dropdown slide down */
  body.qp-mobile-open .qp-site-header__menu {
    max-height: 80vh;
    overflow-y: auto;
  }
  /* Hamburger icon doi sang X khi mo */
  body.qp-mobile-open .qp-site-header__toggle .fa-bars::before {
    content: "\f00d";
  }
}

/* =========================================================================
   MOBILE - tablet (<= 768px)
   ========================================================================= */
@media (max-width: 768px) {
  /* Top bar an info, chi giu Zalo */
  .qp-site-header__top-info {
    display: none;
  }
  .qp-site-header__top-inner {
    justify-content: center;
  }

  /* Hotline dual: chi giu 1 hotline */
  .qp-hotline-dual .qp-hotline-pill--sm:nth-child(2) {
    display: none;
  }

  /* Section heading nho lai */
  .qp-section {
    padding: 36px 0;
  }
  .qp-section__head {
    margin-bottom: 24px;
  }
  .qp-section__title {
    font-size: 22px !important;
  }
  .qp-section__lead {
    font-size: 14px;
  }
  .qp-section__eyebrow {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 8px;
  }

  /* Banner photo nho lai */
  .qp-banner {
    padding-bottom: 60px;
  }
  .qp-banner__grid {
    padding: 40px 0 24px;
    gap: 20px;
  }
  .qp-banner__photo {
    aspect-ratio: 4/3;
    width: 100%;
  }
  .qp-banner__cta-row {
    gap: 8px;
  }
  .qp-banner__trust li {
    font-size: 11px;
  }

  /* Page header banner compact */
  body:not(.home) .entry-header {
    padding: 22px 16px 32px !important;
    margin-bottom: 14px !important;
  }
  body:not(.home) .entry-header::after {
    height: 32px;
  }
  body:not(.home) .entry-title {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }

  /* Hero anh trang con mong lai */
  .qp-page-hero img {
    max-height: 240px;
  }

  /* Why-choice card nho */
  .qp-why__card {
    padding: 22px 18px;
  }
  .qp-why__icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
  .qp-why__card h5 {
    font-size: 16px;
  }
  .qp-why__card p {
    font-size: 13px;
  }

  /* Service card */
  .qp-service-card {
    padding: 22px 18px;
  }
  .qp-service-card__icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 12px;
  }
  .qp-service-card h4 {
    font-size: 16px;
  }
  .qp-service-card p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  /* Quy trinh step */
  .qp-quy-trinh__step {
    padding: 32px 20px 22px;
  }

  /* About section */
  .qp-about__media {
    max-width: 100%;
  }
  .qp-about__badge {
    padding: 12px 16px;
    bottom: 12px;
    left: 12px;
  }
  .qp-about__badge strong {
    font-size: 24px;
  }

  /* Sub-navbar marquee speed nhanh hon */
  .qp-navbar__list a {
    padding: 11px 14px;
    font-size: 12px;
  }
  .qp-navbar__track {
    animation-duration: 35s;
  }

  /* Testimonial card nho lai mobile */
  .qp-testimonial__card {
    flex: 0 0 280px;
    width: 280px;
    padding: 20px 18px;
  }
  .qp-testimonial__quote {
    font-size: 13.5px;
    -webkit-line-clamp: 6;
  }
  .qp-testimonial__track {
    animation-duration: 60s;
    gap: 16px;
  }

  /* Bang gia table mobile - dat chu nho hon */
  .qp-banggia__table {
    min-width: 580px;
  }
  .qp-banggia__cat {
    font-size: 13px;
    padding: 10px 8px !important;
  }
}

/* =========================================================================
   Hotline trong drawer (an o desktop, hien o mobile)
   ========================================================================= */
.qp-site-header__menu-hotlines {
  display: none;
}
.qp-site-header__hotlines-desktop {
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  /* An pill ngoai header tren mobile, di chuyen vao drawer */
  .qp-site-header__hotlines-desktop {
    display: none !important;
  }

  /* Hien hotline section o dau drawer */
  .qp-site-header__menu-hotlines {
    display: block !important;
    background: linear-gradient(135deg, var(--qp-primary-dark), #061d36);
    padding: 18px 14px !important;
    border-bottom: 3px solid var(--qp-accent) !important;
    margin: 0 !important;
    border-left: 0 !important;
  }
  .qp-site-header__menu-hotlines .qp-hotline-dual {
    flex-direction: column;
    gap: 10px;
  }
  /* Force show ca 2 pill trong drawer */
  .qp-site-header__menu-hotlines .qp-hotline-pill--sm,
  .qp-site-header__menu-hotlines .qp-hotline-pill--sm:nth-child(2) {
    display: inline-flex !important;
    width: 100%;
    padding: 12px 16px 12px 10px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: var(--qp-radius);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
    transition:
      transform 0.2s,
      box-shadow 0.2s;
  }
  /* Pill 1: gradient cam (Mr. Quang) */
  .qp-site-header__menu-hotlines .qp-hotline-dual a:first-child {
    background: linear-gradient(
      135deg,
      var(--qp-accent),
      var(--qp-accent-dark)
    ) !important;
  }
  /* Pill 2: gradient xanh sang (Mrs. Luan) */
  .qp-site-header__menu-hotlines .qp-hotline-dual a:nth-child(2) {
    background: linear-gradient(
      135deg,
      var(--qp-primary-light),
      var(--qp-primary)
    ) !important;
  }
  .qp-site-header__menu-hotlines .qp-hotline-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  }
  .qp-site-header__menu-hotlines .qp-hotline-pill__icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 15px !important;
    background: rgba(255, 255, 255, 0.22) !important;
    border-radius: 50%;
  }
  .qp-site-header__menu-hotlines .qp-hotline-pill__num {
    margin-left: 4px;
  }
  .qp-site-header__menu-hotlines .qp-hotline-pill__num small {
    display: block !important;
    font-size: 11px !important;
    opacity: 0.92;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.92);
  }
  .qp-site-header__menu-hotlines .qp-hotline-pill__num strong {
    font-size: 18px !important;
    letter-spacing: 0.02em;
    color: #fff;
  }
}

/* =========================================================================
   MOBILE - small phone (<= 480px)
   ========================================================================= */
@media (max-width: 480px) {
  :root {
    --qp-container: 100%;
  }

  /* Container padding nho - giu header__main 16px de toggle khong sat le */
  .qp-container,
  .ast-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .qp-site-header__main {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Banner */
  .qp-banner h1 {
    font-size: 26px;
  }
  .qp-banner__sub {
    font-size: 14px;
  }
  .qp-banner__cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .qp-banner__cta-row .qp-btn {
    justify-content: center;
    padding: 11px 18px;
  }
  .qp-banner__float {
    display: none;
  } /* an floating cards o phone */
  .qp-banner__shape {
    opacity: 0.25;
  }

  /* Stats 2x2 - card nho */
  .qp-banner__stats {
    padding: 16px;
    gap: 10px;
  }
  .qp-banner__stat strong {
    font-size: 20px;
  }
  .qp-banner__stat span {
    font-size: 11px;
    line-height: 1.3;
  }

  /* Marquee tags */
  .qp-banner__marquee {
    padding: 10px 0;
  }
  .qp-banner__marquee span {
    font-size: 11px;
  }

  /* Sub-navbar */
  .qp-navbar__list a {
    padding: 10px 12px;
    font-size: 11px;
  }

  /* Section headings */
  .qp-section {
    padding: 32px 0;
  }
  .qp-section__title {
    font-size: 20px !important;
  }

  /* Page header banner */
  body:not(.home) .entry-title {
    font-size: 19px !important;
    line-height: 1.25;
  }

  /* Inner content padding */
  body:not(.home) .qp-pl__main {
    padding: 20px 14px;
  }
  body:not(.home) .entry-content h2 {
    font-size: 18px;
    padding-left: 12px;
  }
  body:not(.home) .entry-content h3 {
    font-size: 16px;
  }

  /* Touch targets - tang kich thuoc click */
  .qp-card__more,
  .qp-service-card__more,
  .qp-widget__list a {
    min-height: 44px;
  }

  /* Floating buttons - smaller */
  .qp-floating {
    right: 8px;
    bottom: 8px;
    gap: 10px;
  }
  .qp-floating__btn {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  /* Bang gia table - co lai cho vua mh, khong scroll ngang */
  .qp-banggia {
    padding: 4px;
    border-radius: 10px;
  }
  .qp-banggia__scroll {
    overflow-x: hidden;
  }
  .qp-banggia__table {
    min-width: 0 !important;
    table-layout: auto;
    width: 100%;
  }
  .qp-banggia__table thead th,
  .qp-banggia__table thead th:first-child,
  .qp-banggia__table thead th:nth-child(2),
  .qp-banggia__table thead th:last-child {
    width: auto;
    padding: 7px 4px;
    font-size: 10px;
    letter-spacing: 0;
    line-height: 1.2;
  }
  .qp-banggia__table tbody td {
    padding: 7px 6px;
    font-size: 11px;
    line-height: 1.3;
    word-break: break-word;
  }
  .qp-banggia__cat {
    font-size: 10.5px !important;
    padding: 7px 4px !important;
    line-height: 1.25 !important;
    font-weight: 700;
  }
  .qp-banggia__price {
    font-size: 10.5px !important;
    white-space: normal;
    text-align: right;
  }
  .qp-banggia__note {
    font-size: 11px;
    padding: 0 6px;
    line-height: 1.5;
  }

  /* Footer mobile */
  .qp-footer {
    padding: 36px 0 0;
  }
  .qp-footer__columns {
    gap: 24px;
  }
  .qp-footer__title {
    font-size: 14px;
  }
  .qp-footer a {
    font-size: 13px;
  }
  .qp-footer__contact li {
    font-size: 13px;
  }
  .qp-footer__brand strong {
    font-size: 18px;
  }
  .qp-footer__map {
    aspect-ratio: 16/10;
  }

  /* Footer bottom bar - vertical layout */
  .qp-footer__bottom p {
    font-size: 11.5px;
    line-height: 1.7;
  }

  /* Sidebar widget */
  .qp-widget__list span {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
  .qp-widget__list img {
    width: 50px;
    height: 44px;
  }
}

/* iPhone landscape edge tweaks */
@media (max-width: 480px) and (orientation: landscape) {
  .qp-banner {
    min-height: auto;
  }
  .qp-banner__media {
    display: none;
  } /* an photo cot phai khi xoay ngang */
}

/* Remove tap-highlight blue */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Smooth scroll trong page */
html {
  scroll-behavior: smooth;
}
