/* DESIGN.md — Komponenty landing page SpeakMail */

/* ===== Nagłówek (sticky, 64 px) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 var(--space-16);
  gap: var(--space-16);
}

.site-logo {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-logo:hover {
  color: var(--brand);
}

.nav-desktop {
  display: none;
  gap: var(--space-24);
  align-items: center;
}

.nav-desktop a {
  font-size: var(--text-small);
  text-decoration: none;
  color: var(--text-muted);
  padding-block: var(--space-8);
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--text-small);
  color: var(--text-muted);
}

.lang-switch summary {
  list-style: none;
  cursor: pointer;
}

.lang-switch details[open] > summary {
  font-weight: 600;
  color: var(--text);
}

.lang-switch-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.lang-switch-list a {
  display: block;
  padding: var(--space-8) var(--space-16);
  text-decoration: none;
  color: var(--text-muted);
}

.lang-switch-list a:hover {
  color: var(--text);
}

.lang-switch-list a[aria-current="page"],
.lang-switch-list a.active {
  color: var(--text);
  font-weight: 600;
}

.login-btn {
  font-size: var(--text-small);
  color: var(--text);
  text-decoration: none;
  padding: var(--space-12) var(--space-20);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.login-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.menu-button {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-12);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  color: var(--text);
  font-size: var(--text-small);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.menu-button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.menu-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-16);
  padding: var(--space-24) var(--space-16);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-menu a {
  display: block;
  padding: var(--space-12) 0;
  font-size: var(--text-body);
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 40%, transparent);
}

.mobile-menu a:hover {
  color: var(--brand);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .menu-button {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  padding-block: var(--space-64) var(--space-32);
  text-align: center;
}

.hero-inner {
  max-width: 65ch;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  line-height: var(--line-h1);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-24);
}

.hero p {
  font-size: var(--text-body);
  line-height: var(--line-body);
  color: var(--text-muted);
  margin-bottom: var(--space-32);
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
}

@media (min-width: 768px) {
  .hero-form {
    flex-direction: row;
    align-items: stretch;
    max-width: 48rem;
    margin: 0 auto var(--space-32);
  }

  .hero-form .field {
    flex: 1;
  }
}

.hero-audio {
  margin-bottom: var(--space-32);
}

.hero-trust {
  font-size: var(--text-small);
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .hero {
    text-align: left;
    padding-block: var(--space-96) var(--space-64);
  }

  .hero-inner {
    display: flex;
    align-items: center;
    gap: var(--space-48);
    text-align: left;
  }

  .hero h1,
  .hero p,
  .hero-form,
  .hero-trust {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-form {
    margin-bottom: 0;
  }

  .hero-audio {
    margin-bottom: 0;
    max-width: 28rem;
  }

  .hero-trust {
    margin-top: var(--space-24);
  }
}

/* ===== Formularz e-mail ===== */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: relative;
}

.form-field label {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text);
}

.form-field input[type="email"] {
  font: inherit;
  font-size: max(1rem, 1em);
  padding: var(--space-14) var(--space-16);
  min-height: 52px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  color: var(--text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field input[type="email"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%);
}

.form-field input[type="email"]:user-invalid {
  border-color: var(--danger);
}

.form-field input[type="email"]::placeholder {
  color: color-mix(in srgb, var(--text-muted) 60%);
}

/* Widget Turnstile w formularzu rejestracji */
.turnstile-field {
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.turnstile-field #signup-turnstile {
  min-height: 65px;
}

.form-hint {
  font-size: var(--text-small);
  color: var(--text-muted);
}

.form-error {
  font-size: var(--text-small);
  color: var(--danger);
  display: none;
}

.form-field.error .form-error {
  display: block;
}

.form-field.error input[type="email"] {
  border-color: var(--danger);
}

.form-success {
  display: none;
  padding: var(--space-24);
  background: color-mix(in srgb, var(--success) 10%);
  border: 1px solid color-mix(in srgb, var(--success) 30%);
  border-radius: var(--radius-card);
  color: var(--text);
  text-align: center;
}

.form-success.show {
  display: block;
  animation: fadeIn var(--transition-base);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-actions {
  margin-top: var(--space-16);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  padding: 0 var(--space-24);
  background: var(--brand);
  color: var(--on-brand);
  border: none;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: var(--text-button);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover:not(:disabled) {
  background: var(--brand-hover);
}

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

.btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-primary.loading {
  position: relative;
  color: transparent !important;
}

.btn-primary.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid color-mix(in srgb, var(--on-brand) 30%);
  border-top-color: var(--on-brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 var(--space-24);
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: var(--text-button);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--brand);
  color: var(--on-brand);
}

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

.btn-resend {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--text-small);
  color: var(--brand);
  text-decoration: none;
  margin-top: var(--space-16);
}

.btn-resend:hover {
  text-decoration: underline;
}

/* ===== Pasek zaufania ===== */
.trust-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  padding-block: var(--space-64);
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  align-items: center;
}

.trust-item {
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: var(--space-8);
}

.trust-item span {
  font-size: var(--text-small);
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .trust-items {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===== Sekcja problem ===== */
.problem {
  padding-block: var(--space-64);
  text-align: center;
}

.problem p {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 65ch;
  margin: 0 auto;
}

/* ===== Kroki "Jak to działa" ===== */
.steps {
  padding-block: var(--space-64);
  background: var(--surface-2);
}

.steps h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: var(--line-h2);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-48);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  align-items: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
  text-align: center;
  max-width: 28ch;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step h3 {
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: var(--space-12);
}

.step p {
  font-size: var(--text-small);
  color: var(--text-muted);
}

.step-line {
  width: 2px;
  height: 64px;
  background: var(--border);
  align-self: center;
}

@media (min-width: 768px) {
  .steps-list {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-48);
  }

  .step-line {
    width: 64px;
    height: 2px;
  }

  .step {
    text-align: center;
  }
}

/* ===== Demo audio ===== */
.demo-audio {
  padding-block: var(--space-64);
}

.demo-audio h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: var(--line-h2);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-16);
}

.demo-audio p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: var(--space-48);
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.audio-samples {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.audio-sample {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-24);
}

.audio-sample h3 {
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: var(--space-16);
}

.custom-audio-player {
  width: 100%;
}

.audio-player {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.btn-play {
  width: 56px;
  height: 56px;
  background: var(--brand);
  color: var(--on-brand);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.btn-play:hover {
  background: var(--brand-hover);
}

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

.btn-play.playing {
  background: var(--success);
}

.audio-progress {
  flex: 1;
  height: 6px;
  background: color-mix(in srgb, var(--border) 60%);
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
}

.audio-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--brand);
  border-radius: 9999px;
  width: 0%;
  transition: width 0.1s linear;
}

.audio-time {
  font-size: var(--text-small);
  color: var(--text-muted);
  min-width: 48px;
  text-align: right;
}

.audio-speed {
  font-size: var(--text-small);
  color: var(--text-muted);
}

.audio-speed-label {
  margin-right: var(--space-8);
}

.audio-speed select {
  font: inherit;
  font-size: var(--text-small);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  padding: var(--space-8) var(--space-12);
  color: var(--text);
}

.audio-download {
  font-size: var(--text-small);
  color: var(--brand);
  text-decoration: none;
  margin-top: var(--space-12);
  display: inline-block;
}

.audio-download:hover {
  text-decoration: underline;
}

.transcription {
  margin-top: var(--space-24);
  border-top: 1px solid var(--border);
  padding-top: var(--space-16);
}

.transcription summary {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  list-style: none;
}

.transcription details[open] summary {
  margin-bottom: var(--space-12);
}

.transcription p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Korzyści ===== */
.benefits {
  padding-block: var(--space-64);
}

.benefits h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: var(--line-h2);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-48);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-32);
  text-align: center;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-16);
  color: var(--brand);
}

.benefit-card h3 {
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: var(--space-12);
}

.benefit-card p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefit-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Persony / Zastosowania ===== */
.use-cases {
  padding-block: var(--space-64);
  background: var(--surface-2);
}

.use-cases h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: var(--line-h2);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-48);
}

.use-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
}

.use-case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-32);
}

.use-case-card h3 {
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: var(--space-12);
}

.use-case-card p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.6;
}

.use-case-card .example {
  margin-top: var(--space-16);
  padding: var(--space-16);
  background: var(--bg);
  border-radius: var(--radius-field);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (min-width: 768px) {
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .use-case-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Cennik ===== */
.pricing {
  padding-block: var(--space-64);
}

.pricing h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: var(--line-h2);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-48);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-40) var(--space-32);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card.featured {
  border: 2px solid var(--brand);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: var(--space-4) var(--space-12);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-name {
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: var(--space-16);
}

.plan-price {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-8);
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-period {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: var(--space-24);
}

.plan-features {
  list-style: none;
  margin-bottom: var(--space-32);
  flex: 1;
}

.plan-features li {
  font-size: var(--text-small);
  color: var(--text);
  margin-bottom: var(--space-12);
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.plan-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-btn {
  width: 100%;
}

.plan-soon {
  font-size: var(--text-small);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-16);
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .plan-card {
    padding: var(--space-64) var(--space-40);
  }
}

/* ===== Prywatność ===== */
.privacy {
  padding-block: var(--space-64);
  background: var(--surface-2);
}

.privacy h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: var(--line-h2);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-32);
}

.privacy p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 65ch;
  margin: 0 auto var(--space-24);
}

/* ===== FAQ ===== */
.faq {
  padding-block: var(--space-64);
}

.faq h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: var(--line-h2);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-48);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  max-width: 65ch;
  margin: 0 auto;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  overflow: hidden;
}

.faq summary {
  padding: var(--space-16) var(--space-20);
  font-size: var(--text-body);
  font-weight: 500;
  color: var(--text);
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.faq summary:hover {
  background: var(--surface-2);
}

.faq summary::marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 16px;
  height: 16px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3E%3C/svg%3E") no-repeat center;
  background: currentColor;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  rotate: 180deg;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.faq p {
  padding: var(--space-16) var(--space-20);
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Końcowe CTA ===== */
.cta-final {
  padding-block: var(--space-64);
  text-align: center;
}

.cta-final h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: var(--line-h2);
  font-weight: 700;
  margin-bottom: var(--space-16);
}

.cta-final p {
  font-size: var(--text-body);
  color: var(--text-muted);
  margin-bottom: var(--space-32);
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Stopka ===== */
footer {
  padding-block: var(--space-64) var(--space-32);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  margin-bottom: var(--space-16);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer-links a {
  font-size: var(--text-small);
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-contact {
  font-size: var(--text-small);
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ===== Sticky CTA mobile ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-16);
  box-shadow: var(--shadow-card);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
}

.sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta .btn-primary {
  width: 100%;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ===== Baner cookies ===== */
.cookie-banner {
  position: fixed;
  bottom: var(--space-24);
  left: var(--space-24);
  right: var(--space-24);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-24);
  box-shadow: var(--shadow-card);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  display: none;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: var(--space-20);
}

.cookie-actions {
  display: flex;
  gap: var(--space-12);
}

.cookie-btn {
  flex: 1;
  height: 48px;
  padding: 0 var(--space-24);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: var(--text-button);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cookie-btn.primary {
  background: var(--brand);
  color: var(--on-brand);
  border: none;
}

.cookie-btn.primary:hover {
  background: var(--brand-hover);
}

.cookie-btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.cookie-btn.secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

@media (min-width: 768px) {
  .cookie-banner {
    bottom: var(--space-32);
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(100%);
    max-width: 480px;
  }
  .cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
  }
}

/* ==== Utility ==== */
.text-center { text-align: center; }
.hidden { display: none !important; }
.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;
}