/* ============================================
   NoMoreDebt — WordPress Theme Styles
   Debt Settlement Page
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* === CSS Variables === */
:root {
    --primary:       #1a6b3c;
    --primary-dark:  #134f2d;
    --primary-light: #e8f5ee;
    --accent:        #f59e0b;
    --accent-dark:   #d97706;
    --danger:        #dc2626;
    --blue:          #2563eb;
    --text-dark:     #111827;
    --text-mid:      #374151;
    --text-light:    #6b7280;
    --bg:            #f9fafb;
    --bg-white:      #ffffff;
    --border:        #e5e7eb;
    --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:     0 4px 12px rgba(0,0,0,0.10);
    --shadow-lg:     0 8px 30px rgba(0,0,0,0.14);
    --radius:        12px;
    --radius-lg:     20px;
}

/* === Reset overrides for WP === */
.debt-page *, .debt-page *::before, .debt-page *::after { box-sizing: border-box; }
.debt-page { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text-dark); background: var(--bg); overflow-x: hidden; }
.debt-page img { max-width: 100%; display: block; }
.debt-page a { text-decoration: none; }
.debt-page ul { list-style: none; margin: 0; padding: 0; }

/* === Container (global, used by header, footer and all page templates) === */
.ds-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 24px;
}

/* === Buttons === */
.debt-page .cta-button {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}
.debt-page .cta-button.primary {
    background: linear-gradient(135deg, var(--primary) 0%, #22a05a 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26,107,60,0.35);
}
.debt-page .cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,107,60,0.45);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
}
.debt-page .cta-button.large { padding: 18px 40px; font-size: 1.1rem; }

/* ===========================
   HEADER
   =========================== */
.ds-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    font-family: 'Inter', sans-serif;
}
.ds-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.ds-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.ds-logo i { font-size: 1.5rem; color: var(--primary); }
.ds-logo-name { font-size: 1.4rem; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.ds-nav { display: flex; gap: 24px; }
.ds-nav a { color: var(--text-mid); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; text-decoration: none; }
.ds-nav a:hover { color: var(--primary); }
.ds-header-btn {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
}
.ds-header-btn:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff; }

/* ===========================
   HERO
   =========================== */
.debt-page .hero {
    position: relative;
    padding: 90px 0 80px;
    color: #fff;
    overflow: hidden;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
}
.debt-page .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,40,20,0.93) 0%, rgba(20,90,48,0.85) 60%, rgba(25,110,60,0.80) 100%);
    z-index: 0;
}
.debt-page .hero .container { position: relative; z-index: 1; }
.debt-page .hero-inner { display: flex; flex-direction: column; gap: 40px; }
.debt-page .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}
.debt-page .hero-badge i { color: var(--accent); }
.debt-page .hero-title { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px; }
.debt-page .hero-title span { color: var(--accent); }
.debt-page .hero-description { font-size: 1.1rem; opacity: 0.9; margin-bottom: 24px; line-height: 1.7; max-width: 520px; }
.debt-page .hero-checklist { margin-bottom: 32px; }
.debt-page .hero-checklist li { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin-bottom: 10px; font-weight: 500; }
.debt-page .hero-checklist li i { color: #6ee7a0; font-size: 1rem; flex-shrink: 0; }
.debt-page .hero-cta {
    font-size: 1.1rem; padding: 16px 36px;
    background: var(--accent); color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(245,158,11,0.45);
    display: inline-flex; align-items: center; gap: 10px;
}
.debt-page .hero-cta:hover { background: var(--accent-dark); color: #1a1a1a; }
.debt-page .hero-sub { margin-top: 14px; font-size: 0.85rem; opacity: 0.65; display: flex; align-items: center; gap: 6px; }
.debt-page .hero-visual { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.debt-page .stat-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 20px 24px;
    backdrop-filter: blur(6px);
    text-align: center;
    transition: transform 0.2s;
}
.debt-page .stat-card:hover { transform: translateY(-2px); }
.debt-page .stat-card.highlight { background: rgba(245,158,11,0.18); border-color: rgba(245,158,11,0.5); }
.debt-page .stat-number { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; }
.debt-page .stat-card.highlight .stat-number { color: var(--accent); }
.debt-page .stat-label { font-size: 0.78rem; opacity: 0.75; font-weight: 500; text-transform: uppercase; letter-spacing: 0.4px; }

/* ===========================
   HOW IT WORKS
   =========================== */
.debt-page .how-it-works { padding: 80px 0; background: var(--bg-white); }
.debt-page .section-title { font-size: 2.1rem; font-weight: 800; text-align: center; color: var(--text-dark); margin-bottom: 10px; letter-spacing: -0.5px; }
.debt-page .section-sub { text-align: center; color: var(--text-light); font-size: 1rem; margin-bottom: 50px; }
.debt-page .steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; position: relative; }
.debt-page .steps-grid::before {
    content: '';
    position: absolute;
    top: 38px; left: calc(16.66% + 20px); right: calc(16.66% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
    z-index: 0;
}
.debt-page .step-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px 28px;
    text-align: center; position: relative; z-index: 1;
    transition: box-shadow 0.25s, transform 0.25s;
}
.debt-page .step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.debt-page .step-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--primary-light); display: flex; align-items: center;
    justify-content: center; margin: 0 auto 16px;
    font-size: 1.6rem; color: var(--primary);
}
.debt-page .step-number {
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--primary); background: var(--primary-light);
    display: inline-block; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}
.debt-page .step-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.debt-page .step-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.65; }

/* ===========================
   CALCULATOR
   =========================== */
.debt-page .calculator-section {
    position: relative; padding: 90px 0; overflow: hidden;
    background: url('images/calculator-bg.jpg') center/cover no-repeat;
}
.debt-page .calculator-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(240,253,244,0.97) 0%, rgba(220,252,231,0.96) 100%);
    z-index: 0;
}
.debt-page .calculator-section .container { position: relative; z-index: 1; }
.debt-page .calc-wrapper { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.debt-page .calc-intro h2 { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; line-height: 1.25; letter-spacing: -0.5px; }
.debt-page .calc-intro p { color: var(--text-mid); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.debt-page .debt-types { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.debt-page .debt-type-tag {
    background: #fff; border: 1px solid var(--border); color: var(--text-mid);
    padding: 8px 16px; border-radius: 50px; font-size: 0.88rem; font-weight: 600;
    box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 7px;
    flex: 1 0 49%;
}
.debt-page .debt-type-tag i { color: var(--primary); }
.debt-page .calc-trust-badges { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.debt-page .trust-badge {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--text-mid);
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px 10px; box-shadow: var(--shadow-sm);
}
.debt-page .trust-badge i { color: var(--primary); font-size: 1.3rem; }
.debt-page .calculator-card {
    background: #fff; border-radius: var(--radius-lg); padding: 36px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.debt-page .calculator-card h3 {
    font-size: 1.25rem; font-weight: 800; color: var(--text-dark); text-align: center;
    margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.debt-page .calculator-card h3 i { color: var(--primary); }
.debt-page .calc-field { margin-bottom: 20px; }
.debt-page .calc-field label {
    display: flex; align-items: center; gap: 7px;
    font-weight: 600; font-size: 0.88rem; color: var(--text-mid); margin-bottom: 8px;
}
.debt-page .calc-field label i { color: var(--primary); }
.debt-page .calc-field input, .debt-page .calc-field select {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: 1rem; font-family: 'Inter', sans-serif;
    color: var(--text-dark); background: var(--bg); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.debt-page .calc-field input:focus, .debt-page .calc-field select:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,107,60,0.1);
}
.debt-page .calc-btn {
    width: 100%; padding: 16px; font-size: 1.05rem; margin-top: 4px;
    border-radius: var(--radius); display: flex; align-items: center;
    justify-content: center; gap: 10px;
}
.debt-page .calc-results { display: none; margin-top: 28px; padding-top: 24px; border-top: 2px dashed var(--border); }
.debt-page .results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.debt-page .result-item {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px; text-align: center;
}
.debt-page .result-item.full-width { grid-column: 1 / -1; background: var(--primary-light); border-color: #bbf7d0; }
.debt-page .result-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-light); margin-bottom: 6px; }
.debt-page .result-value { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.debt-page .result-value.green { color: var(--primary); }
.debt-page .result-value.blue  { color: var(--blue); }
.debt-page .result-value.large { font-size: 2rem; color: var(--primary); }
.debt-page .calc-disclaimer { font-size: 0.76rem; color: var(--text-light); line-height: 1.5; margin-top: 6px; display: flex; gap: 6px; }
.debt-page .calc-disclaimer i { flex-shrink: 0; margin-top: 2px; }

/* ===========================
   OFFERS TABLE
   =========================== */
.debt-page .offers-section { padding: 80px 0; background: var(--bg); }
.debt-page .offers-table {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border);
}
.debt-page .offers-header {
    display: grid; grid-template-columns: 80px 200px 1fr 160px 180px;
    gap: 16px; padding: 16px 28px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff; font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px; align-items: center;
}
.debt-page .offer-row {
    display: grid; grid-template-columns: 80px 200px 1fr 160px 180px;
    gap: 16px; padding: 28px; border-bottom: 1px solid var(--border);
    align-items: center; transition: background 0.2s;
}
.debt-page .offer-row:last-child { border-bottom: none; }
.debt-page .offer-row:hover { background: #fafffe; }
.debt-page .offer-row.rank-1 { background: linear-gradient(to right, #f0fdf4, #fff); border-left: 4px solid var(--primary); }
.debt-page .offer-row.rank-1:hover { background: linear-gradient(to right, #e8f5ee, #fafffe); }
.debt-page .rank-badge {
    width: 56px; height: 56px; border-radius: 12px;
    background: var(--bg); border: 2px solid var(--border);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.debt-page .rank-badge.best {
    background: linear-gradient(135deg, var(--primary) 0%, #22a05a 100%);
    border-color: transparent; box-shadow: 0 4px 12px rgba(26,107,60,0.35);
}
.debt-page .rank-badge.best i { color: var(--accent); font-size: 1.2rem; }
.debt-page .rank-badge.best span { color: #fff; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.5px; }
.debt-page .rank-num { font-size: 1.6rem; font-weight: 800; color: var(--text-mid); line-height: 1; }
.debt-page .col-company { display: flex; flex-direction: column; gap: 10px; }
.debt-page .company-logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; }
.debt-page .company-meta { display: flex; flex-direction: column; gap: 5px; }
.debt-page .company-rating { display: flex; align-items: center; gap: 3px; font-size: 0.8rem; font-weight: 600; color: var(--text-mid); }
.debt-page .company-rating i { color: var(--accent); font-size: 0.75rem; }
.debt-page .company-rating span { margin-left: 4px; }
.debt-page .company-accreditation { font-size: 0.75rem; color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.debt-page .offer-features { display: flex; flex-direction: column; gap: 7px; }
.debt-page .offer-features li { font-size: 0.88rem; color: var(--text-mid); display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.debt-page .offer-features li i { color: var(--primary); font-size: 0.8rem; flex-shrink: 0; margin-top: 3px; }
.debt-page .col-deal { text-align: center; }
.debt-page .deal-badge {
    background: var(--primary-light); color: var(--primary-dark); border: 1px solid #bbf7d0;
    padding: 8px 12px; border-radius: 8px; font-size: 0.8rem; font-weight: 700;
    margin-bottom: 8px; display: flex; align-items: center; justify-content: center;
    gap: 6px; line-height: 1.3;
}
.debt-page .deal-note { font-size: 0.75rem; color: var(--text-light); }
.debt-page .col-action { text-align: center; }
.debt-page .offer-cta {
    padding: 12px 20px; font-size: 0.9rem; border-radius: 8px; width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 6px;
}
.debt-page .offer-terms { font-size: 0.72rem; color: var(--text-light); line-height: 1.4; }

/* ===========================
   WHY US
   =========================== */
.debt-page .why-us { padding: 80px 0; background: var(--bg-white); }
.debt-page .features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.debt-page .feature-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 30px 24px;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.debt-page .feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #bbf7d0; }
.debt-page .feature-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--primary-light); display: flex; align-items: center;
    justify-content: center; font-size: 1.4rem; color: var(--primary); margin-bottom: 16px;
}
.debt-page .feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.debt-page .feature-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* ===========================
   TESTIMONIALS
   =========================== */
.debt-page .testimonials {
    position: relative; padding: 90px 0; overflow: hidden;
    background: url('images/testimonials-bg.jpg') center/cover no-repeat;
}
.debt-page .testimonials-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(8,35,18,0.95) 0%, rgba(15,64,40,0.92) 100%);
    z-index: 0;
}
.debt-page .testimonials .ds-container { position: relative; z-index: 1; }
.debt-page .testimonials .section-title { color: #fff; }
.debt-page .testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.debt-page .testimonial-card {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg); padding: 30px; color: #fff;
    backdrop-filter: blur(6px); transition: transform 0.25s, background 0.25s;
}
.debt-page .testimonial-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.12); }
.debt-page .testimonial-card .stars { display: flex; gap: 3px; margin-bottom: 16px; }
.debt-page .testimonial-card .stars i { color: var(--accent); font-size: 1rem; }
.debt-page .testimonial-card > p { font-size: 0.95rem; line-height: 1.7; opacity: 0.88; margin-bottom: 22px; font-style: italic; }
.debt-page .testimonial-author { display: flex; align-items: center; gap: 12px; }
.debt-page .author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 800; flex-shrink: 0;
}
.debt-page .testimonial-author strong { display: block; font-size: 0.92rem; font-weight: 700; }
.debt-page .testimonial-author span { font-size: 0.78rem; opacity: 0.7; color: var(--accent); display: flex; align-items: center; gap: 5px; }

/* ===========================
   FAQ
   =========================== */
.debt-page .faq-section { padding: 80px 0; background: var(--bg); }
.debt-page .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.debt-page .faq-item {
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 26px; transition: box-shadow 0.2s;
}
.debt-page .faq-item:hover { box-shadow: var(--shadow-sm); }
.debt-page .faq-item h4 {
    font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px;
    display: flex; align-items: flex-start; gap: 9px; line-height: 1.4;
}
.debt-page .faq-item h4 i { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.debt-page .faq-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; padding-left: 24px; }

/* ===========================
   CTA BANNER
   =========================== */
.debt-page .cta-banner { padding: 70px 0; background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%); }
.debt-page .cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.debt-page .cta-banner-text h2 {
    font-size: 1.9rem; font-weight: 800; color: #1a1a1a; margin-bottom: 10px;
    display: flex; align-items: center; gap: 12px;
}
.debt-page .cta-banner-text p { font-size: 1rem; color: rgba(0,0,0,0.6); }
.debt-page .cta-banner .cta-button.primary {
    background: #1a1a1a; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: 10px;
}
.debt-page .cta-banner .cta-button.primary:hover { background: #111; transform: translateY(-2px); color: #fff; }

/* ===========================
   FOOTER
   =========================== */
.ds-footer { background: #0d1f14; color: #d1fae5; padding: 60px 0 30px; font-family: 'Inter', sans-serif; }
.ds-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 28px; }
.ds-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; text-decoration: none; }
.ds-footer-logo i { color: #6ee7a0; font-size: 1.5rem; }
.ds-footer-logo span { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.ds-footer-brand p { font-size: 0.87rem; line-height: 1.6; opacity: 0.55; max-width: 260px; }
.ds-footer-col h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.ds-footer-col a { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 10px; transition: color 0.2s; text-decoration: none; }
.ds-footer-col a:hover { color: #fff; }
.ds-footer-col a i { font-size: 0.7rem; color: var(--primary); }
.ds-footer-bottom { font-size: 0.78rem; color: rgba(255,255,255,0.35); line-height: 1.6; text-align: center; }

/* ============================================
   LEGAL PAGES (Privacy, Terms, Disclaimer)
   ============================================ */
.page-hero { background: linear-gradient(135deg, #0f4028 0%, #1a6b3c 100%); padding: 60px 0 50px; color: #fff; }
.page-hero-inner { display: flex; align-items: center; gap: 18px; }
.page-hero-icon { width: 60px; height: 60px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #6ee7a0; flex-shrink: 0; }
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 6px; }
.page-hero p { opacity: 0.75; font-size: 0.95rem; }
.legal-body { padding: 60px 0 80px; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.legal-toc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 80px; box-shadow: var(--shadow-sm); }
.legal-toc h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 14px; }
.legal-toc a { display: flex; align-items: center; gap: 8px; font-size: 0.87rem; color: var(--text-mid); padding: 7px 0; border-bottom: 1px solid var(--border); transition: color 0.2s; font-weight: 500; text-decoration: none; }
.legal-toc a:last-child { border-bottom: none; }
.legal-toc a:hover { color: var(--primary); }
.legal-toc a i { color: var(--primary); font-size: 0.7rem; }
.legal-content { display: flex; flex-direction: column; gap: 28px; }
.last-updated { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); color: var(--primary); border: 1px solid #bbf7d0; padding: 8px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; margin-bottom: 32px; }

/* Legal section cards */
.legal-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.legal-section-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.legal-section-icon { width: 44px; height: 44px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--primary); flex-shrink: 0; }
.legal-section h2 { font-size: 1.25rem; font-weight: 800; color: var(--text-dark); margin: 0; }

/* Content inside section body (from ACF wysiwyg) */
.legal-section-body p,
.legal-wp-content p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }
.legal-section-body p:last-child,
.legal-wp-content p:last-child { margin-bottom: 0; }
.legal-section-body ul, .legal-section-body ol,
.legal-wp-content ul, .legal-wp-content ol { margin: 10px 0 14px; display: flex; flex-direction: column; gap: 8px; padding-left: 0; list-style: none; }
.legal-section-body ul li, .legal-section-body ol li,
.legal-wp-content ul li, .legal-wp-content ol li { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; padding-left: 20px; position: relative; }
.legal-section-body ul li::before,
.legal-wp-content ul li::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; position: absolute; left: 0; top: 9px; }
.legal-section-body strong, .legal-wp-content strong { color: var(--text-dark); font-weight: 700; }
.legal-section-body a, .legal-wp-content a { color: var(--primary); text-decoration: underline; }
.legal-section-body h3, .legal-wp-content h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin: 20px 0 8px; }

/* Highlight boxes inside sections */
.highlight-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; }
.highlight-box > i { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.highlight-box p, .highlight-box div { margin: 0; font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }
.highlight-box.red { background: #fef2f2; border-color: #fecaca; }
.highlight-box.red > i { color: var(--danger); }

/* No-TOC variant — full width content */
.legal-layout--no-toc { grid-template-columns: 1fr; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-body { padding: 60px 0 80px; }
.contact-layout { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; gap: 18px; align-items: flex-start; transition: box-shadow 0.2s, transform 0.2s; }
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--primary); flex-shrink: 0; }
.contact-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.contact-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 8px; line-height: 1.5; }
.contact-card a { font-size: 1rem; font-weight: 700; color: var(--primary); transition: color 0.2s; text-decoration: none; }
.contact-card a:hover { color: var(--primary-dark); }
.hours-grid { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.hours-row { font-size: 0.85rem; color: var(--text-mid); display: flex; justify-content: space-between; gap: 16px; }
.hours-row span:last-child { font-weight: 600; color: var(--text-dark); }
.contact-faq { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.contact-faq h3 { font-size: 1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.contact-faq h3 i { color: var(--primary); }
.mini-faq-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.mini-faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.mini-faq-item p:first-child { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.mini-faq-item p:last-child { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); position: sticky; top: 80px; }
.contact-form-card h2 { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.contact-form-card h2 i { color: var(--primary); }
.contact-form-card > p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: flex; align-items: center; gap: 7px; font-size: 0.87rem; font-weight: 600; color: var(--text-mid); margin-bottom: 7px; }
.form-group label i { color: var(--primary); font-size: 0.85rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--bg); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,107,60,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit { width: 100%; padding: 15px; font-size: 1rem; font-weight: 700; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 4px; }
.form-privacy { font-size: 0.75rem; color: var(--text-light); text-align: center; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.form-privacy i { color: var(--primary); }
.form-privacy a { color: var(--primary); }
.form-success { display: none; background: var(--primary-light); border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 24px; text-align: center; }
.form-success i { font-size: 2rem; color: var(--primary); margin-bottom: 10px; display: block; }
.form-success h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.form-success p { font-size: 0.88rem; color: var(--text-mid); }
.map-section { padding: 0 0 80px; }
.map-placeholder { background: linear-gradient(135deg, #0f4028 0%, #1a6b3c 100%); border-radius: var(--radius-lg); height: 240px; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; flex-direction: column; }
.map-placeholder i { font-size: 2.5rem; margin-bottom: 12px; color: #6ee7a0; }
.map-placeholder h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.map-placeholder p { font-size: 0.9rem; opacity: 0.7; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .debt-page .offers-header,
    .debt-page .offer-row { grid-template-columns: 70px 170px 1fr 140px 160px; gap: 12px; padding: 20px; }
    .debt-page .calc-wrapper { grid-template-columns: 1fr; }
    .ds-footer-top { grid-template-columns: 1fr 1fr; }
    .ds-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .debt-page .offers-header { display: none; }
    .debt-page .offer-row {
        grid-template-columns: 1fr; gap: 16px; padding: 24px;
        border-radius: var(--radius-lg); margin-bottom: 16px;
        border: 1px solid var(--border) !important; border-left: none !important;
        box-shadow: var(--shadow-sm);
    }
    .debt-page .offer-row.rank-1 { border-left: 4px solid var(--primary) !important; }
    .debt-page .offers-table { background: transparent; box-shadow: none; border: none; }
    .debt-page .col-rank { display: flex; align-items: center; }
}

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-form-card { position: static; }
}

@media (max-width: 768px) {
    /* Main page */
    .debt-page .hero { padding: 50px 0 40px; }
    .debt-page .hero-title { font-size: 2.2rem; }
    .debt-page .hero-visual { grid-template-columns: 1fr; gap: 12px; }
    .debt-page .section-title { font-size: 1.7rem; }
    .debt-page .steps-grid { grid-template-columns: 1fr; }
    .debt-page .steps-grid::before { display: none; }
    .debt-page .features-grid { grid-template-columns: 1fr 1fr; }
    .debt-page .testimonials-grid { grid-template-columns: 1fr; }
    .debt-page .faq-grid { grid-template-columns: 1fr; }
    .debt-page .cta-banner-inner { flex-direction: column; text-align: center; }
    .debt-page .cta-banner-text h2 { justify-content: center; }
    .debt-page .calc-trust-badges { grid-template-columns: 1fr; }
    /* Header / Footer */
    .ds-nav { display: none; }
    .ds-footer-top { grid-template-columns: 1fr; gap: 28px; }
    .ds-footer-brand { grid-column: auto; }
    /* Legal */
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { position: static; }
    .page-hero h1 { font-size: 1.7rem; }
    /* Contact */
    .form-row { grid-template-columns: 1fr; }
    .contact-form-card { padding: 24px 20px; }
    /* CTA banner on sub-pages */
    .cta-banner-inner { flex-direction: column; text-align: center; }
    .cta-banner-text h2 { justify-content: center; }
}

@media (max-width: 480px) {
    .debt-page .hero-title { font-size: 1.85rem; }
    .debt-page .features-grid { grid-template-columns: 1fr; }
    .debt-page .results-grid { grid-template-columns: 1fr; }
    .debt-page .result-item.full-width { grid-column: 1; }
    .debt-page .calculator-card { padding: 22px 18px; }
    .ds-header-btn { display: none; }
    .page-hero h1 { font-size: 1.5rem; }
}

