/* ============================================================
   landing.css - RAZEM Klub Strzelecki
   ============================================================ */

:root {
  --bg: #0f0f0f;
  --bg-soft: #151515;
  --bg-panel: rgba(255, 255, 255, 0.04);
  --bg-panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 140, 0, 0.35);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --muted-soft: rgba(255, 255, 255, 0.42);
  --orange: #ff8c00;
  --orange-strong: #ff4400;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --glow: 0 16px 44px rgba(255, 68, 0, 0.28);
  --header-h: 78px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, #0f0f0f 0%, #151515 48%, #1f1712 100%);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 68, 0, 0.08) 34%, transparent 66%),
    linear-gradient(245deg, transparent 0%, rgba(255, 140, 0, 0.06) 38%, transparent 72%);
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
}

img {
  max-width: 100%;
}

.background-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 140, 0, 0.035), transparent 38%, rgba(255, 68, 0, 0.03));
  background-size: 44px 44px, 44px 44px, 100% 100%;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.45));
}

.landing-section {
  position: relative;
  padding: clamp(74px, 7vw, 118px) 20px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section-inner {
  width: min(var(--max), calc(100vw - 40px));
  margin: 0 auto;
}

.landing-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease,
    border-radius 0.28s ease;
}

.landing-header-inner {
  width: min(1280px, calc(100vw - 32px));
  min-height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.landing-logo-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-strong), var(--orange));
  box-shadow: 0 10px 26px rgba(255, 68, 0, 0.32);
}

.landing-logo-img {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
}

.landing-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.landing-brand-name {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-brand-sub {
  margin-top: 4px;
  color: var(--muted-soft);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.5vw, 20px);
}

.nav-link {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.landing-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  cursor: pointer;
}

.landing-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: #fff;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.landing-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.landing-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.landing-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-strong), var(--orange));
  box-shadow: var(--glow);
}

.btn-primary:hover {
  box-shadow: 0 20px 54px rgba(255, 68, 0, 0.42);
}

.btn-secondary,
.btn-ghost {
  color: #ffb15c;
  background: rgba(255, 140, 0, 0.06);
  border: 1px solid rgba(255, 140, 0, 0.45);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 140, 0, 0.12);
  border-color: rgba(255, 140, 0, 0.78);
}

.btn-large {
  min-height: 52px;
  padding-inline: 24px;
  border-radius: 16px;
}

.hero-section {
  padding-top: clamp(74px, 8vw, 128px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: #fff;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(2.55rem, 7vw, 5.4rem);
  line-height: 0.96;
}

.hero-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.section-kicker {
  display: inline-flex;
  margin: 0 0 14px;
  color: #ffb15c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.process-card,
.permit-card,
.cost-highlight,
.cost-card,
.feature-card,
.panel-mockup,
.training-card,
.landing-faq-item,
.club-card,
.final-cta,
.step-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.026));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.process-card {
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
}

.process-card::before,
.permit-card-featured::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 68, 0, 0.82), rgba(255, 140, 0, 0.18), rgba(255,255,255,0.08));
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.process-card-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
}

.process-chip,
.card-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 140, 0, 0.35);
  background: rgba(255, 140, 0, 0.12);
  color: #ffc17a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card-badge-muted {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.66);
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.process-list span {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 140, 0, 0.14);
  color: var(--orange);
  font-weight: 900;
}

.trust-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(15, 15, 15, 0.72);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 46px);
  text-align: center;
}

.section-heading-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
}

.section-heading p:not(.section-kicker),
.final-cta p:not(.section-kicker),
.section-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  min-height: 220px;
  padding: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.step-card:hover,
.permit-card:hover,
.cost-card:hover,
.feature-card:hover,
.training-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.032));
}

.step-card-wide {
  grid-column: span 2;
}

.step-number {
  color: rgba(255, 140, 0, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
}

.step-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 140, 0, 0.12);
  color: var(--orange);
}

.step-card h3,
.permit-card h3,
.cost-card h3,
.cost-highlight h3,
.feature-card h3,
.training-card h3,
.club-card h3 {
  margin: 48px 0 0;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.28;
}

.permit-card h3,
.cost-highlight h3,
.cost-card h3,
.feature-card h3,
.training-card h3,
.club-card h3 {
  margin-top: 16px;
}

.step-card p,
.permit-card li,
.cost-card p,
.cost-highlight p,
.feature-card p,
.club-card dd {
  color: var(--muted);
  line-height: 1.6;
}

.permit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.permit-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.permit-card ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.permit-card li {
  position: relative;
  padding-left: 20px;
}

.permit-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.5);
}

.permit-card .btn {
  margin-top: auto;
}

.section-note {
  text-align: center;
}

.cost-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: stretch;
}

.cost-highlight {
  padding: clamp(24px, 4vw, 36px);
}

.cost-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cost-card,
.feature-card {
  padding: 22px;
}

.cost-card strong {
  color: #fff;
}

.documents-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
}

.section-cta {
  margin-top: 24px;
}

.panel-mockup {
  padding: 22px;
  overflow: hidden;
}

.mockup-top {
  display: flex;
  gap: 7px;
}

.mockup-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.mockup-title {
  margin: 26px 0 18px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
}

.mockup-row,
.mockup-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.mockup-row span {
  color: rgba(255, 255, 255, 0.72);
}

.mockup-row strong {
  color: var(--orange);
}

.mockup-status {
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(255, 68, 0, 0.24), rgba(255, 140, 0, 0.12));
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.training-card {
  min-height: 170px;
  padding: 20px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.landing-faq-list {
  display: grid;
  gap: 12px;
}

.landing-faq-item {
  overflow: hidden;
  box-shadow: none;
}

.landing-faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.faq-arrow {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 140, 0, 0.12);
  color: var(--orange);
  transition: transform 0.22s ease;
}

.landing-faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

.landing-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s ease;
}

.landing-faq-answer[hidden] {
  display: none;
}

.landing-faq-answer p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.values-grid span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.76);
  font-weight: 800;
}

.club-card {
  padding: 24px;
}

.club-card dl {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.club-card dl div {
  display: grid;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.club-card dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.club-card dt {
  color: rgba(255,255,255,0.42);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.club-card dd {
  margin: 0;
}

.final-cta-section {
  padding-bottom: clamp(84px, 8vw, 130px);
}

.final-cta {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 58px);
  text-align: center;
  overflow: hidden;
}

.final-cta .hero-actions {
  justify-content: center;
}

@media (max-width: 1120px) {
  .landing-header-inner {
    width: min(100%, calc(100vw - 24px));
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .landing-nav {
    gap: 12px;
  }

  .steps-grid,
  .training-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .landing-menu-btn {
    display: block;
    margin-left: auto;
  }

  .landing-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-h) + 10px);
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(18, 18, 18, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .landing-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    display: flex;
    min-height: 46px;
    align-items: center;
    border-radius: 14px;
    padding: 0 12px;
    background: rgba(255,255,255,0.035);
    font-size: 0.96rem;
  }

  .landing-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 8px 0 0;
  }

  .hero-grid,
  .documents-grid,
  .about-grid,
  .faq-layout,
  .cost-layout {
    grid-template-columns: 1fr;
  }

  .permit-grid {
    grid-template-columns: 1fr;
  }

  .permit-card {
    min-height: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .landing-section {
    padding: 62px 16px;
  }

  .section-inner {
    width: min(100%, calc(100vw - 32px));
  }

  .landing-header-inner {
    min-height: var(--header-h);
  }

  .landing-logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .landing-logo-img {
    height: 30px;
  }

  .landing-brand-name {
    font-size: 1rem;
  }

  .landing-brand-sub {
    font-size: 0.56rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .hero-actions,
  .landing-nav-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn,
  .btn-large {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .steps-grid,
  .training-grid,
  .cost-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .step-card-wide {
    grid-column: auto;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .process-card,
  .permit-card,
  .cost-highlight,
  .cost-card,
  .feature-card,
  .panel-mockup,
  .training-card,
  .club-card,
  .final-cta,
  .step-card {
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .landing-logo-text {
    display: none;
  }

  .landing-header-inner {
    width: min(100%, calc(100vw - 20px));
  }

  .landing-nav {
    left: 10px;
    right: 10px;
  }

  .mockup-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared page chrome polish */
:root {
  --landing-scroll-thumb: rgba(184, 112, 45, 0.78);
  --landing-scroll-thumb-hover: rgba(219, 134, 54, 0.96);
  --landing-scroll-track: rgba(12, 12, 12, 0.9);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--landing-scroll-thumb) var(--landing-scroll-track);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: var(--landing-scroll-track);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--landing-scroll-thumb);
  border: 2px solid var(--landing-scroll-track);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: var(--landing-scroll-thumb-hover);
}

.cookie-float-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2300;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 140, 0, 0.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(18, 18, 18, 0.9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cookie-float-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 140, 0, 0.78);
  background: rgba(255, 140, 0, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.46);
}

.cookie-float-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 82px;
  bottom: 18px;
  z-index: 2290;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  max-width: 980px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: 16px;
  background: rgba(18, 18, 18, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: cookie-slide-up 0.28s ease-out;
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.5;
}

.cookie-link {
  padding: 0;
  color: #ff8c00;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-actions,
.cookie-modal-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn,
.cookie-modal-btns button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cookie-btn-primary,
#landingCookieSave {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #ff4400, #ff8c00);
}

.cookie-btn-primary:hover,
#landingCookieSave:hover {
  opacity: 0.88;
}

.cookie-btn-secondary,
#landingCookieAcceptAllModal {
  color: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.cookie-btn-secondary:hover,
#landingCookieAcceptAllModal:hover {
  color: #ff8c00;
  border-color: rgba(255, 140, 0, 0.5);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
}

.cookie-modal-box {
  width: min(440px, 100%);
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #1a1a1a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.cookie-modal-box h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.cookie-modal-box > p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  line-height: 1.5;
}

.cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cookie-row-text strong {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}

.cookie-row-text span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  line-height: 1.4;
}

.cookie-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 22px;
}

.cookie-toggle input {
  width: 0;
  height: 0;
  opacity: 0;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-toggle-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #ff8c00;
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(18px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-btns {
  margin-top: 20px;
}

.cookie-modal-btns button {
  flex: 1;
  min-width: 120px;
}

@keyframes cookie-slide-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.landing-header-stuck {
  padding-top: var(--header-h);
}

body.landing-header-stuck .landing-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-h);
  z-index: 2200;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: rgba(15, 15, 15, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  animation: landing-header-bar-in 0.28s ease both;
}

@keyframes landing-header-bar-in {
  from {
    background: rgba(15, 15, 15, 0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }

  to {
    background: rgba(15, 15, 15, 0.88);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  }
}

@media (max-width: 960px) {
  body.landing-header-stuck {
    padding-top: var(--header-h);
  }

  .landing-nav {
    top: calc(var(--header-h) + 10px);
    z-index: 2100;
  }

  body.landing-header-stuck .landing-nav {
    top: calc(var(--header-h) + 10px);
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    right: 78px;
    gap: 12px;
  }
}

@media (max-width: 620px) {
  .cookie-float-btn {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 72px;
  }

  .cookie-actions,
  .cookie-modal-btns {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-btn,
  .cookie-modal-btns button {
    width: 100%;
  }
}
