/* Čokíno – směr A „Teplá čokoládovna“ */
:root {
  --ground: #F6EFE7;
  --surface: #FFFDF9;
  --ink: #3C2414;  /* hnědá z loga */
  --brand-orange: #F57615;  /* oranžová z loga */
  --muted: #6B5446;
  --accent: #A0461F;
  --accent-ink: #FFFFFF;
  --line: #E3D6C8;
  --photo: #E2CDB8;
  --photo-2: #D8BFA6;
  --dark: #3A2419;
  --dark-2: #4A3024;
  --dark-ink: #F6EFE7;
  --dark-muted: #D9C7B6;
  --caramel: #E7B98F;
  --callout: #E9DCCD;
  --radius: 24px;
  --radius-lg: 28px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(56px, 7vw, 96px);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.stack-xs, .stack-sm, .stack-md, .stack-lg { display: flex; flex-direction: column; }
.stack-xs { gap: 6px; }
.stack-sm { gap: 12px; }
.stack-md { gap: 20px; }
.stack-lg { gap: 32px; }
.stack-xs > *, .stack-sm > *, .stack-md > *, .stack-lg > * { margin-top: 0; margin-bottom: 0; }
.stack-xs > a { align-self: flex-start; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Typografie */
.h1, .h2, .h3, .logo, .path__title, .branch__name { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
.h1 { margin: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; }
.h1--xl { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; }
.h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.h3 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.lead { margin: 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); margin: 0; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.eyebrow--light { color: var(--caramel); }
.prose p { margin: 0 0 1em; font-size: 17px; max-width: 640px; }
.link-accent { color: var(--accent); font-weight: 600; text-decoration: none; padding: 10px 0; }
.link-accent:hover { text-decoration: underline; }

/* Tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 600 16px/1.2 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 15px 28px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #8A3B19; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--dark { background: var(--ink); color: var(--ground); }
.btn--light { background: var(--ground); color: var(--ink); }
.btn--outline-light { border-color: var(--dark-ink); color: var(--dark-ink); }
.btn--accent { background: var(--caramel); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hlavička */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; padding: 6px 0; }
.logo img { height: 48px; width: auto; }
.site-footer .logo img { height: 56px; }
.logo--light { color: var(--dark-ink); }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav a { text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.langs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.langs a { color: var(--muted); padding: 8px 2px; }
.langs [aria-current] { color: var(--ink); font-weight: 600; padding: 8px 2px; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg + svg { display: none; }
.menu-btn[aria-expanded="true"] svg { display: none; }
.menu-btn[aria-expanded="true"] svg + svg { display: block; }

@media (max-width: 960px) {
  .site-header__inner { min-height: 64px; }
  .logo img { height: 40px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; box-shadow: 0 16px 32px rgba(46, 28, 20, .08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .langs { padding-top: 12px; gap: 16px; font-size: 16px; }
}

/* Fotky a zástupná pole */
.photo { display: block; position: relative; background: var(--photo); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; padding: 16px; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.path--photo { position: relative; overflow: hidden; isolation: isolate; }
.path__bg { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.path--photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(58,36,25,.55) 0%, rgba(58,36,25,.92) 70%); }
.gallery__item { aspect-ratio: 4 / 3; height: auto; }
.photo__label { position: relative; background: var(--surface); color: var(--muted); font-size: 13px; padding: 6px 12px; border-radius: 999px; }

/* Úvod */
.hero { padding-block: clamp(32px, 6vw, 88px); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 56px); }
.hero__text { flex: 1 1 420px; min-width: 0; }
.hero__photo { flex: 1 1 420px; min-width: 0; height: auto; aspect-ratio: 1 / 1; max-height: 560px; }
.hero__photo img { object-position: 50% 48%; }
.hero__rating .stars { color: var(--accent); margin-right: 6px; }

/* Dvě cesty */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; padding-bottom: var(--section); }
.path { display: flex; flex-direction: column; gap: 12px; min-height: 220px; padding: 32px; border-radius: var(--radius); text-decoration: none; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform .2s; }
.path:hover { transform: translateY(-2px); }
.path--dark { background: var(--dark); color: var(--dark-ink); border-color: var(--dark); }
.path__title { font-size: clamp(26px, 3vw, 32px); line-height: 1.12; }
.path__text { color: var(--muted); }
.path--dark .path__text { color: var(--dark-muted); }
.path__link { margin-top: auto; font-weight: 600; }
.path__link--accent { color: var(--accent); }

/* Sekce */
.section { padding-block: var(--section); }
.section--first { padding-top: 0; }
.section--tight { padding-bottom: var(--section); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--dark { background: var(--dark); color: var(--dark-ink); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); }

/* Produkty */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, calc(50% - 10px)), 1fr)); gap: 24px 20px; }
@media (max-width: 480px) { .products { gap: 20px 12px; } .product__name { font-size: 15px; } .product__row { flex-wrap: wrap; gap: 0 8px; } }
.product { display: flex; flex-direction: column; gap: 10px; }
.product__img { aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: var(--photo); display: flex; align-items: flex-end; padding: 0; position: relative; }
.product__img.photo { padding: 14px; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__name { margin: 0; font: 600 17px/1.3 var(--body); }
.product__name a { text-decoration: none; }
.product__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product__price { color: var(--muted); }
.product__buy { color: var(--accent); font-weight: 600; text-decoration: none; padding: 10px 0; }

/* Příběh */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 64px); }
.split__photo { flex: 1 1 380px; min-width: 0; height: clamp(280px, 34vw, 460px); background: var(--photo-2); }
.split__text { flex: 1 1 420px; min-width: 0; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; padding-top: 8px; }
.value { border-top: 2px solid var(--accent); padding-top: 12px; display: flex; flex-direction: column; }
.value span { color: var(--muted); font-size: 15px; }

/* Pobočky */
.branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.branches--stack { grid-template-columns: 1fr; }
.branch { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.branch--dark { background: var(--dark-2); border-color: var(--dark-2); color: var(--dark-ink); }
.branch__name { margin: 0; font-size: 26px; }
.branch__photo { aspect-ratio: 16 / 9; height: auto; margin: -28px -28px 6px; border-radius: var(--radius) var(--radius) 0 0; padding: 0; }
.branch__sub { margin: -6px 0 0; color: var(--muted); font-size: 15px; }
.branch--dark .branch__sub { color: var(--caramel); }
.branch__review { color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; padding: 6px 0; align-self: flex-start; }
.branch--dark .branch__review { color: var(--caramel); }
.branch { overflow: hidden; }
.branch__addr, .branch__muted, .branch__today, .branch__rating { margin: 0; }
.branch__addr, .branch__muted { color: var(--muted); }
.branch--dark .branch__addr, .branch--dark .branch__muted { color: var(--dark-muted); }
.branch__rating { color: var(--accent); font-size: 15px; font-weight: 600; }
.branch--dark .branch__rating { color: var(--caramel); }
.branch__today { font-weight: 600; }
.branch__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hours { margin: 0; display: grid; gap: 4px; }
.hours__row { display: flex; justify-content: space-between; gap: 16px; max-width: 300px; }
.hours dt { color: var(--muted); }
.branch--dark .hours dt { color: var(--dark-muted); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }

/* Recenze */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.review p { margin: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review footer { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review footer img { width: 28px; height: 28px; border-radius: 50%; }
.review footer a { color: inherit; }
.stars { color: var(--accent); letter-spacing: 2px; }
.attrib { color: var(--muted); font-size: 13px; margin: 0; }

/* Pro firmy */
.callout { background: var(--callout); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.callout__text { flex: 1 1 420px; min-width: 0; }
.callout__text p:last-child { margin: 0; color: #5C4638; }
.offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.offer__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.offer__item p { margin: 12px 0 0; color: var(--muted); }

/* Instagram a galerie */
.insta { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .insta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
.insta__item { aspect-ratio: 1 / 1; border-radius: 14px; padding: 0; }
.insta a.insta__item { display: block; position: relative; overflow: hidden; background: var(--photo); }
.insta a.insta__item img { position: absolute; inset: 0; transition: transform .3s; }
.insta a.insta__item:hover img { transform: scale(1.04); }
.insta img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }

/* Kontakt a formuláře */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 40px; align-items: start; }
.contact__big { margin: 0; font-family: var(--display); font-size: clamp(24px, 3vw, 32px); font-weight: 600; }
.contact__big a { text-decoration: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; min-width: 0; }
.form > .field { flex: none; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea { font: inherit; color: var(--ink); background: #FFFFFF; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 48px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(160, 70, 31, .18); }
.form .btn { align-self: flex-start; }
.form__note { margin: 0; color: var(--muted); font-size: 14px; }
.form__status { margin: 0; font-weight: 600; }
.form__status.is-ok { color: #2F6B3A; }
.form__status.is-err { color: #A02A1F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Patička */
.site-footer { background: var(--ink); color: var(--dark-muted); padding-bottom: 88px; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-block: clamp(48px, 6vw, 72px) 32px; }
.site-footer__brand { flex: 1 1 320px; min-width: 0; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 48px; }
.site-footer__cols a { color: var(--dark-muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer__cols a:hover { color: var(--dark-ink); }
.site-footer strong { color: var(--dark-ink); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; border-top: 1px solid #4A3024; font-size: 14px; }
.site-footer__legal a { color: var(--dark-muted); }
.newsletter label { color: var(--dark-ink); font-weight: 600; display: block; margin-bottom: 10px; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter input[type="email"] { flex: 1 1 200px; min-width: 0; min-height: 48px; border-radius: 999px; border: 1px solid var(--muted); background: var(--dark); color: var(--dark-ink); padding: 0 18px; font: inherit; }
.newsletter input::placeholder { color: #B9A592; }

/* Rychlá lišta na mobilu */
.quickbar { position: fixed; inset: auto 0 0 0; z-index: 40; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 16px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13px; }
.quickbar__primary { background: var(--accent); color: var(--accent-ink) !important; }
@media (max-width: 760px) {
  .quickbar { display: grid; }
  .site-header__actions .btn { display: none; }
}
@media (min-width: 761px) { .site-footer { padding-bottom: 0; } }

/* Citát */
.split--top { align-items: flex-start; }
.story-quote { margin: 0; font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); font-style: italic; color: var(--accent); }
.quote { margin: 0; text-align: center; }
.quote blockquote { margin: 0 auto; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.15; max-width: 900px; }
.quote figcaption { margin-top: 14px; color: var(--muted); }
.prose.stack-md > p { margin: 0; }

/* Zakladatel */
.split__photo--portrait { aspect-ratio: 1 / 1; height: auto; max-width: 520px; }
.founder { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 72px); }
.founder__photo { flex: 0 1 380px; aspect-ratio: 1 / 1; height: auto; min-width: 0; width: 100%; }
.founder__text { flex: 1 1 380px; min-width: 0; }
.founder blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.12; }
.founder figcaption { margin-top: 16px; color: var(--muted); font-size: 17px; }
.site-footer__tagline { margin: 0; max-width: 340px; color: var(--dark-muted); }

/* Kategorie e-shopu */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.cat { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cat:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(60, 36, 20, .12); }
.cat__img { aspect-ratio: 4 / 3; height: auto; border-radius: 0; padding: 0; }
.cat__img--plain { display: flex; align-items: center; justify-content: center; padding: 18px; background: var(--dark); }
.cat__img--plain img { position: static; width: 58%; height: auto; object-fit: contain; opacity: .35; }
.cat__img--dubai { background: linear-gradient(135deg, #3A2419 0%, #5B3A22 55%, #8A9A3B 140%); }
.cat__img--tabulky { background: linear-gradient(135deg, #3A2419 0%, #6B3F24 100%); }
.cat__img--figurky { background: linear-gradient(135deg, #4A3024 0%, #A0461F 120%); }
.cat__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 22px; }
.cat__name { font: 600 19px/1.25 var(--body); }
.cat__text { color: var(--muted); font-size: 15px; }
.cat__arrow { position: absolute; right: 18px; bottom: 18px; color: var(--accent); font-weight: 600; }
.cats__other { margin: 0; color: var(--muted); }
@media (max-width: 560px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat__body { padding: 12px 12px 34px; }
  .cat__name { font-size: 16px; }
  .cat__text { font-size: 13px; }
  .cat__arrow { right: 12px; bottom: 10px; }
  .cat__img { aspect-ratio: 1 / 1; }
}
.gallery { grid-template-columns: repeat(auto-fill, minmax(min(260px, calc(50% - 8px)), 1fr)); }
.gallery__item { aspect-ratio: 4 / 5; }
.mail-cta p { margin: 0; max-width: 560px; }

/* Napsali o nás */
.press { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.press__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.press__item p { margin: 0; }
.press__meta { color: var(--muted); font-size: 15px; }
.press__item h2 a { text-decoration: none; }
.press__item h2 a:hover { color: var(--accent); }
.press__title { margin: 0; font: 600 19px/1.3 var(--body); }
.press__title a { text-decoration: none; }
.press__title a:hover { color: var(--accent); }
.press__item .link-accent { margin-top: auto; }
@media (min-width: 1100px) { .press { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.facts li { position: relative; padding-left: 26px; font-weight: 500; }
.facts li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-orange); }
