/* === HOME — ÚVODNÍ STRÁNKA === */

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 70svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(24,39,77,.88) 0%, rgba(24,39,77,.65) 42%, rgba(24,39,77,.18) 72%, transparent 100%),
    linear-gradient(to top, rgba(24,39,77,.92) 0%, rgba(24,39,77,.40) 38%, transparent 68%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(40px, 5vh, 64px);
  padding-top: 100px; /* clearance nad nav */
  display: flex;
  align-items: flex-end;
  gap: 64px;
}

.hero-text {
  max-width: min(680px, 52vw);
  flex-shrink: 0;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.2vw, 78px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 strong {
  font-weight: 700;
  color: var(--lime);
}

.hero-sub {
  font-size: clamp(16px, 1.2vw, 18px);
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-tel {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}
.hero-tel:hover { color: var(--lime); }



/* --- PROOF BAR (pod hero) --- */
.proof-bar {
  background: var(--navy);
  padding-block: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.proof-bar-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.proof-item__icon {
  width: 20px;
  height: 20px;
  color: var(--lime);
  flex-shrink: 0;
}
.proof-item__text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.90);
}
.proof-item__text strong {
  color: #fff;
  font-weight: 700;
}

.proof-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.18);
}

/* --- MAPA PRODANÝCH --- */
/* === MAP SECTION === */
.map-section {
  background: #070e1b;
}
.map-section h2 {
  text-align: center;
  margin-bottom: 12px;
  color: #fff;
}
.map-section .section-label {
  text-align: center;
  color: rgba(255,255,255,.52);
}
.map-section .accent-line {
  background: var(--lime);
  margin-inline: auto;
}

.map-wrap {
  position: relative;
  margin-top: 48px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05);
}

#prodane-mapa {
  width: 100%;
  max-width: 100%;
  display: block;
}

.map-dot { cursor: pointer; }

/* Branches bar */
.map-branches {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.07);
}
.map-branch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.60);
}
.map-branch-text {
  display: flex;
  align-items: center;
  gap: 6px;
}
.map-branch strong {
  color: rgba(255,255,255,.82);
  font-weight: 600;
}
.map-branch span {
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
}
.map-branch-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.12);
  margin-inline: 16px;
}

/* Tooltip */
.map-tooltip {
  position: fixed;
  background: #fff;
  color: var(--navy);
  padding: 8px 14px 8px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  opacity: 0;
  transition: opacity .15s;
  z-index: 100;
  border-left: 3px solid var(--lime);
}
.map-tooltip.visible { opacity: 1; }

/* --- NABÍDKA KARET --- */
.estates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.estate-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}
.estate-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

.estate-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-warm);
  position: relative;
}
.estate-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.estate-card:hover .estate-card__img img { transform: scale(1.04); }

.estate-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  background: rgba(24,39,77,.85);
  color: #fff;
}

.estate-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.estate-card__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 6px;
}
.estate-card__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}
.estate-card__loc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.estates-cta {
  text-align: center;
  margin-top: 40px;
}

/* --- PROČ S NÁMI --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  margin-top: 48px;
}

.why-item {
  display: flex;
  gap: 20px;
}
.why-item__num {
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--lime);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.why-item__body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.why-item__body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- RECENZE --- */
.reviews-section { background: var(--bg-warm); }

.reviews-hero-quote {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 56px;
}
.reviews-hero-quote blockquote {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--navy);
  font-style: normal;
  position: relative;
  padding: 0 20px;
}
.reviews-hero-quote blockquote::before {
  content: '\201C';
  font-size: 5rem;
  line-height: .8;
  color: var(--lime);
  position: absolute;
  top: -10px;
  left: -16px;
  font-weight: 700;
}
.reviews-hero-quote cite {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .10em;
  font-style: normal;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.review-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.review-card__stars {
  color: var(--lime);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.review-card blockquote {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  font-style: normal;
}
.review-card cite {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.review-card__source {
  font-size: 11px;
  color: var(--lime);
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-top: 4px;
}

.reviews-verify {
  text-align: center;
  margin-top: 32px;
}
.reviews-verify a {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid var(--lime);
  padding-bottom: 2px;
}

/* --- TÝM --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.agent-card {
  text-align: center;
}
.agent-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  margin-bottom: 16px;
  background: var(--bg-warm);
}
.agent-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.agent-card__role {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.agent-card__loc {
  font-size: 12px;
  color: var(--lime);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.agent-card__tel {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  display: inline-block;
  border-bottom: 1px solid var(--lime);
  padding-bottom: 1px;
  transition: color .15s;
}
.agent-card__tel:hover { color: var(--lime); }

/* --- ODHAD FORMULÁŘ --- */
.estimate-section { background: var(--navy); }
.estimate-section h2 { color: #fff; margin-bottom: 12px; }
.estimate-section .section-label { color: rgba(255,255,255,.55); }
.estimate-section .accent-line { background: var(--lime); }

.estimate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

.estimate-intro p {
  color: rgba(255,255,255,.85);
  font-size: 17px;
  line-height: 1.65;
  max-width: 48ch;
  margin-bottom: 32px;
}

.estimate-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.estimate-contact a {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.estimate-contact a:hover { color: var(--lime); }
.estimate-contact svg { width: 18px; height: 18px; opacity: .7; }

/* Formulář */
.estimate-form {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 36px;
}

.form-step { display: none; }
.form-step.active { display: block; }

.form-step__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 24px;
}

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

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  height: 48px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 0 16px;
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  transition: border-color .18s;
}
.form-field textarea { height: auto; padding-top: 12px; resize: vertical; }
.form-field input:focus,
.form-field select:focus { border-color: var(--lime); outline: none; }
.form-field select option { background: var(--navy); color: #fff; }
.form-field input::placeholder { color: rgba(255,255,255,.38); }

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
}
.form-consent input[type=checkbox] { margin-top: 3px; flex-shrink: 0; }
.form-consent label {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.form-consent a { color: var(--lime); text-decoration: underline; }

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  align-items: center;
}

.form-progress {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
}

/* Děkovná zpráva */
.form-thanks {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-thanks h3 { color: #fff; margin-bottom: 12px; }
.form-thanks p { color: rgba(255,255,255,.75); }

/* --- PATIČKA --- */
footer {
  background: #0f1a35;
  padding-block: 56px 32px;
  color: rgba(255,255,255,.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 36ch;
  color: rgba(255,255,255,.60);
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 14px;
  color: rgba(255,255,255,.72);
  transition: color .15s;
}
.footer-col li a:hover { color: var(--lime); }

.footer-col address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
}
.footer-col address strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.footer-col address a {
  color: var(--lime);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.40); }
.footer-social {
  display: flex;
  gap: 16px;
  margin-left: auto;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.60);
  transition: border-color .15s, color .15s;
}
.footer-social a:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.footer-social svg { width: 18px; height: 18px; }

/* === RESPONSIVITA === */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }
  .estates-grid { grid-template-columns: repeat(2, 1fr); }
  .estimate-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .hero-content { flex-direction: column; align-items: flex-start; gap: 32px; padding-bottom: 80px; }
  .hero-text { max-width: 100%; }
  .proof-bar-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .proof-sep { display: none; }
  .estates-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .estimate-form { padding: 24px; }
}

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