/*
Theme Name: Byty Praha
Theme URI: https://bytypraha.cz
Author: Byty Praha
Author URI: https://bytypraha.cz
Description: Světlá jednostránková šablona pro realitní službu Byty Praha. Férově. Jednoduše. Bez zbytečných provizí. Obsah je editovatelný přes Vzhled > Přizpůsobit.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: byty-praha
Tags: real-estate, landing-page, one-page, custom-colors, translation-ready
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --bg: #faf9f5;
  --fg: #3a3d36;
  --card: #ffffff;
  --primary: #5f8256;
  --primary-dark: #4f6e48;
  --primary-fg: #ffffff;
  --accent: #e7efe1;
  --accent-fg: #45603c;
  --muted: #f1f0ea;
  --muted-fg: #77796f;
  --border: #e6e5de;
  --positive: #4f8a4f;
  --positive-soft: #eef5ec;
  --positive-border: #cfe4c9;
  --negative: #c65b4e;
  --negative-soft: #fbeeec;
  --negative-border: #f0d3cf;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(45, 55, 40, 0.06), 0 1px 3px rgba(45, 55, 40, 0.05);
  --shadow-lg: 0 10px 30px rgba(45, 55, 40, 0.12);
  --maxw: 1120px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

.bp-container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.bp-container--narrow {
  max-width: 760px;
}

.bp-section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.bp-text-center {
  text-align: center;
}

.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   Buttons
   ============================================================ */
.bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.05s ease;
}

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

.bp-btn--primary {
  background-color: var(--primary);
  color: var(--primary-fg);
}

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

.bp-btn--ghost {
  background-color: transparent;
  color: var(--fg);
}

.bp-btn--ghost:hover {
  color: var(--primary);
}

.bp-btn--lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.bp-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--primary);
}

.bp-play .icon {
  width: 16px;
  height: 16px;
}

/* ============================================================
   Header
   ============================================================ */
.bp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(250, 249, 245, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.bp-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.bp-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.bp-logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--accent);
  color: var(--primary);
}

.bp-logo__icon .icon {
  width: 26px;
  height: 26px;
}

.bp-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.bp-logo__name {
  font-family: 'Black Han Sans', var(--font);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.bp-logo__tagline {
  font-size: 0.72rem;
  color: var(--muted-fg);
}

/* Highlighted number in the brand name (e.g. the "100" in BYTZA100.cz). */
.bp-brand-num {
  color: var(--primary);
}

.bp-nav {
  margin-left: auto;
}

.bp-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.bp-nav__link,
.bp-nav__list a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg);
  transition: color 0.15s ease;
}

.bp-nav__link:hover,
.bp-nav__list a:hover {
  color: var(--primary);
}

.bp-header__cta {
  flex-shrink: 0;
}

.bp-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  margin-left: auto;
}

.bp-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--fg);
  border-radius: 2px;
}

/* ============================================================
   Hero
   ============================================================ */
.bp-hero {
  padding: clamp(36px, 6vw, 72px) 0;
}

.bp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.bp-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fg);
}

.bp-hero__subtitle {
  margin-top: 16px;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--primary);
}

.bp-hero__text {
  margin-top: 18px;
  max-width: 46ch;
  color: var(--muted-fg);
  font-size: 1.02rem;
  line-height: 1.6;
}

.bp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.bp-hero__reviews {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.bp-avatars {
  display: flex;
}

.bp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}

.bp-avatar:first-child {
  margin-left: 0;
}

.bp-avatar--1 { background-color: #c9d6bf; }
.bp-avatar--2 { background-color: #b7cbe0; }
.bp-avatar--3 { background-color: #e2cdb4; }
.bp-avatar--4 { background-color: #d8c2cf; }

.bp-hero__rating {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bp-stars {
  display: inline-flex;
  color: #e0a94b;
}

.bp-stars .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
}

.bp-hero__rating-text {
  font-size: 0.82rem;
  color: var(--muted-fg);
}

.bp-hero__media {
  position: relative;
}

.bp-hero__image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.bp-price-card {
  position: absolute;
  right: -8px;
  bottom: -28px;
  width: min(300px, 80%);
  background-color: var(--card);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.bp-price-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bp-price-card__label {
  font-size: 0.82rem;
  color: var(--muted-fg);
  max-width: 20ch;
}

.bp-price-card__heart {
  color: var(--primary);
}

.bp-price-card__heart .icon {
  fill: currentColor;
}

.bp-price-card__price {
  margin-top: 8px;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--fg);
}

.bp-price-card__list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bp-price-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--fg);
}

.bp-price-card__list .icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.bp-price-card__vat {
  font-weight: 600;
}

.bp-price-card__vat .bp-star {
  fill: currentColor;
}

/* ============================================================
   Feature strip
   ============================================================ */
.bp-features {
  padding: clamp(40px, 6vw, 72px) 0;
}

.bp-features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.bp-feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bp-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: var(--accent);
  color: var(--primary);
  margin-bottom: 6px;
}

.bp-feature__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

.bp-feature__text {
  font-size: 0.86rem;
  color: var(--muted-fg);
  line-height: 1.5;
}

/* ============================================================
   Proč to děláme
   ============================================================ */
.bp-why {
  padding: clamp(40px, 6vw, 72px) 0;
}

.bp-why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  background-color: var(--muted);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
}

.bp-why__media img {
  width: 100%;
  border-radius: 18px;
}

.bp-why__content > p {
  margin-top: 14px;
  color: var(--muted-fg);
  line-height: 1.65;
}

.bp-why__title {
  margin-bottom: 6px;
}

.bp-why__list {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.bp-why__item {
  display: flex;
  gap: 14px;
}

.bp-why__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: var(--accent);
  color: var(--primary);
  flex-shrink: 0;
}

.bp-why__item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--fg);
}

.bp-why__item p {
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted-fg);
  line-height: 1.5;
}

/* ============================================================
   Jak to funguje
   ============================================================ */
.bp-steps {
  padding: clamp(40px, 6vw, 72px) 0;
}

.bp-steps__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 22px;
}

.bp-step__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bp-step__link:hover {
  color: var(--primary-dark);
}

.bp-step__link .icon {
  width: 14px;
  height: 14px;
}

.bp-step {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bp-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-fg);
  font-size: 0.85rem;
  font-weight: 700;
}

.bp-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-top: 4px;
}

.bp-step__icon .icon {
  width: 34px;
  height: 34px;
}

.bp-step__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
}

.bp-step__text {
  font-size: 0.82rem;
  color: var(--muted-fg);
  line-height: 1.5;
}

/* ============================================================
   Proč fixní cenu
   ============================================================ */
.bp-fixed {
  padding: clamp(40px, 6vw, 72px) 0;
  background-color: var(--muted);
}

.bp-fixed__lead {
  margin-top: 8px;
  font-weight: 600;
  color: var(--fg);
}

.bp-fixed__text {
  margin-top: 12px;
  max-width: 64ch;
  color: var(--muted-fg);
  line-height: 1.6;
}

.bp-fixed__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.bp-fixed__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bp-fixed__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: var(--card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 6px;
}

.bp-fixed__item h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--fg);
}

.bp-fixed__item p {
  font-size: 0.85rem;
  color: var(--muted-fg);
  line-height: 1.5;
}

/* Rovnice */
.bp-equation {
  margin-top: 40px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bp-equation__head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 260px;
  flex: 1 1 300px;
}

.bp-equation__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--border);
  color: var(--primary);
  flex-shrink: 0;
}

.bp-equation__head h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fg);
}

.bp-equation__head p {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--muted-fg);
}

.bp-equation__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bp-equation__term {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 78px;
}

.bp-equation__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--accent);
  color: var(--primary);
}

.bp-equation__icon .icon {
  fill: none;
}

.bp-equation__icon--result {
  background-color: var(--primary);
  color: var(--primary-fg);
}

.bp-equation__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg);
  text-align: center;
}

.bp-equation__op {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted-fg);
  padding-bottom: 24px;
}

.bp-equation__op:last-of-type {
  /* the "=" before the result term */
}

/* ============================================================
   V čem jsme jiní
   ============================================================ */
.bp-section-title--center {
  text-align: center;
}

.bp-diff {
  padding: clamp(40px, 6vw, 72px) 0;
}

.bp-diff__layout {
  margin-top: 40px;
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .bp-diff__layout {
    grid-template-columns: 2fr 1fr;
  }
}

.bp-diff__card {
  position: relative;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.7);
  background: var(--border);
}

@media (min-width: 640px) {
  .bp-diff__card {
    grid-template-columns: 1fr 1fr;
  }
}

.bp-diff__col {
  padding: 28px;
}

.bp-diff__col--classic {
  background: var(--muted);
}

.bp-diff__col--ours {
  background: var(--accent);
}

.bp-diff__col-title {
  margin: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted-fg);
}

.bp-diff__col--ours .bp-diff__col-title--brand {
  color: var(--accent-fg);
  font-weight: 800;
}

.bp-diff__col-title--brand span {
  color: var(--primary);
}

.bp-diff__list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 15px;
}

.bp-diff__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.bp-diff__col--classic .bp-diff__list li {
  color: var(--muted-fg);
}

.bp-diff__col--ours .bp-diff__list li {
  color: var(--fg);
}

.bp-diff__ico {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.bp-diff__ico .icon {
  width: 20px;
  height: 20px;
}

.bp-diff__ico--x {
  color: #a9aaa0;
}

.bp-diff__ico--check {
  color: var(--primary);
}

.bp-diff__vs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .bp-diff__vs {
    display: flex;
  }
}

.bp-diff__side {
  text-align: center;
}

@media (min-width: 992px) {
  .bp-diff__side {
    text-align: left;
  }
}

.bp-diff__skyline {
  height: 92px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0.8;
}

@media (min-width: 992px) {
  .bp-diff__skyline {
    margin: 0;
  }
}

.bp-diff__side-title {
  margin: 16px 0 0;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--fg);
}

.bp-diff__side-title span {
  color: var(--primary);
}

.bp-diff__side-text {
  margin: 12px 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted-fg);
}

/* ============================================================
   Je náš model pro vás
   ============================================================ */
.bp-fit {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--muted);
}

.bp-fit__grid {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}

@media (min-width: 992px) {
  .bp-fit__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.bp-fit__card {
  padding: 30px;
  border-radius: calc(var(--radius) * 1.7);
  border: 1px solid transparent;
}

.bp-fit__card--yes {
  background: var(--positive-soft);
  border-color: var(--positive-border);
}

.bp-fit__card--no {
  background: var(--negative-soft);
  border-color: var(--negative-border);
}

.bp-fit__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-fit__head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--fg);
}

.bp-fit__badge {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--card);
  color: var(--positive);
  box-shadow: var(--shadow-sm);
}

.bp-fit__badge--no {
  color: var(--negative);
}

.bp-fit__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px 24px;
}

@media (min-width: 640px) {
  .bp-fit__list {
    grid-template-columns: 1fr 1fr;
  }
}

.bp-fit__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--fg);
}

.bp-fit__ico {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.bp-fit__ico .icon {
  width: 17px;
  height: 17px;
}

.bp-fit__ico--yes {
  color: var(--positive);
}

.bp-fit__ico--no {
  color: var(--negative);
}

.bp-fit__note {
  margin: 24px 0 0;
  padding-top: 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted-fg);
}

.bp-fit__card--yes .bp-fit__note {
  border-top: 1px solid var(--positive-border);
}

.bp-fit__card--no .bp-fit__note {
  border-top: 1px solid var(--negative-border);
}

/* ============================================================
   FAQ
   ============================================================ */
.bp-faq {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--muted);
}

.bp-faq__lead {
  margin: 12px auto 0;
  max-width: 34rem;
  text-align: center;
  color: var(--muted-fg);
  line-height: 1.6;
}

.bp-faq__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bp-faq__item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.bp-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.15s ease;
}

.bp-faq__q::-webkit-details-marker {
  display: none;
}

.bp-faq__q:hover {
  background: var(--secondary);
}

.bp-faq__chevron {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.bp-faq__chevron .icon {
  width: 20px;
  height: 20px;
}

.bp-faq__item[open] .bp-faq__chevron {
  transform: rotate(180deg);
}

.bp-faq__a {
  padding: 0 20px 20px;
  color: var(--muted-fg);
  line-height: 1.65;
}

/* ============================================================
   Reference
   ============================================================ */
.bp-testimonials {
  padding: clamp(40px, 6vw, 72px) 0;
}

.bp-testimonials__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.bp-testimonial {
  position: relative;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
}

.bp-testimonial__quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  font-weight: 800;
  display: block;
  height: 26px;
  overflow: hidden;
}

.bp-testimonial .bp-stars {
  margin: 6px 0 12px;
}

.bp-testimonial__text {
  color: var(--fg);
  line-height: 1.6;
  font-size: 0.95rem;
}

.bp-testimonial__author {
  margin-top: 16px;
  font-weight: 700;
  color: var(--fg);
  font-size: 0.9rem;
}

/* ============================================================
   CTA band
   ============================================================ */
.bp-cta {
  padding: clamp(40px, 6vw, 72px) 0;
}

/* When the reference section directly precedes the contact section, avoid
   doubling the vertical gap between them. */
.bp-testimonials + .bp-cta {
  padding-top: 0;
}

.bp-contact__inner {
  background-color: var(--accent);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
}

.bp-contact__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .bp-contact__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.bp-cta__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--fg);
}

.bp-cta__text {
  margin-top: 8px;
  color: var(--accent-fg);
  line-height: 1.6;
}

/* Agent photo above the phone number */
.bp-contact__agent {
  margin-top: 28px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.bp-contact__agent-photo {
  height: 112px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(45, 55, 40, 0.12));
}

.bp-contact__agent-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 6px;
}

.bp-contact__agent-title {
  font-weight: 700;
  color: var(--accent-fg);
}

.bp-contact__agent-note {
  font-size: 0.85rem;
  color: var(--accent-fg);
  opacity: 0.75;
}

/* Direct contact methods */
.bp-contact__methods {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bp-contact__method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  transition: background-color 0.15s ease;
}

.bp-contact__method:hover {
  background: var(--bg);
}

.bp-contact__method-ico {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
}

.bp-contact__method-ico .icon {
  width: 20px;
  height: 20px;
}

.bp-contact__method-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.bp-contact__method-label {
  font-size: 0.78rem;
  color: var(--accent-fg);
}

.bp-contact__method-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
}

/* Contact form */
.bp-contact__form {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

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

.bp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.bp-field:last-of-type {
  margin-bottom: 20px;
}

.bp-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
}

.bp-field input,
.bp-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  padding: 11px 12px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--fg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bp-field input:focus,
.bp-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.bp-field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}

.bp-field-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 520px) {
  .bp-field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.bp-contact__submit {
  width: 100%;
  justify-content: center;
}

.bp-contact__note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.bp-contact__note--ok {
  background: var(--positive-soft);
  color: var(--positive);
}

.bp-contact__note--err {
  background: var(--negative-soft);
  color: var(--negative);
}

/* ============================================================
   Footer
   ============================================================ */
.bp-footer {
  background-color: var(--muted);
  border-top: 1px solid var(--border);
}

.bp-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.bp-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bp-footer__logo-icon {
  color: var(--primary);
}

.bp-footer__name {
  font-weight: 800;
  color: var(--fg);
}

.bp-footer__contact {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.bp-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-fg);
  font-size: 0.9rem;
}

.bp-footer__contact a:hover {
  color: var(--primary);
}

.bp-footer__contact .icon {
  width: 18px;
  height: 18px;
}

.bp-footer__social {
  display: flex;
  gap: 12px;
}

.bp-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-fg);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.bp-footer__social a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.bp-footer__social .icon {
  width: 18px;
  height: 18px;
}

.bp-footer__legal {
  border-top: 1px solid var(--border);
}

.bp-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 24px 0;
}

.bp-footer__operator {
  max-width: 40rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted-fg);
}

.bp-footer__operator-title {
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
}

.bp-footer__operator p {
  margin: 0;
}

.bp-footer__legal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
}

.bp-footer__legal-links a {
  color: var(--muted-fg);
  text-decoration: none;
}

.bp-footer__legal-links a:hover {
  color: var(--fg);
}

@media (min-width: 640px) {
  .bp-footer__legal-links {
    flex-direction: row;
    gap: 20px;
  }
}

.bp-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.bp-footer__bottom p {
  font-size: 0.82rem;
  color: var(--muted-fg);
  text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .bp-features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 24px;
  }

  .bp-steps__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 22px;
  }

  .bp-fixed__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .bp-nav,
  .bp-header__cta {
    display: none;
  }

  .bp-nav-toggle {
    display: flex;
  }

  .bp-nav.is-open {
    display: block;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    margin: 0;
    padding: 16px 20px;
  }

  .bp-nav.is-open .bp-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .bp-hero__grid,
  .bp-why__grid {
    grid-template-columns: 1fr;
  }

  .bp-why__media {
    order: -1;
  }

  .bp-price-card {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .bp-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .bp-equation {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .bp-steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-fixed__grid,
  .bp-why__list {
    grid-template-columns: 1fr;
  }

  .bp-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==================== Cookie bar ==================== */
.bp-cookiebar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(20, 30, 20, 0.16);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bp-cookiebar.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bp-cookiebar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 16px 20px;
}

.bp-cookiebar__text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted-fg);
}

.bp-cookiebar__text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bp-cookiebar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bp-cookiebar__btn {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 18px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--fg);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bp-cookiebar__btn--ghost:hover {
  border-color: var(--fg);
}

.bp-cookiebar__btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-fg);
}

.bp-cookiebar__btn--primary:hover {
  filter: brightness(0.95);
}

@media (min-width: 720px) {
  .bp-cookiebar {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 640px;
  }
}

/* ==================== Odhad nemovitosti – sekce ==================== */
.bp-valuation {
  padding: 56px 0;
}

.bp-valuation__box {
  background: var(--accent);
  border-radius: 24px;
  padding: 32px 24px;
}

.bp-valuation__head {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.bp-valuation__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.bp-valuation__eyebrow .icon {
  width: 15px;
  height: 15px;
}

.bp-valuation__title {
  margin: 14px 0 0;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-fg);
}

.bp-valuation__intro {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--accent-fg) 82%, transparent);
}

.bp-valuation__points {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  max-width: 880px;
  display: grid;
  gap: 16px;
}

.bp-valuation__point {
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border-radius: 16px;
  padding: 20px;
}

.bp-valuation__point-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
}

.bp-valuation__point-ico .icon {
  width: 20px;
  height: 20px;
}

.bp-valuation__point-title {
  display: block;
  margin-top: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--fg);
}

.bp-valuation__point-text {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted-fg);
}

.bp-valuation__cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.bp-valuation__footnote {
  margin: 0;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--accent-fg) 75%, transparent);
}

@media (min-width: 720px) {
  .bp-valuation__box {
    padding: 48px;
  }

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

/* ==================== Odhad nemovitosti – formulářová stránka ==================== */
.bp-valuation-page {
  padding-top: 48px;
  padding-bottom: 64px;
}

.bp-valuation-page__head {
  text-align: center;
  margin-bottom: 36px;
}

.bp-valuation-page__intro {
  margin: 12px auto 0;
  max-width: 560px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted-fg);
}

.bp-valuation-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 8px 30px rgba(20, 30, 20, 0.06);
}

.bp-valuation-form__group {
  border: 0;
  margin: 0 0 28px;
  padding: 0;
}

.bp-valuation-form__group:last-of-type {
  margin-bottom: 24px;
}

.bp-valuation-form__legend {
  padding: 0;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-fg);
}

.bp-valuation-form .bp-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  padding: 11px 12px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--fg);
}

.bp-valuation-form .bp-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.bp-field-row--three {
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .bp-field-row--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bp-valuation-form__submit {
  width: 100%;
  justify-content: center;
}

.bp-valuation-form__consent {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--muted-fg);
}

@media (min-width: 720px) {
  .bp-valuation-form {
    padding: 36px 32px;
  }
}

/* ==================== Statické stránky (GDPR, reklamace apod.) ==================== */
.bp-main {
  min-height: 50vh;
}

.bp-page {
  max-width: 768px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.bp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--muted-fg);
  text-decoration: none;
  transition: color 0.15s ease;
}

.bp-back-link:hover {
  color: var(--fg);
}

.bp-back-link .icon {
  width: 16px;
  height: 16px;
}

.bp-page__title {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
}

@media (min-width: 640px) {
  .bp-page__title {
    font-size: 2.35rem;
  }
}

/* Typografie obsahu stránky (odpovídá „legal-prose“ v Next.js verzi) */
.bp-post__content {
  margin-top: 32px;
}

.bp-post__content > *:first-child {
  margin-top: 0;
}

.bp-post__content h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
}

.bp-post__content h3 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--fg);
}

.bp-post__content p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted-fg);
}

.bp-post__content ul,
.bp-post__content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.bp-post__content ul {
  list-style: disc;
}

.bp-post__content ol {
  list-style: decimal;
}

.bp-post__content li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-fg);
}

.bp-post__content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bp-post__content a:hover {
  color: var(--primary-dark);
}

.bp-post__content strong {
  color: var(--fg);
  font-weight: 600;
}

/* ==================== Děkovací stránka (potvrzení odeslání) ==================== */
.bp-thankyou {
  max-width: 640px;
  padding-top: 72px;
  padding-bottom: 96px;
  text-align: center;
}

.bp-thankyou__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
}

.bp-thankyou__icon .icon {
  width: 32px;
  height: 32px;
}

.bp-thankyou__title {
  margin: 24px 0 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
}

@media (min-width: 640px) {
  .bp-thankyou__title {
    font-size: 2.35rem;
  }
}

.bp-thankyou__text {
  margin: 16px auto 0;
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted-fg);
}

.bp-thankyou__actions {
  margin-top: 32px;
}

/* ==================== Přístupnost & výkon ==================== */

/* Skip link – skrytý dokud nedostane focus (klávesnice). */
.bp-skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.bp-skip-link:focus {
  top: 12px;
  outline: 2px solid var(--primary-fg);
  outline-offset: 2px;
}

/* Viditelný focus stav pro klávesnici (bez zásahu do myší interakce). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Obrázky se nikdy nepřetečou a drží svůj poměr stran (prevence CLS). */
img,
picture,
svg,
video {
  max-width: 100%;
  height: auto;
}

/* Respektuj systémové omezení pohybu. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==================== Drobečková navigace ==================== */
.bp-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--muted-fg);
}

.bp-breadcrumbs a {
  color: var(--muted-fg);
  text-decoration: none;
}

.bp-breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.bp-breadcrumbs__sep {
  color: var(--border);
}

.bp-breadcrumbs__current {
  color: var(--fg);
  font-weight: 500;
}

/* ==================== SEO CTA v obsahu stránky ==================== */
.bp-seo-cta {
  margin-top: 32px;
}

/* Přebít prose styl odkazů, aby tlačítko mělo správný kontrast a nebylo podtržené. */
.bp-post__content .bp-seo-cta a.bp-btn--primary {
  color: var(--primary-fg);
  text-decoration: none;
}

.bp-post__content .bp-seo-cta a.bp-btn--primary:hover {
  color: var(--primary-fg);
}

/* ==================== Patička – užitečné odkazy ==================== */
.bp-footer__sitemap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bp-footer__sitemap-title {
  margin: 0 0 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.bp-footer__sitemap a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  font-size: 0.9rem;
}

.bp-footer__sitemap a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ==================== 404 ==================== */
.bp-404__code {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary);
}

.bp-404__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 28px;
}

.bp-404__links a {
  color: var(--primary);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
