/* Private W05 proposal. Existing video, content and app behavior are preserved. */
@media (max-width: 768px), (max-width: 1000px) and (max-height: 500px) {
  :root { --w05-header-height: 88px; }
  html { scroll-padding-top: var(--w05-header-height); }
  .navbar {
    position: sticky;
    height: var(--w05-header-height);
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
  }
  .logo { margin: 0; font-size: 1.05rem; line-height: 24px; }
  .nav-links {
    width: 100%;
    height: 44px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 2px;
  }
  .nav-links button {
    min-height: 44px;
    font-size: .75rem;
    line-height: 1.2;
    padding: 8px 0;
    white-space: nowrap;
  }
  .hero-section { height: auto; overflow: visible; background: var(--deep-green); }
  .video-background {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #152b20;
  }
  .video-background iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-overlay {
    position: relative;
    inset: auto;
    padding: 24px 20px 28px;
    background: linear-gradient(180deg, #203d2d 0%, var(--deep-green) 100%);
  }
  .hero-overlay h1 {
    margin: 0;
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.14;
    text-wrap: balance;
  }
  .hero-overlay h2 {
    max-width: 34ch;
    margin: 12px 0 0;
    font-size: 1.05rem;
    line-height: 1.45;
    text-wrap: balance;
  }
  .hero-overlay .price { margin: 16px 0; font-size: 2rem; line-height: 1.15; }
  .hero-overlay .cta-button { min-height: 48px; padding: 13px 24px; font-size: 1rem; }
}

@media (max-width: 359px) {
  .nav-links button { font-size: .71875rem; }
  .description-text, .description-features, .aerial-view { min-width: 0; }
  .contact-section a { overflow-wrap: anywhere; }
}

@media (orientation: landscape) and (max-width: 1000px) and (max-height: 500px) {
  :root { --w05-header-height: 60px; }
  .navbar { flex-direction: row; justify-content: space-between; gap: 16px; padding: 8px 20px; }
  .logo { flex-shrink: 0; font-size: 1rem; }
  .nav-links { width: auto; max-width: 520px; flex: 1; gap: 8px; }
  .hero-section {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    min-height: calc(100svh - var(--w05-header-height));
  }
  .hero-overlay { align-self: stretch; padding: 18px 24px; }
  .hero-overlay h1 { font-size: clamp(1.4rem, 3.1vw, 1.8rem); }
  .hero-overlay h2 { margin-top: 10px; font-size: .95rem; line-height: 1.35; }
  .hero-overlay .price { margin: 12px 0; font-size: 1.75rem; }
  .hero-overlay .cta-button { min-height: 44px; padding: 11px 20px; font-size: .9rem; }
}

@media (orientation: landscape) and (max-width: 620px) and (max-height: 500px) {
  .navbar { gap: 8px; padding-inline: 12px; }
  .logo { font-size: .85rem; }
  .nav-links { gap: 2px; }
  .nav-links button { font-size: .6875rem; }
  .hero-overlay { padding: 18px 14px; }
  .hero-overlay h1 { font-size: 1.35rem; }
  .hero-overlay h2 { font-size: .875rem; }
}
