/*
 * HP PC HEADER – pouze homepage od 901 px.
 * Mobilní header a menu ostatních stránek tento soubor neovlivňuje.
 */
@media (min-width: 901px) {
  :root {
    --headerH: 78px;
    --home-header-blue: #0b4f9f;
    --home-header-blue-dark: #07366d;
    --home-header-border: #dbe7f3;
    --home-header-muted: #66758a;
  }

  body.home-page {
    padding-top: var(--headerH);
  }

  .home-site-header {
    min-height: var(--headerH);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(15, 62, 111, 0.11);
    box-shadow: none;
  }

  .home-site-header.is-scrolled {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
  }

  .home-site-header .header-row {
    width: min(1280px, calc(100% - 48px));
    min-height: var(--headerH);
    gap: clamp(14px, 1.7vw, 28px);
    transition: min-height 0.2s ease;
  }

  .home-site-header.is-scrolled .header-row {
    min-height: 70px;
  }

  .home-site-header .logo img {
    width: clamp(178px, 16vw, 218px);
    max-height: 62px;
    transition: width 0.2s ease, transform 0.18s ease;
  }

  .home-site-header.is-scrolled .logo img {
    width: clamp(168px, 15vw, 202px);
  }

  .home-header-desktop {
    display: flex;
    flex: 1 1 auto;
    margin-left: 0;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 1.5vw, 24px);
  }

  .home-site-header .burger {
    display: none !important;
  }

  .home-header-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 2px;
  }

  .home-header-nav-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px clamp(8px, 0.8vw, 13px);
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #203047;
    font: inherit;
    font-size: clamp(13px, 1.04vw, 15px);
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  }

  .home-header-nav-link:hover,
  .home-header-nav-link:focus-visible,
  .home-header-nav-link.is-active,
  .home-header-services.is-open .home-header-services-toggle {
    color: var(--home-header-blue);
    background: #eef6ff;
  }

  .home-header-nav-link:focus-visible,
  .home-header-phone:focus-visible,
  .home-header-request:focus-visible,
  .home-services-links a:focus-visible {
    outline: 3px solid rgba(11, 79, 159, 0.28);
    outline-offset: 2px;
  }

  .home-header-services {
    position: relative;
  }

  .home-header-chevron {
    transition: transform 0.18s ease;
  }

  .home-header-services.is-open .home-header-chevron {
    transform: rotate(180deg);
  }

  .home-services-mega {
    position: fixed;
    z-index: 10020;
    top: calc(var(--headerH) + 12px);
    left: 50%;
    width: min(920px, calc(100vw - 48px));
    padding: 12px;
    border: 1px solid var(--home-header-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -10px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  }

  .home-site-header.is-scrolled .home-services-mega {
    top: 82px;
  }

  .home-header-services.is-open .home-services-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .home-services-mega-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.85fr);
    gap: 12px;
  }

  .home-services-column {
    min-width: 0;
    padding: 22px;
    border-radius: 18px;
    background: #f8fbff;
  }

  .home-services-column--cleaning {
    background: #f2f8ff;
  }

  .home-services-column-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .home-services-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #fff;
    color: var(--home-header-blue);
    box-shadow: 0 8px 20px rgba(11, 79, 159, 0.1);
  }

  .home-services-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--home-header-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .home-services-title {
    margin: 0;
    color: #12233d;
    font-size: 21px;
    line-height: 1.2;
  }

  .home-services-links {
    display: grid;
    gap: 7px;
  }

  .home-services-links--two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-services-links a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #fff;
    color: #203047;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  }

  .home-services-links a svg {
    flex: 0 0 auto;
    color: var(--home-header-blue);
  }

  .home-services-links a:hover,
  .home-services-links a.is-active {
    border-color: #c8dcf3;
    color: var(--home-header-blue);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 62, 111, 0.08);
  }

  .home-services-note {
    display: grid;
    gap: 5px;
    margin-top: 14px;
    padding: 13px 14px;
    border: 1px solid #d8e8f8;
    border-radius: 13px;
    background: #fff;
  }

  .home-services-note strong {
    color: #18304f;
    font-size: 13px;
  }

  .home-services-note span {
    color: var(--home-header-muted);
    font-size: 12px;
    line-height: 1.45;
  }

  .home-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(8px, 1vw, 14px);
  }

  .home-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--home-header-blue-dark);
    text-decoration: none;
    white-space: nowrap;
  }

  .home-header-phone-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef6ff;
    color: var(--home-header-blue);
  }

  .home-header-phone-copy {
    display: grid;
    gap: 1px;
  }

  .home-header-phone-copy > span {
    color: var(--home-header-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .home-header-phone-copy strong {
    color: var(--home-header-blue-dark);
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 950;
  }

  .home-header-request {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px clamp(13px, 1.2vw, 18px);
    border-radius: 999px;
    background: var(--home-header-blue);
    color: #fff;
    font-size: clamp(13px, 1.02vw, 15px);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(11, 79, 159, 0.22);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  }

  .home-header-request:hover {
    background: var(--home-header-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(7, 54, 109, 0.25);
  }

  @media (max-width: 1110px) {
    .home-site-header .header-row {
      width: min(100% - 30px, 1280px);
      gap: 10px;
    }

    .home-site-header .logo img {
      width: 170px;
    }

    .home-header-nav-link {
      padding-inline: 8px;
      font-size: 13px;
    }

    .home-header-phone-copy > span {
      display: none;
    }

    .home-header-phone-icon {
      width: 32px;
      height: 32px;
      flex-basis: 32px;
    }

    .home-header-request {
      padding-inline: 13px;
      font-size: 13px;
    }
  }

  @media (max-width: 980px) {
    .home-header-phone-copy {
      display: none;
    }

    .home-header-phone {
      gap: 0;
    }

    .home-header-nav-link {
      padding-inline: 7px;
    }
  }
}
