/* Production UI fixes for current theme markup. */
:root {
  --color-primary-bg: rgba(15,76,129,.08);
  --section-padding: clamp(2rem, 4vw, 3.5rem);
  --space-4xl: 3.5rem;
  --space-5xl: 5rem;
  --space-3xl: 2rem;
}

body { background: #f6f8fb; }
body.mobile-nav-open { overflow: hidden; }
.site-main { background: #fff; }
.section-header { margin-bottom: 1.75rem; }
.section-header--center { margin-bottom: 2rem; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--color-primary-dark);
  color: #fff;
  transition: opacity .3s ease, visibility .3s ease;
}
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader img { display: none; }
.preloader-logo { display: grid; gap: .75rem; justify-items: center; font-weight: 700; }
.preloader-text { color: #fff; }
.preloader-bar { width: 180px; height: 3px; background: rgba(255,255,255,.18); overflow: hidden; border-radius: 99px; }
.preloader-bar-fill { width: 45%; height: 100%; background: var(--color-accent); animation: bdn-load 1s ease-in-out infinite alternate; }
@keyframes bdn-load { from { transform: translateX(-70%); } to { transform: translateX(190%); } }

/* Header */
.top-bar { position: relative; z-index: 220; }
.top-bar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar__left,
.top-bar__right,
.top-bar__link {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.top-bar__left { min-width: 0; }
.top-bar__link {
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  line-height: 1.35;
}
.top-bar__link svg { width: 14px; height: 14px; color: var(--color-accent); flex: 0 0 auto; }
.top-bar__divider { color: rgba(255,255,255,.25); }
.top-bar__social {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
}
.top-bar__social:hover { color: #fff; background: var(--color-accent); }
.top-bar__social svg { width: 14px; height: 14px; }

.site-header {
  top: 0;
  z-index: 210;
  background: #fff;
}
body.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
.site-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: visible;
}
.site-header__logo {
  flex: 0 1 auto;
  min-width: 0;
}
.logo-link,
.footer-logo a {
  display: inline-flex;
  align-items: center;
  color: inherit;
}
.custom-logo { max-height: 52px; width: auto; }
.mobile-nav-logo-img { max-height: 46px; width: auto; }
.footer-logo img { max-width: 260px; height: auto; object-fit: contain; }
.bdn-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  max-height: 52px;
  max-width: 100%;
  white-space: nowrap;
  line-height: 1;
}
.bdn-brand-logo__icon {
  position: relative;
  flex: 0 0 72px;
  width: 72px;
  height: 52px;
}
.bdn-brand-logo__roll {
  position: absolute;
  left: 0;
  top: 4px;
  width: 58px;
  height: 40px;
  border: 4px solid #1e6aa8;
  border-radius: 50%;
  background: #e7eef5;
}
.bdn-brand-logo__core {
  position: absolute;
  left: 23px;
  top: 18px;
  width: 18px;
  height: 13px;
  border-radius: 50%;
  background: #0b1f35;
}
.bdn-brand-logo__strip {
  position: absolute;
  left: 41px;
  top: 36px;
  width: 38px;
  height: 11px;
  background: #ff9800;
}
.bdn-brand-logo__strip-end {
  position: absolute;
  left: 51px;
  top: 46px;
  width: 24px;
  height: 5px;
  background: #1e6aa8;
}
.bdn-brand-logo__text {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
}
.bdn-brand-logo__name {
  color: #0f4c81;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
  overflow: hidden;
}
.bdn-brand-logo__dot {
  color: #ff9800;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}
.bdn-brand-logo--light .bdn-brand-logo__name { color: #fff; }
.bdn-brand-logo--footer { height: 48px; max-height: 48px; }
.bdn-brand-logo--footer .bdn-brand-logo__name { font-size: 29px; }
.bdn-brand-logo--footer .bdn-brand-logo__dot { font-size: 19px; }
.bdn-brand-logo--mobile { height: 46px; max-height: 46px; }
.bdn-brand-logo--mobile .bdn-brand-logo__name { font-size: 26px; }
.bdn-brand-logo--mobile .bdn-brand-logo__dot { font-size: 17px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text__main {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.logo-text__sub {
  font-size: .68rem;
  color: var(--color-accent);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.logo-text--white .logo-text__main { color: #fff; }
.logo-text--white .logo-text__sub { color: var(--color-accent); }

.site-nav { flex: 1; min-width: 0; }
.site-nav .nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
}
.site-nav .menu-item { position: relative; }
.site-nav .menu-item > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .72rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav .menu-item:hover > a,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a {
  color: var(--color-primary);
  background: var(--color-primary-bg);
}
.dropdown-arrow { width: 14px; height: 14px; opacity: .55; }
.site-nav .nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
  z-index: 300;
}
.site-nav .menu-item:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav .nav-dropdown a {
  width: 100%;
  justify-content: flex-start;
  min-height: 0;
  padding: .65rem .75rem;
  font-size: .86rem;
}
.site-header__cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.header-hotline {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .55rem;
  border-radius: var(--radius-md);
  color: var(--color-primary);
  background: var(--color-primary-bg);
}
.header-hotline__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--color-primary);
}
.header-hotline__icon svg { width: 16px; height: 16px; }
.header-hotline__text { display: flex; flex-direction: column; line-height: 1.15; }
.header-hotline__label { font-size: .66rem; color: var(--color-text-muted); text-transform: uppercase; font-weight: 700; }
.header-hotline__number { font-family: var(--font-display); font-size: 1rem; color: var(--color-primary); font-weight: 900; }
.mobile-menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
}
.mobile-menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu-toggle .icon-close,
.mobile-menu-toggle.active .icon-menu { display: none; }
.mobile-menu-toggle.active .icon-close { display: block; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(13,27,42,.58);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 510;
  width: min(360px, 88vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .28s ease, visibility .28s ease;
}
.mobile-nav.active { transform: translateX(0); visibility: visible; }
.mobile-nav__header,
.mobile-nav__footer { flex: 0 0 auto; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border-light); }
.mobile-nav__header { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav__close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-primary);
}
.mobile-nav__close svg { width: 20px; height: 20px; }
.mobile-nav__body { flex: 1 1 auto; overflow-y: auto; padding: .5rem 0; }
.mobile-nav__menu a {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1.25rem;
  border-left: 3px solid transparent;
  color: var(--color-text);
  font-weight: 700;
}
.mobile-nav__menu a:hover,
.mobile-nav__menu .current-menu-item > a {
  color: var(--color-primary);
  background: var(--color-primary-bg);
  border-left-color: var(--color-primary);
}
.mobile-nav__menu ul { display: none; background: var(--color-bg); }
.mobile-nav__menu ul.open { display: block; }
.mobile-nav__menu ul a { padding-left: 2rem; font-size: .92rem; font-weight: 600; }
.mobile-nav__footer {
  display: grid;
  gap: .75rem;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 0;
}

.floating-cta {
  position: fixed;
  left: .75rem;
  right: .75rem;
  bottom: .75rem;
  z-index: 450;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  padding: .5rem;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.floating-cta__btn {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-primary);
}
.floating-cta__btn--quote,
.floating-cta__btn--phone { background: var(--color-accent); color: #fff; }
.floating-cta__btn svg { width: 20px; height: 20px; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 740px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0a3561 0%, #0f4c81 58%, #17324d 100%);
}
.hero__bg,
.hero__bg-placeholder,
.hero__grid-pattern,
.hero__overlay,
.hero__metallic-overlay { position: absolute; inset: 0; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { background: linear-gradient(90deg, rgba(10,28,48,.94), rgba(10,53,97,.78), rgba(10,53,97,.32)); }
.hero__grid-pattern {
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero__metallic-overlay {
  opacity: .6;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.13) 47%, transparent 62%);
  animation: bdn-shimmer 5s ease-in-out infinite;
}
@keyframes bdn-shimmer { 0% { transform: translateX(-40%); } 100% { transform: translateX(40%); } }
.hero .container { position: relative; z-index: 2; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  min-height: inherit;
}
.hero__content {
  max-width: 780px;
}
.hero__title {
  max-width: 780px;
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 1rem;
}
.hero__subtitle {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .85rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,152,0,.35);
  border-radius: 99px;
  background: rgba(255,152,0,.14);
  color: #ffd699;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }
.hero__stats,
.hero__cta,
.hero__certs { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.hero__stats { margin: 1.5rem 0 1.8rem; gap: 1.25rem; }
.hero-stat__number { display: block; font-family: var(--font-display); color: #fff; font-size: 2rem; font-weight: 900; line-height: 1; }
.hero-stat__label { display: block; margin-top: .25rem; color: rgba(255,255,255,.65); font-size: .78rem; text-transform: uppercase; font-weight: 700; }
.hero-stat__divider { width: 1px; height: 38px; background: rgba(255,255,255,.18); }
.btn--phone { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--phone:hover { background: #fff; color: var(--color-primary); }
.hero__certs { margin-top: 1.25rem; color: rgba(255,255,255,.72); font-size: .85rem; }
/* Hero visual column */
.hero__visual {
  display: none;
  align-items: center;
  justify-content: center;
}
.hero-product-showcase {
  width: 100%;
}

/* Product card */
.hero-product-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  color: var(--color-text);
}
.hero-product-card__img {
  aspect-ratio: 16 / 9;
  max-height: 180px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f0f5fb, #dde8f4);
  overflow: hidden;
}
.hero-product-card__img img,
.product-illustration { width: 100%; height: 100%; object-fit: contain; }
.hero-product-card__info { padding: 1rem 1.25rem 1.25rem; }
.hero-product-card__info h3 { font-size: 1.1rem; margin: .5rem 0 .25rem; color: var(--color-primary); }
.hero-product-card__info p { font-size: .82rem; color: var(--color-text-muted); margin: 0; }

/* Feature tags — row below card */
.hero-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .7rem;
  border-radius: 99px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.hero-feature-tag svg { width: 13px; height: 13px; color: var(--color-accent); flex-shrink: 0; }
.hero-product-showcase .hero-feature-tag { display: none; }

/* Hide hero badge */
.hero__eyebrow { display: none; }

/* CTA buttons — 3 trên 1 hàng */
.hero__cta {
  display: flex;
  flex-wrap: nowrap;
  gap: .65rem;
  align-items: center;
}
.hero__cta .btn--lg { padding: .85rem 1.5rem; }
.hero__cta .btn--phone {
  min-width: 178px;
  padding: .85rem 1.55rem;
  white-space: nowrap;
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
  box-shadow: 0 16px 34px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.2) inset;
  font-weight: 800;
}
.hero__cta .btn--phone svg { color: var(--color-primary); }
.hero__cta .btn--phone:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 18px 38px rgba(255,152,0,.32);
  transform: translateY(-2px);
}
.hero__cta .btn--phone:hover svg { color: #fff; }
.hero__scroll-indicator { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); color: rgba(255,255,255,.55); font-size: .7rem; text-transform: uppercase; }

/* ── CATEGORY CARD redesign ───────────────────────────────── */
/* Grid: start so cards are only as tall as content */
.categories-grid { align-items: start; }

/* Override base card style */
.category-card {
  padding: 1.25rem 1rem 1.1rem;
  gap: .55rem;
  border-width: 1.5px;
  border-color: #e5eaf2;
  border-top: 3.5px solid var(--cat-color, var(--color-primary));
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.category-card:hover {
  border-color: var(--cat-color, var(--color-primary));
  border-top-color: var(--cat-color, var(--color-primary));
  background: var(--cat-bg, rgba(15,76,129,.04));
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
}
/* Remove the animated pseudo top-bar (replaced by static border-top) */
.category-card::before { display: none; }

/* Icon */
.category-card__icon,
.app-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--cat-bg, var(--color-primary-bg));
  color: var(--cat-color, var(--app-color, var(--color-primary)));
  flex: 0 0 auto;
  margin-bottom: .1rem;
}
.category-card__icon svg,
.app-card__icon svg { width: 28px; height: 28px; }

/* Title */
.category-card__title,
.app-card__title {
  font-size: .97rem;
  font-weight: 800;
  margin: 0;
  color: var(--color-primary-dark);
  line-height: 1.3;
}

/* Desc — clamp to 3 lines for consistent height */
.category-card__desc,
.app-card__desc {
  color: #6b7280;
  font-size: .84rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Arrow: hidden */
.category-card__arrow { display: none; }

.applications-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1.25rem;
}
.app-card {
  position: relative;
  min-height: 250px;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(15,76,129,.92), rgba(10,53,97,.86)),
    var(--app-image) center/cover no-repeat,
    linear-gradient(135deg, rgba(15,76,129,.96), rgba(10,53,97,.9));
  color: #fff;
  overflow: hidden;
}
.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--app-image) center/cover no-repeat;
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.01);
  transition: transform .45s ease, opacity .45s ease;
  z-index: 0;
}
.app-card:hover::after { transform: scale(1.06); }
.app-card--large { grid-column: span 2; }
.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,32,58,.93) 0%, rgba(8,44,78,.82) 45%, rgba(8,44,78,.48) 100%),
    linear-gradient(0deg, rgba(6,32,58,.9) 0%, rgba(6,32,58,.18) 58%, rgba(6,32,58,.36) 100%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--app-color) 30%, transparent), transparent 52%);
  opacity: .98;
  z-index: 1;
}
.app-card__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.app-card__icon { background: rgba(255,255,255,.12); color: var(--color-accent); }
.app-card__title { color: #fff; margin-top: 1.2rem; }
.app-card__desc { color: rgba(255,255,255,.76); }
.app-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; color: #fff; font-weight: 800; }
.app-card__link svg { width: 16px; height: 16px; }
.app-card__number { position: absolute; right: 1rem; top: .75rem; z-index: 2; font-family: var(--font-display); font-size: 3rem; font-weight: 900; color: rgba(255,255,255,.14); }

/* Advantages, projects, reviews and final CTA */
.advantage-card__icon svg,
.feature-strip__icon,
.review-card svg,
.reviews-aggregate svg,
.cta-section svg,
.project-card svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.advantage-card__icon svg { width: 38px; height: 38px; }
.advantage-card__icon-wrap { color: var(--color-primary); margin-bottom: 1rem; }
.advantage-card__stat { display: flex; align-items: baseline; gap: .15rem; color: var(--color-primary); font-family: var(--font-display); font-size: 2.35rem; font-weight: 900; line-height: 1; }
.advantage-card__stat-suffix { color: var(--color-accent); font-size: 1.25rem; }
.advantage-card__stat-label { display: block; color: var(--color-text-muted); font-size: .78rem; text-transform: uppercase; font-weight: 800; margin: .4rem 0 .8rem; }
.advantage-card__title { font-size: 1.1rem; color: var(--color-primary-dark); margin-bottom: .5rem; }
.feature-strip__item {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem;
  color: rgba(255,255,255,.9);
  font-weight: 700;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
}
.stat-block {
  padding: 2rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-block:last-child { border-right: 0; }
.stat-block__number { color: #fff; font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; line-height: 1; }
.stat-block__suffix { color: var(--color-accent); }
.stat-block__label { margin-top: .45rem; color: rgba(255,255,255,.7); font-size: .82rem; text-transform: uppercase; font-weight: 700; }
.client-logos { overflow: hidden; margin: 2rem 0; }
.client-logos__track { display: flex; gap: 1rem; width: max-content; animation: ticker-scroll 28s linear infinite; }
.client-logo-item__inner {
  min-width: 150px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: .4rem 1rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  background: #fff;
}
.client-logo-abbr { font-family: var(--font-display); color: var(--color-primary); font-size: 1.05rem; font-weight: 900; line-height: 1; }
.client-logo-name { color: var(--color-text-muted); font-size: .68rem; font-weight: 700; }
.project-card__img-placeholder,
.project-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-bg); }
.project-card__img img,
.project-card__img-placeholder > * { width: 100%; height: 100% !important; object-fit: cover; }
.project-card__body { padding: 1.1rem; }
.project-card__desc { color: var(--color-text-muted); font-size: .9rem; line-height: 1.6; }

.reviews-aggregate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .75rem;
  padding: .6rem .9rem;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--color-border-light);
}
.stars,
.stars--lg {
  display: inline-flex;
  align-items: center;
  gap: .18rem;
}
.stars svg,
.star-icon {
  width: 16px !important;
  height: 16px !important;
  color: #f59e0b;
  fill: currentColor;
}
.stars--lg svg { width: 18px !important; height: 18px !important; }
.reviews-score { color: var(--color-primary); font-weight: 900; }
.reviews-count { color: var(--color-text-muted); }
.reviews-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 2.5rem;
}
.reviews-slider .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
}
.reviews-slider .swiper-slide { min-width: 0; }
.review-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--color-border-light);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.review-card__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem;
  align-items: center;
}
.review-card__avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
}
.review-card__name { font-weight: 900; color: var(--color-primary-dark); }
.review-card__title,
.review-card__company,
.review-card__footer { color: var(--color-text-muted); font-size: .8rem; }
.review-card__rating { grid-column: 1 / -1; }
.review-card__text {
  flex: 1;
  margin: 0;
  color: var(--color-text);
  font-size: .92rem;
  line-height: 1.65;
}
.review-card__footer { display: flex; align-items: center; gap: .35rem; padding-top: .8rem; border-top: 1px solid var(--color-border-light); }
.reviews-btn,
.swiper-pagination { display: none; }

.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark), #0d1b2a);
  color: #fff;
}
.cta-section__bg,
.cta-bg-grid,
.cta-section::before { position: absolute; inset: 0; pointer-events: none; }
.cta-bg-grid {
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  text-align: left;
}
.cta-title { color: #fff; margin-bottom: .8rem; }
.cta-subtitle { max-width: 760px; color: rgba(255,255,255,.76); font-size: 1rem; line-height: 1.7; }
.cta-features {
  display: flex;
  gap: .65rem 1rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}
.cta-features span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,.86);
  font-size: .9rem;
  font-weight: 700;
}
.cta-check-icon { color: var(--color-accent); }
.cta-actions {
  display: grid;
  gap: .75rem;
  min-width: 240px;
}

/* Product cards and archives */
.products-grid,
.archive-products-grid { align-items: stretch; }
.product-card { height: 100%; border-radius: var(--radius-md); }
.product-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg);
}
.product-card__img,
.product-card__img-link,
.product-card__img img {
  width: 100%;
  height: 100% !important;
  display: block;
}
.product-card__img img { object-fit: cover; }
.product-card__img--placeholder { display: grid; place-items: center; }
.product-placeholder-visual svg { width: 76px; height: 76px; opacity: .8; }
.product-card__badges {
  position: absolute;
  left: .75rem;
  right: .75rem;
  top: .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.product-card__body {
  padding: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__category {
  margin-bottom: .45rem;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.product-card__title {
  min-height: 2.55em;
  margin: 0 0 .6rem;
  font-size: 1.06rem;
  line-height: 1.28;
}
.product-card__title a { color: var(--color-text); }
.product-card__title a:hover { color: var(--color-primary); }
.product-card__spec {
  color: var(--color-text-muted);
  font-size: .88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.product-card__quick-specs { display: grid; gap: .45rem; margin: .25rem 0 1rem; }
.quick-spec {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .45rem .6rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  font-size: .8rem;
}
.quick-spec__key { color: var(--color-text-muted); }
.quick-spec__val { color: var(--color-primary); font-weight: 800; }
.product-card__footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}

/* product-card with hyphen classes (from product.css) — fix image link height */
.product-card-image-wrap > a { display: block; height: 100%; }
.product-card-image-wrap > a img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card-image-placeholder { min-height: 180px; }
.product-card-image-placeholder svg { width: 76px; height: 76px; }
.product-card-title a { color: var(--color-text); text-decoration: none; }
.product-card-title a:hover { color: var(--color-primary); }

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.load-more-btn:hover { background: var(--color-primary-dark); }
.spin { animation: bdn-spin .8s linear infinite; }
@keyframes bdn-spin { to { transform: rotate(360deg); } }

/* Breadcrumb nav – BEM class alignment */
.breadcrumb-nav {
  /* transparent by default — only gets white bg when standalone */
  background: transparent;
  border-bottom: none;
}

/* Standalone white breadcrumb (outside hero, e.g. single product) */
.single-san-pham .breadcrumb-nav {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

/* Blog single post: breadcrumb sits inside dark header, no white box */
.single-post .breadcrumb-nav {
  background: transparent !important;
  border-bottom: none !important;
}
.single-post .breadcrumb-nav .breadcrumb__item,
.single-post .breadcrumb-nav .breadcrumb__item--sep {
  color: rgba(255,255,255,.55);
}
.single-post .breadcrumb-nav .breadcrumb__link {
  color: rgba(255,255,255,.8);
}
.single-post .breadcrumb-nav .breadcrumb__link:hover { color: #fff; opacity: 1; }
.single-post .breadcrumb-nav .breadcrumb__item--current { color: rgba(255,255,255,.9); font-weight: 500; }
.single-post .breadcrumb-nav .breadcrumb__item--sep { color: rgba(255,255,255,.3); }

/* Inside dark hero/archive-header: transparent + white text */
.archive-header .breadcrumb-nav,
.page-hero-about .breadcrumb-nav {
  background: transparent !important;
  border-bottom: none !important;
}
.archive-header .breadcrumb-nav .breadcrumb__item,
.archive-header .breadcrumb-nav .breadcrumb__item--sep {
  color: rgba(255,255,255,.55);
}
.archive-header .breadcrumb-nav .breadcrumb__link {
  color: rgba(255,255,255,.75);
}
.archive-header .breadcrumb-nav .breadcrumb__link:hover { color: #fff; opacity: 1; }
.archive-header .breadcrumb-nav .breadcrumb__item--current { color: rgba(255,255,255,.9); font-weight: 500; }
.archive-header .breadcrumb-nav .breadcrumb__item--sep { padding: 0 .3rem; }

.breadcrumb-nav .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: .6rem 0;
  font-size: .8rem;
}
.breadcrumb-nav .breadcrumb__item {
  display: flex;
  align-items: center;
  color: var(--color-text-muted);
}
.breadcrumb-nav .breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--color-primary);
  text-decoration: none;
  transition: color .2s, opacity .2s;
}
.breadcrumb-nav .breadcrumb__link:hover { opacity: .75; }
.breadcrumb-nav .breadcrumb__item--current { color: var(--color-text); font-weight: 500; }
.breadcrumb-nav .breadcrumb__item--sep {
  display: inline-flex;
  align-items: center;
  padding: 0 .3rem;
  color: var(--color-border);
}

/* Sidebar CTA widget */
.sidebar-cta-widget {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  overflow: hidden;
}
.sidebar-cta-widget .sidebar-widget-body {
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.sidebar-cta-widget .sidebar-cta-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .9rem;
  color: #fff;
}
.sidebar-cta-widget .sidebar-cta-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: .35rem;
}
.sidebar-cta-widget .sidebar-cta-desc {
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.sidebar-cta-widget .sidebar-cta-btn {
  display: block;
  padding: .7rem 1rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  letter-spacing: .02em;
  transition: background .2s;
}
.sidebar-cta-widget .sidebar-cta-btn:hover { background: #e65100; }

.archive-header,
.product-single-header,
.single-post-header { background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary)); }
.archive-filter-bar { top: 74px; }
.archive-sidebar .sidebar-filter-group { border-radius: var(--radius-md); }
.taxonomy-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.taxonomy-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,53,97,.94), rgba(10,53,97,.72));
}
.taxonomy-hero .container,
.taxonomy-hero__content { position: relative; z-index: 1; }
.taxonomy-hero__title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-transform: uppercase;
}
.taxonomy-hero__desc { max-width: 760px; color: rgba(255,255,255,.78); font-size: 1.02rem; }
.taxonomy-hero__meta { margin-top: 1rem; }
.product-count { display: inline-flex; padding: .42rem .85rem; border-radius: 99px; background: rgba(255,152,0,.16); color: #ffd699; font-weight: 800; }
.taxonomy-children,
.taxonomy-siblings { padding: 1.75rem 0; background: var(--color-bg); }
.subcategory-grid,
.taxonomy-siblings__list { display: flex; flex-wrap: wrap; gap: .75rem; }
.subcategory-card,
.sibling-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .9rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-primary);
  font-weight: 800;
}
.archive-seo-block { padding: 0 0 var(--space-4xl); background: #fff; }
.archive-seo-content {
  max-width: 920px;
  padding: 1.5rem;
  border: 1px solid var(--color-border-light);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}
.archive-seo-content h2 {
  color: var(--color-primary-dark);
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: .75rem;
}
.archive-seo-content p { color: var(--color-text-muted); line-height: 1.75; }

/* Single product current markup */
.product-single.section {
  padding-top: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}
.product-single__layout {
  display: grid;
  grid-template-columns: minmax(380px, .95fr) minmax(0, 1.05fr);
  max-width: 1280px;
  margin-inline: auto;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.product-single__gallery { position: static; }
.product-gallery__main {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}
.product-gallery__main .swiper-wrapper,
.product-gallery__main .swiper-slide,
.product-gallery__img,
.product-gallery__main img { width: 100%; height: 100%; display: block; }
.product-gallery__img,
.product-gallery__main img { object-fit: cover; }
.gallery-zoom-hint {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .65rem;
  border-radius: var(--radius-sm);
  background: rgba(13,27,42,.68);
  color: #fff;
  font-size: .76rem;
}
.product-gallery {
  display: block;
}
.product-gallery__main { grid-column: auto; grid-row: auto; margin: 0; }
.product-gallery__thumbs {
  display: none;
}
.product-gallery__thumbs .swiper-wrapper { flex-direction: column; }
.product-gallery__thumbs .swiper-slide {
  width: 76px !important;
  height: 76px;
  flex: 0 0 auto;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color .2s;
}
.product-gallery__thumbs .swiper-slide-thumb-active,
.product-gallery__thumbs .swiper-slide:hover { border-color: var(--color-primary); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-downloads { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .product-gallery { grid-template-columns: 1fr; }
  .product-gallery__main { grid-column: 1; grid-row: 1; }
  .product-gallery__thumbs { grid-column: 1; grid-row: 2; height: auto; }
  .product-gallery__thumbs .swiper-wrapper { flex-direction: row; }
  .product-gallery__thumbs .swiper-slide { width: 64px !important; height: 64px; }
}
.product-single__meta,
.product-single__apps,
.product-trust-badges,
.product-single__cta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.product-single__meta {
  width: fit-content;
  max-width: 100%;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: .45rem;
  border: 1px solid #dfe9f3;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f7fafc);
  box-shadow: 0 10px 26px rgba(15,76,129,.08);
}
.product-single__meta .badge {
  min-height: 34px;
  padding: .42rem .82rem;
  gap: .42rem;
  border-radius: 999px;
  font-size: .76rem;
  line-height: 1;
  letter-spacing: .045em;
  text-decoration: none;
  white-space: nowrap;
}
.product-single__meta .badge--primary {
  color: #0f4c81;
  background: #edf4fa;
  box-shadow: inset 0 0 0 1px rgba(15,76,129,.06);
}
.product-single__meta .badge--accent {
  color: #d65f00;
  background: #fff0dc;
  box-shadow: inset 0 0 0 1px rgba(255,152,0,.12);
}
.product-single__meta .badge--success {
  color: #057a38;
  background: #e8f8ef;
  box-shadow: inset 0 0 0 1px rgba(5,122,56,.09);
}
.product-single__meta .badge svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke-width: 2.8;
}
.product-single__title {
  margin: .75rem 0 1rem;
  color: var(--color-primary-dark);
  font-size: clamp(1.65rem, 2.55vw, 2.35rem);
  line-height: 1.14;
  text-transform: none;
}
.product-single__excerpt { color: var(--color-text-muted); font-size: 1.02rem; line-height: 1.75; margin-bottom: 1.5rem; }
.product-single__quick-specs,
.tabs-content {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.product-single__quick-specs {
  display: none !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.quick-specs__heading { font-size: 1.15rem; color: var(--color-primary); margin-bottom: 1rem; }
.quick-specs__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
.quick-spec-item__key { display: block; color: var(--color-text-muted); font-size: .78rem; text-transform: uppercase; font-weight: 700; }
.quick-spec-item__val { display: block; margin-top: .2rem; color: var(--color-primary-dark); font-weight: 900; }
.apps__label { font-weight: 800; color: var(--color-text); }
.app-tag { padding: .35rem .7rem; border-radius: 99px; background: var(--color-primary-bg); color: var(--color-primary); font-weight: 700; font-size: .85rem; }
.product-single__cta { margin: 1.5rem 0; flex-wrap: nowrap; }
.product-single__cta .btn { flex: 1; min-width: 0; justify-content: center; text-align: center; padding-inline: .65rem; }
.product-trust-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
  margin: 0 0 1.5rem;
}
.product-trust-badges .trust-badge {
  width: 100%;
  justify-content: center;
  gap: .35rem;
  min-height: 38px;
  padding: .45rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  line-height: 1.15;
  white-space: nowrap;
}
.product-trust-badges .trust-badge svg {
  flex: 0 0 14px;
}

/* btn--primary */
.btn--primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn--primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }

/* ── Quote Modal ─────────────────────────────────────────── */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.quote-modal.active { opacity: 1; visibility: visible; }
.quote-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.65);
  backdrop-filter: blur(4px);
}
.quote-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  transform: translateY(16px);
  transition: transform .25s ease;
}
.quote-modal.active .quote-modal__dialog { transform: translateY(0); }
.quote-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-text-muted);
  cursor: pointer;
  z-index: 10;
  transition: color .15s, border-color .15s;
}
.quote-modal__close:hover { color: var(--color-primary); border-color: var(--color-primary); }
.quote-modal__close svg { width: 18px; height: 18px; }
.quote-modal .quote-form-wrap { padding: 2rem; }
@media (max-width: 600px) {
  .quote-modal { align-items: flex-end; padding: 0; }
  .quote-modal__dialog { max-width: 100%; max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: translateY(100%); }
  .quote-modal.active .quote-modal__dialog { transform: translateY(0); }
}
@media (max-width: 768px) {
  .product-single__cta { flex-wrap: wrap; }
  .product-single__cta .btn { flex: 1 1 calc(50% - .3rem); }
}
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  border-bottom: 1px solid var(--color-border);
}
.tab-btn {
  padding: .75rem 1rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  font-weight: 800;
  cursor: pointer;
}
.tab-btn--active,
.tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-accent); }
.tab-panel { display: none; }
.tab-panel--active,
.tab-panel.active { display: block; }
.prose ul,
.post-content ul { list-style: disc; }
.prose ol,
.post-content ol { list-style: decimal; }
.prose ul,
.prose ol { padding-left: 1.35rem; margin-bottom: 1rem; }

/* Quote form */
.notice-icon { width: 16px; height: 16px; flex-shrink: 0; }
.quote-form .form-group { margin-bottom: 0; }

.quote-form {
  display: grid;
  gap: 1rem;
}
.quote-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.quote-form__notice {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  padding: .75rem .9rem;
  border-radius: var(--radius-sm);
  background: rgba(16,185,129,.08);
  color: #0f766e;
  font-size: .86rem;
}
.form-success-msg,
.form-error-msg { display: none; padding: .75rem .9rem; border-radius: var(--radius-sm); font-weight: 700; }
.form-success-msg.show { display: block; background: rgba(16,185,129,.1); color: #047857; }
.form-error-msg.show { display: block; background: rgba(239,68,68,.1); color: #b91c1c; }

/* Footer current markup */
.footer-col--brand { min-width: 0; }
.footer-col__title {
  color: #fff;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-nav {
  display: grid;
  gap: .55rem;
}
.footer-nav a {
  color: rgba(255,255,255,.68);
  font-size: .88rem;
}
.footer-nav a:hover { color: #fff; }
.footer-social__link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.74);
}
.footer-social__link:hover { background: var(--color-accent); color: #fff; }
.footer-social__link svg { width: 16px; height: 16px; }
.footer-certs { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom__links,
.footer-bottom__menu { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.footer-bottom__menu { list-style: none; padding: 0; margin: 0; }
.footer-bottom__links a { color: rgba(255,255,255,.48); font-size: .78rem; text-decoration: none; }
.footer-bottom__links a:hover { color: #fff; }

/* ── NEWS SECTION — 3 equal columns ─────────────────────── */
.news-grid {
  grid-template-columns: repeat(3, 1fr);
}
.news-grid .news-card:first-child {
  grid-row: auto;
  display: block;
}
.news-grid .news-card:not(:first-child) {
  display: block;
  flex-direction: unset;
}
.news-grid .news-card:not(:first-child) .news-card-image {
  width: 100%;
  height: 180px;
  min-width: unset;
}
.news-grid .news-card:not(:first-child) .news-card-excerpt { display: block; }
.news-card-image { height: 180px; overflow: hidden; }
.news-card-image > div { height: 100% !important; }

/* ── HOME STATS SECTION ─────────────────────────────────── */
.home-stats-section { background: var(--color-bg); }

/* Trust bar */
.stats-trust-bar {
  background: var(--color-primary);
  padding: .9rem 0;
}
.stats-trust-bar__list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.stats-trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 1.5rem;
  flex: 1;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stats-trust-item:last-child { border-right: none; }
.stats-trust-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  flex-shrink: 0;
  color: var(--color-accent);
}
.stats-trust-item__icon svg { width: 18px; height: 18px; }
.stats-trust-item__body {
  display: flex;
  flex-direction: column;
  gap: .05rem;
}
.stats-trust-item__body strong {
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
}
.stats-trust-item__body span {
  color: rgba(255,255,255,.55);
  font-size: .73rem;
}

/* Stat counters */
.stats-counter-wrap { padding: 2.5rem 0; }
.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-counter {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: box-shadow .2s, transform .2s;
}
.stat-counter:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.stat-counter__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary-bg, #EEF4FB);
  border-radius: 12px;
  color: var(--color-primary);
  margin: 0 auto 1rem;
}
.stat-counter__icon svg { width: 22px; height: 22px; }
.stat-counter__number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-counter__suffix {
  font-size: 1.75rem;
  color: var(--color-accent);
}
.stat-counter__label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── ADVANTAGES TWO-COLUMN LAYOUT ───────────────────────── */
.advantages-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem 4rem;
  align-items: start;
}
.advantages-layout .advantages-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0;
}
.advantages-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .88rem;
  color: var(--color-text-muted);
}
.advantages-contact span {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.advantages-contact svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.advantage-card__index {
  font-family: var(--font-mono, monospace);
  font-size: .7rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: .08em;
  margin-bottom: .75rem;
  opacity: .8;
}
.advantage-card { padding: 1.1rem 1.1rem; }
.advantage-card__index { margin-bottom: .5rem; }
.advantage-card__icon { margin-bottom: .6rem; }
.advantage-card__icon svg { width: 28px; height: 28px; }
.advantage-card__body { margin-top: .4rem; }
.advantage-card__title { font-size: .95rem; margin-bottom: .3rem; }
.advantage-card__desc {
  font-size: .82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.advantages-layout .advantages-grid { gap: 1rem; margin-bottom: 0; }
.feature-strip { margin-top: 1.5rem; }

@media (max-width: 1180px) {
  .site-nav .menu-item > a { padding-inline: .5rem; font-size: .85rem; }
  .header-hotline__text { display: none; }
}

@media (max-width: 1024px) {
  .top-bar__right,
  .site-nav,
  .site-header__cta > .btn { display: none; }
  .site-header__inner { min-height: 64px; }
  .mobile-menu-toggle { display: inline-flex; }
  .hero__inner,
  .product-single__layout { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero { min-height: 0; min-height: unset; }
  .applications-masonry { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reviews-slider .swiper-wrapper { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .product-single__gallery { position: static; }
  .archive-filter-bar { top: 64px; }
  .advantages-layout { grid-template-columns: 1fr; gap: 2rem; }
  .stats-trust-bar__list { flex-wrap: wrap; gap: .5rem; }
  .stats-trust-item { border-right: none; padding: .4rem 1rem; flex: 1 1 40%; }
  .stats-counter-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1,h2,h3,h4,h5,h6 { letter-spacing: 0; }
  .top-bar { display: none; }
  .site-header__inner { min-height: 60px; gap: .55rem; }
  .site-header__logo {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  .logo-link {
    max-width: 100%;
    overflow: hidden;
  }
  .site-header__logo .bdn-brand-logo {
    width: 100%;
    max-width: 100%;
    gap: 6px;
    height: 46px;
    max-height: 46px;
    overflow: hidden;
  }
  .site-header__logo .bdn-brand-logo__icon {
    flex: 0 0 52px;
    width: 72px;
    height: 52px;
    transform: scale(.72);
    transform-origin: left center;
  }
  .site-header__logo .bdn-brand-logo__text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  .site-header__logo .bdn-brand-logo__name {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: clip;
    font-size: 22px;
    line-height: 1;
  }
  .site-header__logo .bdn-brand-logo__dot {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1;
  }
  .site-header__cta {
    flex: 0 0 auto;
    margin-left: auto;
    gap: .45rem;
  }
  .logo-text__main { font-size: 1.08rem; }
  .logo-text__sub { font-size: .58rem; }
  .header-hotline { padding: .28rem; background: transparent; }
  .header-hotline__icon { width: 36px; height: 36px; }
  .product-single__meta {
    width: 100%;
    justify-content: flex-start;
    border-radius: var(--radius-md);
  }
  .product-single__meta .badge {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    padding-inline: .65rem;
    font-size: .68rem;
  }
  .product-trust-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-trust-badges .trust-badge {
    white-space: normal;
  }
  .mobile-menu-toggle {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
  }
  .hero__inner { padding: 5rem 0 4rem; min-height: 0; }
  .hero__title { font-size: clamp(2rem, 11vw, 3rem); }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .hero-stat__divider { display: none; }
  .hero-stat__number { font-size: 1.45rem; }
  .hero-stat__label { font-size: .66rem; }
  .hero__cta .btn { width: 100%; }
  .hero__scroll-indicator { display: none; }
  .section-header.d-flex { display: block; }
  .applications-masonry,
  .app-card--large,
  .quick-specs__grid,
  .quote-form .form-row { grid-template-columns: 1fr; grid-column: auto; }
  .reviews-slider .swiper-wrapper,
  .cta-actions { grid-template-columns: 1fr; }
  .product-card__footer { grid-template-columns: 1fr; }
  .archive-filter-inner { align-items: flex-start; }
  .filter-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .25rem; }
  .archive-sort { width: 100%; margin-left: 0; }
  .archive-sort select { width: 100%; }
  .floating-cta { display: grid; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom__inner { justify-content: center; text-align: center; }
}

@media (max-width: 380px) {
  .site-header__inner { gap: .35rem; }
  .site-header__cta { gap: .3rem; }
  .site-header__logo .bdn-brand-logo { gap: 4px; }
  .site-header__logo .bdn-brand-logo__icon {
    flex-basis: 48px;
    transform: scale(.67);
  }
  .site-header__logo .bdn-brand-logo__name { font-size: 20px; }
  .site-header__logo .bdn-brand-logo__dot { font-size: 12px; }
  .header-hotline__icon,
  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}

@media (max-width: 640px) {
  .hero__inner { padding: 3.75rem 0 2.75rem; }
  .hero__cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    width: 100%;
    max-width: 360px;
  }
  .hero__cta .btn {
    width: 100%;
    min-height: 52px;
    padding: .75rem .7rem;
    justify-content: center;
    text-align: center;
    font-size: .86rem;
    line-height: 1.15;
  }
  .hero__cta .btn:not(.btn--phone) {
    gap: .45rem;
    white-space: nowrap;
  }
  .hero__cta .btn--phone {
    grid-column: 1 / -1;
    min-height: 48px;
  }
  .hero__certs {
    justify-content: flex-start;
    gap: .55rem .85rem;
    font-size: .72rem;
  }
  .stats-trust-bar { padding: .75rem 0; }
  .stats-trust-bar__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
  .stats-trust-item {
    min-width: 0;
    padding: .65rem .55rem;
    flex: initial;
    justify-content: flex-start;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    background: rgba(255,255,255,.035);
  }
  .stats-trust-item:last-child { border-right: 1px solid rgba(255,255,255,.1); }
  .stats-trust-item__icon {
    width: 32px;
    height: 32px;
  }
  .stats-trust-item__body strong {
    font-size: .74rem;
    line-height: 1.15;
  }
  .stats-trust-item__body span {
    font-size: .65rem;
    line-height: 1.2;
  }
}

/* ── Ứng dụng taxonomy ─────────────────────────────────────── */
.ung-dung-body { padding: 2.5rem 0; }
.ung-dung-grid { grid-template-columns: repeat(3, 1fr); }
.ung-dung-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-text-muted);
}
.ung-dung-empty svg { margin: 0 auto 1rem; display: block; opacity: .3; }
.ung-dung-empty p { font-size: 1rem; font-weight: 600; margin-bottom: 1.25rem; }

/* ── Blog category archive ─────────────────────────────────── */
.sidebar-cat-item--active {
  color: var(--color-primary);
  font-weight: 700;
  padding-left: .35rem;
}
.blog-card-image { min-height: 180px; }

/* ── POLICY / ĐIỀU KHOẢN / CHÍNH SÁCH layout ───────────────── */
.policy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: 96px;
  padding: 1.25rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}
.policy-toc__title {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-text-muted);
  margin-bottom: .75rem;
}
.policy-toc__list {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  display: grid;
  gap: .5rem;
}
.policy-toc__list a {
  color: var(--color-text);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
  display: block;
  line-height: 1.35;
}
.policy-toc__list a:hover { color: var(--color-primary); }
.policy-toc__contact {
  border-top: 1px solid var(--color-border-light);
  padding-top: 1rem;
  display: grid;
  gap: .4rem;
  font-size: .82rem;
}
.policy-toc__contact strong { color: var(--color-text); display: block; }
.policy-toc__contact a { color: var(--color-primary); text-decoration: none; font-weight: 700; }
.policy-content { min-width: 0; }
.policy-section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border-light);
}
.policy-section:last-of-type { border-bottom: none; }
.policy-section__title {
  font-size: 1.4rem;
  color: var(--color-primary-dark);
  margin-bottom: 1.1rem;
  padding-bottom: .6rem;
  border-bottom: 3px solid var(--color-accent);
  display: inline-block;
}
.policy-content h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 1.25rem 0 .6rem;
}
.policy-content p { color: var(--color-text); line-height: 1.75; margin-bottom: .85rem; }
.policy-content ul,
.policy-content ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.policy-content li { margin-bottom: .4rem; line-height: 1.6; color: var(--color-text); }
.policy-highlight {
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  font-size: .92rem;
  line-height: 1.6;
  border-left: 4px solid;
}
.policy-highlight--info  { background: rgba(15,76,129,.07); border-color: var(--color-primary); color: var(--color-primary-dark); }
.policy-highlight--success{ background: rgba(16,185,129,.08); border-color: #10b981; color: #047857; }
.policy-highlight--warn  { background: rgba(245,158,11,.08); border-color: #f59e0b; color: #92400e; }
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .9rem;
}
.policy-table th {
  background: var(--color-primary);
  color: #fff;
  padding: .7rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.policy-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: top;
  color: var(--color-text);
}
.policy-table tbody tr:hover td { background: var(--color-bg); }
.policy-inlinks { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--color-border-light); }
.policy-inlinks__title {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.policy-inlinks__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.policy-inlink {
  display: grid;
  gap: .25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.policy-inlink:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.policy-inlink strong { color: var(--color-primary); font-size: .95rem; }
.policy-inlink span { color: var(--color-text-muted); font-size: .82rem; }

/* ── GIỚI THIỆU page ────────────────────────────────────────── */
.about-story {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 3rem 4rem;
  align-items: start;
  padding: 3rem 0;
}
.about-story__text { min-width: 0; }
.about-story__text p { color: var(--color-text); line-height: 1.8; margin-bottom: 1rem; }
.about-story__visual { min-width: 0; }
.about-stats-card {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.about-stat-item { text-align: center; }
.about-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.about-stat-suffix { color: var(--color-accent); }
.about-stat-label {
  display: block;
  margin-top: .35rem;
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  text-transform: uppercase;
  font-weight: 700;
}
.about-cert-list { display: grid; gap: .55rem; }
.about-cert-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .9rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .88rem;
  font-weight: 700;
  color: var(--color-text);
}
.about-cert-item svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; }
.about-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.25rem;
  padding: 2.5rem 0;
}
.about-process__step {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.about-process__step::after {
  content: '→';
  position: absolute;
  right: -1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--color-border);
}
.about-process__step:last-child::after { display: none; }
.about-process__num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 50%;
  margin: 0 auto .85rem;
}
.about-process__title { font-size: .95rem; font-weight: 800; color: var(--color-primary-dark); margin-bottom: .4rem; }
.about-process__desc { font-size: .82rem; color: var(--color-text-muted); line-height: 1.5; }

/* Internal link grid (shared) */
.inlink-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.25rem;
  padding: 2.5rem 0;
}
.inlink-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  background: #fff;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  color: inherit;
}
.inlink-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.inlink-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-bg);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  flex-shrink: 0;
}
.inlink-card__icon svg { width: 22px; height: 22px; }
.inlink-card__title { font-size: 1rem; font-weight: 800; color: var(--color-primary-dark); }
.inlink-card__desc { font-size: .84rem; color: var(--color-text-muted); line-height: 1.5; }
.inlink-card__arrow,
.inlink-card__cta { display: inline-flex; align-items: center; gap: .3rem; color: var(--color-primary); font-size: .82rem; font-weight: 700; margin-top: auto; }
.inlink-card__arrow svg { width: 14px; height: 14px; }
.inlink-card__header { display: flex; align-items: center; gap: .6rem; margin-bottom: .25rem; }
.inlink-card__label { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--color-text-muted); }

/* ══════════════════════════════════════════════════════════════
   LIÊN HỆ PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── Info bar (3 quick-contact cards) ── */
.contact-info-bar {
  padding: 2rem 0;
  background: #f0f5fb;
  border-bottom: 1px solid #dde6f0;
}
.contact-cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.contact-card-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1.5px solid #dde6f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15,76,129,.06);
  transition: border-color .2s, box-shadow .2s;
}
.contact-card-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(15,76,129,.12);
}
.contact-card-item__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary-bg);
  border-radius: 50%;
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact-card-item__icon svg { width: 20px; height: 20px; }
.contact-card-item__label {
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--color-text-muted);
  margin-bottom: .1rem;
}
.contact-card-item__value {
  font-size: .97rem; font-weight: 800;
  color: var(--color-primary); text-decoration: none;
  display: block; line-height: 1.3;
}
a.contact-card-item__value:hover { text-decoration: underline; }

/* ── Main layout: form (left) + info panel (right) ── */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: 3.5rem;
  padding: 3rem 0 2rem;
  align-items: start;
}
.contact-form-wrap { min-width: 0; }

/* ── Contact form ── */
.contact-form { display: grid; gap: 1rem; }
.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.contact-form__group { display: grid; gap: .4rem; }

.contact-form__group label {
  font-size: .8rem; font-weight: 700;
  color: #374151; letter-spacing: .01em;
}
.contact-form__group label span {
  color: var(--color-accent); margin-left: 2px;
}

/* All inputs, select, textarea */
.contact-form__group input,
.contact-form__group select,
.contact-form__group textarea {
  width: 100%;
  padding: .7rem .95rem;
  font-size: .93rem;
  font-family: var(--font-body, inherit);
  color: #1f2937;
  background: #fff;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
  -webkit-appearance: none;
}
.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
  color: #9ca3af; font-weight: 400;
}
.contact-form__group input:focus,
.contact-form__group select:focus,
.contact-form__group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15,76,129,.12);
}
.contact-form__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.contact-form__group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Submit button */
.contact-form__submit {
  margin-top: .25rem;
  width: 100%;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .01em;
  border-radius: 10px;
}
.contact-form__submit svg { width: 17px; height: 17px; }

/* Notice: success / error */
.contact-form__notice {
  display: none;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1rem;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  margin-top: -.2rem;
}
.contact-form__notice:not(:empty) { display: flex; }
.contact-form__notice--success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.contact-form__notice--error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ── Info panel (right column) ── */
.contact-info-panel {
  min-width: 0;
  position: sticky;
  top: 80px;
}
.contact-info-block {
  padding: 1.5rem;
  background: #f8fafc;
  border: 1.5px solid #e5e9f0;
  border-radius: 14px;
  margin-bottom: 1.25rem;
}
.contact-info-block__title {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--color-text-muted);
  margin-bottom: .9rem;
}
.contact-info-block__title svg { color: var(--color-accent); }
.contact-info-block p {
  font-size: .9rem; color: #374151; line-height: 1.65; margin: 0;
}

/* Hours rows */
.contact-hours { display: grid; gap: 0; }
.contact-hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  font-size: .875rem;
  border-bottom: 1px solid #e5e9f0;
}
.contact-hours__row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-hours__row span { color: #6b7280; }
.contact-hours__row strong { color: #111827; font-weight: 700; }

/* Channel links (phone / zalo / email) */
.contact-channels { display: grid; gap: .6rem; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1.1rem;
  background: #fff;
  border: 1.5px solid #e5e9f0;
  border-radius: 10px;
  text-decoration: none;
  color: #1f2937;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.contact-channel:hover {
  border-color: var(--color-primary);
  background: #f0f5fb;
  box-shadow: 0 2px 10px rgba(15,76,129,.1);
}
.contact-channel svg { width: 22px; height: 22px; flex-shrink: 0; }
.contact-channel--phone svg { color: #059669; }
.contact-channel--zalo   svg { color: #006AF5; }
.contact-channel--email  svg { color: var(--color-accent); }
.contact-channel div { display: flex; flex-direction: column; gap: .05rem; }
.contact-channel div strong { font-size: .88rem; font-weight: 800; color: #111827; }
.contact-channel div span   { font-size: .78rem; color: #6b7280; }

/* ── Department cards ── */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
  padding: 1.5rem 0 1rem;
}
.dept-card {
  padding: 1.75rem 1.5rem;
  border: 1.5px solid #dde6f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,76,129,.05);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.dept-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(15,76,129,.12);
  transform: translateY(-3px);
}
.dept-card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--color-primary-bg);
  margin-bottom: 1rem;
}
.dept-card__icon svg { width: 24px; height: 24px; }
.dept-card__name {
  font-size: 1rem; font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: .5rem;
}
.dept-card__desc {
  font-size: .84rem; color: #6b7280;
  line-height: 1.6; margin-bottom: 1.1rem;
}
.dept-card__contacts { display: grid; gap: .4rem; }
.dept-card__contact {
  display: flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 700;
  color: var(--color-primary); text-decoration: none;
  transition: opacity .15s;
}
.dept-card__contact:hover { opacity: .75; }
.dept-card__contact svg { width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 1024px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start; }
  .policy-toc__list { margin-bottom: 0; }
  .about-story { grid-template-columns: 1fr; gap: 2rem; }
  .about-process { grid-template-columns: repeat(2, 1fr); }
  .about-process__step::after { display: none; }
  .inlink-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-cards-row { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .categories-grid,
  .products-grid,
  .archive-products-grid,
  .ung-dung-grid,
  .blog-grid,
  .advantages-grid,
  .projects-grid,
  .stats-grid,
  .news-grid,
  .about-process,
  .inlink-grid,
  .contact-cards-row,
  .dept-grid,
  .policy-inlinks__grid,
  .about-stats-grid,
  .bq-trust-list { grid-template-columns: 1fr !important; }
  .bq-layout { grid-template-columns: 1fr !important; }
  .bq-form__row { grid-template-columns: 1fr !important; }
  .news-card-image { height: 160px !important; width: 100% !important; min-width: unset !important; }
  .news-grid .news-card:not(:first-child) { flex-direction: column !important; }
  .stats-trust-item { flex: 1 1 100%; }
  .stat-counter__number { font-size: 2.2rem; }
  .hero__stats { grid-template-columns: 1fr; }
  .btn { width: 100%; white-space: normal; text-align: center; }
}

@media (max-width: 520px) {
  .stats-counter-wrap { padding: 1.5rem 0; }
  .stats-counter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .75rem;
  }
  .stat-counter {
    min-width: 0;
    padding: 1rem .45rem;
    border-radius: 8px;
  }
  .stat-counter__icon {
    width: 36px;
    height: 36px;
    margin-bottom: .65rem;
    border-radius: 9px;
  }
  .stat-counter__icon svg {
    width: 17px;
    height: 17px;
  }
  .stat-counter__number {
    font-size: 1.8rem;
    margin-bottom: .25rem;
  }
  .stat-counter__suffix {
    font-size: 1.1rem;
  }
  .stat-counter__label {
    font-size: .6rem;
    line-height: 1.25;
    letter-spacing: 0;
  }
}

/* ============================================================
   BÁO GIÁ PAGE (.bq-*)
   ============================================================ */
.bq-trust-bar {
  background: var(--color-primary-dark, #0a3660);
  padding: .85rem 0;
}
.bq-trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.bq-trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.9);
  font-size: .88rem;
}
.bq-trust-item svg { flex-shrink: 0; stroke: #4ade80; }
.bq-trust-item strong { color: #fff; }

/* Layout: 2-column */
.bq-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

/* Form wrap */
.bq-form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.bq-form-head { margin-bottom: 1.5rem; }
.bq-form-head h2 { font-size: 1.2rem; margin: 0 0 .25rem; color: var(--color-primary); }
.bq-form-head p  { font-size: .88rem; color: #6b7280; margin: 0; }
.required { color: #ef4444; }

.bq-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.bq-form__group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1rem;
}
.bq-form__group label {
  font-size: .875rem;
  font-weight: 600;
  color: #374151;
}
.form-control {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: .6rem .85rem;
  font-size: .95rem;
  color: #1f2937;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s;
  background: #fff;
}
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(15,76,129,.1); }
.form-control::placeholder { color: #9ca3af; }
textarea.form-control { resize: vertical; min-height: 120px; }

.bq-form__notice {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .83rem;
  color: #0369a1;
  margin-bottom: 1.25rem;
}
.bq-form__notice svg { flex-shrink: 0; stroke: #0369a1; margin-top: 1px; }

.bq-submit-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; }

.form-success-msg {
  display: none;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: 8px;
  padding: .85rem 1rem;
  margin-top: .75rem;
  font-weight: 500;
}
.form-error-msg {
  display: none;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  border-radius: 8px;
  padding: .85rem 1rem;
  margin-top: .75rem;
}
.form-success-msg.show,
.form-error-msg.show { display: block; }

/* Info panel */
.bq-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.bq-info-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.bq-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--color-primary-bg, rgba(15,76,129,.1));
}
.bq-info-card--cta {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.bq-info-card--cta h3 { color: #fff; border-bottom-color: rgba(255,255,255,.2); }
.bq-info-card--cta p { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 1rem; }

.bq-contact-list { display: flex; flex-direction: column; gap: .75rem; }
.bq-contact-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  transition: border-color .15s, background .15s;
}
.bq-contact-item:hover { background: #f9fafb; border-color: var(--color-primary); }
.bq-contact-item--phone:hover { background: #f0f9ff; }
.bq-contact-item--zalo:hover  { background: #ecfdf5; }
.bq-contact-item__icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--color-primary-bg, rgba(15,76,129,.1));
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--color-primary);
}
.bq-contact-item__label { font-size: .78rem; color: #6b7280; }
.bq-contact-item__value { font-size: .95rem; font-weight: 700; color: var(--color-primary); }
.bq-contact-item__note  { font-size: .75rem; color: #9ca3af; }

.bq-faq-list { display: flex; flex-direction: column; gap: .85rem; }
.bq-faq-item strong { display: block; font-size: .88rem; color: #1f2937; margin-bottom: .2rem; }
.bq-faq-item p { font-size: .84rem; color: #4b5563; margin: 0; line-height: 1.5; }

/* Blog layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
.blog-sidebar { position: sticky; top: 96px; }
.sidebar-product-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem .5rem;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: #374151;
  font-size: .875rem;
  transition: color .15s;
}
.sidebar-product-item:hover { color: var(--color-primary); }
.sidebar-product-arrow { font-size: .8rem; color: #9ca3af; }
.sidebar-cta-widget {
  background: var(--color-primary) !important;
  color: #fff !important;
  text-align: center;
}
.sidebar-cta-icon { margin-bottom: .5rem; }
.sidebar-cta-icon svg { stroke: #fff; width: 32px; height: 32px; }
.sidebar-cta-title { font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: .4rem; }
.sidebar-cta-desc  { font-size: .85rem; color: rgba(255,255,255,.85); margin-bottom: 1rem; }
.sidebar-cta-btn {
  display: block;
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  padding: .6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: .95rem;
}
.sidebar-cta-btn:hover { background: rgba(255,255,255,.9); }
.blog-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s, border-color .2s;
}
.blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); border-color: var(--color-primary); }
.blog-card-image img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-body { padding: 1rem 1.15rem 1.15rem; }
.blog-card-category {
  display: inline-block;
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-accent);
  text-decoration: none;
  margin-bottom: .4rem;
}
.blog-card-title { font-size: 1rem; margin: 0 0 .5rem; line-height: 1.4; }
.blog-card-title a { color: #1f2937; text-decoration: none; }
.blog-card-title a:hover { color: var(--color-primary); }
.blog-card-excerpt { font-size: .875rem; color: #4b5563; line-height: 1.5; margin-bottom: .75rem; }
.blog-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: #9ca3af;
}
.blog-card-read-more { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.blog-card-read-more:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .bq-layout { grid-template-columns: 1fr; }
  .bq-trust-list { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 768px) {
  .bq-form__row { grid-template-columns: 1fr; }
  .bq-trust-list { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   CATEGORY CARD COUNT BADGE
   ============================================================ */
.category-card__count {
  display: inline-block;
  font-size: .72rem;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  border-radius: 99px;
  padding: .15rem .55rem;
  margin-top: .25rem;
  font-weight: 500;
}

/* ============================================================
   SEO / CANONICAL HELPERS
   ============================================================ */
/* Noindex pages (search, tag archives with few posts) */
.no-results .archive-title { color: var(--color-text-muted); }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 .page-content {
  text-align: center;
  padding: 5rem 1.5rem;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.error-404-code {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--color-primary-bg, rgba(15,76,129,.08));
  line-height: 1;
  margin-bottom: .5rem;
}
.error-404-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: .75rem;
}
.error-404-desc {
  color: var(--color-text-muted, #6b7280);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================================
   PROSE (content body styling)
   ============================================================ */
.prose h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; color: var(--color-primary); }
.prose h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.prose p  { margin-bottom: 1rem; line-height: 1.7; }
.prose ul, .prose ol { margin: 0 0 1rem 1.5rem; }
.prose li { margin-bottom: .35rem; line-height: 1.6; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .9rem; }
.prose table th, .prose table td { border: 1px solid #e5e7eb; padding: .5rem .75rem; text-align: left; }
.prose table th { background: var(--color-primary); color: #fff; font-weight: 600; }
.prose table tr:nth-child(even) td { background: #f9fafb; }
.prose img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }
.prose a { color: var(--color-primary); text-decoration: underline; }
.prose blockquote {
  border-left: 4px solid var(--color-accent);
  padding: .75rem 1.25rem;
  background: rgba(255,152,0,.06);
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--color-text-muted);
}

/* ============================================================
   UTILITY: LOADING LAZY FIX
   ============================================================ */
img[loading="lazy"] { display: block; }

/* ============================================================
   UNDO EMOJI IN FOOTER (replace with text)
   ============================================================ */
.footer-bottom__badge span { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ============================================================
   QUICK SEO FIX: HIDE EMPTY TAXONOMY ARCHIVES
   (add noindex via PHP; keep layout for non-empty ones)
   ============================================================ */
.taxonomy-hero__title { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; }

/* ============================================================
   SITEMAP/BREADCRUMB POSITION FIX
   ============================================================ */
.breadcrumb-nav { padding: .75rem 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; list-style: none; padding: 0; margin: 0; font-size: .82rem; }
.breadcrumb__link { color: var(--color-primary); text-decoration: none; display: inline-flex; align-items: center; gap: .25rem; }

/* Product taxonomy hero refresh */
.taxonomy-hero {
  isolation: isolate;
  padding: clamp(2rem, 4vw, 3rem) 0;
  min-height: 0;
  background:
    linear-gradient(135deg, #082846 0%, #0f4c81 54%, #145f9b 100%);
}
.taxonomy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .18;
  pointer-events: none;
}
.taxonomy-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--color-accent), rgba(255,255,255,0));
  opacity: .95;
}
.taxonomy-hero__overlay {
  background: linear-gradient(90deg, rgba(4,22,40,.88), rgba(10,53,97,.62));
}
.taxonomy-hero .container {
  display: grid;
  gap: .9rem;
}
.taxonomy-hero .breadcrumb-nav {
  padding: 0;
}
.taxonomy-hero .breadcrumb,
.taxonomy-hero .breadcrumb__link,
.taxonomy-hero .breadcrumb__current,
.taxonomy-hero .breadcrumb__separator {
  color: rgba(255,255,255,.72);
}
.taxonomy-hero .breadcrumb__link:hover {
  color: #fff;
}
.taxonomy-hero__content {
  max-width: 820px;
  padding-left: 1.15rem;
  border-left: 4px solid var(--color-accent);
}
.taxonomy-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: .98;
  font-weight: 900;
  text-transform: uppercase;
}
.taxonomy-hero__desc {
  max-width: 760px;
  margin: .7rem 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(.98rem, 1.6vw, 1.16rem);
  line-height: 1.65;
}
.taxonomy-hero__meta {
  margin-top: 1rem;
}
.taxonomy-hero .product-count {
  padding: .5rem .9rem;
  background: #fff;
  color: var(--color-primary);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

@media (max-width: 768px) {
  .taxonomy-hero {
    padding: 1.65rem 0 2rem;
  }
  .taxonomy-hero__content {
    padding-left: .9rem;
  }
  .taxonomy-hero__title {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }
}
.breadcrumb__link:hover { text-decoration: underline; }
.breadcrumb__item--current { color: var(--color-text-muted, #6b7280); }
.breadcrumb__item--sep { display: flex; align-items: center; color: #d1d5db; }

/* ============================================================
   BLOG / KIẾN THỨC PAGE
   ============================================================ */
.blog-grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 1024px) { .blog-grid--3col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .blog-grid--3col { grid-template-columns: 1fr; } }

/* Full-width layout when no sidebar */
.section.bg-white .blog-main { max-width: 100%; }

/* Card link wrapper */
.blog-card-image-link { display: block; text-decoration: none; }

/* Image placeholder */
.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(15,76,129,.07), rgba(15,76,129,.14));
}

/* Meta row */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
}
.blog-card-date {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  color: var(--color-text-muted);
}
.blog-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
}
.blog-card-read-more:hover { text-decoration: underline; }

/* Load more button centered */
.load-more-wrap {
  text-align: center;
  margin-top: 2.5rem;
}
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  background: var(--color-primary);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.load-more-btn:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.load-more-btn.loading { opacity: .75; pointer-events: none; }

/* filter-count badge in tabs */
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: .68rem;
  font-weight: 800;
  margin-left: .3rem;
}
