/* =========================================================================
   L-WEB — stylesheet v2
   Modern, animated, glass/aurora agency look. Dark by default, with a
   light theme toggle (data-theme="light" on <html>).
   ========================================================================= */

:root{
  --font-display:'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body:'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono:'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.13rem + 0.35vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.7vw, 1.95rem);
  --step-3:  clamp(1.95rem, 1.65rem + 1.4vw, 2.75rem);
  --step-4:  clamp(2.5rem, 2.0rem + 2.4vw, 4rem);
  --step-5:  clamp(3rem, 2.2rem + 3.8vw, 5.6rem);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --content-max: 75rem;
  --measure: 62ch;
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-out: cubic-bezier(.22,.61,.36,1);

  /* ---- accent gradient (shared by both themes) ---- */
  --grad-1:#7c5cff;   /* violet   */
  --grad-2:#22d3ee;   /* cyan     */
  --grad-3:#ff5fa2;   /* pink     */
  --gradient: linear-gradient(120deg, var(--grad-1), var(--grad-2) 55%, var(--grad-3));
  --gradient-text: linear-gradient(90deg, var(--grad-2), var(--grad-1) 50%, var(--grad-3));

  /* ---- dark theme (default) ---- */
  --bg:#05070d;
  --bg-soft:#0a0e1a;
  --bg-elevated:#0e1424;
  --surface:rgba(255,255,255,.045);
  --surface-strong:rgba(255,255,255,.075);
  --border:rgba(255,255,255,.1);
  --border-strong:rgba(255,255,255,.18);
  --text:#f2f4fa;
  --text-dim:#a2aabd;
  --text-faint:#6d768c;
  --shadow: 0 20px 60px -20px rgba(0,0,0,.6);
  --glow-op:.55;
  color-scheme: dark;
}

html[data-theme="light"]{
  --bg:#f3f4fa;
  --bg-soft:#ffffff;
  --bg-elevated:#ffffff;
  --surface:rgba(15,20,40,.04);
  --surface-strong:rgba(15,20,40,.06);
  --border:rgba(15,20,40,.09);
  --border-strong:rgba(15,20,40,.16);
  --text:#0e1220;
  --text-dim:#525a6e;
  --text-faint:#848da3;
  --shadow: 0 20px 50px -22px rgba(30,35,60,.25);
  --glow-op:.28;
  color-scheme: light;
}

/* ---------------------------------------------------------------------- */
/* Reset                                                                   */
/* ---------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:var(--step-0);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  transition:background .4s var(--ease), color .4s var(--ease);
  overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; }
h1,h2,h3,h4,p,figure,ul,ol{ margin:0; }
ul{ padding:0; list-style:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
input,select,textarea{ font:inherit; color:inherit; }
:focus-visible{ outline:2px solid var(--grad-2); outline-offset:3px; border-radius:4px; }

.visually-hidden{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:1rem; top:-4rem; z-index:300;
  background:var(--grad-2); color:#031018; padding:.7rem 1.1rem;
  font-family:var(--font-mono); font-size:var(--step--1); text-decoration:none;
  border-radius:8px; transition:top .2s var(--ease);
}
.skip-link:focus{ top:1rem; }

/* ---------------------------------------------------------------------- */
/* Ambient background: aurora blobs + grain, fixed behind everything      */
/* ---------------------------------------------------------------------- */
.aurora{
  position:fixed; inset:0; z-index:-2; overflow:hidden; pointer-events:none;
}
.aurora span{
  position:absolute; border-radius:50%; filter:blur(90px);
  opacity:var(--glow-op); mix-blend-mode:normal;
  will-change:transform;
}
.aurora .a1{ width:46vw; height:46vw; left:-10vw; top:-14vw; background:var(--grad-1); animation:drift1 26s ease-in-out infinite; }
.aurora .a2{ width:38vw; height:38vw; right:-8vw; top:6vw; background:var(--grad-2); animation:drift2 32s ease-in-out infinite; }
.aurora .a3{ width:40vw; height:40vw; left:20vw; bottom:-20vw; background:var(--grad-3); animation:drift3 30s ease-in-out infinite; }
@keyframes drift1{ 0%,100%{ transform:translate(0,0) scale(1); } 50%{ transform:translate(6vw,8vw) scale(1.12); } }
@keyframes drift2{ 0%,100%{ transform:translate(0,0) scale(1); } 50%{ transform:translate(-7vw,5vw) scale(1.08); } }
@keyframes drift3{ 0%,100%{ transform:translate(0,0) scale(1); } 50%{ transform:translate(4vw,-6vw) scale(1.1); } }
@media (prefers-reduced-motion:reduce){ .aurora span{ animation:none; } }

.grain{
  position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.035; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* cursor spotlight that follows the pointer in the hero */
.spotlight{
  position:absolute; inset:0; pointer-events:none; z-index:1;
  background:radial-gradient(560px circle at var(--sx,50%) var(--sy,20%), rgba(255,255,255,.08), transparent 60%);
  opacity:0; transition:opacity .4s var(--ease);
}
.spotlight.is-active{ opacity:1; }
html[data-theme="light"] .spotlight{ background:radial-gradient(560px circle at var(--sx,50%) var(--sy,20%), rgba(15,20,40,.05), transparent 60%); }

/* ---------------------------------------------------------------------- */
/* Scroll progress bar                                                     */
/* ---------------------------------------------------------------------- */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%; z-index:250;
  background:var(--gradient); transition:width .08s linear;
}

/* ---------------------------------------------------------------------- */
/* Layout helpers                                                          */
/* ---------------------------------------------------------------------- */
.wrap{ max-width:var(--content-max); margin-inline:auto; padding-inline:var(--gutter); position:relative; }
.section{ padding-block:clamp(4rem, 9vw, 8rem); position:relative; }

.section-head{ max-width:38rem; margin-bottom:clamp(2.2rem,5vw,3.8rem); }
.eyebrow{
  display:inline-flex; align-items:center; gap:.55em;
  font-family:var(--font-mono); font-size:var(--step--1);
  color:var(--text-dim); letter-spacing:.02em;
}
.eyebrow::before{
  content:''; width:7px; height:7px; border-radius:50%;
  background:var(--gradient); flex:none;
  box-shadow:0 0 12px 1px var(--grad-2);
}
.section-head h2{
  font-family:var(--font-display); font-size:var(--step-3); line-height:1.1; font-weight:600;
  letter-spacing:-.01em; margin-top:.9rem;
}
.section-head p{ margin-top:1rem; color:var(--text-dim); max-width:34rem; }

/* gradient text utility — used once per section at most */
.grad-text{
  background:var(--gradient-text); background-size:220% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:gradient-pan 8s linear infinite;
}
@keyframes gradient-pan{ to{ background-position:220% center; } }

/* ---------------------------------------------------------------------- */
/* Glass surface component                                                 */
/* ---------------------------------------------------------------------- */
.glass{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  box-shadow:var(--shadow);
}

/* card with animated gradient border on hover + subtle 3D tilt (JS) */
.tilt-card{
  position:relative; transform-style:preserve-3d; will-change:transform;
  transition:transform .4s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.tilt-card::before{
  content:''; position:absolute; inset:-1px; border-radius:inherit; padding:1px;
  background:var(--gradient); opacity:0; transition:opacity .35s var(--ease); pointer-events:none;
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
}
.tilt-card:hover::before, .tilt-card:focus-within::before{ opacity:1; }
.tilt-card:hover, .tilt-card:focus-within{ border-color:transparent; box-shadow:0 24px 60px -18px rgba(124,92,255,.35); }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                  */
/* ---------------------------------------------------------------------- */
.btn{
  position:relative; display:inline-flex; align-items:center; gap:.55rem;
  padding:.9rem 1.7rem; font-family:var(--font-body); font-weight:600; font-size:var(--step--1);
  text-decoration:none; border-radius:999px; border:1px solid transparent;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space:nowrap; isolation:isolate; overflow:hidden;
}
.btn:active{ transform:scale(.97); }
.btn-primary{
  color:#050a14; background:var(--gradient); background-size:180% 180%;
  box-shadow:0 8px 30px -8px rgba(124,92,255,.6);
  animation:btn-sheen 6s ease infinite;
}
@keyframes btn-sheen{ 0%,100%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 36px -10px rgba(124,92,255,.75); }
.btn-ghost{ border-color:var(--border-strong); color:var(--text); background:var(--surface); }
.btn-ghost:hover{ border-color:var(--grad-2); color:var(--text); transform:translateY(-2px); }
.btn-block{ width:100%; justify-content:center; }

/* ---------------------------------------------------------------------- */
/* Header                                                                   */
/* ---------------------------------------------------------------------- */
.site-header{
  position:sticky; top:0; z-index:150;
  padding-block:.4rem;
  transition:padding .3s var(--ease);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:4.2rem; padding-inline:1.2rem;
  background:var(--surface); border:1px solid var(--border); border-radius:999px;
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  transition:background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
  max-width:calc(var(--content-max) - var(--gutter) * 0.4);
  margin-inline:auto;
}
.site-header.is-scrolled .wrap{ box-shadow:var(--shadow); height:3.6rem; }

.brand{ display:flex; align-items:center; gap:.6rem; text-decoration:none; }
.brand-mark{ width:30px; height:30px; flex:none; }
.brand-word{ font-family:var(--font-display); font-weight:600; font-size:1.05rem; letter-spacing:-.01em; color:var(--text); }

.nav-list{ display:flex; align-items:center; gap:clamp(1rem,2.2vw,1.9rem); }
.nav-list a{
  position:relative; text-decoration:none; font-size:var(--step--1); color:var(--text-dim);
  padding:.3rem .1rem; transition:color .2s var(--ease);
}
.nav-list a::after{
  content:''; position:absolute; left:0; right:100%; bottom:-4px; height:2px;
  background:var(--gradient); border-radius:2px; transition:right .3s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active{ color:var(--text); }
.nav-list a:hover::after, .nav-list a.is-active::after{ right:0; }
.nav-cta{ display:none; }

.theme-toggle{
  width:2.5rem; height:2.5rem; flex:none; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border-strong); background:var(--surface);
  transition:border-color .25s var(--ease), transform .25s var(--ease);
}
.theme-toggle:hover{ border-color:var(--grad-2); transform:rotate(-12deg); }
.theme-toggle svg{ width:17px; height:17px; }
.theme-toggle .i-sun{ display:none; }
html[data-theme="light"] .theme-toggle .i-sun{ display:block; }
html[data-theme="light"] .theme-toggle .i-moon{ display:none; }

.nav-toggle{
  display:flex; align-items:center; justify-content:center;
  width:2.5rem; height:2.5rem; border-radius:50%;
  border:1px solid var(--border-strong); background:var(--surface);
}
.nav-toggle svg{ width:16px; height:16px; }
.nav-toggle .icon-close{ display:none; }
.nav-toggle[aria-expanded="true"] .icon-open{ display:none; }
.nav-toggle[aria-expanded="true"] .icon-close{ display:block; }

.header-actions{ display:flex; align-items:center; gap:.6rem; }

@media (max-width:860px){
  .primary-nav{
    position:fixed; inset:5.4rem 1rem auto 1rem; z-index:140;
    background:var(--bg-elevated); border:1px solid var(--border); border-radius:var(--radius-lg);
    padding:1.6rem; box-shadow:var(--shadow);
    transform:translateY(-12px) scale(.98); opacity:0; visibility:hidden;
    transition:opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .primary-nav.is-open{ opacity:1; transform:translateY(0) scale(1); visibility:visible; }
  .nav-list{ flex-direction:column; align-items:flex-start; gap:1.2rem; }
  .nav-list a{ font-size:var(--step-1); font-family:var(--font-display); }
  .nav-list a::after{ display:none; }
  .nav-cta{ display:inline-flex; margin-top:1.6rem; }
}
@media (min-width:861px){
  .nav-toggle{ display:none; }
  .primary-nav{ display:flex; align-items:center; gap:2rem; }
  .nav-cta{ display:inline-flex; }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                     */
/* ---------------------------------------------------------------------- */
.hero{ position:relative; overflow:hidden; padding-block:clamp(4rem,10vw,7rem) clamp(3rem,7vw,5rem); }
.hero .wrap{ position:relative; z-index:2; display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(2rem,5vw,4rem); align-items:center; }

.hero-copy .eyebrow{ margin-bottom:1.3rem; opacity:0; animation:rise .7s var(--ease) .1s forwards; }
.hero h1{
  font-family:var(--font-display); font-weight:600; letter-spacing:-.02em;
  font-size:var(--step-5); line-height:1.03; color:var(--text);
  opacity:0; animation:rise .8s var(--ease) .22s forwards;
}
.hero .lede{
  margin-top:1.5rem; font-size:var(--step-1); color:var(--text-dim); max-width:34rem;
  opacity:0; animation:rise .8s var(--ease) .36s forwards;
}
.hero-actions{
  display:flex; flex-wrap:wrap; gap:1rem; margin-top:2.3rem;
  opacity:0; animation:rise .8s var(--ease) .5s forwards;
}
@keyframes rise{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }

.hero-visual{
  position:relative; aspect-ratio:1/1; max-width:420px; margin-inline:auto;
  opacity:0; animation:rise-scale .9s var(--ease) .3s forwards;
}
@keyframes rise-scale{ from{ opacity:0; transform:translateY(20px) scale(.94); } to{ opacity:1; transform:none; } }

.orb-scene{ position:relative; width:100%; height:100%; }
.orb-core{
  position:absolute; inset:12%; border-radius:50%;
  background:conic-gradient(from 0deg, var(--grad-1), var(--grad-2), var(--grad-3), var(--grad-1));
  filter:blur(2px); animation:spin-core 16s linear infinite;
  box-shadow:0 0 90px 10px rgba(124,92,255,.35);
}
.orb-core::after{
  content:''; position:absolute; inset:10px; border-radius:50%;
  background:var(--bg); opacity:.94;
}
@keyframes spin-core{ to{ transform:rotate(360deg); } }

.orbit{ position:absolute; inset:0; border:1px dashed var(--border-strong); border-radius:50%; }
.orbit.o1{ animation:spin 22s linear infinite; }
.orbit.o2{ inset:8%; animation:spin-rev 30s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
@keyframes spin-rev{ to{ transform:rotate(-360deg); } }
.orbit-dot{
  position:absolute; width:12px; height:12px; border-radius:50%; top:-6px; left:calc(50% - 6px);
  background:var(--grad-2); box-shadow:0 0 16px 3px var(--grad-2);
}
.orbit.o2 .orbit-dot{ background:var(--grad-3); box-shadow:0 0 16px 3px var(--grad-3); top:auto; bottom:-6px; }

.orb-check{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; z-index:1;
}
.orb-check svg{ width:64px; height:64px; color:var(--text); }
.orb-check path{ stroke-dasharray:60; stroke-dashoffset:60; animation:draw-check 1s var(--ease) 1.1s forwards; }
@keyframes draw-check{ to{ stroke-dashoffset:0; } }

.hero-tags{ display:flex; gap:.6rem; flex-wrap:wrap; margin-top:1.6rem; justify-content:center; }
.hero-tags span{
  font-family:var(--font-mono); font-size:.72rem; color:var(--text-dim);
  border:1px solid var(--border); border-radius:999px; padding:.35rem .75rem;
}
@media (prefers-reduced-motion:reduce){
  .hero-copy .eyebrow, .hero h1, .hero .lede, .hero-actions, .hero-visual{ opacity:1; animation:none; transform:none; }
  .orb-core, .orbit{ animation:none; }
}
@media (max-width:860px){
  .hero .wrap{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:260px; }
}

/* ---------------------------------------------------------------------- */
/* Feature grid ("Proč L-Web")                                             */
/* ---------------------------------------------------------------------- */
.spec-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.1rem; }
.spec-item{ padding:2rem 1.7rem; }
.spec-item .icon-wrap{
  width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:var(--gradient); background-size:180% 180%;
  transition:background-position .4s var(--ease);
}
.spec-item:hover .icon-wrap{ background-position:100% 100%; }
.spec-item svg{ width:22px; height:22px; color:#050a14; }
.spec-item h3{ font-family:var(--font-display); font-size:var(--step-1); font-weight:600; margin-top:1.2rem; }
.spec-item p{ margin-top:.6rem; color:var(--text-dim); font-size:var(--step--1); line-height:1.6; }
@media (max-width:760px){ .spec-grid{ grid-template-columns:1fr; } }
@media (min-width:761px) and (max-width:1020px){ .spec-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------------------------------------------------------------------- */
/* Portfolio ("Projekty")                                                  */
/* ---------------------------------------------------------------------- */
.folio-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.2rem,2.5vw,1.8rem); }
.folio-card{ padding:1.1rem; text-decoration:none; color:inherit; display:block; }
.folio-swatch{
  height:170px; position:relative; overflow:hidden; border-radius:14px;
}
.folio-swatch svg{ width:100%; height:100%; transition:transform .5s var(--ease); }
.folio-card:hover .folio-swatch svg{ transform:scale(1.06); }
.folio-tag{ margin-top:1.2rem; font-family:var(--font-mono); font-size:.72rem; color:var(--text-dim); }
.folio-card h3{ font-family:var(--font-display); font-size:var(--step-1); font-weight:600; margin-top:.5rem; }
.folio-card p{ margin-top:.5rem; color:var(--text-dim); font-size:var(--step--1); }
.folio-card .see{ margin-top:1rem; display:inline-flex; align-items:center; gap:.4rem; font-size:var(--step--1); color:var(--text); font-weight:600; }
.folio-card .see svg{ width:13px; height:13px; transition:transform .25s var(--ease); }
.folio-card:hover .see svg{ transform:translate(3px,-3px); }
@media (max-width:900px){ .folio-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------------------------------- */
/* Pricing ("Balíčky") — segmented switcher                                */
/* ---------------------------------------------------------------------- */
.pkg-switch{
  position:relative; display:inline-flex; gap:.2rem; overflow-x:auto;
  padding:.35rem; border-radius:999px; background:var(--surface); border:1px solid var(--border);
  margin-bottom:2.4rem; scrollbar-width:none; max-width:100%;
}
.pkg-switch::-webkit-scrollbar{ display:none; }
.pkg-tab{
  position:relative; z-index:1; flex:none; padding:.7rem 1.15rem; border-radius:999px;
  font-size:var(--step--1); font-weight:600; color:var(--text-dim); white-space:nowrap;
  transition:color .3s var(--ease);
}
.pkg-tab.is-active{ color:#050a14; }
.pkg-switch-indicator{
  position:absolute; top:.35rem; bottom:.35rem; left:.35rem; width:0; border-radius:999px;
  background:var(--gradient); z-index:0; transition:transform .35s var(--ease), width .35s var(--ease);
}
.pkg-tab .rec{ margin-left:.4em; }

.pkg-track-wrap{ position:relative; }
.pkg-track{
  display:flex; gap:1.2rem; overflow-x:auto; scroll-snap-type:x mandatory;
  padding:.4rem .4rem 1rem; scrollbar-width:none;
}
.pkg-track::-webkit-scrollbar{ display:none; }
.pkg-card{
  scroll-snap-align:start; flex:0 0 min(100%,320px);
  padding:1.9rem 1.7rem; display:flex; flex-direction:column;
}
.pkg-card.is-rec{ background:linear-gradient(165deg, rgba(124,92,255,.14), var(--surface) 60%); border-color:rgba(124,92,255,.35); }
.pkg-top{ display:flex; align-items:center; justify-content:space-between; }
.pkg-name{ font-family:var(--font-display); font-size:var(--step-1); font-weight:600; }
.pkg-badge{
  font-family:var(--font-mono); font-size:.68rem; color:#050a14; background:var(--gradient); border-radius:999px; padding:.25rem .6rem;
}
.pkg-price{ font-family:var(--font-display); font-size:var(--step-3); margin-top:1rem; font-weight:600; }
.pkg-price small{ font-family:var(--font-mono); font-size:var(--step--1); font-weight:400; color:var(--text-dim); }
.pkg-desc{ margin-top:.6rem; color:var(--text-dim); font-size:var(--step--1); min-height:2.6em; }
.pkg-rule{ height:1px; background:var(--border); margin:1.3rem 0; }
.pkg-feats{ display:grid; gap:.65rem; flex:1; }
.pkg-feats li{ display:flex; gap:.6rem; font-size:var(--step--1); color:var(--text-dim); }
.pkg-feats svg{ width:14px; height:14px; flex:none; margin-top:.2rem; color:var(--grad-2); }
.pkg-time{ margin-top:1.3rem; display:flex; align-items:center; gap:.5rem; font-family:var(--font-mono); font-size:.78rem; color:var(--text-dim); }
.pkg-time .count{ color:var(--text); font-weight:600; }
.pkg-card .btn{ margin-top:1.3rem; }

.pkg-nav{ display:flex; gap:.6rem; justify-content:flex-end; margin-top:.4rem; }
.pkg-arrow{
  width:2.6rem; height:2.6rem; border-radius:50%; border:1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center; transition:border-color .25s var(--ease), transform .2s var(--ease);
}
.pkg-arrow:hover{ border-color:var(--grad-2); transform:translateY(-2px); }
.pkg-arrow svg{ width:16px; height:16px; }
.pkg-note{ margin-top:2rem; color:var(--text-dim); font-size:var(--step--1); }
.pkg-note a{ color:var(--text); text-decoration:underline; text-decoration-color:var(--grad-2); text-underline-offset:.2em; }

/* ---------------------------------------------------------------------- */
/* Contact                                                                  */
/* ---------------------------------------------------------------------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,4rem); align-items:center; }
.contact-copy h2{ font-family:var(--font-display); font-size:var(--step-3); font-weight:600; }
.contact-copy p{ margin-top:1rem; color:var(--text-dim); max-width:32rem; }
.contact-copy .btn{ margin-top:1.6rem; }

.plaque{ padding:2rem; }
.plaque dl{ display:grid; gap:1.1rem; }
.plaque dt{ font-family:var(--font-mono); font-size:.72rem; color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em; }
.plaque dd{ margin:.25rem 0 0; font-size:var(--step-0); }
.plaque a{ text-decoration:none; border-bottom:1px solid var(--border-strong); transition:border-color .2s var(--ease), color .2s var(--ease); }
.plaque a:hover{ border-color:var(--grad-2); color:var(--grad-2); }
@media (max-width:800px){ .contact-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */
.site-footer{ border-top:1px solid var(--border); padding-block:2.2rem; position:relative; z-index:1; }
.site-footer .wrap{ display:flex; flex-wrap:wrap; gap:1rem; align-items:center; justify-content:space-between; }
.footer-legal{ display:flex; gap:1.4rem; flex-wrap:wrap; font-size:var(--step--1); color:var(--text-dim); }
.footer-legal a{ text-decoration:none; }
.footer-legal a:hover{ color:var(--grad-2); }
.footer-copy{ font-family:var(--font-mono); font-size:.78rem; color:var(--text-faint); }
.back-top{ display:inline-flex; align-items:center; gap:.4rem; font-family:var(--font-mono); font-size:.78rem; color:var(--text-dim); text-decoration:none; transition:color .2s var(--ease); }
.back-top:hover{ color:var(--grad-2); }
.back-top svg{ width:12px; height:12px; }

/* ---------------------------------------------------------------------- */
/* Sub-page hero (Ceník / Poptávka / legal)                                */
/* ---------------------------------------------------------------------- */
.page-hero{ padding-block:clamp(3.4rem,7vw,5.5rem) clamp(2.2rem,4vw,3.2rem); position:relative; overflow:hidden; }
.page-hero .wrap{ position:relative; z-index:1; }
.page-hero .crumb{ display:inline-flex; align-items:center; gap:.5rem; font-family:var(--font-mono); font-size:var(--step--1); color:var(--text-dim); text-decoration:none; }
.page-hero .crumb:hover{ color:var(--grad-2); }
.page-hero h1{ font-family:var(--font-display); font-size:var(--step-4); font-weight:600; margin-top:1.1rem; letter-spacing:-.015em; }
.page-hero .lede{ margin-top:1rem; color:var(--text-dim); max-width:38rem; }

/* ---------------------------------------------------------------------- */
/* Ceník table page                                                         */
/* ---------------------------------------------------------------------- */
.price-list{ display:grid; gap:1.1rem; }
.price-row{ padding:2rem clamp(1.2rem,3vw,2.4rem); display:grid; grid-template-columns:1.4fr 2fr .9fr; gap:1.6rem; }
.price-row.is-rec{ background:linear-gradient(165deg, rgba(124,92,255,.12), var(--surface) 60%); border-color:rgba(124,92,255,.35); }
.price-row-head{ display:flex; flex-direction:column; gap:.6rem; }
.price-row-head .pkg-name{ display:flex; align-items:center; gap:.6rem; }
.price-row-head .price{ font-family:var(--font-display); font-size:var(--step-2); font-weight:600; }
.price-row-head .deliver{ font-family:var(--font-mono); font-size:.78rem; color:var(--text-dim); }
.price-row-desc p{ color:var(--text-dim); font-size:var(--step--1); margin-bottom:1rem; }
.price-row-desc ul{ display:grid; gap:.55rem; grid-template-columns:1fr 1fr; }
.price-row-desc li{ display:flex; gap:.55rem; font-size:var(--step--1); color:var(--text-dim); }
.price-row-desc svg{ width:13px; height:13px; margin-top:.25rem; flex:none; color:var(--grad-2); }
.price-row-cta{ display:flex; align-items:start; justify-content:flex-end; }
@media (max-width:820px){
  .price-row{ grid-template-columns:1fr; }
  .price-row-desc ul{ grid-template-columns:1fr; }
  .price-row-cta{ justify-content:flex-start; }
}

.addon-list{ margin-top:3rem; padding:2rem; }
.addon-list ul{ display:grid; gap:.9rem; }
.addon-list li{ display:flex; justify-content:space-between; gap:1rem; padding-bottom:.9rem; border-bottom:1px dashed var(--border); font-size:var(--step--1); }
.addon-list li span:last-child{ font-family:var(--font-mono); color:var(--text); white-space:nowrap; }

/* ---------------------------------------------------------------------- */
/* Form (Poptávka)                                                          */
/* ---------------------------------------------------------------------- */
.form-shell{ display:grid; grid-template-columns:1fr 1.3fr; gap:clamp(2rem,5vw,4rem); align-items:start; }
.form-aside{ padding:2rem; position:sticky; top:6.5rem; }
.form-aside h2{ font-family:var(--font-display); font-size:var(--step-2); font-weight:600; }
.form-aside p{ margin-top:1rem; color:var(--text-dim); }
.form-aside ul{ margin-top:1.6rem; display:grid; gap:.8rem; }
.form-aside li{ display:flex; gap:.6rem; font-size:var(--step--1); color:var(--text-dim); }
.form-aside svg{ width:14px; height:14px; margin-top:.25rem; flex:none; color:var(--grad-2); }
.form-body{ padding:2rem; }

.field{ margin-bottom:1.4rem; }
.field label{ display:block; font-family:var(--font-mono); font-size:.75rem; color:var(--text-dim); margin-bottom:.5rem; text-transform:uppercase; letter-spacing:.04em; }
.field .req{ color:var(--grad-3); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea{
  width:100%; background:var(--surface); border:1px solid var(--border); color:var(--text);
  padding:.85rem 1rem; border-radius:12px; font-size:var(--step-0);
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea{ resize:vertical; min-height:8rem; }
.field select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2322d3ee' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 1rem center; padding-right:2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--grad-2); background:var(--surface-strong); }
.field-error{ display:none; color:#ff9a8d; font-size:.8rem; margin-top:.4rem; font-family:var(--font-mono); }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color:#e6605a; }
.field.has-error .field-error{ display:block; }

.radio-group{ display:flex; gap:1.6rem; flex-wrap:wrap; }
.radio-group label{ display:flex; align-items:center; gap:.55rem; font-family:var(--font-body); text-transform:none; font-size:var(--step--1); color:var(--text); }
.radio-group input{ accent-color:var(--grad-2); width:16px; height:16px; }

.check-row{ display:flex; align-items:start; gap:.7rem; margin-top:.4rem; }
.check-row input{ accent-color:var(--grad-2); width:16px; height:16px; margin-top:.2rem; flex:none; }
.check-row label{ font-size:var(--step--1); color:var(--text-dim); }
.check-row a{ color:var(--text); text-decoration:underline; text-decoration-color:var(--grad-2); }

.honeypot{ position:absolute; left:-9999px; top:-9999px; }
#existing-url-wrap{ display:none; }
#existing-url-wrap.is-visible{ display:block; animation:rise .4s var(--ease); }

.form-status{ margin-top:1.2rem; font-family:var(--font-mono); font-size:var(--step--1); padding:.9rem 1rem; border:1px dashed var(--grad-2); border-radius:12px; display:none; }
.form-status.is-visible{ display:block; animation:rise .4s var(--ease); }

/* ---------------------------------------------------------------------- */
/* Legal text pages                                                         */
/* ---------------------------------------------------------------------- */
.legal{ max-width:var(--measure); }
.legal h2{ font-family:var(--font-display); font-size:var(--step-1); font-weight:600; margin-top:2.6rem; }
.legal h2:first-child{ margin-top:0; }
.legal p, .legal li{ margin-top:.8rem; color:var(--text-dim); font-size:var(--step-0); }
.legal ul{ list-style:none; padding-left:0; }
.legal li{ padding-left:1.2rem; position:relative; }
.legal li::before{ content:'–'; position:absolute; left:0; color:var(--grad-2); }
.legal strong{ color:var(--text); }
.legal a{ color:var(--text); text-decoration:underline; text-decoration-color:var(--grad-2); }

/* ---------------------------------------------------------------------- */
/* Reveal-on-scroll — staggered via inline transition-delay                */
/* ---------------------------------------------------------------------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; } }

/* ---------------------------------------------------------------------- */
/* 404                                                                      */
/* ---------------------------------------------------------------------- */
.error-page{ min-height:70vh; display:flex; align-items:center; position:relative; z-index:1; }
.error-page .code{ font-family:var(--font-mono); color:var(--grad-2); }
.error-page h1{ font-family:var(--font-display); font-size:var(--step-4); margin-top:.6rem; }
.error-page p{ margin-top:1rem; color:var(--text-dim); max-width:32rem; }
.error-page .btn{ margin-top:1.8rem; }

/* ---------------------------------------------------------------------- */
/* Shared glass-card base for content blocks                               */
/* ---------------------------------------------------------------------- */
.spec-item, .folio-card, .pkg-card, .plaque, .form-aside, .form-body,
.addon-list, .price-row, .hero-tags span, .pkg-arrow{
  background:var(--surface);
}
.spec-item, .folio-card, .pkg-card, .plaque, .form-aside, .form-body,
.addon-list, .price-row{
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  box-shadow:var(--shadow);
  transform-style:preserve-3d; will-change:transform;
  transition:transform .35s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.spec-item:hover, .folio-card:hover, .pkg-card:hover{
  border-color:var(--border-strong);
  box-shadow:0 26px 60px -20px rgba(124,92,255,.35);
}

/* light-theme tuning: glass looks chalky on white without a touch more contrast */
html[data-theme="light"] .spec-item,
html[data-theme="light"] .folio-card,
html[data-theme="light"] .pkg-card,
html[data-theme="light"] .plaque,
html[data-theme="light"] .form-aside,
html[data-theme="light"] .form-body,
html[data-theme="light"] .addon-list,
html[data-theme="light"] .price-row{
  background:var(--bg-soft);
}
