/* ==========================================================================
   Quartersawn — domáci rozpočet
   Vizuálny systém: pokojný papierový podklad, vlasové linky, jeden akcent.
   ========================================================================== */

:root {
  --paper: #f7f7f4;
  --white: #ffffff;
  --ink: #14171a;
  --ink-soft: #333a3f;
  --graphite: #5a6068;
  --hairline: #e4e4de;
  --hairline-soft: #eeeee9;
  --accent: #2f5d50;
  --accent-deep: #22443b;
  --tint: #e8efec;
  --warn: #8a5a1f;

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1180px;
  --gap: 24px;
  --radius: 3px;
  --shadow: 0 1px 2px rgba(20, 23, 26, .04), 0 12px 32px rgba(20, 23, 26, .05);
}

/* --------------------------------------------------------------- základ */

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

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

body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; background: var(--paper); }

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: 1.14;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 1.25rem + 3.1vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.4rem); }
h3 { font-size: clamp(1.16rem, 1.02rem + .55vw, 1.4rem); line-height: 1.28; }
h4 { font-size: 1.02rem; letter-spacing: -.005em; }

p { margin: 0 0 1.05em; }
p.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 62ch; }

ul, ol { padding-left: 1.15em; margin: 0 0 1.1em; }
li { margin-bottom: .45em; }

strong { font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--hairline); margin: 40px 0; }

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

[id] { scroll-margin-top: 96px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 12px; top: 12px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px;
  width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { width: auto; height: auto; overflow: visible; clip-path: none; }

.num { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- hlavička */

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }

.brand__mark {
  width: 34px; height: 34px; flex: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: .92rem; letter-spacing: .04em;
}

.brand__name {
  font-family: var(--serif); font-size: 1.18rem; line-height: 1.05; display: block;
}
.brand__sub {
  display: block; font-size: .625rem; letter-spacing: .21em;
  text-transform: uppercase; color: var(--graphite); margin-top: 3px;
}

.nav__toggle {
  display: inline-flex; align-items: center; gap: 9px;
  background: none; border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 9px 13px; font: inherit; font-size: .82rem; color: var(--ink); cursor: pointer;
}
.nav__toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav__bars { display: block; width: 16px; height: 9px; position: relative; }
.nav__bars::before, .nav__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
}
.nav__bars::before { top: 0; }
.nav__bars::after { bottom: 0; }

.nav { display: none; width: 100%; flex-basis: 100%; }
.nav.is-open { display: block; }

.nav__list {
  list-style: none; margin: 0; padding: 10px 0 22px;
  display: grid; gap: 2px;
}
.nav__link {
  display: block; padding: 9px 2px; color: var(--ink-soft);
  font-size: .95rem; border-bottom: 1px solid var(--hairline-soft);
}
.nav__link:hover { color: var(--accent); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--accent); font-weight: 600; }

@media (min-width: 1060px) {
  .nav__toggle { display: none; }
  .nav { display: block !important; width: auto; flex-basis: auto; }
  .nav__list { display: flex; gap: 22px; padding: 0; align-items: center; }
  .nav__link { padding: 4px 0; border-bottom: 1px solid transparent; font-size: .89rem; }
  .nav__link[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 500; }
}

/* --------------------------------------------------------------- sekcie */

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section--tinted { background: var(--tint); border-top: 1px solid #d8e4df; border-bottom: 1px solid #d8e4df; }

@media (max-width: 720px) { .section { padding: 56px 0; } }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--graphite); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--accent); flex: none;
}

.section__head { max-width: 68ch; margin-bottom: 44px; }
.section__head p { color: var(--ink-soft); }

/* --------------------------------------------------------------- úvodný blok */

.hero {
  position: relative;
  border-bottom: 1px solid var(--hairline);
  background:
    repeating-linear-gradient(to right, transparent 0 39px, var(--hairline-soft) 39px 40px),
    repeating-linear-gradient(to bottom, transparent 0 39px, var(--hairline-soft) 39px 40px),
    var(--white);
  padding: 76px 0 72px;
}

.hero__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.06fr .94fr; gap: 56px; } }

.hero h1 { margin-bottom: .38em; }
.hero__figure { border: 1px solid var(--hairline); background: var(--white); padding: 10px; box-shadow: var(--shadow); }

.hero__points { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 10px; }
.hero__points li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .97rem; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 13px; height: 1px; background: var(--accent);
}

.page-head {
  background: var(--white); border-bottom: 1px solid var(--hairline);
  padding: 58px 0 50px;
}
.page-head p { color: var(--ink-soft); max-width: 64ch; margin-bottom: 0; }

/* --------------------------------------------------------------- tlačidlá */

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--radius); border: 1px solid var(--accent);
  background: var(--accent); color: #fff; font: inherit; font-size: .92rem; font-weight: 500;
  cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); text-decoration: none; color: #fff; }

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

.btn--small { padding: 9px 16px; font-size: .84rem; }
.btn--wide { width: 100%; }

/* --------------------------------------------------------------- mriežky a karty */

.grid { display: grid; gap: var(--gap); }
.grid > *, .split > *, .hero__grid > *, .calc__grid > *, .footer__grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: 52px; } }
@media (min-width: 880px) { .split--wide-left { grid-template-columns: 1.15fr .85fr; } }

.card {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px 24px;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--link { transition: box-shadow .2s ease, border-color .2s ease; }
.card--link:hover { border-color: #cfd6d2; box-shadow: var(--shadow); }

.card__figure { margin: -26px -24px 22px; border-bottom: 1px solid var(--hairline); }
.card__figure img { width: 100%; }

.card__kicker {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 10px;
}

.figure {
  border: 1px solid var(--hairline); background: var(--white);
  padding: 10px; border-radius: var(--radius);
}
.figure figcaption {
  font-size: .78rem; color: var(--graphite); padding: 10px 4px 2px; border-top: 1px solid var(--hairline-soft); margin-top: 10px;
}

/* ---------------------------------------------------------- čísla a údaje */

.stats { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.stats--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { background: var(--white); padding: 26px 22px; }
.stat__value { font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.stat__label { font-size: .84rem; color: var(--graphite); margin-top: 10px; }

.alloc { display: flex; height: 14px; border-radius: 2px; overflow: hidden; border: 1px solid var(--hairline); background: var(--white); }
.alloc span { display: block; height: 100%; transition: width .3s ease; }
.alloc__a { background: var(--accent); }
.alloc__b { background: #7a9a90; }
.alloc__c { background: #c3cfca; }

.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: .82rem; color: var(--graphite); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 11px; height: 11px; display: block; border-radius: 1px; }

.ledger { width: 100%; border-collapse: collapse; font-size: .93rem; }
.ledger caption { text-align: left; font-size: .8rem; color: var(--graphite); padding-bottom: 12px; }
.ledger th, .ledger td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.ledger thead th { font-family: var(--mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--graphite); font-weight: 400; background: var(--white); }
.ledger td.num, .ledger th.num { text-align: right; font-variant-numeric: tabular-nums; }
.ledger tbody tr:last-child td { border-bottom: 0; }
.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--white);
  /* tieň na okraji naznačí, že širokú tabuľku možno posunúť do strany */
  background-image:
    linear-gradient(to right, var(--white) 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to left, var(--white) 30%, rgba(255, 255, 255, 0)),
    radial-gradient(farthest-side at 0 50%, rgba(20, 23, 26, .10), rgba(20, 23, 26, 0)),
    radial-gradient(farthest-side at 100% 50%, rgba(20, 23, 26, .10), rgba(20, 23, 26, 0));
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 42px 100%, 42px 100%, 15px 100%, 15px 100%;
  background-attachment: local, local, scroll, scroll;
}

@media (max-width: 640px) {
  .ledger th, .ledger td { padding: 11px 10px; font-size: .88rem; }
  .ledger thead th { font-size: .62rem; letter-spacing: .1em; }
}

/* --------------------------------------------------------------- kroky */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); }
.step { background: var(--white); padding: 28px 26px; display: grid; gap: 6px; }
@media (min-width: 800px) { .step { grid-template-columns: 92px 1fr; gap: 26px; align-items: start; } }
.step__index { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; color: var(--accent); padding-top: 4px; }
.step h3 { margin-bottom: .3em; }
.step p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- formuláre */

.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field > label { font-size: .84rem; color: var(--ink-soft); font-weight: 500; }
.field__hint { font-size: .78rem; color: var(--graphite); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; padding: 12px 13px; font: inherit; font-size: .95rem;
  color: var(--ink); background: var(--white);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  transition: border-color .18s ease;
}
input:hover, select:hover, textarea:hover { border-color: #cfd6d2; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(47, 93, 80, .12); }
textarea { min-height: 148px; resize: vertical; }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); }
.check input { margin-top: 4px; flex: none; accent-color: var(--accent); width: 16px; height: 16px; }

.error { color: #8c2f2f; font-size: .79rem; display: none; }
.field.has-error .error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #8c2f2f; }

.form-note { font-size: .8rem; color: var(--graphite); }

.form-status {
  display: none; margin-top: 18px; padding: 16px 18px;
  border: 1px solid var(--accent); border-left-width: 3px; background: var(--tint);
  font-size: .92rem; color: var(--accent-deep); border-radius: var(--radius);
}
.form-status.is-visible { display: block; }

input[type="range"] { width: 100%; accent-color: var(--accent); }

/* --------------------------------------------------------------- kalkulačka */

.calc {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow);
}
.calc__title { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 4px; }
.calc__grid { display: grid; gap: 26px; }
@media (min-width: 860px) { .calc__grid { grid-template-columns: 1fr 1fr; gap: 38px; } }

.calc__out { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.calc__row { background: var(--white); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 16px; }
.calc__row dt { font-size: .88rem; color: var(--graphite); }
.calc__row dd { margin: 0; font-family: var(--serif); font-size: 1.24rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.calc__row--total { background: var(--tint); }
.calc__row--total dd { color: var(--accent-deep); }

.slider-head { display: flex; justify-content: space-between; font-size: .84rem; color: var(--ink-soft); margin-bottom: 4px; }
.slider-head b { font-variant-numeric: tabular-nums; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  padding: 7px 13px; border: 1px solid var(--hairline); background: var(--white);
  border-radius: 999px; font: inherit; font-size: .8rem; color: var(--ink-soft); cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.notice {
  font-size: .82rem; color: var(--warn); margin-top: 10px; display: none;
}
.notice.is-visible { display: block; }

/* --------------------------------------------------------------- cenník */

.plans { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); align-items: start; }

.plan {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 16px; height: 100%;
}
.plan--accent { border-color: var(--accent); box-shadow: var(--shadow); }
.plan__tag {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--tint); background: var(--tint);
  padding: 4px 9px; border-radius: 999px; align-self: flex-start;
}
.plan__price { font-family: var(--serif); font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price small { font-family: var(--sans); font-size: .82rem; color: var(--graphite); letter-spacing: 0; }
.plan__meta { font-size: .82rem; color: var(--graphite); margin: -8px 0 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .91rem; color: var(--ink-soft); }
.plan ul li { position: relative; padding-left: 22px; margin: 0; }
.plan ul li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 1px; background: var(--accent);
}
.plan .btn { margin-top: auto; }

.switcher { display: inline-flex; border: 1px solid var(--hairline); border-radius: 999px; background: var(--white); padding: 4px; gap: 4px; margin-bottom: 30px; }
.switcher button {
  border: 0; background: none; font: inherit; font-size: .84rem; padding: 8px 18px;
  border-radius: 999px; cursor: pointer; color: var(--ink-soft);
}
.switcher button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* --------------------------------------------------------------- akordeón */

.accordion { border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.accordion__item + .accordion__item { border-top: 1px solid var(--hairline); }
.accordion__btn {
  width: 100%; text-align: left; background: none; border: 0; font: inherit;
  padding: 20px 54px 20px 22px; cursor: pointer; position: relative; color: var(--ink);
  font-size: 1rem; font-family: var(--serif); line-height: 1.35;
}
.accordion__btn:hover { color: var(--accent); }
.accordion__btn::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 1px;
  background: var(--accent); transform: translateY(-50%);
}
.accordion__btn::before {
  content: ""; position: absolute; right: 27px; top: 50%; width: 1px; height: 12px;
  background: var(--accent); transform: translateY(-50%); transition: opacity .2s ease;
}
.accordion__btn[aria-expanded="true"]::before { opacity: 0; }
.accordion__panel { padding: 0 22px 22px; font-size: .95rem; color: var(--ink-soft); max-width: 78ch; }
.accordion__panel[hidden] { display: none; }
.accordion__panel p:last-child, .accordion__panel ul:last-child { margin-bottom: 0; }
.accordion__meta { font-family: var(--mono); font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--graphite); padding: 0 22px; margin-top: -6px; margin-bottom: 12px; }

/* --------------------------------------------------------------- recenzie */

.review { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.review__stars { color: var(--accent); letter-spacing: .22em; font-size: .82rem; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.06rem; line-height: 1.5; color: var(--ink); }
.review__by { font-size: .82rem; color: var(--graphite); margin-top: auto; }
.review__by b { display: block; color: var(--ink); font-size: .9rem; font-weight: 600; }
.is-hidden { display: none !important; }

.empty-note { font-size: .9rem; color: var(--graphite); padding: 20px 0; display: none; }
.empty-note.is-visible { display: block; }

/* --------------------------------------------------------------- právne */

.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.legal-nav a {
  font-size: .82rem; padding: 8px 14px; border: 1px solid var(--hairline);
  border-radius: 999px; background: var(--white); color: var(--ink-soft);
}
.legal-nav a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.doc { max-width: 78ch; }
.doc h2 { padding-top: 18px; }
.doc h3 { margin-top: 1.6em; font-family: var(--sans); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; }
.doc + .doc { margin-top: 64px; border-top: 1px solid var(--hairline); padding-top: 44px; }
.doc__date { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); }

/* --------------------------------------------------------------- päta */

.footer { background: var(--white); border-top: 1px solid var(--hairline); padding: 62px 0 30px; font-size: .9rem; }
.footer__grid { display: grid; gap: 34px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }
.footer h4 { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--graphite); font-weight: 400; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer li { margin: 0; }
.footer a { color: var(--ink-soft); }
.footer a:hover { color: var(--accent); }
.footer address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }

.footer__bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .8rem; color: var(--graphite);
}
.footer__bottom button {
  background: none; border: 0; padding: 0; font: inherit; font-size: .8rem;
  color: var(--graphite); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.footer__bottom button:hover { color: var(--accent); }

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

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(20, 23, 26, .14); padding: 22px;
  display: none; max-width: 560px;
}
.cookie.is-visible { display: block; }
.cookie h4 { font-family: var(--serif); font-size: 1.06rem; margin-bottom: 8px; }
.cookie p { font-size: .86rem; color: var(--ink-soft); margin-bottom: 14px; }
.cookie__options { display: grid; gap: 10px; margin-bottom: 16px; }
.cookie__options[hidden] { display: none; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------- pohyb */

/* Sekcie sú viditeľné vždy. Trieda .reveal ostáva len ako značka v HTML. */
.reveal { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}


/* --------------------------------------------- poistka pre staršie prehliadače */
@supports not (inset: 0) {
  .actions, .chips, .legend, .cookie__actions, .footer__bottom, .legal-nav { margin-left: -8px; }
  .actions > *, .chips > *, .legend > *, .cookie__actions > *, .footer__bottom > *, .legal-nav > * { margin: 0 0 10px 8px; }
  .nav__list > li { margin-right: 20px; }
  .brand__mark { margin-right: 12px; }
  .masthead__inner > * + * { margin-left: 16px; }
}
