/* Hero11.si — red and white guide. Mobile first. */

:root {
  --color-red: #e32636;
  --color-red-deep: #b91c2c;
  --color-red-hot: #ff4d5a;
  --color-bg: #ffffff;
  --color-bg-soft: #fff5f5;
  --color-text: #202124;
  --color-text-secondary: #62666d;
  --color-border: #f0dcdd;
  --color-success: #0d7a32;
  --color-success-bg: #eef8f1;
  --font-display: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-phone: 0 16px 40px rgba(32, 33, 36, 0.12);
  --header-h: 72px;
  --max: 1120px;
  --z-header: 100;
  --z-tab: 200;
  --z-cookie: 280;
  --z-gate: 400;
}

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

html { scroll-behavior: smooth; }

[hidden] { display: none !important; }

body.age-lock { overflow: hidden; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
  overflow-x: clip;
}

body.has-cookie { padding-bottom: 13rem; }

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

button, input { font: inherit; color: inherit; }

a { color: var(--color-red-deep); }

a:hover { color: var(--color-red); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

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

.skip-link {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  top: 0.75rem;
  z-index: calc(var(--z-gate) + 1);
  transform: translateY(-200%);
  background: var(--color-red-deep);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.96);
  border-top: 3px solid var(--color-red);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-h);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-toggle {
  order: 2;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius-sm);
  min-height: 44px;
  padding: 0 0.85rem;
  cursor: pointer;
}

.header__cta { order: 1; }

.site-nav {
  display: none;
  flex: 1 0 100%;
  order: 3;
}

.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.85rem;
}

.site-nav a {
  display: block;
  padding: 0.72rem 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  font-size: 1rem;
}

.site-nav a[aria-current="page"] {
  color: var(--color-red-deep);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  line-height: 1.2;
}

.btn--primary {
  background: var(--color-red);
  color: #fff;
}

.btn--primary:hover { background: var(--color-red-deep); color: #fff; }

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--ghost {
  background: #fff;
  color: var(--color-red-deep);
  border-color: var(--color-red);
}

.btn--ghost:hover { background: var(--color-bg-soft); color: var(--color-red-deep); }

.btn--light {
  background: #fff;
  color: var(--color-red-deep);
}

.btn--light:hover { background: var(--color-bg-soft); color: var(--color-red-deep); }

.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hero { padding: 2.25rem 0 1rem; }

.hero__grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.hero__grid .og-banner { margin: 0; }

.kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--color-red-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 16ch;
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 42rem;
}

.hero__actions,
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.5rem;
}

.fine {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
}

.hero__stage {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem 1rem;
}

.phone {
  width: min(270px, 100%);
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
}

.phone img {
  width: 100%;
  height: 440px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
}

.hero__stage figcaption,
.shot figcaption,
.og-banner figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

.photo-label {
  margin: 0.25rem 0 0.7rem;
  font-size: 1.05rem;
}

.og-banner {
  margin: 1.25rem 0 0;
}

.og-banner img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 1.25rem;
}

.photo-grid .shot,
.prose .photo-grid .shot {
  flex: none;
  width: auto;
  margin: 0;
}

.photo-grid .shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #111;
}

.section { padding: 3.25rem 0; }

.section--soft {
  background: var(--color-bg-soft);
  border-block: 1px solid var(--color-border);
}

.section__head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  max-width: 42rem;
}

.section__head h2,
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

.section__head p:last-child { margin-bottom: 0; color: var(--color-text-secondary); }

.split {
  display: grid;
  gap: 1.5rem;
}

.facts {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.facts th,
.facts td {
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.facts tr:last-child th,
.facts tr:last-child td { border-bottom: 0; }

.facts th {
  width: 42%;
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
}

.facts caption {
  caption-side: bottom;
  padding-top: 0.5rem;
  text-align: left;
}

.section--tight { padding-top: 0; }

.table-wrap { overflow-x: auto; }

.feature-grid {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.85rem;
  padding: 1.1rem 1rem;
  background: #fff;
}

.feature svg { width: 44px; height: 44px; }

.feature h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }

.feature p { margin: 0; color: var(--color-text-secondary); font-size: 0.98rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }

.steps li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.8rem;
  align-items: start;
}

.steps li span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-red);
  color: #fff;
  font-weight: 700;
}

.rail {
  display: flex;
  gap: 0.9rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.shot {
  flex: 0 0 210px;
  scroll-snap-align: start;
  margin: 0 0 1rem;
}

.prose .shot {
  width: min(280px, 100%);
}

.shot img {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.rating-panel {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-red);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.15rem 1.15rem 0.4rem;
}

.stars { display: flex; gap: 0.2rem; margin-bottom: 0.45rem; }

.stars svg { width: 22px; height: 22px; }

.rating-panel strong { font-size: 1.2rem; }

.guide-list { list-style: none; margin: 0; padding: 0; }

.guide-list li { border-top: 1px solid var(--color-border); }

.guide-list a {
  display: block;
  padding: 0.95rem 0;
  text-decoration: none;
  color: var(--color-text);
}

.guide-list a:hover { color: var(--color-red-deep); }

.guide-list small {
  display: block;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  margin-top: 0.2rem;
}

.cta-band {
  background: var(--color-red-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.25rem;
}

.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 18ch; }

.cta-band p { color: #ffe8ea; max-width: 40rem; }

.cta-band a { color: #fff; }

.cta-band .btn,
.cta-band .btn:hover {
  color: #202124;
}

.telegram-banner {
  display: grid;
  gap: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  background: #fff;
}

.telegram-banner h2 { font-size: 1.45rem; }

.note {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-red);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
}

.note p:last-child { margin-bottom: 0; }

.note--ok {
  background: var(--color-success-bg);
  border-color: #cfe8d6;
  border-left-color: var(--color-success);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
}

.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: #b9a0a2; }

.page-hero { padding: 1.75rem 0 0.5rem; }

.page-hero h1 { max-width: 20ch; }

.prose { padding-bottom: 1rem; }

.prose h2 { margin: 2rem 0 0.7rem; }

.prose h3 { margin: 1.4rem 0 0.45rem; font-size: 1.15rem; }

.prose > :first-child { margin-top: 0; }

.faq { display: grid; gap: 0.6rem; }

.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.2rem 0.95rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.8rem 0;
}

.faq details p:last-child { margin-bottom: 0.8rem; }

.columns-2 { display: grid; gap: 1rem; }

.panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 0.25rem;
  background: #fff;
}

.panel h3 { margin-bottom: 0.6rem; }

.panel--good { background: var(--color-success-bg); border-color: #cfe8d6; }

.panel--bad { background: var(--color-bg-soft); }

.download-panel {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: var(--color-bg-soft);
}

.download-panel h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 14ch; }

.countdown {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

.filter {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem;
}

.filter input {
  width: min(100%, 28rem);
  min-height: 46px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 0.85rem;
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: #fff;
  padding: 2.2rem 0 1.4rem;
}

.footer__grid {
  display: grid;
  gap: 1.4rem;
}

.footer__brand p { color: var(--color-text-secondary); max-width: 36rem; }

.footer__links {
  display: grid;
  gap: 0.35rem;
}

.footer__links a { text-decoration: none; }

.footer__links h2 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.35rem;
}

.legal-line {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.92rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: var(--z-gate);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(32, 33, 36, 0.72);
}

.age-gate.is-open { display: flex; }

.age-gate__panel {
  width: min(100%, 440px);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem 1.1rem;
}

.age-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-red);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.age-gate__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-cookie);
  display: none;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 0.85rem 1rem;
}

.cookie-banner.is-open { display: grid; }

.cookie-banner p { margin: 0; font-size: 0.95rem; }

.cookie-banner__actions { display: flex; gap: 0.5rem; }

.tg-tab {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  left: auto;
  width: max-content;
  max-width: calc(100% - 1.5rem);
  z-index: var(--z-tab);
}

body.has-cookie .tg-tab { bottom: 7.25rem; }

.tg-tab__launcher {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-text);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.tg-tab__panel {
  margin-top: 0.45rem;
  width: min(280px, calc(100vw - 1.5rem));
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  box-shadow: var(--shadow-phone);
}

.tg-tab__panel[hidden] { display: none; }

.tg-tab__panel p { margin-bottom: 0.7rem; }

.icon-btn svg { width: 18px; height: 18px; display: block; }

.empty {
  text-align: center;
  padding: 2rem 0 3rem;
}

.empty h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0.5rem 0; }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  body.has-cookie { padding-bottom: 5.25rem; }

  .cookie-banner.is-open {
    display: flex;
    padding-inline: 1.5rem;
  }

  .tg-tab {
    right: 1.25rem;
    bottom: 1.25rem;
    width: 250px;
  }

  .tg-tab__launcher { width: 100%; }

  .phone img { height: 520px; }

  body.has-cookie .tg-tab { right: 1.25rem; bottom: 5.5rem; }

  .hero { padding-top: 3.25rem; }

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 2rem;
  }

  .hero__copy { grid-column: 1; grid-row: 1; }

  .hero__stage { grid-column: 2; grid-row: 1; }

  .hero__grid .og-banner { grid-column: 1 / -1; grid-row: 2; }

  .split,
  .columns-2,
  .footer__grid,
  .telegram-banner { grid-template-columns: 1.1fr 0.9fr; align-items: start; }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }

  .feature-grid { grid-template-columns: 1fr 1fr; }

  .shot { flex-basis: 230px; }

  .photo-grid,
  .photo-grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .split .photo-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1020px) {
  .photo-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .split .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nav-toggle { display: none; }

  .header__cta { order: 0; margin-left: 0.5rem; }

  .site-nav,
  .site-nav.is-open {
    display: block;
    flex: 1 1 auto;
    order: 0;
  }

  .site-nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.15rem 1rem;
    padding: 0;
  }

  .site-nav a {
    border: 0;
    padding: 0.35rem 0;
    font-size: 0.95rem;
  }

  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }

  .brand { margin-right: 0; }
}

@media (min-width: 560px) and (max-width: 767px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .hero__actions .btn,
  .download-panel .btn,
  .cta-band .btn { width: 100%; }

  .header__cta {
    padding-inline: 0.8rem;
    font-size: 0.92rem;
  }

  .brand { font-size: 1.05rem; min-width: 0; }

  .page-hero h1,
  .hero h1 { max-width: none; }
}

.prose,
.facts td,
.note,
code { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
