/* ==== Sdílený základ – varianty přepisují proměnné v :root ==== */
:root {
  --accent: #e3171e;
  --accent-ink: #fff;
  --bg: #fff;
  --fg: #111;
  --muted: #666;
  --surface: #f4f4f4;
  --line: rgba(0, 0, 0, .1);
  --radius: 12px;
  --font-body: system-ui, sans-serif;
  --font-display: var(--font-body);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
main, footer { overflow-x: clip; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
ul, ol[class] { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: .75rem 1rem; background: var(--accent); color: var(--accent-ink); }
.skip:focus { top: 1rem; }

/* ---- Reveal animace (jen s JS) ---- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---- Galerie ---- */
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.06); }
.gallery__zoom { position: absolute; right: .75rem; bottom: .75rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; opacity: 0; transform: scale(.8); transition: .3s; backdrop-filter: blur(4px); }
.gallery a:hover .gallery__zoom, .gallery a:focus-visible .gallery__zoom { opacity: 1; transform: none; }

/* ---- Lightbox ---- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 10, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: lb-in .25s ease; }
.lightbox::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__stage { margin: 0; display: grid; gap: .75rem; justify-items: center; padding: 4rem 1rem; }
.lightbox__stage img { max-width: min(92vw, 1400px); max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__caption { font-size: .95rem; opacity: .8; text-align: center; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.lightbox__btn:hover { background: var(--accent); }
.lightbox__btn .icon { width: 1.5rem; height: 1.5rem; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; top: 1.6rem; left: 1.5rem; font-size: .9rem; opacity: .7; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; translate: none; } }
html.lightbox-open { overflow: hidden; }

/* ---- Facebook reference ---- */
.fb-reviews__gate { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); }
.fb-reviews__gate p { max-width: 46ch; margin: 0; }
.fb-reviews__stars { display: flex; gap: .25rem; color: #f5b301; }
.fb-reviews__stars .icon { width: 1.75rem; height: 1.75rem; fill: currentColor; stroke: none; }
.fb-reviews__actions, .map__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; align-items: center; }
.fb-reviews__grid { columns: 350px auto; column-gap: 1.25rem; }
.fb-reviews__post { width: 100%; max-width: 350px; margin: 0 auto 1.25rem; break-inside: avoid; border-radius: 10px; background: #fff; }
.fb-reviews__more { text-align: center; margin-top: 1rem; }

/* ---- Mapa ---- */
.map { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); min-height: 320px; display: grid; }
.map__gate { display: grid; place-content: center; justify-items: center; gap: .5rem; padding: 2rem; text-align: center; }
.map__gate p { margin: 0; font-weight: 600; }
.map__pin { width: 2.5rem; height: 2.5rem; color: var(--accent); }
.map__actions a { font-size: .95rem; }
.map__frame { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ===================== Varianta C – BENTO ===================== */
:root {
  --accent: #e3171e;
  --accent-2: #c10f15;
  --accent-ink: #fff;
  --bg: #efeae2;
  --paper: #f8f5f0;
  --ink: #111111;
  --fg: var(--ink);
  --muted: #5f5a53;
  --surface: #e4ddd2;
  --line: rgba(17, 17, 17, .12);
  --radius: 26px;
  --gap: clamp(10px, 1.3vw, 16px);
  --font-body: 'Inter Variable', system-ui, sans-serif;
  --font-display: 'Space Grotesk Variable', 'Inter Variable', sans-serif;
  --header-h: 84px;
  --wrap: 1320px;
}
body { background: var(--bg); }

.sec { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.sec__head { display: grid; gap: .5rem; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.sec__head p { margin: 0; color: var(--muted); max-width: 50ch; }
.sec__head--row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sec__head--row p { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.h2 { margin: 0; font-size: clamp(2.6rem, 7vw, 5.5rem); font-weight: 700; letter-spacing: -.055em; line-height: .92; }

/* ---- Dlaždice ---- */
.bento { display: grid; gap: var(--gap); }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper); padding: clamp(1.25rem, 2.4vw, 2rem); text-decoration: none; color: inherit; }
.tile--red { background: var(--accent); color: #fff; }
.tile--dark { background: var(--ink); color: #fff; }
a.tile { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
a.tile:hover { transform: translateY(-4px) rotate(-.4deg); }
.tile__label { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.tile__arrow { position: absolute; right: clamp(1.25rem, 2.4vw, 2rem); top: clamp(1.25rem, 2.4vw, 2rem); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: transform .3s; }
a.tile:hover .tile__arrow { transform: rotate(-45deg); }
.tag { align-self: flex-start; display: inline-block; margin: 0 0 1.25rem; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 600; }

/* ---- Tlačítka ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font-weight: 600; text-decoration: none; transition: .2s; }
.btn--red { background: var(--accent); color: #fff; }
.btn--red:hover { background: var(--accent-2); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.sec--dark .btn--line:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ---- Hlavička (plovoucí pill) ---- */
.hdr { position: sticky; top: 0; z-index: 50; padding: 12px var(--gutter); }
.hdr__bar { display: flex; align-items: center; gap: 1rem; max-width: var(--wrap); margin: 0 auto; padding: 8px 8px 8px 14px; border-radius: 999px; background: rgba(248, 245, 240, .78); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid var(--line); transition: box-shadow .3s; }
.is-scrolled .hdr__bar { box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .22); }
.hdr__logo .logo { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .15rem; }
.nav a { display: block; padding: .55rem .9rem; border-radius: 999px; font-weight: 500; font-size: .94rem; text-decoration: none; transition: .2s; }
.nav a:hover { background: var(--ink); color: #fff; }
.hdr__call { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; }
.hdr__call:hover { background: var(--accent-2); }
.hdr__toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; place-items: center; }
.hdr__toggle .i-close, .nav-open .hdr__toggle .i-open { display: none; }
.nav-open .hdr__toggle .i-close { display: block; }
@media (max-width: 1060px) {
  .hdr__call { margin-left: auto; }
  .hdr__toggle { display: grid; }
  .nav { position: fixed; left: var(--gutter); right: var(--gutter); top: 82px; padding: .75rem; border-radius: 24px; background: var(--ink); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: .25s; }
  .nav[data-open] { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav a { color: #fff; padding: 1rem 1.25rem; font: 600 1.5rem/1 var(--font-display); letter-spacing: -.03em; }
  .nav a:hover { background: var(--accent); }
}
@media (max-width: 480px) { .hdr__call span { display: none; } .hdr__call { padding: .8rem; } }

/* ---- Hero bento ---- */
.hero { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(120px, auto); padding-top: clamp(.5rem, 2vw, 1.5rem); }
.tile--title { grid-column: 1 / 8; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; }
.tile--title h1 { margin: 0; font-size: clamp(2.8rem, 6.6vw, 6.2rem); font-weight: 700; letter-spacing: -.06em; line-height: .9; }
.tile--title h1 span { display: block; margin-top: .25em; font-size: .52em; letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.tile--photo { grid-column: 8 / 13; grid-row: 1 / 3; padding: 0; }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; position: absolute; inset: 0; }
.tile--lead { grid-column: 1 / 5; grid-row: 3; display: flex; align-items: center; }
.tile--lead p { margin: 0; font-size: 1.05rem; color: var(--muted); }
.tile--call { grid-column: 5 / 8; grid-row: 3; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; }
.tile--call strong { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--font-display); letter-spacing: -.04em; margin-top: .35rem; }
.tile--price { grid-column: 8 / 11; grid-row: 3; display: flex; flex-direction: column; justify-content: flex-end; }
.tile--price strong { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--font-display); letter-spacing: -.04em; margin: .35rem 0 .4rem; }
.tile__sub { font-size: .85rem; opacity: .7; }
.tile--logo { grid-column: 11 / 13; grid-row: 3; display: grid; place-items: center; background: #fff; }
.tile__logo { width: 100%; max-width: 220px; height: auto; transform: rotate(-6deg); transition: transform .4s; }
.tile--logo:hover .tile__logo { transform: rotate(0) scale(1.05); }
.hero .tile { animation: pop .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero .tile:nth-child(2) { animation-delay: .08s; } .hero .tile:nth-child(3) { animation-delay: .16s; } .hero .tile:nth-child(4) { animation-delay: .24s; } .hero .tile:nth-child(5) { animation-delay: .32s; } .hero .tile:nth-child(6) { animation-delay: .4s; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
@media (max-width: 1000px) {
  .hero { grid-template-columns: repeat(6, 1fr); }
  .tile--title { grid-column: 1 / -1; grid-row: auto; min-height: 0; gap: 2rem; }
  .tile--photo { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .tile--lead { grid-column: 1 / -1; grid-row: auto; }
  .tile--call { grid-column: 1 / 4; grid-row: auto; } .tile--price { grid-column: 4 / 7; grid-row: auto; }
  .tile--logo { display: none; }
}
@media (max-width: 560px) { .tile--call, .tile--price { grid-column: 1 / -1; min-height: 0; padding-top: 3.5rem; } }

/* ---- Marquee ---- */
.marquee { margin-top: clamp(2.5rem, 6vw, 4.5rem); padding: 1.1rem 0; background: var(--ink); color: #fff; overflow: hidden; transform: rotate(-1.2deg); }
.marquee div { display: flex; width: max-content; animation: mq 32s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 2rem; padding-right: 2rem; font: 700 clamp(1.4rem, 3vw, 2.2rem)/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.marquee span::after { content: '✺'; color: var(--accent); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---- O nás ---- */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(1.5rem, 5vw, 5rem); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.split__body p { color: var(--muted); }
.split__body .big { font: 500 clamp(1.25rem, 2.2vw, 1.6rem)/1.35 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.usps { grid-template-columns: repeat(4, 1fr); }
.usp { min-height: 260px; display: flex; flex-direction: column; }
.usp__n { font: 600 .85rem/1 var(--font-display); opacity: .5; }
.usp__icon { width: 2.5rem; height: 2.5rem; margin: auto 0 1rem; }
.usp h3 { font: 700 1.5rem/1.05 var(--font-display); letter-spacing: -.03em; margin-bottom: .4rem; }
.usp p { margin: 0; font-size: .93rem; opacity: .75; }
.motto { margin: clamp(2.5rem, 6vw, 4rem) 0 0; font: 700 clamp(1.8rem, 4.5vw, 3.6rem)/1.02 var(--font-display); letter-spacing: -.05em; text-wrap: balance; }
.motto__hl { color: var(--accent); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .usps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .usps { grid-template-columns: 1fr; } .usp { min-height: 0; } .usp__icon { margin-top: 1.5rem; } }

/* ---- Ceník ---- */
.sec--dark { background: var(--ink); color: #fff; border-radius: clamp(28px, 4vw, 48px); margin-inline: clamp(8px, 1.2vw, 16px); }
.sec--dark .sec__head p { color: #a8a39b; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.price { display: flex; flex-direction: column; padding: 2rem; border-radius: var(--radius); background: #1c1c1c; border: 1px solid rgba(255, 255, 255, .08); transition: transform .3s; }
.price:hover { transform: translateY(-6px); }
.price--featured { background: var(--accent); border-color: var(--accent); }
.price__row { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 2.5rem; }
.price__row h3 { margin: 0; font: 600 1.3rem/1.1 var(--font-display); letter-spacing: -.02em; }
.price__icon { width: 2rem; height: 2rem; opacity: .8; }
.price__amount { margin: 0; font: 700 clamp(2.6rem, 4.5vw, 3.8rem)/.95 var(--font-display); letter-spacing: -.06em; }
.price__dur { margin: .5rem 0 1.5rem; opacity: .7; }
.price ul { display: grid; gap: .55rem; margin-bottom: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .95rem; }
.price li::before { content: '→ '; opacity: .6; }
.price .btn { margin-top: auto; }
.price--featured .btn--red { background: #fff; color: var(--accent); }
.price--featured .btn--red:hover { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

/* ---- Postup ---- */
.steps { grid-template-columns: repeat(4, 1fr); }
.step { display: flex; flex-direction: column; min-height: 300px; }
.step__n { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 2px solid var(--ink); font: 700 1.4rem/1 var(--font-display); margin-bottom: auto; }
.step h3 { margin: 2rem 0 .5rem; font: 700 1.6rem/1.05 var(--font-display); letter-spacing: -.03em; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps__docs { display: flex; flex-direction: column; gap: .6rem; }
.steps__docs h3 { margin: 0 0 auto; font: 700 1.6rem/1 var(--font-display); letter-spacing: -.03em; }
.dl { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.1rem; border-radius: 16px; background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-weight: 600; transition: background .2s; }
.dl:hover { background: rgba(255, 255, 255, .26); }
.dl small { margin-left: auto; opacity: .7; font-size: .75rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } .step { min-height: 240px; } .steps__docs { min-height: 240px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step, .steps__docs { min-height: 0; } .steps__docs h3 { margin-bottom: 1rem; } }

/* ---- Galerie (mozaika) ---- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 14vw, 190px); gap: var(--gap); }
.gallery li { grid-column: span 2; grid-row: span 2; }
.gallery li:nth-child(4n+1), .gallery li:nth-child(4n) { grid-column: span 4; }
.gallery li:nth-last-child(3):nth-child(4n+1) { grid-column: span 2; }
.gallery a { height: 100%; border-radius: var(--radius); }
.gallery img { aspect-ratio: auto; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery li, .gallery li:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery li:nth-child(3n+1) { grid-column: span 2; grid-row: span 2; }
  .gallery li:last-child:nth-child(3n+2) { grid-column: span 2; }
  .gallery a { border-radius: 18px; }
}

/* ---- Reference ---- */
.fb-reviews__gate { background: var(--paper); justify-items: start; text-align: left; padding: clamp(1.5rem, 4vw, 3rem); }
.fb-reviews__gate p { font: 500 clamp(1.15rem, 2vw, 1.45rem)/1.35 var(--font-display); letter-spacing: -.02em; max-width: 40ch; }
.fb-reviews__actions { justify-content: flex-start; }

/* ---- Kontakt ---- */
.contact { grid-template-columns: repeat(12, 1fr); }
.contact__main { grid-column: 1 / 6; display: flex; flex-direction: column; min-height: 380px; }
.contact__phone { margin: auto 0 1.25rem; font: 700 clamp(2rem, 4vw, 3.2rem)/1 var(--font-display); letter-spacing: -.05em; color: #fff; text-decoration: none; }
.contact__phone:hover { color: var(--accent); }
.contact__main ul { display: grid; gap: .6rem; opacity: .8; }
.contact__main li { display: flex; align-items: center; gap: .6rem; }
.tile--fb { grid-column: 1 / 6; display: flex; align-items: center; gap: 1rem; background: #1877f2; color: #fff; font: 600 1.25rem/1.15 var(--font-display); letter-spacing: -.02em; }
.tile__fb { width: 2.75rem; height: 2.75rem; }
.tile--fb .tile__arrow { position: static; margin-left: auto; padding: .6rem; width: 2.75rem; height: 2.75rem; }
.tile--map { grid-column: 6 / 13; grid-row: 1 / 3; padding: 0; }
.tile--map .map { height: 100%; min-height: 420px; border-radius: 0; background: radial-gradient(circle at 50% 45%, #fff, var(--paper) 70%); }
@media (max-width: 900px) { .contact__main, .tile--fb, .tile--map { grid-column: 1 / -1; grid-row: auto; } .contact__main { min-height: 300px; } .tile--map .map { min-height: 340px; } }

/* ---- Patička ---- */
.ftr { padding: 2rem 0 0; overflow: hidden; color: var(--muted); font-size: .9rem; }
.ftr p { margin: 0; }
.ftr__big { font: 700 clamp(5rem, 24vw, 21rem)/.78 var(--font-display); letter-spacing: -.07em; color: var(--ink); margin-top: 1rem !important; text-align: center; translate: 0 .12em; }
