/* ==========================================================================
   123stranky.cz — hlavní styl
   1. Tokeny        5. Úvodní stránka (hero, strip, sekce, karty...)
   2. Základ        6. Podstránky (ceník, kontakt, 404)
   3. Utility       7. Patička
   4. Hlavička      8. Responzivita
   ========================================================================== */

/* 1. Tokeny ---------------------------------------------------------------- */
:root {
  --brand: #0c7466;
  --brand-dark: #095b50;
  --brand-logo: #1a9e8f;
  --brand-gray: #58595b;
  --brand-soft: #e3f5f2;
  --accent: #12b3a2;
  --accent-ink: #0b7268;
  --accent-soft: #e6fbf7;
  --ink: #17191d;
  --ink-2: #23262c;
  --text: #24262b;
  --muted: #5b5e64;
  --line: #e7e8ea;
  --soft: #f6f7f8;
  --dark: #0a1a18;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06), 0 1px 3px rgba(11, 18, 32, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(11, 18, 32, 0.18);
  --shadow-lg: 0 30px 60px -25px rgba(11, 18, 32, 0.35);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font-body);

  --container: 1140px;
  --gutter: 22px;
}

/* 2. Základ ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  text-wrap: pretty;
}

.icon {
  flex: none;
}

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 3. Utility --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.lead {
  font-size: clamp(1.06rem, 1rem + 0.3vw, 1.22rem);
  color: var(--muted);
  max-width: 56ch;
}

/* Tlačítka */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.02rem;
}

.btn-ico {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.btn:hover .btn-ico {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(12, 116, 102, 0.6);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 4. Hlavička -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(11, 18, 32, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-head);
  font-weight: 800;
  flex: none;
}

.brand-num {
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-gray);
}

.brand-badge {
  position: relative;
  isolation: isolate;
  margin-left: 7px;
  padding: 4px 15px 5px 9px;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-logo);
  border-radius: 7px;
  transform: skewX(-14deg);
}

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
}

.site-nav ul a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav ul a:hover {
  color: var(--ink);
  background: var(--soft);
}

.site-nav ul a.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-cta {
  padding: 11px 20px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle-box {
  display: grid;
  gap: 5px;
  place-items: center;
}

.nav-toggle-box span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle-box span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle-box span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 5. Úvodní stránka -------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% -12%, rgba(26, 158, 143, 0.18), transparent 62%),
    radial-gradient(620px 400px at -5% 108%, rgba(18, 179, 162, 0.14), transparent 62%),
    linear-gradient(180deg, #f0faf7 0%, #ffffff 74%);
  padding: clamp(44px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(12, 116, 102, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.hero h1 {
  color: var(--ink);
  margin: 18px 0 20px;
}

.hero .eyebrow {
  color: var(--brand);
}

.hero .lead {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 26px;
  list-style: none;
  padding: 0;
  margin-top: 32px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points .icon {
  color: var(--accent-ink);
}

.hero-visual {
  position: relative;
  padding: 8px 18px 18px 8px;
}

.hero-card {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-card-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.hero-card-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d3d9dd;
}

.hero-card-body {
  display: grid;
  gap: 13px;
  padding: 26px 24px 30px;
}

.hero-card-line {
  height: 12px;
  border-radius: 6px;
  background: #eef2f2;
}

.hero-card-line--lg {
  width: 80%;
  height: 22px;
  background: #d9e9e6;
}

.hero-card-line--sm {
  width: 58%;
}

.hero-card-cta {
  justify-self: start;
  margin-top: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-note,
.hero-review {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}

.hero-note {
  top: 18px;
  left: -14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
}

.hero-note-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.hero-note strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--ink);
}

.hero-note span {
  font-size: 0.76rem;
  color: var(--muted);
}

.hero-review {
  right: -6px;
  bottom: -6px;
  max-width: 250px;
  padding: 16px 18px;
  animation-delay: -3s;
}

.hero-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
  color: #c47c00;
}

.hero-review p {
  margin-bottom: 8px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text);
}

.hero-review span {
  font-size: 0.76rem;
  color: var(--muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Pás s cílovkami */
.strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.strip-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 26px;
  flex-wrap: wrap;
}

.strip-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.strip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  list-style: none;
  padding: 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}

.strip-list li {
  position: relative;
  padding-left: 16px;
  color: #3a4557;
}

.strip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-ink);
  transform: translateY(-50%);
}

/* Obecné sekce */
.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section--soft {
  background: var(--soft);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 48px);
}

/* Karty */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cards--wide {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.section--soft .card {
  background: #fff;
}

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

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}

.card h3,
.card .card-title {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* Kroky */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-logo), var(--accent));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 {
  margin-bottom: 9px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Ukázky */
.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.showcase-item {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.showcase-item:hover {
  transform: translateY(-4px);
  border-color: #cfe3df;
  box-shadow: var(--shadow-md);
}

.showcase-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.showcase-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.showcase-item:hover .showcase-thumb img {
  transform: scale(1.03);
}

.showcase-meta {
  display: block;
  padding: 20px 22px 24px;
}

.showcase-meta h3 {
  margin-bottom: 6px;
}

.showcase-meta p {
  color: var(--muted);
  font-size: 0.93rem;
}

.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
}

.showcase-link .icon {
  transition: transform 0.2s ease;
}

.showcase-item:hover .showcase-link .icon {
  transform: translateX(3px);
}

/* Recenze klientů */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.testimonial--wide {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(30px, 4vw, 46px);
  text-align: center;
  align-items: center;
}

.testimonial--wide blockquote {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.55;
}

.testimonial--wide figcaption {
  justify-content: center;
  border-top: 0;
  padding-top: 0;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #c47c00;
}

.testimonial blockquote {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-who {
  display: grid;
}

.testimonial-who strong {
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 0.95rem;
}

.testimonial-who em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Ceník */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.price-card--featured {
  border-color: var(--brand);
  box-shadow: 0 30px 60px -30px rgba(12, 116, 102, 0.45);
  transform: translateY(-8px);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.price-name {
  font-size: 1.3rem;
}

.price-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  min-height: 3em;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 20px 0 22px;
}

.price-amount strong {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.price-amount span {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-features {
  display: grid;
  gap: 11px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: #33404f;
}

.price-features .icon {
  color: var(--accent-ink);
  margin-top: 4px;
}

.price-cta {
  width: 100%;
  margin-top: auto;
}

.price-fund {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 26px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
}

.price-fund strong {
  font-size: 1.1rem;
  font-weight: 800;
}

.includes {
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.includes-head {
  margin-bottom: 28px;
  text-align: center;
}

.includes-head h3 {
  margin-top: 12px;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.7rem);
}

.includes-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 14px 30px;
  align-items: start;
  list-style: none;
  padding: 0;
  margin: 0;
}

.includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  color: #33404f;
  font-size: 0.97rem;
}

.includes-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.includes-list .icon {
  color: var(--accent-ink);
  margin-top: 4px;
}

.includes-list li.is-highlight span {
  color: var(--ink);
  font-weight: 700;
}

.includes-list li.is-highlight .icon {
  color: var(--brand);
}

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.pricing-note .icon {
  color: var(--brand);
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: #cfe3df;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* CTA pás */
.cta-band {
  background: linear-gradient(135deg, #0c7466, #08544a);
  color: #fff;
  padding: clamp(48px, 7vw, 82px) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  color: #fff;
  max-width: 22ch;
}

.cta-inner p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 6. Podstránky ------------------------------------------------------------ */
.page-hero {
  background:
    radial-gradient(680px 340px at 88% -20%, rgba(26, 158, 143, 0.18), transparent 65%),
    linear-gradient(180deg, #f0faf7, #ffffff);
  padding: clamp(40px, 5vw, 68px) 0 clamp(44px, 5vw, 72px);
}

.page-hero h1 {
  color: var(--ink);
  margin: 16px 0 18px;
  max-width: 20ch;
}

.page-hero .lead {
  color: var(--muted);
}

.page-hero--center {
  text-align: center;
  padding-block: clamp(70px, 12vw, 140px);
}

.page-hero--center h1,
.page-hero--center .lead {
  margin-inline: auto;
}

.error-code {
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #0e8474, #12b3a2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.breadcrumb {
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--brand);
  font-weight: 500;
}

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

.breadcrumb span {
  margin-inline: 6px;
}

/* Features (proč statický web) */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: 16px;
}

.feature h3 {
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Split sekce */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.split--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.split-copy .eyebrow {
  margin-bottom: 14px;
}

.split-copy h2 {
  margin-bottom: 16px;
}

.split-copy p {
  color: var(--muted);
  margin-bottom: 22px;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #33404f;
  font-size: 0.98rem;
}

.check-list .icon {
  color: var(--accent-ink);
  margin-top: 4px;
}

.kv-card {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Náhled administrace */
.admin-mock {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.admin-mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 0.95rem;
}

.admin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.admin-field {
  display: grid;
  gap: 7px;
}

.admin-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-input {
  display: block;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  color: var(--text);
  font-size: 0.92rem;
}

.admin-input--area {
  min-height: 66px;
}

.admin-save {
  justify-self: start;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
}

.kv-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}

.kv-row em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 10px;
  border-radius: 8px;
}

.info-card {
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.info-card h3 {
  margin-bottom: 20px;
}

.mini-steps {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.mini-steps li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.96rem;
  color: #33404f;
}

.mini-steps em {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
}

.info-note {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Tabulka */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.price-table th,
.price-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.price-table thead th {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--soft);
}

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

.price-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.price-table td:nth-child(2) {
  color: var(--muted);
}

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

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.contact-card {
  display: block;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.contact-card:hover {
  transform: translateY(-4px);
  border-color: #cfe3df;
  box-shadow: var(--shadow-md);
}

.contact-card h2 {
  font-size: 1.05rem;
  margin: 14px 0 10px;
}

.contact-value {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.contact-hint {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Kontaktní osoby */
.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 820px;
  margin-inline: auto;
}

.person {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.person-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.person-body {
  display: grid;
  gap: 3px;
}

.person-body strong {
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 1.02rem;
}

.person-role {
  color: var(--muted);
  font-size: 0.85rem;
}

.person-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.person-phone .icon {
  color: var(--brand);
}

.person-phone:hover {
  color: var(--brand-dark);
}

.operator {
  max-width: 820px;
  margin: 28px auto 0;
  padding: 20px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.operator strong {
  color: var(--ink);
  font-family: var(--font-head);
}

/* 7. Patička --------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.brand--light .brand-num {
  color: #a8abb0;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 38ch;
  font-size: 0.94rem;
}

.footer-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem !important;
}

.footer-title {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
}

.footer-links a {
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobilní lišta s rychlým kontaktem */
.mobile-bar {
  display: none;
}

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

  .table-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .price-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .price-table thead {
    display: none;
  }

  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tr {
    margin-bottom: 16px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
  }

  .price-table tr:last-child {
    margin-bottom: 0;
  }

  .price-table td {
    padding: 0;
    border: 0;
    text-align: left;
  }

  .price-table td:first-child {
    margin-bottom: 4px;
    font-size: 1.05rem;
  }

  .price-table td:nth-child(2) {
    margin-bottom: 10px;
  }

  .price-table td:last-child {
    font-size: 1.05rem;
    text-align: left;
  }
}

/* 8. Responzivita ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards,
  .cards--wide,
  .showcase,
  .steps,
  .features,
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .price-card--featured {
    transform: none;
  }

  .faq-wrap,
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 24px var(--gutter) 32px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav ul a {
    display: block;
    padding: 13px 16px;
    font-size: 1.05rem;
  }

  .nav-cta {
    justify-content: center;
    padding: 15px 22px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
  }

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

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

@media (max-width: 620px) {
  body {
    padding-bottom: 72px;
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -14px rgba(11, 18, 32, 0.4);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mobile-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 11px 4px 10px;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    border-right: 1px solid var(--line);
  }

  .mobile-bar-item:last-child {
    border-right: 0;
  }

  .mobile-bar-item .icon {
    color: var(--brand);
  }

  .cards,
  .cards--wide,
  .showcase,
  .steps,
  .features,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .strip-inner {
    gap: 14px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero-note {
    top: 6px;
    left: -8px;
    padding: 11px 14px;
  }

  .hero-review {
    right: -4px;
    bottom: -4px;
    max-width: 210px;
    padding: 13px 15px;
  }
}

/* Právní text (zpracování osobních údajů) */
.legal {
  max-width: 74ch;
  margin-inline: auto;
}

.legal h2 {
  margin-top: 42px;
  margin-bottom: 14px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.legal-toc {
  margin-bottom: 36px;
  padding: 20px 24px 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-toc h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.legal-toc ul {
  margin: 0;
  padding-left: 20px;
}

.legal ul {
  margin-bottom: 16px;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

.legal p,
.legal li {
  color: var(--text);
}

.legal a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* Lokální SEO stránky (města a obory) */
.prose {
  max-width: 74ch;
}

.prose p {
  color: var(--text);
  font-size: 1.06rem;
}

.prose p + p {
  margin-top: 16px;
}

.local-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 30px;
  padding: 18px 22px;
  background: var(--brand-soft);
  border-radius: var(--radius);
}

.local-note p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

.local-note a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.local-note-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  color: var(--brand);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 18px;
}

a.link-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 24px 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-soft);
}

.link-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink);
}

.link-card-text {
  color: var(--muted);
  font-size: 0.94rem;
}

.link-card-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
}

.link-card-more .icon {
  transition: transform 0.2s ease;
}

a.link-card:hover .link-card-more .icon {
  transform: translateX(3px);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list + .tag-list {
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 500;
}

.tag .icon {
  color: var(--accent-ink);
}

.tag-list--links a.tag {
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tag-list--links a.tag:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

/* Mapa webu */
.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.map-title {
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.map-title + .map-list + .map-title {
  margin-top: 34px;
}

.map-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-list a {
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
}

.map-list a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.check-list--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.check-list--2 li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 1024px) {
  .features--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .check-list--2,
  .features--3 {
    grid-template-columns: 1fr;
  }

  .prose p {
    font-size: 1rem;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
