/* Elektromontaža Karlovac — stylesheet */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f3f1ec;
  color: #17191c;
  font-family: 'Archivo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
a { color: #17191c; text-decoration: none; }
a:hover { color: #8a6d00; }
input, select, textarea, button { font-family: inherit; font-size: 15px; }
h1, h2, h3, p { text-wrap: pretty; }
img { max-width: 100%; display: block; }
::selection { background: #f5c400; color: #17191c; }

.mono { font-family: 'JetBrains Mono', 'Consolas', monospace; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* top bar */
.topbar { background: #0f1113; color: #c9c6bf; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.topbar .wrap { padding: 8px 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.topbar .group { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #c9c6bf; }
.topbar .live { color: #f5c400; }

/* header */
.site-header { background: #fbfaf7; border-bottom: 1px solid #d9d5cc; position: sticky; top: 0; z-index: 40; }
.site-header .inner { padding: 14px 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1240px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; background: #f5c400; display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 15px; color: #17191c; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand-text span { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; color: #5b5f66; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.call-link { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; padding: 0 8px; }
.call-link .lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; color: #5b5f66; }
.call-link .num { font-weight: 700; font-size: 17px; }
.btn-cart { display: flex; align-items: center; gap: 10px; background: #17191c; color: #fbfaf7; border: 0; padding: 11px 16px; cursor: pointer; font-weight: 600; }
.btn-cart:hover { background: #2a2d31; }
.btn-cart .count { background: #f5c400; color: #17191c; min-width: 22px; height: 22px; display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; padding: 0 6px; }
.btn-estimate { background: #f5c400; color: #17191c; padding: 11px 16px; font-weight: 700; }
.btn-estimate:hover { background: #e3b500; color: #17191c; }
.main-nav { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; gap: 4px; overflow-x: auto; }
.main-nav a { padding: 14px 12px 12px; font-weight: 600; font-size: 14.5px; white-space: nowrap; border-bottom: 3px solid transparent; color: #17191c; display: inline-block; }
.main-nav a.active { border-bottom-color: #f5c400; }

main { flex: 1; }

/* hero */
.hero { background: #17191c; color: #f3f1ec; }
.hero .inner { padding: 72px 24px 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; max-width: 1240px; margin: 0 auto; }
.hero .kicker { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.16em; color: #f5c400; }
.hero h1 { margin: 0; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; }
.hero p { margin: 0; font-size: 18px; line-height: 1.6; color: #c9c6bf; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-yellow { background: #f5c400; color: #17191c; padding: 16px 24px; font-weight: 700; font-size: 16px; }
.btn-yellow:hover { background: #e3b500; color: #17191c; }
.btn-ghost-dark { border: 1px solid #4a4e55; color: #f3f1ec; padding: 16px 24px; font-weight: 600; font-size: 16px; }
.btn-ghost-dark:hover { border-color: #f5c400; color: #f5c400; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #33363b; margin-top: 12px; border: 1px solid #33363b; }
.stat-grid div { background: #17191c; padding: 16px; }
.stat-grid .num { font-weight: 800; font-size: 26px; color: #f5c400; }
.stat-grid .lbl { font-size: 13px; color: #a9a6a0; margin-top: 4px; }
.hero-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid #33363b; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: -1px; bottom: 32px; background: #f5c400; color: #17191c; padding: 16px 20px; max-width: 260px; }
.hero-badge .t1 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; }
.hero-badge .t2 { font-weight: 700; font-size: 17px; margin-top: 4px; }
.hero-badge a { display: block; margin-top: 8px; font-weight: 800; font-size: 20px; color: #17191c; }

/* section header */
.section { max-width: 1240px; margin: 0 auto; padding: 56px 24px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head .box { max-width: 640px; }
.kicker-dark { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.16em; color: #8a6d00; }
.kicker-light { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.16em; color: #f5c400; }
.section h2 { margin: 12px 0 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.02em; }
.link-ul { font-weight: 700; border-bottom: 2px solid #f5c400; padding-bottom: 4px; }

/* services grid */
.grid-lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1px; background: #d9d5cc; border: 1px solid #d9d5cc; }
.service-card { background: #fbfaf7; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; }
.service-card:hover { background: #fff8d6; color: #17191c; }
.service-card .n { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #8a6d00; }
.service-card h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.service-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #5b5f66; flex: 1; }
.service-card .from { font-family: 'JetBrains Mono', monospace; font-size: 12px; }

/* calculator */
.calc-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; background: #fbfaf7; border: 1px solid #d9d5cc; padding: clamp(24px, 4vw, 48px); }
.calc-left { display: flex; flex-direction: column; gap: 16px; }
.calc-left p { margin: 0; color: #5b5f66; line-height: 1.6; }
.field-label { font-weight: 600; font-size: 14px; }
.calc-types { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-type-btn { padding: 10px 14px; border: 1px solid #c9c5bb; background: #fff; cursor: pointer; font-weight: 600; color: #17191c; }
.calc-type-btn.active { border-color: #17191c; background: #f5c400; }
.calc-row { display: flex; flex-direction: column; gap: 8px; }
.calc-row .between { display: flex; justify-content: space-between; }
.calc-row input[type=range] { width: 100%; accent-color: #17191c; }
.calc-opt { display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.calc-opt input { width: 18px; height: 18px; accent-color: #17191c; }
.calc-opt span.lbl { flex: 1; }
.calc-opt span.range { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #5b5f66; }
.calc-result { background: #17191c; color: #f3f1ec; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.calc-result .lbl { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.14em; color: #a9a6a0; }
.calc-result .amount { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -0.02em; margin-top: 12px; color: #f5c400; }
.calc-result .note { color: #c9c6bf; line-height: 1.6; margin: 16px 0 0; }
.calc-bullets { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #33363b; padding-top: 20px; font-size: 14px; color: #c9c6bf; }
.calc-bullets a { background: #f5c400; color: #17191c; padding: 14px 20px; font-weight: 700; text-align: center; margin-top: 8px; }

/* steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.step { border-top: 3px solid #17191c; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step .n { font-family: 'JetBrains Mono', monospace; font-size: 28px; color: #8a6d00; }
.step h3 { margin: 0; font-size: 20px; }
.step p { margin: 0; color: #5b5f66; line-height: 1.6; font-size: 15px; }

/* products */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.product-card { background: #fbfaf7; border: 1px solid #d9d5cc; display: flex; flex-direction: column; }
.product-photo { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 12px; left: 12px; background: #17191c; color: #f5c400; font-family: 'JetBrains Mono', monospace; font-size: 11px; padding: 4px 8px; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #5b5f66; letter-spacing: 0.08em; }
.product-body h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.product-body p.desc { margin: 0; font-size: 14px; line-height: 1.5; color: #5b5f66; }
.product-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.product-price { font-weight: 800; font-size: 19px; }
.product-unit { font-size: 11px; color: #5b5f66; }
.btn-add { background: #f5c400; border: 0; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.btn-add:hover { background: #e3b500; }

/* reviews */
.reviews-dark { background: #17191c; color: #f3f1ec; margin-top: 56px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.review { margin: 0; border: 1px solid #33363b; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.review .stars { color: #f5c400; letter-spacing: 4px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.review figcaption { margin-top: auto; font-size: 14px; color: #a9a6a0; }
.review figcaption strong { color: #f3f1ec; }

/* two col */
.two-col { max-width: 1240px; margin: 0 auto; padding: 88px 24px 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; }
.town-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.town-tags span { border: 1px solid #d9d5cc; background: #fbfaf7; padding: 8px 12px; font-size: 14px; }

/* faq */
.faq-list { border-top: 1px solid #d9d5cc; }
.faq-item { border-bottom: 1px solid #d9d5cc; }
.faq-q { width: 100%; display: flex; justify-content: space-between; gap: 16px; text-align: left; background: none; border: 0; padding: 18px 0; cursor: pointer; font-weight: 700; font-size: 16px; color: #17191c; }
.faq-sign { font-family: 'JetBrains Mono', monospace; }
.faq-a { margin: 0 0 18px; color: #5b5f66; line-height: 1.6; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-page .faq-q { padding: 22px 0; font-size: 18px; }
.faq-page .faq-a { font-size: 16px; line-height: 1.7; color: #3d4046; margin: 0 0 22px; }

/* page hero (dark title band) */
.page-hero { background: #17191c; color: #f3f1ec; }
.page-hero .wrap { padding: 56px 24px; }
.breadcrumb { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #a9a6a0; }
.page-hero h1 { margin: 14px 0 12px; font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -0.025em; line-height: 1.04; }
.page-hero p { margin: 0; max-width: 680px; color: #c9c6bf; font-size: 18px; line-height: 1.6; }

/* services page */
.services-list { max-width: 1240px; margin: 0 auto; padding: 48px 24px; display: flex; flex-direction: column; gap: 20px; }
.service-row { background: #fbfaf7; border: 1px solid #d9d5cc; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0; }
.service-row .left { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.service-row .left h2 { margin: 0; font-size: 28px; letter-spacing: -0.015em; }
.service-row .left p { margin: 0; color: #3d4046; line-height: 1.65; }
.service-row .meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.tag-dark { background: #17191c; color: #f5c400; font-family: 'JetBrains Mono', monospace; font-size: 13px; padding: 8px 12px; }
.service-row .right { padding: 32px; border-left: 1px solid #d9d5cc; background: #f6f4ef; }
.service-row .right .hd { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: #5b5f66; margin-bottom: 12px; }
.service-row ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-row li { display: flex; gap: 10px; line-height: 1.5; }
.service-row li .dot { width: 8px; height: 8px; background: #f5c400; margin-top: 7px; flex: none; }

/* pricing */
.price-groups { max-width: 1000px; margin: 0 auto; padding: 48px 24px; display: flex; flex-direction: column; gap: 36px; }
.price-group h2 { margin: 0 0 12px; font-size: 22px; }
.price-table { border: 1px solid #d9d5cc; background: #fbfaf7; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; padding: 14px 18px; border-bottom: 1px solid #e6e2d9; align-items: baseline; }
.price-row .unit { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #5b5f66; }
.price-row .amount { font-weight: 800; min-width: 90px; text-align: right; }
.price-note { margin: 0; color: #5b5f66; font-size: 14px; line-height: 1.6; }

/* shop */
.shop-wrap { max-width: 1240px; margin: 0 auto; padding: 36px 24px 64px; }
.cat-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-btn { padding: 10px 16px; border: 1px solid #d9d5cc; background: #fbfaf7; color: #17191c; cursor: pointer; font-weight: 600; }
.cat-btn.active { background: #17191c; color: #f5c400; border-color: #17191c; }
.shop-links { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: #d9d5cc; border: 1px solid #d9d5cc; }
.shop-links a { background: #fbfaf7; padding: 20px; }
.shop-links div { font-size: 14px; color: #5b5f66; margin-top: 6px; }

/* projects */
.projects-grid { max-width: 1240px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.project-card { background: #fbfaf7; border: 1px solid #d9d5cc; }
.project-photo { aspect-ratio: 16/10; overflow: hidden; }
.project-photo img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.project-meta { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #5b5f66; }
.project-body h2 { margin: 0; font-size: 21px; line-height: 1.25; }
.project-body p { margin: 0; color: #5b5f66; line-height: 1.6; font-size: 15px; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.project-tags span { background: #ece9e1; padding: 4px 8px; font-size: 12px; font-family: 'JetBrains Mono', monospace; }

/* about */
.about-text { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.7; color: #3d4046; }
.about-photo { aspect-ratio: 4/3; overflow: hidden; border: 1px solid #d9d5cc; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: #d9d5cc; border: 1px solid #d9d5cc; }
.value-card { background: #fbfaf7; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.value-card h3 { margin: 0; font-size: 19px; }
.value-card p { margin: 0; color: #5b5f66; line-height: 1.6; font-size: 15px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.team-card { display: flex; flex-direction: column; gap: 10px; }
.team-photo { aspect-ratio: 1; overflow: hidden; border: 1px solid #d9d5cc; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card strong { font-size: 17px; }
.team-card span { color: #5b5f66; font-size: 14px; margin-top: -6px; }

/* blog */
.posts-grid { max-width: 1240px; margin: 0 auto; padding: 48px 24px 72px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.post-card { background: #fbfaf7; border: 1px solid #d9d5cc; display: flex; flex-direction: column; }
.post-card:hover { border-color: #17191c; color: #17191c; }
.post-photo { aspect-ratio: 16/9; overflow: hidden; }
.post-photo img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.post-date { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #8a6d00; }
.post-body h2 { margin: 0; font-size: 21px; line-height: 1.25; }
.post-body p { margin: 0; color: #5b5f66; line-height: 1.6; font-size: 15px; }
.post-body .more { font-weight: 700; margin-top: 6px; }

.article { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.article .back { font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.article .meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #8a6d00; margin-top: 28px; }
.article h1 { margin: 12px 0 20px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.article .lead { margin: 0 0 28px; font-size: 20px; line-height: 1.6; color: #3d4046; }
.article-photo { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 32px; }
.article-photo img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { margin: 28px 0 10px; font-size: 24px; }
.article p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: #2b2e33; }
.article-cta { margin-top: 36px; background: #17191c; color: #f3f1ec; padding: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.article-cta a { background: #f5c400; color: #17191c; padding: 12px 18px; font-weight: 700; }

/* contact */
.contact-grid { max-width: 1240px; margin: 0 auto; padding: 48px 24px 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: start; }
.contact-form-box { background: #fbfaf7; border: 1px solid #d9d5cc; padding: clamp(22px, 3vw, 36px); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.form label.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea { padding: 12px; border: 1px solid #c9c5bb; background: #fff; }
.form textarea { resize: vertical; }
.consent { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; align-items: flex-start; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: #17191c; flex: none; }
.btn-submit { background: #f5c400; border: 0; padding: 16px; font-weight: 800; font-size: 16px; cursor: pointer; }
.btn-submit:hover { background: #e3b500; }
.done-box { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; }
.done-icon { width: 48px; height: 48px; background: #f5c400; display: grid; place-items: center; font-size: 22px; }
.done-box h2 { margin: 0; font-size: 26px; }
.done-box p { margin: 0; color: #5b5f66; line-height: 1.6; }
.btn-again { align-self: flex-start; background: none; border: 1px solid #17191c; padding: 10px 14px; cursor: pointer; font-weight: 600; margin-top: 8px; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: #d9d5cc; border: 1px solid #d9d5cc; }
.info-card { background: #fbfaf7; padding: 20px; }
.info-card .lbl { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #5b5f66; letter-spacing: 0.12em; }
.info-card a, .info-card .val { font-weight: 800; font-size: 19px; display: block; margin-top: 6px; }
.hours-box { background: #fbfaf7; border: 1px solid #d9d5cc; padding: 20px; }
.hours-box .hd { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #5b5f66; letter-spacing: 0.12em; margin-bottom: 10px; }
.hours-grid { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 15px; }
.map-box { aspect-ratio: 16/10; border: 1px solid #d9d5cc; overflow: hidden; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }

/* legal */
.legal-wrap { max-width: 1240px; margin: 0 auto; padding: 48px 24px 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; align-items: start; }
.legal-nav { display: flex; flex-direction: column; border: 1px solid #d9d5cc; background: #fbfaf7; max-width: 320px; }
.legal-nav a { padding: 12px 16px; border-bottom: 1px solid #e6e2d9; font-weight: 600; font-size: 14px; }
.legal-nav a.active { background: #fff3bf; }
.legal-content { grid-column: span 3; max-width: 780px; min-width: 0; }
.legal-content section { margin-bottom: 28px; }
.legal-content h2 { margin: 0 0 10px; font-size: 21px; }
.legal-content p { margin: 0 0 10px; line-height: 1.75; color: #2b2e33; font-size: 16px; }

/* CTA band */
.cta-band { background: #f5c400; }
.cta-band .wrap { padding: 48px 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.02em; line-height: 1.1; }
.cta-band p { margin: 8px 0 0; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-cta-dark { background: #17191c; color: #f5c400; padding: 16px 22px; font-weight: 800; font-size: 17px; }
.btn-cta-dark:hover { color: #fff; }
.btn-cta-outline { border: 2px solid #17191c; padding: 14px 22px; font-weight: 700; font-size: 16px; color: #17191c; }

/* footer */
footer { background: #0f1113; color: #c9c6bf; }
.footer-grid { max-width: 1240px; margin: 0 auto; padding: 64px 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 36px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .mark { width: 34px; height: 34px; background: #f5c400; display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #17191c; }
.footer-brand strong { color: #f3f1ec; font-size: 17px; }
.footer-col strong.hd { color: #f3f1ec; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; }
.footer-col a { color: #c9c6bf; }
.footer-col a:hover { color: #f5c400; }
.footer-col a.phone { color: #f5c400; font-weight: 700; font-size: 18px; }
.cookie-settings-btn { background: none; border: 0; padding: 0; color: #c9c6bf; text-align: left; cursor: pointer; font-size: 14px; }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding: 20px 24px 28px; border-top: 1px solid #26292e; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: #8b8f96; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #17191c; color: #f3f1ec; padding: 14px 20px; z-index: 70; display: none; gap: 14px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.toast.show { display: flex; }
.toast .ok { color: #f5c400; }
.toast button { background: #f5c400; border: 0; padding: 8px 12px; font-weight: 700; cursor: pointer; }

/* cart drawer */
.cart-overlay { position: fixed; inset: 0; z-index: 80; display: none; justify-content: flex-end; }
.cart-overlay.open { display: flex; }
.cart-scrim { position: absolute; inset: 0; background: rgba(15,17,19,.55); border: 0; cursor: pointer; }
.cart-aside { position: relative; width: min(100%, 460px); height: 100%; background: #fbfaf7; display: flex; flex-direction: column; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid #d9d5cc; }
.cart-head strong { font-size: 20px; }
.cart-close { background: none; border: 1px solid #d9d5cc; width: 40px; height: 40px; cursor: pointer; font-size: 18px; }
.cart-step { display: none; }
.cart-step.active { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart-items { flex: 1; overflow: auto; padding: 8px 24px; }
.cart-empty { padding: 48px 0; text-align: center; color: #5b5f66; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.cart-empty a { font-weight: 700; border-bottom: 2px solid #f5c400; }
.cart-line { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e6e2d9; align-items: center; }
.cart-line .thumb { width: 64px; height: 64px; overflow: hidden; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .meta strong { font-size: 15px; line-height: 1.3; }
.qty-ctrl { display: flex; align-items: center; gap: 0; border: 1px solid #d9d5cc; align-self: flex-start; margin-top: 6px; }
.qty-ctrl button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; }
.qty-ctrl span { min-width: 28px; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.cart-line .end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-line .end button { background: none; border: 0; color: #5b5f66; cursor: pointer; font-size: 12px; text-decoration: underline; }
.cart-summary { padding: 20px 24px; border-top: 1px solid #d9d5cc; display: flex; flex-direction: column; gap: 8px; }
.cart-summary .row { display: flex; justify-content: space-between; font-size: 15px; }
.cart-summary .note { font-size: 12.5px; color: #5b5f66; }
.cart-summary .total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; margin-top: 6px; }
.cart-summary .vat { font-size: 12px; color: #5b5f66; }
.cart-summary button { background: #f5c400; border: 0; padding: 16px; font-weight: 800; font-size: 16px; cursor: pointer; margin-top: 8px; }
.checkout-form { flex: 1; overflow: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.checkout-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-form fieldset { border: 1px solid #d9d5cc; padding: 12px 14px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.checkout-form legend { font-weight: 600; font-size: 14px; padding: 0 6px; }
.checkout-form .radio { display: flex; gap: 8px; font-size: 15px; }
.checkout-total { background: #f3f1ec; padding: 14px; display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; }
.checkout-actions { display: flex; gap: 10px; margin-top: 4px; }
.checkout-actions .back-btn { background: none; border: 1px solid #17191c; padding: 14px 16px; cursor: pointer; font-weight: 600; }
.checkout-actions .submit-btn { flex: 1; background: #f5c400; border: 0; padding: 14px; font-weight: 800; font-size: 16px; cursor: pointer; }
.done-step { padding: 40px 24px; display: flex; flex-direction: column; gap: 14px; }
.done-step .icon { width: 52px; height: 52px; background: #f5c400; display: grid; place-items: center; font-size: 24px; }
.done-step h2 { margin: 0; font-size: 26px; }
.done-step p { margin: 0; color: #5b5f66; line-height: 1.6; }
.done-step .close-btn { align-self: flex-start; background: #17191c; color: #f3f1ec; border: 0; padding: 12px 18px; cursor: pointer; font-weight: 600; margin-top: 8px; }

/* cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: none; justify-content: center; }
.cookie-banner.show { display: flex; }
.cookie-box { max-width: 880px; width: 100%; background: #fbfaf7; border: 1px solid #17191c; padding: 20px 22px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.cookie-box p { margin: 0; flex: 1 1 360px; font-size: 14px; line-height: 1.55; }
.cookie-box p a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-cookie-necessary { background: none; border: 1px solid #17191c; padding: 11px 14px; cursor: pointer; font-weight: 600; }
.btn-cookie-all { background: #17191c; color: #f5c400; border: 0; padding: 12px 16px; cursor: pointer; font-weight: 700; }

@media (max-width: 680px) {
  .call-link { display: none; }
  .footer-bottom { flex-direction: column; }
}
