/* Site styles. Kept out of the page HTML so code changes deploy without touching saved content. */
:root {
  /* ── COOL GREY-BLUE PALETTE ── */
  --bg:         #f3f5f8;
  --bg-alt:     #e8ecf2;
  --bg-white:   #ffffff;
  --ink:        #1a2333;
  --ink-2:      #3e5068;
  --ink-3:      #55697e;
  --rule:       #cdd6e2;
  --blue:       #1e3c5e;
  --blue-hover: #28527e;
  --accent:     #2f6eb5;
  --accent-text:#1a4d8a;
  --accent-light:#dde8f5;
  --white:      #ffffff;
  --footer-bg:  #0d1c2e;
  --on-dark-accent: #a8c8f0;
  --on-dark-rule:   #1a2d42;
  --tag-blue:   #ddeaf7;
  --tag-blue-fg:#1a4a7c;
  --tag-green:  #ddf0e8;
  --tag-green-fg:#1a5c3a;
  --tag-warm:   #f5e9d0;
  --tag-warm-fg:#7a4a10;
  --tag-muted:  #e4e8ef;
  --tag-muted-fg:#4a5a6a;
  --font-display:'Newsreader', Georgia, serif;
  --font-body:  'Switzer', -apple-system, Helvetica, Arial, sans-serif;
  --font-mono:  'Courier New', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: hidden makes body a scroll container and breaks the sticky nav */
  overflow-x: clip;
}
/* ── NAV ── */
/* ── TOP ACCENT STRIPE ── */
.top-stripe {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: var(--blue);
  height: 3px;
  width: 100%;
}
nav {
  position: sticky;
  top: 3px;
  z-index: 1000;
  background: color-mix(in srgb, var(--bg-white) 96%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  padding: 0 clamp(1rem, 5vw, 4rem);
  /* sticky needs no overflow:hidden on any ancestor */
  will-change: transform;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 2rem;
  padding: 0.5rem 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
/* nav brand: clipped banner icon + text */
.nav-brand-icon {
  width: 36px;
  height: 36px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.nav-brand-icon img {
  /* show only the top portion of banner.svg = the icon */
  width: 80px;
  height: auto;
  margin-top: -2px;
  flex-shrink: 0;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.nav-brand-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 5px;
  transition: background 150ms, color 150ms;
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-cta {
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 5px !important;
}
.nav-cta:hover { background: var(--blue-hover) !important; }
/* ── MOBILE NAV ── */
.nav-mobile-btn { display: none; }
.mobile-drawer { display: none; }
@media (max-width: 680px) {
  /* One row of links; type and spacing scale with the screen width */
  nav { padding: 0 0.5rem; overflow: visible; }
  .nav-inner { min-height: 0; padding: 0.4rem 0; gap: 0; justify-content: center; }
  .nav-brand { display: none; }
  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.1rem;
    /* last resort on very narrow screens: swipe instead of wrapping */
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links li { display: contents; }
  .nav-links a {
    font-size: clamp(0.7rem, 3.3vw, 0.8rem);
    padding: 0.4rem clamp(0.3rem, 1.7vw, 0.6rem);
    min-height: 36px;
  }
  section[id] { scroll-margin-top: 53px; }
  .nav-links .nav-cta {
    font-size: clamp(0.7rem, 3.3vw, 0.8rem) !important;
    padding: 0.4rem clamp(0.45rem, 2.2vw, 0.8rem) !important;
  }
}
/* ── HERO ── */
.hero {
  padding: 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-white);
  overflow: hidden;
}
/* top row: text + logo */
.hero-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem);
  gap: 3rem;
  align-items: center;
}
/* logo is first in HTML; on desktop pin it to column 2 so text stays left */
.hero-content {
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1;
}
.hero-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 1;
}
.hero-logo-panel img {
  max-width: 380px;
  width: 100%;
}
@media (max-width: 900px) {
  .hero-top {
    grid-template-columns: 1fr;
    padding-bottom: 2rem;
  }
  /* reset explicit placement — natural DOM order: logo first, then text */
  .hero-logo-panel { grid-column: auto; grid-row: auto; justify-content: center; }
  .hero-logo-panel img { max-width: 220px; }
  .hero-content { grid-column: auto; grid-row: auto; }
}
/* ── HERO CAROUSEL ── */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: var(--blue);
  border-top: 1px solid var(--rule);
}
@media (max-width: 600px) { .hero-carousel { height: 220px; } }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.70) saturate(0.85);
}
.carousel-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 12;
}
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer; padding: 0;
  transition: background 250ms, transform 250ms;
}
.carousel-dot.active {
  background: rgba(255,255,255,0.9);
  transform: scale(1.25);
}
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 12;
  transition: background 200ms;
}
.carousel-btn:hover { background: rgba(255,255,255,0.25); }
.carousel-btn-prev { left: 1rem; }
.carousel-btn-next { right: 1rem; }
.carousel-caption {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  z-index: 12;
}
/* old rule removed — hero-logo-panel and nav-links must never be display:none */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--accent);
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero-h1 em { font-style: italic; color: var(--blue); }
.hero-lede {
  font-size: 1rem;
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 200ms;
  min-height: 44px;
  display: inline-flex; align-items: center;
}
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary {
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: none;
  display: flex; align-items: center; gap: 0.4rem;
  transition: color 150ms;
  min-height: 44px;
}
.btn-secondary:hover { color: var(--ink); }
/* ── SECTION SHARED ── */
section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
}
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.section-eyebrow::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--rule);
  max-width: 60px;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--ink);
}
.section-sub {
  color: var(--ink-2);
  font-size: 1.02rem;
  max-width: 60ch;
  line-height: 1.7;
  margin-bottom: 3rem;
}
/* ── ABOUT ── */
#o-nas { background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-body p {
  color: var(--ink-2);
  line-height: 1.78;
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--ink); }
.about-values {
  display: flex; flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}
.value-item {
  padding: 1.4rem 1.75rem;
  border-bottom: 1px solid var(--rule);
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--bg-white);
}
.value-item:last-child { border-bottom: none; }
.value-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  min-width: 1.8rem;
  margin-top: 0.1rem;
}
.value-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.value-text span {
  font-size: 0.83rem;
  color: var(--ink-3);
  line-height: 1.55;
}
/* ── SERVICES ── */
#sluzby { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.service-card {
  background: var(--bg-white);
  padding: 2rem 2rem 2.5rem;
  transition: background 200ms;
  position: relative;
}
.service-card:hover { background: var(--bg-alt); }
.service-card::after {
  content: attr(data-num);
  position: absolute; top: 1.5rem; right: 1.75rem;
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 300;
  color: var(--rule); line-height: 1;
  transition: color 300ms;
}
.service-card:hover::after { color: var(--accent-light); }
.service-icon {
  width: 32px; height: 32px;
  margin-bottom: 1.2rem;
  color: var(--accent);
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.75rem; line-height: 1.2;
}
.service-desc { font-size: 0.83rem; color: var(--ink-3); line-height: 1.65; margin-bottom: 1.2rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag {
  font-size: 0.7rem; font-weight: 500;
  padding: 0.2rem 0.55rem; border-radius: 4px;
  background: var(--tag-green); color: var(--tag-green-fg);
  letter-spacing: 0.02em;
}
.tag-blue { background: var(--tag-blue); color: var(--tag-blue-fg); }
.tag-warm { background: var(--tag-warm); color: var(--tag-warm-fg); }
.tag-muted { background: var(--tag-muted); color: var(--tag-muted-fg); }
.law-link { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 2px; }
.law-link:hover { color: var(--accent-text); text-decoration-color: currentColor; }
.service-card { scroll-margin-top: 6rem; }
section[id] { scroll-margin-top: 78px; } /* stripe + sticky nav height */
.service-more-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin: 0 0 1.1rem; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--accent-text);
}
.service-more-btn::after { content: "→"; transition: transform 200ms; }
.service-more-btn:hover { color: var(--accent); }
.service-more-btn:hover::after { transform: translateX(3px); }
.tariff-more-btn { margin: 1.25rem 0 2rem; font-size: 0.85rem; }
.service-dialog {
  width: min(42rem, calc(100vw - 2rem)); max-height: min(85vh, 52rem);
  margin: auto; padding: 0; border: 1px solid var(--rule); border-radius: 10px;
  background: var(--bg-white); color: var(--ink);
  box-shadow: 0 24px 64px rgba(13, 28, 46, 0.28);
}
.service-dialog[open] { display: flex; flex-direction: column; }
body:has(.service-dialog[open]) { overflow: hidden; }
.service-dialog::backdrop { background: rgba(13, 28, 46, 0.45); }
.service-dialog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--rule);
}
.service-dialog-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; line-height: 1.2; }
.service-dialog-close {
  flex: none; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 6px;
  background: none; cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--ink-3);
}
.service-dialog-close:hover { background: var(--bg-alt); color: var(--ink); }
.service-more-body { overflow: auto; padding: 1.25rem 1.5rem 1.75rem; font-size: 0.88rem; color: var(--ink-2); line-height: 1.7; }
.service-more-body > * + * { margin-top: 0.8rem; }
.service-more-body ul { padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.service-more-body strong { color: var(--ink); font-weight: 600; }
/* ── PVS ── */
.pvs-notice {
  margin-top: 3rem;
  border-top: 1px solid var(--rule);
  padding-top: 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem; align-items: start;
}
.pvs-badge {
  background: var(--blue);
  color: var(--on-dark-accent);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 0.9rem; border-radius: 5px;
  white-space: nowrap; line-height: 1.4; text-align: center;
  display: block; text-decoration: none; transition: background 200ms, color 200ms;
}
.pvs-badge:hover { background: var(--blue-hover); color: var(--white); }
.pvs-text { font-size: 0.88rem; color: var(--ink-2); line-height: 1.7; }
.pvs-text strong { color: var(--ink); font-weight: 600; }
/* ── PHOTO STRIP ── */
.photo-strip {
  width: 100%;
  overflow: hidden;
  background: var(--footer-bg);
  border-top: 1px solid var(--on-dark-rule);
  border-bottom: 1px solid var(--on-dark-rule);
}
.photo-strip-track { display: flex; gap: 2px; }
.photo-strip-track img {
  flex: 1 1 25%; min-width: 0;
  height: 200px;
  object-fit: cover; object-position: center;
  display: block;
  filter: brightness(0.82) saturate(0.85);
  transition: filter 400ms;
}
.photo-strip-track img:hover { filter: brightness(1) saturate(1); }
@media (max-width: 600px) {
  .photo-strip-track { flex-wrap: wrap; }
  .photo-strip-track img { flex: 1 1 calc(50% - 1px); height: 130px; }
}
/* ── CENNÍK ── */
#cennik { background: var(--bg-alt); }
.cennik-intro {
  font-size: 0.95rem; color: var(--ink-2);
  line-height: 1.75; margin-bottom: 3rem; max-width: 72ch;
}
.fee-types {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 8px;
  overflow: hidden; margin-bottom: 3rem;
}
.fee-card { background: var(--bg-white); padding: 2rem; }
.fee-card-head { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 1rem; }
.fee-letter {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 300;
  color: var(--accent-text); line-height: 1;
}
.fee-name {
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3);
}
.fee-desc { font-size: 0.85rem; color: var(--ink-2); line-height: 1.68; }
.tariff-table-wrap {
  overflow-x: auto; border-radius: 8px;
  border: 1px solid var(--rule); margin-bottom: 2rem;
}
.tariff-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.tariff-table th {
  background: var(--blue); color: var(--white);
  padding: 0.9rem 1.25rem; text-align: left;
  font-weight: 500; font-size: 0.8rem; letter-spacing: 0.04em;
}
.tariff-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2); background: var(--bg-white);
}
.tariff-table tr:last-child td { border-bottom: none; }
.tariff-table tr:nth-child(even) td { background: var(--bg); }
.consultation-box {
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  background: var(--accent-light);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem; align-items: center;
  margin-top: 2rem;
}
.consult-accent {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 300;
  color: var(--accent-text); line-height: 1;
}
.consult-text strong {
  display: block; font-size: 1rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.3rem;
}
.consult-text span { font-size: 0.88rem; color: var(--ink-2); line-height: 1.6; }
/* ── KONTAKT ── */
#kontakt { background: var(--blue); }
#kontakt .section-h2 { color: var(--white); }
#kontakt .section-eyebrow { color: var(--on-dark-accent); }
#kontakt .section-eyebrow::after { background: color-mix(in srgb, var(--white) 15%, transparent); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-intro {
  color: color-mix(in srgb, var(--white) 72%, transparent);
  font-size: 1rem; line-height: 1.7; margin-bottom: 2.5rem;
}
.contact-detail {
  display: flex; flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
  border-radius: 8px; overflow: hidden;
}
.contact-row {
  display: grid; grid-template-columns: 120px 1fr;
  border-bottom: 1px solid color-mix(in srgb, var(--white) 8%, transparent);
  align-items: stretch;
}
.contact-row:last-child { border-bottom: none; }
.contact-label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-dark-accent);
  padding: 1.1rem 1.25rem;
  background: color-mix(in srgb, var(--white) 5%, transparent);
  display: flex; align-items: center;
  border-right: 1px solid color-mix(in srgb, var(--white) 8%, transparent);
}
.contact-val {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--white) 88%, transparent);
  padding: 1.1rem 1.5rem;
  display: flex; align-items: center;
}
.contact-val a {
  color: color-mix(in srgb, var(--white) 88%, transparent);
  text-decoration: none; transition: color 150ms;
}
.contact-val a:hover { color: var(--on-dark-accent); }
.contact-right { display: flex; flex-direction: column; gap: 2rem; }
.contact-map-link {
  background: color-mix(in srgb, var(--white) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
  border-radius: 8px; padding: 1.75rem 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  text-decoration: none;
  transition: background 200ms, border-color 200ms;
  cursor: pointer;
}
.contact-map-link:hover {
  background: color-mix(in srgb, var(--white) 10%, transparent);
  border-color: color-mix(in srgb, var(--white) 25%, transparent);
}
.contact-map-link:hover .contact-map-cta { color: var(--white); }
.contact-map-link-head { display: flex; align-items: center; justify-content: space-between; }
.contact-map-link-label {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-accent);
}
.contact-map-link-icon { color: color-mix(in srgb, var(--white) 40%, transparent); }
.contact-map-address {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 300;
  color: var(--white); line-height: 1.3;
}
.contact-map-city {
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--white) 60%, transparent);
  letter-spacing: 0.04em;
}
.contact-map-cta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 500; color: var(--on-dark-accent);
  margin-top: 0.5rem;
}
.contact-hours {
  border: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
  border-radius: 8px; overflow: hidden;
}
.hours-head {
  background: color-mix(in srgb, var(--white) 7%, transparent);
  padding: 0.9rem 1.5rem;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-accent);
  border-bottom: 1px solid color-mix(in srgb, var(--white) 8%, transparent);
}
.hours-row {
  display: flex; justify-content: space-between;
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--white) 5%, transparent);
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--white) 75%, transparent);
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { color: color-mix(in srgb, var(--white) 50%, transparent); }
/* ── FOOTER ── */
footer {
  background: var(--footer-bg);
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid color-mix(in srgb, var(--white) 6%, transparent);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--white) 50%, transparent);
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: color-mix(in srgb, var(--white) 55%, transparent);
  letter-spacing: 0.05em;
  display: flex; gap: 2rem; flex-wrap: wrap;
}
/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity 600ms cubic-bezier(0.16,1,0.3,1), transform 600ms cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
/* ── FOCUS ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px; border-radius: 3px;
}
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .fee-types { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .tariff-table { font-size: 0.75rem; }
  .tariff-table th, .tariff-table td { padding: 0.7rem 0.9rem; }
  .consultation-box { grid-template-columns: 1fr; }
}
/* ── Contact values managed in Nastavenia ── */
.contact-val-mono { font-family: var(--font-mono); font-size: 0.82rem; }
a.contact-map-link { color: inherit; }
.contact-map-url { font-size: 0.68rem; color: rgba(255, 255, 255, 0.3); margin-top: 0.25rem; letter-spacing: 0.04em; }

/* ── Blocks added in the editor ── */
.block { background: var(--bg-white); }
.block-body { font-size: 0.95rem; color: var(--ink-2); line-height: 1.75; max-width: 46rem; }
.block-body > * + * { margin-top: 1rem; }
.block-body ul, .block-body ol { padding-left: 1.3rem; }
.block-body a { color: var(--accent-text); }

.block-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.block-media-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.block-media-right .block-media-figure { order: 2; }

.block-faq { background: var(--bg); }
.faq-list { margin-top: 2rem; border-top: 1px solid var(--rule); max-width: 52rem; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--ink);
  padding: 1.2rem 2.5rem 1.2rem 0; cursor: pointer; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.4rem; color: var(--accent); transition: transform 200ms;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { display: none; padding: 0 0 1.4rem; font-size: 0.92rem; color: var(--ink-2); line-height: 1.75; max-width: 46rem; }
.faq-a > * + * { margin-top: 0.8rem; }
.faq-item.open .faq-a { display: block; }

.block-person-grid { display: grid; grid-template-columns: minmax(0, 20rem) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.block-person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; display: block; }
.block-person-role { color: var(--ink-3); margin: -0.75rem 0 1.25rem; font-size: 0.95rem; }
.block-person-facts { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.6rem; }
.block-person-fact { background: var(--bg-white); padding: 0.9rem 1.1rem; border: 1px solid var(--rule); border-radius: 6px; }
.block-person-fact dt { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.block-person-fact dd { margin: 0.25rem 0 0; color: var(--ink); font-size: 0.92rem; }

.block-cta { background: var(--accent-light); }
.block-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.block-cta-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); line-height: 1.2; }
.block-cta-text { color: var(--ink-2); margin-top: 0.5rem; }

.announcement { background: var(--blue); color: var(--white); text-align: center; padding: 0.6rem 1rem; font-size: 0.85rem; }
.announcement p { max-width: 1200px; margin: 0 auto; }

@media (max-width: 760px) {
  .block-media-grid, .block-person-grid { grid-template-columns: 1fr; }
  .block-media-right .block-media-figure { order: 0; }
  .block-person-photo { max-width: 16rem; }
}
.nav-links li[hidden] { display: none !important; }

/* ══ DESIGN PRESETS ══
   Chosen in the editor's "Vzhľad" panel and stored as attributes on <html>.
   No attribute = the original look. Palettes are checked for WCAG AA text contrast. */

/* Palettes */
html[data-palette="zelena"] {
  --bg: #f5f3ee; --bg-alt: #ebe7de; --bg-white: #fffdf9;
  --ink: #1d2521; --ink-2: #3d4a43; --ink-3: #5a675f; --rule: #d9d3c6;
  --blue: #1f4a3a; --blue-hover: #2a6150; --accent: #2f7a5c; --accent-text: #1f5c44; --accent-light: #e1ede6;
  --footer-bg: #122a21; --on-dark-accent: #b7d9c8; --on-dark-rule: #2c5244;
  --tag-blue: #e1ede6; --tag-blue-fg: #1f5c44; --tag-muted: #ebe7de; --tag-muted-fg: #4d5a52;
}
html[data-palette="bordova"] {
  --bg: #f7f3f0; --bg-alt: #efe7e2; --bg-white: #fffdfb;
  --ink: #2a1d1f; --ink-2: #4d3b3e; --ink-3: #6f5a5d; --rule: #e0d4cf;
  --blue: #5e1f2b; --blue-hover: #7a2a39; --accent: #9b2f42; --accent-text: #7d2435; --accent-light: #f5e3e6;
  --footer-bg: #3a1219; --on-dark-accent: #f0c4cc; --on-dark-rule: #74323f;
  --tag-blue: #f5e3e6; --tag-blue-fg: #7d2435; --tag-muted: #efe7e2; --tag-muted-fg: #5e4a4d;
}
html[data-palette="grafit"] {
  --bg: #f5f4f1; --bg-alt: #ebe9e3; --bg-white: #ffffff;
  --ink: #1c1d1f; --ink-2: #3d3f43; --ink-3: #626469; --rule: #dcd9d1;
  --blue: #26282c; --blue-hover: #3a3d42; --accent: #a67c2e; --accent-text: #7f5c1c; --accent-light: #f3ead8;
  --footer-bg: #141517; --on-dark-accent: #d9b86c; --on-dark-rule: #3a3c40;
  --tag-blue: #f3ead8; --tag-blue-fg: #7a5618; --tag-muted: #ebe9e3; --tag-muted-fg: #4f5156;
}
html[data-palette="petrol"] {
  --bg: #f2f6f6; --bg-alt: #e4eced; --bg-white: #ffffff;
  --ink: #15272b; --ink-2: #34494e; --ink-3: #566b70; --rule: #cddcdd;
  --blue: #154a57; --blue-hover: #1d6070; --accent: #1f7a8c; --accent-text: #145f6e; --accent-light: #dcedf0;
  --footer-bg: #0c2d35; --on-dark-accent: #9fd3de; --on-dark-rule: #245b68;
  --tag-blue: #dcedf0; --tag-blue-fg: #145f6e; --tag-muted: #e4eced; --tag-muted-fg: #45595e;
}

/* Font pairings (the matching Google Fonts stylesheet is set on link#ak-fonts by the editor) */
html[data-fonts="moderna"]   { --font-display: 'Fraunces', Georgia, serif; --font-body: 'Inter', -apple-system, Helvetica, Arial, sans-serif; }
html[data-fonts="elegantna"] { --font-display: 'Cormorant Garamond', Georgia, serif; --font-body: 'Source Sans 3', -apple-system, Helvetica, Arial, sans-serif; }
html[data-fonts="tradicna"]  { --font-display: 'Libre Baskerville', Georgia, serif; --font-body: 'Lato', -apple-system, Helvetica, Arial, sans-serif; }
html[data-fonts="sucasna"]   { --font-display: 'DM Serif Display', Georgia, serif; --font-body: 'DM Sans', -apple-system, Helvetica, Arial, sans-serif; }
html[data-fonts="cista"]     { --font-display: 'Inter', -apple-system, Helvetica, Arial, sans-serif; --font-body: 'Inter', -apple-system, Helvetica, Arial, sans-serif; }
html[data-fonts="elegantna"] .hero-h1, html[data-fonts="elegantna"] .section-h2 { font-weight: 500; }
html[data-fonts="cista"] .hero-h1, html[data-fonts="cista"] .section-h2 { letter-spacing: -0.02em; }

/* Hero */
@media (min-width: 901px) {
  html[data-hero-logo="left"] .hero-logo-panel { grid-column: 1; }
  html[data-hero-logo="left"] .hero-content { grid-column: 2; }
}
html[data-carousel="off"] .hero-carousel { display: none; }

/* Service cards */
@media (min-width: 901px) {
  html[data-services-cols="2"] .services-grid { grid-template-columns: repeat(2, 1fr); }
}
html[data-cards="shadow"] .services-grid,
html[data-cards="shadow"] .fee-types,
html[data-cards="flat"] .services-grid,
html[data-cards="flat"] .fee-types { gap: 1.25rem; background: none; border: 0; overflow: visible; }
html[data-cards="shadow"] .service-card,
html[data-cards="shadow"] .fee-card { border-radius: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06); }
html[data-cards="flat"] .service-card,
html[data-cards="flat"] .fee-card { border-radius: 10px; background: var(--bg-alt); }
html[data-cards="flat"] .service-card:hover { background: var(--accent-light); }

/* Spacing density */
html[data-density="compact"] section { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
html[data-density="airy"] section { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); }

/* Photo treatment */
html[data-photos="bw"] .carousel-slide img,
html[data-photos="bw"] .block-media-figure img,
html[data-photos="bw"] .block-person-photo img { filter: grayscale(1) brightness(0.85); }
html[data-photos="natural"] .carousel-slide img { filter: none; }
html[data-photos="tinted"] .carousel-slide img,
html[data-photos="tinted"] .block-media-figure img { filter: grayscale(1) contrast(1.05); }
html[data-photos="tinted"] .carousel-slide::after,
html[data-photos="tinted"] .block-media-figure::after {
  content: ""; position: absolute; inset: 0; background: var(--blue); mix-blend-mode: color; opacity: 0.55; pointer-events: none;
}
html[data-photos="tinted"] .block-media-figure { position: relative; border-radius: 8px; overflow: hidden; }

/* Section labels (the small uppercase line above headings) */
html[data-eyebrow="dot"] .section-eyebrow::after { display: none; }
html[data-eyebrow="dot"] .section-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
html[data-eyebrow="plain"] .section-eyebrow::after { display: none; }
html[data-eyebrow="dot"] .hero-eyebrow::before { width: 6px; height: 6px; border-radius: 50%; }
html[data-eyebrow="plain"] .hero-eyebrow::before { display: none; }
