/* ═══════════════════════════════════════════════
   SPALVO — Web & Digital
   assets/css/main.css — premium editorial design system
═══════════════════════════════════════════════ */

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

:root {
  /* Kolory */
  --ivory: #F5F1EA;
  --ivory-alt: #FAF8F4;
  --ink: #101010;
  --ink-2: #242321;
  --muted: #706B64; /* WCAG AA: 4.69:1 na --ivory (oryginalne #77736D dawało 4.19:1) */
  --border: #DDD8D0;
  --accent: #FF3B18;
  --accent-ink: #101010; /* WCAG AA: biały na --accent daje tylko 3.57:1 — ink daje 5.34:1 */
  --white: #FFFFFF;

  /* Typografia */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  /* Odstępy / kontener */
  --page-gutter: clamp(20px, 5vw, 64px);
  --section-gap: clamp(64px, 10vw, 140px);
  --container-max: 1280px;

  /* Promienie / cienie */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 20px 60px -20px rgba(16,16,16,0.18);

  /* Ruch */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 320ms;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }

/* ─────────────────────────────────────────────
   ACCESSIBILITY
───────────────────────────────────────────── */
.spv-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 14px 20px;
  z-index: 10000;
  font-weight: 600;
}
.spv-skip-link:focus { left: 16px; top: 16px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────────
   LAYOUT HELPERS
───────────────────────────────────────────── */
.spv-section { padding: var(--section-gap) 0; }
.spv-section[id], .spv-hero[id] { scroll-margin-top: 96px; }
.spv-section__inner,
.spv-hero__inner,
.spv-header__inner,
.spv-footer__inner,
.spv-page__inner,
.spv-404__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.spv-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.spv-section__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.spv-section__title {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 20px;
}
.spv-section__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.spv-section__intro { font-size: 18px; color: var(--ink-2); max-width: 52ch; }

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.spv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.spv-btn--primary { background: var(--ink); color: var(--white); }
.spv-btn--primary:hover { background: var(--ink-2); }
.spv-btn--accent { background: var(--accent); color: var(--accent-ink); }
.spv-btn--accent:hover { background: #e5330f; }
.spv-btn--outline { background: transparent; color: var(--ink); border-color: var(--border); }
.spv-btn--outline:hover { border-color: var(--ink); }

/* ─────────────────────────────────────────────
   HEADER / NAV
───────────────────────────────────────────── */
.spv-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.spv-header.is-scrolled {
  background: rgba(245,241,234,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.spv-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.spv-header.is-scrolled .spv-header__inner { padding-top: 14px; padding-bottom: 14px; }

.spv-logo { display: inline-flex; align-items: baseline; flex-shrink: 0; }
.spv-logo__mark { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.spv-logo__a { position: relative; display: inline-block; }
.spv-logo__a::after {
  content: '';
  position: absolute;
  top: -7px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid var(--accent);
}
.spv-logo__dot { color: var(--accent); font-size: 21px; font-weight: 800; }
.spv-logo--footer .spv-logo__mark,
.spv-logo--footer .spv-logo__dot { font-size: 24px; }

.spv-nav { display: none; }
.spv-nav__links { display: flex; gap: 36px; }
.spv-nav__links a { font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color var(--dur) var(--ease); }
.spv-nav__links a:hover { color: var(--accent); }

.spv-header__cta { display: none; }

.spv-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
}
.spv-menu-toggle__close { display: none; }
.spv-menu-toggle.is-open .spv-menu-toggle__open { display: none; }
.spv-menu-toggle.is-open .spv-menu-toggle__close { display: block; }

@media (min-width: 1025px) {
  .spv-nav { display: block; }
  .spv-header__cta { display: inline-flex; }
  .spv-menu-toggle { display: none; }
}

/* Mobile drawer */
.spv-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  background: var(--ivory-alt);
  z-index: 9998;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  overflow-y: auto;
}
.spv-drawer.is-open { transform: translateX(0); }
.spv-drawer__links { flex: 1; }
.spv-drawer__links li { border-bottom: 1px solid var(--border); }
.spv-drawer__links a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-style: italic;
}
.spv-drawer__cta { margin-top: 28px; align-self: flex-start; }
.spv-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(16,16,16,0.45);
  z-index: 9997;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.spv-drawer-overlay.is-open { opacity: 1; visibility: visible; }
@media (min-width: 1025px) { .spv-drawer, .spv-drawer-overlay { display: none; } }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.spv-hero { padding: clamp(120px, 18vw, 190px) 0 clamp(60px, 8vw, 100px); }
.spv-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .spv-hero__inner { grid-template-columns: 0.85fr 1fr; gap: 40px; }
}

.spv-hero__title {
  font-size: clamp(38px, 6.4vw, 68px);
  margin-bottom: 24px;
}
.spv-hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.spv-hero__subtitle { font-size: 18px; color: var(--ink-2); max-width: 46ch; margin-bottom: 32px; }
.spv-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.spv-hero__micro { font-size: 14px; color: var(--muted); }
.spv-hero__micro strong { color: var(--ink); }

.spv-hero__visual { position: relative; }
.spv-mock { width: 100%; height: auto; overflow: visible; }
.spv-mock-shadow { fill: rgba(16,16,16,0.10); }
.spv-mock-bezel { fill: var(--ink); }
.spv-mock-screen { fill: var(--white); }
.spv-mock-base { fill: var(--ink-2); }
.spv-mock-bar { fill: var(--ink); opacity: 0.85; }
.spv-mock-bar--dark { fill: var(--ink); }
.spv-mock-bar--faint { fill: var(--border); }
.spv-mock-pill { fill: var(--border); }
.spv-mock-pill--accent { fill: var(--accent); }
.spv-mock-photo { fill: #E9C9BE; }
.spv-mock-card { fill: var(--ivory-alt); stroke: var(--border); stroke-width: 1; }
.spv-mock-dot--accent { fill: var(--accent); }
.spv-mock-dot--dark { fill: var(--ink); }
.spv-mock-dot--muted { fill: var(--muted); }
.spv-mock-dot--border { fill: var(--border); }
.spv-mock-corner-path { stroke: var(--muted); stroke-width: 1.5; fill: none; stroke-dasharray: 4 4; }
.spv-mock-type-sample { font-family: var(--font-serif); font-style: italic; font-size: 34px; fill: var(--ink); }
.spv-mock-chip--swatches { transform: rotate(-4deg); transform-origin: 95px 74px; }
.spv-mock-chip--type { transform: rotate(3deg); transform-origin: 81px 371px; }

@media (prefers-reduced-motion: no-preference) {
  .spv-mock-chip--swatches, .spv-mock-chip--type, .spv-mock-phone { animation: spv-float 6s ease-in-out infinite; }
  .spv-mock-chip--type { animation-delay: -2s; }
  .spv-mock-phone { animation-delay: -4s; animation-duration: 7s; }
}
@keyframes spv-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--r, 0deg)); }
}

/* ─────────────────────────────────────────────
   TRUST STRIP
───────────────────────────────────────────── */
.spv-trust-strip { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.spv-trust-strip__list {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: center;
}
.spv-trust-strip__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.spv-trust-strip__icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ─────────────────────────────────────────────
   ICONS
───────────────────────────────────────────── */
.spv-icon { width: 26px; height: 26px; }

/* ─────────────────────────────────────────────
   SERVICES ("Więcej niż strona")
───────────────────────────────────────────── */
.spv-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 640px) { .spv-services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .spv-services__grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

.spv-services__icon { color: var(--accent); margin-bottom: 20px; }
.spv-services__item h3 { font-size: 18px; margin-bottom: 10px; }
.spv-services__item p { color: var(--muted); font-size: 15px; }

/* ─────────────────────────────────────────────
   PRICING
───────────────────────────────────────────── */
.spv-pricing { background: var(--ivory-alt); }
.spv-pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 900px) { .spv-pricing__grid { grid-template-columns: repeat(3, 1fr); } }

.spv-pricing__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.spv-pricing__card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 900px) { .spv-pricing__card--featured { transform: translateY(-16px); } }

.spv-pricing__badge {
  position: absolute;
  top: -14px; left: 32px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.spv-pricing__name { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.spv-pricing__price { font-family: var(--font-serif); font-size: 40px; margin-bottom: 6px; }
.spv-pricing__price strong { font-style: italic; color: var(--accent); font-weight: 400; }
.spv-pricing__format { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.spv-pricing__desc { font-size: 15px; color: var(--ink-2); margin-bottom: 24px; }
.spv-pricing__features { margin-bottom: 32px; flex: 1; }
.spv-pricing__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.spv-pricing__features li:last-child { border-bottom: none; }
.spv-pricing__check { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.spv-pricing__cta { width: 100%; }

/* ─────────────────────────────────────────────
   PORTFOLIO
───────────────────────────────────────────── */
.spv-portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) { .spv-portfolio__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .spv-portfolio__grid { grid-template-columns: repeat(3, 1fr); } }

.spv-portfolio__card { position: relative; }
.spv-portfolio__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--ivory-alt);
}
.spv-portfolio__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.spv-portfolio__card:hover .spv-portfolio__media img { transform: scale(1.04); }

.spv-portfolio__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, var(--border) 0 2px, transparent 2px 14px), var(--ivory-alt);
}
.spv-portfolio__placeholder-label {
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--muted); background: var(--white);
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
}
.spv-portfolio__tag {
  position: absolute; top: 14px; right: 14px;
  background: var(--ink); color: var(--white);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  padding: 5px 11px; border-radius: 999px;
}
.spv-portfolio__category { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.spv-portfolio__title { font-size: 19px; margin-bottom: 8px; }
.spv-portfolio__desc { font-size: 14.5px; color: var(--muted); }

/* ─────────────────────────────────────────────
   PROCESS
───────────────────────────────────────────── */
.spv-process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 640px) { .spv-process__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .spv-process__grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.spv-process__num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 56px;
  color: var(--border);
  margin-bottom: 16px;
  line-height: 1;
}
.spv-process__item h3 { font-size: 18px; margin-bottom: 10px; }
.spv-process__item p { color: var(--muted); font-size: 15px; }

/* ─────────────────────────────────────────────
   WHY US
───────────────────────────────────────────── */
.spv-why-us { background: var(--ink); color: var(--ivory); }
.spv-why-us .spv-section__intro { color: rgba(245,241,234,0.7); }
.spv-why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 640px) { .spv-why-us__grid { grid-template-columns: 1fr 1fr; } }
.spv-why-us__num { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--accent); display: block; margin-bottom: 12px; }
.spv-why-us__item { border-top: 1px solid rgba(245,241,234,0.15); padding-top: 24px; }
.spv-why-us__item h3 { font-size: 19px; margin-bottom: 10px; }
.spv-why-us__item p { color: rgba(245,241,234,0.65); font-size: 15px; }

/* ─────────────────────────────────────────────
   AUDIT CTA
───────────────────────────────────────────── */
.spv-audit__inner { max-width: 720px; text-align: center; }
.spv-audit .spv-section__head,
.spv-audit__text { margin: 0 auto; }
.spv-audit .spv-section__intro { margin: 0 auto 20px; }
.spv-audit__desc { color: var(--muted); font-size: 15px; margin-bottom: 32px; max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.spv-contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) { .spv-contact__inner { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }

.spv-contact__details { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.spv-contact__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.spv-contact__value { font-size: 18px; font-weight: 600; transition: color var(--dur) var(--ease); }
.spv-contact__value:hover { color: var(--accent); }

.spv-contact__form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.spv-contact__topic-note { background: var(--ivory-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 16px; font-size: 14px; margin-bottom: 20px; }

.spv-field-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media (min-width: 560px) { .spv-field-row { grid-template-columns: 1fr 1fr; } }
.spv-field { margin-bottom: 20px; }
.spv-field-row .spv-field { margin-bottom: 0; }
.spv-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.spv-field__optional { font-weight: 400; color: var(--muted); }
.spv-field input[type="text"],
.spv-field input[type="email"],
.spv-field input[type="tel"],
.spv-field input[type="url"],
.spv-field select,
.spv-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--ivory-alt);
  font-size: 15px;
  transition: border-color var(--dur) var(--ease);
}
.spv-field input:focus, .spv-field select:focus, .spv-field textarea:focus { border-color: var(--accent); }
.spv-field textarea { resize: vertical; min-height: 100px; }

.spv-field--radio legend { font-size: 13px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.spv-radio-group { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.spv-radio-group label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; margin-bottom: 0; }
.spv-radio-group input { accent-color: var(--accent); width: 16px; height: 16px; }

.spv-field--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.spv-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 24px; cursor: pointer; }
.spv-checkbox input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.spv-checkbox a { text-decoration: underline; }

.spv-contact__submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.spv-contact__note { font-size: 12.5px; color: var(--muted); }
.spv-contact__status { margin-top: 16px; font-size: 14px; font-weight: 600; }
.spv-contact__status.is-success { color: #2D7A4F; }
.spv-contact__status.is-error { color: var(--accent); }

.spv-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.spv-btn--sm { padding: 10px 18px; font-size: 13px; }

/* ─────────────────────────────────────────────
   CONSENT BANNER (tylko gdy GA4 skonfigurowane)
───────────────────────────────────────────── */
.spv-consent {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  z-index: 9500;
  box-shadow: var(--shadow-soft);
}
.spv-consent p { font-size: 13.5px; margin-bottom: 14px; color: rgba(245,241,234,0.85); }
.spv-consent__actions { display: flex; gap: 10px; justify-content: flex-end; }
.spv-consent .spv-btn--outline { color: var(--ivory); border-color: rgba(245,241,234,0.3); }
.spv-consent .spv-btn--outline:hover { border-color: var(--ivory); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.spv-footer { background: var(--ink); color: var(--ivory); padding: 64px 0 32px; }
.spv-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245,241,234,0.15);
  margin-bottom: 24px;
}
@media (min-width: 720px) { .spv-footer__inner { grid-template-columns: 1.2fr 1fr 1fr; } }
.spv-footer__inner { max-width: var(--container-max); margin-left: auto; margin-right: auto; padding-left: var(--page-gutter); padding-right: var(--page-gutter); }

.spv-footer .spv-logo__a::after { border-bottom-color: var(--accent); }
.spv-footer__tagline { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); margin-top: 14px; }
.spv-footer__desc { font-size: 14px; color: rgba(245,241,234,0.6); margin-top: 6px; }

.spv-footer__nav ul { display: flex; flex-direction: column; gap: 12px; }
.spv-footer__nav a { font-size: 14px; color: rgba(245,241,234,0.8); transition: color var(--dur) var(--ease); }
.spv-footer__nav a:hover { color: var(--accent); }

.spv-footer__meta { font-size: 13px; color: rgba(245,241,234,0.6); }
.spv-footer__meta p { margin-bottom: 6px; }

/* ─────────────────────────────────────────────
   BREADCRUMBS
───────────────────────────────────────────── */
.spv-breadcrumbs { margin: 140px 0 24px; }
.spv-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.spv-breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--border); }
.spv-breadcrumbs a { color: var(--ink-2); }
.spv-breadcrumbs a:hover { color: var(--accent); }

/* ─────────────────────────────────────────────
   GENERIC PAGE / 404
───────────────────────────────────────────── */
.spv-page__inner { max-width: 760px; padding-top: 40px; padding-bottom: 100px; }
.spv-page__title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 32px; }
.spv-page__content { font-size: 16px; color: var(--ink-2); }
.spv-page__content h2 { font-size: 22px; margin: 36px 0 14px; }
.spv-page__content p { margin-bottom: 16px; }
.spv-single-realizacja__tag { display: inline-block; margin-bottom: 16px; position: static; }
.spv-single-realizacja__media { border-radius: var(--radius-lg); overflow: hidden; margin: 24px 0 32px; }
.spv-single-realizacja__back { margin-top: 32px; font-weight: 600; }
.spv-single-realizacja__back a:hover { color: var(--accent); }

.spv-404 { min-height: 80vh; display: flex; align-items: center; }
.spv-404__inner { text-align: center; padding-top: 100px; padding-bottom: 100px; }
.spv-404 .spv-section__intro { margin: 0 auto 32px; }
.spv-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────────── */
.spv-reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.spv-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .spv-reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — mniejsze ekrany
───────────────────────────────────────────── */
@media (max-width: 480px) {
  .spv-hero__title { font-size: clamp(32px, 9vw, 44px); }
  .spv-hero__actions { flex-direction: column; align-items: stretch; }
  .spv-hero__actions .spv-btn { width: 100%; }
  .spv-breadcrumbs { margin-top: 110px; }
}
