:root{--header-h:88px;--maxw:1536px;--red:#f40000}

@font-face{font-family:"BetterWith";src:url("/wp-content/themes/TVUJ-THEME/assets/fonts/BETTERWITH-REGULAR.OTF") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"BetterWith";src:url("/wp-content/themes/TVUJ-THEME/assets/fonts/BETTERWITH-MEDIUM.OTF") format("opentype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"TCCC Unity Headline";src:url("/wp-content/themes/TVUJ-THEME/assets/fonts/TCCC-UNITYHEADLINE-REGULAR.TTF") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"TCCC Unity Headline";src:url("/wp-content/themes/TVUJ-THEME/assets/fonts/TCCC-UNITYHEADLINE-MEDIUM.TTF") format("truetype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"TCCC Unity Headline";src:url("/wp-content/themes/TVUJ-THEME/assets/fonts/TCCC-UNITYHEADLINE-BOLD.TTF") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"TCCC Unity Headline";src:url("/wp-content/themes/TVUJ-THEME/assets/fonts/TCCC-UNITYHEADLINE-BLACK.TTF") format("truetype");font-weight:900;font-style:normal;font-display:swap}

:root{--font-body:"BetterWith",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;--font-head:"TCCC Unity Headline",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}

*{box-sizing:border-box}
html,body{margin:0;padding:0;overflow-x:hidden}
body{padding-top:var(--header-h);background:#fff;font-family:var(--font-body);font-weight:400}

a,.site-header__link,.site-footer a,.site-footer__mail,.site-footer__link{font-family:var(--font-head);font-weight:700}

.site-header{position:fixed;top:0;left:0;right:0;height:var(--header-h);background:#fff;z-index:1000;box-shadow:0 2px 12px rgba(0,0,0,.15)}
.admin-bar .site-header{top:32px}
@media(max-width:782px){.admin-bar .site-header{top:46px}}

.site-header__inner{max-width:var(--maxw);margin:0 auto;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 24px}
.site-header__logo img{height:42px;width:auto;display:block;max-width:100%}
.site-header__link{text-decoration:none;letter-spacing:.04em;text-transform:uppercase;color:#111}
.site-header__link:hover{opacity:.8}

.site-footer{position:relative;background:#000;color:#fff;z-index:5}
.site-footer a{color:#fff;text-decoration:none}
.site-footer *{box-sizing:border-box}
.site-footer__inner{max-width:var(--maxw);width:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:48px 24px;gap:24px}
.site-footer__brand{flex:0 0 auto}
.site-footer__brand img{height:72px;width:auto;display:block;max-width:100%}
.site-footer__right{flex:1 1 auto;display:flex;align-items:center;justify-content:flex-end;gap:32px;min-width:0}
.site-footer__meta{display:flex;align-items:center;gap:32px;letter-spacing:.02em;flex-wrap:wrap}
.site-footer__mail,.site-footer__link{white-space:nowrap}
.site-footer__mail:hover,.site-footer__link:hover{opacity:.8}
.site-footer__social{display:flex;align-items:center;gap:16px;flex:0 0 auto}
.social{display:inline-flex;align-items:center;justify-content:center}
.social img{height:26px;width:auto;display:block;max-width:100%}

@media (max-width:1024px){
  :root{--header-h:68px}
  .site-header__inner{padding:0 20px}
  .site-header__logo img{height:38px}
  .site-footer__inner{padding:40px 20px;gap:20px}
  .site-footer__brand img{height:64px}
  .site-footer__right{gap:24px;flex-wrap:wrap}
  .site-footer__meta{gap:20px}
  .social img{height:22px}
}

@media (max-width:768px){
  :root{--header-h:60px}
  html,body{height:100%}
  body{min-height:100svh;display:flex;flex-direction:column}
  .site-header__inner{padding:0 16px}
  .site-header__logo img{height:34px}
  .site-header__link{font-size:.85rem}
  .site-footer{margin-top:auto}
  .site-footer__inner{flex-direction:column;align-items:center;text-align:center;padding:32px 16px;gap:16px}
  .site-footer__right{width:100%;flex-direction:column;align-items:center;justify-content:center;gap:16px}
  .site-footer__meta{flex-direction:column;gap:12px}
  .site-footer__brand img{height:56px}
  .social img{height:20px}
}

@media (max-width:480px){
  :root{--header-h:56px}
  html,body{height:100%}
  body{min-height:100svh;display:flex;flex-direction:column}
  .site-header__inner{padding:0 12px}
  .site-header__logo img{height:30px}
  .site-footer{margin-top:auto}
  .site-footer__inner{padding:28px 12px calc(28px + env(safe-area-inset-bottom))}
  .site-footer__brand img{height:48px}
  .social img{height:18px}
}


:root{
  --red:#f40000;
  --r-shift:-100px;
  --num-text-gap:10px;
}

.hero{position:relative;width:100%;min-height:calc(100svh - var(--header-h));display:flex;overflow:hidden}
.hero .left{position:relative;flex:0 0 60%;background:var(--red);min-width:0}
.hero .left::after{content:"";position:absolute;top:-18%;bottom:-18%;right:-12vw;width:24vw;background:#fff;border-radius:50%}
.hero .right{position:relative;flex:1;background:#fff;min-width:0;display:flex;align-items:stretch;justify-content:center}

.hero-santa{position:absolute;left:0;bottom:-220px;height:clamp(1000px,90vh,1000px);width:auto;pointer-events:none;z-index:1}
.hero-bell{position:absolute;right:clamp(100px,14vw,200px);top:78%;transform:translateY(-50%);height:clamp(100px,18vw,200px);width:auto;pointer-events:none;z-index:2}

.hero-copy{position:absolute;top:50%;left:55%;transform:translate(-50%,-50%);color:#fff;text-align:center;max-width:32rem;z-index:2}
.hero-copy .hc-1{font-family:"BetterWith";font-weight:700;font-size:clamp(44px,5.6vw,92px);line-height:.86;margin:0 0 .06em;display:block;transform:scaleY(1.2)}
.hero-copy .hc-2{font-family:"BetterWith";font-weight:700;font-size:clamp(36px,4.6vw,76px);line-height:.86;margin:.06em 0;display:block;transform:scaleY(1.2)}
.hero-copy .hc-logo{margin:0;padding:.35em 0 .45em}
.hero-copy .hc-logo img{height:clamp(56px,5.6vw,96px);width:auto;display:inline-block}

.hero-bottom{position:absolute;left:50%;transform:translateX(-50%);bottom:3vh;display:flex;align-items:center;gap:40px;z-index:2}
.hero-bottom .btn-pill{display:inline-block;font-size:1.5rem;line-height:1;padding:.56rem 4.8rem;border-radius:999px;text-decoration:none;font-family:var(--font-head);font-weight:700;box-shadow:0 2px 0 rgba(0,0,0,.25);background:linear-gradient(90deg,#000 0 0) no-repeat,#fff;color:#000;background-size:0% 100%,100% 100%;transition:background-size .28s ease,transform .18s ease,box-shadow .18s ease,color .18s ease}
.hero-bottom .btn-pill:hover{background-size:100% 100%;color:#fff;transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.24)}
.hero-bottom .hero-copyr{font-family:var(--font-head);font-weight:700;color:#fff;opacity:.95;font-size:11px;letter-spacing:.03em;white-space:nowrap}

.hero .right .r-wrap{width:100%;max-width:1000px;display:grid;grid-template-rows:auto auto auto;row-gap:8px;padding:0 16px;transform:translateX(var(--r-shift))}
.right .r-top{display:grid;grid-template-columns:1.08fr minmax(360px,480px);align-items:center;column-gap:16px}

.right .steps{display:flex;flex-direction:column;gap:0}
.right .step{display:flex;align-items:center;gap:var(--num-text-gap);margin:0;margin-top:10px}
.right .step .n{width:60px;height:60px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:900;font-size:40px;line-height:1;flex:0 0 60px}
.right .step .t{font-family:var(--font-head);font-weight:700;font-size:1.5rem;line-height:1;white-space:nowrap}
.right .step .t strong{font-weight:900}

.right .product-art{justify-self:start}
.right .product-art img{width:100%;height:auto;max-width:150px;max-height:clamp(200px,28vh,320px);object-fit:contain;display:block}

.right .prizes{justify-self:start}
.right .prizes img{width:min(100%,800px);height:auto;max-height:clamp(280px,40vh,480px);object-fit:contain;display:block}

.right .legal{align-self:auto;display:flex;align-items:flex-end;justify-content:flex-start;gap:12px;margin-bottom:24px}
.right .legal-text{margin:0;color:var(--red);font-family:var(--font-head);font-weight:700;font-size:14px;line-height:1.28;width:auto}
.right .legal-text span{display:block;margin:0}
.right .legal-text span+span{margin-top:15px}
.right .brand-logos{height:44px;width:auto;display:block}

/* 1440–1025: stack, větší text, tlačítko vždy přesně na středu,
   Santa menší (neleze ven) */
@media (max-width:1440px) and (min-width:1025px){
  :root{ --r-shift:0 }

  .hero{
    flex-direction:column;
    min-height:auto;
    overflow:visible;
  }

  .hero .left{
    flex:0 0 auto;
    padding-bottom:24px;
  }
  .hero .left::after{ content:none }

  .hero-copy{
    position:relative;
    left:auto; top:auto; transform:none;
    margin:48px auto 36px;
    text-align:center;
    max-width:86vw;
  }

  /* tlačítko/copyright — absolutno pryč, centrováno přes flex */
  .hero-bottom{
    position:relative;
    left:auto; transform:none;
    margin:0 auto;
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    flex-direction:column;
  }
  .hero-bottom .btn-pill{ margin:0 auto }

  /* Santa menší + výš, aby nevyjížděl */
  .hero-santa{
    position:absolute;
    left:0;
    bottom:-16px;
    height:clamp(520px,58vh,680px);
  }

  .hero-bell{
    position:absolute;
    right:7vw;
    top:44%;
    transform:translateY(-50%);
    height:clamp(140px,10vw,180px);
    margin:0;
    z-index:2;
  }

  /* pravá část do dvou sloupců (steps+produkt / prizes+legal) */
  .hero .right .r-wrap{
    max-width:1100px;
    margin:0 auto;
    padding:24px 20px 28px;
    row-gap:24px;
    transform:none;
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "rtop  rtop"
      "prizes legal";
    justify-items:stretch;
    text-align:initial;
  }
  .right .r-top{grid-area:rtop;grid-template-columns:1.2fr minmax(420px,520px)}
  .right .steps{gap:8px}
  .right .product-art img{max-width:520px;max-height:360px}
  .right .prizes{grid-area:prizes;justify-self:start}
  .right .prizes img{max-height:420px}
  .right .legal{grid-area:legal;align-self:end;justify-content:flex-start;margin-bottom:0}
  .right .brand-logos{height:44px}
}

/* ≤1024 – mobilní stack (beze změn, jen kvůli kontextu) */
@media (max-width:1024px){
  :root{--r-shift:0}
  .hero{flex-direction:column;min-height:auto}
  .hero .left{flex:0 0 auto;padding-bottom:28px}
  .hero .left::after{content:none}
  .hero-santa{height:56vh;bottom:-24px}
  .hero-copy{position:relative;left:auto;transform:none;margin:6vh auto 56px;text-align:center;max-width:90vw}
  .hero-bell{position:absolute;right:8vw;top:42%;transform:translateY(-50%);height:140px;width:auto;margin:0;z-index:2}
  .hero-bottom{position:relative;left:auto;transform:none;margin:0 auto;justify-content:center;gap:12px;flex-direction:column;align-items:center}
  .hero .right .r-wrap{max-width:760px;margin:0 auto;padding:20px;transform:none;row-gap:16px;justify-items:center;text-align:center}
  .right .r-top{grid-template-columns:1fr}
  .right .steps{order:1;align-items:flex-start;margin:0 auto;text-align:left}
  .right .step{justify-content:flex-start}
  .right .step .t{white-space:normal;line-height:1.15}
  .right .product-art{order:2;justify-self:center}
  .right .product-art img{max-width:200px;max-height:220px;margin-top:8px}
  .right .prizes{justify-self:center}
  .right .prizes img{max-height:260px}
  .right .legal{flex-direction:column;align-items:center;gap:8px;margin-bottom:24px}
  .right .legal-text{width:auto;max-width:560px;text-align:center}
  .right .brand-logos{height:36px;margin:0 auto}
}




@media (max-width:600px){
  .hero{flex-direction:column;min-height:auto;overflow:visible}
  .hero .left{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-areas:
      "copy copy"
      "bottom bottom"
      "santa bell";
    row-gap:16px;
    padding:16px 12px 0;
    height:auto;
    align-content:start;
  }
  .hero .left::after{content:none}

  .hero-copy{
    grid-area:copy;
    position:static;left:auto;top:auto;transform:none;
    justify-self:stretch;
    display:flex;flex-direction:column;align-items:center;
    max-width:none;
    width:100%;
    margin:0;
    text-align:center;
  }

  .hero-bottom{
    grid-area:bottom;
    position:static;transform:none;
    justify-self:stretch;
    width:100%;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:12px;margin:14px 0 8px;text-align:center;
  }
  .hero-bottom .btn-pill{margin:0 auto;display:block}
  .hero-bottom .hero-copyr{display:block;width:100%;text-align:center}

  .hero-santa{
    grid-area:santa;
    position:static;margin:0;z-index:1;
    align-self:end;justify-self:start;
    width:44vw;max-width:360px;height:auto;
  }
  .hero-bell{
    grid-area:bell;
    position:static;margin:0;z-index:1;
    align-self:end;justify-self:end;
    width:40vw;max-width:300px;height:auto;
  }
}


@media (max-width:360px){
  .hero-copy .hc-1{font-size:calc(7.8vw + 2px)}
  .hero-copy .hc-2{font-size:calc(6.6vw + 1px)}
  .hero-santa{height:clamp(260px,48vh,360px)}
  .hero-bell{height:clamp(160px,30vh,210px)}
}
/* 1025–1440: Santa i zvonek škálovat podle ŠÍŘKY, ne podle výšky */
@media (min-width:1025px) and (max-width:1440px){
  .hero{flex-direction:column;min-height:auto}
  .hero .left{flex:0 0 auto;overflow:hidden;padding-bottom:28px}

  .hero-copy{position:relative;left:auto;top:auto;transform:none;max-width:42rem;margin:48px auto 24px;text-align:center}
  .hero-bottom{position:relative;left:auto;transform:none;margin:0 auto;display:flex;justify-content:center;align-items:center;gap:12px}

  .hero-santa{
    position:absolute;
    left:0;
    bottom:-50px;
    height:auto;
    width:min(34vw,200px);      /* šířka řídí velikost */
    max-height:72vh;            /* pojistka na extrémně vysoké obrazovky */
    z-index:1;
  }

  .hero-bell{
    position:absolute;
    right:8vw;
    top:44%;
    transform:translateY(-50%);
    height:auto;
    width:min(20vw,480px);
    z-index:2;
  }
}