/* ===== WeldBeat — dark theme ===== */
:root {
  --bg: #0a0a0b;
  --bg-2: #111114;
  --bg-3: #18181c;
  --line: #26262c;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --accent: #5e3bd6;        /* logo violet, deep & stylish */
  --accent-2: #8366ec;
  --accent-glow: rgba(94, 59, 214, 0.40);
  --accent-grad: linear-gradient(135deg, #8366ec 0%, #5e3bd6 55%, #4a2dbd 100%);
  --radius: 14px;
  --maxw: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }

.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}
.logo .spark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 20px var(--accent-glow);
}
.logo .spark svg { width: 18px; height: 18px; }
.logo b { color: var(--accent); }
.logo img { height: 38px; width: auto; display: block; object-fit: contain; }
.nav .logo { flex: 0 0 auto; }
.site-footer .logo img { height: 42px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg-3); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.burger span { display: block; height: 2px; width: 22px; background: var(--text); transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-primary:hover { background: linear-gradient(135deg, #9479f0 0%, #6d4ce0 55%, #5836cc 100%); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(94,59,214,0.1);
  border: 1px solid rgba(94,59,214,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 { max-width: 16ch; margin-bottom: 22px; }
.hero p.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head .eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 12px;
  display: inline-block;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }

/* "Dlaczego Wéldbeat" heading — keep it to 2 balanced lines on desktop */
#dlaczego .section-head { max-width: 720px; }
#dlaczego .section-head h2 { text-wrap: balance; }
#dlaczego .section-head p { max-width: 60ch; }

.bg-2 { background: var(--bg-2); }

/* ===== Audience split (two sections) ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.split-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.split-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.split-card .icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 6px 18px var(--accent-glow);
  margin-bottom: 24px;
}
.split-card .icon svg { width: 28px; height: 28px; }
.split-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.split-card p { color: var(--muted); margin-bottom: 24px; }
.split-card ul { list-style: none; margin-bottom: 28px; }
.split-card ul li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 7px 0; color: var(--text); font-size: 0.97rem;
}
.split-card ul li::before {
  content: "→"; color: var(--accent); font-weight: 700;
}

/* ===== Cards grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card .icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--accent-grad); color: #fff;
  box-shadow: 0 6px 18px var(--accent-glow);
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat .label { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }

/* ===== Steps ===== */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent); color: #0a0a0b;
  font-weight: 900; font-size: 1.2rem;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-glow), transparent 60%);
  opacity: 0.6;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 50ch; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; }

/* ===== Forms ===== */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-info h2 { margin-bottom: 16px; }
.form-info p { color: var(--muted); margin-bottom: 24px; }
.form-info .contact-line {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.form-info .contact-line svg { width: 20px; height: 20px; color: var(--accent); flex: 0 0 auto; }
.form-info .contact-line span { color: var(--text); }
.form-info .contact-line small { display: block; color: var(--muted); font-size: 0.8rem; }

form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .btn { width: 100%; justify-content: center; margin-top: 6px; }
/* Stack of equal-size submit buttons */
.btn-stack { display: grid; gap: 10px; margin-top: 6px; }
.btn-stack .btn { width: 100%; margin-top: 0; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  background: rgba(94,59,214,0.1);
  border: 1px solid rgba(94,59,214,0.3);
  color: var(--text);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  text-align: center;
}
.form-success.show { display: block; }

/* ===== Page hero (subpages) ===== */
.page-hero {
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; top: -150px; left: 30%;
  width: 500px; height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(50px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 14px;
  display: inline-block;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin-top: 16px; }

/* ===== About ===== */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 22px; }
.prose { max-width: 70ch; }
.prose p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }
.prose h3 { color: var(--text); margin: 30px 0 12px; }

/* ===== Map placeholder ===== */
.map-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  min-height: 340px;
}
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-grid h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: var(--muted); font-size: 0.95rem; transition: color .2s; }
.footer-grid ul li a:hover { color: var(--accent); }
.footer-about p { color: var(--muted); font-size: 0.95rem; margin: 14px 0; max-width: 36ch; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--muted); font-size: 0.88rem;
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Densify the inline header as width shrinks so the full menu fits on as many
   devices as possible (e.g. iPad); script.js switches to the burger only when
   even the densest tier doesn't fit (.nav-collapsed on .site-header) */
@media (max-width: 1219px) {
  .nav.container { padding-left: 16px; padding-right: 16px; }
  .nav-links { gap: 1px; }
  .nav-links a { padding: 7px 7px; font-size: 0.84rem; }
  .logo img { height: 28px; }
  .lang-switch button { padding: 7px 6px; font-size: 0.7rem; }
  .nav-cta { gap: 8px; }
}
@media (max-width: 1024px) {
  .nav-links a { padding: 6px 5px; font-size: 0.8rem; }
  .logo img { height: 26px; }
  .lang-switch button { padding: 6px 5px; font-size: 0.66rem; }
}
/* Burger mode — set by script.js whenever the full inline menu doesn't
   physically fit the header for the current width/language, never by a
   fixed breakpoint */
.site-header.nav-collapsed .burger { display: flex; }
.site-header.nav-collapsed .nav-links {
  position: fixed;
  top: 72px; left: 0; right: 0;
  flex-direction: column;
  align-items: stretch;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 16px;
  gap: 4px;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .3s, opacity .3s, visibility .3s;
  z-index: 99;
}
.site-header.nav-collapsed .nav-links.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.site-header.nav-collapsed .nav-links a { padding: 12px 14px; font-size: 1rem; white-space: normal; }
.site-header.nav-collapsed .nav-cta .btn { display: none; }
/* Off-screen single-row state used by script.js to measure the menu's natural width */
.site-header.nav-measuring .nav-links {
  position: absolute !important; top: auto !important; left: 0 !important; right: auto !important;
  width: max-content !important;
  flex-direction: row !important; align-items: center !important;
  padding: 0 !important; transform: none !important;
  visibility: hidden !important; opacity: 0 !important;
  pointer-events: none !important; transition: none !important;
  gap: 8px !important;
}
/* mirror the real inline-tier link sizes so the measurement matches what would render */
.site-header.nav-measuring .nav-links a { padding: 8px 14px; font-size: 0.95rem; white-space: nowrap; }
@media (max-width: 1219px) {
  .site-header.nav-measuring .nav-links { gap: 1px !important; }
  .site-header.nav-measuring .nav-links a { padding: 7px 7px; font-size: 0.84rem; }
}
@media (max-width: 1024px) {
  .site-header.nav-measuring .nav-links a { padding: 6px 5px; font-size: 0.8rem; }
}
.site-header.nav-measuring .sub-menu { position: absolute !important; visibility: hidden !important; }
.site-header.nav-measuring .burger { display: none !important; }
/* keep dropdown carets in the measurement — .nav-collapsed hides them and would skew the width */
.site-header.nav-measuring .nav-links li.has-sub > a::after { display: block !important; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .cta-band { padding: 40px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn { white-space: normal; text-align: center; }       /* long UA CTA labels wrapped instead of clipped by overflow-x:hidden */
  .field input, .field select, .field textarea { font-size: 16px; }  /* >=16px stops iOS Safari focus auto-zoom */
}

/* ============================================================
   v2 — hero photo, language switcher, modern animations
   ============================================================ */

/* ---- Language switcher ---- */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: var(--bg-3);
}
.lang-switch button {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 11px;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--accent-grad); color: #fff; }

/* ---- Hero with photo background ---- */
.hero {
  min-height: clamp(560px, 84vh, 800px);
  display: flex;
  align-items: center;
  padding: 90px 0;
}
.hero .container { position: relative; z-index: 2; }
.hero::before { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 65% center;
  animation: kenburns 26s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,1) 0%, rgba(10,10,11,.92) 9%, rgba(10,10,11,0) 27%),
    linear-gradient(90deg, rgba(10,10,11,.97) 0%, rgba(10,10,11,.86) 36%, rgba(10,10,11,.42) 72%, rgba(10,10,11,.7) 100%),
    linear-gradient(0deg, rgba(10,10,11,.85) 0%, transparent 40%);
}
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.13); } }

/* floating sparks */
.spark-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.spark-field i {
  position: absolute; bottom: -12px;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 2px var(--accent-glow);
  opacity: 0;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  12%  { opacity: 1; }
  85%  { opacity: .85; }
  100% { transform: translateY(-140px) scale(.25); opacity: 0; }
}

/* ---- Hero entrance ---- */
.fade-up { opacity: 0; transform: translateY(22px); animation: fadeUp .75s cubic-bezier(.22,.61,.36,1) forwards; }
.fade-up.d1 { animation-delay: .12s; }
.fade-up.d2 { animation-delay: .24s; }
.fade-up.d3 { animation-delay: .36s; }
.fade-up.d4 { animation-delay: .48s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---- Button arrow + shine ---- */
.btn .arr { display: inline-flex; transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s;
}
.btn-primary:hover::after { left: 140%; }

/* ---- Reveal (richer) ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* card icon hover pulse */
.card:hover .icon, .split-card:hover .icon { transform: translateY(-2px) scale(1.05); }
.card .icon, .split-card .icon { transition: transform .25s, background .25s, color .25s; }
.card:hover .icon { background: linear-gradient(135deg, #9479f0 0%, #6d4ce0 55%, #5836cc 100%); }

/* form success icon */
.form-success { display: none; align-items: center; gap: 10px; justify-content: center; }
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .fade-up { opacity: 1 !important; transform: none !important; }
  .hero-bg img { animation: none !important; }
}

/* ---- Responsive tweaks for hero/lang ---- */
@media (max-width: 720px) {
  .hero { min-height: 78vh; padding: 60px 0; }
  .hero-bg img { object-position: 70% center; }
  .lang-switch button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;          /* 44px touch target (was ~29px) */
    padding: 0 10px;           /* tight horizontal padding so the 320px header still fits */
    font-size: 0.8rem;
  }
}

/* ============================================================
   v3 — brand gradient palette (orange→pink→purple→blue),
   map fix, client logos
   ============================================================ */
:root {
  --grad: linear-gradient(100deg, #ff7a18 0%, #e23b8a 40%, #8b3ff0 72%, #4b34e6 100%);
  --grad-tilt: linear-gradient(135deg, #ff7a18 0%, #e23b8a 42%, #8b3ff0 74%, #4b34e6 100%);
}

/* gradient text helper applied to key accents */
.accent,
.eyebrow,
.stat .num {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* hero eyebrow pill — neutral chip with gradient text, orange spark */
.hero-eyebrow {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}
.hero-eyebrow span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}
.hero-eyebrow svg { color: #ff7a18; }

/* primary buttons → gradient */
.btn-primary {
  background: var(--grad);
  background-size: 160% 100%;
  background-position: 0% 50%;
  color: #fff;
  transition: transform .15s, background-position .5s, box-shadow .2s, filter .2s;
}
.btn-primary:hover {
  background: var(--grad);
  background-size: 160% 100%;
  background-position: 100% 50%;
  filter: brightness(1.06);
}

/* step counters → gradient */
.step::before { background: var(--grad-tilt); color: #fff; }

/* cta band gradient border (radius-respecting) */
.cta-band {
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2)) padding-box,
              var(--grad) border-box;
}

/* ---- Map fix: fill its panel fully, never collapse ---- */
.map-box {
  min-height: 380px;
  height: 100%;
}
.map-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ---- Client logos (trust strip) ---- */
.logos-title {
  text-align: center;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 30px;
}
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px 52px;
}
.client-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--muted-2);
  opacity: 0.65;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  filter: grayscale(1);
  transition: opacity .25s, color .25s, filter .25s, transform .25s;
}
.client-logo svg { width: 28px; height: 28px; flex: 0 0 auto; }
.client-logo:hover {
  opacity: 1;
  color: var(--text);
  filter: grayscale(0);
  transform: translateY(-2px);
}
@media (max-width: 720px) {
  .logo-strip { gap: 22px 32px; }
  .client-logo { font-size: 1rem; }
  .client-logo svg { width: 22px; height: 22px; }
}

/* ===== Logo-gradient borders on card boxes (site-wide) ===== */
.card,
.split-card,
.step {
  border: 1px solid transparent !important;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad-tilt) border-box !important;
  transition: transform .25s, box-shadow .25s;
}
.card:hover,
.split-card:hover,
.step:hover {
  box-shadow: 0 12px 34px rgba(94, 59, 214, 0.20);
}

/* ===== 6-card grids: 3-wide → 2-wide → 1-wide on phones (long UA/PL words overflow 2-col) ===== */
.grid:has(> :nth-child(6):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .grid:has(> :nth-child(6):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .grid:has(> :nth-child(6):last-child) {
    grid-template-columns: 1fr;            /* was 2-col; long UA/PL words overflowed the ~93-140px card body */
    gap: 14px;
  }
  .grid:has(> :nth-child(6):last-child) .card { padding: 22px 18px; overflow-wrap: anywhere; }
}

/* ===== Hero video ===== */
.hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}

/* ===== Media figures (team / office photos) ===== */
.media-figure {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad-tilt) border-box;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  line-height: 0;
}
.media-figure img { width: 100%; height: auto; display: block; }
.team-photo { max-width: 560px; margin: 36px auto 0; }
.office-photo { margin-bottom: 18px; }
.office-photo img { height: 240px; object-fit: cover; }

/* ---- Accessibility utilities ---- */
.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: 8px; top: -56px; z-index: 2000;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; outline: 2px solid #fff; outline-offset: 2px; }

/* ===== Narrow-phone fixes (<=374px): fit header at 320px, keep 44px lang targets, no logo distortion ===== */
@media (max-width: 374px) {
  .logo img { height: 28px; }
  .lang-switch button { padding: 6px 6px; font-size: 0.7rem; letter-spacing: 0; }
  .nav-cta { gap: 6px; }
}

/* ============================================================
   v4 — TZ edits: exact brand palette, dropdown nav, accordions,
   timeline, industries strip, realizacje, sticky CTA
   ============================================================ */
:root {
  --accent: #8020ff;
  --accent-2: #a35bff;
  --accent-glow: rgba(128, 32, 255, 0.38);
  --accent-grad: linear-gradient(135deg, #a35bff 0%, #8020ff 55%, #3c03fa 100%);
  --grad: linear-gradient(100deg, #f17938 0%, #d709aa 40%, #8020ff 72%, #3c03fa 100%);
  --grad-tilt: linear-gradient(135deg, #f17938 0%, #d709aa 42%, #8020ff 74%, #3c03fa 100%);
}
.hero-eyebrow svg { color: #f17938; }
.btn-primary:hover { background: var(--grad); background-size: 160% 100%; background-position: 100% 50%; }
.card:hover .icon { background: var(--accent-grad); }

/* ---- Dropdown submenus (desktop hover / mobile inline) ---- */
.nav-links li { position: relative; }
.nav-links li.has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-links li.has-sub > a::after {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s;
}
.sub-menu {
  list-style: none;
  position: absolute; top: 100%; left: 0;
  min-width: 240px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 120;
}
.sub-menu li a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .92rem; }
.site-header:not(.nav-collapsed) .nav-links li.has-sub:hover > .sub-menu,
.site-header:not(.nav-collapsed) .nav-links li.has-sub:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.site-header:not(.nav-collapsed) .nav-links li.has-sub:hover > a::after { transform: rotate(225deg) translateY(-2px); }
.site-header.nav-collapsed .sub-menu {
  position: static; opacity: 1; visibility: visible; transform: none;
  box-shadow: none; border: none; background: transparent;
  padding: 0 0 4px 18px;
}
.site-header.nav-collapsed .nav-links li.has-sub > a::after { display: none; }

/* ---- Industries strip (5 sectors) ---- */
.ind-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 12px;
}
.ind-item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
  color: var(--muted);
  font-size: .88rem; font-weight: 600; line-height: 1.35;
  transition: color .25s, transform .25s;
}
.ind-item svg { width: 44px; height: 44px; color: var(--muted-2); transition: color .25s; }
.ind-item:hover { color: var(--text); transform: translateY(-3px); }
.ind-item:hover svg { color: var(--accent-2); }
@media (max-width: 1024px) { .ind-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .ind-strip { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; } }

/* ---- Accordions (services / job offers) ---- */
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); margin-bottom: 14px; overflow: hidden; }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px;
  font-weight: 700; font-size: 1.08rem;
  transition: background .2s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--bg-3); }
.acc summary .acc-num {
  flex: 0 0 auto; font-weight: 800; font-size: .9rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.acc summary .acc-plus { margin-left: auto; flex: 0 0 auto; position: relative; width: 18px; height: 18px; }
.acc summary .acc-plus::before, .acc summary .acc-plus::after {
  content: ""; position: absolute; background: var(--muted); border-radius: 2px;
  transition: transform .25s, background .25s;
}
.acc summary .acc-plus::before { left: 0; right: 0; top: 8px; height: 2px; }
.acc summary .acc-plus::after  { top: 0; bottom: 0; left: 8px; width: 2px; }
.acc[open] summary .acc-plus::after { transform: scaleY(0); }
.acc[open] summary { background: var(--bg-3); }
.acc .acc-body { padding: 4px 26px 26px; color: var(--muted); }
.acc .acc-body p { margin-bottom: 14px; }
.acc .acc-body h4 { color: var(--text); margin: 18px 0 10px; font-size: 1rem; }
.acc .acc-body ul { list-style: none; }
.acc .acc-body ul li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: .95rem; }
.acc .acc-body ul li::before { content: "→"; color: var(--accent-2); font-weight: 700; flex: 0 0 auto; }

/* ---- History timeline ---- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, #f17938, #d709aa, #8020ff, #3c03fa);
  opacity: .55;
}
.tl-item { position: relative; padding: 0 0 42px 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 3px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.tl-item .tl-year {
  font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 8px;
}
.tl-item p { color: var(--muted); max-width: 62ch; }
.tl-item .tl-photo { margin-top: 16px; max-width: 300px; }

/* ---- Realizacje cards ---- */
.real-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.real-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.real-card .real-scope { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.real-card .real-scope b, .real-card .real-result b { color: var(--text); display: block; margin-bottom: 4px; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.real-card .real-result { font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* ---- Sticky CTA (always visible) ---- */
.fab-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 24px; border-radius: 100px;
  background: var(--grad); background-size: 160% 100%;
  color: #fff; font-weight: 700; font-size: .97rem;
  box-shadow: 0 10px 34px rgba(128, 32, 255, .45);
  transition: background-position .5s, transform .2s, box-shadow .2s;
}
.fab-cta:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(128, 32, 255, .6); }
.fab-cta svg { width: 17px; height: 17px; }
@media (max-width: 720px) {
  .fab-cta { right: 14px; bottom: 14px; padding: 13px 18px; font-size: .9rem; }
}

/* ---- Culture (Misja/Wizja/Cel/Wartości) 4-up ---- */
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1024px) { .culture-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .culture-grid { grid-template-columns: 1fr; } }


/* ---- Kontakt page office photo ---- */
.office-photo img { height: 300px; object-fit: cover; object-position: center 30%; }

/* ============================================================
   v5 — TZ image-example refinements: vacancy columns + centered
   apply, side contact dock, realizacje icon tabs
   ============================================================ */

/* ---- Vacancy accordion: two-column body + centered apply ---- */
.acc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 36px; align-items: start; }
@media (max-width: 900px) { .acc-cols { grid-template-columns: 1fr; } }
.acc-apply { text-align: center; margin-top: 26px; }

/* ---- Side contact dock (always visible; hotline + email) ---- */
.side-dock {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; z-index: 890;
}
.dock-btn {
  position: relative;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  background: var(--grad-tilt);
  color: #fff;
}
.dock-btn:first-child { border-radius: 12px 0 0 0; }
.dock-btn:last-child { border-radius: 0 0 0 12px; }
.dock-btn + .dock-btn { border-top: 1px solid rgba(255, 255, 255, .28); }
.dock-btn svg { width: 22px; height: 22px; transition: transform .2s; }
.dock-btn:hover svg { transform: scale(1.12); }
.dock-btn .dock-tip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--bg-3); color: var(--text);
  border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 16px; font-size: .92rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dock-btn:hover .dock-tip, .dock-btn:focus-visible .dock-tip {
  opacity: 1; visibility: visible; transform: translateY(-50%);
}
@media (max-width: 1289px) { .side-dock { display: none; } }  /* below this the dock would overlap the 1180px container */

/* ---- Realizacje: icon tab strip + detail panel ---- */
.real-tabs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 10px;
  margin-bottom: 30px;
  border: none; padding: 0;
}
.real-tab {
  background: none; border: none; cursor: pointer; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
  color: var(--muted);
  font-size: .86rem; font-weight: 600; line-height: 1.35;
  padding: 6px 2px;
  transition: color .25s, transform .25s;
}
.real-tab svg { width: 40px; height: 40px; color: var(--muted-2); transition: color .25s; }
.real-tab:hover { color: var(--text); transform: translateY(-2px); }
.real-tab:hover svg { color: var(--accent-2); }
.real-tab.active { color: var(--text); }
.real-tab.active svg { color: var(--accent-2); }
.real-tab.active .real-tab-label {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 800;
}
.real-panel[hidden] { display: none; }
.real-panel { padding: 40px; }
.real-panel h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.5rem; }
@media (max-width: 1024px) { .real-tabs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .real-tabs { grid-template-columns: repeat(2, 1fr); } .real-panel { padding: 26px 20px; } }

/* ============================================================
   v6 — form backend UX, honeypot, FAB near footer, privacy page
   ============================================================ */
.hp-field {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px;
  opacity: 0; overflow: hidden;
}
.form-fail {
  display: none;
  align-items: center; gap: 10px; justify-content: center;
  background: rgba(224, 82, 82, 0.12);
  border: 1px solid rgba(224, 82, 82, 0.38);
  color: var(--text);
  border-radius: 10px; padding: 16px; margin-top: 16px;
  text-align: center;
}
.form-fail.show { display: flex; }
.form-fail a { color: var(--accent-2); text-decoration: underline; }
.fab-cta { transition: background-position .5s, transform .2s, box-shadow .2s, opacity .25s, visibility .25s; }
.fab-cta.fab-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); }
.footer-bottom a.privacy-link { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a.privacy-link:hover { color: var(--accent); }
.form-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.prose-page h2 { font-size: 1.15rem; margin: 34px 0 10px; }
.prose-page p, .prose-page li { color: var(--muted); font-size: .98rem; }
.prose-page ul { padding-left: 22px; margin: 10px 0; }
.prose-page a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.prose-page .updated { color: var(--muted-2); font-size: .85rem; margin-top: 40px; }

/* ============================================================
   v7 — Historia timeline: photo beside text (per spec example)
   ============================================================ */
.timeline { max-width: 960px; }
.tl-item.has-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 0 48px;
  align-items: start;
}
.tl-item.has-photo .tl-photo {
  grid-column: 2; grid-row: 1;
  margin: 6px 0 0;
  max-width: none;
}
.tl-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
}
@media (max-width: 860px) {
  .tl-item.has-photo { display: block; }
  .tl-item.has-photo .tl-photo { margin-top: 18px; max-width: 440px; }
}

/* ============================================================
   v8 — client feedback round 2: hero size, split symmetry,
   white contact dock, uncropped office photo, culture hover,
   realizacje bullet panels, 2-line why title, CV upload
   ============================================================ */

/* ---- Hero title a touch smaller (per feedback) ---- */
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }

/* ---- Two-audience cards: symmetric height, bottom-aligned CTA ---- */
.split { align-items: stretch; }
.split-card { display: flex; flex-direction: column; }
.split-card > .btn { margin-top: auto; align-self: flex-start; }

/* Align the → lists (and buttons) across both panels: equal-height rows via subgrid (desktop only) */
@media (min-width: 901px) {
  .split { grid-template-rows: auto auto auto auto auto; column-gap: 24px; row-gap: 0; }
  .split-card { display: grid; grid-template-rows: subgrid; grid-row: 1 / -1; align-items: start; }
  .split-card > .btn { margin-top: 0; justify-self: start; }
}

/* ---- Contact dock → white panel with brand-coloured icons ---- */
.dock-btn {
  background: #fff;
  color: var(--accent);
  box-shadow: -6px 0 24px rgba(0, 0, 0, .30);
}
.dock-btn + .dock-btn { border-top: 1px solid rgba(0, 0, 0, .10); }
.dock-btn:hover { background: var(--grad-tilt); color: #fff; }

/* ---- Kontakt: show the office photo uncropped (full frame) ---- */
.office-photo img { height: auto; object-fit: contain; object-position: center; }

/* ---- Culture cards: hover → purple wash + faint industrial photo ---- */
/* Hover highlight (gradient + welding photo overlay) — applied to Kultura firmy,
   Dla Przemysłu (Dlaczego) and Dla Specjalistów (Nasz standard) card grids */
.culture-grid .card,
#dlaczego .card,
#standard .card { position: relative; overflow: hidden; }
.culture-grid .card > *,
#dlaczego .card > *,
#standard .card > * { position: relative; z-index: 1; }
.culture-grid .card::after,
#dlaczego .card::after,
#standard .card::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(155deg, rgba(128, 32, 255, .90), rgba(60, 3, 250, .90)),
    url("assets/welding-2.jpg");
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .4s ease;
}
.culture-grid .card:hover::after,
#dlaczego .card:hover::after,
#standard .card:hover::after { opacity: 1; }
.culture-grid .card:hover h3,
.culture-grid .card:hover p,
#dlaczego .card:hover h3,
#dlaczego .card:hover p,
#standard .card:hover h3,
#standard .card:hover p { color: #fff; }
.culture-grid .card:hover .icon,
#dlaczego .card:hover .icon,
#standard .card:hover .icon {
  background: rgba(255, 255, 255, .18);
  box-shadow: none;
}

/* ---- Realizacje panels: bulleted Zakres / Bilans ---- */
.real-card .real-scope ul,
.real-card .real-result ul { list-style: none; margin-top: 8px; }
.real-card .real-scope li,
.real-card .real-result li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 5px 0; font-size: .95rem; color: var(--muted); line-height: 1.5;
}
.real-card .real-scope li::before,
.real-card .real-result li::before {
  content: "→"; color: var(--accent-2); font-weight: 700; flex: 0 0 auto;
}

/* ---- Dlaczego Wéldbeat: keep the heading to two lines ---- */
#dlaczego .section-head h2 { max-width: 22ch; text-wrap: balance; }
/* three equal why-cards regardless of viewport auto-fit rounding */
.grid.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.grid-3 { grid-template-columns: 1fr; } }
.grid.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .grid.grid-4 { grid-template-columns: 1fr; } }

/* ---- CV upload drop zone ---- */
.file-input { position: absolute; width: .1px; height: .1px; opacity: 0; overflow: hidden; z-index: -1; }
.file-drop {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 15px 18px; cursor: pointer;
  background: var(--bg); border: 1px dashed var(--line); border-radius: 9px;
  color: var(--muted); font-size: .92rem;
  transition: border-color .2s, color .2s, background .2s;
}
.file-drop:hover { border-color: var(--accent); color: var(--text); }
.file-drop svg { width: 22px; height: 22px; color: var(--accent-2); flex: 0 0 auto; }
.file-drop.has-file { border-style: solid; border-color: var(--accent); color: var(--text); }
.file-drop.has-file svg { color: var(--accent); }
.file-drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Footer social icons (Instagram / Facebook) ---- */
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px;
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.footer-social a:hover {
  color: #fff; border-color: transparent;
  background: var(--grad-tilt);
  transform: translateY(-2px);
}
.footer-social svg { width: 20px; height: 20px; }

/* ===== Cookiebot consent banner — themed to match Wéldbeat (dark/violet) ===== */
#CybotCookiebotDialog,
#CybotCookiebotDialogBody {
  background: var(--bg-2) !important;
  color: var(--text) !important;
  font-family: var(--font) !important;
  border-color: var(--line) !important;
}
#CybotCookiebotDialog {
  border-top: 1px solid var(--line) !important;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, .55) !important;
}
/* Dock as a full-width bottom banner — NOT a centered modal that covers the hero/CTA. */
#CybotCookiebotDialog {
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  border-radius: 0 !important;
  padding: 4px 20px 6px !important;
}
/* Hide the "Powered by Cookiebot" header — keeps the bar slim (~145px) so it
   doesn't cover the hero CTAs. Re-show if your Cookiebot tier requires it. */
#CybotCookiebotDialogHeader { display: none !important; }
/* Slim the bar and remove the inner scrollbar (Cookiebot sets overflow:auto
   + max-height:270px on the body content, which truncates the notice text). */
#CybotCookiebotDialog > div { gap: 0 !important; }
#CybotCookiebotDialogTabContent { min-height: 0 !important; }
#CybotCookiebotDialogTabContent,
#CybotCookiebotDialogBody,
#CybotCookiebotDialogBodyContent { overflow: visible !important; max-height: none !important; }
#CybotCookiebotDialogBody > div:first-child { padding: 0 !important; }
#CybotCookiebotDialogBodyContent { padding: 0 !important; }
#CybotCookiebotDialogBodyContentText { margin: 0 !important; }
#CybotCookiebotDialogFooter { padding: 0 !important; min-height: 0 !important; height: auto !important; }
#CybotCookiebotDialogBodyButtons,
#CybotCookiebotDialogBodyButtonsWrapper { margin: 0 !important; }
/* Keep Cookiebot's natural column layout so the notice text stays full-width
   and readable (forcing flex-row crushes the text column to ~90px). */
#CybotCookiebotDialogBodyContentTitle { font-size: 15px !important; margin: 0 0 4px !important; }
#CybotCookiebotDialogBodyContentText { font-size: 12px !important; line-height: 1.45 !important; }
/* The inline category-toggle table is too tall for a bottom bar — hide it
   (still reachable via "Show details" → the full settings panel). */
#CybotCookiebotDialogBodyLevelWrapper,
#CybotCookiebotDialogBodyEdgeMoreDetails { display: none !important; }
#CybotCookiebotDialogFooter { flex: 0 0 auto !important; padding: 0 !important; }
#CybotCookiebotDialogBodyButtons,
#CybotCookiebotDialogBodyButtonsWrapper {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  justify-content: flex-end !important;
}
#CybotCookiebotDialogBodyButtonDecline,
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
  width: auto !important;
  white-space: nowrap !important;
}
/* "Allow selection" is meaningless with the toggles hidden — hide it. */
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection { display: none !important; }
#CybotCookiebotDialogBodyContentTitle {
  color: var(--text) !important;
  font-family: var(--font) !important;
  font-weight: 700 !important;
}
#CybotCookiebotDialogBodyContentText {
  color: var(--muted) !important;
  font-family: var(--font) !important;
}
#CybotCookiebotDialogBodyContentText a,
.CybotCookiebotDialogBodyLink,
a#CybotCookiebotDialogBodyContentDetails {
  color: var(--accent-2) !important;
}
/* Buttons — secondary (decline / necessary / details) */
.CybotCookiebotDialogBodyButton,
a.CybotCookiebotDialogBodyButton {
  font-family: var(--font) !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
  border: 1px solid var(--line) !important;
  background: transparent !important;
  color: var(--text) !important;
  transition: background .2s, border-color .2s, color .2s !important;
}
.CybotCookiebotDialogBodyButton:hover {
  border-color: var(--accent-2) !important;
  color: #fff !important;
}
/* Primary "Allow all / Accept" — violet gradient, matches site CTAs */
.CybotCookiebotDialogBodyButtonAccept,
#CybotCookiebotDialogBodyLevelButtonAccept,
#CybotCookiebotDialogBodyButtonAccept,
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll,
.CybotCookiebotDialogBodyButton.CybotCookiebotDialogBodyButtonAccept {
  background: var(--accent-grad) !important;
  border: none !important;
  color: #fff !important;
}
.CybotCookiebotDialogBodyButtonAccept:hover,
#CybotCookiebotDialogBodyLevelButtonAccept:hover,
#CybotCookiebotDialogBodyButtonAccept:hover,
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll:hover {
  filter: brightness(1.1) !important;
  color: #fff !important;
}
/* Consent toggles / checkboxes */
.CybotCookiebotDialogBodyLevelButton:checked {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}
/* Details / settings panel */
#CybotCookiebotDialogDetailBody,
#CybotCookiebotDialogDetailBodyContent {
  background: var(--bg-3) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
@media (max-width: 720px) {
  #CybotCookiebotDialogBodyContentTitle { font-size: 15px !important; }
  #CybotCookiebotDialogBodyContentText { font-size: 12px !important; }
  .CybotCookiebotDialogBodyButton { padding: 9px 14px !important; font-size: 13px !important; }
  /* Stack the banner vertically on narrow screens: text above buttons. */
  #CybotCookiebotDialogTabContent,
  #CybotCookiebotDialogBody { flex-direction: column !important; align-items: stretch !important; }
  #CybotCookiebotDialogBodyButtons,
  #CybotCookiebotDialogBodyButtonsWrapper { justify-content: stretch !important; }
  #CybotCookiebotDialogBodyButtonDecline,
  #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll { width: 100% !important; }
}
