/* BoomBizz – variant v1 „Štúdio“ (svetlý, Bricolage Grotesque) */
:root {
  --navy: #102A3A;
  --navy-deep: #0B1E2B;
  --wine: #941F20;
  --wine-dark: #731718;
  --cream: #F5E8C9;
  --cream-soft: #FAF3E3;
  --bg: #F7F7F5;
  --ink: #1B2730;
  --muted: #5A6872;
  --line: #E3E0D6;
  --white: #fff;
  --font: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --wrap: 1180px;
  --shadow: 0 10px 30px -18px rgba(16, 42, 58, .35);
}

* { 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);
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-dark); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; color: var(--navy); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.02em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
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; border-radius: 4px; }
.wrap { width: min(100% - 2rem, var(--wrap)); 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; }

/* Tlačidlá */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.3rem; border-radius: 999px; 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, transform .18s;
}
.btn--lg { padding: .9rem 1.7rem; font-size: 1.06rem; }
.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--outline { background: transparent; color: var(--wine); border-color: currentColor; padding: .55rem 1.1rem; font-size: .95rem; }
.btn--outline:hover { background: var(--wine); color: var(--cream); }
.btn:active { transform: translateY(1px); }

/* Hlavička */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 247, 245, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1rem; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a.is-active { border-bottom-color: var(--wine); }
.nav__cta { margin-left: .6rem; }
.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; }

/* Úvod */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero h1 { max-width: 14ch; margin-bottom: 1.2rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.2rem; }
.hero__note { color: var(--muted); font-size: .95rem; margin: 0; padding-left: 1rem; border-left: 3px solid var(--cream); }
.hero__art .art { width: 100%; height: auto; }
.art__win { transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .art__win { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .art__win--1 { animation-delay: .1s; }
  .art__win--2 { animation-delay: .3s; }
  .art__win--3 { animation-delay: .5s; }
  .art__globe { animation: fade 1s .05s both; }
  .art__dot { animation: fade .6s .8s both; }
  .hero__text > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Sekcie */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--dark { background: var(--navy); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--cream { background: var(--cream-soft); }
.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Služby */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem; display: flex; flex-direction: column; gap: .6rem; box-shadow: var(--shadow);
}
.service p { color: var(--muted); flex: 1; }
.service .btn { align-self: flex-start; margin-top: .4rem; }
.service__icon { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--cream); display: grid; place-items: center; margin-bottom: .6rem; }
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--wine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Prečo */
.why { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.why__intro p { color: rgba(245, 232, 201, .78); font-size: 1.1rem; }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem 2rem; }
.benefits li { display: flex; gap: .9rem; align-items: flex-start; font-size: 1.05rem; font-weight: 500; line-height: 1.45; }
.benefits svg { flex: 0 0 40px; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--wine); fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Kroky */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; counter-reset: krok; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: var(--line); }
.step { position: relative; padding-top: 4.4rem; }
.step__num { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--wine); color: var(--cream); display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; border: 6px solid var(--bg); box-sizing: content-box; margin: -6px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }

/* Cenník */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.plan { background: var(--white); border-radius: var(--r-md); padding: 1.6rem 1.6rem 1.4rem; text-decoration: none; color: inherit; border: 1px solid var(--line); border-top: 4px solid var(--navy); transition: border-color .18s, transform .18s; }
.plan:hover { border-top-color: var(--wine); transform: translateY(-3px); color: inherit; }
.plan h3 { font-size: 1.12rem; }
.plan p { color: var(--muted); margin: 0; font-size: .98rem; }
.plans__cta { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.plans__cta p { margin: 0; color: var(--muted); max-width: 40ch; }

/* Referencie */
.refs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ref-card { display: block; text-decoration: none; color: inherit; border-radius: var(--r-md); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.ref-card__shot { display: block; aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; }
.ref-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.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; flex-direction: column; padding: .8rem 1rem; }
.ref-card__name { font-weight: 600; color: var(--navy); }
.ref-card__host { font-size: .85rem; color: var(--muted); }
.refs__more { text-align: center; margin-top: 2rem; }

/* Kontakt CTA */
.contact-cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.contact-cta p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.contact-list { display: flex; flex-direction: column; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 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(--wine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--wine); }

/* Pätička */
.site-footer { background: var(--navy); 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, .75); 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: #C9484A; 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 rgba(245, 232, 201, .18); font-size: .9rem; color: rgba(245, 232, 201, .65); }
.footer__bottom p { margin: 0; }

/* Kontaktná stránka */
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 1rem; }
.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); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.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); border-radius: var(--r-lg); padding: 2.4rem; box-shadow: var(--shadow); }
.form__success svg { width: 56px; height: 56px; stroke: var(--wine); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aside-card { background: var(--cream-soft); border-radius: var(--r-lg); padding: 1.8rem; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card .contact-list { background: transparent; border: 0; padding: 0; margin-top: 1rem; }
.aside-card ol { counter-reset: k; margin-top: .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); }

/* Právne stránky */
.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-soft); }

/* Responzivita */
@media (max-width: 1000px) {
  .services, .plans, .benefits { grid-template-columns: repeat(2, 1fr); }
  .refs { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .why, .contact-cta, .contact-layout, .footer__grid { grid-template-columns: 1fr; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; }
}
@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(--white); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem;
    display: none; box-shadow: var(--shadow);
  }
  .menu-open .nav { display: flex; }
  .nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 1rem 0 0; justify-content: center; }
  .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); }
  .services, .plans, .benefits, .refs, .steps, .form__row { grid-template-columns: 1fr; }
  .service { padding: 1.5rem; }
  .hero__actions .btn { width: 100%; }
}

/* 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: 16px; }
.pf__note { margin-top: 1.4rem; color: var(--muted); font-size: .95rem; }
.legal-wide { padding-bottom: clamp(3rem, 6vw, 5rem); }
