/* ===========================================================
   Informační centrum Litomyšl — červeno-bílý moderní design
   Ostré hrany (border-radius: 0), čistý, přístupný
   =========================================================== */

:root {
  --red: #12925A;
  --red-dark: #0C6E43;
  --red-soft: #E4F4EC;
  --ink: #16181D;
  --ink-soft: #4A4F58;
  --line: #E4E6EA;
  --bg: #FFFFFF;
  --bg-alt: #F6F7F8;
  --white: #FFFFFF;
  --maxw: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
  --ease: cubic-bezier(.22,.61,.36,1);
  --hover: .4s var(--ease);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*, *::before, *::after { border-radius: 0 !important; } /* ostré hrany všude */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: var(--red); text-decoration: none; transition: color var(--hover); }
a:hover { color: var(--red-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

/* ---------- Focus (přístupnost) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .95rem;
  padding: .85rem 1.6rem; cursor: pointer; border: 2px solid var(--red);
  transition: background var(--hover), color var(--hover), border-color var(--hover);
  text-transform: uppercase; letter-spacing: .04em;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--red); }
.btn .ico { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: .82rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: center; padding-top: .55rem; padding-bottom: .55rem; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--red-soft); }
.topbar .ico { width: 15px; height: 15px; stroke: var(--red); flex: 0 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.1; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 42px; height: 42px; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; flex: 0 0 auto; }
.brand small { display: block; font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: .72rem; color: var(--ink-soft); letter-spacing: .02em; }

.menu { display: flex; gap: .25rem; align-items: center; }
.menu a { color: var(--ink); font-weight: 600; font-size: .92rem; padding: .55rem .85rem; transition: background var(--hover), color var(--hover); }
.menu a:hover { background: var(--red-soft); color: var(--red-dark); }
.menu .menu-cta { background: var(--red); color: #fff; }
.menu .menu-cta:hover { background: var(--red-dark); color: #fff; }

.burger { display: none; background: var(--red); border: none; width: 46px; height: 46px; cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { content: ''; display: block; width: 22px; height: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease; }
.burger span::before { transform: translateY(-7px); }
.burger span::after { transform: translateY(5px); }
.burger.open span { background: transparent; }
.burger.open span::before { transform: rotate(45deg); }
.burger.open span::after { transform: rotate(-45deg) translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(105deg, var(--red) 0%, var(--red-dark) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: url('../assets/images/hero-mesto.jpg');
  background-size: cover; background-position: center; opacity: .22; mix-blend-mode: luminosity;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); align-items: center; padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.hero .eyebrow { display: inline-block; font-family: 'Poppins'; font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; border: 2px solid rgba(255,255,255,.7); padding: .4rem .8rem; margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); margin-bottom: 1.1rem; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 46ch; opacity: .95; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-media { position: relative; }
.hero-media { display: flex; justify-content: center; }
.hero-media img { width: auto; max-width: 100%; height: 480px; object-fit: contain; border: 6px solid #fff; box-shadow: 24px 24px 0 rgba(0,0,0,.18); }

/* ---------- Quick info strip ---------- */
.quickstrip { background: var(--ink); color: #fff; }
.quickstrip .container { display: grid; grid-template-columns: repeat(3,1fr); }
.quickstrip .qi { display: flex; align-items: center; gap: .9rem; padding: 1.3rem 1.5rem; border-left: 1px solid rgba(255,255,255,.12); }
.quickstrip .qi:first-child { border-left: none; }
.quickstrip .ico { width: 30px; height: 30px; stroke: var(--red); flex: 0 0 auto; }
.quickstrip .qi b { font-family: 'Poppins'; display: block; font-size: .95rem; }
.quickstrip .qi span { font-size: .82rem; opacity: .75; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; color: var(--red); font-family: 'Poppins'; font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.kicker::before { content: ''; width: 28px; height: 3px; background: var(--red); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: .8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.news-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 1.8rem; display: flex; flex-direction: column; transition: transform var(--hover), box-shadow var(--hover); }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.news-card .date { font-size: .8rem; color: var(--red); font-weight: 700; font-family: 'Poppins'; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .7rem; }
.news-card h3 { font-size: 1.18rem; margin-bottom: .7rem; }
.news-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; margin-bottom: 1.1rem; }
.news-card .more { font-weight: 700; font-family: 'Poppins'; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.news-card .more .ico { width: 16px; height: 16px; transition: transform var(--hover); }
.news-card:hover .more .ico { transform: translateX(4px); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.svc { background: #fff; border: 1px solid var(--line); padding: 1.7rem 1.5rem; transition: border-color var(--hover), background var(--hover); }
.svc:hover { border-color: var(--red); background: var(--red-soft); }
.svc .ico-box { width: 52px; height: 52px; background: var(--red); display: grid; place-items: center; margin-bottom: 1.1rem; }
.svc .ico-box .ico { width: 26px; height: 26px; stroke: #fff; }
.svc h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.svc p { color: var(--ink-soft); font-size: .9rem; }

.services-list { margin-top: 2.5rem; columns: 2; column-gap: 3rem; }
.services-list li { break-inside: avoid; padding: .55rem 0 .55rem 1.9rem; position: relative; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .96rem; }
.services-list li::before { content: ''; position: absolute; left: 0; top: 1rem; width: 9px; height: 9px; background: var(--red); }

/* ---------- Tours ---------- */
.tours { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.tours-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tours-media img { width: 100%; height: 260px; object-fit: cover; border: 4px solid #fff; box-shadow: 0 14px 32px rgba(0,0,0,.12); }
.tours-media img:first-child { margin-top: 2.5rem; }
/* kulaté fotky prohlídek (přebíjí globální reset) */
.round-photo { border-radius: 50% !important; aspect-ratio: 1; object-fit: cover; }
.tours .feat-list li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.tours .feat-list .ico { width: 22px; height: 22px; stroke: var(--red); flex: 0 0 auto; margin-top: .25rem; }

/* ---------- Events / tickets ---------- */
.events-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.1rem; }
.event { position: relative; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.event:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.14); }
.event img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.event .ev-body { padding: .85rem .9rem 1rem; }
.event .ev-date { font-size: .72rem; color: var(--red); font-weight: 700; font-family: 'Poppins'; text-transform: uppercase; letter-spacing: .03em; }
.event h3 { font-size: .95rem; margin-top: .25rem; }
.event .ev-place { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: .2rem; }
.portals a { text-decoration: none; }
.portals span { transition: border-color var(--hover), color var(--hover), background var(--hover); }
.portals a span { cursor: pointer; }
.portals span:hover, .portals a:hover span { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.download-list { display: grid; grid-template-columns: repeat(2,1fr); gap: .8rem; max-width: 820px; }
.download-list li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); }
.download-list li.muted { border-left-color: var(--line); padding: .9rem 1.1rem; color: var(--ink-soft); }
.download-list a { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.1rem; font-weight: 600; color: var(--ink); }
.download-list a::before { content: ''; width: 18px; height: 18px; flex: 0 0 auto; background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.download-list a:hover { color: var(--red); }
@media(max-width:600px){.download-list{grid-template-columns:1fr}}

/* ---------- E-shop ---------- */
.admin-preview-bar { background: #16181D; color: #fff; text-align: center; font-size: .9rem; padding: .7rem 1rem; }
.admin-preview-bar a { color: #fff; text-decoration: underline; }
.shop-cats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.shop-cat { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 1.5rem 1.6rem; transition: transform var(--hover), box-shadow var(--hover); }
.shop-cat:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.1); }
.shop-cat h3 { font-size: 1.15rem; margin-bottom: .25rem; color: var(--ink); }
.shop-cat p { font-size: .88rem; color: var(--ink-soft); margin-bottom: .4rem; }
.shop-cat-count { font-size: .78rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .04em; }
.shop-cat-arrow { width: 22px; height: 22px; stroke: var(--red); flex: 0 0 auto; transition: transform var(--hover); }
.shop-cat:hover .shop-cat-arrow { transform: translateX(4px); }
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.product { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform var(--hover), box-shadow var(--hover); }
.product:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.1); }
.product-img { aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img--ph { display: grid; place-items: center; color: #C9CDD3; }
.product-img--ph svg { width: 46px; height: 46px; }
.product-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1rem; margin-bottom: .35rem; }
.product-body p { font-size: .85rem; color: var(--ink-soft); flex: 1; }
.product-price { margin-top: .6rem; font-family: 'Poppins'; font-weight: 700; color: var(--red); font-size: 1.05rem; }
@media(max-width:1000px){.shop-cats{grid-template-columns:1fr 1fr}.products-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.shop-cats{grid-template-columns:1fr}.products-grid{grid-template-columns:1fr 1fr}}
@media(max-width:440px){.products-grid{grid-template-columns:1fr}}

/* ---------- Košík / produkt tlačítko ---------- */
.product-foot { margin-top: .7rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.add-form { margin: 0; }
.btn-cart { display: inline-flex; align-items: center; gap: .4rem; background: var(--red); color: #fff; border: none; font-family: 'Poppins'; font-weight: 600; font-size: .8rem; padding: .5rem .8rem; cursor: pointer; transition: background var(--hover); }
.btn-cart:hover { background: var(--red-dark); }
.btn-cart svg { width: 16px; height: 16px; }
.menu-cart { position: relative; display: inline-flex; align-items: center; padding: .55rem .8rem; }
.menu-cart svg { width: 20px; height: 20px; }
.cart-badge { position: absolute; top: -4px; right: -4px; background: #fff; color: var(--red); font-size: .68rem; font-weight: 800; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; }

.empty-cart { text-align: center; padding: 3rem 1rem; }
.empty-cart p { color: var(--ink-soft); margin-bottom: 1.5rem; font-size: 1.1rem; }
.cart-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.cart-items { border: 1px solid var(--line); background: #fff; }
.cart-row { display: grid; grid-template-columns: 64px 1fr 80px 90px 40px; gap: 1rem; align-items: center; padding: 1rem; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: none; }
.cart-thumb { width: 64px; height: 64px; background: var(--bg-alt); display: grid; place-items: center; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font-weight: 600; font-size: .95rem; }
.cart-unit { display: block; font-weight: 400; font-size: .8rem; color: var(--ink-soft); }
.cart-qty input { width: 60px; padding: .45rem; border: 1px solid var(--line); text-align: center; font-family: inherit; }
.cart-sum { font-weight: 700; font-family: 'Poppins'; text-align: right; }
.cart-del button { background: none; border: 1px solid var(--line); width: 32px; height: 32px; cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--ink-soft); }
.cart-del button:hover { border-color: var(--red); color: var(--red); }
.cart-summary { border: 1px solid var(--line); border-top: 4px solid var(--red); background: #fff; padding: 1.5rem; }
.cart-summary h3 { margin-bottom: 1rem; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.15rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.link-btn { background: none; border: none; color: var(--ink-soft); cursor: pointer; text-decoration: underline; font-size: .85rem; font-family: inherit; }
.link-btn:hover { color: var(--red); }

/* ---------- Objednávka ---------- */
.order-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.order-form h3 { font-size: 1.05rem; margin: 1.4rem 0 .8rem; }
.order-form h3:first-child { margin-top: 0; }
.order-form label.radio { display: flex; align-items: center; gap: .5rem; font-weight: 400; margin-bottom: .5rem; }
.order-form label.radio input { width: auto; margin: 0; }
.order-form label.disabled-soon { color: var(--ink-soft); }
.order-form .soon { font-size: .8rem; color: var(--red); }
.order-summary { border: 1px solid var(--line); border-top: 4px solid var(--red); background: #fff; padding: 1.5rem; }
.order-summary h3 { margin-bottom: 1rem; }
.order-line { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .4rem 0; border-bottom: 1px solid var(--line); }
.order-total { display: flex; justify-content: space-between; padding-top: .8rem; margin-top: .4rem; font-size: 1.15rem; }
.order-done { text-align: center; padding: 3rem 1rem; }
.order-done svg { width: 64px; height: 64px; stroke: var(--red); margin-bottom: 1rem; }
.order-done h2 { margin-bottom: .8rem; }
.order-done p { color: var(--ink-soft); margin-bottom: 1.5rem; }
.err-msg { background: #FDE8E8; color: #C81E1E; padding: .9rem 1.1rem; border-left: 4px solid #C81E1E; margin-bottom: 1.5rem; font-weight: 600; }

@media(max-width:760px){.cart-wrap,.order-wrap{grid-template-columns:1fr}.cart-row{grid-template-columns:50px 1fr 60px;grid-row-gap:.5rem}.cart-sum,.cart-del{grid-column:span 3;text-align:left}}
.portals { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.5rem; justify-content: center; }
.portals span { font-size: .82rem; font-weight: 600; color: var(--ink-soft); border: 1px solid var(--line); padding: .45rem .8rem; background: #fff; }

/* ---------- Hours table ---------- */
.hours-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); align-items: start; }
table.hours { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: .92rem; }
table.hours th, table.hours td { padding: .8rem 1rem; text-align: center; border: 1px solid var(--line); }
table.hours thead th { background: var(--ink); color: #fff; font-family: 'Poppins'; font-weight: 600; font-size: .8rem; }
table.hours tbody th { background: var(--bg-alt); font-family: 'Poppins'; text-align: left; }
table.hours tbody tr:hover td { background: var(--red-soft); }
table.hours .closed { color: var(--ink-soft); }
.hours-note { background: var(--red); color: #fff; padding: 1.8rem; }
.hours-note h3 { margin-bottom: .7rem; }
.hours-note p { opacity: .95; font-size: .95rem; margin-bottom: 1.2rem; }

/* ---------- Shop CTA ---------- */
.shop-cta { background: var(--ink); color: #fff; text-align: center; padding: clamp(3rem,7vw,5rem) 0; }
.shop-cta h2 { font-size: clamp(1.8rem,4vw,2.6rem); margin-bottom: 1rem; }
.shop-cta p { max-width: 56ch; margin: 0 auto 2rem; opacity: .82; }
.shop-tags { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.2rem; }
.shop-tags span { border: 1px solid rgba(255,255,255,.25); padding: .45rem .9rem; font-size: .85rem; }

/* ---------- Shop "připravujeme" badge ---------- */
.soon-badge { display: inline-block; font-family: 'Poppins'; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; border: 2px solid var(--red); background: var(--red); padding: .4rem .9rem; margin-bottom: 1.4rem; }

/* ---------- Rozcestník (dlaždice s hover fotkou) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.tile { position: relative; overflow: hidden; min-height: 200px; border: 1px solid var(--line); background: var(--red); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem; cursor: pointer; }
.tile .tile-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity .55s var(--ease), transform 1.2s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,110,67,.15) 0%, rgba(12,110,67,.88) 100%); opacity: 0; transition: opacity .55s var(--ease); }
.tile:hover .tile-bg, .tile:focus-within .tile-bg { opacity: 1; transform: scale(1); }
.tile:hover::after, .tile:focus-within::after { opacity: 1; }
.tile .tile-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: .8rem; }
.tile .tile-ico { width: 30px; height: 30px; stroke: #fff; flex: 0 0 auto; transition: transform .55s var(--ease); }
.tile:hover .tile-ico { transform: translateY(-2px); }
.tile h3 { font-size: 1.15rem; color: #fff; }
.tile, .tile:hover, .tile:focus, .tile h3, .tile .tile-inner { color: #fff !important; }
.tile .tile-arrow { position: absolute; top: 1.2rem; right: 1.2rem; z-index: 1; width: 20px; height: 20px; stroke: #fff; opacity: .7; transition: transform .4s var(--ease), opacity .4s var(--ease); }
.tile:hover .tile-arrow { transform: translate(3px,-3px); opacity: 1; }

/* ---------- Plánek města ---------- */
.planek { border: 6px solid #fff; box-shadow: 0 20px 50px rgba(0,0,0,.12); background: #fff; }
.planek img { width: 100%; display: block; }
.planek figcaption { padding: 1rem 1.2rem; font-size: .9rem; color: var(--ink-soft); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; justify-content: center; text-align: center; }
.pin { display: inline-block; width: 12px; height: 12px; vertical-align: middle; }
.pin-red { background: var(--red); }
.pin-green { background: #1F9D4E; }

/* ---------- Mapa ---------- */
.map-wrap { border: 6px solid #fff; box-shadow: 0 20px 50px rgba(0,0,0,.12); line-height: 0; }
.map-wrap iframe { width: 100%; height: 460px; border: 0; display: block; filter: grayscale(.15); }

/* ---------- Footer ---------- */
.footer { background: #0E0F12; color: #B7BBC2; padding: 3.5rem 0 1.5rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.footer a { color: #B7BBC2; }
.footer a:hover { color: #fff; }
.footer li { margin-bottom: .6rem; }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer .brand small { color: #8A8F98; }
.footer .contact-line { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; }
.footer .contact-line .ico { width: 18px; height: 18px; stroke: var(--red); flex: 0 0 auto; margin-top: .15rem; }
.footer-bottom { border-top: 1px solid #23252B; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: #80858E; }

/* ---------- Podstránky: page hero + breadcrumb ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; background: linear-gradient(105deg, var(--red) 0%, var(--red-dark) 100%); padding: clamp(2.5rem,6vw,4rem) 0 clamp(2.5rem,6vw,3.5rem); }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: url('../assets/images/hero-mesto.jpg'); background-size: cover; background-position: center; opacity: .18; mix-blend-mode: luminosity; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .6rem; }
.page-hero p { max-width: 56ch; opacity: .95; font-size: 1.08rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; margin-bottom: 1.4rem; font-weight: 600; }
.breadcrumb a { color: #fff; opacity: .85; }
.breadcrumb a:hover { color: #fff; opacity: 1; }
.breadcrumb span { opacity: .6; }
.breadcrumb b { font-weight: 600; opacity: 1; }

/* ---------- Detail stránka (článek/akce) ---------- */
.detail-hero .detail-date { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; opacity: .92; margin-bottom: .6rem; }
.detail-hero .detail-date .ico { width: 17px; height: 17px; }
.detail-hero h1 { max-width: 24ch; }
.event { cursor: pointer; }

/* ---------- Article / text page ---------- */
.article { max-width: 820px; }
.article h2 { font-size: clamp(1.4rem,3vw,1.9rem); margin: 2.2rem 0 .9rem; }
.article h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.article p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.article ul.bullets { margin: 1rem 0 1.4rem; }
.article ul.bullets li { position: relative; padding: .4rem 0 .4rem 1.7rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.article ul.bullets li::before { content: ''; position: absolute; left: 0; top: .9rem; width: 8px; height: 8px; background: var(--red); }
.info-card { background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 1.6rem; margin: 1.6rem 0; }
.info-card h3 { margin-top: 0; }
.info-card p { margin-bottom: .4rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }

/* ---------- Aktuality list (podstránka) ---------- */
.news-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }

/* ---------- Events list full (podstránka) ---------- */
.events-grid.full { grid-template-columns: repeat(5,1fr); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { height: 320px; box-shadow: 16px 16px 0 rgba(0,0,0,.18); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: repeat(3,1fr); }
  .tours, .hours-wrap, .footer-grid, .two-col { grid-template-columns: 1fr; }
  .footer-grid { gap: 2rem; }
  .tours-media img:first-child { margin-top: 0; }
  .events-grid.full { grid-template-columns: repeat(3,1fr); }
  .tiles { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .menu { position: fixed; inset: 72px 0 auto 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem; gap: .25rem; transform: translateY(-130%); transition: transform .3s ease; box-shadow: 0 20px 40px rgba(0,0,0,.1); }
  .menu.open { transform: translateY(0); }
  .menu a { width: 100%; padding: .9rem 1rem; }
  .burger { display: grid; }
  .quickstrip .container { grid-template-columns: 1fr; }
  .quickstrip .qi { border-left: none; border-top: 1px solid rgba(255,255,255,.12); }
  .quickstrip .qi:first-child { border-top: none; }
  .news-grid, .services-grid, .events-grid, .news-list, .events-grid.full { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .services-list { columns: 1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
  body { font-size: 16px; }
  .news-grid, .services-grid, .events-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .hero-actions { width: 100%; }
  .hero-actions .btn { justify-content: center; }
}

/* ---------- Prohlídky: festival box, tour karty, ceník ---------- */
.festival-box { background: var(--red-soft); border: 1px solid var(--red); border-left: 5px solid var(--red); padding: 1.8rem 2rem; }
.festival-badge { display: inline-block; background: var(--red); color: #fff; font-family: 'Poppins'; font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .8rem; margin-bottom: .9rem; }
.festival-box h2 { font-size: clamp(1.4rem,3vw,2rem); margin-bottom: .8rem; }
.festival-box p { color: var(--ink); margin-bottom: .8rem; }
.tour-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 1.8rem; margin-bottom: 1.5rem; }
.tour-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.tour-card p { color: var(--ink-soft); margin-bottom: .8rem; }
.tour-meta { font-size: .88rem; color: var(--red-dark); font-weight: 600; }
.price-table { width: 100%; max-width: 480px; margin-top: 1rem; }
.price-table th { background: var(--bg-alt); text-align: left; }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.link-360 { display: inline-block; margin-top: .4rem; font-weight: 600; }

/* ---------- Footer sociální odkazy ---------- */
.footer-social { display: flex; gap: .8rem; margin-top: 1rem; }
.footer-social a { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid #2a2d34; padding: .45rem .8rem; font-size: .82rem; font-weight: 600; color: #B7BBC2; }
.footer-social a:hover { border-color: var(--red); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- Fotogalerie ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.gallery-item { border: 6px solid #fff; box-shadow: 0 16px 40px rgba(0,0,0,.12); background: #fff; overflow: hidden; }
.gallery-item img { width: 100%; height: 320px; object-fit: cover; display: block; }
.gallery-item figcaption { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .9rem 1.1rem; font-weight: 600; }
.gallery-360 { font-size: .85rem; font-weight: 700; }
@media(max-width:680px){.gallery{grid-template-columns:1fr}.gallery-item img{height:240px}}

/* ---------- 360° prohlídka ---------- */
.pano-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.pano-tab { border: 1px solid var(--line); background: #fff; padding: .6rem 1.1rem; font-weight: 600; font-size: .9rem; color: var(--ink); transition: border-color var(--hover), color var(--hover), background var(--hover); }
.pano-tab:hover { border-color: var(--red); color: var(--red); }
.pano-tab.on { background: var(--red); color: #fff; border-color: var(--red); }
.pano-viewer { width: 100%; height: 560px; border: 6px solid #fff; box-shadow: 0 16px 40px rgba(0,0,0,.12); background: #16181D; }
@media(max-width:680px){.pano-viewer{height:380px}}

/* === Sophistico credit (animovaný footer odkaz) === */
.sophistico-credit, .sophistico-credit:hover, .sophistico-credit:visited, .sophistico-credit:active { font-size: 11px; color: currentColor; opacity: .85; letter-spacing: 2px; text-transform: lowercase; text-decoration: none; display: inline-block; cursor: pointer; }
.sophistico-credit .letter { font-family: 'Orbitron', sans-serif; font-weight: 700; text-transform: uppercase; display: inline-block; margin-right: 4px; transition: margin-right .4s cubic-bezier(0.25,0.46,0.45,0.94), filter .4s ease; }
.sophistico-credit:hover .letter { margin-right: 6px; filter: drop-shadow(0 0 12px rgba(255,255,255,0.9)) drop-shadow(0 0 25px rgba(255,255,255,0.5)); }
.sophistico-credit .letter:nth-child(1){transition-delay:0s}.sophistico-credit .letter:nth-child(2){transition-delay:.03s}.sophistico-credit .letter:nth-child(3){transition-delay:.06s}.sophistico-credit .letter:nth-child(4){transition-delay:.09s}.sophistico-credit .letter:nth-child(5){transition-delay:.12s}.sophistico-credit .letter:nth-child(6){transition-delay:.15s}.sophistico-credit .letter:nth-child(7){transition-delay:.18s}.sophistico-credit .letter:nth-child(8){transition-delay:.21s}.sophistico-credit .letter:nth-child(9){transition-delay:.24s}.sophistico-credit .letter:nth-child(10){transition-delay:.27s}
