/* BoomBizz – variant v2 „Tmavý“ (navy hero, Syne + Albert Sans) */
:root {
  --navy: #102A3A;
  --navy-deep: #0B1E2B;
  --navy-line: rgba(245, 232, 201, .16);
  --wine: #941F20;
  --wine-dark: #731718;
  --cream: #F5E8C9;
  --cream-soft: #FAF3E3;
  --bg: #F7F7F5;
  --ink: #1B2730;
  --muted: #5A6872;
  --line: #E3E0D6;
  --white: #fff;
  --font: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --display: "Syne", "Albert Sans", system-ui, sans-serif;
  --r-sm: 6px;
  --r-md: 12px;
  --wrap: 1200px;
}
* { 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; font-family: var(--display); font-weight: 700; line-height: 1.1; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.02em; }
h3 { font-size: 1.35rem; }
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(--cream); outline-offset: 3px; }
body > main :focus-visible, .page main :focus-visible { outline-color: var(--wine); }
.section--dark :focus-visible, .site-header :focus-visible, .section--wine :focus-visible, .site-footer :focus-visible { outline-color: var(--cream); }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--wine); color: var(--cream); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }

/* Tlačidlá */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.4rem; border-radius: var(--r-sm); font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .18s, color .18s, border-color .18s; }
.btn--lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.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--cream { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn--cream:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); padding: .6rem 1.2rem; font-size: .95rem; }
.btn--outline:hover { background: var(--navy); color: var(--cream); }

/* Hlavička – navy */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid var(--navy-line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 1rem; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a:not(.btn) { color: var(--cream); text-decoration: none; font-weight: 500; opacity: .85; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a.is-active { opacity: 1; border-bottom-color: var(--wine); }
.nav__cta { margin-left: .5rem; }
.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(--cream); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Úvod */
.hero { background: var(--navy); color: var(--cream); padding: clamp(3.5rem, 8vw, 7rem) 0 0; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px); background-size: 72px 72px; opacity: .35; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); pointer-events: none; }
.hero__in { position: relative; text-align: center; max-width: 900px; }
.hero__tag { display: inline-block; font-family: var(--display); font-weight: 700; color: var(--wine); background: var(--cream); padding: .3rem .9rem; border-radius: 999px; font-size: .95rem; margin-bottom: 1.6rem; }
.hero h1 { color: var(--cream); margin-bottom: 1.2rem; }
.hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: rgba(245, 232, 201, .8); max-width: 60ch; margin-inline: auto; }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 3.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero__in > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__in > :nth-child(2) { animation-delay: .08s; }
  .hero__in > :nth-child(3) { animation-delay: .16s; }
  .hero__in > :nth-child(4) { animation-delay: .24s; }
  .strip { animation: fade 1s .4s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Pás náhľadov */
.strip { position: relative; overflow: hidden; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), transparent 10%, transparent 90%, var(--navy)); pointer-events: none; }
.strip__track { display: flex; gap: 1rem; width: max-content; }
.strip__item { flex: 0 0 auto; width: 300px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--navy-line); background: var(--navy-deep); transition: transform .2s; }
.strip__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.strip__item:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: no-preference) {
  .strip__track { animation: slide 70s linear infinite; }
  .strip:hover .strip__track, .strip:focus-within .strip__track { animation-play-state: paused; }
}
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; }
}

/* Sekcie */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--dark { background: var(--navy); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--cream { background: var(--cream); }
.section--wine { background: var(--wine); color: var(--cream); }
.section--wine h2 { color: var(--cream); }
.section__head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section__head--light p { color: rgba(245, 232, 201, .78); }

/* Služby – riadky */
.rows { border-top: 2px solid var(--navy); }
.row { display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 2rem; align-items: center; padding: 2rem 1rem; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.row:hover { background: var(--white); }
.row h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.row p { margin: 0; color: var(--muted); }

/* Prečo */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); }
.benefits li { background: var(--navy); padding: 1.8rem; font-weight: 500; font-size: 1.05rem; line-height: 1.45; }
.benefits svg { width: 36px; height: 36px; fill: none; stroke: var(--cream); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.benefits span { display: block; }

/* Kroky */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step { border-top: 2px solid var(--navy); padding-top: 1.2rem; }
.step__num { display: block; font-family: var(--display); font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--wine); margin-bottom: .8rem; letter-spacing: -.04em; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }

/* Cenník */
.pricing { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.pricing__intro { position: sticky; top: 110px; }
.pricing__intro p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.6rem; }
.plans li + li { border-top: 1px solid rgba(16, 42, 58, .18); }
.plans a { display: grid; grid-template-columns: 1fr; gap: .25rem; padding: 1.2rem 1rem 1.2rem 1.6rem; text-decoration: none; color: var(--ink); position: relative; transition: background-color .18s; }
.plans a::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 10px; height: 10px; background: var(--wine); }
.plans a:hover { background: rgba(255, 255, 255, .55); }
.plans strong { font-family: var(--display); color: var(--navy); font-size: 1.15rem; }
.plans span { color: var(--muted); font-size: .98rem; }

/* Referencie */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.ref-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); background: var(--white); transition: border-color .2s; }
.ref-card:hover { border-color: var(--navy); color: inherit; }
.ref-card__shot { display: block; aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; border-bottom: 1px solid var(--line); }
.ref-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.ref-card:hover .ref-card__shot img { transform: scale(1.03); }
.ref-card--noshot .ref-card__shot { display: grid; place-items: center; background: var(--navy); }
.ref-card--noshot .ref-card__shot::after { content: "Otvoriť web"; color: var(--cream); font-weight: 600; }
.ref-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 1rem; }
.ref-card__name { font-weight: 600; color: var(--navy); font-family: var(--display); }
.ref-card__host { font-size: .85rem; color: var(--muted); }
.refs__more { text-align: center; margin-top: 2.2rem; }

/* Kontakt – vínový pás */
.contact-cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.contact-cta p { color: rgba(245, 232, 201, .85); font-size: 1.1rem; max-width: 46ch; }
.contact-list { display: flex; flex-direction: column; gap: 1rem; border-left: 2px solid rgba(245, 232, 201, .4); padding-left: 1.6rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { flex: 0 0 24px; width: 24px; height: 24px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.contact-list a { color: var(--cream); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Pätička */
.site-footer { background: var(--navy-deep); color: var(--cream); padding: 3.5rem 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.footer__brand img { width: 180px; }
.footer__brand p { color: rgba(245, 232, 201, .7); max-width: 36ch; 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: .7rem; color: rgba(245, 232, 201, .85); }
.footer__contact svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: #D0605F; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: #E0A3A3; text-decoration: underline; }
.footer__links li { margin-bottom: .5rem; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--navy-line); font-size: .9rem; color: rgba(245, 232, 201, .6); }
.footer__bottom p { margin: 0; }

/* Kontaktná stránka a právne stránky */
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }
.page .contact-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 3rem; align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.page .contact-list { border-left: 0; padding-left: 0; }
.page .contact-list svg { stroke: var(--wine); }
.page .contact-list a { color: var(--navy); }
.form { background: var(--white); border: 1px solid var(--line); 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(--r-sm); 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); 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(--r-sm); padding: .8rem 1rem; margin-bottom: 1rem; }
.form__success { background: var(--white); border: 1px solid var(--line); 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-color: var(--navy); color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aside-card { background: var(--cream); 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-family: var(--display); font-weight: 700; color: var(--wine); }
.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 table { border-collapse: collapse; width: 100%; font-size: .95rem; margin-bottom: 1em; }
.legal th, .legal td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; vertical-align: top; }
.legal th { background: var(--cream); }

/* Responzivita */
@media (max-width: 1000px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .refs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing, .contact-cta, .page .contact-layout, .footer__grid { grid-template-columns: 1fr; }
  .pricing__intro { position: static; }
  .row { grid-template-columns: 1fr; gap: .8rem; }
  .row .btn { justify-self: start; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .site-header__in { min-height: 72px; }
  .brand img { width: 120px; }
  .menu-btn { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 1px solid var(--navy-line); padding: .5rem 1rem 1rem; display: none; }
  .menu-open .nav { display: flex; }
  .nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--navy-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, .refs, .steps, .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .strip__item { width: 220px; }
}

/* Právne stránky – pretečenie na mobile */
.legal a { overflow-wrap: anywhere; }
.legal .table-wrap { overflow-x: auto; margin-bottom: 1em; }
.legal .table-wrap table { min-width: 520px; margin: 0; }

/* Portfólio – nastavenie pre tento variant */
.pf { --pf-radius: 6px; }
.pf__note { margin-top: 1.4rem; color: var(--muted); font-size: .95rem; }
.legal-wide { padding-bottom: clamp(3rem, 6vw, 5rem); }
