/* ═══════════════════════════════════════════════
   DOBRÉ ČIŠTĚNÍ – Global Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── TOKENS ── */
:root {
  --blue:        #1557a0;
  --blue-mid:    #1a6fc4;
  --blue-dark:   #0d3d70;
  --blue-light:  #e8f2fc;
  --blue-glow:   rgba(21,87,160,0.12);
  --white:       #ffffff;
  --off-white:   #f7f9fb;
  --gray-50:     #f9fbfd;
  --gray-100:    #f0f4f8;
  --gray-200:    #dce6f0;
  --gray-300:    #c8d6e5;
  --gray-500:    #7a8fa6;
  --gray-700:    #3d4f61;
  --dark:        #0d1f30;
  --accent:      #f59e0b;
  --accent-dark: #d97706;
  --success:     #10b981;

  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  28px;
  --r-xl:  40px;

  --shadow-xs: 0 1px 4px rgba(21,87,160,0.06);
  --shadow-sm: 0 2px 8px rgba(21,87,160,0.08);
  --shadow-md: 0 8px 32px rgba(21,87,160,0.13);
  --shadow-lg: 0 24px 64px rgba(21,87,160,0.18);

  --nav-h: 68px;
  --max-w: 1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; }
ul, ol { list-style: none; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(21,87,160,0.07);
  display: flex; align-items: center;
  padding: 0 40px;
  transition: box-shadow .3s;
}

.nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--dark);
}

.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2.2; }
.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 7px 14px;
  border-radius: 8px;
  transition: all .2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--blue); background: var(--blue-light); }
.nav-links a.active { color: var(--blue); }

.nav-cta {
  background: var(--blue) !important;
  color: white !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  border-radius: 10px !important;
  margin-left: 8px;
  transition: all .25s !important;
  box-shadow: 0 3px 12px rgba(21,87,160,0.25);
}

.nav-cta:hover {
  background: var(--blue-mid) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21,87,160,0.35) !important;
}

.nav-mobile-btn {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}

.nav-mobile-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all .3s;
}

.nav-mobile-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-btn.open span:nth-child(2) { opacity: 0; }
.nav-mobile-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 24px;
  flex-direction: column; gap: 4px;
  z-index: 199;
  box-shadow: var(--shadow-md);
}

.nav-mobile-menu a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: var(--gray-700);
  padding: 12px 14px;
  border-radius: 10px;
  transition: all .2s;
}

.nav-mobile-menu a:hover { background: var(--blue-light); color: var(--blue); }

.nav-mobile-menu .nav-cta {
  background: var(--blue) !important;
  color: white !important;
  text-align: center;
  margin-top: 8px;
}

/* ── LAYOUT HELPERS ── */
.container { max-width: var(--max-w); margin: 0 auto; }
.section   { padding: 96px 40px; }
.section-sm { padding: 64px 40px; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 52px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  border-radius: var(--r-sm);
  padding: 14px 28px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 20px rgba(21,87,160,0.28);
}

.btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(21,87,160,0.38);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue-light);
}

.btn-secondary:hover { background: var(--blue-light); border-color: var(--blue); }

.btn-white {
  background: white;
  color: var(--blue);
}

.btn-white:hover { background: var(--blue-light); transform: translateY(-2px); }

.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.87rem; }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-white { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.2); }
.badge-accent { background: var(--accent); color: white; }

.badge-dot::before {
  content: '';
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.5); }
}

/* ── CARDS ── */
.card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .3s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ── BEFORE/AFTER SLIDER ── */
.ba-slider {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  user-select: none;
  cursor: col-resize;
  box-shadow: var(--shadow-lg);
}

.ba-before, .ba-after {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}

.ba-clip { position: absolute; inset: 0; overflow: hidden; }
.ba-clip-inner { position: absolute; inset: 0; background-size: cover; background-position: center; }

.ba-handle {
  position: absolute; top: 0; bottom: 0;
  width: 3px;
  background: white;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 16px rgba(0,0,0,0.2);
}

.ba-knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  display: flex; align-items: center; justify-content: center;
}

.ba-knob svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 2.5; }

.ba-label {
  position: absolute; top: 16px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-label-before { left: 16px; background: rgba(0,0,0,0.45); color: white; }
.ba-label-after  { right: 16px; background: rgba(21,87,160,0.88); color: white; }

/* ── TRUST STRIP ── */
.trust-strip {
  display: flex; align-items: center; gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-100);
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-item { display: flex; flex-direction: column; align-items: flex-start; }

.trust-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.trust-label { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; margin-top: 2px; }
.trust-sep   { width: 1px; height: 36px; background: var(--gray-200); flex-shrink: 0; }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}

.form-label .required { color: var(--blue); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-control::placeholder { color: var(--gray-300); }

textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control    { cursor: pointer; }

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

/* ── ALERT / NOTICE ── */
.alert {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 500;
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 20px;
}

.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: var(--blue-light); color: var(--blue-dark); border: 1px solid var(--gray-300); }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 64px 40px 36px;
}

.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.75; }

.footer-brand .footer-areas {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 20px;
}

.footer-area-tag {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
}

.footer-col h4 {
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .2s;
  line-height: 1.5;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap; gap: 12px;
}

.footer-bottom a { text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: white; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 40px 64px;
  background: linear-gradient(160deg, var(--off-white) 0%, var(--blue-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(21,87,160,0.06) 0%, transparent 70%);
}

.page-hero > * { position: relative; z-index: 1; }

.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-hero p  { font-size: 1.1rem; color: var(--gray-500); max-width: 560px; margin: 0 auto; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  justify-content: center;
}

.breadcrumb a { text-decoration: none; color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-300); }

/* ── PRICE TABLE ── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table th {
  background: var(--blue);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 20px;
  text-align: left;
}

.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.93rem;
  color: var(--gray-700);
}

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

.price-table tr:hover td { background: var(--gray-50); }

.price-table .price-cell {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.price-table .featured-row td {
  background: var(--blue-light);
  font-weight: 600;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav { padding: 0 24px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }

  .section, .section-sm { padding: 64px 20px; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

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

  .footer { padding: 48px 20px 28px; }

  .trust-strip { gap: 16px; }
  .trust-sep   { display: none; }

  .page-hero { padding: calc(var(--nav-h) + 40px) 20px 48px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Logo image in nav */
.nav-logo img { height: 42px; width: auto; display: block; }
.nav-logo { padding: 2px 0; }
