/* =====================================================================
   POG.VN – B11 KẾT NỐI TƯ VẤN (Zalo + Hotline + Facebook) – trang chủ
   Markup: template-parts/contact-cta.php
   Phối màu: khối Navy → Navy đậm (thương hiệu, kết thúc trang chủ) với quầng sáng Cam
             · nút Zalo trắng chữ Navy · nút Gọi Cam · link Facebook trắng.
   Cập nhật: 2026-11-18 (B11). Chỉ dùng biến --pog-*.
   ===================================================================== */
.pog-cta {
  padding: 0 0 var(--pog-section-y);
  background: var(--pog-white);
  font-family: var(--pog-font);
}
.pog-cta svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pog-cta__wrap {
  max-width: var(--pog-container);
  margin: 0 auto;
  padding: 0 var(--pog-gutter);
  box-sizing: border-box;
}
.pog-cta__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pog-space-6);
  padding: 36px 40px;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--pog-radius-xl);
  background: linear-gradient(120deg, var(--pog-navy) 0%, var(--pog-navy-dark) 100%);
  box-shadow: 0 24px 48px -24px rgba(var(--pog-navy-rgb), 0.6);
  color: var(--pog-white);
}
.pog-cta__box::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -120px;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--pog-primary-rgb), 0.38) 0%, transparent 70%);
}
.pog-cta__box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 45%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 45%);
}

/* Bên trái */
.pog-cta__intro {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}
.pog-cta__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--pog-primary);
  box-shadow: 0 10px 22px rgba(var(--pog-primary-rgb), 0.4);
  color: var(--pog-white);
}
.pog-cta__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}
.pog-cta__title {
  margin: 2px 0 8px;
  color: var(--pog-white);
  font-size: clamp(22px, 1.1rem + 0.9vw, 30px);
  font-weight: var(--pog-fw-black);
  line-height: 1.2;
  letter-spacing: var(--pog-ls-tight);
}
.pog-cta__text {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.6;
}

/* Bên phải: nút */
.pog-cta__actions {
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 12px;
  justify-items: stretch;
}
.pog-cta__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  min-height: 60px;
  padding: 8px 18px 8px 8px;
  box-sizing: border-box;
  border-radius: var(--pog-radius-full);
  text-decoration: none;
  transition: transform var(--pog-transition-fast), box-shadow var(--pog-transition-fast), background var(--pog-transition-fast);
}
.pog-cta__btn:hover {
  transform: translateY(-2px);
}
.pog-cta__btn:focus-visible,
.pog-cta__fb:focus-visible {
  outline: 2px solid var(--pog-white);
  outline-offset: 3px;
}
.pog-cta__badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: var(--pog-fw-black);
  letter-spacing: -0.01em;
}
.pog-cta__badge svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.pog-cta__btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.pog-cta__btn-text b {
  font-size: 15px;
  font-weight: var(--pog-fw-bold);
}
.pog-cta__btn-text small {
  font-size: 13px;
  font-weight: var(--pog-fw-semibold);
  opacity: 0.85;
}
.pog-cta__btn--zalo {
  background: var(--pog-white);
  color: var(--pog-navy);
}
.pog-cta__btn--zalo .pog-cta__badge {
  background: var(--pog-navy);
  color: var(--pog-white);
}
.pog-cta__btn--zalo:hover {
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.4);
  color: var(--pog-navy);
}
.pog-cta__btn--call {
  background: var(--pog-primary);
  color: var(--pog-white);
  box-shadow: 0 12px 24px -8px rgba(var(--pog-primary-rgb), 0.6);
}
.pog-cta__btn--call .pog-cta__badge {
  background: rgba(255, 255, 255, 0.18);
  color: var(--pog-white);
}
.pog-cta__btn--call:hover {
  background: var(--pog-primary-hover);
  color: var(--pog-white);
}
.pog-cta__fb {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  font-weight: var(--pog-fw-semibold);
  text-decoration: none;
}
.pog-cta__fb svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}
.pog-cta__fb:hover {
  color: var(--pog-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =====================================================================
   KHỔ MÀN HÌNH
   ===================================================================== */
@media (max-width: 1100px) {
  .pog-cta__box {
    flex-direction: column;
    align-items: stretch;
    gap: var(--pog-space-5);
  }
  .pog-cta__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .pog-cta__box {
    padding: 26px 18px 18px;
    border-radius: var(--pog-radius-lg);
  }
  .pog-cta__intro {
    gap: 14px;
  }
  .pog-cta__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .pog-cta__icon svg {
    width: 24px;
    height: 24px;
  }
  .pog-cta__text {
    font-size: 14px;
  }
  .pog-cta__actions {
    grid-template-columns: 1fr;
  }
  .pog-cta__btn {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pog-cta__btn {
    transition: none;
  }
}
