/*
 * Torko – auto service template · Abedev (abedev.com)
 *
 * Design: the workshop – blueprint grid, graphite and safety orange, a technical font with stamped numbers, hex nuts
 * as the language switch, a job card for the chosen work, dashboard lamps that light up and a toolbox that opens from
 * the bottom on phones. Colours, fonts and spacing are variables: change them here and the whole site follows.
 * Sections: 1 fonts · 2 tokens · 3 base · 4 header & nuts · 5 hero & home · 6 price list & job card · 7 warning lights
 * · 8 workshop · 9 appointment · 10 footer & toolbox
 */

/* 1 ─ Fonts (bundled, SIL Open Font License – see assets/fonts/OFL.txt) */
@font-face { font-family: "Torko Tech"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jura-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Torko Tech"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jura-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Torko Tech"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jura-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Torko Tech"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Torko Tech"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jura-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Torko Tech"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jura-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Torko Tech"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jura-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Torko Tech"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-700-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Torko Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/sofia-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Torko Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/sofia-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Torko Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/sofia-sans-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Torko Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-400-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Torko Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sofia-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Torko Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sofia-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Torko Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sofia-sans-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Torko Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Torko Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Torko Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Torko Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Torko Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }

/* 2 ─ Tokens */
:root {
    --safety: #ff6a13;
    --graphite: #1b2a3a;
    --steel: #c3ccd6;
    --floor: #eef1f4;
    --line: #d7dde4;
    --text-c: #1c2530;
    --mid: #566271;
    --red: #e5372d;
    --amber: #ffb000;
    --green: #2fbf71;
    --tech: "Torko Tech", "Jura", system-ui, sans-serif;
    --text: "Torko Text", "Sofia Sans", system-ui, sans-serif;
    --mono: "Torko Mono", "IBM Plex Mono", ui-monospace, monospace;
    --wrap: 1220px;
}

/* 3 ─ Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text-c); font: 400 17px/1.6 var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; }
svg { display: block; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--tech); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(ka) h1 { font-size: clamp(1.75rem, 3.8vw, 3rem); }
:lang(ka) h2 { font-size: clamp(1.35rem, 2.4vw, 1.95rem); }
:lang(ka) h3 { font-size: 1.05rem; }
:lang(ka) body { font-size: 16px; }
p { margin: 0 0 1em; }
q { quotes: "\201C" "\201D"; }
q:lang(de), q:lang(ka) { quotes: "\201E" "\201C"; }
q:lang(ru) { quotes: "\00AB" "\00BB"; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--safety); color: #fff; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--safety); outline-offset: 2px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 4px 10px; font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--safety); border: 1.5px solid currentColor; }
:lang(ka) .eyebrow { text-transform: none; letter-spacing: 0; font-family: var(--text); font-weight: 600; }
.lead { font-size: 1.12rem; color: var(--mid); max-width: 38em; }
.muted { color: var(--mid); }
.small { font-size: .88rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border: 2px solid transparent; border-radius: 4px; font: 600 16px/1.2 var(--text); text-decoration: none; cursor: pointer; text-align: center; transition: background .2s, color .2s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-safety { background: var(--safety); color: #fff; }
.btn-safety:hover { background: #e85a06; }
.btn-line { border-color: var(--graphite); color: var(--graphite); }
.btn-line:hover { background: var(--graphite); color: #fff; }
.btn-small { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--safety); text-decoration: none; white-space: nowrap; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--tight { padding-top: 28px; }
.section--floor { background: var(--floor); }
.section--blueprint, .section--dash, .page-head--dark { color: #e7eef6; background-color: var(--graphite); background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 32px 32px; }
.section--blueprint h2, .section--dash h2, .page-head--dark h1 { color: #fff; }
.page-head--dark .lead { color: #b7c3d0; }
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 26px; }
.head-row > * { min-width: 0; }
.head-row h2 { margin: 0; }
.page-head { padding: clamp(40px, 6vw, 76px) 0 34px; border-bottom: 2px solid var(--line); background-image: linear-gradient(var(--floor) 1px, transparent 1px), linear-gradient(90deg, var(--floor) 1px, transparent 1px); background-size: 24px 24px; }
.page-head.page-head--dark { border-bottom: 4px solid var(--safety); background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 32px 32px; }
.plain { list-style: none; margin: 0; padding: 0; }
.flag { width: 100%; height: 100%; }

/* 4 ─ Header & hex nuts */
.header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 2px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo > span:last-child { display: flex; flex-direction: column; font: 700 1.55rem/1 var(--tech); color: var(--graphite); }
.logo small { font: 500 .72rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--safety); margin-top: 4px; }
:lang(ka) .logo small { font-family: var(--text); letter-spacing: 0; text-transform: none; }
.logo-nut { position: relative; width: 44px; height: 44px; background: var(--graphite); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.logo-nut::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--safety); box-shadow: inset 0 0 0 5px #fff; }
.logo-img { max-height: 46px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 10px 11px; font-weight: 600; text-decoration: none; color: var(--mid); white-space: nowrap; }
.nav a:hover { color: var(--graphite); }
.nav a[aria-current="page"] { color: var(--graphite); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px; background: var(--safety); }
/* each language is a hex nut with the flag in the middle; the current one is tightened (orange ring) */
.nuts { display: flex; gap: 6px; }
.nuts a { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--mid); }
.nut { position: relative; display: grid; place-items: center; width: 36px; height: 32px; background: var(--steel); clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%); transition: transform .3s, background .2s; }
.nut .flag { width: 20px; height: 20px; border-radius: 50%; overflow: hidden; }
.nuts b { font: 500 10px/1 var(--mono); letter-spacing: .08em; }
.nuts a:hover .nut { transform: rotate(60deg); }
.nuts a[aria-current] .nut { background: var(--safety); }
.nuts a[aria-current] b { color: var(--safety); }
.call { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 4px; background: var(--graphite); color: #fff; text-decoration: none; font: 500 14px/1 var(--mono); white-space: nowrap; }
.call:hover { background: var(--safety); }
.call svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 1140px) {
    .nav, .nuts--top { display: none; }
    .call { margin-left: auto; }
}

/* 5 ─ Hero & home */
.hero { padding: clamp(36px, 6vw, 80px) 0; background-image: linear-gradient(var(--floor) 1px, transparent 1px), linear-gradient(90deg, var(--floor) 1px, transparent 1px); background-size: 24px 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-text { min-width: 0; }
.hero-pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 2px solid var(--graphite); box-shadow: 12px 12px 0 var(--safety); }
.hero-pic img, .hero-pic picture, .hero-pic svg { width: 100%; height: 100%; object-fit: cover; }
.stamp { position: absolute; right: 16px; top: 16px; padding: 8px 12px; border: 3px solid var(--safety); color: var(--safety); background: rgba(255, 255, 255, .9); font: 500 13px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; transform: rotate(4deg); }
:lang(ka) .stamp { font-family: var(--text); font-weight: 600; letter-spacing: 0; text-transform: none; }
.bays { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.bays a { position: relative; display: grid; gap: 6px; height: 100%; padding: 18px 16px; border: 2px solid var(--line); text-decoration: none; background: #fff; transition: border-color .2s, transform .2s; }
.bays a:hover { border-color: var(--safety); transform: translateY(-3px); }
.bays .icon { width: 34px; height: 34px; color: var(--safety); }
.bays b { font: 700 1.05rem/1.2 var(--tech); }
.bays small { color: var(--mid); font-family: var(--mono); font-size: .82rem; }
.bay-n { position: absolute; right: 10px; top: 8px; font: 500 12px var(--mono); color: var(--steel); }
.job-card { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px dashed rgba(255, 255, 255, .3); }
.job-card li { position: relative; padding: 24px 22px; border-right: 2px dashed rgba(255, 255, 255, .3); min-width: 0; }
.job-card li:last-child { border-right: 0; }
.tick { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border: 2px solid var(--safety); color: var(--safety); border-radius: 50%; }
.job-no { position: absolute; right: 16px; top: 18px; font: 500 1.6rem var(--mono); color: rgba(255, 255, 255, .25); }
.job-card p { margin: 0; color: #c9d4df; }
.signals-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.dash-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 26px; background: #0c131b; border-radius: 40px 40px 18px 18px; box-shadow: inset 0 0 0 6px #22303f, 0 20px 40px rgba(12, 19, 27, .25); }
.lamp { display: grid; place-items: center; aspect-ratio: 1; padding: 18%; border-radius: 12px; background: #121b25; color: #2c3a49; transition: color .4s, filter .4s; }
.lamp .light-svg { width: 100%; height: 100%; }
.dash-panel .lamp { animation: lamp-check 4s infinite; }
.dash-panel .lamp:nth-child(2n) { animation-delay: .5s; }
.dash-panel .lamp:nth-child(3n) { animation-delay: 1s; }
.lamp--red { --c: var(--red); }
.lamp--amber { --c: var(--amber); }
.lamp--green { --c: var(--green); }
@keyframes lamp-check { 0%, 40% { color: var(--c); filter: drop-shadow(0 0 6px var(--c)); } 60%, 100% { color: #2c3a49; filter: none; } }
@media (prefers-reduced-motion: reduce) { .dash-panel .lamp { animation: none; color: var(--c); } }
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.promise { padding: 24px; background: #fff; border-top: 4px solid var(--safety); }
.promise .icon { width: 30px; height: 30px; color: var(--safety); margin-bottom: 12px; stroke-width: 2.4; }
.promise p { margin: 0; color: var(--mid); }
.notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.note { margin: 0; padding: 24px; background: #fffdf5; border: 1px solid var(--line); border-left: 6px solid var(--graphite); background-image: repeating-linear-gradient(transparent 0 27px, #eceae0 27px 28px); }
.note blockquote { margin: 0 0 14px; font-size: 1.05rem; }
.note figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: .9rem; }
.note figcaption span { font-family: var(--mono); color: var(--mid); }
.cta { padding: 0 0 clamp(56px, 8vw, 96px); }
.cta-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding: clamp(22px, 4vw, 40px); background: var(--graphite); color: #e7eef6; border-left: 10px solid var(--safety); }
.cta-inner h2 { color: #fff; margin-bottom: .2em; }
.cta-inner p { margin: 0; color: #b7c3d0; }
.cta-nut { width: 64px; height: 58px; background: var(--safety); clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%); position: relative; }
.cta-nut::after { content: ""; position: absolute; inset: 17px 20px; border-radius: 50%; background: var(--graphite); }

/* 6 ─ Price list & job card */
.price-list { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.price-main { min-width: 0; }
.sizes { margin: 0 0 26px; padding: 0; border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.sizes legend { padding: 0; margin-bottom: 10px; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mid); }
:lang(ka) .sizes legend { font-family: var(--text); text-transform: none; letter-spacing: 0; }
.sizes label { position: relative; cursor: pointer; min-width: 0; }
.sizes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sizes span { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; height: 100%; padding: 12px 14px; border: 2px solid var(--line); background: #fff; transition: border-color .2s; }
.sizes svg { width: 52px; height: 26px; color: var(--steel); }
.sizes b { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.sizes small { color: var(--mid); font-size: .82rem; }
.sizes input:checked + span { border-color: var(--safety); box-shadow: inset 0 0 0 1px var(--safety); }
.sizes input:checked + span svg { color: var(--safety); }
.sizes input:focus-visible + span { outline: 3px solid var(--safety); outline-offset: 2px; }
.job-group { margin-bottom: 30px; scroll-margin-top: 100px; }
.job-group-h { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--graphite); }
.job-group-h .icon { color: var(--safety); }
.jobs { list-style: none; margin: 0; padding: 0; }
.job { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto; gap: 6px 14px; align-items: center; padding: 14px 4px; border-bottom: 1px dashed var(--line); cursor: pointer; }
.job:hover { background: var(--floor); }
.job input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.job-box { display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--steel); color: transparent; }
.job input:checked ~ .job-box { background: var(--safety); border-color: var(--safety); color: #fff; }
.job input:focus-visible ~ .job-box { outline: 3px solid var(--safety); outline-offset: 2px; }
.job-name { display: grid; min-width: 0; }
.job-name small { color: var(--mid); font-size: .88rem; }
.job-time { display: inline-flex; align-items: center; gap: 5px; color: var(--mid); font: 500 .85rem var(--mono); white-space: nowrap; }
.job-price { font: 500 1.05rem var(--mono); white-space: nowrap; text-align: right; min-width: 72px; }
.job input:checked ~ .job-name b { color: var(--safety); }
.ticket-card { position: sticky; top: 96px; padding: 22px; background: #fffdf5; border: 1px solid var(--line); border-top: 8px solid var(--safety); box-shadow: 0 16px 30px rgba(27, 42, 58, .1); background-image: repeating-linear-gradient(transparent 0 27px, #eceae0 27px 28px); }
.ticket-card-head { display: flex; align-items: center; gap: 8px; font: 700 1.15rem var(--tech); }
.ticket-list { margin: 0 0 14px; padding: 0 0 0 20px; font-size: .95rem; }
.ticket-list li { padding: 4px 0; }
.ticket-list li:not([data-none]) { display: flex; justify-content: space-between; gap: 10px; }
.ticket-list li[data-none] { list-style: none; margin-left: -20px; }
.ticket-list b { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.ticket-sum { margin: 0 0 16px; border-top: 2px solid var(--graphite); padding-top: 10px; }
.ticket-sum div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.ticket-sum dd { margin: 0; font: 500 1.1rem var(--mono); }
.ticket-card .btn { width: 100%; }
.ticket-card .small { margin: 12px 0 0; }

/* 7 ─ Warning lights */
.section--dash { padding-top: 34px; }
.color-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.color-filter label { position: relative; cursor: pointer; }
.color-filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.color-filter span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 999px; font-weight: 600; }
.color-filter input:checked + span { background: #fff; color: var(--graphite); }
.color-filter input:focus-visible + span { outline: 3px solid var(--safety); outline-offset: 2px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red { background: var(--red); } .dot--amber { background: var(--amber); } .dot--green { background: var(--green); }
.lights { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; align-items: start; }
.light { background: #0c131b; border: 1.5px solid #22303f; border-radius: 14px; min-width: 0; }
.light summary { list-style: none; display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; gap: 2px 14px; align-items: center; padding: 14px; cursor: pointer; }
.light summary::-webkit-details-marker { display: none; }
.light summary .lamp { grid-row: 1 / 3; color: var(--c); filter: drop-shadow(0 0 6px var(--c)); }
.light summary b { font-weight: 600; color: #fff; align-self: end; }
.light summary small { color: var(--c); font: 500 .8rem var(--mono); align-self: start; }
:lang(ka) .light summary small { font-family: var(--text); }
.light--red { --c: var(--red); } .light--amber { --c: var(--amber); } .light--green { --c: var(--green); }
.light[open] { border-color: var(--c); }
.light-body { padding: 0 16px 18px; color: #c9d4df; }
.light-body h3 { font-size: .95rem; color: #fff; margin: 6px 0 4px; }
.light-body p { margin: 0 0 10px; }
.dash-note { margin: 24px 0 0; color: #93a3b4; font-size: .92rem; }

/* 8 ─ Workshop */
.shop-floor { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.floor-pic { aspect-ratio: 4 / 3; overflow: hidden; border: 2px solid var(--graphite); }
.floor-pic img, .floor-pic picture, .floor-pic svg { width: 100%; height: 100%; object-fit: cover; }
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.spec-list span { font: 500 .95rem var(--mono); color: var(--safety); }
.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.badge { position: relative; padding: 34px 22px 22px; background: #fff; border-radius: 12px; text-align: center; box-shadow: 0 10px 24px rgba(27, 42, 58, .08); }
.badge-clip { position: absolute; left: 50%; top: -10px; width: 56px; height: 20px; margin-left: -28px; border-radius: 6px; background: var(--steel); }
.badge-initials { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; background: var(--graphite); color: #fff; font: 700 1.4rem var(--tech); box-shadow: 0 0 0 5px var(--safety); }
.badge-role { color: var(--safety); font-weight: 600; margin-bottom: 4px; }
.badge-years { font: 500 .85rem var(--mono); color: var(--mid); }
.badge p:last-child { margin: 0; }
.seals { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.seal { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.seal-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 3px double var(--safety); color: var(--safety); }
.seal-mark .icon { width: 26px; height: 26px; stroke-width: 2.6; }
.seal p { margin: 0; color: var(--mid); }

/* 9 ─ Appointment */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.panel { min-width: 0; }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.block { margin: 0; padding: 20px; border: 2px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; min-width: 0; }
.block legend { padding: 0 8px; font: 700 1.05rem var(--tech); }
.block .sizes, .block .job-group, .block .job--other { grid-column: 1 / -1; }
.block .sizes { margin-bottom: 4px; }
.job-group--compact { margin-bottom: 8px; }
.job-group--compact .job-group-h { font-size: 1rem; padding-bottom: 6px; }
.job-group--compact .job { padding: 9px 4px; }
.job--other { border-bottom: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 4px; background: #fff; font: 400 16px/1.4 var(--text); color: var(--text-c); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); }
.field textarea { min-height: 110px; resize: vertical; }
.leave { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.leave label { position: relative; cursor: pointer; min-width: 0; }
.leave input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.leave span { display: grid; gap: 2px; height: 100%; padding: 12px; border: 2px solid var(--line); }
.leave small { color: var(--mid); font-size: .84rem; }
.leave input:checked + span { border-color: var(--safety); box-shadow: inset 0 0 0 1px var(--safety); }
.leave input:focus-visible + span { outline: 3px solid var(--safety); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--safety); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; background: var(--graphite); color: #fff; }
.estimate { margin: 0; }
.estimate b { font: 500 1.4rem var(--mono); color: var(--safety); }
.estimate .muted { color: #b7c3d0; }
.form-status { display: none; padding: 12px 16px; font-weight: 600; }
.form-status.is-shown { display: block; }
.form-status.ok { background: #dcf5e8; color: #145c38; }
.form-status.info { background: #fff1d6; color: #6b4a00; }
.form-status.error { background: #ffe1dd; color: #8c2219; }
.side { display: grid; gap: 20px; min-width: 0; }
.side-block { padding: 22px; border: 2px solid var(--line); }
.side .side-block h2 { font-size: 1.2rem; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-family: var(--mono); font-size: .92rem; }
:lang(ka) .hours li { font-family: var(--text); }
.faq details { border-bottom: 1px dashed var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--mid); }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.4em; }

/* 10 ─ Footer & toolbox */
.footer { background: var(--graphite); color: #b7c3d0; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.footer-name { font: 700 2rem/1 var(--tech); color: #fff; margin-bottom: 12px; }
.footer .footer-h { font: 500 .85rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--safety); }
:lang(ka) .footer .footer-h { font: 700 .95rem/1.3 var(--text); letter-spacing: 0; text-transform: none; }
.footer a { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .3); }
.socials a:hover { background: var(--safety); border-color: var(--safety); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .25); font-size: .9rem; }
.toolbox-btn { display: none; }
/* on phones the menu is a toolbox: a button at the bottom right, the box opens upwards with a lid */
@media (max-width: 1140px) {
    .toolbox-btn { position: fixed; right: 16px; bottom: 16px; z-index: 41; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 18px; border: 0; border-radius: 6px; background: var(--safety); color: #fff; font: 600 15px var(--text); box-shadow: 0 10px 24px rgba(27, 42, 58, .3); cursor: pointer; }
    .toolbox-btn .icon { width: 24px; height: 24px; }
    .box-open .toolbox-btn { display: none; }
    .toolbox { position: fixed; left: 0; right: 0; bottom: 0; z-index: 42; padding: 0 16px 20px; background: var(--graphite); border-top: 6px solid var(--safety); box-shadow: 0 -20px 40px rgba(12, 19, 27, .35); animation: lid .25s ease-out; }
    .toolbox-lid { display: flex; align-items: center; justify-content: space-between; margin: 0 -16px 14px; padding: 12px 16px; background: #13202d; color: #fff; font: 700 1.1rem var(--tech); }
    .toolbox-close { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
    .slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
    .slots a { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 12px; border: 1.5px solid rgba(255, 255, 255, .15); border-radius: 6px; color: #e7eef6; text-decoration: none; font-weight: 600; min-width: 0; }
    .slots a span { overflow-wrap: anywhere; }
    .slots a .icon { color: var(--safety); width: 22px; height: 22px; }
    .slots a[aria-current="page"] { background: var(--safety); border-color: var(--safety); color: #fff; }
    .slots a[aria-current="page"] .icon { color: #fff; }
    .nuts--box { justify-content: center; gap: 14px; }
    .nuts--box a { color: #b7c3d0; }
    .nuts--box .nut { width: 46px; height: 40px; }
    .nuts--box .nut .flag { width: 26px; height: 26px; }
    .nuts--box b { font-size: 12px; }
    .ticket-card { position: static; }
}
@keyframes lid { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Responsive */
@media (max-width: 960px) {
    .hero-grid, .signals-teaser, .shop-floor, .contact-grid, .price-list { grid-template-columns: minmax(0, 1fr); }
    .job-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .job-card li:nth-child(2) { border-right: 0; }
    .job-card li:nth-child(-n+2) { border-bottom: 2px dashed rgba(255, 255, 255, .3); }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .wrap { width: calc(100% - 32px); }
    .call span { display: none; }
    .logo small { display: none; }
    .job-card { grid-template-columns: minmax(0, 1fr); }
    .job-card li { border-right: 0; border-bottom: 2px dashed rgba(255, 255, 255, .3); }
    .job-card li:last-child { border-bottom: 0; }
    .leave, .form, .block, .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .sizes span { padding: 10px 8px; }
    .sizes small { display: none; }
    .job { grid-template-columns: 26px minmax(0, 1fr) auto; }
    .job-time { grid-column: 2; grid-row: 2; }
    .job-price { grid-column: 3; grid-row: 1 / 3; }
    .dash-panel { padding: 16px; gap: 10px; border-radius: 24px 24px 12px 12px; }
    .cta-inner { grid-template-columns: minmax(0, 1fr); }
    .bays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .block { padding: 14px; }
}
