/* Header pro stránku vyklízení bytu cena Praha */

:root {
  --ap-header-logo-desktop: 165px;
  --ap-header-logo-tablet: 128px;
  --ap-header-logo-mobile: 105px;
}

/* Hlavní header */
.ap-landing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(220, 228, 236, .9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .055);
  backdrop-filter: blur(14px);
}

/* Řádek headeru */
.ap-landing-header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

/* Logo */
.ap-landing-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 var(--ap-header-logo-desktop);
  width: var(--ap-header-logo-desktop);
  max-width: var(--ap-header-logo-desktop);
  text-decoration: none;
}

.ap-landing-logo img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Pravá část headeru */
.ap-landing-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

/* Telefon / dostupnost / CTA */
.ap-landing-phone,
.ap-landing-availability,
.ap-landing-request {
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.ap-landing-phone,
.ap-landing-availability {
  gap: 10px;
  padding: 8px 15px;
  color: #064e3b;
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, .35);
}

.ap-landing-phone-text {
  display: grid;
  gap: 1px;
  line-height: 1.08;
}

.ap-landing-phone-state {
  font-size: .74rem;
  font-weight: 950;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.ap-landing-phone strong {
  font-size: 1.02rem;
  color: #064e3b;
}

.ap-landing-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ap-green);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, .14);
  flex: 0 0 auto;
}

.ap-landing-status-dot--muted {
  background: #94a3b8;
  box-shadow: 0 0 0 6px rgba(148, 163, 184, .14);
}

/* CTA tlačítko v headeru */
.ap-landing-request {
  padding: 0 19px;
  color: #fff;
  background: var(--ap-blue);
  box-shadow: 0 14px 28px rgba(6, 75, 134, .2);
}

.ap-landing-request:hover {
  background: var(--ap-blue-dark);
  transform: translateY(-1px);
}

/* Po vstupu do kalkulačky header už nezobrazuje duplicitní CTA */
body.ap-calculator-is-started .ap-landing-request,
.ap-landing-request[hidden] {
  display: none !important;
}

/* Tablet / mobil */
@media (max-width: 760px) {
  .ap-landing-header-row {
    min-height: 64px;
    gap: 8px;
  }

  .ap-landing-logo {
    flex-basis: var(--ap-header-logo-tablet);
    width: var(--ap-header-logo-tablet);
    max-width: var(--ap-header-logo-tablet);
  }

  .ap-landing-header-actions {
    gap: 6px;
    flex: 1 1 auto;
  }

  .ap-landing-phone,
  .ap-landing-availability {
    min-height: 42px;
    padding: 6px 9px;
    gap: 7px;
  }

  .ap-landing-phone-state {
    display: none;
  }

  .ap-landing-phone strong,
  .ap-landing-availability {
    font-size: .82rem;
  }

  .ap-landing-status-dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
  }

  .ap-landing-status-dot--muted {
    box-shadow: 0 0 0 4px rgba(148, 163, 184, .12);
  }

  /* Na mobilu schovat CTA v headeru, aby nepřekáželo vedle loga a telefonu */
  .ap-landing-request {
    display: none !important;
  }
}

/* Malé mobily */
@media (max-width: 420px) {
  .ap-landing-logo {
    flex-basis: var(--ap-header-logo-mobile);
    width: var(--ap-header-logo-mobile);
    max-width: var(--ap-header-logo-mobile);
  }

  .ap-landing-phone,
  .ap-landing-availability {
    padding: 5px 7px;
  }

  .ap-landing-phone strong,
  .ap-landing-availability {
    font-size: .74rem;
  }
}