/* ==========================================================================
   Zubní implantáty Brno — Onedent (nový brand)
   Navy #1A294A + korálová #ED114D→#F92E65, Clash Display + Inter,
   zaoblené karty, pill CTA. Struktura/třídy = původní implantátový web.
   ========================================================================== */

:root {
  /* Brand Onedent (nový) */
  --wine: #ED114D;            /* akcent (korálová) — držíme název kvůli šabloně */
  --wine-deep: #C60E41;
  --wine-2: #F92E65;
  --grad: linear-gradient(90deg, #ED114D, #F92E65);
  --wine-tint: #FDE7EE;
  --wine-wash: #FBF3F5;

  --ink: #1A294A;            /* navy — hlavní tmavá */
  --ink-2: #223256;
  --ink-3: #3A4B70;
  --ink-soft: #45526E;
  --ink-mute: #6E7B96;

  --bone: #F6F6F6;
  --bone-deep: #F0F0F0;
  --paper: #FFFFFF;
  --gold: #FFBB00;

  --line: rgba(26, 41, 74, 0.12);
  --line-soft: rgba(26, 41, 74, 0.07);
  --line-wine: rgba(237, 17, 77, 0.28);

  --font-display: 'Clash Display', 'Nohemi', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, -apple-system, sans-serif;

  --w: 1180px;
  --pad: 2rem;
  --r: 14px;
  --r-lg: 26px;
  --r-pill: 100px;

  --shadow: 0 24px 60px -24px rgba(26,41,74,.28);
  --shadow-sm: 0 10px 30px -16px rgba(26,41,74,.2);

  --step: clamp(3.5rem, 7vw, 7rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.66;
  color: var(--ink-soft);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.08rem; line-height: 1.35; }

p, li, span, a, input, textarea, select, label, button { font-style: normal; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }
strong { color: var(--ink); font-weight: 600; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }

/* ── Typografické atomy ─────────────────────────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
.eyebrow--plain::before { display: none; }

.lede { font-size: clamp(1.1rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--ink-mute); max-width: 62ch; }
.muted { color: var(--ink-mute); }

.section-mark {
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 600;
  color: var(--wine);
  letter-spacing: 0.04em;
  padding-left: 1.1rem;
  border-left: 2px solid var(--line-wine);
  display: inline-block; line-height: 1;
  padding-top: 0.1rem; padding-bottom: 0.1rem;
}

/* ── Tlačítka ───────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-text);
  font-size: 0.94rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: filter .22s ease, background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.btn--wine { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -12px rgba(237,17,77,.5); }
.btn--wine:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--wine); color: var(--wine); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bone-deep); transform: translateY(-2px); }
.btn--onwine { border-color: rgba(255,255,255,.42); color: #fff; }
.btn--onwine:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 600; font-size: 0.94rem; color: var(--wine);
  border-bottom: 2px solid var(--line-wine); padding-bottom: 0.2rem;
  transition: gap .25s ease, border-color .25s ease;
}
.arrow-link:hover { gap: 0.95rem; border-color: var(--wine); }

/* ── Hlavička ───────────────────────────────────────────────────────── */

.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: 0.82rem; letter-spacing: 0.01em; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: #fff; }
.topbar__set { display: flex; align-items: center; gap: 1.6rem; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__item svg { width: 14px; height: 14px; stroke: var(--wine-2); flex: none; }

.masthead {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 0.8rem; flex: none; min-width: 0; }
.brand__logo { height: 28px; width: auto; flex: none; }
.brand__divider { width: 1px; height: 28px; background: var(--line); flex: none; }
.brand__tag { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; white-space: nowrap; }
.brand__tag small { display: block; font-family: var(--font-text); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 0.18rem; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__link { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 0.4rem 0; white-space: nowrap; transition: color .2s ease; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transition: right .28s ease; }
.nav__link:hover { color: var(--wine); }
.nav__link:hover::after { right: 0; }
.nav__link.is-active { color: var(--wine); }
.nav__link.is-active::after { right: 0; }

.nav__group { position: relative; }
.nav__panel {
  position: absolute; top: calc(100% + 0.9rem); left: -1.1rem; min-width: 236px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 0.5rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__group:hover .nav__panel, .nav__group:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a { display: block; padding: 0.7rem 0.9rem; font-size: 0.9rem; border-radius: 10px; color: var(--ink-soft); transition: background .18s ease, color .18s ease; }
.nav__panel a:hover { background: var(--wine-wash); color: var(--wine); }

.masthead__cta { display: flex; align-items: center; gap: 1.1rem; flex: none; }
.masthead__phone { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.masthead__phone small { display: block; font-family: var(--font-text); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .2s ease; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 25px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav { display: none; border-top: 1px solid var(--line-soft); background: var(--paper); padding: 1rem var(--pad) 2rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 0.85rem 0; font-size: 1.02rem; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-nav a.sub { padding-left: 1.1rem; font-size: 0.95rem; color: var(--ink-soft); }
.mobile-nav .btn { width: 100%; margin-top: 1.4rem; }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0 0; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: 0; right: 0; width: 46%; height: 100%; background: radial-gradient(120% 90% at 90% 10%, var(--wine-wash), transparent 70%); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: end; }
.hero__copy { padding-bottom: clamp(2rem, 5vw, 4.5rem); }
.hero h1 { margin: 1.4rem 0 0; }
.hero h1 em { font-style: normal; display: block; color: var(--wine); }
.hero__sub { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.1vw, 1.7rem); color: var(--ink-soft); margin-top: 1rem; line-height: 1.28; }
.hero__kicker { font-family: var(--font-text); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--wine); margin: 0 0 1.2rem; display: inline-flex; align-items: center; gap: 0.7rem; line-height: 1; }
.hero__kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
.hero__headline { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.06; letter-spacing: -0.015em; color: var(--wine); margin: 0; }
.hero__headline span { color: var(--ink); }
.hero__text { margin-top: 1.6rem; max-width: 46ch; color: var(--ink-mute); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--r-lg); }
.hero__badge {
  position: absolute; left: -1.6rem; bottom: 2.2rem;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: 1.1rem 1.4rem; box-shadow: var(--shadow); max-width: 250px;
}
.hero__badge strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--wine); display: block; line-height: 1; }
.hero__badge span { font-size: 0.78rem; color: var(--ink-mute); display: block; margin-top: 0.35rem; line-height: 1.4; }
.stars { color: var(--gold); letter-spacing: 0.12em; font-size: 0.85rem; }

.trustbar { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-top: clamp(2.5rem, 5vw, 4rem); background: rgba(255,255,255,.5); }
.trustbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trustbar__item { padding: 1.7rem 1.6rem 1.7rem 0; border-right: 1px solid var(--line-soft); display: flex; gap: 0.9rem; align-items: flex-start; }
.trustbar__item:first-child { padding-left: 0; }
.trustbar__item:not(:first-child) { padding-left: 1.6rem; }
.trustbar__item:last-child { border-right: 0; padding-right: 0; }
.trustbar__item svg { width: 20px; height: 20px; stroke: var(--wine); flex: none; margin-top: 2px; }
.trustbar__item p { font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); }
.trustbar__item p b { display: block; color: var(--ink); font-weight: 600; }

/* ── Sekce ──────────────────────────────────────────────────────────── */

.section { padding: var(--step) 0; }
.section--paper { background: var(--paper); }
.section--tint { background: var(--wine-wash); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.74); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow { color: #F79BB2; }

.section__head { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section__head--solo { grid-template-columns: 1fr; max-width: 64ch; }
.section__head h2 { margin-top: 0.9rem; }

/* Karty služeb */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.8rem, 2.6vw, 2.4rem); display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__no { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--wine); letter-spacing: 0.04em; }
.card p { font-size: 0.97rem; color: var(--ink-mute); }
.card .arrow-link { margin-top: auto; align-self: flex-start; padding-top: 0.6rem; }

/* Číslovaný seznam důvodů */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 3vw, 3rem) clamp(2rem, 4vw, 3.5rem); }
.reason { border-top: 2px solid var(--line-wine); padding-top: 1.4rem; }
.reason__no { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--wine); display: block; margin-bottom: 0.7rem; letter-spacing: 0.04em; }
.reason h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.reason p { font-size: 0.95rem; color: var(--ink-mute); }

/* Split — text + obrázek */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--r-lg); }
.split__body h2 { margin: 1rem 0 1.4rem; }
.split__body p { color: var(--ink-mute); }
.split__body p + p { margin-top: 1rem; }
.split__body .arrow-link { margin-top: 1.8rem; }

.figures { display: flex; gap: clamp(1.6rem, 4vw, 3.4rem); flex-wrap: wrap; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.figure strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 600; color: var(--wine); line-height: 1; }
.figure span { font-size: 0.85rem; color: var(--ink-mute); display: block; margin-top: 0.4rem; }

/* Ceník */
.pricing { border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding: 1.35rem clamp(1.4rem, 2.4vw, 2.2rem); border-bottom: 1px solid var(--line-soft); }
.price-row:last-child { border-bottom: 0; }
.price-row__name { color: var(--ink); font-weight: 500; }
.price-row__name small { display: block; font-weight: 400; color: var(--ink-mute); font-size: 0.85rem; margin-top: 0.2rem; }
.price-row__value { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--wine); white-space: nowrap; flex: none; }
.price-note { font-size: 0.88rem; color: var(--ink-mute); margin-top: 1.2rem; max-width: 68ch; }
.pricing__group { padding: 1rem clamp(1.4rem, 2.4vw, 2.2rem); background: var(--bone); border-bottom: 1px solid var(--line-soft); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink); }

/* Proces */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; counter-reset: step; }
.step { border-top: 2px solid var(--line-wine); padding-top: 1.3rem; }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--wine); display: block; margin-bottom: 0.7rem; }
.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; line-height: 1.55; color: var(--ink-mute); }

/* Recenze */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.review { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.5rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-sm); }
.review p { font-size: 0.96rem; color: var(--ink-soft); }
.review__by { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 0.7rem; }
.review__by b { color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.review__by span { font-size: 0.78rem; color: var(--ink-mute); }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.review__avatar--initial { background: var(--wine-tint); color: var(--wine); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.review__src { display: inline-flex; align-items: center; gap: 5px; }
.review--long .review__text { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review--long.is-open .review__text { -webkit-line-clamp: unset; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; margin-top: -0.3rem; color: var(--wine); font-family: var(--font-text); font-weight: 600; font-size: 0.85rem; cursor: pointer; }
.review__more:hover { text-decoration: underline; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; position: relative; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--ink); line-height: 1.3; transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--wine); }
.faq summary::after { content: '+'; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--wine); font-family: var(--font-text); font-size: 1.2rem; line-height: 1; transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease; }
.faq details[open] summary { color: var(--wine); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--grad); color: #fff; border-color: transparent; }
.faq__body { padding: 0 clamp(1rem, 6vw, 6rem) 1.8rem 0; color: var(--ink-mute); }
.faq__body p + p, .faq__body ul { margin-top: 0.9rem; }
.faq__body ul { padding-left: 1.1rem; }
.faq__body li { margin-bottom: 0.35rem; font-size: 0.98rem; }

/* Obsahová próza (dlouhé stránky) */
.prose { max-width: 70ch; }
.prose h2 { margin: 2.8rem 0 1.1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 0.8rem; }
.prose p { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }
.prose ul, .prose ol { margin: 1.1rem 0 1.1rem 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li strong { display: inline; }
.prose blockquote { border-left: 3px solid var(--wine); padding: 0.3rem 0 0.3rem 1.4rem; margin: 1.8rem 0; color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.4; }

.layout-side { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.aside { position: sticky; top: 108px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--paper); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.aside h3 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.aside p { font-size: 0.93rem; color: var(--ink-mute); }
.aside .btn { width: 100%; margin-top: 1.3rem; }
.aside__contact { margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line-soft); font-size: 0.9rem; }
.aside__contact a { color: var(--wine); font-weight: 600; }

/* Stránková hlavička */
.pagehead { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--wine-wash), transparent); }
.pagehead h1 { margin: 1.2rem 0 1.2rem; max-width: 20ch; }
.crumbs { font-size: 0.82rem; color: var(--ink-mute); }
.crumbs a:hover { color: var(--wine); }
.crumbs span { margin: 0 0.5rem; opacity: .5; }

/* CTA blok */
.cta-block { background: var(--ink); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.cta-block::after { content: ''; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(237,17,77,.35), transparent 65%); }
.cta-block .wrap { padding-top: var(--step); padding-bottom: var(--step); position: relative; z-index: 1; }
.cta-block h2 { color: #fff; max-width: 20ch; }
.cta-block .eyebrow { color: rgba(255,255,255,.75); }
.cta-block .eyebrow::before { background: var(--grad); }
.cta-block p { margin-top: 1.2rem; max-width: 56ch; }
.cta-block__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

/* Formulář */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.field input, .field textarea, .field select { font-family: var(--font-text); font-size: 0.98rem; color: var(--ink); background: var(--bone); border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--wine); background: #fff; box-shadow: 0 0 0 3px var(--wine-tint); }
.field textarea { min-height: 128px; resize: vertical; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.85rem; color: var(--ink-mute); }
.consent input { margin-top: 0.25rem; accent-color: var(--wine); }
.form-note { font-size: 0.84rem; color: var(--ink-mute); margin-top: 1rem; }
.form-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm); }

/* Kontaktní karty */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.contact-card { border-top: 3px solid var(--wine); padding-top: 1.4rem; }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.contact-card p { font-size: 0.95rem; color: var(--ink-mute); }
.contact-card a { color: var(--wine); font-weight: 600; }

.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 0.65rem 0; border-bottom: 1px solid var(--line-soft); }
.hours td:first-child { color: var(--ink); font-weight: 600; width: 4.5rem; }
.hours tr:last-child td { border-bottom: 0; }

.map-frame { width: 100%; aspect-ratio: 16/7; border: 1px solid var(--line-soft); border-radius: var(--r-lg); }

/* Tým */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1.2rem; }
.doctor { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.doctor b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.doctor span { font-size: 0.84rem; color: var(--ink-mute); display: block; margin-top: 0.3rem; }

/* ── Patička ────────────────────────────────────────────────────────── */

.foot { background: var(--ink); color: rgba(255,255,255,.6); font-size: 0.92rem; }
.foot a { transition: color .2s ease; }
.foot a:hover { color: #fff; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.8rem, 4vw, 3.5rem); padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.5rem); }
.foot h4 { color: #fff; font-family: var(--font-text); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 600; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.foot__brand img { height: 30px; margin-bottom: 1.2rem; }
.foot__brand p { max-width: 34ch; line-height: 1.6; }
.foot__bottom { border-top: 1px solid rgba(255,255,255,.11); padding: 1.5rem 0; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; font-size: 0.84rem; color: rgba(255,255,255,.45); }

/* Sticky mobilní lišta */
.callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--ink); border-top: 1px solid rgba(255,255,255,.12); padding: 0.6rem 0.9rem; gap: 0.6rem; }
.callbar a { flex: 1; text-align: center; padding: 0.85rem 0.6rem; font-size: 0.9rem; font-weight: 600; border-radius: var(--r-pill); }
.callbar a.is-primary { background: var(--grad); color: #fff; }
.callbar a.is-ghost { border: 1px solid rgba(255,255,255,.3); color: #fff; }

/* ── Nástup obsahu ──────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); }
  .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
  .hero__copy > * { animation: rise .8s cubic-bezier(.22,.61,.36,1) backwards; }
  .hero__copy > *:nth-child(1) { animation-delay: .05s; }
  .hero__copy > *:nth-child(2) { animation-delay: .13s; }
  .hero__copy > *:nth-child(3) { animation-delay: .21s; }
  .hero__copy > *:nth-child(4) { animation-delay: .29s; }
  .hero__copy > *:nth-child(5) { animation-delay: .37s; }
  .hero__media { animation: fade 1.1s ease .2s backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }

/* ── Responsivita ───────────────────────────────────────────────────── */

@media (max-width: 1240px) { .brand__tag small { display: none; } .masthead__phone { font-size: 1rem; } }
@media (max-width: 1140px) and (min-width: 981px) { .brand__divider, .brand__tag { display: none; } }
@media (max-width: 1080px) {
  .team { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .nav { gap: 1.2rem; }
  .nav__link { font-size: 0.86rem; }
}
@media (max-width: 980px) {
  .nav, .masthead__phone { display: none; }
  .burger { display: block; }
  .masthead .wrap { min-height: 68px; gap: 1rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media img { aspect-ratio: 4/3; }
  .hero__badge { left: auto; right: 1rem; bottom: 1rem; }
  .hero::after { width: 100%; height: 40%; }
  .section__head { grid-template-columns: 1fr; }
  .cards, .reasons, .reviews, .contact-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .layout-side { grid-template-columns: 1fr; }
  .aside { position: static; }
  .trustbar .wrap { grid-template-columns: 1fr 1fr; }
  .trustbar__item:nth-child(2) { border-right: 0; padding-right: 0; }
  .trustbar__item:nth-child(3) { padding-left: 0; border-bottom: 0; }
  .trustbar__item:nth-child(1), .trustbar__item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .trustbar__item:nth-child(3) { border-right: 1px solid var(--line-soft); padding-right: 1.6rem; }
  .callbar { display: flex; }
  body { padding-bottom: 68px; }
}
@media (max-width: 680px) {
  :root { --pad: 1.25rem; }
  .topbar__set:first-child { display: none; }
  .topbar .wrap { justify-content: center; padding-top: .45rem; padding-bottom: .45rem; }
  .topbar__set { gap: 1.2rem; font-size: 0.78rem; }
  .brand__divider, .brand__tag { display: none; }
  .masthead__cta > .btn { display: none; }
  .hero { padding-top: 2.5rem; }
  .cards, .reasons, .reviews, .contact-grid, .team, .steps, .form-grid { grid-template-columns: 1fr; }
  .trustbar .wrap { grid-template-columns: 1fr; }
  .trustbar__item { border-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; border-bottom: 1px solid var(--line-soft); }
  .trustbar__item:last-child { border-bottom: 0; }
  .foot__top { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: 1rem; max-width: none; box-shadow: none; }
  .price-row { flex-direction: column; gap: 0.4rem; }
}
@media (max-width: 400px) { .cta-block__actions .btn, .hero__actions .btn { width: 100%; } }
@media print { .masthead, .topbar, .callbar, .cta-block { display: none; } }

/* ==========================================================================
   WordPress vrstva - jen věci navíc oproti statické verzi.
   (původní logo webu + přestylování Complianz cookie lišty do designu)
   ========================================================================== */

/* Původní logo "Zubní implantáty Brno" (300x75) je širší než OneDentovo,
   potřebuje víc výšky. */
.brand__logo--zib { height: 46px; width: auto; }
@media (max-width: 720px) { .brand__logo--zib { height: 36px; } }

/* V tmavé patičce se černé logo přebarví na bílé. */
.foot__logo--zib {
  height: 40px;
  width: auto;
  margin-bottom: 1.2rem;
  filter: brightness(0) invert(1);
}

/* Cookie lišta Complianz - výchozí modrý vzhled pluginu se tluče s webem,
   tohle ji převlékne do stejného jazyka (Inter, navy, korálové pilulky). */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  font-family: var(--font-text);
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 24px 60px -20px rgba(26, 41, 74, .35);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title {
  font-family: var(--font-display);
  color: var(--ink);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category {
  color: var(--ink-soft);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn {
  font-family: var(--font-text);
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: filter .15s ease, background .15s ease;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(237, 17, 77, .5);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover {
  filter: brightness(1.05);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-deny,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences:hover,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover {
  background: var(--bone-deep);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links .cmplz-link,
#cmplz-cookiebanner-container .cmplz-cookiebanner a {
  color: var(--wine);
}
