/* Desktop-only finishing. Keep the existing photo, copy, CTA and mobile layout. */
@media (min-width: 981px) {
  .hero .hero-copy .hero-eyebrow {
    display: inline-flex;
    vertical-align: top;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 36px;
    padding: 7px 15px 7px 13px;
    margin: 0 0 32px;
    gap: 9px;
    border: 1px solid rgba(224, 246, 239, .30);
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(37, 67, 68, .46), rgba(25, 49, 54, .30));
    box-shadow: inset 0 1px rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
    color: #f4faf7;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: .012em;
  }
  .hero .hero-eyebrow span {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #bce1d7;
    box-shadow: 0 0 0 3px rgba(188, 225, 215, .10);
  }

  .hero .hero-benefits {
    gap: 16px;
    padding: 18px 0 6px;
    border-top-color: rgba(236, 249, 242, .18);
  }
  .hero .hero-benefits::before { display: none; animation: none; }
  .hero .hero-benefit {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 58px;
    padding: 11px 18px;
    gap: 12px;
    border: 1px solid rgba(233, 248, 242, .22);
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(221, 244, 234, .08), rgba(15, 37, 41, .18));
    backdrop-filter: blur(8px) saturate(1.05);
    -webkit-backdrop-filter: blur(8px) saturate(1.05);
    box-shadow: inset 0 1px rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .91);
    font-size: 14.5px;
    line-height: 1.35;
    font-weight: 450;
    letter-spacing: .005em;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, color .24s ease;
  }
  .hero .hero-benefit::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 15% 0%, rgba(202, 240, 225, .19), transparent 75%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
  }
  .hero .hero-benefit img {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 3px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: .8;
    animation: none;
    transition: opacity .24s ease, transform .24s ease;
  }
  .hero .hero-benefit span { min-width: 0; max-width: none; }
  @media (hover: hover) and (pointer: fine) {
    .hero .hero-benefit:hover {
      transform: translateY(-3px);
      border-color: rgba(213, 245, 232, .48);
      box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 5px 15px rgba(3, 24, 28, .10);
      color: #fff;
    }
    .hero .hero-benefit:hover::before { opacity: 1; }
    .hero .hero-benefit:hover img { opacity: 1; transform: translateY(-1px); background: transparent; box-shadow: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero .hero-benefit, .hero .hero-benefit img, .hero .hero-benefit::before { transition: none; }
    .hero .hero-benefit:hover, .hero .hero-benefit:hover img { transform: none; }
  }
}

/* Stage 2: desktop geometry only. The mobile cascade remains in styles.css. */
@media (min-width: 981px) {
  .site-header .header-inner {
    width: min(var(--container), calc(100% - 80px));
    max-width: var(--container);
    margin-inline: auto;
  }

  .hero {
    height: auto;
    min-height: max(800px, 100svh);
  }

  .hero-grid {
    height: auto;
    min-height: inherit;
    padding-top: 86px;
    padding-bottom: 36px;
    gap: 24px;
  }

  .hero-copy {
    width: min(680px, 100%);
  }

  .hero h1 {
    max-width: 660px;
    line-height: .96;
  }

  .hero-lead {
    max-width: 540px;
    margin-bottom: 24px;
  }
}

@media (min-width: 981px) and (max-width: 1199px) {
  .site-header .header-inner {
    width: calc(100% - 48px);
    min-height: 76px;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .site-header .brand { font-size: 20px; }
  .site-header .main-nav { gap: 12px; }
  .site-header .main-nav a { font-size: 13px; }
  .site-header .header-actions { gap: 8px; }
  .site-header .header-phones { font-size: 14px; line-height: 1.05; }
  .site-header .socials { gap: 4px; }
  .site-header .socials a { width: 28px; height: 28px; }
  .site-header .button-outline {
    min-width: 150px;
    height: 38px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero { min-height: max(760px, 100svh); }
  .hero-grid { padding-bottom: 30px; gap: 20px; }
  .hero h1 { max-width: 590px; }
}

/* Wide desktop with a short CSS viewport: keep the same composition compact. */
@media (min-width: 1200px) and (max-height: 850px) {
  .site-header .header-inner { min-height: 74px; }

  .hero { min-height: 100svh; }

  .hero-grid {
    padding-top: 74px;
    padding-bottom: 20px;
    gap: 16px;
  }

  .hero .hero-copy .hero-eyebrow {
    min-height: 32px;
    padding: 5px 12px 5px 11px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 18px;
  }

  .hero h1 {
    max-width: 640px;
    margin-bottom: 14px;
    font-size: clamp(46px, 4.5vw, 68px);
    line-height: .94;
  }

  .hero-lead {
    max-width: 520px;
    margin-bottom: 18px;
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.32;
  }

  .hero .button-primary {
    width: 240px;
    min-height: 52px;
  }

  .hero .hero-benefits {
    padding-top: 12px;
    padding-bottom: 4px;
    gap: 12px;
  }

  .hero .hero-benefit {
    min-height: 50px;
    padding: 8px 14px;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.25;
  }

  .hero .hero-benefit img {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
}
