/* =========================================================
   Jan Simper – landing page | barvy a písma CENTURY 21
   ========================================================= */

/* ---------- Písma (soubory dodat do /assets/fonts/) ---------- */
@font-face{font-family:"Typold Extended";font-weight:700;font-style:normal;font-display:swap;src:url(/assets/fonts/TypoldExtended-Bold.woff) format("woff")}
@font-face{font-family:"Typold Extended";font-weight:500;font-style:normal;font-display:swap;src:url(/assets/fonts/TypoldExtended-Medium.woff) format("woff")}
@font-face{font-family:"Barlow Semi Condensed";font-weight:400;font-style:normal;font-display:swap;src:url(/assets/fonts/BarlowSemiCondensed-Regular.woff) format("woff")}
@font-face{font-family:"Barlow Semi Condensed";font-weight:500;font-style:normal;font-display:swap;src:url(/assets/fonts/BarlowSemiCondensed-Medium.woff) format("woff")}

/* ---------- Proměnné ---------- */
:root{
  --dark:#3C3C3B; --dark-2:#2B2B2A; --text:#3C3C3B; --text-2:#4D4D4C; --muted:#5F5F5E;
  --gold:#C7B890; --gold-light:#D6C9A6; --gold-dark:#AC9976; --gold-text:#6B5E3F;
  --cream:#F6F5F1; --line:#D9D9D8; --white:#FFFFFF;
  --head:"Typold Extended","Arial Black",Arial,sans-serif;
  --body:"Barlow Semi Condensed","Arial Narrow",Arial,sans-serif;
  --pad-x:clamp(20px,5vw,48px);
}

/* ---------- Základ ---------- */
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;font-family:var(--body);font-size:18px;line-height:1.55;color:var(--text);background:var(--white)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{font-family:var(--head);font-weight:700;color:var(--dark);margin:0}
p{margin:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--gold-dark);outline-offset:3px}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--dark);color:#fff;padding:12px 16px;z-index:100}
.skip-link:focus{left:12px;top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

.wrap{max-width:1160px;margin:0 auto;padding-left:var(--pad-x);padding-right:var(--pad-x)}
.wrap--narrow{max-width:820px}
.section{padding-top:clamp(56px,8vw,96px);padding-bottom:clamp(56px,8vw,96px)}
.bg-cream{background:var(--cream)}
.bg-gold{background:var(--gold)}
.center{text-align:center}

.eyebrow{font-family:var(--head);font-weight:500;font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-text);margin-bottom:14px}
.h2{font-size:clamp(24px,3.4vw,36px);line-height:1.2;margin-bottom:18px}
.lead{color:var(--text-2)}
.section-head{margin:0 auto 40px;text-align:center}

/* ---------- Tlačítka ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:16px 32px;border-radius:4px;border:0;
  font-family:var(--head);font-weight:700;font-size:15px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;text-align:center;line-height:1.25;cursor:pointer;transition:background .15s}
.btn--gold{background:var(--gold);color:var(--dark)}
.btn--gold:hover{background:var(--gold-light)}
.btn--dark{background:var(--dark);color:#fff}
.btn--dark:hover{background:var(--dark-2)}
.btn--light{background:#fff;color:var(--dark);border:1px solid var(--line)}
.btn--light:hover{background:var(--cream)}
.cta-row{margin-top:44px;text-align:center}

/* ---------- Hlavička ---------- */
.site-header{background:var(--dark)}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;padding-top:16px;padding-bottom:16px}
.brand{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.brand__name{font-family:var(--head);font-weight:700;font-size:18px;color:#fff}
.brand__role{font-family:var(--head);font-weight:500;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.logo{height:14px;width:auto;color:#fff;font-family:var(--head);font-size:14px}
.header-phone{font-family:var(--head);font-weight:700;font-size:15px;color:#fff;text-decoration:none;letter-spacing:.04em}
.header-phone:hover{color:var(--gold)}
.header-right{display:flex;align-items:center;gap:24px}

/* ---------- Úvod + video ---------- */
.hero .wrap{max-width:1000px;padding-top:clamp(40px,6vw,72px);padding-bottom:clamp(48px,7vw,88px);text-align:center}
.hero h1{font-size:clamp(26px,4.4vw,48px);line-height:1.18;margin-bottom:22px}
.hero__sub{max-width:680px;margin:0 auto 36px;font-size:clamp(19px,2.2vw,22px);color:var(--text-2)}
.video{position:relative;width:100%;max-width:860px;margin:0 auto;aspect-ratio:var(--ratio,16 / 9);background:var(--dark);border-radius:6px;overflow:hidden}
.video[data-ratio="1 / 1"]{max-width:520px}
.video[data-ratio="4 / 5"],.video[data-ratio="9 / 16"]{max-width:440px}
.video__btn{position:absolute;inset:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;border:0;background:transparent;cursor:pointer;color:var(--gold)}
.video__thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.video__btn::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.18);transition:background .2s}
.video__btn:hover::after{background:rgba(0,0,0,.08)}
.video__btn svg{position:relative;z-index:1;transition:transform .2s;filter:drop-shadow(0 4px 14px rgba(0,0,0,.35))}
.video__btn:hover svg{transform:scale(1.06)}
.video__label{font-family:var(--head);font-weight:500;font-size:13px;letter-spacing:.14em;text-transform:uppercase}
.video__note{margin-top:12px;font-size:14px;color:var(--muted)}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* Vimeo: přes přehrávač leží průhledné tlačítko, které jen spouští a pozastavuje video */
.video__toggle{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border:0;padding:0;background:transparent;cursor:pointer}
.video__toggle svg{transition:opacity .25s,transform .2s;filter:drop-shadow(0 4px 14px rgba(0,0,0,.35))}
.video__toggle:hover svg{transform:scale(1.06)}
.video.is-playing .video__toggle svg{opacity:0}
.video.is-playing .video__toggle:focus-visible svg{opacity:1}
.hero .btn{margin-top:34px}

/* ---------- Rozklikávací řádky (<details>) ---------- */
.acc{display:flex;flex-direction:column;gap:12px}
.acc__item{background:#fff;border:1px solid var(--line);border-radius:4px;overflow:hidden}
.acc--grey .acc__item{background:var(--cream);border-color:var(--cream)}
.acc__item summary{display:flex;align-items:center;gap:18px;min-height:76px;padding:14px 22px;cursor:pointer;list-style:none;
  font-family:var(--head);font-weight:700;font-size:17px;line-height:1.3;color:var(--dark)}
.acc__item summary::-webkit-details-marker{display:none}
.acc__item summary:hover{background:rgba(199,184,144,.18)}
.acc__title{flex:1 1 auto}
.acc__icon{flex:0 0 auto;width:40px;height:40px;fill:none;stroke:var(--gold-dark);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.acc__num{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--gold);font-size:17px}
.acc__pm{flex:0 0 auto;width:26px;height:26px;fill:none;stroke:var(--dark);stroke-width:2;stroke-linecap:round}
.acc__pm .v{transition:opacity .2s}
.acc__item[open] .acc__pm .v{opacity:0}
.acc__body{padding:0 22px 26px;color:var(--text-2);animation:acc-open .28s ease-out}
@keyframes acc-open{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* ---------- Zlatý pás ---------- */
.band .wrap{max-width:860px;padding-top:clamp(44px,6vw,72px);padding-bottom:clamp(44px,6vw,72px);text-align:center}
.band h2{font-size:clamp(22px,3vw,30px);line-height:1.25;margin-bottom:16px}
.band p{margin-bottom:30px;font-size:clamp(19px,2.2vw,22px)}

/* ---------- O mně ---------- */
.about{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:48px 72px}
.about__photo{flex:0 0 auto;width:340px;max-width:100%;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;border:1px solid var(--gold-dark);border-radius:50%}
.about__photo picture{display:block;width:88%}
.about__photo img{width:100%;aspect-ratio:1/1;border-radius:50%;object-fit:cover;background:var(--gold)}
.about__text{flex:1 1 420px;max-width:600px}
.about__text p{color:var(--text-2);margin-bottom:16px}
.about__text .btn{margin-top:14px}

/* ---------- Recenze ---------- */
.rating{display:inline-flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 12px;padding:10px 20px;background:#fff;border:1px solid var(--line);border-radius:40px;font-size:17px;text-decoration:none}
.rating:hover{border-color:var(--gold-dark)}
.rating strong{font-family:var(--head);font-size:18px}
.stars{display:block;width:116px;height:22px;fill:#F2A900}
.reviews{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.review{margin:0;padding:28px 26px;background:#fff;border:1px solid var(--line);border-radius:6px;display:flex;flex-direction:column;gap:16px}
.review__head{display:flex;align-items:center;gap:14px}
.review__avatar{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;font-family:var(--head);font-weight:700;font-size:20px;color:#fff}
.review__name{font-family:var(--head);font-weight:700;font-size:16px;line-height:1.3}
.review__meta{font-size:15px;color:var(--muted)}
.review blockquote{margin:0}
.reviews-more{margin-top:32px;text-align:center}

/* ---------- Formulář ---------- */
.form-section .wrap{max-width:680px}
.form{padding:clamp(24px,4vw,40px);background:#fff;border-radius:6px}
.form__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.field{display:flex;flex-direction:column;gap:8px}
.field + .field,.form__grid + .field{margin-top:20px}
.form__grid .field{margin-top:0}
.field label{font-weight:500;font-size:16px}
.input{width:100%;min-height:52px;padding:12px 14px;border:1px solid #878786;border-radius:4px;background:#fff;font-family:var(--body);font-size:18px;color:var(--text)}
.input:focus{border-color:var(--dark);outline:2px solid var(--gold-dark);outline-offset:1px}
textarea.input{resize:vertical}
.check{display:flex;align-items:flex-start;gap:12px;margin-top:24px;font-size:16px;line-height:1.45;color:var(--text-2);cursor:pointer}
.check input{flex:0 0 auto;width:22px;height:22px;margin:1px 0 0;accent-color:var(--dark)}
.form__submit{margin-top:28px;text-align:center}
.form__submit .btn{width:100%;max-width:440px}
.form__legal{margin-top:20px;font-size:14px;line-height:1.45;text-align:center;color:var(--muted)}
.form__alt{margin-top:28px;text-align:center}
.form__alt a{font-family:var(--head);font-weight:700;text-decoration:none}
.hidden{display:none}

/* ---------- Patička ---------- */
.site-footer{background:var(--dark);color:#ECECEC;font-size:17px}
.site-footer .wrap{padding-top:48px;padding-bottom:36px}
.footer__cols{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px 48px}
.footer__cols > div{flex:1 1 300px}
.footer__cols p{margin-bottom:4px}
.footer__cols a{text-decoration:none}
.footer__cols a:hover{color:var(--gold)}
.site-footer .logo{height:20px;margin-bottom:20px}
.footer__bottom{margin-top:32px;padding-top:24px;border-top:1px solid rgba(199,184,144,.4);display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;font-size:15px;color:#C9C9C8}
.footer__bottom a{color:#C9C9C8}
.footer__links{display:flex;flex-wrap:wrap;gap:8px 20px}
.copy{margin-top:14px;font-size:14px;color:#A9A9A8}
.link-btn{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}

/* ---------- Děkovací stránka ---------- */
.thanks{min-height:60vh;display:flex;align-items:center}
.thanks .wrap{max-width:720px;text-align:center}
.thanks h1{font-size:clamp(28px,4vw,44px);line-height:1.2;margin-bottom:20px}
.thanks p{color:var(--text-2);margin-bottom:16px}
.thanks .btn{margin-top:20px}

/* ---------- Cookie lišta ---------- */
.cc{position:fixed;left:16px;right:16px;bottom:16px;z-index:50;max-width:560px;margin-left:auto;background:#fff;color:var(--text);border:1px solid var(--line);border-radius:6px;box-shadow:0 8px 32px rgba(0,0,0,.18);padding:22px 24px;font-size:16px;line-height:1.45}
.cc h2{font-size:17px;margin-bottom:8px}
.cc p{color:var(--text-2)}
.cc__opts{margin-top:14px;display:flex;flex-direction:column;gap:10px}
.cc__opts label{display:flex;gap:10px;align-items:flex-start}
.cc__opts input{width:20px;height:20px;margin-top:1px;accent-color:var(--dark)}
.cc__btns{margin-top:16px;display:flex;flex-wrap:wrap;gap:10px}
.cc__btns .btn{min-height:48px;padding:12px 18px;font-size:13px;flex:1 1 auto}

@media (max-width:600px){
  .header-phone{display:none}
  .acc__item summary{gap:14px;padding:12px 16px;font-size:16px}
  .acc__icon{width:32px;height:32px}
  .acc__body{padding:0 16px 22px}
}
