/* INSOFT – responzivní styl */

:root {
  --brand: #067c83;
  --brand-dark: #045a60;
  --brand-light: #e6f5f6;
  --text: #1f2a2e;
  --muted: #5b6b70;
  --bg: #ffffff;
  --bg-soft: #f4f9f9;
  --line: #dbe7e8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(4, 60, 64, .08);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrapper {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.logo strong {
  font-size: 1.6rem;
  letter-spacing: .08em;
  color: var(--brand);
}
.logo span {
  font-size: .8rem;
  color: var(--muted);
}

.nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover { background: var(--brand-light); color: var(--brand-dark); }
.nav a[aria-current="page"] { background: var(--brand); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  position: relative;
  transition: transform .2s, background .2s;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; padding: 10px 20px 16px; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
}

/* ---------- Úvodní pás (hero) ---------- */
.hero {
  background: linear-gradient(135deg, var(--brand-light) 0%, #ffffff 70%);
  padding: 56px 0;
}
.hero .wrapper {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.hero .eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38em;
}
.hero img {
  border-radius: var(--radius);
  margin-left: auto;
}

@media (max-width: 860px) {
  .hero { padding: 36px 0; }
  .hero .wrapper { grid-template-columns: 1fr; }
  .hero img { max-width: 340px; margin: 0 auto; }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 560px) {
  .checklist { grid-template-columns: 1fr; }
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Obsah ---------- */
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 32px; }
.section-title p { color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { width: auto; height: 110px; object-fit: contain; margin-bottom: 16px; }
.card p { color: var(--muted); flex: 1; }
.card .btn { align-self: flex-start; }

.prose { max-width: 820px; margin: 0 auto 28px; }
.prose p { color: var(--muted); }

/* ---------- Tabulky ---------- */
.table-wrap { max-width: 980px; margin: 0 auto; }
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.data-table thead th {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.data-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 600; }
.data-table .price { white-space: nowrap; font-weight: 700; color: var(--brand-dark); }
.data-table .note { color: var(--muted); font-size: .95rem; }

/* Na mobilu se z řádků tabulky stanou karty */
@media (max-width: 680px) {
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table { border: 0; box-shadow: none; background: transparent; }
  .data-table tbody tr {
    background: #fff !important;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 6px 0;
    box-shadow: var(--shadow);
  }
  .data-table td { border: 0; padding: 4px 18px; }
  .data-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    font-weight: 600;
  }
  .data-table td:empty { display: none; }
}

.discounts {
  max-width: 980px;
  margin: 28px auto 0;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--brand-light);
}
.discounts h3 { color: var(--brand-dark); }
.discounts ul { margin: 0; padding-left: 20px; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-grid dl { margin: 0; }
.contact-grid dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin-top: 12px; }
.contact-grid dt:first-child { margin-top: 0; }
.contact-grid dd { margin: 0; font-size: 1.05rem; }
.contact-grid a { text-decoration: none; font-weight: 600; }

/* ---------- Patička ---------- */
.site-footer {
  background: #0f2e31;
  color: #b9d3d5;
  padding: 28px 0;
  font-size: .95rem;
}
.site-footer .wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.hero img.hero-icon { width: 100%; max-width: 220px; }
@media (max-width: 860px) {
  .hero img.hero-icon { max-width: 140px; }
}

.hero img.hero-photo {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1200 / 1081;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(4, 60, 64, .25);
}
@media (max-width: 860px) {
  .hero img.hero-photo { max-width: 100%; aspect-ratio: 4 / 3; }
}
