/**
 * U-Home Contact Page & Store Locator Styles
 * Master Stylesheet for trang-lien-he.html
 * Adheres strictly to U-Home Design Tokens & AGENTS.md
 */

/* ── HERO & BREADCRUMB ── */
.uh-contact-hero {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 32px 0 24px;
}

.uh-contact-breadcrumb {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 12px;
}

.uh-contact-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.uh-contact-breadcrumb a:hover {
  color: #e4181f;
}

.uh-contact-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

.uh-contact-heading {
  font-size: 32px;
  font-weight: 800;
  color: #14202e;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.5px;
}

.uh-contact-heading span {
  color: #e4181f;
}

.uh-contact-subtitle {
  font-size: 15px;
  color: #4a5a6b;
  max-width: 680px;
  line-height: 1.6;
  margin: 8px 0 0;
}

.uh-contact-stats-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.uh-contact-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid #14202e;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #14202e;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.uh-contact-stat-pill .dot-red {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e4181f;
}

.uh-contact-stat-pill .dot-amber {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffa724;
}

/* ── STORE LOCATOR STAGE (SPLIT VIEW) ── */
.uh-locator-section {
  padding: 24px 0 60px;
  background: #ffffff;
}

.uh-locator-stage {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 32, 46, 0.06);
  min-height: 680px;
}

/* ── CỘT TRÁI: DANH SÁCH & BỘ LỌC ── */
.uh-locator-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  height: 680px;
}

.uh-locator-filter-panel {
  padding: 20px 20px 14px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.uh-locator-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.uh-locator-search-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  pointer-events: none;
}

.uh-locator-search-input {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 40px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  color: #14202e;
  transition: all 0.2s ease;
}

.uh-locator-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #e4181f;
  box-shadow: 0 0 0 3px rgba(228, 24, 31, 0.12);
}

.uh-locator-search-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uh-locator-search-clear:hover {
  color: #14202e;
}

/* Tabs phân loại */
.uh-locator-tabs {
  display: flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
}

.uh-locator-tab-btn {
  flex: 1;
  height: 34px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.uh-locator-tab-btn:hover {
  color: #14202e;
}

.uh-locator-tab-btn.active {
  background: #ffffff;
  color: #e4181f;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Bộ lọc vùng miền pills */
.uh-locator-region-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.uh-locator-region-row::-webkit-scrollbar {
  display: none;
}

.uh-locator-region-pill {
  padding: 4px 10px;
  background: transparent;
  border: 1px solid #475569;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.uh-locator-region-pill:hover {
  border-color: #cbd5e1;
  color: #14202e;
}

.uh-locator-region-pill.active {
  background: #14202e;
  border-color: #14202e;
  color: #ffffff;
  font-weight: 600;
}

/* Danh sách card cuộn */
.uh-locator-list-count {
  padding: 10px 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.uh-locator-card-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uh-locator-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.uh-locator-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateY(-1px);
}

.uh-locator-card.active {
  border-color: #e4181f;
  background: #ffffff;
}

.uh-locator-card.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  background: #e4181f;
  border-radius: 0 4px 4px 0;
}

.uh-locator-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.uh-badge-showroom {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: transparent;
  color: #e4181f;
  border: 1px solid var(--uh-color-primary);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.uh-badge-warehouse {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: transparent;
  color: var(--uh-color-amber-title);
  border: 1px solid var(--uh-color-amber-dark);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.uh-badge-both {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: transparent;
  color: var(--uh-color-primary);
  border: 1px solid var(--uh-color-primary);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.uh-locator-card-city {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.uh-locator-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #14202e;
  line-height: 1.35;
  margin-bottom: 6px;
}

.uh-locator-card-address {
  font-size: 13px;
  color: #4a5a6b;
  line-height: 1.5;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.uh-locator-card-address svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #94a3b8;
}

.uh-locator-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
}

.uh-locator-card-phone {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #e4181f;
  text-decoration: none;
  padding: 5px 10px;
  background: transparent;
  border-radius: 8px;
  transition: color 0.2s;
}

.uh-locator-card-phone:hover {
  background: transparent;
  color: var(--uh-color-primary-hover);
}

.uh-locator-card-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  margin-left: auto;
  padding: 5px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s;
}

.uh-locator-card-map-btn:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #14202e;
}

/* ── CỘT PHẢI: KHUNG BẢN ĐỒ TƯƠNG TÁC ── */
.uh-locator-map-wrap {
  position: relative;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  height: 680px;
  min-width: 0;
  overflow: hidden;
}

.uh-locator-canvas-container {
  width: 100%;
  height: 100%;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.uh-locator-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── PHẦN GIỮA: FORM LIÊN HỆ & TRỤ SỞ CHÍNH ── */
.uh-contact-main-section {
  padding: 70px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.uh-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: start;
}

/* Cột Trái: Thông tin trụ sở */
.uh-hq-card {
  background: #14202e;
  color: #ffffff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(20, 32, 46, 0.15);
  position: relative;
  overflow: hidden;
}

.uh-hq-card::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 24, 31, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.uh-hq-logo {
  display: block;
  height: 48px;
  width: auto;
  margin-bottom: 18px;
}

.uh-hq-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 8px;
}

.uh-hq-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 26px;
}

.uh-hq-brand-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #ffffff;
  font-weight: 600;
}

.uh-hq-brand-name {
  color: #e4181f;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.uh-hq-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.uh-hq-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.uh-hq-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #1c2a3b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e4181f;
  flex-shrink: 0;
}

.uh-hq-detail-label {
  font-size: 11.5px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 3px;
}

.uh-hq-detail-val {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
}

.uh-hq-detail-val a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.uh-hq-detail-val a:hover {
  color: #ffa724;
}

/* Hotline pills in HQ card */
.uh-hq-hotlines-box {
  background: #0e1826;
  border: 1px solid #1c2a3b;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 0;
}

.uh-hq-hotline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.uh-hq-hotline-item:not(:last-child) {
  border-bottom: 1px solid #1c2a3b;
}

.uh-hq-hotline-num {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}

.uh-hq-hotline-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.tag-red {
  background: #e4181f;
  color: #ffffff;
}

.tag-navy {
  background: #1c2a3b;
  color: #a9b6c4;
}

/* Social Channels Box */
.uh-hq-social-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffa724;
  margin-bottom: 12px;
}

.uh-hq-social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.uh-social-pill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #1c2a3b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.uh-social-pill-btn:hover {
  background: #243447;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.uh-social-pill-btn svg {
  flex-shrink: 0;
}

/* Cột Phải: Form Liên Hệ Thông Minh */
.uh-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.uh-form-heading {
  font-size: 24px;
  font-weight: 800;
  color: #14202e;
  line-height: 1.3;
  margin-bottom: 6px;
}

.uh-form-subheading {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
}

/* Purpose selection radio pills */
.uh-form-purpose-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #14202e;
  margin-bottom: 10px;
  display: block;
}

.uh-form-purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.uh-purpose-pill {
  border: 1px solid #475569;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s ease;
}

.uh-purpose-pill:hover {
  border-color: #cbd5e1;
  color: #14202e;
}

.uh-purpose-pill.active {
  background: transparent;
  border-color: #e4181f;
  color: #e4181f;
  font-weight: 700;
}

/* Form Inputs */
.uh-form-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.uh-form-field-full {
  grid-column: span 2;
}

.uh-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uh-form-label {
  font-size: 13px;
  font-weight: 600;
  color: #14202e;
}

.uh-form-label .req {
  color: #e4181f;
}

.uh-form-input,
.uh-form-textarea,
.uh-form-select {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #14202e;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.uh-form-input:focus,
.uh-form-textarea:focus,
.uh-form-select:focus {
  outline: none;
  background: #ffffff;
  border-color: #e4181f;
  box-shadow: 0 0 0 3px rgba(228, 24, 31, 0.12);
}

.uh-form-input.has-error {
  border-color: #e4181f;
  background: #fff8f8;
}

.uh-form-error-msg {
  font-size: 12px;
  color: #e4181f;
  font-weight: 500;
}

.uh-form-textarea {
  min-height: 84px;
  resize: vertical;
}

/* Floating label */
.uh-form-float {
  position: relative;
}

.uh-form-float .uh-form-input,
.uh-form-float .uh-form-textarea {
  padding: 20px 14px 6px;
}

.uh-form-float .uh-form-label {
  position: absolute;
  top: 14px;
  left: 15px;
  right: 15px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 500;
  color: #7a8895;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.2s ease, color 0.2s ease;
}

.uh-form-float .uh-form-input:focus + .uh-form-label,
.uh-form-float .uh-form-input:not(:placeholder-shown) + .uh-form-label,
.uh-form-float .uh-form-textarea:focus + .uh-form-label,
.uh-form-float .uh-form-textarea:not(:placeholder-shown) + .uh-form-label {
  transform: translateY(-9px) scale(0.8);
}

.uh-form-float .uh-form-input:focus + .uh-form-label,
.uh-form-float .uh-form-textarea:focus + .uh-form-label {
  color: #e4181f;
}

.uh-form-submit-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.uh-form-promise {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.uh-form-promise span.check {
  color: #12a150;
  font-weight: 700;
  font-size: 14px;
}

/* ── PHÂN TẦNG 3: KHỐI KÊNH LIÊN HỆ THEO PHÒNG BAN ── */
.uh-departments-section {
  padding: 60px 0;
  background: #ffffff;
}

.uh-departments-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.uh-departments-title {
  font-size: 26px;
  font-weight: 800;
  color: #14202e;
  margin-bottom: 8px;
}

.uh-departments-desc {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
}

.uh-departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.uh-dept-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.uh-dept-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(20, 32, 46, 0.08);
}

.uh-dept-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #14202e;
  margin-bottom: 6px;
}

.uh-dept-contact-link {
  font-size: 16px;
  font-weight: 800;
  color: #e4181f;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.uh-dept-time {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 4px;
}

.uh-dept-group-sub {
  font-weight: 600;
  color: #64748b;
}

.uh-dept-group-sub::before {
  content: '|';
  margin: 0 10px;
  color: #cbd5e1;
}

.uh-dept-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.uh-dept-role {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.uh-dept-group + .uh-dept-group {
  margin-top: 44px;
}

.uh-dept-group-title {
  font-size: 22px;
  font-weight: 800;
  color: #14202e;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid #e4181f;
}

.uh-departments-grid-region {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.uh-dept-card-photo {
  align-items: center;
  text-align: center;
  padding: 28px 20px 22px;
}

.uh-dept-photo {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #e4181f, 0 8px 20px rgba(228, 24, 31, 0.18);
  margin-bottom: 18px;
}

.uh-dept-card-photo .uh-dept-head {
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.uh-dept-card-photo .uh-dept-title {
  margin-bottom: 0;
}

.uh-dept-card-photo .uh-dept-role {
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff1f1;
  color: #e4181f;
}

.uh-dept-card-photo .uh-dept-contact-link {
  justify-content: center;
  margin-top: auto;
  font-size: 16px;
}

.uh-dept-card-photo .uh-dept-contact-link:hover {
  color: #b3141a;
}

.uh-dept-person {
  font-size: 14px;
  font-weight: 600;
  color: #4a5a6b;
  margin-bottom: 6px;
}

/* Mô tả ngắn: ẩn mặc định, chỉ hiện khi rê chuột / focus vào tên khu vực (.uh-dept-title) */
.uh-dept-card {
  position: relative;
}

.uh-dept-card:has(.uh-dept-desc) .uh-dept-title {
  cursor: help;
  text-decoration: underline dotted #cbd5e1;
  text-underline-offset: 4px;
}

.uh-dept-desc {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(20, 32, 46, 0.95);
  color: #ffffff;
  font-size: 10px;
  line-height: 1.5;
  text-align: left;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.uh-dept-card:has(.uh-dept-title:hover) .uh-dept-desc,
.uh-dept-card:has(.uh-dept-title:focus) .uh-dept-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ── KẾT NỐI ĐA KÊNH TRỰC TUYẾN STANDALONE SECTION (NỔI BẬT) ── */
.uh-social-connect-strip-section {
  padding: 64px 0 70px;
  background: linear-gradient(135deg, #0e1726 0%, #14202e 50%, #1a293b 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.uh-social-connect-strip-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 24, 31, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.uh-social-connect-strip-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 167, 36, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.uh-social-strip-header {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.uh-social-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: transparent;
  border: 1px solid #ff6b6b;
  border-radius: 6px;
  color: #ff6b6b;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.uh-social-strip-title {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.uh-social-strip-desc {
  font-size: 15px;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.uh-social-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .uh-social-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .uh-social-strip-grid {
    grid-template-columns: 1fr;
  }
}

.uh-social-big-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 24px;
  text-decoration: none;
  transition: all 0.28s ease;
  position: relative;
}

.uh-social-big-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.uh-social-big-card.card-zalo:hover { border-color: rgba(0, 104, 255, 0.6); box-shadow: 0 16px 36px rgba(0, 104, 255, 0.25); }
.uh-social-big-card.card-youtube:hover { border-color: rgba(239, 68, 68, 0.6); box-shadow: 0 16px 36px rgba(239, 68, 68, 0.25); }
.uh-social-big-card.card-facebook:hover { border-color: rgba(24, 119, 242, 0.6); box-shadow: 0 16px 36px rgba(24, 119, 242, 0.25); }
.uh-social-big-card.card-tiktok:hover { border-color: rgba(244, 63, 94, 0.6); box-shadow: 0 16px 36px rgba(244, 63, 94, 0.25); }

.uh-social-card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #ffffff;
}

.card-zalo .uh-social-card-icon-box { background: linear-gradient(135deg, #0068ff 0%, #004ecc 100%); }
.card-youtube .uh-social-card-icon-box { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); }
.card-facebook .uh-social-card-icon-box { background: linear-gradient(135deg, #1877f2 0%, #0d5bbd 100%); }
.card-tiktok .uh-social-card-icon-box { background: linear-gradient(135deg, #0f172a 0%, #000000 100%); border: 1px solid rgba(255,255,255,0.2); }

.uh-social-card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.card-zalo .uh-social-card-tag { color: #60a5fa; }
.card-youtube .uh-social-card-tag { color: #f87171; }
.card-facebook .uh-social-card-tag { color: #93c5fd; }
.card-tiktok .uh-social-card-tag { color: #cbd5e1; }

.uh-social-card-name {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.uh-social-card-meta {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.uh-social-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  width: fit-content;
  transition: all 0.2s ease;
}

.uh-social-big-card:hover .uh-social-card-btn {
  background: #ffffff;
  color: #0f172a;
}

/* ── PHÂN TẦNG CUỐI: KHỐI DIRECTORY HUB SHOWROOM & TỔNG KHO ── */
.uh-directory-section {
  padding: 70px 0 90px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.uh-directory-header-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.uh-directory-main-heading {
  font-size: 32px;
  font-weight: 800;
  color: #14202e;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin: 0 0 10px;
}

.uh-directory-main-sub {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 24px;
}

.uh-directory-filter-row {
  display: inline-flex;
  gap: 8px;
  background: #ffffff;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  flex-wrap: wrap;
  justify-content: center;
}

.uh-directory-tab-btn {
  padding: 8px 18px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.uh-directory-tab-btn:hover {
  color: #14202e;
  background: #f1f5f9;
}

.uh-directory-tab-btn.active {
  background: #e4181f;
  color: #ffffff;
}

.uh-dir-group-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 30px 32px;
  box-shadow: 0 4px 16px rgba(20, 32, 46, 0.04);
}

.uh-dir-group-box.mt-6 {
  margin-top: 32px;
}

.uh-dir-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.uh-dir-group-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.uh-dir-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.uh-dir-icon-badge.badge-red {
  background: transparent;
  color: #e4181f;
  border: 1px solid #ffd4d5;
}

.uh-dir-icon-badge.badge-amber {
  background: transparent;
  color: #d97706;
  border: 1px solid #fed7aa;
}

.uh-dir-group-title {
  font-size: 19px;
  font-weight: 800;
  color: #14202e;
  margin: 0;
  letter-spacing: -0.3px;
}

.uh-dir-group-count-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}

.uh-dir-group-count-pill.red {
  background: transparent;
  color: #e4181f;
  border: 1px solid #e4181f;
}

.uh-dir-group-count-pill.amber {
  background: transparent;
  color: #b45309;
  border: 1px solid #b45309;
}

.uh-dir-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 1100px) {
  .uh-dir-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .uh-dir-cards-grid {
    grid-template-columns: 1fr;
  }
}

.uh-facility-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
  position: relative;
}

.uh-facility-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(20, 32, 46, 0.08);
}

.uh-facility-card.card-sr {
  border-top: 3px solid #e4181f;
}

.uh-facility-card.card-wh {
  border-top: 3px solid #ffa724;
}

@keyframes uh-target-card-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(228, 24, 31, 0.7), 0 8px 24px rgba(228, 24, 31, 0.25);
    transform: scale(1);
  }
  25% {
    box-shadow: 0 0 0 8px rgba(228, 24, 31, 0.38), 0 16px 36px rgba(228, 24, 31, 0.3);
    transform: translateY(-4px) scale(1.02);
  }
  60% {
    box-shadow: 0 0 0 14px rgba(228, 24, 31, 0), 0 12px 28px rgba(228, 24, 31, 0.15);
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    box-shadow: 0 10px 24px rgba(20, 32, 46, 0.08);
    transform: scale(1);
  }
}

.uh-facility-card.uh-card-target-highlight {
  background: #ffffff !important;
  border-color: #e4181f !important;
  animation: uh-target-card-pulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 10;
}

.uh-fac-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.uh-fac-city-badge {
  font-size: 12px;
  font-weight: 800;
  color: #e4181f;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.uh-fac-city-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #e4181f;
  flex-shrink: 0;
}

.uh-fac-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 8px;
}

.uh-fac-addr {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 12px;
  flex: 1;
}

.uh-fac-addr svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #94a3b8;
}

.uh-fac-meta-row {
  font-size: 12px;
  color: #475569;
  margin-bottom: 10px;
}

.uh-fac-social-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.uh-fac-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.uh-fac-social-btn.fb {
  background: #f0f7ff;
  color: #1877f2;
  border: 1px solid #d0e3ff;
}

.uh-fac-social-btn.fb:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.25);
  transform: translateY(-1px);
}

.uh-fac-social-btn.zalo {
  background: #f0f7ff;
  color: #0068ff;
  border: 1px solid #cce3ff;
}

.uh-fac-social-btn.zalo:hover {
  background: #0068ff;
  color: #ffffff;
  border-color: #0068ff;
  box-shadow: 0 2px 6px rgba(0, 104, 255, 0.25);
  transform: translateY(-1px);
}

.uh-fac-social-btn.tiktok {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.uh-fac-social-btn.tiktok:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.uh-fac-social-btn.youtube {
  background: #fff1f1;
  color: #e4181f;
  border: 1px solid #ffd4d5;
}

.uh-fac-social-btn.youtube:hover {
  background: #e4181f;
  color: #ffffff;
  border-color: #e4181f;
  transform: translateY(-1px);
}

.uh-fac-actions {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #eef2f6;
  margin-top: auto;
}

.uh-fac-btn-phone {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #14202e;
  text-decoration: none;
  transition: all 0.2s;
}

.uh-fac-btn-phone:hover {
  background: #fff1f1;
  border-color: #fca5a5;
  color: #e4181f;
}

.uh-fac-btn-map {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  background: #0f172a;
  border: 1px solid #0f172a;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s;
}

.uh-fac-btn-map:hover {
  background: #e4181f;
  border-color: #e4181f;
}

/* ── MODAL THÀNH CÔNG ── */
.uh-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 32, 46, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
  animation: uh-fade-in 0.2s ease;
}

.uh-modal-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: uh-modal-up 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.uh-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0fdf4;
  color: #12a150;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 32px;
  box-shadow: 0 0 0 8px #dcfce7;
}

.uh-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #14202e;
  margin-bottom: 8px;
}

.uh-modal-desc {
  font-size: 14.5px;
  color: #4a5a6b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.uh-modal-highlight-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px;
  font-size: 13.5px;
  color: #14202e;
  margin-bottom: 24px;
}

@keyframes uh-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes uh-modal-up {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 1024px) {
  .uh-locator-stage {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  .uh-locator-sidebar {
    height: 480px;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .uh-locator-map-wrap {
    height: 480px;
  }
  .uh-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .uh-contact-heading {
    font-size: 24px;
  }
  .uh-form-fields-grid {
    grid-template-columns: 1fr;
  }
  .uh-form-field-full {
    grid-column: span 1;
  }
  .uh-hq-card, .uh-form-card {
    padding: 24px 20px;
  }
  .uh-hq-social-grid {
    grid-template-columns: 1fr;
  }
  .uh-locator-sidebar {
    height: 420px;
  }
  .uh-locator-map-wrap {
    height: 400px;
  }
}
