/* HOPE České Budějovice - styl webu */
:root {
  --y: #FFD41A;      /* výrazná žlutá */
  --y2: #FFF0B3;     /* ztlumená žlutá */
  --ink: #1F1A10;
  --ink2: #3D3628;
  --muted: #5E5643;
  --line: #D9D2BE;
  --dark-line: #4A4232;
  --dark-text: #DCD6C8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Figtree', system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
a { color: var(--ink); }
a:hover { color: #6B5300; }
img { max-width: 100%; }
h1, h2, h3, .display { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; letter-spacing: -0.02em; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.kicker { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: var(--y); }
.btn-y { background: var(--y); color: var(--ink); }
.btn-y:hover { color: var(--ink); filter: brightness(1.05); }
.ico { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--y); padding: 8px 12px; z-index: 10; }

/* hlavička */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; display: block; }
.brand span { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 0.02em; line-height: 1.1; }
.brand small { font-weight: 600; font-size: 17px; letter-spacing: 0; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; font-size: 15px; font-weight: 600; }
.menu a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.menu .btn { margin-left: 4px; }

/* úvod */
.hero { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero-text { flex: 1.2 1 520px; min-width: 0; background: var(--y); border-radius: 28px; padding: 56px; min-height: 540px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.hero-text .bird { position: absolute; top: 40px; right: 30px; width: 200px; height: auto; }
.hero-text .sub { font-size: 22px; font-weight: 600; }
.hero-text h1 { font-size: 150px; line-height: 0.88; letter-spacing: -0.04em; margin: 10px 0 14px; }
.hero-text .city { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 30px; }
.hero-text p { font-size: 20px; margin-top: 18px; max-width: 520px; }
.hero-photo { flex: 1 1 400px; min-width: 0; border-radius: 28px; overflow: hidden; min-height: 540px; position: relative; }
.hero-photo img, .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.facts { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 16px; }
.fact { flex: 1 1 260px; border: 2px solid var(--ink); border-radius: 22px; padding: 28px; }
.fact .display { font-size: 34px; line-height: 1.2; }

/* o nás + carousel */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 52px; padding-bottom: 52px; }
.about > div { flex: 1 1 440px; min-width: 0; }
.about h2 { font-size: 56px; margin-bottom: 20px; }
.about p { margin-bottom: 18px; color: var(--ink2); }
.highlight { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 26px; line-height: 1.3; color: var(--ink) !important; }
.highlight span { background: var(--y); padding: 0 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.carousel { flex: 1.1 1 480px !important; }
.slides { position: relative; border-radius: 24px; overflow: hidden; height: 520px; background: var(--y2); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.slides img.on { opacity: 1; }
.slides button { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.slides .prev { left: 14px; } .slides .next { right: 14px; }
.caro-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; }
.dots { display: flex; gap: 4px; }
.dots button { width: 28px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.dots span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); display: block; }
.dots button[aria-current="true"] span { background: var(--ink); }

/* akce */
.dark { background: var(--ink); color: #fff; }
.dark a { color: #fff; }
.events { padding-top: 44px; padding-bottom: 44px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.events h2 { font-size: 48px; color: var(--y); margin-bottom: 20px; }
.events-body { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; }
#akce-seznam { flex: 1 1 520px; min-width: 0; border-bottom: 1px solid var(--dark-line); }
.akce-radek { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 18px 0; border-top: 1px solid var(--dark-line); align-items: center; }
.akce-datum { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; color: var(--y); width: 150px; }
.akce-text { flex: 1 1 240px; }
.akce-nazev { font-weight: 700; font-size: 20px; }
.akce-kdy { color: var(--dark-text); font-size: 15px; }

/* knihy */
.section { padding-top: 52px; padding-bottom: 52px; }
.section-title { font-size: 56px; margin-bottom: 40px; }
.books { display: flex; flex-wrap: wrap; gap: 24px; }
.book { flex: 1 1 460px; min-width: 0; display: flex; flex-wrap: wrap; gap: 24px; border: 2px solid var(--ink); border-radius: 22px; padding: 28px; }
.book.sold { border-color: var(--line); }
.book .cover { position: relative; width: 170px; height: 224px; flex: none; }
.book .cover img { width: 170px; height: 224px; object-fit: cover; border-radius: 8px; display: block; }
.book.sold .cover img { opacity: 0.55; }
.badge { position: absolute; left: 10px; top: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.book > div:last-child { flex: 1 1 220px; min-width: 0; }
.book h3 { font-size: 24px; margin-bottom: 10px; }
.book p { font-size: 16px; color: var(--ink2); margin-bottom: 14px; }

.tiles { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 52px; }
.tile { flex: 1 1 300px; min-width: 0; text-decoration: none; background: var(--y2); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.tile.strong { background: var(--y); }
.tile .ico { width: 36px; height: 36px; }
.tile .display { font-size: 28px; line-height: 1.1; }
.tile div:last-child { font-size: 16px; }

/* kontakt */
.contact { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 24px; }
.contact-box { flex: 1.3 1 480px; min-width: 0; background: var(--y); border-radius: 28px; padding: 44px; }
.contact-box h2 { font-size: 44px; margin-bottom: 24px; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 18px 36px; font-size: 16px; }
.contact-grid > div { flex: 1 1 220px; }
.contact-grid b { display: block; }
.social { display: flex; gap: 8px; margin-top: 6px; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--y); display: inline-flex; align-items: center; justify-content: center; }
.social .ico { width: 22px; height: 22px; }
.support { margin-top: 28px; background: #fff; border-radius: 18px; padding: 24px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.support img { width: 120px; height: 120px; display: block; flex: none; }
.support > div { flex: 1 1 240px; }
.support .display { font-size: 22px; }
.support p { font-size: 15px; color: var(--ink2); }
.map { flex: 1 1 380px; min-width: 0; border-radius: 28px; min-height: 460px; border: 2px solid var(--ink); overflow: hidden; background: var(--y2); }
.map iframe { width: 100%; height: 100%; min-height: 456px; border: 0; display: block; }

/* články */
.articles { display: flex; flex-wrap: wrap; gap: 24px; }
.article-card { flex: 1 1 460px; min-width: 0; text-decoration: none; display: flex; flex-wrap: wrap; gap: 20px; border-top: 2px solid var(--ink); padding-top: 20px; }
.article-card img { width: 200px; height: 130px; object-fit: cover; border-radius: 14px; display: block; flex: none; }
.article-card > div { flex: 1 1 220px; min-width: 0; }
.article-card .display { font-size: 24px; line-height: 1.2; margin: 4px 0 8px; }
.article-card p { font-size: 16px; color: var(--ink2); }

footer { padding-top: 16px; padding-bottom: 20px; font-size: 14px; color: var(--muted); }

/* podstránky */
.back { font-weight: 600; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.prose { max-width: 760px; margin: 0 auto; padding: 36px 24px 16px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 34px; line-height: 1.15; margin: 0 0 14px; }
.prose p { margin: 0 0 18px; color: var(--ink2); }
.prose ul, .prose ol { color: var(--ink2); padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { margin: 0 0 18px; padding-left: 18px; border-left: 4px solid var(--y); color: var(--ink2); }
.page-hero { background: var(--y); border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.page-hero > div { flex: 1 1 420px; min-width: 0; }
.page-hero h1 { font-size: 72px; line-height: 0.98; letter-spacing: -0.03em; margin: 14px 0 18px; }
.page-hero p { font-size: 21px; max-width: 620px; }
.page-hero img { flex: 1 1 380px; min-width: 0; width: 100%; height: 300px; object-fit: cover; border-radius: 20px; display: block; }
.figs { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; }
.figs figure { flex: 1 1 380px; min-width: 0; margin: 0; }
.figs img { width: 100%; height: 380px; object-fit: cover; border-radius: 22px; display: block; }
.figs figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
.note-box { background: var(--y2); border-radius: 24px; padding: 32px; }

/* kniha + objednávka */
.book-detail { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 24px; padding-bottom: 36px; }
.book-detail .left { flex: 0 1 380px; min-width: 0; }
.book-detail .right { flex: 1 1 520px; min-width: 0; }
.cover-box { background: var(--y); border-radius: 28px; padding: 40px; display: flex; justify-content: center; }
.cover-box img { width: 100%; max-width: 300px; display: block; border-radius: 6px; box-shadow: 0 18px 40px rgba(31, 26, 16, .25); }
.specs { margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; font-size: 15px; }
.specs dt { color: var(--muted); } .specs dd { margin: 0; font-weight: 600; }
.book-detail h1 { font-size: 64px; line-height: 1; letter-spacing: -0.03em; margin: 10px 0 6px; }
.book-detail .right p, .book-detail .right ul { color: var(--ink2); margin: 0 0 16px; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 20px 0 28px; }
.price-row .display { font-size: 40px; }
.quotes { background: var(--y2); }
.quotes .row { padding-top: 32px; padding-bottom: 32px; gap: 24px; }
.quotes figure { flex: 1 1 340px; min-width: 0; margin: 0; background: #fff; border-radius: 22px; padding: 28px; }
.quotes blockquote { margin: 0 0 14px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.35; }
.quotes figcaption { font-size: 15px; color: var(--muted); }
.order { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 44px; padding-bottom: 44px; }
.order .intro { flex: 0 1 360px; min-width: 0; }
.order .intro h2 { font-size: 48px; line-height: 1.05; margin-bottom: 16px; }
.order .intro p { color: var(--ink2); margin-bottom: 12px; }
.order form, .order .result { flex: 1 1 560px; min-width: 0; border: 2px solid var(--ink); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; }
.qty button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 22px; font-weight: 700; cursor: pointer; }
.qty input { width: 48px; text-align: center; border: 0; font: inherit; font-weight: 800; font-size: 20px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
fieldset { border: 0; margin: 0; padding: 0; }
legend, .label { font-weight: 700; margin-bottom: 8px; padding: 0; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 2px solid #E4DECB; cursor: pointer; min-height: 48px; margin-bottom: 8px; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--y2); }
.opt input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.opt span:first-of-type { flex: 1; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.fields .wide { grid-column: span 2; }
.fields input, .fields textarea { border: 2px solid #CFC7B2; border-radius: 12px; padding: 12px 14px; min-height: 48px; font: inherit; font-weight: 400; color: var(--ink); }
.fields input:focus, .fields textarea:focus { outline: 2px solid var(--ink); border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sum { background: var(--y2); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .total { border-top: 2px solid var(--ink); padding-top: 10px; margin-top: 4px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; }
.submit { align-self: flex-start; font-size: 18px; border: 2px solid var(--ink); min-height: 52px; padding: 14px 28px; }
.privacy { font-size: 14px; color: var(--muted); margin-top: -10px; }
.errors { background: #FDE2DD; border: 2px solid #B3261E; border-radius: 14px; padding: 14px 18px; color: #7A1A14; }
.sold-band .row { padding-top: 36px; padding-bottom: 36px; gap: 40px; align-items: center; }

@media (max-width: 720px) {
  .hero-text, .page-hero, .contact-box { padding: 32px 24px; }
  .hero-text { min-height: 440px; }
  .hero-text h1 { font-size: 96px; }
  .hero-text .bird { width: 120px; top: 24px; right: 20px; }
  .hero-photo { min-height: 300px; }
  .about h2, .section-title, .book-detail h1, .page-hero h1 { font-size: 44px; }
  .slides { height: 380px; }
  .fields { grid-template-columns: 1fr; }
  .fields .wide { grid-column: auto; }
  .order form, .order .result { padding: 24px; }
}

.tile-img { width: 56px; height: 56px; object-fit: contain; display: block; }
.tile-photo { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; display: block; }
.akce-obr { width: 52px; height: 52px; object-fit: contain; border-radius: 6px; flex: none; align-self: center; display: block; }
.akce-cas { color: var(--y); font-weight: 700; }
.akce-nazev a { color: #fff; }
.akce-mapa { color: inherit; text-decoration: underline; text-decoration-color: var(--dark-line); text-underline-offset: 3px; }
.akce-mapa:hover { color: #fff; text-decoration-color: currentColor; }
