/* =========================================================
   STRYNX — CLEAN CSS (validní, funkčně stejné)
   ========================================================= */

/* =========================
   ROOT VARS (JEN proměnné!)
   ========================= */
:root{
  --bg:#070707;
  --ash:#E6E6E6;
  --gold:#C1922E;

  --leftW: 62vw;
  --topH: 92px;
  --padX: 60px;

  /* LOGO */
  --logoH: 115px;
  --logoShiftX: 6px;
  --logoShiftY: -3px;

  /* FOOTER */
  --footBottom: 26px;
  --footTextGap: 36px;
  --footTextSize: 12px;
  --footTextTrack: .10em;
  --footTextOpacity: .4;

  /* HERO IMAGE SWITCH */
  --heroImg: url("images/hero4_2048x3072.jpg");
  --heroPos: center center;
  --heroOverlay: rgba(0,0,0,0);

  /* LEFT ACCENT BARS */
  --accCol: #C1922E;
  --accOp: 1;
  --accSkew: -12deg;

  /* kotvení pruhů na split */
  --accBottom: 0px;

  /* ladění pruhů */
  --accOffsetX: -195px;

  /* pruhy */
  --accGap: clamp(14px, 2vw, 30px);
  --accW: clamp(28px, 2.2vw, 48px);
  --accH1: clamp(44px, 8vh, 90px);
  --accH2: clamp(95px, 18vh, 170px);

  /* SPLIT WEDGE */
  --wedgeW: 260px;
  --wedgeSkew: var(--accSkew);
  --wedgeOverlap: 56px;
  --wedgeX: 0px;

  /* 🍔 SIDE MENU */
  --burgerColor: #E3B137;
  --panelW: min(38vw, 420px);

  /* 🍔 POSITION TUNING */
  --burgerTop: 42px;
  --burgerRight: 36px;

  /* SCROLL AREA (transparent) */
  --scrollTop:    calc(env(safe-area-inset-top) + var(--topH) + 10px);
  --scrollBottom: calc(env(safe-area-inset-bottom) + 34px);
  --scrollRight:  36px;

  --scrollMaxW: 520px;
  --scrollOverLeft: 120px;
  --scrollPadX: 0px;

  --titlePull: 120px;

  /* MOBILE/TABLET PORTRAIT */
  --mobileMaxW: 720px;
}

/* =========================
   BASE
   ========================= */
*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background:var(--bg);
  color:var(--ash);
  overflow:hidden; /* desktop layout */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ref-card{
  position: relative;
  border-radius: 16px;
  background: rgba(0,0,0,1);
  border: 1px solid rgba(0,0,0,1);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  padding: 18px 18px 14px;
  margin-top: 28px;
  max-width: 680px;
}

.ref-card::before{
  content:"";
  position:absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: rgba(214,175,95,.9); /* STRYNX gold */
}

.ref-form{
  padding-left: 14px; /* prostor od zlaté čáry */
}

.field{
  margin: 12px 0;
}

.field label{
  display:block;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 8px;
}

.field input,
.field textarea{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 14px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.90);
  outline: none;
}

.field textarea{
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field textarea:focus{
  border-color: rgba(214,175,95,.55);
  box-shadow: 0 0 0 3px rgba(214,175,95,.10);
}

.label-row{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.hint{
  font-size: 13px;
  opacity: .55;
}

/* HVĚZDY – STRYNX CLEAN */
.stars{
  display:flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 6px; /* prostor než přijde checkbox */
}

.stars input{
  position:absolute;
  left:-9999px;
}

.stars label{
  font-size: 26px;           /* bylo 28px -> klidnější */
  line-height: 1;
  cursor: pointer;
  user-select: none;

  color: rgba(214,175,95,.28);     /* default tlumené */
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
  opacity: .95;
}

.stars label{
  padding: 6px 2px;   /* větší tap area */
}

.stars label:hover{
  transform: translateY(-1px);
  color: rgba(214,175,95,.85);
}

.stars label:hover,
.stars label:hover ~ label{
  color: rgba(214,175,95,.85);     /* hover vybarví “směrem” */
}

.stars input:checked ~ label{
  color: rgba(214,175,95,.95);     /* selected */
}

.field.check{
  margin-top: 20px;
}
/* =========================
   CHECKLINE (desktop default)
   ========================= */
.checkline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;

  font-size: 12px;
  opacity: .6;

  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.checkline input{
  width: 14px;
  height: 14px;
  margin: 0;
  opacity: 1;

  transform: none;
  accent-color: rgb(214,175,95);
}

.checkline span{
  font-size: 12px;
  opacity: .6;
  line-height: 1.2;
 
}

/* =========================
   TOUCH DEVICES (mobile + tablet)
   ========================= */
@media (hover: none) and (pointer: coarse){
  .checkline{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,1);
    border-radius: 14px;
    background: rgba(0,0,0,1);
  }

  .checkline input{
    transform: scale(.70) !important;
    transform-origin: left center !important;
  }

  .checkline span{
    display: block;
    flex-basis: 100%;
    margin-top: 6px;
    font-size: 11px;
    opacity: .65;
    line-height: 1.3;
  }
}


.btn-gold{
  background: none;
  border: none;
  padding: 0;
  margin-top: 18px;
  

  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;

  cursor: pointer;
  align-self: flex-start;

  opacity: .85;
  transition: 
    color .2s ease,
    opacity .2s ease,
    transform .2s ease;
}

.btn-gold:hover,
.btn-gold:focus-visible{
  color: var(--gold); /* #C1922E */
  opacity: 1;
  transform: translateX(2px);
}
.btn-gold:active{
  transform: translateX(1px);
}




.consent{
  margin: 10px 0 0;
  font-size: 13px;
  opacity: .55;
  line-height: 1.35;
}

/* honeypot */
.hp{
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.ref-list .review-box{
  position: relative;
  padding: 14px 14px 12px 18px;
  margin-top: 12px;
  border-radius: 14px;
  background: rgba(1,1,1,0);
  border: 1px solid rgba(1,1,1,0);
}

.ref-list .review-box::before{
  content:"";
  position:absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: rgba(214,175,95,.9);
}

.review-head{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.review-stars{
  color: rgba(214,175,95,.95);
  letter-spacing: .08em;
  font-size: 14px;
  white-space: nowrap;
}

.review-text{
  margin: 10px 0 0;
  opacity: .78;
  line-height: 1.45;
}

/* =========================
   RATING SUMMARY (STRYNX)
   ========================= */

.rating-summary{
  position: relative;
  border-radius: 16px;
  background: rgba(0,0,0,1);
  border: 1px solid rgba(0,0,0,1);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);

  padding: 18px 18px 16px;
  margin-top: 22px;   /* vzduch po formu */
  margin-bottom: 22px;/* vzduch před “posledních 5” */
  max-width: 680px;
}

.rating-summary::before{
  content:"";
  position:absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: rgba(214,175,95,.9);
}

.rating-summary-inner{
  padding-left: 14px;
  display:flex;
  align-items: center;
  gap: 22px;
}

.rating-score{
  font-size: clamp(44px, 4.2vw, 64px);
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(214,175,95,.95);
  line-height: 1;
}

.rating-meta{
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.rating-stars{
  display:flex;
  gap: 6px;
  font-size: 18px;
  letter-spacing: .10em;
  color: rgba(214,175,95,.95);
  line-height: 1;
}

.rating-count{
  font-size: 14px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.85);
  opacity: .55; /* „555 hodnocení“ jemně */
}

/* Mobil: aby to nepůsobilo natlačeně */
@media (max-width: 520px){
  .rating-summary-inner{
    gap: 16px;
  }
  .rating-stars{
    font-size: 16px;
    letter-spacing: .08em;
  }
  .rating-count{
    font-size: 13px;
  }
}


/* =========================
   BENEFITS / TEXT BLOCKS
   ========================= */
.benefits{ margin-top: 26px; }

.h-mini{
  margin: 0 0 12px;
  letter-spacing: .10em;
  opacity: .92;
}

.benefit-list{
  margin: 0;
  padding: 0;
}

.benefit{
  margin: 0 0 14px;
  padding: 12px 0 12px 14px;
  border-left: 2px solid rgba(201,160,67,.85);
}

.benefit dt{
  margin: 0 0 6px;
  font-weight: 700;
  color: rgba(235,235,235,.92);
  letter-spacing: .02em;
}

.benefit dd{
  margin: 0;
  color: rgba(230,230,230,.78);
  line-height: 1.55;
}

.statement{
  margin-top: 44px;
  opacity: .8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.text-body{ opacity: .75; }

/* Mobile footer default off */
.footer-mobile{ display:none; }

/* =========================
   DESKTOP: hide scrollbar but keep scrolling
   ========================= */
.scroll-panel{
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scroll-panel::-webkit-scrollbar{
  width: 0;
  height: 0;
  display: none;
}

/* =========================
   HERO / SPLIT
   ========================= */
.hero{
  position:fixed;
  inset:0 auto 0 0;
  width:var(--leftW);
  background:#000;
  overflow:hidden;
  z-index:0;
}

.hero .bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(var(--heroOverlay), var(--heroOverlay)),
    var(--heroImg);
  background-position: var(--heroPos);
  background-size: cover;
  background-repeat: no-repeat;
  z-index:0;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:160px;
  background:linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,0));
  pointer-events:none;
  z-index:1;
}

.right{
  position:fixed;
  inset:0 0 0 var(--leftW);
  background:#000;
  z-index:0;
}

/* wedge */
.wedge{
  position: fixed;
  top: 0;
  left: calc(var(--leftW) - var(--wedgeOverlap) + var(--wedgeX));
  height: 100vh;
  width: var(--wedgeW);
  background: #000;
  z-index: 2;
  pointer-events: none;

  transform: skewX(var(--wedgeSkew));
  transform-origin: top left;
}

/* accents bars */
.accents-left{
  position: fixed;
  left: calc(var(--leftW) - var(--wedgeOverlap) + var(--wedgeX));
  bottom: var(--accBottom);
  z-index: 5;
  pointer-events:none;

  display:flex;
  align-items:flex-end;
  gap: var(--accGap);
  opacity: var(--accOp);

  transform: translateX(var(--accOffsetX));
}

.accents-left .bar{
  width: var(--accW);
  background: var(--accCol);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
  border-radius: 2px;
  flex: 0 0 auto;

  transform: skewX(var(--accSkew));
  transform-origin: bottom left;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.accents-left .bar.s{ height: var(--accH1); }
.accents-left .bar.t{ height: var(--accH2); }

/* =========================
   HEADER / LOGO
   ========================= */
header{
  position:fixed;
  inset:0 0 auto 0;
  height:var(--topH);
  display:flex;
  align-items:center;
  padding:0 var(--padX);
  z-index:50;
  pointer-events:none;
}

.brand{
  pointer-events:auto;
  display:flex;
  align-items:center;
  flex:0 0 auto;
  transform: translate(var(--logoShiftX), var(--logoShiftY));
}

.brand img{
  height:var(--logoH);
  width:auto;
  display:block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.6));
}

/* =========================
   FOOTER (desktop/tablet) — bez žlutého pruhu
   ========================= */
.footer{
  position:fixed;
  left:0; right:0;
  bottom:var(--footBottom);
  z-index: 60;
  pointer-events:none;
}

.footer-right{
  position:absolute;
  right:36px;
  bottom:0;
  display:flex;
  align-items:center;
}

.footer-copy{
  color:rgba(230,230,230,var(--footTextOpacity));
  font-size:var(--footTextSize);
  letter-spacing:var(--footTextTrack);
  text-transform:uppercase;
  white-space:nowrap;
  transform: translateY(-2px);
}

/* pojistka: když někde zůstane footer-bar v HTML, schovej ho */
.footer-bar{ display:none; }

/* =========================
   HAMBURGER
   ========================= */
.hamburger{
  position: fixed;
  top: calc(env(safe-area-inset-top) + var(--burgerTop));
  right: var(--burgerRight);
  width: 34px;
  height: 22px;
  z-index: 70;
  cursor: pointer;
  display: block;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.hamburger span{
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--burgerColor);
  transition: .3s ease;
}

.hamburger span:nth-child(1){ top: 0; }
.hamburger span:nth-child(2){ top: 9px; }
.hamburger span:nth-child(3){ bottom: 0; }

.hamburger.active span:nth-child(1){ transform: rotate(45deg); top: 9px; }
.hamburger.active span:nth-child(2){ opacity: 0; }
.hamburger.active span:nth-child(3){ transform: rotate(-45deg); bottom: 9px; }

/* =========================
   SIDE MENU
   ========================= */
.menu-scrim{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  z-index: 24;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.menu-scrim.open{
  opacity: 1;
  pointer-events: auto;
}

.menu-panel{
  position: fixed;
  top: 0;
  right: 0;
  width: var(--panelW);
  height: 100vh;

  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  z-index: 25;
  pointer-events: auto;

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

  padding-top: calc(env(safe-area-inset-top) + var(--topH) - 10px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.7,0,.3,1);

  box-shadow: -40px 0 80px rgba(0,0,0,.85);
}

.menu-panel.open{ transform: translateX(0); }

.menu-panel ul{
  list-style: none;
  margin: 0;
  padding: 0 0 40px 34px;
  text-align: left;
}

.menu-panel li{ margin: 18px 0; }

.menu-panel a{
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: .28em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.menu-panel a.active{ color: var(--burgerColor); }

/* =========================
   DESKTOP SCROLL PANEL
   ========================= */
main.content{ display:none; }

.scroll-panel{
  position: fixed;
  top: var(--scrollTop);
  bottom: var(--scrollBottom);
  right: var(--scrollRight);

  width: min(var(--scrollMaxW), calc((100vw - var(--leftW)) + var(--scrollOverLeft)));
  z-index: 8;

  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;

  overscroll-behavior: none;
  touch-action: pan-y;

  background: transparent;
  border: 0;
  box-shadow: none;

  padding: 0;
  padding-left: var(--titlePull);
}

.scroll-inner{
  padding: 0 var(--scrollPadX);
}

.section{ margin: 0 0 54px; }

/* Desktop typo tuning */
@media (min-width: 1024px){
  .scroll-inner{
    padding-top: 6px;
    padding-right: 18px;
    padding-left: 0;
  }

  .h-hero{
    margin-bottom: 30px;
    line-height: 1.03;
  }

  .p{
    max-width: 60ch;
    margin-bottom: 18px;
  }
}

/* Headings / paragraphs */
.h-hero{
  margin: 0 0 18px;
  color:#fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(34px, 3.2vw, 56px);
  font-weight: 800;

  margin-left: calc(-1 * var(--titlePull));
  white-space: nowrap;
  line-height: 1.05;
}

.h{
  margin: 0 0 18px;
  color:#fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 700;
}

.p{
  margin: 0 0 16px;
  color: rgba(230,230,230,.78);
  line-height: 1.55;
  font-size: 15px;

  max-width: 54ch;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* =========================
   MOBILE: hide scrollbar (html/body)
   ========================= */
@media (max-width: 1024px){
  html, body{
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar{
    width: 0;
    height: 0;
    display: none;
  }
}

/* =========================
   BREAKPOINTY (obrázky)
   ========================= */
@media (max-width: 1600px){
  :root{ --heroImg: url("images/hero4_1536x2304.jpg"); }
}

@media (max-width: 1200px){
  :root{ --heroImg: url("images/hero4_1024x1536.jpg"); }
}

/* =========================
   HERO IMAGE: 2560×1440 a víc
   ========================= */
   @media (min-width: 2100px){
  :root{
    --heroImg: url("images/hero4_2560.jpg");
  }
}


/* MacBook Retina override */
@media (min-width: 1100px) and (max-width: 1699.98px) and
       ((min-resolution: 2dppx) or (-webkit-min-device-pixel-ratio: 2)){
  :root{ --accOffsetX: -216px; }
}

/* PC 1920+ */
@media (min-width: 1700px){
  :root{ --accOffsetX: -305px; }
}

/* širší desktop scroll pack */
@media (min-width: 1300px){
  :root{
    --scrollRight: 18px;
    --scrollMaxW: 640px;
    --scrollOverLeft: 260px;
    --titlePull: 140px;
  }
}

@media (min-width: 1700px){
  :root{
    --scrollRight: 18px;
    --scrollMaxW: 680px;
    --scrollOverLeft: 300px;
  }
}

/* =========================
   iPad Air (LANDSCAPE) pack
   1024–1299.98px
   ========================= */
@media (min-width: 1024px) and (max-width: 1299.98px){

  :root{
    /* text dolů (víc prostoru nahoře) */
    --scrollTop:    calc(env(safe-area-inset-top) + var(--topH) + 68px);
    --scrollBottom: calc(env(safe-area-inset-bottom) + 26px);

    /* text víc doleva (menší right = posun doleva) */
    --scrollRight:  85px;

    /* pokud chceš držet šířku textu pod kontrolou */
    --scrollMaxW:   520px;

    /* žluté pruhy stabilně mezi iPadem a PC */
    --accOffsetX: clamp(-330px, -18vw, -220px);
  }

  /* větší H1 */
  .h-hero{
    font-size: clamp(46px, 3.6vw, 68px);
    letter-spacing: .09em;
  }

  /* spacing DNA */
  .dna{
    display: block;
    padding-top: 16px;
    margin-top: 0;
  }
}




/* MacBook retina: finální ladění */
@media (min-width: 1200px) and (max-width: 1699.98px) and
       ((min-resolution: 2dppx) or (-webkit-min-device-pixel-ratio: 2)){
  :root{
    --scrollTop: calc(env(safe-area-inset-top) + var(--topH) + 45px);
    --scrollBottom: calc(env(safe-area-inset-bottom) + 56px);
    --scrollRight: 40px;
    --scrollOverLeft: 360px;
    --titlePull: 155px;
    --scrollMaxW: 665px;
  }

  .h-hero{
    font-size: clamp(40px, 3.2vw, 62px);
    letter-spacing: .09em;
    margin-bottom: 34px;
  }

  .dna{ margin-top: 26px; }
}

/* PC 1920×1080: wide desktop pack */
@media (min-width: 1700px) and (min-height: 900px){
  :root{
    --scrollTop:    calc(env(safe-area-inset-top) + var(--topH) + 118px);
    --scrollBottom: calc(env(safe-area-inset-bottom) + 60px);
    --scrollRight:  200px;
    --scrollMaxW:   690px;
    --scrollOverLeft: 320px;
    --titlePull:    230px;
  }

  .dna{ margin-top: 46px; }

  .h-hero{
    font-size: clamp(46px, 3.2vw, 72px);
  }
}

/* =========================
   2304×1296 (mid-wide desktop)
   ========================= */
@media (min-width: 2100px) and (max-width: 2399.98px) and (min-height: 1200px){

  :root{
    /* pruhy o kus víc doleva než 1920, ale míň než 2560 */
    --accOffsetX: -370px;

    /* text trochu níž (mezistupeň) */
    --scrollTop:    calc(env(safe-area-inset-top) + var(--topH) + 180px);
    --scrollBottom: calc(env(safe-area-inset-bottom) + 66px);

    /* text víc doprava než 1920, míň než 2560 */
    --scrollRight:  320px;

    /* šířka textu mezi */
    --scrollMaxW:   760px;
    --scrollOverLeft: 350px;

    /* title lehce víc doleva */
    --titlePull:    260px;
  }

  .h-hero{
    font-size: clamp(52px, 3.0vw, 76px);
    margin-bottom: 36px;
    letter-spacing: .085em;
  }

  .dna{
    margin-top: 54px;
  }
}



/*========================
   2560×1440 (QHD / wide desktop)
   =========================*/
@media (min-width: 2400px) and (min-height: 1300px){

  :root{
    /* žluté pruhy víc doleva – ať nejsou utopené */
    --accOffsetX: -400px;

    /* víc vzduchu nahoře i dole */
    --scrollTop:    calc(env(safe-area-inset-top) + var(--topH) + 220px);
    --scrollBottom: calc(env(safe-area-inset-bottom) + 72px);

    /* obsah víc doprava, ale ne na kraj */
    --scrollRight:  420px;

    /* širší text, ale pořád kontrola */
    --scrollMaxW:   800px;
    --scrollOverLeft: 360px;

    /* title víc „vytažený“ doleva */
    --titlePull:    280px;
  }

  /* HERO nadpis – větší, ale ne cirkus */
  .h-hero{
    font-size: clamp(54px, 3.2vw, 78px);
    margin-bottom: 38px;
    letter-spacing: .085em;
  }

  .dna{
    margin-top: 58px;
  }
}



/* =========================
   2880×1620 (extra wide desktop)
   ========================= */
@media (min-width: 2800px) and (min-height: 1500px){

  :root{
    /* pruhy ještě víc doleva */
    --accOffsetX: -450px;

    /* text níž, ať je to lux */
    --scrollTop:    calc(env(safe-area-inset-top) + var(--topH) + 260px);
    --scrollBottom: calc(env(safe-area-inset-bottom) + 80px);

    /* text víc doprava */
    --scrollRight:  490px;

    /* širší text */
    --scrollMaxW:   860px;
    --scrollOverLeft: 380px;

    /* title víc doleva */
    --titlePull:    310px;
  }

  .h-hero{
    font-size: clamp(58px, 3.0vw, 82px);
    margin-bottom: 40px;
    letter-spacing: .085em;
  }

  .dna{
    margin-top: 62px;
  }
}



/* =========================================================
   SIMPLE MODE: MOBILE (portrait+landscape) + iPad PORTRAIT
   ========================================================= */
@media (max-width: 1024px) and (orientation: portrait),
       (max-width: 900px) and (orientation: landscape){

  body{
    background:#000;
    overflow:auto;
    -webkit-overflow-scrolling: touch;
  }

  /* vypnout desktop vizuály */
  .hero,
  .right,
  .wedge,
  .accents-left,
  .footer{
    display:none !important;
  }

  header{
    position:fixed;
    top:0; left:0; right:0;
    height:96px;
    padding: 0 22px;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events:none;
    z-index: 50;
  }

  :root{
    --logoH: 72px;
    --logoShiftX: 0px;
    --logoShiftY: 0px;

    --panelW: min(78vw, 420px);
    --burgerRight: 22px;
    --burgerTop: 42px;
  }

  .brand{
    pointer-events:auto;
    transform:none;
  }

  /* původní mobile main.content je vypnuté */
  main.content{ display:none !important; }

  /* scroll-panel = normální obsah stránky */
  .scroll-panel{
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;

    padding: 0 !important;
    margin: 0 !important;

    overflow: visible !important;
  }

  .scroll-inner{
    padding-top: calc(env(safe-area-inset-top) + 96px + 24px);
    padding-right: 22px;
    padding-left: 22px;
    padding-bottom: calc(env(safe-area-inset-bottom) + 0px);

    min-height: 100vh;
    max-width: 820px;
    margin: 0 auto;
  }

  .h-hero{
    text-align: center;
    white-space: normal;
    margin-left: 0;
  }

  .section{ margin: 0 0 44px; }

  .p{
    text-align: left;
    max-width: clamp(52ch, 92vw, 72ch);
    margin-left: 0;
    margin-right: auto;
  }

  /* mobile footer */
  .footer-mobile{
    display:block !important;
    margin-top: 64px;
    padding: 36px 22px calc(env(safe-area-inset-bottom) + 32px);
  }

  .footer-mobile-inner{
    text-align:center;
    opacity:.65;
  }

  .footer-mobile-brand{
    font-size: 12px;
    letter-spacing: .28em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .footer-mobile-copy{
    font-size: 11px;
    letter-spacing: .18em;
    opacity: .7;
  }



  /* iPad portrait — roztažení */
  @media (orientation: portrait) and (hover: none) and (pointer: coarse) and (min-width: 700px){
    .scroll-inner{
      max-width: none !important;
      margin: 0 !important;
      padding-left: 14px !important;
      padding-right: 14px !important;
    }

    .p{
      width: 100% !important;
      max-width: 78ch !important;
      margin-left: 0 !important;
      margin-right: auto !important;
    }
  }

  /* finální override co jsi měl */
  .p{
    max-width: none !important;
    width: 100% !important;
  }
}

.toast{
  position: fixed;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 96px + 10px);
  transform: translateX(-50%) translateY(-10px);

  z-index: 9999;
  isolation: isolate;

  max-width: min(520px, calc(100vw - 28px));
  padding: 12px 14px;
  border-radius: 14px;

  background: #0c0c0c;
  border: 1px solid rgba(214,175,95,.35);
  box-shadow:
    0 18px 40px rgba(0,0,0,.75),
    0 0 0 1px rgba(214,175,95,.12);

  color: #f1f1f1;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: .02em;
  font-weight: 500;

  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* iOS FIX – zabrání zoomu při focusu */
input,
textarea,
select {
  font-size: 16px !important;
}

/* =========================
   iOS anti-zoom: inputs musí mít min 16px
   (jinak Safari při focusu zoomuje)
   ========================= */
@media (max-width: 1024px){
  .field input,
  .field textarea{
    font-size: 16px;
  }
}




/* =========================
   CONTACT BLOCK (sekce)
   ========================= */
.contact-block{
  position: relative;
  margin-top: 28px;
  padding-left: 0; /* už nepotřebujeme prostor pro globální čáru */
}

/* VYPÍNÁME globální zlatou čáru */
.contact-block::before{
  content: none;
}

/* card */
.c-card{
  padding: 14px 0;
}

/* řádky = sekce */
.c-row{
  display: flex;
  gap: 14px;
  margin: 16px 0;
}

.c-accent{
  width: 3px;
  border-radius: 3px;
  background: rgba(214,175,95,.9);
  flex: 0 0 3px;
}

/* text blok */

.c-col{
  min-width: 0;
  width: 100%;
}

.c-label{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 6px;
}

.c-text{
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  opacity: .92;
  width: 100%;
}

.c-text--ig{
  display: flex;
  align-items: center;
  width: 100%;
}


/* Email + IG vedle sebe */


.c-text--ig .c-link{
  flex: 1;              /* email zabere prostor */
}

.c-text--ig .c-ig{
  margin-left: auto;    /* IG odjede úplně doprava */
}

/* podpis bez čáry */
.c-sign{
  margin-top: 18px;
  opacity: .70;
}

.c-sign-title{
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: .65;
}

.c-sign-sub{
  margin-top: 4px;
  font-size: 13px;
  opacity: .65;
}

/* IG icon – jednoduchá zlatá, bez “tlačítka” */
.c-ig{
  width: 28px;
  height: 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  opacity: .85;
  transition: opacity .18s ease, transform .18s ease;
}

.c-ig:hover{
  opacity: 1;
  transform: translateY(-1px);
}

/* IG glyph (minimal) */
.c-ig-icon{
  width: 22px;
  height: 22px;
  display:block;
  position: relative;
  box-sizing: border-box;
  border: 2px solid rgba(214,175,95,.9);
  border-radius: 5px;
}

.c-ig-icon::before{
  content:"";
  position:absolute;
  inset: 4px;
  border: 2px solid rgba(214,175,95,.9);
  border-radius: 50%;
}

.c-ig-icon::after{
  content:"";
  position:absolute;
  width: 3px;
  height: 3px;
  right: 2px;
  top: 2px;
  background: rgba(214,175,95,.9);
  border-radius: 50%;
}



/* linky nikdy modře */
.contact-lines a,
.c-link{
  color: rgba(230,230,230,.82);
  text-decoration: none;
}

.contact-lines a:hover,
.c-link:hover{
  color: rgba(214,175,95,.95);
}

/* mobil */
@media (max-width: 520px){
  .c-row{ margin: 14px 0; }
  .c-text{ font-size: 13px; }
}