/* ================================================
   Aigroup.vn — Trang /lien-he/ — v2
   child-theme/css/lien-he.css
   ================================================ */

.aig-wrap {
  --blue:   #0046FF;
  --teal:   #00C2A8;
  --orange: #E8711A;
  --ink:    #0d0d0d;
  --muted:  #666;
  --border: #e0ddd7;
  --card:   #ffffff;
  --bg:     #f6f5f1;
  --r:      14px;
  color: var(--ink);
  max-width: 1024px;
  margin: 0 auto;
  padding: 0px 20px 10px;
  box-sizing: border-box;
}

.aig-wrap *, .aig-wrap *::before, .aig-wrap *::after {
  box-sizing: border-box;
}

/* ---- HERO ---- */
.aig-hero { margin-bottom: 40px; }

.aig-hero__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 100px;
  padding: 3px 13px;
  margin-bottom: 16px;
}

.aig-hero__title {
  font-size: clamp(26px, 5.5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 4px;
  /* reset Flatsome heading styles */
  border: none;
  padding: 0;
  text-transform: none;
}

.aig-hero__title span { color: var(--blue); }

.aig-hero__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--blue);
  border-radius: 4px;
  margin-top: 14px;
  margin-bottom: 18px;
}

.aig-hero__desc {
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.aig-hero__desc strong { color: var(--ink); font-weight: 600; }

/* ---- SECTION ---- */
.aig-section { margin-bottom: 36px; }

.aig-section__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ---- CARDS ---- */
.aig-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aig-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  text-decoration: none !important;
  color: var(--ink) !important;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  /* reset Flatsome a styles */
  box-shadow: none;
}

.aig-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: var(--blue);
  opacity: 0;
  transition: opacity .2s;
}

.aig-card:hover { transform: translateY(-2px); }
.aig-card:hover::before { opacity: 1; }

.aig-card--zalo:hover  { border-color: #0068FF; box-shadow: 0 4px 20px rgba(0,104,255,.1); }
.aig-card--zalo::before  { background: #0068FF; }

.aig-card--email:hover { border-color: #333; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.aig-card--email::before { background: #333; }

.aig-card--fb:hover    { border-color: #1877F2; box-shadow: 0 4px 20px rgba(24,119,242,.1); }
.aig-card--fb::before  { background: #1877F2; }

.aig-card--addr:hover  { border-color: var(--orange); box-shadow: 0 4px 20px rgba(232,113,26,.1); }
.aig-card--addr::before { background: var(--orange); }

.aig-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aig-card__body { flex: 1; min-width: 0; }

.aig-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
  /* reset */
  border: none; padding: 0; text-transform: none; letter-spacing: normal;
}

.aig-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  color: #fff;
  background: #00B563;
  border-radius: 100px;
  padding: 1px 7px;
}

.aig-card__sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
}

.aig-card__link {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  font-family: 'Courier New', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aig-card--zalo .aig-card__link  { color: #0068FF; }
.aig-card--fb .aig-card__link    { color: #1877F2; }
.aig-card--addr .aig-card__link  { color: var(--orange); font-family: inherit; }

.aig-card__arrow {
  flex-shrink: 0;
  font-size: 16px;
  color: var(--border);
  transition: color .2s, transform .2s;
  margin-left: 4px;
}
.aig-card:hover .aig-card__arrow {
  color: var(--blue);
  transform: translateX(3px);
}
.aig-card--addr:hover .aig-card__arrow { color: var(--orange); }

/* ---- STEPS ---- */
.aig-prep__intro {
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.6;
}

.aig-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aig-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
}

.aig-step__num {
  font-size: 22px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
  letter-spacing: -.03em;
  margin-top: 1px;
}

.aig-step__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.aig-step__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---- CTA ---- */
.aig-cta {
  background: #1e3a5f;
  border-radius: var(--r);
  padding: 30px 28px 32px;
  text-align: center;
}

.aig-cta__lock {
  font-size: 11px;
  color: rgba(255,255,255,.38);
  letter-spacing: .03em;
  margin-bottom: 16px;
  line-height: 1.5;
}

.aig-quote {
  font-size: clamp(15px, 3vw, 20px);
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
  margin: 0 0 24px;
  /* reset Flatsome blockquote / p */
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  font-style: normal !important;
  text-align: center;
}

.aig-quote em {
  color: var(--teal);
  font-style: normal;
}

/* ---- BUTTONS ---- */
.aig-cta__btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 5px!important;
}

.aig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none !important;
  transition: background .2s, transform .15s, box-shadow .2s, color .2s;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  /* reset Flatsome button */
  line-height: 1;
}

.aig-btn--primary {
  background: var(--blue);
  color: #fff !important;
  border-color: var(--blue);
}

.aig-btn--primary:hover {
  background: #0036CC;
  border-color: #0036CC;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,70,255,.35);
  color: #fff !important;
}

.aig-btn--outline {
  background: transparent;
  color: rgba(255,255,255,.75) !important;
  border-color: rgba(255,255,255,.3);
}

.aig-btn--outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.6);
  color: #fff !important;
  transform: translateY(-2px);
}

/* ---- RESPONSIVE MOBILE ---- */
@media (max-width: 480px) {
  .aig-wrap {
    padding: 24px 12px 44px;
  }

  .aig-hero__title {
    font-size: 26px;
  }

  .aig-card {
    padding: 13px 13px;
    gap: 11px;
  }

  .aig-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .aig-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .aig-card__arrow { display: none; }

  .aig-card__title { font-size: 13px; }
  .aig-card__sub   { font-size: 11px; }
  .aig-card__link  { font-size: 11px; }

  .aig-step {
    padding: 13px 13px;
    gap: 11px;
  }

  .aig-step__num { font-size: 18px; min-width: 26px; }
  .aig-step__title { font-size: 13px; }
  .aig-step__desc  { font-size: 12px; }

  .aig-cta {
    padding: 22px 14px 24px;
  }

  .aig-quote { font-size: 14px; }

  .aig-cta__btns { flex-direction: column; gap: 8px; }

  .aig-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 13px;
  }
}

/* ---- Fix wpautop: ẩn thẻ <p> rỗng WordPress tự chèn ---- */
.aig-channels > p:empty,
.aig-channels > p:blank,
.aig-steps > p:empty,
.aig-steps > p:blank,
.aig-cta__btns > p:empty,
.aig-cta__btns > p:blank {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* Trường hợp p có nội dung là khoảng trắng/nbsp */
.aig-channels > p,
.aig-steps > p {
  display: none !important;
}