/* Libor Blaha – autoservis a prodejna autodílů
   Struktura a rytmus podle šablony Luna (rem mřížka rostoucí s viewportem,
   velké zaoblené karty, pilulková tlačítka, odhalování slov), paleta žluto-olivová.

   Kontrast (WCAG 2.1, ověřeno výpočtem):
   cream  #F5F1E3 na olive-900 #2F3217 ...... 11.7 : 1  AAA
   cream  #F5F1E3 na olive-800 #3B3F1E ......  9.7 : 1  AAA
   cream  #F5F1E3 na olive-600 #6B7034 ......  4.65: 1  AA (proto na olivové jen plná krémová)
   yellow #F2C230 na olive-900 #2F3217 ......  7.9 : 1  AAA
   ink    #20220F na yellow    #F2C230 ......  9.7 : 1  AAA
   ink    #20220F na cream     #F5F1E3 ...... 14.3 : 1  AAA
   olive-700 #4A4F24 na cream ...............  7.6 : 1  AAA
   Pozor: žlutá na olive-600 má jen 3.1 : 1 – nepoužívat pro text.
*/

:root {
  --olive-950: #20220F;   /* text na světlé, tmavé plochy */
  --olive-900: #2F3217;   /* hlavní tmavé pozadí */
  --olive-800: #3B3F1E;
  --olive-700: #4A4F24;
  --olive-600: #6B7034;   /* karty, sekce */
  --olive-300: #B9BC86;
  --yellow:    #F2C230;   /* akcent */
  --yellow-hi: #F7D360;
  --yellow-lo: #D9A912;
  --cream:     #F5F1E3;
  --cream-2:   #ECE6D0;
  --white:     #FFFDF6;

  --bg: var(--white);
  --fg: var(--olive-950);
  --fg-2: rgb(32 34 15 / .74);
  --line: rgb(32 34 15 / .12);
  --accent: var(--yellow);
  --on-accent: var(--olive-950);

  --radius-card: 2rem;
  --radius-sm: 1.25rem;
  --radius-pill: 9999px;
  --shell: 88rem;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-word: cubic-bezier(.165, .84, .44, 1);

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
}

/* Luna: kořenový font roste s viewportem, s podlahou kvůli čitelnosti */
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (max-width: 1920px) { html { font-size: .833333vw; } }
@media (max-width: 1440px) { html { font-size: max(1.111111vw, 15px); } }
@media (max-width: 1024px) { html { font-size: max(1.5625vw, 15px); } }
@media (max-width: 640px)  { html { font-size: 16px; } }
@media (min-width: 1921px) { html { font-size: calc(16px + (100vw - 1920px) * .006); } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.shell { max-width: var(--shell); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .shell { padding-inline: 2rem; } }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 300; background: var(--yellow); color: var(--olive-950); padding: .6rem 1rem; border-radius: .75rem; font-weight: 700; }
.skip:focus { top: 1rem; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.todo { background: rgb(242 194 48 / .28); outline: 1px dashed var(--yellow-lo); padding: 0 .3em; border-radius: .3em; font-size: .9em; }
.on-dark .todo { color: var(--cream); }

/* ── Typografie ── */
h1, h2, h3, .brand__text strong, .footer__brand { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; line-height: .95; }
h2 { font-size: clamp(2.5rem, 5.2vw, 5.25rem); }
h3 { font-size: 1.6rem; line-height: 1.05; }
.kicker { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 1rem; color: var(--olive-700); margin-bottom: 1rem; }
.on-dark .kicker { color: var(--yellow); }
.sec__lead { max-width: 38rem; font-size: 1.15rem; color: var(--fg-2); margin-top: 1.25rem; }
.on-dark { color: var(--cream); --fg-2: rgb(245 241 227 / .8); --line: rgb(245 241 227 / .14); }

/* ── Tlačítka (Luna pilulky) ── */
.btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 3.25rem; padding: 0 1.6rem; border-radius: var(--radius-pill); font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: transform .4s var(--ease-out), background-color .25s, color .25s, box-shadow .4s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 2.75rem; padding: 0 1.2rem; font-size: .95rem; }
.btn--accent { background: var(--yellow); color: var(--on-accent); box-shadow: 0 .5rem 1.5rem -.6rem rgb(242 194 48 / .7); }
.btn--accent:hover { background: var(--yellow-hi); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid currentColor; }
.btn--ghost:hover { background: var(--cream); color: var(--olive-950); border-color: var(--cream); }
.btn--dark { background: var(--olive-950); color: var(--cream); }
.btn--dark:hover { background: var(--olive-800); }

/* ── 1. Hlavička ── */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color .35s, box-shadow .35s, transform .45s var(--ease-out); color: var(--cream); }
.header.is-scrolled { background: rgb(32 34 15 / .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgb(245 241 227 / .08); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { display: flex; align-items: center; gap: 1.5rem; height: 5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.brand__mark { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .8rem; background: var(--yellow); color: var(--olive-950); font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 1.45rem; }
.brand__text small { font-size: .78rem; opacity: .75; letter-spacing: .04em; margin-top: .2rem; }
.nav ul { display: flex; gap: .25rem; }
.nav a { display: block; padding: .5rem .9rem; border-radius: var(--radius-pill); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color .2s; }
.nav a:hover { background: rgb(245 241 227 / .1); }
.burger { display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgb(245 241 227 / .1); position: relative; }
.burger span { position: absolute; left: 50%; width: 1.1rem; height: 2px; background: currentColor; translate: -50% 0; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.burger span:first-child { top: 1.15rem; } .burger span:last-child { top: 1.55rem; }
.burger[aria-expanded="true"] span:first-child { top: 1.35rem; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 1.35rem; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .header__call span { display: none; }
  .header__call { padding: 0; width: 2.75rem; justify-content: center; }
  .nav { position: fixed; inset: 5rem 0 auto; background: var(--olive-950); padding: 1rem 1rem 2rem; clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease-out); }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav ul { flex-direction: column; }
  .nav a { font-family: var(--f-display); text-transform: uppercase; font-size: 2rem; padding: .4rem .5rem; }
  .header.menu-open { background: var(--olive-950); }
}

/* ── 2. Hero ── */
.hero { background: var(--olive-900); padding-top: 8rem; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60rem 40rem at 85% 10%, rgb(107 112 52 / .55), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 3rem; grid-template-columns: 1.05fr 1fr; align-items: center; padding-bottom: 5rem; }
.hero__title { font-size: clamp(3.4rem, 8vw, 8.5rem); font-weight: 800; line-height: .88; margin: 1.25rem 0 1.75rem; }
.hero__title em { font-style: normal; color: var(--yellow); display: block; }
.hero__lead { font-size: 1.25rem; max-width: 33rem; color: var(--fg-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__media { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--olive-700); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.hero__media.is-in img { transform: scale(1); }
.hero__badge { position: absolute; left: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: .15rem; padding: .9rem 1.2rem; border-radius: var(--radius-sm); background: rgb(32 34 15 / .78); backdrop-filter: blur(10px); }
.hero__badge-k { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); font-weight: 700; }
.hero__badge-v { font-weight: 700; }
.eyebrow { font-weight: 600; font-size: .95rem; }
.status { display: inline-flex; align-items: center; gap: .5rem; }
.status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--olive-300); }
.status.is-open::before { background: #7BD88F; box-shadow: 0 0 0 0 rgb(123 216 143 / .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 .5rem rgb(123 216 143 / 0); } 100% { box-shadow: 0 0 0 0 rgb(123 216 143 / 0); } }

.ticker { position: relative; background: var(--yellow); color: var(--olive-950); overflow: hidden; padding: .9rem 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; padding-inline: 1.5rem; display: flex; align-items: center; gap: 3rem; }
.ticker span::after { content: "✦"; font-size: 1rem; margin-left: 1.5rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero { padding-top: 6.5rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 3rem; }
  .hero__media { aspect-ratio: 4 / 3; }
}

/* ── Sekce ── */
.sec { padding-block: clamp(5rem, 9vw, 9rem); position: relative; }
.sec--cream { background: var(--cream); }
.sec--olive { background: var(--olive-600); overflow: hidden; --fg-2: var(--cream); }
.sec--olive .kicker { color: var(--cream); }
.sec--dark { background: var(--olive-900); }
.sec__head { max-width: 52rem; margin-bottom: 3.5rem; }

/* ── 3. Služby ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { background: var(--cream); border-radius: var(--radius-card); padding: 2.25rem 2rem 2.5rem; display: flex; flex-direction: column; gap: .9rem; transition: transform .5s var(--ease-out), background-color .3s; }
.card:hover { transform: translateY(-4px); background: var(--cream-2); }
.card__ico { width: 3.5rem; height: 3.5rem; padding: .8rem; border-radius: 1rem; background: var(--olive-900); color: var(--yellow); margin-bottom: 1rem; }
.card p { color: var(--fg-2); }
.card--accent { background: var(--yellow); justify-content: flex-end; }
.card--accent:hover { background: var(--yellow-hi); }
.card--accent p { color: var(--olive-950); }
.card--accent .btn { align-self: flex-start; margin-top: .5rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } .card { padding: 1.75rem 1.5rem 2rem; } }

/* ── 4. Prodejna ── */
.watermark { position: absolute; right: -2rem; bottom: -3rem; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(10rem, 26vw, 26rem); line-height: .8; color: rgb(245 241 227 / .06); pointer-events: none; user-select: none; }
.shop { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.shop__intro { position: sticky; top: 7rem; }
.shop__order { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.note { margin-top: 1.25rem; font-size: .95rem; }
.shop__list { display: grid; gap: .75rem; }
.shop__list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; align-items: baseline; padding: 1.5rem 1.75rem; border-radius: var(--radius-sm); background: rgb(32 34 15 / .32); transition: background-color .3s, transform .5s var(--ease-out); }
.shop__list li:hover { background: rgb(32 34 15 / .5); transform: translateX(6px); }
.shop__n { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--yellow); }
.shop__list h3 { font-size: 1.9rem; }
.shop__list p { color: var(--fg-2); margin-top: .3rem; }
@media (max-width: 900px) { .shop { grid-template-columns: 1fr; gap: 2.5rem; } .shop__intro { position: static; } .shop__list li { padding: 1.25rem; grid-template-columns: 2.5rem 1fr; } }

/* ── 5. O nás ── */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about__copy > p { font-size: 1.1rem; color: var(--fg-2); margin-top: 1.25rem; max-width: 36rem; }
.about__copy h2 { margin-bottom: .5rem; }
.ph { display: grid; place-items: center; text-align: center; padding: 1.5rem; border-radius: var(--radius-card); background: repeating-linear-gradient(135deg, var(--cream-2) 0 14px, #E4DDC3 14px 28px); color: var(--olive-700); font-weight: 600; font-size: .95rem; }
.about__media .ph { aspect-ratio: 4 / 5; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--olive-700); font-weight: 700; }
.facts dd { font-weight: 600; margin-top: .3rem; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 2.5rem; } .about__media .ph { aspect-ratio: 16 / 10; } .facts { grid-template-columns: 1fr; } }

/* ── 6. Proč k nám ── */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: why; }
.why li { padding: 2rem 1.75rem 2.25rem; border-top: 3px solid var(--olive-950); display: flex; flex-direction: column; gap: .8rem; }
.why__n { font-family: var(--f-display); font-weight: 800; font-size: 4.5rem; line-height: .8; color: var(--olive-600); }
.why p { color: var(--fg-2); }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .why li { padding-inline: 0; } }

/* ── 7. Recenze ── */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { background: var(--olive-800); border-radius: var(--radius-card); padding: 2.25rem 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 18rem; }
.review blockquote p { font-family: var(--f-display); font-weight: 600; font-size: 2rem; line-height: 1.1; }
.review figcaption { display: flex; flex-direction: column; gap: .2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.review figcaption span { font-size: .9rem; color: var(--fg-2); }
.stars { color: var(--yellow); letter-spacing: .15em; }
.review--cta { background: transparent; border: 1.5px dashed rgb(245 241 227 / .3); justify-content: center; gap: 1.25rem; }
.review--cta p { font-size: 1.15rem; }
.review--cta .btn { align-self: flex-start; }
@media (max-width: 1000px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } .review { min-height: 0; padding: 1.75rem 1.5rem; } .review blockquote p { font-size: 1.7rem; } }

/* ── 8. Galerie ── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 14rem; gap: 1rem; }
.gallery__item { border-radius: var(--radius-sm); overflow: hidden; }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery .ph { border-radius: var(--radius-sm); }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 10rem; } }

/* ── 9. Kontakt ── */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: stretch; }
.contact__list { display: grid; gap: 1.25rem; margin: 2.5rem 0; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list .i { width: 2.75rem; height: 2.75rem; padding: .7rem; border-radius: 50%; background: var(--yellow); color: var(--olive-950); }
.contact__list span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--olive-700); font-weight: 700; }
.contact__list a, .contact__list address { font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-decoration-color: var(--yellow-lo); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.hours { background: var(--cream); border-radius: var(--radius-card); padding: 2rem; }
.hours h3 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; font-size: 1.8rem; margin-bottom: 1rem; }
.hours .status { font-family: var(--f-body); text-transform: none; font-size: .9rem; font-weight: 600; }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; }
.hours tr.is-today th::after { content: " · dnes"; color: var(--olive-700); font-weight: 600; }
.contact__map { position: relative; border-radius: var(--radius-card); overflow: hidden; min-height: 28rem; background: var(--cream-2); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.15); }
.contact__nav { position: absolute; right: 1rem; bottom: 1rem; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 2.5rem; } .contact__map { min-height: 22rem; } .hours { padding: 1.5rem 1.25rem; } }

/* ── 10. Patička ── */
.footer { background: var(--olive-950); padding: 4.5rem 0 6rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 2.5rem; }
.footer h3 { font-size: 1.1rem; letter-spacing: .1em; color: var(--yellow); margin-bottom: .8rem; }
.footer p, .footer li { color: var(--fg-2); }
.footer a { text-decoration: none; } .footer a:hover { color: var(--yellow); }
.footer ul { display: grid; gap: .3rem; }
.footer__brand { font-size: 3rem; color: var(--cream) !important; }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--fg-2); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }

/* ── Mobilní lišta ── */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar { position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 90; display: flex; justify-content: center; align-items: center; gap: .6rem; min-height: 3.4rem; border-radius: var(--radius-pill); background: var(--yellow); color: var(--olive-950); font-weight: 800; text-decoration: none; box-shadow: 0 .75rem 2rem -.5rem rgb(0 0 0 / .45); transform: translateY(150%); transition: transform .5s var(--ease-out); }
  .callbar.is-visible { transform: none; }
}

/* ── Lightbox ── */
.lightbox { margin: auto; max-width: min(92vw, 1400px); background: transparent; border: 0; overflow: visible; }
.lightbox::backdrop { background: rgb(20 21 9 / .9); }
.lightbox img { max-height: 86vh; border-radius: var(--radius-sm); }
.lightbox__close { position: absolute; top: -3.25rem; right: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--yellow); color: var(--olive-950); font-size: 1.6rem; line-height: 1; }

/* ── Animace (Luna: odhalení zdola, slova po jednom) ── */
.js .reveal { opacity: 0; transform: translateY(2rem); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%); transition: transform 1s var(--ease-word); transition-delay: calc(var(--i) * 55ms); }
.js .split.is-in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .split .w > span { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}

/* ── Recenze: souhrn hodnocení ── */
.sec__head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.score { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-radius: var(--radius-card); background: var(--olive-800); }
.score__n { font-family: var(--f-display); font-weight: 800; font-size: 4rem; line-height: .9; color: var(--yellow); }
.score__t { display: flex; flex-direction: column; font-weight: 600; font-size: .95rem; }
.stars { color: var(--yellow); letter-spacing: .12em; font-size: 1.05rem; }
.stars__off { color: rgb(245 241 227 / .28); }
.review blockquote p { font-size: 1.7rem; }
.review { min-height: 15rem; }
.review__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero__rating { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.75rem; font-size: .95rem; text-decoration: none; color: var(--fg-2); }
.hero__rating strong { color: var(--cream); }
.hero__rating:hover { color: var(--cream); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ── Logo ── */
.logo-mark { width: 2.9rem; height: 2.9rem; flex: none; transition: transform .8s var(--ease-out); }
.brand:hover .logo-mark { transform: rotate(60deg); }
.footer__brand { display: flex; align-items: center; gap: .75rem; }
.footer__brand .logo-mark { width: 3rem; height: 3rem; }

/* ── Hero bez fotky: velká značka ── */
.hero__emblem { position: relative; justify-self: center; width: min(100%, 30rem); aspect-ratio: 1; display: grid; place-items: center; }
.hero__emblem::before, .hero__emblem::after { content: ""; position: absolute; inset: 0; clip-path: polygon(100% 50%, 75% 93.3%, 25% 93.3%, 0 50%, 25% 6.7%, 75% 6.7%); background: rgb(245 241 227 / .05); }
.hero__emblem::after { inset: 12%; }
.hero__mark { position: relative; width: 62%; height: 62%; filter: drop-shadow(0 1.5rem 2.5rem rgb(0 0 0 / .35)); transform: rotate(var(--rot, 0deg)); }
.hero__emblem .hero__badge { left: auto; right: 0; bottom: 6%; }
@media (max-width: 900px) { .hero__emblem { display: none; } }

/* ── Recenze jako slider ── */
#recenze { padding-block: clamp(4rem, 7vw, 6.5rem); }
#recenze .sec__head { margin-bottom: 2.25rem; }
.slider__track { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__track .review { min-height: 0; padding: 1.75rem 1.75rem 1.5rem; gap: 1.25rem; justify-content: flex-start; }
.slider__track .review blockquote { flex: 1; }
.slider__track .review blockquote p { font-size: 1.5rem; }
.slider__track .review--cta { justify-content: center; }
.slider__nav { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.slider__btn { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--olive-950); flex: none; transition: background-color .2s, opacity .2s, transform .3s var(--ease-out); }
.slider__btn svg { width: 1.3rem; height: 1.3rem; }
.slider__btn:hover:not(:disabled) { background: var(--yellow-hi); transform: scale(1.06); }
.slider__btn:disabled { opacity: .3; cursor: default; }
.slider__bar { flex: 1; height: 3px; border-radius: 3px; background: rgb(245 241 227 / .15); overflow: hidden; }
.slider__bar span { display: block; height: 100%; width: var(--w, 30%); background: var(--yellow); transform: translateX(var(--x, 0%)); transition: transform .25s linear; }
@media (max-width: 1000px) { .slider__track { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (max-width: 640px) { .slider__track { grid-auto-columns: 86%; } }
