/* Final public landing-page polish. Loaded last to tame legacy template CSS. */

:root {
  --landing-ink: #13231f;
  --landing-green: #115b45;
  --landing-green-dark: #082f28;
  --landing-amber: #e86d1f;
  --landing-gold: #f6b73c;
  --landing-cream: #fbf7ee;
  --landing-muted: #64756e;
  --landing-line: rgba(19, 35, 31, 0.12);
}

body {
  background: #ffffff;
}

#mainNav {
  background: rgba(8, 47, 40, 0.98) !important;
  border-bottom: 1px solid rgba(246, 183, 60, 0.28);
  box-shadow: 0 10px 28px rgba(8, 47, 40, 0.2);
}

#mainNav .homelander-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(92px, 12vw, 138px);
  height: clamp(68px, 8vw, 92px);
  padding: clamp(0.38rem, 1vw, 0.58rem);
  color: #ffffff !important;
  text-decoration: none;
  text-transform: none;
  border: 1px solid rgba(246, 183, 60, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(8, 47, 40, 0.42);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#mainNav .homelander-logo:hover,
#mainNav .homelander-logo:focus {
  transform: translateY(-1px);
  border-color: rgba(246, 183, 60, 0.55);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(8, 47, 40, 0.54);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

#mainNav .homelander-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
  color: var(--landing-gold) !important;
}

.brand-kicker {
  color: var(--landing-amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-kicker::before {
  background: currentColor;
}

.btn-primary,
.btn-success,
.btn-secondary,
.site-btn {
  background: var(--landing-green) !important;
  border-color: var(--landing-green) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 800;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.site-btn:hover,
.site-btn:focus {
  background: var(--landing-amber) !important;
  border-color: var(--landing-amber) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(232, 109, 31, 0.18) !important;
}

.badge.bg-success,
.badge.bg-primary {
  background: var(--landing-amber) !important;
  color: #ffffff !important;
}

#showcase.landing-hero {
  display: flex;
  align-items: center;
  min-height: 88vh !important;
  padding: 7rem 0 4rem;
  background-position: center !important;
  position: relative;
}

#showcase.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8, 47, 40, 0.92), rgba(17, 91, 69, 0.76) 48%, rgba(19, 35, 31, 0.48));
  z-index: 0;
}

#showcase.landing-hero > .container {
  position: relative;
  z-index: 1;
}

#showcase .home-search {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 !important;
}

#showcase .overlay {
  position: relative;
  width: 100%;
  min-height: auto;
  padding: clamp(1.5rem, 4vw, 3rem) !important;
  background: rgba(8, 47, 40, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
}

#showcase h1 {
  max-width: 830px;
  margin: 0 auto 1rem;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.05;
}

#showcase p.lead {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.86);
}

#showcase .search {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

#showcase .form-control {
  min-height: 48px;
  border: 1px solid rgba(19, 35, 31, 0.12);
  border-radius: 7px;
}

.landing-hero__proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.landing-hero__proof span {
  padding: 0.55rem 0.85rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.landing-hero__proof strong {
  color: var(--landing-gold);
}

.landing-section-heading {
  max-width: 760px;
  margin: 0 auto 2.35rem;
  text-align: center;
}

.landing-section-heading h2 {
  color: var(--landing-ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
}

.landing-section-heading p {
  color: var(--landing-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.landing-section-heading--dark h2,
.landing-section-heading--dark p {
  color: #ffffff;
}

#listings {
  background: var(--landing-cream) !important;
  animation: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#listings::before {
  content: none !important;
}

#listings h2.text-success {
  color: var(--landing-green-dark) !important;
  font-weight: 800;
}

.listing-preview {
  border: 1px solid var(--landing-line) !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(19, 35, 31, 0.08) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(19, 35, 31, 0.14) !important;
}

.listing-preview .card-img-top {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.listing-empty-state {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--landing-muted);
  text-align: center;
  background: #ffffff;
  border: 1px dashed rgba(17, 91, 69, 0.26);
  border-radius: 8px;
}

.listing-empty-state i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: var(--landing-green);
  border-radius: 50%;
}

.listing-empty-state h3 {
  margin: 0;
  color: var(--landing-green-dark);
  font-size: 1.2rem;
  font-weight: 850;
}

.listing-empty-state p {
  max-width: 560px;
  margin: 0;
}

.listing-empty-state .btn {
  border-radius: 999px;
  font-weight: 800;
}

.landing-verifier-card {
  padding: clamp(1.25rem, 4vw, 2.35rem);
  background: #ffffff;
  border: 1px solid rgba(232, 109, 31, 0.22);
  border-left: 6px solid var(--landing-amber);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(19, 35, 31, 0.1);
}

#services .overlay {
  background: linear-gradient(135deg, rgba(8, 47, 40, 0.94), rgba(19, 35, 31, 0.88)) !important;
  opacity: 1 !important;
}

.service-card {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

.service-card:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22) !important;
}

.glowing-img {
  border-color: rgba(246, 183, 60, 0.75) !important;
  box-shadow: 0 0 0 5px rgba(246, 183, 60, 0.12) !important;
}

#testimonials {
  background: var(--landing-green-dark) !important;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px !important;
  box-shadow: none !important;
}

#why-choose-us i {
  color: var(--landing-amber) !important;
}

.brand-cta {
  padding: clamp(3rem, 7vw, 4.5rem) 0 !important;
  background: linear-gradient(135deg, var(--landing-green-dark), var(--landing-green)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  animation: none !important;
}

.brand-cta__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.brand-cta h2 {
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.brand-cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
}

.brand-btn {
  border-radius: 8px;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  font-weight: 800;
}

.brand-btn--light {
  color: var(--landing-green-dark);
  background: #ffffff;
}

.brand-btn--outline {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.brand-footer {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5rem) 0 0 !important;
  background: #0d2d28 !important;
  color: #ffffff !important;
  border-top: 5px solid var(--landing-amber) !important;
  border-radius: 0 !important;
  animation: none !important;
}

.brand-footer::before {
  content: none !important;
}

.brand-footer .footer-warp {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px !important;
  margin: 0 auto;
  padding: 0 !important;
}

.brand-footer__grid {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.25fr) minmax(160px, 0.7fr) minmax(180px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.brand-footer__wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  color: #ffffff !important;
  font-size: 1.45rem !important;
  font-weight: 900;
  text-decoration: none;
}

.brand-footer .brand-footer__wordmark {
  color: #ffffff !important;
  font-size: 1.45rem !important;
}

.brand-footer__symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff !important;
  background: var(--landing-amber);
  border-radius: 8px;
}

.brand-footer p,
.brand-footer li,
.brand-footer span,
.brand-footer a {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.96rem;
}

.brand-footer h4 {
  margin-bottom: 1rem;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 850;
}

.brand-footer ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.brand-footer li {
  margin: 0 !important;
}

.brand-footer a {
  text-decoration: none;
}

.brand-footer a:hover,
.brand-footer a:focus {
  color: var(--landing-gold) !important;
}

.brand-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.brand-footer__badges span {
  padding: 0.38rem 0.65rem;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.82rem;
}

.brand-footer__contact {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.brand-footer__contact i {
  width: 18px;
  color: var(--landing-gold);
}

.brand-footer__newsletter form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.brand-footer__newsletter input {
  width: 100% !important;
  min-height: 46px;
  padding: 0 0.95rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px !important;
}

.brand-footer__newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.brand-footer__newsletter .site-btn {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 1rem;
  background: var(--landing-amber) !important;
  border-color: var(--landing-amber) !important;
}

.brand-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.brand-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.brand-footer__socials a:hover {
  background: var(--landing-amber);
}

.brand-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.25rem, 5vw, 3.25rem) !important;
  padding: 1.1rem 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.brand-footer .footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-footer .footer-bottom {
  background: transparent !important;
}

@media (max-width: 991px) {
  .brand-cta__content,
  .brand-footer__bottom {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .brand-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #listings[data-aos],
  #verifier-network[data-aos],
  #services[data-aos],
  #testimonials[data-aos],
  #why-choose-us[data-aos],
  #testimonials [data-aos],
  #why-choose-us [data-aos],
  .brand-cta[data-aos],
  .brand-footer[data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  #testimonials,
  #why-choose-us {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: auto !important;
    padding: 3rem 0 !important;
  }

  #testimonialCarousel .carousel-item.active .d-none.d-lg-block {
    display: block !important;
  }

  #why-choose-us .row {
    row-gap: 1.5rem;
  }

  #showcase.landing-hero {
    min-height: auto !important;
    padding: 4.25rem 0 2.5rem;
  }

  #showcase .overlay,
  .landing-verifier-card {
    border-radius: 0;
  }

  .landing-hero__proof {
    flex-direction: column;
  }

  .landing-hero__proof span {
    justify-content: center;
  }

  #mainNav .homelander-logo {
    width: 84px;
    height: 62px;
  }

  .brand-footer__grid,
  .brand-footer__newsletter form {
    grid-template-columns: 1fr;
  }

  .brand-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
