/* Tradedly Modern UI Theme (Apple/Google-inspired)
   Clean, uniform UI across the whole site.
   Works with existing Bootstrap markup. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-2:#f6f8fb;
  --text:#0b1220;
  --muted:#516072;
  --border:#e6e9ef;
  /* Conversion-optimised: calm trust blue */
  --primary:#2563EB;
  --primary-2:#1D4ED8;
  /* Accent colours for trust signals */
  --gold:#D4A72C;
  --green:#16A34A;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --shadow2:0 2px 10px rgba(0,0,0,.06);
  --radius:18px;
}

/* Homepage "Why Choose" cards */
.why-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px 18px;
  box-shadow:var(--shadow2);
}
.why-icon{
  width:54px;
  height:54px;
  border-radius:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  background:var(--surface-2);
  border:1px solid var(--border);
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}
.why-gold{color:var(--gold) !important;}
.text-success{color:var(--green) !important;}

html,body{height:100%;}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* Links */
a{color:var(--primary);text-decoration:none;}
a:hover{text-decoration:none;opacity:.9;}

/* Smooth micro-interactions */
.btn, .card, .faq-item, a, .form-control, .form-select{
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease;
}

.btn:hover{transform:translateY(-1px);} 
.card:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(0,0,0,.10);} 
.faq-item:hover{box-shadow:0 10px 30px rgba(0,0,0,.08);} 

/* Make any legacy yellow icons match the brand accent */
.text-warning{color:var(--primary) !important;}
.bg-warning{background:var(--primary) !important;}

/* Containers */
.container{max-width:1120px;}

/* Navbar */
.navbar{
  background:rgba(255,255,255,.9) !important;
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--border);
}
.navbar .navbar-brand{
  font-weight:700;
  letter-spacing:-0.02em;
}
.navbar .nav-link{color:var(--muted) !important;font-weight:500;}
.navbar .nav-link:hover{color:var(--text) !important;text-decoration:none;}

/* HERO */
.hero{
  background:linear-gradient(180deg,#ffffff 0%, #f6f8fb 100%);
  padding:84px 0 56px;
  text-align:center;
}
.hero h1{
  font-size:clamp(2rem, 3vw, 3rem);
  line-height:1.12;
  letter-spacing:-0.04em;
  margin:0 0 14px;
}
.hero p{
  max-width:760px;
  margin:0 auto 22px;
  color:var(--muted);
  font-size:1.1rem;
}

/* Buttons */
.btn{border-radius:999px;font-weight:600;padding:.75rem 1.1rem;}
.btn-primary{
  background:var(--primary);
  border-color:var(--primary);
}
.btn-primary:hover{background:var(--primary-2);border-color:var(--primary-2);}

/* Make existing warning CTAs look like the main brand button */
.btn-warning{
  background:var(--primary) !important;
  border-color:var(--primary) !important;
  color:#fff !important;
}
.btn-warning:hover{
  background:var(--primary-2) !important;
  border-color:var(--primary-2) !important;
}

.btn-success{
  background:var(--primary) !important;
  border-color:var(--primary) !important;
}
.btn-success:hover{
  background:var(--primary-2) !important;
  border-color:var(--primary-2) !important;
}

.btn-outline-secondary{
  border-color:var(--border) !important;
  color:var(--text) !important;
}
.btn-outline-secondary:hover{
  background:#eef2f7 !important;
}

/* Quote section */
#quote{
  background:var(--surface);
  padding:42px 0 70px;
}
#quote h2{
  text-align:center;
  font-weight:700;
  letter-spacing:-0.03em;
  margin-bottom:22px;
}

.quote-card{
  max-width:620px;
  margin:0 auto;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  padding:22px 22px 18px;
}

.quote-card .form-label{font-weight:600;color:var(--text);}
.quote-card .form-text,.quote-card .text-muted{color:var(--muted) !important;}

.form-control,.form-select{
  border-radius:14px;
  border-color:var(--border);
  padding:.8rem .9rem;
}
.form-control:focus,.form-select:focus{
  border-color:rgba(37,99,235,.35);
  box-shadow:0 0 0 .25rem rgba(37,99,235,.12);
}

/* Multi-step indicator */
.step-indicator{display:flex;justify-content:center;gap:8px;margin:0 0 14px;}
.step-dot{width:10px;height:10px;border-radius:999px;background:#d7dde8;display:inline-block;}
.step-dot.active{background:var(--primary);}

.trust-note{text-align:center;margin-top:10px;color:var(--muted);font-size:.92rem;}

/* Content sections */
section.container.my-5{margin-top:56px !important;margin-bottom:56px !important;}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
}
.card .card-title{font-weight:700;letter-spacing:-0.02em;}
.card .card-text{color:var(--muted);}

/* SEO content area */
.seo-content{
  max-width:1120px;
  margin:0 auto;
  padding:56px 16px;
}
.seo-content h2{
  font-weight:700;
  letter-spacing:-0.03em;
  margin-top:34px;
  margin-bottom:12px;
}
.seo-content p, .seo-content li{color:var(--muted);}
.seo-content .how-it-works{padding-left:18px;}
.seo-content .why-list{padding-left:18px;}

.faq{margin-top:14px;}
.faq-item{
  background:var(--surface-2);
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px 18px;
  margin:10px 0;
}
.faq-item h3{font-size:1.05rem;margin:0 0 6px;font-weight:700;}
.faq-item p{margin:0;color:var(--muted);}

.final-cta{
  margin-top:28px;
  text-align:center;
  background:linear-gradient(180deg,#ffffff 0%, #f6f8fb 100%);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px 18px;
}

/* City links/services lists */
.city-services,.city-links{
  max-width:1120px;
  margin:0 auto;
  padding:28px 16px;
}
.city-services ul,.city-links ul{columns:2;gap:24px;padding-left:18px;}
@media (max-width:768px){.city-services ul,.city-links ul{columns:1;}}

/* Footer */
footer{
  border-top:1px solid var(--border);
  background:var(--surface) !important;
}
footer p{margin:0;color:var(--muted);}
footer a{color:var(--primary);}

/* Ensure light footer keeps readable text */
footer.bg-light, footer.bg-light *{color:var(--muted) !important;}
footer.bg-light a{color:var(--primary) !important;}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important;transition:none !important;}
}

/* --- Conversion form enhancements (v2) --- */
.form-error{
  font-size: 0.875rem;
  color: #b42318;
  margin-top: 6px;
}
.quote-form .is-invalid{
  border-color: #d92d20 !important;
  box-shadow: 0 0 0 0.2rem rgba(217,45,32,.08);
}
.quote-form .is-valid{
  border-color: #17b26a !important;
  box-shadow: 0 0 0 0.2rem rgba(23,178,106,.08);
}

.resume-banner{
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.resume-banner .resume-text{
  color: var(--text);
  font-size: 0.95rem;
  margin: 0;
}
.resume-banner .resume-actions{display:flex;gap:10px;}

/* Make disabled continue buttons look intentional */
.quote-form button[disabled]{
  opacity: .55;
  cursor: not-allowed;
}
