/* ============================================================
   QUOTACASA — DESIGN SYSTEM
   Palette: Navy #062450 · Green #03b297 · Blue #0495e6 · White
   Type: Fraunces (display) · Inter (body/UI) · IBM Plex Mono (data)
   Signature: "Spectrum" gradient (blue→navy→green) — the visual
   language for "a real range, not a guess" — and a subtle
   architectural blueprint-grid texture for hero/CTA sections.
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
    /* Brand colors (exact brief values) */
    --qc-navy:        #062450;
    --qc-green:       #03b297;
    --qc-blue:        #0495e6;
    --qc-white:       #ffffff;

    /* Derived brand shades */
    --qc-navy-700:    #0a3a7a;
    --qc-navy-900:    #041830;
    --qc-green-deep:  #027a66;  /* AA-safe on white for text/links */
    --qc-green-light: #e3f9f5;
    --qc-blue-deep:   #0376b8;  /* AA-safe on white for text/links */
    --qc-blue-light:  #e7f4fd;

    /* Neutrals */
    --qc-ink:         #16243d;
    --qc-ink-muted:   #5b6b85;
    --qc-ink-soft:    #8a97ad;
    --qc-bg:          #f6f8fb;
    --qc-bg-alt:      #eef2f8;
    --qc-border:      #dde6f0;
    --qc-border-soft: #eef2f7;

    /* State colors */
    --qc-warning:     #f0a431;
    --qc-warning-bg:  #fdf3e3;
    --qc-danger:      #e2483d;
    --qc-danger-bg:   #fce9e7;
    --qc-success-bg:  #e3f9f5;

    /* Gradients */
    --qc-gradient-hero: linear-gradient(135deg, #051d40 0%, #0a3a7a 55%, #0f5b9e 100%);
    --qc-gradient-spectrum: linear-gradient(90deg, var(--qc-blue) 0%, var(--qc-navy) 50%, var(--qc-green) 100%);
    --qc-gradient-card: linear-gradient(160deg, #ffffff 0%, #f7faff 100%);

    /* Typography */
    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

    /* Layout */
    --qc-radius-sm: 8px;
    --qc-radius: 14px;
    --qc-radius-lg: 22px;
    --qc-radius-pill: 999px;
    --qc-shadow-sm: 0 2px 8px rgba(6, 36, 80, 0.06);
    --qc-shadow: 0 8px 30px rgba(6, 36, 80, 0.08);
    --qc-shadow-lg: 0 20px 60px rgba(6, 36, 80, 0.16);
    --qc-section-py: clamp(3.5rem, 8vw, 6rem);
    --container-max: 1200px;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-body);
    color: var(--qc-ink);
    background: var(--qc-white);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a {
    color: var(--qc-blue-deep);
    text-decoration: none;
    transition: color .15s ease;
}
a:hover { color: var(--qc-navy); }

/* Visible focus ring everywhere — accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--qc-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection { background: var(--qc-green-light); color: var(--qc-navy); }

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6,
.font-display {
    font-family: var(--font-display);
    color: var(--qc-navy);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.font-mono,
.price-value,
.stat-num,
.stat-card-value,
.demo-result-value,
.pdf-mock-price {
    font-family: var(--font-mono);
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead-form-subtitle,
.hero-subtitle,
.section-subtitle,
.valuation-subtitle {
    color: var(--qc-ink-muted);
}

/* ---------- 4. LAYOUT HELPERS ---------- */
.container { max-width: var(--container-max); }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--qc-blue-light);
    color: var(--qc-blue-deep);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: var(--qc-radius-pill);
    margin-bottom: .85rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: .5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

.section-header { margin-bottom: 3rem; }

/* Signature divider: the "spectrum" gradient hairline used between
   major sections to reinforce the brand's min→avg→max visual motif */
.spectrum-divider {
    height: 4px;
    width: 100%;
    border: 0;
    background: var(--qc-gradient-spectrum);
    opacity: .55;
    margin: 0;
}

/* ---------- 5. BUTTONS ---------- */
.btn { font-weight: 600; border-radius: var(--qc-radius-sm); }

.btn-primary {
    background: var(--qc-blue);
    border-color: var(--qc-blue);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--qc-blue-deep);
    border-color: var(--qc-blue-deep);
}

.btn-success {
    background: var(--qc-green);
    border-color: var(--qc-green);
}
.btn-success:hover, .btn-success:focus {
    background: var(--qc-green-deep);
    border-color: var(--qc-green-deep);
}

.btn-outline-primary {
    color: var(--qc-blue-deep);
    border-color: var(--qc-blue);
}
.btn-outline-primary:hover {
    background: var(--qc-blue);
    border-color: var(--qc-blue);
}

/* Hero CTAs */
.btn-hero-primary {
    background: var(--qc-green);
    color: var(--qc-navy-900);
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: .95rem 1.9rem;
    border-radius: var(--qc-radius-pill);
    box-shadow: 0 10px 30px rgba(3, 178, 151, .35);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    display: inline-flex;
    align-items: center;
}
.btn-hero-primary:hover, .btn-hero-primary:focus {
    background: #04c9a9;
    color: var(--qc-navy-900);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(3, 178, 151, .45);
}

.btn-hero-secondary {
    background: rgba(255,255,255,.08);
    color: var(--qc-white);
    border: 1.5px solid rgba(255,255,255,.35);
    font-weight: 600;
    padding: .95rem 1.9rem;
    border-radius: var(--qc-radius-pill);
    display: inline-flex;
    align-items: center;
    transition: background .15s ease, border-color .15s ease;
}
.btn-hero-secondary:hover, .btn-hero-secondary:focus {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.6);
    color: var(--qc-white);
}

/* Navbar CTA */
.btn-cta-nav {
    border-radius: var(--qc-radius-pill);
    padding: .5rem 1.25rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(4, 149, 230, .25);
}

/* Valuation flow buttons */
.btn-valuation-next, .btn-lead-submit {
    border-radius: var(--qc-radius-pill);
    padding: .9rem 1.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-valuation-next:hover { transform: translateY(-1px); box-shadow: var(--qc-shadow); }
.btn-lead-submit {
    box-shadow: 0 10px 26px rgba(3, 178, 151, .28);
}
.btn-lead-submit:hover { transform: translateY(-1px); }

/* ---------- 6. FORMS ---------- */
.form-label { font-weight: 600; color: var(--qc-navy); margin-bottom: .4rem; }

.required-label::after {
    content: " *";
    color: var(--qc-danger);
    font-weight: 700;
}

.form-control, .form-select {
    border: 1.5px solid var(--qc-border);
    border-radius: var(--qc-radius-sm);
    padding: .65rem .9rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--qc-blue);
    box-shadow: 0 0 0 3px rgba(4, 149, 230, .15);
}
.form-control-lg { padding: .85rem 1.1rem; font-size: 1.05rem; }

.input-group-text {
    background: var(--qc-bg-alt);
    border: 1.5px solid var(--qc-border);
    color: var(--qc-ink-muted);
}

.form-check-input { width: 1.15em; height: 1.15em; margin-top: .2em; }
.form-check-input:checked {
    background-color: var(--qc-blue);
    border-color: var(--qc-blue);
}
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(4, 149, 230, .15); }
.form-switch .form-check-input:checked { background-color: var(--qc-green); border-color: var(--qc-green); }

/* ---------- 7. NAVBAR ---------- */
.navbar-qc {
    background: var(--qc-white);
    box-shadow: 0 1px 0 var(--qc-border);
    padding: .85rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--qc-navy) !important;
}
.brand-icon { font-size: 1.5rem; line-height: 1; }
.brand-name strong { color: var(--qc-green-deep); }

.navbar-qc .nav-link {
    color: var(--qc-ink);
    font-weight: 600;
    padding: .5rem 1rem !important;
    border-radius: var(--qc-radius-sm);
}
.navbar-qc .nav-link:hover { color: var(--qc-blue-deep); }
.navbar-qc .nav-link.active {
    color: var(--qc-blue-deep);
    background: var(--qc-blue-light);
}

/* ---------- 8. COOKIE BANNER ---------- */
.cookie-banner {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    max-width: 760px;
    margin: 0 auto;
    background: var(--qc-white);
    border: 1px solid var(--qc-border);
    border-radius: var(--qc-radius);
    box-shadow: var(--qc-shadow-lg);
    padding: 1.5rem;
    z-index: 2000;
}
.cookie-banner-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
}
.cookie-content { display: flex; gap: 1rem; align-items: flex-start; flex: 1 1 320px; }
.cookie-icon { font-size: 1.8rem; line-height: 1; }
.cookie-title { font-size: 1.1rem; margin-bottom: .35rem; }
.cookie-text p { font-size: .9rem; color: var(--qc-ink-muted); margin-bottom: 0; }
.cookie-link { font-weight: 600; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; flex-shrink: 0; }
.cookie-btn { border-radius: var(--qc-radius-pill); padding: .5rem 1.1rem; white-space: nowrap; }
.cookie-custom-panel hr { border-color: var(--qc-border); }
.cookie-category { background: var(--qc-bg); border-radius: var(--qc-radius-sm); padding: .75rem 1rem; }

/* ---------- 9. FOOTER ---------- */
.footer-qc {
    background: var(--qc-navy-900);
    color: rgba(255,255,255,.7);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--qc-white);
}
.footer-brand .brand-name strong { color: var(--qc-green); }
.footer-desc { color: rgba(255,255,255,.55); font-size: .92rem; max-width: 320px; }
.footer-heading {
    color: var(--qc-white);
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .92rem; }
.footer-links a:hover { color: var(--qc-green); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 0; }
.footer-bottom p { color: rgba(255,255,255,.5); }
.footer-social { display: flex; gap: .6rem; }
.social-link {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    color: var(--qc-white);
    transition: background .15s ease, color .15s ease;
}
.social-link:hover { background: var(--qc-green); color: var(--qc-navy-900); }
#cookieSettingsBtn {
    color: rgba(255,255,255,.7);
    border-color: rgba(255,255,255,.25);
}
#cookieSettingsBtn:hover {
    color: var(--qc-white);
    border-color: var(--qc-white);
    background: rgba(255,255,255,.08);
}

/* ============================================================
   10. HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    background: var(--qc-gradient-hero);
    color: var(--qc-white);
    overflow: hidden;
    padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.min-vh-hero { min-height: 0; }
@media (min-width: 992px) { .min-vh-hero { min-height: 620px; } }

/* Blueprint-grid texture — grounds the brand in "architecture/plans"
   without using literal house iconography */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 64px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 64px),
        radial-gradient(circle at 85% 20%, rgba(3,178,151,.35) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(4,149,230,.25) 0%, transparent 40%);
    pointer-events: none;
}
.hero-bg::before {
    /* Corner drafting marks — like a floor-plan crop mark */
    content: "";
    position: absolute;
    top: 8%; left: 4%;
    width: 90px; height: 90px;
    border-top: 2px solid rgba(255,255,255,.25);
    border-left: 2px solid rgba(255,255,255,.25);
}
.hero-bg::after {
    content: "";
    position: absolute;
    bottom: 10%; right: 5%;
    width: 110px; height: 110px;
    border-bottom: 2px solid rgba(3,178,151,.3);
    border-right: 2px solid rgba(3,178,151,.3);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(3,178,151,.18);
    border: 1px solid rgba(3,178,151,.4);
    color: #6ff0d8;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .4rem 1rem;
    border-radius: var(--qc-radius-pill);
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    color: var(--qc-white);
    font-weight: 600;
    margin: 1rem 0 1.25rem;
}
.hero-title-highlight {
    color: var(--qc-green);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255,255,255,.8);
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 2.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .stat-num {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--qc-white);
}
.hero-stat .stat-label {
    font-size: .8rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.hero-stat-divider {
    width: 1px;
    height: 34px;
    background: rgba(255,255,255,.18);
}

/* ---------- Hero demo card (the "thesis" visual) ---------- */
.hero-visual { display: flex; justify-content: center; }
.hero-card-demo {
    background: var(--qc-white);
    color: var(--qc-ink);
    border-radius: var(--qc-radius-lg);
    box-shadow: var(--qc-shadow-lg);
    padding: 1.5rem;
    width: 100%;
    max-width: 420px;
    transform: rotate(1.2deg);
    animation: qc-float 7s ease-in-out infinite;
}
@keyframes qc-float {
    0%, 100% { transform: rotate(1.2deg) translateY(0); }
    50% { transform: rotate(1.2deg) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-card-demo { animation: none; }
}

.demo-header {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding-bottom: .85rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--qc-border-soft);
}
.demo-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.demo-dot.red { background: #f06a6a; }
.demo-dot.yellow { background: #f0c94a; }
.demo-dot.green { background: #6ad99f; }
.demo-title { margin-left: .6rem; font-size: .85rem; font-weight: 700; color: var(--qc-ink-muted); }

.demo-address {
    font-weight: 700;
    color: var(--qc-navy);
    margin-bottom: .85rem;
    font-size: 1.05rem;
}

.demo-props { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.demo-tag {
    background: var(--qc-bg-alt);
    color: var(--qc-ink-muted);
    font-size: .8rem;
    font-weight: 600;
    padding: .3rem .7rem;
    border-radius: var(--qc-radius-pill);
}

.demo-result {
    background: var(--qc-bg);
    border-radius: var(--qc-radius);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin-bottom: 1rem;
}
.demo-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
    color: var(--qc-ink-muted);
}
.demo-result-row.featured {
    background: var(--qc-white);
    border-radius: var(--qc-radius-sm);
    padding: .6rem .75rem;
    box-shadow: var(--qc-shadow-sm);
    font-weight: 700;
    color: var(--qc-navy);
}
.demo-result-value { font-weight: 700; }
.demo-result-value.min { color: var(--qc-blue-deep); }
.demo-result-value.med { color: var(--qc-navy); font-size: 1.15rem; }
.demo-result-value.max { color: var(--qc-green-deep); }

.demo-cta {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.demo-progress {
    height: 6px;
    border-radius: var(--qc-radius-pill);
    background: var(--qc-gradient-spectrum);
}
.demo-cta-text {
    font-size: .82rem;
    font-weight: 700;
    color: var(--qc-green-deep);
    text-align: center;
}

/* ============================================================
   11. COME FUNZIONA (HOW IT WORKS CARDS)
   ============================================================ */
.section-how { padding: var(--qc-section-py) 0; background: var(--qc-white); }

.how-card {
    background: var(--qc-bg);
    border-radius: var(--qc-radius-lg);
    padding: 2rem 1.75rem;
    height: 100%;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
    border: 1px solid transparent;
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--qc-shadow); }
.how-card.featured {
    background: var(--qc-navy);
    color: var(--qc-white);
}
.how-card.featured .how-title { color: var(--qc-white); }
.how-card.featured .how-desc { color: rgba(255,255,255,.7); }
.how-card.featured .how-icon { background: rgba(3,178,151,.18); color: var(--qc-green); }
.how-card.featured .how-step { color: rgba(255,255,255,.15); }

.how-step {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--qc-border);
    line-height: 1;
    margin-bottom: .5rem;
}
.how-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--qc-blue-light);
    color: var(--qc-blue-deep);
    border-radius: var(--qc-radius);
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}
.how-title { font-size: 1.25rem; margin-bottom: .6rem; }
.how-desc { color: var(--qc-ink-muted); font-size: .95rem; margin-bottom: 0; }

/* ============================================================
   12. VANTAGGI (BENEFITS)
   ============================================================ */
.section-benefits { padding: var(--qc-section-py) 0; background: var(--qc-bg); }

.benefit-item {
    background: var(--qc-white);
    border-radius: var(--qc-radius);
    padding: 1.75rem 1.5rem;
    height: 100%;
    border: 1px solid var(--qc-border-soft);
    transition: border-color .2s ease, transform .2s ease;
}
.benefit-item:hover { transform: translateY(-3px); border-color: var(--qc-blue); }
.benefit-item.featured {
    background: var(--qc-gradient-spectrum);
    border: none;
}
.benefit-item.featured .benefit-icon { background: rgba(255,255,255,.25); color: var(--qc-white); }
.benefit-item.featured .benefit-title,
.benefit-item.featured p { color: var(--qc-white); }

.benefit-icon {
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: var(--qc-green-light);
    color: var(--qc-green-deep);
    border-radius: var(--qc-radius-sm);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.benefit-title { font-size: 1.1rem; margin-bottom: .4rem; }
.benefit-item p { color: var(--qc-ink-muted); font-size: .92rem; margin-bottom: 0; }

/* ============================================================
   13. TESTIMONIANZE
   ============================================================ */
.section-testimonials { padding: var(--qc-section-py) 0; background: var(--qc-white); }

.testimonial-card {
    background: var(--qc-bg);
    border-radius: var(--qc-radius-lg);
    padding: 1.85rem;
    height: 100%;
    border: 1px solid var(--qc-border-soft);
}
.testimonial-card.featured {
    background: var(--qc-navy);
    color: var(--qc-white);
    border: none;
}
.testimonial-card.featured .testimonial-text { color: rgba(255,255,255,.9); }
.testimonial-card.featured .testimonial-author strong { color: var(--qc-white); }
.testimonial-card.featured .author-avatar { background: var(--qc-green); color: var(--qc-navy-900); }

.stars { color: var(--qc-warning); font-size: .9rem; margin-bottom: .85rem; letter-spacing: .15em; }
.testimonial-text {
    font-style: italic;
    color: var(--qc-ink);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.65;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--qc-blue-light);
    color: var(--qc-blue-deep);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}

/* ============================================================
   14. FAQ
   ============================================================ */
.section-faq { padding: var(--qc-section-py) 0; background: var(--qc-bg); }

.faq-item {
    background: var(--qc-white);
    border: 1px solid var(--qc-border-soft);
    border-radius: var(--qc-radius) !important;
    margin-bottom: .85rem;
    overflow: hidden;
}
.faq-item .accordion-button {
    font-weight: 700;
    color: var(--qc-navy);
    font-family: var(--font-display);
    font-size: 1.05rem;
    padding: 1.1rem 1.4rem;
}
.faq-item .accordion-button:not(.collapsed) {
    color: var(--qc-blue-deep);
    background: var(--qc-blue-light);
    box-shadow: none;
}
.faq-item .accordion-button:focus { box-shadow: 0 0 0 3px rgba(4,149,230,.15); }
.faq-item .accordion-button::after { flex-shrink: 0; }
.faq-item .accordion-body { color: var(--qc-ink-muted); padding: 0 1.4rem 1.25rem; line-height: 1.7; }

/* ============================================================
   15. CALL TO ACTION FINALE
   ============================================================ */
.section-final-cta {
    padding: var(--qc-section-py) 0;
    background: var(--qc-gradient-hero);
    color: var(--qc-white);
    position: relative;
    overflow: hidden;
}
.section-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 56px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 56px);
    pointer-events: none;
}
.final-cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.final-cta-title {
    color: var(--qc-white);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: .75rem;
}
.final-cta-subtitle {
    color: rgba(255,255,255,.75);
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
}

/* ============================================================
   16. VALUATION FLOW — SHARED
   ============================================================ */
.valuation-section { background: var(--qc-bg); min-height: 60vh; }

/* Stepper */
.valuation-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}
.step-circle {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--qc-white);
    border: 2px solid var(--qc-border);
    color: var(--qc-ink-soft);
    font-weight: 700;
    font-family: var(--font-mono);
    transition: all .2s ease;
}
.step-item.active .step-circle {
    background: var(--qc-blue);
    border-color: var(--qc-blue);
    color: var(--qc-white);
    box-shadow: 0 0 0 6px rgba(4,149,230,.15);
}
.step-item.completed .step-circle {
    background: var(--qc-green);
    border-color: var(--qc-green);
    color: var(--qc-white);
}
.step-label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--qc-ink-soft);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.step-item.active .step-label { color: var(--qc-blue-deep); }
.step-item.completed .step-label { color: var(--qc-green-deep); }
.step-line {
    flex: 1;
    height: 2px;
    background: var(--qc-border);
    min-width: 40px;
    margin: 0 .25rem;
    margin-bottom: 1.6rem;
}
.step-line.completed { background: var(--qc-green); }

/* Card */
.valuation-card {
    background: var(--qc-white);
    border-radius: var(--qc-radius-lg);
    box-shadow: var(--qc-shadow);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}
.valuation-card-header { margin-bottom: 1.75rem; }
.valuation-title {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
}
.valuation-subtitle { font-size: .98rem; margin-bottom: 0; margin-top: .35rem; }

/* Address recap (step 2) */
.address-recap {
    background: var(--qc-white);
    border: 1px solid var(--qc-border);
    border-radius: var(--qc-radius);
    padding: .85rem 1.25rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem;
    font-size: .95rem;
}
.address-recap a { font-weight: 600; }

/* ---------- Type selector (step 2: tipologia) ---------- */
.type-selector { display: flex; gap: .85rem; flex-wrap: wrap; }
.type-option {
    flex: 1 1 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    border: 2px solid var(--qc-border);
    border-radius: var(--qc-radius);
    padding: 1.1rem .75rem;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    color: var(--qc-ink-muted);
    transition: all .15s ease;
}
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option i { font-size: 1.6rem; color: var(--qc-ink-soft); transition: color .15s ease; }
.type-option:hover { border-color: var(--qc-blue); }
.type-option.selected,
.type-option:has(input:checked) {
    border-color: var(--qc-blue);
    background: var(--qc-blue-light);
    color: var(--qc-navy);
}
.type-option.selected i,
.type-option:has(input:checked) i { color: var(--qc-blue-deep); }

/* ---------- Stato selector ---------- */
.stato-selector { display: flex; gap: .85rem; flex-wrap: wrap; }
.stato-option {
    flex: 1 1 150px;
    display: flex;
    align-items: center;
    gap: .6rem;
    border: 2px solid var(--qc-border);
    border-radius: var(--qc-radius);
    padding: .9rem 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--qc-ink-muted);
    transition: all .15s ease;
}
.stato-option input { position: absolute; opacity: 0; pointer-events: none; }
.stato-option:hover { border-color: var(--qc-blue); }
.stato-option.selected,
.stato-option:has(input:checked) {
    border-color: var(--qc-blue);
    background: var(--qc-blue-light);
    color: var(--qc-navy);
}

/* ---------- Features grid (extra) ---------- */
.features-grid { display: flex; gap: .6rem; flex-wrap: wrap; }
.feature-toggle {
    display: flex;
    align-items: center;
    gap: .45rem;
    border: 1.5px solid var(--qc-border);
    border-radius: var(--qc-radius-pill);
    padding: .5rem 1rem;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
    color: var(--qc-ink-muted);
    transition: all .15s ease;
}
.feature-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.feature-toggle:hover { border-color: var(--qc-green); }
.feature-toggle.selected,
.feature-toggle:has(input:checked) {
    border-color: var(--qc-green);
    background: var(--qc-green-light);
    color: var(--qc-green-deep);
}

/* ---------- Trust signals (step 1) ---------- */
.trust-signals .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--qc-ink-muted);
}
.trust-signals .trust-item i { font-size: 1.25rem; }

/* ============================================================
   17. RESULT PAGE — VALUATION OUTCOME
   ============================================================ */
.result-card {
    background: var(--qc-white);
    border-radius: var(--qc-radius-lg);
    box-shadow: var(--qc-shadow);
    overflow: hidden;
}
.result-card-header {
    background: var(--qc-gradient-hero);
    color: var(--qc-white);
    padding: 1.75rem clamp(1.25rem, 4vw, 2.25rem);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.result-card-header::before {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 22px);
    pointer-events: none;
}
.result-header-left { position: relative; z-index: 1; }
.result-header-right { position: relative; z-index: 1; }

.result-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(3,178,151,.2);
    border: 1px solid rgba(3,178,151,.45);
    color: #6ff0d8;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: var(--qc-radius-pill);
    margin-bottom: .75rem;
}
.result-address {
    color: var(--qc-white);
    font-size: 1.5rem;
    margin-bottom: .25rem;
}
.result-location {
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    margin-bottom: 0;
}
.zona-badge {
    background: rgba(255,255,255,.12);
    padding: .15rem .6rem;
    border-radius: var(--qc-radius-pill);
    font-weight: 600;
    font-size: .8rem;
}
.result-mq-badge {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--qc-white);
    font-weight: 700;
    font-family: var(--font-mono);
    padding: .5rem 1rem;
    border-radius: var(--qc-radius);
    font-size: 1.1rem;
}

/* ---------- The "Spectrum" — signature visual ---------- */
.result-price-bar {
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--qc-gradient-card);
}
.price-range-visual { margin-bottom: 2.75rem; padding: 0 6px; }
.price-range-track {
    position: relative;
    height: 8px;
    border-radius: var(--qc-radius-pill);
    background: var(--qc-gradient-spectrum);
}
.price-range-fill {
    position: absolute; inset: 0;
    border-radius: var(--qc-radius-pill);
    background: linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,0) 60%);
    mix-blend-mode: overlay;
}
.price-range-dot {
    position: absolute;
    top: 50%;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--qc-white);
    border: 3px solid var(--qc-navy);
    transform: translate(-50%, -50%);
    box-shadow: var(--qc-shadow-sm);
}
.price-range-dot.min-dot { left: 0%; border-color: var(--qc-blue); }
.price-range-dot.max-dot { left: 100%; border-color: var(--qc-green); }
.price-range-dot.med-dot {
    left: 50%;
    width: 28px; height: 28px;
    border-width: 4px;
    border-color: var(--qc-navy);
    top: -2px;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    box-shadow: var(--qc-shadow);
    z-index: 2;
}
.price-range-dot.med-dot::after { content: "⭐"; font-size: .85rem; line-height: 1; }

.price-columns {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 1rem;
    text-align: center;
    align-items: end;
}
.price-col { padding: .5rem; }
.price-label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--qc-ink-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .35rem;
}
.price-value {
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--qc-navy);
}
.price-col.price-min .price-value { color: var(--qc-blue-deep); }
.price-col.price-max .price-value { color: var(--qc-green-deep); }
.price-col.price-med {
    background: var(--qc-white);
    border-radius: var(--qc-radius);
    padding: 1.1rem .75rem;
    box-shadow: var(--qc-shadow);
    transform: translateY(-8px);
    position: relative;
}
.price-star { font-size: 1.25rem; margin-bottom: .15rem; }
.price-value.main {
    font-size: clamp(1.6rem, 4.5vw, 2.25rem);
    color: var(--qc-navy);
}
.price-mq {
    font-size: .8rem;
    color: var(--qc-ink-soft);
    font-family: var(--font-mono);
    margin-top: .35rem;
}

@media (max-width: 575.98px) {
    .price-columns { grid-template-columns: 1fr; gap: .6rem; }
    .price-col.price-med { transform: none; order: -1; }
    .price-col.price-min, .price-col.price-max {
        display: flex; align-items: center; justify-content: space-between;
        text-align: left; padding: .6rem 1rem;
        background: var(--qc-white); border-radius: var(--qc-radius-sm);
    }
    .price-col.price-min .price-label, .price-col.price-max .price-label { margin-bottom: 0; }
}

/* ---------- Summary grid (property characteristics) ---------- */
.result-summary { padding: 0 clamp(1.25rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.25rem); }
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--qc-border-soft);
}
.summary-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .92rem;
    font-weight: 600;
    color: var(--qc-ink);
}
.summary-item i { color: var(--qc-blue-deep); font-size: 1.1rem; }

/* ---------- Breakdown details ---------- */
.breakdown-details { font-size: .9rem; }
.breakdown-summary {
    cursor: pointer;
    color: var(--qc-blue-deep);
    font-weight: 600;
    list-style: none;
}
.breakdown-summary::-webkit-details-marker { display: none; }
.breakdown-content {
    background: var(--qc-bg);
    border-radius: var(--qc-radius-sm);
    padding: 1rem 1.25rem;
}
.breakdown-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--qc-ink-soft); border-bottom: 1px solid var(--qc-border); }
.breakdown-table td { font-size: .9rem; padding: .35rem 0; }

.result-disclaimer {
    background: var(--qc-bg-alt);
    color: var(--qc-ink-muted);
    font-size: .82rem;
    padding: .9rem clamp(1.25rem, 4vw, 2.25rem);
    border-top: 1px solid var(--qc-border-soft);
}

/* ============================================================
   18. LEAD FORM CARD
   ============================================================ */
.lead-form-card {
    background: var(--qc-white);
    border-radius: var(--qc-radius-lg);
    box-shadow: var(--qc-shadow);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border-top: 4px solid var(--qc-green);
}
.lead-form-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.lead-form-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: var(--qc-radius);
    background: var(--qc-green-light);
    color: var(--qc-green-deep);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.lead-form-title { font-size: 1.35rem; margin-bottom: .35rem; }
.lead-form-subtitle { font-size: .95rem; margin-bottom: 0; }

/* ---------- GDPR consents ---------- */
.gdpr-consents { display: flex; flex-direction: column; gap: .85rem; }
.consent-item {
    background: var(--qc-bg);
    border-radius: var(--qc-radius-sm);
    padding: .85rem 1rem;
    border: 1px solid transparent;
}
.consent-item.required-consent { border-color: var(--qc-border); }
.consent-item .form-check-label { font-size: .9rem; color: var(--qc-ink); }
.required-badge, .optional-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .12rem .5rem;
    border-radius: var(--qc-radius-pill);
    margin-right: .4rem;
    vertical-align: middle;
    position: relative;
    top: -1px;
}
.required-badge { background: var(--qc-danger-bg); color: var(--qc-danger); }
.optional-badge { background: var(--qc-bg-alt); color: var(--qc-ink-soft); }

/* ============================================================
   19. RESULT SIDEBAR
   ============================================================ */
.result-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1rem; }
.sidebar-widget {
    background: var(--qc-white);
    border: 1px solid var(--qc-border-soft);
    border-radius: var(--qc-radius);
    padding: 1.35rem;
}
.sidebar-widget-title {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    margin-bottom: .75rem;
}

/* PDF mock preview */
.pdf-mock {
    background: var(--qc-bg);
    border: 1px solid var(--qc-border);
    border-radius: var(--qc-radius-sm);
    padding: 1.1rem;
}
.pdf-mock-header {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--qc-navy);
    font-size: .95rem;
    margin-bottom: .65rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--qc-green);
}
.pdf-mock-line {
    height: 7px;
    background: var(--qc-border);
    border-radius: 4px;
    margin-bottom: .45rem;
}
.pdf-mock-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--qc-navy);
    text-align: center;
    padding: .6rem 0;
    margin: .5rem 0;
    background: var(--qc-white);
    border-radius: var(--qc-radius-sm);
}

/* Guarantee list */
.guarantee-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.guarantee-list li { font-size: .9rem; color: var(--qc-ink); display: flex; align-items: flex-start; }

/* ============================================================
   20. THANK YOU PAGE
   ============================================================ */
.thankyou-section {
    background: var(--qc-bg);
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: var(--qc-section-py) 0;
}
.thankyou-card {
    background: var(--qc-white);
    border-radius: var(--qc-radius-lg);
    box-shadow: var(--qc-shadow);
    padding: clamp(2rem, 6vw, 3.5rem);
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.thankyou-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: var(--qc-gradient-spectrum);
}
.thankyou-icon {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: var(--qc-green-light);
    color: var(--qc-green-deep);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}
.thankyou-title { font-size: clamp(1.6rem, 4vw, 2.25rem); margin-bottom: .75rem; }
.thankyou-subtitle { font-size: 1.05rem; color: var(--qc-ink-muted); margin-bottom: 2rem; }

.thankyou-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    background: var(--qc-bg);
    border-radius: var(--qc-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.thankyou-step {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
}
.thankyou-step-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--qc-white);
    color: var(--qc-blue-deep);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-family: var(--font-mono);
    box-shadow: var(--qc-shadow-sm);
}
.thankyou-step-text strong { display: block; color: var(--qc-navy); margin-bottom: .15rem; }
.thankyou-step-text span { font-size: .9rem; color: var(--qc-ink-muted); }

.thankyou-actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   21. GENERIC CONTENT PAGES
   (Privacy, Cookie, Termini, Informativa, Come Funziona, Contatti, GDPR)
   ============================================================ */
.page-hero {
    background: var(--qc-gradient-hero);
    color: var(--qc-white);
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 56px),
                      repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 56px);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title { color: var(--qc-white); font-size: clamp(1.9rem, 5vw, 2.75rem); margin-bottom: .5rem; }
.page-hero-subtitle { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 600px; margin-bottom: 0; }
.page-hero-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    background: rgba(3,178,151,.18);
    border: 1px solid rgba(3,178,151,.4);
    color: var(--qc-green);
    border-radius: var(--qc-radius);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.content-section { padding: var(--qc-section-py) 0; }
.content-body {
    background: var(--qc-white);
    border-radius: var(--qc-radius-lg);
    box-shadow: var(--qc-shadow);
    padding: clamp(1.5rem, 5vw, 3rem);
}
.content-body h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--qc-border-soft);
}
.content-body h2:first-child { margin-top: 0; }
.content-body h3 { font-size: 1.15rem; margin-top: 1.5rem; color: var(--qc-navy); }
.content-body h4 { font-size: 1rem; margin-top: 1.25rem; color: var(--qc-ink); }
.content-body p, .content-body li { color: var(--qc-ink-muted); }
.content-body strong { color: var(--qc-ink); }
.content-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--qc-ink-soft);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--qc-border-soft);
}

/* TOC sidebar for legal pages */
.legal-toc {
    background: var(--qc-bg);
    border-radius: var(--qc-radius);
    padding: 1.25rem;
    position: sticky;
    top: 90px;
}
.legal-toc-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--qc-ink-soft);
    margin-bottom: .75rem;
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.legal-toc a { font-size: .9rem; color: var(--qc-ink-muted); font-weight: 600; }
.legal-toc a:hover { color: var(--qc-blue-deep); }

/* ---------- Come funziona — extended steps ---------- */
.process-timeline { display: flex; flex-direction: column; gap: 0; }
.process-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--qc-border-soft);
}
.process-step:last-child { border-bottom: none; }
.process-step-num {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--qc-navy);
    color: var(--qc-white);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
}
.process-step-content h3 { margin-top: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
.contact-info-card {
    background: var(--qc-navy);
    color: var(--qc-white);
    border-radius: var(--qc-radius-lg);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    height: 100%;
}
.contact-info-card h3 { color: var(--qc-white); }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    margin-bottom: 1.25rem;
}
.contact-info-item i {
    width: 40px; height: 40px;
    background: rgba(3,178,151,.18);
    color: var(--qc-green);
    border-radius: var(--qc-radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-info-item strong { display: block; color: var(--qc-white); }
.contact-info-item span, .contact-info-item a { color: rgba(255,255,255,.7); font-size: .92rem; }

/* ---------- GDPR rights page ---------- */
.gdpr-rights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.gdpr-right-card {
    background: var(--qc-white);
    border: 1px solid var(--qc-border-soft);
    border-radius: var(--qc-radius);
    padding: 1.5rem;
}
.gdpr-right-card i {
    width: 46px; height: 46px;
    background: var(--qc-blue-light);
    color: var(--qc-blue-deep);
    border-radius: var(--qc-radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: .85rem;
}
.gdpr-right-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.gdpr-right-card p { font-size: .9rem; color: var(--qc-ink-muted); margin-bottom: 0; }

.gdpr-form-card {
    background: var(--qc-bg);
    border-radius: var(--qc-radius);
    padding: clamp(1.25rem, 4vw, 2rem);
}

/* ============================================================
   22. SKIP LINK (ACCESSIBILITY)
   ============================================================ */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--qc-navy);
    color: var(--qc-white);
    padding: .75rem 1.25rem;
    z-index: 3000;
    border-radius: 0 0 var(--qc-radius-sm) 0;
    font-weight: 700;
}
.skip-link:focus {
    left: 0;
}

/* ============================================================
   23. RESPONSIVE FINE-TUNING
   ============================================================ */
@media (max-width: 991.98px) {
    .result-sidebar { position: static; margin-top: 1.5rem; }
    .legal-toc { position: static; margin-bottom: 1.5rem; }
}
@media (max-width: 767.98px) {
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group .btn { width: 100%; justify-content: center; }
    .valuation-stepper { gap: 0; }
    .step-line { min-width: 24px; }
    .cookie-banner { left: .5rem; right: .5rem; bottom: .5rem; padding: 1.1rem; }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; }
}
