/* ==========================================================================
   vittekagency.sk – hlavný štýl
   Obsah: 1 tokeny · 2 reset · 3 typografia · 4 layout/utility · 5 tlačidlá a odkazy
          6 karty, štítky, gridy, placeholdery · 7 formuláre, alerty
          8 hlavička + mobilné menu · 9 page-hero, breadcrumbs, prose
          10 homepage sekcie · 11 pätička · 12 cookie lišta · 13 404
          14 reveal + pohyb · 15 responzivita
   Predloha 1024 px ≈ desktop 1440 px (faktor ×1.4)
   ========================================================================== */

/* ---------- 1. Tokeny ---------- */
:root {
  --c-bg-dark: #0d1216;
  --c-bg-dark-2: #141a1e;
  --c-bg-dark-3: #1a2126;
  --c-line-dark: rgba(255, 255, 255, .08);
  --c-bg-light: #f6f6f5;
  --c-card: #ffffff;
  --c-line: #ececea;
  --c-text: #14171a;
  --c-text-2: #6f747b;
  --c-text-3: #9a9ea4;
  --c-text-on-dark: #ffffff;
  --c-text-on-dark-2: #c9ccd0;
  --c-gold: #d3a768;
  --c-gold-2: #e9c58a;
  --c-gold-3: #b98d4f;
  --c-gold-ink: #a87a3c;            /* zlatá pre text na svetlom (kontrast) */
  --c-tag: #f1f1ef;
  --c-success: #2f8f5b;
  --c-error: #c2453d;
  --c-info: #3a6ea5;
  --g-gold: linear-gradient(135deg, #e9c995 0%, #d3a768 45%, #b88a4c 100%);
  --g-gold-hover: linear-gradient(135deg, #f2d7a9 0%, #ddb478 45%, #c39556 100%);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 24px rgba(20, 23, 26, .06);
  --shadow-card-hover: 0 14px 36px rgba(20, 23, 26, .11);
  --shadow-gold: 0 8px 22px rgba(211, 167, 104, .28);
  --container: 1240px;
  --gutter: 24px;
  --header-h: 76px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: rgba(211, 167, 104, .35); }
main:focus { outline: none; }

/* Prístupnosť – viditeľný focus len pri klávesnici */
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  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: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--g-gold); color: var(--c-text); font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: var(--radius-pill); transition: top .2s;
}
.skip-link:focus { top: 12px; }

.icon { width: 1em; height: 1em; flex: none; }

/* ---------- 3. Typografia ---------- */
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px;
  font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-gold); margin-bottom: 14px;
}
.section--light .eyebrow, .section--white .eyebrow, .eyebrow--ink { color: var(--c-gold-ink); }
.eyebrow__dot { color: var(--c-gold); font-size: 10px; }

.h1 { font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.h2 { font-size: 38px; line-height: 1.17; font-weight: 700; letter-spacing: -.018em; color: var(--c-text); }
.h3 { font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.h4 { font-size: 17px; line-height: 1.4; font-weight: 700; }
.section--dark .h1, .section--dark .h2, .section--dark .h3 { color: var(--c-text-on-dark); }
.lead { font-size: 15.5px; line-height: 1.75; color: var(--c-text-2); }
.section--dark .lead { color: var(--c-text-on-dark-2); }
.text-gold { color: var(--c-gold); }
.text-muted { color: var(--c-text-2); }
.text-center { text-align: center; }

/* ---------- 4. Layout a utility ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding: 72px 0; position: relative; }
.section--light { background: var(--c-bg-light); }
.section--white { background: #fff; }
.section--dark { background: var(--c-bg-dark); color: var(--c-text-on-dark-2); }
.section--tight { padding: 48px 0; }

/* Hlavička sekcie: text vľavo, tlačidlo vpravo */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-head__text { max-width: 620px; }
.section-head__text .h2 { margin-bottom: 10px; }
.section-head__text .lead { max-width: 440px; }
.section-head__btn { margin-bottom: 52px; flex: none; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin: 0 auto; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }

/* ---------- 5. Tlačidlá a odkazy ---------- */
.btn {
  --btn-h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--btn-h); padding: 0 28px; border-radius: var(--radius-pill);
  font-size: 14.5px; font-weight: 700; line-height: 1; letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; user-select: none;
  transition: background .25s var(--ease), color .2s, border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease), filter .2s;
}
.btn__icon { width: 17px; height: 17px; margin-right: -4px; transition: transform .25s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* zlatá pilulka */
.btn--gold { background: var(--g-gold); color: #1a1408; box-shadow: 0 2px 0 rgba(255, 255, 255, .25) inset, 0 4px 14px rgba(211, 167, 104, .18); }
.btn--gold:hover { background: var(--g-gold-hover); box-shadow: 0 2px 0 rgba(255, 255, 255, .3) inset, var(--shadow-gold); transform: translateY(-1px); }
/* obrys biely (na tmavom) */
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .07); }
/* obrys zlatý (na svetlom) */
.btn--outline { background: transparent; color: var(--c-text); border: 1.5px solid var(--c-gold); }
.btn--outline:hover { background: rgba(211, 167, 104, .1); border-color: var(--c-gold-3); }
/* tmavé (sekundárne na svetlom) */
.btn--dark { background: var(--c-bg-dark); color: #fff; }
.btn--dark:hover { background: var(--c-bg-dark-3); }
.btn--sm { --btn-h: 38px; padding: 0 18px; font-size: 13.5px; gap: 8px; }
.btn--lg { --btn-h: 54px; padding: 0 34px; font-size: 15.5px; }
.btn--block { display: flex; width: 100%; }

/* odkaz so zlatou linkou pod textom a šípkou */
.link-arrow {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 14.5px; font-weight: 700; color: var(--c-text);
}
.link-arrow > span { position: relative; padding-bottom: 9px; }
.link-arrow > span::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--c-gold); border-radius: 2px; transform-origin: left; transition: transform .3s var(--ease);
}
.link-arrow .icon { width: 17px; height: 17px; margin-bottom: 9px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }
.link-arrow:hover > span::after { transform: scaleX(1.08); }
.section--dark .link-arrow { color: #fff; }

/* ---------- 6. Karty, štítky, placeholdery ---------- */
.card {
  display: block; position: relative;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: #e4e1da; }
.card__body { padding: 24px; }

.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
  border-radius: var(--radius-pill); background: var(--c-tag);
  font-size: 12px; font-weight: 500; line-height: 1; color: var(--c-text-2); white-space: nowrap;
}
.tag--gold { background: rgba(211, 167, 104, .14); color: var(--c-gold-ink); }
.section--dark .tag { background: rgba(255, 255, 255, .07); color: var(--c-text-on-dark-2); }

/* Sivý placeholder obrázka (helper img()) */
.ph {
  display: flex; align-items: center; justify-content: center; width: 100%;
  background: #d9dbde; color: #8a8f96; font-size: 12px; font-weight: 500; letter-spacing: .02em;
  overflow: hidden; user-select: none;
}
.ph--light { background: #d9dbde; color: #8a8f96; }
.ph--dark { background: #2a3036; color: #6b737b; }
.ph span { white-space: nowrap; }

/* ---------- 7. Formuláre ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .field--full, .form-grid .form-row--full { grid-column: 1 / -1; }
.form-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-row--between { justify-content: space-between; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field .label { font-size: 13.5px; font-weight: 600; color: var(--c-text); line-height: 1.4; }
.field label .req, .req { color: var(--c-gold-ink); }
.field small, .field-help { font-size: 12.5px; color: var(--c-text-2); line-height: 1.5; }
.input, .textarea, .select {
  width: 100%; min-height: 48px; padding: 12px 16px;
  background: #fff; border: 1px solid #dcdcd8; border-radius: var(--radius);
  font-size: 15px; line-height: 1.4; color: var(--c-text);
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #a3a7ad; }
.input:hover, .textarea:hover, .select:hover { border-color: #c9c7c0; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(211, 167, 104, .2); }
.textarea { min-height: 140px; resize: vertical; }
.select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f747b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.is-invalid .input, .is-invalid .textarea, .is-invalid .select,
.input.is-invalid, .textarea.is-invalid, .select.is-invalid { border-color: var(--c-error); }
.field-error { font-size: 12.5px; color: var(--c-error); font-weight: 500; line-height: 1.4; }
.form-note { font-size: 12.5px; color: var(--c-text-2); line-height: 1.6; }
.form-note a { color: var(--c-gold-ink); text-decoration: underline; text-underline-offset: 2px; }

/* vlastný checkbox / radio */
.checkbox, .radio { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--c-text-2); cursor: pointer; }
.checkbox input, .radio input {
  flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid #c9c7c0; background: #fff;
  border-radius: 5px; -webkit-appearance: none; appearance: none; cursor: pointer; display: grid; place-content: center;
  transition: background .2s, border-color .2s;
}
.radio input { border-radius: 50%; }
.checkbox input::after {
  content: ''; width: 10px; height: 6px; border: 2px solid #1a1408; border-top: 0; border-right: 0;
  transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .15s var(--ease);
}
.radio input::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #1a1408; transform: scale(0); transition: transform .15s var(--ease); }
.checkbox input:checked, .radio input:checked { background: var(--c-gold); border-color: var(--c-gold); }
.checkbox input:checked::after { transform: rotate(-45deg) scale(1); }
.radio input:checked::after { transform: scale(1); }
.checkbox input:focus-visible, .radio input:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.checkbox a { color: var(--c-gold-ink); text-decoration: underline; text-underline-offset: 2px; }
/* honeypot */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Tmavá varianta formulára */
.section--dark .field label { color: #fff; }
.section--dark .input, .section--dark .textarea, .section--dark .select { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: #fff; }

/* Alerty */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; border-radius: var(--radius); border: 1px solid; font-size: 14.5px; line-height: 1.6;
}
.alert .icon { width: 20px; height: 20px; margin-top: 2px; }
.alert--success { background: #eef7f1; border-color: #cfe8d9; color: #1f6b43; }
.alert--error { background: #fbefee; border-color: #f0d1ce; color: #9b2f28; }
.alert--info { background: #fbf6ee; border-color: #efe0c6; color: #7d5a26; }

/* ---------- 8. Hlavička ---------- */
.site-header {
  top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid var(--c-line-dark);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.site-header--overlay { position: fixed; background: linear-gradient(90deg, rgba(20, 26, 30, .92) 0%, rgba(20, 26, 30, .82) 55%, rgba(20, 26, 30, .55) 100%); }
.site-header--solid { position: sticky; background: var(--c-bg-dark-2); }
.site-header.is-scrolled { background: rgba(16, 21, 25, .97); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header__inner { display: flex; align-items: center; height: 100%; gap: 24px; }

/* Logo (inline SVG značka + text) */
.logo { display: inline-flex; align-items: center; gap: 22px; flex: none; color: #fff; }
.logo__mark { width: 62px; height: auto; transition: transform .35s var(--ease), filter .35s; }
.logo:hover .logo__mark { transform: translateY(-1px); filter: drop-shadow(0 4px 10px rgba(211, 167, 104, .35)); }
.logo__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__name { font-size: 28px; font-weight: 800; letter-spacing: .12em; margin-right: -.12em; color: #fff; }
.logo__sub { font-size: 10px; font-weight: 600; letter-spacing: .38em; margin-right: -.38em; color: var(--c-gold); margin-top: 6px; }
.logo--img img { height: 44px; width: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav__list { display: flex; gap: 35px; }
.main-nav__link {
  position: relative; display: block; padding: 8px 0;
  font-size: 14px; font-weight: 500; color: #fff; line-height: 1.4; transition: color .2s;
}
.main-nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; border-radius: 2px;
  background: var(--c-gold); transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease);
}
.main-nav__link:hover { color: var(--c-gold-2); }
.main-nav__link:hover::after { transform: scaleX(.4); }
.main-nav__link.is-active::after { transform: scaleX(1); }
.site-header__cta { --btn-h: 46px; padding: 0 24px; font-size: 13.5px; gap: 16px; }

/* Hamburger */
.burger { display: none; width: 46px; height: 46px; margin-right: -10px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s, top .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; right: 18px; background: var(--c-gold); }
.burger span:nth-child(3) { top: 28px; }
.burger:hover span:nth-child(2) { right: 12px; }

/* Mobilné menu – fullscreen tmavý panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: 350; display: flex; flex-direction: column;
  background: radial-gradient(120% 60% at 100% 0%, rgba(211, 167, 104, .12), transparent 60%), var(--c-bg-dark);
  overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); border-bottom: 1px solid var(--c-line-dark); flex: none; }
.mobile-nav__close { width: 46px; height: 46px; margin-right: -10px; display: grid; place-items: center; color: #fff; border-radius: 50%; }
.mobile-nav__close .icon { width: 26px; height: 26px; }
.mobile-nav__body { padding-top: 24px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 28px; flex: 1; }
.mobile-nav__list { display: flex; flex-direction: column; }
.mobile-nav__list li { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.mobile-nav.is-open .mobile-nav__list li { opacity: 1; transform: none; }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0;
  font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: #fff; border-bottom: 1px solid var(--c-line-dark);
}
.mobile-nav__link .icon { width: 20px; height: 20px; color: var(--c-gold); opacity: .6; transition: transform .25s var(--ease), opacity .2s; }
.mobile-nav__link:hover .icon, .mobile-nav__link.is-active .icon { opacity: 1; transform: translateX(4px); }
.mobile-nav__link.is-active { color: var(--c-gold-2); }
.mobile-nav__contacts { display: grid; gap: 12px; margin-top: auto; }
.mobile-nav__contacts a { display: inline-flex; align-items: center; gap: 12px; color: var(--c-text-on-dark-2); font-size: 15px; }
.mobile-nav__contacts .icon { color: var(--c-gold); width: 18px; height: 18px; }
body.nav-open { overflow: hidden; }

/* ---------- 9. Page hero, breadcrumbs, prose ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--c-bg-dark); color: var(--c-text-on-dark-2);
  padding: 64px 0 68px;
}
.header-overlay .page-hero { padding-top: calc(var(--header-h) + 64px); }
.page-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 120% at 92% 0%, rgba(211, 167, 104, .16), transparent 60%),
    radial-gradient(40% 80% at 70% 120%, rgba(211, 167, 104, .07), transparent 70%);
}
.page-hero__bg::after { /* jemná mriežka */
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%); mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
}
.page-hero__inner { position: relative; }
.page-hero__title { font-size: 46px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: #fff; max-width: 820px; }
.page-hero__text { margin-top: 16px; max-width: 620px; font-size: 16px; line-height: 1.75; color: var(--c-text-on-dark-2); }
.page-hero .eyebrow { margin-bottom: 12px; }

.breadcrumbs { margin-bottom: 26px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13px; color: var(--c-text-on-dark-2); }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: ''; width: 5px; height: 5px; margin: 0 12px; border-radius: 50%; background: var(--c-gold); opacity: .8; }
.breadcrumbs a { color: var(--c-text-on-dark-2); transition: color .2s; }
.breadcrumbs a:hover { color: var(--c-gold-2); }
.breadcrumbs [aria-current] { color: #fff; font-weight: 500; }
.section--light .breadcrumbs ol, .section--white .breadcrumbs ol, .breadcrumbs--light ol { color: var(--c-text-2); }
.breadcrumbs--light a { color: var(--c-text-2); } .breadcrumbs--light [aria-current] { color: var(--c-text); }

/* Formátovanie HTML obsahu z editora */
.prose { font-size: 16px; line-height: 1.8; color: #3d4248; max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; color: var(--c-text); margin-top: 1.8em; }
.prose h3 { font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--c-text); margin-top: 1.6em; }
.prose h4 { font-size: 17px; font-weight: 700; color: var(--c-text); margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { color: var(--c-gold-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--c-text); }
.prose strong, .prose b { color: var(--c-text); font-weight: 700; }
.prose ul, .prose ol { padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-gold); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 34px; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; background: rgba(211, 167, 104, .15); color: var(--c-gold-ink); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.prose li + li { margin-top: .45em; }
.prose blockquote { border-left: 3px solid var(--c-gold); padding: 6px 0 6px 22px; font-size: 18px; font-style: italic; color: var(--c-text); }
.prose img { border-radius: var(--radius); }
.prose figure figcaption { font-size: 13px; color: var(--c-text-2); margin-top: 8px; }
.prose hr { border: 0; height: 1px; background: var(--c-line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-line); }
.prose th { color: var(--c-text); font-weight: 700; }
.prose code { background: var(--c-tag); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.prose pre { background: var(--c-bg-dark); color: #e6e6e6; padding: 18px; border-radius: var(--radius); overflow-x: auto; font-size: 14px; }
.prose pre code { background: none; padding: 0; }

/* ---------- 10. Homepage ---------- */

/* Hero */
.hero { position: relative; background: var(--c-bg-dark); color: #fff; overflow: hidden; min-height: 536px; display: flex; }
.hero__media { position: absolute; top: 0; bottom: 0; left: 41%; right: 0; }
.hero__media > .ph, .hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: cover; }
.hero__media > .ph span { transform: translate(8%, 18px); }
.hero__media::before { /* prechod z tmavej do obrázka */
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--c-bg-dark) 0%, rgba(13, 18, 22, .82) 12%, rgba(13, 18, 22, .35) 32%, rgba(13, 18, 22, 0) 55%);
}
.hero__media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 1; background: linear-gradient(0deg, rgba(13, 18, 22, .45), transparent); }
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; padding-top: calc(var(--header-h) + 56px); padding-bottom: 56px; }
.hero__content { max-width: 560px; }
.hero__eyebrow { gap: 0 18px; margin-bottom: 14px; font-size: 13.5px; }
.hero__title { font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -.022em; color: #fff; max-width: 470px; }
.hero__text { margin-top: 16px; max-width: 452px; font-size: 15px; line-height: 1.65; color: #e3e5e8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero__actions .btn { --btn-h: 45px; }
.hero__actions .btn--gold { min-width: 230px; }
.hero__actions .btn--ghost { min-width: 156px; }

/* Služby */
.home-services { padding: 28px 0; }
.home-services__grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 24px; align-items: start; }
.home-services__intro { padding-top: 22px; }
.home-services__intro .h2 { max-width: 360px; }
.home-services__intro .lead { margin-top: 18px; max-width: 360px; font-size: 15px; line-height: 1.72; }
.home-services__intro .link-arrow { margin-top: 30px; }
.home-services__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 15px; margin-right: -30px; }
.service-card { display: flex; align-items: stretch; gap: 16px; padding: 16px 8px 16px 16px; min-height: 164px; }
.service-card__media { flex: none; width: 150px; align-self: center; }
.service-card__media .ph, .service-card__media img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 160 / 120; object-fit: cover; }
.service-card__body { display: flex; flex-direction: column; padding-top: 10px; min-width: 0; }
.service-card__title { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--c-text); letter-spacing: -.018em; }
.service-card__text { margin-top: 10px; font-size: 12px; line-height: 1.6; color: var(--c-text-2); letter-spacing: -.005em; }
.service-card__arrow { margin-top: auto; padding-top: 10px; color: var(--c-text); }
.service-card__arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease), color .2s; }
.service-card:hover .service-card__arrow .icon { transform: translateX(5px); color: var(--c-gold-3); }

/* Technológie */
.home-tech { padding: 42px 0 44px; min-height: 214px; }
.home-tech__inner { display: flex; align-items: center; }
.home-tech__intro { flex: 0 0 auto; width: 465px; padding-right: 24px; }
.home-tech__intro .eyebrow { margin-bottom: 12px; }
.home-tech__title { font-size: 31px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; color: #fff; }
.home-tech__text { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: var(--c-text-on-dark-2); max-width: 400px; }
.home-tech__divider { flex: none; width: 1px; height: 84px; margin-top: 18px; background: linear-gradient(180deg, rgba(211, 167, 104, .15), rgba(211, 167, 104, .65), rgba(211, 167, 104, .15)); }
.home-tech__list { flex: 1; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); margin-top: 18px; margin-right: -12px; }
.tech-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 84px; text-align: center; padding: 0 8px; }
.tech-item + .tech-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .14); }
.tech-item__icon { display: grid; place-items: center; height: 58px; color: #fff; transition: transform .35s var(--ease), color .3s; }
.tech-item__icon .icon { width: auto; height: 56px; }
.tech-item__icon .icon--woocommerce { height: 52px; }
.tech-item__icon .icon--code { height: 50px; }
.tech-item__icon .icon--blocks { height: 46px; }
.tech-item__icon img { max-height: 46px; width: auto; }
.tech-item__name { font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.3; }
.tech-item:hover .tech-item__icon { transform: translateY(-4px); color: var(--c-gold-2); }

/* Portfólio */
.home-portfolio { padding: 42px 0 36px; }
.home-portfolio .section-head { margin-bottom: 36px; }
.home-portfolio .section-head__btn { margin-bottom: 40px; margin-right: 0; }
.home-portfolio .section-head__text .lead { line-height: 1.75; max-width: 375px; }
.project-grid { gap: 30px; }
.project-card { overflow: hidden; display: flex; flex-direction: column; }
.project-card__media { display: block; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; margin: -1px -1px 0; }
.project-card__media .ph, .project-card__media img { width: 100%; aspect-ratio: 290 / 200; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-card__media .ph, .project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__body { display: flex; flex-direction: column; padding: 16px 16px 24px 15px; }
.project-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-card__title { font-size: 15px; font-weight: 700; color: var(--c-text); line-height: 1.4; }
.project-card__arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease), color .2s; }
.project-card:hover .project-card__arrow .icon { transform: translateX(4px); color: var(--c-gold-3); }
.project-card__sub { margin-top: 4px; font-size: 13px; color: var(--c-text-2); line-height: 1.5; }
.project-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.project-card__tags .tag { height: 24px; font-size: 11px; padding: 0 12px; }

/* Recenzie – karusel */
.home-reviews { padding: 64px 0 72px; }
.home-reviews .section-head { margin-bottom: 32px; }
.carousel-nav { display: flex; gap: 10px; flex: none; }
.carousel-btn {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--c-gold); color: var(--c-text); transition: background .2s, color .2s, transform .2s, opacity .2s;
}
.carousel-btn .icon { width: 18px; height: 18px; }
.carousel-btn:hover { background: var(--g-gold); border-color: transparent; }
.carousel-btn[disabled] { opacity: .35; pointer-events: none; }
.carousel { --per: 3; --gap: 30px; position: relative; }
.carousel__viewport { overflow: hidden; margin: -16px -16px -20px; padding: 16px 16px 20px; }
.carousel__track { display: flex; gap: var(--gap); transition: transform .55s var(--ease); will-change: transform; touch-action: pan-y; }
.carousel__slide { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; display: flex; }
.review-card { display: flex; flex-direction: column; width: 100%; padding: 28px 28px 26px; }
.review-card__quote { position: absolute; right: 24px; top: 22px; color: rgba(211, 167, 104, .22); }
.review-card__quote .icon { width: 44px; height: 44px; }
.review-card__stars { display: flex; gap: 3px; color: #dcdcd8; }
.review-card__stars .is-on { color: var(--c-gold); }
.review-card__stars .icon { width: 17px; height: 17px; }
.review-card__text { margin-top: 18px; flex: 1; font-size: 15px; line-height: 1.75; color: #3d4248; }
.review-card__author { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.review-card__author strong { display: block; font-size: 15px; color: var(--c-text); line-height: 1.3; }
.review-card__author small { display: block; font-size: 13px; color: var(--c-text-2); line-height: 1.4; margin-top: 2px; }
.review-card__avatar, .review-card__photo { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-card__avatar { display: grid; place-items: center; background: var(--g-gold); color: #1a1408; font-weight: 800; font-size: 17px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.carousel__dot { width: 8px; height: 8px; border-radius: var(--radius-pill); background: #d6d4ce; transition: width .3s var(--ease), background .3s; }
.carousel__dot.is-active { width: 28px; background: var(--c-gold); }
.carousel__dot:hover { background: var(--c-gold-2); }

/* CTA */
.home-cta { position: relative; background: var(--c-bg-dark); color: #fff; overflow: hidden; min-height: 308px; display: flex; }
.home-cta__media { position: absolute; top: 0; bottom: 0; left: 46%; right: 0; }
.home-cta__media > .ph, .home-cta__media > img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: cover; }
.home-cta__media > .ph span { transform: translateX(30%); }
.home-cta__media::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--c-bg-dark) 0%, rgba(13, 18, 22, .88) 18%, rgba(13, 18, 22, .55) 42%, rgba(13, 18, 22, .1) 75%, rgba(13, 18, 22, 0) 100%);
}
.home-cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 582px minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 50px; padding-bottom: 50px; }
.home-cta__content .eyebrow { margin-bottom: 14px; }
.home-cta__title { font-size: 34px; line-height: 1.2; font-weight: 700; letter-spacing: -.018em; color: #fff; }
.home-cta__text { margin-top: 14px; max-width: 470px; font-size: 15px; line-height: 1.7; color: #e3e5e8; }
.home-cta__content .btn { margin-top: 26px; min-width: 244px; --btn-h: 46px; }
.home-cta__benefits { display: grid; gap: 22px; align-self: start; padding-top: 8px; }
.benefit { display: flex; align-items: flex-start; gap: 20px; }
.benefit__icon { flex: none; width: 30px; height: 30px; color: var(--c-gold); margin-top: 6px; transition: transform .35s var(--ease); }
.benefit__icon .icon { width: 30px; height: 30px; }
.benefit:hover .benefit__icon { transform: scale(1.1) rotate(-4deg); }
.benefit__title { display: block; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.5; }
.benefit__text { display: block; margin-top: 4px; font-size: 12.5px; color: var(--c-text-on-dark-2); line-height: 1.5; }

/* ---------- 11. Pätička ---------- */
.site-footer { background: var(--c-bg-dark); color: var(--c-text-on-dark-2); border-top: 1px solid var(--c-line-dark); }
.site-footer__main { display: flex; align-items: center; gap: 0; min-height: 96px; padding: 14px 0; }
.site-footer__logo { gap: 16px; }
.site-footer__logo .logo__mark { width: 44px; }
.site-footer__logo .logo__name { font-size: 19px; }
.site-footer__logo .logo__sub { font-size: 7.5px; margin-top: 4px; }
.site-footer__divider { flex: none; width: 1px; height: 56px; background: rgba(255, 255, 255, .12); margin: 0 46px 0 54px; }
.site-footer__tagline { font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.4; margin-right: auto; padding-right: 24px; white-space: nowrap; }
.site-footer__nav { display: flex; gap: 30px; margin-right: 84px; margin-left: 24px; }
.site-footer__nav a, .site-footer__legal a, .site-footer__cookie-btn { font-size: 12.5px; color: var(--c-text-on-dark-2); transition: color .2s; }
.site-footer__nav a:hover, .site-footer__legal a:hover, .site-footer__cookie-btn:hover, .site-footer__contacts a:hover { color: var(--c-gold-2); }
.site-footer__copy { font-size: 10px; color: var(--c-text-on-dark-2); line-height: 1.4; white-space: nowrap; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 32px; padding: 16px 0 22px; border-top: 1px solid var(--c-line-dark); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.site-footer__legal a, .site-footer__cookie-btn { font-size: 12px; color: #8c9197; }
.site-footer__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.site-footer__contacts a { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #8c9197; transition: color .2s; }
.site-footer__contacts .icon { width: 14px; height: 14px; color: var(--c-gold); }
.site-footer__social .icon { width: 16px; height: 16px; }

/* ---------- 12. Cookie lišta + modal ---------- */
.cookie-bar {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 300;
  display: flex; justify-content: center; pointer-events: none;
  animation: va-up .5s var(--ease) both;
}
.cookie-bar__inner {
  pointer-events: auto; display: flex; align-items: center; gap: 18px; max-width: 980px; width: 100%;
  padding: 16px 18px 16px 20px; border-radius: var(--radius-lg);
  background: rgba(20, 26, 30, .97); border: 1px solid rgba(211, 167, 104, .25); color: var(--c-text-on-dark-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.cookie-bar__icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(211, 167, 104, .12); color: var(--c-gold); }
.cookie-bar__icon .icon { width: 22px; height: 22px; }
.cookie-bar__text { flex: 1; font-size: 13.5px; line-height: 1.55; }
.cookie-bar__text a { color: var(--c-gold-2); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__actions { display: flex; gap: 8px; flex: none; }
.cookie-bar .btn--ghost { border-color: rgba(255, 255, 255, .25); }

.cookie-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; }
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 11, 13, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: va-fade .3s both; }
.cookie-modal__box {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); padding: 34px 34px 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  animation: va-up .4s var(--ease) both;
}
.cookie-modal__close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--c-text-2); transition: background .2s, color .2s; }
.cookie-modal__close:hover { background: var(--c-tag); color: var(--c-text); }
.cookie-modal__close .icon { width: 20px; height: 20px; }
.cookie-modal .eyebrow { color: var(--c-gold-ink); margin-bottom: 8px; }
.cookie-modal__title { font-size: 25px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.cookie-modal__intro { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--c-text-2); }
.cookie-modal__intro a { color: var(--c-gold-ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-cats { display: grid; gap: 10px; margin-top: 22px; }
.cookie-cat { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg-light); cursor: pointer; }
.cookie-cat__text strong { display: block; font-size: 14.5px; color: var(--c-text); }
.cookie-cat__text small { display: block; font-size: 12.5px; line-height: 1.5; color: var(--c-text-2); margin-top: 2px; }
.cookie-modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 24px; }

/* Prepínač (toggle) */
.toggle { position: relative; flex: none; width: 46px; height: 26px; }
.toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.toggle span { position: absolute; inset: 0; border-radius: var(--radius-pill); background: #cfd0cc; transition: background .25s; }
.toggle span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.toggle input:checked + span { background: var(--c-gold); }
.toggle input:checked + span::after { transform: translateX(20px); }
.toggle input:disabled + span { opacity: .6; }
.toggle input:focus-visible + span { outline: 2px solid var(--c-gold); outline-offset: 2px; }

/* ---------- 13. 404 ---------- */
.error-page { position: relative; overflow: hidden; background: var(--c-bg-dark); color: var(--c-text-on-dark-2); min-height: calc(100vh - var(--header-h) - 160px); display: flex; align-items: center; padding: 90px 0 100px; text-align: center; }
.error-page__glow { position: absolute; inset: 0; background: radial-gradient(40% 50% at 50% 40%, rgba(211, 167, 104, .14), transparent 70%); pointer-events: none; }
.error-page__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.error-page__mark { width: 64px; height: auto; margin-bottom: 18px; }
.error-page__code {
  font-size: clamp(110px, 18vw, 200px); line-height: .9; font-weight: 800; letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(233, 201, 149, .9), rgba(184, 138, 76, .15));
  -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 20px;
}
.error-page .eyebrow { justify-content: center; }
.error-page__title { font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -.018em; color: #fff; max-width: 640px; }
.error-page__text { margin-top: 14px; max-width: 520px; font-size: 15.5px; line-height: 1.7; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.error-page__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 36px; font-size: 14px; }
.error-page__links a { color: var(--c-text-on-dark-2); border-bottom: 1px solid rgba(211, 167, 104, .4); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.error-page__links a:hover { color: var(--c-gold-2); border-color: var(--c-gold); }

/* ---------- 14. Reveal animácie ---------- */
@keyframes va-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes va-fade { from { opacity: 0; } to { opacity: 1; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* karty s reveal: po odhalení vrátiť hover transition */
.js .card.reveal.is-visible { transition: opacity .7s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.js a.card.reveal.is-visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 15. Responzivita ---------- */
@media (max-width: 1280px) {
  .home-services__cards { margin-right: 0; }
  .site-footer__nav { margin-right: 48px; }
}

@media (max-width: 1200px) {
  .main-nav__list { gap: 26px; }
  .site-header__cta { margin-right: 0; padding: 0 20px; }
  .home-services__grid { grid-template-columns: 330px minmax(0, 1fr); }
  .home-services__cards { gap: 18px; }
  .service-card { flex-direction: column; gap: 14px; padding: 14px; }
  .service-card__media { width: 100%; }
  .service-card__body { padding-top: 0; }
  .home-tech__intro { width: 360px; }
  .project-grid { gap: 22px; }
  .home-cta__inner { grid-template-columns: minmax(0, 1fr) 360px; }
  .site-footer__main { flex-wrap: wrap; row-gap: 16px; }
  .site-footer__divider { margin: 0 32px; }
  .site-footer__tagline { margin-right: 0; flex: 1; }
  .site-footer__nav { margin-right: 0; order: 5; flex: 1; }
  .site-footer__copy { order: 6; }
}

@media (max-width: 992px) {
  :root { --header-h: 68px; }
  .main-nav, .site-header__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .site-header__inner { justify-content: space-between; }
  .logo { gap: 16px; }
  .logo__mark { width: 48px; }
  .logo__name { font-size: 21px; }
  .logo__sub { font-size: 8.5px; margin-top: 5px; }

  .section { padding: 60px 0; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h2 { font-size: 34px; }

  .hero { min-height: 0; }
  .hero__media { left: 0; }
  .hero__media::before { background: linear-gradient(90deg, rgba(13, 18, 22, .95) 0%, rgba(13, 18, 22, .8) 50%, rgba(13, 18, 22, .55) 100%); }
  .hero__inner { padding-top: calc(var(--header-h) + 64px); padding-bottom: 72px; }
  .hero__title { font-size: 44px; max-width: 520px; }

  .home-services { padding: 60px 0; }
  .home-services__grid { grid-template-columns: 1fr; gap: 36px; }
  .home-services__intro { padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: end; }
  .home-services__intro .eyebrow, .home-services__intro .h2 { grid-column: 1; }
  .home-services__intro .lead { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; align-self: end; }
  .home-services__intro .link-arrow { grid-column: 2; justify-self: start; margin-top: 18px; }
  .service-card { flex-direction: row; gap: 18px; }
  .service-card__media { width: 140px; }
  .service-card__body { padding-top: 6px; }

  .home-tech { padding: 52px 0; }
  .home-tech__inner { flex-direction: column; align-items: stretch; }
  .home-tech__intro { width: auto; padding-right: 0; text-align: center; }
  .home-tech__intro .eyebrow { justify-content: center; }
  .home-tech__text { margin-left: auto; margin-right: auto; }
  .home-tech__divider { width: 120px; height: 1px; margin: 30px auto 26px; background: linear-gradient(90deg, rgba(211, 167, 104, .1), rgba(211, 167, 104, .7), rgba(211, 167, 104, .1)); }
  .home-tech__list { margin: 0; }

  .home-portfolio { padding: 60px 0; }
  .home-cta__media { left: 0; }
  .home-cta__media::before { background: linear-gradient(90deg, rgba(13, 18, 22, .96) 0%, rgba(13, 18, 22, .82) 60%, rgba(13, 18, 22, .6) 100%); }
  .home-cta__inner { grid-template-columns: 1fr 1fr; padding-top: 60px; padding-bottom: 60px; }
  .carousel { --per: 2; --gap: 22px; }

  .page-hero { padding: 52px 0 56px; }
  .page-hero__title { font-size: 40px; }

  .site-footer__main { padding: 28px 0 20px; }
  .site-footer__tagline { flex-basis: 100%; order: 3; padding-right: 0; }
  .site-footer__divider { display: none; }
  .site-footer__nav { order: 4; flex-basis: 100%; flex-wrap: wrap; gap: 8px 26px; margin-left: 0; }
  .hero__media > .ph span, .home-cta__media > .ph span { display: none; }
  .site-footer__copy { order: 6; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }
  .section { padding: 52px 0; }
  .h2 { font-size: 30px; }
  .grid--2, .form-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
  .section-head__btn, .home-portfolio .section-head__btn { margin-bottom: 0; }

  .hero__inner { padding-top: calc(var(--header-h) + 52px); padding-bottom: 60px; }
  .hero__title { font-size: 40px; }
  .hero__text { font-size: 15.5px; }

  .home-services { padding: 52px 0; }
  .home-services__intro { display: block; }
  .home-services__intro .lead { margin-top: 16px; }
  .home-services__intro .link-arrow { margin-top: 22px; }
  .home-services__cards { gap: 14px; }

  /* technológie – 3 + 2 */
  .home-tech__list { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 28px; }
  .tech-item { grid-column: span 2; }
  .tech-item:nth-child(4) { grid-column: 2 / span 2; }
  .tech-item:nth-child(5) { grid-column: 4 / span 2; }
  .tech-item:nth-child(4)::before { display: none; }
  .tech-item:nth-child(n+6) { grid-column: span 2; }

  .home-portfolio { padding: 52px 0; }
  .home-cta__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 56px; }
  .home-cta__title { font-size: 30px; }
  .home-cta__benefits { padding: 22px 20px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--c-line-dark); }
  .home-reviews { padding: 52px 0 60px; }
  .carousel-nav { display: none; }

  .page-hero__title { font-size: 34px; }
  .prose { font-size: 15.5px; }
  .prose h2 { font-size: 24px; }

  .cookie-bar { left: 12px; right: 12px; bottom: 12px; }
  .cookie-bar__inner { flex-wrap: wrap; padding: 16px; gap: 12px 14px; }
  .cookie-bar__text { flex-basis: calc(100% - 60px); }
  .cookie-bar__actions { width: 100%; }
  .cookie-bar__actions .btn { flex: 1; padding: 0 10px; }
  .cookie-modal__box { padding: 28px 22px 22px; }
  .cookie-modal__actions .btn { flex: 1 1 auto; }

  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .error-page__title { font-size: 28px; }
}

@media (max-width: 600px) {
  .home-services__cards { grid-template-columns: 1fr; }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .carousel { --per: 1; --gap: 16px; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .h2 { font-size: 27px; }
  .btn { padding: 0 22px; }
  .eyebrow { font-size: 12px; }
  .hero__eyebrow { gap: 0 10px; font-size: 12px; }
  .hero__title { font-size: 34px; line-height: 1.12; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; min-width: 0; }
  .service-card { gap: 14px; padding: 12px; min-height: 0; }
  .service-card__media { width: 104px; align-self: flex-start; }
  .service-card__body { padding-top: 2px; }
  .service-card__title { font-size: 15px; }
  .home-tech__title { font-size: 27px; }
  .tech-item__icon .icon { height: 36px; }
  .tech-item__name { font-size: 13px; }
  .home-cta__title { font-size: 27px; }
  .home-cta__content .btn { width: 100%; min-width: 0; }
  .review-card { padding: 24px 22px 22px; }
  .page-hero__title { font-size: 30px; }
  .page-hero__text { font-size: 15px; }
  .logo__mark { width: 42px; }
  .logo__name { font-size: 19px; }
  .site-footer__nav { gap: 8px 20px; }
  .site-footer__copy { white-space: normal; }
  .cookie-modal__actions { flex-direction: column; }
}
