  *{
    box-sizing:border-box;
    margin:0;
    padding:0;
  }

  html{
    scroll-behavior: smooth;
  }

  /* nic nesmí stránku roztáhnout do strany (např. prvky, které čekají
     mimo obrazovku na animaci) – na mobilu by šel web posouvat doboku */
  html, body{
    overflow-x: hidden;
  }

  @supports (overflow-x: clip){
    html, body{
      overflow-x: clip;
    }
  }
  
  :root{
  --accent: hsl(20, 62%, 45%);
  --accent-light: hsl(20, 62%, 58%);
  }
  section{
    padding:30px 0;
  }

  body{
    font-family:'Onest', system-ui, sans-serif;
    background:#0f1117;
    color:white;
    line-height:1.6;
  }

  /* inline SVG ikony (náhrada za Font Awesome) */
  i.icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  i.icon svg{
    width:1em;
    height:1em;
  }

  .container{
    width:min(1200px,90%);
    margin:auto;
  }

  .bg{

  position:fixed;
  inset:0;

  background:

  radial-gradient(800px 400px at 10% 20%, hsla(206, 100%, 50%, 0.12), transparent),
  radial-gradient(900px 500px at -200px 100px,#2f3747,transparent),
  linear-gradient(#0f1117,#0a0c11);
  z-index:-1;

  }

  .header{
    display:flex;
    align-items:center;
    padding:30px 0;
  }

  .logo{

  font-weight:700;
  font-size:18px;

  }

  .nav {
    display:flex;
    gap:28px;
    align-items:center;
    margin-left: auto; /* 🔥 TOHLE JE KLÍČ */
  }

  .nav a{
    color:#cfcfcf;
    text-decoration:none;
    font-size:15px;
    display:flex;
    align-items:center;
  }

  .nav a:hover{
    opacity: 1;
    color: var(--accent);
  }

  .nav a.nav-phone{
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
  }

  .nav a.nav-phone i{
    font-size: 13px;
  }

  .nav a.nav-cta{
    color:black;
  }

  .nav-cta{
    background:white;
    color:black;
    padding:10px 20px;
    border-radius:999px;
    text-decoration:none;
    font-weight:500;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-left: 40px; /* jen mezera */
  }

  .nav-cta:hover {
    transform: scale(1.04);
    box-shadow:0 8px 20px rgba(0,0,0,0.3);
  }

  .hero{
  padding:110px 0 40px;

  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,400px);
  align-items:center;
  gap:40px;
  }

  /* fotka v rámečku jako ostatní obrázky na webu, za ní jemná záře v barvě akcentu */
  .hero-photo{
  position:relative;
  isolation:isolate;
  max-width:400px;
  width:100%;
  justify-self:end;
  }

  .hero-photo::before{
  content:"";
  position:absolute;
  inset:20% -14% -14% -14%;
  z-index:-1;
  background:radial-gradient(closest-side, hsla(20, 62%, 45%, 0.45), transparent);
  filter:blur(30px);
  }

  .hero-photo img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4 / 5;
  object-fit:cover;
  object-position:50% 30%;

  border-radius:24px;
  box-shadow:0 30px 80px rgba(0,0,0,0.5);
  }

  .hero h1{
  font-size:48px;
  font-weight:800;
  line-height:1.15;
  letter-spacing:-0.01em;

  margin-bottom:24px;
  }

  .hero p{

  max-width:600px;
  opacity:.8;

  margin-bottom:30px;

  }

  .hero-buttons{

  display:flex;
  gap:16px;

  }

  /* tablet – menší fotka, ať se nadpis vejde */
  @media (min-width:768px) and (max-width:1024px){
    .hero{
      grid-template-columns:minmax(0,1fr) minmax(0,300px);
      gap:40px;
    }

    .hero h1{
      font-size:40px;
    }
  }

  .btn-primary{

    background: var(--accent);
    color: white;

    padding:12px 24px;

    border-radius:999px;
    text-decoration:none;
    text-align:center;
    white-space:nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .btn-primary:hover {
    transform: scale(1.03);
    box-shadow:0 8px 20px rgba(0,0,0,0.3);
    
  }

  .btn-secondary{
    border:1px solid rgba(255,255,255,0.5);
    padding:12px 24px;
    border-radius:999px;
    color:white;
    text-decoration:none;
    text-align:center;
    white-space:nowrap;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .btn-secondary:hover{
    transform: scale(1.04);
    box-shadow:0 8px 20px rgba(0,0,0,0.3);
    border-color: var(--accent);
    color: var(--accent);
  }

  .project-btn{
    border:1px solid rgb(221, 113, 36);
    padding:12px 24px;
    border-radius:999px;
    color: rgb(221, 113, 36);
    text-decoration:none;

    display:inline-block;
    margin-top:18px;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .project-btn:hover{
    transform: scale(1.04);
    box-shadow:0 8px 20px rgba(0,0,0,0.3);
    border-color: var(--accent);

  }

  h2{
    font-size:34px;
    line-height:1.2;
    margin-bottom:32px;
    position: relative;
    display: inline-block;
  }

  h2::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;

    width:40px;
    height:3px;

    background: var(--accent);
    border-radius:2px;
  }

  .projects-slider{
    overflow:hidden;
    position:relative;
    margin-top:40px;
    height: 100%;
  }

  .projects-track{
    display:flex;
    transition:transform 0.7s ease;
  }

  .project{
    min-width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    align-items:center;
    background:rgba(255,255,255,.05);
    padding:30px;
    border-radius:16px;
    transition: transform .3s ease, box-shadow .3s ease;
    padding-bottom: 40px; /* místo pro dots */
    position: relative;
    overflow: hidden; /* 🔥 TOHLE TI USEKNE ODRAZ */
  }

  .project-text p{
    opacity:.85;
    max-width:520px;
  }

  .project img{
    width:100%;
    border-radius:12px;
    display: block;
  }


  .browser{
    border-radius:12px;
    overflow:hidden;
    --tilt: -12deg;
    max-width:520px;

    transform: perspective(1200px) rotateY(-12deg) translateY(-5px);
    transform-origin: center;

    box-shadow:
      0 30px 60px rgba(0,0,0,0.6),
      0 10px 30px rgba(0,0,0,0.4);

    transition: transform 0.5s ease, box-shadow 0.5s ease;

    -webkit-box-reflect: below 5px
      linear-gradient(
        to bottom,
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.8)
      );


  }

  .browser:hover{
    --tilt: 0deg;
    transform: perspective(1200px) rotateY(0deg) translateY(-5px) scale(1.03);
  }
 



  .browser-bar{
    background:#1e1e1e;
    padding:8px;
    display:flex;
    gap:6px;
  }

  .browser-bar span{
    width:10px;
    height:10px;
    border-radius:50%;
  }

  .browser-bar span:nth-child(1){
    background:#ff5f57;
  }

  .browser-bar span:nth-child(2){
    background:#febc2e;
  }

  .browser-bar span:nth-child(3){
    background:#28c840;
  }

  .browser img{
    width:100%;
    height: auto; 
    object-fit:contain; 
    display:block;
  }

 



  .projects-slider {
    position: relative;
    padding-bottom: 30px; /* místo pro dots */
  }

  .slider-dots {
    position: absolute;

    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 10px;
    padding: 6px 10px;

    backdrop-filter: blur(10px);
    border-radius: 999px;
  }

  /* základ dot */
  .slider-dots button {
    all: unset;
    
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.3);

    cursor: pointer;
    transition: all 0.4s ease;
  }

  /* hover */
  .slider-dots button:hover {
    background: rgba(255,255,255,0.6);
    transform: scale(1.2);
  }

  /* aktivní = pill */
  .slider-dots button.active {
    width: 14px;
    height: 14px;

    background: linear-gradient(90deg, var(--accent), hsl(20, 70%, 60%));
    

  }



  .services{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
  }

  .card{
    background:rgba(255,255,255,.05);
    padding:24px;
    border-radius:16px;
  }

  .stack{

  display:flex;

  gap:12px;
  flex-wrap:wrap;

  }

  .stack span{
    background:#222;
    padding:8px 14px;
    border-radius:6px;
  }

  /* sekce */



/* grid */

  .reviews-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    margin-top:40px;
  }


/* karta */

  .review-card{

  background:linear-gradient(
  145deg,
  rgba(255,255,255,0.05),
  rgba(255,255,255,0.02)
  );


  padding:32px;
  border-radius:16px;
  backdrop-filter: blur(10px);
  transition:all 0.3s ease;

  }


/* hover efekt */



/* text recenze */

  .review-text{
    font-size:14px;
    line-height:1.6;
    color:#d0d0d0;
    margin-bottom:20px;
  }
  
/* autor */

  .review-author{
    font-weight:600;
    color:white;
    font-size:14px;
    color: rgba(255,255,255,0.9);
  }

  .pricing{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
  }

  .price-card{
    background:rgba(255,255,255,.05);
    padding:30px;
    border-radius:16px;
  }

  .price{
    font-size:30px;
    margin:20px 0;
    color: var(--accent);
    
  }

  .price-card ul{
    padding-left:0;
    margin-top:18px;
    list-style:none;
    }

    .price-card li{
    position:relative;
    padding-left:18px;
    margin-bottom:6px;
    }

    .price-card li::before{
    content:"•";
    position:absolute;
    left:0;
    color: var(--accent);
    }

  .contact{
    text-align:center;
  }

  .form{
    max-width:500px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:16px;
  }

  input,textarea{
    padding:12px;
    border-radius:8px;
    border:none;
    background:#1a1c22;
    color:white;
  }

  button{
    padding:12px;
    border:none;
    background:white;
    color:black;
    border-radius:30px;
    cursor:pointer;
  }

  .review-author{
    margin-top:16px;
  }

  .review-name{
    font-weight:600;
    font-size:15px;
  }

  .review-name::before{
    content:"•";
    margin-right:6px;
    color: var(--accent);   /* 🔥 přidej */
    opacity:1;              /* případně zruš zeslabení */
  }




  .review-role{
    font-size:13px;
    opacity:0.6;
    margin-top:2px;
  }

  .review-text{
    font-style:italic;
    line-height:1.6;
  }

  .consent{
  display:flex;
  gap:10px;
  align-items:center;

  font-size:13px;
  opacity:0.8;
  }

  .gdpr-label {
    font-size: 13px;        /* menší text */
    font-weight: 400;       /* lehčí (default bývá 500/600 u Interu) */
    opacity: 0.8;           /* jemnější look */
    line-height: 1.4;
    
    
  }

  .gdpr-label a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;

    transition: color 0.25s ease, text-decoration-color 0.25s ease;
  }

  /* hover efekt */
  .gdpr-label a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
  }
  /* přepíše globální input styl */
  .gdpr-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    padding: 0 !important;

    width: 12px;
    height: 12px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 3px;

    background: rgba(255,255,255,0.05);
    cursor: pointer;

    transform: translateY(2px);

    display: inline-grid;
    place-content: center;

    transition: all 0.2s ease;
  }

  /* hover */
  .gdpr-label input[type="checkbox"]:hover {
    border-color: var(--accent);
  }

  /* check */
  .gdpr-label input[type="checkbox"]::after {
    content: "";

    width: 5px;
    height: 3px;

    border-left: 2px solid white;
    border-bottom: 2px solid white;

    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) rotate(-45deg) scale(0);

    transition: transform 0.2s ease;
  }

  /* checked */
  .gdpr-label input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
  }

  .gdpr-label input[type="checkbox"]:checked::after {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1);
  }

    /* ANIMACE
       Jen dvě místa: úvod při načtení stránky a ukázka redesignu při scrollu.
       Ostatní sekce se prostě zobrazí – web tak působí klidněji. */

  /* úvod – postupné najetí při načtení */
  .hero h1,
  .hero p,
  .hero-buttons,
  .hero-photo{
    opacity: 0;
    transform: translateY(16px);
    animation: heroFade .7s cubic-bezier(.2,.7,.2,1) forwards;
  }

  .hero h1 { animation-delay: .05s; }
  .hero p { animation-delay: .15s; }
  .hero-buttons { animation-delay: .25s; }
  .hero-photo { animation-delay: .2s; }

  @keyframes heroFade {
    to {
      opacity: 1;
      transform: none;
    }
  }

  /* ukázka redesignu – objeví se, až k ní návštěvník doscrolluje */
  .case-study.reveal{
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  }

  .case-study.reveal.active{
    opacity: 1;
    transform: none;
  }

  @media (prefers-reduced-motion: reduce){
    .hero h1,
    .hero p,
    .hero-buttons,
    .hero-photo,
    .case-study.reveal{
      opacity: 1;
      transform: none;
      animation: none;
      transition: none;
    }
  }

    /* HAMBURGER */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 8px;

    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;

  }

  .hamburger span {
    width: 40px;
    height: 4px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 5px;
  }


  .about-card{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:30px;

  background:rgba(255,255,255,.05);
  border-radius:16px;
  padding:30px;

  backdrop-filter: blur(10px);
}

.about-text p{
  opacity:.8;
  margin-bottom:16px;
  max-width:500px;
}

.about-points{
  margin-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.about-points span{
  background:#222;
  padding:8px 12px;
  border-radius:8px;
  font-size:13px;
}

.about-box{
  display:flex;
  flex-direction:column;
  gap:20px;
  justify-content:center;
}

.about-highlight{
  background:linear-gradient(
    145deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  padding:20px;
  border-radius:12px;
  text-align:center;
}

.about-number{
  font-size:28px;
  font-weight:700;
  color:var(--accent);
}

.about-label{
  font-size:13px;
  opacity:.7;
}

.process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:30px;
}

.process-card{
  background:rgba(255,255,255,.05);
  padding:26px;
  border-radius:16px;

  position:relative;
  overflow:hidden;

  transition:all 0.3s ease;
}

.step{
  font-size:13px;
  color:var(--accent);
  margin-bottom:10px;
  font-weight:600;
  letter-spacing:1px;
}

.process-card h3{
  margin-bottom:10px;
  font-size:18px;
}

.process-card p{
  font-size:14px;
  opacity:.75;
  line-height:1.5;
}

/* CTA pod tím */
.process-cta{
  margin-top:40px;
  text-align:center;
}


.pricing-desc {
  margin-top: 12px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.5;
}

.pricing-note {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}



#form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
}

/* loader */
.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: auto;
}

#submit-btn.loading .btn-text {
  display: none;
}

#submit-btn.loading .btn-loader {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.reviews-slider {
  overflow: hidden;
  position: relative;
  margin-top: 40px;
}

.reviews-track {
  display: flex;
  gap: 30px;
  transition: transform 0.6s ease;
}

.review-card {
  flex: 0 0 calc((100% - 60px) / 3); /* přesně 3 */
}


.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 40px;

  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 22px;

  cursor: pointer;
  z-index: 2;

  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.reviews-arrow:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.reviews-arrow.left {
  left: -10px;
}

.reviews-arrow.right {
  right: -10px;
}

.reviews-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.reviews-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  transition: all 0.3s ease;
}

.reviews-dots button.active {
  background: var(--accent);
  transform: scale(1.3);
}






/* ===================== */
/* CASE STUDY: BEFORE / AFTER */
/* ===================== */
.case-study-card{
  display:grid;
  grid-template-columns:0.7fr 1.3fr;
  gap:36px;
  align-items:center;

  background:rgba(255,255,255,.04);
  border-radius:16px;
  padding:30px;

  backdrop-filter: blur(10px);
}

.case-study-tag{
  display:inline-block;

  font-size:12px;
  font-weight:600;
  letter-spacing:0.5px;

  color:var(--accent);
  background:rgba(221,113,36,0.12);

  padding:5px 12px;
  border-radius:999px;

  margin-bottom:16px;
}

.case-study-info h3{
  font-size:22px;
  font-weight:700;
  line-height:1.35;
  margin-bottom:18px;
}

.case-study-desc{
  font-size:15px;
  line-height:1.6;
  color:#aaa;
  margin-bottom:18px;
}

.case-study-hint{
  display:flex;
  align-items:center;
  gap:9px;

  font-size:13px;
  opacity:.6;
}

.case-study-hint i{
  color:var(--accent);
}

/* slider frame – navazuje na .browser */
.compare-frame{
  border-radius:12px;
  overflow:hidden;

  box-shadow:
    0 20px 45px rgba(0,0,0,0.45),
    0 8px 20px rgba(0,0,0,0.3);
}

.compare{
  --pos:50%;

  position:relative;
  width:100%;
  aspect-ratio:21 / 10;

  overflow:hidden;
  user-select:none;
  cursor:ew-resize;

  touch-action:pan-y;
  background:#0a0c11;
}

.compare:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
}

.compare-img{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  object-fit:cover;
  object-position:top center;

  display:block;
  pointer-events:none;
}

/* horní (redesign) vrstva – ořezává se zleva podle --pos */
.compare-after{
  position:absolute;
  inset:0;

  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0);

  will-change:clip-path;
}

/* plynulá auto-ukázka */
.compare.animating .compare-after{
  transition: clip-path 0.8s cubic-bezier(.65,0,.35,1),
              -webkit-clip-path 0.8s cubic-bezier(.65,0,.35,1);
}

.compare.animating .compare-handle{
  transition: left 0.8s cubic-bezier(.65,0,.35,1);
}

/* štítky před / po */
.compare-label{
  position:absolute;
  top:14px;

  font-size:12px;
  font-weight:600;
  letter-spacing:0.5px;

  padding:5px 12px;
  border-radius:999px;

  background:rgba(10,12,17,0.7);
  backdrop-filter:blur(6px);

  color:white;
  pointer-events:none;

  transition:opacity 0.3s ease;
}

.compare-label-before{
  left:14px;
  background:rgba(221,113,36,0.85);
}

.compare-label-after{
  right:14px;
}

/* posuvná lišta */
.compare-handle{
  position:absolute;
  top:0;
  bottom:0;
  left:var(--pos);

  width:3px;
  transform:translateX(-50%);

  background:rgba(255,255,255,0.9);

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  pointer-events:none;
}

.compare-handle-line{
  flex:1;
  width:3px;
  background:rgba(255,255,255,0.9);
}

.compare-handle-grip{
  flex:none;

  width:44px;
  height:44px;
  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;

  background:white;
  color:#0f1117;

  box-shadow:0 6px 18px rgba(0,0,0,0.4);

  transition:transform 0.25s ease, box-shadow 0.25s ease;
}

.compare-handle-grip i{
  font-size:11px;
}

.compare:hover .compare-handle-grip{
  transform:scale(1.08);
  box-shadow:0 8px 24px rgba(0,0,0,0.5);
}

.compare.dragging .compare-handle-grip{
  transform:scale(0.96);
}

@media (prefers-reduced-motion: reduce){
  .compare.animating .compare-after,
  .compare.animating .compare-handle{
    transition:none;
  }
}


@media (max-width:767px){

    .reviews-dots {
    display: flex;
  }

  .case-study-card{
    grid-template-columns:1fr;
    gap:28px;
    padding:24px;
  }

  .case-study-info h3{
    font-size:22px;
  }

  .compare{
    aspect-ratio:16 / 10;
  }

  .compare-handle-grip{
    width:40px;
    height:40px;
  }

  .process-grid{
    grid-template-columns:1fr;
  }

  .header{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }

  .project{                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
    grid-template-columns:1fr;
  }

  .services{
    grid-template-columns:1fr;
  }

  .pricing{
    grid-template-columns:1fr;
  }

  .hero{
    padding: 72px 0 48px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-photo{
    max-width: 360px;
    width: 100%;
    justify-self: center;
  }

  .hero h1{
    font-size:36px;
  }

  /* na mobilu nechat text zalamovat přirozeně */
  .hero h1 br{
    display:none;
  }

  .hero p{
    font-size:16px;
  }

  .hero-buttons{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-buttons a{
    padding: 14px 24px;
  }

  /* odraz pod ukázkou webu se na mobilu ořízne a leze pod tečky slideru */
  .browser{
    -webkit-box-reflect: initial; /* Chrome hodnotu "none" ignoruje */
  }

  .hamburger {
    display: flex;
    z-index: 1001;
    position: relative;

    /* hamburger vpravo, "Chci web" vlevo */
    order: 2;
    margin-right: -10px; /* vyrovná padding, ať lícuje s okrajem obsahu */
  }

  /* 🔥 HEADER MUSÍ BÝT RELATIVE */
  .header {
    position: relative;
  }

  /* 🔥 SCHOVÁ LOGO */
  .logo {
    display: none;
  }

  /* 🔥 CTA NA MÍSTO LOGA */

  .nav-cta {
    position: static; /* 🔥 důležité */
    margin-left: auto;
    top: 20px;
    right: 20px;
    z-index: 1002; /* 🔥 NAD NAV */
    margin: 0;
    order: 1;
  }

  .nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 100px 30px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    background: rgba(15,17,23,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

    transform: translateY(-110%);
    transition: transform 0.4s ease;

    z-index: 1000;
  }

  .nav.active{
    transform: translateY(0);
  }


  .nav a{
    font-size: 20px;
    margin-bottom: 18px;
    color: white;
    opacity: 0.9;
    transition: all 0.25s ease;
  }

  .nav a:hover{
    transform: translateX(6px);
    color: var(--accent);
  }

  .about-card{
    grid-template-columns:1fr;
  }

  .about-box{
    flex-direction:row;
  }

  .about-highlight{
    flex:1;
  }


  /* ===================== */
  /* REVIEWS MOBILE */
  /* ===================== */

  .reviews-slider {
    overflow: hidden;
  }

  .reviews-track {
    gap: 0; /* důležité → jinak ti to bude ujíždět */
  }

  .review-card {
    flex: 0 0 100%; /* 1 karta na celou šířku */
  }





  


}


/* 🔥 SHARED DESIGN */
.dots {
  display: flex;
  gap: 10px;
  padding: 6px 10px;

  backdrop-filter: blur(10px);
  border-radius: 999px;
}

.dots button {
  all: unset;

  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);

  cursor: pointer;
  transition: all 0.4s ease;
}

.dots button:hover {
  background: rgba(255,255,255,0.6);
  transform: scale(1.2);
}

.dots button.active {
  background: linear-gradient(90deg, var(--accent), hsl(20, 70%, 60%));
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.reviews-dots {
  justify-content: center;
  margin-top: 20px;
  display: none;
}

@media (max-width:767px){
  .reviews-dots {
    display: flex;
  }
}



.short-review{
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.review-more{
  display:block;
  margin-top:16px;
  margin-left:auto;

  padding:0;
  border:none;
  background:none;

    color:var(--accent);

  font-size:14px;
  font-weight:500;

  cursor:pointer;

  transition:all .25s ease;
}

.review-more:hover{
  color:var(--accent);
  transform:translateX(4px);
}

.review-modal{
  position:fixed;
  inset:0;

  display:flex;
  justify-content:center;
  align-items:center;

  background:rgba(0,0,0,.55);
  backdrop-filter:blur(12px);

  opacity:0;
  visibility:hidden;

  transition:.25s ease;

  z-index:9999;
}

.review-modal.active{
  opacity:1;
  visibility:visible;
}

.review-modal-content{

  width:min(700px,90%);
  max-height:80vh;

  overflow-y:auto;

  background:
  linear-gradient(
    180deg,
    rgba(18,23,35,.98),
    rgba(12,15,25,.98)
  );

  border:1px solid rgba(255,255,255,.08);

  border-radius:28px;

  padding:38px;

  position:relative;

  box-shadow:
    0 20px 60px rgba(0,0,0,.45);

  transform:translateY(20px) scale(.97);

  transition:.25s ease;
}

.review-modal.active .review-modal-content{
  transform:translateY(0) scale(1);
}

#modalReviewText{
  color:rgba(255,255,255,.92);

  font-size:18px;
  line-height:1.9;

  font-style:italic;
}

.close-review-modal{

  position:absolute;

  top:18px;
  right:18px;

  width:42px;
  height:42px;

  display:flex;
  justify-content:center;
  align-items:center;

  border:none;
  border-radius:50%;

  background:rgba(255,255,255,.05);

  color:rgba(255,255,255,.7);

  font-size:26px;

  cursor:pointer;

  transition:.25s ease;
}

.close-review-modal:hover{
  background:rgba(255,255,255,.12);
  color:white;
}

.review-modal-content::-webkit-scrollbar{
  width:8px;
}

.review-modal-content::-webkit-scrollbar-track{
  background:transparent;
}

.review-modal-content::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.15);
  border-radius:999px;
}

.review-modal-content::-webkit-scrollbar-thumb:hover{
  background:rgba(255,255,255,.25);
}

.contact-subtitle{
  max-width:560px;
  margin:0 auto 30px;

  color:rgba(255,255,255,.7);

  font-size:16px;
  line-height:1.6;
}

.project.active {
  box-shadow:0 20px 60px rgba(0,0,0,.4);
}



.service-icon{
  width:80px;
  height:80px;

  display:block;

  margin-bottom:20px;

  opacity:.95;

  transition:
  transform .3s ease,
  opacity .3s ease;
}

.card{
  background:rgba(255,255,255,.05);
  padding:32px;
  border-radius:16px;

  transition:
  transform .3s ease,
  background .3s ease;
}

.card h3{
  margin-bottom:8px;
}

.card p{
  opacity:.75;
}

/* jemná odezva na najetí: karta se lehce zesvětlí a nadzvedne,
   bez barevných prvků. Jen na zařízeních s myší – na dotyku by zůstala viset. */
.card{
  position:relative;
}

@media (hover:hover){
  .card:hover{
    transform:translateY(-3px);
    background:rgba(255,255,255,.07);
  }
}

@media (prefers-reduced-motion: reduce){
  .card,
  .card:hover{
    transition:none;
    transform:none;
  }
}




.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    transition: 0.25s;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}


.footer {
    display: flex;
    flex-direction: column;
    gap: 40px;

    margin-top: 40px;
    padding: 48px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: left;
}

/* jako hlavička: jméno vlevo, Menu + Kontakt vpravo až k okraji obsahu */
.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 48px 96px;
    align-items: start;
}

.footer-brand {
    max-width: 320px;
}

.footer-name {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.footer-tagline {
    margin: 0;
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}

/* odkazy ve dvou sloupcích po třech, ať footer není zbytečně vysoký */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 12px 40px;
    justify-items: start;
}

.footer-nav .footer-heading {
    grid-column: 1 / -1;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color .25s ease;
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color .25s ease;
    overflow-wrap: anywhere;
}

.footer-contact a:hover {
    color: white;
}

.footer-contact a i {
    color: var(--accent);
    font-size: 13px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 18px;
    margin-top: 20px;
}

.footer-social a {
    color: rgba(255,255,255,0.65);
    font-size: 1.2rem;
    transition: all .25s ease;
}

.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

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

    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);

    color: rgba(255,255,255,0.55);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color .25s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* ===== FOOTER – MOBIL =====
   Musí být až za základními pravidly footeru, jinak je přepíšou. */
@media (max-width:767px){

  .footer{
    gap: 28px;
    margin-top: 32px;
    padding: 44px 0 24px;
  }

  .footer-top{
    grid-template-columns: auto minmax(0, 1fr);
    gap: 32px 24px;
  }

  .footer-nav{
    column-gap: 24px;
  }

  .footer-brand{
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer-name{
    font-size: 16px;
  }

  .footer-contact a{
    font-size: 14px;
  }

  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* nejužší telefony – e-mail by se vedle menu zalomil, kontakt jde pod něj */
@media (max-width:380px){
  .footer-contact{
    grid-column: 1 / -1;
  }
}
/* =====================
   ZÁRUKA U CENÍKU
   ===================== */
.pricing-guarantee {
  margin-top: 20px;
  padding: 22px 30px;

  background: rgba(255,255,255,.05);
  border-radius: 16px;

  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.pricing-guarantee strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
}


/* =====================
   KONTAKT – FORMULÁŘ
   ===================== */
.contact-layout {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.contact-layout .form {
  max-width: none;
  margin: 0;
}

/* pole s popiskem uvnitř rámečku */
.field {
  background: #1a1c22;
  border-radius: 8px;
  padding: 5px 12px 6px;
}

.field label {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  color: rgba(255,255,255,.45);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.35;
}

.field textarea {
  display: block;
  min-height: 80px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
}

.field:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.field:focus-within label {
  color: var(--accent-light);
}


/* autofill nesmí přebít pozadí pole s popiskem uvnitř */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #1a1c22 inset;
  caret-color: #fff;
}


/* =====================================================
   TYPOGRAFIE
   Nadpisy, ceny a čísla: Apple SF Pro na iPhonu/Macu, jinde Inter Display (jeho dvojče).
   Odstavce: Onest (vzdušný, dobře čitelný).
   Text se nezkracuje – jen se odliší, co je hlavní a co doplňující.
   ===================================================== */

:root{
  --font-display: -apple-system, BlinkMacSystemFont, 'Inter', 'Onest', system-ui, sans-serif;
  --text-strong: #fff;
  --text-body: rgba(255,255,255,.72);
  --text-muted: rgba(255,255,255,.55);
}

/* formulářové prvky font nedědí samy od sebe */
button, input, textarea, select{
  font-family: inherit;
}

body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- nadpisy --- */
h1, h2, h3,
.logo,
.footer-name,
.price,
.step,
.review-name{
  font-family: var(--font-display);
}

h1, h2, h3{
  text-wrap: balance;
}

.hero h1{
  font-size: clamp(44px, 4vw, 56px);
  font-weight: 700;
  text-wrap: wrap; /* řádky určuje <br> v HTML */
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2{
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

h3{
  font-weight: 700;
  letter-spacing: 0;
}

.logo,
.footer-name{
  font-weight: 700;
  letter-spacing: 0;
}

/* --- odstavce: jedna barva, jeden řádkový proklad --- */
p{
  text-wrap: pretty;
}

.hero p{
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
  opacity: 1;
  max-width: 34em;
}

.project-text p,
.card p,
.process-card p,
.pricing-desc,
.case-study-desc{
  color: var(--text-body);
  opacity: 1;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 62ch;
}

.project-text h3{
  font-size: 26px;
  margin-bottom: 10px;
}

.card h3,
.process-card h3,
.price-card h3{
  font-size: 21px;
}

/* --- kroky spolupráce: číslo jako výrazný prvek, ne drobný štítek --- */
.step{
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 14px;
}

/* --- ceník ---
   Pořadí v kartě: co to je → cena → co v tom je.
   Oranžová zůstává tlačítkům, cena je bílá a hlavní je číslo. */
.price-card{
  display: flex;
  flex-direction: column;
}

.price-card h3{
  margin-bottom: 8px;
}

/* popis se roztáhne, takže ceny ve všech kartách sedí ve stejné výšce */
.price-card .pricing-desc{
  flex: 1;
  margin: 0 0 22px;
}

.price{
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;

  color: var(--text-strong);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.price-from,
.price-unit{
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent-light);
}

.price-card ul{
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.price-card li{
  padding-left: 26px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.88);
}

.price-card li:last-child{
  margin-bottom: 0;
}

/* fajfka místo oranžové tečky */
.price-card li::before{
  content: "";
  top: .3em;
  width: 15px;
  height: 15px;
  background: var(--accent-light);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* záruka je hlavní argument ceníku – oranžový text, ať nesplývá s kartami */
.pricing-guarantee strong{
  color: var(--accent-light);
}

/* --- recenze: rovné písmo se čte líp než kurzíva --- */
.review-text{
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.8);
}

#modalReviewText{
  font-style: normal;
  font-size: 18px;
  line-height: 1.7;
}

.review-name{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.review-role{
  font-weight: 400;
  color: var(--text-muted);
  opacity: 1;
  margin-bottom: 10px;
}

/* --- drobné texty --- */
.pricing-note,
.contact-subtitle,
.footer-tagline{
  text-wrap: pretty;
}

/* pod 1280 px se ruční zalomení nevejde – řádky vyrovná prohlížeč */
@media (max-width:1279px){
  .hero h1{
    text-wrap: balance;
  }

  .hero h1 br{
    display: none;
  }
}

/* odkazy v menu, jméno ani tlačítko se nesmí zalomit ("O mně" jsou dvě slova) */
.nav a,
.logo,
.nav-cta{
  white-space: nowrap;
}

/* úzký tablet – telefon z hlavičky pryč, je v kontaktech i v patičce */
@media (min-width:768px) and (max-width:900px){
  .nav a.nav-phone{
    display: none;
  }
}

/* tablet – menu se 6 odkazy, telefonem a tlačítkem se musí vejít */
@media (min-width:768px) and (max-width:1024px){
  .nav{
    gap: 16px;
  }

  .nav a{
    font-size: 14px;
  }

  .nav-cta{
    margin-left: 20px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* menší notebooky – užší fotka */
@media (min-width:1025px) and (max-width:1279px){
  .hero{
    grid-template-columns: minmax(0,1fr) minmax(0,400px);
  }
}

@media (min-width:768px) and (max-width:1024px){
  .hero h1{
    font-size: 38px;
  }
}

@media (max-width:767px){
  .hero h1{
    font-size: clamp(32px, 9.6vw, 38px);
  }

  .hero p{
    font-size: 16.5px;
  }

  h2{
    font-size: 31px;
  }

  .project-text h3{
    font-size: 22px;
  }

  .step{
    font-size: 26px;
  }

  .price{
    font-size: 34px;
  }
}


/* =====================
   O MNĚ
   Fotka vlevo, text vpravo – zrcadlově k hero, kde je fotka vpravo.
   ===================== */
.about-me{
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.about-me-photo img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.about-me-text{
  max-width: 600px;
}

.about-me-text p{
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* první odstavec – kdo jsem – o kousek výraznější */
.about-me-text h2 + p{
  color: var(--text-strong);
}

.about-me-text p a{
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease;
}

.about-me-text p a:hover{
  text-decoration-color: currentColor;
}

.about-me-text .btn-secondary{
  display: inline-block;
  margin-top: 12px;
}

@media (max-width:767px){
  .about-me{
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .about-me-photo{
    max-width: 360px;
    width: 100%;
    justify-self: center;
  }

  .about-me-text p{
    font-size: 16px;
  }

  .about-me-text .btn-secondary{
    display: block;
  }
}


/* =====================
   MOBIL – HLAVIČKA A HERO
   Jméno vlevo, tenký hamburger vpravo (po otevření křížek).
   Hero na mobilu bez fotky – jen nadpis, text a tlačítka.
   ===================== */
@media (max-width:767px){

  .header{
    padding: 18px 0;
  }

  .logo{
    display: block;
    position: relative;
    z-index: 1001; /* zůstane vidět i nad otevřeným menu */
    font-size: 18px;
  }

  /* "Chci web" je na mobilu navíc – hned pod ním jsou tlačítka v hero
     a v menu je Kontakt */
  .nav-cta{
    display: none;
  }

  .hamburger{
    order: 2;
    margin-left: auto;
    margin-right: -10px;
    gap: 6px;
  }

  .hamburger span{
    width: 24px;
    height: 2px;
    border-radius: 2px;
  }

  .hamburger.active span:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2){
    opacity: 0;
  }

  .hamburger.active span:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }

  /* odkazy v menu lícují se jménem v hlavičce */
  .nav{
    padding-left: 5%;
    padding-right: 5%;
  }

  /* na mobilu bez fotky – tebe ukazuje sekce O mně */
  .hero{
    padding-top: 48px;
  }

  .hero-photo{
    display: none;
  }

  .hero h1{
    font-size: clamp(30px, 8.4vw, 36px);
    line-height: 1.12;
  }

  .hero p{
    font-size: 16px;
  }
}

/* =====================
   TABLET NA VÝŠKU (iPad mini, iPad, iPad Air – 768 až 900 px)
   Dvousloupcové sekce jsou tu moc úzké, proto se skládají pod sebe
   nebo do dvou sloupců.
   ===================== */
@media (min-width:768px) and (max-width:900px){

  /* tlačítka se vedle fotky nevejdou – druhé spadne pod první */
  .hero-buttons{
    flex-wrap: wrap;
  }

  /* projekt: text nahoře, náhled webu pod ním */
  .project{
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 56px;
  }

  .project-text p{
    max-width: none;
  }

  /* odraz pod náhledem by lezl pod tečky slideru */
  .browser{
    -webkit-box-reflect: initial;
  }

  /* služby a ceník: dvě karty vedle sebe, třetí přes celou šířku */
  .services,
  .pricing{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services .card:last-child,
  .pricing .price-card:last-child{
    grid-column: 1 / -1;
  }

  .case-study-card{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-me{
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
}
