@charset "UTF-8";
/*
  Pro produkci: nahraj fonty Moderat na server (např. /fonts/)
  a aktivuj @font-face. Bez aktivace fallback Sofia Sans.
*/
:root {
  --bg: #ffffff;
  --bg-2: #ffbc00;
  --bg-gradient: radial-gradient(ellipse 115% 95% at 50% 50%,
      #ffffff 0%,
      #ffffff 48%,
      #fff8e6 72%,
      rgba(255, 224, 140, 0.55) 88%,
      rgba(255, 188, 0, 0.22) 100%);
  --ink: #1a1919;
  --ink-soft: rgba(26, 25, 25, 0.72);
  --ink-mute: rgba(26, 25, 25, 0.48);
  --line: rgba(26, 25, 25, 0.08);
  --line-strong: rgba(26, 25, 25, 0.16);
  --accent: #ffbc00;
  --accent-deep: #e6a900;
  --accent-glow: rgba(255, 188, 0, 0.2);
  --accent-gradient: linear-gradient(135deg, #ffbc00 0%, #e6a900 55%, #d9a000 100%);
  --yellow: var(--accent);
  --yellow-deep: var(--accent-deep);
  --brand: #108a01;
  --conic-gradient: conic-gradient(from 0deg,
      transparent 0deg,
      transparent 35deg,
      #ffbc00 75deg,
      rgba(255, 188, 0, 0.7) 105deg,
      transparent 135deg,
      transparent 180deg,
      transparent 215deg,
      #ffbc00 255deg,
      rgba(255, 188, 0, 0.7) 285deg,
      transparent 315deg,
      transparent 360deg);
  --vignette: radial-gradient(ellipse 72% 68% at 50% 50%,
      #ffffff 0%,
      rgba(255, 255, 255, 0.97) 38%,
      rgba(255, 255, 255, 0.72) 58%,
      rgba(255, 255, 255, 0.2) 78%,
      transparent 100%);
  --display: 'Moderat', 'Sofia Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --heading: 'Moderat', 'Sofia Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
}

body {
  font-family: var(--display);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .container {
    padding: 0 20px;
  }
}
/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(16, 138, 1, 0.2);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  justify-content: center;
}

.btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn:hover:not(:disabled) svg {
  transform: translateX(4px);
}

/* ============= ANIMATED BACKGROUND (fixed) ============= */
.bg {
  position: fixed;
  inset: 0;
  background: var(--bg-gradient, var(--bg-2));
  overflow: hidden;
  z-index: 0;
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 80% at 0% 50%, rgba(255, 188, 0, 0.18) 0%, transparent 72%), radial-gradient(ellipse 55% 80% at 100% 50%, rgba(255, 188, 0, 0.18) 0%, transparent 72%), radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255, 224, 140, 0.12) 0%, transparent 70%), radial-gradient(ellipse 90% 40% at 50% 100%, rgba(255, 224, 140, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.bg-conic {
  position: absolute;
  inset: -42%;
  background: var(--conic-gradient);
  filter: blur(80px);
  animation: rotate-conic 22s linear infinite;
  opacity: 0.35;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse 68% 62% at 50% 50%, transparent 52%, black 100%);
  -webkit-mask-image: radial-gradient(ellipse 68% 62% at 50% 50%, transparent 52%, black 100%);
}

@keyframes rotate-conic {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.bg-orb {
  display: none;
}

.bg-noise {
  display: none;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: var(--vignette);
  pointer-events: none;
  z-index: 2;
}

/* ============= NAV ============= */
nav.main-nav {
  position: relative;
  z-index: 10;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 24px var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  border-radius: 5px;
}

.logo-text {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.logo-text .accent {
  color: var(--yellow);
}

.nav-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.nav-contacts a {
  transition: color 0.2s ease;
}

.nav-contacts a:hover {
  color: var(--yellow);
}

@media (max-width: 700px) {
  .nav-contacts {
    display: none;
  }
}
/* ============= HERO ============= */
.hero {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
  text-align: center;
}

h1 {
  font-family: var(--heading);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 auto 32px;
  max-width: 18ch;
}

h1 .hand {
  font-family: "Caveat", cursive;
  color: var(--yellow);
  font-weight: 700;
  font-size: 1.15em;
  letter-spacing: 0;
  display: inline-block;
  transform: rotate(-3deg);
  line-height: 0.9;
}

.lead {
  font-family: var(--heading);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 38ch;
  margin: 0 auto 56px;
}

/* What we do */
.what {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.what-item strong {
  display: block;
  font-family: var(--heading);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.what-item span {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .what {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* ============= REFERENCES CAROUSEL ============= */
.refs-section {
  position: relative;
  z-index: 1;
  padding: 40px 0 60px;
}

.refs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.refs-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}

.refs-title {
  font-family: var(--heading);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.refs-title .hand {
  font-family: "Caveat", cursive;
  color: var(--yellow);
  font-weight: 700;
  font-size: 1.15em;
  letter-spacing: 0;
  display: inline-block;
  transform: rotate(-3deg);
  line-height: 0.9;
}

.refs-footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.refs-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.refs-arrow {
  width: 48px;
  height: 48px;
  padding: 0;
  gap: 0;
}

.refs-arrow svg {
  width: 20px;
  height: 20px;
}

.refs-arrow:disabled {
  opacity: 0.35;
}

.refs-arrow:disabled:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: none;
}

.refs-viewport {
  overflow: hidden;
  padding: 4px 0;
}

.refs-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.ref {
  flex: 0 0 calc((100% - 40px) / 3);
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ref-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffbc00;
  line-height: 1;
}

.ref-star {
  display: block;
  flex-shrink: 0;
}

.ref-text {
  flex-grow: 1;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

.ref-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.ref-name {
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.ref-company {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  transition: color 0.2s ease;
}

.ref-company:hover {
  color: var(--yellow);
}

.ref-cta {
  align-self: flex-start;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

.ref:hover .ref-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ref-cta:hover {
  transform: translateY(-2px);
}

.refs-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  margin-bottom: 0;
}

.refs-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.65, 0, 0.35, 1), background 0.25s ease;
}

.refs-dot:hover {
  background: var(--ink-soft);
}

.refs-dot.active {
  background: var(--brand);
  width: 32px;
}

@media (max-width: 1000px) {
  .ref {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}
@media (max-width: 700px) {
  .refs-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .ref {
    flex: 0 0 100%;
  }
}
/* ============= SCREENS SCROLLER ============= */
.screens-section {
  position: relative;
  z-index: 1;
  padding: 60px 0 80px;
  overflow-x: clip;
}

.screens-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.screens-title {
  font-family: var(--heading);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.screens-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.screens-title .hand {
  font-family: "Caveat", cursive;
  color: var(--yellow);
  font-weight: 700;
  font-size: 1.15em;
  letter-spacing: 0;
  display: inline-block;
  transform: rotate(-3deg);
  line-height: 0.9;
}

.screens-scroller {
  width: 100%;
  max-width: 100%;
  margin-right: calc(50% - 50vw);
}

.screens-strip {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screens-strip::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.screens-scrollbar {
  height: 16px;
  margin-top: 4px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.screens-scrollbar-track {
  position: relative;
  height: 16px;
  background: #ffffff;
  border-radius: 999px;
  cursor: pointer;
}

.screens-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  min-width: 48px;
  background: var(--brand);
  border-radius: 999px;
  cursor: grab;
  transition: background 0.2s ease;
}

.screens-scrollbar-thumb:hover {
  background: var(--ink);
}

.screens-scrollbar-thumb.is-dragging {
  cursor: grabbing;
  background: var(--ink);
}

.screens-track {
  display: flex;
  gap: 24px;
}

.screen {
  flex: 0 0 75vw;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.screen:hover {
  transform: translateY(-6px);
}

.screen-img {
  width: 100%;
  height: 991px;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.screen:hover .screen-img {
  border-color: var(--yellow);
  box-shadow: 0 16px 40px rgba(26, 25, 25, 0.12);
}

.screen-img svg,
.screen-img img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

.screen-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}

.screen-name {
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.screen-url {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

@media (max-width: 800px) {
  .screen-img {
    height: 600px;
  }
}
@media (max-width: 600px) {
  .screens-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .screens-track {
    gap: 16px;
  }
  .screen {
    flex: 0 0 85vw;
  }
  .screen-img {
    height: 480px;
  }
}
.contact-section {
  position: relative;
  z-index: 1;
  padding: 80px 0 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1000px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/* ============= FORM ============= */
.form-card {
  background: var(--bg);
  color: var(--ink);
  padding: 32px;
  border-radius: 5px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(26, 25, 25, 0.12);
}

.form-title {
  font-family: var(--heading);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 6px;
}

.form-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

form.zform {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .row-2 {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.field input,
.field textarea {
  font-family: var(--display);
  font-size: 18px;
  padding: 15px 20px;
  background: rgba(26, 25, 25, 0.04);
  border: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
  border-radius: 5px;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.field input::-moz-placeholder, .field textarea::-moz-placeholder {
  color: var(--ink-mute);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-mute);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: rgba(26, 25, 25, 0.04);
  box-shadow: 0 0 0 2px var(--accent);
}

.field textarea {
  min-height: 80px;
  resize: vertical;
  font-family: var(--display);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.turnstile-wrap {
  min-height: 70px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.turnstile-wrap .cf-turnstile {
  max-width: 100%;
}

.submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 0;
  padding: 15px 22px;
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(16, 138, 1, 0.2);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}

.submit-btn svg {
  width: 14px;
  height: 14px;
}

.form-msg {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 4px 0 0;
  min-height: 18px;
  text-align: center;
  color: var(--ink-soft);
}

.form-msg.error {
  color: #DC2626;
}

.form-msg.success {
  color: #16A34A;
}

/* ============= INVOICE (no background) ============= */
.invoice {
  padding: 36px 0 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1000px) {
  .invoice {
    padding: 0;
  }
}
.invoice-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

.invoice-name {
  font-family: var(--heading);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.invoice-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.invoice-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.invoice-row:first-child {
  padding-top: 14px;
  border-top: 0;
}

.invoice-row .key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.invoice-row .val {
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.invoice-row .val a {
  transition: color 0.2s ease;
}

.invoice-row .val a:hover {
  color: var(--yellow);
}

/* ============= FOOTER ============= */
footer {
  position: relative;
  z-index: 1;
  padding: 32px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}