/* ============================================================
   Výkup her a konzolí — U radnice Zlín
   Retro / pixel styl „arcade night" + světlý režim
   ============================================================ */

/* ---------- Fonty (self-hosted, GDPR friendly) ---------- */
@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/press-start-2p-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: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/press-start-2p-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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-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,
:root[data-theme="dark"] {
  --bg: #1A1030;
  --panel: #2A1B4A;
  --panel2: #221540;
  --accent: #39FF14;
  --accent2: #B14EFF;
  --warn: #FFD23F;
  --text: #F2F2F7;
  --muted: #A99FC7;
  --shadow: #0D0820;
  --accent-contrast: #0B2003;
  --line: #3D2A66;
}

:root[data-theme="light"] {
  --bg: #F5F3FF;
  --panel: #FFFFFF;
  --panel2: #ECE7FC;
  --accent: #16A004;
  --accent2: #7A2ED6;
  --warn: #B8860B;
  --text: #1A1030;
  --muted: #5C5379;
  --shadow: #C9BFEA;
  --accent-contrast: #FFFFFF;
  --line: #D9D0F2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

a { color: var(--accent2); }
a:hover { color: var(--accent); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Typografie ----------
   Pixel font jen na velké nadpisy, logo a tlačítka — zbytek čitelný Inter. */
h1, h2, .logo-text, .btn, .step-num {
  font-family: "Press Start 2P", monospace;
}

h1 { font-size: clamp(1.2rem, 3.4vw, 2rem); line-height: 1.55; }
h2.section-title { font-size: clamp(0.95rem, 2.4vw, 1.35rem); line-height: 1.6; margin-bottom: 1.8rem; }
h3 { font-size: 1.05rem; font-weight: 800; line-height: 1.4; margin-bottom: 0.5rem; }

.hl { color: var(--accent); }

.section { padding: 4.5rem 0; }
.section-slim { padding: 3rem 0; }
.section-alt { background: var(--panel2); }
.section-lead { max-width: 640px; margin-bottom: 2rem; color: var(--muted); }

/* ---------- Tlačítka (hard shadow, arcade) ---------- */
.btn {
  display: inline-block;
  font-size: 0.7rem;
  line-height: 1.4;
  padding: 0.9em 1.4em;
  text-decoration: none;
  text-align: center;
  border: 3px solid var(--shadow);
  box-shadow: 4px 4px 0 var(--shadow);
  cursor: pointer;
  transition: transform 0.08s steps(2), box-shadow 0.08s steps(2);
  color: var(--text);
  background: var(--panel);
}
.btn:hover, .btn:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--shadow);
}
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--shadow); }

.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--accent-contrast); }
.btn-secondary { background: var(--accent2); color: #fff; }
.btn-secondary:hover, .btn-secondary:focus-visible { color: #fff; }
.btn-whatsapp { background: #25D366; color: #06300F; }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { color: #06300F; }
.btn-ghost { background: transparent; border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); transform: none; box-shadow: none; color: var(--accent); }
.btn-lg { font-size: 0.8rem; padding: 1.1em 1.6em; }
.btn-sm { font-size: 0.6rem; padding: 0.8em 1.1em; }
.btn-block { display: block; width: 100%; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 4px solid var(--accent2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--text); }
.logo-icon svg { width: 34px; height: 22px; }
.logo-text { font-size: 0.62rem; line-height: 1.6; }
.logo-sub { display: block; color: var(--accent2); font-size: 0.5rem; }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.btn-phone { font-family: "Inter", sans-serif; font-weight: 700; font-size: 0.85rem; padding: 0.5em 0.9em; }
.phone-short { display: none; }

.theme-toggle {
  background: transparent;
  border: 3px solid var(--line);
  color: var(--text);
  font-size: 0.9rem;
  width: 40px; height: 40px;
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--accent); }
:root[data-theme="dark"] .theme-icon-light { display: none; }
:root[data-theme="light"] .theme-icon-dark { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, color-mix(in srgb, var(--accent2) 14%, transparent), transparent 55%),
    var(--bg);
}
.scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    color-mix(in srgb, var(--shadow) 45%, transparent) 3px,
    color-mix(in srgb, var(--shadow) 45%, transparent) 4px
  );
  opacity: 0.12;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-sub { margin: 1.2rem 0 1.8rem; color: var(--muted); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.trust-strip li + li::before { content: "·"; margin-right: 1rem; color: var(--line); }
.hero-art { position: relative; }
.pixel-pad { width: 100%; max-width: 320px; margin: 0 auto; filter: drop-shadow(6px 6px 0 var(--shadow)); }

/* ---------- Karty obecně ---------- */
.card {
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 1.5rem;
}

/* ---------- 3 kroky ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step-card { position: relative; padding-top: 2.4rem; }
.step-num {
  position: absolute;
  top: -1rem; left: 1.2rem;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.9rem;
  padding: 0.5em 0.7em;
  border: 3px solid var(--shadow);
}
.step-card p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Formulář ---------- */
.form-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.quote-form { display: flex; flex-direction: column; gap: 1.3rem; }
.field label, .field legend {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}
.req { color: var(--accent); }
.opt { color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg);
  border: 3px solid var(--line);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field input[type="file"] { font-size: 0.85rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.field-hint { font-size: 0.85rem; color: var(--warn); }
fieldset.field { border: 0; }

.pixel-radios { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pixel-radio { cursor: pointer; }
.pixel-radio input { position: absolute; opacity: 0; }
.pixel-radio span {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.55em 0.9em;
  background: var(--bg);
  border: 3px solid var(--line);
  transition: all 0.08s steps(2);
}
.pixel-radio input:checked + span {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--shadow);
  box-shadow: 3px 3px 0 var(--shadow);
}
.pixel-radio input:focus-visible + span { outline: 3px solid var(--accent2); outline-offset: 2px; }

.gdpr-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; cursor: pointer; }
.gdpr-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-card h3 { margin-bottom: 0.5rem; }
.aside-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.aside-card .btn + .btn { margin-top: 0.8rem; }
.aside-tip p { margin: 0; font-size: 0.85rem; color: var(--muted); padding: 0 0.5rem; }

.success-card { margin-top: 1.5rem; text-align: center; padding: 2.5rem; }
.success-icon svg { width: 64px; height: 64px; margin: 0 auto 1rem; }

/* ---------- Dlaždice „co vykupujeme" ---------- */
.tiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tile { transition: transform 0.08s steps(2); }
.tile:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shadow); }
.tile-icon svg { width: 32px; height: 32px; margin-bottom: 0.8rem; }
.tile p { font-size: 0.85rem; color: var(--muted); }

/* ---------- Benefity ---------- */
.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3rem;
  max-width: 760px;
}
.benefits-list li { position: relative; padding-left: 1.4rem; font-size: 0.95rem; }
.benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background: var(--accent);
}

/* ---------- Ceník ---------- */
.price-table { max-width: 560px; padding: 0.5rem 1.5rem; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 2px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row > span:first-child { font-weight: 600; }
.price { color: var(--accent); font-weight: 800; white-space: nowrap; }
.disclaimer { margin-top: 1.2rem; font-size: 0.8rem; color: var(--muted); max-width: 560px; }

/* ---------- Kontakt / mapa ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; align-items: start; }
.contact-card .address { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.contact-card .hours { color: var(--accent); margin-bottom: 0.8rem; }
.contact-line { display: inline-block; margin-bottom: 0.4rem; text-decoration: none; font-weight: 600; color: var(--text); }
.contact-line:hover { color: var(--accent); }
.contact-card .btn { margin-top: 0.8rem; }
.how-to-find { margin-top: 1.2rem; font-size: 0.88rem; color: var(--muted); }
.map-wrap {
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 var(--shadow);
  height: 100%;
  min-height: 360px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.map-placeholder {
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--panel);
  text-align: center;
  padding: 1.5rem;
}
.map-placeholder svg { width: 40px; height: 40px; }
.map-placeholder p { font-weight: 600; }
.map-note { font-size: 0.75rem; color: var(--muted); font-weight: 400 !important; max-width: 300px; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: 3px 3px 0 var(--shadow);
  margin-bottom: 0.8rem;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
  position: relative;
  padding-right: 2.6rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: "Press Start 2P", monospace;
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 1.2rem 1.1rem; font-size: 0.9rem; color: var(--muted); }

/* ---------- Uzavírací CTA ---------- */
.closing-cta {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--accent2) 18%, transparent), transparent 60%),
    var(--panel2);
  border-top: 4px solid var(--line);
}
.closing-cta h2 { font-family: "Press Start 2P", monospace; font-size: clamp(0.9rem, 2.2vw, 1.2rem); line-height: 1.6; margin-bottom: 0.8rem; }
.closing-cta p { color: var(--muted); margin-bottom: 1.6rem; }

/* ---------- Patička ---------- */
.site-footer {
  background: var(--shadow);
  color: var(--muted);
  padding: 3rem 0 2rem;
  font-size: 0.85rem;
}
:root[data-theme="light"] .site-footer { background: var(--panel2); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1.5fr; gap: 2rem; margin-bottom: 2rem; }
.footer-logo { font-family: "Press Start 2P", monospace; font-size: 0.6rem; color: var(--text); margin-bottom: 0.8rem; }
.gdpr-text { font-size: 0.78rem; }
.footer-bottom {
  border-top: 2px solid var(--line);
  padding-top: 1.2rem;
  font-family: "Press Start 2P", monospace;
  font-size: 0.55rem;
  text-align: center;
}

/* ---------- Mobilní sticky lišta ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  gap: 0.6rem;
  padding: 0.6rem;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-top: 3px solid var(--accent2);
  backdrop-filter: blur(6px);
}
.mobile-cta-bar .btn { flex: 1; font-size: 0.65rem; padding: 0.9em 0.5em; }

/* ---------- Responzivita ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .steps-grid, .tiles-grid { grid-template-columns: 1fr 1fr; }
  .form-layout, .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .steps-grid, .tiles-grid { grid-template-columns: 1fr; }
  .benefits-list { grid-template-columns: 1fr; }
  .step-card { margin-top: 1rem; }
  .btn-phone { display: none; }
  .logo-sub { display: none; }
  .logo-text { font-size: 0.55rem; }
  .btn-sm { white-space: nowrap; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 64px; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-cta .btn { width: 100%; }
  .trust-strip { flex-direction: column; gap: 0.35rem; }
  .trust-strip li + li::before { content: none; }
}

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