/* Public website (emsoftware.nl), design 2026-10: dark navy header/footer, blue accents, rounded cards.
   Loaded after site.css/servicehub.css by _Layout only; the portal has its own layout. */
:root {
  --w-navy: #0b1f3a; --w-deep: #071426; --w-navy-2: #12305a;
  --w-blue: #2563eb; --w-blue-2: #3b82f6; --w-sky: #93c5fd;
  --w-ink: #0f1b2d; --w-muted: #5b6b82; --w-line: #e2e8f1; --w-soft: #f3f7fd;
  --w-green: #16a34a; --w-violet: #7c3aed; --w-cyan: #0891b2;
  --w-radius: 18px; --w-shadow: 0 24px 60px rgba(11, 31, 58, .14);
  --w-hand: "Segoe Script", "Bradley Hand", "Snell Roundhand", "Comic Sans MS", cursive;
  --mint: var(--w-blue-2); --mint-dark: var(--w-blue);
}
body { color: var(--w-ink); background: #fff; }

/* Buttons used across the public pages */
.button { border-color: var(--w-blue); background: var(--w-blue); border-radius: 12px; }
.button:hover { background: #1d4ed8; border-color: #1d4ed8; box-shadow: 0 12px 26px rgba(37, 99, 235, .28); }
.button-ghost, .button-outline { color: var(--w-ink); background: #fff; border-color: #c9d5e6; }
.button-ghost:hover, .button-outline:hover { background: var(--w-soft); border-color: var(--w-blue); }

/* Header */
.site-header { background: rgba(7, 20, 38, .96); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.brand { color: #fff; }
.brand-logo { display: block; width: 56px; height: auto; }
.brand-copy strong { color: #fff; }
.brand-copy small { color: #9fb3d1; }
.main-nav a, .text-link { color: #d3ddeb; }
.main-nav a:hover, .text-link:hover, .main-nav a:focus-visible { color: #fff; }
.site-header .button-small { box-shadow: 0 8px 22px rgba(37, 99, 235, .35); }
.nav-toggle > span:not(.sr-only) { background: #fff; }
.main-nav a, .nav-actions a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1100px) { .site-header .brand-copy { display: none; } .main-nav { gap: 14px; } }
@media (max-width: 900px) {
  .main-nav { background: var(--w-navy); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px rgba(0, 0, 0, .3); gap: 4px; }
  .main-nav a { padding: 10px 4px; font-size: 1rem; }
  .main-nav.open .nav-mobile-only { color: var(--w-sky); }
}

/* Footer */
.site-footer { background: linear-gradient(180deg, var(--w-navy), var(--w-deep)); color: #a9b8cc; }
.footer-grid h2 { color: #fff; }
.footer-grid a:hover { color: var(--w-sky); }
.footer-grid .brand-logo { width: 56px; }
.footer-tagline { margin-top: 4px; color: #c7d3e3; }
.footer-hand { margin: 18px 0 0; color: var(--w-sky); font-family: var(--w-hand); font-style: italic; font-size: 1.15rem; line-height: 1.3; }

/* Shared building blocks */
.w-eyebrow { margin: 0 0 14px; color: var(--w-blue); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.w-text { max-width: 60ch; color: var(--w-muted); font-size: 1.05rem; }
.w-section { padding-block: 96px; }
.w-section h2 span, .w-hero h1 span { color: var(--w-blue-2); }
.w-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.w-btn:hover { transform: translateY(-2px); }
.w-btn-primary { background: linear-gradient(135deg, var(--w-blue-2), var(--w-blue)); color: #fff; box-shadow: 0 14px 30px rgba(37, 99, 235, .32); }
.w-btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.w-btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.w-play { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid currentColor; border-radius: 50%; font-size: .6rem; }
.w-link { color: var(--w-blue); font-weight: 750; }
.w-link:hover { text-decoration: underline; }
.w-handwritten { margin: 0; color: var(--w-sky); font-family: var(--w-hand); font-style: italic; font-size: 1.3rem; line-height: 1.3; transform: rotate(-3deg); }
.w-ic { display: inline-grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 13px; font-style: normal; font-weight: 800; }
.w-ic svg { width: 24px; height: 24px; }
.w-ic-blue { background: #e6efff; color: var(--w-blue); }
.w-ic-violet { background: #f0e9ff; color: var(--w-violet); }
.w-ic-green { background: #e3f7ea; color: var(--w-green); }
.w-ic-cyan { background: #e0f5fa; color: var(--w-cyan); }
.w-ic-solid { background: linear-gradient(135deg, var(--w-blue-2), var(--w-blue)); color: #fff; }
.w-checks, .w-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; }
.w-checks li, .w-ticks li { position: relative; padding-left: 28px; }
.w-checks li::before, .w-ticks li::before { content: "✓"; position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--w-blue-2); color: #fff; font-size: .7rem; font-weight: 900; }

/* Hero (dark, optional photo on the right) */
.w-hero { position: relative; overflow: hidden; padding: 84px 0 96px; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(59, 130, 246, .28), transparent 40%), linear-gradient(160deg, var(--w-navy) 0%, var(--w-deep) 100%); }
.w-hero.has-photo { background: linear-gradient(90deg, var(--w-deep) 0%, rgba(7, 20, 38, .94) 38%, rgba(7, 20, 38, .55) 70%, rgba(7, 20, 38, .35) 100%), url("/images/site/hero.webp") center right / cover no-repeat; }
.w-hero .shell { width: min(1240px, calc(100% - 40px)); }
.w-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 56px; }
.w-hero-copy { min-width: 0; }
.w-hero .w-eyebrow { color: var(--w-sky); }
.w-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; text-wrap: balance; }
.w-lead { max-width: 54ch; color: #c9d6e8; font-size: 1.15rem; line-height: 1.7; }
.w-hero .w-checks { color: #dbe5f2; font-size: .92rem; }
.w-hero .w-handwritten { margin-top: 30px; }
.w-hero-note { margin: 0; color: #9fb3d1; font-size: .88rem; }
.w-hero-product { padding-top: 64px; }
.w-hero-product h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.w-product-name { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.w-product-name strong { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
.w-product-name small { color: #9fb3d1; font-size: .85rem; }
.w-product-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--w-blue-2), var(--w-blue)); }
.w-product-icon svg { width: 26px; height: 26px; }
.w-checks-large { display: grid; gap: 10px; margin-top: 8px; font-size: 1.05rem; font-weight: 650; }

/* Product illustration (laptop + phone) */
.w-mockup { position: relative; min-width: 0; padding: 0 0 40px; font-size: 12px; }
.w-laptop { width: 92%; }
.w-screen { display: grid; grid-template-columns: 22% 1fr; overflow: hidden; aspect-ratio: 16 / 10.4; max-width: 100%; border: 10px solid #1b2433; border-bottom-width: 14px; border-radius: 16px 16px 0 0; background: #f4f7fc; color: var(--w-ink); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.w-laptop-base { height: 14px; margin: 0 -4%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #cfd6e0, #9aa5b5); }
.w-app-nav { display: flex; flex-direction: column; gap: 4px; padding: 12px 8px; background: var(--w-navy); color: #b8c6da; font-size: .85em; }
.w-app-logo img { width: 30px; margin: 0 0 10px 4px; }
.w-app-nav span { padding: 5px 7px; border-radius: 6px; }
.w-app-nav .active { background: var(--w-blue); color: #fff; }
.w-app-main { min-width: 0; padding: 12px 14px; }
.w-app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.w-app-search { width: 45%; padding: 4px 8px; border: 1px solid var(--w-line); border-radius: 6px; background: #fff; color: #94a3b8; font-size: .85em; }
.w-app-avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--w-blue); color: #fff; font-size: .75em; font-weight: 800; }
.w-app-hello { margin: 0 0 10px; font-weight: 800; font-size: 1.15em; line-height: 1.3; }
.w-app-hello small { display: block; color: var(--w-muted); font-weight: 500; font-size: .75em; }
.w-app-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 10px; }
.w-app-kpis div { padding: 8px; border: 1px solid var(--w-line); border-radius: 8px; background: #fff; line-height: 1.25; }
.w-app-kpis small, .w-app-kpis em { display: block; color: var(--w-muted); font-size: .72em; font-style: normal; }
.w-app-kpis em { color: var(--w-green); }
.w-app-kpis strong { display: block; margin: 2px 0; font-size: 1.35em; }
.w-app-planning { padding: 8px 10px; border: 1px solid var(--w-line); border-radius: 8px; background: #fff; }
.w-app-planning p { margin: 0 0 4px; font-weight: 800; }
.w-app-planning div { display: grid; grid-template-columns: 8px 38px 1fr auto; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid #eef2f7; font-size: .85em; line-height: 1.25; }
.w-app-planning small { display: block; color: var(--w-muted); font-size: .85em; }
.w-app-planning i { padding: 2px 7px; border-radius: 10px; background: #fff4db; color: #a16207; font-style: normal; font-size: .8em; font-weight: 700; }
.w-app-planning i.planned { background: #e6efff; color: var(--w-blue); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.red { background: #ef4444; } .dot.green { background: #22c55e; } .dot.blue { background: var(--w-blue-2); }
.w-phone { position: absolute; right: 0; bottom: 0; width: 30%; max-width: 190px; padding: 7px; border-radius: 26px; background: #111827; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.w-phone-screen { padding: 14px 10px; border-radius: 20px; background: #fff; color: var(--w-ink); line-height: 1.3; }
.w-phone-title { margin: 0 0 6px; font-weight: 800; font-size: 1.05em; }
.w-phone-title small { display: block; color: var(--w-muted); font-weight: 500; font-size: .85em; }
.w-phone-status { display: inline-block; margin-bottom: 8px; padding: 2px 8px; border-radius: 10px; background: #fff4db; color: #a16207; font-size: .78em; font-weight: 700; }
.w-phone ul { padding: 0; margin: 0 0 10px; list-style: none; }
.w-phone li { padding: 6px 0; border-top: 1px solid #eef2f7; font-size: .85em; }
.w-phone li::after { content: "›"; float: right; color: #94a3b8; }
.w-phone-button { display: block; padding: 7px; border-radius: 8px; background: var(--w-blue); color: #fff; text-align: center; font-size: .85em; font-weight: 700; }
.w-wesley-badge { position: absolute; left: -4%; bottom: 6px; display: flex; align-items: center; gap: 10px; max-width: 260px; padding: 8px 14px 8px 8px; border-radius: 16px; background: #fff; color: var(--w-ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); font-size: .95em; line-height: 1.3; }
.w-wesley-badge img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; object-position: top; background: linear-gradient(145deg, var(--w-blue-2), var(--w-navy)); }
.w-wesley-badge strong { display: block; }
.w-mockup-note { position: absolute; top: -22px; right: 8%; color: #8ea3c0; font-size: .85em; }

/* Facts strip */
.w-facts { background: var(--w-soft); border-bottom: 1px solid var(--w-line); }
.w-facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px 28px; padding-block: 26px; font-size: .85rem; color: var(--w-muted); line-height: 1.4; }
.w-facts-row strong { display: block; color: var(--w-ink); font-size: .95rem; }
.w-facts-highlight { padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid #c7d8f8; }
.w-facts-highlight strong { color: var(--w-blue); }

/* Solutions */
.w-solutions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
.w-solutions h2, .w-steps-wrap h2, .w-band h2, .w-price-split h2, .w-cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); text-wrap: balance; }
.w-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.w-tile { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 22px 20px 44px; border: 1px solid var(--w-line); border-radius: var(--w-radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.w-tile:hover { transform: translateY(-3px); border-color: #bfd3f6; box-shadow: var(--w-shadow); }
.w-tile strong { margin-top: 8px; font-size: 1.05rem; }
.w-tile span { color: var(--w-muted); font-size: .9rem; line-height: 1.5; }
.w-tile b { position: absolute; left: 20px; bottom: 16px; color: var(--w-blue); }

/* Dark band */
.w-band { padding-block: 90px; color: #fff; background: radial-gradient(circle at 10% 90%, rgba(59, 130, 246, .25), transparent 40%), linear-gradient(135deg, var(--w-navy), var(--w-deep)); }
.w-band-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.w-band .w-eyebrow { color: var(--w-sky); }
.w-band .w-text { color: #c3d0e2; }
.w-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.w-benefits > div { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .05); }
.w-maker { grid-column: 1 / -1; margin: 6px 0 0; padding: 22px 24px; border-left: 4px solid var(--w-blue-2); border-radius: 0 16px 16px 0; background: rgba(255, 255, 255, .06); }
.w-maker p { margin: 0 0 8px; font-size: 1.1rem; font-style: italic; }
.w-maker footer { color: var(--w-sky); font-size: .88rem; }

/* Steps */
.w-steps-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
.w-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.w-steps::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--w-blue-2), #c7d8f8); }
.w-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.w-steps span { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--w-blue-2); border-radius: 50%; background: #fff; color: var(--w-blue); font-weight: 850; }
.w-steps li.current span { background: var(--w-blue); color: #fff; box-shadow: 0 0 0 6px rgba(59, 130, 246, .18); }
.w-steps strong { margin-top: 6px; }
.w-steps small { color: var(--w-muted); font-size: .86rem; line-height: 1.45; }
.w-soft { background: var(--w-soft); }

/* CTA band */
.w-cta { position: relative; padding-block: 80px; color: #fff; background: linear-gradient(120deg, var(--w-blue) 0%, var(--w-navy-2) 55%, var(--w-navy) 100%); }
.w-cta.has-photo { background: linear-gradient(90deg, rgba(11, 31, 58, .96) 0%, rgba(11, 31, 58, .86) 45%, rgba(11, 31, 58, .35) 100%), url("/images/site/cta.webp") center / cover no-repeat; }
.w-cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px 50px; align-items: center; }
.w-cta .w-text { color: #d3def0; }
.w-cta .w-actions { margin-bottom: 0; }
.w-cta .w-ticks { flex-direction: column; color: #e5edf8; font-weight: 650; }
.w-cta.has-photo .w-ticks { padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: rgba(7, 20, 38, .72); backdrop-filter: blur(6px); }
.w-handwritten-cta { grid-column: 1 / -1; justify-self: end; }

/* ServiceHub page */
.w-feature-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.w-feature-row article { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 22px 18px; border: 1px solid var(--w-line); border-radius: var(--w-radius); background: #fff; scroll-margin-top: 100px; }
.w-feature-row strong { margin-top: 8px; }
.w-feature-row span { color: var(--w-muted); font-size: .88rem; line-height: 1.5; }
.w-soon { margin: 22px 0 0; padding: 14px 18px; border: 1px dashed #b9cbea; border-radius: 14px; background: var(--w-soft); color: var(--w-muted); font-size: .92rem; }
.w-soon strong { color: var(--w-blue); }
.w-price-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.w-ticks-cards { flex-direction: column; gap: 14px; }
.w-ticks-cards li { padding: 18px 20px 18px 54px; border: 1px solid var(--w-line); border-radius: 16px; background: #fff; color: var(--w-muted); line-height: 1.5; }
.w-ticks-cards li::before { left: 20px; top: 21px; }
.w-ticks-cards strong { display: block; color: var(--w-ink); }
.w-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 18px; align-items: center; margin-bottom: 90px; padding: 26px; border-radius: 22px; background: var(--w-navy); color: #fff; }
.w-trust > div { display: flex; gap: 14px; align-items: flex-start; min-width: 0; color: #b9c8dc; font-size: .9rem; line-height: 1.5; }
.w-trust strong { display: block; color: #fff; }
.w-trust a { color: var(--w-sky); text-decoration: underline; }
.w-handwritten-dark { padding-right: 8px; }

/* Shared subpages: page heading and pricing cards */
.page-hero { position: relative; border-bottom: 0; background: linear-gradient(180deg, var(--w-soft), #fff); }
.page-hero.shell { width: 100%; padding-inline: max(20px, calc((100% - 1160px) / 2)); }
.page-hero .eyebrow, .eyebrow { color: var(--w-blue); }
.pricing-grid article { border-radius: 22px; background: #fff; }
.pricing-grid article.pricing-main { position: relative; border: 2px solid var(--w-blue); box-shadow: var(--w-shadow); }
.pricing-grid article.pricing-main::before { content: "Alles inbegrepen"; position: absolute; top: -13px; left: 28px; padding: 3px 12px; border-radius: 20px; background: var(--w-blue); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.pricing-grid li::marker { color: var(--w-blue-2); }

/* Support agreement (Contact, Prijzen) */
.support-terms { max-width: 850px; margin: 40px auto 0; padding: 26px 28px; border: 1px solid var(--w-line); border-radius: 20px; background: var(--w-soft); }
.contact-grid .support-terms { margin: 32px 0 0; }
.support-terms h2 { margin-bottom: 8px; font-size: 1.35rem; }
.support-terms p { color: var(--w-muted); }
.support-terms a { color: var(--w-blue); font-weight: 700; }
.support-terms ul { display: grid; gap: 10px; padding: 0; margin: 0 0 16px; list-style: none; }
.support-terms li { padding: 12px 16px; border-radius: 12px; background: #fff; color: var(--w-muted); font-size: .95rem; }
.support-terms li strong { display: block; color: var(--w-ink); }
.support-terms .support-note { margin: 0; font-size: .88rem; }

/* Cookie consent (only rendered when GA4 or Meta Pixel is configured) */
/* Boven de Wesley-widget (z-index 2147483000): op mobiel lag de begroeting anders over de cookieknoppen. */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483001; max-width: 560px; padding: 20px 22px; border: 1px solid var(--w-line); border-radius: 18px; background: #fff; color: var(--w-ink); box-shadow: 0 24px 60px rgba(11, 31, 58, .25); }
.consent p { margin: 0 0 10px; font-size: .92rem; line-height: 1.55; }
.consent a { color: var(--w-blue); text-decoration: underline; }
.consent > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.consent button { flex: 1 1 180px; min-height: 46px; padding: 10px 16px; border-radius: 12px; font: inherit; font-weight: 750; cursor: pointer; }
.consent-reject { border: 1px solid #c9d5e6; background: #fff; color: var(--w-ink); }
.consent-accept { border: 1px solid var(--w-blue); background: var(--w-blue); color: #fff; }
.footer-consent { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* Responsive */
@media (max-width: 1100px) {
  .w-feature-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w-trust .w-handwritten { display: none; }
}
@media (max-width: 900px) {
  .w-hero { padding: 56px 0 64px; }
  .w-hero.has-photo { background: linear-gradient(180deg, rgba(7, 20, 38, .9), rgba(7, 20, 38, .97)), url("/images/site/hero.webp") center / cover no-repeat; }
  .w-hero-grid, .w-solutions, .w-band-grid, .w-steps-wrap, .w-cta-grid, .w-price-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .w-mockup { max-width: 640px; }
  .w-section { padding-block: 70px; }
  .w-trust { grid-template-columns: minmax(0, 1fr); }
  .w-handwritten-cta { justify-self: start; }
  .w-cta.has-photo { background: linear-gradient(180deg, rgba(11, 31, 58, .9), rgba(11, 31, 58, .95)), url("/images/site/cta.webp") center / cover no-repeat; }
}
@media (max-width: 600px) {
  .w-hero .shell { width: min(100% - 32px, 1240px); }
  .w-actions { flex-direction: column; align-items: stretch; }
  .w-mockup { font-size: 9px; padding-bottom: 30px; }
  .w-laptop { width: 100%; }
  .w-screen { grid-template-columns: minmax(0, 1fr); border-width: 6px; border-bottom-width: 9px; aspect-ratio: auto; }
  .w-app-nav { display: none; }
  .w-app-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-phone { display: none; }
  .w-wesley-badge { position: relative; left: 0; bottom: 0; margin-top: 14px; max-width: none; font-size: 12px; }
  .w-mockup-note { top: auto; bottom: 8px; right: 0; }
  .w-tiles, .w-benefits, .w-feature-row { grid-template-columns: minmax(0, 1fr); }
  .w-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .w-steps::before { top: 10px; bottom: 10px; left: 22px; right: auto; width: 2px; height: auto; }
  .w-steps li { display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 0; text-align: left; align-items: start; }
  .w-steps span { grid-row: 1 / 3; }
  .w-steps strong { margin-top: 2px; }
  .w-facts-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .w-facts-highlight { grid-column: 1 / -1; }
  .w-trust { margin-bottom: 60px; padding: 20px; }
  .brand-logo { width: 42px; }
}
@media (prefers-reduced-motion: reduce) { .w-btn, .w-tile { transition: none; } }

/* Public quote page (/offerte/{token}) */
.quote-public { background: var(--w-soft); }
.quote-public-shell { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding-block: 32px 48px; display: grid; gap: 18px; }
.quote-public-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quote-public-head img { max-width: 200px; max-height: 64px; }
.quote-public-head strong { font-size: 1.4rem; }
.quote-public-status { padding: 5px 12px; border-radius: 20px; font-size: .8rem; font-weight: 800; background: #e6efff; color: var(--w-blue); }
.quote-public-status.ok { background: #e3f7ea; color: #166534; }
.quote-public-status.closed { background: #f1f5f9; color: var(--w-muted); }
.quote-public-card { padding: 24px; border: 1px solid var(--w-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(11, 31, 58, .06); }
.quote-public-card h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.quote-public-card h2 { font-size: 1.3rem; }
.quote-public-meta { color: var(--w-muted); }
.quote-public-desc { white-space: pre-line; }
.quote-public-table { overflow-x: auto; }
.quote-public-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.quote-public-table th, .quote-public-table td { padding: 10px 8px; border-bottom: 1px solid var(--w-line); text-align: left; }
.quote-public-table td:last-child, .quote-public-table th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quote-public-totals { display: grid; gap: 4px; max-width: 320px; margin: 16px 0 0 auto; }
.quote-public-totals div { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.quote-public-totals dd { margin: 0; }
.quote-public-totals .grand { padding-top: 8px; border-top: 1px solid var(--w-line); font-weight: 800; font-size: 1.15rem; }
.quote-public-pdf { display: inline-block; margin-top: 16px; color: var(--w-blue); font-weight: 700; text-decoration: underline; }
.quote-public-form { display: grid; gap: 12px; }
.quote-public-form label { display: grid; gap: 6px; font-weight: 700; }
.quote-public-form input:not([type=checkbox]), .quote-public-form textarea { padding: 12px 14px; border: 1px solid #c9d5e6; border-radius: 10px; font: inherit; }
.quote-public-check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; }
.quote-public-check input { width: 20px; height: 20px; margin-top: 2px; }
.quote-public-reject { margin-top: 16px; }
.quote-public-reject summary { cursor: pointer; color: var(--w-muted); }
.quote-public-secondary { justify-self: start; min-height: 44px; padding: 10px 18px; border: 1px solid #c9d5e6; border-radius: 12px; background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.quote-public-message { margin: 0; padding: 14px 18px; border-radius: 14px; background: #e6efff; color: var(--w-ink); font-weight: 600; }
.quote-public-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--w-muted); font-size: .85rem; }
.pay-public { display: grid; gap: 14px; }
.pay-public h1 { font-variant-numeric: tabular-nums; }
