/* ==========================================================================
   CreditSOS.bg — Stylesheet
   Mobile-first, modern, trust-oriented legal site
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --c-primary: #0e2a47;
    --c-primary-600: #153558;
    --c-primary-700: #0a2038;
    --c-primary-50: #eef2f8;
    --c-accent: #c9a042;
    --c-accent-600: #b88f34;
    --c-accent-50: #fbf6ea;
    --c-success: #0b8457;
    --c-danger: #c23b3b;

    --c-bg: #ffffff;
    --c-bg-alt: #f6f8fb;
    --c-bg-dark: #0e2a47;

    --c-text: #1a1f2a;
    --c-text-muted: #556070;
    --c-text-light: #e9edf4;
    --c-text-light-muted: #a8b4c4;

    --c-border: #e4e8ef;
    --c-border-strong: #cfd6e0;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 2px rgba(14,42,71,.06), 0 1px 3px rgba(14,42,71,.04);
    --shadow: 0 6px 16px rgba(14,42,71,.08), 0 2px 6px rgba(14,42,71,.05);
    --shadow-lg: 0 20px 40px rgba(14,42,71,.12), 0 6px 16px rgba(14,42,71,.08);

    --ff-heading: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --header-h: 72px;
    --container: 1180px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4 { font-family: var(--ff-heading); color: var(--c-primary); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }
button { font: inherit; cursor: pointer; }

.text-accent { color: var(--c-accent); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }

.section {
    padding: clamp(36px, 5.5vw, 70px) 0;
}
.section-light { background: var(--c-bg-alt); }
.section-dark { background: var(--c-primary); color: var(--c-text-light); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lead.light { color: var(--c-text-light-muted); }
.section-dark .eyebrow.light { color: var(--c-accent); }

.section-head { margin-bottom: 2rem; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { max-width: 720px; margin-left: auto; margin-right: auto; }

.section-title { margin-bottom: .75rem; }
.section-lead { font-size: 1.1rem; color: var(--c-text-muted); max-width: 820px; }
.section-note { font-size: .95rem; color: var(--c-text-muted); margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--c-border); }
.section-note.small { font-size: .85rem; }

.eyebrow {
    display: inline-block;
    font-family: var(--ff-heading);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-accent-600);
    margin-bottom: .75rem;
}


/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--c-border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-h);
}
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--ff-heading);
    font-weight: 800; font-size: 1.15rem;
    color: var(--c-primary);
    letter-spacing: -.01em;
}
.brand:hover { color: var(--c-primary); }
.brand-icon { width: 32px; height: 32px; flex-shrink: 0; }
.brand-accent { color: var(--c-accent); }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }

.site-nav { display: flex; align-items: center; }
.nav-list {
    display: flex; gap: 2px; list-style: none; margin: 0; padding: 0;
    align-items: center;
}
.nav-list a {
    display: inline-block;
    padding: 10px 14px;
    font-size: .95rem; font-weight: 500;
    color: var(--c-text); border-radius: var(--radius-sm);
}
.nav-list a:hover { background: var(--c-primary-50); color: var(--c-primary); }
.nav-list .nav-cta {
    background: var(--c-accent); color: #fff; font-weight: 600;
    padding: 10px 18px; margin-left: 8px;
}
.nav-list .nav-cta:hover { background: var(--c-accent-600); color: #fff; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    background: #fff;
    position: relative;
    padding: 0;
}
.nav-toggle span {
    display: block; height: 2px; width: 22px;
    background: var(--c-primary);
    position: absolute; left: 11px;
    transition: transform .25s, opacity .25s, top .25s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-family: var(--ff-heading);
    font-weight: 600; font-size: .98rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s, background-color .2s, color .2s, box-shadow .2s;
    white-space: nowrap;
    line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-700); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: var(--c-accent-600); color: #fff; box-shadow: var(--shadow); }
.btn-ghost {
    background: transparent; color: var(--c-primary);
    border-color: var(--c-border-strong);
}
.btn-ghost:hover { background: var(--c-primary-50); color: var(--c-primary); border-color: var(--c-primary); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: clamp(32px, 5vw, 60px) 0 clamp(40px, 6vw, 80px);
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #f0f4fa 100%);
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 90% 10%, rgba(201,160,66,.15), transparent 60%),
        radial-gradient(ellipse 50% 40% at 0% 80%, rgba(14,42,71,.08), transparent 60%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
.hero-content { max-width: 680px; }
.hero h1 { margin-bottom: .75em; }
.lead {
    font-size: 1.15rem; color: var(--c-text-muted);
    margin-bottom: 1.75rem;
}
.hero-ctas {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-bottom: 2rem;
}
.hero-trust {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.hero-trust li {
    display: flex; align-items: center; gap: 10px;
    font-size: .95rem; color: var(--c-text-muted);
}
.hero-trust svg {
    width: 20px; height: 20px; flex-shrink: 0;
    color: var(--c-success);
}

.hero-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    border: 1px solid var(--c-border);
}
.hero-card-head { margin-bottom: 20px; }
.hero-card h2 { font-size: 1.4rem; margin: .5rem 0; }
.hero-card p { color: var(--c-text-muted); margin: 0; }
.badge {
    display: inline-block; font-size: .78rem; font-weight: 700;
    background: var(--c-accent-50); color: var(--c-accent-600);
    padding: 5px 12px; border-radius: 999px;
    letter-spacing: .04em; text-transform: uppercase;
}
.mini-steps {
    list-style: none; padding: 0; margin: 0 0 24px;
    display: flex; flex-direction: column; gap: 14px;
}
.mini-steps li {
    display: flex; align-items: center; gap: 14px;
    font-size: .95rem; color: var(--c-text);
    font-weight: 500;
}
.mini-steps span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; min-width: 32px;
    background: var(--c-primary); color: #fff;
    border-radius: 50%; font-weight: 700; font-size: .9rem;
    font-family: var(--ff-heading);
}
.fine-print {
    font-size: .8rem; color: var(--c-text-muted);
    text-align: center; margin: 12px 0 0;
}

/* ---------- Pills grid (problem section) ---------- */
.pill-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 1.5rem;
}
.pill {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pill:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-accent); }
.pill h3 {
    font-size: 1.05rem;
    margin-bottom: .5rem;
    display: flex; align-items: center; gap: 10px;
}
.pill h3::before {
    content: ''; display: inline-block;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-accent);
    flex-shrink: 0;
}
.pill p { margin: 0; color: var(--c-text-muted); font-size: .95rem; }

/* ---------- Creditor grid ---------- */
.creditor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 1.5rem;
}
.creditor-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: left;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.creditor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--c-primary);
}
.creditor-logo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-600));
    color: var(--c-accent);
    border-radius: var(--radius);
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: -.02em;
}
.creditor-card h3 { margin-bottom: .5rem; }
.creditor-card p { margin: 0; color: var(--c-text-muted); font-size: .95rem; }

/* ---------- Feature grid (how we help) ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.feature {
    background: var(--c-primary-600);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--c-accent); }
.feature-icon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(201,160,66,.15);
    color: var(--c-accent);
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { color: #fff; font-size: 1.1rem; margin-bottom: .5rem; }
.feature p { color: var(--c-text-light-muted); font-size: .95rem; margin: 0; }

.callout {
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-600) 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 28px;
    text-align: center;
}
.callout h3 { color: #fff; font-size: 1.5rem; margin-bottom: .75rem; }
.callout p { color: rgba(255,255,255,.95); max-width: 760px; margin: 0 auto 1.5rem; }
.callout .btn-accent { background: #fff; color: var(--c-primary); }
.callout .btn-accent:hover { background: var(--c-primary); color: #fff; }

/* ---------- Two-column (CKR) ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}
.check-list {
    list-style: none; padding: 0;
    margin: 1.5rem 0;
    display: flex; flex-direction: column; gap: 10px;
}
.check-list li {
    position: relative;
    padding-left: 32px;
    color: var(--c-text);
}
.check-list li::before {
    content: '';
    position: absolute; left: 0; top: 6px;
    width: 20px; height: 20px;
    background: var(--c-success);
    border-radius: 50%;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / 14px;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / 14px;
}
.two-col-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.stat-card.accent {
    background: var(--c-primary);
    color: var(--c-text-light);
    border-color: var(--c-primary);
}
.stat-card.accent .stat-number { color: var(--c-accent); }
.stat-card.accent p { color: var(--c-text-light-muted); }
.stat-number {
    font-family: var(--ff-heading);
    font-size: 2.5rem; font-weight: 800;
    color: var(--c-primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -.02em;
}
.stat-card p { margin: 0; color: var(--c-text-muted); font-size: .95rem; }

/* ---------- Process timeline ---------- */
.process-timeline {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.process-timeline li {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 20px 20px;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.process-timeline li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num {
    font-family: var(--ff-heading);
    font-size: 2.5rem; font-weight: 800;
    color: var(--c-accent);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -.02em;
}
.process-timeline h3 { margin-bottom: .5rem; }
.process-timeline p { margin: 0; color: var(--c-text-muted); }

/* ---------- Why us grid ---------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 1.5rem;
}
.why-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--c-accent);
}
.why-card svg {
    width: 44px; height: 44px;
    color: var(--c-accent);
    margin: 0 auto 16px;
}
.why-card h3 { margin-bottom: .5rem; }
.why-card p { margin: 0; color: var(--c-text-muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list {
    margin-top: 1.5rem;
    display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: var(--c-primary); }
.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px;
    font-family: var(--ff-heading);
    font-weight: 600; font-size: 1.02rem;
    color: var(--c-primary);
    transition: background-color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--c-bg-alt); }
.faq-icon {
    position: relative;
    width: 20px; height: 20px; flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--c-accent);
    border-radius: 2px;
    transition: transform .25s;
}
.faq-icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-icon::after { top: 0; left: 9px; width: 2px; height: 20px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }

.faq-body {
    padding: 0 24px 22px;
    color: var(--c-text-muted);
}
.faq-body p { margin: 0; }

/* ---------- Contact section ---------- */
.section-contact {
    background: linear-gradient(180deg, var(--c-bg-alt) 0%, #fff 100%);
}
.contact-wrap {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}
.contact-left {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-700) 100%);
    color: var(--c-text-light);
    padding: 28px;
}
.contact-left h2 { color: #fff; margin-bottom: 1rem; }
.contact-left p { color: var(--c-text-light-muted); }
.contact-left .eyebrow { color: var(--c-accent); }
.contact-benefits {
    list-style: none; padding: 0; margin: 2rem 0;
    display: flex; flex-direction: column; gap: 12px;
}
.contact-benefits li {
    display: flex; align-items: center; gap: 12px;
    color: var(--c-text-light);
    font-size: .98rem;
}
.contact-benefits svg {
    width: 20px; height: 20px; flex-shrink: 0;
    color: var(--c-accent);
}
.contact-direct {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.12);
}
.contact-direct h3 { color: #fff; font-size: 1.05rem; margin-bottom: .5rem; }
.contact-direct a { color: var(--c-accent); }
.contact-direct a:hover { color: #fff; }

/* ---------- Contact form ---------- */
.contact-form {
    padding: 28px;
}
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.field { margin-bottom: 16px; }
.field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 0;
}
.field label {
    display: block;
    font-size: .9rem; font-weight: 600;
    color: var(--c-text);
    margin-bottom: 6px;
}
.req { color: var(--c-danger); }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: .98rem;
    color: var(--c-text);
    background: #fff;
    border: 1.5px solid var(--c-border-strong);
    border-radius: var(--radius-sm);
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(14,42,71,.1);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.consent label {
    display: flex; align-items: flex-start; gap: 10px;
    font-weight: 400; font-size: .88rem;
    color: var(--c-text-muted);
    cursor: pointer;
}
.field.consent input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--c-primary);
}
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px; overflow: hidden;
}
.form-message {
    margin-top: 16px;
    padding: 0;
    border-radius: var(--radius-sm);
    font-size: .95rem;
}
.form-message.success {
    padding: 14px 16px;
    background: #e8f5ef; color: var(--c-success);
    border: 1px solid #b7e0c9;
}
.form-message.error {
    padding: 14px 16px;
    background: #fdecec; color: var(--c-danger);
    border: 1px solid #f3bebe;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--c-primary-700);
    color: var(--c-text-light-muted);
    padding: 40px 0 20px;
    font-size: .92rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { margin: 1rem 0 0; }
.footer-col h4 {
    color: #fff;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}
.footer-col ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.footer-col a {
    color: var(--c-text-light-muted);
}
.footer-col a:hover { color: var(--c-accent); }
.footer-disclaimer {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: .82rem;
    color: var(--c-text-light-muted);
    line-height: 1.6;
}
.footer-disclaimer strong { color: var(--c-accent); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    align-items: center; gap: 12px;
    padding-top: 20px;
    font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Cookie notice ---------- */
.cookie-notice {
    position: fixed;
    bottom: 16px; left: 16px; right: 16px;
    background: var(--c-primary);
    color: #fff;
    padding: 16px 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    animation: slideUp .4s ease;
}
.cookie-inner {
    display: flex; flex-direction: column; gap: 12px;
    align-items: stretch;
}
.cookie-inner p {
    margin: 0;
    font-size: .9rem;
    color: var(--c-text-light);
}
.cookie-inner a { color: var(--c-accent); text-decoration: underline; }
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ========== Responsive — tablet (≥680px) ========== */
@media (min-width: 680px) {
    .pill-grid { grid-template-columns: repeat(2, 1fr); }
    .creditor-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .field-row { grid-template-columns: repeat(2, 1fr); }
    .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ========== Responsive — desktop (≥960px) ========== */
@media (min-width: 960px) {
    .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 60px; }
    .pill-grid { grid-template-columns: repeat(3, 1fr); }
    .creditor-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .process-timeline { grid-template-columns: repeat(4, 1fr); }
    .two-col { grid-template-columns: 1.3fr 1fr; gap: 60px; }
    .contact-wrap { grid-template-columns: 1fr 1.1fr; }
}

/* ========== Mobile nav ========== */
@media (max-width: 959px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav-list {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        gap: 4px;
        padding: 16px;
        border-bottom: 1px solid var(--c-border);
        box-shadow: var(--shadow);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav-list.is-open { display: flex; }
    .nav-list li { width: 100%; }
    .nav-list a {
        display: block;
        padding: 14px 16px;
        font-size: 1rem;
        width: 100%;
    }
    .nav-list .nav-cta {
        text-align: center;
        margin-left: 0;
        margin-top: 8px;
    }
}

/* ========== Print-friendly ========== */
@media print {
    .site-header, .site-footer, .cookie-notice, .hero-ctas, .nav-toggle { display: none !important; }
    body { color: #000; }
    .section { padding: 20px 0; page-break-inside: avoid; }
}

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(10, 20, 36, .72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: modalFadeIn .2s ease;
}
.modal-overlay[hidden] { display: none; }

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-box {
    background: #fff;
    border-radius: var(--radius-xl);
    width: 100%; max-width: 760px;
    max-height: 90vh;
    display: flex; flex-direction: column;
    box-shadow: 0 32px 80px rgba(10,20,36,.35);
    animation: modalSlideUp .25s ease;
    overflow: hidden;
}
@keyframes modalSlideUp {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--c-border);
    flex-shrink: 0;
    gap: 16px;
    background: var(--c-bg-alt);
}
.modal-header h2 {
    font-size: 1.3rem; margin: 0; color: var(--c-primary);
}
.modal-close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; min-width: 36px;
    border: none; background: var(--c-border); border-radius: 50%;
    color: var(--c-text-muted); cursor: pointer;
    transition: background-color .2s, color .2s;
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: var(--c-primary); color: #fff; }

.modal-body {
    padding: 28px 28px 36px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.modal-body h3 {
    font-size: 1.05rem; margin: 2rem 0 .5rem;
    padding-top: 1rem; border-top: 1px solid var(--c-border);
    color: var(--c-primary);
}
.modal-body h3:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.modal-body p  { color: var(--c-text-muted); font-size: .95rem; }
.modal-body ul { color: var(--c-text-muted); font-size: .95rem; }
.modal-body li { margin-bottom: .5rem; }
.modal-body a  { color: var(--c-accent-600); text-decoration: underline; }
.modal-body a:hover { color: var(--c-primary); }
.modal-body code {
    background: var(--c-bg-alt); padding: 2px 6px;
    border-radius: 4px; font-size: .88rem; color: var(--c-primary);
}
.modal-updated { font-size: .85rem; color: var(--c-text-muted); margin-bottom: 1.5rem; }

.modal-table {
    width: 100%; border-collapse: collapse;
    font-size: .9rem; margin: 1rem 0;
}
.modal-table th {
    background: var(--c-primary); color: #fff;
    padding: 10px 14px; text-align: left; font-size: .85rem;
}
.modal-table td {
    padding: 10px 14px; border-bottom: 1px solid var(--c-border);
    color: var(--c-text-muted); vertical-align: top;
}
.modal-table tr:last-child td { border-bottom: none; }
.modal-table tr:nth-child(even) td { background: var(--c-bg-alt); }

/* Placeholder highlight */
.placeholder-data {
    background: #fff3cd; color: #856404;
    padding: 1px 5px; border-radius: 3px;
    font-style: italic;
}

/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
