/* ---------- tokens ---------- */
:root{
  --bg: #FAFAFC;
  --bg-alt: #F2F0FB;
  --surface: #FFFFFF;
  --text: #15142B;
  --text-muted: #5B5876;
  --accent: #4634E0;
  --accent-dark: #2E1FA8;
  --accent-2: #22D3EE;
  --accent-light: #ECE8FC;
  --border: #E6E3F5;
  --glass-bg: rgba(255, 255, 255, .7);
  --glass-border: rgba(70, 52, 224, .14);
  --mono: 'Space Mono', monospace;
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(21, 20, 43, .16), 0 0 30px -14px rgba(70, 52, 224, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ overflow-x: hidden; max-width: 100%; }
body{
  margin:0;
  font-family: var(--body);
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(70, 52, 224, .18) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  background-attachment: fixed;
  animation: driftDots 70s linear infinite;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@keyframes driftDots{
  from{ background-position: 0 0; }
  to{ background-position: 320px 320px; }
}
@media (prefers-reduced-motion: reduce){
  body{ animation: none; }
}
h1,h2,h3{ font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p{ margin: 0 0 1em; }
a{ color: inherit; }
img{ max-width: 100%; display: block; }
ul{ list-style: none; margin:0; padding:0; }

.wrap{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.accent-text{
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 7s ease-in-out infinite;
}
@keyframes shimmerText{
  0%, 100%{ background-position: 0% center; }
  50%{ background-position: 100% center; }
}
@media (prefers-reduced-motion: reduce){
  .accent-text{ animation: none; background-position: 0% center; }
}

.outcome{
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 600;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(138, 118, 242, 0.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(138, 118, 242, 0.7); }
.btn-ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }

/* ---------- scroll reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: none; }

:where(.pillars, .automation-grid, .cards-grid, .services-grid, .steps, .pricing-grid) > .reveal:nth-child(1){ transition-delay: 0ms; }
:where(.pillars, .automation-grid, .cards-grid, .services-grid, .steps, .pricing-grid) > .reveal:nth-child(2){ transition-delay: 90ms; }
:where(.pillars, .automation-grid, .cards-grid, .services-grid, .steps, .pricing-grid) > .reveal:nth-child(3){ transition-delay: 180ms; }
:where(.pillars, .automation-grid, .cards-grid, .services-grid, .steps, .pricing-grid) > .reveal:nth-child(4){ transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  .hero-blob{ animation: none !important; }
}

/* ---------- header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  height: 78px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
}
.logo svg{ width: 28px; height: 28px; flex-shrink: 0; }
.logo .logo-accent{ color: var(--accent); }

.main-nav{
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a{
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: .95rem;
  transition: color .15s ease;
}
.main-nav a:hover{ color: var(--text); }
.main-nav .nav-cta{
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
}
.main-nav .nav-cta:hover{ color: #fff; opacity: .9; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span{
  display:block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
}
.hero-net{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.console-section{
  position: relative;
  overflow: hidden;
  padding: 0 0 80px;
}
.console-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .22;
  pointer-events: none;
  z-index: 0;
}
.console-blob--1{ width: 320px; height: 320px; background: var(--accent-2); top: -40px; left: -80px; }
.console-blob--2{ width: 280px; height: 280px; background: var(--accent); bottom: -60px; right: -60px; }
.console-section .wrap{ position: relative; z-index: 1; }
.chat-window-bar{
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.chat-window-avatar{
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: .78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-window-name{
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.3;
}
.chat-window-name small{ font-weight: 500; color: var(--text-muted); font-size: .72rem; }
.chat-window-device{ margin-left: auto; width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.console-section-inner{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.console-photo{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.console-photo .hero-cutout-img{
  width: 220px;
  max-width: 60vw;
}
.chat-window{
  max-width: 480px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
}
.chat-messages{
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 340px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 4px 6px 4px 0;
}
.chat-messages::-webkit-scrollbar{ width: 6px; }
.chat-messages::-webkit-scrollbar-thumb{ background: var(--border); border-radius: 999px; }
.chat-input-bar{
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.chat-input-text{
  flex: 1;
  height: 2.6em;
  line-height: 1.3em;
  overflow-y: hidden;
  font-size: .86rem;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-input-text:empty::before{
  content: 'Napište zprávu…';
  color: var(--text-muted);
}
.chat-send-btn{
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}
.chat-msg{
  display: flex;
  opacity: 0;
  transform: translateY(10px);
  min-width: 0;
}
.chat-msg.is-visible{
  animation: bubblePop .35s ease-out forwards;
}
@keyframes bubblePop{
  0%{ opacity: 0; transform: translateY(10px); }
  100%{ opacity: 1; transform: translateY(0); }
}
.chat-msg--customer{ justify-content: flex-start; }
.chat-msg--petr{ justify-content: flex-end; }
.chat-bubble{
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: .86rem;
  line-height: 1.55;
  position: relative;
  box-shadow: 0 8px 20px -14px rgba(21, 20, 43, .35);
  min-height: 1.6em;
}
.chat-msg--customer .chat-bubble{
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.chat-msg--petr .chat-bubble{
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.typing-indicator{
  display: none;
  align-items: center;
  gap: 4px;
  font-style: italic;
  font-size: .82rem;
  opacity: .85;
}
.typing-indicator.active{ display: inline-flex; }
.typing-indicator i{
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: typingDot 1.2s infinite ease-in-out;
}
.typing-indicator i:nth-child(2){ animation-delay: .2s; }
.typing-indicator i:nth-child(3){ animation-delay: .4s; }
@keyframes typingDot{
  0%, 60%, 100%{ transform: translateY(0); opacity: .4; }
  30%{ transform: translateY(-3px); opacity: 1; }
}
.cursor{
  display: inline-block;
  width: 2px;
  height: 14px;
  background: currentColor;
  vertical-align: -2px;
  animation: cursorBlink 1s step-end infinite;
}
@keyframes cursorBlink{ 50%{ opacity: 0; } }
@media (prefers-reduced-motion: reduce){
  .cursor{ animation: none; }
  .chat-msg{ opacity: 1; transform: none; animation: none; }
  .typing-indicator i{ animation: none; }
}
.hero-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .26;
  pointer-events: none;
  z-index: 0;
}
.hero-blob--1{
  width: 440px;
  height: 440px;
  background: var(--accent);
  top: -160px;
  right: -140px;
  animation: floatBlob1 15s ease-in-out infinite;
}
.hero-blob--2{
  width: 320px;
  height: 320px;
  background: var(--accent-2);
  bottom: -140px;
  left: -110px;
  animation: floatBlob2 18s ease-in-out infinite;
}
@keyframes floatBlob1{
  0%, 100%{ transform: translate(0, 0); }
  50%{ transform: translate(-24px, 24px); }
}
@keyframes floatBlob2{
  0%, 100%{ transform: translate(0, 0); }
  50%{ transform: translate(22px, -18px); }
}
.hero-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: start;
}
.hero-visual{ padding-top: 6px; }
.hero-copy, .hero-visual{ min-width: 0; }
.eyebrow{
  display: inline-block;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .85rem;
  margin-bottom: 22px;
}
.hero h1{
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
.hero-sub{
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 46ch;
}
.hero-portrait-img{ object-position: center; }

.hero-actions{
  display:flex;
  gap: 16px;
  margin: 30px 0 18px;
  flex-wrap: wrap;
}
.hero-note{
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.trust-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.trust-row li{
  position: relative;
  padding-left: 20px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.trust-row li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: inset 0 0 0 4px var(--accent);
}

.hero-visual{
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-visual-stack{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 380px;
  gap: 0;
}
.hero-cutout-wrap{
  width: 320px;
  max-width: 88%;
  margin-bottom: -150px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero-cutout-img{
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 26px rgba(21, 20, 43, .25));
}
.hero-portrait-caption{
  text-align: center;
  margin: 18px 0 0;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.receipt{
  position: relative;
  z-index: 1;
  width: 320px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  padding: 30px 26px 24px;
  font-family: var(--mono);
  transform: rotate(2deg);
  transition: transform .3s var(--ease);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
.receipt:hover{ transform: rotate(0deg); }
.receipt-head{
  text-align: center;
  border-bottom: 2px dashed var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.receipt-title{
  display:block;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 1rem;
}
.receipt-sub{
  display:block;
  color: var(--text-muted);
  font-size: .78rem;
  margin-top: 4px;
}
.receipt-line{
  display:flex;
  justify-content: space-between;
  font-size: .84rem;
  padding: 6px 0;
  gap: 10px;
}
.receipt-line span:first-child{ color: var(--text-muted); }
.receipt-div{
  border-top: 2px dashed var(--border);
  margin: 12px 0;
}
.receipt-total{
  display:flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--accent);
  font-size: .9rem;
}
.receipt-foot{
  text-align: center;
  margin-top: 16px;
  font-size: .75rem;
  color: var(--text-muted);
}
.status-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 7px;
  margin-top: 12px;
  font-family: var(--body);
  font-size: .74rem;
  color: var(--text-muted);
}
.status-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #23C16B;
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse{
  0%{ box-shadow: 0 0 0 0 rgba(35,193,107,0.45); }
  70%{ box-shadow: 0 0 0 6px rgba(35,193,107,0); }
  100%{ box-shadow: 0 0 0 0 rgba(35,193,107,0); }
}

.photo-frame{
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.photo-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- sections ---------- */
.section{ padding: 100px 0; }
.automatizace-section{ position: relative; overflow: hidden; }
.automatizace-section > .wrap{ position: relative; z-index: 1; }
.section-alt{ background: var(--bg-alt); }
.section-title{
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-align: center;
}
.section-sub{
  text-align: center;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto 50px;
  font-size: 1.05rem;
}

/* pillars */
.pillars{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.automation-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}
.codelam-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 10px;
}
.codelam-head-text{ flex: 1 1 420px; }
.codelam-head-text .section-sub{ max-width: 56ch; }
.codelam-photo{
  flex: 0 0 auto;
  width: 260px;
  max-width: 42%;
}
.codelam-photo img{
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 26px rgba(21, 20, 43, .2));
}
.automatizace-head{
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
}
.automatizace-head-text{ flex: 1 1 420px; max-width: 620px; }
.automatizace-head-text .section-sub{ max-width: 56ch; }
.automatizace-photo{
  position: relative;
  flex: 0 0 auto;
  width: 210px;
  z-index: 1;
  align-self: flex-end;
  margin-bottom: -30px;
}
.automatizace-room{
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  width: 353px;
  height: 324px;
  color: var(--text);
  opacity: .3;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}
.automatizace-photo img.automatizace-robots{
  position: absolute;
  bottom: 110px;
  width: 130px;
  max-width: none;
  height: auto;
  z-index: -1;
  opacity: .95;
  pointer-events: none;
}
.automatizace-robots--left{ left: -35px; }
.automatizace-robots--right{ left: 158px; transform: scaleX(-1); }
.bot-blink{ animation: botBlink 2.2s ease-in-out infinite; }
.bot-blink--2{ animation-delay: 1.1s; }
.bot-blink--3{ animation-delay: 1.7s; }
@keyframes botBlink{
  0%, 100%{ opacity: .3; }
  50%{ opacity: 1; }
}
.hub-pulse{
  transform-box: fill-box;
  transform-origin: center;
  animation: hubPulse 2.2s ease-out infinite;
}
.hub-pulse--2{ animation-delay: 1.1s; }
@keyframes hubPulse{
  0%{ transform: scale(1); opacity: .6; }
  100%{ transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .bot-blink, .hub-pulse{ animation: none; opacity: .6; }
}
.automatizace-photo img{
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(21, 20, 43, .2));
}
.pillar{
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.2);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: left;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  transform: perspective(800px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
}
.pillar:hover{ box-shadow: var(--shadow); }
.pillar-icon{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(155deg, var(--accent-dark), var(--accent-2));
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 20px;
  transition: transform .25s var(--ease);
}
.pillar:hover .pillar-icon{ transform: scale(1.08) rotate(-4deg); }
.pillar-icon svg{ width: 28px; height: 28px; }
.pillar h3{ font-size: 1.15rem; }
.pillar p{ color: var(--text-muted); font-size: .95rem; margin: 0; }

/* case cards */
.cards-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}
.case-card{
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.2);
  border-radius: var(--radius);
  padding: 0 0 24px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  transform: perspective(800px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  cursor: pointer;
}
.case-card:hover{ box-shadow: var(--shadow); }
.case-link{
  display: block;
  margin: 14px 20px 0;
  font-size: .84rem;
  font-weight: 700;
  color: var(--accent);
}
.badge{
  display:block;
  margin: 16px 20px 0;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
}
.case-visual{
  height: 130px;
  margin: 14px 20px;
  border-radius: 12px;
  background: var(--accent-light);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-visual svg{ width: 36px; height: 36px; color: var(--accent); }
.case-visual--florist{ background-image: url('../ukazky/assets/petalie.jpg'), url('../ukazky/assets/kvetinarstvi-hero.jpeg'), linear-gradient(160deg, #E8A99C, #C97B72); }
.case-visual--woodwork{ background-image: url('../ukazky/assets/truhlarstvi-hero.jpeg'), linear-gradient(160deg, #8A5A34, #3E2717); }
.case-visual--spolek{ background-image: url('../ukazky/assets/spolek-hero.jpeg'), linear-gradient(160deg, #8FAE6E, #4C7A3D); }
.case-visual--portfolio{ background-image: url('../ukazky/assets/portfolio-hero.jpeg'), linear-gradient(135deg, #FF5A36, #111111); }
.case-visual--cestovka{ background-image: url('../ukazky/assets/obzor.jpg'), url('../ukazky/assets/cestovka-boarding.jpeg'), linear-gradient(160deg, #2E86C1, #0B2942); }
.case-card h3{
  font-size: 1.05rem;
  margin: 0 20px 8px;
}
.case-card p{
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0 20px;
}

/* services */
.services-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}
.service{
  padding: 28px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 4px 16px;
}
.service-num{
  font-family: var(--mono);
  color: var(--accent);
  font-weight: 700;
}
.service h3{ font-size: 1.1rem; grid-column: 2; }
.service p{ grid-column: 2; color: var(--text-muted); margin:0; font-size: .95rem; }

/* steps */
.steps{
  display:flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 50px;
}
.step{
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.step-num{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 0 auto 18px;
}
.step h3{ font-size: 1.1rem; }
.step p{ color: var(--text-muted); font-size: .92rem; }
.step-connector{
  flex: 0 0 60px;
  height: 2px;
  background: var(--border);
  margin-top: 24px;
}

/* pricing */
.pricing-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-grid--packages{
  grid-template-columns: repeat(4, 1fr);
  max-width: 1160px;
}
.price-card{
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.2);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  transform: perspective(800px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
}
.price-card:hover{ box-shadow: var(--shadow); }
.price-card--featured{
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.price-tag{
  position: absolute;
  top: -13px;
  left: 32px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-scope{
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin: 4px 0 0;
}
.price-value{
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 10px 0 14px;
}
.price-desc{ color: var(--text-muted); font-size: .95rem; margin: 0; }
.price-cta{
  display: flex;
  width: fit-content;
  margin: 36px auto 0;
}
.price-note{
  text-align:center;
  color: var(--text-muted);
  font-size: .9rem;
  margin: 22px auto 0;
}
.price-hourly{
  text-align: center;
  color: var(--text-muted);
  font-size: .98rem;
  margin: 30px auto 0;
}
.price-hourly strong{ color: var(--text); }

/* foto ukázka — obě fotky vedle sebe, celé vidět; při zobrazení jednou "zajiskří" AI přeměna, pak jen jemná záře */
.foto-side{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  max-width: 860px;
  margin: 44px auto 0;
}
.foto-side-item{
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.foto-side-item img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.foto-side-item figcaption{
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
}
.foto-side-item--before figcaption{
  background: rgba(21, 20, 43, .55);
  color: #fff;
}
.foto-side-item--after figcaption{
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #fff;
  box-shadow: 0 4px 12px -3px rgba(70, 52, 224, .7);
  opacity: 0;
  transform: translateY(6px) scale(.92);
}
.foto-side-arrow{
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--accent);
  opacity: .75;
}
.foto-side-arrow svg{ width: 100%; height: 100%; }

/* jednorázový "zpracování" efekt — přehraje se přesně jednou, když sekce vjede do zorného pole:
   výsledková fotka nastoupí rozostřená/odbarvená, přejede přes ni pár skenovacích průchodů
   a "vyplivne" ostrý výsledek. Po doběhnutí zůstává jen jemná nekonečná záře kolem karty. */
.foto-side-item--after img{
  filter: blur(9px) saturate(.35) brightness(.82);
}
.foto-side-scanline{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--accent-2), var(--accent), transparent);
  box-shadow: 0 0 14px 2px rgba(70, 52, 224, .65);
}
.foto-side-processing{
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(4px);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 13, 10, .55);
  padding: 5px 13px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.reveal.is-visible .foto-side-item--after img{
  animation: fotoResolveOnce 1.9s cubic-bezier(.4, 0, .2, 1) .4s 1 both;
}
.reveal.is-visible .foto-side-scanline{
  animation: fotoScanOnce 1.9s cubic-bezier(.65, 0, .35, 1) .4s 1 both;
}
.reveal.is-visible .foto-side-processing{
  animation: fotoProcessingLabel 1.9s ease .4s 1 both;
}
.reveal.is-visible .foto-side-item--after figcaption{
  animation: fotoResultTagOnce .6s ease 2s 1 both;
}
@keyframes fotoResolveOnce{
  0%{ filter: blur(9px) saturate(.35) brightness(.82); }
  75%{ filter: blur(5px) saturate(.6) brightness(.88); }
  100%{ filter: blur(0) saturate(1) brightness(1); }
}
@keyframes fotoScanOnce{
  0%{ top: 0; opacity: 0; }
  5%{ opacity: 1; }
  45%{ top: 100%; opacity: 1; }
  50%{ opacity: 0; top: 0; }
  55%{ opacity: 1; }
  92%{ top: 100%; opacity: 1; }
  100%{ top: 100%; opacity: 0; }
}
@keyframes fotoProcessingLabel{
  0%{ opacity: 0; }
  10%{ opacity: 1; }
  82%{ opacity: 1; }
  100%{ opacity: 0; }
}
@keyframes fotoResultTagOnce{
  0%{ opacity: 0; transform: translateY(6px) scale(.92); }
  100%{ opacity: 1; transform: translateY(0) scale(1); }
}
/* po jednorázovém efektu zůstává jen jemná, nekonečná záře kolem výsledné fotky */
.foto-side-item--after::after{
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  animation: fotoGlowLoop 3.6s ease-in-out 2.3s infinite;
}
@keyframes fotoGlowLoop{
  0%, 100%{ box-shadow: 0 0 10px 0 rgba(70, 52, 224, .12); }
  50%{ box-shadow: 0 0 22px 3px rgba(70, 52, 224, .28); }
}
@media (prefers-reduced-motion: reduce){
  .foto-side-item--after img{ filter: none; animation: none; }
  .foto-side-scanline, .reveal.is-visible .foto-side-scanline{ animation: none; opacity: 0; }
  .foto-side-processing, .reveal.is-visible .foto-side-processing{ animation: none; opacity: 0; }
  .foto-side-item--after figcaption, .reveal.is-visible .foto-side-item--after figcaption{
    animation: none; opacity: 1; transform: none;
  }
  .foto-side-item--after::after{ animation: none; box-shadow: 0 0 14px 0 rgba(70, 52, 224, .18); }
}
@media (max-width: 1024px){
  .foto-side{
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 14px;
    max-width: 420px;
  }
  .foto-side-item{ justify-self: stretch; width: auto; margin: 0; }
  .foto-side-arrow{
    width: 26px;
    height: 26px;
    transform: rotate(90deg);
    justify-self: center;
  }
  .foto-side-item figcaption{ font-size: .68rem; padding: 5px 11px; left: 10px; bottom: 10px; }
}

/* kontakt */
.kontakt-inner{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.kontakt-copy .section-title, .kontakt-copy .section-sub{ text-align: left; margin-left: 0; }
.contact-list{ margin-top: 24px; }
.contact-list li{ display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1rem; }
.contact-list a{ color: var(--accent); text-decoration: none; }
.contact-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
}
.contact-icon svg{ width: 17px; height: 17px; }
.kontakt-trust{ margin-top: 26px; }
.todo-fill{
  color: var(--text-muted);
  font-style: italic;
}

.contact-form{
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.2);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 6px;
}
.contact-form label{ font-size: .88rem; font-weight: 600; margin-top: 10px; }
.contact-form input, .contact-form textarea{
  font-family: var(--body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus{
  outline: none;
  border-color: var(--accent);
}
.contact-form .btn{ margin-top: 18px; width: fit-content; }
.form-status{
  font-size: .88rem;
  color: var(--accent);
  min-height: 1.4em;
}
.form-status.is-error{ color: #D64545; }
/* honeypot -- v layoutu přítomné, ale mimo viditelnou/čitelnou plochu */
.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent-row{
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem !important;
  font-weight: 400 !important;
  color: var(--text-muted);
  margin-top: 14px;
  cursor: pointer;
}
.consent-row input{
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
.consent-row a{ color: var(--accent); }

/* footer */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 44px 0;
  background: var(--bg-alt);
}
.footer-inner{
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand{
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-brand span{ color: var(--accent); }
.footer-meta{ font-size: .85rem; color: var(--text-muted); margin: 2px 0; }
.footer-copy{ font-size: .85rem; color: var(--text-muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .automatizace-head{ flex-direction: column; align-items: center; text-align: center; gap: 4px; margin-bottom: 4px; }
  .automatizace-head-text{ flex: 0 1 auto; max-width: 100%; }
  .automatizace-head-text .section-title, .automatizace-head-text .section-sub{ text-align: center !important; margin-left: auto !important; margin-right: auto; margin-bottom: 0; }
  .automatizace-photo{ width: 190px; align-self: center; margin-bottom: 0; margin-top: -20px; }
  .automation-grid{ margin-top: 12px; }
  .codelam-head{ flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .codelam-head-text{ flex: 0 1 auto; }
  .codelam-head-text .section-title, .codelam-head-text .section-sub{ text-align: center !important; margin-left: auto !important; margin-right: auto; margin-bottom: 0; }
  .codelam-photo{ width: 220px; max-width: 70%; margin-top: 10px; }
  .pillars{ grid-template-columns: 1fr; }
  .automation-grid{ grid-template-columns: 1fr; }
  .cards-grid{ grid-template-columns: repeat(2, 1fr); }
  .services-grid{ grid-template-columns: 1fr; }
  .kontakt-inner{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .steps{ flex-direction: column; align-items: stretch; }
  .step-connector{ display: none; }
}

/* ---------- cookie lišta ---------- */
.cookie-bar{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 40px -14px rgba(21,20,43,.22);
  padding: 18px 20px;
  animation: cookieBarIn .35s var(--ease) both;
}
.cookie-bar.is-hiding{ animation: cookieBarOut .25s ease both; }
@keyframes cookieBarIn{ from{ transform: translateY(100%); opacity: 0; } to{ transform: translateY(0); opacity: 1; } }
@keyframes cookieBarOut{ to{ transform: translateY(100%); opacity: 0; } }
.cookie-bar-inner{
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-bar-text{ flex: 1 1 420px; }
.cookie-bar-text p{ margin: 0; font-size: .88rem; color: var(--text-muted); line-height: 1.5; }
.cookie-bar-text a{ color: var(--accent); }
.cookie-bar-actions{ display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
/* "Odmítnout vše" a "Přijmout vše" mají stejnou velikost, tloušťku písma i
   padding a jsou stejně dostupné (jedno kliknutí od zobrazení) -- odmítnutí
   nesmí být obtížnější než přijetí, viz pokyny EDPB 03/2022 k manipulativním
   rozhraním. "Nastavení" je třetí, rovnocenná možnost, ne skrýš pro odmítnutí. */
.cookie-btn{
  font: inherit; font-size: .88rem; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--accent);
  transition: transform .15s var(--ease), background .15s ease;
}
.cookie-btn:hover{ transform: translateY(-1px); }
.cookie-btn--accept{ background: var(--accent); color: #fff; }
.cookie-btn--accept:hover{ background: var(--accent-dark); }
.cookie-btn--reject{ background: transparent; color: var(--accent); }
.cookie-btn--reject:hover{ background: var(--accent-light); }
.cookie-btn--settings{ background: transparent; color: var(--text-muted); border-color: var(--border); }
.cookie-btn--settings:hover{ background: var(--bg-alt); }
.cookie-btn--save{ margin-top: 14px; }

.cookie-settings{ margin-top: 14px; }
.cookie-settings-row{
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .84rem; color: var(--text-muted); line-height: 1.5;
  cursor: pointer;
}
.cookie-settings-row input{ margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--accent); }
.cookie-settings-row strong{ color: var(--text); }

@media (max-width: 640px){
  .cookie-bar-inner{ flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-bar-actions{ justify-content: center; }
  .cookie-settings-row{ text-align: left; }
  .cookie-btn{ flex: 1; }
}

@media (max-width: 720px){
  .main-nav{
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 28px 28px;
    gap: 18px;
    display: none;
  }
  .main-nav.open{ display: flex; }
  .main-nav .nav-cta{ text-align: center; }
  .nav-toggle{ display: flex; }
  .cards-grid{ grid-template-columns: 1fr; }
  .receipt{ transform: none; width: 100%; max-width: 320px; }
  .hero-visual-stack{ width: 100%; max-width: 320px; }
  .hero-cutout-wrap{ width: 230px; max-width: 82%; margin-bottom: -85px; }
  .hero h1{ font-size: clamp(2.1rem, 8vw, 3rem); }
  .hero-blob--1, .hero-blob--2{ opacity: .18; }
}
