/* ============================================================
   HAQ-style theme for SekaiDC
   Palette: corporate blue + white + subtle accents
   ============================================================ */

:root {
  --haq-primary: #0a5cab;
  --haq-primary-dark: #073f76;
  --haq-primary-light: #e8f1fc;
  --haq-accent: #f59e0b;
  --haq-text: #1a2940;
  --haq-text-soft: #4b5b73;
  --haq-muted: #7b8aa1;
  --haq-bg: #ffffff;
  --haq-bg-alt: #f5f8fc;
  --haq-border: #e3e9f1;
  --haq-shadow-sm: 0 2px 6px rgba(10, 92, 171, 0.06);
  --haq-shadow-md: 0 8px 24px rgba(10, 92, 171, 0.10);
  --haq-shadow-lg: 0 18px 40px rgba(10, 92, 171, 0.14);
  --haq-radius: 8px;
}

/* ---------- Reset / base ---------- */
.haq-body,
body.haq-body {
  font-family: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--haq-text);
  background: var(--haq-bg);
  line-height: 1.6;
  margin: 0;
}
.haq-main { background: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
* { box-sizing: border-box; }

a { color: var(--haq-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--haq-primary-dark); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { color: var(--haq-text); font-weight: 700; line-height: 1.3; }

/* hide legacy header */
.top-bar-desktop,
.main-header { display: none !important; }

/* ============================================================
   TOPBAR
   ============================================================ */
.haq-topbar {
  background: var(--haq-primary-dark);
  color: #fff;
  font-size: 13px;
}
.haq-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}
.haq-topbar-left { display: flex; gap: 24px; flex-wrap: wrap; }
.haq-topbar-left span i { margin-right: 6px; color: #ffd166; }
.haq-topbar-right { display: flex; gap: 6px; }
.haq-topbar-right a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background .2s, transform .2s;
}
.haq-topbar-right a:hover { background: var(--haq-accent); color: #fff; transform: translateY(-2px); }

/* ============================================================
   MAIN HEADER
   ============================================================ */
.haq-header {
  background: #fff;
  border-bottom: 1px solid var(--haq-border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s, padding .2s;
}
.haq-header.is-stuck { box-shadow: var(--haq-shadow-sm); }
.haq-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.haq-logo img { height: 60px; width: auto; }

.haq-nav { flex: 1; display: flex; justify-content: center; }
.haq-drawer { display: contents; }
.haq-drawer-head,
.haq-drawer-foot { display: none; }
.haq-menu {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.haq-menu > li { position: relative; }
.haq-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: var(--haq-text);
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  border-radius: 4px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.haq-menu > li > a:hover,
.haq-menu > li.current-menu-item > a { color: var(--haq-primary); }
.haq-menu > li > a i { font-size: 10px; opacity: .7; }

/* Submenu */
.haq-menu .haq-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--haq-radius);
  box-shadow: var(--haq-shadow-md);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s;
  border-top: 3px solid var(--haq-primary);
  z-index: 5;
}
.haq-menu .has-sub:hover .haq-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.haq-menu .haq-submenu li a {
  display: block;
  padding: 10px 18px;
  color: var(--haq-text);
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, color .2s, padding .2s;
}
.haq-menu .haq-submenu li a:hover {
  background: var(--haq-primary-light);
  color: var(--haq-primary);
  padding-left: 24px;
}

/* Hotline desktop */
.haq-hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--haq-primary-light);
  border-radius: var(--haq-radius);
}
.haq-hotline-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--haq-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.haq-hotline-text small {
  display: block;
  font-size: 11px;
  color: var(--haq-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1;
}
.haq-hotline-text a {
  font-size: 17px;
  font-weight: 800;
  color: var(--haq-primary-dark);
  white-space: nowrap;
}
.haq-hotline-text small { white-space: nowrap; }

.haq-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--haq-primary);
  cursor: pointer;
}
.haq-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 24, 50, 0.55);
  z-index: 998;
  opacity: 0;
  transition: opacity .3s;
}
.haq-drawer-overlay.active { display: block; opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
.haq-hero {
  position: relative;
  height: 580px;
  overflow: hidden;
  background: var(--haq-primary-dark);
}
.haq-hero-slides { position: absolute; inset: 0; }
.haq-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease, visibility 1s;
}
.haq-slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.haq-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(7, 35, 70, 0.85) 0%, rgba(10, 92, 171, 0.65) 55%, rgba(10, 92, 171, 0.25) 100%);
}
.haq-slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
}
.haq-slide-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffd166;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.haq-slide h1 {
  color: #fff;
  font-size: 48px;
  line-height: 1.18;
  margin: 0 0 20px;
  font-weight: 800;
}
.haq-slide h1 span { color: #ffd166; font-weight: 700; }
.haq-slide p {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 30px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.92);
}
.haq-slide-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.haq-slide-dots {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}
.haq-dot {
  width: 34px;
  height: 5px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all .3s;
}
.haq-dot.active { background: var(--haq-accent); width: 48px; }

.haq-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  z-index: 5;
  transition: all .25s;
}
.haq-slide-arrow:hover {
  background: var(--haq-accent);
  border-color: var(--haq-accent);
  color: #fff;
}
.haq-prev { left: 24px; }
.haq-next { right: 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.haq-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  line-height: 1.2;
}
.haq-btn-primary {
  background: var(--haq-primary);
  color: #fff;
  border-color: var(--haq-primary);
}
.haq-btn-primary:hover {
  background: var(--haq-primary-dark);
  border-color: var(--haq-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--haq-shadow-md);
}
.haq-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.haq-btn-outline:hover {
  background: #fff;
  color: var(--haq-primary-dark);
  border-color: #fff;
}
.haq-btn-light {
  background: #fff;
  color: var(--haq-primary-dark);
  border-color: #fff;
}
.haq-btn-light:hover {
  background: var(--haq-accent);
  color: #fff;
  border-color: var(--haq-accent);
}
.haq-btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.haq-btn-outline-light:hover {
  background: #fff;
  color: var(--haq-primary-dark);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.haq-section { padding: 70px 0; background: #fff; }
.haq-section-alt { background: var(--haq-bg-alt); }
.haq-section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}
.haq-section-tag {
  display: inline-block;
  color: var(--haq-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.haq-section-title {
  font-size: 30px;
  margin: 0 0 14px;
  letter-spacing: 0.4px;
  position: relative;
  padding-bottom: 18px;
}
.haq-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--haq-accent);
  border-radius: 2px;
}
.haq-section-sub {
  font-size: 15px;
  color: var(--haq-text-soft);
  margin: 0;
  line-height: 1.7;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.haq-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.haq-product-card {
  background: #fff;
  border-radius: var(--haq-radius);
  overflow: hidden;
  border: 1px solid var(--haq-border);
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.haq-product-card:hover {
  border-color: var(--haq-primary);
  box-shadow: var(--haq-shadow-md);
  transform: translateY(-4px);
}
.haq-product-thumb {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--haq-bg-alt);
  overflow: hidden;
}
.haq-product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.haq-product-card:hover .haq-product-thumb img { transform: scale(1.07); }
.haq-product-thumb-fallback {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--haq-primary), var(--haq-primary-dark));
  color: rgba(255, 255, 255, 0.9);
  font-size: 54px;
}
.haq-product-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.haq-product-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--haq-primary);
  background: var(--haq-primary-light);
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.haq-product-title {
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 12px;
  flex: 1;
}
.haq-product-title a { color: var(--haq-text); }
.haq-product-title a:hover { color: var(--haq-primary); }
.haq-product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--haq-primary);
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: gap .2s;
}
.haq-product-link:hover { gap: 10px; }

.haq-view-all { text-align: center; margin-top: 44px; }

/* ============================================================
   FIELDS GRID
   ============================================================ */
.haq-fields-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.haq-field-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--haq-border);
  border-radius: var(--haq-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all .25s;
}
.haq-field-card:hover {
  border-color: var(--haq-primary);
  box-shadow: var(--haq-shadow-md);
  transform: translateY(-4px);
}
.haq-field-img {
  width: 140px;
  background: var(--haq-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.haq-field-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.haq-field-card:hover .haq-field-img img { transform: scale(1.06); }
.haq-field-body { padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; min-height: 116px; }
.haq-field-card h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: var(--haq-text);
  line-height: 1.45;
}
.haq-field-card:hover h3 { color: var(--haq-primary); }
.haq-field-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--haq-primary);
  text-transform: uppercase;
  letter-spacing: .4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.haq-field-card:hover .haq-field-more { gap: 10px; }

/* ============================================================
   ABOUT
   ============================================================ */
.haq-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.haq-about-media { position: relative; }
.haq-about-media img {
  width: 100%;
  border-radius: var(--haq-radius);
  box-shadow: var(--haq-shadow-lg);
}
.haq-about-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--haq-primary);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--haq-radius);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--haq-shadow-lg);
}
.haq-about-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}
.haq-about-num small { font-size: 22px; }
.haq-about-tt {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}
.haq-about-content .haq-section-tag { margin-bottom: 12px; }
.haq-about-title {
  font-size: 30px;
  margin: 0 0 18px;
  line-height: 1.3;
  font-weight: 800;
}
.haq-about-content p {
  font-size: 15px;
  color: var(--haq-text-soft);
  line-height: 1.75;
  margin: 0 0 16px;
}
.haq-about-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 26px;
}
.haq-about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--haq-text);
  margin-bottom: 10px;
}
.haq-about-list li i {
  color: var(--haq-primary);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================================================
   WHY US
   ============================================================ */
.haq-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.haq-why-card {
  background: #fff;
  border-radius: var(--haq-radius);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid var(--haq-border);
  transition: all .25s;
}
.haq-why-card:hover {
  border-color: var(--haq-primary);
  box-shadow: var(--haq-shadow-md);
  transform: translateY(-4px);
}
.haq-why-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--haq-primary-light);
  color: var(--haq-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 16px;
  transition: all .25s;
}
.haq-why-card:hover .haq-why-icon {
  background: var(--haq-primary);
  color: #fff;
}
.haq-why-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
}
.haq-why-card p {
  font-size: 14px;
  color: var(--haq-text-soft);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   NEWS
   ============================================================ */
.haq-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.haq-news-card {
  background: #fff;
  border-radius: var(--haq-radius);
  overflow: hidden;
  border: 1px solid var(--haq-border);
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.haq-news-card:hover {
  border-color: var(--haq-primary);
  box-shadow: var(--haq-shadow-md);
  transform: translateY(-4px);
}
.haq-news-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--haq-bg-alt);
  overflow: hidden;
}
.haq-news-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.haq-news-card:hover .haq-news-thumb img { transform: scale(1.07); }
.haq-news-thumb-fallback {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--haq-primary), var(--haq-primary-dark));
  color: rgba(255, 255, 255, 0.85);
  font-size: 52px;
}
.haq-news-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--haq-primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  text-align: center;
  line-height: 1;
}
.haq-news-date strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 3px;
}
.haq-news-date small {
  font-size: 11px;
  opacity: .9;
}
.haq-news-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.haq-news-title {
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 10px;
  font-weight: 700;
}
.haq-news-title a { color: var(--haq-text); }
.haq-news-title a:hover { color: var(--haq-primary); }
.haq-news-excerpt {
  font-size: 14px;
  color: var(--haq-text-soft);
  line-height: 1.65;
  margin: 0 0 14px;
  flex: 1;
}
.haq-news-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--haq-primary);
  text-transform: uppercase;
  letter-spacing: .3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.haq-news-more:hover { gap: 10px; }

/* ============================================================
   PARTNERS
   ============================================================ */
.haq-partners-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.haq-partner {
  background: #fff;
  border-radius: var(--haq-radius);
  padding: 22px 16px;
  border: 1px solid var(--haq-border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  transition: all .25s;
}
.haq-partner:hover {
  border-color: var(--haq-primary);
  box-shadow: var(--haq-shadow-sm);
  transform: translateY(-3px);
}
.haq-partner-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--haq-muted);
  font-size: 12px;
}
.haq-partner-placeholder i {
  font-size: 28px;
  color: var(--haq-primary);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.haq-cta-section {
  background: linear-gradient(135deg, var(--haq-primary-dark) 0%, var(--haq-primary) 100%);
  padding: 60px 0;
  color: #fff;
}
.haq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.haq-cta-text h2 {
  color: #fff;
  font-size: 26px;
  margin: 0 0 6px;
}
.haq-cta-text p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 15px;
}
.haq-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.haq-footer { background: #0b1c33; color: #c7d1de; margin-top: 0; }
.haq-footer-top { padding: 60px 0 40px; }
.haq-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
  gap: 40px;
}
.haq-footer-col h4 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  position: relative;
}
.haq-footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--haq-accent);
  border-radius: 2px;
}
.haq-footer-logo img {
  height: 60px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.haq-footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
  color: #98a6b8;
}
.haq-footer-social { display: flex; gap: 8px; }
.haq-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .2s;
}
.haq-footer-social a:hover {
  background: var(--haq-accent);
  color: #fff;
  transform: translateY(-3px);
}
.haq-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.haq-footer-links li { margin-bottom: 10px; }
.haq-footer-links a {
  color: #98a6b8;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s, padding-left .2s;
}
.haq-footer-links a::before {
  content: "›";
  color: var(--haq-accent);
  font-weight: 700;
}
.haq-footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.haq-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.haq-footer-contact li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: #c7d1de;
  margin-bottom: 12px;
  line-height: 1.5;
}
.haq-footer-contact li i {
  color: var(--haq-accent);
  margin-top: 4px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.haq-footer-contact a {
  color: inherit;
}
.haq-footer-contact a:hover { color: #fff; }

.haq-footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
}
.haq-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #7a8aa0;
}
.haq-footer-policy {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
}
.haq-footer-policy a {
  color: #98a6b8;
  font-size: 13px;
}
.haq-footer-policy a:hover { color: #fff; }

/* ============================================================
   FLOATING WIDGETS
   ============================================================ */
.haq-float-widgets {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.haq-fw {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform .2s;
  position: relative;
}
.haq-fw:hover { transform: scale(1.08); color: #fff; }
.haq-fw-phone { background: #16a34a; }
.haq-fw-zalo  { background: #0a7cff; }
.haq-fw-mess  { background: #c1366f; }
.haq-fw-ping {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(22, 163, 74, 0.6);
  animation: haq-ping 1.6s ease-out infinite;
}
@keyframes haq-ping {
  0%   { opacity: 1; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .haq-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1200px) {
  .haq-menu > li > a { padding: 9px 8px; font-size: 12.5px; letter-spacing: 0; }
  .haq-menu { gap: 2px; }
  .haq-hotline { padding: 6px 12px; }
  .haq-hotline-text a { font-size: 15px; }
  .haq-hotline-text small { font-size: 10px; }
  .haq-logo img { height: 52px; }
}
@media (max-width: 1080px) {
  .haq-hotline-icon { display: none; }
  .haq-hotline { padding: 4px 10px; }
}
@media (max-width: 991px) {
  .haq-menu-toggle { display: inline-flex; }
  .haq-header-inner { min-height: 72px; }
  .haq-logo img { height: 48px; }

  .haq-hotline {
    padding: 6px 12px;
    background: transparent;
  }
  .haq-hotline-icon { display: none; }
  .haq-hotline-text small { display: none; }
  .haq-hotline-text a { color: var(--haq-primary); font-size: 16px; }

  .haq-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 86%;
    max-width: 380px;
    height: 100%;
    background: #fff;
    z-index: 999;
    display: flex !important;
    flex-direction: column;
    transition: left .3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 22px rgba(0, 0, 0, 0.18);
  }
  .haq-drawer.active { left: 0; }
  .haq-drawer-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--haq-border);
  }
  .haq-drawer-foot { display: block !important; }
  .haq-drawer-logo img { height: 46px; }
  .haq-drawer-close {
    width: 36px; height: 36px;
    background: var(--haq-primary-light);
    border: none;
    border-radius: 50%;
    color: var(--haq-primary);
    cursor: pointer;
    font-size: 16px;
  }
  .haq-menu {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    flex: 1;
  }
  .haq-menu > li { width: 100%; border-bottom: 1px solid var(--haq-border); }
  .haq-menu > li > a {
    padding: 14px 22px;
    font-size: 14px;
    width: 100%;
    justify-content: space-between;
  }
  .haq-menu .haq-submenu {
    position: static;
    box-shadow: none;
    border-top: none;
    background: var(--haq-bg-alt);
    padding: 4px 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 0;
    display: none;
  }
  .haq-menu .has-sub.open .haq-submenu { display: block; }
  .haq-menu .has-sub.open > a i { transform: rotate(180deg); }
  .haq-menu .haq-submenu li a {
    padding-left: 44px;
    font-size: 13px;
  }
  .haq-drawer-foot {
    padding: 16px 22px 22px;
    border-top: 1px solid var(--haq-border);
    background: var(--haq-bg-alt);
  }
  .haq-drawer-hotline {
    display: flex; align-items: center; gap: 12px;
  }
  .haq-drawer-hotline i {
    width: 40px; height: 40px;
    background: var(--haq-primary);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }
  .haq-drawer-hotline small {
    display: block;
    color: var(--haq-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .4px;
  }
  .haq-drawer-hotline a {
    color: var(--haq-primary-dark);
    font-weight: 800;
    font-size: 17px;
  }

  .haq-hero { height: 480px; }
  .haq-slide h1 { font-size: 34px; }

  .haq-products-grid { grid-template-columns: repeat(2, 1fr); }
  .haq-fields-grid { grid-template-columns: repeat(2, 1fr); }
  .haq-why-grid { grid-template-columns: repeat(2, 1fr); }
  .haq-news-grid { grid-template-columns: repeat(2, 1fr); }
  .haq-partners-strip { grid-template-columns: repeat(3, 1fr); }

  .haq-about-grid { grid-template-columns: 1fr; gap: 70px; }
  .haq-about-badge { left: auto; right: 16px; bottom: -20px; }

  .haq-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .haq-cta { justify-content: center; text-align: center; }
  .haq-cta-actions { justify-content: center; }
}
@media (max-width: 700px) {
  .haq-topbar { display: none; }

  /* Hero: grow height a touch so wrapped text never clips */
  .haq-hero { height: 500px; }
  .haq-slide-tag { font-size: 11px; padding: 5px 12px; margin-bottom: 14px; }
  .haq-slide h1 { font-size: 27px; margin-bottom: 14px; }
  .haq-slide p { font-size: 14px; margin-bottom: 22px; }
  .haq-slide-arrow { display: none; }
  /* Stack CTAs full width for easy tapping */
  .haq-slide-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .haq-slide-cta .haq-btn { width: 100%; justify-content: center; }

  .haq-section { padding: 48px 0; }
  .haq-section-head { margin-bottom: 34px; }
  .haq-section-title { font-size: 22px; }
  .haq-section-sub { font-size: 14px; }

  /* Products stay 2-up on phones (compact, e-commerce style) */
  .haq-products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .haq-product-body { padding: 12px 12px 16px; }
  .haq-product-cat { font-size: 10px; padding: 2px 7px; margin-bottom: 8px; }
  .haq-product-title { font-size: 13.5px; margin-bottom: 10px; }
  .haq-product-link { font-size: 12px; }

  .haq-fields-grid { grid-template-columns: 1fr; gap: 14px; }
  .haq-why-grid { grid-template-columns: 1fr; }
  .haq-news-grid { grid-template-columns: 1fr; }
  .haq-partners-strip { grid-template-columns: repeat(2, 1fr); }
  .haq-footer-grid { grid-template-columns: 1fr; gap: 26px; }

  .haq-about-grid { gap: 56px; }
  .haq-about-title { font-size: 22px; }
  .haq-about-num { font-size: 34px; }

  .haq-cta { flex-direction: column; text-align: center; gap: 20px; }
  .haq-cta-text h2 { font-size: 22px; }
  .haq-cta-actions { width: 100%; flex-direction: column; }
  .haq-cta-actions .haq-btn { width: 100%; justify-content: center; }

  .haq-footer-bottom-inner { justify-content: center; text-align: center; }
  .haq-footer-policy { justify-content: center; flex-wrap: wrap; }

  .haq-float-widgets { right: 14px; bottom: 16px; gap: 10px; }
  .haq-fw { width: 46px; height: 46px; font-size: 19px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }

  /* Header: keep logo + hotline + burger on one tidy row */
  .haq-header-inner { gap: 10px; min-height: 64px; }
  .haq-logo img { height: 42px; }
  .haq-hotline { padding: 2px 4px; }
  .haq-hotline-text a { font-size: 15px; }
  .haq-menu-toggle { font-size: 23px; }

  .haq-hero { height: 520px; }
  .haq-slide h1 { font-size: 23px; line-height: 1.25; }
  .haq-slide p { font-size: 13.5px; }

  .haq-section { padding: 40px 0; }
  .haq-section-title { font-size: 20px; padding-bottom: 14px; }

  .haq-btn { padding: 11px 20px; font-size: 13px; }

  /* Field card stacks image on top of text on the narrowest screens */
  .haq-field-card { flex-direction: column; }
  .haq-field-img { width: 100%; height: 150px; }
  .haq-field-body { min-height: 0; padding: 16px 18px; }

  .haq-about-badge { right: 12px; bottom: -16px; padding: 14px 16px; gap: 10px; }
  .haq-about-num { font-size: 30px; }
  .haq-about-num small { font-size: 18px; }

  .haq-partners-strip { gap: 12px; }
  .haq-partner { min-height: 80px; padding: 16px 10px; }
}

@media (max-width: 360px) {
  .haq-products-grid { grid-template-columns: 1fr; }
  .haq-slide h1 { font-size: 21px; }
}

/* ============================================================
   INNER PAGES (Liên hệ / Tuyển dụng / Lĩnh vực)
   ============================================================ */
.haq-page-hero {
  background: linear-gradient(115deg, var(--haq-primary-dark) 0%, var(--haq-primary) 100%);
  color: #fff;
  padding: 54px 0;
  position: relative;
  overflow: hidden;
}
.haq-page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.haq-page-tag {
  display: inline-block;
  color: #ffd166;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.haq-page-hero h1 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 12px;
  font-weight: 800;
}
.haq-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.haq-breadcrumb a { color: rgba(255, 255, 255, 0.9); }
.haq-breadcrumb a:hover { color: #ffd166; }
.haq-breadcrumb i { font-size: 10px; opacity: .7; }

/* ---------- Contact ---------- */
.haq-contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  align-items: start;
}
.haq-contact-heading {
  font-size: 22px;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 12px;
}
.haq-contact-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 3px;
  background: var(--haq-accent);
  border-radius: 2px;
}
.haq-contact-lead {
  color: var(--haq-text-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px;
}
.haq-contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.haq-contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.haq-contact-ico {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--haq-primary-light);
  color: var(--haq-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.haq-contact-list strong { display: block; color: var(--haq-text); margin-bottom: 3px; font-size: 15px; }
.haq-contact-list p { margin: 0; color: var(--haq-text-soft); font-size: 14.5px; line-height: 1.5; }
.haq-contact-list a { color: var(--haq-text-soft); }
.haq-contact-list a:hover { color: var(--haq-primary); }
.haq-contact-social { display: flex; gap: 10px; }
.haq-contact-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--haq-bg-alt);
  color: var(--haq-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.haq-contact-social a:hover { background: var(--haq-primary); color: #fff; transform: translateY(-3px); }

.haq-contact-form-wrap {
  background: #fff;
  border: 1px solid var(--haq-border);
  border-radius: var(--haq-radius);
  padding: 30px;
  box-shadow: var(--haq-shadow-md);
}

/* ---------- Form ---------- */
.haq-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.haq-form-group { margin-bottom: 16px; display: flex; flex-direction: column; }
.haq-form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--haq-text);
  margin-bottom: 6px;
}
.haq-form-group label span { color: #d93025; }
.haq-form-group input,
.haq-form-group select,
.haq-form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--haq-border);
  border-radius: 6px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--haq-text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.haq-form-group textarea { resize: vertical; min-height: 110px; }
.haq-form-group input:focus,
.haq-form-group select:focus,
.haq-form-group textarea:focus {
  outline: none;
  border-color: var(--haq-primary);
  box-shadow: 0 0 0 3px rgba(10, 92, 171, 0.12);
}
.haq-form .haq-btn { margin-top: 6px; }
.haq-form-required { font-size: 13px; color: var(--haq-muted); margin: 0 0 18px; }
.haq-form-required span { color: #d93025; font-weight: 700; }
.haq-form-note {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.haq-form-ok { background: #e7f6ec; color: #157347; border: 1px solid #b6e0c4; }
.haq-form-err { background: #fdecea; color: #c0392b; border: 1px solid #f5c2bd; }

/* ---------- Map ---------- */
.haq-map { line-height: 0; }
.haq-map iframe { display: block; width: 100%; }

/* ---------- Recruitment ---------- */
.haq-jobs { display: grid; gap: 18px; }
.haq-job-card {
  background: #fff;
  border: 1px solid var(--haq-border);
  border-radius: var(--haq-radius);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all .25s;
}
.haq-job-card:hover { border-color: var(--haq-primary); box-shadow: var(--haq-shadow-md); }
.haq-job-title { font-size: 19px; margin: 0 0 8px; color: var(--haq-text); }
.haq-job-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; font-size: 13px; color: var(--haq-muted); }
.haq-job-meta i { color: var(--haq-primary); margin-right: 4px; }
.haq-job-desc { font-size: 14.5px; color: var(--haq-text-soft); line-height: 1.65; margin: 0 0 12px; }
.haq-job-reqs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.haq-job-reqs li { font-size: 13.5px; color: var(--haq-text); display: flex; align-items: center; gap: 7px; }
.haq-job-reqs i { color: var(--haq-primary); font-size: 12px; }
.haq-job-action { flex-shrink: 0; }
.haq-apply-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--haq-border);
  border-radius: var(--haq-radius);
  padding: 36px;
  box-shadow: var(--haq-shadow-md);
}
.haq-apply-wrap .haq-section-head { margin-bottom: 26px; }

/* Job listing items (post-driven, haq.vn style) */
.haq-jobitem {
  background: #fff;
  border: 1px solid var(--haq-border);
  border-radius: var(--haq-radius);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all .25s;
}
.haq-jobitem:hover { border-color: var(--haq-primary); box-shadow: var(--haq-shadow-md); }
.haq-jobitem-title { font-size: 19px; margin: 0 0 8px; line-height: 1.35; }
.haq-jobitem-title a { color: var(--haq-text); }
.haq-jobitem-title a:hover { color: var(--haq-primary); }
.haq-jobitem-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; font-size: 13px; color: var(--haq-muted); }
.haq-jobitem-meta i { color: var(--haq-primary); margin-right: 4px; }
.haq-jobitem-excerpt { font-size: 14.5px; color: var(--haq-text-soft); line-height: 1.65; margin: 0; }
.haq-jobitem-action { flex-shrink: 0; }
.haq-jobs-empty { text-align: center; color: var(--haq-text-soft); font-size: 15px; padding: 30px 0; }

/* ---------- Fields of operation (card grid, haq.vn style) ---------- */
.haq-lv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.haq-lvcard {
  background: #fff;
  border: 1px solid var(--haq-border);
  border-radius: var(--haq-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .25s;
}
.haq-lvcard:hover { border-color: var(--haq-primary); box-shadow: var(--haq-shadow-md); transform: translateY(-4px); }
.haq-lvcard-thumb {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--haq-bg-alt);
}
.haq-lvcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.haq-lvcard:hover .haq-lvcard-thumb img { transform: scale(1.06); }
.haq-lvcard-badge {
  position: absolute; top: 14px; left: 14px;
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(10, 92, 171, 0.92); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
}
.haq-lvcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.haq-lvcard-tag {
  display: inline-block; align-self: flex-start;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: var(--haq-primary); background: var(--haq-primary-light);
  padding: 3px 9px; border-radius: 3px; margin-bottom: 10px;
}
.haq-lvcard-title { font-size: 17px; line-height: 1.4; margin: 0 0 10px; }
.haq-lvcard-title a { color: var(--haq-text); }
.haq-lvcard-title a:hover { color: var(--haq-primary); }
.haq-lvcard-excerpt { font-size: 14px; color: var(--haq-text-soft); line-height: 1.65; margin: 0 0 16px; flex: 1; }
.haq-lvcard-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--haq-primary);
  text-transform: uppercase; letter-spacing: .3px; transition: gap .2s;
}
.haq-lvcard-more:hover { gap: 10px; }

/* ---------- Inner-page responsive ---------- */
@media (max-width: 991px) {
  .haq-lv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .haq-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .haq-job-card,
  .haq-jobitem { flex-direction: column; align-items: stretch; gap: 16px; }
  .haq-job-action .haq-btn,
  .haq-jobitem-action .haq-btn { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .haq-page-hero { padding: 40px 0; }
  .haq-page-hero h1 { font-size: 26px; }
  .haq-contact-form-wrap { padding: 22px 18px; }
  .haq-apply-wrap { padding: 24px 18px; }
  .haq-form-row { grid-template-columns: 1fr; gap: 0; }
  .haq-map iframe { height: 320px; }
  .haq-lv-grid { grid-template-columns: 1fr; }
}
