/* DESIGNSYS2-D1/D2 (7. 10. 2026) — „O nás", „Kontakt", 404 + (D2, koniec súboru) Inšpirácie, Na mieru, AI návrh, Pre partnerov (lib/info/render.ts, markup theme-overrides/sections/page-about,
 * page-contact, main-404). Načítava sa za tokens + chrome + components (lib/ui pageHead). Vzhľad = domov v2
 * (_mockup-interaktivny-domov-v2): tmavý úvod Ihličie + zrno, svetlé karty --surface, zelené ikony, tmavá kotva na konci.
 * Pravidlá ako components.css: len var(--…) z tokens.css, systémové písmo, ⛔ var(--mono), ⛔ verzálky, ⛔ :is() so zoznamom,
 * selektory na 1 riadku (critical-css). */

/* ── ikona v zelenom štvorci (hodnoty, kontaktné údaje) */
.gi-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-ctl); background: var(--leaf-mist); color: var(--leaf-deep); font-size: 22px; line-height: 1; }
.gi-ic svg { width: 24px; height: 24px; }

/* ── O nás: príbeh (fotka realizácie + text) */
.gi-story__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .gi-story__grid { grid-template-columns: 7fr 5fr; column-gap: 56px; } }
.gi-story__img { border-radius: var(--r-card); overflow: hidden; background: var(--mist); box-shadow: var(--sh-2); }
.gi-story__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.gi-story__txt { display: grid; gap: 16px; align-content: start; max-width: var(--measure); }
.gi-story__txt h2 { font-size: var(--fs-h2); letter-spacing: var(--track-head); }
.gi-story__txt p { margin: 0; color: var(--body); }

/* ── O nás: hodnoty (3 karty) */
.gi-values { padding-top: 0 !important; }
.gi-values .sec-head { margin-bottom: 24px; }
.gi-values__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .gi-values__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gi-value { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.gi-value .gi-ic { margin-bottom: 8px; }
.gi-value h3 { font-size: 20px; line-height: 1.22; letter-spacing: -.015em; }
.gi-value p { margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--body); }

/* ── Kontakt: údaje vľavo, formulár v karte vpravo */
.gi-contact__grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .gi-contact__grid { grid-template-columns: 5fr 7fr; column-gap: 56px; align-items: start; } }
.gi-contact__info { display: grid; gap: 24px; align-content: start; }
.gi-contact__info h2 { font-size: var(--fs-h2); letter-spacing: var(--track-head); }
.gi-details { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gi-detail { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.gi-detail__t { min-width: 0; }
.gi-detail h3 { font: 500 var(--fs-caption)/1.3 var(--font); letter-spacing: -.01em; color: var(--muted); }
.gi-detail p { margin: 2px 0 0; font-size: var(--fs-body); font-weight: 600; letter-spacing: -.015em; color: var(--ink); overflow-wrap: anywhere; }
.gi-detail a { color: var(--ink); text-decoration: none; }
.gi-detail a:hover { color: var(--leaf-deep); text-decoration: underline; }
.gi-hours { display: grid; gap: 4px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.gi-hours h3 { font-size: 17px; letter-spacing: -.01em; }
.gi-hours p { margin: 0; color: var(--body); font-variant-numeric: tabular-nums; }

.gi-form { gap: 8px; }
.gi-form h2 { font-size: var(--fs-h3); }
.gi-form .gg-contact__form-subtitle { color: var(--muted); font-size: var(--fs-small); margin-bottom: 8px; }
.gg-contact__form { position: relative; display: grid; gap: 16px; }
.gg-contact__form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .gg-contact__form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gi-form .field { display: grid; gap: 6px; min-width: 0; }
.gi-form .field label { font: 600 15px/1.3 var(--font); letter-spacing: -.01em; color: var(--ink); }
.gi-form .gg-required { color: var(--larch-ink); }
.gi-form .field input, .gi-form .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 var(--fs-body)/1.4 var(--font); letter-spacing: -.01em; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.gi-form .field textarea { min-height: 160px; resize: vertical; }
.gi-form .field input:focus, .gi-form .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px var(--leaf-mist); }
.gi-form button[type="submit"] { justify-self: start; gap: 10px; margin-top: 4px; cursor: pointer; }
.gi-form button[type="submit"] svg { transition: transform var(--t-fast) var(--ease-out); }
.gi-form button[type="submit"]:hover svg { transform: translateX(3px); }
@media (max-width: 559px) { .gi-form button[type="submit"] { justify-self: stretch; } }
.gi-form .form__message { margin: 0; font-weight: 600; color: var(--leaf-deep); }

/* ── súvisiace odkazy (snippet témy gg-related-links, jeho inline štýl je preč) */
.gi-links { padding-top: 0 !important; }
.gi .gg-related-links__title { margin: 0 0 20px; font-size: var(--fs-h3); letter-spacing: var(--track-head); color: var(--ink); }
.gi .gg-related-links__grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .gi .gg-related-links__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gi .gg-related-links__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.gi .gg-related-links__card { display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); color: var(--ink); text-decoration: none; transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast), border-color var(--t-fast); }
.gi .gg-related-links__card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--leaf); }
.gi .gg-related-links__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-ctl); background: var(--leaf-mist); color: var(--leaf-deep); }
.gi .gg-related-links__card--primary .gg-related-links__icon { background: var(--leaf); color: var(--paper); }
.gi .gg-related-links__icon svg { width: 22px; height: 22px; }
.gi .gg-related-links__text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.gi .gg-related-links__text strong { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.gi .gg-related-links__text span { font-size: var(--fs-caption); line-height: 1.4; color: var(--muted); }
.gi .gg-related-links__arrow { flex: none; font-size: 20px; color: var(--leaf); transition: transform var(--t-fast) var(--ease-out); }
.gi .gg-related-links__card:hover .gg-related-links__arrow { transform: translateX(4px); }

/* ── záver: tmavá kotva s výzvou do konfigurátora (karta ako záver FAQ) */
.gi-end { padding: 0 0 var(--section); }
.gi-cta { gap: 16px; }
.gi-cta .lead { max-width: 36em; }
.gi-cta .sp-ctas { margin-top: 4px; }
@media (min-width: 1000px) {
  .gi-cta { grid-template-columns: 7fr 5fr; column-gap: 56px; align-items: center; }
  .gi-cta h2, .gi-cta .lead { grid-column: 1; }
  .gi-cta .sp-ctas { grid-column: 2; grid-row: 1 / span 2; justify-self: end; margin-top: 0; }
}

/* ── 404: celý úvod tmavý, veľké „404", nadpis a cesta späť do obchodu */
.gi-404 { display: grid; align-content: center; min-height: min(100svh, 880px); padding: calc(var(--hdr-h) + var(--s-8)) 0 var(--s-9); }
/* .wrap je content-box s margin: auto — v gride by sa zúžila na obsah a vycentrovala; šírka = 100 % mínus okraje stránky */
.gi-404 > .wrap { width: calc(100% - 2 * var(--page-pad)); }
.gi-404__in { display: grid; gap: 20px; justify-items: start; }
.gi-404__code { margin: 0; font: var(--w-display) calc(var(--fs-display) * 2)/.9 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--sun); }
.gi-404__code--long { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--track-head); }
.gi-404 h1 { font-size: var(--fs-h1); line-height: var(--lh-display); letter-spacing: var(--track-display); font-weight: var(--w-display); max-width: var(--mw-h1-20); color: var(--on-dark); }
.gi-404 .sp-ctas { margin-top: 12px; }

/* ════ DESIGNSYS2-D2 (7. 10. 2026) — Inšpirácie, Na mieru, AI návrh záhrady, Pre partnerov (markup theme-overrides/sections/
 * page-references, gg-namieru-landing, page-garden-designer{,-hero}, gg-partner-downloads). Triedy gg-refg__*, gg-gal*, gg-lb*,
 * gg-gd-nlbar* ostávajú kvôli skriptom sekcií; štýl tu, len tokeny. */

/* ── spoločné: odkazy pod výzvou v úvode, poznámka o cenách, prednosti (čipy), kroky, tabuľka, poznámka pod tabuľkou */
.gi-top__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; font-size: var(--fs-small); }
.gi-top__links a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gi-editorial:empty { display: none; }
.gi-editorial .gg-editorial-note { margin: var(--s-5) 0 0; }
.gi-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gi-chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid rgb(244 241 234 / .22); background: rgb(244 241 234 / .06); color: var(--on-dark); font-size: var(--fs-small); font-weight: 500; }
.gi-chips__ok { color: var(--mint); font-weight: 700; }

.gi-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .gi-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1099px) { .gi-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gi-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gi-step { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.gi-step__n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 50%; background: var(--leaf); color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; }
.gi-step h3 { font-size: 20px; line-height: 1.22; letter-spacing: -.015em; }
.gi-step p { margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--body); }

.gi-prices { padding-top: 0 !important; }
.gi-table { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.gi-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); color: var(--ink); font-variant-numeric: tabular-nums; }
.gi-table th, .gi-table td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.gi-table thead th { font-weight: 600; color: var(--muted); background: var(--paper-2); }
.gi-table tbody tr:last-child td { border-bottom: 0; }
.gi-table td[rowspan] { border-right: 1px solid var(--line); font-weight: 600; }
.gi-table a { color: var(--leaf-deep); text-decoration: underline; text-underline-offset: 3px; }
.gi-table .gg-namieru__td-price { white-space: nowrap; font-weight: 600; text-align: right; }
.gi-table th:last-child { text-align: right; }
@media (max-width: 699px) { .gi-table th, .gi-table td { padding: 10px; } .gi-table td[rowspan] a { overflow-wrap: anywhere; } }
.gi-note { margin: 16px 0 0; max-width: var(--measure); font-size: var(--fs-small); color: var(--muted); }
.gi-faq { padding-top: 0 !important; }

/* ── Inšpirácie: filtre (pills), karty zostáv (carousel + text), lightbox */
.gi-refs .gg-refg__filters { margin-bottom: 28px; }
.gi-refs .gg-refg__chip { font-family: var(--font); }
.gi-refs .gg-refg__chip--active { background: var(--ink); color: var(--paper) !important; border-color: var(--ink); }
.gg-refg__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.gg-refg__card { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; scroll-margin-top: calc(var(--hdr-h) + 24px); transition: box-shadow var(--t-state) var(--ease-out); }
.gg-refg__card:hover { box-shadow: var(--sh-2); }
.gg-refg__card--hidden { display: none; }
@media (min-width: 900px) {
  .gg-refg__card { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .gg-refg__card--flip { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .gg-refg__card--flip .gg-refg__media { order: 2; }
}
.gg-refg__media { position: relative; overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .gg-refg__media { aspect-ratio: auto; min-height: 380px; } }
.gg-refg__track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gg-refg__track::-webkit-scrollbar { display: none; }
.gg-refg__track img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
.gg-refg__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgb(251 250 246 / .92); color: var(--ink); box-shadow: var(--sh-2); cursor: pointer; }
.gg-refg__nav:hover { background: var(--surface); }
.gg-refg__nav svg { width: 18px; height: 18px; display: block; }
.gg-refg__nav--prev { left: 12px; }
.gg-refg__nav--next { right: 12px; }
.gg-refg__count { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: var(--r-pill); background: rgb(var(--scrim-rgb) / .72); color: var(--on-dark); font-size: var(--fs-caption); font-variant-numeric: tabular-nums; }
.gg-refg__body { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 36px); }
.gg-refg__cat { align-self: flex-start; padding: 4px 12px; border-radius: var(--r-pill); background: var(--leaf-mist); color: var(--leaf-deep); font-size: var(--fs-caption); font-weight: 600; }
.gg-refg__title { font-size: var(--fs-h3); line-height: var(--lh-head); letter-spacing: var(--track-head); margin: 2px 0 0; }
.gg-refg__dims, .gg-refg__bom { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--body); }
.gg-refg__dims svg, .gg-refg__bom svg { flex: none; width: 18px; height: 18px; color: var(--leaf); }
.gg-refg__desc { margin: 2px 0 0; max-width: 62ch; color: var(--body); }
.gg-refg__price { margin-top: 6px; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.015em; color: var(--ink); font-variant-numeric: tabular-nums; }
.gg-refg__price small { display: block; font-size: var(--fs-caption); font-weight: 500; letter-spacing: 0; color: var(--muted); }
.gg-refg__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gg-refg__lightbox { position: fixed; inset: 0; z-index: 9999; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgb(var(--scrim-rgb) / .94); }
.gg-refg__lightbox--open { display: flex; }
.gg-refg__lightbox img { max-width: 92vw; max-height: 80vh; border-radius: var(--r-ctl); }
.gg-refg__lightbox-caption { max-width: 80ch; text-align: center; color: var(--on-dark); font-size: var(--fs-small); }
.gg-refg__lightbox-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgb(244 241 234 / .14); color: var(--on-dark); cursor: pointer; }
.gg-refg__lightbox-close:hover { background: rgb(244 241 234 / .26); }
.gg-refg__lightbox-close svg { display: block; }
/* záložné project bloky témy (kým nie je otagovaný žiadny render) — jednoduché karty */
.gg-ref__projects { display: grid; gap: 24px; padding-top: var(--s-7); padding-bottom: var(--s-7); }
.gg-ref__project { position: relative; display: grid; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.gg-ref__project-bg img, .gg-ref__project-bg svg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.gg-ref__project-overlay { display: none; }
.gg-ref__project-card { display: grid; gap: 8px; padding: clamp(20px, 3vw, 32px); }
.gg-ref__project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gg-ref__project-tag { padding: 4px 12px; border-radius: var(--r-pill); background: var(--leaf-mist); color: var(--leaf-deep); font-size: var(--fs-caption); font-weight: 600; }
.gg-ref__project-title { font-size: var(--fs-h3); letter-spacing: var(--track-head); }
.gg-ref__project-spec, .gg-ref__project-loc { display: flex; align-items: center; gap: 8px; color: var(--body); font-size: var(--fs-small); }
.gg-ref__project-spec svg, .gg-ref__project-loc svg { flex: none; width: 18px; height: 18px; color: var(--leaf); }
.gg-ref__project-price { font-size: var(--fs-h3); font-weight: 600; color: var(--ink); }
/* odkaz na galériu návrhov zo Studia (GALLERYSEO1, vkladá lib/render.ts na koniec <main>) */
.gi-page .gg-gallery-from { max-width: var(--content); margin: 0 auto var(--s-7); padding: 0 var(--page-pad); box-sizing: content-box; }
.gi-page .gg-gallery-from a { font-weight: 600; color: var(--leaf-deep); }

/* ── AI návrh záhrady: nástroj (#gg-gd-root, vlastné CSS) dostane farby tokenov; príklady, kroky, FAQ, newsletter */
.gi-page--garden-designer { --gg-gd-primary: var(--leaf); --gg-gd-primary-hover: var(--leaf-deep); --gg-gd-primary-dark: var(--leaf-deep); --gg-gd-primary-tint: var(--leaf-mist); --gg-gd-bg: var(--paper); --gg-gd-bg-cream: var(--paper-2); --gg-gd-card-bg: var(--surface); --gg-gd-border: var(--line); --gg-gd-text: var(--ink); --gg-gd-text-secondary: var(--body); --gg-gd-text-muted: var(--muted); --gg-gd-radius-lg: var(--r-card); }
.gi-page--garden-designer .gg-gd-section { background: var(--paper); padding-bottom: var(--s-6); }
.gi-gd-top { padding-bottom: var(--s-7); }
/* GDHERO1 (owner 13. 10.): kompaktný úvod AI návrhu (lib/info/gd-hero.ts, 10 jazykov) — tmavý pás, H1 1 riadok, 1 veta, tlačidlo
   pri nástroji; nástroj #gg-gd-root (ukážka pred/po + nahratie) bez scrollu na 1440×900 aj 390×844. Hlavička je pevná → + --hdr-h. */
.gd-hero { padding: calc(var(--hdr-h) + var(--s-3)) 0 var(--s-5); }
.gd-hero .sp-crumbs ol { margin: 0 0 var(--s-2); }
.gd-hero__in { display: grid; gap: var(--s-4); align-items: end; }
.gd-hero h1 { margin: 0; color: var(--on-dark); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; letter-spacing: var(--track-head); font-weight: var(--w-display); text-wrap: balance; }
.gd-hero__note { margin: var(--s-2) 0 0; max-width: 62ch; font-size: var(--fs-small); line-height: 1.45; color: var(--on-dark-muted); }
.gd-hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); }
.gd-hero__acc { font-size: var(--fs-small); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gd-hero__meta { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0; font-size: 13px; line-height: 1.5; color: var(--on-dark-muted); }
.gd-hero__meta b { font-weight: 600; }
.gd-hero .ka-status { flex-basis: 100%; margin: 0; font-size: 13px; }
@media (min-width: 900px) {
  .gd-hero__in { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-7); }
  .gd-hero__act { justify-content: flex-end; max-width: 460px; }
  .gd-hero__meta { justify-content: flex-end; }
}
.gi-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1000px) { .gi-gal { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.gi-gal__i { margin: 0; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.gi-gal__i img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
.gi-gal__i figcaption { padding: 12px 16px 14px; font-size: var(--fs-small); font-weight: 500; line-height: 1.35; color: var(--ink); }
.gi-page .gi-nl.gg-gd-nlbar { padding: clamp(24px, 4vw, 48px); background: var(--grain-layer), var(--soil); color: var(--on-dark-muted); display: grid; gap: 20px; align-items: center; }
@media (min-width: 1000px) { .gi-page .gi-nl.gg-gd-nlbar { grid-template-columns: 6fr 5fr; column-gap: 56px; } }
.gi-nl__h { font-size: var(--fs-h3); letter-spacing: var(--track-head); }
.gi-nl__t { display: grid; gap: 10px; }
.gi-nl__t .lead { font-size: var(--fs-body); }
.gi-page .gi-nl__f { display: flex; flex-wrap: wrap; gap: 10px; }
.gi-page .gi-nl__f input { flex: 1 1 220px; min-width: 0; min-height: 56px; padding: 0 16px; font: 400 var(--fs-body)/1.3 var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--paper); border-radius: 14px; }
.gi-page .gi-nl__f input::placeholder { color: var(--muted); }
.gi-page .gi-nl__f input:focus { outline: none; box-shadow: 0 0 0 3px var(--mint); }
.gi-page .gg-gd-nlbar__ok { margin: 0; font-weight: 600; color: var(--mint); }

/* ── Pre partnerov: bloky galérií, tlačidlá na stiahnutie, logá + kontakt, lightbox */
.gi-dl svg, .gg-dl-all svg { width: 20px; height: 20px; flex: none; }
.gi-partner__blocks { padding-top: calc(var(--section) * .42); padding-bottom: var(--section); display: grid; gap: var(--s-8); }
.gg-block__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.gg-block__head > div { display: grid; gap: 8px; max-width: 640px; }
.gg-block__title { font-size: var(--fs-h2); letter-spacing: var(--track-head); }
.gg-block__sub { margin: 0; color: var(--body); }
.gg-dl-all { gap: 8px; white-space: nowrap; }
.gg-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gg-gal__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--mist); border: 1px solid var(--line); }
.gg-gal__open { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gg-gal__open img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-enter) var(--ease-out); }
.gg-gal__item:hover .gg-gal__open img { transform: scale(1.04); }
.gg-gal__dl { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--r-ctl); background: rgb(251 250 246 / .94); color: var(--leaf-deep); box-shadow: var(--sh-2); cursor: pointer; opacity: 0; transform: translateY(-4px); transition: opacity var(--t-fast), transform var(--t-fast); }
.gg-gal__item:hover .gg-gal__dl, .gg-gal__dl:focus-visible { opacity: 1; transform: none; }
.gg-gal__dl svg { width: 20px; height: 20px; }
.gg-partner__foot { display: grid; gap: 16px; }
@media (min-width: 800px) { .gg-partner__foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gg-partner__brand, .gg-partner__contact { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.gg-partner__foot h3 { font-size: 20px; letter-spacing: -.015em; }
.gg-partner__foot p { margin: 0; color: var(--body); }
.gg-partner__foot .gg-btn { justify-self: start; }
.gg-partner__foot a:not(.gg-btn) { color: var(--leaf-deep); font-weight: 600; }
.gi-partner__rule { margin-top: 6px !important; }
.gg-partner__swatches { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: var(--fs-caption); color: var(--muted); font-variant-numeric: tabular-nums; }
.gg-partner__swatches span { display: inline-flex; align-items: center; gap: 6px; }
.gg-partner__swatches i { display: inline-block; width: 18px; height: 18px; border-radius: var(--r-tag); }
@media (max-width: 699px) {
  .gg-dl-all { width: 100%; }
  .gg-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gg-gal__dl { opacity: 1; transform: none; }
}
.gg-lb { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgb(var(--scrim-rgb) / .94); opacity: 0; transition: opacity var(--t-state) var(--ease-out); }
.gg-lb.is-open { opacity: 1; }
.gg-lb[hidden] { display: none; }
.gg-lb__stage { position: relative; margin: 0; max-width: min(1100px, 94vw); max-height: 88vh; display: flex; flex-direction: column; }
.gg-lb__img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--r-ctl); background: var(--paper); }
.gg-lb__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 2px 0; color: var(--on-dark); }
.gg-lb__cap { flex: 1 1 auto; font-size: var(--fs-small); font-weight: 600; }
.gg-lb__count { font-size: var(--fs-caption); color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.gg-lb__dl { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-ctl); background: var(--paper); color: var(--ink); font-weight: 600; font-size: var(--fs-small); text-decoration: none; }
.gg-lb__dl svg { width: 18px; height: 18px; }
.gg-lb__btn { position: absolute; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgb(244 241 234 / .14); color: var(--on-dark); cursor: pointer; transition: background-color var(--t-fast); }
.gg-lb__btn:hover { background: rgb(244 241 234 / .26); }
.gg-lb__close { top: 16px; right: 16px; width: 46px; height: 46px; line-height: 0; }
.gg-lb__close svg { display: block; width: 22px; height: 22px; }
.gg-lb__nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 34px; line-height: 1; }
.gg-lb__prev { left: 16px; }
.gg-lb__next { right: 16px; }
@media (max-width: 699px) {
  .gg-lb__nav { width: 44px; height: 44px; margin-top: -22px; font-size: 28px; }
  .gg-lb__prev { left: 4px; }
  .gg-lb__next { right: 4px; }
  .gg-lb__bar { justify-content: center; text-align: center; }
}

/* ── KONCEPTA-FIRMA (9. 10. 2026) — rozloženie konceptu A: O nás (a-o-nas), Kontakt (a-kontakt), Inšpirácie (a-realizacie).
 * Bloky .ka-* kreslí lib/firma-ka.ts (len SK+EN); sekcie témy majú triedu .ka. Len tokeny, selektory na 1 riadku. */
.ka .gi-top { border-radius: 0 0 44px 44px; padding-bottom: clamp(64px, 9vw, 128px); }
@media (max-width: 620px) { .ka .gi-top { border-radius: 0 0 28px 28px; } }
.ka-intro__grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .ka-intro__grid { grid-template-columns: .75fr 1.25fr; column-gap: clamp(45px, 9vw, 130px); align-items: start; } }
.ka-intro__grid h2 { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--track-head); }
.ka-intro .gi-story__txt { max-width: none; }
.ka-big { font-size: clamp(22px, 2.6vw, 32px) !important; line-height: 1.36; letter-spacing: -.02em; color: var(--ink) !important; }

/* rám fotky + mätová plocha (A .photo-frame + .soft-panel) */
.ka-split { display: grid; gap: 12px; }
@media (min-width: 1000px) { .ka-split { grid-template-columns: 1.25fr .75fr; } }
.ka-frame { position: relative; overflow: hidden; border-radius: 28px; background: var(--leaf-mist); min-height: 440px; }
@media (min-width: 1000px) { .ka-split > .ka-frame { min-height: 620px; } }
.ka-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ka-panel { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ka-panel h2 { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--track-head); }
.ka-panel h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: var(--track-head); }
.ka-panel p { margin: 0; color: var(--body); }
.ka-panel--sm { padding: clamp(24px, 4vw, 44px); border-radius: 28px; align-items: flex-start; }

/* čísla systému (A .metric-row) */
.ka-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--line); }
@media (min-width: 800px) { .ka-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ka-metric { padding: 22px; border-right: 1px solid var(--line); min-width: 0; }
.ka-metric:last-child { border-right: 0; }
@media (max-width: 799px) { .ka-metric:nth-child(2) { border-right: 0; } .ka-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.ka-metric dt { font: 700 24px/1.15 var(--font); letter-spacing: -.03em; color: var(--leaf); font-variant-numeric: tabular-nums; }
.ka-metric dd { margin: 4px 0 0; font-size: 13px; line-height: 1.35; color: var(--body); }

/* ľudia: tím krstnými menami, rovnaké neutrálne karty */
.ka-team .sec-head { margin-bottom: 24px; }
.ka-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; }
.ka-person { display: grid; gap: 4px; align-content: start; min-height: 180px; padding: 26px; border-radius: 24px; background: var(--leaf-mist); }
/* WEBOWNER1: rám pre fotku člena tímu (portrét 4:5); kým fotka nie je, decentná iniciála na mätovom podklade — žiadna cudzia/AI tvár */
.ka-person__ph { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; margin: -10px -10px 0; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, var(--surface), var(--leaf-mist)); border: 1px solid var(--line); }
.ka-person__ph > span { font: 650 64px/1 var(--font); letter-spacing: -.04em; color: var(--leaf-deep); opacity: .35; }
.ka-person__ph--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ka-person b { margin-top: 18px; font: 650 24px/1.1 var(--font); letter-spacing: -.03em; color: var(--ink); }
.ka-person small { font-size: var(--fs-small); color: var(--body); }

/* žltý pás výzvy (A .cta-band) — aj záverečná karta O nás / Kontakt */
.ka-band { display: grid; gap: 24px 32px; align-items: end; }
@media (min-width: 900px) { .ka-band { grid-template-columns: 1fr auto; } }
.ka-band h2 { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--track-head); color: var(--soil); margin: 0 0 10px; }
.ka-band p { margin: 0; color: var(--soil); }
.ka-band .gg-eyebrow { color: var(--soil); }
.ka-band .sp-ctas { margin: 0; }
.ka-band .gg-btn--ghost { --b-bd: rgb(var(--soil-rgb) / .35); --b-fg: var(--soil); }
.ka .gi-cta.gg-plate--sun { color: var(--soil); }
.ka .gi-cta.gg-plate--sun h2 { color: var(--soil); }
.ka .gi-cta.gg-plate--sun .lead { color: var(--soil); }

/* svetlý úvod s bočným blokom (A .cp-hero) — Kontakt, Inšpirácie */
.ka-chero { padding: calc(var(--hdr-h) + 12px + var(--s-7)) 0 clamp(48px, 7vw, 96px) !important; }
.ka-chero__grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .ka-chero__grid { grid-template-columns: 1.2fr .8fr; column-gap: clamp(40px, 8vw, 110px); align-items: end; } }
.ka-chero h1 { font-size: var(--fs-h1); line-height: var(--lh-display); letter-spacing: var(--track-display); font-weight: var(--w-display); margin: 10px 0 20px; }
.ka-chero .lead { max-width: 760px; color: var(--body); }
.ka-chero .sp-ctas { margin-top: 24px; }
.ka-aside { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; }
.ka-aside__t { font-size: 15px; line-height: 1.45; color: var(--body); }

/* Kontakt: tmavá karta údajov (A .contact-direct) */
.ka-direct { padding: 26px; border-radius: 24px; background: var(--soil); color: var(--on-dark); gap: 16px !important; }
.ka-direct h2 { font-size: var(--fs-h3) !important; color: var(--on-dark); }
.ka-direct .gi-details { border-color: rgb(var(--on-dark-rgb) / .2); }
.ka-direct .gi-detail { border-color: rgb(var(--on-dark-rgb) / .2); padding: 12px 0; }
.ka-direct .gi-ic { width: 40px; height: 40px; background: rgb(var(--on-dark-rgb) / .1); color: var(--mint); }
.ka-direct .gi-detail h3 { color: var(--on-dark-muted); }
.ka-direct .gi-detail p { color: var(--on-dark); }
.ka-direct .gi-detail a { color: var(--sun); font-weight: 700; }
.ka-direct .gi-detail a:hover { color: var(--sun); }
.ka-direct .gi-hours { background: rgb(var(--on-dark-rgb) / .08); border-color: transparent; }
.ka-direct .gi-hours h3 { color: var(--on-dark); }
.ka-direct .gi-hours p { color: var(--on-dark-muted); }
.ka-crule { border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .ka-cgrid { grid-template-columns: 1fr .8fr !important; } }
.ka-cgrid .gi-form { background: transparent; border: 0; box-shadow: none; padding: 0; }
.ka-cgrid .gi-form h2 { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--track-head); }
.ka-contact-side { display: grid; gap: 12px; align-content: start; }
.ka-frame--contact { min-height: 360px; }
@media (min-width: 1000px) { .ka-frame--contact { min-height: 430px; } }

/* Inšpirácie: skutočné zábery (A .real-mosaic) + filtre + zväčšenie */
.ka-head { display: grid; gap: 16px; margin-bottom: 28px; }
@media (min-width: 900px) { .ka-head { grid-template-columns: 1fr auto; align-items: end; } }
.ka-head .sec-head { margin: 0; }
.ka-filters { display: flex; gap: 7px; overflow-x: auto; padding: 4px 0; }
.ka-filters[hidden] { display: none; }
.ka-filters .pill { min-height: 44px; white-space: nowrap; cursor: pointer; }
.ka-filters .pill[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: var(--paper) !important; }
.ka-mosaic { display: grid; grid-template-columns: 1fr; grid-auto-rows: 310px; gap: 12px; }
@media (min-width: 900px) { .ka-mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 260px; grid-auto-flow: dense; } }
.ka-real { position: relative; display: block; overflow: hidden; border-radius: 26px; background: var(--leaf-mist); color: var(--ink); text-decoration: none; }
.ka-real[hidden] { display: none; }
@media (min-width: 900px) { .ka-real { grid-column: span 4; } .ka-real--wide { grid-column: span 8; } .ka-real--tall { grid-row: span 2; } }
.ka-real img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-reveal) var(--ease-out); }
.ka-real:hover img { transform: scale(1.025); }
.ka-real__tag { position: absolute; top: 12px; left: 12px; }
.ka-real__cap { position: absolute; left: 11px; right: 11px; bottom: 11px; display: grid; gap: 2px; padding: 12px 14px; border-radius: 15px; background: rgb(var(--surface-rgb) / .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ka-real__cap b { font-size: 15px; letter-spacing: -.01em; }
.ka-real__cap small { font-size: 13px; color: var(--body); }
.ka-real:focus-visible { outline: 3px solid var(--leaf-deep); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ka-real img { transition: none; } .ka-real:hover img { transform: none; } }
.ka-dialog { width: min(900px, calc(100% - 28px)); max-height: 90vh; padding: 0; border: 0; border-radius: 26px; background: var(--surface); color: var(--ink); }
.ka-dialog::backdrop { background: rgb(var(--soil-rgb) / .8); }
.ka-dialog__bar { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 12px 0 18px; }
.ka-dialog__bar b { margin-right: auto; }
.ka-dialog__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--leaf-mist); color: var(--ink); font-size: 22px; cursor: pointer; }
.ka-dialog img { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: var(--soil); }
.ka-vizhead { margin-bottom: 24px; }
.ka .gg-refg__media .gg-mtag--corner { top: 12px; bottom: auto; }
@media (max-width: 620px) { .ka-metric { padding: 16px 12px; } .ka-metric dt { font-size: 20px; } .ka-people { gap: 8px; } .ka-person { min-height: 0; padding: 8px 8px 12px; border-radius: 18px; } .ka-person__ph { margin: 0; border-radius: 12px; } .ka-person__ph > span { font-size: 40px; } .ka-person b { margin-top: 10px; font-size: 17px; text-align: center; } }
.ka-split--solo { grid-template-columns: 1fr !important; margin-bottom: var(--section); }
