/* Eliáš Žije – styly. Barvy: tmavě zelená #2B463C, zelená #5F8651, světle zelená #B1D182, krém #F4F1E9 */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#F4F1E9;font-family:'DM Sans',system-ui,sans-serif;color:#2B463C;-webkit-font-smoothing:antialiased}
a{color:#2B463C}a:hover{color:#5F8651}
input,select,textarea,button{font:inherit}
h1,h2,p{margin:0}
.page{min-height:100vh;overflow-x:hidden}
.wrap{max-width:1280px;margin:0 auto;padding-left:24px;padding-right:24px}
.col{display:flex;flex-direction:column}
.gap18{gap:18px}.gap40{gap:40px}.gap44{gap:44px}
.green{color:#5F8651}

/* tlačítka */
.btn{display:inline-block;text-decoration:none;border-radius:999px;font-weight:700;font-size:17px;padding:18px 30px;border:none;cursor:pointer}
.btn-dark{background:#2B463C;color:#F4F1E9}
.btn-dark:hover{background:#1f352d;color:#F4F1E9}
.btn-sm{padding:12px 22px;font-size:15px}
.btn-md{padding:14px 24px;font-size:16px;margin-top:auto;align-self:flex-start}
.btn-lime{background:#B1D182;color:#2B463C;font-weight:800;min-height:52px;padding:0 30px;align-self:flex-start}
.btn-lime:hover{background:#c2dc9b}

/* hlavička */
.nav{padding-top:24px;padding-bottom:24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.logo{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:26px;text-decoration:none;color:#2B463C;letter-spacing:-0.02em}
.nav nav{display:flex;flex-wrap:wrap;align-items:center;gap:28px;font-size:15px;font-weight:500}
.nav nav a{text-decoration:none}

/* úvod */
.hero{padding-top:40px;padding-bottom:72px;display:flex;flex-wrap:wrap;align-items:center;gap:48px}
.hero-text{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:32px}
h1{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(44px,5.4vw,80px);line-height:.98;letter-spacing:-0.035em;min-height:3.92em}
.lead{font-size:20px;line-height:1.5;max-width:26em}
.hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:24px}
.link-arrow{color:#2B463C;text-decoration:none;font-weight:700;font-size:17px;display:inline-flex;align-items:center;gap:8px;min-height:44px}
.hero-photo{flex:1 1 420px;min-width:0;position:relative;display:flex;justify-content:center;align-items:flex-end;min-height:600px}
.hero-photo img{position:relative;width:min(100%,460px);height:600px;object-fit:contain;object-position:bottom}
.blob{position:absolute;bottom:0;left:50%;transform:translateX(-50%)}
.blob-a{width:min(100%,480px);height:88%;background:#B1D182;border-radius:240px 240px 32px 32px}
.blob-b{width:min(78%,370px);height:70%;background:#5F8651;border-radius:185px 185px 24px 24px;opacity:.35}
.chip{position:absolute;border-radius:18px;padding:14px 18px;display:flex;align-items:center}
.chip-light{top:18%;left:0;background:#F4F1E9;box-shadow:0 12px 32px rgba(43,70,60,.18);gap:12px}
.chip-dark{bottom:14%;right:0;background:#2B463C;color:#F4F1E9;box-shadow:0 12px 32px rgba(43,70,60,.25);gap:10px}
.chip-col{display:flex;flex-direction:column}
.chip-title{font-weight:700;font-size:15px}
.chip-sub{font-size:13px}

/* psací kurzor */
@keyframes caretBlink{0%,49%{opacity:1}50%,100%{opacity:0}}
.caret{display:inline-block;margin-left:2px;font-weight:400;color:#5F8651;animation:caretBlink 1s step-end infinite}
.caret-light{color:#B1D182}

/* pruh oborů */
.strip{background:#2B463C;color:#F4F1E9;padding:22px 0}
.strip-in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px 28px;font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:22px}
.star{color:#B1D182}

/* nadpisy sekcí */
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#2B463C}
.eyebrow.light{color:#B1D182}
h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(36px,4vw,56px);line-height:1;letter-spacing:-0.03em}
.h2-narrow{max-width:16em}
.h2-big{font-size:clamp(40px,4.6vw,64px);line-height:.98;letter-spacing:-0.035em}
.sec-title{display:flex;flex-direction:column;gap:12px}
.sec-head-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px}
.body-lg{font-size:19px;line-height:1.6}
.hint{font-size:16px;max-width:26em}
.only-touch{display:none}
@media (hover:none),(pointer:coarse){.only-hover{display:none}.only-touch{display:inline}}

/* pás s reels – jede sám (řídí main.js), jde táhnout prstem i myší */
.reels{padding:96px 0 56px}
.reels-strip{overflow-x:auto;overflow-y:hidden;padding:56px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y;cursor:grab}
.reels-strip::-webkit-scrollbar{display:none}
.reels-strip.is-dragging{cursor:grabbing}
.reels-strip.is-dragging *{user-select:none;-webkit-user-select:none}
.reels-track{display:flex;gap:24px;width:max-content;padding:0 12px}
.reel{position:relative;flex:0 0 auto;width:230px;height:409px;border-radius:22px;overflow:hidden;cursor:pointer;padding:0;border:none;display:block;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease;z-index:1}
@media (hover:hover) and (pointer:fine){.reel:hover{transform:scale(1.14);z-index:5;box-shadow:0 24px 60px rgba(43,70,60,.35)}}
.reel.on{transform:scale(1.14);z-index:5;box-shadow:0 24px 60px rgba(43,70,60,.35)}
.reel:focus-visible{outline:3px solid #5F8651;outline-offset:3px}
.reel video{width:100%;height:100%;object-fit:cover;display:block}
.reel-label{position:absolute;left:12px;top:12px;background:rgba(244,241,233,.92);color:#2B463C;font-size:12px;font-weight:700;padding:6px 10px;border-radius:999px}
.reel-views{position:absolute;right:12px;bottom:12px;background:rgba(20,30,26,.72);color:#F4F1E9;font-size:13px;font-weight:700;padding:6px 10px;border-radius:999px;display:flex;align-items:center;gap:6px}
.reel-sound{position:absolute;left:12px;bottom:12px;width:30px;height:30px;border-radius:999px;background:rgba(20,30,26,.72);display:flex;align-items:center;justify-content:center}
.reel-sound .on-ico{display:none}
.reel.on .reel-sound .on-ico{display:block}
.reel.on .reel-sound .off-ico{display:none}

/* pro koho točím */
.dark-sec{background:#2B463C;color:#F4F1E9;padding:104px 0}
.dark-sec h2{color:#F4F1E9}
.tabs{display:flex;flex-wrap:wrap;gap:10px}
.tab{min-height:48px;padding:0 22px;border-radius:999px;font-size:16px;font-weight:700;cursor:pointer;border:1.5px solid #B1D182;background:transparent;color:#F4F1E9;transition:background .2s ease,color .2s ease}
.tab[aria-selected="true"]{background:#B1D182;color:#2B463C}
.niche{display:flex;flex-wrap:wrap;gap:48px;align-items:stretch}
.niche-text{flex:1 1 560px;min-width:0;display:flex;flex-direction:column;gap:22px}
.niche-head{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(30px,3.4vw,48px);line-height:1.05;letter-spacing:-0.025em;min-height:3.15em}
.niche-body{font-size:19px;line-height:1.6;max-width:34em}
.niche-claim{font-size:19px;font-weight:700;color:#B1D182}
.niche-card{flex:1 1 360px;min-width:0;background:#F4F1E9;color:#2B463C;border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:18px}
.shot{display:flex;align-items:center;gap:14px;padding-bottom:16px;border-bottom:1.5px solid rgba(43,70,60,.15)}
.shot-n{flex:0 0 auto;width:36px;height:36px;border-radius:999px;background:#B1D182;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px}
.shot-t{font-size:17px;font-weight:500}

/* proč já */
.why{padding-top:112px;padding-bottom:112px;display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.why-text{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:18px}
.why-grid{flex:1 1 520px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tile{border-radius:22px;padding:28px;display:flex;flex-direction:column;gap:8px}
.tile-green{background:#B1D182}
.tile-dark{background:#2B463C;color:#F4F1E9}
.tile-line{border:1.5px solid #2B463C;gap:10px}
.big{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:52px;line-height:1}
.tile-sub{font-size:16px;font-weight:500}
.tile-title{font-weight:800;font-size:20px}
.tile-body{font-size:16px;line-height:1.5}

/* jak to probíhá */
.green-sec{background:#B1D182;padding:104px 0}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.step{background:#F4F1E9;border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:14px}
.step-n{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:64px;line-height:1;color:#5F8651}
.step-t{font-weight:800;font-size:22px}
.step-b{font-size:16px;line-height:1.55}

/* kontakt */
.contact{padding-top:112px;padding-bottom:112px;display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.contact-text{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:18px}
.contact-links{display:flex;flex-direction:column;gap:8px;font-size:17px;font-weight:500}
.form{flex:1 1 520px;min-width:0;background:#2B463C;color:#F4F1E9;border-radius:28px;padding:36px;display:flex;flex-direction:column;gap:18px}
.form-row{display:flex;flex-wrap:wrap;gap:16px}
.form label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:700}
.form-row label{flex:1 1 200px}
.form input,.form select{min-height:48px;border-radius:14px;border:none;padding:0 16px;background:#F4F1E9;color:#2B463C;font-size:16px}
.form textarea{border-radius:14px;border:none;padding:14px 16px;background:#F4F1E9;color:#2B463C;font-size:16px;resize:vertical}
.form input:focus-visible,.form select:focus-visible,.form textarea:focus-visible{outline:3px solid #B1D182;outline-offset:2px}
.form-note{font-size:15px;min-height:1.4em;color:#B1D182;font-weight:500}

/* patička */
footer{border-top:1.5px solid rgba(43,70,60,.18)}
.foot{padding-top:28px;padding-bottom:28px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:14px}
.foot-logo{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:18px}

/* telefon */
@media (max-width:640px){
  .wrap{padding-left:20px;padding-right:20px}
  .nav{padding-top:16px;padding-bottom:16px;flex-wrap:nowrap}
  .logo{font-size:22px}
  .nav nav{gap:16px;font-size:14px;flex-wrap:nowrap}
  .nav nav a:not(.btn){display:none}
  .btn-sm{padding:11px 18px;font-size:14px;white-space:nowrap}
  .hero{padding-top:12px;padding-bottom:0;gap:20px;flex-direction:column;align-items:stretch}
  .hero-text{flex:none;gap:18px}
  h1{font-size:clamp(34px,10.4vw,44px);line-height:1;min-height:4.05em}
  h1 #heroTyped{display:inline}
  .lead{font-size:17px;line-height:1.45}
  .hero-cta{gap:6px;flex-direction:column;align-items:stretch}
  .hero-cta .btn{text-align:center;padding:16px 20px}
  .link-arrow{justify-content:center;font-size:16px}
  .hero-photo{flex:none;min-height:0;height:400px;margin:0 -20px}
  .hero-photo img{height:400px;width:auto;max-width:100%}
  .blob-a{width:min(78%,320px);height:90%;border-radius:160px 160px 0 0}
  .blob-b{width:min(60%,246px);height:72%;border-radius:123px 123px 0 0}
  .chip{padding:10px 13px;border-radius:14px}
  .chip svg{width:20px;height:20px}
  .chip-title{font-size:13px}
  .chip-sub{font-size:12px}
  .chip-light{top:10%;left:14px}
  .chip-dark{bottom:9%;right:14px}
  .strip{padding:16px 0}
  .strip-in{font-size:16px;justify-content:flex-start;gap:8px 14px}
  h2{font-size:clamp(30px,8.6vw,40px)}
  .h2-big{font-size:clamp(34px,9.6vw,44px)}
  .body-lg,.niche-body,.niche-claim{font-size:17px}
  .reels{padding:56px 0 24px}
  .hint{font-size:15px}
  .reels-strip{padding:36px 0}
  .reels-track{gap:14px}
  .reel{width:62vw;max-width:250px;height:auto;aspect-ratio:9/16;border-radius:20px}
  .reel.on{transform:scale(1.05)}
  .dark-sec,.green-sec{padding:64px 0}
  .tabs{gap:8px}
  .tab{min-height:44px;padding:0 16px;font-size:15px}
  .niche{gap:28px}
  .niche-text,.niche-card,.why-text,.why-grid,.contact-text,.form{flex-basis:auto;width:100%}
  .niche-head{font-size:28px;min-height:4.3em}
  .niche-card{padding:24px}
  .why,.contact{padding-top:64px;padding-bottom:64px;gap:32px}
  .why-grid{grid-template-columns:1fr 1fr;gap:12px}
  .tile{padding:20px}
  .tile-line{grid-column:1 / -1}
  .big{font-size:38px}
  .tile-sub{font-size:14px}
  .steps{grid-template-columns:1fr;gap:14px}
  .step{padding:24px;gap:10px}
  .step-n{font-size:48px}
  .form{padding:22px;border-radius:22px}
  .btn-lime{align-self:stretch}
  .foot{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reel{transition:none}
  .caret{animation:none}
}
