/* ==========================================================================
   Site footer — dark shell, contact CTAs, link grid, trust pills, fraud
   notice, bottom bar. Pattu band sits at the very top (rendered by the
   template part). Relies on flex/grid wrapping + real breakpoints below.
   ========================================================================== */

.hp-footer {
  /* Footer-local literals that have no matching design token. */
  --hp-footer-bg: #07131B;        /* darker than --hp-ink */
  --hp-footer-body: #AFBDC5;      /* body text on dark */
  --hp-footer-muted: #8A9AA4;     /* muted / GSTIN / bottom bar */
  --hp-footer-link: var(--hp-divider);   /* #D5DFE4 idle link */
  --hp-footer-line: rgba(255, 255, 255, .1);
  --hp-footer-line-strong: rgba(255, 255, 255, .16);

  background: var(--hp-footer-bg);
  color: var(--hp-footer-body);
  font-family: var(--hp-font-ui);
}

.hp-footer a { text-decoration: none; }
.hp-footer a:hover { text-decoration: none; }

.hp-footer__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) clamp(18px, 3vw, 32px) 28px;
}

/* ---- Top row: headline block + contact CTAs ---- */
.hp-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--hp-footer-line);
}
.hp-footer__intro { max-width: 620px; }
.hp-footer__eyebrow {
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hp-saffron);
  font-weight: 600;
  margin-bottom: 14px;
}
.hp-footer__headline {
  font-family: var(--hp-font-display);
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--hp-white);
  margin: 0;
}

.hp-footer__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hp-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  transition: background var(--hp-t-fast), border-color var(--hp-t-fast), color var(--hp-t-fast);
}
.hp-footer__btn .hp-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.hp-footer__btn--wa {
  background: var(--hp-whatsapp);
  color: var(--hp-whatsapp-ink);
  font-weight: 700;
}
.hp-footer__btn--wa:hover { background: #3FE07B; color: var(--hp-whatsapp-ink); }
.hp-footer__btn--tel {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  color: var(--hp-white);
  font-weight: 600;
}
.hp-footer__btn--tel:hover { background: rgba(255, 255, 255, .16); color: var(--hp-white); }

/* ---- Link grid ---- */
.hp-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 34px;
  padding: 44px 0;
}
.hp-footer__col { min-width: 0; }
.hp-footer__logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}
.hp-footer__address {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.hp-footer__gstin {
  font-size: 12.5px;
  color: var(--hp-footer-muted);
}
.hp-footer__col-title {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hp-saffron);
  font-weight: 600;
  margin-bottom: 16px;
}
.hp-footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
}
.hp-footer__links a {
  color: var(--hp-footer-link);
  transition: color var(--hp-t-fast);
}
.hp-footer__links a:hover { color: var(--hp-saffron); }

/* ---- Trust row ---- */
.hp-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-bottom: 26px;
}
.hp-footer__google {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--hp-white);
  color: var(--hp-ink);
  padding: 9px 14px;
  border-radius: 10px;
}
.hp-footer__google svg { width: 20px; height: 20px; flex: 0 0 auto; }
.hp-footer__rating { font-size: 15px; font-weight: 700; }
.hp-footer__stars { color: #E8A200; letter-spacing: 1px; font-size: 13px; }
.hp-footer__google-label { font-size: 12.5px; color: var(--hp-text-2); }
.hp-footer__pill {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--hp-footer-line-strong);
  font-size: 12.5px;
  color: var(--hp-footer-link);
}

/* ---- Fraud / safety notice ---- */
.hp-footer__fraud {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 159, 28, .09);
  border: 1px solid rgba(255, 159, 28, .3);
  font-size: 13.5px;
  line-height: 1.6;
  color: #E6D9C3;
}
.hp-footer__fraud strong { color: var(--hp-saffron-ll); }

/* ---- Bottom bar ---- */
.hp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--hp-footer-line);
  font-size: 12.5px;
  color: var(--hp-footer-muted);
}
.hp-footer__legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hp-footer__legal a {
  color: var(--hp-footer-body);
  transition: color var(--hp-t-fast);
}
.hp-footer__legal a:hover { color: var(--hp-saffron); }

/* ==========================================================================
   Responsive — the prototype shipped no breakpoints; add real ones so the
   footer degrades cleanly and keeps >=44px tap targets on phones.
   ========================================================================== */

/* Tablet / small laptop: let the CTA group drop under the headline. */
@media (max-width: 820px) {
  .hp-footer__top { align-items: flex-start; }
}

/* Phone: stack the contact CTAs full-width, enlarge link tap targets,
   stack the bottom bar. */
@media (max-width: 560px) {
  .hp-footer__cta { width: 100%; }
  .hp-footer__btn { flex: 1 1 100%; }
  .hp-footer__grid { gap: 26px; padding: 36px 0; }
  .hp-footer__links { gap: 4px; }
  .hp-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px; /* comfortable touch target */
  }
  .hp-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* Very narrow (~360px): trim side padding so nothing scrolls horizontally. */
@media (max-width: 380px) {
  .hp-footer__inner { padding-left: 16px; padding-right: 16px; }
  .hp-footer__trust { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-footer__btn,
  .hp-footer__links a,
  .hp-footer__legal a { transition: none; }
}

/* ==== Responsive audit fix ==== */
@media (max-width: 560px) { .hp-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; } }
