/* =========================================================
   Realitní Jakub — styly
   Barvy: modrá #1F5FD1, žlutá #FFC72C, námořnická #0B1F4A,
          krémová #FFFDF7 / #FFF4D1
   Písma: Bricolage Grotesque (nadpisy), DM Sans (text)
   ========================================================= */

:root {
  --blue: #1F5FD1;
  --blue-light: #E8F0FF;
  --yellow: #FFC72C;
  --yellow-dark: #E8A800;
  --yellow-hover: #FFD75E;
  --navy: #0B1F4A;
  --cream: #FFFDF7;
  --cream-yellow: #FFF4D1;
  --white: #FFFFFF;
  --text: #3B4A68;
  --muted: #6B7894;
  --border: #EFE8D6;
  --border-yellow: #EFE2BC;
  --star: #FFB800;

  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --section-y: 112px;
  --h2: 48px;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--navy); }

h1, h2, h3, p, blockquote, ul, ol { margin: 0; }

button, input, textarea { font-family: var(--font-body); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}
.btn--lg { font-size: 17px; padding: 17px 32px; }
.btn--sm { font-size: 15px; padding: 13px 26px; }

.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 4px 0 var(--yellow-dark); }
.btn--yellow:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 0 var(--yellow-dark); }
.btn--yellow.btn--lg { box-shadow: 0 5px 0 var(--yellow-dark); }
.btn--yellow.btn--lg:hover { box-shadow: 0 7px 0 var(--yellow-dark); }

.btn--outline { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.btn--outline.btn--lg { padding: 15px 30px; }
.btn--outline.btn--sm { padding: 11px 24px; background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--navy { background: var(--navy); color: var(--white); font-size: 16px; padding: 14px 26px; }
.btn--navy:hover { background: var(--blue); color: var(--white); }

.btn--blue { background: var(--blue); color: var(--white); padding: 18px 32px; box-shadow: 0 5px 0 var(--navy); }
.btn--blue:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--navy); }

/* ---------- Horní lišta ---------- */
.topbar { background: var(--navy); font-size: 13px; color: var(--white); }
.topbar__inner {
  padding-top: 9px;
  padding-bottom: 9px;
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
}
.topbar__claim { color: var(--yellow); font-weight: 600; }
.topbar__contacts { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar__contacts a { color: var(--white); }
.topbar__contacts a:hover { color: var(--yellow); }

/* ---------- Hlavička ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; color: var(--navy); flex-shrink: 0; }
.logo:hover { color: var(--navy); }
.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--blue);
  box-shadow: inset 0 -4px 0 var(--yellow-dark);
  flex-shrink: 0;
}
.logo__text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo__text span { color: var(--blue); }

.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--navy); }
.nav a:hover { color: var(--blue); }
.nav .nav__cta { display: none; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Společné sekce ---------- */
.section { padding: var(--section-y) 0; }
.section--cream { background: var(--cream); }
.section--yellow { background: var(--cream-yellow); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; margin-bottom: 64px; }
.section-head--lg { margin-bottom: 72px; }
.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.eyebrow { color: var(--blue); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.eyebrow--yellow { color: var(--yellow); }

.h2 {
  font-family: var(--font-head);
  font-size: var(--h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.text { font-size: 17px; line-height: 1.7; color: var(--text); }

.stars { color: var(--star); letter-spacing: 2px; font-size: 17px; }

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

.link-arrow { font-weight: 700; font-size: 16px; color: var(--blue); }
.link-arrow:hover { color: var(--navy); }

/* Prázdné místo pro fotku — nahraďte za <img> */
.photo-slot,
.property__media > img,
.sold__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background-color: #F2F1EF;
  background-image: repeating-linear-gradient(135deg, rgba(11, 31, 74, 0.035) 0 12px, transparent 12px 24px);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero__inner {
  padding-top: 72px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

.hero__title {
  font-family: var(--font-head);
  font-size: 64px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.hero__title span { color: var(--blue); }

.hero__lead { font-size: 19px; line-height: 1.6; color: var(--text); margin-bottom: 36px; max-width: 500px; }

.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero__trust {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.hero__rating { display: flex; align-items: center; gap: 10px; }
.hero__rating .stars { font-size: 18px; }
.hero__divider { width: 1px; height: 24px; background: #E2D9C3; }

.hero__visual { position: relative; height: 560px; }
.hero__circle {
  position: absolute;
  right: -60px;
  top: 20px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: var(--yellow);
}
.hero__square {
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: var(--blue);
  transform: rotate(12deg);
}
.hero__photo {
  position: absolute;
  left: 40px;
  right: 0;
  top: 40px;
  bottom: 30px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(11, 31, 74, 0.22);
  border: 6px solid var(--white);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }

.hero__bubble {
  position: absolute;
  left: -24px;
  top: 90px;
  background: var(--white);
  border-radius: 22px 22px 22px 6px;
  padding: 16px 20px;
  box-shadow: 0 16px 36px rgba(11, 31, 74, 0.16);
  max-width: 220px;
  animation: jakubFloat 5s ease-in-out infinite;
}
.hero__bubble-title { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--navy); }
.hero__bubble-text { font-size: 14px; color: var(--text); margin-top: 4px; line-height: 1.45; }

@keyframes jakubFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

.hero__badge {
  position: absolute;
  right: 16px;
  bottom: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 36px rgba(11, 31, 74, 0.25);
}
.hero__badge-num { font-family: var(--font-head); font-weight: 800; font-size: 32px; color: var(--yellow); line-height: 1; }
.hero__badge-text { font-size: 13px; line-height: 1.35; }

/* ---------- Čísla ---------- */
.stats { background: var(--blue); color: var(--white); }
.stats__grid {
  padding-top: 52px;
  padding-bottom: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 15px; font-weight: 500; margin-top: 10px; }

/* ---------- Služby ---------- */
.service-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 28px;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, opacity 0.7s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(11, 31, 74, 0.10); border-color: var(--yellow); }
.service-card__num {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}
.service-card__title { font-family: var(--font-head); font-size: 28px; font-weight: 800; }
.service-card__text { font-size: 16px; line-height: 1.65; color: var(--text); flex: 1; }

/* ---------- Proces ---------- */
.process { position: relative; }
.process__line {
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  border-top: 3px dashed #E8C766;
}
.process__steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.step { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.step__body { display: flex; flex-direction: column; gap: 14px; }
.step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  flex-shrink: 0;
}
.step--final .step__num { background: var(--yellow); border-color: var(--navy); color: var(--navy); }
.step__title { font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.step__text { font-size: 15px; line-height: 1.55; color: var(--text); }

/* ---------- O nás ---------- */
.about { overflow: hidden; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__visual { position: relative; }
.about__shape {
  position: absolute;
  left: -28px;
  bottom: -28px;
  width: 70%;
  height: 70%;
  border-radius: 36px;
  background: var(--blue);
}
.about__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 36px;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 24px 48px rgba(11, 31, 74, 0.16);
}
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.about__title { line-height: 1.05; margin-bottom: 24px; }
.about__content .text { margin-bottom: 18px; }
.about__content .text + .text { margin-bottom: 28px; }
.quote {
  background: var(--cream-yellow);
  border-radius: 22px;
  padding: 22px 26px;
  margin-bottom: 32px;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}
.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 17px; }
.check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Nabídka ---------- */
.property {
  border: 2px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.7s ease;
}
.property:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(11, 31, 74, 0.10); }
.property__media { height: 230px; position: relative; }
.property__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
}
.property__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.property__price { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--blue); }
.property__title { font-weight: 700; font-size: 17px; }
.property__place { font-size: 15px; color: var(--text); }

/* ---------- Reference / slider ---------- */
.slider-nav { display: flex; gap: 12px; }
.slider-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.slider-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.slider-btn--next { border-color: var(--yellow); background: var(--yellow); color: var(--navy); }
.slider-btn--next:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }

.slider { --per-view: 3; --gap: 28px; overflow: hidden; touch-action: pan-y; }
.slider__track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.5s ease;
  will-change: transform;
}
.review {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  background: var(--white);
  color: var(--navy);
  border-radius: 28px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
  user-select: none;
}
.review__text { font-size: 16px; line-height: 1.65; color: var(--text); flex: 1; }
.review__footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.review__name { font-weight: 700; font-size: 16px; }
.review__source { font-size: 14px; color: var(--muted); }
.review__logo { display: flex; align-items: center; padding: 6px 10px; border-radius: 10px; background: var(--white); flex-shrink: 0; }
.review__logo--dark { background: var(--navy); }
.review__logo img { height: 24px; width: auto; display: block; pointer-events: none; }

.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.3s, background 0.3s;
}
.slider__dot.is-active { width: 32px; background: var(--yellow); }

/* ---------- Nedávno prodáno ---------- */
.sold { border-radius: 28px; overflow: hidden; background: var(--white); border: 2px solid var(--border); }
.sold__media { height: 240px; position: relative; }
.sold__stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 999px;
  transform: rotate(4deg);
  box-shadow: 0 4px 0 var(--yellow-dark);
  pointer-events: none;
}
.sold__body { padding: 22px 26px; }
.sold__title { font-weight: 700; font-size: 17px; }
.sold__meta { font-size: 15px; color: var(--text); margin-top: 4px; }

/* ---------- Portály ---------- */
.portals { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.portals__inner { padding-top: 60px; padding-bottom: 60px; text-align: center; }
.portals__title { font-family: var(--font-head); font-size: 22px; font-weight: 800; margin-bottom: 32px; }
.portals__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px 56px;
  flex-wrap: wrap;
  opacity: 0.7;
  filter: grayscale(1);
}
.portals__logos img { height: 40px; width: auto; display: block; }
.portals__logos .portals__logo--lg { height: 44px; }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.faq__intro { position: sticky; top: 120px; }
.faq__title { line-height: 1.05; margin-bottom: 20px; }
.faq__intro .text { line-height: 1.65; margin-bottom: 28px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 0 28px;
  transition: border-color 0.2s, opacity 0.7s ease, transform 0.7s ease;
}
.faq-item[open] { border-color: var(--yellow); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item p { font-size: 16px; line-height: 1.7; color: var(--text); padding-bottom: 24px; }

/* ---------- Kontakt ---------- */
.contact {
  background: var(--cream-yellow);
  border-radius: 40px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.contact__title { font-size: 46px; line-height: 1.05; margin-bottom: 16px; text-wrap: pretty; }
.contact__lead { font-size: 18px; line-height: 1.6; color: var(--text); margin-bottom: 36px; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input,
.form textarea {
  width: 100%;
  background: var(--white);
  border: 2px solid var(--border-yellow);
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 16px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.15s;
}
.form textarea { resize: vertical; }
.form input::placeholder,
.form textarea::placeholder { color: var(--muted); }
.form input:focus,
.form textarea:focus { border-color: var(--blue); }
.form .is-invalid { border-color: #D93A3A; }
.form__note { font-size: 13px; color: var(--muted); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { font-size: 15px; line-height: 1.5; font-weight: 600; color: #B32626; }
.form__error[hidden] { display: none; }
.form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.form-success {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 22px;
  padding: 32px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
}
.form-success[hidden] { display: none; }

.contact-card {
  background: var(--white);
  border-radius: 30px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.contact-card__avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 4px solid var(--yellow); flex-shrink: 0; }
.contact-card__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
.contact-card__title { font-family: var(--font-head); font-size: 26px; font-weight: 800; }
.contact-card__sub { font-size: 15px; color: var(--text); margin-top: 4px; }
.contact-card__links { display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.contact-card__phone { color: var(--navy); font-weight: 700; }
.contact-card__phone:hover { color: var(--blue); }
.contact-card__mail { color: var(--blue); font-weight: 600; word-break: break-word; }
.contact-card__mail:hover { color: var(--navy); }
.contact-card__hours { border-top: 2px dashed var(--border-yellow); padding-top: 18px; font-size: 15px; line-height: 1.7; color: var(--text); width: 100%; }

/* ---------- Patička ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); }
.footer__grid {
  padding-top: 72px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.logo--footer .logo__mark { box-shadow: none; }
.logo--footer .logo__text { color: var(--white); }
.logo--footer .logo__text span { color: var(--yellow); }
.footer__brand p { font-size: 16px; line-height: 1.7; margin-top: 18px; max-width: 290px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.footer__heading { font-weight: 700; color: var(--yellow); margin-bottom: 4px; }
.footer a { color: rgba(255, 255, 255, 0.75); }
.footer a:hover { color: var(--yellow); }
.footer__bottom {
  margin-top: 32px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom .footer__links a { color: rgba(255, 255, 255, 0.5); }
.footer__bottom .footer__links a:hover { color: var(--yellow); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* karty s hover posunem — po odhalení vrátit rychlý hover */
.js .service-card.reveal-done,
.js .property.reveal-done { transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, opacity 0.7s ease; }
.js .service-card.reveal-done:hover,
.js .property.reveal-done:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__bubble { animation: none; }
  .slider__track { transition: none; }
}

/* =========================================================
   Responzivita
   ========================================================= */

/* Velké monitory — mírně větší obsah */
@media (min-width: 1600px) {
  :root { --container: 1280px; }
}

/* Menší notebooky */
@media (max-width: 1200px) {
  .hero__title { font-size: 56px; }
  .hero__circle { width: 400px; height: 400px; right: -40px; }
  .nav { gap: 22px; }
}

/* Tablet na šířku */
@media (max-width: 1024px) {
  :root { --section-y: 96px; --h2: 42px; }

  .header__cta { display: none; }
  .burger { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px rgba(11, 31, 74, 0.12);
    font-size: 18px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav .nav__cta { display: inline-flex; margin-top: 20px; border-bottom: none; padding: 16px 24px; font-size: 17px; }

  .hero__inner { gap: 40px; padding-top: 56px; padding-bottom: 80px; }
  .hero__title { font-size: 48px; }
  .hero__lead { font-size: 18px; }
  .hero__visual { height: 480px; }
  .hero__circle { width: 340px; height: 340px; }

  .stat__num { font-size: 48px; }

  .grid-3 { gap: 20px; }
  .service-card { padding: 32px 26px; }
  .service-card__title { font-size: 24px; }

  .process__steps { gap: 16px; }

  .about__inner { gap: 56px; }

  .slider { --per-view: 2; --gap: 20px; }

  .faq { gap: 48px; }

  .contact { padding: 48px; gap: 40px; }
  .contact__title { font-size: 40px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Tablet na výšku */
@media (max-width: 860px) {
  :root { --section-y: 80px; --h2: 38px; }

  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
  .hero__content { text-align: left; }
  .hero__title { font-size: 52px; }
  .hero__lead { max-width: 560px; }
  .hero__visual { height: 520px; max-width: 560px; width: 100%; margin: 0 auto; }
  .hero__circle { width: 400px; height: 400px; right: -40px; }
  .hero__bubble { left: 0; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; padding-top: 48px; padding-bottom: 48px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .property:last-child:nth-child(odd) .property__media,
  .sold:last-child:nth-child(odd) .sold__media { height: 300px; }

  /* Proces — svislá časová osa */
  .process { max-width: 560px; margin: 0 auto; }
  .process__line { top: 32px; bottom: 32px; left: 31px; right: auto; border-top: none; border-left: 3px dashed #E8C766; }
  .process__steps { grid-template-columns: 1fr; gap: 28px; }
  .step { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; }
  .step__body { gap: 6px; padding-top: 8px; }
  .step__title { font-size: 20px; }

  .about__inner { grid-template-columns: 1fr; gap: 64px; }
  .about__visual { max-width: 460px; width: 100%; margin: 0 auto 0 28px; }

  .faq { grid-template-columns: 1fr; gap: 36px; }
  .faq__intro { position: static; }

  .contact { grid-template-columns: 1fr; }
  .contact-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
  .contact-card__hours { flex-basis: 100%; }
}

/* Mobil */
@media (max-width: 640px) {
  :root { --gutter: 20px; --section-y: 64px; --h2: 32px; }

  html { scroll-padding-top: 72px; }

  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__contacts { gap: 8px 20px; justify-content: center; }

  .header__inner { padding-top: 12px; padding-bottom: 12px; }
  .logo__mark { width: 40px; height: 40px; font-size: 22px; }
  .logo__text { font-size: 20px; }

  .section-head,
  .section-head--center { margin-bottom: 40px; }
  .section-head--lg { margin-bottom: 44px; }

  .pill { font-size: 13px; padding: 7px 14px; margin-bottom: 20px; }
  .hero__inner { padding-top: 36px; padding-bottom: 56px; gap: 40px; }
  .hero__title { font-size: 40px; line-height: 1.05; margin-bottom: 20px; }
  .hero__lead { font-size: 17px; margin-bottom: 28px; }
  .hero__buttons { flex-direction: column; margin-bottom: 32px; }
  .hero__buttons .btn { width: 100%; }
  .hero__divider { display: none; }
  .hero__trust { flex-direction: column; align-items: flex-start; gap: 8px; }

  .hero__visual { height: 400px; }
  .hero__circle { width: 300px; height: 300px; right: -50px; top: 10px; }
  .hero__square { width: 88px; height: 88px; border-radius: 22px; left: 0; }
  .hero__photo { left: 20px; top: 30px; bottom: 26px; border-radius: 30px; border-width: 5px; }
  .hero__bubble { left: -6px; top: 56px; padding: 12px 16px; max-width: 190px; border-radius: 18px 18px 18px 6px; }
  .hero__bubble-title { font-size: 16px; }
  .hero__bubble-text { font-size: 13px; }
  .hero__badge { right: 8px; padding: 12px 16px; border-radius: 16px; gap: 12px; }
  .hero__badge-num { font-size: 28px; }
  .hero__badge-text { font-size: 12px; }

  .stats__grid { gap: 32px 16px; padding-top: 44px; padding-bottom: 44px; }
  .stat__num { font-size: 42px; }
  .stat__label { font-size: 14px; }

  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .property__media,
  .property:last-child:nth-child(odd) .property__media { height: 220px; }
  .sold__media,
  .sold:last-child:nth-child(odd) .sold__media { height: 220px; }
  .service-card { padding: 30px 24px; gap: 14px; border-radius: 24px; }
  .service-card__num { width: 54px; height: 54px; font-size: 20px; border-radius: 16px; }
  .property, .sold { border-radius: 24px; }
  .property__body { padding: 20px 22px 24px; }
  .property__price { font-size: 24px; }
  .sold__body { padding: 20px 22px; }

  .process__line { left: 27px; }
  .step { gap: 16px; }
  .step__num { width: 56px; height: 56px; font-size: 22px; }
  .step__body { padding-top: 4px; }
  .step__title { font-size: 18px; }

  .about__inner { gap: 52px; }
  .about__visual { margin: 0 0 0 20px; width: calc(100% - 20px); }
  .about__shape { left: -20px; bottom: -20px; border-radius: 28px; }
  .about__photo { border-radius: 28px; border-width: 5px; }
  .text { font-size: 16px; }
  .quote { font-size: 19px; padding: 20px 22px; border-radius: 20px; }
  .checklist li { font-size: 16px; }

  .section-head--split { align-items: flex-start; }
  .slider { --per-view: 1; --gap: 16px; }
  .slider-btn { width: 48px; height: 48px; font-size: 18px; }
  .review { padding: 28px 24px; min-height: 0; border-radius: 24px; }
  .slider__dots { margin-top: 28px; }

  .portals__inner { padding-top: 48px; padding-bottom: 48px; }
  .portals__title { font-size: 20px; margin-bottom: 28px; }
  .portals__logos { gap: 24px 36px; }
  .portals__logos img { height: 30px; }
  .portals__logos .portals__logo--lg { height: 34px; }

  .faq-item { padding: 0 20px; border-radius: 18px; }
  .faq-item summary { font-size: 16px; padding: 18px 0; }
  .faq-item__icon { width: 30px; height: 30px; }
  .faq-item p { font-size: 15px; padding-bottom: 20px; }

  #kontakt .container { padding-left: 12px; padding-right: 12px; }
  .contact { padding: 36px 20px; border-radius: 28px; gap: 28px; }
  .contact__title { font-size: 32px; }
  .contact__lead { font-size: 17px; margin-bottom: 28px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; white-space: normal; }
  .form-success { padding: 24px; font-size: 17px; }
  .contact-card { padding: 28px 22px; border-radius: 24px; flex-direction: column; align-items: flex-start; }
  .contact-card__avatar { width: 96px; height: 96px; }
  .contact-card__title { font-size: 24px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-top: 56px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Malé telefony */
@media (max-width: 380px) {
  :root { --gutter: 16px; --h2: 29px; }
  .logo__text { font-size: 18px; }
  .logo { gap: 10px; }
  .hero__title { font-size: 34px; }
  .hero__visual { height: 350px; }
  .hero__circle { width: 250px; height: 250px; }
  .hero__bubble { max-width: 165px; }
  .stat__num { font-size: 36px; }
  .contact__title { font-size: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Samostatné stránky (404, děkujeme) ---------- */
.simple-page { min-height: 100vh; display: flex; align-items: center; }
.simple-page__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-width: 640px; }
.simple-page__inner .logo { margin-bottom: 16px; }
