/* ============================================================
   enhance.css — Visual polish layer for 5MinutesLoan.com
   Loads after inline styles; uses cascade to refine, not replace.
   ============================================================ */

/* ---- Smooth scroll (also set inline but ensure it's here) ---- */
html {
  scroll-behavior: smooth;
}

/* ---- Anchor target offset for fixed top bar ---- */
#leadForm, .lead-form-card {
  scroll-margin-top: 80px;
}

/* ---- Orange top accent border ---- */
body::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #FF8800 0%, #FF9A26 50%, #FF8800 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}

/* ---- Header refinement ---- */
header {
  background: #ffffff;
  border-bottom: 1px solid #e9e8e6;
  padding: 22px 0;
  background-image: linear-gradient(180deg, #ffffff 0%, #fdfcfb 100%);
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: linear-gradient(135deg, #FF8800 0%, #FF9A26 100%);
  padding: 8px 0;
}

.trust-bar__items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-bar__items span {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Lato", Helvetica, sans-serif;
}

@media (max-width: 480px) {
  .trust-bar__items { gap: 12px; }
  .trust-bar__items span { font-size: 11px; }
}

/* ---- Hero section overlay improvement ---- */
section[aria-label="Homepage Hero"] {
  background-color: #1a1008;
}

/* ---- Stat badge ---- */
.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FFF9EB, #FFEDC2);
  border: 1px solid #E8A961;
  color: #AB4700;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ---- Card elevated utility ---- */
.card-elevated {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

/* ---- Improved section padding rhythm ---- */
section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  section {
    padding: 88px 0;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 108px 0;
  }
}

/* ---- Footer refinement ---- */
footer {
  background-color: #e8e7e3;
}

.footer-columns {
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-columns {
    gap: 50px;
  }
}

/* ---- Mobile touch targets (exclude hamburger button) ---- */
@media (max-width: 767px) {
  button:not(.mobile-nav-toggle),
  .btn,
  .primary-nav li a,
  .footer-menu li a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav li:last-of-type a {
    min-height: 44px;
  }

  /* Ensure hamburger stays as block with correct sizing */
  .mobile-nav-toggle {
    display: block !important;
    width: 2rem !important;
    aspect-ratio: 1 !important;
    min-height: unset !important;
  }
}

/* ---- Find Cash Loans CTA section ---- */
section[aria-label="Find Cash Loans"] {
  background: linear-gradient(135deg, #FF8800 0%, #e05e00 60%, #c04800 100%);
}

/* ---- FAQ section subtle improvement ---- */
section[aria-label="FAQ Section"] {
  background-color: #f4f3ef;
}

/* ---- Why Us section bottom padding fix ---- */
section[aria-label="Why 5MinutesLoan.com"] {
  padding-bottom: 0;
}

/* ---- How It Works icon boxes ---- */
.hiw-icon-box,
.why-us-icon-box {
  padding: 16px;
  border-radius: 12px;
  transition: background 250ms ease;
}

.hiw-icon-box:hover,
.why-us-icon-box:hover {
  background: #fafaf8;
}

/* ---- Lead form card shadow boost ---- */
.lead-form-card {
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
}

/* ---- CTA section button ---- */
.call-to-action__btn-wrapper .btn {
  min-width: 180px;
}

/* ---- Accordion border radius ---- */
.faq-accordion-element {
  border-radius: 8px;
  overflow: hidden;
}

/* ---- Footer disclosure text ---- */
.footer-disclosure {
  border-top: 1px solid #cfceca;
  padding-top: 40px;
}

/* ---- Copyright wrapper ---- */
.copyright-wrapper {
  border-top-color: #bcbbb5;
}
