/* =========================================================
   rucni-myti.cz — moderní tmavý / prémiový design
   ========================================================= */

:root {
  /* Barvy */
  --bg: #080b10;
  --bg-2: #0d1219;
  --surface: #131a24;
  --surface-2: #182131;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef3fa;
  --muted: #9fb0c4;
  --faint: #6b7a8f;

  --accent: #38bdf8;
  --accent-2: #22d3ee;
  --accent-deep: #0ea5e9;
  --accent-glow: rgba(56, 189, 248, 0.35);
  --gradient: linear-gradient(135deg, #38bdf8 0%, #22d3ee 100%);

  /* Rozměry */
  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px -8px var(--accent-glow);

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Dekorativní pozadí – jemná záře */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(800px 600px at -10% 20%, rgba(34, 211, 238, 0.07), transparent 55%);
  pointer-events: none;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gradient); border-radius: 2px; }

.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 18px; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 620px; }
.section-head { margin-bottom: 54px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--gradient); color: #04141c; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 55px -6px var(--accent-glow); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand .logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--gradient);
  display: grid; place-items: center;
  color: #04141c; box-shadow: var(--shadow-glow);
}
.brand .logo-mark svg { width: 24px; height: 24px; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-top: -3px; }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--text); }
.nav-phone svg { width: 18px; height: 18px; color: var(--accent); }

/* Přepínač jazyků */
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-btn {
  width: 28px; height: 20px; padding: 0;
  border: 1px solid var(--border-strong); border-radius: 4px;
  overflow: hidden; background: none; cursor: pointer; display: block;
  opacity: 0.5; transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.lang-btn svg { width: 100%; height: 100%; display: block; }
.lang-btn:hover { opacity: 0.95; transform: translateY(-1px); }
.lang-btn.active { opacity: 1; box-shadow: 0 0 0 2px var(--accent); border-color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.nav-toggle span + span { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 160px 0 110px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); margin-bottom: 22px; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; }
.hero-badge { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.hero-badge svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background:
    linear-gradient(160deg, rgba(56,189,248,0.12), rgba(8,11,16,0.6)),
    var(--surface);
  display: grid;
  place-items: center;
}
.hero-card picture { display: block; width: 100%; height: 100%; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card .placeholder { text-align: center; color: var(--faint); padding: 30px; }
.hero-card .placeholder svg { width: 90px; height: 90px; color: var(--accent); opacity: 0.5; margin-bottom: 14px; }

.hero-float {
  position: absolute;
  background: rgba(19, 26, 36, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.hero-float--tl { top: 22px; left: -26px; }
.hero-float--br { bottom: 26px; right: -22px; }
.hero-float .num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--text); }
.hero-float .num span { color: var(--accent); }
.hero-float .lbl { font-size: 0.78rem; color: var(--muted); }

/* ---------- Statistiky ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; }
.stat .lbl { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

/* ---------- Výhody / features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.feature .ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(56, 189, 248, 0.12);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.feature .ico svg { width: 28px; height: 28px; color: var(--accent); }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Ceník / programy ---------- */
.pricing-note {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px; color: var(--muted); font-size: 0.92rem;
}
.pricing-note svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

.size-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.size-legend .chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 16px; font-size: 0.86rem; color: var(--muted);
}
.size-legend .chip b { color: var(--text); font-weight: 600; }

.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.program:hover { transform: translateY(-5px); border-color: var(--accent); }
.program--featured { border-color: var(--accent); box-shadow: var(--shadow-glow); background: var(--surface-2); }
.program__tag {
  position: absolute; top: -12px; right: 22px;
  background: var(--gradient); color: #04141c;
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.program__num { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.program__name { font-size: 1.32rem; margin: 6px 0 18px; }
.program__from { color: var(--faint); font-size: 0.82rem; }
.program__price { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; margin-bottom: 2px; }
.program__price span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.program__list { list-style: none; margin: 22px 0 26px; display: grid; gap: 11px; }
.program__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.program__list li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.program__prices { border-top: 1px solid var(--border); padding-top: 16px; margin-top: auto; margin-bottom: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.program__prices div { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--muted); }
.program__prices b { color: var(--text); font-family: var(--font-head); }
.program .btn { width: 100%; }

/* ---------- Postup ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step__num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Fotogalerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3; cursor: pointer; border: 1px solid var(--border);
  background: var(--surface);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,11,16,0.55), transparent 55%);
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__zoom {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(56,189,248,0.9); color: #04141c;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(6px); transition: 0.3s ease;
}
.gallery__item:hover .gallery__zoom { opacity: 1; transform: translateY(0); }
.gallery__zoom svg { width: 18px; height: 18px; }

.gallery-more { text-align: center; margin-top: 40px; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--accent); }
.back-link svg { width: 18px; height: 18px; }

.gallery-empty {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px;
  border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--muted);
}
.gallery-empty svg { width: 54px; height: 54px; color: var(--faint); margin-bottom: 14px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 6, 10, 0.94); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid var(--border-strong);
  color: var(--text); width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; transition: background 0.2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.lightbox__close { top: 26px; right: 26px; }
.lightbox__close svg, .lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav--prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 0.95rem; }

/* ---------- Doplňkové služby ---------- */
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.addon {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.addon:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.addon .ico { width: 50px; height: 50px; border-radius: 13px; background: rgba(56,189,248,0.12); display: grid; place-items: center; margin-bottom: 18px; }
.addon .ico svg { width: 26px; height: 26px; color: var(--accent); }
.addon h3 { font-size: 1.18rem; margin-bottom: 8px; }
.addon p { color: var(--muted); font-size: 0.96rem; }

/* ---------- CTA pruh ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(56,189,248,0.14), rgba(34,211,238,0.06));
  border: 1px solid var(--border-strong); border-radius: calc(var(--radius) + 6px);
  padding: 54px; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 540px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; }
.contact-list { display: grid; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ico { width: 48px; height: 48px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .ico svg { width: 22px; height: 22px; color: var(--accent); }
.contact-item .lbl { font-size: 0.82rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-item .val { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.contact-item .val a:hover { color: var(--accent); }
.contact-item .val span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.92rem; color: var(--muted); }

.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 340px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer p { color: var(--muted); font-size: 0.94rem; max-width: 320px; margin-top: 16px; }
.footer h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s ease; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--faint); font-size: 0.86rem; }

/* ---------- Animace při scrollu ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsivita ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features, .programs, .addons { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .nav-phone, .nav-cta .btn--primary { display: none; }
  .lang-switch { gap: 4px; }
  .lang-btn { width: 26px; height: 18px; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 18px 24px; align-items: flex-start;
  }
  .nav.open .nav-links a { padding: 8px 0; width: 100%; }
  .features, .programs, .addons, .stats, .steps, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .hero-float--tl { left: 8px; }
  .hero-float--br { right: 8px; }
  .cta-band { padding: 36px 24px; }
  .hero-actions .btn, .cta-band .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
