/*
Theme Name: Blue Door Funding V8
Theme URI: https://bluedoorfunding.co.uk
Author: Blue Door Funding
Description: Professional UK business finance broker theme - V8 with Meta pixel URL tracking.
Version: 8.0.0
Text Domain: bluedoor
*/

:root {
  --primary: #1e3a8a;
  --secondary: #2563eb;
  --surface: #f6fafe;
  --surface-dim: #eaeef2;
  --dark: #111827;
  --text: #171c1f;
  --text-mid: #44474e;
  --text-light: #74777f;
  --text-hint: #9ca3af;
  --border: #e1e3e6;
  --border-light: #f0f2f5;
  --bg: #ffffff;
  --bg-alt: #f6fafe;
  --tp-green: #00b67a;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; padding-top: 80px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── HEADER (Stitch: sticky, blurred, uppercase nav) ── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; background: #ffffff; border-bottom: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.header::before { content: ''; position: absolute; top: -100px; left: 0; right: 0; height: 100px; background: #ffffff; }
.admin-bar .header { top: 32px; }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo a { display: flex; align-items: center; gap: 10px; }
.logo .custom-logo, .logo .custom-logo-link img { height: 36px; width: auto; }
.logo .custom-logo-link { display: flex; align-items: center; }
.logo-text { font-size: 24px; font-weight: 700; color: var(--primary); letter-spacing: -0.02em; }
.logo-text span { color: var(--secondary); font-weight: 500; }
.nav-desktop { display: flex; align-items: center; background: none; padding: 0; border-radius: 0; box-shadow: none; border: none; gap: 8px; }
.nav-desktop ul, .nav-desktop .menu { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-desktop li { list-style: none; position: relative; }
.nav-desktop a, .nav-desktop .nav-link { font-size: 14px; font-weight: 600; color: var(--text-light); letter-spacing: 0.02em; padding: 13px 18px; border-radius: 0; transition: all 0.2s; background: none; border: none; cursor: pointer; text-transform: none; display: block; position: relative; }
.nav-desktop a:hover { color: var(--primary); }
.nav-desktop .current-menu-item > a, .nav-desktop .current_page_item > a { color: var(--secondary); background: none; }
.nav-desktop .current-menu-item > a::after, .nav-desktop .current_page_item > a::after { content: ''; position: absolute; bottom: 6px; left: 18px; right: 18px; height: 2px; background: var(--secondary); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.btn { display: inline-block; font-family: var(--font); font-weight: 700; cursor: pointer; transition: all 0.2s; border: none; }
.btn-primary { background: var(--primary); color: #fff; padding: 13px 26px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 8px; }
.btn-primary:hover { background: var(--secondary); }
.btn-outline { border: 1px solid var(--border); color: var(--text); padding: 12px 28px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; background: none; }
.btn-outline:hover { background: var(--bg-alt); }
.btn-ghost { color: var(--primary); padding: 14px 8px; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--primary); background: none; border-top: none; border-left: none; border-right: none; border-radius: 0; }
.btn-large { padding: 16px 36px; font-size: 13px; }
.btn-white { display: inline-block; background: #fff; color: var(--primary); padding: 16px 36px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.btn-white:hover { background: var(--bg-alt); }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: all 0.3s; }
.mobile-nav { display: none; background: #ffffff; border-bottom: 1px solid var(--border); padding: 16px 32px 24px; position: fixed; top: 80px; left: 0; right: 0; z-index: 9998; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.admin-bar .mobile-nav { top: 112px; }
.mobile-nav.open { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul, .mobile-nav .menu { display: flex; flex-direction: column; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mobile-nav li { list-style: none; }
.mobile-nav a { font-size: 15px; padding: 12px 0; color: var(--text); border-bottom: 1px solid var(--border-light); display: block; }

/* ── HERO (full-bleed background image with overlay) ── */
.hero { position: relative; overflow: hidden; height: calc(100vh - 80px); display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center center; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(30,58,138,0.95) 0%, rgba(30,58,138,0.92) 28%, rgba(37,99,235,0.65) 40%, rgba(37,99,235,0.2) 50%, rgba(37,99,235,0) 58%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 60px 32px 0; width: 100%; flex: 1; display: flex; align-items: center; }
.hero-content { max-width: 720px; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.hero-label { font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #60a5fa; margin-bottom: 20px; display: block; }
.hero-content h1 { font-size: 52px; font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; color: #fff; margin-bottom: 20px; white-space: nowrap; }
.fade-swap { display: inline-block; position: relative; min-width: 360px; height: 1.25em; vertical-align: top; }
.fs-word { position: absolute; left: 0; top: 0; color: #fff; font-style: italic; font-weight: 800; border-bottom: 4px solid #38bdf8; padding-bottom: 2px; opacity: 0; white-space: nowrap; animation: fsSwap 10s linear infinite; }
.fs-word:nth-child(1) { animation-delay: 0s; }
.fs-word:nth-child(2) { animation-delay: 2s; }
.fs-word:nth-child(3) { animation-delay: 4s; }
.fs-word:nth-child(4) { animation-delay: 6s; }
.fs-word:nth-child(5) { animation-delay: 8s; }
@keyframes fsSwap {
  0%, 1% { opacity: 0; transform: translateY(8px); }
  3%, 18% { opacity: 1; transform: translateY(0); }
  20%, 100% { opacity: 0; transform: translateY(-8px); }
}
.hero-content p { font-size: 17px; color: rgba(255,255,255,0.75); line-height: 1.65; max-width: 480px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-hero-outline { border: 1.5px solid rgba(255,255,255,0.4); color: #fff; padding: 16px 36px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255,255,255,0.08); border-radius: 8px; transition: all 0.2s; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }
.hero-buttons .btn-primary { background: #fff; color: var(--primary); border: 1.5px solid #fff; border-radius: 8px; padding: 16px 36px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-buttons .btn-primary:hover { background: rgba(255,255,255,0.9); color: var(--primary); border-color: rgba(255,255,255,0.9); }

/* ── USP STRIP (V1: blue left-border) ── */
.usps { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 0; background: var(--bg); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp-item { padding: 0 16px; border-left: 2px solid var(--secondary); }
.usp-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.usp-desc { font-size: 12px; color: var(--text-light); }

/* ── HERO TRUSTPILOT BAR (inside hero, bottom) ── */
.hero-tp-bar { position: relative; z-index: 2; background: rgba(255,255,255,0.95); padding: 14px 0; }
.hero-tp-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--text-light); }
.hero-tp-inner strong { color: var(--text); }

/* ── HERO MOBILE TRUSTPILOT ── */
.hero-tp-mobile { display: none; }

/* ── TRUSTPILOT STRIP (hidden - now inside hero) ── */
.tp-strip { display: none; }
.tp-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--text-light); flex-wrap: nowrap; white-space: nowrap; }
.tp-inner strong { color: var(--text); }
.tp-stars { display: flex; gap: 1px; flex-shrink: 0; }
.tp-star { width: 20px; height: 20px; background: var(--tp-green); display: flex; align-items: center; justify-content: center; }
.tp-star svg { width: 11px; height: 11px; fill: #fff; }

/* ── SECTION DEFAULTS ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--primary); color: #fff; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secondary); margin-bottom: 12px; }
.section-heading { font-size: 40px; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }

/* ── JOURNEY STEPS (unified grid) ── */
.journey { padding: 80px 0; background: var(--bg-alt); }
.journey-heading { font-size: 40px; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 48px; }
.journey-unified { position: relative; }
.journey-track { position: absolute; top: 26px; left: 26px; right: calc(20% - 26px); height: 3px; z-index: 0; }
.journey-track-line { width: 100%; height: 100%; background: #dde1e9; }
.journey-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; z-index: 1; }
.journey-col { padding-right: 24px; }
.journey-col:last-child { padding-right: 0; }
.journey-num { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--text-light); background: #dde1e9; margin-bottom: 16px; }
.journey-num.first { background: var(--primary); color: #fff; }
.journey-num.last { background: var(--secondary); color: #fff; }
.journey-col h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.journey-col p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

/* ── ADVANTAGE GRID (Stitch: 3-col with stats) ── */
.advantage { padding: 80px 0; background: var(--bg-alt); }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.adv-cell { padding: 40px 36px; }
.adv-cell-border { border-bottom: 1px solid var(--border); }
.adv-label { font-size: 12px; font-weight: 700; color: var(--secondary); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.adv-heading { font-size: 40px; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 16px; }
.adv-cell > p { font-size: 15px; color: var(--text-light); line-height: 1.7; }
.adv-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.adv-icon svg { width: 28px; height: 28px; color: var(--secondary); }
.adv-cell h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.adv-stats { padding: 40px 36px; }
.adv-stat { margin-bottom: 28px; }
.adv-stat:last-child { margin-bottom: 0; }
.adv-stat-val { font-size: 48px; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -0.03em; }
.adv-stat-label { font-size: 11px; font-weight: 700; color: var(--secondary); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }

/* ── REVIEWS (V1: Trustpilot stars + titles) ── */
.reviews-section { padding: 80px 0; background: var(--bg); }
.tp-rating-line { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-light); margin-bottom: 36px; flex-wrap: wrap; }
.tp-rating-line strong { color: var(--text); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { border: 1px solid var(--border); padding: 28px; }
.review-stars { display: flex; gap: 1px; margin-bottom: 14px; }
.review-star { width: 18px; height: 18px; background: var(--tp-green); display: flex; align-items: center; justify-content: center; }
.review-star svg { width: 10px; height: 10px; fill: #fff; }
.review-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 16px; }
.review-author { font-size: 13px; font-weight: 600; color: var(--text); }
.review-date { font-size: 12px; color: var(--text-hint); }
.reviews-link { text-align: center; margin-top: 28px; }

/* ── CTA BANNER (Stitch: full-width navy) ── */
.cta-banner { background: var(--primary); padding: 80px 0; text-align: center; }
.cta-banner h2 { font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 520px; margin: 0 auto 32px; line-height: 1.6; }

/* ── PAGE HERO (inner pages - Stitch: dark overlay) ── */
.page-hero { background: var(--primary); padding: 80px 0 64px; }
.page-hero h1 { font-size: 48px; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 14px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.6); max-width: 540px; line-height: 1.65; }

/* ── ABOUT (Stitch: mission grid + timeline) ── */
.about-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.about-mission h2 { font-size: 32px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; margin-bottom: 16px; }
.about-mission p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-value { padding: 20px; }
.about-value-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.about-value-icon svg { width: 24px; height: 24px; color: var(--secondary); }
.about-value h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.about-value p { margin-bottom: 0; font-size: 14px; }
.timeline { max-width: 600px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -34px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--secondary); border: 3px solid var(--bg); }
.timeline-year { font-size: 12px; font-weight: 700; color: var(--secondary); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.timeline-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: var(--text-light); }
.reg-banner { background: var(--primary); padding: 60px 0; color: #fff; }
.reg-banner h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.reg-banner p { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 600px; line-height: 1.7; }

/* ── FINANCE TYPES (Stitch: sidebar tabs + detail panel) ── */
.ft-layout { display: grid; grid-template-columns: 240px 1fr; gap: 0; min-height: 560px; }
.ft-nav { display: flex; flex-direction: column; border-right: 1px solid var(--border); padding-top: 0; }
.ft-nav-item { padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--text-light); cursor: pointer; transition: all 0.15s; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border-light); border-left: 3px solid transparent; }
.ft-nav-item:first-child { border-top: none; }
.ft-nav-item:hover { color: var(--text); background: var(--bg-alt); }
.ft-nav-item.active { color: var(--secondary); background: var(--bg); border-left-color: var(--secondary); }
.ft-nav-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ft-nav-icon svg { width: 18px; height: 18px; color: var(--secondary); }
.ft-nav-item.active .ft-nav-icon svg { color: var(--secondary); }
.ft-panel { display: none; padding: 28px 48px 40px; }
.ft-panel.active { display: block; }
.ft-panel-label { font-size: 12px; font-weight: 700; color: var(--secondary); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.ft-panel h2 { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin-bottom: 16px; }
.ft-panel-desc { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 28px; }
.ft-panel-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.ft-col-title { font-size: 11px; font-weight: 700; color: var(--text); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.ft-col-list { list-style: none; }
.ft-col-list li { font-size: 14px; color: var(--text-mid); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.ft-col-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); flex-shrink: 0; }
.ft-panel-sub { font-size: 12px; color: var(--text-hint); margin-top: 14px; }

/* ── CONTACT (Stitch: form + sidebar) ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: -60px; position: relative; z-index: 2; }
.contact-form-wrap { background: var(--bg); padding: 48px; border: 1px solid var(--border); }
.contact-form-wrap h2 { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 28px; letter-spacing: -0.02em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 0; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; display: block; }
.form-input { width: 100%; background: var(--bg-alt); border: 1px solid var(--border); padding: 14px 16px; font-family: var(--font); font-size: 14px; color: var(--text); outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: var(--secondary); }
.form-input::placeholder { color: var(--text-hint); }
textarea.form-input { resize: vertical; }
.form-note { font-size: 11px; color: var(--text-hint); text-transform: uppercase; letter-spacing: 0.08em; text-align: center; margin-top: 16px; }
.contact-sidebar { background: var(--bg); padding: 48px; border: 1px solid var(--border); border-left: none; }
.contact-response { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--secondary); display: inline-block; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.contact-item-icon svg { width: 22px; height: 22px; color: var(--secondary); }
.contact-item-label { font-size: 11px; font-weight: 700; color: var(--secondary); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
.contact-item-value { font-size: 16px; font-weight: 600; color: var(--text); }
.contact-item-detail { font-size: 13px; color: var(--text-light); }
.contact-reg { background: var(--primary); padding: 28px; margin-top: 24px; }
.contact-reg h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.contact-reg p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.contact-success { text-align: center; padding: 48px 24px; }
.contact-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.contact-success p { color: var(--text-mid); }

/* ── FOOTER (Stitch: 4-col grid) ── */
.footer { background: var(--dark); padding: 56px 0 32px; color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; margin-bottom: 36px; }
.footer-brand p { max-width: 260px; line-height: 1.65; margin-top: 14px; }
.footer-logo { margin-bottom: 4px; }
.footer-logo img, .footer-logo .custom-logo { height: 36px; width: auto; max-width: 180px; }
.footer-logo .custom-logo-link { display: inline-block; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 13px; transition: color 0.2s; display: block; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,0.25); flex-wrap: wrap; gap: 8px; }

/* ── PRIVACY POLICY ── */
.privacy-content h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin-top: 36px; margin-bottom: 12px; letter-spacing: -0.01em; }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content h3 { font-size: 16px; font-weight: 600; margin-top: 16px; margin-bottom: 6px; }
.privacy-content p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 12px; }
.privacy-content a { color: var(--secondary); }
.privacy-table { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin: 16px 0 20px; }
.privacy-table-row { display: grid; grid-template-columns: 1fr 1fr; }
.privacy-table-row div { padding: 12px 16px; font-size: 14px; color: var(--text-mid); border-bottom: 1px solid var(--border); }
.privacy-table-row:last-child div { border-bottom: none; }
.privacy-table-header div { font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: 0.06em; text-transform: uppercase; background: var(--bg-alt); }

/* ── CASE STUDY ── */
.case-study { padding: 80px 0; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cs-image { position: relative; }
.cs-img { width: 100%; height: 400px; object-fit: cover; border-radius: 12px; display: block; }
.cs-stat-badge { position: absolute; bottom: -20px; left: 20px; background: var(--primary); color: #fff; padding: 20px 28px; border-radius: 8px; max-width: 280px; }
.cs-stat-val { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.cs-stat-desc { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); line-height: 1.4; }
.cs-heading { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin-bottom: 16px; }
.cs-desc { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; }
.cs-points { margin-bottom: 28px; }
.cs-point { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.cs-point strong { color: var(--text); display: block; margin-bottom: 4px; }

/* ── FINANCE CALCULATOR ── */
.calc-section { background: var(--bg); }
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; }
.calc-left { padding: 32px; }
.calc-right { background: var(--bg-alt); padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.calc-field { margin-bottom: 20px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-label { font-size: 13px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; margin-bottom: 10px; }
.calc-label span { color: var(--secondary); font-weight: 700; }
.calc-slider { width: 100%; height: 6px; -webkit-appearance: none; appearance: none; background: #dde1f0; border-radius: 3px; outline: none; cursor: pointer; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.calc-slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); cursor: pointer; }
.calc-credit-tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.calc-credit-tile { padding: 14px 12px; text-align: center; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; transition: all 0.2s; background: var(--bg); display: flex; align-items: center; justify-content: center; gap: 8px; }
.calc-credit-tile:hover { border-color: #c7cfdf; }
.calc-tick { display: none; flex-shrink: 0; }
.calc-credit-tile.selected { border-color: var(--secondary); background: #f0f5ff; }
.calc-credit-tile.selected .calc-tick { display: block; }
.calc-credit-name { font-size: 14px; font-weight: 600; color: var(--text-light); }
.calc-credit-tile.selected .calc-credit-name { color: var(--primary); }
.calc-monthly { font-size: 44px; font-weight: 800; color: var(--primary); margin-bottom: 4px; letter-spacing: -0.02em; }
.calc-monthly-label { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.calc-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; margin-bottom: 24px; }
.calc-mini-val { font-size: 20px; font-weight: 700; color: var(--text); }
.calc-mini-label { font-size: 10px; font-weight: 600; color: var(--text-hint); letter-spacing: 0.08em; text-transform: uppercase; }
.calc-cta { display: block; width: 100%; padding: 14px; font-family: var(--font); font-size: 14px; font-weight: 700; color: #fff; background: var(--primary); border: none; border-radius: 8px; text-align: center; text-decoration: none; transition: background 0.2s; }
.calc-cta:hover { background: var(--secondary); }
.calc-disclaimer { font-size: 11px; color: var(--text-hint); text-align: center; margin-top: 16px; line-height: 1.5; }

/* ── ADVANTAGE SWIPE (mobile only) ── */
.adv-swipe { display: none; }

/* ── LEGAL PAGES ── */
.legal-content { max-width: 720px; }
.legal-content h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin: 36px 0 12px; letter-spacing: -0.01em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { margin: 12px 0 12px 20px; list-style: disc; }
.legal-content ul li { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.legal-table th { text-align: left; font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0.04em; text-transform: uppercase; padding: 12px 16px; border-bottom: 2px solid var(--border); background: var(--bg-alt); }
.legal-table td { font-size: 14px; color: var(--text-mid); padding: 12px 16px; border-bottom: 1px solid var(--border); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* Header */
  body { padding-top: 64px; }
  .header { top: 0; left: 0; right: 0; width: 100%; max-width: none; transform: none; border-radius: 0; }
  .header-inner { height: 64px; padding: 0 20px; }
  .nav-desktop { display: none; }
  .header-actions .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
  .mobile-nav { top: 64px; left: 0; right: 0; width: 100%; max-width: none; transform: none; padding: 16px 20px 24px; border-radius: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
  .mobile-nav a { color: var(--text); font-size: 16px; font-weight: 500; }
  .mobile-nav .btn-primary { color: #fff !important; }
  .admin-bar .header { top: 0; }
  .admin-bar .mobile-nav { top: 64px; }
  .admin-bar body { padding-top: 64px; }

  /* Hero - full bleed mobile */
  .hero { height: calc(100vh - 64px); }
  .hero-bg { background-position: 60% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(15,23,42,0.92) 0%, rgba(30,58,138,0.88) 50%, rgba(30,58,138,0.7) 100%); }
  .hero-inner { padding: 0 24px; flex: 1; display: flex; align-items: center; }
  .hero-tp-bar { display: none; }
  .hero-label { display: block; font-size: 11px; color: #60a5fa; margin-bottom: 12px; }
  .hero-content h1 { font-size: clamp(32px, 8vw, 42px); line-height: 1.1; margin-bottom: clamp(10px, 2vh, 18px); white-space: normal; }
  .fade-swap { min-width: 240px; }
  .hero-content p { font-size: clamp(15px, 3.5vw, 17px); margin-bottom: clamp(16px, 3vh, 28px); }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .btn-hero-outline { color: #fff; }

  /* USP - hide on mobile (shown in hero instead) */
  .usps { display: none; }

  /* Trustpilot - show inside hero, hide standalone */
  .hero-tp-mobile { display: block; margin-top: clamp(16px, 3vh, 28px); font-size: 13px; color: rgba(255,255,255,0.5); }
  .hero-tp-mobile .tp-inner { font-size: 13px; gap: 6px; flex-wrap: nowrap; color: rgba(255,255,255,0.5); }
  .hero-tp-mobile .tp-inner strong { color: #fff; }
  .hero-usps-mobile { display: flex; justify-content: flex-start; gap: 16px; margin-top: clamp(10px, 2vh, 16px); font-size: 12px; color: #fff; }
  .hero-usps-mobile span { white-space: nowrap; }
  .tp-strip { display: none; }

  /* Page hero (all inner pages) */
  .page-hero { padding: 28px 0 28px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero p { font-size: 14px; }

  /* USP */
  .usps { padding: 16px 0; overflow: hidden; }
  .usps .container { padding: 0; }
  .usp-grid { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 20px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; gap: 0; padding: 0 20px; scrollbar-width: none; }
  .usp-grid::-webkit-scrollbar { display: none; }
  .usp-item { min-width: 200px; flex-shrink: 0; scroll-snap-align: start; padding: 0 16px; border-left: 2px solid var(--secondary); }

  /* Journey */
  .journey { padding: 18px 0 36px; overflow: hidden; }
  .journey-heading { font-size: 26px; margin-bottom: 20px; }
  .journey-track { display: none; }
  .journey-cols { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 20px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; gap: 16px; padding: 0 20px; scrollbar-width: none; }
  .journey-cols::-webkit-scrollbar { display: none; }
  .journey-col { min-width: 82vw; max-width: 82vw; flex-shrink: 0; scroll-snap-align: start; background: var(--bg); border: 1px solid var(--border); padding: 24px; border-radius: 8px; }
  .journey-col .journey-num { margin-bottom: 12px; }

  /* Advantage */
  .advantage { padding: 36px 0; overflow: hidden; }
  .adv-grid { display: flex; flex-direction: column; }
  .adv-cell { padding: 24px 20px; }
  .adv-cell-border { border-bottom: 1px solid var(--border); }
  .adv-heading { font-size: 26px; }
  .adv-intro { order: 1; }
  .adv-feature { display: none; }
  .adv-stats { order: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; padding: 24px 20px; border-bottom: none; }
  .adv-stat { margin-bottom: 0; }
  .adv-stat-val { font-size: 24px; }
  .adv-swipe { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 20px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; gap: 16px; padding: 16px 20px 4px; scrollbar-width: none; order: 2; }
  .adv-swipe::-webkit-scrollbar { display: none; }
  .adv-swipe-card { min-width: 82vw; max-width: 82vw; flex-shrink: 0; scroll-snap-align: start; background: var(--bg); border: 1px solid var(--border); padding: 24px; border-radius: 8px; }
  .adv-swipe-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
  .adv-swipe-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

  /* Reviews */
  .reviews-section { padding: 36px 0; overflow: hidden; }
  .tp-rating-line { font-size: 13px; }
  .reviews-grid { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 20px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; gap: 16px; padding: 0 20px; scrollbar-width: none; }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card { min-width: 82vw; max-width: 82vw; flex-shrink: 0; scroll-snap-align: start; }

  /* CTA */
  .cta-banner { padding: 40px 0; }

  /* Calculator */
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-left { padding: 24px 20px; }
  .calc-right { padding: 24px 20px; }
  .calc-monthly { font-size: 36px; }
  .calc-credit-tiles { grid-template-columns: 1fr 1fr 1fr; }

  /* Case study */
  .cs-grid { grid-template-columns: 1fr; gap: 32px; }
  .cs-img-placeholder { height: 240px; }
  .cs-heading { font-size: 24px; }

  /* CTA text */
  .cta-banner h2 { font-size: 24px; }
  .cta-banner p { font-size: 14px; }

  /* Finance Types */
  .ft-layout { grid-template-columns: 1fr; min-height: auto; }
  .ft-nav { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 0; border-right: none; border-bottom: 1px solid var(--border); padding: 0; scrollbar-width: none; }
  .ft-nav::-webkit-scrollbar { display: none; }
  .ft-nav-item { font-size: 13px; padding: 12px 16px; border-bottom: none; border-left: none !important; white-space: nowrap; flex-shrink: 0; scroll-snap-align: start; }
  .ft-nav-item.active { border-bottom: 3px solid var(--secondary); border-left: none !important; }
  .ft-panel { padding: 24px 20px; }
  .ft-panel h2 { font-size: 22px; }
  .ft-panel-desc { font-size: 14px; }
  .ft-panel-cols { grid-template-columns: 1fr; gap: 24px; }

  /* About */
  .about-mission { grid-template-columns: 1fr; gap: 32px; }
  .about-mission h2 { font-size: 26px; }
  .about-values { grid-template-columns: 1fr; }
  .timeline { padding-left: 32px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; margin-top: -30px; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-form-wrap h2 { font-size: 20px; }
  .contact-sidebar { border-left: none; border-top: 1px solid var(--border); padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Apply form */
  .af-page { padding: 16px 16px 32px; }
  .af-card { padding: 24px 18px 20px; border-radius: 12px; }
  .af-step h2 { font-size: 19px; }
  .af-grid.c3 { grid-template-columns: 1fr 1fr 1fr; }
  .af-grid.c4 { grid-template-columns: 1fr 1fr; }
  .af-tile { padding: 16px 6px; font-size: 12px; }
  .af-tile svg { width: 22px; height: 22px; }
  .af-tile-glyph { font-size: 24px; height: 22px; }
  .af-chip { padding: 8px 16px; font-size: 13px; }
  .af-next { padding: 14px 24px; }

  /* Legal pages (Terms, Privacy) */
  .legal-content { padding: 0; }
  .legal-content h2 { font-size: 18px; margin-top: 28px; }
  .legal-content p { font-size: 14px; }
  .legal-content ul li { font-size: 14px; }
  .legal-table { font-size: 12px; }
  .legal-table th, .legal-table td { padding: 10px 12px; }

  /* Footer */
  .footer { padding: 32px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Global */
  .section { padding: 36px 0; }
  .section-label { font-size: 11px; }
  .section-heading { font-size: 26px; }
  .container { padding: 0 20px; }
}

/* ── FLOATING CONTACT BUTTON ── */
.fc-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 9998; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fc-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--secondary); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 20px rgba(37,99,235,0.35), 0 2px 6px rgba(37,99,235,0.2); transition: all 0.3s cubic-bezier(0.4,0,0.2,1); position: relative; }
.fc-btn:hover { background: var(--primary); transform: scale(1.05); box-shadow: 0 8px 24px rgba(30,58,138,0.4), 0 3px 8px rgba(30,58,138,0.25); }
.fc-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--secondary); opacity: 0.4; animation: fc-pulse 2s ease-out infinite; z-index: -1; }
@keyframes fc-pulse { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(1.5); opacity: 0; } }
.fc-icon-close { display: none; }
.fc-wrap.open .fc-icon-msg { display: none; }
.fc-wrap.open .fc-icon-close { display: block; }
.fc-wrap.open .fc-btn::before { animation: none; }
.fc-menu { display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.95); transition: all 0.25s cubic-bezier(0.4,0,0.2,1); transform-origin: bottom right; }
.fc-wrap.open .fc-menu { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.fc-option { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; border-radius: 14px; box-shadow: 0 4px 16px rgba(30,58,138,0.12), 0 1px 4px rgba(30,58,138,0.06); text-decoration: none; transition: all 0.2s; min-width: 200px; }
.fc-option:hover { transform: translateX(-4px); box-shadow: 0 6px 20px rgba(30,58,138,0.18); }
.fc-option-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.fc-whatsapp { background: #25d366; }
.fc-call { background: var(--secondary); }
.fc-email { background: var(--primary); }
.fc-option-text { display: flex; flex-direction: column; line-height: 1.3; }
.fc-option-text strong { font-size: 14px; font-weight: 700; color: var(--text); }
.fc-option-text span { font-size: 12px; color: var(--text-light); }

@media (max-width: 900px) {
  .fc-wrap { bottom: 16px; right: 16px; }
  .fc-btn { width: 54px; height: 54px; }
  .fc-option { min-width: 180px; padding: 10px 14px 10px 10px; }
  .fc-option-icon { width: 36px; height: 36px; }
}

/* Lender strip ------------------------------------------------------------- */
.lender-strip { background: var(--bg); padding: 44px 0 36px; border-bottom: 1px solid var(--border-light); }
.lender-strip-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-light); margin-bottom: 28px; }
.lender-row { display: flex; align-items: center; justify-content: center; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.lender-item { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: calc(var(--i) * 180ms + 100ms); }
.lender-strip.visible .lender-item { opacity: 1; transform: translateY(0); }
.lender-item img { height: 42px; width: auto; max-width: 200px; object-fit: contain; opacity: 0.85; transition: opacity 0.3s; }
.lender-item:hover img { opacity: 1; }
.lender-more { display: flex; align-items: baseline; gap: 8px; padding-left: clamp(16px, 3vw, 32px); border-left: 1px solid var(--border); }
.lender-more-num { font-size: 28px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.lender-more-text { font-size: 15px; font-weight: 500; color: var(--text-mid); }
@media (prefers-reduced-motion: reduce) {
  .lender-item { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 768px) {
  .lender-strip { padding: 32px 0 26px; }
  .lender-item img { height: 32px; max-width: 140px; }
  .lender-more-num { font-size: 22px; }
  .lender-more-text { font-size: 13px; }
  .lender-more { padding-left: 16px; }
}
