/* ============================================
   NUWORA — úvodní stránka v designu původního webu nuwora.cz
   (hero „Stavíme firmy. Ne jen stránky.“, Přístup, čísla, CTA)
   ============================================ */

:root {
  --l-fg:       #e6ecf3;
  --l-fg-dim:   #9aa6b6;
  --l-fg-mute:  #5c6675;
  --l-line:     rgba(140,170,200,0.12);
  --l-line-2:   rgba(140,170,200,0.22);
  --l-surface:  rgba(15,18,26,0.55);
  --l-accent:   #818CF8;
  --l-grad:     linear-gradient(100deg, #38BDF8 0%, #818CF8 50%, #A78BFA 100%);
  --l-max:      1320px;
  --l-pad:      clamp(20px, 4vw, 64px);
}

.hl-grad {
  background: var(--l-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* --- Hero --- */
#hero.hero-live {
  display: block;
  min-height: 100vh;
  padding: 0;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(110,231,255,0.06), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(184,164,255,0.05), transparent 60%),
    #050608;
}
/* --- Digitální obličej v pozadí všech stránek (js/face-bg.js) --- */
html { background: #050608; }
body { background: transparent; }
#face-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}
@media (max-width: 768px) { #face-bg { opacity: 0.3; } }
/* Sekce jsou poloprůhledné, aby obličej prosvítal (karty zůstávají plné) */
#hero.hero-live { background:
    radial-gradient(1200px 800px at 80% -10%, rgba(110,231,255,0.06), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(184,164,255,0.05), transparent 60%); }
#services, #process, #contact, .page-section.alt { background: rgba(8,11,18,0.62) !important; }
#about, #faq, #cta-banner, .page-section, .hl-section, #footer { background: rgba(5,6,8,0.45) !important; }
.page-hero { background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(99,102,241,0.12) 0%, transparent 70%) !important; }
.hl-wrap {
  position: relative;
  z-index: 2;
  max-width: var(--l-max);
  margin: 0 auto;
  padding: clamp(130px, 20vh, 200px) var(--l-pad) clamp(36px, 6vh, 64px);
}

.hl-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--l-fg-dim);
  padding: 8px 20px;
  border: 1px solid var(--l-line);
  border-radius: 999px;
  background: var(--l-surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  line-height: 1.4;
}
.hl-meta-list {
  display: flex; flex: 1; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 6px 10px;
}
.hl-meta-item { color: var(--l-fg-dim); transition: color .2s; }
a.hl-meta-item:hover { color: #fff; }
.hl-meta-sep { color: rgba(230,236,243,0.18); }
.status-dot {
  flex-shrink: 0;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sky);
  color: var(--sky);
  animation: statusPulse 2.6s ease-out infinite;
}
.status-dot--live { background: #4ade80; color: #4ade80; animation-delay: .5s; }
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70%  { box-shadow: 0 0 0 8px transparent; opacity: .4; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

.hl-title {
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(48px, 8.2vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 28px 0 28px;
  max-width: 18ch;
  text-wrap: balance;
  animation: fadeUp .8s .05s ease both;
}
.hl-dim { color: rgba(230,236,243,0.45); font-weight: 400; }

.hl-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--l-fg-dim);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0 0 36px;
  text-wrap: pretty;
  animation: fadeUp .8s .15s ease both;
}

/* Dovednosti v textu: zvýrazněné odkazy */
.hl-sub { max-width: 60ch; }
.hl-link {
  color: var(--l-fg);
  font-weight: 500;
  white-space: nowrap;
  background-image: linear-gradient(100deg, #38BDF8, #818CF8, #A78BFA);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
  transition: color .2s, background-size .25s;
}
.hl-link:hover, .hl-link:focus-visible {
  color: #fff;
  background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hl-link--accent { color: #7dd3fc; }
.hl-sub strong.hl-grad { font-weight: 600; }

.hl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 64px; animation: fadeUp .8s .25s ease both; }

/* Tlačítka jako na původním webu */
.lbtn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--head);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: 180ms;
  cursor: pointer;
}
.lbtn-primary { background: var(--l-fg); color: #050608; }
.lbtn-primary:hover { background: var(--l-accent); color: #04121a; transform: translateY(-1px); }
.lbtn-ghost {
  border-color: var(--l-line-2);
  color: var(--l-fg);
  background: var(--l-surface);
  backdrop-filter: blur(8px);
}
.lbtn-ghost:hover { border-color: var(--l-accent); color: var(--l-accent); }

.hl-proof {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--l-line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  justify-content: space-between;
  animation: fadeUp .8s .35s ease both;
}
.hl-proof li {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--l-fg-mute);
  display: inline-flex; align-items: baseline; gap: 8px;
  white-space: nowrap;
}
.hl-proof strong {
  font-family: var(--head);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--l-fg);
  text-transform: none;
}

.hl-marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--l-line);
  border-bottom: 1px solid var(--l-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hl-marquee-track {
  display: inline-flex;
  gap: 56px;
  padding-left: 56px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--l-fg-dim);
  animation: hlMarquee 38s linear infinite;
}
.hl-marquee-item::before { content: '◆'; color: var(--l-accent); margin-right: 16px; font-size: 10px; vertical-align: 1px; }
@keyframes hlMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hl-marquee-track { animation: none; } }

@media (max-width: 880px) {
  .hl-proof { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .hl-meta { border-radius: 14px; padding: 10px 14px; font-size: 10px; letter-spacing: .1em; align-items: flex-start; }
  .hl-meta .status-dot { margin-top: 4px; }
  .hl-meta-list { justify-content: flex-start; }
  .hl-cta .lbtn { flex: 1 1 100%; justify-content: center; }
  .hl-proof li { white-space: normal; }
}

/* --- Sekce v designu původního webu --- */
.hl-section { padding: clamp(80px, 12vh, 140px) 0 60px; background: var(--bg); }
.hl-head { margin-bottom: 56px; }
.hl-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--l-accent);
}
.hl-h2 {
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 14px 0 0;
}

.hl-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0; margin: 0; }
.hl-step {
  padding: 30px 26px 32px;
  border-radius: 18px;
  border: 1px solid var(--l-line);
  background: linear-gradient(180deg, rgba(5,6,8,0.88), rgba(5,6,8,0.95));
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 220ms ease, transform 220ms ease;
}
.hl-step:hover { border-color: rgba(129,140,248,0.4); transform: translateY(-2px); }
.hl-step-num { font-family: 'Syncopate', var(--head); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: .02em; color: var(--l-accent); margin-bottom: 10px; }
.hl-step-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--l-fg-mute); }
.hl-step-title { font-family: 'Syncopate', var(--head); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0; color: var(--l-fg); }
.hl-step p { color: var(--l-fg-dim); font-size: 14px; line-height: 1.55; margin: 0; }

.hl-stats {
  margin-top: 80px;
  padding: 32px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--l-line);
  border-bottom: 1px solid var(--l-line);
}
.hl-stat-n { font-family: var(--head); font-size: clamp(36px, 4vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--l-fg); }
.hl-stat-l { margin-top: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--l-fg-mute); }
@media (max-width: 880px) { .hl-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .hl-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hl-steps { grid-template-columns: 1fr; } }

#cta-banner.hl-section { padding-bottom: clamp(80px, 12vh, 140px); }
.hl-cta-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--l-line-2);
  border-radius: 24px;
  background:
    radial-gradient(800px 400px at 80% -20%, rgba(129,140,248,0.14), transparent 60%),
    rgba(5,6,8,0.9);
  padding: clamp(40px, 7vw, 80px);
}
.hl-cta-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--l-line) 1px, transparent 1px), linear-gradient(90deg, var(--l-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(500px 320px at 80% 0%, #000, transparent 70%);
          mask-image: radial-gradient(500px 320px at 80% 0%, #000, transparent 70%);
  opacity: .5;
  pointer-events: none;
}
.hl-cta-card > *:not(.hl-cta-grid) { position: relative; }
.hl-cta-title { font-family: var(--head); font-size: clamp(40px, 6vw, 72px); font-weight: 500; line-height: .98; letter-spacing: -0.035em; margin: 16px 0 18px; }
.hl-cta-sub { color: var(--l-fg-dim); font-size: clamp(15px, 1.2vw, 18px); max-width: 50ch; margin: 0 0 32px; line-height: 1.55; }
.hl-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Lišta a patička jako na původním webu */
.btn-nav.btn-nav-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head);
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--l-line-2);
  color: var(--l-fg);
}
.btn-nav.btn-nav-live:hover { border-color: var(--l-accent); color: var(--l-accent); box-shadow: none; }
@media (max-width: 768px) { .btn-nav.btn-nav-live { display: none; } }
/* Přepínač jazyka CS / EN v liště */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--l-line-2);
  border-radius: 999px;
  background: var(--l-surface);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.lang-opt {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--l-fg-dim);
  line-height: 1;
  transition: color .2s, background .2s;
}
a.lang-opt:hover, a.lang-opt:focus-visible { color: #fff; background: rgba(255,255,255,0.06); }
.lang-opt.active { color: #050608; background: var(--l-fg); }
.nav-lang-mobile { display: none; }
@media (max-width: 768px) {
  .nav-actions .lang-switch { font-size: 0.64rem; }
  .lang-opt { padding: 5px 7px; }
  /* v rozbaleném mobilním menu je přepínač vždy, větší a dobře klikatelný */
  .nav-links.open .nav-lang-mobile { display: block; margin-top: 8px; }
  .nav-links.open .nav-lang-mobile .lang-switch { font-size: 0.9rem; }
  .nav-links.open .nav-lang-mobile .lang-opt { font-size: 0.9rem; padding: 9px 16px; }
}
/* úzký tablet: menu + přepínač + telefon zaberou celou lištu, tlačítko poptávky (je i v menu jako Kontakt) skryjeme */
@media (min-width: 769px) and (max-width: 1000px) {
  .btn-nav.btn-nav-live { display: none; }
}
/* na úzkém telefonu se do lišty nevejde: zůstane jen v menu */
@media (max-width: 480px) {
  .nav-actions .lang-switch { display: none; }
}

.foot-status { display: inline-flex; align-items: center; gap: 8px; }
.foot-lock {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-right: 4px;
  border-radius: 6px;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity .2s, color .2s, background .2s;
}
.foot-lock:hover, .foot-lock:focus-visible { opacity: 1; color: var(--sky); background: rgba(56,189,248,0.08); }
