/*
 * Shared footer styles used on every page (via footer.php), extracted from
 * cssnewhome/style.css - same approach as header-shared.css: only the rules
 * this footer's own classes need, not the whole homepage stylesheet (which
 * also carries global resets that changed fonts/spacing on other pages).
 *
 * The footer's own layout (container, grid, spacing) is plain CSS here too,
 * NOT Tailwind utility classes - generic Tailwind class names like `.grid`,
 * `.container` or `.flex` can collide with same-named classes other pages
 * already use for something else, since Tailwind is loaded site-wide (from
 * header.php). Custom, footer-prefixed classes avoid that entirely.
 *
 * The homepage-mobile template (page-homepagemobile.php) uses a completely
 * separate, simpler ".mobile-footer" markup/design (not just a CSS reflow
 * of the desktop footer), same as its header did - so footer.php shows one
 * or the other at the same 1024px breakpoint used for the header.
 */

@media (max-width: 1023.98px) {
  .footer-section {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .mobile-footer {
    display: none !important;
  }
}
#gg_sw_yxmhq-btn {
text-align:center!important;
}

.footer-section {
  background: linear-gradient(to bottom, #fff 0, #f8fafc 50%, #f1f5f9 100%);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .1) 50%, transparent 100%);
}

.footer-main {
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 1.25rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .footer-container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-container {
    padding: 0 4rem;
  }
}

@media (min-width: 1280px) {
  .footer-container {
    padding: 0 6rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 3rem;
  }

  .footer-col-brand,
  .footer-col-wide {
    grid-column: span 2 / span 2;
  }
}

.footer-link-group {
  margin-bottom: 1rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin: 0 auto;
  margin-bottom: 1.25rem;
  display: flex;
}

.partner-badges-section {
  margin-top: 2rem;
}

.footer-trusted-label {
  font-size: .75rem!important;
  font-weight: 500;
  color: #64748b!important;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: center;
  margin-bottom: 1rem;
}

.footer-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.footer-tagline {
  color: #64748b!important;
  font-size: .9375rem!important;
  line-height: 1.6;
  margin-bottom: 30px;
}

.footer-newsletter {
  margin-top: 30px;
}

.newsletter-title {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .875rem;
  color: #1e293b;
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 350px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: .9375rem;
  color: #1e293b;
  background: #fff;
  transition: .3s;
  outline: 0;
}

.newsletter-input:focus {
  border-color: #034737;
  box-shadow: 0 0 0 3px rgba(3, 71, 55, .1);
}

.newsletter-input::placeholder {
  color: #94a3b8;
}

.newsletter-btn {
  align-items: center;
  display: flex;
  justify-content: center;
  transition: .3s;
  padding: 12px 20px;
  background: #034737;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.125rem;
}

.newsletter-btn:hover {
  background: #022f28;
  transform: translateX(2px);
}

.footer-heading {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .875rem;
  color: #1e293b;
  margin-bottom: 20px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  display: inline-block;
  color: #64748b;
  letter-spacing: -.01em;
  font-size: .9375rem;
  text-decoration: none;
  transition: .2s;
  position: relative;
}

.footer-links a:hover {
  color: #034737;
  transform: translateX(4px);
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #034737;
  transition: width .3s;
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-bottom {
  padding: 30px 0;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-social-link {
  align-items: center;
  display: flex;
  justify-content: center;
  transition: .3s;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 1.125rem;
}

.footer-social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
}

.footer-social-whatsapp {
  background: #25d366;
}

.footer-social-whatsapp:hover {
  background: #20ba5a;
}

.footer-social-instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.footer-social-instagram:hover {
  background: linear-gradient(45deg, #e07522, #c91f6e, #7129a0, #4850c7);
}

.footer-social-linkedin {
  background: #0a66c2;
}

.footer-social-linkedin:hover {
  background: #084f94;
}

.footer-social-twitter {
  background: #000;
}

.footer-social-twitter:hover {
  background: #1a1a1a;
}

.footer-social-facebook {
  background: #1877f2;
}

.footer-social-facebook:hover {
  background: #145dbf;
}

.footer-social-youtube {
  background: red;
}

.footer-social-youtube:hover {
  background: #c00;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: #64748b;
  letter-spacing: -.01em;
  font-size: .875rem;
  text-decoration: none;
  transition: color .2s;
}

.footer-legal a:hover {
  color: #034737;
}

.footer-separator {
  color: #cbd5e1;
  font-size: .875rem;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  font-size: .875rem!important;
  color: #94a3b8!important;
  margin: 0;
  letter-spacing: -.01em;
}

.badge-inner.metapartner {
  width: 50%;
  margin: 0 auto;
  border: 1px solid #708090;
  border-radius: 30px;
  padding: 6px;
}
.partner-badges {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* G2 award badges (High Performer / Easiest Admin / Best Support) - the
   source images have no fixed size, so keep them consistent with each
   other and with the Meta Partner pill next to them. */
.badge-inner:not(.metapartner) .badge-image {
    height: auto;
    width: 90px;
}

@media (max-width: 1024px) {
  .footer-section {
    padding: 60px 0 0;
  }

  .footer-main {
    padding-bottom: 50px;
  }

  .footer-brand {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 50px 0 0;
  }

  .footer-main {
    padding-bottom: 40px;
  }

  .footer-logo {
    height: 36px;
  }

  .footer-tagline {
    font-size: .875rem;
  }

  .footer-column {
    margin-bottom: 30px;
  }

  .footer-column:last-child {
    margin-bottom: 0;
  }

  .footer-bottom-content {
    gap: 20px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }

  .footer-separator {
    display: none;
  }

  .newsletter-form {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .footer-section {
    padding: 40px 0 0;
  }

  .footer-main {
    padding-bottom: 30px;
  }

  .footer-social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .newsletter-input {
    font-size: .875rem;
    padding: 10px 14px;
  }

  .newsletter-btn {
    padding: 10px 16px;
    font-size: 1rem;
  }
}

/* ---------- Mobile footer (homepage-mobile look, below 1024px) ---------- */

.mobile-footer {
  background: linear-gradient(to bottom, #fff 0, #f8fafc 50%, #f1f5f9 100%);
  padding: 60px 20px 0;
  position: relative;
  overflow: hidden;
}

.mobile-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .1) 50%, transparent 100%);
}

.mobile-footer-brand {
  margin-bottom: 32px;
  text-align: center;
}

.mobile-footer-brand img {
  width: auto;
  
  display: block;
}

.mobile-footer-brand p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: -.01em;
}

.mobile-footer-brand .badgeparent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.mobile-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.mobile-footer-column h4 {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
  font-size: 12px;
  color: #1e293b;
}

.mobile-footer-column a {
  display: block;
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 10px;
  transition: .2s;
  position: relative;
  letter-spacing: -.01em;
}

.mobile-footer-column a:active {
  color: #034737;
  transform: translateX(4px);
}

.mobile-footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.mobile-social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  transition: .3s;
}

.mobile-social-link:active {
  transform: scale(.95);
}

.mobile-social-link.whatsapp {
  background: #25d366;
}

.mobile-social-link.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.mobile-social-link.linkedin {
  background: #0a66c2;
}

.mobile-social-link.youtube {
  background: red;
}

.mobile-footer-bottom {
  text-align: center;
  padding: 30px 0;
}

.mobile-footer-bottom p {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}

.mobile-footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.mobile-footer-legal a {
  color: #64748b;
  text-decoration: none;
  transition: color .2s;
  letter-spacing: -.01em;
}

.mobile-footer-legal a:active {
  color: #034737;
}

.mobile-footer-legal span {
  color: #cbd5e1;
}

img.logo-imagefooter {
  width: 40%;
}

/* Same G2/Meta badge sizing as the desktop footer */
.mobile-footer .badge-inner:not(.metapartner) .badge-image {
  height: 70px;
  width: auto;
}
.mobile-getgabs-footer {
    display: flex;
    justify-content: center;
}