/* ================================================================
   IN HOÀNG GIA – MAIN CSS
   Custom theme, no Flatsome dependency.
   ================================================================ */

/* ── 1. CSS Variables ── */
:root {
  --primary:     #183565;
  --primary-lt:  #1e4280;
  --secondary:   #f6872c;
  --secondary-dk:#e07520;
  --gold:        #c89b39;
  --dark:        #04142d;
  --text:        #111111;
  --text-muted:  #666666;
  --border:      #e8e8e8;
  --bg:          #f5f6f8;
  --bg-card:     #ffffff;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 36px rgba(0,0,0,.14);
  --transition:  .25s ease;
  --container:   1260px;
  --font-main:   'Roboto', 'Inter', system-ui, sans-serif;
}

/* ── 2. Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── 3. Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── 4. Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}
h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* Section heading */
.section-head { margin-bottom: 36px; }
.section-head h2 { margin-bottom: 10px; }
.section-line {
  width: 56px; height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}
.section-head--center { text-align: center; }
.section-line--center { margin: 10px auto 0; }
.section-subtitle { color: var(--text-muted); font-size: 15px; margin-top: 8px; }

/* ── 5. Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  transition: var(--transition);
  font-size: 15px;
}
.btn-primary:hover { background: var(--secondary-dk); color: #fff; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* BÁO GIÁ CTA button */
.btn-baogia {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--secondary);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-baogia:hover { background: var(--secondary-dk); transform: translateY(-1px); }

/* ── 6. Header ── */

/* Top bar */
.header-topbar {
  background: #03142d;
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.header-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 10px;
}
.header-topbar__left,
.header-topbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.82);
  transition: color var(--transition);
}
.topbar-item:hover { color: #fff; }
.topbar-item--phone { font-weight: 700; color: var(--secondary); }
.topbar-item--phone:hover { color: #fff; }
.topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.2);
}
.topbar-social {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  transition: var(--transition);
}
.topbar-social:hover { background: var(--secondary); color: #fff; }
.topbar-social--zalo {
  font-size: 11px;
  font-weight: 700;
  width: auto;
  padding: 0 8px;
  border-radius: 4px;
  background: #0068ff;
  color: #fff;
  letter-spacing: .03em;
}

/* Main header */
.header-main {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.header-main.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.14); }
.header-main__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 80px;
}
.header-logo { flex-shrink: 0; }
.header-logo img, .header-logo a { display: block; }
.header-logo img { height: 52px; width: auto; }

/* Desktop nav */
.header-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a.nav-top-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
  height: 80px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-list > li > a.nav-top-link:hover,
.nav-list > li.current-menu-item > a.nav-top-link {
  color: var(--secondary);
}
.nav-arrow {
  font-size: 10px;
  transition: transform var(--transition);
}
.nav-list > li:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
  border-top: 3px solid var(--secondary);
}
.nav-list > li:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: 13.5px;
  color: var(--text);
  transition: var(--transition);
}
.nav-dropdown li a:hover {
  background: #f5f6f8;
  color: var(--secondary);
  padding-left: 26px;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-action-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--dark);
  font-size: 16px;
  transition: var(--transition);
}
.header-action-btn:hover { background: var(--bg); color: var(--secondary); }
.header-cart { position: relative; }
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--secondary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cart-count.hidden { display: none; }

/* Hamburger */
.hamburger {
  width: 40px; height: 40px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Search drawer */
.search-drawer {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--dark);
  padding: 20px 0;
  z-index: 2000;
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.search-drawer.open { transform: translateY(0); }
.search-drawer form {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-drawer input[type="search"] {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background: rgba(255,255,255,.1);
  color: #fff;
  outline: none;
}
.search-drawer input::placeholder { color: rgba(255,255,255,.5); }
.search-drawer button {
  padding: 14px 18px;
  background: var(--secondary);
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
  transition: var(--transition);
}
.search-drawer button:hover { background: var(--secondary-dk); }
.search-close { background: rgba(255,255,255,.1) !important; }

/* Mobile menu */
.mobile-menu-drawer {
  position: fixed;
  top: 0; left: -320px;
  width: 300px; height: 100vh;
  background: #fff;
  z-index: 3000;
  box-shadow: var(--shadow-lg);
  transition: left .3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu-drawer.open { left: 0; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.mobile-menu-close { color: #fff; font-size: 20px; }
.mobile-nav { padding: 10px 0; flex: 1; }
.mobile-nav-list > li > a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-nav-list > li > a:hover { color: var(--secondary); background: var(--bg); padding-left: 28px; }
.mobile-nav-list .sub-menu { padding-left: 20px; background: var(--bg); }
.mobile-nav-list .sub-menu li a { padding: 10px 20px; font-size: 13px; border-bottom: 1px solid #eee; }
.mobile-menu-contact {
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  background: var(--bg);
}
.mobile-menu-contact a {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-overlay.show { opacity: 1; visibility: visible; }

/* Breadcrumbs */
.hg-breadcrumbs {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.hg-breadcrumbs .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.hg-breadcrumbs a { color: var(--text-muted); }
.hg-breadcrumbs a:hover { color: var(--secondary); }
.bc-sep { margin: 0 4px; opacity: .5; }

/* ── 7. Floating contact ── */
.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 100px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  white-space: nowrap;
  max-width: 50px;
  overflow: hidden;
}
.fc-btn:hover { max-width: 200px; color: #fff; transform: translateX(-4px); }
.fc-btn span { opacity: 0; transition: opacity var(--transition); white-space: nowrap; }
.fc-btn:hover span { opacity: 1; }
.fc-btn--phone { background: var(--secondary); }
.fc-btn--zalo  { background: #0068ff; }
.fc-btn svg    { width: 22px; height: 22px; flex-shrink: 0; }

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 50px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 500;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--secondary); }

/* ── 8. Blog Archive ── */

/* Archive hero */
.archive-hero {
  position: relative;
  background: linear-gradient(115deg, var(--primary) 0%, #1e4a8a 100%);
  padding: 52px 0 44px;
  overflow: hidden;
}
.archive-hero__overlay {
  position: absolute; inset: 0;
  background: url('https://inhoanggia.com/wp-content/uploads/hero-bg-pattern.png') center/cover;
  opacity: .06;
}
.archive-hero__inner {
  position: relative; z-index: 2;
}
.archive-hero__inner .hg-breadcrumbs { margin-bottom: 10px; }
.archive-hero__inner .hg-breadcrumbs,
.archive-hero__inner .hg-breadcrumbs a { color: rgba(255,255,255,.65); }
.archive-hero__inner .hg-breadcrumbs a:hover { color: #fff; }
.archive-hero__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin-bottom: 10px;
}
.archive-hero__desc { color: rgba(255,255,255,.7); font-size: 15px; margin: 0; }

.blog-archive-page { padding: 36px 0 64px; background: var(--bg); }
.blog2__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.blog2__archiveTitle {
  margin-bottom: 28px;
}
.blog2__archiveTitle h1 { font-size: 1.6rem; }
.blog2__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Post card */
.blog2__card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.blog2__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog2__thumbLink { display: block; }
.blog2__thumbWrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog2__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog2__card:hover .blog2__thumb { transform: scale(1.05); }
.blog2__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.blog2__cardBody {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog2__cardTitle {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog2__cardTitle a { color: var(--dark); }
.blog2__cardTitle a:hover { color: var(--secondary); }
.blog2__cardExcerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog2__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #999;
  margin-bottom: 14px;
}
.blog2__readmore {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.blog2__readmore:hover { gap: 8px; color: var(--secondary-dk); }

/* Blog sidebar */
.blog2__right { position: sticky; top: 100px; }
.blog2__sidebarBox {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.blog2__sidebarTitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
}
.blog2__searchForm {
  position: relative;
  display: flex;
  align-items: center;
}
.blog2__searchIcon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-size: 15px;
  pointer-events: none;
}
.blog2__searchInput {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.blog2__searchInput:focus { border-color: var(--primary); }
.blog2__featuredList { display: flex; flex-direction: column; gap: 14px; }
.blog2__featured {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.blog2__featuredThumbLink { flex-shrink: 0; }
.blog2__featuredThumb {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 8px;
}
.blog2__featuredTitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}
.blog2__featuredTitle:hover { color: var(--secondary); }
.blog2__featuredDate { font-size: 11px; color: #999; margin-top: 4px; }
.blog2__catList li { border-bottom: 1px solid var(--border); }
.blog2__catList li:last-child { border-bottom: none; }
.blog2__catList li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--text);
  transition: var(--transition);
}
.blog2__catList li a:hover { color: var(--secondary); padding-left: 6px; }
.blog2__catList .children { padding-left: 14px; }
/* WP default category count */
.blog2__catList .children li a .count,
.blog2__catList li a .count {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

/* Pagination */
.hg-pagination { margin-top: 36px; }
.hg-pagination ul { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hg-pagination li a,
.hg-pagination li span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.hg-pagination li a:hover,
.hg-pagination li.active span {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── WooCommerce category hero ── */
.woo-archive-hero {
  position: relative;
  background: linear-gradient(115deg, var(--primary) 0%, #1e4a8a 100%);
  background-size: cover; background-position: center;
  padding: 52px 0 44px; overflow: hidden;
}
.woo-archive-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(4,20,45,.85) 0%, rgba(24,53,101,.75) 100%);
}
.woo-archive-hero__inner { position: relative; z-index: 2; }
.woo-archive-hero__inner .hg-breadcrumbs { margin-bottom: 10px; }
.woo-archive-hero__inner .hg-breadcrumbs,
.woo-archive-hero__inner .hg-breadcrumbs a { color: rgba(255,255,255,.65); font-size: 13px; }
.woo-archive-hero__inner .hg-breadcrumbs a:hover { color: #fff; }
.woo-archive-hero__inner .hg-breadcrumbs .sep { opacity: .5; }
.woo-archive-hero__title { font-size: clamp(1.7rem,3vw,2.3rem); color: #fff; margin-bottom: 8px; }
.woo-archive-hero__desc { color: rgba(255,255,255,.75); font-size: 15px; max-width: 600px; }

/* ── 9. Single Post ── */
.post-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}
.post-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.post-hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4,20,45,.2) 0%, rgba(4,20,45,.8) 100%);
  z-index: 1;
}
.post-hero__overlay--solid {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 100%);
}
.post-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0 50px;
  color: #fff;
}
.post-hero__content .hg-breadcrumbs { padding: 0 0 14px; }
.post-hero__content .hg-breadcrumbs,
.post-hero__content .hg-breadcrumbs a { color: rgba(255,255,255,.7); }
.post-hero__content .hg-breadcrumbs a:hover { color: #fff; }
.post-hero__cats { margin-bottom: 12px; }
.post-hero__cats a {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.post-hero__title {
  color: #fff !important;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.35;
  max-width: 860px;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255,255,255,.82);
}
.post-hero__meta .meta-sep { opacity: .4; }
.post-hero__meta i { margin-right: 4px; color: var(--secondary); }
.post-hero__meta a { color: rgba(255,255,255,.9); }
.post-hero__meta a:hover { color: #fff; text-decoration: underline; }

/* Post body */
.post-body { padding: 44px 0 60px; background: var(--bg); }
.post-body__row {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 28px;
  align-items: start;
}
.post-body__main { min-width: 0; }
.post-body__sidebar { position: sticky; top: 100px; min-width: 0; }

/* Share bar */
.post-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary);
}
.share-bar__label { font-weight: 700; font-size: 13px; color: #555; margin-right: 4px; }
.share-bar__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: 7px 16px;
  border-radius: 6px; font-size: 13px; font-weight: 600;
  color: #fff !important; transition: .2s;
}
.share-btn--fb { background: #1877f2; }
.share-btn--fb:hover { background: #1260cc; }
.share-btn--tw { background: #1da1f2; }
.share-btn--tw:hover { background: #0d8ed8; }
.share-btn--tg { background: #29a8e0; }
.share-btn--tg:hover { background: #1791c4; }

/* Article content */
.post-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
  font-size: 16px;
  line-height: 1.85;
  color: #333;
}
.post-content h2 {
  font-size: 1.35rem; margin-top: 2em; margin-bottom: .7em;
  color: var(--dark); padding-bottom: 8px; border-bottom: 2px solid #f0f0f0;
}
.post-content h3 { font-size: 1.18rem; margin-top: 1.6em; color: #222; }
.post-content img { border-radius: 10px; margin: 22px auto; }
.post-content a { color: var(--primary); }
.post-content blockquote {
  border-left: 4px solid var(--secondary);
  background: #fff9f5;
  margin: 24px 0; padding: 16px 22px;
  border-radius: 0 10px 10px 0;
  font-style: italic; color: #555;
}
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 1em; }
.post-content li { margin-bottom: 6px; }
.post-content table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.post-content table th { background: var(--primary); color: #fff; padding: 11px 15px; text-align: left; }
.post-content table td { padding: 10px 15px; border: 1px solid var(--border); }
.post-content table tr:nth-child(even) td { background: #f9f9f9; }

/* Post footer bar */
.post-footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border);
}
.post-tags {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px; font-size: 13px; color: #555;
}
.post-tags i { color: var(--secondary); }
.post-tags a {
  background: #fff5ec; border: 1px solid #ffd9b3;
  color: var(--secondary); padding: 3px 11px;
  border-radius: 20px; font-size: 12px; transition: .2s;
}
.post-tags a:hover { background: var(--secondary); color: #fff !important; }
.post-share-icons { display: flex; gap: 8px; }
.share-icon {
  width: 38px; height: 38px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff !important; transition: .2s;
}
.share-icon--fb { background: #1877f2; }
.share-icon--tw { background: #1da1f2; }
.share-icon--tg { background: #29a8e0; }
.share-icon:hover { transform: scale(1.1); }

/* Author box */
.post-author-box {
  margin-top: 36px;
  display: flex; gap: 18px; align-items: flex-start;
  background: linear-gradient(135deg, var(--bg), #eef5ff);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid #dde8f5;
}
.author-box__avatar img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.author-box__name { font-size: 16px; color: var(--dark); margin-bottom: 5px; }
.author-box__bio { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* Post nav */
.post-nav { display: flex; gap: 16px; margin-top: 36px; }
.post-nav__item {
  flex: 1; display: block;
  background: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: .25s;
}
.post-nav__item:hover { border-color: var(--secondary); box-shadow: 0 6px 24px rgba(246,135,44,.15); transform: translateY(-2px); }
.post-nav__item--prev { text-align: left; }
.post-nav__item--next { text-align: right; }
.nav-label { display: block; font-size: 11px; color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 7px; }
.nav-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; color: #333; font-weight: 600; line-height: 1.4; }

/* Related posts */
.related-posts-section { padding: 60px 0; background: #fff; }
.related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.related-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); transition: .3s ease; }
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.related-card__link { display: block; color: inherit; }
.related-card__img { aspect-ratio: 16/9; overflow: hidden; }
.related-card__img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.related-card:hover .related-card__img img { transform: scale(1.06); }
.related-card__body { padding: 16px 18px; }
.related-card__date { font-size: 12px; color: #999; margin-bottom: 8px; display: flex; align-items: center; gap: 4px; }
.related-card__title { font-size: 15px; font-weight: 600; color: var(--dark); line-height: 1.45; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: .2s; }
.related-card:hover .related-card__title { color: var(--secondary); }
.related-card__more { font-size: 13px; color: var(--secondary); font-weight: 600; }

/* Consultant */
.consultant-section { padding: 60px 0 55px; background: linear-gradient(135deg, var(--bg), #edfaf9); }
.consultant-swiper { padding-bottom: 40px !important; }
.consultant-card { background: #fff; border-radius: 18px; padding: 28px 20px; text-align: center; box-shadow: var(--shadow-md); border: 1px solid var(--border); transition: .3s; height: auto !important; }
.consultant-card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(24,53,101,.15); }
.consultant-card__avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 3px solid var(--secondary); box-shadow: 0 0 0 4px rgba(246,135,44,.15); }
.consultant-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.consultant-card__role { font-size: 13px; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
.consultant-card__phone { font-size: 15px; color: var(--secondary); font-weight: 700; margin-bottom: 16px; }
.consultant-card__actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.consultant-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 600; transition: .2s;
}
.consultant-btn--zalo { background: #e5f0ff; color: #0068ff !important; }
.consultant-btn--zalo:hover { background: #0068ff; color: #fff !important; }
.consultant-btn--mail { background: #fff4e5; color: var(--secondary) !important; }
.consultant-btn--mail:hover { background: var(--secondary); color: #fff !important; }
.zalo-icon { width: 18px; height: 18px; }

/* ── 10. Pages ── */
.site-page { padding: 40px 0 60px; background: var(--bg); }
.page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.page-main { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.page-title { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.page-content { font-size: 16px; line-height: 1.85; }
.page-content img { border-radius: 10px; margin: 20px auto; }
.page-content h2 { margin-top: 1.8em; margin-bottom: .6em; }
.page-content a { color: var(--primary); }

/* ── 11. 404 ── */
.error-404-page { padding: 100px 0; background: var(--bg); text-align: center; }
.error-404__inner { max-width: 500px; margin: 0 auto; }
.error-404__code { font-size: 120px; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 16px; opacity: .15; }
.error-404__title { font-size: 2rem; margin-bottom: 12px; }
.error-404__desc { color: var(--text-muted); margin-bottom: 32px; }

/* ── 12. Comments ── */
.hg-comments { margin-top: 48px; padding-top: 36px; border-top: 2px solid var(--border); }
.comments-title { font-size: 1.3rem; margin-bottom: 24px; }
.comment-list { list-style: none; }
.comment-list li { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-body { display: flex; gap: 14px; }
.comment-body .avatar { border-radius: 50%; }
.comment-content { flex: 1; }
.comment-author .fn { font-weight: 700; }
.comment-metadata { font-size: 12px; color: #999; }
.comment-form input,
.comment-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; margin-bottom: 14px; outline: none;
  transition: border-color var(--transition);
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--primary); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit {
  padding: 12px 28px; background: var(--primary); color: #fff;
  border-radius: 6px; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: var(--transition);
}
.comment-form .submit:hover { background: var(--secondary); }

/* ── 13. Footer ── */
.footer-locations {
  background: var(--primary);
  padding: 14px 0;
}
.footer-locations__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.footer-loc-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.9); font-size: 14px; font-weight: 600;
}
.footer-loc-item i { color: var(--secondary); }
.footer-main { background: #071a37; padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { height: 50px; width: auto; margin-bottom: 14px; }
.footer-mst { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li, .footer-contact-list a {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.7); transition: color var(--transition);
}
.footer-contact-list a:hover { color: #fff; }
.footer-contact-list i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }
.footer-heading {
  font-size: 14px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}
.footer-menu { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-menu li a { font-size: 13.5px; color: rgba(255,255,255,.65); transition: var(--transition); }
.footer-menu li a:hover { color: #fff; padding-left: 4px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: 14px; transition: var(--transition);
}
.footer-social:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.footer-bottom { background: #04142d; padding: 16px 0; }
.footer-bottom__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-copyright, .footer-reg { font-size: 12.5px; color: rgba(255,255,255,.5); margin: 0; }
.footer-copyright strong { color: rgba(255,255,255,.75); }

/* ── 14. Responsive ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-col--social { grid-column: span 3; }
  .related-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 1024px) {
  .blog2__layout { grid-template-columns: 1fr 280px; }
  .post-body__row { grid-template-columns: 1fr 260px; }
}
@media (max-width: 960px) {
  .blog2__grid { grid-template-columns: 1fr 1fr; }
  .blog2__layout { grid-template-columns: 1fr; }
  .blog2__right { position: static; }
  .post-body__row { grid-template-columns: 1fr; }
  .post-body__sidebar { position: static; }
  .page-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .blog2__grid { grid-template-columns: 1fr; }
}

@media (max-width: 849px) {
  .header-nav,
  .topbar-item--phone + .topbar-divider,
  .header-topbar__left { display: none; }
  .hamburger { display: flex; }
  .header-main__inner { height: 70px; }
  .header-logo img { height: 44px; }
  .post-hero { min-height: 380px; }
  .post-hero__content { padding: 50px 0 32px; }
  .post-hero__title { font-size: 1.5rem; }
  .post-content { padding: 28px 22px; }
  .post-nav { flex-direction: column; }
  .related-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--info { grid-column: span 2; }
  .footer-col--social { grid-column: span 2; }
}

@media (max-width: 600px) {
  .header-topbar { display: none; }
  .post-hero { min-height: 300px; }
  .post-hero__title { font-size: 1.3rem; }
  .post-content { padding: 20px 16px; }
  .post-share-bar { padding: 12px 14px; }
  .share-btn span { display: none; }
  .share-btn { width: 38px; height: 38px; padding: 0; border-radius: 50%; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--info, .footer-col--social { grid-column: span 1; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }
  .floating-contact { right: 10px; }
  .fc-btn { max-width: 44px; padding: 10px; }
  .fc-btn:hover { max-width: 44px; }
  .fc-btn span { display: none; }
}

/* ================================================================
   ── 15. Homepage Sections ──
   ================================================================ */

/* Shared section helpers */
.section-header { text-align: center; margin-bottom: 44px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--secondary);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--dark); line-height: 1.3;
  margin-bottom: 14px;
}
.section-desc { font-size: 15px; color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.section-eyebrow--light { color: rgba(255,255,255,.75); }
.section-title--light { color: #fff; }
.section-footer-cta { text-align: center; margin-top: 36px; }

/* ── homepage1 – Hero Slider ── */
.homepage1__section { position: relative; }
.hp-hero-swiper { width: 100%; }
.homepage1__slide {
  min-height: 620px;
  display: flex; align-items: center;
  background: var(--dark) center/cover no-repeat;
  position: relative;
}
.homepage1__slide--1 {
  background: linear-gradient(115deg, #04142d 0%, #183565 55%, #1e4a8a 100%);
}
.homepage1__slide--2 {
  background: linear-gradient(115deg, #0d1f3c 0%, #1a4080 50%, #c76512 100%);
}
.homepage1__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(4,20,45,.78) 40%, rgba(4,20,45,.35) 100%);
}
.homepage1__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
}
.homepage1__content { max-width: 620px; color: #fff; }
.homepage1__eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--secondary); margin-bottom: 14px;
  padding: 4px 14px; border: 1px solid var(--secondary); border-radius: 20px;
}
.homepage1__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.18; font-weight: 900;
  color: #fff !important; margin-bottom: 18px;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.homepage1__title span { color: var(--secondary); }
.homepage1__desc { font-size: 16px; color: rgba(255,255,255,.82); margin-bottom: 28px; line-height: 1.7; }
.homepage1__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline--white {
  border-color: rgba(255,255,255,.5); color: #fff !important;
}
.btn-outline--white:hover { background: rgba(255,255,255,.15); border-color: #fff; }
/* Swiper overrides for hero */
.hp-hero-prev, .hp-hero-next {
  color: #fff !important;
  width: 44px !important; height: 44px !important;
  background: rgba(255,255,255,.15) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.hp-hero-prev:hover, .hp-hero-next:hover { background: var(--secondary) !important; }
.hp-hero-prev::after, .hp-hero-next::after { font-size: 16px !important; }
.hp-hero-pagination { bottom: 72px !important; }
.hp-hero-pagination .swiper-pagination-bullet { background: rgba(255,255,255,.5); opacity: 1; }
.hp-hero-pagination .swiper-pagination-bullet-active { background: var(--secondary); }

/* Trust bar */
.homepage1__trustbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.homepage1__trustitems {
  display: flex; align-items: stretch; justify-content: space-between;
  flex-wrap: wrap;
}
.homepage1__trustitem {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px;
  font-size: 14px; font-weight: 600; color: var(--dark);
  border-right: 1px solid var(--border); flex: 1; min-width: 180px;
}
.homepage1__trustitem:last-child { border-right: none; }
.homepage1__trustitem i { font-size: 20px; color: var(--secondary); flex-shrink: 0; }

/* ── homepage2 – Stats ── */
.homepage2__section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0d2750 100%);
}
.homepage2__grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 30px;
}
.homepage2__item {
  text-align: center; color: #fff;
  padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,.12);
  position: relative;
}
.homepage2__item:last-child { border-right: none; }
.homepage2__icon {
  font-size: 36px; color: var(--secondary);
  margin-bottom: 14px; line-height: 1;
}
.homepage2__num {
  display: inline-block;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900; line-height: 1; color: #fff;
}
.homepage2__plus { display: inline-block; font-size: 1.8rem; font-weight: 700; color: var(--secondary); }
.homepage2__label { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 10px; font-weight: 500; }

/* ── homepage3 – About ── */
.homepage3__section { padding: 80px 0; background: var(--bg); }
.homepage3__layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.homepage3__images { position: relative; }
.homepage3__imgMain {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.homepage3__imgMain img {
  width: 100%; height: 420px; object-fit: cover; display: block;
  background: linear-gradient(135deg, #183565 0%, #1e4a8a 100%);
}
.homepage3__imgSub {
  position: absolute; bottom: -30px; right: -30px;
  width: 220px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
}
.homepage3__imgSub img { width: 100%; height: 160px; object-fit: cover; display: block; }
.homepage3__yearbadge {
  position: absolute; top: 24px; left: -20px;
  background: var(--secondary); color: #fff;
  border-radius: 14px; padding: 16px 20px;
  text-align: center; box-shadow: var(--shadow-md);
}
.homepage3__yearbadge-num { display: block; font-size: 2.2rem; font-weight: 900; line-height: 1; }
.homepage3__yearbadge-text { font-size: 12px; font-weight: 600; opacity: .9; }
.homepage3__content .section-eyebrow { margin-bottom: 8px; display: block; }
.homepage3__content .section-title { margin-bottom: 16px; }
.homepage3__desc { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }
.homepage3__features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.homepage3__feature {
  display: flex; gap: 14px; align-items: flex-start;
}
.homepage3__feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary), #e0650c);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; flex-shrink: 0;
}
.homepage3__feature-body h4 { font-size: 14px; color: var(--dark); margin-bottom: 4px; }
.homepage3__feature-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ── homepage4 – Video ── */
.homepage4__section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #04142d 0%, #0d2750 100%);
}
.homepage4__bg-overlay {
  position: absolute; inset: 0;
  background: rgba(4,20,45,.88);
}
.homepage4__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.homepage4__video-wrap {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5);
  cursor: pointer;
}
.homepage4__video-thumb { width: 100%; display: block; }
.homepage4__play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35);
  transition: background .25s;
}
.homepage4__play-btn:hover { background: rgba(0,0,0,.5); }
.homepage4__play-btn i {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  box-shadow: 0 0 0 10px rgba(246,135,44,.25);
  transition: transform .25s;
}
.homepage4__play-btn:hover i { transform: scale(1.1); }
.homepage4__content-col { color: #fff; }
.homepage4__content-col .section-eyebrow { display: block; margin-bottom: 10px; }
.homepage4__content-col .section-title { margin-bottom: 16px; }
.homepage4__desc { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.75; margin-bottom: 32px; }
.homepage4__stats { display: flex; gap: 28px; flex-wrap: wrap; }
.homepage4__stat { text-align: center; }
.homepage4__stat-num { display: block; font-size: 1.8rem; font-weight: 900; color: var(--secondary); }
.homepage4__stat-label { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 4px; }

/* Video lightbox overlay */
.hp4-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
}
.hp4-lightbox-inner { position: relative; width: 90vw; max-width: 900px; }
.hp4-lightbox-inner iframe { width: 100%; height: 506px; border: none; border-radius: 8px; }
.hp4-lightbox-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none;
  color: #fff; font-size: 28px; cursor: pointer;
  line-height: 1;
}

/* ── homepage5 – Product Categories ── */
.homepage5__section { padding: 80px 0; background: #fff; }
.homepage5__grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 22px;
}
.homepage5__catcard {
  display: block; border-radius: var(--radius-lg);
  overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm); transition: .3s ease;
  text-decoration: none;
}
.homepage5__catcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.homepage5__catcard-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.homepage5__catcard-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; display: block; }
.homepage5__catcard:hover .homepage5__catcard-img img { transform: scale(1.07); }
.homepage5__catcard-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,20,45,.65) 0%, transparent 60%);
}
.homepage5__catcard-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 18px;
}
.homepage5__catcard-name {
  font-size: 15px; font-weight: 700; color: #fff;
  margin-bottom: 4px; line-height: 1.3;
}
.homepage5__catcard-count { font-size: 12px; color: rgba(255,255,255,.75); }

/* ── homepage6 – Portfolio ── */
.homepage6__section { padding: 80px 0; background: var(--bg); }
.homepage6__tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 32px;
}
.homepage6__tab {
  padding: 9px 22px; border-radius: 50px;
  font-size: 13.5px; font-weight: 600;
  border: 2px solid var(--border); background: #fff; color: var(--text);
  cursor: pointer; transition: .2s;
}
.homepage6__tab:hover, .homepage6__tab.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.homepage6__grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px;
}
.homepage6__item { border-radius: var(--radius); overflow: hidden; position: relative; }
.homepage6__item-link { display: block; position: relative; overflow: hidden; }
.homepage6__item-link img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block; transition: .4s;
}
.homepage6__item:hover .homepage6__item-link img { transform: scale(1.06); }
.homepage6__item-overlay {
  position: absolute; inset: 0;
  background: rgba(4,20,45,.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: .3s;
}
.homepage6__item:hover .homepage6__item-overlay { opacity: 1; }
.homepage6__item-info {
  color: #fff; text-align: center; padding: 16px;
}
.homepage6__item-info h4 { font-size: 15px; margin-bottom: 8px; }
.homepage6__item-info span { font-size: 20px; }
.homepage6__item--hidden { display: none; }

/* ── homepage7 – Process Steps ── */
.homepage7__section { padding: 80px 0; background: #fff; }
.homepage7__steps {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  position: relative;
}
.homepage7__steps::before {
  content: '';
  position: absolute;
  top: 52px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--secondary), var(--primary));
  z-index: 0;
}
.homepage7__step {
  text-align: center; padding: 0 16px 28px;
  position: relative; z-index: 1;
}
.homepage7__step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px var(--primary);
  position: relative; z-index: 2;
  transition: .3s;
}
.homepage7__step:hover .homepage7__step-num { background: var(--secondary); box-shadow: 0 0 0 4px var(--secondary); }
.homepage7__step-icon {
  font-size: 26px; color: var(--secondary);
  margin-bottom: 14px; transition: color .3s;
}
.homepage7__step:hover .homepage7__step-icon { color: var(--primary); }
.homepage7__step-title {
  font-size: 14px; font-weight: 700; color: var(--dark);
  margin-bottom: 8px;
}
.homepage7__step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ── homepage8 – Testimonials ── */
.homepage8__section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f7f9fb 0%, #eef4fb 100%);
}
.homepage8__swiper { padding-bottom: 48px !important; }
.homepage8__slide { height: auto; padding: 4px; }
.homepage8__card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  height: 100%;
  display: flex; flex-direction: column; gap: 16px;
}
.homepage8__stars { color: #f6c90e; font-size: 15px; display: flex; gap: 4px; }
.homepage8__content {
  font-size: 15px; color: #444; line-height: 1.75; flex: 1;
  font-style: italic;
}
.homepage8__author { display: flex; gap: 14px; align-items: center; }
.homepage8__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1a4585);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: rgba(255,255,255,.8);
  flex-shrink: 0;
}
.homepage8__author-info strong { display: block; font-size: 14px; color: var(--dark); }
.homepage8__author-info span { font-size: 12.5px; color: var(--text-muted); }
.homepage8__pagination { bottom: 0 !important; }
.homepage8__pagination .swiper-pagination-bullet-active { background: var(--secondary); }

/* ── homepage9 – Partners/Machines Marquee ── */
.homepage9__section { padding: 60px 0 50px; background: #fff; overflow: hidden; }
.homepage9__marquee-wrap {
  overflow: hidden; margin-bottom: 20px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.homepage9__marquee { width: 100%; }
.homepage9__marquee-track {
  display: flex; gap: 20px; width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.homepage9__marquee-wrap--reverse .homepage9__marquee-track {
  animation-direction: reverse;
  animation-duration: 25s;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.homepage9__partner-item, .homepage9__machine-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; white-space: nowrap;
  font-weight: 700; font-size: 14px; color: var(--dark);
  min-width: 160px; justify-content: center;
}
.homepage9__machine-item { background: #f0f8ff; border-color: #cce0f5; color: var(--primary); }
.homepage9__machine-item i { color: var(--secondary); }

/* ── homepage10 – FAQ ── */
.homepage10__section { padding: 80px 0; background: var(--bg); }
.homepage10__layout {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start;
}
.homepage10__left .section-title { margin-bottom: 16px; }
.homepage10__left p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.homepage10__faqs { display: flex; flex-direction: column; gap: 12px; }
.homepage10__faq-item {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden; transition: box-shadow .2s;
}
.homepage10__faq-item.active, .homepage10__faq-item:focus-within {
  box-shadow: 0 4px 20px rgba(24,53,101,.1);
  border-color: var(--primary);
}
.homepage10__faq-q {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 14px;
  padding: 18px 22px; background: none; border: none;
  cursor: pointer; text-align: left;
  font-size: 15px; font-weight: 600; color: var(--dark);
  transition: color .2s;
}
.homepage10__faq-q:hover { color: var(--primary); }
.homepage10__faq-q i {
  flex-shrink: 0; font-size: 13px; color: var(--secondary);
  transition: transform .3s;
}
.homepage10__faq-item.active .homepage10__faq-q i { transform: rotate(180deg); }
.homepage10__faq-a { padding: 0 22px 18px; display: none; }
.homepage10__faq-item.active .homepage10__faq-a { display: block; }
.homepage10__faq-a p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ── Homepage Blog ── */
.homepage-blog { padding: 80px 0; background: #fff; }
.homepage-blog__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.homepage-blog__card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: .3s ease;
  display: flex; flex-direction: column;
}
.homepage-blog__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.homepage-blog__card-img { aspect-ratio: 16/9; overflow: hidden; display: block; }
.homepage-blog__card-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; display: block; }
.homepage-blog__card:hover .homepage-blog__card-img img { transform: scale(1.05); }
.homepage-blog__card-body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.homepage-blog__card-meta { font-size: 12px; color: #999; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.homepage-blog__card-meta i { color: var(--secondary); }
.homepage-blog__card-title {
  font-size: 16px; font-weight: 700; color: var(--dark);
  margin-bottom: 10px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.homepage-blog__card-title a { color: inherit; transition: .2s; }
.homepage-blog__card-title a:hover { color: var(--secondary); }
.homepage-blog__card-excerpt {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.homepage-blog__card-more { font-size: 13px; font-weight: 700; color: var(--secondary); display: inline-flex; align-items: center; gap: 5px; margin-top: auto; transition: gap .2s; }
.homepage-blog__card-more:hover { gap: 10px; }

/* ================================================================
   ── 16. Contact Page ──
   ================================================================ */

.lienhe1__hero {
  position: relative; min-height: 280px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d2750 100%);
  display: flex; align-items: center;
}
.lienhe1__hero-overlay {
  position: absolute; inset: 0;
  background: url('../img/contact-hero-bg.jpg') center/cover no-repeat;
  opacity: .18;
}
.lienhe1__hero-inner { position: relative; z-index: 2; padding: 60px 0; }
.lienhe1__hero-title { font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; margin-bottom: 12px; }
.lienhe1__hero-inner .hg-breadcrumbs { color: rgba(255,255,255,.7); }
.lienhe1__hero-inner .hg-breadcrumbs a { color: rgba(255,255,255,.7); }

.lienhe1__section { padding: 60px 0 80px; background: var(--bg); }

/* Location cards */
.lienhe1__locations {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px;
  margin-bottom: 52px;
}
.lienhe1__loccard {
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  border-top: 4px solid var(--border);
  transition: .3s;
}
.lienhe1__loccard:hover { border-top-color: var(--secondary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.lienhe1__loccard--hq { border-top-color: var(--primary); }
.lienhe1__loccard-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--secondary), #e0650c);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  margin-bottom: 16px;
}
.lienhe1__loccard-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.lienhe1__loccard-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lienhe1__loccard-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--text);
}
.lienhe1__loccard-list i { color: var(--secondary); margin-top: 2px; flex-shrink: 0; width: 14px; text-align: center; }
.lienhe1__loccard-list a { color: var(--text); transition: .2s; }
.lienhe1__loccard-list a:hover { color: var(--secondary); }
.lienhe1__loccard-map {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 18px; padding: 8px 16px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  transition: .2s;
}
.lienhe1__loccard-map:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Form + Map layout */
.lienhe1__layout {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start;
}
.lienhe1__form-box {
  background: #fff; border-radius: var(--radius-lg);
  padding: 36px 36px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.lienhe1__form-title {
  font-size: 1.3rem; color: var(--dark);
  margin-bottom: 8px; display: flex; align-items: center; gap: 10px;
}
.lienhe1__form-title i { color: var(--secondary); }
.lienhe1__form-desc { font-size: 13.5px; color: var(--text-muted); margin-bottom: 24px; }

/* Native form fields */
.lienhe1__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lienhe1__form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.lienhe1__form-group label { font-size: 13px; font-weight: 600; color: var(--dark); }
.lienhe1__native-form input,
.lienhe1__native-form select,
.lienhe1__native-form textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 14px; outline: none;
  transition: border-color .2s; font-family: inherit;
  background: #fff; color: var(--text); width: 100%;
}
.lienhe1__native-form input:focus,
.lienhe1__native-form select:focus,
.lienhe1__native-form textarea:focus { border-color: var(--primary); }
.lienhe1__native-form textarea { resize: vertical; min-height: 110px; }
.lienhe1__submit { width: 100%; justify-content: center; margin-top: 4px; }

/* Map column */
.lienhe1__map-wrap { border-radius: var(--radius-lg); overflow: hidden; height: 340px; box-shadow: var(--shadow-sm); }
.lienhe1__quick-info {
  background: #fff; border-radius: var(--radius-lg);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); margin-top: 20px;
  display: flex; flex-direction: column; gap: 18px;
}
.lienhe1__qi-item { display: flex; align-items: center; gap: 14px; }
.lienhe1__qi-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #1a4585);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff; flex-shrink: 0;
}
.lienhe1__qi-item strong { display: block; font-size: 13px; color: var(--dark); }
.lienhe1__qi-item a, .lienhe1__qi-item span { font-size: 13.5px; color: var(--text-muted); }
.lienhe1__qi-item a:hover { color: var(--secondary); }

/* CF7 overrides inside form box */
.lienhe1__form-box .wpcf7-form input,
.lienhe1__form-box .wpcf7-form select,
.lienhe1__form-box .wpcf7-form textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; outline: none;
  transition: border-color .2s; margin-bottom: 14px;
  font-family: inherit;
}
.lienhe1__form-box .wpcf7-form input:focus,
.lienhe1__form-box .wpcf7-form select:focus,
.lienhe1__form-box .wpcf7-form textarea:focus { border-color: var(--primary); }
.lienhe1__form-box .wpcf7-form .wpcf7-submit {
  padding: 14px 32px; background: var(--secondary); color: #fff;
  font-size: 15px; font-weight: 700; border-radius: 8px;
  border: none; cursor: pointer; transition: .2s; width: 100%;
}
.lienhe1__form-box .wpcf7-form .wpcf7-submit:hover { background: var(--secondary-dk); }

/* ── Homepage responsive ── */
@media (max-width: 1100px) {
  .homepage5__grid { grid-template-columns: repeat(4,1fr); }
  .homepage7__steps { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 960px) {
  .homepage1__slide { min-height: 480px; }
  .homepage2__grid { grid-template-columns: repeat(2,1fr); }
  .homepage3__layout { grid-template-columns: 1fr; gap: 40px; }
  .homepage3__imgSub { right: 0; }
  .homepage4__inner { grid-template-columns: 1fr; gap: 40px; }
  .homepage5__grid { grid-template-columns: repeat(2,1fr); }
  .homepage6__grid { grid-template-columns: repeat(2,1fr); }
  .homepage7__steps { grid-template-columns: repeat(2,1fr); }
  .homepage7__steps::before { display: none; }
  .homepage10__layout { grid-template-columns: 1fr; gap: 36px; }
  .lienhe1__layout { grid-template-columns: 1fr; }
  .lienhe1__locations { grid-template-columns: 1fr 1fr; }
  .homepage-blog__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 849px) {
  .homepage1__slide { min-height: 420px; }
  .homepage1__title { font-size: 2rem; }
  .homepage1__trustitem { min-width: 140px; }
  .homepage3__features { grid-template-columns: 1fr; }
  .homepage8__swiper .swiper-slide { width: 80%; }
  .lienhe1__locations { grid-template-columns: 1fr; }
  .lienhe1__form-row { grid-template-columns: 1fr; }
  .lienhe1__form-box { padding: 24px 20px; }
  .homepage7__steps { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  .homepage1__slide { min-height: 360px; }
  .homepage1__title { font-size: 1.7rem; }
  .homepage1__desc { font-size: 14px; }
  .homepage2__grid { grid-template-columns: repeat(2,1fr); }
  .homepage2__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); padding: 20px 16px; }
  .homepage5__grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .homepage6__grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .homepage7__steps { grid-template-columns: 1fr 1fr; gap: 20px; }
  .homepage-blog__grid { grid-template-columns: 1fr; }
  .hp-hero-prev, .hp-hero-next { display: none !important; }
  .homepage1__ctas { flex-direction: column; }
  .homepage1__ctas .btn-primary,
  .homepage1__ctas .btn-outline { width: 100%; justify-content: center; text-align: center; }
}
