:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-muted: #f5f2eb;
  --text: #1a1917;
  --text-soft: #605d59;
  --line: rgba(28, 25, 23, 0.08);
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --accent-light: #fef2f2;
  --accent-glow: rgba(220, 38, 38, 0.15);
  --dark: #1e1b18;
  --dark-soft: #2d2925;
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.03);
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.04);
  --shadow-lg: 0 20px 50px rgba(28, 25, 23, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover { color: var(--accent-hover); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  z-index: 300;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-soft);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.site-nav a.active {
  color: #fff;
  background: var(--accent);
}

.site-nav a.active:hover {
  color: #fff;
  background: var(--accent-hover);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.menu-toggle:hover { border-color: var(--accent); color: var(--accent); }

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(30, 27, 24, 0.92) 0%, rgba(30, 27, 24, 0.6) 50%, rgba(220, 38, 38, 0.15) 100%),
    url("hero.jpg") center center / cover no-repeat;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-content {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 14px;
  background: var(--accent-light);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-sub {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-soft);
}

.hero-offer {
  margin: 16px 0 0;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
}

.hero-offer strong {
  color: #fff;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 4px;
}

.hero-desc {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
  background: var(--surface-muted);
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: rgba(220, 38, 38, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-light);
  color: var(--accent-hover);
}

.btn-white {
  background: #ffffff !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--surface-muted) !important;
  color: var(--text) !important;
  border-color: rgba(28, 25, 23, 0.2) !important;
}

/* ── Sections ── */
.section {
  padding: 80px 0;
}

.section-muted {
  background: var(--surface-muted);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  margin: 0 0 40px;
  max-width: 60ch;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ── Cards ── */
.card,
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.card:hover,
.feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(28, 25, 23, 0.15);
}

.card h3,
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.25;
}

.card p,
.feature p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* SVJ Featured Card */
.card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border: none !important;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  padding: 48px !important;
}

.card-featured h3 {
  color: #fff !important;
  font-size: 1.65rem !important;
  margin-bottom: 10px !important;
}

.card-featured p {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 1rem !important;
}

.card-featured .featured-label {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

/* timeline/process steps */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.process-step .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: 0 4px 10px var(--accent-glow);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.testimonial {
  position: relative;
  margin: 0;
  padding: 32px 32px 32px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--text-soft);
  font-style: italic;
  font-size: 1rem;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
  font-style: normal;
}

.testimonial p {
  margin: 0;
}

/* ── Service block ── */
.service-block {
  margin-top: 24px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.service-block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: var(--accent);
}

.service-block p { color: var(--text-soft); margin: 0 0 12px; }
.service-block p:last-child { margin-bottom: 0; }

.bullet-list {
  margin: 12px 0;
  padding-left: 20px;
  color: var(--text-soft);
}

.bullet-list li + li { margin-top: 8px; }

/* ── CTA Band ── */
.cta-band {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  text-align: center;
  color: #fff;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 28px;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── Page Top & Prose (Inner Pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.page-hero .section-lead {
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.75);
}

.page {
  padding: 64px 0 80px;
}

.prose {
  max-width: 840px;
  margin: 0 auto;
}

.paper {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.paper h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--surface-muted);
  padding-bottom: 8px;
}

.paper p { color: var(--text-soft); }

/* ── Ceník tabulka ── */
.price-table-wrap {
  max-width: 840px;
  margin: 0 auto 40px;
}

.price-table-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 16px;
  color: var(--accent);
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 8px;
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table th, .price-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.95rem;
}

.price-table th {
  background: var(--surface-muted);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.price-table td {
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  vertical-align: middle;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.price-table tbody tr:hover td {
  background: var(--surface-muted);
}

/* ── FAQ Accordion ── */
.faq-accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-accordion[open] {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.faq-accordion summary {
  padding: 18px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.2s;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary:hover {
  background: var(--surface-muted);
}

.faq-accordion summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: bold;
  transition: transform 0.2s;
}

.faq-accordion[open] summary::after {
  content: "−";
}

.faq-content {
  padding: 0 24px 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.96rem;
}

.faq-content p {
  margin: 12px 0 0;
  line-height: 1.6;
}

/* ── Contacts visual fixes ── */
.contact-people-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.contact-card-bubble {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card-bubble:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-card-bubble h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.contact-card-bubble .role {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.contact-card-bubble a.phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 8px;
}

.contact-card-bubble a.email {
  color: var(--text-soft);
  font-size: 0.92rem;
  text-decoration: none;
}

.warning-banner {
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-radius: var(--radius-sm);
  color: #b45309;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 18px 24px;
  max-width: 800px;
  margin: 0 auto 30px;
  box-shadow: var(--shadow-sm);
  line-height: 1.5;
}

.form-bubble-panel {
  max-width: 680px;
  margin: 40px auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.form-bubble-panel h2 {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.form-bubble-panel .form-lead {
  text-align: center;
  color: var(--text-soft);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font: inherit;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ── Minimal Footer Bar ── */
.footer-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.footer-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bar .footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bar a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bar a:hover {
  color: #fff;
}

/* ── Animations ── */
.reveal {
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive media queries ── */
@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .card-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
    padding: 32px !important;
    gap: 20px;
  }

  .process-flow {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 68px;
  }

  .menu-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 12px;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    border-radius: var(--radius-sm);
    text-align: center;
  }

  .hero-inner {
    padding: 40px 0;
  }

  .hero-content {
    padding: 32px 20px;
  }

  .section { padding: 56px 0; }

  .price-table-wrap {
    overflow-x: auto;
  }

  .price-table th, .price-table td {
    padding: 12px 14px;
  }

  .contact-people-row {
    grid-template-columns: 1fr;
  }

  .form-bubble-panel {
    padding: 32px 20px;
  }

  .footer-bar .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-bar .footer-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .process-flow {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
