/* ============================================================
   RealDomainSearch — Footer v2
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 50%, var(--accent) 100%);
}

/* Decorative circles */
.site-footer::after {
  content: '';
  position: absolute;
  bottom: -120px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,168,.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-top { padding: 64px 0 40px; position: relative; z-index: 1; }

.footer-widget { margin-bottom: var(--sp-lg); }
.widget-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: var(--font-body);
  position: relative;
  padding-bottom: 10px;
}
.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--accent);
  border-radius: var(--r-full);
}
.widget-content { font-size: .9rem; line-height: 1.7; }

/* Logo in footer */
.logo-text { font-size: 1.4rem; color: var(--white); }
.logo-text .domain-part { color: var(--accent); }
.about-widget p { color: rgba(255,255,255,.6); margin-bottom: 1rem; }

/* Social links */
.social-links { display: flex; gap: 10px; margin-top: 1rem; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  transition: all var(--t-fast);
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* Footer links */
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  display: flex; align-items: center; gap: 6px;
  transition: all var(--t-fast);
}
.footer-links a::before {
  content: "›";
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

/* Contact info */
.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li {
  margin-bottom: 12px;
  color: rgba(255,255,255,.6);
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem;
}
.contact-info li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

/* Newsletter */
.newsletter { margin-top: 1rem; }
.newsletter h4 { color: var(--white); font-size: .95rem; margin-bottom: .75rem; font-family: var(--font-body); font-weight: 600; }
.newsletter-form { display: flex; gap: 0; border-radius: var(--r-md); overflow: hidden; }
.newsletter-form input[type="email"] {
  flex: 1; height: 44px; padding: 0 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-right: none;
  color: var(--white); font-size: .9rem;
  border-radius: var(--r-md) 0 0 var(--r-md);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { outline: none; background: rgba(255,255,255,.12); }
.newsletter-form button {
  height: 44px; padding: 0 18px;
  background: var(--accent); color: var(--white);
  border: none; font-weight: 600; font-size: .88rem;
  cursor: pointer; transition: background var(--t-fast);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.newsletter-form button:hover { background: var(--accent-dark); }

/* Footer bottom */
.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
  position: relative; z-index: 1;
}
.copyright { color: rgba(255,255,255,.4); margin: 0; }

/* Affiliate disclosure bar */
.footer-disclosure {
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 10px 0;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  position: relative; z-index: 1;
}

@media (max-width: 991px) {
  .footer-top { padding: 48px 0 24px; }
}
@media (max-width: 767px) {
  .footer-bottom { text-align: center; }
  .copyright { margin-bottom: 8px; }
}

/* Footer column fix — force four columns on desktop */
@media (min-width: 992px) {
  .footer-top .row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: start !important;
  }
  .footer-top .row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .footer-widget { margin-bottom: 0 !important; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .footer-top .row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 26px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .footer-top .row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Footer newsletter fit fix for 4-column desktop footer */
@media (min-width: 992px) {
  .footer-top .newsletter-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    overflow: visible !important;
    max-width: 100% !important;
  }
  .footer-top .newsletter-form input[type="email"] {
    width: 100% !important;
    min-width: 0 !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    border-radius: 10px !important;
  }
  .footer-top .newsletter-form button {
    width: 100% !important;
    border-radius: 10px !important;
    padding: 0 12px !important;
  }
}

