/* ═══════════════════════════════════════════════════════
   MJ Service — main.css
   Tokens → Reset → Layout → Components → Sections → Blog → Article → Responsive
═══════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --ink:    #111010;
  --ink2:   #2a2a2a;
  --mid:    #6b6b6b;
  --faint:  #c8c8c8;
  --line:   #e5e5e5;
  --bg:     #f7f6f3;
  --white:  #ffffff;
  --red:    #e84c1e;
  --red-dk: #c73d14;
  --red-lt: #fdf1ed;
}

/* ── Accessibility ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 0;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }

/* ── Layout ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
@media (max-width: 480px) { .wrap { padding: 0 1.25rem; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 3rem;
  font-weight: 700; font-size: .875rem;
  cursor: pointer; transition: .2s; white-space: nowrap;
  border: none; font-family: inherit;
}
.btn-fill  { background: var(--ink); color: #fff; }
.btn-fill:hover  { background: var(--ink2); transform: translateY(-1px); }
.btn-red   { background: var(--red); color: #fff; }
.btn-red:hover   { background: var(--red-dk); transform: translateY(-1px); }
.btn-line  { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover  { background: var(--ink); color: #fff; }
.btn-ghost { background: #2a2928; color: #fff; border: 1.5px solid #4a4847; }
.btn-ghost:hover { background: #3a3837; }

/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: .1rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo-fb { font-weight: 900; font-size: 1.1rem; letter-spacing: -.03em; color: var(--ink); }
.nav-logo-fb span { color: var(--red); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: .82rem; font-weight: 600; color: var(--mid); letter-spacing: .01em; transition: color .15s; }
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-phone { font-size: .82rem; font-weight: 700; color: var(--ink); }
.nav-mob { display: none; font-weight: 700; font-size: .85rem; color: var(--red); }

/* ═══════════════════════════════════════════════════════
   HERO — editorial
═══════════════════════════════════════════════════════ */
.hero { background: var(--white); padding-top: 60px; border-bottom: 1px solid var(--line); }

.hero-strip { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.hero-strip-inner { display: flex; justify-content: space-between; align-items: center; }
.hero-strip-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--mid); }
.hero-strip-phone { font-size: .8rem; font-weight: 700; color: var(--red); transition: opacity .15s; }
.hero-strip-phone:hover { opacity: .75; }

.hero-headline-wrap { padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.hero-headline {
  font-size: clamp(3rem, 10vw, 9.5rem);
  font-weight: 900; letter-spacing: -.06em; line-height: .9; color: var(--ink);
  overflow-wrap: break-word; word-break: break-word;
}
.hero-headline em { font-style: normal; color: var(--red); }

.hero-body {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 3rem; padding-top: 2.5rem; padding-bottom: 4rem; align-items: start;
}
.hero-photo-wrap { border-radius: .875rem; overflow: hidden; aspect-ratio: 16/10; }
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.hero-photo-wrap:hover img { transform: scale(1.03); }

.hero-sidebar { display: flex; flex-direction: column; padding-top: .5rem; }
.hero-sidebar-tag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.hero-sidebar p { font-size: .975rem; color: var(--mid); line-height: 1.85; margin-bottom: 2rem; }
.hero-sidebar-btns { display: flex; flex-direction: column; gap: .75rem; }
.hero-sidebar-btns .btn { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
.about { background: var(--white); padding: 7rem 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-tag { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.about-heading {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 900; letter-spacing: -.05em; line-height: 1.0; color: var(--ink);
}
.about-img-wrap { display: none; }
.about-right p { font-size: .975rem; color: var(--mid); line-height: 1.85; margin-bottom: 1rem; }
.about-right p:last-of-type { margin-bottom: 0; }
.about-right strong { color: var(--ink); font-weight: 700; }
.about-right a { color: var(--red); font-weight: 700; }

/* ═══════════════════════════════════════════════════════
   PREČO MY
═══════════════════════════════════════════════════════ */
.preco { background: var(--ink); padding: 3rem 0; }
.preco-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.preco-item { padding: 1.25rem 2rem; border-right: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: .4rem; }
.preco-item:last-child { border-right: none; }
.preco-item .pi-label { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.35); }
.preco-item .pi-value { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.3; }
.preco-item .pi-value em { font-style: normal; color: var(--red); }

/* ═══════════════════════════════════════════════════════
   SLUŽBY
═══════════════════════════════════════════════════════ */
.sluzby { padding: 5rem 0 7rem; background: var(--bg); }
.sluzby-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.sluzby-hdr h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -.04em; color: var(--ink); }
.sluzby-hdr p { font-size: .875rem; color: var(--mid); max-width: 300px; text-align: right; line-height: 1.65; }
.sluzby-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: .875rem; overflow: hidden;
}
.sluzba { background: var(--white); padding: 2rem 1.75rem; position: relative; transition: background .2s; }
.sluzba:hover { background: var(--red-lt); }
.sluzba::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.sluzba:hover::after { transform: scaleX(1); }
.sluzba-num { font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--faint); margin-bottom: 1.25rem; }
.sluzba h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; letter-spacing: -.01em; }
.sluzba p { font-size: .82rem; color: var(--mid); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════
   CENNÍK
═══════════════════════════════════════════════════════ */
.cennik { padding: 7rem 0; background: var(--white); }
.cennik-inner { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; align-items: start; }
.cennik-nav { position: sticky; top: 80px; }
.cennik-nav-tag { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.cennik-nav h2 { font-size: 2rem; font-weight: 900; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; margin-bottom: 1.5rem; }
.cennik-nav p { font-size: .85rem; color: var(--mid); line-height: 1.75; margin-bottom: 2rem; }
.cennik-nav-links { display: flex; flex-direction: column; gap: .25rem; }
.cnav-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .875rem; border-radius: .5rem;
  font-size: .82rem; font-weight: 600; color: var(--mid); transition: .15s;
}
.cnav-link:hover, .cnav-link.active { background: var(--red-lt); color: var(--red); }
.cnav-link::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.cennik-note {
  margin-top: 2rem; padding: 1rem;
  background: var(--bg); border-radius: .75rem; border-left: 3px solid var(--red);
  font-size: .78rem; color: var(--mid); line-height: 1.65;
}
.cennik-tables { display: flex; flex-direction: column; gap: 2.5rem; }
.cen-section-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: .75rem;
  display: flex; align-items: center; gap: .6rem;
}
.cen-section-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.cen-section-sub { font-size: .8rem; color: var(--mid); margin-bottom: 1.25rem; }
.ctable { border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; }
.ctable thead { background: var(--bg); }
.ctable th { padding: .7rem 1.1rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mid); text-align: left; border-bottom: 1px solid var(--line); }
.ctable td { padding: .75rem 1.1rem; font-size: .9rem; color: var(--ink2); border-top: 1px solid var(--line); }
.ctable tr:hover td { background: var(--red-lt); }
.ctable .price { font-weight: 800; color: var(--ink); text-align: right; white-space: nowrap; }
.ctable .plus  { font-weight: 700; color: #d97706; text-align: right; white-space: nowrap; }
.ctable .dim   { color: var(--mid); font-size: .82rem; }

/* ═══════════════════════════════════════════════════════
   BLOG PREVIEW (homepage)
═══════════════════════════════════════════════════════ */
.blog { padding: 7rem 0; }
.blog-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.blog-hdr h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -.04em; color: var(--ink); }
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: .875rem; overflow: hidden;
  margin-bottom: .875rem; transition: box-shadow .2s;
}
.blog-featured:hover { box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.blog-featured-img { height: 340px; overflow: hidden; position: relative; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-featured:hover .blog-featured-img img { transform: scale(1.04); }
.blog-cat-pill {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--red); color: #fff;
  font-size: .65rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 2rem;
}
.blog-featured-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.blog-featured-body .meta { font-size: .72rem; color: var(--mid); margin-bottom: .75rem; }
.blog-featured-body h3 { font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1.3; letter-spacing: -.02em; margin-bottom: .875rem; }
.blog-featured-body p { font-size: .9rem; color: var(--mid); line-height: 1.75; margin-bottom: 1.5rem; }
.blog-read { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; color: var(--ink); transition: gap .2s; }
.blog-read:hover { gap: .8rem; color: var(--red); }
.blog-read::after { content: '→'; }
.blog-row { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; }
.blog-card {
  background: var(--white); border: 1px solid var(--line); border-radius: .875rem;
  overflow: hidden; display: grid; grid-template-columns: 140px 1fr; transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); }
.blog-card-img { height: 100%; min-height: 120px; overflow: hidden; position: relative; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 1.25rem; }
.blog-card-body .meta { font-size: .68rem; color: var(--mid); margin-bottom: .5rem; }
.blog-card-body h3 { font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: .5rem; }
.blog-card-body .blog-read { font-size: .78rem; }

/* ═══════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════ */
.cta { background: var(--ink); padding: 5rem 0; position: relative; overflow: hidden; }
.cta::before {
  content: 'MJ'; position: absolute; right: -2rem; top: 50%; transform: translateY(-50%);
  font-size: 22rem; font-weight: 900; letter-spacing: -.05em;
  color: rgba(255,255,255,.03); line-height: 1; pointer-events: none;
}
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 900; color: #fff; letter-spacing: -.04em; line-height: 1.1; margin-bottom: .75rem; }
.cta p { color: rgba(255,255,255,.5); font-size: .975rem; line-height: 1.75; }
.cta-right { display: flex; flex-direction: column; gap: 1rem; }
.cta-block {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: .875rem; padding: 1.5rem;
  display: flex; align-items: center; gap: 1.25rem; transition: .2s;
}
.cta-block:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.cta-block-ico {
  width: 3rem; height: 3rem; border-radius: .75rem;
  background: var(--red); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.cta-block h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: .2rem; }
.cta-block p { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0; }
.cta-block a { color: var(--red); }

/* ═══════════════════════════════════════════════════════
   KONTAKT
═══════════════════════════════════════════════════════ */
.kontakt { padding: 7rem 0; background: var(--bg); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.map-wrap { border-radius: .875rem; overflow: hidden; border: 1px solid var(--line); min-height: 480px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }
.kontakt-panel { background: var(--white); border: 1px solid var(--line); border-radius: .875rem; display: flex; flex-direction: column; overflow: hidden; }
.kontakt-panel-head { background: var(--ink); padding: 2rem 2rem 1.5rem; }
.kontakt-panel-head h2 { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -.03em; }
.kontakt-panel-head p { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: .4rem; }
.krow { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 2rem; border-bottom: 1px solid var(--line); }
.krow:last-of-type { border-bottom: none; }
.krow-ico { width: 2.4rem; height: 2.4rem; border-radius: .5rem; flex-shrink: 0; background: var(--red-lt); border: 1px solid rgba(232,76,30,.15); display: flex; align-items: center; justify-content: center; font-size: .95rem; margin-top: .1rem; }
.krow h4 { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mid); margin-bottom: .3rem; }
.krow p { font-size: .925rem; color: var(--ink); font-weight: 600; line-height: 1.45; }
.krow a { color: var(--red); font-weight: 700; }
.hours-section { padding: 1.25rem 2rem 1.5rem; }
.hours-section h4 { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mid); margin-bottom: .875rem; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row .day    { color: var(--mid); }
.hours-row .normal { font-weight: 700; color: var(--ink); }
.hours-row .time   { font-weight: 700; color: var(--ink); }
.hours-row .flex   { font-weight: 700; color: var(--red); }
.hours-row .closed { font-weight: 700; color: var(--faint); }
.hours-row .shut   { font-weight: 700; color: var(--faint); }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer { background: var(--ink); padding: 4rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 2rem; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.35); line-height: 1.75; margin-top: .875rem; max-width: 260px; }
.footer h5 { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: .875rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer ul a, .footer ul span { font-size: .85rem; color: rgba(255,255,255,.45); transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; font-size: .78rem; color: rgba(255,255,255,.25); }
.footer-bottom a { color: rgba(255,255,255,.25); }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

/* ═══════════════════════════════════════════════════════
   BLOG LIST PAGE
═══════════════════════════════════════════════════════ */
.blog-hd { background: var(--white); padding-top: 60px; border-bottom: 1px solid var(--line); }
.blog-hd-strip { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.blog-hd-strip-inner { display: flex; justify-content: space-between; align-items: center; }
.blog-hd-strip-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--mid); }
.blog-hd-strip-back { font-size: .78rem; font-weight: 700; color: var(--mid); display: inline-flex; align-items: center; gap: .4rem; transition: color .15s; }
.blog-hd-strip-back:hover { color: var(--red); }
.blog-hd-strip-back::before { content: '←'; }
.blog-hd-body { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; padding: 3.5rem 0 3rem; }
.blog-hd-title { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 900; letter-spacing: -.06em; line-height: .92; color: var(--ink); overflow-wrap: break-word; word-break: break-word; }
.blog-hd-title em { font-style: normal; color: var(--red); }
.blog-hd-right { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: .5rem; }
.blog-hd-desc { font-size: 1rem; color: var(--mid); line-height: 1.8; }
.blog-cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.blog-cat-btn { padding: .4rem 1rem; border-radius: 2rem; font-size: .75rem; font-weight: 700; border: 1.5px solid var(--line); color: var(--mid); cursor: pointer; transition: .15s; background: transparent; font-family: inherit; }
.blog-cat-btn:hover, .blog-cat-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.featured { padding: 4rem 0; }
.featured-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: var(--white); transition: box-shadow .25s; }
.featured-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.09); }
.featured-img { position: relative; overflow: hidden; min-height: 420px; }
.featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.featured-card:hover .featured-img img { transform: scale(1.04); }
.featured-pill { position: absolute; top: 1.25rem; left: 1.25rem; background: var(--red); color: #fff; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .85rem; border-radius: 2rem; }
.featured-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.featured-meta { font-size: .72rem; color: var(--mid); margin-bottom: .75rem; display: flex; align-items: center; gap: .75rem; }
.featured-meta .sep { color: var(--line); }
.featured-body h2 { font-size: 1.75rem; font-weight: 800; color: var(--ink); line-height: 1.25; letter-spacing: -.03em; margin-bottom: 1rem; }
.featured-body p { font-size: .95rem; color: var(--mid); line-height: 1.8; margin-bottom: 2rem; }
.read-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700; color: var(--ink); transition: gap .2s, color .15s; }
.read-link:hover { gap: .85rem; color: var(--red); }
.read-link::after { content: '→'; }

.blog-main { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; padding-bottom: 7rem; align-items: start; }
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: .875rem; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.post-img { position: relative; overflow: hidden; height: 190px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-img img { transform: scale(1.06); }
.post-cat-pill { position: absolute; top: .875rem; left: .875rem; background: var(--red); color: #fff; font-size: .6rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 2rem; }
.post-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: .68rem; color: var(--mid); margin-bottom: .65rem; }
.post-body h3 { font-size: 1rem; font-weight: 800; color: var(--ink); line-height: 1.4; letter-spacing: -.01em; margin-bottom: .65rem; flex: 1; }
.post-body .read-link { font-size: .78rem; margin-top: .5rem; }

/* Sidebar (blog list) */
.sidebar { display: flex; flex-direction: column; gap: 1.75rem; position: sticky; top: 80px; }
.sidebar-widget { background: var(--white); border: 1px solid var(--line); border-radius: .875rem; overflow: hidden; }
.widget-head { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--mid); }
.widget-cta { background: var(--ink); padding: 1.75rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.widget-cta h4 { font-size: 1.05rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.3; }
.widget-cta p { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.7; }
.widget-cta .btn { width: 100%; justify-content: center; font-size: .82rem; padding: .75rem 1rem; }
.widget-tags { padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.wtag { padding: .35rem .85rem; border-radius: 2rem; font-size: .72rem; font-weight: 600; background: var(--bg); color: var(--mid); border: 1px solid var(--line); transition: .15s; cursor: pointer; text-decoration: none; display: inline-block; font-family: inherit; line-height: 1.4; }
.wtag:hover, .wtag.active { background: var(--red-lt); color: var(--red); border-color: rgba(232,76,30,.2); }
.ext-list { display: flex; flex-direction: column; }
.ext-item { display: flex; align-items: flex-start; gap: .875rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); transition: background .15s; }
.ext-item:last-child { border-bottom: none; }
.ext-item:hover { background: var(--bg); }
.ext-ico { width: 2.25rem; height: 2.25rem; border-radius: .5rem; background: var(--red-lt); border: 1px solid rgba(232,76,30,.12); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .9rem; margin-top: .1rem; }
.ext-content h5 { font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; line-height: 1.35; }
.ext-content p { font-size: .72rem; color: var(--mid); line-height: 1.5; }
.ext-arrow { margin-left: auto; font-size: .75rem; color: var(--faint); flex-shrink: 0; margin-top: .15rem; transition: color .15s, transform .15s; }
.ext-item:hover .ext-arrow { color: var(--red); transform: translateX(2px); }
.widget-newsletter { padding: 1.25rem; }
.widget-newsletter p { font-size: .82rem; color: var(--mid); line-height: 1.7; margin-bottom: 1rem; }
.newsletter-form { display: flex; flex-direction: column; gap: .6rem; }
.newsletter-form input { width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--line); border-radius: .5rem; font-size: .82rem; font-family: 'Inter', sans-serif; color: var(--ink); background: var(--bg); outline: none; transition: border-color .15s; }
.newsletter-form input:focus { border-color: var(--red); }
.newsletter-form .btn { width: 100%; justify-content: center; font-size: .82rem; padding: .7rem 1rem; }

/* Sources grid (blog list) */
.sources { background: var(--white); border-top: 1px solid var(--line); padding: 5rem 0; }
.sources-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.sources-tag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .5rem; }
.sources-hdr h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; }
.sources-hdr p { font-size: .85rem; color: var(--mid); max-width: 300px; text-align: right; line-height: 1.65; }
.sources-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.source-card { border: 1px solid var(--line); border-radius: .875rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; background: var(--bg); transition: .2s; }
.source-card:hover { border-color: rgba(232,76,30,.25); background: var(--red-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.source-card-head { display: flex; align-items: center; gap: .875rem; }
.source-ico { width: 2.5rem; height: 2.5rem; border-radius: .625rem; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.source-domain { font-size: .68rem; font-weight: 700; color: var(--mid); text-transform: uppercase; letter-spacing: .08em; }
.source-card h4 { font-size: .95rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.source-card p { font-size: .8rem; color: var(--mid); line-height: 1.7; flex: 1; }
.source-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; color: var(--red); transition: gap .15s; }
.source-link:hover { gap: .65rem; }
.source-link::after { content: '↗'; }

/* ═══════════════════════════════════════════════════════
   ARTICLE PAGE
═══════════════════════════════════════════════════════ */
.reading-bar { position: fixed; top: 60px; left: 0; right: 0; height: 3px; background: var(--line); z-index: 100; }
.reading-progress { height: 100%; background: var(--red); width: 0; transition: width .1s linear; }

.article-hd { background: var(--white); padding-top: 60px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: .5rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .72rem; font-weight: 600; color: var(--mid); }
.breadcrumb a { color: var(--mid); transition: color .15s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--faint); }
.breadcrumb .current { color: var(--ink); }
.article-hd-body { padding: 2.5rem 0; max-width: 780px; }
.article-cat-pill { display: inline-flex; align-items: center; gap: .4rem; background: var(--red-lt); color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .875rem; border-radius: 2rem; margin-bottom: 1.25rem; }
.article-hd-body h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.15; color: var(--ink); margin-bottom: 1.25rem; }
.article-hd-body .lead { font-size: 1.1rem; color: var(--mid); line-height: 1.8; margin-bottom: 2rem; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.meta-author { display: flex; align-items: center; gap: .75rem; }
.meta-author-avatar { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .78rem; color: #fff; flex-shrink: 0; }
.meta-author-name { font-size: .82rem; font-weight: 700; color: var(--ink); }
.meta-author-role { font-size: .7rem; color: var(--mid); }
.meta-divider { width: 1px; height: 2rem; background: var(--line); }
.meta-item { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--mid); }
.meta-item strong { color: var(--ink); }
.meta-share { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.share-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mid); }
.share-btn { width: 2rem; height: 2rem; border-radius: .5rem; border: 1px solid var(--line); background: transparent; display: flex; align-items: center; justify-content: center; font-size: .85rem; cursor: pointer; transition: .15s; color: var(--mid); text-decoration: none; }
.share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share-fb:hover { background: #1877f2; border-color: #1877f2; }
.share-wa:hover { background: #25d366; border-color: #25d366; }
.share-x:hover  { background: #000;    border-color: #000; }
.share-li:hover { background: #0a66c2; border-color: #0a66c2; }

.article-hero-img { width: 100%; aspect-ratio: 21/8; overflow: hidden; position: relative; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-hero-img figcaption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top,rgba(0,0,0,.55),transparent); padding: 1.5rem max(1.25rem,2rem) .875rem; font-size: .72rem; color: rgba(255,255,255,.6); font-style: italic; }

.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 4rem; padding-top: 4rem; padding-bottom: 6rem; align-items: start; }

/* Prose */
.prose p { font-size: 1.05rem; color: var(--ink2); line-height: 1.9; margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.25; margin-top: 3rem; margin-bottom: 1rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-top: 2rem; margin-bottom: .75rem; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--red-dk); }
.prose ul, .prose ol { margin: 1rem 0 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.prose li { font-size: 1.05rem; color: var(--ink2); line-height: 1.75; }
.prose ul li::marker { color: var(--red); }
.prose ol li::marker { font-weight: 700; color: var(--red); }
.prose blockquote { margin: 2rem 0; padding: 1.5rem 1.75rem; background: var(--red-lt); border-left: 4px solid var(--red); border-radius: 0 .75rem .75rem 0; }
.prose blockquote p { font-size: 1.1rem; font-weight: 700; font-style: italic; color: var(--ink); margin-bottom: 0; line-height: 1.65; }
.prose blockquote cite { display: block; margin-top: .5rem; font-size: .78rem; font-weight: 600; color: var(--red); font-style: normal; letter-spacing: .04em; }
.prose .tip-box { margin: 2rem 0; padding: 1.5rem; background: var(--bg); border: 1px solid var(--line); border-radius: .875rem; }
.prose .tip-box .tip-label { display: flex; align-items: center; gap: .5rem; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: .75rem; }
.prose .tip-box p { font-size: .9rem; color: var(--mid); margin-bottom: 0; line-height: 1.75; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: .9rem; }
.prose thead { background: var(--ink); }
.prose thead th { padding: .7rem 1rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; text-align: left; }
.prose td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink2); }
.prose tr:hover td { background: var(--red-lt); }
.prose .td-good { color: #16a34a; font-weight: 700; }
.prose .td-bad  { color: var(--red); font-weight: 700; }
.prose figure { margin: 2.5rem 0; }
.prose figure img { width: 100%; border-radius: .875rem; border: 1px solid var(--line); }
.prose figure figcaption { font-size: .75rem; color: var(--mid); text-align: center; margin-top: .6rem; font-style: italic; }
.prose .cta-inline { margin: 3rem 0 0; padding: 2rem; background: var(--ink); border-radius: 1rem; display: flex; align-items: center; gap: 2rem; }
.prose .cta-inline-text h4 { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: .4rem; letter-spacing: -.02em; }
.prose .cta-inline-text p { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 0; }
.prose .cta-inline .btn { flex-shrink: 0; }
.article-tags { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.article-tags .tags-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mid); }
.tag { padding: .3rem .85rem; border-radius: 2rem; font-size: .72rem; font-weight: 600; background: var(--bg); color: var(--mid); border: 1px solid var(--line); transition: .15s; }
.tag:hover { background: var(--red-lt); color: var(--red); border-color: rgba(232,76,30,.2); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.art-nav-btn { padding: 1.25rem; border: 1px solid var(--line); border-radius: .875rem; background: var(--white); display: flex; flex-direction: column; gap: .3rem; transition: .2s; }
.art-nav-btn:hover { border-color: var(--red); background: var(--red-lt); }
.art-nav-btn.next { text-align: right; }
.art-nav-dir { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mid); }
.art-nav-title { font-size: .88rem; font-weight: 700; color: var(--ink); line-height: 1.4; }

/* Article sidebar */
.article-sidebar { display: flex; flex-direction: column; gap: 1.75rem; position: sticky; top: 80px; }
.aside-widget { background: var(--white); border: 1px solid var(--line); border-radius: .875rem; overflow: hidden; }
.aside-head { padding: .875rem 1.25rem; border-bottom: 1px solid var(--line); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--mid); }
/* Hugo .TableOfContents: nav.toc-list > nav#TableOfContents > ul > li > a */
.toc-list { padding: .75rem 0; }
#toc ul { list-style: none; padding: 0; margin: 0; }
#toc ul ul { padding-left: 1rem; }
#toc li { margin: 0; }
#toc li a {
  display: flex !important;
  align-items: center;
  gap: .65rem;
  padding: .5rem 1.25rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--mid) !important;
  transition: color .15s, background .15s, border-color .15s;
  border-left: 2px solid transparent;
  text-decoration: none !important;
  line-height: 1.4;
}
#toc li a:hover,
#toc li a.active {
  color: var(--red) !important;
  background: var(--red-lt);
  border-left-color: var(--red);
}
#toc li a::before {
  content: '';
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.aside-cta { background: var(--ink); padding: 1.75rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.aside-cta h4 { font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.3; }
.aside-cta p { font-size: .8rem; color: rgba(255,255,255,.45); line-height: 1.7; }
.aside-cta .btn { width: 100%; justify-content: center; font-size: .8rem; padding: .7rem 1rem; }
.related-mini { display: flex; flex-direction: column; }
.related-mini-item { display: flex; gap: .875rem; align-items: flex-start; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); transition: background .15s; }
.related-mini-item:last-child { border-bottom: none; }
.related-mini-item:hover { background: var(--bg); }
.related-mini-img { width: 64px; height: 48px; border-radius: .4rem; overflow: hidden; flex-shrink: 0; }
.related-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.related-mini-body .rmeta { font-size: .65rem; color: var(--mid); margin-bottom: .25rem; }
.related-mini-body h5 { font-size: .8rem; font-weight: 700; color: var(--ink); line-height: 1.4; }

/* Related articles */
.related { background: var(--white); border-top: 1px solid var(--line); padding: 5rem 0; }
.related-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.related-tag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .4rem; }
.related-hdr h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -.04em; color: var(--ink); }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.related-card { background: var(--bg); border: 1px solid var(--line); border-radius: .875rem; overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.related-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.related-card-img { height: 180px; overflow: hidden; position: relative; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.related-card:hover .related-card-img img { transform: scale(1.06); }
.rel-pill { position: absolute; top: .75rem; left: .75rem; background: var(--red); color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 2rem; }
.related-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.related-card-body .rmeta { font-size: .68rem; color: var(--mid); margin-bottom: .5rem; }
.related-card-body h3 { font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.4; flex: 1; margin-bottom: .875rem; }

/* ── Article mobile share bar ── */
.article-share-mobile {
  display: none;
  align-items: center; gap: .5rem;
  padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 2rem; overflow-x: auto;
}
.article-share-mobile .share-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mid);
  white-space: nowrap; margin-right: .25rem; flex-shrink: 0;
}
.article-share-mobile .share-btn { flex-shrink: 0; }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .hero-body { grid-template-columns: 1fr; gap: 2rem; }
  .hero-sidebar-btns .btn { width: auto; }
  .hero-headline { font-size: clamp(3rem, 8vw, 6rem); }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .preco-inner { grid-template-columns: 1fr 1fr; }
  .preco-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .preco-item:last-child, .preco-item:nth-last-child(2) { border-bottom: none; }
  .sluzby-grid { grid-template-columns: 1fr 1fr; }
  .cennik-inner { grid-template-columns: 1fr; }
  .cennik-nav { position: static; }
  .cta-inner { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 320px; }
  .map-wrap iframe { min-height: 320px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-mob { display: block; }
  /* Blog list */
  .blog-hd-body { grid-template-columns: 1fr; gap: 2rem; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-img { min-height: 280px; }
  .blog-main { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .sources-grid { grid-template-columns: 1fr 1fr; }
  /* Article */
  .article-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .article-sidebar { position: static; }
  .aside-widget:first-child { display: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .prose .cta-inline { flex-direction: column; gap: 1rem; }
}

@media (max-width: 660px) {
  .hero-headline { font-size: clamp(2.8rem, 9vw, 3.8rem); letter-spacing: -.04em; }
  .hero-headline-wrap { padding: 2rem 0 1.75rem; }
  .hero-strip-label { display: none; }
  .sluzby-grid { grid-template-columns: 1fr; }
  .preco-inner { grid-template-columns: 1fr; }
  .preco-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .preco-item:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .preco-item:last-child { border-bottom: none; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { height: 220px; }
  .blog-row { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-img { height: 160px; }
  .footer-top { grid-template-columns: 1fr; }
  .ctable { overflow-x: auto; display: block; }
  /* Blog list */
  .posts-grid { grid-template-columns: 1fr; }
  .sources-grid { grid-template-columns: 1fr; }
  .blog-hd-title { font-size: clamp(2.5rem, 9vw, 3.5rem); letter-spacing: -.04em; }
  .blog-hd-body { padding: 2rem 0 1.75rem; }
  .featured-body { padding: 1.5rem; }
  /* Article */
  .article-hero-img { aspect-ratio: 4/3; }
  .meta-share { display: none; }
  .meta-divider { display: none; }
  .article-share-mobile { display: flex; }
  .article-meta { gap: .875rem; }
  .meta-author { width: 100%; }
  .meta-item { font-size: .74rem; }
  .article-hd-body h1 { font-size: clamp(1.5rem, 5vw, 1.9rem); }
  .prose p, .prose li { font-size: .975rem; }
  .prose h2 { font-size: 1.3rem; }
  .prose table { display: block; overflow-x: auto; white-space: nowrap; }
  .related-grid { grid-template-columns: 1fr; }
  .blog-cats { gap: .4rem; }
}
