/* ==========================================================================
   Agroracio – štýly webu
   Obsah: písma · premenné · základ · hlavička · komponenty · stránky · Maxi garden · pätička
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --green: #14713a;        /* text, tlačidlá */
  --green-bright: #4eab62; /* zelená z loga */
  --green-soft: #e4f0e2;
  --forest: #0b2e21;
  --forest-2: #134231;
  --yellow: #ffd83d;
  --paper: #fbfaf5;
  --cream: #f3f0e4;
  --card: #ffffff;
  --ink: #14211a;
  --muted: #56645b;
  --line: #e1ddce;

  --mg-bg: #e0ecbc;
  --mg-paper: #f2f6e2;
  --mg-dark: #094f43;
  --mg-lime: #c4dd7f;

  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mg: "Montserrat", "Archivo", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(20, 33, 26, .05), 0 12px 32px -12px rgba(20, 33, 26, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--forest); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section-tight { padding-top: clamp(24px, 3vw, 40px); }
.section-alt { background: var(--cream); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head .eyebrow { margin-bottom: 10px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.actions-center { justify-content: center; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- tlačidlá a odkazy ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 2px solid transparent; border-radius: 999px; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn svg, .more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.btn:hover svg, a:hover > .more svg, .more:hover svg { transform: translateX(3px); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #0f5a2e; }
.btn-ghost { border-color: color-mix(in srgb, currentColor 28%, transparent); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: currentColor; }
.btn-yellow { background: var(--yellow); color: var(--forest); }
.btn-yellow:hover { background: #ffe26b; }
.btn-mg { background: var(--mg-dark); color: #fff; }
.btn-mg:hover { background: #063a31; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--green); text-decoration: none; background: none; border: 0; padding: 0; }
.more:hover { text-decoration: underline; }
.chip { display: inline-block; padding: 5px 11px; border-radius: 8px; background: var(--green-soft); color: #0f4f29; font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 33, 26, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { width: auto; height: 34px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; align-items: center; gap: 26px; }
.site-nav ul a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--ink); font-weight: 550; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--green-bright); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { transform: scaleX(1); }
.nav-new { padding: 2px 7px; border-radius: 999px; background: var(--mg-bg); color: var(--mg-dark); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, background-color .2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 32px -24px rgba(20, 33, 26, .4); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a { display: flex; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .site-nav ul a[aria-current] { color: var(--green); }
}

/* ---------- úvod: hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 { font-stretch: 118%; }
.hero-copy .lead { margin-top: 22px; }
.hero-visual { position: relative; }
.hero-photo { border-radius: 32px; overflow: hidden; aspect-ratio: 1 / 1.02; background: var(--green-soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-packs { position: absolute; left: 4%; right: 4%; bottom: -5%; height: 62%; display: flex; align-items: flex-end; justify-content: center; filter: drop-shadow(0 22px 22px rgba(11, 46, 33, .35)); }
.hero-packs .pack { width: auto; max-width: none; }
.pack-1 { height: 88%; transform: rotate(-5deg); margin-right: -9%; }
.pack-2 { height: 92%; position: relative; z-index: 2; }
.pack-3 { height: 82%; transform: rotate(6deg); margin-left: -9%; }
.hero-badge { position: absolute; top: 22px; right: 22px; display: grid; place-content: center; width: 104px; height: 104px; border-radius: 50%; background: var(--yellow); color: var(--forest); text-align: center; font-size: .78rem; font-weight: 700; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; transform: rotate(8deg); box-shadow: var(--shadow); }
.hero-badge span { display: block; }

/* ---------- úvod: tri smery ---------- */
.segments { padding-top: 0; }
.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.segment { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.segment:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.segment-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.segment-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.segment:hover .segment-photo img { transform: scale(1.04); }
.segment-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; flex: 1; }
.segment-body h2 { font-size: 1.45rem; }
.segment-body p { color: var(--muted); }
.segment-body .more { margin-top: auto; padding-top: 8px; }

/* ---------- úvod: prečo + čísla ---------- */
.why { background: var(--forest); color: #eef4ec; }
.why .eyebrow { color: var(--yellow); }
.why .lead { color: #b9cbbf; margin-top: 18px; }
.why .btn { margin-top: 30px; }
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.why-list { counter-reset: why; display: grid; gap: 0; }
.why-list li { counter-increment: why; display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; row-gap: 8px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.why-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.why-list li::before { content: "0" counter(why); grid-row: span 2; font-weight: 800; font-stretch: 118%; font-size: 1.1rem; color: var(--green-bright); padding-top: 3px; }
.why-list h3 { font-size: 1.3rem; }
.why-list p { color: #b9cbbf; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: clamp(40px, 6vw, 72px) 0 0; }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 22px 24px; border-radius: var(--radius-sm); background: var(--forest-2); }
.stats dt { font-size: .9rem; color: #b9cbbf; }
.stats dd { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; font-stretch: 112%; line-height: 1.1; color: #fff; white-space: nowrap; }
.stats-light { grid-template-columns: repeat(2, 1fr); margin-top: 24px; gap: 14px; }
.stats-light div { background: var(--cream); }
.stats-light dt { color: var(--muted); }
.stats-light dd { color: var(--forest); font-size: 1.5rem; }

/* ---------- karty produktov ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pgrid-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pcard-img { aspect-ratio: 1 / 1; padding: 26px; overflow: hidden; background: linear-gradient(180deg, #eef3e6, #e3ecd9); }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(20, 33, 26, .22)); transition: transform .3s; }
.pcard:hover .pcard-img img { transform: scale(1.04) rotate(-1.5deg); }
.pcard-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.pcard-cat { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pcard-body h3 { font-size: 1.15rem; line-height: 1.2; }
.pcard-body p { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.pcard-body .chip { margin-top: auto; }
.pcard--mg .pcard-img { background: color-mix(in srgb, var(--tint, var(--mg-bg)) 42%, #fff); padding: 18px; }
.pcard--mg .pcard-cat { color: var(--mg-dark); }
.pcard--mg .pcard-body h3 { font-family: var(--font-mg); font-stretch: normal; font-weight: 700; letter-spacing: -.01em; }
.pcard--mg .chip { background: var(--mg-paper); color: var(--mg-dark); }

/* ---------- úvod: pás Maxi garden ---------- */
.mg-band-section { padding-block: 0; }
.mg-band { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px; padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--mg-bg); color: var(--mg-dark); text-decoration: none; overflow: hidden; font-family: var(--font-mg); }
.mg-band::before { content: ""; position: absolute; right: -8%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--mg-lime); opacity: .55; }
.mg-band > * { position: relative; }
.mg-band-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.mg-band-logo { width: min(280px, 70%); margin: 18px 0 22px; color: var(--mg-dark); }
.mg-band h2 { font-family: var(--font-mg); font-stretch: normal; font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: .02em; text-transform: uppercase; }
.mg-band p:not(.mg-band-eyebrow) { margin-top: 14px; max-width: 46ch; font-weight: 500; }
.mg-band .btn { margin-top: 26px; font-family: var(--font-mg); }
.mg-band-packs { display: flex; align-items: flex-end; justify-content: center; filter: drop-shadow(0 20px 20px rgba(9, 79, 67, .25)); }
.mg-band-packs img { width: 38%; transition: transform .3s; }
.mg-band-packs img:nth-child(1) { transform: rotate(-7deg) translateY(4%); margin-right: -10%; width: 30%; }
.mg-band-packs img:nth-child(2) { position: relative; z-index: 2; }
.mg-band-packs img:nth-child(3) { transform: rotate(7deg) translateY(3%); margin-left: -10%; }
.mg-band:hover .mg-band-packs img:nth-child(2) { transform: translateY(-6px); }

/* ---------- úvod: výzvy ---------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.cta-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta-card p:not(.eyebrow) { color: var(--muted); }
.cta-card .btn { margin-top: auto; }
.cta-card .eyebrow { margin-bottom: 0; }
.cta-contact { background: var(--green-soft); border-color: transparent; }

/* ---------- hlavička podstránky ---------- */
.page-head { padding-block: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 36px); }
.page-head .lead { margin-top: 18px; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-head-grid h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.page-head-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; }
.page-head-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- produkty: filtre ---------- */
.filters { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 550; font-size: .95rem; text-decoration: none; transition: border-color .15s, background-color .15s; }
.chip-link:hover { border-color: var(--green-bright); }
.chip-link[aria-current] { background: var(--forest); border-color: var(--forest); color: #fff; }
.brand-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream); }
.brand-switch a { padding: 7px 14px; border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.brand-switch a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 33, 26, .15); }

/* ---------- detail produktu ---------- */
.product { padding-block: 20px clamp(48px, 6vw, 80px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 26px; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs a::after { content: "/"; margin-left: 10px; opacity: .5; }
.crumbs span { color: var(--ink); font-weight: 550; }
.product-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.product-media { position: sticky; top: 100px; }
.product-stage { aspect-ratio: 1 / 1; padding: clamp(24px, 5vw, 56px); border-radius: 32px; background: linear-gradient(180deg, #eef3e6, #dfe9d3); }
.theme-mg .product-stage { background: color-mix(in srgb, var(--tint, var(--mg-bg)) 42%, #fff); }
.product-stage img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 24px rgba(20, 33, 26, .28)); }
.product-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-thumbs button { width: 76px; height: 76px; padding: 8px; border: 2px solid var(--line); border-radius: 14px; background: #fff; display: grid; place-items: center; }
.product-thumbs button[aria-pressed="true"] { border-color: var(--green); }
.product-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.product-info .lead { margin-top: 14px; color: var(--ink); font-weight: 500; }
.product-brand-mg { width: 150px; margin-bottom: 18px; color: var(--mg-dark); }
.ticks { display: grid; gap: 12px; margin-top: 26px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2314713a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.500 10.400l3 3 6-6.500'/%3E%3C/svg%3E") center / 20px no-repeat; }
.specs { margin: 30px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .92rem; }
.specs dd { margin: 0; }
.crop-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.crop-row li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 78px; text-align: center; font-size: .72rem; font-weight: 600; line-height: 1.2; color: var(--mg-dark); }
.crop-row svg { width: 62px; height: 62px; color: var(--mg-dark); }
.nutrients { margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.nutrients h2 { font-size: 1.4rem; margin-bottom: 18px; }
.nutrients table { width: 100%; border-collapse: collapse; }
.nutrients th, .nutrients td { padding: 12px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.nutrients th { width: 220px; font-weight: 500; }
.nutrient-bar { padding-inline: 20px !important; }
.nutrient-bar span { display: block; height: 10px; min-width: 6px; border-radius: 999px; background: var(--green-bright); }
.nutrient-value { width: 130px; text-align: right !important; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- obsahové stránky ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose h2 { margin-bottom: 20px; }
.prose p { margin-bottom: 1.1em; max-width: 68ch; }
.photo-card { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.photo-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.photo-card figcaption { padding: 14px 18px; font-size: .92rem; color: var(--muted); }
.benefits { counter-reset: b; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.benefits li { counter-increment: b; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 24px 26px; border-radius: var(--radius); background: var(--card); }
.benefits li::before { content: "0" counter(b); font-weight: 800; font-stretch: 118%; font-size: 1.3rem; color: var(--green-bright); line-height: 1.3; }
.usage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.usage { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.usage h3 { margin-bottom: 10px; }
.usage p { color: var(--muted); }
.delivery { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; margin-top: 24px; border-radius: var(--radius); overflow: hidden; background: var(--forest); color: #eef4ec; }
.delivery img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.delivery > div { display: grid; gap: 12px; padding: clamp(24px, 4vw, 44px); }
.delivery .more { color: var(--yellow); }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.gallery img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); }

/* ---------- dokumenty ---------- */
.docs { display: grid; gap: 40px; max-width: 900px; }
.doc-group h2 { font-size: 1.3rem; margin-bottom: 14px; }
.doc-group ul { display: grid; gap: 10px; }
.doc-group a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.doc-group a:hover { border-color: var(--green-bright); box-shadow: var(--shadow); }
.doc-type { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.doc-text { display: grid; }
.doc-text small { color: var(--muted); font-size: .9rem; }
.doc-size { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.eu-note img { border-radius: 6px; }

/* ---------- kontakt ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.people li { display: flex; flex-direction: column; gap: 4px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.people-role { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.people h2 { font-size: 1.15rem; margin-bottom: 8px; }
.people a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.people a:hover { color: var(--green); text-decoration: underline; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-form { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--card); }
.contact-form h2, .contact-side h2 { font-size: 1.5rem; margin-bottom: 22px; }
.contact-form form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; font-size: .92rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-weight: 400; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field textarea { resize: vertical; min-height: 140px; }
.field-error { color: #b3261e; font-size: .88rem; font-weight: 500; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; }
.contact-form .btn { justify-self: start; }
.notice { padding: 16px 18px; border-radius: 12px; margin-bottom: 18px; }
.notice strong { display: block; }
.notice-ok { background: var(--green-soft); color: #0f4f29; }
.notice-err { background: #fbe9e7; color: #8c1d18; }
.contact-side { display: grid; gap: 16px; }
.contact-side h2 { margin-bottom: 0; }
.contact-side a { color: var(--ink); }
.contact-side .ids { color: var(--muted); font-size: .92rem; }
.map { display: grid; justify-items: start; gap: 12px; padding: 20px; border-radius: var(--radius-sm); border: 1px dashed var(--line); background: var(--card); }
.map iframe { width: 100%; height: 300px; border: 0; border-radius: 10px; }
.map.is-loaded { padding: 0; border: 0; background: none; }

/* ==========================================================================
   Maxi garden – vlastná vizuálna identita v rámci webu Agroracio
   ========================================================================== */
.theme-mg { background: var(--mg-paper); }
.theme-mg main { font-family: var(--font-mg); color: var(--mg-dark); --green: var(--mg-dark); --muted: #3f6b61; --line: #cfdcae; }
.theme-mg main h1, .theme-mg main h2, .theme-mg main h3 { font-family: var(--font-mg); font-stretch: normal; letter-spacing: -.01em; font-weight: 700; }
.theme-mg .eyebrow { color: var(--mg-dark); opacity: .75; }
.theme-mg .btn-ghost { color: var(--mg-dark); }
.theme-mg .section-alt { background: var(--mg-bg); }
.theme-mg .pcard { border-color: transparent; }
.theme-mg .chip { background: var(--mg-paper); color: var(--mg-dark); }
.theme-mg .nutrients { border-color: transparent; }
.theme-mg .nutrient-bar span { background: var(--mg-dark); }
.theme-mg .ticks li::before { background-color: var(--mg-bg); }
.theme-mg .site-header { background: rgba(255, 255, 255, .96); }

.mg-hero { position: relative; background: var(--mg-bg); overflow: hidden; }
.mg-hero::before { content: ""; position: absolute; right: -6%; top: -18%; width: min(52vw, 720px); aspect-ratio: 1; border-radius: 50%; background: var(--mg-lime); opacity: .5; }
.mg-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; padding-block: clamp(36px, 6vw, 80px) clamp(90px, 12vw, 160px); }
.mg-hero-logo { width: min(420px, 82%); color: var(--mg-dark); margin-bottom: clamp(24px, 4vw, 44px); }
.theme-mg main .mg-hero h1 { font-weight: 300; font-size: clamp(1.9rem, 4.4vw, 3.4rem); letter-spacing: .03em; text-transform: uppercase; line-height: 1.12; }
.mg-hero .lead { margin-top: 22px; font-weight: 500; color: var(--mg-dark); }
.mg-made { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mg-made svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mg-hero-packs { display: flex; justify-content: center; align-items: flex-end; filter: drop-shadow(0 24px 22px rgba(9, 79, 67, .28)); }
.mg-hero-packs img { width: 46%; }
.mg-pack-a { transform: rotate(-6deg); margin-right: -6%; position: relative; z-index: 2; }
.mg-pack-b { transform: rotate(7deg) translateY(8%); }
.mg-grass { position: absolute; left: 0; bottom: -2px; width: 100%; height: clamp(64px, 9vw, 130px); object-fit: cover; object-position: center top; z-index: 3; pointer-events: none; }

.mg-crops { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 18px 10px; }
.mg-crops button { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; padding: 0; border: 0; background: none; color: var(--mg-dark); font-family: var(--font-mg); }
.mg-crop-icon { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; transition: background-color .2s, color .2s, transform .2s; }
.mg-crop-icon svg { width: 100%; height: 100%; }
.mg-crops button:hover .mg-crop-icon { background: var(--mg-bg); transform: translateY(-3px); }
.mg-crops button[aria-pressed="true"] .mg-crop-icon { background: var(--mg-dark); color: #fff; }
.mg-crop-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.25; }

.mg-range { padding-top: 0; }
.mg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mg-card { display: grid; grid-template-columns: 42% 1fr; align-items: center; border-radius: 26px; background: color-mix(in srgb, var(--tint) 45%, #fff); color: var(--mg-dark); text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s, opacity .2s; }
.mg-card:hover { transform: translateY(-4px); box-shadow: 0 22px 36px -22px rgba(9, 79, 67, .6); }
.mg-card.is-dim { opacity: .28; }
.mg-card-img { padding: 20px 0 20px 18px; filter: drop-shadow(0 14px 12px rgba(9, 79, 67, .22)); }
.mg-card-img img { width: 100%; transition: transform .3s; }
.mg-card:hover .mg-card-img img { transform: rotate(-3deg) scale(1.03); }
.mg-card-body { display: grid; gap: 8px; padding: 22px 22px 22px 18px; }
.theme-mg main .mg-card h3 { font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.mg-card-claim { font-weight: 600; line-height: 1.35; }
.mg-card-for { font-size: .86rem; line-height: 1.4; opacity: .85; }
.mg-card-meta { display: grid; gap: 2px; margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(9, 79, 67, .22); font-size: .76rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.mg-about { background: var(--mg-bg); }
.mg-about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.mg-about-grid > div:first-child p:not(.eyebrow) { margin-top: 16px; max-width: 56ch; font-weight: 500; }
.mg-contact { position: relative; display: grid; gap: 12px; padding: 30px 30px 110px; border-radius: 26px; background: var(--mg-paper); overflow: hidden; }
.mg-contact h3 { font-size: .8rem !important; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.mg-contact a { color: var(--mg-dark); font-weight: 600; }
.mg-contact img { position: absolute; right: -20px; bottom: -44px; width: 230px; }

/* ---------- pätička ---------- */
.site-footer { padding-top: clamp(48px, 6vw, 72px); background: var(--forest); color: #c5d4ca; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #fff; text-decoration: none; font-weight: 600; }
.footer-social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.site-footer h2 { margin-bottom: 16px; font-size: .78rem; font-stretch: normal; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer address { margin-bottom: 14px; }
.site-footer a { color: #c5d4ca; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-ids { margin-top: 16px; font-size: .88rem; color: #93a89b; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 56px); padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: #93a89b; }
.footer-eu img { width: 150px; border-radius: 4px; }

/* ---------- responzivita ---------- */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .mg-grid { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .why-grid, .page-head-grid, .product-grid, .two-col, .contact-grid, .mg-hero-grid, .mg-about-grid, .mg-band, .delivery { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; margin-bottom: 28px; }
  .segment-grid, .usage-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pgrid, .pgrid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-grid, .benefits { grid-template-columns: 1fr; }
  .product-media { position: static; max-width: 520px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 200px; }
  .gallery img:first-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mg-band-packs { max-width: 420px; margin-inline: auto; }
  .mg-hero-packs { max-width: 440px; margin-inline: auto; }
  .nutrients th { width: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo img { height: 28px; }
  .header-inner { min-height: 66px; }
  .pgrid, .pgrid-3 { gap: 12px; }
  .pcard-img { padding: 16px; }
  .pcard-body { padding: 14px 14px 18px; }
  .pcard-body h3 { font-size: 1rem; }
  .pcard-body p { font-size: .88rem; }
  .chip { font-size: .74rem; }
  .mg-grid { grid-template-columns: 1fr; }
  .people, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .nutrient-bar { display: none; }
  .doc-group a { grid-template-columns: auto 1fr; }
  .doc-size { display: none; }
  .hero-badge { width: 84px; height: 84px; font-size: .64rem; top: 14px; right: 14px; }
  .mg-crop-icon { width: 76px; height: 76px; }
  .mg-crops { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .btn { padding: 13px 20px; }
}

/* ---------- lišta náhľadu dizajnu ---------- */
.design-preview { position: fixed; left: 50%; bottom: 16px; z-index: 90; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; margin: 0; padding: 10px 12px 10px 18px; border-radius: 999px; background: #14211a; color: #fff; font-family: var(--font); font-size: .9rem; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.design-preview a { padding: 6px 12px; border-radius: 999px; background: #fff; color: #14211a; font-weight: 650; text-decoration: none; }
