/* Farby a typografia */
:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --white: #fffdf7;
  --ink: #20291e;
  --forest: #243323;
  --forest-deep: #19241b;
  --accent: #e4ec99;
  --line: #dedfd2;
  --content: 76rem;
  --gutter: clamp(1.25rem, 4.4vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.6 "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--paper); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h2 { font-size: clamp(2.4rem, 5vw, 4.35rem); line-height: 1.02; letter-spacing: -.055em; }
section[id], #ponuka { scroll-margin-top: 6.25rem; }
a:focus-visible, button:focus-visible { outline: 3px solid #bb791b; outline-offset: 5px; }
.container { width: min(calc(100% - 2 * var(--gutter)), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; transform: translateY(-160%); z-index: 10; background: var(--white); padding: .75rem; }
.skip-link:focus { transform: none; }

/* Hlavička */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-size: 1.025rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.05; }
.brand strong { display: block; font-weight: 750; }
.brand-mark { width: 2.45rem; height: 2.45rem; position: relative; display: block; background: var(--forest); border-radius: 50%; }
.brand-mark::before { content: ""; position: absolute; width: 2px; height: 1.32rem; left: 1.18rem; top: .55rem; background: var(--accent); transform: rotate(27deg); }
.brand-mark::after { content: ""; position: absolute; width: .49rem; height: .75rem; left: 1.23rem; top: .48rem; border-radius: 90% 0 90% 0; background: var(--accent); box-shadow: -.51rem .48rem 0 -.045rem var(--accent); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 3.1vw, 2.6rem); }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 600; }
.nav a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.nav-contact { padding: .45rem 1.05rem; border: 1px solid #b7bfae; border-radius: .3rem; }
.menu-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #b7bfae; border-radius: .3rem; background: transparent; color: var(--ink); cursor: pointer; }
.menu-icon { display: grid; place-items: center; width: 1.15rem; height: 2px; background: currentColor; border-radius: 1px; }
.menu-icon::before, .menu-icon::after { content: ""; grid-area: 1 / 1; width: 100%; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s ease; }
.menu-icon::before { transform: translateY(-6px); }
.menu-icon::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }

/* Úvod */
.hero { min-height: clamp(32rem, 46vw, 43rem); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--forest); color: var(--white); }
.hero-content { padding: clamp(3.5rem, 6.2vw, 6rem) clamp(1.5rem, 3.6vw, 3rem) clamp(3.5rem, 6vw, 6rem) max(var(--gutter), calc((100vw - var(--content)) / 2)); align-self: center; }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .875rem; line-height: 1.35; font-weight: 700; color: #4d6241; }
.eyebrow span { display: inline-block; width: 1.25rem; height: 2px; flex: 0 0 auto; background: currentColor; }
.hero .eyebrow, .contact .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(3.6rem, 7vw, 7.3rem); line-height: .94; letter-spacing: -.075em; margin: 1.3rem 0 1.5rem; }
.hero h1 span { color: var(--accent); }
.hero-intro { color: #e2e9da; max-width: 27rem; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .75rem 1.12rem; border: 1px solid transparent; border-radius: .3rem; text-decoration: none; font-size: .9375rem; line-height: 1.35; font-weight: 700; min-height: 2.9rem; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.button-primary { background: var(--accent); color: var(--forest-deep); }
.button-primary:hover { background: #f3f8ba; }
.button-outline { border-color: #919c8e; color: var(--white); }
.button-outline:hover { background: #394c37; border-color: #cbd6c4; }
.hero-gallery { display: grid; min-width: 0; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .45rem; padding: .55rem .55rem .55rem 0; }
.hero-tile { position: relative; isolation: isolate; min-height: 10.7rem; display: flex; align-items: end; border-radius: .4rem; overflow: hidden; color: #fffdf7; text-decoration: none; }
.hero-tile-main { grid-row: span 2; }
.hero-tile img { position: absolute; inset: 0; z-index: -2; transition: transform .35s ease; }
.hero-tile-main img { object-position: 42% center; }
.hero-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(15 23 13 / .94), rgb(15 23 13 / .52) 34%, transparent 70%); }
.hero-tile-label { display: grid; gap: .2rem; padding: clamp(.9rem, 2vw, 1.6rem); line-height: 1.3; }
.hero-tile-label strong { font: 400 clamp(1.65rem, 3.25vw, 3.25rem)/1 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.hero-tile-label > span { font-size: .875rem; }
.hero-tile:is(:hover, :focus-visible) .hero-tile-label strong { text-decoration: underline; text-underline-offset: .17em; text-decoration-thickness: 1px; }
.hero-tile:is(:hover, :focus-visible) img { transform: scale(1.045); }

/* Kategórie krmív */
.product { background: #fff; border-bottom: 1px solid var(--line); }
.product-mix { background: var(--paper); }
.product-meal { background: var(--white); }
.product-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2rem, 7vw, 6.5rem); align-items: center; padding-block: clamp(3.4rem, 7vw, 6.25rem); }
.product-body { width: 100%; max-width: 28rem; }
.product-photo { position: relative; aspect-ratio: 1.55; overflow: hidden; border-radius: .45rem; }
.product-photo img { position: absolute; inset: 0; }
.grain-photo { background: linear-gradient(145deg, #b38853, #594422); }
.product-list { padding: 0; margin: 1.5rem 0 0; list-style: none; border-top: 1px solid #20291e33; }
.product-list li { padding-block: .7rem; border-bottom: 1px solid #20291e33; font-size: clamp(1rem, 1.5vw, 1.12rem); }

@media (min-width: 766px) {
  .product-mix .product-inner { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
  .product-mix .product-photo { grid-area: 1 / 1; }
  .product-mix .product-body { grid-area: 1 / 2; }
}

/* Odber a kontakt */
.order { background: var(--paper); }
.order-inner, .contact-inner { display: grid; grid-template-columns: 1fr minmax(0, .68fr); gap: clamp(1.25rem, 6vw, 5.75rem); align-items: center; padding-block: clamp(2.8rem, 6.5vw, 5.5rem); }
.order h2, .contact h2 { margin-top: .65rem; }
.order h2 { max-width: 35rem; }
.order p:not(.eyebrow), .contact p:not(.eyebrow) { max-width: 30rem; }
.order-checklist { margin: 1rem 0 0; padding: 0; list-style: none; }
.order-checklist li { border-top: 1px solid #20291e33; padding: .5rem 0; font-weight: 650; }
.button-dark { color: var(--white); background: var(--forest); margin-top: 1.15rem; }
.button-dark:hover { background: #394c37; }
.contact { background: var(--forest); color: var(--white); }
.contact p:not(.eyebrow) { color: #e2e9da; margin-top: 1rem; }
.contact-methods { border-top: 1px solid #596956; }
.contact-method { display: flex; justify-content: space-between; align-items: baseline; gap: .35rem 1rem; flex-wrap: wrap; padding-block: 1rem; border-bottom: 1px solid #596956; }
.contact-method > :first-child { color: var(--accent); font-weight: 650; }
.contact-method a { overflow-wrap: anywhere; text-underline-offset: .2rem; }
.site-footer { background: var(--forest-deep); color: #d9e0d5; }
.footer-inner { min-height: 4rem; padding-block: .8rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; font-size: .875rem; }
.footer-inner a { font-weight: 600; text-underline-offset: .2rem; }

.privacy { max-width: 48rem; min-height: 70vh; padding-block: clamp(2.75rem, 7vw, 6rem); }
.privacy h1 { font-size: clamp(2.7rem, 6.5vw, 4.5rem); line-height: 1.05; letter-spacing: -.05em; }
.privacy h2 { margin-top: 1.9rem; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; letter-spacing: -.03em; }
.privacy p { margin-top: .6rem; }
.privacy a { color: #3d5830; text-underline-offset: .2em; }

@media (max-width: 765px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 3.4rem var(--gutter) 2.45rem; }
  .hero h1 { font-size: clamp(3.6rem, 12vw, 6rem); }
  .hero-gallery { padding: 0 var(--gutter) var(--gutter); }
  .product-inner { grid-template-columns: 1fr; }
  .product-body { max-width: none; }
  .order-inner, .contact-inner { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; gap: .7rem; padding-block: .8rem; min-height: 4.5rem; }
  .nav { width: 100%; display: grid; gap: 0; }
  .nav a { display: flex; align-items: center; min-height: 2.75rem; padding: .5rem .9rem; }
  .nav a + a { border-top: 1px solid var(--line); }
  .nav .nav-contact { border-inline: 0; border-bottom: 0; border-radius: 0; }
  .menu-ready .nav { display: none; position: absolute; top: calc(100% + 1px); inset-inline: 0; padding-block: .25rem; border: 1px solid var(--line); border-radius: 0 0 .4rem .4rem; background: var(--white); box-shadow: 0 .6rem 1.5rem #19241b20; }
  .menu-ready .nav.is-open { display: grid; }
}
@media (max-width: 510px) {
  .hero-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .hero-tile-main { grid-row: auto; grid-column: 1 / -1; min-height: 12rem; }
  .hero-tile:not(.hero-tile-main) { min-height: 9rem; }
  .hero-tile-label { padding: .8rem; }
  .hero-tile-label strong { font-size: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .hero-tile img, .menu-icon::before, .menu-icon::after { transition: none; }
}
