/* Trixsoft: arkusz stylów strony */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("/assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #efede7;
  --ink: #16181d;
  --ink-2: #474c57;
  --ink-3: #676c77;
  --line: #e2dfd7;
  --accent: #4b3fe0;
  --accent-hover: #3a2fc4;
  --accent-soft: #ecebff;

  --font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --gutter: 16px;
  --max: 1120px;
  --shadow: 0 1px 2px rgb(22 24 29 / 0.04), 0 8px 24px rgb(22 24 29 / 0.06);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { top: 8px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Nagłówek ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(246 245 241 / 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.nav { display: flex; gap: 4px; }
.nav a, .lang-switch {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.lang-switch {
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
}
.lang-switch:hover { color: var(--ink); border-color: var(--ink-3); }

@media (max-width: 599px) {
  .header-inner { flex-wrap: wrap; row-gap: 0; padding-block: 8px; }
  .nav { order: 3; width: 100%; margin-inline: -10px; }
  .nav a { padding: 6px 10px; }
}

/* ---------- Elementy wspólne ---------- */

.section { padding-block: clamp(56px, 9vw, 104px); scroll-margin-top: 72px; }
.section + .section { padding-top: 0; }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-2); max-width: 640px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2c2f38; color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-dev { background: #e3f3ea; color: #17643f; }
.badge-soon { background: #fff0d2; color: #7d5100; }
.badge-live { background: var(--accent-soft); color: var(--accent-hover); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tags li {
  font-size: 0.82rem;
  color: var(--ink-2);
  background: var(--surface-2);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- Strona główna: hero ---------- */

.home-hero { padding-block: clamp(56px, 10vw, 120px) clamp(48px, 7vw, 88px); }
.home-hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .home-hero-grid { grid-template-columns: 1.35fr 1fr; }
}
.home-hero h1 { max-width: 14ch; }
.home-hero h1 em { font-style: normal; color: var(--accent); }

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-3);
  font-size: 0.95rem;
}
.platforms li { display: inline-flex; align-items: center; gap: 8px; }
.platforms svg { width: 18px; height: 18px; }

.hero-stack {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}
.hero-stack .tile {
  position: absolute;
  border-radius: 26%;
  box-shadow: 0 2px 4px rgb(22 24 29 / 0.08), 0 24px 48px rgb(22 24 29 / 0.16);
  overflow: hidden;
}
.hero-stack .tile-os { width: 54%; left: 4%; top: 12%; transform: rotate(-8deg); }
.hero-stack .tile-hoot { width: 54%; right: 4%; bottom: 8%; transform: rotate(6deg); }
.hero-stack .tile img { width: 100%; height: 100%; image-rendering: auto; }
.hero-stack .tile-os img { image-rendering: pixelated; }
.hero-stack .tile-next {
  width: 30%; right: 10%; top: 6%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 2px dashed var(--line);
  box-shadow: none;
  color: var(--ink-3);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 2rem);
}
@media (max-width: 899px) {
  .hero-stack { max-width: 240px; }
  .home-hero-grid { gap: 24px; }
}

/* ---------- Karty projektów ---------- */

.projects-grid { display: grid; gap: 24px; }
@media (min-width: 820px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
}
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(22 24 29 / 0.05), 0 18px 40px rgb(22 24 29 / 0.12); }
.project-card .cover { aspect-ratio: 1200 / 630; background: var(--surface-2); overflow: hidden; }
.project-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.project-card .body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.project-card .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--ink-3); font-size: 0.9rem; }
.project-card h3 { margin: 0; font-size: 1.55rem; }
.project-card h3 a { color: var(--ink); text-decoration: none; }
.project-card h3 a::after { content: ""; position: absolute; inset: 0; }
.project-card .subtitle { margin: -6px 0 0; color: var(--ink-2); font-weight: 500; }
.project-card p { margin: 0; color: var(--ink-2); }
.project-card .more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--accent); }
.project-card .card-links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.project-card .card-links .more { margin-top: 0; }
/* Leży nad linkiem z nagłówka, który zakrywa całą kartę */
.project-card .store-link { position: relative; z-index: 1; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.project-card .store-link:hover { color: var(--accent); }

/* ---------- O firmie ---------- */

.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.3fr 1fr; gap: 72px; }
}
.about-text p { font-size: 1.1rem; color: var(--ink-2); }
.about-text p:first-of-type { color: var(--ink); }

.facts {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 24px;
}
.facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-3); font-size: 0.95rem; }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 420px) {
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

.pillars { display: grid; gap: 16px; margin-top: 40px; padding: 0; list-style: none; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { padding: 20px; background: var(--surface-2); border-radius: var(--radius); }
.pillars strong { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 4px; }
.pillars span { color: var(--ink-2); font-size: 0.98rem; }

/* ---------- Kontakt ---------- */

.contact-card {
  display: grid;
  gap: 32px;
  background: var(--ink);
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(28px, 5vw, 56px);
}
@media (min-width: 900px) {
  .contact-card { grid-template-columns: 1.4fr 1fr; align-items: end; }
}
.contact-card h2 { color: #fff; }
.contact-card p { color: #c9ccd4; }
.contact-card .eyebrow { color: #a99fff; }
.email-link {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 4.4vw, 2.3rem);
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #8b7dff;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
.email-link:hover { color: #d9d4ff; }
.company-box {
  font-style: normal;
  border-top: 1px solid #343843;
  padding-top: 20px;
  color: #c9ccd4;
  font-size: 0.98rem;
  line-height: 1.7;
}
@media (min-width: 900px) {
  .company-box { border-top: 0; border-left: 1px solid #343843; padding: 0 0 0 32px; }
}
.company-box strong { color: #fff; }
.company-box .label { display: block; color: #8d919c; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }

/* ---------- Stopka ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: clamp(56px, 9vw, 104px); }
.footer-grid { display: grid; gap: 32px; padding-block: 48px 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-heading { font-family: var(--font-head); font-weight: 700; margin-bottom: 10px; }
.site-footer address { font-style: normal; color: var(--ink-2); font-size: 0.95rem; line-height: 1.75; }
.site-footer address strong { color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 0.95rem; }
.site-footer ul a { color: var(--ink-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 20px 28px; color: var(--ink-3); font-size: 0.88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Podstrony aplikacji ---------- */

.breadcrumb { font-size: 0.92rem; margin: 0 0 20px; }
.breadcrumb a { color: inherit; opacity: 0.8; text-decoration: none; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }

.app-hero { padding-block: clamp(32px, 6vw, 64px) clamp(48px, 7vw, 80px); }
.app-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .app-hero-grid { grid-template-columns: 1.1fr 1fr; } }
.app-hero .subtitle { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 500; margin-bottom: 18px; }
.app-hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.app-section { padding-block: clamp(48px, 7vw, 88px); }
.app-section + .app-section { padding-top: 0; }

.facts-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
}
.facts-strip div { background: var(--surface); padding: 16px 20px; }
.facts-strip dt { color: var(--ink-3); font-size: 0.85rem; margin-bottom: 2px; }
.facts-strip dd { margin: 0; font-weight: 600; }

.steps { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 14px;
}
.steps strong { display: block; font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 4px; }
.steps span { color: var(--ink-2); }

.feature-list { display: grid; gap: 14px 40px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--accent);
  transform: rotate(45deg) scale(0.75);
}
.feature-list strong { color: var(--ink); }

.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.25fr; gap: 64px; } }
.prose-block p { color: var(--ink-2); font-size: 1.08rem; }

.gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 20px;
  margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: thin;
}
.gallery figure { flex: none; width: min(62vw, 250px); margin: 0; scroll-snap-align: start; }
.gallery .phone {
  border-radius: 22px;
  overflow: hidden;
  background: #0d0d0b;
  border: 6px solid #0d0d0b;
  box-shadow: 0 16px 32px rgb(0 0 0 / 0.35);
  aspect-ratio: 540 / 1189;
}
.gallery .phone img, .gallery .phone video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
  .gallery { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .gallery figure { width: auto; }
}
.gallery figcaption { margin-top: 10px; font-size: 0.9rem; opacity: 0.8; }

/* Przyciski sklepów: oficjalny badge + tekst o platformie „wkrótce” */
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.store-badge { display: inline-block; flex: none; border-radius: 9px; }
.store-badge img { display: block; height: 48px; width: auto; }
.store-soon { font-size: 0.95rem; font-weight: 500; color: var(--ink-3); }
.store-note { margin: 12px 0 18px; font-size: 0.92rem; }

.store-cta {
  display: grid;
  gap: 20px;
  justify-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.store-cta > img { width: 72px; height: 72px; border-radius: 22%; }
.store-cta h2 { margin: 0 0 4px; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.store-cta p { margin: 0; color: var(--ink-2); }
.store-cta .store-row { margin-top: 0; }
@media (min-width: 900px) {
  .store-cta { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
}

.notice {
  display: grid;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
@media (min-width: 760px) { .notice { grid-template-columns: 1fr 1fr; gap: 32px; } }
.notice h3 { margin-bottom: 6px; }
.notice p { margin: 0; color: var(--ink-2); }

/* OverShielded: ciemny, „pixel-artowy” motyw */
.page-overshielded .os-dark { background: #12140f; color: #efe6d2; }
.page-overshielded .os-dark h1,
.page-overshielded .os-dark h2,
.page-overshielded .os-dark h3 { color: #fff7e6; }
.page-overshielded .os-dark .subtitle { color: #f2c46d; }
.page-overshielded .os-dark p { color: #cfc6b2; }
.page-overshielded .os-dark .breadcrumb a { color: #efe6d2; }
.page-overshielded .os-dark .eyebrow { color: #f2c46d; }
.page-overshielded .os-dark .badge-dev { background: #23361f; color: #a6e3a1; }
.page-overshielded .os-dark .tags li { background: #23261e; color: #d9d0bc; }
.os-art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.5);
  border: 1px solid #2e3126;
}
.os-art img { width: 100%; image-rendering: pixelated; }
.os-media { padding-block: clamp(48px, 7vw, 88px); }
.page-overshielded .feature-list li::before { background: #c4842a; }
.page-overshielded .steps li::before { background: #5a3a1c; }
.page-overshielded .tagline {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 600;
  color: #fff7e6;
  margin-bottom: 14px;
}

/* Hoot O'Clock: nocne niebo, koral, słoneczny żółty */
.page-hoot .hoot-hero { background: linear-gradient(180deg, #121650 0%, #2c3a93 100%); color: #fff; position: relative; overflow: hidden; }
.page-hoot .hoot-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -1px;
  height: 64px;
  background: #23794f;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.page-hoot .hoot-hero > .wrap { position: relative; z-index: 1; }
.page-hoot .hoot-hero h1 { color: #fff; }
.page-hoot .hoot-hero .subtitle { color: #ffc83d; }
.page-hoot .hoot-hero p { color: #d9ddff; }
.page-hoot .hoot-hero .breadcrumb a { color: #fff; }
.page-hoot .hoot-hero .badge-soon,
.page-hoot .hoot-hero .badge-live { background: #ffc83d; color: #1b1f5e; }
.page-hoot .hoot-hero .store-soon { color: #b9c0f0; }
.page-hoot .hoot-hero .store-note { color: #fff; }
.page-hoot .hoot-hero .tags li { background: rgb(255 255 255 / 0.12); color: #fff; }
.hoot-visual { position: relative; max-width: 380px; width: 100%; margin-inline: auto; padding-bottom: 40px; }
.hoot-visual .icon {
  width: 100%;
  border-radius: 22%;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.35);
}
.hoot-stars { position: absolute; inset: 0; pointer-events: none; }
.hoot-stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0.7; }
@media (max-width: 899px) { .hoot-visual { max-width: 240px; padding-bottom: 56px; } }
.page-hoot .feature-list li::before { background: #ff6b4a; }
.feature-list-single { grid-template-columns: 1fr; }
@media (min-width: 900px) { .page-hoot .facts-strip { grid-template-columns: repeat(4, 1fr); } }
.gallery-hoot .phone { aspect-ratio: 480 / 1043; border-radius: 26px; }
@media (min-width: 1000px) { .gallery-hoot { grid-template-columns: repeat(5, 1fr); } }
.page-hoot .steps li::before { background: #1b1f5e; }

.daynight { display: grid; gap: 20px; }
@media (min-width: 760px) { .daynight { grid-template-columns: 1fr 1fr; } }
.daynight figure {
  margin: 0;
  border-radius: var(--radius);
  padding: 28px 28px 0;
  display: grid;
  grid-template-columns: 1fr 120px;
  align-items: end;
  gap: 16px;
  overflow: hidden;
  min-height: 220px;
}
.daynight .day { background: linear-gradient(180deg, #4fb8f5, #c4ebff); color: #1b1f5e; }
.daynight .night { background: linear-gradient(180deg, #121650, #2c3a93); color: #fff; }
.daynight figcaption { align-self: center; padding-bottom: 28px; }
.daynight .time { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.daynight img { width: 120px; }

.levels { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: lvl; }
@media (min-width: 760px) { .levels { grid-template-columns: repeat(5, 1fr); } }
.levels li {
  counter-increment: lvl;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 600;
}
.levels li::before {
  content: counter(lvl);
  display: block;
  font-family: var(--font-head);
  color: #ff6b4a;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* ---------- Teksty prawne ---------- */

.prose { max-width: 760px; padding-block: clamp(40px, 7vw, 80px) 0; }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose .table-wrap { overflow-x: auto; margin-block: 1.2em; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.prose th { color: var(--ink); font-family: var(--font-head); background: var(--surface-2); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose li { margin-bottom: 0.4em; }
.prose .updated { color: var(--ink-3); font-size: 0.95rem; }
.prose address { font-style: normal; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; color: var(--ink-2); }

/* ---------- 404 ---------- */

.error-page { padding-block: clamp(72px, 14vw, 160px); text-align: center; }
.error-page .code { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 16vw, 8rem); line-height: 1; color: var(--accent); margin-bottom: 12px; }
.error-page .btn-row { justify-content: center; }
