/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --bg:           #050508;
  --bg-2:         #09090f;
  --surface:      #0f0f1a;
  --surface-2:    #14142a;
  --border:       rgba(255,255,255,.07);
  --border-h:     rgba(255,255,255,.14);
  --glass:        rgba(255,255,255,.04);

  --purple:       #5d2eeb;
  --purple-l:     #7c55ef;
  --purple-d:     #4a22c0;
  --purple-glow:  rgba(93,46,235,.28);

  --text:         #ffffff;
  --text-2:       rgba(255,255,255,.58);
  --text-3:       rgba(255,255,255,.32);

  --ff-head: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;

  --max-w: 1200px;
  --ease:  cubic-bezier(.16,1,.3,1);
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--purple-l); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s var(--ease), height .3s var(--ease), opacity .3s;
  mix-blend-mode: screen;
}
.cursor-follower {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(124,85,239,.45); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: opacity .3s;
}
.cursor.grow        { width: 22px; height: 22px; }
.cursor-follower.grow { transform: translate(-50%,-50%) scale(1.6); }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--purple), var(--purple-l));
  z-index: 10001;
  transition: width .08s linear;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.5rem;
  border-radius: 100px;
  font-family: var(--ff-body); font-size: .92rem; font-weight: 500;
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.08);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: var(--purple); color: #fff;
}
.btn--primary:hover {
  box-shadow: 0 10px 32px var(--purple-glow);
}
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--border-h); }
.btn--secondary {
  background: rgba(93,46,235,.14); color: var(--purple-l);
  border: 1px solid rgba(93,46,235,.28);
}
.btn--lg   { padding: .95rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* Section helpers */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
}
.section-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple-l);
  padding: .35rem .9rem;
  background: rgba(93,46,235,.1);
  border: 1px solid rgba(93,46,235,.22);
  border-radius: 100px;
}
.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.9rem,3.8vw,2.9rem);
  font-weight: 700; line-height: 1.15;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-2); line-height: 1.7;
  max-width: 500px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 1.4rem; left: 50%; transform: translateX(-50%);
  width: calc(100% - 4rem); max-width: var(--max-w);
  z-index: 1000;
  transition: top .4s var(--ease);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.5rem;
  background: rgba(9,9,20,.6);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.nav.scrolled .nav__inner {
  background: rgba(5,5,15,.95);
  border-color: rgba(93,46,235,.2);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}

.nav__logo {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 1.15rem;
}
.nav__logo-icon { color: var(--purple-l); font-size: .85rem; }
.nav__logo-img { height: 34px; width: auto; object-fit: contain; display: block; }

.nav__menu { display: flex; align-items: center; gap: 1.8rem; }
.nav__link {
  font-size: .88rem; color: var(--text-2);
  position: relative; transition: color .3s;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  height: 1px; width: 0;
  background: var(--purple-l);
  transition: width .35s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: .9rem; }

/* Language switcher */
.lang-switcher {
  background: none; border: 1px solid var(--border);
  color: var(--text-2); border-radius: 100px;
  padding: .35rem .8rem; font-size: .75rem; font-weight: 700;
  cursor: pointer; display: flex; gap: .3rem;
  letter-spacing: .06em;
  transition: border-color .3s, color .3s;
}
.lang-switcher:hover { border-color: var(--purple); color: var(--text); }
#lang-active { color: var(--purple-l); }
.lang-sep    { color: var(--text-3); }

/* Burger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all .35s var(--ease); transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(5,5,15,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul   { display: flex; flex-direction: column; gap: 1.8rem; text-align: center; }
.mobile-link {
  font-family: var(--ff-head); font-size: 2rem; font-weight: 700;
  color: var(--text-2);
  opacity: 0; transform: translateY(18px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), color .3s;
}
.mobile-menu.open .mobile-link { opacity: 1; transform: translateY(0); color: var(--text); }
.mobile-menu.open li:nth-child(1) .mobile-link { transition-delay: .08s; }
.mobile-menu.open li:nth-child(2) .mobile-link { transition-delay: .13s; }
.mobile-menu.open li:nth-child(3) .mobile-link { transition-delay: .18s; }
.mobile-menu.open li:nth-child(4) .mobile-link { transition-delay: .23s; }
.mobile-link:hover { color: var(--purple-l); }
.mobile-cta { opacity: 0; transform: translateY(14px); transition: opacity .45s .28s var(--ease), transform .45s .28s var(--ease); }
.mobile-menu.open .mobile-cta { opacity: 1; transform: translateY(0); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* mobile: excludes browser chrome */
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* Canvas particles */
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .55;
}

/* Ambient orbs */
.hero__orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  animation: orbFloat 10s ease-in-out infinite;
}
.orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(93,46,235,.18) 0%, transparent 65%);
  top: -240px; left: -240px; animation-delay: 0s;
}
.orb--2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(124,85,239,.12) 0%, transparent 65%);
  bottom: -120px; right: -120px; animation-delay: -4s;
}
.orb--3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,150,255,.08) 0%, transparent 65%);
  top: 45%; left: 65%; animation-delay: -7s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(28px,-22px) scale(1.04); }
  66%      { transform: translate(-18px,28px) scale(.96); }
}

/* Hero content */
.hero__content {
  position: relative; z-index: 2;
  text-align: center; max-width: 820px; padding: 0 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-2);
  padding: .45rem 1.1rem;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 1.8rem;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple-l);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(1.5); }
}

.hero__title {
  font-family: var(--ff-head);
  font-size: clamp(2.8rem,7vw,5.5rem);
  font-weight: 900; line-height: 1.04;
  display: flex; flex-direction: column; gap: .08em;
  margin-bottom: 1.4rem;
}
.hero__line { display: block; }
.hero__line--gradient {
  background: linear-gradient(135deg, #a78bfa 0%, #7c55ef 40%, #5d2eeb 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(.95rem,2vw,1.18rem);
  color: var(--text-2); line-height: 1.72;
  max-width: 540px; margin-bottom: 2.4rem;
}

.hero__ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: 3.5rem; flex-wrap: wrap;
}

.hero__stats {
  display: flex; align-items: center; gap: 2.5rem;
  padding: 1.4rem 2.2rem;
  background: rgba(255,255,255,.028);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  flex-wrap: nowrap; justify-content: center;
}
.hero__stat { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.hero__stat-number {
  display: flex; align-items: baseline; gap: 1px;
  font-family: var(--ff-head); font-size: 2.4rem; font-weight: 700; line-height: 1;
}
.hero__stat-plus { font-size: 1.8rem; color: var(--purple-l); }
.hero__stat-label {
  font-size: .7rem; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .06em; text-align: center;
  white-space: nowrap;
}
.hero__stat-sep { width: 1px; height: 44px; background: var(--border); }

/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .7rem; color: var(--text-3);
  letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; animation: fadeUp .8s var(--ease) 1.6s forwards;
}
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--purple-l), transparent);
  animation: scanDown 2s ease-in-out infinite;
}
@keyframes scanDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.1%{ transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 9rem 0;
  position: relative;
}
.about::before {
  content: ''; position: absolute;
  left: 50%; top: 0; transform: translateX(-50%);
  width: 1px; height: 72px;
  background: linear-gradient(to bottom, transparent, var(--border));
}
.about__content { max-width: 780px; margin: 0 auto; text-align: center; }
.about__text {
  font-family: var(--ff-head);
  font-size: clamp(1.2rem,2.8vw,1.9rem);
  font-weight: 400; line-height: 1.58;
  color: var(--text-2);
  margin-bottom: 3rem;
}
.about__sig {
  font-family: 'Courier New', monospace;
  font-size: 1.4rem; letter-spacing: .35em; color: var(--text-3);
  position: relative; display: inline-block;
}
.about__sig::before, .about__sig::after {
  content: ''; position: absolute;
  height: 1px; width: 50px; background: var(--border); top: 50%;
}
.about__sig::before { right: calc(100% + 1rem); }
.about__sig::after  { left:  calc(100% + 1rem); }
.about__sig-img {
  display: block;
  max-width: 380px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: .9;
}

/* ============================================================
   TEAM
   ============================================================ */
.team {
  padding: 7rem 0;
  background: var(--bg-2);
  overflow: hidden; position: relative;
}
.team::after {
  content: ''; position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(93,46,235,.05) 0%, transparent 70%);
  pointer-events: none;
}
.team__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; max-width: 900px; margin: 0 auto;
}
.team__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .35s, box-shadow .35s;
  will-change: transform;
}
.team__card:hover {
  border-color: rgba(93,46,235,.3);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

.team__photo {
  height: 300px; position: relative; overflow: hidden;
}
.team__photo-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
/* gradient overlay at bottom of photo */
.team__photo::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 100px;
  background: linear-gradient(to top, var(--surface), transparent);
  z-index: 3;
}

.team__body { padding: 1.5rem; }
.team__name { font-family: var(--ff-head); font-size: 1.2rem; font-weight: 700; margin-bottom: .3rem; }
.team__role {
  font-size: .78rem; font-weight: 700;
  color: var(--purple-l); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: .8rem;
}
.team__bio { font-size: .88rem; color: var(--text-2); line-height: 1.68; }

/* ============================================================
   WHY EFIKON
   ============================================================ */
.why { padding: 8rem 0; }
.cases {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem;
  align-items: start;
}
.case {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: .9rem;
  position: relative; overflow: hidden;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
  color: inherit; text-decoration: none;
}
.case::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-l));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.case:hover::before { transform: scaleX(1); }
.case:hover {
  border-color: rgba(93,46,235,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.case--featured {
  background: linear-gradient(140deg, rgba(93,46,235,.14), rgba(93,46,235,.04));
  border-color: rgba(93,46,235,.28);
}
.case__tag {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--purple-l);
  padding: .28rem .75rem;
  background: rgba(93,46,235,.1); border-radius: 100px;
  width: fit-content;
}
.case__title { font-family: var(--ff-head); font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.case__desc  { font-size: .88rem; color: var(--text-2); line-height: 1.72; flex: 1; }
.case__btn   { margin-top: auto; width: fit-content; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  padding: 8rem 0;
  background: var(--bg-2);
  overflow: hidden;
}
.reviews__outer {
  overflow: hidden;
  /* constrain to container width so 4th card is fully hidden */
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.reviews__track {
  display: flex; gap: 1.5rem;
  will-change: transform;
  /* no CSS transition – GSAP handles it */
}
.review {
  /* width set dynamically by JS; fallback = 1/3 of container */
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 260px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.review:hover { border-color: rgba(93,46,235,.28); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.review__head { display: flex; align-items: center; gap: .9rem; }
.review__av {
  width: 56px; height: 56px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
  overflow: hidden;
}
.av--a   { background: linear-gradient(135deg,#667eea,#764ba2); color: #fff; }
.av--dgs { background: linear-gradient(135deg,#1e3a8a,#7c3aed); color: #fff; font-size: .8rem; letter-spacing: .04em; }
.av--vm  { background: linear-gradient(135deg,#78350f,#b45309); color: #fff; font-size: .8rem; }
.av--k   { background: linear-gradient(135deg,#065f46,#059669); color: #fff; }
.av--np  { background: linear-gradient(135deg,#1e40af,#0ea5e9); color: #fff; }
/* Odkaz na profil klienta – vložte URL do href="" */
.review__av-link {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  flex-shrink: 0;
  font-weight: 700; font-size: 1rem; letter-spacing: .03em;
  color: #fff;
}

.review__who   { font-weight: 600; font-size: .95rem; }
.review__stars { color: #fbbf24; font-size: .8rem; letter-spacing: .05em; margin-top: .15rem; }
.review__text  { font-size: .88rem; color: var(--text-2); line-height: 1.72; flex: 1; }

.reviews__controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; margin-top: 2.5rem;
}
.reviews__arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s, transform .3s;
}
.reviews__arrow:hover {
  background: var(--purple); border-color: var(--purple);
  transform: scale(1.1);
}
.reviews__dots { display: flex; gap: 0; align-items: center; }
.rdot {
  width: 44px; height: 44px;          /* skutečná touch target velikost */
  background: transparent;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
/* vizuální tečka přes ::before */
.rdot::before {
  content: '';
  width: 6px; height: 6px; border-radius: 3px;
  background: var(--border);
  transition: width .35s var(--ease), background .35s;
}
.rdot.active::before { width: 22px; background: var(--purple); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 8rem 0; }
.services__grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
.service {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2.4rem;
  position: relative; overflow: hidden;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.service::after {
  content: ''; position: absolute; bottom: -30px; right: -30px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(93,46,235,.1) 0%, transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.service:hover::after { opacity: 1; }
.service:hover {
  border-color: rgba(93,46,235,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.38);
}
.service__icon  { font-size: 2.4rem; display: block; margin-bottom: 1.1rem; }
.service__title { font-family: var(--ff-head); font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; }
.service__desc  { font-size: .9rem; color: var(--text-2); line-height: 1.72; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 7rem 0; }
.faq .section-header { margin-bottom: 3rem; }
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.faq__item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq__item[open] { border-color: rgba(124, 58, 237, .4); }
.faq__item[open] .faq__q::after { transform: rotate(180deg); }

.faq__q {
  list-style: none;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '↓';
  color: var(--purple-l);
  font-size: .9rem;
  flex-shrink: 0;
  transition: transform .3s;
}

.faq__a {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-2);
  line-height: 1.72;
  font-size: .95rem;
  border-top: 1px solid var(--border);
  margin-top: .5rem;
  padding-top: 1rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 8rem 0;
  background: var(--bg-2); position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(93,46,235,.055) 0%, transparent 70%);
  pointer-events: none;
}
.contact__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  position: relative; z-index: 1;
}
.contact__left .section-tag { margin-bottom: .6rem; }
.contact__title { text-align: left; margin-bottom: 1rem; }
.contact__sub { color: var(--text-2); line-height: 1.72; margin-bottom: 2rem; }
.contact__email {
  font-size: 1.05rem; font-weight: 600; color: var(--purple-l);
  border-bottom: 1px solid rgba(93,46,235,.32);
  padding-bottom: .2rem; display: inline-block;
  transition: color .3s, border-color .3s;
}
.contact__email:hover { color: #fff; border-color: #fff; }

/* Form */
.contact__form { display: flex; flex-direction: column; gap: 1.2rem; }
.field { position: relative; }
.field__input {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 1.2rem 1.2rem .6rem;
  color: var(--text); font-family: var(--ff-body); font-size: .94rem;
  outline: none; resize: none;
  transition: border-color .3s, box-shadow .3s;
}
.field__input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(93,46,235,.14);
}
.field__label {
  position: absolute; top: .92rem; left: 1.2rem;
  font-size: .9rem; color: var(--text-3);
  pointer-events: none;
  transition: top .2s var(--ease), font-size .2s, color .2s;
}
.field__input:focus ~ .field__label,
.field__input:not(:placeholder-shown) ~ .field__label {
  top: .32rem; font-size: .7rem; color: var(--purple-l);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 5rem 0 3rem;
  border-top: 1px solid var(--border);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 3rem;
}
.footer__left {
  display: flex; flex-direction: column; gap: 1rem;
}
.footer__brand {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 1.2rem;
}
.footer__logo-img { height: 28px; width: auto; object-fit: contain; display: block; }
.footer__tag  { color: var(--text-2); font-size: .88rem; line-height: 1.6; max-width: 220px; }
.footer__email {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .88rem; color: #a78bfa; font-weight: 500;
  transition: color .3s;
}
.footer__email:hover { color: var(--text); }

.footer__social {
  display: flex; gap: .75rem; margin-top: .75rem;
}
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(124,58,237,.15); color: #a78bfa;
  transition: background .3s, color .3s;
}
.footer__social a:hover { background: var(--accent); color: #fff; }

/* ── Read also (case studies) ─────────────────────────────────────────────── */
.cs-read-also { padding: 3rem 0; }
.cs-read-also .section-label { margin-bottom: 1rem; }
.cs-read-also__cards { display: flex; gap: 1rem; flex-wrap: wrap; }
.cs-read-also__card {
  display: flex; align-items: center; gap: 1rem;
  flex: 1 1 280px; padding: 1.25rem 1.5rem; border-radius: 1rem;
  background: var(--surface); border: 1px solid rgba(124,58,237,.2);
  transition: border-color .3s, transform .3s;
  text-decoration: none; color: inherit;
}
.cs-read-also__card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cs-read-also__label {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); display: block;
}
.cs-read-also__title {
  font-size: 1rem; font-weight: 600; color: var(--text); display: block; flex: 1;
}
.cs-read-also__arrow { font-size: 1.25rem; color: var(--accent); flex-shrink: 0; }

.footer__center { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.footer__logo-big {
  font-family: var(--ff-head); font-size: 2.5rem; font-weight: 900;
  color: rgba(255,255,255,.4); letter-spacing: .1em;
  user-select: none;
}

.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.footer__nav { display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; }
.footer__nav a { font-size: .88rem; color: var(--text-2); transition: color .3s; }
.footer__nav a:hover { color: var(--text); }

.footer__bottom {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer__copy { font-size: .78rem; color: var(--text-2); }
.footer__made { font-size: .78rem; color: var(--text-2); }
.footer__made span { color: var(--purple-l); }
.footer__cookie {
  font-size: .78rem; color: var(--text-2);
  background: none !important; border: none !important;
  box-shadow: none !important; outline: none;
  padding: 0; margin: 0; cursor: pointer;
  font-family: inherit; text-decoration: none; line-height: inherit;
  -webkit-appearance: none; appearance: none;
  transition: color .2s;
}
.footer__cookie:hover { color: var(--purple-l); }

/* ============================================================
   3D TILT (applied via JS)
   ============================================================ */
.tilt { transform-style: preserve-3d; }

/* ============================================================
   GSAP INITIAL STATES (elements to animate on scroll)
   ============================================================ */
.gsap-hidden { opacity: 0; transform: translateY(40px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablet landscape ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .cases { grid-template-columns: 1fr 1fr; }
  .cases .case:last-child { grid-column: 1 / -1; }
  .services__grid { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet portrait / large mobile ──────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav { width: calc(100% - 2.5rem); }
  .lang-switcher { font-size: .7rem; padding: .35rem .75rem; }

  /* Hero */
  .hero { min-height: unset; padding-bottom: 4rem;
          align-items: flex-start; padding-top: 120px; }
  .hero__content { padding: 0 1.5rem; width: 100%; gap: 1.6rem; }
  .hero__stat-sep { display: none; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .9rem 1rem; width: 100%; box-sizing: border-box; }
  .hero__stat { min-width: 0; }
  .hero__stat-number { font-size: 1.8rem; }
  .hero__stat-plus { font-size: 1.4rem; }
  .hero__stat-label { font-size: .75rem; white-space: normal; max-width: none; word-break: break-word; }
  .mobile-link { font-size: 1.6rem; }

  /* About – hide decorative lines that overflow */
  .about__sig::before, .about__sig::after { display: none; }
  .about { padding: 6rem 0; }
  .about__text { font-size: clamp(1.1rem, 4vw, 1.6rem); }

  /* Team */
  .team__grid { grid-template-columns: 1fr; }
  .team__card { max-width: 480px; margin: 0 auto; }
  .team__photo { height: 260px; }

  /* Cases */
  .cases { grid-template-columns: 1fr; }
  .cases .case:last-child { grid-column: auto; }
  .case { padding: 1.6rem; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }
  .why { padding: 6rem 0; }
  .service { padding: 1.6rem; }

  /* Reviews */
  .reviews__outer { padding: 0 1rem; }
  .review { padding: 1.5rem; }
  .reviews { padding: 6rem 0; }

  /* FAQ */
  .faq { padding: 5rem 0; }

  /* Contact */
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact { padding: 6rem 0; }
  .field__input, .field__textarea { font-size: 1rem; } /* prevent iOS zoom on focus */

  /* Footer */
  .footer__center { display: none; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer__left { align-items: center; }   /* centruje brand, tag i email */
  .footer__right { align-items: center; }
  .footer__nav { align-items: center; flex-direction: row; flex-wrap: wrap;
                 justify-content: center; gap: .8rem 1.5rem; }
  .footer__tag { max-width: 100%; }
  .footer__bottom { justify-content: center; text-align: center; flex-direction: column; gap: .4rem; }

  /* Cursor */
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }

  /* Section headers */
  .section-header { margin-bottom: 3.5rem; }
  .section-title { font-size: clamp(1.7rem, 6vw, 2.4rem); }

  /* Buttons – větší touch target */
  .btn { min-height: 44px; }
}

/* ── Small mobile (≤ 480px) ──────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 1.1rem; }
  .nav { top: .8rem; width: calc(100% - 2rem); }

  /* Hero */
  .hero { padding-top: 84px; padding-bottom: 3rem; align-items: flex-start; overflow: hidden; }
  .hero__content { padding: 0 1rem; gap: 1.4rem; width: 100%; }
  .hero__badge { font-size: .75rem; padding: .25rem .7rem; margin-bottom: 0; }
  .hero__title { font-size: clamp(1.85rem, 9.5vw, 2.6rem); margin-bottom: 0; }
  .hero__subtitle { font-size: .88rem; margin-bottom: 0; line-height: 1.6; }
  .hero__ctas { flex-direction: column; width: 100%; gap: .7rem; margin-bottom: 0; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__stats { gap: .4rem; padding: .75rem .8rem; }
  .hero__stat-number { font-size: 1.45rem; }
  .hero__stat-plus { font-size: 1.1rem; }
  .hero__stat-label { font-size: .75rem; }
  .mobile-link { font-size: 1.4rem; }
  .mobile-menu { gap: 2rem; }
  /* scroll indicator – na malém mobilu schovat, šetří místo */
  .hero__scroll { display: none; }

  /* About */
  .about__sig-img { max-width: 240px; }

  /* Team */
  .team__photo { height: 220px; }
  .team__body { padding: 1.2rem; }
  .team__name { font-size: 1.1rem; }
  .team__bio { font-size: .85rem; }

  /* Case / Service cards */
  .case, .service { padding: 1.4rem; }
  .case__title { font-size: 1.1rem; }

  /* Reviews */
  .review { padding: 1.2rem; }
  .review__text { font-size: .85rem; }
  .review__who { font-size: .9rem; }
  .reviews__controls { gap: .8rem; margin-top: 1.5rem; }

  /* Sections padding */
  .about, .why, .reviews, .services, .faq, .contact { padding: 4rem 0; }
  .team { padding: 4rem 0; }

  /* Section label + title */
  .section-label { font-size: .75rem; }
  .section-title { font-size: 1.6rem; line-height: 1.2; }
  .section-header { margin-bottom: 3rem; gap: .7rem; }

  /* Contact form */
  .contact__left { text-align: center; }
  .contact__email { font-size: .95rem; word-break: break-all; }

  /* Footer */
  .footer { padding: 4rem 0 2rem; }
  .footer__nav { gap: .8rem 1.2rem; font-size: .82rem; }
  .footer__bottom { font-size: .72rem; }

  /* FAQ */
  .faq__q { font-size: .88rem; padding: 1rem 1.1rem; }
  .faq__a { padding: 0 1.1rem .9rem; font-size: .86rem; padding-top: .7rem; }
}

/* ── Very small (≤ 360px) ────────────────────────────────── */
@media (max-width: 360px) {
  .hero { padding-top: 76px; }
  .hero__title { font-size: 1.75rem; }
  .hero__badge { margin-bottom: .5rem; }
  .hero__subtitle { font-size: .84rem; margin-bottom: 1rem; }
  .hero__ctas { margin-bottom: 1.1rem; }
  .hero__stats { padding: .55rem .7rem; }
  .mobile-link { font-size: 1.25rem; }
  .mobile-menu ul { gap: 1.3rem; }
  .nav { width: calc(100% - 1.6rem); }
  .case, .service, .review { padding: 1.1rem; }
  .section-title { font-size: 1.45rem; }
}
