@font-face {
  font-family: "InterVar";
  src: local("Inter var"), local("InterVar");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0f1115;
  --panel: #141823;
  --text: #e6e8ee;
  --muted: #aab0c0;
  --line: #232838;
  --accent-c: #00ffff; /* C */
  --accent-m: #ff00ff; /* M */
  --accent-y: #ffff00; /* Y */
  --accent-k: #00e2ff; /* stylizovaná černá do modra */
  --primary: #7bdcff; /* jemný CMYK akcent */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --container: 1100px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background:
    /* jemný šedý pattern (drobné tečky) */
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 1.6px) 0 0 / 14px 14px,
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 1.6px) 7px 7px / 14px 14px,
    /* maska středu – vyčistí střed stránky, střepy zůstanou více po stranách */
    radial-gradient(ellipse at 50% 50%, var(--bg) 0 34%, rgba(15,17,21,0.0) 45%) 0 0 / 100% 100% no-repeat,
    /* tři decentní „střepy“ po celé stránce (velké, řídké dlaždice) */
    conic-gradient(from 30deg, rgba(0,226,255,0.14) 0 16deg, transparent 16deg) 85% 8% / 1300px 1300px repeat,
    conic-gradient(from -10deg, rgba(255,0,255,0.12) 0 14deg, transparent 14deg) 12% 72% / 1100px 1100px repeat,
    conic-gradient(from 190deg, rgba(255,255,0,0.10) 0 12deg, transparent 12deg) 65% 120% / 1600px 1600px repeat,
    var(--bg);
  color: var(--text);
  font: 16px/1.6 "Nunito Sans", InterVar, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15,17,21,0.75);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: center; height: 64px; }
.logo, .logo-image { display: none; }
.nav { display: flex; gap: 0; align-items: center; justify-content: center; width: 100%; }
.nav a { position: relative; display: inline-flex; align-items: center; }
.nav a + a::before { content: "~"; color: var(--muted); opacity: .7; margin: 0 14px; }
.nav a { color: var(--text); text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; }
.cta-primary, .cta-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-family: "Poppins", InterVar, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial; text-transform: uppercase; }
.cta-primary { background: linear-gradient(180deg, #9ee8ff, #65d6ff); color: #0a0d12; box-shadow: var(--shadow); }
.cta-primary:hover { filter: brightness(1.05); }
.cta-secondary { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.02); }

.hero { padding: 72px 0 48px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.hero h1 { margin: 0 0 12px; letter-spacing: -0.02em; font-size: clamp(28px, 5vw, 46px); font-family: "Poppins", InterVar, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial; font-weight: 700; }
.lead { color: var(--muted); margin: 0 0 20px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.trust-badges { display: flex; gap: 14px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 14px; }
.hero-media { display: grid; place-items: center; }
.hero-art {
  width: min(520px, 92%); height: 320px; border-radius: var(--radius);
  border: 1px solid #414141;
  background:
    radial-gradient(120px 120px at 20% 20%, rgba(255,0,255,0.4), transparent) padding-box,
    radial-gradient(160px 160px at 80% 60%, rgba(0,226,255,0.35), transparent) padding-box,
    linear-gradient(160deg, #1b2231, #0f1115) padding-box;
  box-shadow: var(--shadow), 0 14px 22px rgba(0, 0, 0, 0.42);
  display: grid; place-items: center; padding: 20px;
}
.hero-logo { width: 80%; height: auto; max-height: 200px; filter: drop-shadow(0 6px 22px rgba(0,0,0,.4)); }

.section { padding: 56px 0; }
.section h2 { margin: 0 0 22px; font-size: clamp(22px, 3.8vw, 34px); letter-spacing: -0.01em; font-family: "Poppins", InterVar, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial; font-weight: 700; }
.narrow { max-width: 800px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  border: 1px solid transparent; border-radius: var(--radius-sm); padding: 18px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    conic-gradient(from 160deg, var(--accent-c), var(--accent-m), var(--accent-y), var(--accent-c)) border-box;
}
.service-card h3 { margin: 0 0 6px; font-size: 18px; font-family: "Poppins", InterVar, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial; font-weight: 700; }
.service-card p { margin: 0; color: var(--muted); }

.section-about p { color: var(--muted); }

/* Subtilní box pro textové sekce O nás a FAQ */
.section-about .narrow,
.section-faq .narrow {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  padding: 18px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.gallery-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.gallery-item {
  border: 1px solid transparent; border-radius: 12px; overflow: hidden;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    conic-gradient(from 160deg, var(--accent-c), var(--accent-m), var(--accent-y), var(--accent-c)) border-box;
}
.gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #121722; }
.gallery-item { text-align: center; width: 260px; }
.gallery-item figcaption { padding: 10px; color: var(--muted); font-size: 14px; text-align: center; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.75); display: grid; place-items: center; z-index: 10000; }
.lightbox[hidden] { display: none; }
.lightbox-content { max-width: min(92vw, 1080px); max-height: 88vh; display: grid; grid-template-rows: 1fr auto; gap: 10px; }
.lightbox-content img { width: 100%; height: 100%; object-fit: contain; background: #0d111a; border-radius: 12px; border: 1px solid var(--line); }
.lightbox-caption { text-align: center; color: var(--muted); font-size: 14px; }
.lightbox-close { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.08); border: 1px solid var(--line); color: var(--text); border-radius: 999px; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; }

.section-contact .contact-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.contact-form {
  border: 1px solid transparent; border-radius: var(--radius); padding: 18px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    conic-gradient(from 160deg, var(--accent-c), var(--accent-m), var(--accent-y), var(--accent-c)) border-box;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
/* honeypot */
.field.hp { display: none; }
label { color: var(--muted); font-size: 14px; }
input, textarea, select { width: 100%; background: #0c1019; border: 1px solid #22283a; color: var(--text); border-radius: 12px; padding: 12px 12px; outline: none; }
input:focus, textarea:focus, select:focus { border-color: #2e3650; box-shadow: 0 0 0 3px rgba(123,220,255,0.15); }
.form-actions { display: flex; gap: 12px; align-items: center; }
#form-status { color: var(--muted); font-size: 14px; }
.form-note { color: var(--muted); font-size: 12px; margin: 8px 0 0; }

.contact-aside .quick-contacts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.qc { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; }
.qc:hover { background: rgba(255,255,255,0.06); }
.map-ph {
  height: 180px; border: 1px solid transparent; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  background:
    linear-gradient(180deg, #1a2130, #10161f) padding-box,
    conic-gradient(from 160deg, var(--accent-c), var(--accent-m), var(--accent-y), var(--accent-c)) border-box;
}
.address { color: var(--muted); font-size: 14px; }

.site-footer { border-top: 1px solid var(--line); padding: 18px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.to-top { color: var(--muted); text-decoration: none; }
.to-top:hover { color: var(--text); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: #0c1019; color: var(--text); border: 1px solid var(--line);
  padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow);
  z-index: 9999;
}

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000;
  background: rgba(15,17,21,0.98);
  border-top: 1px solid var(--line);
}
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.cookie-text { margin: 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .cta-primary, .cookie-actions .cta-secondary { padding: 10px 14px; }

@media (max-width: 720px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: flex-end; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .section-contact .contact-wrap { grid-template-columns: 1fr; }
  /* širší karta na tabletu */
  .gallery-item { width: 300px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  /* karta přes celou šířku na mobilu */
  .gallery-item { width: 100%; }
}


