/* ==========================================================================
   Advokátska kancelária – JUDr. Alexandra Skybová
   Slonovinovo-bordový dizajn podľa schváleného návrhu (layout 1, farby 2)
   ========================================================================== */

/* ---------- Písma (lokálne hostované, OFL, so slovenskou diakritikou) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2-variations"),
       url("../fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6-02C7, U+02D8-02DD, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+27F6;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-ext.woff2") format("woff2-variations"),
       url("../fonts/newsreader-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-017F;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin.woff2") format("woff2-variations"),
       url("../fonts/nunito-sans-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6-02C7, U+02D8-02DD, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+27F6;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-ext.woff2") format("woff2-variations"),
       url("../fonts/nunito-sans-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-017F;
}

/* ---------- Tokeny ---------- */
:root {
  --ivory: #f6f2eb;
  --burgundy: #551525;
  --burgundy-dark: #40101c;
  --ink: #242120;
  --muted: #5e5752;
  --bronze: #a37850;
  --number: #8d643f;
  --line: #d9c9b8;

  --ivory-rgb: 246, 242, 235;
  --burgundy-rgb: 85, 21, 37;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", Arial, Helvetica, sans-serif;

  --pad: clamp(24px, 5vw, 80px);
  --maxw: 1600px;
  --header-h: 130px;
  --h1-size: clamp(60px, 6.6vw, 100px);
  --hero-pad-top: 64px;
  --hero-pad-bottom: 72px;
  --lead-size: clamp(18px, 1.7vw, 24px);
  --lead-mt: 26px;
  --actions-mt: 34px;
  --cta-h: 52px;
  --svc-pad-top: 36px;
  --svc-pad-bottom: 44px;
  --svc-eyebrow-mb: 32px;
  --svc-num-size: 21px;
  --svc-title-size: clamp(26px, 2.4vw, 35px);
  --svc-title-my: 12px;
  --svc-desc-size: 17px;
  --svc-fold: 310px;
  --hero-max: 600px;
  --header-h-compact: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-lux: cubic-bezier(.19, 1, .22, 1);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--ivory);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-compact) + 24px);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  padding-top: var(--header-h);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--burgundy);
  font-optical-sizing: auto;
  text-wrap: balance;
}
p { text-wrap: pretty; }
a, button, summary, input, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
::selection { background: var(--burgundy); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 5px;
  border-radius: 1px;
}
.on-dark :focus-visible { outline-color: var(--ivory); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: -120px; left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: 14px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Ikony */
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.arrow { width: 22px; height: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .5s var(--ease-out); }

/* ---------- Typografické prvky ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 32px;
  font: 600 10px/1.5 var(--sans);
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  flex: none;
  display: block;
  width: 42px;
  height: 1px;
  background: var(--bronze);
  transform-origin: left center;
}
.on-dark .eyebrow { color: var(--ivory); }

.section-title {
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
  color: var(--ink);
}
.muted { color: var(--muted); }

/* ---------- Tlačidlá a odkazy ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  padding: 14px 30px;
  border: 1px solid var(--burgundy);
  background: var(--burgundy);
  color: var(--ivory);
  font: 500 15px/1.25 var(--sans);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--burgundy-dark);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .7s var(--ease-lux);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover .arrow, .btn:focus-visible .arrow,
.link:hover .arrow, .link:focus-visible .arrow { transform: translateX(6px); }

.btn--outline {
  background: transparent;
  border-color: rgba(var(--ivory-rgb), .85);
  color: var(--ivory);
}
.btn--outline::before { background: var(--ivory); }
.btn--outline:hover, .btn--outline:focus-visible { color: var(--burgundy); border-color: var(--ivory); }

.btn--ghost {
  background: transparent;
  color: var(--burgundy);
}
.btn--ghost::before { background: var(--burgundy); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ivory); }

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  color: var(--burgundy);
  font: 500 14px/1.3 var(--sans);
  letter-spacing: .01em;
}
.link::before, .link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  height: 1px;
}
.link::after { background: var(--bronze); }
.link::before {
  z-index: 1;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .7s var(--ease-lux);
}
.link:hover::before, .link:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.on-dark .link { color: var(--ivory); }
.on-dark .link::after { background: rgba(var(--ivory-rgb), .45); }
.on-dark .link::before { background: var(--ivory); }

.text-link {
  color: var(--burgundy);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
  transition: background-size .5s var(--ease-out);
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ==========================================================================
   Hlavička
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(var(--ivory-rgb), 1);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), -webkit-backdrop-filter .5s var(--ease), backdrop-filter .5s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-block: 0;
  transition: min-height .6s var(--ease-lux), padding .6s var(--ease-lux);
}
.site-header.is-scrolled {
  background: rgba(var(--ivory-rgb), .9);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  backdrop-filter: saturate(1.2) blur(16px);
  box-shadow: 0 1px 0 rgba(var(--burgundy-rgb), .09);
}
.site-header.is-scrolled .header-inner { min-height: var(--header-h-compact); padding-block: 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  min-width: 0;
  color: var(--burgundy);
}
.brand-seal {
  width: 88px;
  height: 88px;
  flex: none;
  transition: width .6s var(--ease-lux), height .6s var(--ease-lux), transform 1.2s var(--ease-lux);
}
.brand:hover .brand-seal { transform: rotate(-8deg); }
.is-scrolled .brand-seal { width: 58px; height: 58px; }
.brand-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.1vw, 31px);
  line-height: 1.15;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: font-size .6s var(--ease-lux);
}
.brand-sub {
  font: 500 10px/1.4 var(--sans);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: clamp(24px, 2.6vw, 42px); }
.nav-list { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--burgundy);
  font: 500 15px/1.3 var(--sans);
  letter-spacing: .01em;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .6s var(--ease-lux);
}
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-divider { width: 1px; height: 46px; background: rgba(var(--burgundy-rgb), .35); }
.nav-cta { padding-inline: 28px; }
.nav-extra { display: none; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--burgundy);
}
.menu-toggle .bar {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 1.5px;
  background: currentColor;
  transition: transform .5s var(--ease-lux), opacity .3s var(--ease), top .5s var(--ease-lux);
}
.menu-toggle .bar:nth-child(1) { top: 14px; }
.menu-toggle .bar:nth-child(2) { top: 21px; }
.menu-toggle .bar:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  min-height: clamp(0px, calc(100vh - var(--header-h) - var(--svc-fold)), var(--hero-max));
  min-height: clamp(0px, calc(100svh - var(--header-h) - var(--svc-fold)), var(--hero-max));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 70%;
  z-index: -2;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 56%;
  transform-origin: 70% 50%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(var(--ivory-rgb), 1) 0%,
    rgba(var(--ivory-rgb), .94) 12%,
    rgba(var(--ivory-rgb), .72) 26%,
    rgba(var(--ivory-rgb), .32) 42%,
    rgba(var(--ivory-rgb), 0) 60%);
}
.hero .container { position: relative; }
.hero-content {
  max-width: 760px;
  padding-block: var(--hero-pad-top) var(--hero-pad-bottom);
}
.hero-title {
  font-size: var(--h1-size);
  font-weight: 540;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: nowrap;
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-lead {
  margin-top: var(--lead-mt);
  max-width: 660px;
  font-size: var(--lead-size);
  line-height: 1.45;
  color: var(--ink);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-top: var(--actions-mt);
}
.hero-actions .btn { min-height: var(--cta-h); }
.hero-actions .btn { padding-inline: 38px; }

/* ==========================================================================
   Služby
   ========================================================================== */
.services { padding-block: var(--svc-pad-top) var(--svc-pad-bottom); }
.services .eyebrow { margin-bottom: var(--svc-eyebrow-mb); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 40px 0 40px;
}
.service-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.service:first-child { padding-left: 0; }
.service + .service::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
  transform-origin: top center;
}
.service-num {
  display: block;
  font-family: var(--serif);
  font-size: var(--svc-num-size);
  line-height: 1.2;
  color: var(--number);
  font-variant-numeric: lining-nums;
}
.service-title {
  margin: var(--svc-title-my) 0;
  font-size: var(--svc-title-size);
  line-height: 1.18;
  letter-spacing: -.015em;
}
.service-desc {
  max-width: 340px;
  min-height: 56px;
  color: var(--muted);
  font-size: var(--svc-desc-size);
  line-height: 1.55;
}
.service .link { margin-top: auto; }
.service-desc { margin-bottom: 14px; }

/* ==========================================================================
   Detail služby – vysúvací panel (dialog)
   ========================================================================== */
.drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}
.drawer::backdrop { background: transparent; }
.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 33, 32, .42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(620px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  box-shadow: -30px 0 60px rgba(64, 16, 28, .12);
  transform: translateX(104%);
  transition: transform .8s var(--ease-lux);
}
.drawer.is-open .drawer-overlay { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 40px 10px;
}
.drawer-head .eyebrow { margin: 0; }
.drawer-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--burgundy);
  transition: transform .6s var(--ease-lux), border-color .4s var(--ease), background-color .4s var(--ease);
}
.drawer-close:hover { transform: rotate(90deg); border-color: var(--burgundy); }
.drawer-close .icon { width: 16px; height: 16px; }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 40px 32px;
}
.drawer-body > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .9s var(--ease-lux); }
.drawer.is-open .drawer-body > * { opacity: 1; transform: none; }
.drawer.is-open .drawer-body > *:nth-child(1) { transition-delay: .18s; }
.drawer.is-open .drawer-body > *:nth-child(2) { transition-delay: .26s; }
.drawer.is-open .drawer-body > *:nth-child(3) { transition-delay: .34s; }
.drawer.is-open .drawer-body > *:nth-child(4) { transition-delay: .42s; }
.drawer.is-open .drawer-body > *:nth-child(5) { transition-delay: .50s; }
.drawer.is-open .drawer-body > *:nth-child(n+6) { transition-delay: .58s; }
.drawer-num {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--number);
}
.drawer-title {
  margin-top: 6px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.drawer-lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.65;
}
.drawer-sub {
  margin-top: 34px;
  font: 600 10px/1.5 var(--sans);
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--ink);
}
.drawer-list { margin-top: 14px; border-top: 1px solid var(--line); }
.drawer-list li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-list strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  color: var(--burgundy);
}
.drawer-list span { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.drawer-note { margin-top: 24px; color: var(--muted); font-size: 15px; font-style: normal; }
.drawer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 28px; }
.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 14px 40px;
}
.drawer-next {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--burgundy);
  font: 500 14px/1.3 var(--sans);
}
.drawer-next:hover .arrow { transform: translateX(6px); }
html.is-locked { overflow: hidden; }

/* Bez JavaScriptu sa detaily zobrazia priamo pod službami */
html:not(.js) .drawer {
  position: static;
  display: block;
  height: auto;
  overflow: visible;
}
html:not(.js) .drawer-overlay, html:not(.js) .drawer-close, html:not(.js) .drawer-foot { display: none; }
html:not(.js) .drawer-panel { position: static; transform: none; width: auto; box-shadow: none; border-top: 1px solid var(--line); }
html:not(.js) .drawer-body > * { opacity: 1; transform: none; }
html:not(.js) .drawer-head, html:not(.js) .drawer-body { padding-inline: var(--pad); }

/* ==========================================================================
   Konzultačný pás
   ========================================================================== */
.consult {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg, var(--burgundy) 0%, #4d1322 58%, #49121e 100%);
  color: var(--ivory);
}
.consult::before {
  /* jemná textúra papiera */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.consult-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 56px;
  padding-block: 38px 44px;
}
.consult .eyebrow { margin-bottom: 14px; }
.consult-title {
  color: var(--ivory);
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.consult-text { margin-top: 12px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: rgba(var(--ivory-rgb), .92); }
.consult-divider { width: 1px; align-self: stretch; margin-block: 8px; background: rgba(var(--ivory-rgb), .32); transform-origin: top center; }
.consult-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.consult-actions .btn { padding-inline: 40px; }
.consult-phone { align-self: center; font-size: 14px; color: rgba(var(--ivory-rgb), .8); }
.consult-phone a { color: var(--ivory); border-bottom: 1px solid rgba(var(--ivory-rgb), .35); transition: border-color .4s var(--ease); }
.consult-phone a:hover { border-color: var(--ivory); }

/* ==========================================================================
   Sekcie pod hlavnými blokmi
   ========================================================================== */
.section { padding-block: clamp(72px, 9vw, 132px); }
.section + .section { border-top: 1px solid rgba(var(--burgundy-rgb), .08); }
.section--tint { background: rgba(var(--burgundy-rgb), .028); }

/* O kancelárii */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.about-intro .section-title { max-width: 560px; }
.about-intro .lead { margin-top: 28px; max-width: 560px; }
.about-intro p + p { margin-top: 18px; }
.about-intro .about-p { margin-top: 18px; max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.principles { border-top: 1px solid var(--line); counter-reset: pr; }
.principle {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.principle-num { font-family: var(--serif); font-size: 20px; color: var(--number); line-height: 1.5; }
.principle h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.2; letter-spacing: -.01em; }
.principle p { grid-column: 2; color: var(--muted); font-size: 16.5px; line-height: 1.65; max-width: 520px; }

/* Citát */
.creed { padding-block: clamp(64px, 8vw, 116px); text-align: center; }
.creed-seal { width: 64px; height: 64px; margin: 0 auto 30px; opacity: .9; }
.creed blockquote p {
  max-width: 980px;
  margin-inline: auto;
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--burgundy);
  text-wrap: balance;
}
.creed-rule { display: block; width: 72px; height: 1px; margin: 34px auto 0; background: var(--bronze); transform-origin: center; }

/* Postup spolupráce */
.process-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.process-head .section-title { max-width: 620px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); position: relative; }
.step { position: relative; padding-top: 34px; }
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.step::after {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bronze);
}
.step-num { font-family: var(--serif); font-size: 21px; color: var(--number); }
.step h3 { margin-top: 10px; font-size: clamp(23px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Newsletter */
.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.newsletter-copy .lead { margin-top: 24px; max-width: 520px; color: var(--muted); }
.nl-form { position: relative; }
.nl-field { position: relative; }
.nl-label {
  display: block;
  margin-bottom: 6px;
  font: 600 10px/1.5 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink);
}
.nl-row { display: flex; align-items: stretch; gap: 0; }
.nl-input {
  flex: 1;
  min-width: 0;
  min-height: 60px;
  padding: 16px 2px 12px;
  border: 0;
  border-bottom: 1px solid rgba(var(--burgundy-rgb), .45);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -.005em;
  outline: none;
  transition: border-color .4s var(--ease);
}
.nl-input::placeholder { color: rgba(var(--burgundy-rgb), .38); }
.nl-input:focus { border-color: var(--burgundy); }
.nl-underline {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .7s var(--ease-lux);
  pointer-events: none;
}
.nl-input:focus ~ .nl-underline { transform: scaleX(1); }
.nl-inputwrap { position: relative; flex: 1; display: flex; }
.nl-submit { margin-left: 18px; align-self: end; }
.nl-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
}
.nl-consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid rgba(var(--burgundy-rgb), .5);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.nl-consent input::after {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 1.5px solid var(--ivory);
  border-bottom: 1.5px solid var(--ivory);
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform .35s var(--ease-out);
}
.nl-consent input:checked { background: var(--burgundy); border-color: var(--burgundy); }
.nl-consent input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.nl-consent a { color: var(--burgundy); border-bottom: 1px solid var(--bronze); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.nl-status {
  min-height: 24px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.55;
}
.nl-status.is-error { color: #8a1c2c; }
.nl-status.is-success { color: var(--burgundy); }
.nl-form.is-sending .nl-submit { pointer-events: none; opacity: .75; }
.nl-form [aria-invalid="true"] { border-color: #8a1c2c; }
.nl-success {
  display: none;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.nl-success h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; }
.nl-success p { margin-top: 10px; color: var(--muted); }
.nl-form.is-done .nl-fields { display: none; }
.nl-form.is-done .nl-success { display: block; animation: fadeUp 1s var(--ease-lux) both; }
.nl-fine { margin-top: 10px; color: var(--muted); font-size: 13px; }

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: stretch;
}
.contact-intro .lead { margin-top: 24px; max-width: 540px; color: var(--muted); }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 6px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item dt {
  font: 600 10px/2.4 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink);
}
.contact-item dd { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.4; color: var(--burgundy); }
.contact-item dd a { background-image: linear-gradient(var(--bronze), var(--bronze)); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .6s var(--ease-lux); }
.contact-item dd a:hover { background-size: 0 1px; background-position: 100% 100%; }
.contact-item .small { display: block; margin-top: 4px; font: 400 14px/1.6 var(--sans); color: var(--muted); }
.map-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 6px; }
.map-links a { font: 500 13px/1.4 var(--sans); color: var(--burgundy); border-bottom: 1px solid var(--bronze); min-height: 32px; display: inline-flex; align-items: center; }

.contact-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(32px, 4vw, 56px);
  background: linear-gradient(150deg, var(--burgundy) 0%, #4a1220 70%, var(--burgundy-dark) 100%);
  color: var(--ivory);
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.contact-card-seal { width: 96px; height: 96px; }
.contact-card h3 { color: var(--ivory); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -.015em; }
.contact-card p { margin-top: 12px; color: rgba(var(--ivory-rgb), .86); font-size: 16px; line-height: 1.65; }
.contact-card-actions { display: grid; gap: 12px; }
.contact-card-actions .btn { justify-content: space-between; width: 100%; }

/* GDPR */
.gdpr-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.gdpr-intro p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.gdpr-intro p + p { margin-top: 16px; }
.gdpr-intro strong { color: var(--ink); font-weight: 600; }
.code-card {
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: rgba(var(--ivory-rgb), .6);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.code-card strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--burgundy); }
.code-card .code-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; }
.code-card .code-links a { color: var(--burgundy); border-bottom: 1px solid var(--bronze); font-weight: 500; }

.accordion { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-num { font-family: var(--serif); font-size: 18px; color: var(--number); }
.acc-title { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; color: var(--burgundy); letter-spacing: -.01em; transition: transform .6s var(--ease-lux); }
.acc-item summary:hover .acc-title { transform: translateX(6px); }
.acc-icon { position: relative; justify-self: end; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: border-color .4s var(--ease), transform .6s var(--ease-lux); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: var(--burgundy); transform: translate(-50%, -50%); transition: transform .6s var(--ease-lux); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item[open] .acc-icon { border-color: var(--burgundy); transform: rotate(180deg); }
.acc-item[open] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { overflow: hidden; }
.acc-content {
  padding: 4px 0 36px 68px;
  max-width: 960px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}
.acc-content > * + * { margin-top: 14px; }
.acc-content ul { display: grid; gap: 8px; }
.acc-content ul li { position: relative; padding-left: 24px; }
.acc-content ul li::before { content: ""; position: absolute; left: 0; top: .82em; width: 10px; height: 1px; background: var(--bronze); }
.acc-content strong { font-weight: 650; }
.acc-content a { color: var(--burgundy); border-bottom: 1px solid var(--bronze); }
.acc-content blockquote { padding: 14px 20px; border-left: 2px solid var(--bronze); background: rgba(var(--burgundy-rgb), .03); font-style: italic; }
.acc-content .emph { padding: 16px 20px; border: 1px solid var(--line); background: rgba(var(--ivory-rgb), .7); font-weight: 600; }
.purpose-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; }
.purpose-table th, .purpose-table td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.purpose-table thead th { font: 600 10px/1.5 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink); border-bottom-color: rgba(var(--burgundy-rgb), .4); }
.purpose-table tbody th { font-family: var(--serif); font-weight: 500; font-size: 17px; color: var(--burgundy); width: 26%; }
.purpose-table td { color: var(--muted); }
.purpose-table td:nth-child(2) { width: 40%; color: var(--ink); }
.gdpr-updated { margin-top: 28px; font-size: 14px; color: var(--muted); }
.gdpr-note { margin-top: 6px; max-width: 760px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Pätička
   ========================================================================== */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--burgundy-dark);
  color: rgba(var(--ivory-rgb), .82);
  font-size: 14.5px;
  line-height: 1.7;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .14;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.6fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
}
.footer-brand { display: flex; flex-direction: column; gap: 22px; }
.footer-brand img { width: 92px; height: 92px; }
.footer-brand .brand-name { color: var(--ivory); font-size: 24px; white-space: normal; }
.footer-brand .brand-sub { color: rgba(var(--ivory-rgb), .7); font-size: 9px; }
.footer-motto { font-family: var(--serif); font-size: 19px; line-height: 1.4; color: rgba(var(--ivory-rgb), .92); }
.footer-col h2 {
  margin-bottom: 16px;
  font: 600 10px/1.5 var(--sans);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ivory);
}
.footer-col a { color: var(--ivory); background-image: linear-gradient(rgba(var(--ivory-rgb), .4), rgba(var(--ivory-rgb), .4)); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .6s var(--ease-lux); }
.footer-col a:hover { background-size: 0 1px; background-position: 100% 100%; }
.footer-col ul { display: grid; gap: 6px; }
.footer-col ul a { display: inline-block; padding-block: 3px; }
.footer-legal p + p { margin-top: 8px; }
.footer-legal { font-size: 13.5px; color: rgba(var(--ivory-rgb), .76); }
.footer-legal strong { color: var(--ivory); font-weight: 600; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 22px 26px;
  border-top: 1px solid rgba(var(--ivory-rgb), .16);
  font-size: 13px;
  color: rgba(var(--ivory-rgb), .7);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer-bottom a { color: rgba(var(--ivory-rgb), .9); }
.footer-bottom a:hover { color: var(--ivory); }
.to-top { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.to-top .arrow { transform: rotate(-90deg); width: 16px; }
.to-top:hover .arrow { transform: rotate(-90deg) translateX(4px); }

/* ==========================================================================
   Pohyb: fade-in a luxusné prechody (len s JS; rešpektuje reduced-motion)
   ========================================================================== */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes heroImg {
  from { opacity: 0; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.js .hero [data-hero] { animation: heroIn 1.35s var(--ease-lux) both; }
.js .hero [data-hero="0"] { animation-delay: .25s; }
.js .hero [data-hero="1"] { animation-delay: .42s; }
.js .hero [data-hero="2"] { animation-delay: .66s; }
.js .hero [data-hero="3"] { animation-delay: .84s; }
.js .hero-media img { animation: heroImg 2.6s var(--ease-out) both; }
.js .site-header { animation: fadeIn 1.2s var(--ease) both; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease-lux);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* kreslenie liniek */
.js .eyebrow::before { transform: scaleX(0); transition: transform 1.3s var(--ease-lux) .15s; }
.js .is-in .eyebrow::before, .js .eyebrow.is-in::before, .js .hero .eyebrow::before, .js .drawer .eyebrow::before { transform: scaleX(1); }
.js .service + .service::before { transform: scaleY(0); transition: transform 1.6s var(--ease-lux) .35s; }
.js .service-grid.is-in .service + .service::before { transform: scaleY(1); }
.js .consult-divider { transform: scaleY(0); transition: transform 1.6s var(--ease-lux) .3s; }
.js .consult-inner.is-in .consult-divider { transform: scaleY(1); }
.js .step::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.4s var(--ease-lux); }
.js .step::after { opacity: 0; transform: scale(0); transition: opacity .6s var(--ease), transform .8s var(--ease-lux); }
.js .steps.is-in .step::before { transform: scaleX(1); }
.js .steps.is-in .step::after { opacity: 1; transform: scale(1); }
.js .steps.is-in .step:nth-child(2)::before, .js .steps.is-in .step:nth-child(2)::after { transition-delay: .25s; }
.js .steps.is-in .step:nth-child(3)::before, .js .steps.is-in .step:nth-child(3)::after { transition-delay: .5s; }
.js .steps.is-in .step:nth-child(4)::before, .js .steps.is-in .step:nth-child(4)::after { transition-delay: .75s; }
.js .creed-rule { transform: scaleX(0); transition: transform 1.6s var(--ease-lux) .4s; }
.js .creed.is-in .creed-rule { transform: scaleX(1); }
.js .principle { position: relative; }

/* ==========================================================================
   Responzivita
   ========================================================================== */

/* Tablet 768–1199 */
@media (max-width: 1199px) {
  :root { --header-h: 108px; --header-h-compact: 76px; }
  .brand { gap: 14px; }
  .brand-seal { width: 70px; height: 70px; }
  .is-scrolled .brand-seal { width: 52px; height: 52px; }
  .brand-name { font-size: 24px; }
  .brand-sub { font-size: 8px; letter-spacing: .26em; }
  .site-nav { gap: 22px; }
  .nav-list { gap: 22px; }
  .nav-divider, .nav-cta { display: none; }
  :root { --h1-size: clamp(54px, 6.9vw, 76px); }
  .hero-content { max-width: 640px; }
  .hero-media { width: 74%; }
  .service { padding-inline: 28px; }
  .service:first-child { padding-left: 0; }
  .consult-inner { gap: 32px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px clamp(20px, 3vw, 48px); }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  .about-grid, .newsletter-grid, .contact-grid, .gdpr-head { grid-template-columns: minmax(0, 1fr); }
  .consult-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .consult-divider { display: none; }
  .consult-actions { align-items: flex-start; }
  .consult-phone { align-self: flex-start; }
  .hero-content { max-width: 560px; }
  .hero-media::after {
    background: linear-gradient(90deg,
      rgba(var(--ivory-rgb), 1) 0%,
      rgba(var(--ivory-rgb), .95) 18%,
      rgba(var(--ivory-rgb), .7) 36%,
      rgba(var(--ivory-rgb), .2) 58%,
      rgba(var(--ivory-rgb), 0) 72%);
  }
}

/* Mobil < 768 */
@media (max-width: 767px) {
  :root { --pad: 24px; --header-h: 96px; --header-h-compact: 72px; }
  html { scroll-padding-top: calc(var(--header-h-compact) + 12px); }
  .header-inner { gap: 12px; }
  .brand { gap: 10px; }
  .brand-seal { width: 58px; height: 58px; }
  .is-scrolled .brand-seal { width: 48px; height: 48px; }
  .brand-name { font-size: 18px; letter-spacing: -.005em; }
  .brand-sub { font-size: 7px; letter-spacing: .2em; }
  .menu-toggle { display: block; }

  /* celoobrazovkové menu */
  .site-nav {
    position: fixed;
    left: 0; right: 0;
    top: var(--nav-top, var(--header-h));
    bottom: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--pad) calc(28px + env(safe-area-inset-bottom));
    background: var(--ivory);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .45s var(--ease), transform .6s var(--ease-lux), visibility 0s linear .6s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .45s var(--ease), transform .6s var(--ease-lux), visibility 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-link {
    display: flex;
    min-height: 68px;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.01em;
  }
  .nav-link::after { display: none; }
  .nav-link .nav-num { margin-right: 18px; font-size: 15px; color: var(--number); font-family: var(--serif); }
  .nav-cta { display: inline-flex; margin-top: 28px; width: 100%; justify-content: space-between; }
  .nav-extra { display: grid; gap: 4px; margin-top: 28px; font-size: 15px; color: var(--muted); }
  .nav-extra a { color: var(--burgundy); min-height: 40px; display: inline-flex; align-items: center; }
  .site-nav .nav-list li, .site-nav .nav-cta, .site-nav .nav-extra { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .7s var(--ease-lux); }
  .site-nav.is-open .nav-list li, .site-nav.is-open .nav-cta, .site-nav.is-open .nav-extra { opacity: 1; transform: none; }
  .site-nav.is-open .nav-list li:nth-child(1) { transition-delay: .08s; }
  .site-nav.is-open .nav-list li:nth-child(2) { transition-delay: .14s; }
  .site-nav.is-open .nav-list li:nth-child(3) { transition-delay: .2s; }
  .site-nav.is-open .nav-list li:nth-child(4) { transition-delay: .26s; }
  .site-nav.is-open .nav-cta { transition-delay: .32s; }
  .site-nav.is-open .nav-extra { transition-delay: .38s; }
  html:not(.js) .site-nav { position: static; visibility: visible; opacity: 1; transform: none; }
  html:not(.js) .menu-toggle { display: none; }

  /* hero: text → CTA → odkaz → samostatná fotografia */
  .hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; overflow: visible; }
  .hero-content { padding-block: 22px 26px; max-width: none; }
  .hero-title { font-size: clamp(35px, 9.6vw, 46px); line-height: 1.05; letter-spacing: -.03em; }
  .hero-lead { margin-top: 14px; font-size: 17px; line-height: 1.45; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 24px; }
  .hero-actions .btn { width: 100%; justify-content: space-between; padding-inline: 26px; }
  .hero-actions .link { align-self: flex-start; }
  .hero-media { position: relative; width: 100%; height: 220px; z-index: 0; }
  .hero-media img { object-position: 75% 60%; }
  .hero-media::after { display: none; }

  .services { padding-block: 32px 28px; }
  .eyebrow { gap: 14px; margin-bottom: 22px; font-size: 9px; letter-spacing: .3em; }
  .eyebrow::before { width: 28px; }
  .service-grid { display: block; }
  .service {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }
  .service:first-child { padding-top: 0; }
  .service + .service { border-top: 1px solid var(--line); }
  .service + .service::before { display: none; }
  .service-num { font-size: 18px; line-height: 1.5; }
  .service-title { margin: 0 0 6px; font-size: 24px; }
  .service-desc { min-height: 0; max-width: none; font-size: 15px; line-height: 1.5; }
  .service .link { margin-top: 4px; }

  .drawer-panel { width: 100%; top: auto; height: min(92dvh, 100%); transform: translateY(104%); box-shadow: 0 -24px 60px rgba(64, 16, 28, .14); }
  .drawer-head { padding: 18px var(--pad) 6px; }
  .drawer-body { padding: 12px var(--pad) 28px; }
  .drawer-foot { padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); }
  .drawer-list strong { font-size: 19px; }
  .drawer-cta .btn { width: 100%; justify-content: space-between; }

  .consult-inner { padding-block: 30px 34px; }
  .consult-title { font-size: 36px; letter-spacing: -.02em; }
  .consult-text { font-size: 15px; }
  .consult-actions { align-items: stretch; width: 100%; }
  .consult-actions .btn { width: 100%; justify-content: space-between; padding-inline: 26px; }

  .section { padding-block: 64px; }
  .principle { grid-template-columns: 40px minmax(0, 1fr); padding: 22px 0; }
  .creed-seal { width: 52px; height: 52px; }
  .process-head { display: block; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .nl-row { flex-direction: column; gap: 16px; }
  .nl-submit { margin-left: 0; width: 100%; justify-content: space-between; }
  .contact-item { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 18px 0; }
  .contact-item dt { line-height: 1.8; }
  .acc-item summary { grid-template-columns: 36px minmax(0, 1fr) 40px; min-height: 68px; }
  .acc-icon { width: 38px; height: 38px; }
  .acc-content { padding: 0 0 28px 0; font-size: 15.5px; }
  .purpose-table thead { display: none; }
  .purpose-table, .purpose-table tbody, .purpose-table tr, .purpose-table th, .purpose-table td { display: block; width: 100% !important; }
  .purpose-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .purpose-table th, .purpose-table td { padding: 2px 0; border: 0; }
  .purpose-table td::before { content: attr(data-label); display: block; margin-top: 8px; font: 600 9px/1.6 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 374px) {
  :root { --pad: 16px; --header-h: 82px; --header-h-compact: 68px; }
  .brand { gap: 8px; }
  .brand-seal { width: 48px; height: 48px; }
  .is-scrolled .brand-seal { width: 42px; height: 42px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 6.5px; letter-spacing: .14em; }
  .menu-toggle { width: 40px; }
  .menu-toggle .bar { left: 6px; }
  .hero-title { font-size: 35px; }
  .consult-title { font-size: 32px; }
  .nav-link { font-size: 26px; }
}

/* 200 % zoom / veľmi úzke okná */
@media (max-width: 300px) {
  .brand-sub { display: none; }
  .hero-title .line { white-space: normal; }
}

/* ---------- Obmedzený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Tlač ---------- */
@media print {
  body { padding-top: 0; background: #fff; }
  .site-header { position: static; }
  .site-nav, .menu-toggle, .hero-media, .nl-form, .skip-link, .drawer-overlay { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .consult, .site-footer, .contact-card { background: #fff !important; color: #000 !important; }
  .consult *, .site-footer *, .contact-card * { color: #000 !important; }
}

/* ---------- Doplnky ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav-num { display: none; }
@media (max-width: 767px) { .nav-num { display: inline; } }
.site-header.menu-open {
  background: var(--ivory);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(var(--burgundy-rgb), .09);
  transition: none;
}
.acc-item.is-closing .acc-icon { border-color: var(--line); transform: none; }
.acc-item.is-closing .acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.drawer-title:focus { outline: none; }
.nl-success:focus { outline: none; }
html:not(.js) .header-inner { flex-wrap: wrap; }
@media (max-width: 767px) {
  html:not(.js) .site-nav { width: 100%; padding: 0 0 12px; background: transparent; }
  html:not(.js) .nav-link { font-size: 22px; min-height: 52px; }
}

/* ---------- Jednoduché stránky (404, poďakovanie) ---------- */
.page-simple { padding-top: 0; }
.simple { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; }
.simple-inner { max-width: 820px; padding-block: 64px; animation: heroIn 1.3s var(--ease-lux) both; }
.simple-seal { display: inline-block; margin-bottom: 40px; }
.simple-seal img { width: 120px; height: 120px; transition: transform 1.2s var(--ease-lux); }
.simple-seal:hover img { transform: rotate(-8deg); }
.simple .section-title { font-size: clamp(40px, 6vw, 76px); letter-spacing: -.03em; line-height: 1.05; }
.simple .lead { margin-top: 22px; max-width: 620px; color: var(--muted); }
.simple-actions { margin-top: 34px; }

.footer-bottom nav { align-items: center; }
.arrow--down { width: 16px; height: 16px; }
@media (max-width: 767px) {
  .contact-card-actions .btn { white-space: normal; text-align: left; line-height: 1.35; }
  .service { display: grid; }
  .service-desc { margin-bottom: 4px; }
}

@keyframes drawX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .simple .eyebrow::before { animation: drawX 1.3s var(--ease-lux) .5s both; }
@media (max-width: 767px) {
  .footer-bottom nav { flex-direction: column; align-items: flex-start; gap: 2px; }
  .footer-bottom nav > * { min-height: 36px; display: inline-flex; align-items: center; }
}

/* ==========================================================================
   Prvá obrazovka: služby viditeľné bez posúvania
   Výška úvodu = výška okna − hlavička − blok služieb (presne dopočíta app.js)
   ========================================================================== */
@media (min-width: 768px) and (max-height: 959px) {
  :root {
    --header-h: 108px;
    --h1-size: clamp(52px, min(6.6vw, 10.2vh), 94px);
    --hero-pad-top: 36px;
    --hero-pad-bottom: 40px;
    --lead-size: clamp(17px, min(1.6vw, 2.5vh), 22px);
    --lead-mt: 18px;
    --actions-mt: 26px;
    --svc-pad-top: 26px;
    --svc-eyebrow-mb: 22px;
    --svc-title-my: 8px;
    --svc-fold: 280px;
  }
  .brand-seal { width: 72px; height: 72px; }
  .brand-name { font-size: clamp(22px, 2vw, 28px); }
}
@media (min-width: 768px) and (max-height: 759px) {
  :root {
    --header-h: 92px;
    --h1-size: clamp(46px, min(6vw, 9.2vh), 80px);
    --hero-pad-top: 22px;
    --hero-pad-bottom: 26px;
    --lead-size: clamp(16px, min(1.5vw, 2.6vh), 20px);
    --lead-mt: 12px;
    --actions-mt: 18px;
    --cta-h: 48px;
    --svc-pad-top: 16px;
    --svc-eyebrow-mb: 14px;
    --svc-num-size: 18px;
    --svc-title-size: clamp(22px, min(2.2vw, 3.8vh), 30px);
    --svc-title-my: 6px;
    --svc-desc-size: 15.5px;
    --svc-fold: 236px;
  }
  .brand-seal { width: 62px; height: 62px; }
  .brand-name { font-size: clamp(20px, 1.9vw, 26px); }
  .service .link { min-height: 40px; }
  .service-desc { min-height: 0; margin-bottom: 8px; }
}
@media (min-width: 768px) and (max-height: 639px) {
  :root {
    --header-h: 78px;
    --h1-size: clamp(40px, min(5.6vw, 8.6vh), 64px);
    --hero-pad-top: 14px;
    --hero-pad-bottom: 16px;
    --lead-mt: 8px;
    --actions-mt: 14px;
    --cta-h: 44px;
    --svc-pad-top: 12px;
    --svc-eyebrow-mb: 10px;
    --svc-fold: 212px;
  }
  .brand-seal { width: 52px; height: 52px; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 7.5px; }
}

/* ---------- Mobil: fotografia zakomponovaná pod textom, služby hneď pod úvodom ---------- */
@media (max-width: 767px) {
  :root { --hero-max: 640px; --svc-fold: 250px; }
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    min-height: clamp(0px, calc(100vh - var(--header-h) - var(--svc-fold)), var(--hero-max));
    min-height: clamp(0px, calc(100svh - var(--header-h) - var(--svc-fold)), var(--hero-max));
  }
  .hero-content { position: relative; padding-block: 18px 30px; }
  .hero-media { position: absolute; inset: 0; width: auto; height: auto; z-index: -2; }
  .hero-media img { object-position: 86% 100%; }
  .hero-media::after {
    /* slonovinový závoj za textom, fotografia vystupuje vpravo a pod tlačidlom */
    display: block;
    background: radial-gradient(560px 300px at 0 0,
      rgba(var(--ivory-rgb), .98) 0%,
      rgba(var(--ivory-rgb), .94) 62%,
      rgba(var(--ivory-rgb), .72) 80%,
      rgba(var(--ivory-rgb), .25) 92%,
      rgba(var(--ivory-rgb), 0) 100%);
  }
  .hero-actions { margin-top: 22px; }
  .hero-actions .link { display: none; }

  .services { padding-block: 18px 26px; }
  .services .eyebrow { margin-bottom: 12px; }
  .service-grid { border-top: 1px solid var(--line); }
  .service {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 32px;
    column-gap: 12px;
    align-items: center;
    min-height: 56px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    transition: background-color .3s var(--ease);
  }
  .service:first-child { padding-top: 12px; }
  .service + .service { border-top: 0; }
  .service-body { display: contents; }
  .service-num { grid-column: 1; grid-row: 1; font-size: 17px; line-height: 1.3; }
  .service-title { grid-column: 2; grid-row: 1; margin: 0; font-size: 23px; line-height: 1.2; }
  .service-desc { grid-column: 2; grid-row: 2; display: none; }
  .service .link { grid-column: 3; grid-row: 1 / span 2; justify-self: end; position: static; min-height: 0; margin: 0; }
  .service .link-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .service .link::before { display: none; }
  .service .link::after { top: 0; right: 0; bottom: 0; left: 0; height: auto; background: transparent; }
  .service:active { background: rgba(var(--burgundy-rgb), .04); }
  .service:active .arrow { transform: translateX(6px); }
  .service:focus-within { outline: 2px solid var(--bronze); outline-offset: 2px; }
  .service .link:focus-visible { outline: none; }
}
@media (max-width: 767px) and (min-height: 800px) {
  .service-desc { display: block; min-height: 0; margin: 3px 0 0; font-size: 14.5px; line-height: 1.45; }
}

/* Malé telefóny (napr. iPhone SE s lištami prehliadača) */
@media (max-width: 767px) and (max-height: 620px) {
  :root { --header-h: 80px; --header-h-compact: 64px; }
  .brand-seal { width: 50px; height: 50px; }
  .is-scrolled .brand-seal { width: 42px; height: 42px; }
  .hero-content { padding-block: 12px 20px; }
  .hero-title { font-size: clamp(32px, 8.8vw, 38px); }
  .hero-lead { margin-top: 10px; font-size: 15.5px; }
  .hero-actions { margin-top: 16px; }
  .hero-actions .btn { min-height: 48px; }
  .services { padding-top: 14px; }
  .services .eyebrow { margin-bottom: 10px; }
  .service { min-height: 50px; padding-block: 9px; }
  .service-title { font-size: 21px; }
}


/* ==========================================================================
   1 · Osobný list s podpisom
   ========================================================================== */
.letter-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.letter-intro .lead { margin-top: 24px; max-width: 460px; color: var(--muted); }
.letter-portrait {
  position: relative;
  display: block;
  width: min(100%, 340px);
  margin-top: 44px;
  overflow: hidden;
  background: #e9e2d7;
}
.letter-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.94);
}
/* jemný vnútorný rám ako pri liste */
.letter-portrait::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(var(--ivory-rgb), .5);
  pointer-events: none;
}
.js .letter-portrait img { transform: scale(1.06); transition: transform 2.2s var(--ease-lux) .15s; }
.js .letter-intro.is-in .letter-portrait img { transform: none; }
.letter {
  position: relative;
  padding: clamp(30px, 4.5vw, 64px) clamp(26px, 4.5vw, 64px) clamp(30px, 4vw, 56px);
  background: #fbf9f5;
  border: 1px solid var(--line);
}
.letter::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(var(--burgundy-rgb), .09);
  pointer-events: none;
}
.letter-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.letter-head-name { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.2; color: var(--burgundy); }
.letter-head-role { margin-top: 4px; font: 600 9px/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.letter-body p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.62;
  color: var(--ink);
  text-wrap: pretty;
}
.letter-body p + p { margin-top: 1em; }
.letter-sign { margin-top: 36px; }
.letter-closing { font-family: var(--serif); font-size: 18px; color: var(--muted); }
.letter-role { margin-top: 10px; font: 500 11px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   2 · Živé svetlo v úvode
   ========================================================================== */
.hero-media img { position: relative; z-index: 0; }
.hero-media::after { z-index: 2; }
.hero-media::before {
  content: "";
  position: absolute;
  top: -12%; bottom: -12%;
  left: -40%; right: -40%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background:
    linear-gradient(104deg,
      transparent 0%, transparent 27%,
      rgba(255, 236, 205, .7) 35%,
      rgba(255, 255, 255, 1) 40%,
      rgba(255, 236, 205, .7) 45%,
      transparent 53%,
      transparent 63%,
      rgba(255, 240, 215, .5) 70%,
      transparent 78%);
  animation: sunDrift 48s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes sunDrift {
  from { transform: translateX(-9%); }
  to { transform: translateX(9%); }
}
@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}
.js .hero-media img { animation: heroImg 2.6s var(--ease-out) both, heroDrift 44s ease-in-out 2.6s infinite alternate; }
.hero.is-offscreen .hero-media::before, .hero.is-offscreen .hero-media img { animation-play-state: paused; }
@media (max-width: 767px) {
  .hero-media::before { opacity: .7; }
}

/* ==========================================================================
   3 · Pečať: kreslenie pri načítaní a slepotlač v bordovom páse
   ========================================================================== */
.brand-seal .seal-motif, .brand-seal .seal-text { transform-box: fill-box; transform-origin: center; }
@keyframes sealDraw { to { stroke-dashoffset: 0; } }
@keyframes sealInk { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.js .brand-seal .seal-rings path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: sealDraw 1.5s var(--ease-lux) forwards;
}
.js .brand-seal .seal-rings path:nth-child(1) { animation-delay: .15s; }
.js .brand-seal .seal-rings path:nth-child(2) { animation-delay: .35s; }
.js .brand-seal .seal-rings path:nth-child(3) { animation-delay: .55s; }
.js .brand-seal .seal-rings path:nth-child(4) { animation-delay: .7s; }
.js .brand-seal .seal-motif { opacity: 0; animation: sealInk 1s var(--ease-out) .95s forwards; }
.js .brand-seal .seal-text { opacity: 0; animation: sealInk 1s var(--ease-out) 1.2s forwards; }

.consult-seal {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 58.5%;
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.consult-seal::before, .consult-seal::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: url("../brand/logo-seal-ivory.svg") center / contain no-repeat;
  mask: url("../brand/logo-seal-ivory.svg") center / contain no-repeat;
}
.consult-seal::before {
  background: rgba(18, 3, 8, .42);
  transform: translate(2px, 3px);
}
.consult-seal::after {
  background: linear-gradient(118deg,
    rgba(255, 232, 210, .16) 0%,
    rgba(255, 232, 210, .16) 38%,
    rgba(255, 246, 232, .52) 50%,
    rgba(255, 232, 210, .16) 62%,
    rgba(255, 232, 210, .16) 100%);
  background-size: 320% 320%;
  background-position: 100% 100%;
  transform: translate(-1px, -1px);
  animation: sealSheen 16s ease-in-out infinite;
}
@keyframes sealSheen {
  0%, 22% { background-position: 100% 100%; }
  60%, 100% { background-position: 0% 0%; }
}
.consult.is-offscreen .consult-seal::after { animation-play-state: paused; }
@media (max-width: 1199px) {
  .consult-seal { left: auto; right: -70px; top: auto; bottom: -110px; width: 360px; height: 360px; transform: none; }
}
@media (max-width: 767px) {
  .consult-seal { right: -90px; bottom: -120px; width: 320px; height: 320px; opacity: .8; }
}

/* ==========================================================================
   5 · Web bez sledovania
   ========================================================================== */
.no-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid rgba(var(--burgundy-rgb), .35);
}
.no-track li { display: grid; align-content: start; gap: 6px; padding-right: 8px; }
.no-track strong {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--burgundy);
}
.no-track strong::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); flex: none; }
.no-track span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.badge-privacy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(var(--ivory-rgb), .28);
  border-radius: 999px;
  color: var(--ivory) !important;
  font-size: 12.5px;
  letter-spacing: .04em;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.badge-privacy:hover { border-color: rgba(var(--ivory-rgb), .7); background: rgba(var(--ivory-rgb), .06); }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); box-shadow: 0 0 0 3px rgba(163, 120, 80, .25); }

@media (max-width: 1023px) {
  .letter-grid { grid-template-columns: minmax(0, 1fr); }
  .letter-portrait { width: min(100%, 300px); margin-top: 32px; }
}
@media (max-width: 767px) {
  .no-track { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .letter { padding: 26px 20px 26px; }
  .letter::before { inset: 6px; }
  .letter-body p { font-size: 17.5px; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media::before, .consult-seal::after { animation: none; }
  .js .hero-media img { animation: none; }
  .js .brand-seal .seal-rings path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .js .brand-seal .seal-motif, .js .brand-seal .seal-text { opacity: 1; animation: none; }
}

/* ---------- Podpis (dizajnový podpis, písanie perom) ---------- */
.signature { display: block; margin-top: 8px; }
.signature-svg { display: block; width: min(100%, 330px); height: auto; overflow: visible; }
.sig-g { fill: var(--burgundy); }
.js .sig-g {
  fill-opacity: 0;
  stroke: var(--burgundy);
  stroke-width: 11;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .6s cubic-bezier(.45, 0, .25, 1), fill-opacity .5s ease;
}
.js .letter-sign.is-in .sig-g { stroke-dashoffset: 0; fill-opacity: 1; }
.js .sig-g:nth-child(1) { transition-delay: 0.25s, 0.55s; }
.js .sig-g:nth-child(2) { transition-delay: 0.35s, 0.66s; }
.js .sig-g:nth-child(3) { transition-delay: 0.46s, 0.76s; }
.js .sig-g:nth-child(4) { transition-delay: 0.56s, 0.86s; }
.js .sig-g:nth-child(5) { transition-delay: 0.67s, 0.97s; }
.js .sig-g:nth-child(6) { transition-delay: 0.78s, 1.07s; }
.js .sig-g:nth-child(7) { transition-delay: 0.88s, 1.18s; }
.js .sig-g:nth-child(8) { transition-delay: 0.98s, 1.28s; }
.js .sig-g:nth-child(9) { transition-delay: 1.09s, 1.39s; }
.js .sig-g:nth-child(10) { transition-delay: 1.19s, 1.49s; }
.js .sig-g:nth-child(11) { transition-delay: 1.30s, 1.60s; }
.js .sig-g:nth-child(12) { transition-delay: 1.41s, 1.71s; }
.js .sig-g:nth-child(13) { transition-delay: 1.51s, 1.81s; }
.js .sig-g:nth-child(14) { transition-delay: 1.61s, 1.92s; }
.js .sig-g:nth-child(15) { transition-delay: 1.72s, 2.02s; }
.js .sig-g:nth-child(16) { transition-delay: 1.82s, 2.12s; }

/* ---------- Hlavička listu ---------- */
.letter-head-name { font-size: 21px; }

/* ľavý stĺpec s portrétom ostáva pri čítaní listu v zábere – len ak sa celý zmestí na výšku */
@media (min-width: 1024px) and (min-height: 880px) {
  .letter-intro { position: sticky; top: calc(var(--header-h-compact) + 48px); }
}
@media (max-width: 767px) {
  .signature-svg { width: min(100%, 270px); }
  .letter-head-name { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .sig-g { fill-opacity: 1; stroke-dashoffset: 0; transition: none; }
  .js .letter-portrait img { transform: none; transition: none; }
}

/* ==========================================================================
   Prepínač jazyka (SK · EN)
   ========================================================================== */
.site-nav { margin-left: auto; }
.lang-switch {
  display: flex;
  align-items: center;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lang-switch li { display: flex; align-items: center; }
.lang-switch li + li::before {
  content: "";
  width: 1px;
  height: 11px;
  background: rgba(var(--burgundy-rgb), .28);
}
.lang-switch a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 44px;
  padding: 0 9px;
  color: var(--muted);
  font: 600 11px/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .4s var(--ease);
}
.lang-switch .lang-code { margin-right: -.18em; }
.lang-switch a::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 12px;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transition: transform .6s var(--ease-lux);
}
.lang-switch a:hover, .lang-switch a:focus-visible, .lang-switch a[aria-current] { color: var(--burgundy); }
.lang-switch a:hover::after, .lang-switch a:focus-visible::after, .lang-switch a[aria-current]::after { transform: scaleX(1); }

/* tesné šírky: miesto pre prepínač bez zmeny výšky hlavičky */
@media (min-width: 1200px) and (max-width: 1365px) {
  .nav-cta { padding-inline: 22px; }
  .site-nav, .nav-list { gap: 26px; }
}
.nav-link { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 899px) {
  .brand { gap: 12px; }
  .brand-seal { width: 58px; height: 58px; }
  .brand-name { font-size: 20px; }
  .site-nav, .nav-list { gap: 18px; }
  .header-inner { gap: 14px; }
  .nav-link { font-size: 14px; }
  .lang-switch a { min-width: 34px; padding: 0 7px; }
  .lang-switch a::after { left: 7px; right: 7px; }
}

/* mobil: jeden kruhový odkaz na druhý jazyk vedľa menu */
@media (max-width: 767px) {
  .header-inner { gap: 6px; }
  .brand-seal { width: 54px; height: 54px; }
  .brand-name { font-size: 17px; }
  .lang-switch { margin-left: auto; }
  .lang-switch .is-current { display: none; }
  .lang-switch li + li::before { display: none; }
  .lang-switch a { min-width: 38px; min-height: 38px; padding: 0; font-size: 10.5px; letter-spacing: .14em; color: var(--burgundy); }
  .lang-switch .lang-code { margin-right: -.14em; }
  .lang-switch a::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(163, 120, 80, .6);
    border-radius: 50%;
    transition: border-color .4s var(--ease), background-color .4s var(--ease);
  }
  .lang-switch a:hover::before, .lang-switch a:focus-visible::before { border-color: var(--burgundy); background: rgba(var(--burgundy-rgb), .04); }
  .lang-switch a::after { display: none; }
}

/* úzke telefóny: značka o chlp menšia, aby sa zmestil prepínač jazyka aj menu */
@media (min-width: 375px) and (max-width: 413px) {
  .brand { gap: 8px; }
  .brand-seal { width: 50px; height: 50px; }
  .brand-name { font-size: 16px; }
}
@media (max-width: 374px) {
  .brand { gap: 8px; }
  .brand-seal { width: 48px; height: 48px; }
  .brand-name { font-size: 16px; }
}
@media (max-width: 359px) {
  .brand-name { white-space: normal; max-width: 8.4em; line-height: 1.08; }
}
