:root {
  /* Thịnh Phát — tông xanh logo + accent CMYK / đỏ */
  --brand: #1d4e9e;
  --brand-dark: #153a7a;
  --brand-darker: #0c2d5e;
  --brand-hover: #2563eb;
  --brand-light: #e8f0fc;
  --brand-muted: #204090;
  --accent-red: #ed1c24;
  --accent-orange: #f7941d;
  --cmyk-k: #231f20;
  --cmyk-m: #ec008c;
  --cmyk-c: #00aeef;
  --cmyk-y: #ffd100;
  --bg-page: #eef2f8;
  --bg-soft: #f5f8fd;
  --text: #1a1a1a;
  --text-muted: #5c6470;
  --white: #fff;
  --max-w: 1100px;
  --shadow: 0 14px 28px rgba(21, 58, 122, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.5;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 15px;
}

/* Top bar */
.top-bar {
  background: var(--brand-dark);
  color: var(--white);
  font-size: 13px;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.top-bar a {
  color: var(--white);
  opacity: 0.95;
}

.top-bar a:hover {
  text-decoration: underline;
}

.top-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.top-links .sep {
  opacity: 0.5;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--cmyk-k) 0%,
    var(--cmyk-k) 25%,
    var(--cmyk-m) 25%,
    var(--cmyk-m) 50%,
    var(--cmyk-c) 50%,
    var(--cmyk-c) 75%,
    var(--cmyk-y) 75%,
    var(--cmyk-y) 100%
  );
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 68px;
  width: auto;
  max-width: min(280px, 42vw);
  object-fit: contain;
}

.header-center {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hotline {
  font-size: 13px;
  color: var(--brand-darker);
}

.hotline b {
  color: var(--brand-dark);
  font-size: 15px;
}

.hotline a:hover b {
  color: var(--accent-red);
}

.search-box {
  display: flex;
  border: 2px solid var(--brand);
  border-radius: 4px;
  overflow: hidden;
}

.search-box input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
}

.search-box button {
  border: none;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: var(--white);
  padding: 0 18px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
}

.search-box button:hover {
  background: linear-gradient(135deg, var(--brand), var(--accent-red));
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.trust-badge,
.cart-box {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  min-width: 110px;
  background: var(--bg-soft);
}

.trust-badge strong,
.cart-box strong {
  display: block;
  font-size: 11px;
  color: var(--brand-dark);
  letter-spacing: 0.04em;
}

.trust-badge span,
.cart-box span {
  font-size: 11px;
  color: var(--text-muted);
}

.cart-box {
  position: relative;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e74c3c;
  color: var(--white);
  font-size: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation */
.main-nav {
  background: var(--brand-dark);
}

.main-nav .container {
  max-width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}

.nav-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-list > li {
  position: relative;
  flex: 0 0 auto;
}

.nav-list > li > a {
  display: block;
  padding: 11px 9px;
  color: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  line-height: 1.25;
}

@media (min-width: 1200px) {
  .nav-list > li > a {
    padding: 12px 14px;
    font-size: 13px;
    letter-spacing: 0.02em;
  }
}

.nav-list > li:hover > a,
.nav-list > li:focus-within > a {
  background: var(--brand-hover);
}

.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
  z-index: 50;
}

.nav-list > li:hover .dropdown,
.nav-list > li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px dotted #ddd;
}

.dropdown a:hover {
  background: var(--brand-light);
  color: var(--brand-muted);
}

.dropdown--tall {
  min-width: 280px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
}

.dropdown--tall a {
  font-size: 12px;
  line-height: 1.35;
  padding: 9px 14px;
}

.menu-toggle {
  display: none;
  background: var(--brand-dark);
  color: var(--white);
  border: none;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
}

/* Hero slider */
.hero {
  background: var(--white);
  padding: 0;
  width: 100%;
}

.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(240px, 38vw, 420px);
  background: #0c2d5e;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.slide.active .slide-bg {
  animation: heroKenBurns 8s ease-out forwards;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    95deg,
    rgba(8, 28, 68, 0.94) 0%,
    rgba(12, 45, 94, 0.82) 36%,
    rgba(29, 78, 158, 0.28) 58%,
    rgba(12, 45, 94, 0.06) 100%
  );
}

.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(52px, 5vw, 72px) 0 clamp(16px, 4vw, 40px);
  left: 0;
  right: 0;
}

.slide-badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 4px;
  background: var(--accent-red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(237, 28, 36, 0.35);
}

.slide-content h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 36px);
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  line-height: 1.15;
}

.slide-content p {
  font-size: 15px;
  max-width: 480px;
  opacity: 0.95;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

.slider-btn:hover {
  background: var(--brand-dark);
}

.slider-btn.prev {
  left: 12px;
}

.slider-btn.next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.slider-dots button.active {
  background: var(--brand);
  border-color: var(--brand);
}

/* Category tabs */
.category-tabs {
  background: var(--white);
  border-bottom: 2px solid var(--brand-darker);
}

.tab-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.tab-row a {
  text-align: center;
  padding: 14px 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--brand-darker);
  border-right: 1px solid #eee;
  transition: 0.2s;
}

.tab-row a:last-child {
  border-right: none;
}

.tab-row a:hover,
.tab-row a.active {
  background: var(--brand-dark);
  color: var(--white);
}

/* Products */
.section {
  padding: 28px 0;
}

.section-title {
  text-align: center;
  margin: 0 0 22px;
  font-size: 20px;
  color: var(--brand-darker);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent-red));
  margin: 8px auto 0;
  border-radius: 2px;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 560px;
  margin: -8px auto 24px;
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.product-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #f0f4fc, #d6e4f7);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  min-height: 140px;
}

.product-card h3 {
  margin: 0;
  padding: 12px 10px;
  font-size: 13px;
  text-align: center;
  color: var(--brand-darker);
  font-weight: 600;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ấn phẩm văn phòng — thẻ có ảnh */
.section-vanphong,
.section-truyenthong,
.section-baobi {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.product-grid--vanphong {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.section-vanphong .section-title,
.section-truyenthong .section-title,
.section-baobi .section-title {
  color: var(--brand-darker);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.section-vanphong .section-lead,
.section-truyenthong .section-lead,
.section-baobi .section-lead {
  margin-bottom: 18px;
}

.product-card--photo {
  border-radius: 4px;
  border: 1px solid #e8e4dc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  background: var(--white);
  overflow: hidden;
}

.product-card--photo:hover {
  box-shadow: 0 8px 24px rgba(21, 58, 122, 0.12);
  border-color: #d0d8e8;
}

.product-card--photo:target {
  outline: 3px solid var(--accent-red);
  outline-offset: 3px;
  box-shadow: 0 12px 32px rgba(237, 28, 36, 0.25);
}

.product-card--photo .product-thumb {
  position: relative;
  aspect-ratio: 273 / 244;
  min-height: 0;
  padding: 10px 12px 6px;
  overflow: hidden;
  background: linear-gradient(180deg, #faf7f0 0%, #f3ebe0 55%, #efe6d8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card--photo .product-thumb img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.12));
}

.product-card--photo:hover .product-thumb img {
  transform: scale(1.04);
}

.product-card--photo .product-thumb::after {
  display: none;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--accent-red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(237, 28, 36, 0.35);
}

.product-card--photo .product-body {
  padding: 12px 10px 14px;
  text-align: center;
  background: var(--white);
  border-top: 1px solid #ebe6de;
}

.product-card--photo .product-body h3 {
  display: block;
  padding: 0;
  min-height: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: #1a1a1a;
  text-transform: capitalize;
}

.product-card--photo .product-body p {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  text-align: center;
}

/* Staff */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.staff-grid--contacts {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin: 0 auto;
  gap: 24px;
}

.staff-card {
  background: var(--white);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  border: 1px solid #e5e5e5;
}

.staff-card--photo {
  padding: 0;
  overflow: hidden;
  border: 1px solid #e8e4dc;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--white);
}

.staff-card--photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(21, 58, 122, 0.18);
}

.staff-photo {
  position: relative;
  aspect-ratio: 12 / 14;
  overflow: hidden;
  background: linear-gradient(180deg, #faf7f0 0%, #f0e8dc 100%);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.staff-body {
  padding: 14px 16px 18px;
  text-align: center;
  border-top: 3px solid var(--brand);
}

.staff-card--photo h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--brand-darker);
}

.staff-role {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.staff-card a.phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s;
}

.staff-card a.phone:hover {
  background: linear-gradient(135deg, var(--accent-red), var(--brand));
}

.staff-card a.phone::before {
  content: "\f095";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
}

/* Banner promo */
.promo-banner {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(105deg, var(--brand-dark) 0%, var(--brand) 55%, var(--accent-red) 100%);
  color: var(--white);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.promo-banner h3 {
  margin: 0 0 6px;
  font-size: 24px;
  text-transform: uppercase;
}

.promo-banner p {
  margin: 0;
  opacity: 0.9;
}

.promo-phones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.promo-phones .phone {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  text-align: right;
  white-space: nowrap;
}

.promo-phones .phone span {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}


/* Partners & payment */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.partner-item {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.partner-item:hover {
  border-color: #c5d4ef;
  box-shadow: 0 4px 12px rgba(29, 78, 158, 0.08);
}

.partner-item img {
  display: block;
  width: 100%;
  max-width: 140px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.partner-item:hover img {
  filter: none;
  opacity: 1;
}

.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pay-item {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  margin-top: 32px;
  background: linear-gradient(165deg, var(--brand-darker) 0%, #0a2248 42%, var(--brand-dark) 100%);
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 45%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.22), transparent 65%);
  pointer-events: none;
}

.footer-top-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--cmyk-y) 35%, var(--cmyk-c) 65%, var(--brand) 100%);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(200px, 1fr) minmax(160px, 0.9fr) minmax(160px, 0.9fr);
  gap: 28px 32px;
  padding: 36px 16px 32px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.footer-logo img {
  height: 48px;
  width: auto;
  max-width: 200px;
}

.footer-company {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer-address {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.footer-address .fa-location-dot {
  color: var(--accent-red);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-address-note {
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
}

.footer-hotlines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.footer-hotline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}

.footer-hotline:hover {
  background: rgba(237, 28, 36, 0.2);
  border-color: rgba(237, 28, 36, 0.45);
  color: var(--white);
}

.footer-hotline .fa-phone {
  color: var(--accent-red);
}

.footer-hotline small {
  font-weight: 500;
  opacity: 0.85;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

.footer-email:hover {
  color: var(--cmyk-c);
}

.footer-heading {
  margin: 0 0 14px;
  padding-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  border-bottom: 2px solid var(--accent-red);
  display: inline-block;
}

.footer-col--stats {
  min-width: 0;
}

.footer-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-stat {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stat__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cmyk-c);
  font-size: 14px;
}

.footer-stat__icon .fa-circle {
  font-size: 8px;
  color: #4ade80;
}

.footer-stat__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-stat__value {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0 0 2px;
}

.footer-links a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a::before {
  content: "›";
  margin-right: 6px;
  color: var(--accent-red);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  padding: 14px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom__inner p {
  margin: 0;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 700;
}

.footer-bottom a:hover {
  color: var(--cmyk-c);
}

.site-footer a {
  text-decoration: none;
}

/* Floating */
.float-contact {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  background: var(--brand-dark);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}

.float-contact a {
  color: var(--white);
  text-align: center;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.float-contact a:last-child {
  border-right: none;
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 70px;
  z-index: 150;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-dark);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.zalo-float {
  position: fixed;
  right: 16px;
  bottom: 130px;
  z-index: 150;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0068ff;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.4);
}

/* Mobile menu drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}

.mobile-drawer.open {
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: 0.3s;
}

.mobile-drawer.open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--white);
  transform: translateX(-100%);
  transition: 0.3s;
  overflow-y: auto;
  padding: 16px;
}

.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid var(--ui-border, #e2e8f0);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--brand-darker);
  font-weight: 600;
  cursor: pointer;
}
  color: var(--brand-darker);
  font-size: 14px;
  margin: 16px 0 8px;
  text-transform: uppercase;
}

.drawer-panel a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px dotted #eee;
}

.local-badge {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 500;
  background: var(--cmyk-y);
  color: var(--cmyk-k);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 992px) {
  .product-grid,
  .staff-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid--vanphong {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 52px;
    max-width: 200px;
  }

  .top-bar .container {
    justify-content: center;
    font-size: 12px;
  }

  .header-main {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .header-center .hotline {
    display: none;
  }

  .trust-badge {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .tab-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid,
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    padding: 28px 16px 24px;
  }

  .footer-brand,
  .footer-col--stats {
    grid-column: 1 / -1;
  }

  .footer-col--services,
  .footer-col--policy {
    grid-column: auto;
  }

  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }

  .float-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }

  .scroll-top {
    bottom: 64px;
  }

  .zalo-float {
    bottom: 120px;
  }

  .slider {
    height: clamp(200px, 42vw, 280px);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-grid--vanphong {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .staff-grid {
    grid-template-columns: 1fr 1fr;
  }

  .staff-grid--contacts {
    max-width: none;
  }

  .promo-banner {
    flex-direction: column;
    text-align: center;
  }

  .promo-phones .phone {
    text-align: center;
    font-size: 16px;
  }

  .footer-col--services .footer-heading,
  .footer-col--policy .footer-heading {
    font-size: 12px;
  }

  .footer-links a {
    font-size: 12px;
    padding: 6px 0;
  }
}
