/*
 * Omni Technologies public website. Mobile first, system fonts (no web font to download, no layout
 * shift), brand colours from the logo: black type with cyan, magenta and yellow ink dots.
 * Colour pairs used for text meet WCAG AA (4.5:1); the bright logo colours are decoration only.
 */

:root {
    --ink: #15171c;
    --muted: #5b6270;
    --bg: #ffffff;
    --bg-soft: #f4f6f9;
    --bg-card: #ffffff;
    --line: #e2e6ec;
    --link: #0073a8;
    --cta: #d1007d;
    --cta-hover: #b8006d;
    --cta-text: #ffffff;
    --cyan: #00aeef;
    --magenta: #ec008c;
    --yellow: #fff200;
    --whatsapp: #0b6e63;
    --focus: #0073a8;
    --mark: #fff59a;
    --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 8px 24px rgb(16 24 40 / 6%);
    --radius: 14px;
    --radius-sm: 10px;
    --wrap: 74rem;
    --gutter: clamp(1rem, 4vw, 2rem);
    --header-h: 4rem;
    --bar-h: 4.25rem;
    --blend: multiply;
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #e8ecf2;
        --muted: #9aa3b2;
        --bg: #0e1116;
        --bg-soft: #151a21;
        --bg-card: #171c24;
        --line: #2a313c;
        --link: #5ccff7;
        --cta: #ff6eb4;
        --cta-hover: #ff8cc4;
        --cta-text: #0e1116;
        --whatsapp: #25d366;
        --focus: #5ccff7;
        --mark: #6b5f00;
        --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px rgb(0 0 0 / 30%);
        --blend: screen;
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 1.0625rem/1.65 var(--font);
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}

@media (min-width: 64rem) {
    body { padding-bottom: 0; }
}

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

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p, ul, ol { margin: 0 0 1em; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 0.5rem; top: -4rem; z-index: 100;
    background: var(--ink); color: var(--bg); padding: 0.75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 0.5rem; }

mark.placeholder {
    background: var(--mark); color: inherit; padding: 0 0.25em; border-radius: 4px;
    outline: 1px dashed currentColor; outline-offset: 1px;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 3rem; padding: 0.7rem 1.25rem; border-radius: 999px;
    font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; text-align: center;
    border: 2px solid transparent; cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: var(--cta-text); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-quiet { background: var(--bg-soft); color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-whatsapp { color: #0e1116; } }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; margin-right: auto; padding-block: 0.4rem; }
.brand img { width: auto; height: 2.6rem; }
/* Dark mode uses logo-dark.webp (light type, same ink dots) through <picture>. */

.nav-desktop { display: none; }
.header-cta { display: none; }

.nav-mobile { position: static; }
.nav-mobile > summary {
    list-style: none; display: inline-flex; align-items: center; gap: 0.4rem;
    min-height: 2.75rem; min-width: 2.75rem; padding: 0.5rem 0.9rem;
    border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile .icon-close { display: none; }
.nav-mobile[open] .icon-open { display: none; }
.nav-mobile[open] .icon-close { display: inline; }
.nav-mobile .menu-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 0.5rem var(--gutter) 1.25rem; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 3rem; padding: 0.5rem 0; color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--line); font-weight: 600;
}
.menu-panel .sub a { font-weight: 400; padding-left: 1rem; color: var(--muted); }
.menu-panel .btn-row { margin-top: 1rem; }
.menu-panel .btn { flex: 1 1 12rem; }

@media (min-width: 64rem) {
    .nav-mobile { display: none; }
    .nav-desktop { display: flex; align-items: center; gap: 0.25rem; }
    .nav-desktop a {
        display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 0.75rem;
        border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.98rem;
    }
    .nav-desktop a:hover, .nav-desktop a[aria-current="page"] { background: var(--bg-soft); }
    .nav-desktop a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cta); border-radius: 999px 999px 999px 999px; }
    .header-cta { display: flex; gap: 0.5rem; align-items: center; }
    .header-cta .phone { color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 0.4rem; align-items: center; min-height: 2.75rem; padding-inline: 0.5rem; }
    .header-cta .btn { min-height: 2.75rem; padding-block: 0.5rem; }
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs { font-size: 0.9rem; color: var(--muted); padding-top: 1.25rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
    position: relative; overflow: hidden; padding-block: clamp(2rem, 6vw, 5rem) clamp(2.5rem, 6vw, 5rem);
    background:
        radial-gradient(40rem 22rem at 100% 0%, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 70%),
        radial-gradient(30rem 18rem at 0% 100%, color-mix(in srgb, var(--magenta) 7%, transparent), transparent 70%);
}
.hero .wrap { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60rem) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem;
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.dots { display: inline-flex; gap: 0.3rem; }
.dots i { display: block; width: 0.65rem; height: 0.65rem; border-radius: 50%; }
.dots i:nth-child(1) { background: var(--cyan); }
.dots i:nth-child(2) { background: var(--magenta); }
.dots i:nth-child(3) { background: var(--yellow); }

.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.hero h1 { max-width: 18ch; }
.hero .btn-row { margin-top: 1.5rem; }

.trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 1.75rem 0 0; padding: 0; list-style: none; font-size: 0.95rem; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust .icon { color: var(--link); }

.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.ink { position: absolute; inset: auto; pointer-events: none; }
.ink span { position: absolute; border-radius: 50%; mix-blend-mode: var(--blend); opacity: 0.85; }
.ink span:nth-child(1) { background: var(--cyan); }
.ink span:nth-child(2) { background: var(--magenta); }
.ink span:nth-child(3) { background: var(--yellow); }
.hero-media .ink { width: 6.5rem; height: 4.25rem; right: -0.5rem; top: -1.5rem; z-index: 1; }
.hero-media .ink span { width: 3.25rem; height: 3.25rem; }
.hero-media .ink span:nth-child(1) { left: 0; top: 0.6rem; }
.hero-media .ink span:nth-child(2) { left: 1.6rem; top: 0; }
.hero-media .ink span:nth-child(3) { left: 3.2rem; top: 0.6rem; }
@media (min-width: 60rem) {
    .hero-media .ink { width: 9rem; height: 6rem; right: -1.25rem; top: -2rem; }
    .hero-media .ink span { width: 4.5rem; height: 4.5rem; }
    .hero-media .ink span:nth-child(1) { top: 0.75rem; }
    .hero-media .ink span:nth-child(2) { left: 2.25rem; }
    .hero-media .ink span:nth-child(3) { left: 4.5rem; top: 0.75rem; }
}
@media (prefers-color-scheme: dark) { .ink span { opacity: 0.6; } }

.page-hero { padding-block: 1.5rem 2.5rem; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 1.5rem; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid-2 { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }

.card {
    position: relative; display: flex; flex-direction: column; gap: 0.5rem;
    background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem; box-shadow: var(--shadow);
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .icon-badge {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px;
    background: var(--bg-soft); color: var(--ink); margin-bottom: 0.25rem;
}
.card .icon-badge .icon { width: 1.4rem; height: 1.4rem; }
.card:nth-child(3n+1) .icon-badge { box-shadow: inset 0 -3px 0 var(--cyan); }
.card:nth-child(3n+2) .icon-badge { box-shadow: inset 0 -3px 0 var(--magenta); }
.card:nth-child(3n+3) .icon-badge { box-shadow: inset 0 -3px 0 var(--yellow); }
.card-link { margin-top: auto; padding-top: 0.5rem; font-weight: 650; text-decoration: none; display: inline-flex; gap: 0.35rem; align-items: center; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:has(.card-link:hover) { border-color: var(--ink); }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.card-link:focus-visible { outline: none; }

.checks { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.checks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.checks li::before {
    content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; border-radius: 50%;
    background: var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
@media (prefers-color-scheme: dark) {
    .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1116' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
}

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.steps li { counter-increment: step; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.steps li::before {
    content: counter(step); display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem;
    border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; margin-bottom: 0.75rem;
}
.steps h3 { margin-bottom: 0.3rem; }
.steps p { margin: 0; color: var(--muted); }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; }
.prose > h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.35rem; }

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } .split.reverse > :first-child { order: 2; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split img.badge-img, img.badge-img { max-width: 15rem; box-shadow: none; border: 1px solid var(--line); background: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.chips li { padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; background: var(--bg-card); }

.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); margin: 1.5rem 0; padding: 0; list-style: none; }
.stats li { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.stats strong { display: block; font-size: 1.9rem; line-height: 1.1; letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 0.95rem; }

.quote {
    margin: 0; padding: 1.5rem 1.5rem 1.5rem 1.75rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--line); border-left: 6px solid var(--magenta); box-shadow: var(--shadow);
}
.quote blockquote { margin: 0; }
.quote p { font-size: 1.15rem; }
.quote footer { color: var(--muted); font-size: 0.95rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.badge-row img { height: 5rem; width: auto; border-radius: 8px; background: #fff; }

.note { font-size: 0.92rem; color: var(--muted); }

/* ---------- Call to action band ---------- */

.cta-band { background: var(--ink); color: var(--bg); border-radius: calc(var(--radius) * 1.5); padding: clamp(1.75rem, 5vw, 3rem); position: relative; overflow: hidden; }
.cta-band h2 { color: inherit; max-width: 28ch; }
.cta-band p { color: color-mix(in srgb, var(--bg) 80%, var(--ink)); max-width: 40rem; }
.cta-band .btn-secondary { color: var(--bg); border-color: var(--bg); }
.cta-band .btn-secondary:hover { background: var(--bg); color: var(--ink); }
.cta-band .ink { right: -1.5rem; bottom: -2.25rem; width: 10rem; height: 6rem; opacity: 0.9; }
@media (min-width: 48rem) { .cta-band .ink { right: 2rem; bottom: auto; top: -2rem; } .cta-band h2 { padding-right: 9rem; } }
.cta-band .ink span { width: 5rem; height: 5rem; mix-blend-mode: screen; }
.cta-band .ink span:nth-child(1) { left: 0; top: 1rem; }
.cta-band .ink span:nth-child(2) { left: 2.5rem; top: 0; }
.cta-band .ink span:nth-child(3) { left: 5rem; top: 1rem; }
@media (prefers-color-scheme: dark) { .cta-band .ink span { mix-blend-mode: multiply; } }

/* ---------- FAQ ---------- */

.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; gap: 1rem; align-items: center;
    min-height: 3.25rem; padding: 0.9rem 0; cursor: pointer; font-weight: 650; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: 1rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Case studies ---------- */

.case-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.source-note { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 0.75rem 1rem; color: var(--muted); font-size: 0.95rem; }
.kind { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

/* ---------- Contact ---------- */

.branches { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.branch dl { margin: 0; display: grid; gap: 0.6rem; }
.branch dt { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.branch dd { margin: 0; }
.branch .btn-row { margin-top: 0.5rem; }
.map-box { height: 22rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map-box > div { height: 100%; }

/* ---------- Forms ---------- */

.form-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field > label, .field legend { display: block; font-weight: 650; margin-bottom: 0.35rem; }
fieldset.field, .field fieldset { border: 0; padding: 0; min-width: 0; }
fieldset.field { margin: 0 0 1.1rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
    width: 100%; min-height: 3rem; padding: 0.65rem 0.85rem; font: inherit; font-size: 1rem;
    color: var(--ink); background: var(--bg); border: 1.5px solid color-mix(in srgb, var(--muted) 55%, var(--bg)); border-radius: var(--radius-sm);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field .help { font-size: 0.9rem; color: var(--muted); margin-top: 0.3rem; }
.field .errors, .form-errors { color: #b42318; font-weight: 600; font-size: 0.95rem; margin: 0.35rem 0 0; padding: 0; list-style: none; }
@media (prefers-color-scheme: dark) { .field .errors, .form-errors { color: #ff8a80; } }
.field [aria-invalid="true"] { border-color: #b42318; }
.form-errors { padding: 0.75rem 1rem; border-radius: var(--radius-sm); background: color-mix(in srgb, #b42318 10%, var(--bg)); margin-bottom: 1rem; }
.choice-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice-pills label, .check-row label { cursor: pointer; }
.choice-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-pills label {
    display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.45rem 1rem;
    border: 1.5px solid var(--line); border-radius: 999px; font-weight: 550;
}
.choice-pills input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.choice-pills input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.check-row { display: flex; gap: 0.7rem; align-items: flex-start; }
.check-row input { width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; flex: none; accent-color: var(--cta); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Tools (Live Components) ---------- */

.tool { display: grid; gap: 1.5rem; }
@media (min-width: 60rem) { .tool { grid-template-columns: 1fr 1fr; align-items: start; gap: 2.5rem; } }
.tool-result { position: sticky; top: calc(var(--header-h) + 1rem); }
.tool.is-loading .tool-result { opacity: 0.6; transition: opacity 0.2s; }
.question { border: 0; padding: 0; margin: 0 0 1.25rem; }
.question legend { font-weight: 700; margin-bottom: 0.5rem; }
.bars { display: grid; gap: 0.9rem; margin: 1rem 0; }
.bar-label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.bar { height: 0.9rem; border-radius: 999px; background: var(--bg-soft); overflow: hidden; border: 1px solid var(--line); }
.bar > span { display: block; height: 100%; border-radius: inherit; transition: width 0.3s ease; }
.bar-duplicator > span { background: var(--cyan); }
.bar-copier > span { background: var(--magenta); }
.card .result-big, .result-big { color: var(--ink); font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 0.5rem; }
.inputs-2 { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-size: 0.97rem; }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.site-footer h2 { font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); }
.site-footer address { font-style: normal; color: var(--muted); }
.footer-logo { height: 2.4rem; width: auto; margin-bottom: 0.75rem; }
.site-footer .social { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.site-footer .social a { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }
.site-footer .social a:hover, .site-footer .social a:focus-visible { border-color: currentColor; }
.site-footer .social .icon { width: 1.25rem; height: 1.25rem; }
.legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.legal a { color: var(--muted); }

/* ---------- Mobile action bar ---------- */

.action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.5rem;
    padding: 0.5rem max(0.75rem, env(safe-area-inset-left)) calc(0.5rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(0 0 0 / 8%);
}
.action-bar .btn { min-height: 3.1rem; padding-inline: 0.5rem; font-size: 0.95rem; gap: 0.35rem; }
@media (min-width: 64rem) { .action-bar { display: none; } }
.menu-open .action-bar { display: none; }

/* ---------- 404 ---------- */

.not-found { padding-block: 4rem; text-align: left; }

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

@media print {
    .site-header, .action-bar, .site-footer, .cta-band, .btn { display: none !important; }
    body { padding: 0; }
}

/* "Log a service call" (templates/website/log_call*.html.twig) */
.area-choice { margin-bottom: 0.25rem; }
.markup-note { color: #b42318; font-weight: 600; }
.popia-note { font-size: 0.9rem; color: var(--muted); }
.track-url { overflow-wrap: anywhere; font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem; }
