/* =========================================================
   Kateřina Minaříková — osobní web
   Fonty jsou hostované lokálně (žádný požadavek na Google).
   ========================================================= */

/* Inter Tight — latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-tight-normal-latin-ext.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;
}

/* Inter Tight — latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-tight-normal-latin.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;
}

/* Inter Tight — latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-tight-normal-latin-ext.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;
}

/* Inter Tight — latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-tight-normal-latin.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;
}

/* Inter Tight — latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-tight-normal-latin-ext.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;
}

/* Inter Tight — latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-tight-normal-latin.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;
}


:root {
  --paper: #faf9f6;
  --paper-deep: #f1efe9;
  --ink: #14161a;
  --ink-soft: #4b5058;
  --ink-faint: #8b9099;
  --accent: #1b3fd6;
  --accent-deep: #122990;
  --line: #e2ded4;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --step-hero: clamp(2.2rem, 4.2vw, 3.55rem);
  --step-h1: clamp(2.1rem, 5.2vw, 4rem);
  --step-h2: clamp(1.65rem, 3.4vw, 2.7rem);
  --step-h3: clamp(1.15rem, 1.8vw, 1.45rem);
  --step-lead: clamp(1.1rem, 1.65vw, 1.4rem);
  --step-body: clamp(1rem, 1.15vw, 1.09rem);

  /* celý web běží na jednom písmu */
  --sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

figure { margin: 0; }

/* atribut hidden musí přebít i vlastní display (např. .form { display: grid }) */
[hidden] { display: none !important; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.026em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #fff; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 860px; }

section { padding-block: clamp(3.25rem, 6.5vw, 6rem); }
section.tight { padding-block: clamp(2.5rem, 4.5vw, 4rem); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- typography helpers ---------- */

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1.4rem;
  display: block;
}

.eyebrow--muted { color: var(--ink-faint); }

.lead {
  font-size: var(--step-lead);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46ch;
}

.muted { color: var(--ink-soft); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.is-stuck { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
}

.brand {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  white-space: nowrap;
}

.brand span { color: var(--ink-faint); font-weight: 400; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a.btn,
.nav a.btn:hover { color: #fff; }
.nav a.btn::after { display: none; }

.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  margin-right: -0.5rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.75rem;
    display: none;
  }

  .nav.is-open { display: flex; }

  .nav a { font-size: 1.3rem; padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.25rem; text-align: center; border-bottom: 0; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.82rem 1.5rem;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--accent);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--paper-deep); border-color: var(--paper-deep); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--accent);
  font-size: 0.98rem;
}

.arrow-link svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6.5rem); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero h1 { font-size: var(--step-hero); letter-spacing: -0.035em; overflow-wrap: break-word; }

.hero .lead { margin-top: 1.9rem; max-width: 40ch; }

.hero .btn-row { margin-top: 2.4rem; }

.hero__figure { position: relative; }

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 32%;
  border-radius: 3px;
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .hero__figure img { aspect-ratio: 3 / 2; object-position: 50% 30%; }
}

/* ---------- page head (inner pages) ---------- */

.page-head { padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.25rem, 4vw, 3.5rem); }
.page-head h1 { font-size: var(--step-h1); }
.page-head .lead { margin-top: 1.5rem; max-width: 52ch; }

.breadcrumb {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-bottom: 1.6rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- section head ---------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 { font-size: var(--step-h2); }
.section-head p { color: var(--ink-soft); max-width: 46ch; margin: 0; }

@media (max-width: 780px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- service cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.4vw, 2.25rem);
  row-gap: clamp(2rem, 3.5vw, 2.75rem);
}

/* pět služeb se rozloží 3 + 2, ne 4 + 1 */
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* stejný princip jako u pruhu s fakty — linka nahoře u každé
   karty, žádné svislé předěly */
.card {
  border-top: 2px solid var(--ink);
  padding: 1.15rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.card:hover { opacity: 0.62; }

.card__num { font-size: 0.75rem; color: var(--ink-faint); letter-spacing: 0.1em; }
.card h3 { font-size: var(--step-h3); font-weight: 600; }
.card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; flex: 1; }

.card__price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
}

.card__go {
  font-size: 0.85rem;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card:hover .card__go { color: var(--accent); }
.card__go svg { width: 13px; height: 13px; transition: transform 0.25s ease; }
.card:hover .card__go svg { transform: translateX(3px); }

.card__go { margin-top: 0.35rem; }

@media (max-width: 900px) {
  .cards,
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .cards,
  .cards--3 { grid-template-columns: 1fr; }
}

/* ---------- reference / case studies ---------- */

.cases { display: grid; gap: clamp(3rem, 6vw, 5.5rem); }

.case {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  text-decoration: none;
}

.case:nth-child(even) .case__media { order: 2; }

.case__media {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.case__body h3 { font-size: var(--step-h2); margin-bottom: 1rem; }
.case__body p { color: var(--ink-soft); max-width: 44ch; }

.case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 1.75rem;
}

.tag {
  font-size: 0.78rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.28rem 0.65rem;
  color: var(--ink-soft);
  background: var(--paper);
}

@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__media { order: 0; }
}

/* browser frame mock */

.frame { background: #fff; }

.frame__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.frame__dot { width: 9px; height: 9px; border-radius: 50%; background: #d3cec3; }

.frame__url {
  margin-left: 0.6rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.18rem 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* skutečný snímek webu v rámečku prohlížeče —
   ořez shora skryje cookies lištu na spodní hraně snímku */
.frame__shot {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 50% 0;
  background: #fff;
}

.frame__shot--tall { aspect-ratio: 16 / 9; }

/* skutečné příspěvky ze sociálních sítí */

.reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  padding: clamp(0.9rem, 2.2vw, 1.4rem);
  background: var(--paper-deep);
}

.reels img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}

.reels--solo { max-width: 940px; margin-inline: auto; border: 1px solid var(--line); }

@media (max-width: 520px) {
  .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reels img:nth-child(3) { display: none; }
}

/* ---------- editorial band with photo ---------- */

.band { position: relative; color: #fff; }

.band__bg { position: absolute; inset: 0; overflow: hidden; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 28, 0.82);
}

.band__inner { position: relative; padding-block: clamp(3.5rem, 6.5vw, 5.75rem); }
.band h2 { font-size: var(--step-h2); max-width: 20ch; }
.band p { color: rgba(255, 255, 255, 0.82); max-width: 46ch; }
.band .eyebrow { color: #fff; opacity: 0.72; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* stejná linka jako u faktů a karet, jen v bílé */
.step { border-top: 2px solid #fff; padding-top: 1.15rem; }
.step__n { font-size: 0.78rem; letter-spacing: 0.12em; opacity: 0.55; margin-bottom: 0.6rem; }
.step h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { font-size: 0.93rem; margin: 0; }

/* ---------- split (text + image) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--reverse .split__media { order: 2; }

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
}

.split__media--wide img { aspect-ratio: 3 / 2; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 3 / 2; }
}

/* ---------- lists ---------- */

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.1rem; }

.check-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.col-2 { columns: 2; column-gap: clamp(1.5rem, 4vw, 3rem); }
.col-2 li { break-inside: avoid; }

@media (max-width: 640px) { .col-2 { columns: 1; } }

/* ---------- price table ---------- */

.price-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }

.price-table th {
  text-align: left;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  padding: 0 0 0.9rem;
  border-bottom: 1px solid var(--ink);
}

.price-table th:last-child { text-align: right; }

.price-table td {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  color: var(--accent);
  padding-left: 1rem;
}

.price-table tr:hover td { background: rgba(27, 63, 214, 0.03); }

.price-table .pt-name { font-weight: 500; }
.price-table .pt-note { display: block; font-size: 0.87rem; color: var(--ink-soft); font-weight: 400; margin-top: 0.2rem; }

/* ---------- pill box / callout ---------- */

.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: #fff;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 3px;
}

.callout h3 { font-size: 1.2rem; margin-bottom: 0.7rem; font-weight: 600; }
.callout p { color: var(--ink-soft); margin-bottom: 0; }

.quote {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.03em;
  max-width: 24ch;
}

.quote--accent { color: var(--accent); }

/* ---------- fact strip ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.6vw, 2.5rem);
  row-gap: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0;
}

/* každá položka nese vlastní linku, takže zalomení do dalšího
   řádku vypadá stejně dobře jako jeden řádek */
.fact {
  border-top: 2px solid var(--ink);
  padding-top: 1.15rem;
}

.fact dt {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.fact dd {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--ink);
}

@media (max-width: 880px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  .facts { grid-template-columns: 1fr; }
}

/* ---------- CTA ---------- */

.cta { background: var(--ink); color: #fff; }
.cta h2 { font-size: var(--step-h2); max-width: 22ch; }
.cta p { color: rgba(255, 255, 255, 0.78); max-width: 46ch; }
.cta .btn-row { margin-top: 2.2rem; }
.cta .eyebrow { color: #fff; opacity: 0.65; }

/* ---------- form ---------- */

.form { display: grid; gap: 1.15rem; }

.field { display: grid; gap: 0.45rem; }

.field label { font-size: 0.86rem; font-weight: 500; }

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.8rem 0.95rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27, 63, 214, 0.12);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }

@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.form-note { font-size: 0.82rem; color: var(--ink-faint); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.35rem; }
.contact-list dt { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.3rem; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 5vw, 4.5rem) 2.5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

.footer-grid h4 { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-grid a { text-decoration: none; font-size: 0.94rem; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: var(--ink-faint);
}

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- nabídka na míru ---------- */

.kod-form #kod {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  max-width: 22rem;
}

.kod-form #kod::placeholder { letter-spacing: 0.04em; text-transform: none; color: var(--ink-faint); }

.nabidka {
  border-top: 2px solid var(--ink);
  padding-top: 1.75rem;
  animation: nabidkaIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes nabidkaIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nabidka { animation: none; }
}

/* ---------- cookies ---------- */

.cc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  box-shadow: 0 -18px 40px -30px rgba(20, 22, 26, 0.5);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cc.is-open { transform: none; }

.cc__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: 1.25rem;
}

.cc__text { font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); margin: 0; max-width: 62ch; }
.cc__text strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 0.2rem; }
.cc__text a { color: var(--accent); }

.cc__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

.cc .btn { padding: 0.7rem 1.25rem; font-size: 0.9rem; }

.cc__link {
  background: none;
  border: 0;
  padding: 0.7rem 0.25rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cc__link:hover { color: var(--accent); }

@media (max-width: 780px) {
  .cc__inner { grid-template-columns: 1fr; }
  .cc__actions { justify-content: flex-start; }
  .cc .btn { flex: 1 1 auto; justify-content: center; }
}

/* podrobné nastavení */

.cc-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(11, 15, 28, 0.55);
}

.cc-panel.is-open { display: flex; }

.cc-panel__box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.cc-panel__box h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.cc-panel__box > p { font-size: 0.94rem; color: var(--ink-soft); }

.cc-opt { border-top: 1px solid var(--line); padding: 1.1rem 0; }

.cc-opt__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.cc-opt__head h3 { font-size: 1rem; font-weight: 600; }
.cc-opt p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }
.cc-opt__fixed { font-size: 0.8rem; color: var(--ink-faint); }

.cc-switch { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.85rem; }
.cc-switch input { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }

/* ---------- misc ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
}

.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
