/* Petr Mráz Coaching — styl
   Len, dub a šalvěj. */

:root{
  --bg:#f8f3ea;          /* len */
  --paper:#fffcf6;
  --sand:#efe4d2;
  --ink:#231f1a;
  --muted:#6e675d;
  --gold:#b98a3c;        /* dekorace, linky */
  --gold-text:#8f6522;   /* zlatá pro text (čitelný kontrast) */
  --sage:#5f6b4e;        /* šalvěj z větvičky na fotce */
  --line:#e3d6c1;
  --max:1200px;
  --serif:"Lora",Georgia,"Times New Roman",serif;
  --sans:"Manrope",Arial,Helvetica,sans-serif;
  --arch:4px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--sans);font-size:16px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,p{margin-top:0}
img{max-width:100%;display:block}
a{color:inherit}
:focus-visible{outline:2px solid var(--sage);outline-offset:3px;border-radius:4px}
.container{width:min(var(--max),calc(100% - 56px));margin-inline:auto}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Typografie ---------- */
.display,.section-title,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.015em}
.section-title{font-size:clamp(30px,3.6vw,44px);line-height:1.15;margin-bottom:18px;max-width:22ch}
.lead{font-size:18px;color:var(--muted);max-width:58ch}
.kicker{font-family:var(--serif);font-style:italic;font-size:30px;line-height:1.25;color:var(--gold-text);margin-bottom:10px}

/* ---------- Tlačítka ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font:600 15px/1 var(--sans);text-decoration:none;cursor:pointer;
  padding:16px 26px;border-radius:999px;border:1px solid transparent;
  transition:background-color .2s,color .2s,border-color .2s;
}
.btn svg{width:18px;height:18px;flex:none}
.btn-primary{background:var(--ink);color:var(--paper)}
.btn-primary:hover{background:var(--sage)}
.btn-ghost{border-color:var(--ink);color:var(--ink);background:transparent}
.btn-ghost:hover{background:var(--ink);color:var(--paper)}
.btn-small{padding:12px 20px;font-size:14px}

/* ---------- Hlavička ---------- */
header{
  position:sticky;top:0;z-index:30;
  background:rgba(248,243,234,.9);backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;transition:border-color .2s;
}
header.scrolled{border-bottom-color:var(--line)}
.nav{height:84px;display:flex;align-items:center;gap:32px}
.logo{font:500 24px/1 var(--serif);text-decoration:none;margin-right:auto;white-space:nowrap}
.logo small{display:block;font:500 11px/1.4 var(--sans);letter-spacing:.14em;color:var(--muted);margin-top:4px}
.menu{display:flex;gap:28px}
.menu a{text-decoration:none;font-size:14px;font-weight:500;padding:6px 0;border-bottom:1px solid transparent}
.menu a:hover{border-bottom-color:var(--gold)}
.lang{display:flex;gap:2px;font-size:13px;color:var(--muted)}
.lang button{border:0;background:none;font:inherit;cursor:pointer;padding:6px 7px;color:inherit;border-radius:6px}
.lang button[aria-pressed="true"]{color:var(--ink);font-weight:700}
.burger{display:none;border:0;background:none;padding:8px;cursor:pointer;color:var(--ink)}
.burger svg{width:26px;height:26px}

/* ---------- Hero ---------- */
.hero{padding:56px 0 90px}
.hero-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:center}
/* Velikost písma podle šířky textového sloupce: motto vždy na jeden řádek,
   každý řádek nadpisu (oddělený Enterem) se vejde celý a nic nepřetéká na mobilu */
.hero-copy{container-type:inline-size;min-width:0}
.tagline{display:flex;gap:14px;align-items:center;font:italic min(35px,5.9cqi)/1.2 var(--serif);color:var(--gold);margin-bottom:24px;white-space:nowrap}
.tagline::before{content:"";width:24px;height:1px;background:var(--gold);flex:none}
.hero h1{font-size:clamp(30px,9.4cqi,68px);line-height:1.08;margin-bottom:28px;overflow-wrap:break-word}
.hero .lead{margin-bottom:38px}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px}
.hero-actions .text-link{font-size:15px;font-weight:500;text-decoration:none;border-bottom:1px solid var(--gold);padding-bottom:2px}
.hero-actions .text-link:hover{color:var(--sage);border-color:var(--sage)}
.hero-note{margin-top:28px;font-size:14px;color:var(--muted)}

.arch{border-radius:var(--arch);overflow:hidden;background:var(--sand)}
.arch img{width:100%;height:100%;object-fit:cover}
.hero-photo{position:relative}
.hero-photo{display:flex;align-items:flex-start;gap:16px}
.hero-portrait{flex:1 1 61%;aspect-ratio:4/5}
.hero-portrait img{object-position:center 25%}
.hero-room{flex:0 0 37%;aspect-ratio:650/584}



/* ---------- Sekce ---------- */
.section{padding:110px 0}
.section.tint{background:var(--paper)}
.section-head{margin-bottom:56px}

/* Pilíře */
.pillar-grid{display:grid;grid-template-columns:repeat(var(--cols,3),1fr);gap:0;border-top:1px solid var(--line)}
.pillar{padding:40px 36px 10px 0}
.pillar + .pillar{padding-left:36px;border-left:1px solid var(--line)}
.pillar svg{width:44px;height:44px;color:var(--sage);margin-bottom:22px}
.pillar h3{font-size:24px;line-height:1.15;margin-bottom:12px}
.pillar p{color:var(--muted);margin:0}
.pillar .short{font:italic 17px/1.5 var(--serif);color:var(--gold-text);margin-bottom:10px}

/* Pro koho */
.for-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}
.for-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.for-list li{
  display:flex;align-items:flex-start;gap:18px;
  background:var(--paper);border:1px solid var(--line);border-radius:14px;
  padding:20px 24px;font:400 19px/1.5 var(--serif);color:var(--ink)
}
.for-list li::before{
  content:"";flex:none;width:26px;height:26px;margin-top:1px;border-radius:50%;
  background:#e8ecdf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b4e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.for-closing{margin-top:34px;color:var(--muted)}

/* O mně */
.about-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px;align-items:center}
.about-photo{position:relative;max-width:470px;margin:0}
.about-photo .arch{aspect-ratio:4/5}
.about-photo .arch img{object-position:center 20%}
.about-photo figcaption{
  position:absolute;right:-28px;bottom:42px;background:var(--bg);
  border:1px solid var(--line);border-radius:14px;padding:16px 20px;
  font:italic 16px/1.45 var(--serif);max-width:220px
}
.about-copy p:not(.kicker):not(.signature){color:#4a443c;max-width:60ch}
.about-copy p.intro{font:400 21px/1.5 var(--serif);color:var(--ink)}
.signature{font:italic 28px var(--serif);color:var(--gold-text);margin:18px 0 0}
/* Vzdělání a kvalifikace */
.quals{margin:30px 0 8px;padding:24px 26px;background:var(--paper);border:1px solid var(--line);border-radius:16px;max-width:60ch}
.section.tint .quals{background:var(--bg)}
.quals-title{font-size:22px;line-height:1.25;margin-bottom:14px}
.quals-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.quals-list li{display:flex;align-items:flex-start;gap:12px;color:#4a443c;line-height:1.5}
.quals-list li svg{flex:none;width:22px;height:22px;padding:4px;margin-top:1px;border-radius:50%;background:#e8ecdf;color:var(--sage)}

/* Jak pomáhám */
.help-grid{display:grid;grid-template-columns:repeat(var(--cols,3),1fr);gap:24px}
.card{background:var(--bg);border:1px solid var(--line);border-radius:18px;padding:36px 32px}
.card svg{width:38px;height:38px;color:var(--gold);margin-bottom:26px}
.card h3{font-size:23px;margin-bottom:12px}
.card p{color:var(--muted);margin:0}

/* Jak spolupráce probíhá */
.steps{display:grid;grid-template-columns:repeat(var(--cols,3),1fr);gap:40px;counter-reset:step;margin-top:70px}
.step{position:relative;padding-top:22px;border-top:1px solid var(--ink)}
.step::before{
  counter-increment:step;content:counter(step);
  font:italic 400 38px/1 var(--serif);color:var(--gold);display:block;margin-bottom:14px
}
.step h3{font-size:21px;margin-bottom:8px}
.step p{color:var(--muted);margin:0;font-size:15px}

/* Ceník */
.pricing{display:grid;grid-template-columns:repeat(var(--cols,3),1fr);gap:22px;align-items:stretch}
.price{
  position:relative;background:var(--bg);border:1px solid var(--line);border-radius:18px;
  padding:40px 32px 34px;display:flex;flex-direction:column
}
.price.best{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.price.best .sessions,.price.best .per{color:#cfc4b2}
.price.best .total{color:#e2bd7a}
.badge{
  position:absolute;top:-14px;left:32px;background:var(--gold);color:#fff;
  padding:6px 14px;border-radius:999px;font-size:12px;font-weight:700
}
.price h3{font-size:26px;margin-bottom:4px}
.sessions{color:var(--muted);font-size:15px}
.amount{font:500 38px/1 var(--serif);margin:34px 0 6px}
.per{font:400 15px var(--sans);color:var(--muted)}
.total{color:var(--gold-text);font-weight:600;font-size:15px}
.price .btn{margin-top:auto}
.price-foot{height:30px}
.price.best .btn-ghost{border-color:var(--paper);color:var(--paper)}
.price.best .btn-ghost:hover{background:var(--paper);color:var(--ink)}
.pricing-note{text-align:center;color:var(--muted);margin:34px auto 0;max-width:60ch}

/* Úvodní hovor */
.discovery{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}
.checks{list-style:none;padding:0;margin:30px 0 40px}
.checks li{display:flex;gap:14px;margin:16px 0}
.checks svg{width:22px;height:22px;color:var(--sage);flex:none;margin-top:2px}
.contact-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}
.contact-list li{border-bottom:1px solid var(--line)}
.contact-list a{display:flex;justify-content:space-between;gap:20px;padding:16px 0;text-decoration:none}
.contact-list a .c-label{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px;flex:none}
.c-label svg{width:20px;height:20px;color:var(--ink);flex:none}
.contact-list a{align-items:center}
.contact-list a > span:last-child{font-weight:600}
.contact-list a:hover > span:last-child{color:var(--sage)}

form{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:40px}
form h3{font-size:26px;margin-bottom:6px}
form > p{color:var(--muted);font-size:15px;margin-bottom:26px}
label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}
input,textarea{
  width:100%;border:1px solid var(--line);background:var(--bg);border-radius:12px;
  padding:14px 16px;margin-bottom:18px;font:15px var(--sans);color:var(--ink)
}
input:focus,textarea:focus{outline:2px solid var(--sage);outline-offset:0;border-color:transparent}
textarea{min-height:110px;resize:vertical}
form .btn{width:100%}
.or{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:13px;margin:18px 0}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}
.form-status{margin:16px 0 0;padding:14px 16px;border-radius:12px;background:#e8ecdf;color:var(--sage);font-size:15px}

/* Patička */
footer{background:var(--ink);color:#cfc4b2;padding:60px 0 40px}
.foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:30px;align-items:flex-end}
.foot .logo{color:var(--paper);font-size:30px}
.foot .logo small{color:#a99e8c}
.foot nav{display:flex;flex-wrap:wrap;gap:22px}
.foot nav a{text-decoration:none;font-size:14px}
.foot nav a:hover{color:var(--paper)}
.copy{margin-top:40px;padding-top:22px;border-top:1px solid #3b352d;font-size:13px}

.hidden{display:none!important}

/* ---------- Jedna úvodní animace ---------- */
@media (prefers-reduced-motion:no-preference){
  .hero-copy > *{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
  .hero-copy > *:nth-child(2){animation-delay:.08s}
  .hero-copy > *:nth-child(3){animation-delay:.16s}
  .hero-copy > *:nth-child(4){animation-delay:.24s}
  .hero-portrait{animation:reveal 1.2s cubic-bezier(.2,.7,.2,1) both}
  .hero-room{animation:rise 1s .5s cubic-bezier(.2,.7,.2,1) both}
  @keyframes rise{from{opacity:0;transform:translateY(14px)}}
  @keyframes reveal{from{clip-path:inset(100% 0 0 0 round 4px)}to{clip-path:inset(0 0 0 0 round 4px)}}
}

/* ---------- Responzivita ---------- */
@media (max-width:1020px){
  .menu{gap:20px}
  .nav .btn{display:none}
}
@media (max-width:900px){
  .burger{display:block}
  .menu{
    display:none;position:absolute;top:84px;left:0;right:0;flex-direction:column;gap:0;
    background:var(--bg);border-bottom:1px solid var(--line);padding:6px 28px 18px;
    box-shadow:0 18px 30px rgba(35,31,26,.08)
  }
  .menu.open{display:flex}
  .menu a{padding:15px 0;border-bottom:1px solid var(--line);font-size:17px}
  .menu a:last-child{border-bottom:0}

  .section{padding:72px 0}
  .section-head{margin-bottom:36px}
  .hero{padding:36px 0 64px}
  .hero-grid,.for-grid,.discovery{grid-template-columns:1fr;gap:44px}
  .for-grid{gap:28px}
  .hero-photo{display:block;max-width:460px;width:100%;margin-inline:auto}
  .hero-room{display:none}
  .hero-portrait{width:100%}

  /* Pilíře: ikona vlevo, text vpravo */
  .pillar-grid{grid-template-columns:1fr;border-top:0}
  .pillar,.pillar + .pillar{
    display:grid;grid-template-columns:44px 1fr;column-gap:18px;align-items:start;
    padding:22px 0;border-left:0;border-top:1px solid var(--line)
  }
  .pillar svg{grid-row:span 2;width:40px;height:40px;margin:2px 0 0}
  .pillar h3{font-size:21px;margin-bottom:4px}
  .pillar .short{margin:0}

  /* O mně: nadpis nad fotkou */
  .about-grid{grid-template-columns:1fr;gap:0}
  .about-copy{display:contents}
  .about-copy .kicker{order:0}
  .about-copy .section-title{order:1;margin-bottom:26px}
  .about-photo{order:2;margin:0 auto 30px;width:100%;max-width:520px}
  .about-photo .arch{aspect-ratio:1/1}
  .about-copy p:not(.kicker){order:3}
  .about-copy .quals{order:4;margin:26px auto 4px;width:100%}
  .about-copy p.signature{order:5}
  .about-copy .intro,.signature{text-align:center}

  /* Na mobilu nadpisy a podtexty na střed */
  .section-head,.for-grid > div:first-child,.discovery > div:first-child > .kicker,
  .discovery > div:first-child > .section-title,.about-copy .kicker,.about-copy .section-title,
  .pricing-note{text-align:center}
  .section-title,.lead{margin-inline:auto}
  .hero-copy{text-align:center}
  .hero .display,.hero .lead{margin-inline:auto}
  .tagline{justify-content:center}
  .tagline::after{content:"";width:24px;height:1px;background:var(--gold);flex:none}
  .hero-actions{justify-content:center}
  .price{text-align:center}
  .price .badge{left:50%;transform:translateX(-50%)}
  .about-photo figcaption{position:static;margin-top:14px;max-width:none}

  .help-grid,.pricing{grid-template-columns:1fr}
  .help-grid{gap:14px}
  .card{display:grid;grid-template-columns:34px 1fr;column-gap:16px;padding:24px 22px;border-radius:14px}
  .card svg{width:30px;height:30px;margin:0;grid-row:span 2}
  .card h3{font-size:21px;margin-bottom:6px}
  .card p{font-size:15px}

  .steps{grid-template-columns:1fr;gap:0;margin-top:50px}
  .step{display:grid;grid-template-columns:44px 1fr;column-gap:14px;padding:20px 0;border-top:1px solid var(--line)}
  .step:last-child{border-bottom:1px solid var(--line)}
  .step::before{grid-row:span 2;font-size:32px;margin:0}
  .step h3{font-size:19px;margin-bottom:4px}

  .pricing{gap:26px}
  .price.best{order:-1}
  .price:first-child{order:1}
  .price{padding:32px 24px 26px}
  .amount{font-size:34px;margin:22px 0 6px}
  .price .btn{margin-top:20px}
  .price-foot{height:auto;min-height:0}
  .pricing-note{font-size:15px;margin-top:26px}

  .checks{margin:22px 0 30px}

  /* Spodní lišta s akcemi */
  .mobile-bar{
    display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:40;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));
    background:rgba(248,243,234,.96);backdrop-filter:blur(10px);border-top:1px solid var(--line);
    transform:translateY(110%);transition:transform .25s ease
  }
  .mobile-bar.show{transform:none}
  .mobile-bar .btn{flex:1;padding:14px 12px;font-size:14px}
  .mobile-bar .btn-ghost{flex:0 0 auto;padding-inline:18px}
  footer{padding-bottom:110px}
}
@media (max-width:560px){
  .container{width:calc(100% - 36px)}
  .nav{height:68px;gap:14px}
  .menu{top:68px;padding-inline:18px}
  html{scroll-padding-top:76px}
  .logo{font-size:22px}
  .logo small{display:none}
  .lang button{padding:10px 8px}
  .hero{padding:28px 0 56px}
  .hero h1{margin-bottom:20px}
  .tagline{gap:10px;margin-bottom:18px}
  .tagline::before,.tagline::after{width:16px}
  .lead{font-size:16.5px}
  .hero .lead{margin-bottom:28px}
  .hero-actions{gap:16px}
  .hero-actions .btn{width:100%}
  .hero-actions .text-link{margin-inline:auto}
  .hero-note{text-align:center;margin-top:18px}
  .section-title{font-size:30px}
  .for-list{gap:10px}
  .for-list li{padding:15px 16px;gap:13px;font-size:17px}
  .for-list li::before{width:24px;height:24px}
  .about-copy p.intro{font-size:19px}
  form{padding:26px 20px;border-radius:18px}
  form h3{font-size:23px}
  input,textarea{font-size:16px} /* zabrání přiblížení na iPhonu */
  .contact-list a{padding:15px 0}
  .contact-list a > span:last-child{font-size:15px;text-align:right;word-break:break-word}
  .foot{flex-direction:column;align-items:flex-start;gap:22px}
}
.mobile-bar{display:none}
@media (max-width:900px){.mobile-bar{display:flex}}

/* Skrytý odkaz do administrace (symbol © v patičce) */
.admin-link{color:inherit;text-decoration:none;cursor:default}

/* ---------- Varianty z administrace ---------- */
.hero-grid.no-image{grid-template-columns:1fr;max-width:820px}
.about-grid.no-photo{grid-template-columns:1fr;max-width:760px}
.discovery.no-form{grid-template-columns:1fr;max-width:760px}

/* Vlastní textová sekce */
.text-section{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}
.text-section.img-right{grid-template-columns:1.1fr .9fr}
.text-section.img-right .text-media{order:2}
.text-section.no-image{grid-template-columns:1fr;max-width:760px}
.text-media{aspect-ratio:4/5;max-width:470px;width:100%}
.text-copy p:not(.kicker){color:#4a443c;max-width:62ch}
.text-copy .btn{margin-top:12px}
@media (max-width:900px){
  .text-section,.text-section.img-right{grid-template-columns:1fr;gap:30px}
  .text-section.img-right .text-media{order:0}
  .text-media{margin-inline:auto;aspect-ratio:1/1;max-width:520px}
  .text-copy .kicker,.text-copy .section-title{text-align:center}
}

/* Úvod na úzkých telefonech */
@media (max-width:400px){
  .tagline::before,.tagline::after{display:none}
  .hero-actions .btn{font-size:14px;padding:16px 18px;white-space:nowrap}
}
@media (max-width:360px){
  .hero-actions .btn svg{display:none}
}

/* Mobil: odkaz „Kdo jsem“ až pod textem „15 minut, nezávazně…“ */
@media (max-width:900px){
  .hero-copy{display:flex;flex-direction:column;align-items:center}
  .hero-copy > *{max-width:100%}
  .hero-actions{display:contents}
  .hero-note{order:1;margin-top:18px}
  .hero-actions .text-link{order:2;margin-top:14px}
}
@media (max-width:560px){
  .hero-actions .btn{align-self:stretch}
}
