/* ============================================================
   DCW Software Czech Republic — styles.css
   Theme: Deep navy | Violet & lilac | Syne + Manrope
   Design code: 66382902
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700&family=Manrope:wght@400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:        #0B1527;
  --bg-alt:    #0F1D35;
  --bg-card:   #131E34;
  --violet:    #7B5EA7;
  --lilac:     #C4A8E8;
  --text:      #E8EDF5;
  --text-muted:#8899B8;
  --border:    #1E2D4A;
  --sidebar-w: 240px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--lilac); text-decoration: none; }
a:hover { color: var(--text); }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ────────────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.brand-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.3;
}
.brand-link span { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; }
.brand-link:hover { color: var(--lilac); }
.nav-list { padding: 1.5rem 0; flex: 1; }
.nav-list li { }
.nav-link {
  display: block;
  padding: 0.65rem 1.5rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
  border-left: 2px solid transparent;
}
.nav-link:hover, .nav-link.active {
  color: var(--lilac);
  background: rgba(123,94,167,0.08);
  border-left-color: var(--violet);
}
.sidebar-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-link-small {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.nav-link-small:hover, .nav-link-small.active { color: var(--lilac); }

/* Hamburger */
.hamburger {
  display: none;
  position: fixed;
  top: 1rem; right: 1rem;
  z-index: 1100;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}
.btn-primary:hover {
  background: var(--lilac);
  border-color: var(--lilac);
  color: var(--bg);
}
.btn-outline {
  background: transparent;
  color: var(--lilac);
  border-color: var(--violet);
}
.btn-outline:hover {
  background: rgba(123,94,167,0.15);
  color: var(--lilac);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.mt-1 { margin-top: 1rem; display: inline-block; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}
.hero-left {
  background: var(--bg);
  padding: 5rem 3rem 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  padding-right: 6rem;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 450px;
  margin: 0;
}
.hero-right {
  background: linear-gradient(135deg, #1a1040 0%, #2a1657 50%, #3d2070 100%);
  position: relative;
  overflow: hidden;
}
.hero-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Gradient mesh overlays for hero-right */
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(123,94,167,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(196,168,232,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Fact Strip ────────────────────────────────────────────── */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.fact-item {
  padding: 1.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-right: 1px solid var(--border);
}
.fact-item:last-child { border-right: none; }
.fact-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.fact-value { font-weight: 600; font-size: 0.95rem; color: var(--lilac); }

/* ── Page Hero ─────────────────────────────────────────────── */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 90% 50%, rgba(123,94,167,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 50%, rgba(196,168,232,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  padding: 4rem 3rem;
  position: relative;
  z-index: 1;
}
.page-hero-inner p { color: var(--text-muted); margin-top: 0.5rem; font-size: 1rem; }

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: 4rem 3rem; }
.bg-alt { background: var(--bg-alt); }

/* Gradient mesh backgrounds on alt sections */
.bg-alt {
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(123,94,167,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(196,168,232,0.07) 0%, transparent 70%),
    var(--bg-alt);
}

.section-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  max-width: 1100px;
}
.section-heading {
  position: sticky;
  top: 2rem;
  align-self: start;
}
.section-heading h2 { margin-bottom: 0.75rem; }
.section-sub { color: var(--text-muted); font-size: 0.9rem; }

/* ── Services Grid ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--bg-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-card h3 { font-size: 1.05rem; color: var(--lilac); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.card-link { font-size: 0.85rem; color: var(--violet); font-weight: 600; }
.card-link:hover { color: var(--lilac); }

/* ── Steps ─────────────────────────────────────────────────── */
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--violet);
  opacity: 0.6;
  line-height: 1;
  padding-top: 0.2rem;
}
.step-content h3 { margin-bottom: 0.5rem; }
.step-content p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Why Grid ──────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.why-item {
  background: var(--bg-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.why-icon { color: var(--violet); font-size: 1.2rem; }
.why-item h3 { font-size: 1rem; }
.why-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.2rem 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after {
  content: '+';
  color: var(--violet);
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 1.2rem;
}
.faq-answer p { color: var(--text-muted); font-size: 0.95rem; }
.faq-answer.open { display: block; }

/* ── Contact Section ───────────────────────────────────────── */
.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.contact-item a, .contact-item span { font-size: 0.95rem; }
.contact-details-block { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }

/* ── Contact Form ──────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-row input,
.form-row textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--violet);
}
.form-row textarea { resize: vertical; }
.form-consent { }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.consent-label input { flex-shrink: 0; margin-top: 0.2rem; accent-color: var(--violet); }

/* ── Widget ────────────────────────────────────────────────── */
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
}
.widget-step { display: none; }
.widget-step.active { display: block; }
.widget-step-title {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--lilac);
}
.widget-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.widget-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--bg-alt);
}
.widget-card input[type="radio"] { accent-color: var(--violet); }
.widget-card-label { font-size: 0.95rem; }
.widget-card:hover, .widget-card:has(input:checked) {
  border-color: var(--violet);
  background: rgba(123,94,167,0.1);
}
.widget-nav { display: flex; gap: 1rem; align-items: center; }
.widget-result { margin-bottom: 1.5rem; }
.result-service {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--lilac);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.result-desc { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── Details Card ──────────────────────────────────────────── */
.details-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}
.detail-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }

/* ── Prose ─────────────────────────────────────────────────── */
.prose ul { list-style: disc; padding-left: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prose li { color: var(--text-muted); font-size: 0.95rem; }
.prose p { color: var(--text-muted); }
.prose h3 { margin: 1.5rem 0 0.75rem; color: var(--lilac); }
.prose .btn { display: inline-block; margin-top: 1.5rem; }

/* ── Legal Sections ────────────────────────────────────────── */
.legal-section .section-inner { grid-template-columns: 1fr; }
.legal-section .section-body { max-width: 820px; }
.prose-legal h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; color: var(--lilac); padding-top: 1rem; border-top: 1px solid var(--border); }
.prose-legal h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.prose-legal h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; color: var(--text); }
.prose-legal p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.prose-legal ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-legal li { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.4rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.88rem; }
.legal-table th { background: var(--bg-alt); color: var(--text-muted); text-align: left; padding: 0.6rem 0.9rem; border: 1px solid var(--border); font-weight: 600; }
.legal-table td { padding: 0.6rem 0.9rem; border: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
.legal-table code { font-size: 0.85em; background: var(--bg-alt); padding: 0.1em 0.3em; border: 1px solid var(--border); }

/* ── 404 Page ──────────────────────────────────────────────── */
.error-page {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.error-page-inner { text-align: center; max-width: 500px; }
.error-code {
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 700;
  color: var(--violet);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}
.error-page-inner h1 { margin-bottom: 1rem; }
.error-page-inner p { color: var(--text-muted); margin-bottom: 2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.error-nav p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.error-nav ul { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.error-nav li a { color: var(--lilac); font-size: 0.9rem; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 3rem 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand strong {
  font-family: var(--font-head);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; }
.footer-nav h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { color: var(--text-muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--lilac); }
.footer-legal h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.footer-legal p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.footer-legal a { color: var(--text-muted); font-size: 0.85rem; }
.footer-legal a:hover { color: var(--lilac); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }

/* ── Cookie Banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 2rem;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 280px; }
.cookie-banner-text strong { display: block; margin-bottom: 0.3rem; font-size: 0.95rem; }
.cookie-banner-text p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-preferences-panel {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10000;
  background: var(--bg-card);
  border-top: 2px solid var(--violet);
  max-width: 600px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2rem;
  border: 1px solid var(--border);
  border-top: 2px solid var(--violet);
}
.cookie-prefs-inner { padding: 1.5rem; }
.cookie-prefs-inner h3 { margin-bottom: 1.5rem; }
.cookie-pref-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cookie-pref-item:last-of-type { border-bottom: none; }
.cookie-pref-info strong { display: block; margin-bottom: 0.25rem; font-size: 0.95rem; }
.cookie-pref-info p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.cookie-always-on {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.cookie-toggle { position: relative; flex-shrink: 0; }
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle-track {
  display: block;
  width: 44px;
  height: 24px;
  background: var(--border);
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}
.cookie-toggle-track::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: var(--text-muted);
  transition: transform 0.2s, background 0.2s;
}
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--violet); }
.cookie-toggle input:checked + .cookie-toggle-track::after {
  transform: translateX(20px);
  background: #fff;
}
.cookie-prefs-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .contact-two-col { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { clip-path: none; padding: 4rem 2.5rem; }
  .hero-right { height: 300px; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .main-content { margin-left: 0; }
  .section { padding: 3rem 1.5rem; }
  .page-hero-inner { padding: 3rem 1.5rem; }
  .hero-left { padding: 3rem 1.5rem; }
  .section-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading { position: static; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 130px 1fr; }
  .cookie-preferences-panel { left: 0; right: 0; transform: none; bottom: 0; max-width: 100%; }
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .fact-strip { grid-template-columns: 1fr; }
  .fact-item { border-right: none; }
  .detail-row { grid-template-columns: 1fr; }
  .detail-label { margin-bottom: 0.1rem; }
  .error-actions { flex-direction: column; align-items: center; }
}
