/* expo.akcro.com. One stylesheet, no framework. Logical properties only
   (margin-inline, inset-inline, text-align: start), so that a right-to-left
   language could be added without a second stylesheet. */
:root {
    --ink: #0f1b2d;
    --ink-2: #33415a;
    --muted: #66728a;
    --line: #e2e7ef;
    --soft: #f4f6fa;
    --paper: #ffffff;
    --accent: #ff5a36;
    --accent-dark: #d9451f;
    --ok: #0e7a4f;
    --ok-soft: #e7f6ef;
    --bad: #b3261e;
    --bad-soft: #fdecea;
    --warn-soft: #fff4e0;
    --radius: 14px;
    --wrap: 1160px;
    --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; color: var(--ink); background: var(--paper);
    font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap.narrow { max-width: 820px; }
.wrap.narrow-form { max-width: 480px; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 50; }
:focus-visible { outline: 3px solid rgba(255, 90, 54, .45); outline-offset: 2px; }

/* ── header ── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 1.15rem; white-space: nowrap; }
.brand img { border-radius: 8px; }
.brand-name b, .foot-brand b { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.nav a, .nav .link-button { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--ink); background: var(--soft); }
.nav-gap { flex: 1; }
.nav-out { margin: 0; }
.nav .nav-cta, .nav .nav-cta:hover { color: #fff; background: var(--accent); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button { display: none; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang a { padding: 5px 9px; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang a.on { background: var(--ink); color: #fff; }
.link-button { background: none; border: 0; font: inherit; cursor: pointer; color: var(--ink-2); }
.link-button.danger { color: var(--bad); text-decoration: underline; padding: 0; }

/* ── buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
    border: 1.5px solid transparent; font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-line { background: var(--paper); color: var(--ink); border-color: #c9d1de; }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { padding: 7px 12px; font-size: .875rem; border-radius: 8px; }
.btn-big { padding: 15px 26px; font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.actions.center { justify-content: center; }

/* ── sections ── */
.hero { background: linear-gradient(160deg, #0f1b2d 0%, #1b2f4f 100%); color: #fff; padding-block: 56px; }
.hero h1 { color: #fff; }
.hero .lead { color: #cfd8e6; }
.hero .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn-line:hover { border-color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.hero-art svg { display: block; width: 100%; }
.st-floor { fill: #223a5e; }
.st-wall-a { fill: #f4f6fa; }
.st-wall-b { fill: #dfe5ee; }
.st-sign { fill: var(--accent); }
.st-screen { fill: #0f1b2d; }
.st-desk-top { fill: #ffffff; }
.st-desk-a { fill: #ff7d5f; }
.st-desk-b { fill: var(--accent-dark); }
.st-light { stroke: #ffd27a; stroke-width: 6; stroke-linecap: round; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.head { background: var(--soft); border-bottom: 1px solid var(--line); padding-block: 36px 28px; }
.head h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.head .lead { margin-bottom: 0; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.head-row .actions { margin-top: 0; }
.crumb { font-size: .875rem; margin-bottom: 8px; }
.crumb a { color: var(--muted); }
.section { padding-block: 48px; }
.section-soft { background: var(--soft); }
.section h2 { margin-bottom: 20px; }
.section h2:not(:first-child) { margin-top: 36px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.band { background: var(--ink); color: #fff; padding-block: 48px; }
.band h2 { color: #fff; }
.band p { color: #cfd8e6; margin-bottom: 0; }
.band .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }

/* ── cards and grids ── */
.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)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.card.plain h2 { font-size: 1.25rem; margin-top: 0; }
.card.plain h3 { margin-top: 0; }
.card.plain > :last-child { margin-bottom: 0; }
a.card { display: block; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s, border-color .15s; }
a.card:hover { box-shadow: var(--shadow); border-color: #c9d1de; transform: translateY(-2px); }
.service .icon { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.service p { color: var(--ink-2); }
.tag, .pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #ffe9e3; color: var(--accent-dark); }
.tag-line { background: var(--soft); color: var(--ink-2); }
.pill { background: var(--soft); color: var(--ink-2); font-weight: 500; max-width: 100%; }
.pills { display: flex; flex-wrap: wrap; gap: 4px; }
.item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.item .price { font-weight: 600; margin: 0; }
.empty { text-align: center; padding: 48px 20px; border: 1.5px dashed #c9d1de; border-radius: var(--radius); color: var(--ink-2); }

/* ── lists ── */
.steps { list-style: none; counter-reset: step; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps > li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps > li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps > li p:last-child { margin-bottom: 0; color: var(--ink-2); }
.steps.long { grid-template-columns: 1fr; }
.steps.long > li::before { display: none; }
.steps.long h2 { font-size: 1.2rem; margin: 0 0 8px; }
.ticks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticks li strong { display: block; }
.ticks li span { color: var(--ink-2); }
.ticks.plain li span { color: var(--ink); }
.entity { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 6px 16px; margin: 0 0 12px; }
.entity dt { color: var(--muted); font-size: .9rem; }
.entity dd { margin: 0; font-weight: 500; }
.legal h2 { font-size: 1.2rem; margin-top: 32px; }
.legal li { margin-bottom: 8px; }

/* ── tables ── */
.table-scroll { overflow-x: auto; margin-bottom: 14px; }
table { width: 100%; border-collapse: collapse; }
.prices th, .prices td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.prices thead th { background: var(--soft); font-size: .9rem; }
.prices tbody th { font-weight: 600; }
.prices td strong { font-size: 1.15rem; }
.prices .unit { color: var(--muted); margin-inline-start: 4px; }
.prices small { display: block; }
.lines th, .lines td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.lines thead th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.lines .num { text-align: end; white-space: nowrap; }
.lines tfoot td { border-bottom: 0; padding-block: 6px; }
.lines tfoot .grand td { font-weight: 700; font-size: 1.1rem; border-top: 2px solid var(--ink); padding-top: 10px; }
.lines .note td { color: var(--muted); font-size: .9rem; }
.lines .section td { font-weight: 700; color: var(--ink); }
.pre { white-space: pre-line; }

/* ── forms ── */
.form { display: grid; gap: 16px; }
.form h2 { font-size: 1.15rem; margin: 12px 0 0; }
.form h3 { margin: 8px 0 0; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; min-width: 0; }
.form label small { font-weight: 400; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=password], .form input[type=date],
.form input[type=number], .form select, .form textarea {
    width: 100%; min-width: 0; padding: 11px 12px; border: 1.5px solid #c9d1de; border-radius: 10px; font: inherit; color: var(--ink); background: var(--paper);
}
.form input[type=file] { width: 100%; min-width: 0; font: inherit; font-weight: 400; padding: 10px; border: 1.5px dashed #c9d1de; border-radius: 10px; background: var(--soft); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: 3px solid rgba(255, 90, 54, .18); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.check, .form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }
.choices { display: grid; gap: 10px; }
.form label.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 400; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); background: #fff6f3; }
.choice input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.choice strong { display: block; }
.item-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form label.item-count { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 500; }
.item-count small { display: block; }
.form .item-count input { width: 84px; flex: none; }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; }
.alert > :last-child { margin-bottom: 0; }
.alert ul { margin: 0; padding-inline-start: 20px; }
.alert-ok { background: var(--ok-soft); color: #0a5a3a; }
.alert-error { background: var(--bad-soft); color: #7d1b15; }

/* ── order form with its price ── */
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.estimate { position: sticky; top: 84px; }
.estimate-lines { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.estimate-lines li { display: flex; justify-content: space-between; gap: 12px; }
.estimate-lines li span:last-child { white-space: nowrap; font-weight: 600; }
.estimate-lines small { display: block; }
.estimate-total { display: flex; justify-content: space-between; gap: 12px; border-top: 2px solid var(--ink); padding-top: 10px; font-size: 1.1rem; }

/* ── jobs ── */
.job-list { display: grid; gap: 12px; }
.job-row { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.job-row > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; }
.job-row-end { display: flex; align-items: center; gap: 12px; flex: none; }
.ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; color: var(--muted); font-weight: 500; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.badge-big { font-size: .95rem; padding: 7px 14px; }
.badge-draft, .badge-quoted { background: var(--warn-soft); color: #8a5300; }
.badge-request { background: #e8effc; color: #1f4690; }
.badge-paid, .badge-progress, .badge-done { background: var(--ok-soft); color: #0a5a3a; }
.badge-cancel { background: #eceff3; color: var(--muted); }
.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.job-main, .job-side { display: grid; gap: 20px; min-width: 0; }
.state-note { font-size: 1.05rem; color: var(--ink-2); margin: 0; }
.pay { margin-top: 16px; }
.cancel { margin: 0; }
.files { list-style: none; margin: 0 0 16px; padding: 0; }
.files li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.files li > div:first-child { display: grid; gap: 2px; min-width: 0; }
.file-name { font-weight: 600; word-break: break-word; }
.file-end { display: flex; align-items: center; gap: 8px; flex: none; }
.thread { display: grid; gap: 12px; margin-bottom: 18px; }
.bubble { max-width: 88%; padding: 12px 14px; border-radius: 14px; background: var(--soft); justify-self: start; }
.bubble.mine { background: #fff1ec; justify-self: end; }
.bubble-head { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .82rem; color: var(--muted); margin: 0 0 4px; }
.bubble-head strong { color: var(--ink); }
.bubble-text { white-space: pre-line; margin: 0; }
.bubble-state { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.bubble-state.refused { color: var(--bad); }

/* ── footer ── */
.foot { background: #0b1422; color: #b6c0d0; padding-block: 44px 24px; font-size: .95rem; }
.foot a { color: #dbe2ee; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #8693a8; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 32px; padding-top: 18px; border-top: 1px solid #1d2a3e; font-size: .82rem; color: #8693a8; }

/* ── narrower screens ── */
@media (max-width: 1020px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .order-grid, .job-grid { grid-template-columns: minmax(0, 1fr); }
    .job-grid.brief-first .job-side { order: -1; }
    .estimate { position: static; order: -1; }
    .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .nav-button { display: grid; gap: 5px; padding: 10px; margin-inline-start: auto; cursor: pointer; border-radius: 8px; }
    .nav-button span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
    .nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav-toggle:focus-visible ~ .nav-button { outline: 3px solid rgba(255, 90, 54, .45); }
    .nav a, .nav .link-button { padding: 12px; text-align: start; width: 100%; }
    .nav .nav-cta { text-align: center; margin-top: 6px; }
    .nav-gap { display: none; }
    .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
    .hero-art { max-width: 420px; margin-inline: auto; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .wrap { padding-inline: 16px; }
    .hero { padding-block: 36px; }
    .section { padding-block: 34px; }
    .grid-2, .grid-3, .grid-4, .steps, .row, .row-3, .item-grid, .foot-grid { grid-template-columns: minmax(0, 1fr); }
    .card { padding: 18px; }
    .btn { width: 100%; }
    .btn-small { width: auto; }
    .form .btn { justify-self: stretch; }
    .job-row { flex-direction: column; align-items: flex-start; }
    .bubble { max-width: 100%; }
    .files li { flex-direction: column; align-items: flex-start; }
    /* the price table becomes one block per kind of design work */
    .prices thead { display: none; }
    .prices, .prices tbody, .prices tr, .prices th, .prices td { display: block; }
    .prices tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
    .prices tbody th { background: var(--soft); }
    .prices td { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 4px 12px; }
    .prices td::before { content: attr(data-label); font-weight: 600; color: var(--muted); grid-row: span 4; }
    .prices td > * { grid-column: 2; }
    .prices td:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    a.card { transition: none; }
}
@media print {
    .top, .foot, .band, .actions, form { display: none !important; }
}
