
  :root {
    --black:#0a0a0a;
    --white:#fff;
    --red:#00bcc4;
    --gray:#777;
    --light:#e8e8e8;
    --b:3px solid var(--black);
    --bt:3px solid var(--black);
    /* jemny delic medzi kartami v tej istej sekcii — hruba 3px cierna
       linka medzi kartami vyzerala ako chyba, nie ako zamerany dizajn */
    --div:1px solid rgba(0,0,0,.12);
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  [id]{scroll-margin-top:100px;}
  html{
    background:var(--white);color:var(--black);
    font-family:Inter,-apple-system,sans-serif;
    line-height:1.3;-webkit-font-smoothing:antialiased;
    scroll-behavior:smooth;
  }
  ::selection{background:var(--red);color:var(--white);}

  /* kockovane mriezkove pozadie bolo odstranene (2026-11-07) */
  html{
    background-color:var(--white);
  }

  ::-webkit-scrollbar{width:8px;}
  ::-webkit-scrollbar-track{background:var(--light);}
  ::-webkit-scrollbar-thumb{background:var(--black);border-radius:0;}
  ::-webkit-scrollbar-thumb:hover{background:var(--red);}

  a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;}
  button{font:inherit;border:none;background:none;cursor:pointer;color:inherit;}

  /* touch targets: never smaller than 44px on phones */
  @media (pointer:coarse){
    .nav-main .nav-links a,.hero-btn,.footer-col a{padding-top:14px;padding-bottom:14px;}
  }
  @media (prefers-reduced-motion:reduce){
    *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}
    .reveal{opacity:1!important;transform:none!important;}
  }
  /* focus ring for keyboard users — brutalist, not a glow */
  a:focus-visible,button:focus-visible{outline:3px solid var(--red);outline-offset:2px;}

  /* ================= HERO ================= */
  .hero{
    min-height:100vh;
    padding:112px 48px 72px;
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    position:relative;
  }
  .hero-left{
    display:flex;flex-direction:column;justify-content:center;
    align-items:center;
    padding-right:48px;position:relative;
    text-align:center;
  }
  .hero-title{
    max-width:900px;margin:-12px auto 24px;
    font-size:clamp(28px,4.2vw,54px);font-weight:900;line-height:.98;
    letter-spacing:-1.8px;text-transform:uppercase;text-align:center;
  }
  .hero-logo{
    width:600px;
    height:auto;
    margin-bottom:48px;
    display:block;
    user-select:none;
  }
  .hero-label{
    font-family:'Space Mono',monospace;
    font-size:10px;font-weight:700;
    text-transform:uppercase;letter-spacing:2.5px;color:var(--gray);
    margin-bottom:32px;
  }
  .hero-desc{
    font-size:17px;line-height:1.6;color:var(--gray);
    max-width:420px;margin-bottom:48px;font-weight:400;
  }
  .hero-cta-row{display:flex;gap:0;}
  .cta-social-label{font-family:'Space Mono',monospace;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;}
  .cta .cta-row a{gap:10px;align-items:center;}
  .cta .cta-row a:focus-visible{outline-offset:4px;}
  .hero-btn{
    font-family:'Space Mono',monospace;
    font-size:12px;font-weight:700;
    text-transform:uppercase;letter-spacing:1.5px;
    padding:20px 40px;border:var(--bt);
    display:inline-block;position:relative;overflow:hidden;
    transition:color .2s ease,transform .2s cubic-bezier(.2,.7,.2,1);
    cursor:pointer;
  }
  .hero-btn::before{
    content:'';position:absolute;inset:0;background:var(--black);
    transform:scaleX(0);transform-origin:left;
    transition:transform .35s cubic-bezier(.22,.61,.36,1);z-index:-1;
  }
  .hero-btn:hover{transform:translate(-2px,-2px);box-shadow:4px 4px 0 var(--black);}
  .hero-btn:active{transform:translate(0,0);box-shadow:none;}
  .hero-btn:hover::before{transform:scaleX(1);}
  /* === DIAGNOSTIKA CTA — rovnake na vsetkych zariadeniach (podla /root/Desktop/btn) ===
     cierny skew panel odsuva pri hoveri a odhali tyrkysove pozadie, text zčierne.
     Panel je posunuty left:-10% ( ako v referencii ) — inak by v spodnom-lavom
     rohu tlačidla vykukalo tyrkysove uho aokolo okraja. */
  .hero-btn-primary{
    background:var(--red);color:ghostwhite;
    border:none;border-radius:500px;
    padding:.9rem 2rem;
    font-size:17px;letter-spacing:.05rem;font-weight:700;
    box-shadow:none;transform:none;
    transition:background-color .45s ease,color .4s ease,transform .2s ease;
  }
  .hero-btn-primary::before{
    display:block;content:'';position:absolute;top:0;left:-10%;
    width:120%;height:100%;z-index:0;background:var(--black);
    transform:skew(30deg);
    transition:transform .4s cubic-bezier(.3,1,.8,1),background-color .45s ease;
  }
  .hero-btn-primary .lbl{position:relative;z-index:10;transition:color .4s;}
  /* brutalisticky hover lift z .hero-btn NEpatri na pilulku — inak dostane
     tvrdý cierny tieň, ktory nesedi s dizajnom tlačidla */
  .hero-btn-primary:hover{transform:none;box-shadow:none;}
  /* panel odsunuty -> odhalene tyrkysove pozadie, text zcerny */
  .hero-btn-primary:hover:not(.is-firing)::before,
  .hero-btn-primary.is-pressed:not(.is-firing)::before{transform:translate3d(100%,0,0);}
  .hero-btn-primary:hover:not(.is-firing) .lbl,
  .hero-btn-primary.is-pressed:not(.is-firing) .lbl{color:var(--black);}
  /* klik: panel odsunuty a zfarbi sa na tyrkysovu, tlacidlo napodob stlacene */
  .hero-btn-primary.is-firing{background:var(--red);color:ghostwhite;border:none;transform:scale(.97);box-shadow:none;}
  .hero-btn-primary.is-firing::before{transform:translate3d(100%,0,0);background:var(--red);}
  .hero-btn-primary.is-firing .lbl{color:var(--black);}

  .hero-btn-ghost{background:var(--white);color:var(--black);border-left:none;}
  .hero-btn-ghost:hover{color:var(--white);}

  .hero-right{
    display:flex;align-items:center;justify-content:center;
    padding-left:48px;position:relative;
  }
  .hero-number-block{text-align:center;position:relative;}
  .hero-number{
    font-size:clamp(120px,18vw,220px);
    font-weight:900;line-height:.82;letter-spacing:-10px;
    color:var(--black);position:relative;
  }
  .hero-number::after{
    content:'h';font-size:24px;font-weight:700;letter-spacing:2px;
    color:var(--red);vertical-align:super;margin-left:8px;
    position:absolute;top:20px;
  }
  .hero-number-label{
    font-family:'Space Mono',monospace;
    font-size:11px;font-weight:700;
    text-transform:uppercase;letter-spacing:2px;color:var(--gray);
    margin-top:20px;line-height:1.5;
  }

  /* ================= SECTION BAR ================= */
  .section-bar{
    position:relative;z-index:3;
    display:flex;align-items:center;justify-content:space-between;gap:24px;
    padding:20px 48px;border-top:var(--b);border-bottom:var(--b);
    background:var(--black);color:var(--white);
    box-shadow:0 8px 24px rgba(0,0,0,.35);
  }
  .section-bar span{
    font-family:'Space Mono',monospace;
    font-size:10px;font-weight:700;
    text-transform:uppercase;letter-spacing:2.5px;color:var(--white);
  }
  .section-bar h2{
    font-family:'Space Mono',monospace;
    font-size:10px;font-weight:700;
    text-transform:uppercase;letter-spacing:2.5px;color:var(--white);
    margin:0;
  }
  .section-bar .bar-right{color:var(--gray);letter-spacing:1.5px;}
  /* odkaz v lište sekcie (napr. "Všetky služby →") */
  .section-bar .bar-link{
    font-family:'Space Mono',monospace;
    font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:2.5px;
    color:var(--white);
    border-bottom:2px solid var(--red);
    padding-bottom:3px;
    transition:color .15s ease;
  }
  .section-bar .bar-link:hover{color:var(--red);}

  /* ================= WHY US ================= */
  .why-us{
    display:grid;grid-template-columns:repeat(4,1fr);
    border-bottom:var(--b);
  }
  .why-item{
    padding:48px 40px;
    border-right:var(--div);
    box-shadow: inset -3px 0 6px -4px rgba(0,0,0,.18);
    display:flex;flex-direction:column;gap:16px;
    transition:background .2s ease;
    position:relative;
  }
  .why-item:last-child{border-right:none;}
  .why-item:hover{background:#fafafa;}
  .why-num{
    font-family:'Space Mono',monospace;
    font-size:11px;font-weight:700;color:var(--red);
    letter-spacing:1.5px;
  }
  .why-icon{
    width:40px;height:40px;
    display:flex;align-items:center;justify-content:center;
    border:var(--bt);
  }
  .why-icon svg{width:22px;height:22px;stroke:var(--black);stroke-width:2;fill:none;stroke-linecap:square;stroke-linejoin:miter;}
  .why-item:hover .why-icon{background:var(--red);}
  .why-item:hover .why-icon svg{stroke:var(--white);}
  .why-item h3{
    font-size:14px;font-weight:800;
    text-transform:uppercase;letter-spacing:.5px;line-height:1.2;
  }
  .why-item p{font-size:13px;line-height:1.6;color:var(--gray);}

  /* ================= SERVICES (3 cards) ================= */
  .services{
    display:grid;grid-template-columns:repeat(3,1fr);
    border-bottom:var(--b);
  }
  .service-card{
    padding:56px 40px;
    border-right:var(--div);
    box-shadow: inset -3px 0 6px -4px rgba(0,0,0,.18);
    display:flex;flex-direction:column;gap:24px;
    position:relative;overflow:hidden;
    transition:background .2s ease, transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s cubic-bezier(.2,.7,.2,1);
  }
  /* 9 kariet v 3 stlpcoch = 3 riadky. Kazdy treti konci stlpec (border-right
     prebytok); prve dva riadky su oddelene dolnym orezom od nasledujuceho. */
  .service-card:nth-child(3n){border-right:none;box-shadow:none;}
  .service-card:nth-child(-n+6){border-bottom:var(--div);}
  .service-card:last-child{border-right:none;}
  /* HOVER — karta sa ZDVIHNE a VRHĄ mäkký čierny tieň pod sebou.
     Dve vrstvy tieňa (široká mäkká + užšia tmavšia) dávajú hĺbku —
     tvrdý offset tieň 4px 4px 0 bol skôr posunutý obdĺžnik než vrhany tieň.
     z-index:2 je ZAMYSLENE nižší než .section-bar (z-index:3) — inak by
     zdvihnutá karta vyrezala biely notch do čiernej lišty sekcie.
     Takto karta podskočí ZA lištu, čo vyzerá prirodzene. */
  /* dotyk: hover tam neexistuje, preto sa efekt spusti pri stlaceni */
  
  .service-card::before{
    content:'';position:absolute;top:0;left:0;width:4px;height:100%;
    background:var(--black);
    /* scaleY namiesto height: height by spôsobilo layout prepaint pri každom
       frame — scaleY je kompozitná vlastnosť a ide na GPU */
    transform:scaleY(0);transform-origin:top center;
    transition:transform .35s cubic-bezier(.22,.61,.36,1);
  }
    
  .service-num{
    font-family:'Space Mono',monospace;
    font-size:11px;font-weight:700;color:var(--red);letter-spacing:1px;
  }
  .service-card h3{
    font-size:26px;font-weight:800;letter-spacing:-1.5px;
    text-transform:uppercase;line-height:1.1;
  }
  .service-card p{font-size:14px;line-height:1.65;color:var(--gray);}
  /* služby: nadpis + jeden krátky odstavec (jednoduché a prehľadné) */
  .service-card .service-lead{font-size:15px;line-height:1.65;color:var(--gray);}
  /* nadpis karty je odkaz na podstránku služby */
  .service-card h3 a{transition:color .15s ease;}
  .service-card h3 a:hover{color:var(--red);}
  /* hover je cierny: stitok sa invertuje na biely s ciernym okrajom,
     inak by ostal cierny a nebol by viditelny */

  /* ================= PROCESS ================= */
  .process{
    display:grid;grid-template-columns:repeat(3,1fr);
    border-bottom:var(--b);
  }
  .process-step{
    padding:72px 40px;
    border-right:var(--div);
    box-shadow: inset -3px 0 6px -4px rgba(0,0,0,.18);
    position:relative;overflow:hidden;
  }
  .process-step:last-child{border-right:none;}
  .process-step .step-num{
    font-size:96px;font-weight:900;line-height:.85;letter-spacing:-5px;
    color:var(--light);margin-bottom:28px;
    transition:color .3s ease;
  }
  .process-step:hover .step-num{color:var(--red);}
  .process-step h3{
    font-size:22px;font-weight:800;letter-spacing:-1px;
    text-transform:uppercase;margin-bottom:16px;
  }
  .process-step p{font-size:14px;line-height:1.65;color:var(--gray);}

  /* ================= FAQ FLIP CARDS =================
     Karta sa otáča v 3D (rotateY). Aby to nebolo „zasekané", platí:
       - iba .faq-card-inner má prespective-efekt a preserve-3d; vrstvy
         (.faq-face) sa neanimujú cez box-shadow, lebo to je repaint
       - will-change je na .faq-card-inner, kde sa reálne transformuje
       - hover zdvih sa robí cez translateY (kompozitná vlastnosť),
         nie scale, ktorý by kolidoval s rotateY a trhal hranu karty
       - obsah (.faq-q, .faq-a) je vložený dovnútra a nebude sa
         znovu prelayoutovať pri každom frame */
  .faq{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;width:100%;margin:0;padding:64px 20px;}
  .faq-item{min-height:220px;perspective:1400px;}
  .faq-card-inner{
    position:relative;width:100%;height:100%;min-height:220px;
    transform-style:preserve-3d;
    transition:transform .55s cubic-bezier(.22,.61,.36,1);
    will-change:transform;
  }
  .faq-item.open .faq-card-inner{transform:rotateY(180deg);}
  .faq-face{
    position:absolute;inset:0;
    display:flex;flex-direction:column;justify-content:space-between;
    padding:28px 30px;border:none;background:var(--white);
    box-shadow:0 12px 30px rgba(0,0,0,.15);
    backface-visibility:hidden;-webkit-backface-visibility:hidden;
  }
  .faq-front{
    cursor:pointer;
    transform:translateZ(0);
    transition:transform .3s cubic-bezier(.22,.61,.36,1),box-shadow .3s cubic-bezier(.22,.61,.36,1);
    transform-origin:center center;
  }
  .faq-front:hover{transform:translateY(-6px) scale(1.02);box-shadow:0 18px 38px rgba(0,0,0,.20);}
  /* otvorená karta sa nesmie zdvihnúť — inak by sa flip prerušil */
  .faq-item.open .faq-front,.faq-item.open .faq-front:hover{transform:translateZ(0);box-shadow:0 12px 30px rgba(0,0,0,.15);}
  .faq-q{width:100%;text-align:left;background:none;border:none;font:inherit;padding:0;font-size:clamp(17px,1.7vw,22px);font-weight:800;text-transform:uppercase;letter-spacing:-.5px;line-height:1.2;cursor:pointer;display:block;}
  .faq-q::after{content:"↗";display:block;margin-top:24px;font-family:'Space Mono',monospace;font-size:24px;color:var(--red);}
  .faq-hint{font-family:'Space Mono',monospace;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:var(--gray);}
  .faq-hint span{float:right;color:var(--red);font-size:16px;}
  .faq-back{transform:rotateY(180deg) translateZ(0);background:var(--black);color:var(--white);border:none;}
  .faq-a{display:block;color:#e5e5e5;font-size:15px;line-height:1.7;padding:0;margin:0;}
  .faq-back-btn{align-self:flex-start;color:var(--red);font-family:'Space Mono',monospace;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1px;padding:8px 0;}
  .faq-back-btn:hover{color:var(--white);}
  @media (max-width:640px){.faq{grid-template-columns:1fr;gap:16px;padding:36px 20px;}.faq-item,.faq-card-inner{min-height:190px;}.faq-face{padding:24px 22px;}.faq-q{font-size:18px;}.faq-a{font-size:14px;}}
  @media (prefers-reduced-motion:reduce){.faq-card-inner{transition:none;}.faq-front{transition:none;}}
  /* ================= STATS ================= */
  .stats{
    display:grid;grid-template-columns:repeat(4,1fr);
    border-bottom:var(--b);
  }
  .stat{
    padding:48px 40px;
    border-right:var(--div);
    display:flex;flex-direction:column;gap:8px;
  }
  .stat:last-child{border-right:none;}
  .stat-value{
    font-size:clamp(48px,6vw,72px);
    font-weight:900;line-height:.95;letter-spacing:-3px;
  }
  .stat-value em{font-style:normal;color:var(--red);}
  .stat-label{
    font-family:'Space Mono',monospace;
    font-size:11px;font-weight:700;
    text-transform:uppercase;letter-spacing:1.5px;color:var(--gray);
    margin-top:8px;
  }

  /* ================= CTA ================= */
  .cta{
    padding:120px 48px;
    text-align:center;
    border-bottom:var(--b);
    display:flex;flex-direction:column;align-items:center;gap:32px;
  }
  .cta h2{
    font-size:clamp(48px,6vw,88px);
    font-weight:900;line-height:.95;letter-spacing:-4px;
    text-transform:uppercase;
  }
  .cta h2 em{font-style:normal;color:var(--red);}
  .cta-sub{
    font-size:18px;line-height:1.5;color:var(--gray);
    max-width:560px;
  }
  .cta-row{display:flex;gap:0;}
  .cta-contact{
    display:grid;grid-template-columns:repeat(3,1fr);
    width:100%;max-width:1000px;
    border:var(--b);margin-top:24px;
  }
  .cta-item{
    padding:32px 24px;
    border-right:var(--b);
    display:flex;flex-direction:column;gap:6px;
  }
  .cta-item:last-child{border-right:none;}
  .cta-item-label{
    font-family:'Space Mono',monospace;
    font-size:10px;font-weight:700;
    text-transform:uppercase;letter-spacing:2px;color:var(--gray);
  }
  .cta-item-value{
    font-size:20px;font-weight:800;
    letter-spacing:-.5px;
  }

  /* ================= FOOTER ================= */
  footer{
    background:var(--black);color:var(--white);
    padding:20px 48px 12px;
    box-shadow:0 4px 12px rgba(0,0,0,.35);
  }
  .footer-grid{
    display:grid;grid-template-columns:auto 1fr auto;
    gap:48px;padding-bottom:16px;
    border-bottom:2px solid var(--white);
    align-items:center;
  }
  .footer-col h5{
    font-family:'Space Mono',monospace;
    font-size:11px;font-weight:700;
    text-transform:uppercase;letter-spacing:2px;
    color:var(--gray);margin-bottom:14px;
  }
  .footer-col p,.footer-col a{
    font-size:14px;line-height:1.7;color:var(--white);
  }
  .footer-col a:hover{color:var(--red);}
  .footer-col ul{list-style:none;}
  /* Odkazy na sluzby su v troch stlcpcoch — footer tak zostane nizky. */
  .footer-col ul.footer-links{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    column-gap:32px;
    row-gap:0;
    text-align:left;
  }
  .footer-col ul.footer-links li{padding:2px 0;}
  .footer-col ul.footer-links a{font-size:13px;line-height:1.55;}
  .footer-col{padding-top:8px;text-align:center;}
  .footer-col li{padding:2px 0;}
  .footer-brand{
    font-family:'Space Mono',monospace;
    font-size:24px;font-weight:700;letter-spacing:-1px;
    text-transform:uppercase;
    margin-bottom:0;
    display:flex;align-items:center;
  }
  /* footer-logo.png is 128x128 but the TL mark only fills the middle ~117x80,
     so a 48px box shows a ~28px mark vs the 30px tall icons -> 52px equalises them */
  .footer-brand img {max-width:100%;height:52px;width:auto;display:block;}
  /* inline SVG leaves a baseline gap -> icons sat lower than the TL mark */
  .footer-grid .footer-col:nth-child(3) div{align-items:center;}
  .footer-grid .footer-col:nth-child(3) svg{display:block;}
  .footer-brand .mark{
    background:var(--red);color:var(--white);
    padding:4px 8px;font-size:14px;
  }
  .footer-hours li{
    display:flex;justify-content:space-between;
    padding:6px 0;
    border-bottom:1px solid rgba(255,255,255,.1);
  }
  .footer-hours li:last-child{border-bottom:none;}
  .footer-hours li span:first-child{
    font-family:'Space Mono',monospace;
    font-weight:700;letter-spacing:1px;
    color:var(--white);
  }
  .footer-hours li span:last-child{
    font-family:'Space Mono',monospace;
    color:var(--gray);
  }
  .footer-note{
    display:block !important;
    text-align:left !important;
    font-size:11px;color:var(--gray);
    padding-top:8px !important;
    border:none !important;
    font-style:italic;
  }
  .footer-bottom{
    display:flex;justify-content:space-between;align-items:center;
    padding-top:24px;
    font-family:'Space Mono',monospace;
    font-size:11px;font-weight:700;
    text-transform:uppercase;letter-spacing:1.5px;color:var(--gray);
    flex-wrap:wrap;gap:12px;
  }
  .footer-legal{display:flex;gap:8px;align-items:center;}
  .footer-legal a{color:var(--gray);text-decoration:none;transition:color .15s ease;}
  .footer-legal a:hover{color:var(--white);}
  .footer-legal span{color:var(--red);}

  /* ================= CAROUSEL =================
   Karty sú teraz "shift" karty podľa priloženého vzoru:
   - obrázok (alebo ikona) je pozadie na celej ploche karty
   - nadpis je vždy viditeľný, zvyšok sa vysúva po kliknutí / ťuknutí
   - na desktope hover zväčší nadpis a obrázok sa mierne priblíži
   ===================================================== */
.carousel-frame{
  position:relative;width:100%;height:540px;
  border-top:none;border-bottom:none;
  background:var(--white);overflow:hidden;touch-action:pan-y;cursor:grab;
}
.carousel-frame:focus-visible{outline:3px solid var(--red);outline-offset:-6px;}
.carousel-track.is-dragging{cursor:grabbing;user-select:none;}
/* Cap the width so only ~3 cards are ever in view. At 3840px the full-bleed
   frame showed 9 cards side by side, which reads as broken rather than rich. */
@media (min-width:1400px){
  .carousel-frame{max-width:100%;margin:0 auto;border-left:var(--bt);border-right:var(--bt);}
}
/* The track must never scroll on desktop: it is driven purely by transform.
   Left scrollable it fights the transform and the active card drifts out of
   centre on wide screens. It only becomes scrollable in the touch media query. */
.carousel-track{
  display:flex;height:100%;align-items:center;
  transition:none;
  /* track sa posúva transformom každý frame — musí byť na vlastnej vrstve */
  will-change:transform;
}

/* ---------- KARTA ---------- */
.carousel-card{
  position:relative;isolation:isolate;overflow:hidden;
  flex:0 0 calc(25% - 36px);height:420px;margin:0 18px;
  border:none;
  background:var(--black);
  color:var(--white);
  box-shadow:0 4px 12px rgba(0,0,0,.12);
  display:flex;flex-direction:column;user-select:none;
  cursor:pointer;
  transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s cubic-bezier(.2,.7,.2,1);
}
.carousel-card:hover{
  transform:translateY(-8px) scale(1.02);
  z-index:10;
  box-shadow:0 18px 38px rgba(10,10,10,.22),0 6px 14px rgba(10,10,10,.14);
}
.carousel-card.active{
  transform:none;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
  border:none;
}

/* ---------- POZADIE (obrázok alebo ikona) ---------- */
.carousel-card-img{
  position:absolute;inset:0;z-index:-2;
  width:100%;height:100%;
  border-bottom:none;
  background:var(--black);
  overflow:hidden;
}
.carousel-card-img img{transition:filter .5s ease;width:100%;height:100%;object-fit:cover;object-position:center;}
/* Ikona bez fotky: čierny panel, ikona hore vycentrovaná,
   aby sa neprekrývala s textovým panelom dole. */
.carousel-card-img.has-icon:not(.has-photo){
  display:flex;align-items:flex-start;justify-content:center;
  padding:34px 24px 0;
}
/* Ikony su male PNG-ka (110–158 px). Nesmú sa zvacsit nad originál,
   inak by sa rozmazali — max 150 px drzi ich v 1:1. */
.carousel-card-img.has-icon:not(.has-photo) img{
  width:auto;height:auto;max-width:min(66%,150px);max-height:min(52%,150px);
  object-fit:contain;
}
/* Bez fotky je prechod jemnejší - ikona je na čiernom, text dole tiež. */
.carousel-card-img.has-icon:not(.has-photo)::after{
  background:linear-gradient(to top,
    rgba(5,18,32,.92) 0%,
    rgba(5,18,32,.55) 42%,
    rgba(5,18,32,.18) 100%);
}
/* ---------- VÝREZ FOTKY (object-position) ----------
   Každá fotka má iný záujem v zábere — pri oreze na štvorcovú alebo portrét
   plochu treba ukázať to podstatné. */
.pos-mic        img{object-position:center 45%;}
.pos-grid       img{object-position:center 60%;}
.pos-tall       img{object-position:center 50%;}
.pos-wide       img{object-position:center 55%;}
.pos-hand       img{object-position:center 42%;}
.pos-blue       img{object-position:center 50%;}
.pos-blue-screen img{object-position:center 45%;}
.pos-board      img{object-position:center 50%;}
.pos-cam        img{object-position:center 60%;}

/* Tmavý prechod pre čitateľnosť textu cez celú plochu */
.carousel-card-img::after{
  content:'';position:absolute;inset:0;z-index:-1;
  background:linear-gradient(to top,
    rgba(5,18,32,.88) 0%,
    rgba(5,18,32,.42) 55%,
    rgba(5,18,32,.08) 100%);
  transition:opacity .4s ease;
}

/* ---------- TEXTOVÝ PANEL ---------- */
.carousel-card-body{position:absolute;inset:auto 0 0;z-index:1;padding:20px 24px 20px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;height:76px;overflow:hidden;background:rgba(8,25,43,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transform:translateY(0);transition:height .55s cubic-bezier(.2,.7,.3,1),background .4s ease,backdrop-filter .45s ease,padding .45s ease;}
/* ---------- HOVER / ŤUK: POLE VYJDE NA CELÚ KARTU + POZADIE SA ZAHMLÍ ---------- */
/* panel rozbaluje len tlacidko VIAC */


/* ---------- NADPIS ---------- */
.carousel-card-title{margin:0;font-size:22px;font-weight:800;text-transform:uppercase;letter-spacing:-.5px;line-height:1.1;color:var(--white);cursor:pointer;display:inline-block;transition:font-size .4s ease,transform .4s ease;}
/* Nadpis karty je ODKAZ na podstranku sluzby — bez podciarknutia
   (klient o podciarknuti v sekcii sluzby explicitne ziadil). */
.carousel-card-title a{color:inherit;text-decoration:none;transition:color .2s ease;}
.carousel-card-title a:hover{color:var(--red);}
.carousel-card-title a:focus-visible{outline:2px solid #00bcc4;outline-offset:4px;}

.carousel-card-title:focus-visible{outline:2px solid #00bcc4;outline-offset:4px;}

/* ---------- VYSÚVATEĽNÝ BLOK ---------- */
.carousel-card-details{max-height:0;opacity:0;overflow:hidden;transform:translateY(14px);transition:max-height .5s ease,opacity .35s ease,transform .4s ease;}

.carousel-card-desc{
  margin:14px 0 0;
  font-size:13.5px;line-height:1.6;
  color:rgba(255,255,255,.90);
}
/* Odkaz "Viac o tejto sluzbe" — otvori podstranku sluzby.
   Viditelny az po rozkliknuti karty (v .carousel-card-details). */
.carousel-card-more{
  display:inline-block;margin-top:14px;
  font-family:'Space Mono',monospace;font-size:10px;font-weight:700;
  text-transform:uppercase;letter-spacing:1.5px;
  color:var(--red);text-decoration:none;
  border-bottom:2px solid var(--red);padding-bottom:3px;
  transition:color .2s ease;
}
.carousel-card-more:hover{color:var(--white);}
.carousel-card-more:focus-visible{outline:2px solid #00bcc4;outline-offset:4px;}
.carousel-card-meta{
  display:flex;align-items:center;justify-content:flex-end;
  margin-top:12px;padding-top:12px;
  border-top:1px solid rgba(255,255,255,.28);
  font-family:'Space Mono',monospace;font-size:10px;font-weight:700;
  text-transform:uppercase;letter-spacing:1.5px;
}
.carousel-card-meta .author{color:rgba(255,255,255,.80);}

/* ---------- STAVY ---------- */
/* PRVÝ STUPEŇ — zväčšenie nadpisu + mierne priblíženie obrázka */
.carousel-card.is-highlighted .carousel-card-title{font-size:24px;}
.carousel-card.is-highlighted .carousel-card-img img{filter:none;}
/* DRUHÝ STUPEŇ — vysunutie textu */








/* ---------- ZVYSENIE NADPISU — rovnako na mysi aj na dotyku ---------- */
.carousel-card.is-highlighted .carousel-card-title{font-size:24px;}
.carousel-card.is-highlighted .carousel-card-img img{filter:none;}

/* ---------- DESKTOP: hover zväčší nadpis ---------- */
@media (hover:hover) and (pointer:fine){
  .carousel-card:hover .carousel-card-title{font-size:24px;}
  /* SLUŽBY — zdvih a tieň LEN na desktope. Na dotykových zariadeniach
     bol efekt "lepkavý" po ťuknutí a rušil čitateľnosť karty. */
  .service-card:hover,
  .service-card:active{
    background:#fafafa;
    transform:translateY(-6px);
    box-shadow:0 18px 38px rgba(10,10,10,.20), 0 6px 14px rgba(10,10,10,.14);
    z-index:2;
  }
  .service-card:hover::before,
  .service-card:active::before{transform:scaleY(1);}
  .carousel-card:hover .carousel-card-img img{filter:none;}
}

/* ---------- ODKAZ/KLÁVESNICA ---------- */
.carousel-card:focus-visible{
  outline:3px solid var(--red);outline-offset:-3px;
}
.carousel-card:focus-visible .carousel-card-title{font-size:24px;}

/* ---------- REŠPEKTOVANIE POHYBU ---------- */
@media (prefers-reduced-motion:reduce){
  .carousel-card,
  .carousel-card-title,
  .carousel-card-details,
  .carousel-card-body,
  .carousel-card-img img{transition-duration:.01ms!important;}
}
/* ================= RESPONSIVE ================= */
  /* Below ~1200px three 360px cards + margins no longer fit, so the
     cards shrink; above it they stay full size. */
  @media (max-width:1200px){
    /* narrow the cards as the frame shrinks, so ~3 stay in view down to 860px
       instead of squeezing to a single card */
    .carousel-card{flex:0 0 clamp(240px,23vw,300px);margin:0 16px;height:380px;}
    .carousel-card-title{font-size:22px;}
  }
  @media (max-width:1100px){
    .why-us{grid-template-columns:repeat(2,1fr);}
    .why-item:nth-child(2){border-right:none;}
    .why-item:nth-child(1),.why-item:nth-child(2){border-bottom:var(--div);}
    .services,.process,.stats{grid-template-columns:1fr;}
    .service-card,.process-step,.stat{border-right:none;border-bottom:var(--div);}
    .service-card:last-child,.process-step:last-child,.stat:last-child{border-bottom:none;}
    /* v jednom stlpci je orez medzi kartami rovnaky pre vsetky — prve tri
       nesmu mat ten hrubsy 1px orez z 3-stlpcoveho layoutu */
    .service-card:nth-child(-n+3){border-bottom:var(--div);}
    .service-card:nth-child(3n){box-shadow:none;}
    .hero{grid-template-columns:1fr;}
    .hero-left{border-right:none;padding-right:0;padding-bottom:48px;}
    .hero-right{padding-left:0;padding-top:48px;}
    .cta-contact{grid-template-columns:1fr;}
    .cta-item{border-right:none;border-bottom:var(--div);}
    .cta-item:last-child{border-bottom:none;}
    .footer-grid{grid-template-columns:auto 1fr;}
    .footer-grid .footer-col:nth-child(3){grid-column:1/-1;justify-content:flex-start;}
  }
  /* Tablet band 768–1100px: the 1100px rule above collapses these to a single
     column, which on an iPad leaves three card sections ~3 screens tall for
     three short cards each. Only the phone breakpoint (<=640px) needs one
     column, so the grid is restored here with tighter padding/type to fit
     the narrower columns. `.hero` stays single-column down to 1100px — only
     these three grids are overridden. */
  @media (min-width:768px) and (max-width:1100px){
    .services,.process{grid-template-columns:repeat(3,1fr);}
    .stats{grid-template-columns:repeat(4,1fr);}
    .service-card{padding:40px 22px;gap:18px;}
    .process-step{padding:48px 22px;}
    .stat{padding:32px 18px;}
    /* the 1100px rule turned the vertical dividers into horizontal ones —
       put the column dividers back, the last card/column loses its edge.
       Delice medzi kartami drzia jemny 1px --div (nie hrubu ciernu linku) —
       rovnako ako na desktope; hruba linka tu vyzerala ako chyba. */
    .service-card,.process-step,.stat{border-right:var(--div);border-bottom:none;}
    /* 9 kariet v 3 stlpcoch = 3 riadky, orez medzi riadkami */
    .service-card:nth-child(-n+6){border-bottom:var(--div);}
    .service-card:last-child,.process-step:last-child{border-right:none;}
    .stats .stat:last-child{border-right:none;}
    .service-card h3{font-size:19px;letter-spacing:-1px;}
    .service-card p,.process-step p{font-size:12.5px;line-height:1.55;}
    .process-step .step-num{font-size:56px;margin-bottom:18px;}
    .process-step h3{font-size:18px;}
    .stat-value{font-size:38px;letter-spacing:-2px;}
    .stat-label{font-size:9px;letter-spacing:1px;}
  }
  @media (max-width:860px){
    /* tablet portrait: the hero grid is already 1-col here but the 640px
       spacing/typography pass has not kicked in — apply the middle ground */
    .hero{padding:110px 32px 64px;}
    .hero-left{padding-bottom:40px;}
    .hero-logo{width:min(460px,74vw);margin-bottom:36px;}
    .carousel-frame{height:auto;padding:20px 0;}
    .carousel-card{width:calc(100vw - 140px);flex:0 0 calc(100vw - 140px);height:340px;}
    .carousel-track{overflow:visible;scroll-snap-type:none;padding:20px 48px 28px;}
    .carousel-track::-webkit-scrollbar{display:none;}
    .carousel-card{
      scroll-snap-align:center;
      transform:none!important;box-shadow:none!important;
    }
    .carousel-card.active{
      border:none;
      box-shadow:none!important;
    }
    .carousel-card.active .carousel-card-img{outline:3px solid var(--red);outline-offset:-3px;}
  }
  /* ---- Tablet band 641–960px ------------------------------------------
     The phone rules above (max-width:860px) also caught tablets in
     portrait (768/820/834px), where the page read like a stretched
     phone: the carousel showed a single full-width card (100vw - 96px)
     and the FAQ collapsed into 225px-wide columns whose questions
     wrapped onto two lines. These blocks give the tablet its own
     middle ground between the phone and the desktop layout. */
  @media (min-width:641px) and (max-width:860px){
    /* ~3 cards in view instead of one oversized one */
    .carousel-card{width:clamp(250px,34vw,320px);flex:0 0 clamp(250px,34vw,320px);height:400px;}
    .carousel-track{padding:20px 32px 28px;}
  }
  @media (min-width:641px) and (max-width:960px){
    /* 2 columns -> 349px cards, the question fits on one line again */
    .faq{grid-template-columns:repeat(2,minmax(0,1fr));}
  }
  @media (max-width:640px){
    :root{--b:2px solid var(--black);--bt:2px solid var(--black);}
    /* spacing collapses: 48px padding eats a third of a 375px screen */
    .hero{padding:96px 20px 56px;min-height:auto;}
    .hero-left{padding-bottom:32px;}
    .hero-logo{width:min(360px,88vw);margin-bottom:32px;}
    .hero-desc{font-size:15px;margin:0 0 32px;max-width:none;}
    /* buttons stack full-width — side by side needs ~90px min each.
       .hero-left is align-items:center, so the row itself is shrink-to-fit:
       it must stretch itself before width:100% on the buttons means anything. */
    .hero-cta-row,.cta-row{flex-direction:column;width:100%;align-self:stretch;}
    .hero-btn{width:100%;text-align:center;padding:18px 20px;}
    /* CTA tlacidlo drzi desktop tvar a sirku (nie full-width) */
    .hero-btn-primary{width:auto;align-self:center;padding:.9rem 2rem;}
    .hero-btn-ghost{border-left:var(--bt);border-top:none;}
    .hero-right{padding-top:32px;}
    .hero-number{font-size:104px;letter-spacing:-6px;}
    .hero-number::after{font-size:16px;top:12px;margin-left:4px;}
    .hero-number-label{font-size:10px;letter-spacing:1.5px;margin-top:12px;}
    /* 100vh on mobile browsers includes the URL bar and makes the hero
       ~1.5 screens tall; dvh tracks the real visible area */
    .hero{min-height:calc(100svh - 64px);}

    .section-bar{padding:14px 20px;}
    .section-bar span,.section-bar h2{font-size:9px;letter-spacing:1.5px;}
    .section-bar .bar-right{display:none;}

    .why-us,.footer-grid{grid-template-columns:1fr;}
    .why-item{border-right:none;border-bottom:var(--div);padding:28px 20px;}
    .why-item:last-child{border-bottom:none;}
    .why-item h3{font-size:15px;}

    .service-card{padding:32px 20px;}
    .service-card h3{font-size:22px;letter-spacing:-1px;}
    .service-card p{font-size:13px;}

    .process-step{padding:32px 20px;}
    .process-step .step-num{font-size:64px;margin-bottom:16px;}
    .process-step h3{font-size:19px;}

    .stat{padding:28px 20px;}
    .stat-value{font-size:44px;letter-spacing:-2px;}
    .stat-label{font-size:10px;letter-spacing:1px;}

    .cta{padding:64px 20px;gap:24px;}
    .cta h2{font-size:clamp(38px,11vw,56px);letter-spacing:-2.5px;}
    .cta-sub{font-size:15px;}
    .cta-contact{margin-top:16px;}
    .cta-item{padding:22px 20px;}
    .cta-item-value{font-size:17px;}

    footer{padding:32px 20px 28px;}
    /* logo + social icons stay on ONE row on phones, vertically aligned */
    .footer-grid{grid-template-columns:1fr;gap:24px;padding-bottom:28px;align-items:center;}
    /* logo a social ikony na vlastnom riadku, dva stĺpce odkazov medzi nimi */
    .footer-grid .footer-col:nth-child(1),
    .footer-grid .footer-col:nth-child(3){grid-column:1/-1;justify-content:flex-start;}
    .footer-grid .footer-col:nth-child(1){align-items:flex-start;}
    .footer-brand{margin-bottom:0;}
    /* footer-logo.png is 128x128 but the TL mark only fills the middle ~117x80,
       so a 52px box shows a ~30px mark -> the same visible height as the icons */
    .footer-brand img{height:52px;}
    .footer-col h5{margin-bottom:12px;font-size:10px;}
    /* na telefone dva stlpce odkazov, inak by bol footer dlhy */
    .footer-col ul.footer-links{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;}
    .footer-col p,.footer-col a{font-size:14px;line-height:1.9;}
    .footer-bottom{flex-direction:column;align-items:flex-start;gap:14px;font-size:10px;}
    .footer-legal{font-size:10px;flex-wrap:wrap;gap:8px;}
    /* keep the black footer clear of the iOS home indicator */
    .footer-bottom{padding-bottom:calc(env(safe-area-inset-bottom) + 8px);}
  }
  @media (max-width:380px){
    .hero-logo{width:330px;}
    .hero-number{font-size:88px;}
    .carousel-card{width:calc(100vw - 40px);flex:0 0 calc(100vw - 40px);}
  }
  /* === SCROLL REVEAL === */
  html{scroll-behavior:smooth;}
  .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.in{
    opacity:1;
    transform:none;
  }
  /* will-change je aplikované cez .reveal-armed (JS) — trvalo by na všetkých
     sekciách vytvoriť vrstvu, ktorá zerie pamäť, aj keď sa nič neanimuje */
  .reveal-armed{will-change:opacity,transform;}
  /* cascade delays for children */
  .reveal.d1{transition-delay:.08s;}
  .reveal.d2{transition-delay:.16s;}
  .reveal.d3{transition-delay:.24s;}
  .reveal.d4{transition-delay:.32s;}
  .reveal.d5{transition-delay:.40s;}
  .reveal.d6{transition-delay:.48s;}
  /* hero pieces animate immediately on page load.
     POZOR: transition SHORTHAND resetuje transition-delay na 0 — tym by znicil
     kaskadu .d1/.d2/.d3 (logo, popis, tlacidlo by fade-ovali naraz).
     Preto sa tu menia len duration + timing function, delay ostava z .dN. */
  .hero .reveal{transition-duration:.9s;transition-timing-function:cubic-bezier(.2,.7,.2,1);}

  /* boot + cookie consent styles live in boot.css */


  /* Nekonečný karusel: zachováva pôvodné farby, karty a rozmery; ovláda sa potiahnutím. */
  #carousel-frame, .carousel-frame { touch-action: pan-y; }
  #carousel-track {
    display: flex;
    width: 100%;
    max-width: none;
    overflow: visible;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
    transition: none;
  }
  #carousel-track.is-dragging { cursor: grabbing; }
  #carousel-track .carousel-card { flex-shrink: 0; }
  @media (max-width: 860px) {
    .carousel-frame { height: auto; min-height: 0; padding: 20px 0; }
    #carousel-track {
      overflow: visible;
      scroll-snap-type: none;
      scrollbar-width: none;
      -webkit-overflow-scrolling: auto;
      padding: 20px 48px 28px;
    }
    #carousel-track::-webkit-scrollbar { display: none; }
    #carousel-track .carousel-card {
      scroll-snap-align: none;
      transform: none !important;
      box-shadow: none !important;
    }
    #carousel-track .carousel-card.active { border: none; }
    #carousel-track .carousel-card.active .carousel-card-img { outline: 3px solid var(--red); outline-offset: -3px; }
  }
  @media (prefers-reduced-motion: reduce) {
    #carousel-track { will-change: auto; }
    .reveal-armed { will-change: auto; }
    .reveal, .hero .reveal { transition-duration: .01ms; }
    .faq-front:hover { transform: none; }
  }

/* ================= ROZBALENÝ STAV KARTY (posledný, aby mal prioritu) ================= */
.carousel-card.is-expanded .carousel-card-body{height:100%;padding:30px 24px 24px;background:rgba(8,25,43,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}
.carousel-card.is-expanded .carousel-card-title{font-size:32px;letter-spacing:-1px;}
.carousel-card.is-expanded .carousel-card-details{max-height:none;opacity:1;transform:none;overflow:visible;}
.carousel-card.is-expanded .carousel-card-img img{filter:blur(4px);}
.carousel-card.is-expanded .carousel-card-meta{margin-top:auto;}
