/* 
 * Global Footer Styles 
 */

.hp-footer {
  background-color: var(--h-color-surface);
  border-top: 1px solid var(--h-color-border-subtle);
  padding: 60px 0 0;
  margin-top: 60px;
  font-family: var(--h-font-family);
  color: var(--h-color-text-secondary);
}

.hp-footer a:not(.hp-btn) {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hp-footer a:not(.hp-btn):hover {
  color: var(--h-color-primary);
}

/* CTA Box */
.hp-footer__cta {
  background: #f8fafc;
  border: none;
  border-radius: 12px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 80px;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.hp-footer__cta-icon-wrapper {
  background: #ffffff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
  color: var(--h-color-primary);
}

.hp-footer__cta-content {
  flex: 1;
}

.hp-footer__cta-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.hp-footer__cta-line {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--h-color-primary);
}

.hp-footer__cta-heading {
  font-size: 26px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.2;
}

.hp-footer__cta-subheading {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}



/* Main Grid */
.hp-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Brand Column */
.hp-footer__brand-col {
  padding-right: 20px;
}

.hp-footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.hp-footer__logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.hp-footer__brand-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hp-footer__brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--h-color-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hp-verified-badge {
  color: var(--h-color-primary);
  font-size: 16px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hp-footer__brand-subtext {
  font-size: 13px;
  font-weight: 500;
  color: var(--h-color-text-secondary); /* Darker than muted */
  line-height: 1.4;
}

.hp-footer__desc {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px;
  color: var(--h-color-text-secondary);
}

.hp-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hp-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--h-color-text-secondary);
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.hp-footer__social .dashicons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  line-height: 1;
}

.hp-footer__social:hover {
  background: var(--h-color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.hp-footer__social:hover svg {
  color: #ffffff !important;
}

/* Navigation Columns */
.hp-footer__col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--h-color-text);
  margin: 0 0 24px;
}

.hp-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hp-footer__nav-list li {
  margin: 0;
  padding: 0;
}

.hp-footer__nav-list li a {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--h-color-text-secondary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hp-footer__nav-list li a:hover {
  color: var(--h-color-primary);
  transform: translateX(3px);
}

.hp-footer__svg-icon {
  width: 16px;
  height: 16px;
  color: #64748b;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hp-footer__svg-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Newsletter Column */
.hp-footer__newsletter-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 16px;
}

.hp-footer__newsletter-form {
  margin-bottom: 12px;
}

.hp-footer__input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.hp-footer__input-icon {
  position: absolute;
  left: 12px;
  display: flex;
  align-items: center;
  color: #94a3b8;
}

.hp-footer__input {
  width: 100%;
  padding: 10px 40px 10px 36px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  background: #ffffff !important;
  box-shadow: none !important;
  transition: border-color 0.2s;
}

.hp-footer__input:focus {
  border-color: #3b82f6;
}

.hp-footer__submit-btn {
  position: absolute;
  right: 4px;
  background: var(--h-color-primary) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0 !important;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hp-footer__submit-btn:hover {
  filter: brightness(0.9);
}

.hp-footer__newsletter-note {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.hp-footer__newsletter-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

/* Bottom Bar */
.hp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--h-color-border-subtle);
  font-size: 12px;
  color: #94a3b8;
}

.hp-footer__badges {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
}

.hp-footer__badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hp-footer__badge-sep {
  color: #cbd5e1;
}

.hp-footer__legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-footer__separator {
  color: var(--h-color-border);
}


/* Responsive Adjustments */
@media (max-width: 991px) {
  .hp-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .hp-footer__brand-col {
    grid-column: span 2;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .hp-footer__cta {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .hp-footer__cta-badge {
    justify-content: center;
  }
  .hp-footer__cta-badge::after {
    display: none;
  }
  .hp-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hp-footer__brand-col {
    grid-column: span 1;
  }
  .hp-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
