.pfhero-v7__desktop-status {
  display: none;
}

@media (min-width: 1024px) {
  html body {
    background: #f3f8ff;
  }

  html body .header {
    position: sticky !important;
    top: 0 !important;
    z-index: 40 !important;
    background: rgba(255, 255, 255, .88) !important;
    border-bottom: 1px solid rgba(17, 70, 128, .08) !important;
    box-shadow: 0 18px 42px rgba(31, 74, 123, .08) !important;
    backdrop-filter: blur(18px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
  }

  html body .header .container.row,
  html body .header .row {
    min-height: 76px !important;
    max-width: 1240px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    gap: 24px !important;
  }

  html body .header .logo {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 48px max-content !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    align-items: center !important;
    min-width: 188px !important;
    margin: 0 !important;
  }

  html body .header .logo img,
  html body .header .logo__icon {
    grid-row: 1 / 3 !important;
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
  }

  html body .header .logo__text {
    display: block !important;
    color: #061a43 !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
  }

  html body .header .logo::after {
    content: "Мастера на дом в Астрахани";
    color: rgba(36, 56, 88, .66);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  html body .desktop-nav {
    gap: 26px !important;
    margin: 0 auto !important;
  }

  html body .nav-link {
    color: rgba(16, 37, 74, .78) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html body .nav-link--active,
  html body .nav-link:hover {
    color: #0b7df2 !important;
    text-shadow: none !important;
  }

  html body .nav-link::after,
  html body .nav-link--active::after {
    bottom: -11px !important;
    height: 3px !important;
    background: #0b7df2 !important;
    border-radius: 999px !important;
  }

  html body .header .cta {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  html body .header .btn.phone,
  html body .header .phone {
    min-height: 48px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #168dff 0%, #0074e8 100%) !important;
    box-shadow: 0 14px 26px rgba(0, 105, 220, .22) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  html body .pfhero-v7.pfhero-v7--home.pd-hero-clean {
    display: block !important;
    min-height: 690px !important;
    padding: 58px 0 38px !important;
    color: #061a43 !important;
    background-color: #edf6ff !important;
    background-image:
      radial-gradient(circle at 86% 16%, rgba(12, 133, 255, .14), transparent 28%),
      linear-gradient(180deg, #f7fbff 0%, #edf6ff 100%) !important;
  }

  html body .pfhero-v7.pfhero-v7--home.pd-hero-clean::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background:
      linear-gradient(90deg, rgba(247, 251, 255, .98) 0%, rgba(247, 251, 255, .88) 38%, rgba(247, 251, 255, .34) 58%, rgba(247, 251, 255, 0) 100%) !important;
  }

  html body .pfhero-v7.pfhero-v7--home.pd-hero-clean::after {
    content: none !important;
    display: none !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pd-hero-clean__media {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #e8f4ff !important;
    box-shadow: none !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pd-hero-clean__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(1.04) contrast(1.02) brightness(1.06) !important;
    transform: none !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pd-hero-clean__media::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background: linear-gradient(90deg, rgba(247, 251, 255, .99) 0%, rgba(247, 251, 255, .90) 38%, rgba(247, 251, 255, .44) 58%, rgba(247, 251, 255, .05) 76%, rgba(247, 251, 255, 0) 100%) !important;
    opacity: 1 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pd-hero-clean__media::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(247, 251, 255, .34) 0%, rgba(247, 251, 255, .04) 42%, rgba(237, 246, 255, .42) 100%) !important;
    opacity: 1 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__container {
    position: relative !important;
    z-index: 4 !important;
    width: min(1200px, calc(100% - 56px)) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(500px, 595px) minmax(390px, 1fr) !important;
    grid-template-rows: 1fr auto !important;
    gap: 28px 34px !important;
    min-height: 594px !important;
    align-items: center !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__card {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 595px !important;
    margin: 0 !important;
    padding: 36px 0 22px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-align: left !important;
    color: #061a43 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__card::before {
    content: "Мастера на дом в Астрахани" !important;
    display: inline-flex !important;
    align-items: center !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 0 20px !important;
    padding: 9px 14px !important;
    border-radius: 999px !important;
    color: #0a70de !important;
    background: rgba(255, 255, 255, .76) !important;
    border: 1px solid rgba(29, 126, 230, .16) !important;
    box-shadow: 0 12px 28px rgba(31, 84, 142, .08) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__card::after {
    content: none !important;
    display: none !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__mobile-copy {
    display: none !important;
  }

  html body .pd-hero-clean.pfhero-v7--home h1 {
    max-width: 650px !important;
    margin: 0 0 22px !important;
    color: #061a43 !important;
    font-size: clamp(48px, 4.35vw, 66px) !important;
    line-height: .98 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-shadow: none !important;
    font-weight: 900 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__subtitle {
    max-width: 560px !important;
    margin: 0 0 22px !important;
    color: rgba(22, 43, 77, .76) !important;
    font-size: 20px !important;
    line-height: 1.52 !important;
    text-align: left !important;
    text-shadow: none !important;
    font-weight: 700 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__subtitle-accent {
    color: #0b7df2 !important;
    font-weight: 900 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__badges {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    max-width: 590px !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    justify-content: stretch !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__badge:nth-child(1) {
    display: none !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__badge {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 36px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    align-items: center !important;
    min-height: 82px !important;
    padding: 14px 14px 13px !important;
    border-radius: 22px !important;
    color: #071b46 !important;
    background: rgba(255, 255, 255, .82) !important;
    border: 1px solid rgba(40, 126, 222, .12) !important;
    box-shadow: 0 16px 34px rgba(31, 84, 142, .09) !important;
    text-shadow: none !important;
    font-size: 0 !important;
    white-space: normal !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__badge::before {
    content: "✓" !important;
    grid-row: 1 / 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #178fff, #0476e5) !important;
    font-size: 16px !important;
    font-weight: 900 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__badge strong,
  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__badge small {
    display: block !important;
    margin: 0 !important;
    text-shadow: none !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__badge strong {
    color: #071b46 !important;
    font-size: 16px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__badge small {
    color: rgba(39, 57, 88, .66) !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__mobile-cta-card {
    display: block !important;
    width: auto !important;
    max-width: 590px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    margin: 0 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__btn {
    min-width: 0 !important;
    min-height: 60px !important;
    padding: 0 25px !important;
    border-radius: 19px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    white-space: nowrap !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__btn--primary {
    min-width: 218px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #168dff 0%, #006fe6 100%) !important;
    box-shadow: 0 18px 34px rgba(0, 108, 224, .26) !important;
    border: 0 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__btn--primary::after {
    content: "→" !important;
    margin-left: 12px !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__btn--secondary {
    min-width: 198px !important;
    color: #086bdd !important;
    background: rgba(255, 255, 255, .76) !important;
    border: 1px solid rgba(13, 113, 226, .30) !important;
    box-shadow: 0 14px 30px rgba(31, 84, 142, .08) !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__btn--secondary::after {
    content: "○" !important;
    margin-left: 12px !important;
    font-size: 17px !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__trustline {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 14px 0 0 !important;
    color: rgba(58, 75, 104, .62) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__trustline::before {
    content: "▣" !important;
    color: rgba(8, 107, 221, .62) !important;
    font-size: 14px !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__trustline span {
    display: inline !important;
  }

  html body .pfhero-v7__desktop-status {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
    border-radius: 28px !important;
    background: rgba(255, 255, 255, .86) !important;
    border: 1px solid rgba(37, 117, 205, .12) !important;
    box-shadow: 0 22px 52px rgba(31, 84, 142, .12) !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
  }

  html body .pfhero-v7__desktop-status-item {
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 12px !important;
    align-items: center !important;
    min-height: 74px !important;
    padding: 10px 18px !important;
    border-right: 1px solid rgba(28, 93, 166, .10) !important;
  }

  html body .pfhero-v7__desktop-status-item:last-child {
    border-right: 0 !important;
  }

  html body .pfhero-v7__desktop-status-item span {
    grid-row: 1 / 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 16px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #168dff, #0476e5) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
  }

  html body .pfhero-v7__desktop-status-item strong {
    color: #071b46 !important;
    font-size: 16px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
  }

  html body .pfhero-v7__desktop-status-item small {
    margin-top: 4px !important;
    color: rgba(39, 57, 88, .62) !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }

  html body .today-status {
    display: none !important;
  }

  html body .directions--surgical {
    padding-top: 72px !important;
    background: #f3f8ff !important;
  }

  html body .directions--surgical .section-kicker {
    color: #0b7df2 !important;
    letter-spacing: .08em !important;
  }

  html body .directions--surgical h2 {
    color: #061a43 !important;
    font-size: clamp(38px, 3.2vw, 50px) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  html body .directions--surgical .section-subtitle {
    max-width: 760px !important;
    color: rgba(22, 43, 77, .68) !important;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  html body .desktop-nav {
    gap: 16px !important;
  }

  html body .nav-link {
    font-size: 13px !important;
  }

  html body .header .btn.phone,
  html body .header .phone {
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-size: 14px !important;
  }

  html body .pfhero-v7.pfhero-v7--home.pd-hero-clean {
    min-height: 660px !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__container {
    width: min(100% - 42px, 1120px) !important;
    grid-template-columns: minmax(460px, 540px) minmax(340px, 1fr) !important;
    min-height: 570px !important;
  }

  html body .pd-hero-clean.pfhero-v7--home h1 {
    font-size: clamp(44px, 4.8vw, 56px) !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__subtitle {
    font-size: 18px !important;
  }

  html body .pfhero-v7__desktop-status {
    padding: 14px !important;
  }

  html body .pfhero-v7__desktop-status-item {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Final desktop fold tuning: keep the home hero and trust strip inside the first viewport. */
@media (min-width: 1024px) {
  html body .pfhero-v7.pfhero-v7--home.pd-hero-clean {
    height: calc(100svh - 77px) !important;
    min-height: 610px !important;
    max-height: 760px !important;
    padding-top: clamp(18px, 2.2vh, 30px) !important;
    padding-bottom: clamp(14px, 2vh, 24px) !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__container {
    min-height: calc(100% - 28px) !important;
    gap: clamp(14px, 2vh, 22px) 34px !important;
    transform: translateY(clamp(-24px, -2vh, -10px)) !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__card {
    max-width: 590px !important;
    padding-top: clamp(20px, 2.4vh, 28px) !important;
    padding-bottom: clamp(14px, 1.8vh, 20px) !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__card::before {
    margin-bottom: 14px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  html body .pd-hero-clean.pfhero-v7--home h1 {
    font-size: clamp(42px, 4.1vw, 60px) !important;
    line-height: 1.04 !important;
    margin-bottom: 14px !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__subtitle {
    margin-bottom: 14px !important;
    font-size: clamp(17px, 1.22vw, 20px) !important;
    line-height: 1.42 !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__badges {
    margin: 12px 0 14px !important;
    gap: 10px !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__badge {
    min-height: 48px !important;
    padding: 9px 14px !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__actions {
    gap: 12px !important;
    margin-top: 12px !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__btn {
    min-height: 48px !important;
    padding: 12px 20px !important;
  }

  html body .pd-hero-clean.pfhero-v7--home .pfhero-v7__trustline {
    margin-top: 10px !important;
  }

  html body .pfhero-v7__desktop-status {
    padding: 12px !important;
    transform: none !important;
  }

  html body .pfhero-v7__desktop-status-item {
    min-height: 66px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}
