/* =====================================================
   CAPITALS RECOVERY GROUP — Main Stylesheet
   Colour palette: Black #0A0A0A, Navy #0D1B2E, 
   Gold #C9A84C, Silver-White #E8E8E8
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Lato:wght@300;400;700&display=swap');

:root {
  --black:       #0A0A0A;
  --navy:        #0D1B2E;
  --navy-light:  #122440;
  --gold:        #C9A84C;
  --gold-light:  #E2C06A;
  --gold-dark:   #9A7A2E;
  --silver:      #E8E8E8;
  --white:       #FFFFFF;
  --grey:        #8A8A8A;
  --grey-light:  #F4F4F4;
  --text-body:   #CCCCCC;
  --radius:      4px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --transition:  all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text-body);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 16px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--silver);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

.gold { color: var(--gold); }
.silver { color: var(--silver); }

/* ── LAYOUT ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 50px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── GOLD DIVIDER ── */
.gold-rule {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.gold-rule::before, .gold-rule::after {
  content: ''; flex: 1; height: 1px; background: var(--gold);
}
.gold-rule span {
  color: var(--gold); font-size: 0.75rem;
  letter-spacing: 3px; text-transform: uppercase;
  white-space: nowrap;
}
.section-label {
  color: var(--gold); font-size: 0.75rem;
  letter-spacing: 3px; text-transform: uppercase;
  display: block; margin-bottom: 10px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 14px 34px;
  font-family: 'Lato', sans-serif; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 1.5px;
  text-transform: uppercase; border-radius: var(--radius);
  cursor: pointer; transition: var(--transition);
  border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--black);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  color: var(--black); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold); color: var(--black);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white); color: var(--navy);
}
.btn-white:hover {
  background: var(--silver); color: var(--navy);
  transform: translateY(-2px);
}

/* ── HEADER / NAV ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.25);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 24px; max-width: 1180px; margin: 0 auto;
}
.site-logo img { height: 52px; width: auto; }
.site-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--silver);
  letter-spacing: 1px;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--silver); font-size: 0.85rem;
  letter-spacing: 0.5px; padding: 8px 12px;
  border-radius: var(--radius); transition: var(--transition);
  font-weight: 400;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold); background: rgba(201,168,76,0.08);
}

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾'; font-size: 0.7rem;
}
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px);
  left: 0; min-width: 240px;
  background: var(--navy); border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius); box-shadow: var(--shadow);
  z-index: 999; padding: 8px 0;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 10px 18px;
  font-size: 0.85rem; color: var(--text-body);
  border-radius: 0;
}
.dropdown-menu a:hover { color: var(--gold); background: rgba(201,168,76,0.08); }

.header-cta { margin-left: 16px; }

/* Mobile menu toggle */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--silver); transition: var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #000000 0%, #0D1B2E 50%, #000000 100%);
  padding: 100px 0 80px;
  min-height: 85vh; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(201,168,76,0.03) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(201,168,76,0.03) 80px);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold); font-size: 0.75rem; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 14px; border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { font-size: 1.15rem; color: var(--text-body); margin-bottom: 36px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 60px;
  padding-top: 40px; border-top: 1px solid rgba(201,168,76,0.2);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 900; color: var(--gold); display: block;
}
.hero-stat-label { font-size: 0.8rem; color: var(--grey); letter-spacing: 1px; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 32px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--silver); font-weight: 700;
  letter-spacing: 0.5px;
}
.trust-item .icon {
  width: 32px; height: 32px;
  background: rgba(201,168,76,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

/* ── CARDS ── */
.card {
  background: var(--navy); border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius); padding: 32px; transition: var(--transition);
}
.card:hover {
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-4px); box-shadow: var(--shadow);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.1); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: 0.9rem; color: var(--grey); margin-bottom: 0; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-size: 0.85rem; font-weight: 700;
  margin-top: 16px; letter-spacing: 0.5px; text-transform: uppercase;
}
.card-link:hover { gap: 10px; }

/* ── SECTION HEADINGS ── */
.section-heading { text-align: center; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p { max-width: 580px; margin: 0 auto; color: var(--grey); }

/* ── STATS BAND ── */
.stats-band { background: var(--navy-light); padding: 60px 0; }
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 900; color: var(--gold);
  display: block; line-height: 1;
}
.stat-label {
  font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--grey); margin-top: 8px; display: block;
}

/* ── PROCESS STEPS ── */
.process-step { display: flex; gap: 24px; margin-bottom: 36px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(201,168,76,0.1); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 900;
  color: var(--gold); font-size: 1.1rem;
}
.step-content h4 { color: var(--silver); margin-bottom: 6px; }
.step-content p { color: var(--grey); font-size: 0.9rem; margin: 0; }

/* ── TESTIMONIALS ── */
.testimonial {
  background: var(--navy); border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius); padding: 32px;
}
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text { color: var(--text-body); font-style: italic; margin-bottom: 20px; }
.testimonial-author { font-weight: 700; color: var(--silver); font-size: 0.9rem; }
.testimonial-claim { color: var(--gold); font-size: 0.8rem; }

/* ── TEAM CARDS ── */
.team-card {
  background: var(--navy); border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius); padding: 32px; text-align: center;
  transition: var(--transition);
}
.team-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.6rem;
  color: var(--black); font-weight: 900;
  margin: 0 auto 18px;
}
.team-card h4 { color: var(--silver); margin-bottom: 4px; }
.team-card .role { color: var(--gold); font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }

/* ── FORM ── */
.form-section { background: var(--navy); padding: 60px 0; }
.form-wrap {
  background: var(--black); border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius); padding: 48px; max-width: 780px; margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label {
  font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; font-weight: 700;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius); padding: 12px 16px;
  color: var(--silver); font-family: 'Lato', sans-serif; font-size: 0.95rem;
  transition: var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.form-group select option { background: var(--navy); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* File upload */
.file-upload-area {
  border: 2px dashed rgba(201,168,76,0.3);
  border-radius: var(--radius); padding: 32px;
  text-align: center; cursor: pointer; transition: var(--transition);
}
.file-upload-area:hover { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.file-upload-area .upload-icon { font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.file-upload-area p { color: var(--grey); font-size: 0.85rem; margin: 0; }
.file-upload-area input[type="file"] { display: none; }

/* GDPR checkbox */
.checkbox-group { display: flex; align-items: flex-start; gap: 12px; }
.checkbox-group input[type="checkbox"] { margin-top: 3px; accent-color: var(--gold); }
.checkbox-group label {
  font-size: 0.85rem; color: var(--grey); letter-spacing: 0;
  text-transform: none; font-weight: 400;
}

/* Multi-step form */
.form-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 40px; }
.form-step-indicator {
  display: flex; flex-direction: column; align-items: center;
  position: relative; flex: 1; max-width: 160px;
}
.form-step-indicator:not(:last-child)::after {
  content: ''; position: absolute;
  top: 20px; left: 50%; width: 100%; height: 1px;
  background: rgba(201,168,76,0.2);
}
.step-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--grey); font-size: 0.9rem;
  position: relative; z-index: 1; transition: var(--transition);
}
.step-circle.active { background: var(--gold); color: var(--black); border-color: var(--gold); }
.step-circle.done { background: var(--gold-dark); color: var(--white); border-color: var(--gold-dark); }
.step-label { font-size: 0.7rem; color: var(--grey); margin-top: 6px; letter-spacing: 1px; text-transform: uppercase; }

.form-page { display: none; }
.form-page.active { display: block; }
.form-nav { display: flex; justify-content: space-between; margin-top: 28px; }

/* ── SERVICE PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, #000 0%, #0D1B2E 60%, #000 100%);
  padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(201,168,76,0.07) 0%, transparent 70%);
}
.page-hero .breadcrumb {
  font-size: 0.8rem; color: var(--grey); margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero h1 { margin-bottom: 16px; position: relative; }
.page-hero p { max-width: 580px; margin: 0 auto 32px; color: var(--grey); font-size: 1.05rem; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 0; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  color: var(--silver); font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 600;
}
.faq-question::after {
  content: '+'; color: var(--gold); font-size: 1.4rem;
  font-weight: 300; transition: var(--transition); flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding-bottom: 20px; color: var(--grey); font-size: 0.95rem; }
.faq-item.open .faq-answer { display: block; }

/* ── NO WIN NO FEE BANNER ── */
.nwnf-banner {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 36px 0; text-align: center;
}
.nwnf-banner h3 {
  font-family: 'Playfair Display', serif; font-size: 1.8rem;
  color: var(--black); margin-bottom: 6px;
}
.nwnf-banner p { color: rgba(0,0,0,0.75); margin: 0; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0A1520 100%);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 80px 0; text-align: center;
}

/* ── FOOTER ── */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 60px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; color: var(--grey); max-width: 280px; }
.footer-col h5 {
  color: var(--gold); font-size: 0.75rem; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 16px; font-family: 'Lato', sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--grey); font-size: 0.875rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; text-align: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.25);
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--gold); }
.footer-reg {
  font-size: 0.75rem; color: rgba(255,255,255,0.2);
  margin-top: 10px; line-height: 1.6;
}

/* ── LEGAL PAGES ── */
.legal-content {
  max-width: 800px; margin: 0 auto;
  padding: 60px 24px 80px;
}
.legal-content h2 { margin: 40px 0 14px; font-size: 1.3rem; }
.legal-content h3 { margin: 28px 0 10px; font-size: 1.05rem; color: var(--gold); }
.legal-content p, .legal-content li { color: var(--grey); font-size: 0.95rem; }
.legal-content ul, .legal-content ol { padding-left: 20px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 6px; }

/* ── SUCCESS / ALERT MESSAGES ── */
.alert {
  padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px;
  font-size: 0.9rem;
}
.alert-success { background: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.3); color: #81c784; }
.alert-error   { background: rgba(244,67,54,0.1); border: 1px solid rgba(244,67,54,0.3); color: #e57373; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black); padding: 16px 24px;
    border-bottom: 1px solid rgba(201,168,76,0.2);
  }
  .trust-bar-inner { flex-direction: column; gap: 16px; }
  .form-steps { gap: 4px; }
  .form-wrap { padding: 28px 20px; }
}
