/*
 * Jess Office – štýly webu (jeden súbor, poradie sekcií = kaskáda; nepresúvať pravidlá medzi sekciami).
 * Písma sú v fonts.css. Farby a rozmery meňte v sekcii 1 (:root).
 */

/* ==========================================================================
   1. TOKENY – medzery, polomery, typografická škála, farby (CSS premenné)
   ========================================================================== */
:root {
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-14: 56px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  --r-field: 8px;
  --r-btn: 10px;
  --r-card: 12px;
  --r-block: 16px;
  --r-pill: 999px;

  --t-display: clamp(44px, 5vw, 76px);
  --t-h1: clamp(40px, 4.6vw, 68px);
  --t-h2: clamp(34px, 3.8vw, 56px);
  --t-h3-lg: clamp(26px, 2.4vw, 36px);
  --t-h3: clamp(22px, 2vw, 28px);
  --t-price: clamp(44px, 4.4vw, 64px);
  --t-lead: 19px;
  --t-body: 17px;
  --t-body-article: 19px;
  --t-small: 15px;
  --t-eyebrow: 13px;
  --t-button: 15px;
  --lh-display: 1;
  --lh-h1: 1.04;
  --lh-h2: 1.06;
  --lh-h3-lg: 1.1;
  --lh-h3: 1.15;
  --lh-price: 1;
  --lh-lead: 1.6;
  --lh-body: 1.65;
  --lh-article: 1.75;
  --lh-small: 1.55;
  --lh-eyebrow: 1.4;
  --ls-display: -1.5px;
  --ls-h1: -1.2px;
  --ls-h2: -0.8px;
  --ls-eyebrow: 2.4px;
  --ls-button: 0.2px;
  --measure-article: 68ch;
}

@media (max-width: 859px) {
  :root {
    --t-lead: 17px;
    --t-body: 16px;
    --t-body-article: 17px;
    --t-small: 14px;
    --t-eyebrow: 12px;
  }
}

/* ==========================================================================
   2. ZÁKLAD A KOMPONENTY – reset, typografia, lišta, tlačidlá, formuláre, pätička, cookies, animácie
   ========================================================================== */

:root {
  --navy: #27334F;
  --navy-deep: #1F2940;
  --navy-soft: #323F5E;
  --navy-line: #4A5675;
  --cream: #FAF7F3;
  --paper: #FBF7F3;
  --beige: #EFE7DE;
  --blush: #F3EAE6;
  --rose: #B0707A;
  --rose-dark: #96525D;
  --rose-light: #D9A7AC;
  --rose-on-navy: #E3B9BE;
  --text-muted: #4A5468;
  --text-subtle: #5B6478;
  --on-navy-muted: #C9CEDA;
  --line: #E7DDD3;
  --card-line: #E9DDD6;
  --ivory: var(--cream);
  --ink: var(--navy);
  --wine: var(--rose-dark);
  --muted: var(--text-muted);
  --on-ink: #FFF9F4;
  --soft: var(--beige);
  --logo-ground: #FFF9F4;
  --white: #fff;
  --pulse: #E8D2CC;
  --ring-dash: #CDB5AE;
  --ring-solid: #DCC7BF;
  --scrap-beige: #E8D8C8;
  --footer-muted: #B9C0CF;
  --navy-mid: #2E3A57;
  --field-line: #D9CCC3;
  --error: #B4232C;
  --num-on-navy: #3C4A68;
  --blush-deep: #F3E4E2;
  --on-office: #F1E4DF;
  --shadow: rgba(39, 51, 79, .35);
  --header-gap: 14px;
  --topbar-h: 80px;
  --header: calc(var(--header-gap) + var(--topbar-h));
  --serif: "Cormorant Garamond", Palatino, Georgia, serif;
  --sans: Manrope, "Segoe UI", sans-serif;
  --measure: 68ch;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  --sticky-offset: 96px;
  scroll-padding-top: var(--sticky-offset);
}

.page-pricing,
.page-services { --sticky-offset: 160px; }

html:has(body.page-services) { scroll-padding-top: 0; }

[id] { scroll-margin-top: var(--sticky-offset); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  padding-top: calc(var(--header) + 12px);
}

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

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--blush); color: var(--ink); }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 80;
  background: var(--ink);
  color: var(--on-ink);
  padding: var(--s-3) var(--s-4);
  overflow: hidden;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  white-space: nowrap;
}

.skip:focus-visible {
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  padding: var(--s-3) var(--s-4);
}

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

.wrap {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding: 0 var(--s-8);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--rose-dark);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--rose);
}

h1, h2, .price, .values li {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 var(--s-8);
  font-size: clamp(3.1rem, 6.3vw, 6.15rem);
  line-height: 1.02;
}

h1 em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--wine);
}

h2 {
  margin: 0 0 var(--s-6);
}

h2 em { font-style: italic; font-weight: 500; }

.lede {
  max-width: var(--measure);
  color: var(--muted);
}

.lede { margin: 0 0 var(--s-4); font-size: 1.12rem; }

.btn, .inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--s-8);
  background: var(--navy);
  color: var(--on-ink);
  border: 1.5px solid var(--navy);
  font-weight: 600;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn:hover, .inquire:hover { transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
}

.btn-ghost:hover { background: var(--navy); color: var(--on-ink); }

.btn-light,
a.btn-light,
.btn-light:visited {
  border-color: var(--cream);
}

.actions { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: center; margin-top: var(--s-8); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--rose-light);
  text-underline-offset: 6px;
}

.text-link:hover { color: var(--rose-dark); }

.topbar {
  position: fixed;
  top: var(--header-gap);
  left: clamp(12px, 2.4vw, 28px);
  right: clamp(12px, 2.4vw, 28px);
  z-index: 50;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: var(--s-6);
  padding: 0 18px 0 20px;
  background: var(--cream);
  border: 1.5px solid var(--navy);
  border-radius: 16px;
  box-shadow: 0 8px 22px -18px rgba(39, 51, 79, 0.28);
  transform: translateY(0);
  transition: transform 300ms ease;
  will-change: transform;
}

.topbar.is-hidden {
  transform: translateY(calc(-100% - var(--header-gap) - 12px));
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex: none;
}

.brand img {
  width: 172px;
  height: 47px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-bars {
  width: 14px;
  height: 9px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  height: 1.5px;
  background: currentColor;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.menu a {
  display: inline-flex;
  align-items: center;
  padding: var(--s-2) var(--s-3);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--navy);
  transition: color .25s ease;
}

.menu a:not(.menu-cta) + a:not(.menu-cta)::before {
  content: "";
  width: 1px;
  height: 13px;
  margin-right: var(--s-3);
  background: #BD8F91;
  opacity: 0.42;
  flex: none;
}

.menu .menu-cta { display: none; }

.menu a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.menu a:not(.menu-cta):hover { color: var(--wine); }

.topbar .inquire,
.menu a.menu-cta {
  flex: none;
  min-height: 46px;
  padding: 0 var(--s-4);
  font-size: 14px;
  border-radius: 13px;
  color: var(--on-ink);
}

.menu a.menu-cta:hover { color: var(--on-ink); }

.hero {
  min-height: calc(100svh - var(--header) - 58px);
  display: grid;
  grid-template-columns: minmax(260px, 43%) minmax(0, 57%);
  align-items: center;
  gap: 0;
  padding: 0 0 var(--s-3) 7vw;
  overflow: hidden;
  background: var(--ivory);
}

.d0 { --d: 0ms; }

.d1 { --d: 80ms; }

.d2 { --d: 160ms; }

.d3 { --d: 240ms; }

.d4 { --d: 320ms; }

.d5 { --d: 400ms; }

.d6 { --d: 480ms; }

.d7 { --d: 560ms; }

.d8 { --d: 640ms; }

.benefits, .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
}

.benefits article, .step {
  padding-top: var(--s-4);
  border-top: 1px solid var(--ink);
}

.benefits h3, .step h3 {
  margin: var(--s-3) 0 var(--s-2);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.benefits p, .step p { margin: 0; color: var(--muted); font-size: 15px; }

.num {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.go {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  transition: translate .2s ease, background .2s ease;
}

.rate {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: var(--s-8) var(--s-6) var(--s-6);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.rate.is-featured { background: var(--ivory); border-top: 3px solid var(--wine); }

.price {
  margin: var(--s-8) 0 var(--s-3);
  font-size: clamp(3rem, 4vw, 4.2rem);
  line-height: 0.95;
  font-variant-numeric: lining-nums;
}

.price small {
  display: block;
  margin-top: var(--s-2);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.rate p { margin: 0; color: var(--muted); }

.rate .btn { margin-top: auto; align-self: flex-start; }

.closing {
  background: var(--ink);
  color: var(--on-ink);
  padding: var(--s-24) 0;
}

.closing h2 { max-width: 12ch; }

.closing p { max-width: 42ch; color: var(--soft); margin: 0; }

.closing .btn { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }

.closing .btn:hover { background: var(--blush); border-color: var(--blush); }

.footer {
  padding: var(--s-20) 0 0;
  background: var(--navy-deep);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-12);
  padding-bottom: var(--s-14);
}

.footer-brand img { width: 240px; height: auto; margin-bottom: var(--s-4); }

.footer-brand p { margin: 0 0 var(--s-6); max-width: 36ch; font-size: 15px; color: var(--footer-muted); }

.footer-label {
  margin: 0 0 var(--s-4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--rose-on-navy);
}

.footer a { display: block; margin: 0 0 var(--s-3); font-size: 15px; color: var(--cream); }

.footer a:hover { color: var(--rose-on-navy); }

.footer .btn-light { display: inline-flex; color: var(--navy); }

.footer .btn-light:hover { color: var(--navy); }

.footer-mail { font-weight: 700; }

.footer-mail-alt,
.footer-note { margin: 0; font-size: 15px; color: var(--footer-muted); }

.footer-wordmark {
  margin: var(--s-2) 0 0;
  padding: 0 var(--s-8);
  font-family: var(--serif);
  font-size: clamp(36px, 6.4vw, 88px);
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
  color: var(--cream);
}

.footer-wordmark em {
  font-style: italic;
  color: var(--rose-on-navy);
}

.footer-ribbons { height: 120px; color: var(--rose); }

.ribbons { display: block; width: 100%; height: 100%; }

.rib-a { animation: ribA 14s ease-in-out infinite; }

.rib-b { animation: ribB 17s ease-in-out infinite; color: var(--rose); }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) 0 var(--s-8);
  border-top: 1px solid var(--navy-mid);
  color: var(--footer-muted);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: var(--s-2) var(--s-4);
}

.footer-base a,
.footer-base .cookie-open {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--footer-muted);
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-base a:hover,
.footer-base .cookie-open:hover {
  color: var(--rose-on-navy);
}

.page-hero .lede { font-size: 1.15rem; }

.page-blog .page-hero h1,
.article-page .page-hero h1 { max-width: 22ch; }

.eyebrow a { color: inherit; }

.eyebrow a:hover { color: var(--wine); }

.posts a { grid-template-columns: 190px minmax(200px, 0.95fr) minmax(0, 1.1fr) auto; }

.posts time {
  color: var(--wine);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.article { max-width: 68ch; padding-bottom: var(--s-20); }

.article p, .article li { color: var(--muted); }

.article h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 2.4rem; }

.article h3 {
  margin: 1.6rem 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.article ul { margin: 0 0 var(--s-4); padding: 0; list-style: none; }

.article li { position: relative; padding: var(--s-2) 0 var(--s-2) var(--s-4); }

.article li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 7px;
  height: 1px;
  background: var(--ink);
}

.article .actions { margin-top: var(--s-8); }

.note { margin: 0 0 var(--s-6); font-size: 14px; color: var(--muted); }

.rate-table { margin: var(--s-3) 0 var(--s-8); }

.rate-table th, .rate-table td {
  text-align: left;
  padding: var(--s-4) var(--s-3) var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.rate-table th { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }

.rate-table td:last-child, .rate-table th:last-child { text-align: right; }

.field { flex-direction: column; }

.check {
  font-size: 14px;
}

.check input { accent-color: var(--ink); }

.check a { text-decoration: underline; text-underline-offset: 3px; }

.form-status { margin: 0; padding: var(--s-4) var(--s-4); }

.form-status.error { background: var(--blush); }

.form-status.success { background: var(--blush); color: var(--ink); }

.form button[disabled] { opacity: 0.6; }

.legal h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: var(--s-8); }

.legal p, .legal li { color: var(--muted); }

.js .reveal {
  opacity: 0;
}

.js .reveal.is-visible,
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
}

@keyframes ribA    { 0%,100% { transform: translate(0,0) } 50% { transform: translate(-26px,12px) } }

@keyframes ribB    { 0%,100% { transform: translate(0,0) } 50% { transform: translate(22px,-14px) } }

@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

@keyframes orbit   { to { transform: rotate(360deg) } }

@keyframes counter {
  from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a, 0deg))); }
  to   { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a, 0deg) - 360deg)); }
}

@keyframes pulse   { 0%,100% { transform: scale(1); opacity: .55 } 50% { transform: scale(1.08); opacity: .25 } }

@keyframes nudge   { 0%,100% { transform: translateX(0) } 50% { transform: translateX(10px) } }

.is-paused,
.is-paused * { animation-play-state: paused !important; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr; }
  .benefits, .steps { grid-template-columns: 1fr 1fr; }
  .values { border-left: 0; padding-left: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
  .values li { font-size: 1.25rem; margin: 0; }
}

@media (max-width: 1100px) {
  .topbar { gap: var(--s-3); padding: 0 14px 0 16px; }
  .menu a { padding: var(--s-2) var(--s-2); letter-spacing: 0.1em; }
  .menu a:not(.menu-cta) + a:not(.menu-cta)::before { margin-right: var(--s-2); }
  .hero { padding-left: 5vw; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: var(--s-2); }
  .top-cta { display: none; }
  .menu .menu-cta { display: inline-flex; margin-top: var(--s-2); }
  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-2) var(--s-3) var(--s-4);
    background: var(--cream);
    border: 1.5px solid var(--navy);
    border-radius: 14px;
    box-shadow: 0 10px 24px -18px rgba(39, 51, 79, 0.3);
  }
  .menu a:not(.menu-cta) + a:not(.menu-cta)::before { display: none; }
  .menu.is-open { display: flex; z-index: 60; }
  .menu a { padding: var(--s-3) var(--s-2); font-size: 14px; min-height: 44px; }
}

@media (max-width: 860px) {
  :root {
    --header-gap: 10px;
    --topbar-h: 72px;
  }
  body { padding-top: calc(var(--header) + 10px); padding-bottom: 0; }
  .wrap { width: min(1280px, 100%); padding: 0 var(--s-5); }
  .topbar {
    gap: var(--s-3);
    padding: 0 12px 0 14px;
    left: 10px;
    right: 10px;
  }
  .brand img { width: 143px; height: 39px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: var(--s-2); }
  .top-cta { display: none; }
  .menu .menu-cta { display: inline-flex; margin-top: var(--s-2); }
  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-2) var(--s-3) var(--s-4);
    background: var(--cream);
    border: 1.5px solid var(--navy);
    border-radius: 14px;
  }
  .menu a:not(.menu-cta) + a:not(.menu-cta)::before { display: none; }
  .menu.is-open { display: flex; z-index: 60; }
  .menu a { padding: var(--s-3) var(--s-2); font-size: 14px; min-height: 44px; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: var(--s-8) 0 var(--s-2);
    overflow: hidden;
  }
  .posts a, .posts a:hover { grid-template-columns: 1fr auto; }
  .posts time, .posts p { grid-column: 1 / -1; }
  .benefits, .steps, .fields { grid-template-columns: 1fr; columns: 1; }
  .footer-base {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-3);
  }
  .footer-legal {
    justify-content: flex-start;
    gap: var(--s-3) var(--s-4);
  }
  .footer-base a,
  .footer-base .cookie-open {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .closing .btn { margin-top: var(--s-6); }
  .rate { min-height: 0; }
  .rate-table thead { display: none; }
  .footer a { display: block; padding: var(--s-3) 0; margin: 0; min-height: 44px; }
  .topbar .brand { min-height: 44px; display: inline-flex; align-items: center; }
}

.footer :focus-visible,
.home-reset :focus-visible,
.home-close-box :focus-visible {
  outline-color: var(--cream);
}

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

.btn-light, a.btn-light, .btn-light:visited { color: var(--navy); background: var(--cream); }

.btn-light:hover { color: var(--navy); }

html.is-intro,
html.is-intro body { overflow: hidden; }

.intro-veil {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #fff;
  animation: intro-veil-out 1.2s cubic-bezier(0.4, 0, 0.25, 1) forwards;
}

.intro-veil[hidden] { display: none; }

.intro-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(280px, calc(100vw - 48px));
}

.intro-bloom {
  position: absolute;
  left: 50%;
  top: 0;
  width: 240px;
  height: 240px;
  margin: -62px 0 0 -120px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #F4E5E8 0%, #F4E5E8 36%, rgba(244, 229, 232, 0) 72%);
  transform: scale(1.2);
  transform-origin: center center;
  pointer-events: none;
  animation: intro-bloom 0.8s cubic-bezier(0.4, 0, 0.25, 1) 0.05s forwards;
}

.intro-logo {
  position: relative;
  z-index: 1;
  width: 125px;
  height: auto;
  transform: translateX(2px);
}

.intro-rule {
  width: 48px;
  height: 1px;
  margin-top: 24px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: center;
  animation: intro-rule 0.3s cubic-bezier(0.4, 0, 0.25, 1) 0.25s forwards;
}

.intro-slogan {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  color: var(--navy);
  opacity: 0;
  animation: intro-slogan 0.35s cubic-bezier(0.4, 0, 0.25, 1) 0.3s forwards;
}

.intro-slogan em {
  font-style: italic;
  color: var(--rose);
}

@keyframes intro-bloom {
  0% { opacity: 1; transform: scale(1.2); filter: blur(0); }
  40% { opacity: 0.8; transform: scaleX(0.86) scaleY(1.04); filter: blur(6px); }
  100% { opacity: 0; transform: scaleX(0.24) scaleY(0.78); filter: blur(22px); }
}

@keyframes intro-rule {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes intro-slogan {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes intro-veil-out {
  0%, 62% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (max-width: 859px) {
  .intro-logo { width: 108px; }
  .intro-bloom { width: 200px; height: 200px; margin: -50px 0 0 -100px; }
  .intro-slogan { font-size: 22px; }
}

@media (forced-colors: active) {
  .btn, .inquire, .rate, .go { border: 1px solid ButtonText; }
}

/* ---------- Cookies: okrúhly odznak vľavo dole + karta, ktorá sa z neho otvára ---------- */

.cookie-badge {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 65;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 10px 22px -14px var(--shadow);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.cookie-badge:hover,
.cookie-badge:focus-visible {
  background: var(--navy);
  color: var(--on-ink);
  transform: translateY(-2px) rotate(-12deg);
}

.cookie-badge[hidden] { display: none; }

.cookie-root[hidden] { display: none; }

.cookie-root {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 70;
  width: min(340px, calc(100vw - 32px));
}

.cookie-banner {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 18px 18px 16px;
  background: var(--cream);
  border: 1.5px solid var(--navy);
  border-radius: var(--r-block);
  box-shadow: 0 18px 40px -24px var(--shadow);
  transform-origin: 0 100%;
  animation: cookie-in .32s cubic-bezier(.2, .8, .2, 1);
}

@keyframes cookie-in {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
}

.cookie-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cookie-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--rose-dark);
}

.cookie-banner .cookie-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--navy);
}

.cookie-title em { color: var(--rose); }

.cookie-banner .cookie-text {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.cookie-banner a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions,
.cookie-panel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
}

.cookie-btn-wide { grid-column: 1 / -1; }

.cookie-btn {
  min-height: 40px;
  padding-inline: var(--s-3);
  border-radius: var(--r-btn);
  font-size: 13.5px;
  justify-content: center;
}

.cookie-toggles {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cookie-toggles[hidden] { display: none; }

.cookie-cats {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.cookie-cats li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 10px 12px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-card);
  background: var(--white);
}

.cookie-cats strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  color: var(--navy);
}

.cookie-cats span {
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-muted);
}

.cookie-toggle {
  position: relative;
  flex: none;
  width: 40px;
  height: 24px;
  cursor: pointer;
}

.cookie-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.cookie-toggle > span {
  display: block;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: #D7CFC6;
  transition: background .2s ease;
}

.cookie-toggle > span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(39, 51, 79, 0.25);
  transition: transform .2s ease;
}

.cookie-toggle input:checked + span { background: var(--navy); }

.cookie-toggle input:checked + span::after { transform: translateX(16px); }

.cookie-toggle input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }

.cookie-toggle.is-locked { cursor: default; opacity: 0.85; }

.cookie-toggle.is-locked input { cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
  .cookie-badge:hover, .cookie-badge:focus-visible { transform: none; }
}

/* ==========================================================================
   3. ÚVODNÁ STRÁNKA – hero, karty, kancelária, OFFICE RESET, balíky, blog, záver
   ========================================================================== */

/* Homepage blocks – Jess Office */

.page-home { background: var(--cream); }

.page-home h2 {
  max-width: 680px;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.8px;
}

.page-home h2 em { color: var(--rose); }

.home-lead {
  margin: 0 0 var(--s-4);
  color: var(--text-muted);
}

.home-copy { margin: 0 0 var(--s-6); color: var(--text-muted); max-width: 52ch; }

.hero-c {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  column-gap: var(--s-8);
  align-items: center;
  min-height: 0;
  padding-top: var(--s-10);
  padding-bottom: var(--s-8);
  overflow-x: clip;
}

.hero-c__text {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-c__text .eyebrow { margin-bottom: var(--s-5); }

.hero-c__title {
  margin: 0 0 var(--s-6);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  text-wrap: wrap;
}

.hero-c__title em {
  display: inline;
  margin: 0;
  font-style: italic;
  color: var(--rose);
}

.hero-c__l { display: block; }

@media (min-width: 860px) {
  .hero-c__l {
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

.hero-c__text .home-lead {
  margin: 0 0 var(--s-8);
  max-width: 42ch;
  font-size: 17px;
}

.hero-c__ctas { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-8); align-items: center; }

.hero-c__art {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-c__glow {
  position: absolute;
  left: 16%;
  top: 18%;
  width: 62%;
  height: 52%;
  background: var(--blush);
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.hero-c__art img {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

.marquee-band {
  background: var(--navy);
  color: var(--cream);
  padding: var(--s-6) 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee-track p {
  display: flex;
  align-items: center;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  white-space: nowrap;
}

.marquee-track span { padding: 0 var(--s-2); }

.marquee-track i {
  font-style: normal;
  color: var(--rose-on-navy);
  padding: 0 var(--s-4);
}

.home-help, .home-blog { background: var(--blush); }

.home-office, .home-rates { background: var(--cream); }

.home-reset { background: var(--navy); color: var(--cream); }

.home-reset h2 em { color: var(--rose-on-navy); }

.home-reset .eyebrow { color: var(--rose-on-navy); }

.home-reset .eyebrow::before { background: var(--rose-on-navy); }

.home-reset .home-lead { color: var(--on-navy-muted); }

.home-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--s-10);
  margin-bottom: var(--s-12);
}

.home-head .home-lead { margin-bottom: var(--s-3); }

.home-head-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s-2);
}

.home-package-rate {
  margin: var(--s-3) 0 var(--s-4);
}

.rate-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 var(--s-3);
  background: var(--blush);
  color: var(--rose-dark);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-package .rate-tag {
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--rose-light);
}

.home-package.is-featured .rate-tag {
  background: var(--cream);
  color: var(--navy);
  box-shadow: none;
}

.home-package-rate {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.rate-was {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration-color: var(--rose);
}

.home-package.is-featured .rate-was { color: rgba(255, 249, 244, 0.7); }

.rate-save {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--rose-dark);
}

.home-package.is-featured .rate-save { color: var(--rose-on-navy); }

.home-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
}

/* Popis skupiny kariet na úvode („Ako môžeme spolupracovať“ / „Hotové riešenia“) */
.home-cards-label {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin: var(--s-12) 0 var(--s-5);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.home-cards-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--card-line);
}

.home-head + .home-cards-label { margin-top: var(--s-10); }

.home-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: var(--s-10) var(--s-10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.home-card-num {
  position: absolute;
  top: 8px;
  right: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 150px;
  line-height: 0.8;
  color: var(--on-office);
}

.home-card-icon { color: var(--rose); position: relative; }

.home-card h3 {
  position: relative;
  display: block;
  margin: 0 0 var(--s-3);
  font-family: var(--serif);
}

.home-card-body p {
  display: block;
  max-width: 440px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.home-card em {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-5);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-card em svg { transition: transform .3s ease; }

.home-card:hover,
.home-card:focus-visible {
  translate: 0 -6px;
  background: var(--white);
  box-shadow: 0 24px 48px -24px var(--shadow);
}

.home-card:hover em svg,
.home-card:focus-visible em svg { transform: translateX(6px); }

.home-office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: var(--s-20);
  align-items: center;
}

.office-art { max-width: 100%; overflow: visible; }

.office-arc {
  position: relative;
  height: 580px;
  background: var(--beige);
  border-radius: 280px 280px 16px 16px;
  overflow: hidden;
}

.office-pulse,
.office-ring,
.office-arc img,
.office-orbit { position: absolute; left: 50%; top: 50%; }

.office-pulse {
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 50%;
  background: var(--pulse);
  animation: pulse 5s ease-in-out infinite;
}

.office-ring { border-radius: 50%; }

.office-ring-dash {
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  border: 1px dashed var(--ring-dash);
}

.office-ring-solid {
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  border: 1px solid var(--ring-solid);
}

.office-arc img {
  width: 150px;
  height: auto;
  margin: -69px 0 0 -75px;
}

.office-orbit {
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  animation: orbit 46s linear infinite;
}

.office-slot {
  position: absolute;
  inset: 0;
  --a: 0deg;
  transform: rotate(var(--a));
}

.office-slot:nth-child(1) { --a: 0deg; }

.office-slot:nth-child(2) { --a: 60deg; }

.office-slot:nth-child(3) { --a: 120deg; }

.office-slot:nth-child(4) { --a: 180deg; }

.office-slot:nth-child(5) { --a: 240deg; }

.office-slot:nth-child(6) { --a: 300deg; }

.office-chip {
  position: absolute;
  top: 0;
  left: 50%;
  padding: var(--s-3) var(--s-4);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 24px -16px rgba(39, 51, 79, .4);
  transform: translate(-50%, -50%);
  animation: counter 46s linear infinite;
}

.office-chip.is-navy { background: var(--navy); color: var(--cream); }

.office-chip.is-rose { background: var(--rose); color: var(--white); }

.office-points { list-style: none; margin: 0 0 var(--s-8); padding: 0; }

.office-points li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin: 0 0 var(--s-3);
}

.office-points svg {
  flex: none;
  width: 30px;
  height: 30px;
  padding: var(--s-2);
  border-radius: 8px;
  background: var(--blush-deep);
  color: var(--rose-dark);
}

.reset-compare {
  display: table;
  width: 100%;
  margin: 0 0 var(--s-14);
  border-collapse: collapse;
}

.reset-compare-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.reset-compare th {
  padding: 0 0 var(--s-3);
  text-align: left;
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--rose-dark);
}

.home-reset .reset-compare th { color: var(--rose-on-navy); }

.reset-compare th,
.reset-compare td { display: table-cell; }

.reset-compare td {
  width: 50%;
  padding: var(--s-5) var(--s-8) var(--s-5) 0;
  border-top: 1px solid var(--line);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  vertical-align: top;
  color: var(--text-muted);
}

.reset-compare td:last-child {
  padding-right: 0;
  color: var(--navy);
  font-weight: 600;
}

.home-reset .reset-compare td { border-color: var(--navy-line); color: var(--on-navy-muted); }

.home-reset .reset-compare td:last-child { color: var(--cream); }

.reset-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-6);
  margin-bottom: var(--s-10);
}

.reset-steps article { padding-top: var(--s-6); border-top: 1px solid var(--navy-line); }

.reset-steps span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--rose-on-navy);
}

.reset-steps h3 { margin: var(--s-2) 0 var(--s-2); }

.reset-steps p { margin: 0; color: var(--on-navy-muted); }

.reset-bridge {
  display: flex;
  justify-content: space-between;
  gap: var(--s-8);
  align-items: center;
  padding: var(--s-8) var(--s-8);
  background: var(--navy-soft);
  border-radius: 16px;
}

.reset-bridge-title {
  margin: 0 0 var(--s-2);
  font-family: var(--serif);
  font-size: 30px;
}

.reset-bridge-title span { display: inline-block; animation: nudge 2.2s ease-in-out infinite; }

.reset-bridge-title em { font-style: italic; color: var(--rose-on-navy); }

.reset-bridge p { margin: 0; color: var(--on-navy-muted); }

.reset-bridge .btn { margin-bottom: var(--s-3); }

.home-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.home-package {
  padding: var(--s-10) var(--s-8);
  background: var(--blush);
  border-radius: 12px;
}

.home-package.is-featured { background: var(--navy); color: var(--cream); }

.home-package-top {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.home-package-top span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-subtle); }

.home-package.is-featured .home-package-top span { color: var(--on-navy-muted); }

.home-package-hours {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.home-package.is-featured .home-package-hours { color: var(--cream); }

.home-package-lead { margin: var(--s-2) 0 0; font-size: 15px; color: var(--text-muted); }

.home-package.is-featured .home-package-lead { color: var(--on-navy-muted); }

.home-package-price {
  font-family: var(--serif);
  font-weight: 600;
}

.home-package-price small {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.home-package p { margin: 0; color: var(--text-muted); }

.home-package.is-featured p { color: var(--on-navy-muted); }

.home-package ul {
  margin: var(--s-6) 0 0;
  padding: var(--s-6) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.home-package.is-featured ul { border-color: var(--navy-line); }

.home-package li { margin: 0 0 var(--s-2); }

.home-note { margin: var(--s-6) 0 0; font-size: 14px; color: var(--text-subtle); }

.home-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.home-post {
  min-height: 240px;
  padding: var(--s-8) var(--s-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.home-post:hover,
.home-post:focus-visible {
  translate: 0 -4px;
  background: var(--white);
  box-shadow: 0 24px 48px -24px var(--shadow);
}

.home-post span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--rose-dark);
}

.home-post strong {
  display: block;
  margin: var(--s-4) 0 auto;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
}

.home-post em {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-6);
  font-style: normal;
  font-weight: 600;
}

.home-close { padding-bottom: var(--s-20); }

.home-close-box {
  position: relative;
  overflow: hidden;
  padding: var(--s-24) var(--s-16) var(--s-32);
  background: var(--navy);
  color: var(--cream);
  border-radius: 16px;
  text-align: center;
}

.home-close-box img { width: 64px; height: auto; margin: 0 auto var(--s-8); }

.home-close-box h2 { margin-inline: auto; font-size: clamp(36px, 5vw, 64px); }

.home-close-box h2 em { color: var(--rose-on-navy); }

.home-close-box p { max-width: 46ch; margin: 0 auto var(--s-8); color: var(--on-navy-muted); }

.home-close-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-4) var(--s-8); align-items: center; }

.home-close-actions a:not(.btn) { color: var(--cream); text-decoration: underline; text-underline-offset: 6px; }

.home-close-actions .btn-light,
.home-close-actions a.btn-light { color: var(--navy); }

.home-close-ribbons { position: absolute; left: 0; right: 0; bottom: 0; height: 88px; color: var(--rose); }

.home-close-ribbons .ribbons { width: 100%; height: 100%; }

@media (max-width: 1100px) {
  .hero-c__title { font-size: clamp(32px, 4vw, 48px); }
}

@media (max-width: 1059px) {
  .home-packages, .home-posts { grid-template-columns: 1fr; }
}

@media (max-width: 859px) {
  .hero-c {
    display: flex;
    flex-direction: column;
    padding-top: var(--s-8);
    padding-bottom: var(--s-8);
    gap: var(--s-6);
  }
  .hero-c__title {
    font-size: clamp(32px, 8vw, 40px);
  }
  .hero-c__l { display: inline; }
  .hero-c__l::after { content: " "; }
  .hero-c__art { order: 5; }
  .hero-c__art img { width: min(100%, 320px); margin-inline: auto; }
  .home-cards { grid-template-columns: 1fr; }
  .home-cards-label { margin: var(--s-10) 0 var(--s-4); }
  .home-head { display: block; }
  .home-head .text-link { margin-top: var(--s-3); }
  .marquee-track p { font-size: 21px; }
  .home-card { min-height: 0; padding: var(--s-8) var(--s-6); }
  .home-card-num { font-size: 110px; }
  .home-office-grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .office-arc { height: 340px; border-radius: 180px 180px 16px 16px; overflow: hidden; }
  .office-pulse { width: 210px; height: 210px; margin: -105px 0 0 -105px; }
  .office-ring-dash,
  .office-orbit { width: 250px; height: 250px; margin: -125px 0 0 -125px; }
  .office-ring-solid { width: 180px; height: 180px; margin: -90px 0 0 -90px; }
  .office-arc img { width: 96px; margin: -44px 0 0 -48px; }
  .office-slot:nth-child(n+5) { display: none; }
  .office-slot:nth-child(1) { --a: 0deg; }
  .office-slot:nth-child(2) { --a: 90deg; }
  .office-slot:nth-child(3) { --a: 180deg; }
  .office-slot:nth-child(4) { --a: 270deg; }
  .reset-compare thead { display: none; }
  .reset-compare td,
  .reset-compare td:last-child {
    display: block;
    width: 100%;
    padding: 0 0 var(--s-3);
    border: 0;
  }
  .reset-compare tr {
    display: block;
    padding: var(--s-5) 0;
    border-top: 1px solid var(--line);
  }
  .home-reset .reset-compare tr { border-color: var(--navy-line); }
  .reset-compare td::before,
  .reset-compare td:last-child::before {
    display: block;
    margin-bottom: var(--s-1);
    font-size: var(--t-eyebrow);
    font-weight: 700;
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--rose-dark);
    content: "Pred";
  }
  .reset-compare td:last-child::before { content: "Po"; }
  .home-reset .reset-compare td::before { color: var(--rose-on-navy); }
  .reset-bridge { display: block; }
  .reset-bridge .btn { width: 100%; }
  .home-close-box { padding: var(--s-14) var(--s-6) var(--s-20); }
  .page-home .btn { width: 100%; }
  .hero-c .btn { width: auto; }
}

/* ==========================================================================
   4. PODSTRÁNKY – hero podstránok, služby, cenník a kalkulačka, kontakt, o mne, blog, právne stránky
   ========================================================================== */

/* Shared subpage system */

.page-hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}

.page-hero.has-deco { overflow: visible; }

.page-hero.is-dark { background: var(--navy); color: var(--cream); }

.page-hero.is-dark .eyebrow { color: var(--rose-on-navy); }

.page-hero.is-dark .eyebrow::before { background: var(--rose-on-navy); }

.page-hero.is-dark .home-lead,
.page-hero.is-dark .page-hero-text { color: var(--on-navy-muted); }

.page-hero.is-dark h1 em { color: var(--rose-on-navy); }

.page-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-8) var(--s-6);
  align-items: center;
}

.page-hero-copy { grid-column: 1 / 9; }

.page-hero.has-deco .page-hero-copy { grid-column: 1 / 8; }

.page-hero-deco { grid-column: 8 / -1; }

.page-hero h1 {
  margin: 0 0 var(--s-6);
}

.page-hero h1 em { display: inline; margin: 0; font-style: italic; color: var(--rose); }

.page-hero-text { margin: 0; color: var(--text-muted); }

.page-hero-contact { overflow: visible; }

.page-hero-contact .contact-layout { padding-top: 0; padding-bottom: var(--s-12); }

.page-hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-8); align-items: center; margin-top: var(--s-8); }

.page-hero-actions.is-center { justify-content: center; }

.legal-tight { padding-top: var(--s-6); }

.page-hero-ribbons { color: var(--rose-light); }

.page-hero-ribbons.is-dark { color: var(--rose); }

.page-hero-ribbons.is-dark .rib-b { opacity: 0.4; }

.office-art.is-compact .office-arc { height: 480px; overflow: visible; }

.office-art.is-compact .office-orbit,
.office-art.is-compact .office-ring-dash {
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
}

.office-art.is-compact .office-arc img { width: 120px; margin: -55px 0 0 -60px; }

.office-art.is-compact .office-chip { padding: var(--s-2) var(--s-3); font-size: 13px; }

.btn-line {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-line:hover { background: var(--cream); color: var(--navy); }

.home-package .btn { margin-top: var(--s-6); }

/* Services */

.svc-nav-bar { margin: 0; }

.svc-cat { padding: var(--s-16) 0; scroll-margin-top: var(--sticky-offset); }

.svc-cat.is-blush { background: var(--blush); }

.svc-cat-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--s-8) var(--s-6);
  align-items: start;
}

.svc-cat-aside {
  position: sticky;
  top: var(--sticky-offset);
}

.svc-cat-index {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin: 0 0 var(--s-4);
}

.svc-cat-index span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--rose);
}

.svc-cat-index svg { color: var(--rose); }

.svc-cat-aside h2 { margin: 0 0 var(--s-4); }

.svc-cat-aside p { margin: 0; color: var(--text-muted); }

.svc-cat-count {
  margin-top: var(--s-4);
  font-size: var(--t-small);
  color: var(--text-subtle);
}

.svc-row {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--sticky-offset);
}

.svc-row:first-child { border-top: 1px solid var(--line); }

.svc-row summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 20px;
  gap: var(--s-4) var(--s-6);
  align-items: center;
  padding: var(--s-6) var(--s-5);
  margin-inline: calc(var(--s-5) * -1);
  border-radius: 12px;
  list-style: none;
  cursor: pointer;
}

.svc-row summary::-webkit-details-marker { display: none; }

.svc-row summary:hover,
.svc-row[open] summary { background: rgba(255, 255, 255, .72); }

.svc-row-main h3 {
  margin: 0 0 var(--s-2);
  font-family: var(--serif);
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: var(--lh-h3);
}

.svc-row-main p {
  margin: 0;
  max-width: none;
  font-size: 16px;
  color: var(--text-muted);
}

.svc-row-price {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--navy);
}

.svc-row-price.is-range {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-subtle);
}

.svc-toggle {
  position: relative;
  width: 20px;
  height: 20px;
  transition: transform .3s ease;
}

.svc-toggle::before,
.svc-toggle::after {
  content: "";
  position: absolute;
  background: var(--navy);
}

.svc-toggle::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.svc-toggle::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.svc-row[open] .svc-toggle { transform: rotate(45deg); }

.svc-row-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}

.svc-row[open] .svc-row-panel { grid-template-rows: 1fr; }

.svc-row-inner { overflow: hidden; }

.svc-row-detail {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--s-8);
  padding: 0 var(--s-5) var(--s-8);
}

.svc-row .svc-aside {
  position: static;
  border-radius: var(--r-card);
}

.svc-tasks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3) var(--s-6);
  list-style: none;
  margin: var(--s-8) 0;
  padding: 0;
}

.svc-tasks li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
}

.svc-tasks svg {
  flex: none;
  width: 30px;
  height: 30px;
  padding: var(--s-2);
  border-radius: 8px;
  background: var(--blush-deep);
  color: var(--rose-dark);
}

.svc-note {
  margin: 0;
  padding: var(--s-4) var(--s-4);
  background: var(--blush);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.svc-aside {
  position: sticky;
  top: 100px;
  padding: var(--s-8);
  background: var(--navy);
  color: var(--cream);
  border-radius: 16px;
}

.svc-aside p { margin: 0 0 var(--s-4); color: var(--on-navy-muted); }

.svc-aside strong { display: block; margin-bottom: var(--s-2); color: var(--rose-on-navy); font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; }

.svc-aside .price { margin: 0 0 var(--s-3); font-size: 40px; color: var(--cream); }

.svc-aside .extras { margin: 0 0 var(--s-4); font-size: 14px; color: var(--on-navy-muted); }

.svc-aside .btn { margin-bottom: var(--s-4); }

.svc-aside .text-link { color: var(--cream); }

.reset-short { color: var(--cream); }

.reset-short .home-lead { color: var(--on-navy-muted); }

.reset-short-actions { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: center; margin-top: var(--s-8); }

/* Office Reset page */

.item-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
}

.item-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: flex-start;
  padding: var(--s-6);
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  font-size: 17px;
}

.item-card svg { flex: none; color: var(--rose); width: 22px; height: 22px; }

.reset-path.home-block { padding: 0; background: var(--blush); }

.reset-path-pin { padding: var(--s-16) 0; }

.reset-path-stage {
  position: relative;
  margin-top: var(--s-10);
  padding-top: 8px;
}

.reset-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.reset-path-base,
.reset-path-draw {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reset-path-base { stroke: var(--rose-light); stroke-width: 2; opacity: 0.7; }

.reset-path-draw { stroke: var(--rose); stroke-width: 2.5; }

.reset-path-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.reset-path-step { text-align: center; }

.reset-path-num {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--s-4);
  border: 1px solid var(--rose);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--rose);
  background: var(--paper);
}

.reset-path-step h3 {
  margin: 0 0 var(--s-2);
  font-size: 20px;
}

.reset-path-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.reset-path-step.is-on .reset-path-num,
.reset-path-step.is-done .reset-path-num {
  background: var(--blush);
  border-color: var(--rose-dark);
  color: var(--rose-dark);
}

.js .reset-path.is-pinned {
  height: 320vh;
}

.js .reset-path.is-pinned .reset-path-pin {
  position: sticky;
  top: var(--header);
  min-height: calc(100vh - var(--header));
  display: flex;
  align-items: center;
}

.flow-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-6);
  align-items: stretch;
}

.flow-card { display: flex; flex-direction: column; padding: var(--s-8); border-radius: 16px; min-height: 100%; }

.flow-card.is-navy { background: var(--navy); color: var(--cream); }

.flow-card.is-blush { background: var(--blush); }

.flow-card p { margin: var(--s-2) 0 0; }

.flow-card strong { display: block; font-size: 14px; letter-spacing: 2.4px; text-transform: uppercase; }

.flow-card b { display: block; margin: var(--s-4) 0 var(--s-2); font-family: var(--serif); font-size: 40px; font-weight: 600; }

.flow-card ul { list-style: none; margin: var(--s-4) 0 0; padding: 0; }

.flow-card li { display: flex; gap: var(--s-3); margin: 0 0 var(--s-2); }

.flow-card li svg { flex: none; color: var(--rose); }

.flow-note { max-width: 640px; margin: var(--s-8) auto 0; text-align: center; }

.flow-arrow { align-self: center; color: var(--rose); animation: nudge 2.2s ease-in-out infinite; }

/* Pricing */

.price-nav-bar {
  position: sticky;
  top: var(--header);
  z-index: 20;
  padding: var(--s-3) 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  transition: top 300ms ease;
}

html.nav-hidden .price-nav-bar {
  top: 0;
}

/* Keď je lišta prilepená, plný podklad nad ňou až po vrch okna –
   cez medzeru okolo plávajúceho menu tak nepresvitá posúvaný obsah. */
.price-nav-bar.is-stuck::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: calc(var(--header) + 2px);
  background: var(--cream);
}

html.nav-hidden .read-bar {
  top: 0;
}

.price-nav {
  display: flex;
  gap: var(--s-3);
  scrollbar-width: none;
}

.price-nav {
  margin: 0;
  flex-wrap: wrap;
  overflow: visible;
  scroll-snap-type: none;
}

.price-nav a { scroll-snap-align: none; }

.price-nav::-webkit-scrollbar { display: none; }

.price-nav a {
  flex: none;
  min-height: 44px;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: var(--paper);
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.price-nav a.is-current,
.price-nav a:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.price-groups { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12) var(--s-14); }

.rate-table { width: 100%; border-collapse: collapse; }

.rate-table th { display: none; }

.rate-table td {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.rate-table tr { height: 56px; }

.rate-table tr:hover td { background: var(--blush); }

.price-groups h3 {
  margin: 0 0 var(--s-2);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--rose-dark);
}

.rate-table .name { font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--navy); }

.rate-table .sum { text-align: right; font-family: var(--serif); font-size: 24px; font-weight: 600; white-space: nowrap; }

.rate-table .sum i { font-family: var(--sans); font-size: 14px; font-style: normal; font-weight: 500; color: var(--text-subtle); margin-right: var(--s-2); }

.rate-table .calc-cell { width: 1%; padding-left: var(--s-4); vertical-align: middle; }

.calc-row.is-on td { background: #fff; }

.calc-howto {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin: var(--s-6) 0 var(--s-10);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-pill);
  background: var(--blush);
  font-size: 15px;
}

.calc-howto b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-size: 15px;
}

.calc-step {
  display: inline-flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-pill);
  background: #fff;
}

.calc-step button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

.calc-step button[hidden] { display: none; }

.calc-step output {
  min-width: 44px;
  padding-right: 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.calc-step:not(.has) output { display: none; }

.calc-row.is-on .calc-step { border-color: var(--navy); }

.calc-section { padding-bottom: var(--s-16); }



#oneoff-panel { padding-bottom: 96px; }


.calc-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 140%);
  width: min(860px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-3) var(--s-3) var(--s-3) var(--s-6);
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--r-block);
  box-shadow: 0 20px 40px -20px rgba(39, 51, 79, .6);
  transition: transform .3s ease;
  z-index: 30;
  visibility: hidden;
  pointer-events: none;
}

.calc-bar.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
  pointer-events: auto;
}

.calc-bar-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.calc-bar-count { font-size: 14px; color: var(--on-navy-muted); }

.calc-bar-total {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.calc-bar-total small {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--on-navy-muted);
}

.calc-clear {
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--on-navy-muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.calc-notice {
  margin: 0 0 var(--s-5);
  padding: var(--s-4) var(--s-5);
  background: var(--blush);
  border-radius: var(--r-card);
  font-size: 15px;
}

html:not(.js) .js-only { display: none !important; }

.name-caps { letter-spacing: 0.04em; }

.price-group-note {
  margin: var(--s-4) 0 0;
  max-width: 42em;
  font-size: 15px;
  color: var(--text-muted);
}

.hourly-rate-box {
  margin: var(--s-8) 0 0;
  padding: var(--s-5) var(--s-6);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: var(--r-card);
}

.hourly-rate-box p { margin: 0; }

.hourly-rate-box p + p { margin-top: var(--s-2); color: var(--text-muted); }

.rules-box {
  border: 1px solid var(--card-line);
  border-radius: 12px;
  padding: var(--s-2) var(--s-6);
}

.rules-box summary {
  cursor: pointer;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  list-style: none;
}

.rules-box summary::-webkit-details-marker { display: none; }

.rules-box summary::after { content: "→"; transition: transform .25s ease; }

.rules-box[open] summary::after { transform: rotate(90deg); }

/* About */

.story { max-width: 680px; margin: 0 auto; font-size: 19px; line-height: 1.75; }

.story p { margin: 0 0 var(--s-6); }

.story-quote {
  margin: 0 0 var(--s-8);
  padding-left: var(--s-6);
  border-left: 2px solid var(--rose);
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1.25;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

.why-card {
  padding: var(--s-8) var(--s-6);
  background: var(--paper);
  border-radius: 12px;
}

.why-card span { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--rose); }

.why-card h3 { margin: var(--s-2) 0; }

.why-card p { margin: 0; font-size: 16px; color: var(--text-muted); }

/* Blog */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-5);
}

.blog-card {
  min-height: 240px;
  padding: var(--s-8) var(--s-8);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  translate: 0 -4px;
  background: var(--white);
  box-shadow: 0 24px 48px -24px var(--shadow);
}

.blog-card span { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--rose-dark); }

.blog-card h2,
.blog-card h3 { margin: var(--s-4) 0 var(--s-3); font-family: var(--serif); font-size: 28px; font-weight: 600; }

.blog-card p {
  margin: 0 0 auto;
  color: var(--text-muted);
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card em { display: inline-flex; gap: var(--s-2); margin-top: var(--s-5); font-style: normal; font-weight: 600; }

/* Ukážky práce */
.home-samples { background: var(--cream); }

.samples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
}

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

.sample-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: var(--r-card);
}

.sample-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  background: var(--blush);
  border-bottom: 1px solid var(--card-line);
}

.sample-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--s-6);
}

.sample-card span { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--rose-dark); }

.sample-card h3 { margin: var(--s-3) 0 var(--s-2); font-family: var(--serif); font-size: 26px; font-weight: 600; }

.sample-card p { margin: 0 0 var(--s-4); font-size: 15px; color: var(--text-muted); }

.sample-card .text-link { margin-top: auto; align-self: flex-start; }

.blog-help {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-5);
  padding: 0 0 var(--s-16);
}

.blog-help p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
}

.read-bar {
  position: fixed;
  top: var(--header);
  left: 0;
  right: 0;
  height: 2px;
  width: 100%;
  background: var(--rose);
  z-index: 40;
  transform: scaleX(0);
  transform-origin: left;
  transition: top 300ms ease;
}

.article-head { padding: var(--s-20) 0 0; }

.article-head h1 {
  max-width: 900px;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.05;
}

.article-kicker { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; margin-bottom: var(--s-6); }

.article-meta { font-size: 14px; color: var(--text-subtle); }

.article-excerpt {
  max-width: 720px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--text-muted);
}

.article-body {
  margin: 0 auto;
  padding: var(--s-12) var(--s-8) var(--s-20);
}

.article-body p { margin: 0 0 1em; }

.article-body h2 { margin: var(--s-16) 0 var(--s-4); font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1.15; }

.article-body h3 { margin: var(--s-10) 0 var(--s-3); font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.2; }

.article-body h3 .n,
.article-body h3 .num {
  font-family: var(--serif);
  line-height: inherit;
  margin-right: .25em;
}

.article-body ul { padding-left: 0; list-style: none; }

.article-body li { position: relative; padding-left: var(--s-6); margin: 0 0 var(--s-3); }

.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
}

.article-body a { text-decoration: underline; text-decoration-color: var(--rose-light); text-underline-offset: 4px; }

.article-cta {
  margin: var(--s-12) 0 0;
  padding: var(--s-10);
  background: var(--blush);
  border-radius: 16px;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s-20);
  align-items: start;
  padding: var(--s-20) 0 var(--s-24);
  min-width: 0;
}

.contact-layout > * { min-width: 0; }

.contact-mail {
  display: block;
  margin: var(--s-8) 0 var(--s-2);
  font-family: var(--serif);
  font-size: 28px;
}

.contact-mail-alt { color: var(--text-subtle); }

.contact-mono {
  position: relative;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  margin-top: var(--s-8);
}

.contact-mono span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--pulse);
  animation: pulse 5s ease-in-out infinite;
}

.contact-mono img {
  position: relative;
  z-index: 1;
  width: 96px;
  height: auto;
  margin: 0;
  transform: translateX(2px);
}

.form-card {
  padding: var(--s-12);
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: 16px;
}

.form { display: grid; gap: var(--s-4); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }

.field { display: grid; gap: var(--s-2); }

.field.full { grid-column: 1 / -1; }

.field span { font-size: 14px; font-weight: 600; }

.req { color: var(--rose-dark); }

/* Nepovinná časť formulára (rozbaľovacia) */
.form-optional {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form-optional summary {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: var(--s-4) 28px var(--s-4) 0;
  position: relative;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.form-optional summary::-webkit-details-marker { display: none; }

.form-optional summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--rose-dark);
}

.form-optional[open] summary::after { content: "−"; }

.form-optional summary span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.form-optional > .fields { padding: var(--s-2) 0 var(--s-5); align-items: start; }

.form-optional .field span { font-weight: 500; }

.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 var(--s-4);
  border: 1px solid var(--field-line);
  border-radius: 8px;
  background: var(--white);
  font-size: 16px;
}

.field textarea { min-height: 160px; padding: var(--s-4); resize: vertical; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2327334F' stroke-width='1.6'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--s-8);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(39, 51, 79, .12);
}

.field.is-error input,
.field.is-error select,
.field.is-error textarea { border-color: var(--error); }

.field-error { color: var(--error); font-size: 14px; }

.field select:disabled { opacity: .55; }

.hint { margin: 0; font-size: 13px; color: var(--text-subtle); }

.check,
.consent label {
  display: flex;
  gap: var(--s-3);
  align-items: center;
  min-height: 44px;
}

.check input {
  appearance: none;
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  border: 1px solid var(--field-line);
  border-radius: 4px;
  background: var(--white);
}

.check input:checked {
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='m3 8 3.2 3.2L13 4.4'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--navy);
}

.form .btn { justify-self: start; }

.form .btn[aria-busy="true"] { opacity: .7; }

.btn-spin {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: var(--s-2);
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -3px;
  animation: spin .6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-done { text-align: center; padding: var(--s-6) 0; }

.form-done img { width: 64px; margin: 0 auto var(--s-4); }

.form-done h2 { font-size: 36px; }

.form-status.error { color: var(--error); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Legal + 404 */

.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: var(--s-14); }

.legal-body { max-width: 720px; font-size: 17px; line-height: 1.75; }

.legal-body h2 { margin: var(--s-10) 0 var(--s-3); font-size: 32px; }

.legal-toc { position: sticky; top: 100px; }

.legal-toc a { display: block; margin: 0 0 var(--s-3); color: var(--text-muted); }

.legal-date { color: var(--text-subtle); font-size: 14px; }

.page-404 {
  min-height: calc(100svh - var(--header));
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--s-12) var(--s-5) var(--s-20);
}

.page-404-inner { position: relative; }

.page-404 h1 {
  position: relative;
  z-index: 1;
  max-width: 16ch;
  margin: 0 auto -0.25em;
  text-wrap: balance;
}

.page-404-num {
  position: relative;
  z-index: 0;
  margin: -0.25em 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(120px, 18vw, 240px);
  line-height: 0.8;
  color: var(--rose-light);
  opacity: .55;
}

.page-404-num .ribbons { position: absolute; inset: 20% 0 auto; height: 80px; color: var(--rose); }

.page-404 h1 em { color: var(--rose); font-style: italic; display: inline; }

.page-404 .home-lead { margin-inline: auto; }

@media (max-width: 1059px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .price-groups, .svc-tasks, .contact-layout, .legal-layout { grid-template-columns: 1fr; }
  .item-cards { grid-template-columns: 1fr 1fr; }
  .flow-pair { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 859px) {
  .contact-mail {
    font-size: clamp(20px, 6vw, 26px);
    overflow-wrap: anywhere;
  }
  .contact-mono { margin-inline: auto; }
  .svc-cat-grid { display: block; }
  .svc-cat-aside { position: static; margin-bottom: var(--s-8); }
  .svc-row summary {
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: var(--s-3) var(--s-4);
  }
  .svc-row-price { grid-column: 1; justify-self: start; }
  .svc-toggle { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .svc-row-detail { grid-template-columns: 1fr; }
  .form .btn { width: 100%; justify-self: stretch; }
  .page-hero-grid { display: block; }
  .page-hero-deco { margin-top: var(--s-8); }
  .office-art.is-compact .office-arc { height: 340px; }
  .svc-aside { position: static; }
  .svc-tasks { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .form-card { padding: var(--s-6); }
  .why-grid, .item-cards { grid-template-columns: 1fr; }
  .article-body { padding: var(--s-8) var(--s-5) var(--s-16); }
  .legal-toc { display: none; }
  .rate-table,
  .rate-table tbody { display: block; width: 100%; }
  .rate-table tr {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-4);
    height: auto;
    min-height: 52px;
    max-height: 60px;
    padding: var(--s-4) 0;
  }
  .rate-table td,
  .rate-table td.name,
  .rate-table td.sum {
    display: block;
    width: auto;
    border-bottom: 0;
    padding: 0;
  }
  .rate-table td.name { flex: 1 1 auto; min-width: 0; }
  .rate-table td:last-child,
  .rate-table td.sum { flex: 0 0 auto; white-space: nowrap; text-align: right; }
  .rate-table tr.calc-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "n s" "p s";
    height: auto;
    min-height: 60px;
    max-height: none;
    align-items: center;
    column-gap: var(--s-4);
  }
  .calc-row .name { grid-area: n; }
  .calc-row .sum { grid-area: p; justify-self: start; text-align: left; }
  .calc-row .calc-cell { grid-area: s; padding-left: 0; }
  #oneoff-panel { padding-bottom: 120px; }
  .calc-howto { border-radius: var(--r-card); }
  .calc-bar {
    bottom: 12px;
    flex-wrap: wrap;
    gap: var(--s-3);
    padding: var(--s-4);
  }
  .calc-bar .btn { flex: 1 1 100%; }
  .calc-bar-total { font-size: 28px; }
}

.price-item-link {
  display: block;
  margin-top: var(--s-1);
  font-size: 13px;
  font-weight: 600;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
}

.dash-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.dash-card:hover,
.dash-card:focus-within {
  translate: 0 -6px;
  background: var(--white);
  box-shadow: 0 24px 48px -24px var(--shadow);
}

.dash-card summary {
  list-style: none;
  cursor: pointer;
  min-height: 320px;
  padding: var(--s-10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-card summary::-webkit-details-marker,
.dash-card summary::marker { display: none; content: ""; }

.dash-card h3 {
  margin: 0 0 var(--s-3);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1.1;
}

.dash-card summary > p {
  max-width: 440px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.dash-card summary em {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-5);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}

.dash-card summary em svg { transition: transform .3s ease; }

.dash-card[open] summary em svg { transform: rotate(90deg); }

.dash-card-body {
  padding: 0 var(--s-10) var(--s-10);
}

.dash-card-body .btn { margin-top: var(--s-6); }

.about-intro {
  position: relative;
  padding: var(--s-8) 0 var(--s-16);
  overflow: hidden;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: var(--s-12);
  align-items: center;
}

.about-intro-art { position: relative; }

.about-intro-glow {
  position: absolute;
  left: 12%;
  top: 18%;
  width: 58%;
  height: 48%;
  background: var(--blush);
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.75;
  z-index: 0;
}

.about-intro-art img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
}

.about-intro-copy h2 {
  max-width: 16ch;
  margin: 0 0 var(--s-6);
}

.about-intro-copy h2 em {
  color: var(--rose);
  font-style: italic;
}

.about-intro-lead {
  margin: 0;
  max-width: 42ch;
  font-size: var(--t-lead);
  line-height: var(--lh-lead);
  color: var(--text-muted);
}

.about-intro-lead span { color: var(--rose); }

.about-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: var(--s-10) 0 0;
  padding: 0;
  list-style: none;
}

.about-values li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2);
  padding: 0 var(--s-4);
  border-left: 1px solid var(--line);
}

.about-values li:first-child { border-left: 0; padding-left: 0; }

.about-value-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-1);
  background: var(--blush);
  border-radius: 50%;
  color: var(--rose);
}

.about-values strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.about-values li > span:last-child {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.35;
}

.about-sign {
  margin: var(--s-10) 0 0 auto;
  max-width: 6ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  color: var(--rose);
  text-align: right;
}

.about-intro-line {
  display: block;
  width: min(1280px, calc(100% - 48px));
  height: 72px;
  margin: -8px auto 0;
  color: var(--navy);
  opacity: 0.28;
  pointer-events: none;
}

@media (max-width: 859px) {
  .dash-grid,
  .about-intro-grid,
  .about-values { grid-template-columns: 1fr 1fr; }
  .dash-card summary { min-height: 0; padding: var(--s-8) var(--s-6); }
  .dash-card-body { padding: 0 var(--s-6) var(--s-8); }
  .about-intro-grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .about-intro-copy h2 { max-width: none; }
  .about-values li { padding: var(--s-3) var(--s-3) 0; }
  .about-values li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .about-intro-line { display: none; }
}

@media (max-width: 859px) {
  .reset-path-stage { margin-top: var(--s-8); }
  .reset-path-steps { grid-template-columns: 1fr; }
  .reset-path-step { text-align: left; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 var(--s-4); align-items: start; }
  .reset-path-num { margin: 0 0 var(--s-2); grid-row: 1 / 3; }
  .js .reset-path.is-pinned { height: auto; }
  .js .reset-path.is-pinned .reset-path-pin { position: static; min-height: 0; display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .read-bar { transition: none; }
  .js .reset-path.is-pinned { height: auto; }
  .js .reset-path.is-pinned .reset-path-pin { position: static; min-height: 0; display: block; }
  .dash-card,
  .blog-card { transition: none; }
}

/* ==========================================================================
   5. DIZAJN-SYSTÉM – finálne zjednotenie typografie a rozostupov (musí zostať posledné)
   ========================================================================== */

/* Design-system bindings. Values come from tokens.css / section 1. */

h1, h2, h3, h4 { text-wrap: balance; hyphens: manual; }

p, li { text-wrap: pretty; hyphens: manual; }

h3, h4 { margin: 0 0 var(--s-3); }

p, ul, ol { margin: 0 0 var(--s-4); }

strong, em, input, textarea, select, button { margin: 0; }

h1 em { margin-top: 0; }

.article-meta,
.legal-date { margin: 0 0 var(--s-3); }

.article-excerpt { margin: 0 0 var(--s-6); }

.page-hero-actions { margin-bottom: 0; }

.blog-help,
.blog-help .wrap { margin: 0; }

.page-about .page-hero,
.page-about .page-hero-deco,
.page-about .office-art,
.page-about .office-arc { overflow-x: clip; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
}

.page-hero h1 {
  font-size: var(--t-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  font-weight: 500;
  max-width: 18ch;
  text-wrap: balance;
}

.page-reset .page-hero-copy { grid-column: 1 / 8; }

.page-hero-contact h1 {
  font-size: var(--t-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  max-width: 22ch;
  text-wrap: balance;
}

@media (min-width: 1060px) {
  .contact-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.contact-mail-alt {
  display: inline-block;
  margin-top: var(--s-2);
  font-size: var(--t-small);
}

h2 {
  font-size: var(--t-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  font-weight: 500;
}

.home-card h3 { font-size: var(--t-h3-lg); line-height: var(--lh-h3-lg); font-weight: 600; }

h3, .why-card h3, .reset-steps h3 { font-size: var(--t-h3); line-height: var(--lh-h3); font-weight: 600; }

.home-lead, .page-hero-text { font-size: var(--t-lead); line-height: var(--lh-lead); max-width: var(--measure); }

body { font-size: var(--t-body); line-height: var(--lh-body); }

.article-body { font-size: var(--t-body-article); line-height: var(--lh-article); max-width: var(--measure-article); }

.article-body h3 .num,
.article-body h3 .n {
  font-size: inherit;
  font-style: italic;
  font-weight: inherit;
  color: var(--rose-dark);
  letter-spacing: inherit;
}

.eyebrow {
  margin: 0 0 var(--s-4);
  font-size: var(--t-eyebrow);
  line-height: var(--lh-eyebrow);
  letter-spacing: var(--ls-eyebrow);
}

.home-block { padding: var(--s-32) 0; }

.page-hero { padding: var(--s-24) 0 0; }

.page-hero-grid { padding-bottom: var(--s-20); }

.page-hero-ribbons { height: var(--s-20); }

.wrap { padding-inline: var(--s-8); }

.btn, .inquire {
  gap: 10px;
  min-height: 52px;
  padding-inline: var(--s-6);
  border-radius: var(--r-btn);
  font-size: var(--t-button);
  letter-spacing: var(--ls-button);
}

.price-nav a {
  padding: 0 var(--s-4);
}

.topbar .inquire {
  min-height: 46px;
  border-radius: 13px;
}

.btn-line { border-width: 1.5px; }

.home-package p.home-package-price,
.home-package-price {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: var(--s-2);
  margin: 0 0 var(--s-3);
  padding: 0;
  border: 0;
  font-size: var(--t-price);
  line-height: 1;
}

.home-package-hours {
  display: block;
  margin-top: 0;
  margin-bottom: 0;
}

.hero-in { animation: heroIn .4s ease both; }

.hero-in.d1 { animation-delay: 80ms; }

.hero-in.d2 { animation-delay: 120ms; }

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

.js .reveal { transform: translateY(16px); }

.js .reveal.is-visible,
.js .reveal.is-in {
  transition-duration: .6s, .6s;
}

.home-block > .wrap > :first-child { margin-top: 0; }

.home-block > .wrap > :last-child { margin-bottom: 0; }

@media (max-width: 1023px) and (min-width: 768px) {
  .home-block { padding: var(--s-20) 0; }
}

@media (max-width: 859px) {
  .home-block { padding: var(--s-14) 0; }
  .page-hero { padding-top: var(--s-12); }
  .page-hero-grid { padding-bottom: var(--s-10); }
  .wrap { padding-inline: var(--s-5); }
  .eyebrow { margin-bottom: var(--s-3); }
  .hero-c__title {
    max-width: none;
  }
  .home-package-price {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: var(--s-2);
  }
  .price-nav-bar {
    padding: 10px 0;
    max-height: none;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }
  .price-nav { margin: 0; }
  .price-nav a {
    height: 44px;
    min-height: 44px;
  }
  .page-pricing,
  .page-services { --sticky-offset: 156px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-in { animation: none; }
  .svc-row-panel,
  .svc-toggle,
  .calc-bar { transition: none; }
}

.page-reset .page-hero h1 {
  max-width: none;
  text-wrap: wrap;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.08;
}

.page-reset .page-hero h1 em {
  display: inline;
  margin-top: 0;
  white-space: nowrap;
}

/* Úvod na mobile: bez dekoratívneho kruhu a s kratšou tabuľkou pred/po */
@media (max-width: 719px) {
  .home-office .office-art { display: none; }
  .reset-compare.is-short tbody tr:nth-child(n + 4) { display: none; }
  .home-reset .reset-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
  .home-reset .reset-steps article { padding-top: var(--s-4); }
  .home-reset .reset-steps p { font-size: 14px; line-height: 1.5; }
  .home-reset .reset-steps h3 { font-size: 20px; }
}

/* ==========================================================================
   6. SEO doplnky (25. 11. 2026) – omrvinky a súvisiace služby na stránkach služieb,
      hlavný nadpis úvodu v štýle eyebrow
   ========================================================================== */

.crumbs { padding-top: var(--s-4); font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.crumbs li { display: flex; align-items: center; gap: var(--s-2); color: var(--muted, inherit); }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: inherit; }
.crumbs [aria-current] { color: var(--navy); }

.related-services { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin: 0; padding: 0; list-style: none; }

/* Hlavný nadpis úvodu (H1 pre vyhľadávače) vyzerá ako pôvodný riadok nad sloganom. */
h1.hero-c__kicker {
  margin: 0 0 var(--s-5);
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  line-height: var(--lh-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-wrap: pretty;
}

/* <picture> (WebP + záložný PNG/JPG) nemení rozloženie – obrázok sa správa ako priamy potomok. */
picture { display: contents; }

/* Karty článkov na /blog sú h2 (správna hierarchia nadpisov), vzhľad ostáva ako pri pôvodnom h3. */
.blog-card h2 { line-height: 1.15; letter-spacing: normal; }

/* ==========================================================================
   7. Adventný kalendár na úvode (1.–24. 12.): vysúvací darček pri pravom okraji
   a pole s darčekom vo formulári. Ostatné štýly kalendára sú v advent.css.
   ========================================================================== */

/* Darček pripnutý k pravému okraju v strede obrazovky – rovnaký štýl ako hlavička webu
   (krémová plocha, tenký tmavomodrý obrys) a líniová kresba darčeka so staroružovou stuhou.
   Z okraja vytŕča ikonka; po prejdení myšou / fokuse sa vysunie s textom.
   V pokoji sa darček každých 5 s jemne pohne (vypnuté pri prefers-reduced-motion). */
.adv-home {
  --peek: 74px;
  --rose: #BD8F91;
  --rose-dark: #9E6F72;
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 45;
  display: block;
  color: var(--navy);
  text-decoration: none;
  transform: translate(calc(100% - var(--peek)), -50%);
  transition: transform .5s cubic-bezier(.2, .8, .25, 1);
}
.adv-home:hover,
.adv-home:focus-visible { transform: translate(0, -50%); }
.adv-home:focus-visible { outline: none; }
.adv-home:focus-visible .adv-home-inner { outline: 2px solid var(--rose-dark); outline-offset: 3px; }
.adv-home-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 26px 12px 14px;
  border: 1.5px solid var(--navy);
  border-right: 0;
  border-radius: 16px 0 0 16px;
  background: var(--cream, #FAF7F3);
  box-shadow: 0 12px 30px -16px rgba(39, 51, 79, .45);
}
.adv-home-icon { position: relative; flex: none; width: 46px; height: 46px; }
.adv-home-gift {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 50% 90%;
  animation: adv-home-wiggle 5s ease-in-out 1.5s infinite;
}
.adv-home-gift .g-box { stroke: var(--navy); stroke-width: 1.5; fill: #FFFDFB; }
.adv-home-gift .g-ribbon { stroke: var(--rose-dark); stroke-width: 3.2; stroke-linecap: butt; }
.adv-home-gift .g-bow { stroke: var(--rose-dark); stroke-width: 1.6; fill: #F6E1DE; transform-origin: 24px 18px; animation: adv-home-bow 5s ease-in-out 1.5s infinite; }
.adv-home-gift .g-bow circle { fill: var(--rose-dark); stroke: none; }
.adv-home:hover .adv-home-gift,
.adv-home:hover .adv-home-gift .g-bow,
.adv-home:focus-visible .adv-home-gift,
.adv-home:focus-visible .adv-home-gift .g-bow { animation: none; }
.adv-home-text {
  display: grid;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}
.adv-home-text small {
  margin-bottom: 3px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rose-dark);
}
.adv-home-flake { position: absolute; width: 9px; color: var(--rose); animation: adv-home-twinkle 3.2s ease-in-out infinite; }
.adv-home-flake svg { display: block; width: 100%; height: auto; }
.adv-home-flake.is-1 { left: -6px; top: -4px; }
.adv-home-flake.is-2 { right: -7px; top: 2px; width: 7px; animation-delay: 1.4s; }

/* Každých 5 s: darček poskočí a zakolíše, mašľa sa nadýchne. */
@keyframes adv-home-wiggle {
  0%, 66%, 100% { transform: none; }
  70% { transform: translateY(-4px) rotate(-7deg); }
  75% { transform: translateY(-2px) rotate(6deg); }
  80% { transform: translateY(-1px) rotate(-4deg); }
  85% { transform: rotate(2deg); }
  90% { transform: none; }
}
@keyframes adv-home-bow {
  0%, 68%, 100% { transform: none; }
  74% { transform: scale(1.18); }
  82% { transform: scale(.96); }
  88% { transform: none; }
}
@keyframes adv-home-twinkle {
  0%, 100% { opacity: .2; transform: scale(.75); }
  50% { opacity: .9; transform: scale(1); }
}

@media (max-width: 760px) {
  .adv-home { --peek: 58px; }
  .adv-home-inner { gap: 12px; padding: 9px 18px 9px 11px; border-radius: 14px 0 0 14px; }
  .adv-home-icon { width: 36px; height: 36px; }
  .adv-home-text { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .adv-home { transition: none; }
  .adv-home-gift,
  .adv-home-gift .g-bow,
  .adv-home-flake { animation: none; }
}

.gift-notice { margin: 0 0 var(--s-5); padding: var(--s-4) var(--s-5); border: 1px solid #BD8F91; border-radius: var(--r-card); background: #FDF6F3; font-size: 15px; }
.gift-notice p { margin: 0; }
.gift-notice-pct { margin-bottom: 4px !important; font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--navy); }
.gift-notice-pct span { font-family: var(--sans); font-size: 16px; font-weight: 500; }

/* V decembri má menu o položku viac (ADVENTNÝ KALENDÁR) – pod 1340 px sa preto prepne na rozbaľovacie menu skôr. */
@media (max-width: 1339px) and (min-width: 1021px) {
  .topbar.has-advent .nav-toggle { display: inline-flex; align-items: center; gap: var(--s-2); margin-left: auto; }
  .topbar.has-advent .top-cta { display: none; }
  .topbar.has-advent .menu .menu-cta { display: inline-flex; margin-top: var(--s-2); }
  .topbar.has-advent .menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-2) var(--s-3) var(--s-4);
    background: var(--cream);
    border: 1.5px solid var(--navy);
    border-radius: 14px;
    box-shadow: 0 10px 24px -18px rgba(39, 51, 79, 0.3);
  }
  .topbar.has-advent .menu a:not(.menu-cta) + a:not(.menu-cta)::before { display: none; }
  .topbar.has-advent .menu.is-open { display: flex; z-index: 60; }
  .topbar.has-advent .menu a { padding: var(--s-3) var(--s-2); font-size: 14px; min-height: 44px; }
}

