/* ============================================
   DEBT STEP CHANGE GLOBAL - Main Stylesheet
   Mobile-first | Conversion-focused
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --navy: #0B1F3A;
  --navy-mid: #163459;
  --navy-light: #1E4678;
  --green: #00C851;
  --green-dark: #009E3F;
  --orange: #FF5722;
  --orange-dark: #E64A19;
  --white: #FFFFFF;
  --off-white: #F4F7FB;
  --grey-light: #EEF2F7;
  --grey: #8A9BB0;
  --text: #1A2B3C;
  --text-light: #4A5F72;
  --border: #D8E3F0;
  --shadow-sm: 0 2px 8px rgba(11,31,58,0.08);
  --shadow-md: 0 4px 20px rgba(11,31,58,0.12);
  --shadow-lg: 0 8px 40px rgba(11,31,58,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px; /* space for sticky mobile bar */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(1.75rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.5rem); }
p { margin-bottom: 1rem; color: var(--text-light); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  background: rgba(0,200,81,0.12);
  color: var(--green-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: 60px 0; }
.section-bg { background: var(--off-white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.8); }

/* ---- HEADER / NAV ---- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-dot { color: var(--green); }

.main-nav { display: none; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-list a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.nav-list a:hover { color: var(--green); }

.header-cta {
  display: none;
  background: var(--green);
  color: var(--navy) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background var(--transition);
  white-space: nowrap;
}
.header-cta:hover { background: var(--green-dark); }

.mobile-tel {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .main-nav { display: block; }
  .header-cta { display: flex; align-items: center; gap: 6px; }
  .mobile-tel { display: none; }
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1a5276 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,200,81,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,200,81,0.15);
  border: 1px solid rgba(0,200,81,0.3);
  color: var(--green);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  max-width: 640px;
}
.hero h1 span { color: var(--green); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--green);
  color: var(--navy);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,200,81,0.35); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,87,34,0.35); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline-navy:hover { border-color: var(--navy); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(0,200,81,0.12), rgba(0,200,81,0.06));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.grid-2 { display: grid; gap: 20px; }
.grid-3 { display: grid; gap: 20px; }
.grid-4 { display: grid; gap: 16px; }

@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- SERVICES SECTION ---- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
}
.service-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.service-card .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(0,200,81,0.1);
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 10px;
}
.service-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; margin-bottom: 16px; }
.service-card a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}
.service-card a:hover { color: var(--green-dark); }

/* ---- STEPS ---- */
.steps-list { display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h3 { margin-bottom: 6px; font-size: 1.05rem; }
.step-content p { font-size: 0.92rem; margin: 0; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-icon {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--grey);
  transition: all var(--transition);
}
.faq-item.open .faq-icon { background: var(--green); border-color: var(--green); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  font-size: 0.95rem;
  color: var(--text-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 18px; }

/* ---- INTERNAL LINKS ---- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.link-pill {
  display: block;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
  text-align: center;
}
.link-pill:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---- DISCLAIMER / NOTICE ---- */
.notice-box {
  background: rgba(255,87,34,0.06);
  border: 1px solid rgba(255,87,34,0.2);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice-box .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }

/* ---- FOOTER ---- */
.site-footer {
  background: #070F1E;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--green); }
.footer-desc { font-size: 0.88rem; line-height: 1.6; margin-bottom: 0; }
.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.82rem;
}
.footer-disclaimer {
  background: rgba(255,87,34,0.08);
  border: 1px solid rgba(255,87,34,0.2);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ---- STICKY MOBILE BAR ---- */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--navy);
  border-top: 2px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.sticky-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: background var(--transition);
  cursor: pointer;
  text-align: center;
  border: none;
  background: none;
}
.sticky-btn:nth-child(1) { border-right: 1px solid rgba(255,255,255,0.1); }
.sticky-btn:nth-child(2) { border-right: 1px solid rgba(255,255,255,0.1); }
.sticky-btn.green { background: var(--green); color: var(--navy); }
.sticky-btn.whatsapp { }
.sticky-btn svg { width: 22px; height: 22px; }
.sticky-btn:hover { background: rgba(255,255,255,0.08); }
.sticky-btn.green:hover { background: var(--green-dark); }
@media (min-width: 768px) { .sticky-mobile-bar { display: none; } }

/* ---- FUNNEL / QUIZ ---- */
.funnel-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.funnel-progress {
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  height: 6px;
  margin-bottom: 32px;
  overflow: hidden;
}
.funnel-progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 100px;
  transition: width 0.4s ease;
}
.funnel-step {
  display: none;
  animation: fadeIn 0.3s ease;
}
.funnel-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.funnel-step-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  display: block;
}
.funnel-question {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.25;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.choice-btn {
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.choice-btn .emoji { font-size: 1.6rem; }
.choice-btn:hover,
.choice-btn.selected {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
}
.choice-btn.wide {
  grid-column: 1 / -1;
}

.funnel-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 12px;
  transition: border-color var(--transition);
}
.funnel-input::placeholder { color: rgba(255,255,255,0.4); }
.funnel-input:focus { outline: none; border-color: var(--green); }

.funnel-input-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  font-family: 'Outfit', sans-serif;
}

.consent-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  line-height: 1.5;
}
.consent-label input { margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.consent-label a { color: var(--green); }

.funnel-nav { display: flex; gap: 12px; margin-top: 20px; }
.btn-back {
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.7);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-back:hover { background: rgba(255,255,255,0.18); }

/* Funnel success */
.funnel-success {
  text-align: center;
  padding: 20px 0;
}
.funnel-success .tick {
  width: 72px;
  height: 72px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}
.funnel-success h2 { color: var(--white); margin-bottom: 12px; }
.funnel-success p { color: rgba(255,255,255,0.75); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 48px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 580px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---- CHECKLIST ---- */
.check-list { margin: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-light);
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-light);
}
.check-list li:last-child { border: none; }
.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- STATS ---- */
.stat-card {
  text-align: center;
  padding: 24px 16px;
}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

/* ---- CONTACT PAGE ---- */
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--navy); }
.contact-form textarea { height: 120px; resize: vertical; }

/* ---- LOCATION GRID ---- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 20px;
}
.location-item {
  display: block;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.location-item:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.gap-12 { gap: 12px; }
.flex { display: flex; align-items: center; }
.wrap { flex-wrap: wrap; }

/* ---- RESPONSIVE ---- */
@media (max-width: 599px) {
  .choice-grid { grid-template-columns: 1fr; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
  section { padding: 44px 0; }
}
