/* WB7R4 — Laptop premium layout refinement.
   Purpose: keep the beautiful desktop composition, but give 901–1160px laptops
   their own premium architecture instead of a compressed desktop row. */

@media (min-width: 901px) and (max-width: 1160px) {
  .p5-header .p5-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: auto;
    padding-top: .9rem;
    padding-bottom: .72rem;
    row-gap: .58rem;
    column-gap: .9rem;
  }

  .p5-header .p5-brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: .72rem;
  }

  .p5-header .p5-brand-logo-h3 {
    width: 184px !important;
    flex: 0 0 auto;
  }

  .p5-brand-companion {
    display: flex;
    padding-left: .72rem;
    gap: .14rem;
  }

  .p5-brand-nepali {
    font-size: .95rem;
    font-weight: 680;
    line-height: 1.3;
  }

  .p5-brand-location {
    font-size: .67rem;
    letter-spacing: .075em;
    line-height: 1.2;
  }

  .p5-nav-toggle {
    display: none !important;
  }

  .p5-nav {
    order: 3;
    width: 100%;
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-left: 0;
    margin-top: 0;
    padding: .62rem 0 0;
    border-top: 1px solid rgba(6, 45, 34, .10);
    background: transparent;
    box-shadow: none;
    gap: 1rem;
  }

  .p5-nav > a:not(.p5-btn) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .34rem 0;
    font-size: .97rem;
    font-weight: 760;
    line-height: 1.16;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .p5-nav > .p5-btn {
    display: none !important;
  }

  .captivating-hero-shell {
    grid-template-columns: minmax(360px, 1fr) minmax(400px, .96fr);
    gap: clamp(1.35rem, 2.8vw, 2rem);
    min-height: min(500px, calc(100svh - 118px));
    padding-top: clamp(1rem, 1.8vw, 1.35rem);
  }

  .captivating-hero-copy {
    max-width: 600px;
  }

  .captivating-hero h1 {
    max-width: 10.4ch;
    font-size: clamp(3rem, 4.8vw, 4.35rem);
  }

  .captivating-hero-lead {
    max-width: 53ch;
    font-size: clamp(.98rem, 1.15vw, 1.05rem);
  }

  .wb5-hero-services {
    gap: .62rem;
  }

  .wb5-hero-services > a {
    min-height: 56px;
    padding: .52rem .62rem;
  }

  .wb5-hero-services strong {
    font-size: .80rem;
  }

  .wb5-hero-services small {
    font-size: .66rem;
  }

  .captivating-hero-media-card {
    width: min(100%, 560px);
    justify-self: end;
  }

  .captivating-hero-process {
    font-size: .7rem;
  }
}

@media (min-width: 901px) and (max-width: 980px) {
  .p5-header .p5-brand-logo-h3 {
    width: 176px !important;
  }

  .p5-brand-nepali {
    font-size: .92rem;
  }

  .p5-brand-location {
    font-size: .65rem;
  }

  .p5-nav {
    gap: .85rem;
  }

  .p5-nav > a:not(.p5-btn) {
    font-size: .93rem;
  }

  .captivating-hero-shell {
    grid-template-columns: minmax(330px, 1fr) minmax(380px, .95fr);
    gap: 1.35rem;
  }

  .captivating-hero h1 {
    font-size: clamp(2.8rem, 4.5vw, 4rem);
  }

  .captivating-hero-media-card {
    width: min(100%, 530px);
  }
}
