/* Conoprint — base CSS, brand-themed via :root vars set on <html> */

:root {
    --brand-primary: #151D33;
    --brand-accent: #29C4A9;
    --brand-secondary: #6D92AC;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f9fb;
    --color-text: #151D33;
    --color-text-muted: #5a6b7a;
    --color-border: #e5e9ee;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 8px;
    --radius-lg: 12px;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--brand-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-accent); }

.skip-link {
    position: absolute;
    top: -40px;
    left: 8px;
    background: var(--brand-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 1000;
}
.skip-link:focus { top: 8px; color: #fff; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
}
.site-header .container { position: relative; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1rem;
}
.brand img {
    height: 36px;
    width: auto;
}
.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
    text-decoration: none;
    color: var(--brand-primary);
}
.brand-wordmark {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.brand-parent {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-top: 2px;
    letter-spacing: 0;
    font-weight: 500;
}
.site-nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}
.site-nav a:not(.btn) {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
}
.site-nav a:not(.btn):hover { color: var(--brand-accent); }

/* Hamburger toggle (mobile only) */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--brand-primary);
    padding: 0;
}
.nav-toggle:hover { border-color: var(--brand-accent); color: var(--brand-accent); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
    border: 2px solid transparent;
    line-height: 1;
}
.btn-primary {
    background: var(--brand-accent);
    color: #fff;
    box-shadow: 0 1px 2px rgba(21,29,51,0.08);
}
.btn-primary:hover {
    background: #1faa92;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41,196,169,0.3);
}
.btn-ghost {
    background: transparent;
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}
.btn-ghost:hover {
    background: var(--brand-primary);
    color: #fff;
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* Hero */
.hero {
    padding: 5rem 0 4rem;
    background:
        radial-gradient(ellipse at top right, rgba(41,196,169,0.08), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--color-bg-alt) 100%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-accent);
    margin-bottom: 1rem;
}
.hero h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
    max-width: 600px;
}
.hero .lede {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 2.25rem;
    max-width: 540px;
    line-height: 1.55;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero visual (printers) */
.hero-visual {
    position: relative;
    height: 440px;
    min-height: 380px;
}
.hero-printer {
    position: absolute;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow:
        0 10px 30px rgba(21,29,51,0.12),
        0 4px 8px rgba(21,29,51,0.06);
    transition: transform .3s ease;
}
.hero-printer-back {
    width: 280px;
    height: 280px;
    top: 0;
    right: 0;
    z-index: 1;
    transform: rotate(3deg);
    opacity: 0.95;
}
.hero-printer-front {
    width: 340px;
    height: 340px;
    bottom: 0;
    left: 0;
    z-index: 2;
    transform: rotate(-2deg);
}
.hero-printer-back:hover { transform: rotate(2deg) translateY(-4px); }
.hero-printer-front:hover { transform: rotate(-1deg) translateY(-4px); }

.hero-printer-label {
    position: absolute;
    background: rgba(21,29,51,0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    pointer-events: none;
}
.hero-printer-label-back {
    top: 12px;
    right: 12px;
    z-index: 3;
}
.hero-printer-label-front {
    bottom: 12px;
    left: 12px;
    z-index: 3;
    background: var(--brand-accent);
}

/* Sections */
.section {
    padding: 5rem 0;
}
.section-alt {
    background: var(--color-bg-alt);
}
.section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.section-lede {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 720px;
    margin-bottom: 3rem;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(21,29,51,0.08);
    border-color: var(--brand-accent);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(41,196,169,0.1);
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.feature-icon svg {
    width: 24px;
    height: 24px;
}
.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}
.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    list-style: none;
    counter-reset: step;
    padding: 0;
}
.step {
    position: relative;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(21,29,51,0.15);
}
.step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.6rem;
}
.step p {
    color: var(--color-text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* Placeholder boxes (for sections still to be built) */
.placeholder-box {
    background: #fff;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--color-text-muted);
    text-align: center;
    font-size: 0.95rem;
}
.placeholder-box strong {
    color: var(--brand-primary);
    display: block;
    margin-bottom: 0.4rem;
}

/* Wizard */
[x-cloak] { display: none !important; }

.wizard {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(21,29,51,0.04);
}
.wizard-progress {
    height: 4px;
    background: var(--color-border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.wizard-progress-bar {
    height: 100%;
    background: var(--brand-accent);
    border-radius: 999px;
    transition: width .3s ease;
}
.wizard-step-counter {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 1rem;
}
.wizard-step h3 {
    font-size: 1.5rem;
    color: var(--brand-primary);
    margin-bottom: 0.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.wizard-step h4 {
    font-size: 1.1rem;
    color: var(--brand-primary);
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.wizard-help {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.wizard-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.wizard-options-2col {
    grid-template-columns: repeat(2, 1fr);
}
.wizard-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    font: inherit;
    color: var(--color-text);
    transition: all .15s ease;
}
.wizard-option:hover {
    border-color: var(--brand-accent);
    background: rgba(41,196,169,0.04);
}
.wizard-option.is-selected {
    border-color: var(--brand-accent);
    background: rgba(41,196,169,0.08);
}
.wizard-option-label {
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.15rem;
}
.wizard-option-hint {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}
.wizard-nav {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-start;
}
.wizard-back, .wizard-restart {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-top: 1.5rem;
}
.wizard-back:hover, .wizard-restart:hover {
    color: var(--brand-accent);
}

/* Wizard results */
.wizard-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}
.wizard-result-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    align-items: start;
}
.wizard-result-thumb {
    position: relative;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.5rem;
    cursor: zoom-in;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}
.wizard-result-thumb:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(21,29,51,0.1);
}
.wizard-result-thumb img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: contain;
}
.wizard-result-thumb-zoom {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(21,29,51,0.85);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .15s ease;
}
.wizard-result-thumb:hover .wizard-result-thumb-zoom { opacity: 1; }
.wizard-result-thumb-zoom svg { width: 16px; height: 16px; }
.wizard-result-body { min-width: 0; }
@media (max-width: 600px) {
    .wizard-result-card { grid-template-columns: 1fr; }
    .wizard-result-thumb img { height: 200px; }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(21,29,51,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-figure {
    max-width: min(900px, 90vw);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}
.lightbox-figure img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox-figure figcaption {
    color: #fff;
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
    max-width: 600px;
}
.wizard-result-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--brand-primary);
    color: #fff;
    letter-spacing: 0.02em;
}
.badge-color {
    background: var(--brand-accent);
}
.badge-mono {
    background: var(--brand-secondary);
}
.badge-paper {
    background: rgba(21,29,51,0.08);
    color: var(--brand-primary);
}
.wizard-result-specs {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
}
.wizard-result-specs span:not(:first-child)::before {
    content: '·';
    margin: 0 0.5rem;
    color: var(--color-border);
}
.wizard-result-price {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.wizard-result-price strong {
    color: var(--brand-primary);
}

/* Quote form */
.quote-form {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(21,29,51,0.04);
}
.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 1.75rem;
}
.quote-section h3 {
    font-size: 1.2rem;
    color: var(--brand-primary);
    margin-bottom: 1.25rem;
    font-weight: 600;
}
.quote-form .field { margin-bottom: 1.1rem; }
.quote-form .field-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.4rem;
}
.quote-form input[type=text],
.quote-form input[type=email],
.quote-form input[type=tel],
.quote-form input[type=number],
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
    font-size: 1rem;
    color: var(--brand-primary);
    background: #fff;
    transition: border-color .15s ease;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--brand-accent);
    outline: none;
}
.quote-form textarea { resize: vertical; min-height: 80px; }
.quote-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.quote-form .field-row .field { margin-bottom: 0; }
.field-error {
    display: block;
    font-size: 0.85rem;
    color: #c0392b;
    margin-top: 0.35rem;
    font-weight: 500;
}
.quote-actions {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
    margin-top: 1rem;
}
.quote-actions .btn {
    margin-bottom: 1rem;
    min-width: 280px;
}
.quote-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}
.quote-fineprint {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    max-width: 480px;
    margin: 0 auto;
}

/* Quote success */
.quote-success {
    text-align: center;
    padding: 2.5rem 1rem;
}
.quote-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(41,196,169,0.12);
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.quote-success-icon svg { width: 36px; height: 36px; }
.quote-success h3 {
    font-size: 1.5rem;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.quote-success p {
    color: var(--color-text-muted);
    max-width: 540px;
    margin: 0 auto 0.5rem;
}
.quote-success-ref {
    margin-top: 1.25rem;
    font-size: 0.9rem;
}
.quote-success-ref code {
    background: var(--color-bg-alt);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: ui-monospace, monospace;
    color: var(--brand-primary);
}

/* Cost comparison */
.compare {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(21,29,51,0.04);
}
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.compare-input h3,
.compare-output h3 {
    font-size: 1.25rem;
    color: var(--brand-primary);
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.field {
    display: block;
    margin-bottom: 1.25rem;
}
.field-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.4rem;
}
.field-input-wrap {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .15s ease;
}
.field-input-wrap:focus-within {
    border-color: var(--brand-accent);
}
.field-input-wrap input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font: inherit;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: var(--brand-primary);
    min-width: 0;
}
.field-input-wrap input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}
.field-prefix, .field-suffix {
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    border-left: 1px solid var(--color-border);
}
.field-prefix {
    border-left: none;
    border-right: 1px solid var(--color-border);
}
.field-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.4rem;
}

.compare-output {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 1.75rem;
}
.compare-empty {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    padding: 2rem 0;
    text-align: center;
}
.compare-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.5rem 0;
    gap: 1rem;
}
.compare-row-sub {
    padding-top: 0;
    padding-bottom: 0.75rem;
}
.compare-label {
    color: var(--color-text-muted);
    font-size: 0.92rem;
}
.compare-value {
    font-weight: 600;
    color: var(--brand-primary);
    font-size: 1.05rem;
    text-align: right;
}
.compare-value-sub {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: right;
}
.compare-value-current { color: var(--brand-secondary); }
.compare-value-ours { color: var(--brand-primary); }
.compare-unit {
    color: var(--color-text-muted);
    font-weight: 400;
    font-size: 0.9rem;
}
.compare-divider {
    height: 1px;
    background: var(--color-border);
    margin: 0.75rem 0;
}
.compare-savings {
    background: var(--brand-primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    margin: 1.25rem 0;
    text-align: center;
}
.compare-savings-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.compare-savings-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-accent);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.compare-savings-period {
    display: block;
    font-size: 0.88rem;
    opacity: 0.85;
}
.compare-savings-period strong {
    color: var(--brand-accent);
}
.compare-disclaimer {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Offerte CTA section */
.offerte-cta {
    text-align: center;
    max-width: 720px;
}
.offerte-cta .section-lede {
    margin-left: auto;
    margin-right: auto;
}
.offerte-cta .hero-cta {
    justify-content: center;
}

/* Footer */
.site-footer {
    background: var(--brand-primary);
    color: rgba(255,255,255,0.65);
    padding: 2.5rem 0;
    margin-top: 6rem;
    text-align: center;
    font-size: 0.9rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--brand-accent); }

/* Mobile */
@media (max-width: 900px) {
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    /* width:100% — without an explicit width, the grid item with margin-inline:auto
       collapses to its content's width. Since hero-visual only contains
       absolutely-positioned children, that content-width is 0 and the printer
       images then clamp to max-width:100% (= 0px). */
    .hero-visual { height: 320px; min-height: 320px; max-width: 480px; width: 100%; margin: 0 auto; }
    .hero-printer-back { width: 200px; height: 200px; }
    .hero-printer-front { width: 240px; height: 240px; }
}

@media (max-width: 768px) {
    /* Mobile nav: hamburger + slide-down drawer */
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 12px 24px rgba(21,29,51,0.08);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a:not(.btn) {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--color-border);
        font-weight: 500;
    }
    .site-nav .btn {
        margin: 0.75rem 1.5rem;
        text-align: center;
    }

    .hero { padding: 3rem 0 2.5rem; }
    .hero h1 { margin-bottom: 1rem; }
    .hero .lede { margin-bottom: 1.5rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { text-align: center; }
    .section { padding: 3rem 0; }
    .section h2 { margin-bottom: 1rem; }
    .section-lede { margin-bottom: 2rem; }
    .site-footer { margin-top: 3rem; padding: 2rem 0; }
    .feature-card { padding: 1.5rem; }
    .wizard { padding: 1.5rem; }
    .wizard-options-2col { grid-template-columns: 1fr; }
    .compare { padding: 1.5rem; }
    .compare-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .compare-output { padding: 1.25rem; }
    .quote-form { padding: 1.5rem; }
    .quote-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .quote-form .field-row { grid-template-columns: 1fr; }
    .quote-actions .btn { min-width: 0; width: 100%; }
    .hero-visual { height: 280px; min-height: 280px; }
    .hero-printer-back { width: 160px; height: 160px; }
    .hero-printer-front { width: 200px; height: 200px; }
    .hero-printer-label { font-size: 0.65rem; padding: 0.2rem 0.55rem; }
}

@media (max-width: 480px) {
    /* On very small screens: only show ONE printer to avoid overlap */
    .hero-visual { height: 240px; min-height: 240px; }
    .hero-printer-back { display: none; }
    .hero-printer-front {
        width: 220px;
        height: 220px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) rotate(-2deg);
    }
    .hero-printer-label-back { display: none; }
    .hero-printer-label-front {
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
    }
    .container { padding: 0 1.25rem; }
    .hero h1 { font-size: 2rem; }
    .wizard, .compare { padding: 1.25rem; }
    .wizard-step h3 { font-size: 1.25rem; }
    .compare-savings-value { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   Header phone link (desktop) — sits between nav and CTA
   ========================================================= */
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius);
    color: var(--brand-primary);
    border: 1px solid transparent;
    font-weight: 500;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.header-phone:hover {
    color: var(--brand-accent);
    border-color: var(--color-border);
    background: var(--color-bg-alt);
}
.header-phone svg { width: 18px; height: 18px; flex: 0 0 18px; }
.header-phone-text { display: flex; flex-direction: column; line-height: 1.1; }
.header-phone-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    font-weight: 600;
}
.header-phone-number { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; }

/* =========================================================
   Trust-bar — customer logos under hero
   ========================================================= */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 2rem 0 2.5rem;
}
.trust-bar-eyebrow {
    text-align: center;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}
.trust-bar-eyebrow a {
    color: var(--brand-primary);
    border-bottom: 1px dotted currentColor;
}
.trust-bar-eyebrow a:hover { color: var(--brand-accent); }
.trust-bar-logos {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem 2rem;
    align-items: center;
    justify-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.trust-bar-logos img {
    max-height: 56px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.65);
    transition: filter .25s ease, transform .25s ease;
}
.trust-bar-logos img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.04);
}

/* =========================================================
   FAQ section — accessible <details>/<summary> accordion
   ========================================================= */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item[open] {
    border-color: var(--brand-accent);
    box-shadow: 0 4px 16px rgba(41,196,169,0.08);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--brand-primary);
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-accent); }
.faq-item summary:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: -2px;
}
.faq-chevron {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg-alt);
    color: var(--brand-primary);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item[open] .faq-chevron {
    transform: rotate(45deg);
    background: var(--brand-accent);
    color: #fff;
}
.faq-answer {
    padding: 0 1.4rem 1.25rem 1.4rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 0.75rem; }
.faq-answer code {
    background: var(--color-bg-alt);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.92em;
    color: var(--brand-primary);
}
.faq-answer a {
    color: var(--brand-accent);
    border-bottom: 1px dotted currentColor;
}

/* =========================================================
   Sticky mobile call-CTA — only on small screens
   ========================================================= */
.mobile-call-cta {
    display: none;
    position: fixed;
    bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
    left: 1rem;
    right: 1rem;
    z-index: 90;
    background: var(--brand-accent);
    color: #fff;
    padding: 0.95rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 6px 20px rgba(41,196,169,0.45), 0 2px 4px rgba(0,0,0,0.08);
    text-decoration: none;
}
.mobile-call-cta:hover { color: #fff; background: #1faa92; }
.mobile-call-cta svg { width: 20px; height: 20px; flex: 0 0 20px; }

/* =========================================================
   Rich footer — multi-column with contact + sitemap
   ========================================================= */
.site-footer-rich {
    text-align: left;
    padding: 3.5rem 0 1.5rem;
    margin-top: 5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; line-height: 1.5; }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-col-brand .footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}
.footer-tagline { margin-bottom: 1rem; line-height: 1.55; max-width: 320px; }
.footer-parent { font-size: 0.85rem; opacity: 0.7; }
.footer-muted { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}
.footer-copy { margin: 0; }
.footer-meta { margin: 0; }
.footer-meta a { white-space: nowrap; }
.footer-meta span[aria-hidden] { color: rgba(255,255,255,0.3); padding: 0 0.5rem; }

/* =========================================================
   Responsive: trust-bar + footer + sticky CTA
   ========================================================= */
@media (max-width: 1024px) {
    .trust-bar-logos { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-col-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    /* Hide desktop phone link in header — sticky mobile CTA takes over */
    .header-phone { display: none; }
    .mobile-call-cta { display: flex; }

    /* Add bottom padding so sticky CTA never overlaps content (incl. iOS home-indicator) */
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

    .trust-bar { padding: 1.5rem 0 1.75rem; }
    .trust-bar-eyebrow { margin-bottom: 1.25rem; font-size: 0.72rem; }
    .trust-bar-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 1rem;
    }
    .trust-bar-logos img { max-height: 44px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.75rem;
    }
    .site-footer-rich { padding: 2.5rem 0 1.5rem; margin-top: 3rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 0.85rem;
    }
    .footer-meta span[aria-hidden] { display: none; }

    .faq-item summary {
        padding: 1rem 1.1rem;
        font-size: 0.95rem;
    }
    .faq-answer { padding: 0 1.1rem 1.1rem 1.1rem; }
}

@media (max-width: 480px) {
    .trust-bar-logos img { max-height: 38px; }
}

/* =========================================================
   Wizard result price + compare table + "what's included"
   ========================================================= */
.wizard-result-price {
    margin: 0.6rem 0 1rem;
    color: var(--brand-primary);
    line-height: 1.4;
}
.wizard-result-price strong {
    font-size: 1.1rem;
    color: var(--brand-accent);
}
.wizard-result-price-tail {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
    line-height: 1.5;
}
.wizard-result-flexpack-hint {
    display: block;
    color: var(--brand-primary);
    font-size: 0.82rem;
    margin-top: 0.1rem;
    opacity: 0.8;
}
.wizard-result-flexpack-line,
.wizard-result-purchase-line {
    display: block;
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    border-top: 1px dashed var(--color-border);
    color: var(--brand-primary);
    font-size: 0.92rem;
}
.wizard-result-flexpack-line strong { color: var(--brand-accent); }
.wizard-result-purchase-line strong { color: var(--brand-primary); }

.wizard-result-tagline {
    color: var(--brand-primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0.15rem 0 0.55rem;
    line-height: 1.4;
}
.wizard-included-intro {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 0 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.wizard-included-intro strong {
    color: var(--brand-primary);
}
.badge-popular {
    background: #fef3c7;
    color: #92400e;
}

.wizard-stretch {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-left-width: 4px;
    border-radius: var(--radius);
    color: #78350f;
    line-height: 1.5;
    font-size: 0.95rem;
}
.wizard-stretch strong {
    display: block;
    color: #78350f;
    margin-bottom: 0.15rem;
}
.wizard-stretch a {
    color: #78350f;
    font-weight: 600;
    border-bottom: 1px dotted currentColor;
}
.wizard-stretch-icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b45309;
    margin-top: 1px;
}
.wizard-stretch-icon svg { width: 22px; height: 22px; }

.wizard-compare {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.wizard-compare h4 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--brand-primary);
}
.wizard-compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.wizard-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    min-width: 480px;
}
.wizard-compare-table th,
.wizard-compare-table td {
    text-align: left;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--color-border);
}
.wizard-compare-table thead th {
    background: var(--color-bg-alt);
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.wizard-compare-table tbody th {
    color: var(--color-text-muted);
    font-weight: 500;
    width: 30%;
}
.wizard-compare-price-row {
    background: rgba(41,196,169,0.05);
}
.wizard-compare-price-row td strong { color: var(--brand-accent); }

.wizard-included {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--brand-accent);
}
.wizard-included h4 {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    color: var(--brand-primary);
}
.wizard-included-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem 1.5rem;
}
.wizard-included-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
    color: var(--color-text);
}
.wizard-included-list span[aria-hidden] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 2px;
}
.wizard-included-list .wizard-included-not span[aria-hidden] {
    background: #cbd5e1;
}

/* =========================================================
   Light contact section — three CTA cards + form
   ========================================================= */
.contact-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.contact-cta-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--brand-primary);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.contact-cta-card:hover {
    border-color: var(--brand-accent);
    box-shadow: 0 6px 16px rgba(41,196,169,0.12);
    transform: translateY(-2px);
    color: var(--brand-primary);
}
.contact-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(41,196,169,0.1);
    color: var(--brand-accent);
    margin-bottom: 0.4rem;
}
.contact-cta-icon svg { width: 22px; height: 22px; }
.contact-cta-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    font-weight: 600;
}
.contact-cta-value {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.contact-cta-tail {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.contact-cta-card-form {
    background: var(--color-bg-alt);
    border-style: dashed;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.field-full {
    display: block;
    margin-bottom: 1rem;
}
.field-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}
.field-checkbox input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--brand-accent);
}
.field-checkbox a {
    color: var(--brand-accent);
    border-bottom: 1px dotted currentColor;
}

@media (max-width: 768px) {
    .contact-cta-grid { grid-template-columns: 1fr; }
    .contact-form-grid { grid-template-columns: 1fr; }
    .wizard-included-list { grid-template-columns: 1fr; }
    .wizard-compare-table { font-size: 0.85rem; }

    /* Grid + flex items default to min-width:auto (= min-content). On narrow
       viewports the compare form's input+suffix flex-row was ~393px which
       pushed the page wider than the viewport. min-width:0 lets these
       containers shrink with their parent. */
    .compare-grid > *,
    .quote-grid > *,
    .contact-form-grid > * { min-width: 0; }
    .field-input-wrap { min-width: 0; max-width: 100%; }
    .field-input-wrap input { min-width: 0; }
}

/* =========================================================
   Mobile polish — fine-tuning for narrow viewports
   ========================================================= */

/* Anchor jumps shouldn't land under the sticky header */
html { scroll-padding-top: 80px; }

/* Tablet + phone: header brand block compactness */
@media (max-width: 768px) {
    .brand-wordmark { font-size: 1.35rem; }
    .brand-parent { font-size: 0.66rem; }

    /* Long monetary values: allow compare-rows to wrap value below label */
    .compare-row { flex-wrap: wrap; }
    .compare-value, .compare-value-sub {
        text-align: left;
        flex: 1 1 auto;
        min-width: 0;
    }
    .compare-value-ours { word-break: break-word; }

    /* Footer phone+location pairs: keep number readable, location wraps */
    .footer-col li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.5rem; }
    .footer-col .footer-muted { font-size: 0.8rem; }
}

/* Phone-only */
@media (max-width: 480px) {
    /* Hide the parent-tagline on very small screens — keeps header tidy next to hamburger */
    .brand-parent { display: none; }
    .brand-wordmark { font-size: 1.3rem; }

    /* Hero CTA buttons: ensure tap targets remain generous when stacked */
    .hero-cta .btn-lg { padding: 0.95rem 1.25rem; font-size: 1rem; }

    /* Wizard option labels can be quite long — relax horizontal padding */
    .wizard-option { padding: 0.95rem 1.1rem; }
    .wizard-option-label { font-size: 0.98rem; }
    .wizard-option-hint { font-size: 0.84rem; }

    /* Wizard result thumbnail: don't over-claim height on phone */
    .wizard-result-thumb img { height: 180px; }

    /* Compare savings: smaller numbers + breathable layout */
    .compare-savings { padding: 1rem; }
    .compare-savings-value { font-size: 1.25rem; line-height: 1.25; }

    /* Quote-success: nicer scaling */
    .quote-success { padding: 2rem 0.5rem; }
    .quote-success-icon { width: 60px; height: 60px; }
    .quote-success-icon svg { width: 28px; height: 28px; }
    .quote-success h3 { font-size: 1.25rem; }

    /* Trust-bar headline keeps to one line on the smallest devices */
    .trust-bar-eyebrow { line-height: 1.5; }
}

/* =========================================================
   KvK autocomplete suggestion dropdown (inside the quote modal)
   ========================================================= */
.quote-modal-kvk-field { position: relative; }
.quote-modal-kvk-field .kvk-loading {
    position: absolute;
    right: 0.9rem;
    top: 2.15rem;
    color: var(--brand-accent);
    font-weight: 700;
    pointer-events: none;
}
.kvk-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0.25rem 0 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(21,29,51,0.15);
    list-style: none;
    padding: 0.25rem 0;
    max-height: 280px;
    overflow-y: auto;
    z-index: 50;
}
.kvk-suggestions li button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    color: var(--color-text);
    font: inherit;
    line-height: 1.35;
    border-bottom: 1px solid var(--color-border);
    transition: background .12s ease;
}
.kvk-suggestions li:last-child button { border-bottom: none; }
.kvk-suggestions li button:hover {
    background: rgba(41,196,169,0.06);
}
.kvk-suggestions li button strong {
    display: block;
    color: var(--brand-primary);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}
.kvk-suggestion-meta {
    display: block;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}
.kvk-suggestion-kvk {
    margin-left: 0.5rem;
    color: var(--brand-accent);
    font-weight: 500;
}

/* =========================================================
   Quote modal — opens from wizard "Vraag een offerte voor dit model"
   ========================================================= */
.quote-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(21, 29, 51, 0.78);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 4vh 1rem 6vh;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.quote-modal {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    padding: 2rem 2rem 1.75rem;
    max-height: 92vh;
    overflow-y: auto;
}
.quote-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}
.quote-modal-close:hover { background: var(--color-bg-alt); color: var(--brand-primary); }
.quote-modal-close svg { width: 22px; height: 22px; }

.quote-modal-header {
    margin-bottom: 1.25rem;
    padding-right: 2.5rem; /* room for the close-button */
}
.quote-modal-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: -0.01em;
    margin: 0 0 0.4rem;
}
.quote-modal-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.quote-modal-product {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}
.quote-modal-product img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius);
    padding: 4px;
    flex: 0 0 64px;
}
.quote-modal-product-meta { display: flex; flex-direction: column; min-width: 0; }
.quote-modal-product-meta strong {
    color: var(--brand-primary);
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}
.quote-modal-product-price {
    color: var(--brand-accent);
    font-weight: 600;
    font-size: 0.92rem;
}

.quote-modal-financing {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}
.quote-modal-financing-btn {
    flex: 1;
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.75rem 0.9rem;
    cursor: pointer;
    font: inherit;
    text-align: center;
    color: var(--color-text);
    transition: border-color .15s ease, background .15s ease, color .15s ease;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    align-items: center;
}
.quote-modal-financing-btn:hover {
    border-color: var(--brand-accent);
    background: rgba(41, 196, 169, 0.04);
}
.quote-modal-financing-btn.is-active {
    border-color: var(--brand-accent);
    background: rgba(41, 196, 169, 0.1);
    color: var(--brand-primary);
}
.quote-modal-financing-btn .qm-fin-label {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
}
.quote-modal-financing-btn .qm-fin-price {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.quote-modal-financing-btn.is-active .qm-fin-price {
    color: var(--brand-primary);
    opacity: 0.85;
}

.quote-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
    margin-bottom: 0.85rem;
}
.quote-modal .field { margin-bottom: 0; }
.quote-modal .field-full { display: block; margin-bottom: 1rem; }
.quote-modal input[type="text"],
.quote-modal input[type="email"],
.quote-modal input[type="tel"],
.quote-modal input[type="number"],
.quote-modal select,
.quote-modal textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
    font-size: 0.98rem;
    color: var(--brand-primary);
    background: #fff;
    transition: border-color .15s ease;
}
.quote-modal input:focus,
.quote-modal select:focus,
.quote-modal textarea:focus {
    border-color: var(--brand-accent);
    outline: none;
}
.quote-modal textarea { resize: vertical; min-height: 70px; }

.quote-modal-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
}

.quote-modal-turnstile {
    margin: 0.75rem 0 1rem;
    display: flex;
    justify-content: flex-start;
    min-height: 32px;
}

.quote-modal-actions {
    border-top: 1px solid var(--color-border);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    text-align: center;
}
.quote-modal-actions .btn {
    min-width: 240px;
    margin-bottom: 0.85rem;
}
.quote-modal-actions .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}
.quote-modal-actions .quote-fineprint {
    margin: 0.5rem auto 0;
}

.quote-modal-success {
    text-align: center;
    padding: 2.5rem 0.5rem;
}
.quote-modal-success .quote-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(41, 196, 169, 0.12);
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.quote-modal-success .quote-success-icon svg { width: 32px; height: 32px; }
.quote-modal-success h3 {
    font-size: 1.3rem;
    color: var(--brand-primary);
    margin: 0 0 0.6rem;
}
.quote-modal-success p {
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto 0.5rem;
}
.quote-modal-success .btn { margin-top: 1.25rem; }

/* Mobile: full-screen modal */
@media (max-width: 600px) {
    .quote-modal-overlay { padding: 0; align-items: stretch; }
    .quote-modal {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: 1.25rem 1.25rem 1.5rem;
    }
    .quote-modal-grid { grid-template-columns: 1fr; }
    .quote-modal-header { padding-right: 2.5rem; }
    .quote-modal-actions .btn { min-width: 0; width: 100%; }
}

/* Extra-narrow phones (≤360px: iPhone SE, older Android) */
@media (max-width: 360px) {
    .container { padding: 0 1rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero .lede { font-size: 1rem; }
    .wizard, .compare, .quote-form { padding: 1rem; }
    .wizard-step h3 { font-size: 1.15rem; }
    .feature-card { padding: 1.25rem; }
    .feature-card h3 { font-size: 1.1rem; }
    .step-num { width: 40px; height: 40px; font-size: 1.15rem; }

    /* Mobile call CTA: trim text on the very narrowest viewport */
    .mobile-call-cta { padding: 0.85rem 1rem; font-size: 0.95rem; }
}
