/* ==========================================================================
   UtilStudio - unified site stylesheet
   ========================================================================== */

:root {
    --brand: #b3001b;
    --brand-dark: #8a0015;
    --brand-soft: #fdecee;
    --accent: #1d6fe0;
    --success: #0f8a4b;
    --success-soft: #e6f6ee;
    --warning-soft: #fff6e0;
    --danger: #c62828;
    --danger-soft: #fdecec;

    --text: #1c2230;
    --text-muted: #5a6475;
    --text-soft: #8a93a3;
    --bg: #f5f6fa;
    --surface: #ffffff;
    --surface-alt: #f9fafc;
    --border: #e3e6ee;
    --border-strong: #cdd2dd;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(20, 28, 45, .06);
    --shadow: 0 6px 24px rgba(20, 28, 45, .08);
    --shadow-lg: 0 18px 50px rgba(20, 28, 45, .14);

    --container: 1180px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

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

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(179, 0, 27, .35);
    outline-offset: 2px;
}

h1, h2, h3, h4 { line-height: 1.25; color: var(--text); margin: 0 0 .6em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.brand-name span { color: var(--brand); }
.brand-tag { font-size: .74rem; color: var(--text-soft); font-style: italic; letter-spacing: .02em; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-tag { color: rgba(255, 255, 255, .6); }
.brand-light .brand-name span { color: #ff6b7d; }

.site-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
    display: block; padding: 8px 14px; border-radius: 999px;
    color: var(--text); font-weight: 600; font-size: .95rem;
}
.site-nav ul a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.site-nav ul a.active { background: var(--brand); color: #fff; }

.lang-switch { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-alt); }
.lang-switch a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--text-muted); }
.lang-switch a:hover { text-decoration: none; color: var(--text); background: #fff; }
.lang-switch a.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.lang-switch img { border-radius: 2px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 920px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 12px;
        padding: 14px 20px 20px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }
    .site-nav ul { flex-direction: column; }
    .site-nav ul a { border-radius: var(--radius-sm); padding: 11px 14px; }
    .lang-switch { align-self: flex-start; }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }
}

.notice-bar { background: var(--warning-soft); border-bottom: 1px solid #f0dca8; padding: 10px 0; font-size: .92rem; }

.breadcrumbs { padding-top: 18px; font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--text-soft); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-muted); }

/* ---------- Main ---------- */
.site-main { flex: 1 0 auto; padding-bottom: 64px; }

.hero {
    position: relative; overflow: hidden;
    background: radial-gradient(1200px 400px at 85% -10%, rgba(179, 0, 27, .14), transparent 60%),
                linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    padding: 64px 0 48px;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.15rem; color: var(--text-muted); max-width: 46em; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { max-height: 280px; filter: drop-shadow(0 20px 40px rgba(20, 28, 45, .18)); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; } .hero-art { order: -1; } .hero-art img { max-height: 180px; } }

.page-head { padding: 40px 0 8px; }
.page-head .lead { color: var(--text-muted); font-size: 1.08rem; max-width: 52em; }

.section { padding: 32px 0; }
.section-title { margin-bottom: 18px; }

.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: 28px;
}
.card + .card { margin-top: 20px; }
.card-muted { background: var(--surface-alt); }

.prose { max-width: 860px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.content-html table { border-collapse: collapse; max-width: 100%; }
.content-html td, .content-html th { padding: 6px 10px; vertical-align: top; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
    font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
    cursor: pointer; transition: background .15s, color .15s, box-shadow .15s, transform .05s;
    text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(179, 0, 27, .25); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-success { background: var(--success); color: #fff; box-shadow: 0 6px 16px rgba(15, 138, 75, .22); }
.btn-success:hover { background: #0b6f3c; color: #fff; }
.btn-secondary { background: #4b5465; color: #fff; }
.btn-secondary:hover { background: #363d4b; color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn[disabled], .btn.disabled { background: #c9ced8; color: #fff; box-shadow: none; cursor: not-allowed; }
.btn .icon { flex-shrink: 0; }

/* ---------- Product cards ---------- */
.product-list { display: grid; gap: 22px; padding-top: 8px; }
.product-card {
    display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product-card:hover { box-shadow: var(--shadow); border-color: var(--border-strong); }
.product-image { display: flex; justify-content: center; align-items: center; background: var(--surface-alt); border-radius: var(--radius); padding: 14px; }
.product-image img { max-height: 160px; width: auto; }
.product-title { margin-bottom: .2em; font-size: 1.45rem; }
.product-title a { color: var(--text); }
.product-title a:hover { color: var(--brand); text-decoration: none; }
.product-subtitle { color: var(--brand); font-weight: 700; margin-bottom: .6em; }
.product-description { color: var(--text-muted); }
.product-description h3 { color: var(--text); font-size: 1.05rem; }
.product-description ul { padding-left: 1.2em; margin: .4em 0 0; }
.product-description li { margin: .2em 0; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 680px) { .product-card { grid-template-columns: 1fr; padding: 22px; } .product-image img { max-height: 120px; } }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 30px; }
.feature-list li::before {
    content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
    background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8a4b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--surface-alt); color: var(--text-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fcfcfe; }
.table .num { text-align: right; white-space: nowrap; }
.table .actions { text-align: right; white-space: nowrap; }
.table .product-name { font-weight: 700; }
.table .product-name a { color: var(--text); }
.table .product-name a:hover { color: var(--brand); }
.table .muted { color: var(--text-muted); font-size: .92rem; }
@media (max-width: 700px) {
    .table.stack thead { display: none; }
    .table.stack tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--border); }
    .table.stack td { display: block; border: 0; padding: 4px 0; text-align: left; }
    .table.stack .actions { text-align: left; padding-top: 10px; }
}

.price { font-weight: 800; white-space: nowrap; }
.price-alt { display: block; color: var(--text-soft); font-weight: 400; font-size: .88rem; }
.payment-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 12px; }
.payment-logos img { height: 22px; width: auto; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 6px; }
.form-row.inline { grid-template-columns: 200px 1fr; align-items: center; gap: 16px; }
@media (max-width: 640px) { .form-row.inline { grid-template-columns: 1fr; gap: 6px; } }
label { font-weight: 600; font-size: .93rem; }
.hint { color: var(--text-soft); font-size: .85rem; font-weight: 400; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], input[type="date"], input[type="search"], select, textarea {
    width: 100%; font: inherit; color: var(--text);
    padding: 11px 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(179, 0, 27, .12); outline: none; }
textarea { min-height: 150px; resize: vertical; }
input[type="file"] { font: inherit; }
input.qty { width: 90px; text-align: center; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.checkbox input { margin-top: .35em; width: 18px; height: 18px; accent-color: var(--brand); }
.field-error { color: var(--danger); font-size: .87rem; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin: 0; }
.fieldset legend { font-weight: 800; padding: 0 8px; color: var(--text); }

/* ---------- Alerts ---------- */
.alert { border-radius: var(--radius); padding: 14px 18px; border: 1px solid; margin-bottom: 18px; }
.alert-error { background: var(--danger-soft); border-color: #f3c2c2; color: #8b1a1a; }
.alert-success { background: var(--success-soft); border-color: #b9e4cd; color: #0a5a32; }
.alert-info { background: #eef4fe; border-color: #c9dbf8; color: #1b4c96; }
.alert-warning { background: var(--warning-soft); border-color: #f0dca8; color: #7a5600; }
.alert ul { margin: .4em 0 0; padding-left: 1.2em; }

/* ---------- Download page ---------- */
.download-hero { text-align: center; padding: 48px 0 16px; }
.download-hero .product-name { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 800; color: var(--text); }
.download-box { max-width: 720px; margin: 0 auto; text-align: center; }
.download-box .btn-lg { margin: 18px 0 8px; }
.download-options { display: grid; gap: 12px; text-align: left; margin-top: 20px; }
.download-option { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-alt); }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; min-height: 32px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery a { display: block; }
.gallery img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: top; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 14px; font-size: .88rem; color: var(--text-muted); }

.lightbox { position: fixed; inset: 0; background: rgba(12, 16, 26, .86); display: none; align-items: center; justify-content: center; z-index: 200; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); background: #fff; }
.lightbox button { position: absolute; top: 16px; right: 20px; background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }

/* ---------- Misc ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--brand-soft); color: var(--brand); }
.badge-success { background: var(--success-soft); color: var(--success); }
.muted { color: var(--text-muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; }
.stack-sm > * + * { margin-top: 10px; }
.contact-tiles .card { display: flex; gap: 16px; align-items: flex-start; }
.contact-tiles .icon-circle { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.code, code { font-family: var(--mono); background: #f1f2f6; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.cta-band { background: linear-gradient(135deg, var(--brand) 0%, #6d0012 100%); color: #fff; border-radius: var(--radius-lg); padding: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2, .cta-band p { color: #fff; margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.cta-band .btn-primary:hover { background: #ffe9ec; }

.lang-chooser { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 28px; }
.lang-chooser a { display: flex; align-items: center; gap: 14px; min-width: 230px; padding: 18px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--text); font-weight: 700; font-size: 1.1rem; }
.lang-chooser a:hover { border-color: var(--brand); box-shadow: var(--shadow); text-decoration: none; }
.lang-chooser img { width: 40px; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px var(--border); }
.lang-chooser small { display: block; font-weight: 400; color: var(--text-muted); font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: #151a24; color: rgba(255, 255, 255, .72); padding: 54px 0 0; font-size: .93rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid p { margin-top: 14px; max-width: 30em; }
.footer-title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: rgba(255, 255, 255, .78); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding: 18px 20px; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Chat & cookies ---------- */
.chat-button {
    position: fixed; right: 20px; bottom: 20px; z-index: 90;
    display: flex; align-items: center; gap: 10px;
    background: var(--brand); color: #fff; border-radius: 999px; padding: 12px; box-shadow: var(--shadow-lg);
}
.chat-button:hover { color: #fff; text-decoration: none; background: var(--brand-dark); }
.chat-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .9rem; transition: max-width .3s, margin .3s; }
.chat-button:hover .chat-label, .chat-button:focus .chat-label { max-width: 240px; margin-right: 6px; }

.cookie-consent {
    position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 440px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; font-size: .9rem;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent p { margin: 0; color: var(--text-muted); }
.cookie-consent button { align-self: flex-end; }
@media (max-width: 520px) { .cookie-consent { left: 12px; right: 12px; bottom: 84px; max-width: none; } }

/* ---------- Legacy HTML content (loaded from .html files) ---------- */
.legacy-content { overflow-x: auto; }
.legacy-content table { max-width: 100%; }
.legacy-content img { height: auto; }
.legacy-content font[color="#666666"], .legacy-content font[color="#808080"] { color: var(--text-muted); }

@media print {
    .site-header, .site-footer, .chat-button, .cookie-consent, .breadcrumbs { display: none !important; }
    body { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.legal h2{font-size:1.15rem;margin-top:1.4em}.legal h2:first-child{margin-top:0}
.legacy-content, .legacy-content *{font-family:inherit!important}.legacy-content{font-size:1rem}
/* Grid items may shrink below their content width (prevents horizontal overflow on phones) */
.hero-inner > *, .product-card > *, .grid > *, .footer-grid > * { min-width: 0; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) { .product-card { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Polish ---------- */
.form-row { align-content: start; }
.grid > .card + .card, .grid > * + .card { margin-top: 0; }
.contact-tiles .card { height: 100%; }

input[type="file"] { padding: 8px; border: 1px dashed var(--border-strong); border-radius: 10px; background: var(--surface-alt); width: 100%; color: var(--text-muted); }
input[type="file"]::file-selector-button {
    font: inherit; font-weight: 700; font-size: .88rem; margin-right: 12px; padding: 8px 16px;
    border: 0; border-radius: 999px; background: var(--brand-soft); color: var(--brand); cursor: pointer;
}
input[type="file"]::file-selector-button:hover { background: #fbd9de; }

/* Breadcrumbs blend into the following hero / page head */
.breadcrumbs + .site-main .hero, .breadcrumbs ~ main .hero { padding-top: 36px; }
body:has(.breadcrumbs) .hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(179, 0, 27, .12), transparent 60%), var(--bg); }

/* Compact cookie bar */
.cookie-consent {
    left: 50%; right: auto; bottom: 16px; transform: translateX(-50%);
    width: min(760px, calc(100% - 32px)); max-width: none;
    flex-direction: row; align-items: center; gap: 16px; padding: 12px 14px 12px 20px;
    border-radius: 999px; font-size: .86rem;
}
.cookie-consent p { flex: 1; }
.cookie-consent button { align-self: center; flex-shrink: 0; }
@media (max-width: 640px) {
    .cookie-consent { border-radius: var(--radius); flex-direction: column; align-items: stretch; bottom: 84px; padding: 14px 16px; }
    .cookie-consent button { align-self: flex-end; }
}

.captcha-img { border-radius: 8px; border: 1px solid var(--border); display: block; margin-bottom: 8px; }

/* ---------- Original company logo ---------- */
.header-inner { min-height: 76px; }
.footer-brand .brand {
    display: inline-flex; background: #fff; border-radius: 14px; padding: 8px 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.feature-list.card { padding: 24px 28px; }

/* ---------- Company logo (shield + wordmark) ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { display: block; height: auto; }
.brand .logo-mark { width: 38px; }
.brand .logo-wordmark { width: 168px; }
.footer-brand .brand { padding: 10px 18px; }
.footer-brand .brand .logo-mark { width: 32px; }
.footer-brand .brand .logo-wordmark { width: 150px; }
@media (max-width: 520px) { .brand .logo-mark { width: 32px; } .brand .logo-wordmark { width: 140px; } }

/* ---------- GDPR consent manager ---------- */
.consent {
    position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 120;
    width: min(880px, calc(100% - 24px)); background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px;
    display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end; font-size: .88rem;
}
.consent[hidden] { display: none; }
.consent-main { flex: 1 1 420px; }
.consent h2 { font-size: 1rem; margin: 0 0 6px; }
.consent p { margin: 0; color: var(--text-muted); }
.consent-options { display: grid; gap: 10px; margin-top: 12px; }
.consent-options[hidden] { display: none; }
.consent-options .checkbox { font-size: .86rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-actions .btn-secondary { min-width: 130px; }
@media (max-width: 640px) { .consent { bottom: 8px; } .consent-actions { width: 100%; } .consent-actions .btn { flex: 1 1 auto; } }

.consent-embed {
    border: 1px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface-alt);
    padding: 16px 18px; display: grid; gap: 10px; justify-items: start;
}
.consent-embed p { margin: 0; color: var(--text-muted); }
.consent-video { min-height: 200px; align-content: center; }
.privacy-notice { color: var(--text-soft); border-top: 1px solid var(--border); padding-top: 12px; margin: 4px 0 0; line-height: 1.5; }
.footer-bottom a { color: rgba(255, 255, 255, .7); }
.footer-bottom a:hover { color: #fff; }
.legal h3 { font-size: 1.02rem; margin-top: 1.2em; }
.legal .table { margin: 12px 0; font-size: .92rem; }

[hidden] { display: none !important; }
.prose > :first-child, .card > .prose:first-child > :first-child { margin-top: 0; }

/* ---------- Hero product showcase (replaces old box shots) ---------- */
.showcase { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 480px; }
.showcase a {
    display: flex; align-items: center; gap: 14px; height: 100%;
    padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); color: var(--text); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.showcase a:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.showcase img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.showcase strong { display: block; font-size: 1rem; }
.showcase small { display: block; color: var(--text-muted); font-size: .82rem; line-height: 1.35; margin-top: 2px; }
@media (max-width: 820px) { .hero-art { order: 0; } .showcase { max-width: none; } }
@media (max-width: 420px) { .showcase { grid-template-columns: 1fr; } }
