/* ============================================================
   SKLENAR & PARTNERS
   Moderná advokátska edícia · motív Ξ (tri linky z loga)
   Playfair Display (display) · Inter (text)
   ink #1e2126 · slate #585f68 · bronz #8b7f71 · papier #f5f3ef
   ============================================================ */

:root {
  font-size: 10px;
  --ink: #1e2126;
  --ink-2: #262a30;
  --slate: #585f68;
  --bronze: #8b7f71;
  --bronze-2: #b5a892;
  --accent: #e7dc8c;
  --accent-2: #dccf72;
  --paper: #f5f3ef;
  --paper-2: #ece9e2;
  --white: #ffffff;
  --line-d: rgba(245, 243, 239, .14);
  --line-l: rgba(30, 33, 38, .12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.6rem;
  line-height: 1.75;
  font-weight: 400;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--bronze); color: #fff; }

.wrap { max-width: 136rem; margin: 0 auto; padding: 0 clamp(2rem, 4vw, 6rem); }

/* ---------- Ξ motív ---------- */
.xi { display: inline-flex; flex-direction: column; gap: .5rem; width: 3.4rem; flex: 0 0 auto; }
.xi i { display: block; height: 2px; background: var(--bronze); transform-origin: left; }
.xi i:nth-child(2) { width: 72%; }
.xi i:nth-child(3) { width: 45%; }
.rv .xi i { transform: scaleX(0); transition: transform .9s var(--ease); }
.rv .xi i:nth-child(2) { transition-delay: .12s; }
.rv .xi i:nth-child(3) { transition-delay: .24s; }
.rv.on .xi i { transform: scaleX(1); }

/* ---------- vlnky z loga (Group 118/119) ---------- */
.wave-mark {
  display: inline-block; flex: 0 0 auto; background-color: var(--bronze);
  -webkit-mask: url(../assets/wave.svg) no-repeat center / contain;
  mask: url(../assets/wave.svg) no-repeat center / contain;
}
.wave-mark.sm { width: 4.4rem; height: .9rem; }
.wave3 {
  display: block; width: 4.6rem; height: 6.4rem; background-color: var(--bronze);
  -webkit-mask: url(../assets/wave3.svg) no-repeat center / contain;
  mask: url(../assets/wave3.svg) no-repeat center / contain;
}
.rv .wave-mark { opacity: 0; transform: translateY(1rem); transition: opacity .9s .1s var(--ease), transform .9s .1s var(--ease); }
.rv.on .wave-mark { opacity: 1; transform: none; }

/* ---------- vlny (pozadie) ---------- */
.waves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.waves svg { position: absolute; width: 160%; min-width: 1800px; height: auto; opacity: .22; }
.waves path { fill: none; stroke: var(--bronze); stroke-width: .9; }
.waves .w2 { opacity: .5; }
.waves .w3 { opacity: .28; }
.wave-draw path {
  stroke-dasharray: 6400; stroke-dashoffset: 6400;
  transition: stroke-dashoffset 2.6s var(--ease);
}
.wave-draw.on path { stroke-dashoffset: 0; }
.wave-draw.on path:nth-child(2) { transition-delay: .25s; }
.wave-draw.on path:nth-child(3) { transition-delay: .5s; }

/* pomalý nekonečný posun do strany — posun o 1600 j. = presne 2 periódy, preto bez švíku */
.waves path { animation: waveDrift 80s linear infinite; will-change: transform; }
.waves .w2 { animation-duration: 105s; }
.waves .w3 { animation-duration: 135s; }
@keyframes waveDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(-1600px); }
}

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: transparent; z-index: 1001;
}
.progress i {
  display: block; height: 100%; width: 100%;
  background: var(--bronze); transform-origin: left; transform: scaleX(0);
}

/* ---------- header ---------- */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .4s ease, box-shadow .4s ease, transform .45s var(--ease);
}
.hd .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 8.8rem; max-width: 100%;
}
.hd.solid { background: rgba(30, 33, 38, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-d); }
.hd.hide { transform: translateY(-100%); }
/* otvorené mobilné menu: transform aj backdrop-filter robia z hlavičky containing block
   pre fixed nav (menu by sa kotvilo k lište, nie k obrazovke) — oboje treba vypnúť */
.hd.menu-open, .hd.menu-open.hide { transform: none; }
.hd.menu-open.solid { background: none; backdrop-filter: none; box-shadow: none; }
.hd .brand img { height: 4.2rem; width: auto; }
.hd nav { display: flex; align-items: center; gap: clamp(2rem, 3vw, 4.4rem); }
.hd nav > a {
  font-size: 1.25rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245, 243, 239, .72); position: relative; padding: .6rem 0;
  transition: color .3s;
}
.hd nav > a:hover { color: #fff; }
.hd nav > a:after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--bronze); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.hd nav > a:hover:after { transform: scaleX(1); transform-origin: left; }
.hd .cta {
  font-size: 1.25rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); background: var(--accent); padding: 1.4rem 2.8rem;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.hd .cta:hover { background: var(--accent-2); color: var(--ink); transform: translateY(-2px); }

.hd-quick { display: flex; align-items: center; gap: .8rem; margin-left: auto; margin-right: clamp(1.6rem, 2.5vw, 3.2rem); }
.hd nav { margin-left: 0; }
.hd-quick a {
  width: 4rem; height: 4rem; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-d); color: rgba(245,243,239,.8);
  transition: background .3s, color .3s, border-color .3s;
}
.hd-quick a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hd-quick svg { width: 1.7rem; height: 1.7rem; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 1rem; z-index: 1002; }
.burger .xi { width: 3rem; }
.burger .xi i { background: var(--paper); transition: transform .4s var(--ease), width .4s var(--ease); }
/* pri zatváracom X sa čiarky musia točiť okolo stredu, nie okolo ľavého okraja (Ξ motív) */
.burger.open .xi i { transform-origin: center; }
.burger.open .xi i:nth-child(1) { transform: translateY(.7rem) rotate(45deg); width: 100%; }
.burger.open .xi i:nth-child(2) { transform: scaleX(0); }
.burger.open .xi i:nth-child(3) { transform: translateY(-.7rem) rotate(-45deg); width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; overflow: hidden;
}
.hero .waves { top: auto; bottom: -6%; height: 70%; }
.hero .waves svg { bottom: 0; right: -20%; }

.hero-grid {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; align-content: center; gap: clamp(3rem, 5vw, 8rem);
  padding-top: 10rem; padding-bottom: 5rem;
}
.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: flex; align-items: center; gap: 1.6rem;
  font-size: 1.2rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--bronze-2); margin-bottom: 3.2rem;
}

.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: calc(clamp(4.4rem, 5.9vw, 8.4rem) * 0.88);
  line-height: 1.04; letter-spacing: .01em; color: #fff;
  margin-bottom: 3.6rem;
}
/* tretí riadok hero nadpisu — dlhší text, zmenšený tak, aby sa zmestil na jeden riadok */
.hero h1 .ln-sm { font-size: .72em; display: inline-block; }
.hero h1 em { font-style: italic; color: var(--bronze-2); }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero.on h1 .ln:nth-child(1) span { transition-delay: .15s; }
.hero.on h1 .ln:nth-child(2) span { transition-delay: .28s; }
.hero.on h1 .ln:nth-child(3) span { transition-delay: .41s; }
.hero.on h1 .ln span { transform: translateY(0); }

.hero p.lead {
  max-width: 46ch; font-size: 1.7rem; font-weight: 300; line-height: 1.9;
  color: rgba(245, 243, 239, .66); margin-bottom: 4.4rem;
  opacity: 0; transform: translateY(2rem); transition: opacity 1s .6s ease, transform 1s .6s var(--ease);
}
.hero.on p.lead { opacity: 1; transform: none; }

.hero-actions { display: flex; align-items: center; gap: 3.2rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(2rem); transition: opacity 1s .75s ease, transform 1s .75s var(--ease); }
.hero.on .hero-actions { opacity: 1; transform: none; }

.btn {
  display: inline-flex; align-items: center; gap: 1.4rem;
  font-size: 1.3rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  padding: 1.9rem 3.6rem; position: relative; overflow: hidden;
  transition: color .35s ease;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(.6rem); }
.btn-solid { background: var(--accent); color: var(--ink); }
.btn-solid:before {
  content: ""; position: absolute; inset: 0; background: var(--paper);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.btn-solid:hover:before { transform: scaleX(1); transform-origin: left; }
.btn-solid:hover { color: var(--ink); }
.btn-solid span, .btn-solid .arr { position: relative; z-index: 1; }
.btn-line { color: var(--paper); padding: 1.9rem 0; }
.btn-line:after {
  content: ""; position: absolute; left: 0; bottom: 1.2rem; height: 1px; width: 100%;
  background: var(--bronze); transition: transform .45s var(--ease); transform-origin: right;
}
.btn-line:hover:after { transform: scaleX(.5); transform-origin: left; }
.on-light .btn-line { color: var(--ink); }

/* hero foto */
.hero-visual { position: relative; z-index: 2; }
.hero-frame {
  position: relative; width: 100%; height: min(60vh, 56rem);
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.4s .2s var(--ease);
}
.hero.on .hero-frame { clip-path: inset(0 0 0 0); }
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 86% top;
  transform: scale(1.12); transition: transform 8s ease-out;
}
.hero.on .hero-frame img { transform: scale(1); }
.hero-frame:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,33,38,.55), transparent 45%);
}
.hero-tag {
  position: absolute; left: 2.6rem; bottom: 2.2rem; z-index: 2;
  font-family: var(--serif); font-variant-caps: small-caps; letter-spacing: .04em; line-height: 1.15;
}
.hero-tag .l1 { display: block; font-size: 3rem; font-weight: 500; color: var(--bronze-2); }
.hero-tag .l2 { display: block; font-size: 2.2rem; font-weight: 500; color: #fff; }

/* hero spodná lišta */
.hero-foot {
  position: relative; z-index: 2; border-top: 1px solid var(--line-d);
}
.hero-foot .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-top: 2.2rem; padding-bottom: 2.2rem;
}
.hero-foot .item { font-size: 1.25rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,243,239,.5); }
.hero-foot .item strong { color: var(--bronze-2); font-weight: 700; }
.scroll-hint { display: flex; align-items: center; gap: 1.2rem; color: rgba(245,243,239,.5); font-size: 1.2rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint i {
  display: block; width: 1px; height: 4.4rem; background: var(--bronze);
  animation: drip 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink); color: var(--paper);
  border-top: 1px solid var(--line-d);
  overflow: hidden; white-space: nowrap; position: relative;
  padding: 2.4rem 0;
}
.marquee .track { display: inline-flex; gap: 2.6rem; padding-right: 2.6rem; animation: slide 36s linear infinite; will-change: transform; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .track span {
  font-family: var(--serif); font-size: 2.4rem; font-style: italic; color: rgba(245,243,239,.55);
  display: inline-flex; align-items: center; gap: 2.6rem;
}
.marquee .track span:after {
  content: ""; display: inline-block; width: 3.7rem; height: .73rem;
  background-color: var(--bronze);
  -webkit-mask: url(../assets/wave.svg) no-repeat center / contain;
  mask: url(../assets/wave.svg) no-repeat center / contain;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sekcie ---------- */
section { position: relative; }
.sec { padding: clamp(9rem, 12vh, 15rem) 0; }

.sec-head { display: flex; align-items: flex-start; gap: 2.4rem; margin-bottom: clamp(4.5rem, 7vh, 8rem); }
.sec-head .meta { flex: 0 0 auto; display: flex; align-items: center; gap: 1.6rem; padding-top: 1.4rem; }
.sec-head .meta .num { font-size: 1.2rem; font-weight: 700; letter-spacing: .2em; color: var(--bronze); }
.sec-head h2 {
  font-family: var(--serif); font-weight: 500; letter-spacing: .01em;
  font-size: calc(clamp(3.6rem, 5vw, 6.4rem) * 0.88); line-height: 1.1; color: var(--ink);
}
.sec-head h2 em { font-style: italic; color: var(--bronze); }
.sec-head .side { margin-left: auto; max-width: 34ch; font-size: 1.5rem; color: var(--slate); padding-top: 1.2rem; }
.dark .sec-head h2 { color: #fff; }
.dark .sec-head .side { color: rgba(245,243,239,.6); }

/* reveal */
.rv { opacity: 0; transform: translateY(3.4rem); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; }
.rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; }

/* ---------- služby (editorial rows) ---------- */
.svc-rows { border-top: 1px solid var(--line-l); }
/* HOMEPAGE — kompaktnejsie rozostupy: 6rem zdola + 6rem zhora = 120 px medzi sekciami.
   Podstranky si nechavaju povodne vzdusne odsadenie. */
.home .sec { padding: 6rem 0; }
/* pasy cez celu sirku (cisla, loga klientov) ostavaju bez vlastneho okraja */
.home .nums { margin: 0; }
.home .refs { margin: 0; }
#sluzby { padding-top: 6rem; }      /* odstup od pohyblivho pasu — ID prebije .home .sec */
#sluzby .svc-rows { border-top: 0; }
.svc-row {
  display: grid; grid-template-columns: 8rem 1fr auto 6rem;
  align-items: center; gap: clamp(1.6rem, 3vw, 4rem);
  padding: 2.4rem 0; border-bottom: 1px solid var(--line-l);
  position: relative; transition: padding-left .45s var(--ease);
}
.svc-row:before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: var(--ink); transition: width .5s var(--ease); z-index: 0;
}
.svc-row:hover:before { width: 100%; }
.svc-row > * { position: relative; z-index: 1; }
.svc-row:hover { padding-left: 2.4rem; }
.svc-row .idx {
  font-family: var(--serif); font-size: 2.2rem; font-style: italic; color: var(--bronze);
  display: flex; align-items: center; gap: 1.1rem;
}
.wave-mark.xs { width: 3.2rem; height: .65rem; }
.svc-row h3 {
  font-family: var(--serif); font-weight: 500; font-size: calc(clamp(2.6rem, 3.4vw, 4.2rem) * 0.88);
  line-height: 1.15; color: var(--ink); transition: color .35s;
}
.svc-row:hover h3 { color: var(--paper); }
.svc-row .desc { max-width: 34ch; font-size: 1.4rem; color: var(--slate); transition: color .35s; }
.svc-row:hover .desc { color: rgba(245,243,239,.65); }
.svc-row .go {
  width: 5.2rem; height: 5.2rem; border: 1px solid var(--line-l); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); transition: all .35s var(--ease);
}
.svc-row:hover .go { background: var(--bronze); border-color: var(--bronze); color: #fff; transform: rotate(-45deg); }

/* ---------- claim / DE-AT + mapa ---------- */
.claim { background: var(--paper-2); overflow: hidden; }
.claim-grid {
  display: flex; align-items: center;
  min-height: 62rem; position: relative;
}
.claim .inner { position: relative; z-index: 2; max-width: 62rem; }
.claim blockquote {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: calc(clamp(2.8rem, 3.6vw, 4.6rem) * 0.88); line-height: 1.3; color: var(--ink);
}
.claim blockquote strong { color: var(--bronze); font-weight: 500; }
.claim .who { margin-top: 3rem; font-size: 1.25rem; letter-spacing: .24em; text-transform: uppercase; color: var(--slate); }

.claim .reach { margin-top: 4.4rem; border-top: 1px solid var(--line-l); }
.claim .r-item {
  display: flex; align-items: baseline; gap: 1.8rem;
  padding: 1.7rem 0; border-bottom: 1px solid var(--line-l);
  font-size: 1.45rem; color: var(--slate);
}
.claim .r-item b {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.9rem; color: var(--bronze); flex: 0 0 3.4rem;
}

/* mapa — veľká vrstva cez celú sekciu, zasahuje pod text */
.map-wrap {
  position: absolute; top: 50%; right: -3%;
  width: min(78rem, 68%); z-index: 1;
}
.claim .map-wrap.rv { transform: translateY(-50%); opacity: 0; transition: opacity 1.4s ease .15s; }
.claim .map-wrap.rv.on { transform: translateY(-50%); opacity: 1; }
.map-wrap img {
  width: 100%; max-width: none; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 68% 68% at 55% 50%, #000 45%, transparent 96%);
  mask-image: radial-gradient(ellipse 68% 68% at 55% 50%, #000 45%, transparent 96%);
}
.map-wrap .dot {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: .9rem;
}
.map-wrap .dot i { transform: translate(-50%, -50%); }
.map-wrap .dot.flip {
  flex-direction: row-reverse; transform: translateX(-100%);
}
.map-wrap .dot.flip i { transform: translate(50%, -50%); }
.map-wrap .dot em { transform: translateY(-50%); }
/* Viedeň a Bratislava sú od seba ~55 km — popisky rozostupujeme zvisle */
.map-wrap .dot.lbl-up em { transform: translateY(-50%) translateY(-1.5rem); }
.map-wrap .dot.lbl-dn em { transform: translateY(-50%) translateY(1.5rem); }
.map-wrap .dot i {
  width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--ink); position: relative; flex: 0 0 auto;
}
.map-wrap .dot i:before {
  content: ""; position: absolute; inset: -0.6rem; border-radius: 50%;
  border: 1px solid var(--ink); opacity: .5;
  animation: pulse 2.6s var(--ease) infinite;
}
.map-wrap .dot.d2 i, .map-wrap .dot.d3 i { background: var(--bronze); }
.map-wrap .dot.d2 i:before, .map-wrap .dot.d3 i:before { border-color: var(--bronze); }
.map-wrap .dot.d2 i:before { animation-delay: .5s; }
.map-wrap .dot.d3 i:before { animation-delay: 1s; }
.map-wrap .dot em {
  font-style: normal; font-size: 1.15rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  background: rgba(245, 243, 239, .78); padding: .3rem .9rem; backdrop-filter: blur(2px);
  white-space: nowrap;
}
@keyframes pulse {
  0% { transform: scale(.6); opacity: .7; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* ---------- čísla ---------- */
.nums { background: var(--ink); color: var(--paper); overflow: hidden; }
.nums .grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.nums .cell {
  padding: clamp(4rem, 6vh, 7rem) clamp(2rem, 3vw, 4.8rem);
  border-left: 1px solid var(--line-d); position: relative;
}
.nums .cell:first-child { border-left: 0; }
.nums .val {
  font-family: var(--serif); font-weight: 500; line-height: 1;
  font-size: calc(clamp(5.6rem, 7vw, 9.2rem) * 0.88); color: #fff;
}
.nums .val sup { font-size: .45em; color: var(--bronze-2); font-style: italic; }
.nums .lbl { margin-top: 1.6rem; font-size: 1.3rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(245,243,239,.55); }
.nums .waves svg { top: -40%; left: -10%; }

/* ---------- hodnoty ---------- */
.vals .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
.val-tile { background: var(--paper); padding: 4.4rem 3.4rem 4rem; position: relative; overflow: hidden; transition: background .45s ease; }
.val-tile:hover { background: var(--white); }
.val-tile .wave-mark { margin-bottom: 2.8rem; }
.val-tile h3 { font-family: var(--serif); font-weight: 600; font-size: 2.4rem; color: var(--ink); margin-bottom: 1.4rem; }
.val-tile p { font-size: 1.4rem; line-height: 1.8; }

/* ---------- priebeh (timeline) ---------- */
.steps-flow {
  --sgap: clamp(2rem, 3vw, 4rem);
  --dot: 6.8rem;
  --steps: 4;
  position: relative; display: grid; grid-template-columns: repeat(var(--steps), 1fr);
  gap: var(--sgap);
}
/* vodorovná linka presne od stredu prvého po stred posledného kolieska */
.steps-flow .rail {
  position: absolute; top: calc(var(--dot) / 2); height: 1px;
  left: calc(var(--dot) / 2);
  right: calc(100% / var(--steps) - var(--sgap) * (var(--steps) - 1) / var(--steps) - var(--dot) / 2);
  background: var(--line-l);
}
.steps-flow .rail i {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: var(--bronze); display: block; transition: width .2s linear;
}
.step-item { position: relative; padding: 0; }
.step-item .dot { margin-bottom: 2.8rem; }
.step-item .dot b {
  width: var(--dot); height: var(--dot); border-radius: 50%;
  border: 1px solid var(--line-l); background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--bronze);
  position: relative; z-index: 1; transition: all .4s var(--ease);
}
.step-item.on .dot b { border-color: var(--bronze); background: var(--ink); color: var(--paper); }
.step-item h3 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 1.6vw, 2.4rem);
  line-height: 1.25; color: var(--ink); margin-bottom: 1rem;
}
.step-item p { font-size: 1.45rem; line-height: 1.75; }

/* ---------- poďakovania ---------- */
.quotes-stage { position: relative; max-width: 96rem; margin: 0 auto; text-align: center; min-height: 30rem; overflow: hidden; }
/* čistý posuvný karusel: nový citát sa prisunie, starý odíde na opačnú stranu.
   Pozor na poradie — pravidlá .act/.out musia byť za smerovými, inak ich prebije .rev */
.quotes-stage .q-item { position: absolute; inset: 0; visibility: hidden; transform: translateX(105%); }
.quotes-stage.rev .q-item { transform: translateX(-105%); }
.quotes-stage .q-item.out {
  visibility: visible; transform: translateX(-105%);
  transition: transform .6s var(--ease);
}
.quotes-stage.rev .q-item.out { transform: translateX(105%); }
.quotes-stage .q-item.act,
.quotes-stage.rev .q-item.act {
  position: relative; visibility: visible; transform: none;
  transition: transform .6s var(--ease);
}
.q-item .mark { font-family: var(--serif); font-size: 7rem; line-height: .4; color: var(--bronze); display: block; margin-bottom: 3rem; }
.q-item blockquote {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(2.2rem, 3vw, 3.4rem); line-height: 1.5; color: var(--ink);
}
.q-item cite { display: block; margin-top: 3.4rem; font-style: normal; font-size: 1.25rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); }
.q-item cite span { display: block; margin-top: .6rem; font-weight: 400; letter-spacing: .1em; color: var(--slate); text-transform: none; }
.quotes-wrap {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: clamp(1.2rem, 3vw, 4rem);
}
.q-arrow {
  width: 5.6rem; height: 5.6rem; border: 1px solid var(--line-l); background: transparent;
  color: var(--ink); cursor: pointer; padding: 0; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  transition: background .35s var(--ease), color .35s, border-color .35s;
}
.q-arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.q-arrow svg { width: 1.7rem; height: 1.7rem; }

.q-nav { display: flex; justify-content: center; gap: 1.2rem; margin-top: 4.4rem; }
.q-nav button {
  width: 4rem; height: .2rem; border: 0; background: var(--line-l); cursor: pointer;
  transition: background .3s; padding: 0; position: relative;
}
.q-nav button:before { content: ""; position: absolute; inset: -1.2rem 0; }
.q-nav button.act { background: var(--bronze); }

/* na úzkych obrazovkách sa šípky presunú pod citát */
@media (max-width: 900px) {
  .quotes-wrap { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; }
  .quotes-wrap .quotes-stage { grid-area: 1 / 1 / 2 / 3; }
  .q-arrow { width: 4.8rem; height: 4.8rem; }
  .q-arrow.prev { grid-area: 2 / 1 / 3 / 2; justify-self: end; }
  .q-arrow.next { grid-area: 2 / 2 / 3 / 3; justify-self: start; }
}

/* ---------- referencie marquee ---------- */
.refs { background: var(--white); border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); padding: 5rem 0; overflow: hidden; }
.refs .track { display: inline-flex; align-items: center; gap: 8rem; padding-right: 8rem; animation: slide 42s linear infinite; white-space: nowrap; }
.refs:hover .track { animation-play-state: paused; }
.refs img { height: 4.2rem; width: auto; filter: grayscale(1); opacity: .5; transition: filter .35s, opacity .35s; }
.refs img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- kontakt ---------- */
.contact { background: var(--ink); color: var(--paper); overflow: hidden; }
.contact .waves svg { bottom: -30%; left: -15%; }
.contact .grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(4rem, 6vw, 9rem); align-items: start; }
.contact h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: calc(clamp(4rem, 6vw, 7.6rem) * 0.88); line-height: 1.08; color: #fff; margin-bottom: 3rem;
}
.contact h2 em { font-style: italic; color: var(--bronze-2); }
.contact p.note { max-width: 44ch; color: rgba(245,243,239,.6); font-size: 1.6rem; font-weight: 300; margin-bottom: 4.4rem; }
.c-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-d); }
.c-list a, .c-list .row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  padding: 2.4rem 0; border-bottom: 1px solid var(--line-d);
  transition: padding-left .4s var(--ease);
}
.c-list a:hover { padding-left: 1.6rem; }
.c-list .k { font-size: 1.2rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(245,243,239,.45); }
.c-list .v { font-family: var(--serif); font-size: 2.4rem; color: var(--paper); text-align: right; }
.c-list a:hover .v { color: var(--bronze-2); }

/* ---------- footer ---------- */
.ft { background: var(--ink); color: rgba(245,243,239,.5); border-top: 2px solid var(--accent); }
.ft .top { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 4.4rem 0; flex-wrap: wrap; }
.ft .brand img { height: 4.6rem; width: auto; }
/* okrúhla fotka kancelárie + adresa — namiesto loga (originál fotky má len 198 px) */
.ft .addr { display: flex; align-items: center; gap: 1.8rem; }
.ft .addr img { width: 6.8rem; height: 6.8rem; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.ft .addr .txt { font-size: 1.4rem; line-height: 1.75; }
.ft .addr .txt strong { color: rgba(245,243,239,.9); font-weight: 600; letter-spacing: .06em; }
.ft .partners { display: flex; align-items: center; gap: 3.6rem; flex-wrap: wrap; max-width: 100%; }
.ft .partners img { height: 3.2rem; width: auto; filter: grayscale(1) invert(.9); opacity: .55; transition: opacity .3s; }
.ft .partners img[src*="ahk"] { filter: grayscale(1); opacity: .8; }
.ft .partners img:hover { opacity: .9; }
.ft .bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  border-top: 1px solid var(--line-d);
  padding: 2.6rem 0; font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase;
}
.ft .bottom a { color: rgba(245,243,239,.5); transition: color .3s; }
.ft .bottom a:hover { color: var(--bronze-2); }
.ft .legal { display: flex; align-items: center; gap: clamp(1.6rem, 2.5vw, 3.2rem); flex-wrap: wrap; }
.ft .legal .made { color: rgba(245,243,239,.35); }
.ft .legal .made a { color: var(--accent); }
.ft .legal .made a:hover { color: var(--accent-2); }

/* ---------- pevna lista vpravo ---------- */
.side-rail {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 900;
  display: flex; flex-direction: column;
}
.side-rail a {
  width: 4.8rem; height: 4.8rem; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: rgba(245,243,239,.85);
  border-bottom: 1px solid var(--line-d);
  transition: background .3s, color .3s;
}
.side-rail a:last-child { border-bottom: 0; }
.side-rail a:hover { background: var(--accent); color: var(--ink); }
.side-rail svg { width: 1.9rem; height: 1.9rem; }
@media (max-width: 760px) {
  .side-rail a { width: 4.2rem; height: 4.2rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .hero p.lead, .hero-actions { opacity: 1; transform: none; transition: none; }
  .hero h1 .ln span { transform: none; transition: none; }
  .hero-frame { clip-path: none; transition: none; }
  .hero-frame img { transform: none; transition: none; }
  .rv .xi i { transform: none; transition: none; }
  .wave-draw path { stroke-dashoffset: 0; transition: none; }
  .waves path { animation: none; }
  .marquee .track, .refs .track { animation: none; }
  .scroll-hint i { animation: none; }
  .map-wrap .dot i:before { animation: none; opacity: 0; }
}

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-visual { display: none; }
  .nums .grid { grid-template-columns: repeat(2, 1fr); }
  .nums .cell:nth-child(3) { border-left: 0; }
  .nums .cell { border-top: 1px solid var(--line-d); }
  .nums .cell:nth-child(-n+2) { border-top: 0; }
  .vals .grid { grid-template-columns: repeat(2, 1fr); }
  .contact .grid { grid-template-columns: 1fr; }
  .steps-flow { grid-template-columns: repeat(2, 1fr); gap: 5rem 3.5rem; }
  .steps-flow .rail { display: none; }
  .claim-grid { flex-direction: column; align-items: stretch; min-height: 0; }
  .map-wrap {
    position: relative; top: auto; right: auto; width: 100%;
    max-width: 62rem; margin: 3rem auto 0;
  }
  .claim .map-wrap.rv { transform: none; }
  .claim .map-wrap.rv.on { transform: none; }
  /* pri tejto mierke je Viedeň a Bratislava ten istý pixel — popisok Viedne skryjeme */
  .map-wrap .dot.d2 em { display: none; }
  .map-wrap .dot em { font-size: 1rem; padding: .25rem .7rem; }
}

/* mobilné menu už od 1120 px — s ikonkami telefón/mapa a žltým tlačidlom sa vodorovné menu
   na menších notebookoch (980–1100 px) lámalo do dvoch riadkov */
@media (max-width: 1120px) {
  .burger { display: block; }
  .hd nav {
    position: fixed; inset: 0; background: var(--ink);
    flex-direction: column; justify-content: center; gap: 3.2rem;
    opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s;
  }
  .hd nav.open { opacity: 1; visibility: visible; }
  .hd nav > a { font-size: 1.8rem; }
  .hd .cta { display: none; }
  .hd nav .cta { display: inline-block; margin-top: 1rem; }

}

@media (max-width: 760px) {
  .sec-head { flex-direction: column; gap: 1.8rem; }
  .sec-head .side { margin-left: 0; padding-top: 0; }

  .svc-row { grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 2.8rem 0; }
  .svc-row .idx { grid-column: 1 / -1; }
  .svc-row .desc { display: none; }
  .svc-row:hover { padding-left: 1.2rem; }

  .vals .grid { grid-template-columns: 1fr; }
  .steps-flow { grid-template-columns: repeat(2, 1fr); gap: 4rem 3rem; }
  .steps-flow .rail { display: none; }
  .step-item .dot { margin-bottom: 2rem; }
  .step-item .dot b { width: 6rem; height: 6rem; font-size: 2rem; }

  .nums .grid { grid-template-columns: 1fr 1fr; }
  .hero-foot .item:nth-child(2) { display: none; }
  .c-list .v { font-size: 1.9rem; }
  /* mapa: na malom displeji priblížime na región DE–AT–SK, okraje Európy sa orežú
     (.claim má overflow:hidden; bodky sú v % mapy, takže sedia pri každej mierke) */
  .map-wrap .dot em { font-size: 1.05rem; }
  .ft .top { justify-content: center; text-align: center; }
  .ft .partners { justify-content: center; gap: 2.4rem 3rem; }
  .ft .addr { flex-direction: column; text-align: center; gap: 1.2rem; }
  .ft .bottom { justify-content: center; text-align: center; }
  .ft .legal { justify-content: center; }
}


/* ============================================================
   PODSTRÁNKY (služby, detail služby)
   ============================================================ */
.page-head {
  position: relative; background: var(--ink); color: var(--paper);
  overflow: hidden; padding: clamp(14rem, 18vh, 18rem) 0 clamp(6rem, 9vh, 9rem);
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head .waves { top: auto; bottom: -20%; height: 90%; }
.page-head .waves svg { bottom: 0; right: -15%; }

.crumbs {
  font-size: 1.2rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245,243,239,.45); margin-bottom: 2.6rem;
}
.crumbs a { transition: color .25s; }
.crumbs a:hover { color: var(--bronze-2); }
.crumbs i { font-style: normal; margin: 0 .9rem; color: var(--bronze); }

.page-head h1 {
  font-family: var(--serif); font-weight: 500; letter-spacing: .01em;
  font-size: calc(clamp(3.4rem, 4.8vw, 6.6rem) * 0.88);
  line-height: 1.08; color: #fff; max-width: 22ch;
}
.page-head .lead {
  max-width: 58ch; margin-top: 2.8rem;
  font-size: 1.7rem; font-weight: 300; line-height: 1.9; color: rgba(245,243,239,.66);
}

/* prepínač skupín služieb */
.group-switch { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 4rem; }
.group-switch a {
  font-size: 1.2rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: 1.3rem 2.4rem; border: 1px solid var(--line-d); color: rgba(245,243,239,.7);
  transition: background .3s, color .3s, border-color .3s;
}
.group-switch a:hover { background: rgba(245,243,239,.08); color: #fff; }
.group-switch a.act { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* zoznam služieb bez popisu */
.svc-rows.plain .svc-row { grid-template-columns: 9rem 1fr 6rem; }

/* riadok, ktorý zatiaľ nemá detail — nie je odkaz, takže sa ani nesprává ako odkaz */
.svc-row.is-static { cursor: default; }
.svc-row.is-static:hover { padding-left: 0; }
.svc-row.is-static:hover:before { width: 0; }
.svc-row.is-static h3 { color: var(--ink); }

/* článok (detail služby) */
.article { max-width: 80rem; }
.article > *:first-child { margin-top: 0; }
.article h3 {
  font-family: var(--serif); font-weight: 600; letter-spacing: .01em;
  font-size: clamp(2.4rem, 2.7vw, 3.4rem); line-height: 1.2; color: var(--ink);
  margin: clamp(4.5rem, 7vh, 6.5rem) 0 1.8rem;
}
.article p { font-size: 1.65rem; line-height: 1.85; margin-bottom: 1.8rem; }
.article p:last-child { margin-bottom: 0; }
.article ul { margin: 0 0 2.4rem; }
.article li {
  position: relative; padding-left: 3.4rem; margin-bottom: 1.1rem;
  font-size: 1.65rem; line-height: 1.85;
}
.article li:before {
  content: ""; position: absolute; left: 0; top: 1.1rem;
  width: 2.2rem; height: .5rem; background-color: var(--bronze);
  -webkit-mask: url(../assets/wave.svg) no-repeat center / contain;
  mask: url(../assets/wave.svg) no-repeat center / contain;
}
.article .note {
  margin-top: 3.2rem; padding: 2.6rem 3rem; background: var(--paper-2);
  border-left: 2px solid var(--bronze); font-size: 1.55rem; line-height: 1.8;
}

@media (max-width: 980px) {
  .page-head h1 { max-width: 100%; }
}
@media (max-width: 760px) {
  .svc-rows.plain .svc-row { grid-template-columns: 1fr auto; }
  .article li { padding-left: 2.8rem; }
}


/* ============================================================
   DETAIL SLUŽBY — CTA s formulárom, FAQ, poďakovania
   ============================================================ */

/* CTA pás s formulárom */
.cta-detail { background: var(--ink); color: var(--paper); overflow: hidden; }
.cta-detail .grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(4rem, 6vw, 9rem); align-items: start;
}
.cta-detail h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: calc(clamp(3rem, 4vw, 5.4rem) * 0.88);
  line-height: 1.12; color: #fff; margin-bottom: 2.4rem;
}
.cta-detail h2 em { font-style: italic; color: var(--bronze-2); }
.cta-detail p.note { color: rgba(245,243,239,.66); font-size: 1.6rem; font-weight: 300; margin-bottom: 3.6rem; max-width: 46ch; }
.cta-detail .c-list a, .cta-detail .c-list .row { border-color: var(--line-d); }

.cta-form { background: var(--ink-2); border: 1px solid var(--line-d); padding: clamp(2.6rem, 3vw, 4rem); }
.cta-form .f-field { margin-bottom: 2rem; }
.cta-form label {
  display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245,243,239,.55); margin-bottom: .9rem;
}
.cta-form input, .cta-form textarea {
  width: 100%; padding: 1.5rem 1.7rem; font-family: var(--sans); font-size: 1.5rem;
  color: var(--paper); background: rgba(245,243,239,.05);
  border: 1px solid var(--line-d); outline: none; transition: border-color .3s, background .3s;
}
.cta-form input:focus, .cta-form textarea:focus { border-color: var(--bronze); background: rgba(245,243,239,.08); }
.cta-form textarea { min-height: 12rem; resize: vertical; }
.cta-form .consent {
  display: flex; gap: 1.2rem; align-items: flex-start;
  font-size: 1.3rem; line-height: 1.7; color: rgba(245,243,239,.55); margin: 0 0 2.4rem;
}
.cta-form .consent input { width: auto; margin-top: .4rem; accent-color: var(--bronze); }
.cta-form .f-status { display: block; margin-top: 1.6rem; font-size: 1.4rem; }
.cta-form .f-status.ok { color: #9fce9a; }
.cta-form .f-status.err { color: #e08a84; }
.cta-form .has-err input, .cta-form .has-err textarea { border-color: #b3453f; }

/* FAQ */
.faq { max-width: 86rem; }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 2rem;
  padding: 2.6rem 0; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 1.8vw, 2.3rem); line-height: 1.35; color: var(--ink);
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--bronze); }
.faq summary .fx {
  flex: 0 0 auto; margin-left: auto; width: 1.5rem; height: 1.5rem; position: relative; top: .2rem;
}
.faq summary .fx:before, .faq summary .fx:after {
  content: ""; position: absolute; background: var(--bronze); transition: transform .35s var(--ease);
}
.faq summary .fx:before { left: 0; right: 0; top: 50%; height: 2px; }
.faq summary .fx:after { top: 0; bottom: 0; left: 50%; width: 2px; }
.faq details[open] summary .fx:after { transform: scaleY(0); }
.faq details[open] summary { color: var(--bronze); }
.faq .fa { padding: 0 4rem 2.6rem 0; font-size: 1.55rem; line-height: 1.85; max-width: 72ch; }

/* poďakovania na detaile */
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.t-card { background: var(--white); border: 1px solid var(--line-l); padding: 3.2rem; }
.t-card .wave-mark { width: 3.6rem; height: .75rem; margin-bottom: 2rem; }
.t-card blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.9rem; line-height: 1.6; color: var(--ink); margin-bottom: 2.2rem;
}
.t-card cite {
  font-style: normal; font-size: 1.15rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--bronze);
}
.t-card cite span { display: block; margin-top: .4rem; font-weight: 400; letter-spacing: .05em; color: var(--slate); text-transform: none; font-size: 1.25rem; }

@media (max-width: 980px) {
  .cta-detail .grid { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   DETAIL — dvojstĺpcové rozloženie článku so sticky panelom
   ============================================================ */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 36rem;
  gap: clamp(4rem, 6vw, 9rem); align-items: start;
}
.article-layout .article { max-width: none; }

.aside-card { position: sticky; top: 12rem; }
.aside-card .box {
  background: var(--ink); color: var(--paper); padding: 3.2rem;
}
.aside-card .box .wave-mark { width: 3.6rem; height: .75rem; margin-bottom: 2rem; }
.aside-card .box h3 {
  font-family: var(--serif); font-weight: 600; font-size: 2.3rem; line-height: 1.25;
  color: #fff; margin-bottom: 1.2rem;
}
.aside-card .box p { font-size: 1.4rem; line-height: 1.7; color: rgba(245,243,239,.6); margin-bottom: 2.4rem; }
.aside-card .box .c-list { border-top: 1px solid var(--line-d); margin-bottom: 2.6rem; }
.aside-card .box .c-list a { border-color: var(--line-d); padding: 1.6rem 0; }
.aside-card .box .c-list .k { font-size: 1.05rem; }
.aside-card .box .c-list .v { font-size: 1.7rem; }
.aside-card .box .btn { width: 100%; justify-content: center; }

.aside-card .more-svc { margin-top: 2.4rem; border: 1px solid var(--line-l); background: var(--white); padding: 2.6rem 2.8rem; }
.aside-card .more-svc h4 {
  font-family: var(--sans); font-size: 1.15rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1.4rem;
}
.aside-card .more-svc a {
  display: flex; align-items: baseline; gap: 1.2rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line-l);
  font-size: 1.4rem; line-height: 1.5; color: var(--ink);
  transition: color .25s, padding-left .3s var(--ease);
}
.aside-card .more-svc a:last-child { border-bottom: 0; }
.aside-card .more-svc a:hover { color: var(--bronze); padding-left: .6rem; }
.aside-card .more-svc a i { flex: 0 0 auto; width: 1.8rem; height: .4rem; }
.aside-card .more-svc .all { font-weight: 600; }

@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}


/* ---------- FAQ v dvoch stĺpcoch: nadpis vľavo, otázky vpravo ---------- */
.faq-layout {
  display: grid; grid-template-columns: minmax(24rem, 38rem) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 9rem); align-items: start;
}
.faq-layout .sec-head { margin-bottom: 0; position: sticky; top: 12rem; }
.faq-layout .sec-head h2 { font-size: calc(clamp(3rem, 3.6vw, 5rem) * 0.88); }
.faq-layout .faq { max-width: none; }
.faq-layout .faq details:first-child summary { padding-top: .6rem; }

@media (max-width: 980px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .sec-head { position: static; }
}


/* ============================================================
   KTO SME — o kancelárii, členstvá, tím
   ============================================================ */

/* úvodný blok: text + fotka */
.about-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(3rem, 5vw, 7rem); align-items: start;
}
.about-split .article { max-width: none; }
.about-split .pic { position: relative; }
.about-split .pic img { width: 100%; height: auto; object-fit: cover; }
.about-split .pic:before {
  content: ""; position: absolute; inset: auto -1.6rem -1.6rem auto;
  width: 60%; height: 60%; border: 1px solid var(--line-l); z-index: -1;
}

/* zoznam oblastí práva */
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.2rem; }
.field-grid li {
  display: flex; align-items: baseline; gap: 1.3rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line-l);
  font-size: 1.55rem; line-height: 1.5; color: var(--ink);
}
.field-grid li i { flex: 0 0 auto; width: 2rem; height: .45rem; }

/* členstvá */
.memberships { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(3rem, 5vw, 7rem); align-items: center; }
.memberships p { font-size: 1.6rem; line-height: 1.9; max-width: 60ch; }
.memberships p strong { color: var(--ink); font-weight: 600; }
.memberships .logos { display: flex; align-items: center; gap: clamp(3rem, 4vw, 5rem); }
.memberships .logos img { height: 5rem; width: auto; filter: grayscale(1); opacity: .55; transition: filter .35s, opacity .35s; }
.memberships .logos img:hover { filter: grayscale(0); opacity: 1; }

/* logo anwalt.de — lokalny obrazok s odkazom na profil kancelarie */
.anw { display: inline-flex; align-items: center; flex: 0 0 auto; }
.memberships .logos .anw img {
  height: 4.2rem; width: auto; filter: grayscale(1); opacity: .55;
  transition: filter .35s, opacity .35s;
}
.memberships .logos .anw:hover img { filter: grayscale(0); opacity: 1; }
.ft .partners .anw img {
  height: 2.6rem; width: auto; filter: grayscale(1) invert(.9); opacity: .55;
  transition: opacity .3s;
}
.ft .partners .anw:hover img { opacity: .9; }

/* tím */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
.tm-card { background: var(--paper); display: flex; flex-direction: column; transition: background .45s ease; }
.tm-card:hover { background: var(--white); }
.tm-card .photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.tm-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1); transition: filter .5s var(--ease), transform 1.1s var(--ease); }
.tm-card:hover .photo img { filter: grayscale(0); transform: scale(1.035); }
.tm-card .body { padding: 3rem 2.8rem 3.2rem; display: flex; flex-direction: column; flex: 1; }
.tm-card h3 { font-family: var(--serif); font-weight: 600; font-size: 2.4rem; color: var(--ink); line-height: 1.2; }
.tm-card .role {
  margin-top: .8rem; font-size: 1.2rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bronze);
}
.tm-card .sak { margin-top: .6rem; font-size: 1.3rem; color: var(--slate); }
.tm-card .tm-block { margin-top: 2.4rem; }
.tm-card .tm-block h4 {
  font-size: 1.1rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--slate); margin-bottom: .8rem;
}
.tm-card .tm-block p { font-size: 1.45rem; line-height: 1.7; color: var(--ink); }
.tm-card .tm-contact { margin-top: auto; padding-top: 2.6rem; }
.tm-card .tm-contact a {
  display: block; font-size: 1.4rem; color: var(--ink);
  padding: .7rem 0; border-top: 1px solid var(--line-l);
  transition: color .25s, padding-left .3s var(--ease);
}
.tm-card .tm-contact a:hover { color: var(--bronze); padding-left: .6rem; }

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split .pic { order: -1; }
  .memberships { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .field-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .memberships .logos { flex-wrap: wrap; gap: 3rem; }
}


/* ============================================================
   NOVINKY — prehľad článkov a detail článku
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
.news-card {
  background: var(--paper); padding: clamp(3rem, 3.4vw, 4.4rem);
  display: flex; flex-direction: column; position: relative;
  transition: background .45s ease;
}
.news-card:hover { background: var(--white); }
.news-card .date {
  font-size: 1.2rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 2rem;
}
.news-card h3 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 2.1vw, 2.9rem);
  line-height: 1.25; color: var(--ink); margin-bottom: 2.4rem;
}
.news-card .more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 1rem;
  font-size: 1.25rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  transition: color .25s, gap .3s var(--ease);
}
.news-card:hover .more { color: var(--bronze); gap: 1.6rem; }

/* dátum v hlavičke článku */
.page-head .art-date {
  font-size: 1.2rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bronze-2); margin-top: 2.4rem;
}
.article h4 {
  font-family: var(--serif); font-weight: 600; font-size: 1.9rem; color: var(--ink);
  margin: 2.8rem 0 1.2rem;
}
.article ul ul { margin: 1rem 0 0 2rem; }

@media (max-width: 760px) {
  .news-grid { grid-template-columns: 1fr; }
}
.news-card .perex { font-size: 1.5rem; line-height: 1.8; margin-bottom: 2.8rem; }


/* ============================================================
   KONTAKT
   ============================================================ */
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 5vw, 7rem); align-items: start; }
.contact-block + .contact-block { margin-top: 4rem; }
.contact-block h3 {
  font-size: 1.15rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 1.6rem;
}
.contact-block .big {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 2.6vw, 3.4rem);
  line-height: 1.3; color: var(--ink); display: block;
  transition: color .25s;
}
a.big:hover { color: var(--bronze); }
.contact-block p { font-size: 1.6rem; line-height: 1.9; color: var(--ink); }
.contact-block .sub { font-size: 1.45rem; color: var(--slate); margin-top: .6rem; }
.map-embed { border: 0; width: 100%; height: clamp(34rem, 46vh, 46rem); display: block; filter: grayscale(.55); }
.map-frame { border: 1px solid var(--line-l); }
.map-consent { position: relative; height: clamp(34rem, 46vh, 46rem); background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.map-consent img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; pointer-events: none; }
.map-consent .mc-box { position: relative; max-width: 42rem; margin: 0 2rem; padding: 2.4rem 2.6rem; background: var(--paper); border: 1px solid var(--line-l); text-align: center; }
.map-consent .mc-box p { font-size: 1.4rem; line-height: 1.6; color: var(--slate); margin: 0 0 1.6rem; }
.map-consent .mc-link { display: block; margin-top: 1.2rem; font-size: 1.3rem; color: var(--bronze); text-decoration: underline; text-underline-offset: .2em; }

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

/* pasca na roboty — pole musí zostať v DOM, ale neviditeľné pre človeka */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-form label i { font-style: normal; font-weight: 400; letter-spacing: .1em; opacity: .6; }
.cta-form .f-status a { text-decoration: underline; }


/* ============================================================
   NOVINKY v2 — obálky, zvýraznený najnovší článok, prvky článku
   ============================================================ */

/* odkazy v texte článkov a služieb — predtým splývali s textom */
.article a:not(.btn) {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--bronze);
  text-decoration-thickness: 1px; text-underline-offset: .3rem; transition: color .25s, text-decoration-color .25s;
}
.article a:not(.btn):hover { color: var(--bronze); text-decoration-color: var(--bronze); }
.article h2 {
  font-family: var(--serif); font-weight: 600; letter-spacing: .01em;
  font-size: clamp(2.4rem, 2.7vw, 3.4rem); line-height: 1.2; color: var(--ink);
  margin: clamp(4.5rem, 7vh, 6.5rem) 0 1.8rem;
}
.article strong { color: var(--ink); font-weight: 600; }

/* karty v prehľade */
.news-card { padding: 0; overflow: hidden; }
.news-card .cover { display: block; aspect-ratio: 1600 / 840; overflow: hidden; background: var(--ink); }
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .cover img { transform: scale(1.035); }
.news-card .body { display: flex; flex-direction: column; flex: 1; padding: clamp(2.6rem, 3vw, 3.8rem); }
.news-card .badge {
  align-self: flex-start; margin-bottom: 1.8rem; padding: .5rem 1rem;
  font-size: 1.1rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  background: var(--accent); color: var(--ink);
}
.news-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1px; }
.news-card.featured .cover { aspect-ratio: auto; height: 100%; min-height: 34rem; }
/* obálka sa nesmie orezať (kicker vľavo, kresba vpravo) — okraje obálky majú farbu pozadia, pás splynie */
.news-card.featured .cover img { object-fit: cover; }
.news-card.featured .body { justify-content: center; padding: clamp(3rem, 4vw, 5.6rem); }
.news-card.featured h3 { font-size: clamp(2.6rem, 2.6vw, 3.6rem); }

/* obálka nad článkom */
.art-cover { margin: 0 0 4.4rem; background: var(--ink); }
.art-cover img { width: 100%; height: auto; display: block; }

/* V skratke */
.tldr { background: var(--paper-2); border-left: 3px solid var(--accent); padding: 2.8rem 3.2rem 1.6rem; }
.tldr-h {
  display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.8rem;
  font-size: 1.2rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
}
.tldr-h .wave-mark { width: 2.6rem; height: .55rem; }
.article .tldr ul { margin-bottom: .6rem; }
.article .tldr li { font-size: 1.55rem; }

/* zvýraznený odstavec (Prípad z praxe, Riešenie, Cena chyby) */
.article .callout {
  margin: 2.6rem 0; padding: 2.4rem 2.8rem; background: var(--white);
  border: 1px solid var(--line-l); border-left: 3px solid var(--bronze);
  font-size: 1.6rem; line-height: 1.85; color: var(--ink);
}
.article .callout strong:first-child { color: var(--bronze); }   /* len návestie, nie zvýraznenia v texte */

/* infografika v polovici článku */
.art-fig { margin: 5.4rem 0; padding: clamp(2.6rem, 4vw, 4.4rem); background: var(--ink); color: var(--paper); }
.art-fig .fig-kicker { font-size: 1.15rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-2); }
.article .art-fig h3 { margin: 1rem 0 2.8rem; color: #fff; font-size: clamp(2.2rem, 2.4vw, 3rem); }
.art-fig figcaption { margin-top: 2.4rem; font-size: 1.25rem; line-height: 1.6; color: rgba(245,243,239,.5); }

.name-test { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(245,243,239,.12); border: 1px solid rgba(245,243,239,.12); }
.article .name-test li {
  margin: 0; padding: 2rem 2.2rem; background: var(--ink-2);
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: 1.6rem; row-gap: .4rem;
  font-size: 1.35rem; line-height: 1.5;
}
.article .name-test li:before { display: none; }
.name-test .mk {
  grid-row: span 2; width: 3.2rem; height: 3.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700;
}
.name-test .no .mk { border: 2px solid var(--bronze); color: var(--bronze-2); }
.name-test .ok .mk { background: var(--accent); color: var(--ink); }
.name-test .nm { font-family: var(--serif); font-size: 1.7rem; line-height: 1.3; color: #fff; }
.name-test .no .nm { color: rgba(245,243,239,.5); text-decoration: line-through; text-decoration-color: var(--bronze); }
.name-test .why { color: rgba(245,243,239,.62); }

.fig-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(245,243,239,.12); border: 1px solid rgba(245,243,239,.12); }
.fig-compare > div { padding: 2.6rem 2.6rem 1.8rem; background: var(--ink-2); }
.fig-compare .tag { font-size: 1.15rem; font-weight: 700; letter-spacing: .18em; color: var(--accent); }
.article .fig-compare h4 { margin: .8rem 0 1.6rem; color: #fff; font-size: 2.2rem; }
.article .fig-compare ul { margin: 0; }
.article .fig-compare li { padding-left: 2.6rem; margin-bottom: 1rem; font-size: 1.4rem; line-height: 1.6; color: rgba(245,243,239,.78); }
.article .fig-compare li:before { top: .8rem; width: 1.6rem; background-color: var(--bronze-2); }

.fig-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin: 0; list-style: none; }
.article .fig-flow li {
  margin: 0; padding: 2.2rem 1.8rem; background: var(--ink-2); border-top: 2px solid var(--bronze);
  font-size: 1.35rem; line-height: 1.55; color: rgba(245,243,239,.72);
}
.article .fig-flow li:before { display: none; }
.fig-flow .n { display: block; margin-bottom: 1rem; font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.fig-flow b { display: block; margin-bottom: .6rem; font-size: 1.6rem; font-weight: 600; color: #fff; }
.art-fig .lh {
  display: inline-block; margin-top: 1rem; padding: .3rem .8rem; border: 1px solid var(--accent);
  font-size: 1.2rem; font-weight: 600; letter-spacing: .04em; color: var(--accent);
}
.fig-alt {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem 1.2rem; margin-top: 1.4rem;
  padding: 1.6rem 1.8rem; border: 1px dashed rgba(245,243,239,.28); font-size: 1.45rem; color: rgba(245,243,239,.78);
}
.fig-alt b { color: #fff; font-weight: 600; }
.fig-alt .lh { margin-top: 0; }

/* FAQ, výzva a pramene v článku */
.article .faq { max-width: none; }
.art-cta { margin: 5.6rem 0 0; padding: clamp(3rem, 4vw, 4.8rem); background: var(--ink); color: var(--paper); }
.article .art-cta h3 { margin: 0 0 1.6rem; color: #fff; font-size: clamp(2.3rem, 2.5vw, 3.1rem); }
.article .art-cta p { margin-bottom: 2.6rem; color: rgba(245,243,239,.74); }
.article .art-cta a:not(.btn) { color: var(--accent); text-decoration-color: rgba(231,220,140,.5); }
.article .art-cta a:not(.btn):hover { color: #fff; }
.sources { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line-l); }
.article .sources p { margin-bottom: .6rem; font-size: 1.3rem; line-height: 1.7; color: var(--slate); }

@media (max-width: 980px) {
  .news-card.featured { grid-template-columns: 1fr; }
  .news-card.featured .cover { aspect-ratio: 1600 / 840; height: auto; min-height: 0; }
  .fig-flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .name-test, .fig-compare, .fig-flow { grid-template-columns: 1fr; }
  .tldr { padding: 2.2rem 2rem 1.2rem; }
  .article .callout { padding: 2rem; }
}
.fig-flow .lh + .lh { margin-top: .6rem; }

/* DOCASNE SKRYTY FORMULAR (1.10.2026) — na hostingu nebezi PHP, dopyty by sa neodoslali.
   Ostava nadpis + telefon a e-mail. Po vyrieseni PHP tento blok zmazat. */
.cta-detail .cta-form { display: none; }
.cta-detail .grid { grid-template-columns: 1fr; }
.cta-detail .c-list { max-width: 56rem; }
