/* ---------- Base ---------- */
:root{
  --bg: #0b0c0f;
  --bg2: #0f1218;
  --card: rgba(255,255,255,.04);
  --stroke: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.52);
  --accent: rgba(255,255,255,.92);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% 0%, rgba(255,255,255,.06), transparent 60%),
              radial-gradient(900px 500px at 80% 20%, rgba(255,255,255,.04), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .92; }
img{ max-width:100%; display:block; }

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.muted{ color: var(--muted); }
.tiny{ font-size: 12px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11,12,15,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: .2px;
}
.brand-mark{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.30));
  box-shadow: 0 0 0 6px rgba(255,255,255,.05);
}
.brand-name{ font-size: 14px; }

.menu{
  display:flex;
  align-items:center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.menu a{ padding: 8px 10px; border-radius: 999px; }
.menu a:hover{ background: rgba(255,255,255,.06); color: var(--text); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: rgba(0,0,0,.92);
  font-weight: 650;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.btn:hover{ transform: translateY(-1px); }
.btn--ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
}
.btn--ghost:hover{ background: rgba(255,255,255,.06); }
.btn--small{ padding: 10px 14px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero{
  padding: 54px 0 46px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: stretch;
}

/* NEW: Single-column hero (když odstraníš pravý panel / teaser) */
.hero-grid--single{
  grid-template-columns: 1fr;
}
.hero-grid--single .hero-copy{
  max-width: 72ch;
}

/* Optional fallback: pokud někde zůstane hero-grid bez hero-panelu */
@media (min-width: 901px){
  .hero-grid:not(:has(.hero-panel)){
    grid-template-columns: 1fr;
  }
  .hero-grid:not(:has(.hero-panel)) .hero-copy{
    max-width: 72ch;
  }
}

.kicker{
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  margin: 0 0 14px;
}
.hero h1{
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.lead{
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 56ch;
}
.hero-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-badges{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.badge{
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.badge-title{
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 4px;
}
.badge-value{
  font-size: 13px;
  color: var(--text);
}

/* Hero panel placeholder (pokud ho někdy vrátíš) */
.hero-panel{
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
  position: relative;
}
.panel-inner{
  height: 100%;
  padding: 18px;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
}
.panel-line{
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  opacity: .6;
}
.panel-text{
  padding-top: 18px;
}
.panel-title{
  font-weight: 650;
  margin-bottom: 6px;
}
.panel-sub{
  color: var(--muted);
  font-size: 13px;
}

/* Skrytý H1 pro SEO (zůstává přístupný pro čtečky) */
.sr-only{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero-brand--split {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 48px;
  align-items: center;
  max-width: 900px;
}

/* logo držíme pevně */
.hero-logo img {
  max-width: 420px;
  height: auto;
  display: block;
}

/* text kopíruje výšku + rytmus loga */
.hero-copytext {
  max-width: 420px;
}

.hero-copytext .lead {
  margin-top: 0;
}

/* CTA lehce odlepíme */
.hero-copytext .hero-cta {
  margin-top: 22px;
}

/* ---------- Sections ---------- */
.section{
  padding: 72px 0;
}
.section--alt{
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.section-head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.section-head h2{
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.section-head p{
  margin: 0;
  max-width: 62ch;
}

/* ---------- Showreel section (NEW) ---------- */
/* sekce mezi Hero a Work */
.section.showreel{
  padding-top: 56px;
}

/* Cinematic frame pro fullscreen showreel */
.showreel-frame{
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  position: relative;
  min-height: min(78vh, 760px);
}

/* Placeholder dokud není video */
.showreel-placeholder{
  min-height: min(78vh, 760px);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 24px;
  color: rgba(255,255,255,.55);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}

/* Pokud později odkomentuješ iframe, bude sedět přesně do frame */
.showreel-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------- Work grid ---------- */
.work-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.work-card{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.work-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}
.work-thumb{
  height: 160px;
  background:
    radial-gradient(600px 260px at 20% 10%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.work-meta{
  padding: 14px;
}
.work-title{
  font-weight: 650;
  margin-bottom: 6px;
}
.work-tags{
  color: var(--muted2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* ---------- Service cards ---------- */
.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.card{
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.card h3{ margin: 0 0 10px; font-size: 16px; }
.card p{ margin: 0 0 12px; color: var(--muted); }
.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{ margin: 6px 0; }

/* ---------- Steps ---------- */
.steps{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.step{
  display:flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.step-num{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
  font-weight: 700;
}
.step-body h3{ margin: 0 0 6px; font-size: 16px; }
.step-body p{ margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.about{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: start;
}
.about-copy h2{ margin-top: 0; }
.about-panel{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  overflow:hidden;
}
.about-placeholder{
  height: 260px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted2);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}

/* ---------- Contact ---------- */
.contact{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: start;
}
.contact-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 8px;
}
.contact-panel{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 18px;
}
.contact-box-title{
  font-weight: 650;
  margin-bottom: 10px;
}
.contact-box-row{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--muted);
}
.contact-box-row span{
  color: rgba(255,255,255,.86);
}

/* ---------- Footer ---------- */
.site-footer{
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--muted);
}
.footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .menu{ display:none; } /* později můžeme dát mobile menu */

  .hero-grid,
  .about,
  .contact{
    grid-template-columns: 1fr;
  }

  .hero-panel{ min-height: 220px; }

  .work-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cards{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .hero-badges{ grid-template-columns: 1fr; }

  /* Showreel na mobilech o chlup menší, ať to není “nekonečné” */
  .showreel-frame,
  .showreel-placeholder{
    min-height: min(62vh, 560px);
  }
}

@media (max-width: 560px){
  .work-grid{ grid-template-columns: 1fr; }
}
