/* ================================================================
   HCMC Dental — Footer CSS v3.2 (Compact & High Readability)
   inc/footer.css
   ================================================================ */

/* ── 0. Reset Astra footer ──────────────────────────────────── */
.ast-footer-copyright,
.site-below-footer-wrap,
.site-footer-primary-section { display:none!important; }

/* ── 1. Root foundation ─────────────────────────────────────── */
.hcmc-footer {
  font-family: var(--hcmc-font-body), 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  /* Dark slate background, pure and readable */
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: #cbd5e1; /* slate-300: High contrast text */
  position: relative;
  overflow: hidden;
}

/* Ambient glow */
.hcmc-footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 500px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(16,185,129,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(245,158,11,.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hcmc-footer > * { position: relative; z-index: 1; }

/* ── 2. Announcement bar ────────────────────────────────────── */
.hcmc-footer-announce {
  background: linear-gradient(90deg, #064e3b 0%, #065f46 50%, #047857 100%);
  padding: 10px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(16,185,129,.2);
}
.hcmc-footer-announce-inner {
  max-width: 1260px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  align-items: center; justify-content: center;
  font-size: .8125rem; font-weight: 700; color: #ecfdf5;
  letter-spacing: .02em;
}
.hcmc-fa-dot { color: #6ee7b7; opacity: .8; }
@media (max-width:640px) {
  .hcmc-fa-dot { display: none; }
  .hcmc-footer-announce-inner { gap: 6px 10px; }
}

/* ── 3. Main grid ───────────────────────────────────────────── */
.hcmc-footer-main { padding: 3.5rem 0 2rem; }
.hcmc-footer-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 24px;
  display: grid;
  /* Brand | TREATMENTS | WHY | CTA — TREATMENTS rộng hơn, CTA thu nhẹ */
  grid-template-columns: 1.5fr 1.02fr 1.36fr minmax(13.25rem, 1.7fr);
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1101px) {
  .hcmc-footer-col--cta .hcmc-ft-nap p:nth-child(4) {
    white-space: nowrap;
  }
}
@media (max-width:1100px) {
  .hcmc-footer-inner { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .hcmc-footer-col--brand { grid-column: 1 / -1; }
  .hcmc-footer-col--cta .hcmc-ft-nap p:nth-child(4) {
    white-space: normal;
  }
}
@media (max-width:600px) {
  .hcmc-footer-inner { grid-template-columns: 1fr; padding: 0 20px; gap: 2rem; }
  .hcmc-footer-main { padding: 2.5rem 0 1.5rem; }
}

/* ── 4. Brand column ────────────────────────────────────────── */
.hcmc-ft-logo { display: block; margin-bottom: 1.25rem; text-decoration: none; }
.hcmc-ft-logo img {
  max-height: 42px; width: auto;
  filter: brightness(0) invert(1);
}
.hcmc-ft-logo--text { font-size: 1.3125rem; font-weight: 800; color: #f8fafc; }

/* Tagline */
.hcmc-ft-tagline {
  color: #94a3b8; /* slate-400 */
  font-size: .9375rem; line-height: 1.5;
  margin: 0 0 .5rem;
}
.hcmc-ft-certs-inline {
  color: #64748b; /* slate-500 */
  font-size: .8125rem; font-weight: 500;
  margin: 0 0 1.25rem;
}

/* Stats */
.hcmc-ft-stats {
  display: flex; gap: 1.5rem;
  margin-bottom: 1.25rem; padding: .75rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hcmc-ft-stat { display: flex; flex-direction: column; align-items: flex-start; }
.hcmc-ft-stat-num {
  font-size: 1.625rem; font-weight: 900; line-height: 1;
  background: linear-gradient(130deg, #34d399 0%, #10b981 60%, #06b6d4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hcmc-ft-stat span:last-child {
  font-size: .6875rem; font-weight: 800; letter-spacing: .12em;
  color: #94a3b8; margin-top: 4px; text-transform: uppercase;
}

/* Stars */
.hcmc-ft-stars {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 10px;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 10px; padding: 8px 14px;
  margin-bottom: 1rem;
  white-space: nowrap;
}
.hcmc-ft-stars-rating { display: flex; align-items: center; gap: 6px; }
.hcmc-ft-stars-rating .hcmc-ft-star-symbols {
  color: #fbbf24; font-size: 1.0625rem; letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(245,158,11,.6);
}
.hcmc-ft-stars-rating .hcmc-ft-star-score {
  font-weight: 800; font-size: 1rem; color: #fde68a;
}
.hcmc-ft-stars-label {
  font-size: .8125rem; color: #cbd5e1; white-space: nowrap; font-weight: 500;
  border-left: 1px solid rgba(255,255,255,.2); padding-left: 10px;
}

/* Social buttons */
.hcmc-ft-socials { display: flex; flex-wrap: wrap; gap: .5rem; }
.hcmc-ft-soc {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 8px;
  font-size: .8125rem; font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.15);
  color: #cbd5e1; background: rgba(255,255,255,.05);
  transition: all .2s ease;
}
.hcmc-ft-soc:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  color: #f8fafc;
  transform: translateY(-2px);
}
.hcmc-ft-soc--fb { color: #93c5fd; border-color: rgba(147,197,253,.3); }
.hcmc-ft-soc--wa { color: #86efac; border-color: rgba(134,239,172,.4); }
.hcmc-ft-soc--yt { color: #fca5a5; border-color: rgba(252,165,165,.3); }
.hcmc-ft-soc--ig { color: #f9a8d4; border-color: rgba(249,168,212,.3); }
.hcmc-ft-soc--tt { color: #a5f3fc; border-color: rgba(165,243,252,.3); }

/* ── 5. Column headings ─────────────────────────────────────── */
.hcmc-ft-heading {
  font-size: .8125rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: #f8fafc; /* pure white */
  margin: 0 0 1rem; padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

/* ── 6. Link lists ──────────────────────────────────────────── */
.hcmc-ft-links { list-style: none; margin: 0 0 1rem; padding: 0; }
.hcmc-ft-links li a {
  color: #94a3b8; /* slate-400 */
  text-decoration: none; font-size: .875rem; font-weight: 500;
  padding: .35rem 0;
  display: flex; align-items: center; gap: 5px;
  transition: color .2s, gap .2s;
}
.hcmc-ft-links li a:hover { color: #f1f5f9; gap: 8px; }
.hcmc-ft-bold  { color: #cbd5e1 !important; font-weight: 700; }
.hcmc-ft-highlight {
  color: #34d399 !important; font-weight: 800;
  text-shadow: 0 0 12px rgba(52,211,153,.4);
}

/* Price anchors */
.hcmc-ft-prices { border-top: 1px solid rgba(255,255,255,.15); padding-top: .85rem; }
.hcmc-ft-prices p { margin: 0 0 .35rem; }
.hcmc-ft-prices p a { color: #cbd5e1; text-decoration: none; font-size: .875rem; transition: color .2s; }
.hcmc-ft-prices p a:hover { color: #f8fafc; }
.hcmc-ft-prices p a strong { color: #34d399; font-weight: 800; font-size: .9375rem; }
.hcmc-ft-pricelist {
  display: inline-flex; align-items: center; gap: 4px; margin-top: .6rem;
  color: #38bdf8; font-size: .875rem; font-weight: 800; text-decoration: none;
  transition: color .2s;
}
.hcmc-ft-pricelist:hover { color: #7dd3fc; }

/* Quality badge */
.hcmc-ft-quality {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 1rem;
  background: rgba(22,163,74,.12); border: 1px solid rgba(22,163,74,.35);
  border-radius: 10px; padding: 10px 14px;
}
.hcmc-ft-quality p { margin: 0; font-size: .8125rem; color: #cbd5e1; line-height: 1.4; font-weight: 500; }
.hcmc-ft-quality p strong { color: #f8fafc; font-weight: 800; }

/* ── 7. CTA column ──────────────────────────────────────────── */
.hcmc-ft-nap { font-style: normal; margin: 0 0 .85rem; }
.hcmc-ft-nap p {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 0 0 .5rem;
  font-size: .875rem; color: #cbd5e1; font-weight: 500;
}
.hcmc-ft-nap p svg { flex-shrink: 0; margin-top: 2px; color: #94a3b8; }
.hcmc-ft-nap a { color: #e2e8f0; text-decoration: none; transition: color .2s; font-weight: 600; }
.hcmc-ft-nap a:hover { color: #ffffff; }

/* Vietnam time */
.hcmc-ft-vn-time {
  display: flex; align-items: center; gap: 6px;
  font-size: .8125rem; color: #94a3b8; font-weight: 600;
  margin: 0 0 .5rem; font-style: italic;
}

/* Online/offline status */
.hcmc-ft-status {
  display: flex; align-items: center; gap: 6px;
  font-size: .8125rem; color: #cbd5e1; font-weight: 600;
  margin-bottom: .4rem;
}
.hcmc-ft-led { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hcmc-ft-led.is-open  { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.3); animation: ftPulse 2s ease-in-out infinite; }
.hcmc-ft-led.is-closed { background: #64748b; }

.hcmc-ft-wa24 { font-size: .8125rem; color: #94a3b8; margin: .3rem 0 1rem; font-weight: 500; }
.hcmc-ft-wa24 strong { color: #86efac; font-weight: 800; }

/* Primary WhatsApp CTA — gọn, ít “nặng” mắt hơn */
.hcmc-ft-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  color: #ffffff !important;
  border-radius: 10px; padding: 10px 14px;
  width: 100%; font-weight: 800; font-size: .9375rem;
  font-family: inherit; text-decoration: none !important;
  margin-bottom: .5rem; box-sizing: border-box;
  box-shadow: 0 2px 12px rgba(34,197,94,.32), 0 0 0 1px rgba(34,197,94,.35);
  letter-spacing: .01em; transition: all .2s ease;
  text-align: center;
}
.hcmc-ft-cta-btn svg { flex-shrink: 0; width: 16px; height: 16px; }
.hcmc-ft-cta-btn:hover {
  background: linear-gradient(135deg, #16a34a 0%, #166534 100%);
  color: #ffffff !important; transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(34,197,94,.4), 0 0 0 1px rgba(34,197,94,.45);
}

.hcmc-ft-price-btn {
  display: block; text-align: center;
  border: 1.5px solid rgba(255,255,255,.25); border-radius: 10px;
  padding: 12px; color: #f8fafc; font-weight: 700; font-size: .9375rem;
  text-decoration: none; transition: all .2s;
}
.hcmc-ft-price-btn:hover {
  border-color: rgba(255,255,255,.5); color: #ffffff;
  background: rgba(255,255,255,.1);
}

/* ── 8. Cert strip ──────────────────────────────────────────── */
.hcmc-ft-cert-strip {
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0 1rem;
  background: rgba(255,255,255,.03);
}
.hcmc-ft-cert-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  align-items: center; justify-content: center;
}
.hcmc-ft-cert-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9999px; padding: 6px 16px;
  font-size: .8125rem; font-weight: 700; color: #e2e8f0;
  white-space: nowrap; transition: background .2s;
}
.hcmc-ft-cert-item:hover { background: rgba(255,255,255,.15); }
.hcmc-ft-cert-note {
  text-align: center; font-size: .8125rem;
  color: #34d399; margin: .85rem 0 0; font-weight: 800;
}

/* ── 9. Dr. Cuong Author Card ───────────────────────────────── */
.hcmc-ft-doctor {
  padding: 1.75rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.hcmc-ft-doctor-inner {
  max-width: 900px; margin: 0 auto; padding: 0 24px;
}
.hcmc-ft-doctor-card {
  position: relative; border-radius: 18px; padding: 2px;
  background: linear-gradient(135deg, #10b981 0%, #f59e0b 50%, #ef4444 100%);
  box-shadow: 0 0 40px rgba(16,185,129,.2), 0 0 80px rgba(245,158,11,.1);
}
.hcmc-ft-doctor-card-inner {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px; padding: 1.5rem 2rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem;
  align-items: center;
}
@media (max-width:768px) {
  .hcmc-ft-doctor-card-inner {
    grid-template-columns: auto 1fr; grid-template-rows: auto auto;
    gap: 1.25rem; padding: 1.25rem;
  }
  .hcmc-ft-doctor-cta { grid-column: 1 / -1; }
}
@media (max-width:480px) {
  .hcmc-ft-doctor-card-inner { grid-template-columns: 1fr; text-align: center; }
  .hcmc-ft-doctor-img-wrap { justify-content: center; display: flex; }
}

.hcmc-ft-doctor-img-wrap { position: relative; flex-shrink: 0; }
.hcmc-ft-doctor-img {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  display: block; border: 4px solid transparent;
  background: linear-gradient(#1e293b, #1e293b) padding-box, linear-gradient(135deg, #10b981, #f59e0b) border-box;
  box-shadow: 0 0 0 5px rgba(16,185,129,.15), 0 8px 24px rgba(0,0,0,.5);
}
.hcmc-ft-doctor-badge {
  position: absolute; bottom: 0; right: -2px;
  background: #10b981; color: #fff; font-size: .5625rem; font-weight: 900;
  padding: 2px 5px; border-radius: 9999px; border: 2px solid #1e293b;
}

.hcmc-ft-doctor-name {
  font-size: 1.1875rem; font-weight: 900; margin: 0 0 2px;
  background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #f59e0b 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hcmc-ft-doctor-title {
  color: #94a3b8; font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .75rem;
}
.hcmc-ft-doctor-quote {
  color: #cbd5e1; font-size: .9375rem; font-style: italic;
  line-height: 1.5; margin: 0; font-weight: 500;
}
.hcmc-ft-doctor-quote::before { content: '"'; }
.hcmc-ft-doctor-quote::after  { content: '"'; }

.hcmc-ft-doctor-cta { display: flex; flex-direction: column; gap: .5rem; align-items: flex-end; }
@media (max-width:768px) { .hcmc-ft-doctor-cta { align-items: flex-start; flex-direction: row; flex-wrap: wrap; } }
.hcmc-ft-doctor-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(16,185,129,.2) 0%, rgba(245,158,11,.15) 100%);
  border: 1.5px solid rgba(16,185,129,.4);
  color: #34d399; font-size: .9375rem; font-weight: 800;
  text-decoration: none; transition: all .2s; white-space: nowrap;
}
.hcmc-ft-doctor-link:hover {
  background: linear-gradient(135deg, rgba(16,185,129,.3) 0%, rgba(245,158,11,.2) 100%);
  color: #6ee7b7; transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,185,129,.3);
}

/* ── 10. Bottom Copyright bar ───────────────────────────────── */
.hcmc-ft-bottom {
  background: #020617; /* Very dark slate, almost black */
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
}
.hcmc-ft-bottom-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .75rem;
}
.hcmc-ft-bottom-inner > p { margin: 0; font-size: .75rem; color: #94a3b8; font-weight: 500; }
.hcmc-ft-legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.hcmc-ft-legal a { color: #94a3b8; text-decoration: none; font-size: .75rem; font-weight: 600; transition: color .2s; }
.hcmc-ft-legal a:hover { color: #f8fafc; }
.hcmc-ft-payment { display: flex; gap: .75rem; font-size: .75rem; color: #94a3b8; font-weight: 600; }
.hcmc-ft-reviewed { font-size: .75rem; color: #94a3b8; margin: 0 !important; font-weight: 500; }
.hcmc-ft-reviewed strong { color: #cbd5e1; font-weight: 800; }

/* ── Mobile: cỡ chữ lớn hơn desktop một bậc nhẹ ──────────────── */
@media (max-width: 640px) {
  .hcmc-footer { font-size: 17px; }

  .hcmc-footer-announce-inner { font-size: .9375rem; }

  .hcmc-ft-tagline { font-size: 1.0625rem; }
  .hcmc-ft-certs-inline { font-size: .9375rem; }

  .hcmc-ft-stat span:last-child { font-size: .8125rem; }
  .hcmc-ft-stars-label { font-size: .9375rem; }

  .hcmc-ft-soc { font-size: .9375rem; }

  .hcmc-ft-heading { font-size: .9375rem; }
  .hcmc-ft-links li a { font-size: 1rem; }
  .hcmc-ft-prices p a { font-size: 1rem; }
  .hcmc-ft-prices p a strong { font-size: 1.0625rem; }
  .hcmc-ft-pricelist { font-size: 1rem; }

  .hcmc-ft-quality p { font-size: .9375rem; }

  .hcmc-ft-nap p { font-size: 1rem; }
  .hcmc-ft-vn-time { font-size: .9375rem; }
  .hcmc-ft-status { font-size: .9375rem; }
  .hcmc-ft-wa24 { font-size: .9375rem; }

  .hcmc-ft-cta-btn { font-size: 1.0625rem; }
  .hcmc-ft-price-btn { font-size: 1.0625rem; }

  .hcmc-ft-cert-item { font-size: .9375rem; }
  .hcmc-ft-cert-note { font-size: .9375rem; }

  .hcmc-ft-doctor-title { font-size: .875rem; }
  .hcmc-ft-doctor-quote { font-size: 1.0625rem; }
  .hcmc-ft-doctor-link { font-size: 1.0625rem; }

  .hcmc-ft-bottom-inner > p,
  .hcmc-ft-legal a,
  .hcmc-ft-payment,
  .hcmc-ft-reviewed { font-size: .875rem; }
}
