/* ==========================================================================
   Realizácie – plnohodnotná podstránka
   hero s fotkou · biely panel (filter + rýchly prehľad) · zákazky striedavo
   svetlé / tmavé so šikmým prechodom · lepkavý popis + galéria · výzva
   ========================================================================== */
body { background: var(--svetla, #F3EDE3); }

/* ---------- hero ---------- */
.rh { position: relative; isolation: isolate; overflow: hidden; color: #F3EDE3; min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center;
  padding: clamp(56px, 7vw, 96px) 0 calc(clamp(56px, 7vw, 96px) + 120px); }
.rh__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.04); animation: rhZoom 14s ease-out forwards; }
@keyframes rhZoom { to { transform: scale(1); } }
.rh::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22, 18, 15, .94) 0%, rgba(22, 18, 15, .82) 40%, rgba(22, 18, 15, .45) 75%, rgba(22, 18, 15, .35) 100%),
              linear-gradient(0deg, rgba(22, 18, 15, .6) 0%, transparent 40%); }
.rh__in { position: relative; width: 100%; }
.rh__cesta { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); font-size: 14px; color: rgba(243, 237, 227, .6); }
.rh__cesta a { color: rgba(243, 237, 227, .8); text-decoration: none; transition: color .25s; }
.rh__cesta a:hover { color: var(--gold); }
.rh__cesta b { color: #fff; font-weight: 600; }
.rh__kota { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-cond); font-weight: 600; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.rh__kota::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.rh__h { margin: 16px 0 20px; max-width: 11em; font-family: var(--f-cond); font-weight: 600; font-size: clamp(54px, 7.4vw, 112px); line-height: .9; letter-spacing: .005em; text-transform: uppercase; color: #fff; }
.rh__h em { display: block; font-style: normal; color: var(--gold); }
.rh__lead { margin: 0; max-width: 34em; font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.6; color: rgba(243, 237, 227, .78); }
.rh__fakty { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(30px, 3.6vw, 44px) 0 0; padding: 0; }
.rh__fakty li { position: relative; min-width: 150px; padding: 14px 22px 14px 18px; border: 1px solid rgba(243, 237, 227, .16); border-radius: 6px; background: rgba(22, 18, 15, .42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rh__fakty li::before { content: ""; position: absolute; left: 18px; top: -1px; width: 28px; height: 2px; background: var(--gold); }
.rh__fakty small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(243, 237, 227, .55); }
.rh__fakty b { display: block; margin-top: 4px; font-family: var(--f-cond); font-weight: 600; font-size: 30px; line-height: 1; color: #fff; }

/* ---------- panel: filter + prehľad ---------- */
.rpanel-wrap { position: relative; z-index: 3; margin-top: -120px; }
.rpanel { background: #fff; border-radius: 8px; box-shadow: 0 40px 80px -40px rgba(22, 18, 15, .45); overflow: hidden; }
.rpanel__filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 24px; border-bottom: 1px solid rgba(27, 23, 20, .08); }
.rpanel__label { margin-right: 8px; font-family: var(--f-cond); font-weight: 600; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.rpanel__filter button { height: 40px; padding: 0 18px; border: 1px solid rgba(27, 23, 20, .16); border-radius: 999px; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.rpanel__filter button sup { font-size: 10.5px; color: var(--gold-2); margin-left: 2px; }
.rpanel__filter button:hover { border-color: var(--ink); }
.rpanel__filter button[aria-pressed="true"] { background: var(--tma, #16120F); border-color: var(--tma, #16120F); color: #fff; }
.rpanel__filter button[aria-pressed="true"] sup { color: var(--gold); }
.rprehlad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rprehlad__item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; text-decoration: none; color: var(--ink); border-left: 1px solid rgba(27, 23, 20, .08); transition: background .25s; }
.rprehlad__item:first-child { border-left: 0; }
.rprehlad__item img { flex: none; width: 64px; height: 52px; object-fit: cover; border-radius: 4px; transition: transform .4s; }
.rprehlad__item small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.rprehlad__item b { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.3; }
.rprehlad__item:hover { background: var(--svetla, #F3EDE3); }
.rprehlad__item:hover img { transform: scale(1.06); }

/* ---------- zákazka ---------- */
.rp { position: relative; padding: clamp(80px, 9vw, 130px) 0; scroll-margin-top: calc(var(--hl-main, 88px) + 10px); }
.rp:first-of-type { padding-top: clamp(70px, 8vw, 110px); }
.rp--tma { background: var(--tma, #16120F); color: rgba(243, 237, 227, .72); z-index: 1;
  margin-block: calc(-1 * var(--sikma, 48px)); padding-block: calc(clamp(80px, 9vw, 130px) + var(--sikma, 48px));
  clip-path: polygon(0 var(--sikma, 48px), 100% 0, 100% calc(100% - var(--sikma, 48px)), 0 100%); }
.rp__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.rp--tma .rp__in { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.rp--tma .rp__info { order: 2; }

.rp__info { position: sticky; top: calc(var(--hl-main, 88px) + 28px); }
.rp__cislo { display: block; margin-bottom: 4px; font-family: var(--f-cond); font-weight: 600; font-size: clamp(80px, 8vw, 128px); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(185, 138, 46, .55); }
.rp__kota { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-cond); font-weight: 600; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.rp__kota::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.rp--tma .rp__kota { color: var(--gold); }
.rp__h { margin: 14px 0 18px; font-family: var(--f-cond); font-weight: 600; font-size: clamp(38px, 3.6vw, 54px); line-height: .96; text-transform: uppercase; color: var(--ink); }
.rp__h em { display: block; font-style: normal; color: var(--gold-2); }
.rp--tma .rp__h { color: #fff; }
.rp--tma .rp__h em { color: var(--gold); }
.rp__text { margin: 0 0 26px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.rp--tma .rp__text { color: rgba(243, 237, 227, .72); }

.rp__spec { margin: 0 0 28px; padding: 6px 22px; border-radius: 8px; background: #fff; box-shadow: 0 24px 50px -36px rgba(22, 18, 15, .45); border-top: 3px solid var(--gold); }
.rp__spec div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px dashed rgba(27, 23, 20, .14); }
.rp__spec div:last-child { border-bottom: 0; }
.rp__spec dt { flex: none; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3, #8A7F75); }
.rp__spec dd { margin: 0; text-align: right; font-size: 15px; font-weight: 600; color: var(--ink); }
.rp--tma .rp__spec { background: #221C17; box-shadow: none; border: 1px solid rgba(243, 237, 227, .08); border-top: 3px solid var(--gold); }
.rp--tma .rp__spec div { border-bottom-color: rgba(243, 237, 227, .1); }
.rp--tma .rp__spec dt { color: rgba(243, 237, 227, .5); }
.rp--tma .rp__spec dd { color: #F3EDE3; }

.rp__cta { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--gold-2); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; transition: background .3s, color .3s, gap .3s; }
.rp__cta svg { width: 16px; height: 16px; }
.rp__cta:hover { background: var(--gold); color: var(--tma, #16120F); gap: 14px; }

/* ---------- galéria ---------- */
.rp .rg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 13vw, 210px); gap: clamp(8px, .9vw, 14px); }
.rp .rg > button { position: relative; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; background: rgba(27, 23, 20, .08); grid-column: auto; grid-row: auto; }
.rp .rg img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease, ease); }
.rp .rg > button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22, 18, 15, .45), transparent 50%); opacity: 0; transition: opacity .4s; }
.rp .rg > button:hover img { transform: scale(1.05); }
.rp .rg > button:hover::after { opacity: 1; }
.rg__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--tma, #16120F);
  opacity: 0; transform: scale(.7); transition: opacity .35s, transform .35s; }
.rg__zoom svg { width: 18px; height: 18px; }
.rp .rg > button:hover .rg__zoom, .rp .rg > button:focus-visible .rg__zoom { opacity: 1; transform: none; }
.rp .rg > button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.rp .rg .rg-v { grid-column: span 2; grid-row: span 2; }
.rp .rg .rg-sir { grid-column: span 2; }
.rp .rg .rg-pas { grid-column: span 3; grid-row: span 2; }
.rp .rg--stlpce { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
.rp .rg--stlpce > button { aspect-ratio: 3 / 4.2; }
.rp .rg--stlpce > button:nth-child(even) { margin-top: 40px; }

/* ---------- záver – ako kontakt na úvodnej stránke ---------- */
.rkon { padding: clamp(80px, 9vw, 130px) 0 calc(clamp(80px, 9vw, 130px) + var(--sikma, 48px)); }
.rkon__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.rkon__h { margin: 14px 0 18px; font-family: var(--f-cond); font-weight: 600; font-size: clamp(40px, 4vw, 60px); line-height: .96; text-transform: uppercase; color: var(--ink); }
.rkon__h em { display: block; font-style: normal; color: var(--gold-2); }
.rkon__lead { margin: 0 0 28px; max-width: 32em; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.rkon__akcie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.rkon__line { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 4px; transition: color .25s; }
.rkon__line svg { width: 17px; height: 17px; color: var(--gold-2); }
.rkon__line:hover { color: var(--gold-2); }
.rkon .kontakt2 { margin-top: 0; }
.kontakt2 { margin-top: 30px; border-radius: 8px; background: var(--tma, #16120F); color: #F3EDE3; box-shadow: 0 40px 70px -40px rgba(22, 18, 15, .7); overflow: hidden; }
.kontakt2__ikona { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(217, 164, 65, .45); color: var(--gold); }
.kontakt2__ikona svg { width: 18px; height: 18px; }
.kontakt2__ikona--plna { width: 52px; height: 52px; border: 0; background: var(--gold); color: var(--tma, #16120F); }
.kontakt2__ikona--plna svg { width: 22px; height: 22px; }
.kontakt2 small { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(243, 237, 227, .55); }
.kontakt2__tel { display: flex; align-items: center; gap: 18px; padding: 26px 28px; color: #fff; text-decoration: none; background: linear-gradient(110deg, rgba(217, 164, 65, .14), transparent 60%); border-bottom: 1px solid rgba(243, 237, 227, .1); transition: background .3s; }
.kontakt2__tel b { font-family: var(--f-cond); font-weight: 600; font-size: clamp(32px, 3vw, 42px); line-height: 1; letter-spacing: .02em; }
.kontakt2__sipka { width: 22px; height: 22px; margin-left: auto; color: var(--gold); transition: transform .3s; }
.kontakt2__tel:hover { background: linear-gradient(110deg, rgba(217, 164, 65, .24), transparent 70%); }
.kontakt2__tel:hover .kontakt2__sipka { transform: translateX(5px); }
.kontakt2__riadky { list-style: none; margin: 0; padding: 8px 28px; }
.kontakt2__riadky li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(243, 237, 227, .08); min-width: 0; }
.kontakt2__riadky li:last-child { border-bottom: 0; }
.kontakt2__riadky li > span:last-child { min-width: 0; }
.kontakt2__riadky b, .kontakt2__riadky a { font-size: 16.5px; font-weight: 600; color: #F3EDE3; text-decoration: none; overflow-wrap: anywhere; }
.kontakt2__riadky a:hover { color: var(--gold); }

@media (max-width: 1000px) { .rkon__in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .kontakt2__tel { padding: 22px 20px; gap: 14px; } .kontakt2__riadky { padding: 6px 20px; } }

/* ---------- tablet / mobil ---------- */
@media (max-width: 1000px) {
  .rprehlad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rprehlad__item:nth-child(3) { border-left: 0; }
  .rprehlad__item:nth-child(n+3) { border-top: 1px solid rgba(27, 23, 20, .08); }
  .rp__in, .rp--tma .rp__in { grid-template-columns: 1fr; }
  .rp--tma .rp__info { order: 0; }
  .rp__info { position: static; }
}
@media (max-width: 640px) {
  .rh { min-height: 0; padding-bottom: calc(56px + 90px); }
  .rh__fakty li { min-width: 0; flex: 1 1 calc(50% - 6px); padding: 12px 14px; }
  .rh__fakty li::before { left: 14px; }
  .rh__fakty b { font-size: 24px; }
  .rpanel-wrap { margin-top: -90px; }
  .rpanel__filter { padding: 14px 16px; }
  .rpanel__label { width: 100%; }
  .rprehlad { grid-template-columns: 1fr; }
  .rprehlad__item { border-left: 0; border-top: 1px solid rgba(27, 23, 20, .08); }
  .rprehlad__item:first-child { border-top: 0; }
  .rp .rg { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
  .rp .rg .rg-v, .rp .rg .rg-pas { grid-column: span 2; grid-row: span 2; }
  .rp .rg .rg-sir { grid-column: span 2; }
  .rp .rg--stlpce { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .rp .rg--stlpce > button:nth-child(even) { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .rh__bg { animation: none; transform: none; } }
