/* CONSIS – sdílené styly webu */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* barvy – odvozené z loga CONSIS */
  --paper: #f5f3ee;
  --paper-2: #ecE9e1;
  --card: #fdfcf9;
  --ink: #0c0c36;
  --ink-2: #2a2a52;
  --muted: #5b5b76;
  --edge: rgba(12, 12, 54, 0.12);
  --edge-strong: rgba(12, 12, 54, 0.22);
  --accent: #1a00d8;
  --accent-hover: #1300a6;
  --accent-soft: rgba(26, 0, 216, 0.08);
  --night: #0a0a2c;
  --night-2: #13133d;
  --night-text: #eceaf5;
  --night-muted: #a6a4c4;
  --night-edge: rgba(236, 234, 245, 0.12);
  --medid: #c81e2a;
  --medid-soft: rgba(200, 30, 42, 0.09);
  --petid: #15803d;
  --petid-soft: rgba(21, 128, 61, 0.1);

  /* typografie */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --step--1: clamp(0.88rem, 0.86rem + 0.1vw, 0.94rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.55rem + 2.2vw, 3.25rem);
  --step-4: clamp(2.6rem, 1.7rem + 4.4vw, 5.25rem);

  /* rozměry */
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --section-y: clamp(64px, 8vw, 112px);
  --shadow: 0 1px 0 var(--edge), 0 24px 48px -28px rgba(12, 12, 54, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  font-size: var(--step-4);
  letter-spacing: -0.04em;
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-1);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

.accent-word {
  color: var(--accent);
}

.section-dark .accent-word,
.site-footer .accent-word {
  color: #8f86ff;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-y) 0;
}

.section-alt {
  background: var(--paper-2);
}

.section-dark {
  background: var(--night);
  color: var(--night-text);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow::before {
  display: none;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head-row .section-head {
  margin-bottom: 0;
}

/* mono popisky s čárkou */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow.medid {
  color: var(--medid);
}

.eyebrow.petid {
  color: var(--petid);
}

.section-dark .eyebrow {
  color: #8f86ff;
}

.lead {
  max-width: 620px;
  font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.section-dark .lead {
  color: var(--night-muted);
}

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-row li + li::before {
  content: "/";
  margin-right: 14px;
  opacity: 0.5;
}

.section-dark .meta-row {
  color: var(--night-muted);
}

/* ---------- Tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

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

.btn .arrow {
  font-family: var(--font-mono);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(26, 0, 216, 0.45);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.section-dark .btn-ghost {
  border-color: var(--night-text);
  color: var(--night-text);
}

.section-dark .btn-ghost:hover {
  background: var(--night-text);
  color: var(--night);
}

.btn-medid {
  background: var(--medid);
  color: #fff;
}

.btn-medid:hover {
  background: #a5161f;
  color: #fff;
}

.btn-petid {
  background: var(--petid);
  color: #fff;
}

.btn-petid:hover {
  background: #116531;
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

/* ---------- Hlavička ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--edge);
}

/* rozmazání pozadí na pseudo-elementu, aby nevznikl containing block pro fixní mobilní menu */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(245, 243, 238, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-word {
  height: 24px;
  width: auto;
}

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

.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(12, 12, 54, 0.05);
}

.main-nav a[aria-current="page"] {
  color: var(--accent);
}

.main-nav .nav-cta {
  margin-left: 10px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--edge-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  margin: auto;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--paper);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--edge);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
  }

  .main-nav a:hover {
    background: none;
  }

  .main-nav .nav-cta {
    margin: 24px 0 0;
    padding: 16px;
    border-bottom: 0;
    border-radius: 999px;
    text-align: center;
    font-size: 13px;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 104px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero .lead {
  margin-bottom: 32px;
}

.hero .meta-row {
  margin-top: 36px;
}

.hero-visual > img {
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero-points svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

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

  .hero-visual > img {
    margin-right: auto;
  }
}

/* Panel „dříve → dnes“ na úvodní stránce */
.shift-panel {
  margin: 0;
  padding: 8px 0;
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  list-style: none;
}

.shift-panel-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px 12px;
  border-bottom: 1px solid var(--edge);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.shift-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
}

.shift-row + .shift-row {
  border-top: 1px solid var(--edge);
}

.shift-old {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(12, 12, 54, 0.35);
  font-size: 0.95rem;
}

.shift-arrow {
  font-family: var(--font-mono);
  color: var(--accent);
}

.shift-new {
  font-weight: 600;
  font-size: 0.95rem;
}

.shift-panel-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px 10px;
  border-top: 1px solid var(--edge);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(26, 0, 216, 0.6);
}

@media (max-width: 480px) {
  .shift-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 20px;
  }

  .shift-arrow {
    transform: rotate(90deg);
    width: max-content;
  }

  .shift-panel-head,
  .shift-panel-foot {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ---------- Služby ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--edge-strong);
}

.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  padding: clamp(28px, 4vw, 44px) clamp(0px, 3vw, 40px) clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--edge-strong);
}

.service:nth-child(even) {
  padding-left: clamp(0px, 3vw, 40px);
  border-left: 1px solid var(--edge-strong);
}

.service-num {
  grid-row: span 3;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 8px;
}

.service h3 {
  margin: 0;
  font-size: var(--step-2);
}

.service p {
  margin: 0;
  color: var(--muted);
}

.service .tags {
  margin-top: 8px;
}

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

.tags li {
  padding: 4px 10px;
  border: 1px solid var(--edge);
  border-radius: 6px;
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.section-dark .tags li {
  border-color: var(--night-edge);
  background: rgba(255, 255, 255, 0.04);
  color: var(--night-text);
}

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

  .service,
  .service:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }
}

/* ---------- Postup ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--edge-strong);
}

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

.step {
  padding: 28px 24px 8px 0;
  counter-increment: step;
}

.step + .step {
  padding-left: 24px;
  border-left: 1px solid var(--edge);
}

.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.medid-page .step::before {
  color: var(--medid);
}

.petid-page .step::before {
  color: var(--petid);
}

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

.step p {
  margin: 0;
  color: var(--muted);
}

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

  .step:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .step {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--edge);
  }

  .steps.three {
    grid-template-columns: 1fr;
  }

  .steps.three .step {
    padding-left: 0;
    border-left: 0;
  }
}

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

  .step + .step {
    padding-left: 0;
    border-left: 0;
  }

  .step::before {
    margin-bottom: 16px;
  }
}

/* ---------- Karty a mřížky ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-stack {
  display: grid;
  gap: 16px;
}

.card {
  padding: 28px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.card p {
  color: var(--muted);
}

.card p:last-child {
  margin-bottom: 0;
}

.section-dark .card {
  border-color: var(--night-edge);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.section-dark .card p {
  color: var(--night-muted);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.medid-page .card-icon {
  background: var(--medid-soft);
  color: var(--medid);
}

.petid-page .card-icon {
  background: var(--petid-soft);
  color: var(--petid);
}

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

/* ---------- Vlastní produkty (tmavá sekce) ---------- */

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--night-edge);
  border-radius: var(--radius-lg);
  background: var(--night-2);
  color: var(--night-text);
  text-decoration: none;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.product-card:hover {
  color: var(--night-text);
  border-color: rgba(236, 234, 245, 0.28);
  transform: translateY(-2px);
}

.product-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-logo {
  position: absolute;
  left: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  height: 52px;
  padding: 8px 14px;
  border-radius: var(--radius);
}

.product-card-logo img {
  height: 100%;
  width: auto;
}

.product-card-logo.dark {
  background: rgba(10, 10, 44, 0.85);
}

.product-card-logo.light {
  background: #fff;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 28px;
}

.product-card-body h3 {
  margin: 0;
  font-size: var(--step-2);
}

.product-card-body p {
  margin: 0;
  color: var(--night-muted);
}

.product-card-link {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f86ff;
}

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

/* ---------- Statistiky / fakta ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--night-edge);
}

.facts li {
  padding: 24px 20px 0 0;
}

.facts li + li {
  padding-left: 20px;
  border-left: 1px solid var(--night-edge);
}

.facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.facts span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night-muted);
}

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

  .facts li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- Seznamy ---------- */

.check-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a00d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.medid-page .check-list li::before {
  background-color: var(--medid-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c81e2a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.petid-page .check-list li::before {
  background-color: var(--petid-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.data-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.data-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--card);
  font-weight: 500;
}

.data-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
}

.medid-page .data-list li::before {
  background: var(--medid);
}

.petid-page .data-list li::before {
  background: var(--petid);
}

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

/* ---------- Dvousloupcové bloky ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.split.top {
  align-items: start;
}

.split.reverse > :first-child {
  order: 2;
}

.split-media img {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

  .split.reverse > :first-child {
    order: 0;
  }
}

/* ---------- Telefony / screenshoty ---------- */

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}

.phone {
  margin: 0;
}

.phone img {
  width: 100%;
  border-radius: 22px;
}

.phone-single {
  max-width: 320px;
  margin: 0 auto;
}

.phone figcaption {
  margin-top: 14px;
  text-align: center;
}

.phone figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.phone figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .phones {
    display: flex;
    gap: 16px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .phone {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }
}

/* ---------- Varianty produktu ---------- */

.variant {
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.variant img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.variant-body {
  padding: 24px;
}

.variant-body h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.variant-body p {
  margin: 0;
  color: var(--muted);
}

.badge {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--paper-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Odznaky obchodů ---------- */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-badges a {
  display: block;
}

.store-badges img {
  height: 46px;
  width: auto;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--edge-strong);
}

.faq details {
  border-bottom: 1px solid var(--edge-strong);
}

.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--accent);
}

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

.faq details p {
  margin: 0 0 22px;
  max-width: 680px;
  color: var(--muted);
}

/* ---------- Výzva k akci ---------- */

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: #fff;
}

.cta-band h2 {
  max-width: 14ch;
  margin-bottom: 14px;
}

.cta-band p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.cta-band .btn {
  background: #fff;
  color: var(--accent);
}

.cta-band .btn:hover {
  background: var(--paper);
  color: var(--accent-hover);
}

.cta-band.medid {
  background: var(--medid);
}

.cta-band.medid .btn {
  color: var(--medid);
}

.cta-band.petid {
  background: var(--petid);
}

.cta-band.petid .btn {
  color: var(--petid);
}

@media (max-width: 760px) {
  .cta-band {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-info {
  display: grid;
  border-top: 1px solid var(--edge-strong);
}

.contact-item {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--edge-strong);
}

.contact-item h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-item p {
  margin: 0;
}

.contact-item .big {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--edge-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5b76' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

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

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.field-check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-success {
  background: var(--petid-soft);
  color: #0f5c2c;
}

.form-status.is-error {
  background: var(--medid-soft);
  color: #8e1219;
}

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

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---------- Mapa ---------- */

.map-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, var(--edge) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--edge) 39px 40px),
    var(--card);
}

.map-placeholder p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.map-placeholder strong {
  font-family: var(--font-display);
  font-size: var(--step-1);
}

.map-placeholder .field-check {
  margin: 0;
}

@media (max-width: 600px) {
  .map-wrap {
    aspect-ratio: auto;
    height: 380px;
  }
}

/* ---------- Právní stránky ---------- */

.legal {
  max-width: 800px;
}

.legal h1 {
  font-size: var(--step-3);
}

.legal h2 {
  margin-top: 2.2em;
  font-size: var(--step-1);
  letter-spacing: -0.015em;
}

.legal h3 {
  margin-top: 1.6em;
  font-size: 1.05rem;
}

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

.legal ul,
.legal ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

.legal li {
  margin-bottom: 6px;
}

.legal .updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-table-wrap {
  margin: 0 0 1.5em;
  overflow-x: auto;
}

.legal table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal th,
.legal td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--edge);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal button.link {
  color: var(--accent);
  text-decoration: underline;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 40px;
}

.legal-nav a {
  padding: 8px 14px;
  border: 1px solid var(--edge-strong);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Patička ---------- */

.site-footer {
  padding: clamp(56px, 8vw, 96px) 0 32px;
  background: var(--night);
  color: var(--night-text);
  font-size: 0.95rem;
}

.footer-claim {
  max-width: 16ch;
  margin-bottom: clamp(40px, 6vw, 72px);
  font-size: var(--step-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--night-edge);
}

.footer-brand img {
  width: 110px;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 300px;
  color: var(--night-muted);
}

.footer-col h2 {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-muted);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a,
.footer-col button.link {
  color: var(--night-text);
  text-decoration: none;
}

.footer-col a:hover,
.footer-col button.link:hover {
  color: #b3adff;
}

button.link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-col address {
  font-style: normal;
  color: var(--night-muted);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--night-edge);
  border-radius: 50%;
  color: var(--night-text);
}

.socials a:hover {
  border-color: #8f86ff;
  color: #b3adff;
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--night-edge);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--night-muted);
}

.footer-bottom p {
  margin: 0;
}

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

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

/* ---------- Cookie lišta ---------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 520px;
  margin-left: auto;
  padding: 24px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 1px 0 var(--edge), 0 30px 60px -20px rgba(12, 12, 54, 0.35);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-options {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--paper);
}

.cookie-options[hidden] {
  display: none;
}

.cookie-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.cookie-options input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.cookie-options small {
  display: block;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.92rem;
}

/* ---------- Pomocné třídy ---------- */

.section.flush-top {
  padding-top: 0;
}

.hero.flush-bottom {
  padding-bottom: 0;
}

.mt {
  margin-top: 24px;
}

.center-note {
  margin: 32px 0 0;
  text-align: center;
}

.footer-claim {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
