/**
 * Footer — BromoHub design
 * Prefix: footer-v2-*
 */

.footer-v2-wrap {
  background: #fff;
  padding: 64px 1rem 40px;
}

@media (min-width: 1024px) {
  .footer-v2-wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.footer-v2-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-v2-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
    gap: 48px;
  }
}

/* Brand column */
.footer-v2-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-v2-logo-name {
  font-size: 17px;
  font-weight: 600;
  color: #0d1117;
}

.footer-v2-desc {
  max-width: 280px;
  font-size: 14px;
  line-height: 1.65;
  color: #8892a4;
}

/* Column headings */
.footer-v2-col-head {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #0d1117;
}

/* Quick links */
.footer-v2-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-v2-links li {
  margin-bottom: 14px;
}

.footer-v2-links li:last-child {
  margin-bottom: 0;
}

.footer-v2-links a {
  font-size: 14px;
  color: #8892a4;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-v2-links a:hover {
  color: #0d1117;
}

/* Contact info */
.footer-v2-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-v2-contact li {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #8892a4;
}

.footer-v2-contact li:last-child {
  margin-bottom: 0;
}

.footer-v2-contact a {
  color: #8892a4;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-v2-contact a:hover {
  color: #0d1117;
}

/* Newsletter */
.footer-v2-newsletter-label {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #0d1117;
}

.footer-v2-newsletter {
  display: flex;
  align-items: stretch;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.footer-v2-newsletter input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 13px 18px;
  font-size: 13px;
  font-family: inherit;
  color: #0d1117;
  background: transparent;
  outline: none;
}

.footer-v2-newsletter input::placeholder {
  color: #8892a4;
}

.footer-v2-newsletter button {
  flex-shrink: 0;
  margin: 4px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: #0d1117;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.footer-v2-newsletter button:hover {
  background: #1a1a1a;
}

/* Social icons */
.footer-v2-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-v2-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #8892a4;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.footer-v2-social:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #0d1117;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.footer-v2-social svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Copyright */
.footer-v2-copy {
  margin-top: 48px;
  text-align: center;
  font-size: 13px;
  color: #8892a4;
}

@media (max-width: 767px) {
  .footer-v2-wrap {
    padding-top: 48px;
    padding-bottom: 32px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-v2-newsletter {
    flex-direction: column;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.55);
  }

  .footer-v2-newsletter button {
    margin: 0 4px 4px;
    width: calc(100% - 8px);
    text-align: center;
  }
}
