/* ============================================================
   KUBÍK GROUP — WEB STUDIO
   Deep black · Vibrant orange accent · Playfair Display + Inter
   ============================================================ */

:root {
  --bg:           #0a0a0c;
  --bg-soft:      #15151a;
  --bg-card:      #18181f;
  --ink:          #f5efe2;
  --ink-soft:     #c8c0b0;
  --muted:        #8a7f70;
  --dim:          #5a5246;
  --border:       rgba(255, 255, 255, 0.08);
  --border-strong:rgba(255, 255, 255, 0.18);
  --input-bg:     #16161c;

  --accent:       #ff6a1a;
  --accent-hi:    #ff8845;
  --accent-lo:    #cc4f0a;
  --accent-soft:  rgba(255, 106, 26, 0.14);
  --accent-glow:  rgba(255, 106, 26, 0.36);
  --accent-contrast: #0a0a0c;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;

  --sh-sm: 0 2px 14px rgba(0, 0, 0, 0.5);
  --sh-md: 0 16px 48px rgba(0, 0, 0, 0.55);
  --sh-lg: 0 40px 100px rgba(0, 0, 0, 0.65);

  --container: 1200px;
  --section-space: 110px;
  --header-height: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;        /* fallback pro starší prohlížeče */
  overflow-x: clip;          /* moderní — netvoří scroll container, neblokuje sticky pin */
  position: relative;
  width: 100%;
  max-width: 100%;
}

main { overflow-x: clip; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* ============ Background — deep black + orange ember glows ============ */
.bg-ambient {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 10%, rgba(255, 106, 26, 0.18), transparent 70%),
    radial-gradient(55% 45% at 86% 18%, rgba(255, 138, 71, 0.12), transparent 72%),
    radial-gradient(70% 55% at 50% 92%, rgba(255, 106, 26, 0.08), transparent 75%),
    radial-gradient(40% 35% at 48% 50%, rgba(255, 138, 71, 0.04), transparent 78%),
    linear-gradient(180deg, #0a0a0c 0%, #08080b 60%, #050507 100%);
}

.bg-grain {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  display: none;
  opacity: 0;
  mix-blend-mode: normal;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.78 0 0 0 0 0.55 0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Mobile: vypnout těžké fixed-overlay vrstvy — mobilní GPU re-rasterizují celý layer při každém scrollu */
@media (max-width: 920px) {
  .bg-grain { display: none; }
}

/* Simplified ember spots — 6→2 vrstvy */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(22% 18% at 25% 30%, rgba(255, 138, 71, 0.18), transparent 80%),
    radial-gradient(18% 15% at 75% 65%, rgba(255, 106, 26, 0.14), transparent 84%);
  background-size: 100% 100%, 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: normal;
  opacity: 0.42;
}

/* Mobile: mix-blend-mode na fixed vrstvě = drahý compositor na každý frame */
@media (max-width: 920px) {
  body::after { mix-blend-mode: normal; opacity: 0.45; }
}

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: "Playfair Display", "Iowan Old Style", Palatino, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 18px;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 96;
  color: var(--accent);
  font-weight: 400;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-variation-settings: "opsz" 144; max-width: 18ch; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-variation-settings: "opsz" 96; }
h3 { font-size: 1.2rem; font-variation-settings: "opsz" 48; }

p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: 1.08rem; max-width: 56ch; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: ""; width: 24px; height: 1px;
  background: var(--accent);
}

.eyebrow-sm {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  display: block; margin-bottom: 10px;
}

.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: #fff; }

/* ============ Layout ============ */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.section-alt {
  background: transparent;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading .eyebrow { justify-content: center; }

.section-heading h2 {
  margin-bottom: 22px;
  position: relative;
  padding-top: 28px;
}

.section-heading h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--accent);
}

.section-heading p { font-size: 1.04rem; margin-bottom: 0; color: var(--ink-soft); }

.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 10px;
  z-index: 1001; font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ============ Header — liquid glass (dark, translucent) ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 20, 24, 0.82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.45);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(20, 20, 24, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 12px 36px rgba(0, 0, 0, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
}

/* Brand block: separate clickable parts — logo→rozcestník, text→current site */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo,
.brand-text-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo:hover,
.brand-logo:focus-visible,
.brand-text-link:hover,
.brand-text-link:focus-visible {
  opacity: 0.85;
  outline: none;
}

.brand-badge {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #ffffff;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.brand-badge img {
  width: 100%; height: 100%; object-fit: contain; border-radius: 6px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-text strong {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.site-nav > a:not(.btn):not(.nav-back) {
  padding: 10px 14px; border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 500; font-size: 0.94rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav > a:not(.btn):not(.nav-back):hover,
.site-nav > a:not(.btn):not(.nav-back):focus-visible,
.site-nav > a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-back {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-left: 6px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-back:hover, .nav-back:focus-visible { color: var(--accent); border-color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer; padding: 0;
}

.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

/* ============ Buttons (with light-sweep shine) ============ */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  cursor: pointer; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -60%;
  width: 45%;
  height: 320%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.35) 55%,
    transparent 100%
  );
  transform: rotate(24deg);
  transition: left 0.6s cubic-bezier(0.22, 0.65, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.btn > * { position: relative; z-index: 1; }

.btn:hover::after,
.btn:focus-visible::after {
  left: 140%;
}

.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(255, 106, 26, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-hi);
  box-shadow: 0 16px 40px rgba(255, 106, 26, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-gold {
  background: #ffffff;
  color: #0a0a0c;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.btn-gold:hover, .btn-gold:focus-visible {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-soft);
}

.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  padding: clamp(56px, 7vh, 92px) 0 clamp(58px, 7vh, 90px);
  overflow: visible;
}

.hero-pin {
  position: relative;
  top: auto;
  z-index: 1;
  height: auto;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: visible;
}

.hero-pin::before {
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-pin > * { position: relative; z-index: 1; }

/* Fly-in animation — slide z levé strany */
.fly-from-left {
  opacity: 1;
  transform: translate3d(-72px, 0, 0);
  transition:
    transform 1.05s cubic-bezier(0.22, 0.65, 0.2, 1);
  will-change: transform;
}

.fly-from-left.is-visible {
  transform: translate3d(0, 0, 0);
}

/* Hero-compact (cenik.html) zachovává původní chování — žádný sticky pin */
.hero-compact { min-height: auto; padding: 60px 0 20px; height: auto; }
.hero-compact .section-heading { margin-bottom: 0; text-align: left; max-width: 720px; }
.hero-compact .section-heading .eyebrow { justify-content: flex-start; }
.hero-compact + .section { padding-top: 44px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
  position: relative; z-index: 1;
}

.hero-copy { max-width: 640px; }
.hero-copy h1 { margin-bottom: 24px; color: var(--ink); }
.hero-copy .lead { margin-bottom: 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-points {
  list-style: none;
  padding: 28px 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  border-top: 1px solid var(--border-strong);
  counter-reset: hp;
}

.hero-points li {
  counter-increment: hp;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-points li::before {
  content: counter(hp, decimal-leading-zero);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  position: static;
  background: transparent;
  width: auto;
  height: auto;
}

.hero-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi), var(--accent));
}

.hero-card-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent-glow);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-card-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 5px var(--accent-soft); }
  50% { box-shadow: 0 0 0 10px rgba(255, 106, 26, 0.04); }
}

.hero-card-heading { margin-bottom: 30px; }
.hero-card-heading h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; margin: 0; }

.hero-card-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}

.hero-card-list li {
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  display: grid; gap: 2px;
}

.hero-card-list span { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.hero-card-list small { color: var(--muted); font-size: 0.86rem; }

/* ============ Cards ============ */
.cards { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: transform 0.4s cubic-bezier(0.22, 0.65, 0.2, 1), border-color 0.3s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0.24);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.22, 0.65, 0.2, 1);
}

.card:hover, .card:focus-within {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--sh-md);
}

.card:hover::before, .card:focus-within::before { transform: scaleX(1); }

.card-num, .card-letter {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  border: 1px solid var(--accent-glow);
}

.card h3 { margin-bottom: 10px; color: var(--ink); }
.card p { margin: 0; font-size: 0.94rem; color: var(--muted); }

/* ============ Steps / process ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  padding: 34px 30px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: border-color 0.3s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--sh-md);
}

.step-num {
  font-family: "Playfair Display", serif;
  font-variation-settings: "opsz" 144;
  font-style: italic;
  font-weight: 500;
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

.step-card h3 { color: var(--ink); }

/* ============ Callout ============ */
.callout {
  margin-top: 36px;
  padding: 28px 32px;
  border-radius: var(--r-md);
  border: 1px solid var(--accent-glow);
  background: var(--accent-soft);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.callout strong { color: var(--ink); }

/* ============ Tick list ============ */
.tick-list {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: grid; gap: 12px;
}

.tick-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ============ Showcase — laptop + phone device frames with lightweight preview ============ */

.showcase-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding: 40px 0 60px;
  perspective: 1800px;
}

/* Soft orange glow underneath devices */
.showcase-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80%;
  height: 200px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 70% 100% at 50% 80%, rgba(255, 106, 26, 0.25), transparent 65%),
    radial-gradient(ellipse 50% 70% at 50% 100%, rgba(255, 138, 71, 0.18), transparent 70%);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
}

.device {
  position: relative;
  z-index: 1;
}

/* ===== LAPTOP ===== */
.device-laptop {
  position: relative;
  width: min(720px, 100%);
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.44));
}

/* Navigation arrows — appear on laptop hover */
.showcase-nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: rgba(20, 20, 24, 0.7);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.85);
  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 0.65, 0.2, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.showcase-nav-prev { left: -28px; }
.showcase-nav-next { right: -28px; }

.showcase-nav span {
  display: block;
  margin-top: -4px;
}

/* Show arrows on hover anywhere in showcase area (desktop only) — both arrows fade in together */
@media (hover: hover) and (pointer: fine) {
  .showcase-stage:hover .showcase-nav,
  .showcase-stage:focus-within .showcase-nav,
  .device-laptop:hover .showcase-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
  }
}

.showcase-nav:hover,
.showcase-nav:focus-visible {
  background: var(--accent);
  border-color: var(--accent-hi);
  color: var(--accent-contrast);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 12px 28px rgba(255, 106, 26, 0.45);
}

.showcase-nav:active {
  transform: translateY(-50%) scale(0.95);
}

/* Invisible tap zones — left/right halves of laptop on mobile */
.showcase-tap {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  padding: 0;
  margin: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  display: none;
  z-index: 9;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.showcase-tap-prev { left: 0; }
.showcase-tap-next { right: 0; }
.showcase-tap:focus,
.showcase-tap:focus-visible,
.showcase-tap:hover,
.showcase-tap:active { outline: 0; background: transparent; box-shadow: none; }

/* Mobile vs desktop intro paragraph */
.showcase-intro-mobile { display: none; }

.device-laptop .device-bezel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 18px 18px 24px;
  border-radius: 18px 18px 6px 6px;
  background:
    linear-gradient(180deg, #2a2a30 0%, #1c1c22 50%, #131318 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.device-camera {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0a0c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.device-laptop .device-screen {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: #0a0a0c;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.device-laptop .device-base {
  width: 110%;
  height: 14px;
  margin: 0 auto;
  margin-left: -5%;
  background:
    linear-gradient(180deg, #2a2a30 0%, #1a1a20 60%, #0c0c10 100%);
  border-radius: 0 0 14px 14px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.3);
}

.device-laptop .device-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22%;
  height: 5px;
  background: linear-gradient(180deg, #0a0a0c, #14141a);
  border-radius: 0 0 12px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Real screenshots of finished websites, without loading full pages in iframes. */
.device-preview {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #ffffff;
  opacity: 0;
  transform: translateY(8px) scale(0.992);
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 0.65, 0.2, 1);
}

.device-preview.is-ready {
  opacity: 1;
  transform: none;
}

.device-phone .device-preview {
  inset: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: 32px;
}

/* ===== PHONE ===== */
.device-phone {
  width: 220px;
  margin-left: -102px;  /* overlap laptop slightly */
  margin-bottom: -32px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.46));
  transform: rotate(2deg);
  z-index: 2;
}

/* iPhone 17-like phone — thin bezel, very rounded corners, Dynamic Island */
.device-phone .device-bezel {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  padding: 5px;
  border-radius: 40px;
  background:
    linear-gradient(160deg, #2c2c33 0%, #1a1a20 50%, #131318 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    inset 0 0 0 1.5px rgba(0, 0, 0, 0.45);
}

/* Dynamic Island — pill shape, floats inside the screen */
.device-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Dynamic Island accent dot (camera sensor) — subtle detail */
.device-notch::after {
  content: "";
  position: absolute;
  right: 14%;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a1a22 30%, #050505 70%);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08);
}

.device-phone .device-screen {
  width: 100%;
  height: 100%;
  border-radius: 35px;
  background: #0a0a0c;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}

/* ===== Note below devices ===== */
.showcase-note {
  margin: 36px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.showcase-note strong {
  color: var(--accent);
  font-weight: 600;
}

/* ============ CTA banner — deep black with orange ember glow ============ */
.cta-banner {
  position: relative;
  padding: 84px 48px;
  border-radius: var(--r-lg);
  background:
    /* bright ember in bottom-right corner */
    radial-gradient(ellipse 55% 65% at 92% 88%, rgba(255, 106, 26, 0.42), transparent 60%),
    /* warm secondary glow */
    radial-gradient(ellipse 65% 50% at 100% 100%, rgba(255, 138, 71, 0.22), transparent 70%),
    /* subtle warm tone in middle */
    radial-gradient(ellipse 60% 55% at 35% 50%, rgba(120, 50, 18, 0.18), transparent 75%),
    /* deep black base with diagonal amber tint */
    linear-gradient(135deg, #050507 0%, #0c0a08 35%, #14100c 65%, #1c140e 100%);
  border: 1px solid rgba(255, 106, 26, 0.28);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 60px rgba(255, 106, 26, 0.06);
  text-align: center;
  color: #fff5ec;
  overflow: hidden;
}

/* Top decorative bar — orange now (ember accent) */
.cta-banner::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  filter: blur(0.3px);
}

/* Subtle "ember spark" in bottom-right */
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 138, 71, 0.32), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

.cta-banner h2 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto 32px;
  color: #ffffff;
  font-weight: 600;
}

.cta-banner h2 em { color: var(--accent-hi); opacity: 1; font-style: italic; }
.cta-banner .eyebrow { position: relative; z-index: 1; justify-content: center; color: var(--accent); }
.cta-banner .eyebrow::before { background: var(--accent); }
.cta-banner .btn { position: relative; z-index: 1; }

/* ============ Pricing (cenik.html) ============ */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.tier-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-sm);
  transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}

.tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--sh-md);
}

.tier-card-featured {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 106, 26, 0.22), transparent 70%),
    linear-gradient(160deg, #1f1a17 0%, #14110f 100%);
  color: var(--ink);
  border-color: var(--accent-glow);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tier-card-featured h2 { color: var(--ink); }
.tier-card-featured .tier-label { color: var(--accent); }
.tier-card-featured .tier-price strong { color: #fff; }
.tier-card-featured .tier-price .price-prefix { color: var(--ink-soft); }
.tier-card-featured .tick-list li { color: var(--ink-soft); }
.tier-card-featured .tick-list li::before { color: var(--accent); }

.tier-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tier-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.tier-price {
  font-family: "Playfair Display", serif;
  font-variation-settings: "opsz" 144;
  margin-bottom: 24px;
}

.tier-price .price-prefix {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  margin-bottom: 4px;
}

.tier-price strong {
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.tier-card .tick-list { margin-bottom: 30px; flex: 1; }

.tier-card-featured .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.tier-card-featured .btn-ghost:hover {
  border-color: #ffd4b3;
  color: #ffd4b3;
  background: rgba(255, 255, 255, 0.04);
}

.pricing-cta-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.contact-panel {
  padding: 40px 34px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}

.contact-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 12px;
}

.contact-list li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 500;
  width: fit-content;
  max-width: 100%;
}

.contact-list a { color: var(--ink); transition: color 0.2s ease; }
.contact-list a:hover, .contact-list a:focus-visible { color: var(--accent); }

.contact-icon {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.98rem;
}

.contact-form {
  padding: 40px 34px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.field { display: grid; gap: 8px; }

.field label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--input-bg);
  color: var(--ink);
  font-size: 0.98rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field-full { grid-column: 1 / -1; }

.contact-form textarea { min-height: 140px; resize: vertical; }

.honeypot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.form-followup {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 18px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-followup strong {
  color: var(--accent);
  font-weight: 600;
}

.form-followup-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.78rem;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0 22px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.consent-row input[type="checkbox"] {
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.turnstile-wrap { margin: 0 0 22px; }
.turnstile-wrap .cf-turnstile { min-height: 66px; }

.form-message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.94rem;
  display: none;
}

.form-message.is-visible { display: block; }

.form-message.success {
  background: rgba(120, 200, 140, 0.1);
  color: #a8e0bc;
  border: 1px solid rgba(120, 200, 140, 0.3);
}

.form-message.error {
  background: rgba(220, 90, 90, 0.1);
  color: #f0a8a8;
  border: 1px solid rgba(220, 90, 90, 0.32);
}

/* ============ Footer ============ */
.site-footer {
  padding: 42px 0 22px;
  margin-top: 40px;
  background: transparent;
  border-top: 1px solid var(--border);
  backdrop-filter: blur(2px);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-logo,
.footer-brand-text {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: opacity 0.2s ease;
}

.footer-brand-text {
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.footer-brand-logo:hover,
.footer-brand-logo:focus-visible,
.footer-brand-text:hover,
.footer-brand-text:focus-visible {
  opacity: 0.82;
  outline: none;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--border);
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: var(--ink);
  font-size: 1rem;
}

.footer-brand span { color: var(--muted); font-size: 0.86rem; }

.footer-meta {
  display: inline-flex; gap: 18px; align-items: center;
  color: var(--dim); font-size: 0.88rem;
}

.footer-meta a { color: var(--muted); transition: color 0.2s ease; }
.footer-meta a:hover, .footer-meta a:focus-visible { color: var(--accent); }

.legal-note {
  color: var(--dim);
  font-size: 0.78rem;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ============ Mobile CTA ============ */
.mobile-cta {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 99;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(255, 106, 26, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-cta.is-visible { opacity: 1; pointer-events: auto; }

.mobile-cta-arrow {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}

/* ============ Reveal ============ */
.reveal {
  opacity: 1;
  transform: translateY(22px);
  transition: transform 0.8s cubic-bezier(0.22, 0.65, 0.2, 1);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}

.reveal.is-visible { transform: none; will-change: auto; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ Responsive ============ */
@media (max-width: 1120px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-tiers { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  :root { --section-space: 78px; }
  html,
  body {
    overflow-x: hidden;
  }

  main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero {
    height: auto;
    padding: 50px 0 40px;
  }
  .hero-pin {
    position: static;
    height: auto;
    padding: 0;
    overflow: visible;
    display: block;
  }

  .bg-ambient {
    position: absolute;
    min-height: 100%;
  }

  /* Mobile perf: vypnout drahé fixed-overlay vrstvy */
  body::after { display: none; }

  .reveal,
  .fly-from-left {
    transform: none;
    transition: none;
    will-change: auto;
  }

  /* Showcase: hide phone (mobile preview by side doesn't fit), keep laptop centered */
  .device-phone { display: none; }
  .device-laptop { margin: 0 auto; }
  /* Mobile: hide visible arrows, use full-half tap zones for navigation */
  .showcase-nav { display: none; }
  .showcase-tap { display: block; }
  .showcase-intro-desktop { display: none; }
  .showcase-intro-mobile { display: block; }

  /* Lehčí backdrop-filter na mobilu — blur(28px) je velmi drahý */
  .site-header {
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
  }
  /* Užší container padding na malých displejích */
  .container { width: min(var(--container), calc(100% - 28px)); }
  /* Hero-pin::before nesmí přetékat ven — mobilní Safari ne vždy ctí overflow-x: clip */
  .hero-pin::before { width: 280px; height: 280px; right: 0; }
  /* Lehčí glow na mobilu — blur(40px) je drahý */
  .showcase-glow { filter: blur(20px); height: 130px; }

  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px; right: 20px;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: var(--r-md);
    background: rgba(20, 20, 24, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--sh-lg);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { width: 100%; }
  .mobile-cta { display: inline-flex; }
}

@media (max-width: 720px) {
  .cards-4, .contact-form-grid, .hero-points { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 40px; }
  .hero-compact { padding: 42px 0 8px; }
  .hero-compact + .section { padding-top: 20px; }
  .hero-card, .card, .step-card, .tier-card,
  .contact-panel, .contact-form, .cta-banner {
    padding: 28px 24px;
  }
  .cta-banner { padding: 56px 28px; }
  .cta-banner::after { width: 220px; height: 220px; bottom: -90px; right: -40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  /* Headline scales down naturally via clamp() but ensure no overflow */
  h1 { max-width: 100%; }

  /* Showcase: hide phone on mobile, scale laptop down */
  .device-phone { display: none; }
  .device-laptop { width: min(100%, 500px); }
  .showcase-stage { padding: 20px 0 30px; }
  .showcase-glow { height: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; will-change: auto; }
  .fly-from-left { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Cookie consent banner — shared component across all KG sites
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  width: min(440px, calc(100% - 40px));
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--bg-card, #18181f);
  color: var(--ink, #f5efe2);
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.18));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: start;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 0.65, 0.2, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner-icon { font-size: 1.55rem; line-height: 1; margin-top: 2px; }
.cookie-banner-body { grid-column: 2; display: grid; gap: 6px; }
.cookie-banner-body strong {
  font-size: 0.96rem; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.cookie-banner-body p {
  font-size: 0.85rem; line-height: 1.55; margin: 0;
  color: var(--muted);
}
.cookie-banner-body em {
  font-style: normal; font-weight: 600;
  color: var(--accent);
}
.cookie-banner-btn {
  grid-column: 2; margin-top: 6px; justify-self: start;
  padding: 10px 22px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-contrast, #0a0a0c);
  font-family: inherit; font-weight: 700; font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 8px 22px rgba(255, 106, 26, 0.35);
}
.cookie-banner-btn:hover, .cookie-banner-btn:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-hi);
  outline: none;
  box-shadow: 0 12px 30px rgba(255, 106, 26, 0.45);
}

/* Lightweight mode for this page when embedded as a preview elsewhere. */
html.is-preview-frame .bg-ambient,
html.is-preview-frame .bg-grain,
html.is-preview-frame body::after,
html.is-preview-frame .mobile-cta,
html.is-preview-frame .cookie-banner,
html.is-preview-frame .turnstile-wrap,
html.is-preview-frame .showcase-stage {
  display: none !important;
}

html.is-preview-frame *,
html.is-preview-frame *::before,
html.is-preview-frame *::after {
  animation: none !important;
  transition: none !important;
}

html.is-preview-frame .site-header,
html.is-preview-frame .hero-pin {
  position: static !important;
}

html.is-preview-frame .reveal,
html.is-preview-frame .fly-from-left {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 540px) {
  .cookie-banner {
    left: 12px; right: 12px; bottom: 12px;
    padding: 18px 20px;
  }
}
