/* BoomBizz – variant v6 „Delený“ (pevný ľavý panel, rolujúci obsah, stohujúce sa karty; Instrument Sans) */
:root {
  --navy: #102A3A; --navy-deep: #0B1E2B; --wine: #941F20; --wine-dark: #731718;
  --cream: #F5E8C9; --cream-soft: #FAF3E3; --bg: #F7F7F5; --white: #fff;
  --ink: #15202A; --muted: #5B6770; --line: #DEDCD4;
  --font: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --header: 72px; --form-r: 18px; --field-r: 10px;
  --pf-radius: 18px; --pf-border: var(--line); --pf-chrome-bg: #EFEEE9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--navy); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 3.4vw, 3.3rem); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 1280px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--cream); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.4rem; border-radius: 12px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.btn--primary:hover { background: var(--wine-dark); border-color: var(--wine-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn--cream:hover { background: var(--white); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); padding: .6rem 1.1rem; font-size: .95rem; }
.btn--outline:hover { border-color: var(--navy); }

/* Hlavička – úzka */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 247, 245, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header); gap: 1rem; }
.brand img { width: 120px; height: auto; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; padding: .45rem .8rem; border-radius: 10px; font-size: .95rem; }
.nav a:not(.btn):hover, .nav a.is-active { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.nav__cta { margin-left: .6rem; padding: .6rem 1.1rem; font-size: .95rem; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Rozloženie: ľavý pevný panel + pravý obsah */
.layout { display: grid; grid-template-columns: minmax(360px, 42%) 1fr; width: min(100% - 2rem, 1280px); margin-inline: auto; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.pane { position: sticky; top: var(--header); height: calc(100vh - var(--header)); display: flex; flex-direction: column; }
.pane__in { padding: clamp(2rem, 4vw, 3.5rem) 0 1.5rem; display: flex; flex-direction: column; height: 100%; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 40ch; }
.pane__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0 2rem; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; align-items: end; margin-top: auto; max-width: 420px; }
.phones img { border-radius: 18px; border: 4px solid var(--navy); background: var(--navy); aspect-ratio: 390 / 844; object-fit: cover; object-position: top; box-shadow: 0 20px 40px -24px rgba(16, 42, 58, .6); }
.phones img:nth-child(1) { transform: translateY(24px) rotate(-3deg); }
.phones img:nth-child(3) { transform: translateY(24px) rotate(3deg); }
.pane__foot { margin: 2rem 0 0; font-size: .85rem; color: var(--muted); }
.pane__foot a { color: var(--navy); text-decoration: none; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .pane__in > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .pane__in > :nth-child(2) { animation-delay: .08s; } .pane__in > :nth-child(3) { animation-delay: .16s; } .pane__in > :nth-child(4) { animation-delay: .3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Bloky obsahu */
.content { padding: clamp(2rem, 4vw, 3.5rem) 0 3rem; display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5.5rem); }
.block__head { max-width: 56ch; margin-bottom: 1.8rem; }
.block__head p { color: var(--muted); margin: 0; }
.block--cream { background: var(--cream); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.block--navy { background: var(--navy); color: var(--cream); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.block--navy h2 { color: var(--cream); }
.block--navy .block__head p { color: rgba(245, 232, 201, .78); }

/* Stohujúce sa karty služieb */
.stack { display: flex; flex-direction: column; gap: 1rem; }
.card { position: sticky; border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: .6rem; min-height: 280px; box-shadow: 0 -8px 30px -20px rgba(16, 42, 58, .4); }
.card:nth-child(1) { top: calc(var(--header) + 1rem); }
.card:nth-child(2) { top: calc(var(--header) + 2.5rem); }
.card:nth-child(3) { top: calc(var(--header) + 4rem); }
.card:nth-child(4) { top: calc(var(--header) + 5.5rem); }
.card h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 0; }
.card p { flex: 1; max-width: 56ch; margin: 0 0 .8rem; }
.card .btn { align-self: flex-start; }
.card--white { background: var(--white); border: 1px solid var(--line); }
.card--white p { color: var(--muted); }
.card--cream { background: var(--cream); }
.card--cream p { color: #4E4634; }
.card--navy { background: var(--navy); color: var(--cream); }
.card--navy h3 { color: var(--cream); }
.card--navy p { color: rgba(245, 232, 201, .82); }
.card--wine { background: var(--wine); color: var(--cream); }
.card--wine h3 { color: var(--cream); }
.card--wine p { color: rgba(245, 232, 201, .85); }

/* Výhody */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.benefits li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem 1rem 2.4rem; position: relative; font-weight: 500; }
.benefits li::before { content: ""; position: absolute; left: 1.1rem; top: 1.35rem; width: 8px; height: 8px; border-radius: 50%; background: var(--wine); }

/* Časová os */
.timeline { position: relative; display: grid; gap: 1.6rem; padding-left: 3.2rem; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; }
.timeline__n { position: absolute; left: -3.2rem; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; font-weight: 700; }
.timeline h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.timeline p { color: var(--muted); margin: 0; }

/* Cenník */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.5rem; }
.plans a { display: block; background: var(--white); border-radius: 14px; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--ink); height: 100%; transition: transform .15s; }
.plans a:hover { transform: translateY(-2px); }
.plans strong { display: block; color: var(--navy); margin-bottom: .2rem; }
.plans span { color: var(--muted); font-size: .95rem; }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.contact__list li { color: rgba(245, 232, 201, .85); margin-bottom: .3rem; }
.contact__list a { color: var(--cream); font-weight: 600; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

/* Portfólio v užšom stĺpci */
.content .pf__grid { grid-template-columns: repeat(2, 1fr); }

/* Pätička */
.site-footer { background: var(--navy-deep); color: var(--cream); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.footer__brand img { width: 150px; }
.footer__brand p { color: rgba(245, 232, 201, .72); max-width: 34ch; margin-top: 1rem; }
.site-footer h4 { color: var(--cream); margin-bottom: 1rem; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .6rem; color: rgba(245, 232, 201, .85); }
.footer__contact svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: #D0605F; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 4px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__links li { margin-bottom: .45rem; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(245, 232, 201, .2); font-size: .88rem; color: rgba(245, 232, 201, .6); }
.footer__bottom p { margin: 0; }

/* Podstránky používajú bežný tok */
.page main { display: block; }

@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .pane { position: static; height: auto; }
  .pane__in { padding-bottom: 0; }
  .phones { margin-top: 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .content .pf__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .site-header__in { min-height: 64px; }
  .brand img { width: 108px; }
  .menu-btn { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; display: none; }
  .menu-open .nav { display: flex; }
  .nav a:not(.btn) { padding: .8rem .4rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 1rem 0 0; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
  .benefits, .plans, .content .pf__grid { grid-template-columns: 1fr; }
  .card { position: static; min-height: 0; }
  .pane__actions .btn { width: 100%; }
}

/* ===== Kontaktná stránka a právne stránky (zdieľaný blok, používa tokeny variantu) ===== */
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }
.contact-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 3rem; align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.form { background: var(--white, #fff); border: 1px solid var(--line); border-radius: var(--form-r, 8px); padding: clamp(1.4rem, 3vw, 2.4rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; color: var(--navy); font-size: .95rem; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--field-r, 6px); background: var(--bg); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white, #fff); box-shadow: 0 0 0 3px rgba(16, 42, 58, .12); }
.field textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: .4rem 0 1.4rem; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wine); flex: 0 0 auto; }
.form__status { background: #FBE9E9; color: var(--wine-dark); border: 1px solid #EBC1C1; border-radius: var(--field-r, 6px); padding: .8rem 1rem; margin-bottom: 1rem; }
.form__success { background: var(--white, #fff); border: 1px solid var(--line); border-radius: var(--form-r, 8px); padding: 2.4rem; }
.form__success svg { width: 56px; height: 56px; stroke: var(--wine); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.form__success .btn--ghost { border: 1.5px solid var(--navy); color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aside-card { background: var(--cream-soft, var(--cream)); border-radius: var(--form-r, 8px); padding: 1.8rem; }
.aside-card h3 { font-size: 1.1rem; }
.aside-card ol { counter-reset: k; margin: .5rem 0 1.5rem; }
.aside-card ol li { counter-increment: k; display: flex; gap: .7rem; margin-bottom: .6rem; color: var(--muted); }
.aside-card ol li::before { content: counter(k); font-weight: 700; color: var(--wine); }
.aside-card .contact-list { display: flex; flex-direction: column; gap: .8rem; margin-top: .8rem; }
.aside-card .contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.aside-card .contact-list svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--wine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.aside-card .contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.legal { max-width: 72ch; padding-bottom: clamp(3rem, 6vw, 5rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.legal a { overflow-wrap: anywhere; }
.legal .table-wrap { overflow-x: auto; margin-bottom: 1em; }
.legal table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; margin: 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; vertical-align: top; }
.legal th { background: var(--cream-soft, var(--cream)); }
.legal-wide { padding-bottom: clamp(3rem, 6vw, 5rem); }
.pf__note { margin-top: 1.4rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .form__row { grid-template-columns: 1fr; } }
@media (min-width: 1001px) and (max-height: 760px) { .phones { display: none; } }
@media (min-width: 1001px) { .pane { overflow: hidden; } }
