/* ============================================================
   SQX.pl — design system v1
   Paleta i typografia wg brand/platforma-marki.md (sekcja 7)
   ============================================================ */

:root {
  /* kolory */
  --paper: #FAF9F6;      /* baza — złamana ciepła biel */
  --sand: #F1EEE6;       /* powierzchnie wtórne */
  --ink: #16211F;        /* tekst główny */
  --muted: #5A6663;      /* tekst drugorzędny */
  --petrol: #0E2B28;     /* sekcje kontrastowe */
  --petrol-2: #123833;   /* powierzchnie na petrolu */
  --tq: #30D5C8;         /* turkus SQX — akcent, znaki, na ciemnym */
  --tq-ink: #0B8C80;     /* turkus do tekstu na jasnym (WCAG AA) */
  --line: #E3E0D7;       /* linie na jasnym */
  --line-dark: #1E4640;  /* linie na petrolu */
  --ink-on-dark: #EDF3F1;
  --muted-on-dark: #9FB5B0;

  /* typografia */
  --f-display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Source Serif 4", "Charter", Georgia, serif;
  --f-mono: "IBM Plex Mono", "SF Mono", "Consolas", monospace;

  /* skala */
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6.5rem;
  --radius: 10px;
  --maxw: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.06rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.015em; line-height: 1.12; margin: 0 0 var(--s2); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.18rem; letter-spacing: -.005em; }
p { margin: 0 0 var(--s2); }
a { color: var(--tq-ink); text-underline-offset: 3px; }
img { max-width: 100%; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tq-ink);
  display: block;
  margin-bottom: var(--s2);
}
.on-dark .eyebrow { color: var(--tq); }

.lead { font-size: 1.18rem; color: var(--muted); max-width: 44rem; }

section { padding: var(--s6) 0; }
section.tight { padding: var(--s5) 0; }

/* ---------- nagłówek / nawigacja ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: var(--s3); padding-top: .8rem; padding-bottom: .8rem; position: relative; }
.site-head .logo img { height: 26px; display: block; }
.site-head nav { margin-left: auto; display: flex; gap: 1.2rem; align-items: center; }
.site-head nav a:not(.btn) { font-family: var(--f-display); font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.site-head nav a:not(.btn):hover { color: var(--tq-ink); }
.site-head nav a[aria-current="page"] { color: var(--tq-ink); }
.nav-check { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-toggle {
  display: none; font-family: var(--f-display); font-weight: 600; font-size: .92rem;
  color: var(--ink); cursor: pointer; border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem 1rem;
}
.nav-panel { display: flex; gap: 1.6rem; align-items: center; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: none; position: absolute; top: 100%; right: clamp(1.1rem, 4vw, 2.5rem); left: clamp(1.1rem, 4vw, 2.5rem);
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: var(--s2); flex-direction: column; align-items: stretch; gap: 0; z-index: 60;
  }
  .nav-check:checked ~ .nav-panel { display: flex; }
  .nav-panel a:not(.btn) { padding: .7rem .4rem; border-bottom: 1px solid var(--line); }
  .nav-panel a:last-child { border-bottom: 0; }
}
.skip {
  position: absolute; left: .8rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .5rem 1rem; border-radius: 6px;
}
.skip:focus { top: .8rem; color: var(--paper); }
#kontakt { scroll-margin-top: 5.5rem; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, .nav-toggle:focus-visible, summary:focus-visible {
  outline: 2px solid var(--tq-ink); outline-offset: 2px;
}

/* ---------- przyciski ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .98rem;
  padding: .78rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--petrol); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.on-dark .btn-primary { background: var(--tq); color: var(--petrol); }
.on-dark .btn-ghost { border-color: var(--tq); color: var(--tq); }
.site-head .btn { padding: .55rem 1.2rem; font-size: .88rem; }

/* ---------- hero ---------- */
.hero { --p: 0; padding: var(--s6) 0 var(--s5); position: relative; overflow: hidden; }
@media (min-width: 901px) {
  .hero { min-height: 92vh; display: flex; align-items: center; }
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--tq-ink); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em;
  height: .12em; background: var(--tq); opacity: .55; border-radius: 2px; z-index: -1;
}
.hero .lead { margin: var(--s3) 0 var(--s4); }
.hero-cta { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; margin-bottom: var(--s4); }
.proof-row { display: flex; gap: var(--s3); flex-wrap: wrap; }
.proof {
  font-family: var(--f-mono); font-size: .82rem; color: var(--muted);
  display: flex; align-items: baseline; gap: .5rem;
}
.proof b { color: var(--ink); font-weight: 600; }
.proof::before { content: "▸"; color: var(--tq); }
.hero-depth {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 42%, #000 72%);
  -webkit-mask-image: linear-gradient(90deg, transparent 42%, #000 72%);
}
.hero-grid {
  position: absolute;
  inset: -18%;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--tq) 22%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--tq) 22%, transparent) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: .22;
  mask-image: radial-gradient(ellipse 70% 75% at 82% 40%, #000 8%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 82% 40%, #000 8%, transparent 70%);
}
.hero-stage {
  position: absolute;
  inset: 0 0 0 34%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-letters {
  width: min(78vw, 62rem);
  max-width: none;
  height: auto;
  margin-right: -12%;
  display: block;
  overflow: visible;
  opacity: .2;
}
@media (max-width: 900px) {
  .hero-depth {
    mask-image: linear-gradient(180deg, transparent 8%, #000 40%);
    -webkit-mask-image: linear-gradient(180deg, transparent 8%, #000 40%);
  }
  .hero-stage { inset: 28% 0 0 0; justify-content: center; }
  .hero-letters { width: 120vw; margin-right: -20%; opacity: .07; }
}

/* ---------- problem / kontrast ---------- */
.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 820px) { .contrast-grid { grid-template-columns: 1fr; } }
.contrast-col { border-radius: var(--radius); padding: var(--s3) var(--s3); }
.contrast-col.pain { background: var(--sand); border: 1px solid var(--line); }
.contrast-col.gain { background: var(--petrol); color: var(--ink-on-dark); }
.contrast-col h3 { font-size: .82rem; font-family: var(--f-mono); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.contrast-col.pain h3 { color: var(--muted); }
.contrast-col.gain h3 { color: var(--tq); }
.contrast-col ul { list-style: none; margin: 0; padding: 0; }
.contrast-col li { padding: var(--s2) 0; border-top: 1px solid var(--line); }
.contrast-col.gain li { border-top-color: var(--line-dark); }
.contrast-col li:first-of-type { border-top: none; }
.contrast-col li b { font-family: var(--f-display); font-size: .98rem; display: block; margin-bottom: .2rem; }

/* ---------- model SQX — kroki ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); margin-top: var(--s4); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--s3); border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--f-mono); font-size: .8rem; color: var(--tq-ink);
  position: absolute; top: -.72rem; left: 0; background: var(--paper); padding-right: .6rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }
.step .sla { font-family: var(--f-mono); font-size: .8rem; color: var(--tq-ink); display: block; margin-top: .6rem; }

/* ---------- zakres usług ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-top: var(--s4); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s3); display: flex; flex-direction: column; gap: .5rem;
}
.service h3 { margin: 0; }
.service p { font-size: .93rem; color: var(--muted); margin: 0; flex: 1; }
.service .metric { font-family: var(--f-mono); font-size: .78rem; color: var(--tq-ink); border-top: 1px dashed var(--line); padding-top: .7rem; }

/* ---------- branże ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin-top: var(--s4); }
@media (max-width: 960px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }
.industry { background: var(--sand); border-radius: var(--radius); padding: var(--s3); }
.industry h3 { font-size: 1.02rem; }
.industry p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- pakiety ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-top: var(--s4); align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 30rem; margin-left: auto; margin-right: auto; } }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2);
}
.plan.featured { border: 2px solid var(--tq); position: relative; box-shadow: 0 12px 34px -18px rgba(14, 43, 40, .35); }
.plan .flag {
  position: absolute; top: -.85rem; left: var(--s3);
  background: var(--tq); color: var(--petrol);
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .7rem; border-radius: 999px;
}
.plan .letter { font-family: var(--f-display); font-weight: 700; font-size: 2.6rem; color: var(--tq-ink); line-height: 1; }
.plan h3 { margin: 0; }
.plan .price { font-family: var(--f-mono); font-size: 1.15rem; color: var(--ink); margin: 0; }
.plan .price small { display: block; font-size: .82rem; color: var(--muted); font-family: var(--f-display); margin-top: .15rem; }
.plan ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.plan li { font-size: .93rem; padding: .45rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.plan li b { color: var(--ink); }
.plan .btn { text-align: center; }
.guarantee {
  margin-top: var(--s3); text-align: center; font-size: .95rem; color: var(--muted);
}
.guarantee b { color: var(--tq-ink); }

/* ---------- sekcje ciemne (petrol) ---------- */
.on-dark { background: var(--petrol); color: var(--ink-on-dark); }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: var(--muted-on-dark); }
.on-dark a { color: var(--tq); }
.promise-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2) var(--s4); margin-top: var(--s4); list-style: none; padding: 0; }
@media (max-width: 760px) { .promise-list { grid-template-columns: 1fr; } }
.promise-list li { border-top: 1px solid var(--line-dark); padding: var(--s2) 0; }
.promise-list b { font-family: var(--f-display); color: #fff; display: block; margin-bottom: .25rem; }
.promise-list p { margin: 0; font-size: .95rem; }

/* ---------- dlaczego to działa ---------- */
.why .lead { max-width: 50rem; }
.why-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s4); }
@media (max-width: 820px) { .why-cols { grid-template-columns: 1fr; } }
.why-cols h3 { display: flex; gap: .6rem; align-items: baseline; }
.why-cols h3::before { content: "✕"; color: var(--tq); font-size: .85em; }
.why-cols p { font-size: .97rem; color: var(--muted); }

/* ---------- manifest ---------- */
.manifest { background: var(--sand); }
.manifest ol { counter-reset: m; list-style: none; margin: var(--s4) 0 0; padding: 0; columns: 2; column-gap: var(--s5); }
@media (max-width: 820px) { .manifest ol { columns: 1; } }
.manifest li {
  counter-increment: m; break-inside: avoid;
  padding: var(--s2) 0 var(--s2) 3rem; position: relative; border-top: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem;
}
.manifest li::before {
  content: counter(m, decimal-leading-zero);
  position: absolute; left: 0; top: var(--s2);
  font-family: var(--f-mono); font-weight: 400; font-size: .85rem; color: var(--tq-ink);
}
.manifest li span { display: block; font-family: var(--f-body); font-weight: 400; font-size: .93rem; color: var(--muted); margin-top: .25rem; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; padding: var(--s2) 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--tq-ink); font-size: 1.2rem; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { max-width: 56rem; color: var(--muted); font-size: .97rem; padding-bottom: var(--s2); margin: 0; }
.faq { max-width: 56rem; }

/* ---------- kontakt ---------- */
.contact { text-align: left; }
.contact .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s5); align-items: center; }
@media (max-width: 820px) { .contact .wrap { grid-template-columns: 1fr; } }
.contact .path { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.contact .path li { display: flex; gap: .8rem; padding: .5rem 0; font-size: .95rem; color: var(--muted-on-dark); }
.contact .path li::before { content: "▸"; color: var(--tq); font-family: var(--f-mono); }
.contact-card {
  background: var(--petrol-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: var(--s3);
  position: relative;
  transition: outline-color .3s ease;
}
.contact-card.is-target { outline: 2px solid var(--tq); outline-offset: 3px; }
.contact-card .mono { font-family: var(--f-mono); font-size: .9rem; }
.contact-card a { text-decoration: none; }

/* ---------- mikrocopy ---------- */
.micro { font-size: .85rem; color: var(--muted); font-family: var(--f-display); }
.on-dark .micro { color: var(--muted-on-dark); }

/* ---------- pasek liczb Modelu SQX ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3);
  margin-top: var(--s5); padding: var(--s3) 0 0; border-top: 2px solid var(--tq);
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat b { font-family: var(--f-mono); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--tq-ink); display: block; }
.stat span { font-family: var(--f-display); font-size: .82rem; color: var(--muted); line-height: 1.4; display: block; margin-top: .3rem; }

/* ---------- formularz ---------- */
.contact-card form { display: flex; flex-direction: column; gap: var(--s2); position: relative; }
.contact-card label { font-family: var(--f-display); font-size: .85rem; font-weight: 600; color: var(--ink-on-dark); }
.contact-card input, .contact-card textarea {
  width: 100%; margin-top: .35rem;
  background: var(--petrol); color: var(--ink-on-dark);
  border: 1px solid var(--line-dark); border-radius: 6px;
  padding: .65rem .8rem; font-family: var(--f-display); font-size: .95rem;
}
.contact-card input:focus, .contact-card textarea:focus { outline: 2px solid var(--tq); outline-offset: 1px; border-color: var(--tq); }
.contact-card button { cursor: pointer; margin-top: .4rem; border: 0; }
.contact-card button:disabled { opacity: .65; cursor: wait; transform: none; }
.contact-card .hp {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0;
}
.form-error { margin: 0; font-size: .9rem; color: #F3C1B0; }
.form-error a { color: var(--tq); text-decoration: underline; }
.contact-done { outline: none; }
.contact-done h3 { color: var(--ink-on-dark); font-size: 1.55rem; margin-bottom: .7rem; }
.contact-done p { color: var(--muted-on-dark); }
.done-path { list-style: none; margin: var(--s3) 0 0; padding: 0; counter-reset: d; }
.done-path li {
  display: flex; gap: .8rem; padding: .55rem 0;
  font-size: .95rem; color: var(--ink-on-dark);
  border-top: 1px solid var(--line-dark);
}
.done-path li::before {
  counter-increment: d; content: counter(d);
  font-family: var(--f-mono); color: var(--tq); flex: none; width: 1.2rem;
}

/* ---------- stopka ---------- */
.foot-brand { display: flex; flex-direction: column; gap: .7rem; }
.foot-cols { display: flex; gap: var(--s5); flex-wrap: wrap; margin-left: auto; }
.foot-cols h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-on-dark); margin: 0 0 .6rem; font-family: var(--f-mono); font-weight: 500; }
.foot-cols a { display: block; padding: .18rem 0; }
@media (max-width: 760px) { .foot-cols { margin-left: 0; gap: var(--s4); } }

/* ---------- stopka (baza) ---------- */
.site-foot { background: var(--petrol); color: var(--muted-on-dark); border-top: 1px solid var(--line-dark); padding: var(--s4) 0; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; }
.site-foot img { height: 20px; opacity: .95; }
.site-foot .claim { font-family: var(--f-display); font-size: .9rem; color: var(--ink-on-dark); }
.site-foot nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-foot a { color: var(--muted-on-dark); font-size: .85rem; text-decoration: none; }
.site-foot a:hover { color: var(--tq); }
.site-foot .fine { width: 100%; font-size: .78rem; font-family: var(--f-mono); }

/* ---------- case studies ---------- */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s2);
  margin-top: var(--s4);
}
@media (max-width: 960px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cs-grid { grid-template-columns: 1fr; } }
.cs-card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s3);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.cs-card:hover { border-color: var(--tq-ink); transform: translateY(-2px); color: inherit; }
.cs-card-tag {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tq-ink);
}
.cs-card h3 { margin: 0; font-size: 1.12rem; }
.cs-card-metric {
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.45;
}
.cs-card p { font-size: .93rem; color: var(--muted); margin: 0; flex: 1; }
.cs-card-more {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .88rem;
  color: var(--tq-ink);
}

.cs-article { max-width: 44rem; }
.cs-crumb {
  font-family: var(--f-display);
  font-size: .88rem;
  margin: 0 0 var(--s3);
}
.cs-crumb a { color: var(--muted); text-decoration: none; }
.cs-crumb a:hover { color: var(--tq-ink); }
.cs-meta {
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 var(--s4);
}
.cs-article h2 {
  font-size: 1.15rem;
  margin: var(--s4) 0 var(--s2);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}
.cs-article > h2:first-of-type { border-top: none; padding-top: 0; }
.cs-effects { list-style: none; margin: 0; padding: 0; }
.cs-effects li {
  padding: .7rem 0 .7rem 1.2rem;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 1.02rem;
}
.cs-effects li:first-child { border-top: none; }
.cs-effects li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--tq-ink);
  font-family: var(--f-mono);
}
.cs-cta {
  margin-top: var(--s5);
  padding: var(--s3);
  background: var(--sand);
  border-radius: var(--radius);
}
.cs-more {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
}
.cs-more h2 { font-size: 1.2rem; }
.cs-more .cs-grid { margin-top: var(--s3); }

.legal { max-width: 42rem; }
.legal h2 { font-size: 1.15rem; margin-top: var(--s4); }
.legal ul { padding-left: 1.2rem; }
.legal code { font-family: var(--f-mono); font-size: .88em; }

.cookie-bar {
  position: fixed; z-index: 80; left: 0; right: 0; bottom: 0;
  background: var(--petrol); color: var(--ink-on-dark);
  border-top: 1px solid var(--line-dark);
  padding: 1rem clamp(1.1rem, 4vw, 2.5rem) 1.15rem;
}
.cookie-bar-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cookie-bar-title {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--tq); margin: 0 0 .35rem;
}
.cookie-bar p { margin: 0; font-size: .92rem; color: var(--muted-on-dark); max-width: 44rem; line-height: 1.5; }
.cookie-bar a { color: var(--tq); }
.cookie-bar-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.cookie-bar .btn { cursor: pointer; padding: .55rem 1.15rem; font-size: .88rem; }
.cookie-bar .btn-ghost { border-color: var(--tq); color: var(--tq); background: transparent; }
.cookie-bar .btn-primary { background: var(--tq); color: var(--petrol); }
@media (max-width: 640px) {
  .cookie-bar-actions { width: 100%; }
  .cookie-bar .btn { flex: 1; text-align: center; }
}
.contact-card .consent input { width: auto; margin-top: .25rem; flex: none; }
.cal-slot { margin-top: var(--s3); }
.cal-slot iframe { width: 100%; min-height: 620px; border: 0; border-radius: 6px; background: var(--petrol); }
