/* Mobile-only layout refinements. Desktop and original assets remain untouched. */
@media (max-width:760px) {
  .nav { flex-wrap:wrap; gap:8px; }
  .nav .brand { flex:1 1 0; min-width:0; white-space:normal; }
  .nav .brand > span { min-width:0; overflow-wrap:break-word; }
  .nav #menu { flex:0 0 auto; min-height:44px; }
  .nav #navlinks.open { max-height:55vh; max-height:55dvh; overflow-y:auto; overscroll-behavior:contain; }
  .hero-wa-row > a { min-width:0; white-space:normal; text-align:center; }
  .hero-actions-v4 > *, .split-modern > *, .manifesto-top > *, .dream-heading-v5 > *, .battle-grid > *, .case-grid > *, .v3courses > *, .audience-grid-v5 > * { min-width:0; }
  .hero-copy-v4, .contact-panel, .case-grid article, .v3courses article { overflow-wrap:break-word; }
  .contact-panel input, .contact-panel select, .contact-panel textarea, .form-grid input, .form-grid select, .form-grid textarea { min-width:0; max-width:100%; font-size:16px; }
  .rail-arrow, .preview-toggle { min-height:44px; }
  .rail-arrow { min-width:44px; }
  .rail-controls > div { max-width:100%; flex-wrap:wrap; }
  .floating-wa { right:max(12px, env(safe-area-inset-right)); }
  .access-trigger { left:max(12px, env(safe-area-inset-left)); }
  #access-panel { max-width:calc(100vw - 24px); }
  .hanging-offer:not(.is-collapsed) .hanging-link { grid-template-columns:minmax(0,1fr) auto; }
  .hanging-offer:not(.is-collapsed) .hanging-title, .hanging-offer:not(.is-collapsed) .hanging-price { white-space:normal; }
}
@media (max-width:480px) {
  .nav .brand { font-size:clamp(16px,4.5vw,19px); }
  .nav .brand small { font-size:10px; line-height:1.3; }
  .hero-wa-row > a { flex:1 1 130px; }
  .contact-panel .wa-choice { min-height:48px; }
  .comparison-case .case-reference { flex-direction:column; text-align:center; }
  .comparison-case .case-reference img { width:min(58%,180px); }
}
@media (max-width:360px) {
  .nav .brand-logo { width:30px; height:30px; }
  .nav .brand { gap:5px; }
  .nav #menu { padding-inline:9px; }
  .hanging-offer .count-grid { min-width:95px; }
  .hero-wa-row > a { flex-basis:100%; }
}

@media (max-width:760px) {
  #contact .timer { justify-content:center !important; }
}

/* Mobile contact CTA: keep the WhatsApp heading below the sticky navigation/offer. */
@media (max-width:760px) {
  #whatsapp-contact { scroll-margin-top:24px; }
  #whatsapp-contact:focus:not(:focus-visible) { outline:none; }
}
