/* ==========================================================================
   3dtrenink.cz – hlavní stylopis
   Bez preprocesoru, bez frameworku. Custom properties + moderní CSS.
   ========================================================================== */

/* ---------- Fonty (self-hosted Lato, SIL OFL) ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/lato-latin-ext-400-normal.woff2") format("woff2");
  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: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/lato-latin-400-normal.woff2") format("woff2");
  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: "Lato"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/lato-latin-ext-400-italic.woff2") format("woff2");
  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: "Lato"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/lato-latin-400-italic.woff2") format("woff2");
  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: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/lato-latin-ext-700-normal.woff2") format("woff2");
  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: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/lato-latin-700-normal.woff2") format("woff2");
  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: "Lato"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("../fonts/lato-latin-ext-900-normal.woff2") format("woff2");
  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: "Lato"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("../fonts/lato-latin-900-normal.woff2") format("woff2");
  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; }

/* ---------- Design tokens ---------- */
:root {
  --green: #81BF3E;        /* značka */
  --green-deep: #45791A;   /* odkazy na světlém pozadí (AA) */
  --green-soft: #EEF5E3;
  --ink: #1C1F1B;          /* tmavé plochy, nadpisy */
  --ink-2: #2A2E29;
  --text: #3B3F3A;
  --muted: #6C716B;
  --line: #E1E5DC;
  --mist: #F3F5EF;         /* střídavé sekce */
  --paper: #FFFFFF;

  --font: "Lato", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1160px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(28, 31, 27, .10);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--green-deep); text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
strong, b { font-weight: 700; }
em, i { font-style: italic; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--green); color: var(--ink); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-weight: 900; font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem); letter-spacing: -.015em; }
h2 { font-weight: 700; font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.35rem); letter-spacing: -.01em; }
h3 { font-weight: 700; font-size: 1.3rem; }
h4 { font-weight: 700; font-size: 1.05rem; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: var(--text); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #D9DDD5; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a { color: var(--green); }
.section--ink a:hover { color: #fff; }
.section__head { max-width: 62ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { margin-bottom: 0; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--green); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- Ikony ---------- */
.icon { display: inline-block; width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.5em; border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: var(--ink); font-weight: 700; line-height: 1.2; text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--green); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: currentColor; color: inherit; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.btn--sm { padding: .55em 1.1em; font-size: .95rem; }
.section--ink .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

/* ---------- Hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.topbar { background: #141614; font-size: .9rem; }
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; min-height: 36px; }
.topbar a { color: #C9CEC4; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: var(--green); }
.topbar .icon { color: var(--green); width: 1em; height: 1em; }
.topbar__social { display: flex; gap: 1rem; margin-left: .5rem; padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .12); }

.navbar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: block; flex: none; }
.brand img { width: 152px; height: auto; }
.nav-wrap { display: flex; align-items: center; gap: .5rem; }
.nav { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.nav > li { position: relative; }
.nav a, .nav button {
  display: flex; align-items: center; gap: .35em; padding: .55rem .85rem; border: 0; background: none;
  color: #fff; font-weight: 700; font-size: .98rem; text-decoration: none; border-radius: var(--radius); white-space: nowrap;
}
.nav a:hover, .nav button:hover, .nav a[aria-current] { color: var(--green); }
.nav a[aria-current="page"] { position: relative; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; background: var(--green); border-radius: 2px; }
.nav .chev { width: .9em; height: .9em; transition: transform .2s; }
.nav > li.is-open > button .chev, .nav > li:hover > button .chev { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + .35rem); left: 0; min-width: 240px; margin: 0; padding: .5rem; list-style: none;
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.subnav a { font-weight: 400; padding: .55rem .8rem; }
.nav > li:hover > .subnav, .nav > li:focus-within > .subnav, .nav > li.is-open > .subnav { opacity: 1; visibility: visible; transform: none; }
.nav > li:hover::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .5rem; }
.nav-cta { margin-left: .5rem; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: #fff; border-radius: var(--radius); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1023px) {
  .nav a, .nav button { padding: .5rem .6rem; font-size: .93rem; }
  .brand img { width: 136px; }
  .nav-cta { display: none; }
}
@media (max-width: 899px) {
  .topbar { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-wrap {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); overflow-y: auto;
    padding: .75rem var(--gutter) 2rem; display: none;
  }
  .nav-wrap.is-open { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a, .nav button { width: 100%; padding: .95rem .25rem; font-size: 1.1rem; justify-content: space-between; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--green); }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 .5rem .75rem; display: none; }
  .nav > li.is-open > .subnav { display: block; }
  .nav > li:hover::before { display: none; }
  .subnav a { font-size: 1rem; padding: .6rem .25rem; color: #C9CEC4; }
  .nav-cta { display: flex; margin: 1.25rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-contact { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
  .nav-contact a { color: #C9CEC4; text-decoration: none; display: inline-flex; align-items: center; gap: .5em; }
  .nav-contact .icon { color: var(--green); }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 900px) { .nav-contact { display: none; } }

/* ---------- Hero (úvod) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); min-height: clamp(540px, 82vh, 780px); display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .6s var(--ease); }
.hero__bg img.is-active { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 24, 20, .86) 0%, rgba(20, 24, 20, .62) 42%, rgba(20, 24, 20, .18) 100%),
    linear-gradient(0deg, rgba(20, 24, 20, .75) 0%, rgba(20, 24, 20, 0) 45%);
}
.hero .container { padding-block: clamp(3rem, 8vw, 5.5rem); }
.hero__content { max-width: 680px; }
.hero__content h1 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.25rem); line-height: 1.02; margin-bottom: .55em; }
.hero__content .lead { color: rgba(255, 255, 255, .88); margin-bottom: 1.8rem; max-width: 56ch; }
.hero__services { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.hero__services a {
  display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .38); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none;
  background: rgba(20, 24, 20, .35); backdrop-filter: blur(6px); transition: background .2s, color .2s, border-color .2s;
}
.hero__services a::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; opacity: .55; }
.hero__services a:hover, .hero__services a.is-active { background: var(--green); border-color: var(--green); color: var(--ink); }
.hero__services a.is-active::before { opacity: 1; }
.hero__note { margin: 1rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* ---------- O mně (úvod / profil) ---------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.05fr .95fr; } .split--reverse > :first-child { order: 2; } }
.split__media img { width: 100%; border-radius: var(--radius-lg); }
.split__text p:last-of-type { margin-bottom: 0; }
.split__text .btn-row { margin-top: 1.75rem; }
.signature { width: 190px; margin-top: 1.5rem; filter: invert(1) brightness(.35); }

/* ---------- Čísla ---------- */
.bg-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.stats { position: relative; isolation: isolate; color: #fff; text-align: center; padding-block: clamp(3rem, 6vw, 4.5rem); background: var(--ink); }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 24, 20, .72); }
.stats__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; padding: 0; list-style: none; }
.stats__num { display: block; font-weight: 900; font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem); line-height: 1; color: var(--green); letter-spacing: -.02em; }
.stats__label { display: block; margin-top: .6rem; font-size: 1.1rem; color: rgba(255, 255, 255, .85); }

/* ---------- Karty služeb ---------- */
.services { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .services { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.service-card {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.service-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.service-card__media { position: relative; min-height: 100%; }
.service-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 1.35rem 1.5rem 1.4rem; display: flex; flex-direction: column; }
.service-card__body h3 { margin-bottom: .45rem; }
.service-card__body p { font-size: .98rem; color: var(--muted); margin-bottom: 1rem; }
.service-card__more { margin-top: auto; font-weight: 700; color: var(--green-deep); display: inline-flex; align-items: center; gap: .4em; }
.service-card:hover .service-card__more { color: var(--ink); }
@media (max-width: 559px) {
  .service-card { grid-template-columns: 1fr; }
  .service-card__media { aspect-ratio: 16 / 9; min-height: 0; }
}

/* ---------- Pruh s fotkou (workshop, CTA) ---------- */
.band { position: relative; isolation: isolate; color: #fff; text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--ink); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 24, 20, .66); }
.band h2 { color: #fff; }
.band p { max-width: 60ch; margin-inline: auto; color: rgba(255, 255, 255, .9); font-size: 1.1rem; }
.band .btn { margin-top: .75rem; }
.band .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- Dárkový poukaz ---------- */
.voucher { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .voucher { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.voucher__img { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.voucher__img:hover { transform: translateY(-3px); }
.voucher ol { counter-reset: step; list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .6rem; }
.voucher ol li { counter-increment: step; display: grid; grid-template-columns: 1.9rem 1fr; gap: .6rem; align-items: start; }
.voucher ol li::before { content: counter(step); display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--green); color: var(--ink); font-weight: 900; font-size: .9rem; }

/* ---------- Reference ---------- */
.testimonials { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .testimonials { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.testimonials--all { display: block; columns: 1; column-gap: 1.5rem; }
@media (min-width: 700px) { .testimonials--all { columns: 2; } }
@media (min-width: 1024px) { .testimonials--all { columns: 3; } }
.testimonial { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.4rem 1.6rem 1.6rem; break-inside: avoid; margin-bottom: 1.5rem; }
.testimonials:not(.testimonials--all) .testimonial { margin-bottom: 0; }
.section--mist .testimonial { border-color: transparent; }
.testimonial::before { content: "\201C"; position: absolute; top: .55rem; left: 1.3rem; font-size: 4.2rem; line-height: 1; font-weight: 900; color: var(--green); }
.testimonial blockquote { margin: 0 0 1.1rem; font-size: 1rem; }
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { font-size: .93rem; color: var(--muted); }
.testimonial figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.testimonials + .btn-row { justify-content: center; margin-top: 2.25rem; }

/* ---------- Loga ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.25rem 2.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.logos a { display: block; opacity: .55; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logos a:hover { opacity: 1; filter: none; }
.logos img { height: 32px; width: auto; max-width: 140px; object-fit: contain; }
/* Zvýrazněná loga (Brestt, Cesta rovnováhy) */
.logos li.is-featured a { opacity: 1; filter: none; padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.logos li.is-featured a:hover { border-color: var(--green); }
.logos li.is-featured img { height: 48px; max-width: 200px; }
@media (max-width: 560px) { .logos li.is-featured img { height: 38px; } }

/* ---------- Podstránky ---------- */
.breadcrumbs { font-size: .88rem; color: var(--muted); padding: 1rem 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-deep); text-decoration: underline; }
.breadcrumbs .icon { width: .85em; height: .85em; opacity: .6; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }

.page-hero { padding-block: clamp(2rem, 5vw, 4rem) var(--section); }
.page-hero .split { align-items: start; }
.page-hero .split__text h1 { margin-bottom: .6em; }
.page-hero .split__text p { max-width: 60ch; }

.offer { display: grid; gap: 1.5rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 800px) { .offer { grid-template-columns: 1.4fr 1fr; gap: 2.5rem; } }
.offer__price { text-align: center; padding: 1.5rem 1rem; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.offer__price strong { display: block; font-size: clamp(2.2rem, 2rem + 1.5vw, 3rem); font-weight: 900; color: var(--green); line-height: 1; letter-spacing: -.02em; }
.offer__price span { display: block; margin: .5rem 0 1.2rem; color: rgba(255, 255, 255, .75); }
.offer__price .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.offer__text h2 { margin-bottom: .4em; }
.offer__text p:last-child { margin-bottom: 0; }

.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .88rem; color: var(--muted); margin-top: .45rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1F1B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat; }
.check-list--lg li { font-size: 1.1rem; }

.topics { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0 0 1.5rem; padding: 0; list-style: none; }
.topics li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; font-weight: 700; color: var(--ink); }
.topics li a { display: inline-flex; align-items: center; gap: .4em; }
.topics li small { display: block; font-weight: 400; color: var(--muted); margin-top: .25rem; }

.certs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 0; padding: 0; list-style: none; }
.certs a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: .75rem; transition: border-color .2s, box-shadow .2s; }
.certs a:hover { border-color: var(--green); box-shadow: var(--shadow); }
.certs img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.certs figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; line-height: 1.35; }

.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; } }
.contact-card { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.25rem); }
.contact-card h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .8rem; }
.contact-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; align-items: start; }
.contact-list .icon { color: var(--green-deep); margin-top: .25em; }
.contact-list a { font-weight: 700; }
.contact-card .partner { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.5rem; padding: .9rem 1.1rem; background: var(--ink); border-radius: var(--radius); text-decoration: none; color: #C9CEC4; font-size: .93rem; }
.contact-card .partner img { height: 34px; width: auto; }
.contact-card .partner:hover { color: #fff; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--mist); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(12, 14, 12, .92); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 3.5rem 1rem 4rem; }
.lightbox__img { max-width: min(100%, 1400px); max-height: calc(100vh - 8rem); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 1.1rem; text-align: center; color: #fff; font-size: .95rem; padding-inline: 4rem; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.lightbox__btn:hover { background: var(--green); color: var(--ink); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: .75rem; right: .75rem; }
.lightbox__prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 1.4rem; left: 1.25rem; color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ---------- Patička ---------- */
.site-footer { background: var(--ink); color: #B9BDB6; padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; font-size: .95rem; }
.site-footer a { color: #E7EAE3; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; } }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-brand img { width: 160px; margin-bottom: 1rem; }
.footer-brand p { max-width: 36ch; }
.footer-contact li { display: flex; gap: .55em; align-items: flex-start; }
.footer-contact .icon { color: var(--green); margin-top: .3em; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .88rem; color: #8B9088; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.error-page h1 { font-size: clamp(3rem, 8vw, 6rem); color: var(--green); }

/* ---------- Workshopy + úpravy 09/2026 ---------- */
.band .band__price { display: block; max-width: none; margin: -.35rem auto 1.4rem; font-weight: 900; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; color: var(--green); letter-spacing: -.01em; }
.eyebrow { margin: 0 0 .6rem; font-size: .9rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-deep); }
.facts-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.5rem; padding: 0; list-style: none; }
.facts-chips li { display: inline-flex; align-items: center; gap: .45em; padding: .4em .95em; border-radius: 999px; background: var(--green-soft); color: var(--ink); font-weight: 700; font-size: .92rem; }
.facts-chips .icon { color: var(--green-deep); width: 1em; height: 1em; }
.page-hero .split__text .facts-chips + .btn-row { margin-top: 0; }
.cols-2 { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); }
@media (min-width: 860px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
.cols-2 h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); }
.cols-2 .check-list li { font-size: 1.02rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.5rem; margin: 1.5rem 0 0; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: .1rem; } .facts dd { margin-bottom: .6rem; } }
.offer__text .facts + p { margin: 1.25rem 0 0; }
.quote { max-width: 62ch; margin: clamp(2rem, 5vw, 3rem) auto 0; text-align: center; }
.quote p { margin: 0 0 .5rem; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.4; font-style: italic; color: var(--ink); text-wrap: balance; }
.quote footer { font-size: .95rem; color: var(--muted); }
.quote footer::before { content: "— "; }
.service-card__meta { margin: -.2rem 0 .6rem; font-size: .9rem; font-weight: 700; color: var(--green-deep); }
.service-card__body .service-card__meta + p { margin-top: 0; }

/* ---------- Pohyb: respektujeme preference uživatele ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Tisk ---------- */
@media print {
  .site-header, .site-footer, .hero__services, .btn, .gallery, .band { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; }
}

/* ---------- Kontaktní panel (objednávka / poptávka) ---------- */
.contact-dialog { border: 0; padding: 0; width: min(92vw, 430px); border-radius: var(--radius-lg); background: var(--paper); color: var(--text); box-shadow: 0 24px 60px rgba(12, 14, 12, .35); }
.contact-dialog::backdrop { background: rgba(12, 14, 12, .6); }
.contact-dialog__inner { position: relative; padding: clamp(1.75rem, 4vw, 2.25rem); text-align: center; }
.contact-dialog__close { position: absolute; top: .55rem; right: .55rem; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.contact-dialog__close:hover { background: var(--mist); color: var(--ink); }
.contact-dialog__close .icon { width: 22px; height: 22px; }
.contact-dialog__eyebrow { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.contact-dialog h2 { margin: .4rem 0 .6rem; font-size: clamp(1.2rem, 3.5vw, 1.45rem); line-height: 1.3; color: var(--ink); }
.contact-dialog__lead { margin: 0 0 1.4rem; font-size: .97rem; color: var(--muted); }
.contact-dialog__call { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; }
.contact-dialog__call .icon { width: 20px; height: 20px; }
.contact-dialog__mail { display: flex; align-items: center; gap: .6rem; margin: .85rem 0 0; padding: .5rem .5rem .5rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.contact-dialog__mail .icon { flex: none; width: 20px; height: 20px; color: var(--muted); }
.contact-dialog__addr { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-weight: 700; color: var(--ink); }
.contact-dialog__copy { flex: none; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--green-deep); font: 700 .85rem/1 var(--font); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.contact-dialog__copy:hover { border-color: var(--green); color: var(--ink); }
.contact-dialog__copy.is-done { background: var(--green-soft); border-color: var(--green); color: var(--ink); }
.contact-dialog__client { display: inline-block; margin: 1.05rem 0 0; font-size: .9rem; color: var(--muted); }
.contact-dialog__note { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); }
