/* ═══════════════════════════════════════════════════════════════
   NBH Website – Custom CSS
   Màu: Blue #007BBD | Red #CA4432  (theo issq.org.vn)
   Font: Be Vietnam Pro
═══════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: #007BBD;
}

a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: #007BBD; }

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

/* ─── Scroll Animations ─────────────────────────────────────── */
.animate-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.animate-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
.animate-scroll.delay-1 { transition-delay: .1s; }
.animate-scroll.delay-2 { transition-delay: .2s; }
.animate-scroll.delay-3 { transition-delay: .3s; }
.animate-scroll.delay-4 { transition-delay: .4s; }
.animate-scroll.delay-5 { transition-delay: .5s; }

.animate-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .65s ease, transform .65s ease;
}
.animate-left.animated { opacity: 1; transform: translateX(0); }

.animate-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.animate-right.animated { opacity: 1; transform: translateX(0); }

/* ─── Header ────────────────────────────────────────────────── */
.top-bar {
  background: #005d91;
  padding: 7px 0;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: #ffb3aa; }

.site-header {
  background: #007BBD;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-wrap img {
  height: 44px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .brand { font-size: 22px; font-weight: 800; color: #ffffff; }
.logo-text .tagline { font-size: 11px; color: rgba(255,255,255,.75); font-weight: 400; max-width: 200px; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,.15);
  color: #ffffff;
}

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: .7;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  min-width: 220px;
  z-index: 200;
  overflow: hidden;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 18px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all .15s;
}
.dropdown a:hover {
  background: #fff0ee;
  color: #CA4432;
  border-left-color: #CA4432;
}

/* CTA button in header */
.btn-cta {
  background: #CA4432;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  transition: background .2s, transform .15s, box-shadow .2s !important;
}
.btn-cta:hover {
  background: #a8382a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(202,68,50,.4) !important;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: #007BBD;
  z-index: 999;
  overflow-y: auto;
  padding: 20px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,.9);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a.active { background: rgba(255,255,255,.15); color: #ffffff; }
.mobile-nav .mobile-cta {
  margin-top: 16px;
  background: #CA4432;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-align: center;
}

/* ─── Hero Section ──────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #004a75 0%, #007BBD 55%, #1a8fd1 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(202,68,50,.08) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 50%);
}
.hero-pattern {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,.04);
  display: none;
}
/* hero-pattern ẩn vì có slider bên phải */
@media(min-width:1024px) { .hero-pattern { display: none; } }

/* ─── Hero 2-column layout ───────────────────────────────────── */
.hero-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text-col { position: relative; z-index: 1; min-width: 0; }
.hero-slider-col {
  position: relative; z-index: 1; min-width: 0;
  opacity: 1 !important; transform: none !important;
}

/* ─── Hero Slider ────────────────────────────────────────────── */
.hero-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.hero-slides-wrap {
  display: flex;
  flex-direction: row;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.hero-slide {
  min-width: 100%;
  flex-shrink: 0;
  padding: 44px 40px 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  min-height: 440px;
}
.slide-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff;
  flex-shrink: 0;
}
.slide-tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: rgba(255,255,255,.6);
}
.slide-title {
  font-size: 22px; font-weight: 800; color: #fff; line-height: 1.25;
}
.slide-desc {
  font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.65;
  flex: 1;
}
.slide-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.9);
  font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
  width: fit-content;
}
/* Dots */
.slider-dots {
  position: absolute; bottom: 16px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 7px;
}
.sdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none; cursor: pointer; padding: 0;
  transition: background .25s, width .25s;
}
.sdot.active { background: #fff; width: 24px; border-radius: 4px; }
/* Arrows */
.sarrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: none;
  color: #fff; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.sarrow:hover { background: rgba(255,255,255,.35); }
.sarrow-prev { left: 10px; }
.sarrow-next { right: 10px; }

/* Responsive: stack on mobile */
@media(max-width:900px) {
  .hero-two-col { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .hero-slider-col { order: -1; }
  .hero-slider { min-height: 260px; }
  .hero-slide { padding: 28px 24px 48px; }
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary {
  background: #CA4432;
  color: #ffffff;
}
.btn-primary:hover {
  background: #a8382a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(202,68,50,.4);
  color: #ffffff;
}
.btn-outline {
  border: 2px solid rgba(255,255,255,.6);
  color: white;
  background: transparent;
}
.btn-outline:hover {
  background: white;
  color: #007BBD;
  border-color: white;
}
.btn-navy {
  background: #007BBD;
  color: white;
}
.btn-navy:hover {
  background: #005d91;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,123,189,.3);
  color: white;
}

/* ─── Section Styles ────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #007BBD;
  margin-bottom: 12px;
}
.section-title span { color: #CA4432; }
.section-subtitle {
  font-size: 16px;
  color: #6b7280;
  max-width: 560px;
}

/* Section label badge */
.label-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,123,189,.08);
  color: #007BBD;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
  border-left: 3px solid #CA4432;
}

/* ─── Service Cards ─────────────────────────────────────────── */
.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border: 1px solid #e5e7eb;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #CA4432;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 26px;
}

/* ─── Post Cards ────────────────────────────────────────────── */
.post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  border: 1px solid #f0f0f0;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.post-card .thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card .cat-badge {
  display: inline-block;
  background: rgba(0,123,189,.1);
  color: #007BBD;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.post-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.45;
  margin-bottom: 8px;
  flex: 1;
}
.post-card h3 a:hover { color: #007BBD; }
.post-card .meta { font-size: 13px; color: #9ca3af; display: flex; gap: 12px; align-items: center; }
.post-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #007BBD;
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
}
.post-card .read-more:hover { color: #CA4432; }

/* ─── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  background: #005d91;
  padding: 32px 0;
}
.stat-item { text-align: center; }
.stat-value {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 6px; }

/* ─── Trust Badges ──────────────────────────────────────────── */
.trust-badge {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #007BBD;
  transition: all .25px;
}
.trust-badge:hover { border-color: #CA4432; background: #fff5f4; color: #CA4432; }

/* ─── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  background: #EAF6FF;
  border-bottom: 1px solid #d0e8f5;
  padding: 10px 0;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 13px;
}
.breadcrumb li { color: #6b7280; }
.breadcrumb li a { color: #007BBD; font-weight: 500; }
.breadcrumb li a:hover { color: #CA4432; }
.breadcrumb li::after { content: '›'; margin-left: 6px; color: #d1d5db; }
.breadcrumb li:last-child::after { display: none; }

/* ─── Article Layout ────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media(min-width: 1024px) {
  .article-layout { grid-template-columns: 1fr 320px; }
}

/* Article content typography */
.article-body { font-size: 16px; line-height: 1.8; color: #374151; }
.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #007BBD;
  margin: 32px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e7eb;
  position: relative;
}
.article-body h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 48px; height: 2px;
  background: #CA4432;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 22px 0 10px;
}
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol {
  margin: 0 0 16px 22px;
}
.article-body li { margin-bottom: 6px; }
.article-body ul li::marker { color: #CA4432; }
.article-body strong { color: #007BBD; font-weight: 700; }
.article-body a { color: #007BBD; border-bottom: 1px solid #93c5e8; }
.article-body a:hover { color: #CA4432; border-bottom-color: #CA4432; }
.article-body img {
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

/* FAQ inside article */
.faq-item {
  background: #EAF6FF;
  border: 1px solid #d0e8f5;
  border-left: 4px solid #007BBD;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 16px 0;
}
.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #007BBD;
  margin-bottom: 8px;
}
.faq-item p { font-size: 14px; color: #4b5563; margin: 0; }

/* ─── Sidebar ───────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-widget {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.widget-title {
  background: #007BBD;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 18px;
  letter-spacing: .3px;
}
.widget-body { padding: 16px; }

/* Service list widget */
.widget-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
  border-bottom: 1px solid #f3f4f6;
}
.widget-service-item:last-child { border-bottom: none; }
.widget-service-item:hover { background: #EAF6FF; color: #007BBD; }
.widget-service-dot {
  width: 8px; height: 8px;
  background: #CA4432;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Recent post widget */
.widget-post-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.widget-post-item:last-child { border-bottom: none; }
.widget-post-item .thumb {
  width: 70px; height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.widget-post-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-post-item .info { flex: 1; }
.widget-post-item h4 {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  line-height: 1.45;
  margin-bottom: 4px;
}
.widget-post-item h4 a:hover { color: #007BBD; }
.widget-post-item .date { font-size: 12px; color: #9ca3af; }

/* Contact widget */
.widget-contact {
  background: #007BBD;
  border-radius: 12px;
  padding: 20px;
  color: white;
  text-align: center;
}
.widget-contact .phone {
  font-size: 22px;
  font-weight: 800;
  color: #ffb3aa;
  display: block;
  margin: 10px 0 6px;
}
.widget-contact p { font-size: 13px; opacity: .85; margin-bottom: 14px; }
.widget-contact a.btn-zalo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0068ff;
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 10px;
  border-radius: 8px;
  margin-top: 8px;
}

/* ─── Related Posts ─────────────────────────────────────────── */
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ─── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #007BBD, #1a8fd1);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(202,68,50,.1);
}

/* ─── Why Us Section ────────────────────────────────────────── */
.why-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: all .3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); border-color: #CA4432; }
.why-icon {
  width: 52px; height: 52px;
  background: rgba(0,123,189,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: #004a75;
  color: rgba(255,255,255,.8);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media(max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media(max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

.footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(202,68,50,.5);
  position: relative;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #ffb3aa; }
.footer-links a::before { content: '›  '; color: #CA4432; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  align-items: flex-start;
}
.footer-contact-item .icon { color: #ffb3aa; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #ffb3aa; }

/* ─── Floating Contact Bar ──────────────────────────────────── */
.float-bar {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: all .25s;
  text-decoration: none;
  position: relative;
}
.float-btn:hover { transform: scale(1.12); color: white; }
.float-btn:hover .float-tooltip { opacity: 1; }
.float-btn-phone { background: #CA4432; color: #ffffff !important; animation: pulse 2s infinite; }
.float-btn-zalo  { background: #0068ff; }
.float-btn-fb    { background: #1877f2; }
.float-btn-top   { background: #007BBD; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(202,68,50,.4); }
  50%       { box-shadow: 0 4px 28px rgba(202,68,50,.7); }
}

.float-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  background: rgba(0,0,0,.75);
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

/* Phone pulse strip at bottom mobile */
.phone-strip-mobile {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 990;
  background: #CA4432;
  padding: 12px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
@media(max-width:768px) {
  .phone-strip-mobile { display: flex; }
  .float-bar { right: 12px; bottom: 72px; }
  .float-btn { width: 42px; height: 42px; font-size: 18px; }
}

/* ─── Forms ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #1f2937;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus {
  border-color: #007BBD;
  box-shadow: 0 0 0 3px rgba(0,123,189,.12);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Alert */
.alert { padding: 14px 18px; border-radius: 8px; font-size: 15px; margin-bottom: 18px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ─── FAQ Page Accordion ────────────────────────────────────── */
.faq-accordion { border-radius: 12px; overflow: hidden; border: 1px solid #e5e7eb; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #007BBD;
  border-bottom: 1px solid #e5e7eb;
  user-select: none;
  transition: background .2s;
  gap: 12px;
}
.faq-q:hover { background: #EAF6FF; }
.faq-q .icon { font-size: 18px; flex-shrink: 0; transition: transform .3s; color: #CA4432; }
.faq-q.open .icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 16px 22px;
  background: #EAF6FF;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.75;
  border-bottom: 1px solid #e5e7eb;
}
.faq-a.open { display: block; }

/* ─── Page Header ───────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, #005d91, #007BBD);
  padding: 52px 0;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: clamp(24px, 4vw, 36px); }
.page-header p  { color: rgba(255,255,255,.75); font-size: 16px; margin-top: 10px; }

/* ─── Responsive Utilities ──────────────────────────────────── */
@media(max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

@media(max-width: 768px) {
  .section { padding: 48px 0; }
  .hero-section { overflow: hidden; }
  .hero-section .container { padding-top: 52px; padding-bottom: 52px; }
  .label-badge { font-size: 11px; white-space: normal; text-align: center; justify-content: center; line-height: 1.5; }
  .stats-bar .container > div { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .service-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .why-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .cta-inner { grid-template-columns: 1fr !important; text-align: center; }
  .cta-inner > div:last-child { flex-direction: row !important; justify-content: center; }
  .article-layout { grid-template-columns: 1fr !important; }
  .posts-hero-card { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .hero-phone-row { margin-top: 20px !important; }
  .btn-outline { border-color: rgba(255,255,255,.7); }
}

@media(max-width: 480px) {
  .main-nav { display: none; }
  .service-grid-4 { grid-template-columns: 1fr !important; }
  .stat-value { font-size: 28px !important; }
  .posts-grid { grid-template-columns: 1fr !important; }
}
