:root {
  color-scheme: dark;
  --bg: #07070b;
  --surface: rgba(18, 18, 26, 0.92);
  --surface-strong: #141420;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f8f5ff;
  --muted: #bbb3cb;
  --accent: #ff69b4;
  --accent-soft: rgba(255, 105, 180, 0.16);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 105, 180, 0.18), transparent 32%),
    linear-gradient(180deg, #0a0a12 0%, #050509 100%);
  color: var(--text);
  font-family: Arial, sans-serif;
}

body.has-overlay {
  overflow: hidden;
}

.hero {
  padding: 96px 20px 48px;
}

.hero__inner,
.content {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.hero__eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  font-size: 0.8rem;
}

.glow {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.9rem);
  line-height: 1.05;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.65), 0 0 28px rgba(255, 105, 180, 0.72);
}

.hero__summary,
.hero__updated {
  max-width: 720px;
  color: var(--muted);
}

.hero__summary {
  margin: 20px 0 10px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero__updated {
  margin: 0;
  font-size: 0.95rem;
}

.content {
  padding-bottom: 120px;
}

.cjenik-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff3fb;
}

.cjenik-summary {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.cjenik-owner-grid {
  display: grid;
  gap: 12px;
}

.cjenik-owner-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.cjenik-owner-row strong,
.cjenik-owner-row a {
  color: var(--text);
}

.cjenik-group + .cjenik-group {
  margin-top: 24px;
}

.cjenik-subgroup + .cjenik-subgroup,
.cjenik-standalone .service + .service {
  margin-top: 18px;
}

h3 {
  margin: 28px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #ffd5ea;
  font-size: 1.35rem;
}

h3 small {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--muted);
}

.service {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service:last-child {
  border-bottom: 0;
}

.service p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
}

.anchor {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--muted);
}

.cjenik-legal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.cjenik-legal-list a {
  color: #ffd5ea;
}

.language-switcher {
  position: fixed;
  right: 16px;
  bottom: 84px;
  z-index: 20;
}

.language-menu {
  margin-top: 10px;
  padding: 8px;
  min-width: 120px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.language-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
}

.language-option:hover,
.language-option.is-active {
  background: var(--accent-soft);
}

.button {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #130710;
  font-weight: 700;
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.bottom-nav {
  position: fixed;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: rgba(7, 7, 11, 0.94);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(14px);
  z-index: 15;
}

.bottom-nav a {
  color: var(--text);
  text-decoration: none;
  text-align: center;
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 146px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  background: rgba(15, 15, 25, 0.97);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-banner__content {
  flex: 1 1 320px;
}

.cookie-banner__content strong {
  display: block;
  margin-bottom: 8px;
}

.cookie-banner__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.cookie-modal__panel {
  position: relative;
  width: min(620px, calc(100% - 24px));
  margin: 6vh auto;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.cookie-preferences {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.cookie-preference {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.cookie-preference input {
  margin-top: 3px;
}

.cookie-preference.is-disabled {
  opacity: 0.8;
}

.cookie-info {
  color: var(--muted);
  margin-bottom: 20px;
}

.cookie-info h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.cjenik-error {
  color: #ffd0d0;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 72px;
  }

  .cjenik-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .service p {
    flex-direction: column;
    gap: 4px;
  }

  .cookie-banner {
    bottom: 158px;
  }
}
