/* XELECTRONIC — Serwis elektroniki Legnica
   Paleta: czerń / grafit / czerwień sygnałowa */

:root {
  --bg: #0b0b0c;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --line: #2a2a2f;
  --text: #f4f4f5;
  --muted: #a3a3ab;
  --red: #e11d2e;
  --red-dark: #b3121f;

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 4px;
  --container: 1200px;
}

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

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.sr-only {
  position: absolute; 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: 1rem; top: -3rem; z-index: 200;
  background: var(--red); color: var(--text); padding: .5rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.red { color: var(--red); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: var(--radius);
  background: var(--red); display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 1rem; color: var(--text);
}
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; }
.logo-text span { color: var(--red); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  text-decoration: none; font-size: .92rem; color: var(--muted);
  padding: .5rem .7rem; border-radius: var(--radius); transition: color .2s, background .2s;
  white-space: nowrap;
}
.header-cta .btn { white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }

.header-cta { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line); color: var(--text);
  width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1rem; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: .75rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.3rem; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
  min-height: 44px;
}
.btn-primary { background: var(--red); color: var(--text); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 3rem; }
.section-head p { max-width: 520px; color: var(--muted); margin: 0; }

.page-hero { padding: 4.5rem 0 3.5rem; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero p { max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.page-hero::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .35; pointer-events: none;
  mask-image: linear-gradient(to left, #000, transparent);
}

/* ---------- Home hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 620px; }
.hero-copy { padding: 5rem 3rem 5rem 0; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.hero-copy h1 em { font-style: normal; color: var(--red); }
.hero-copy .lead { color: var(--muted); font-size: 1.12rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem;
  background: rgba(11,11,12,.88); border: 1px solid var(--line); border-left: 0;
  padding: 1rem 1.25rem; font-family: var(--font-mono); font-size: .8rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
}
.hero-tag strong { color: var(--text); font-weight: 500; }
.hero-tag .dot { display: inline-block; width: 8px; height: 8px; background: var(--red); margin-right: .4rem; }

.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-facts > div { padding: 1.4rem 1.25rem; border-right: 1px solid var(--line); }
.hero-facts > div:last-child { border-right: 0; }
.hero-facts dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-facts dd { margin: .25rem 0 0; font-family: var(--font-head); font-size: 1.05rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.5rem 0; border-right: 0; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Video banner hero ---------- */
.hero-video { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: #0b0b0c url("../video/workshop-poster.jpg") center / cover no-repeat; }
.hero-bg-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,11,12,.94) 0%, rgba(11,11,12,.78) 42%, rgba(11,11,12,.25) 100%),
    linear-gradient(0deg, rgba(11,11,12,.95) 0%, rgba(11,11,12,0) 35%);
}
.hero-video-inner { min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-top: 4rem; padding-bottom: 1.5rem; }
.hero-video .hero-copy { border-right: 0; padding: 0; max-width: 660px; }
.hero-video .hero-copy .lead { color: #c9c9cd; }
.hero-video-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; }
.hero-video .hero-tag { position: static; background: rgba(11,11,12,.7); backdrop-filter: blur(6px); border-left: 2px solid var(--red); }
.hero-tag .dot.rec { border-radius: 50%; animation: rec-blink 1.4s steps(2, jump-none) infinite; }
@keyframes rec-blink { 50% { opacity: .2; } }
.video-toggle {
  flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(11,11,12,.7); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.video-toggle:hover { border-color: var(--red); }
.video-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.video-toggle svg { width: 18px; height: 18px; }
.video-toggle .i-play, .video-toggle[aria-pressed="true"] .i-pause { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.hero-video .hero-facts { background: rgba(11,11,12,.6); }
@media (max-width: 900px) {
  .hero-video-inner { min-height: 0; padding-top: 3rem; }
  .hero-bg-shade { background: linear-gradient(0deg, rgba(11,11,12,.96) 10%, rgba(11,11,12,.7) 100%); }
  .hero-video-bar { margin-top: 2rem; }
}

/* ---------- Laptop gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.g-item { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface, #141416); }
.g-item.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform .6s ease; }
.g-item.g-wide img { aspect-ratio: auto; }
.g-item.g-full { grid-column: 1 / -1; }
.g-item.g-full img { aspect-ratio: 21 / 8; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .75rem;
  font-family: var(--font-mono); font-size: .75rem; color: var(--text);
  background: linear-gradient(0deg, rgba(11,11,12,.92), rgba(11,11,12,0));
}
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .g-item.g-wide { grid-column: auto; } .g-item.g-wide img { aspect-ratio: 16 / 9; } }

/* ---------- Service cards ---------- */
.grid-services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.service-card {
  padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg); transition: background .25s; display: flex; flex-direction: column; gap: .75rem;
}
.service-card:hover { background: var(--surface); }
.service-card .code { font-family: var(--font-mono); font-size: .75rem; color: var(--red); letter-spacing: .1em; }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.service-card .icon { width: 40px; height: 40px; color: var(--text); }
.service-card a.more { margin-top: auto; padding-top: .75rem; font-size: .9rem; color: var(--text); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.service-card a.more:hover { color: var(--red); }

@media (max-width: 980px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-services { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.process-step { padding: 1.75rem; border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; }
.process-step .num { font-family: var(--font-mono); color: var(--red); font-size: .85rem; display: block; margin-bottom: 1rem; }
.process-step p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
}

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split img { border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.checklist { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .65rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; color: var(--muted); }
.checklist li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: .5rem; background: var(--red); }

/* ---------- Reviews ---------- */
.reviews-wrap { display: grid; grid-template-columns: 360px 1fr; border: 1px solid var(--line); }
.rating-panel { padding: 2rem; border-right: 1px solid var(--line); background: var(--surface); }
.rating-score { font-family: var(--font-head); font-size: 4.2rem; font-weight: 700; line-height: 1; }
.rating-score small { font-size: 1.2rem; color: var(--muted); font-weight: 500; }
.stars { color: var(--red); letter-spacing: .15em; font-size: 1.1rem; }
.stars .off { color: var(--line); }
.dist { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .5rem; font-family: var(--font-mono); font-size: .82rem; }
.dist li { display: grid; grid-template-columns: 2.2rem 1fr 2rem; align-items: center; gap: .6rem; color: var(--muted); }
.bar { height: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.bar span { display: block; height: 100%; background: var(--red); }
.review-list { display: grid; grid-template-columns: 1fr 1fr; }
.review { padding: 1.75rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .6rem; }
.review:nth-child(2n) { border-right: 0; }
.review:nth-last-child(-n+2) { border-bottom: 0; }
.review time { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.review .tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.review .tags span { font-size: .78rem; font-family: var(--font-mono); border: 1px solid var(--line); padding: .15rem .55rem; border-radius: 999px; color: var(--text); }
.review p { color: var(--muted); font-size: .93rem; margin: 0; }
.source-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 900px) {
  .reviews-wrap { grid-template-columns: 1fr; }
  .rating-panel { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .review-list { grid-template-columns: 1fr; }
  .review { border-right: 0; }
  .review:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Pricing ---------- */
.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--red);
  background: var(--surface); padding: 1.25rem 1.5rem; border-radius: var(--radius);
  color: var(--muted); font-size: .95rem;
}
.notice strong { color: var(--text); }

.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table caption { text-align: left; padding-bottom: 1rem; color: var(--muted); font-size: .9rem; }
.price-table th, .price-table td { text-align: left; padding: 1.1rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--text); }
.price-table td.price { font-family: var(--font-mono); white-space: nowrap; color: var(--text); text-align: right; }
.price-table th.price { text-align: right; }
.price-table tbody tr:hover { background: var(--surface); }
.price-table .desc { color: var(--muted); font-size: .88rem; display: block; margin-top: .2rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 .5rem; }

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.journal-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; background: var(--surface); text-decoration: none; transition: border-color .2s; }
.journal-card:hover { border-color: var(--red); }
.journal-card .meta { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.journal-card p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .journal-grid { grid-template-columns: 1fr; } }

.article { max-width: 760px; margin: 0 auto; padding: 4rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.article:last-child { border-bottom: 0; }
.article h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.article h3 { margin-top: 2rem; }
.article p, .article li { color: #d4d4d8; }
.article ul, .article ol { padding-left: 1.25rem; display: grid; gap: .5rem; }
.article .meta { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; display: block; }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.do-dont > div { border: 1px solid var(--line); padding: 1.25rem; border-radius: var(--radius); background: var(--surface); }
.do-dont h4 { font-size: .85rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.do-dont ul { margin: 0; }
@media (max-width: 640px) { .do-dont { grid-template-columns: 1fr; } }

/* ---------- Details blocks (services page) ---------- */
.service-detail { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; padding: 3.5rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service-detail:last-child { border-bottom: 0; }
.service-detail .code { font-family: var(--font-mono); color: var(--red); font-size: .8rem; letter-spacing: .1em; }
.service-detail .spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.spec-box { border: 1px solid var(--line); padding: 1.1rem 1.25rem; border-radius: var(--radius); }
.spec-box h4 { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.spec-box ul { margin: 0; padding-left: 1.1rem; color: #d4d4d8; font-size: .93rem; display: grid; gap: .3rem; }
@media (max-width: 900px) { .service-detail { grid-template-columns: 1fr; gap: 1rem; } .service-detail .spec { grid-template-columns: 1fr; } }

/* ---------- Standards ---------- */
.standards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.standards > div { padding: 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.standards p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .standards { grid-template-columns: 1fr; } }

/* ---------- Company data ---------- */
.company-data { width: 100%; border-collapse: collapse; font-size: .93rem; }
.company-data th, .company-data td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.company-data th { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); width: 42%; padding-right: 1rem; }
.company-data td a { color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.card { border: 1px solid var(--line); background: var(--surface); padding: 2rem; border-radius: var(--radius); }

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem .9rem; font: inherit; font-size: .95rem; min-height: 44px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; }
.field .error { color: #ff6b77; font-size: .8rem; min-height: 1em; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b77; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--red); flex: 0 0 auto; }
.rodo-note { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin: 0; }
.rodo-note a { color: var(--text); }
.form-status { font-size: .9rem; padding: .9rem 1rem; border-radius: var(--radius); border: 1px solid var(--line); display: none; }
.form-status.ok { display: block; border-color: var(--red); background: var(--surface-2); }

.map-frame { width: 100%; aspect-ratio: 16/10; border: 1px solid var(--line); border-radius: var(--radius); filter: grayscale(1) invert(.92) contrast(.9); }
.map-placeholder {
  width: 100%; aspect-ratio: 16/10; border: 1px dashed var(--line); border-radius: var(--radius);
  display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--muted); font-size: .9rem; background: var(--surface);
}

.hours { list-style: none; padding: 0; margin: 0; font-family: var(--font-mono); font-size: .88rem; }
.hours li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hours li span:last-child { color: var(--text); }
.hours li.closed span:last-child { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: var(--text); padding: 4rem 0; }
.cta-band .inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta-band h2 { margin: 0; max-width: 640px; }
.cta-band p { margin: .5rem 0 0; opacity: .9; }
.cta-band .btn-dark { background: var(--bg); color: var(--text); }
.cta-band .btn-dark:hover { background: var(--surface-2); }
.cta-band .btn-outline { border-color: var(--text); color: var(--text); background: transparent; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; padding: 3.5rem 0 5rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.legal p, .legal li { color: #d4d4d8; }
.legal ol, .legal ul { padding-left: 1.25rem; display: grid; gap: .4rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1rem 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: .7rem; text-align: left; vertical-align: top; }
.legal th { background: var(--surface); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #070708; border-top: 1px solid var(--line); padding: 4rem 0 1.5rem; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-grid h3 { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--red); }
.footer-grid p { color: var(--muted); }
.footer-company dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: .85rem; }
.footer-company dt { color: var(--muted); font-family: var(--font-mono); font-size: .75rem; padding-top: .15rem; }
.footer-company dd { margin: 0; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .82rem; }
.footer-bottom button { background: none; border: 0; padding: 0; color: var(--text); font: inherit; cursor: pointer; text-decoration: underline; }
.fb-link { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line); padding: .55rem .9rem; border-radius: var(--radius); margin-top: 1rem; }
.fb-link svg { width: 18px; height: 18px; }
.fb-link:hover { border-color: var(--red); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 100;
  max-width: 720px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,.6);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: .5rem; }
.cookie-banner p { font-size: .88rem; color: var(--muted); }
.cookie-banner p a { color: var(--text); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1rem; }
.cookie-actions .btn { width: 100%; }
.cookie-actions .btn-equal { background: var(--text); color: var(--bg); }
.cookie-actions .btn-equal:hover { background: #d4d4d8; }
.cookie-settings { display: none; margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; gap: .75rem; }
.cookie-settings.is-open { display: grid; }
.cookie-settings .check { color: var(--text); }
.cookie-settings .check small { display: block; color: var(--muted); }
.cookie-link { background: none; border: 0; color: var(--text); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; padding: 0; margin-top: .75rem; }
@media (max-width: 480px) { .cookie-actions { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
