/* RCI dizajn v2 – kostra pre všetky stránky: hlavička, menu, pätička (triedy s predponou v2, aby nekolidovali so styles.css) */
@import url("fonts/fonts.css?v=2b8fbe2af0e");

:root {
  --navy: #133c5e;
  --navy-d: #0d2f54;
  --navy-dd: #082544;
  --ink: #0d1b2a;
  --mid: #1b6a9a;
  --sky: #5badd8;
  --sky-l: #9fd0ee;
  --red: #c23347;
  --txt: #374151;
  --mut: #6b7280;
  --bg-l: #e9f3fb;
  --line: #dfe6ee;
  --f-h: 'Lato', 'RCI Sans Ext', 'Inter', sans-serif;
  --f-b: 'Inter', system-ui, -apple-system, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}
.v2wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------------------------------------------------------------- hlavička */
.v2hd { position: fixed; inset: 0 0 auto 0; z-index: 1000; color: #fff; font-family: var(--f-b); transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.v2hd a { color: inherit; text-decoration: none; }
.v2hd ul { margin: 0; padding: 0; }
.v2hd-util { font-size: 12.5px; letter-spacing: .02em; border-bottom: 1px solid rgba(255,255,255,.14); transition: margin .35s var(--ease), opacity .25s; }
.v2hd-util .v2wrap { display: flex; justify-content: flex-end; gap: 22px; height: 34px; align-items: center; color: rgba(255,255,255,.72); }
.v2hd-util a:hover { color: #fff; }
.v2hd-util .v2lang b { color: #fff; font-weight: 600; }
.v2hd-bar .v2wrap { display: flex; align-items: center; gap: 24px; height: 78px; transition: height .35s var(--ease); }
.v2hd-logo img { height: 58px; width: auto; display: block; transition: height .35s var(--ease); }
.v2nav { display: flex; gap: 2px; margin-left: auto; align-items: center; list-style: none; }
.v2nav > li { list-style: none; position: relative; }
.v2nav > li > a { display: block; padding: 10px 11px; font-family: var(--f-h); font-weight: 700; font-size: 15px; letter-spacing: .01em; border-bottom: 2px solid transparent; white-space: nowrap; }
.v2nav > li > a:hover, .v2nav > li:focus-within > a, .v2nav > li.v2akt > a { border-bottom-color: var(--sky); }
.v2nav .v2dd > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.v2nav ul { position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; color: var(--ink); padding: 10px 0; border-radius: 0 0 4px 4px; box-shadow: 0 18px 40px rgba(6,26,46,.25); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); border-top: 3px solid var(--sky); list-style: none; }
.v2nav li:hover > ul, .v2nav li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.v2nav ul li { list-style: none; }
.v2nav ul a { display: block; padding: 8px 22px; font-size: 14.5px; line-height: 1.4; }
.v2nav ul a:hover, .v2nav ul a[aria-current] { background: var(--bg-l); color: var(--navy); }
.v2hd-cta { margin-left: 8px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-h); font-weight: 700; font-size: 15px; padding: 11px 22px; border: 2px solid rgba(255,255,255,.8); border-radius: 2px; white-space: nowrap; transition: .25s var(--ease); }
.v2hd-cta::after { content: "→"; font-family: var(--f-b); }
.v2hd-cta:hover { background: #fff; color: var(--navy) !important; }
.v2hd.is-solid { background: var(--navy-d); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.v2hd.is-solid .v2hd-util { margin-top: -35px; opacity: 0; }
.v2hd.is-solid .v2hd-bar .v2wrap { height: 66px; }
.v2hd.is-solid .v2hd-logo img { height: 46px; }
.v2burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; color: #fff; cursor: pointer; }
.v2burger span, .v2burger span::before, .v2burger span::after { display: block; width: 24px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: .25s; }
.v2burger span::before, .v2burger span::after { content: ""; position: absolute; left: 0; }
.v2burger span::before { top: -7px; } .v2burger span::after { top: 7px; }
.v2stub { display: none !important; }
body.v2bez-hero { padding-top: 66px; }

/* ---------------------------------------------------------------- pätička */
.v2ft { position: relative; background: var(--navy-d); color: rgba(255,255,255,.78); padding: 40px 0 34px; font-size: .95rem; font-family: var(--f-b); line-height: 1.6; margin-top: 70px; }
.v2ft a { color: inherit; text-decoration: none; }
.v2ft p { margin: 0; color: inherit; }
.v2ft .v2wave-ft { position: absolute; left: 0; right: 0; top: -69px; width: 100%; height: 70px; display: block; }
.v2ft .v2wave-ft path { fill: var(--navy-d); }
.v2ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 40px; }
.v2ft img { height: 50px; width: auto; margin-bottom: 18px; display: block; }
.v2ft h4 { font-family: var(--f-h); font-weight: 700; color: #fff; font-size: 1rem; margin: 0 0 14px; letter-spacing: .02em; }
.v2ft ul { margin: 0; padding: 0; }
.v2ft li { list-style: none; margin-bottom: 8px; }
.v2ft a:hover { color: #fff; }
.v2ft .v2iban { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; color: #fff; }
.v2ft-bot { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.55); }

.v2badge { position: fixed; left: 14px; bottom: 14px; z-index: 2000; background: var(--red); color: #fff; font: 600 12px/1 var(--f-b); letter-spacing: .05em; padding: 8px 12px; border-radius: 3px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }

@media (max-width: 1180px) {
  .v2nav > li > a { padding: 10px 7px; font-size: 14px; }
  .v2hd-cta { display: none; }
  .v2ft-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .v2wrap { padding: 0 22px; }
  .v2burger { display: block; }
  .v2nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--navy-d); flex-direction: column; align-items: stretch; padding: 90px 10px 30px; gap: 0; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
  .v2hd.open .v2nav { transform: none; visibility: visible; transition: transform .35s var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,.3); }   /* tieň len otvorenému (zatvorené presvitalo na pravom okraji) */
  .v2hd.open .v2burger { position: relative; z-index: 2; }
  .v2hd.open .v2burger span { background: transparent; }
  .v2hd.open .v2burger span::before { top: 0; transform: rotate(45deg); }
  .v2hd.open .v2burger span::after { top: 0; transform: rotate(-45deg); }
  .v2nav > li > a { padding: 14px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .v2nav ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; color: rgba(255,255,255,.8); border: 0; padding: 0 0 8px 10px; min-width: 0; }
  .v2nav ul a:hover, .v2nav ul a[aria-current] { background: rgba(255,255,255,.06); color: #fff; }
  .v2nav .v2dd > a::after { display: none; }
  .v2hd-util { display: none; }
  .v2hd-bar .v2wrap { height: 64px; }
  .v2hd-logo img { height: 36px; }
  .v2hd.is-solid .v2hd-logo img { height: 36px; }
  .v2hd.is-solid .v2hd-bar .v2wrap { height: 60px; }
  .v2ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .v2ft-grid { grid-template-columns: 1fr; }
}
