/* v31: responsive corrections only. Approved desktop identity is unchanged. */
@media (max-width: 800px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 190px; }
  body { min-width: 0; }
  nav {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 12px 8px;
    padding: 14px 16px 12px;
    min-height: 0;
  }
  nav > * { min-width: 0; }
  nav .logo { grid-column: 1 / -1; grid-row: 1; justify-self: center; gap: 2px; max-width: 100%; }
  nav .logo img { width: 48px; height: 43px; }
  nav .logo-text { font-size: clamp(22px, 5.5vw, 28px); letter-spacing: 2px; white-space: nowrap; }
  nav .menu-toggle { grid-column: 1; grid-row: 2; display: flex; gap: 6px; min-height: 44px; padding: 8px 0; border: 0; font-size: 11px; }
  nav .header-contact-wrap { grid-column: 2; grid-row: 2; display: flex; align-items: center; gap: 8px; max-width: 100%; }
  .header-contact-wrap .language-switch { position: static; display: flex; gap: 2px; flex-shrink: 0; }
  .language-switch button { min-height: 44px; padding: 6px 4px; gap: 3px; font-size: 10px; }
  .language-switch svg { width: 20px; height: 14px; flex-shrink: 0; }
  nav .header-contact { min-height: 44px; padding: 10px 9px; gap: 4px; font-size: 11px; letter-spacing: 0; line-height: 1.4; }
  .contact-options { max-width: calc(100vw - 32px); }
  .nav-links { padding: 22px 24px; max-height: calc(100dvh - 174px); }
  .nav-links a { max-width: 100%; font-size: 28px; overflow-wrap: anywhere; }
  .hero, .hero-story, .section, .service-card, .reviews-intro, .review-form, .footer-brand { min-width: 0; }
  #page-home .editorial-hero { margin: 0 12px; height: auto; min-height: 560px; max-height: none; }
  #page-home .editorial-hero .hero-story { width: 100%; max-width: 100%; min-width: 0; padding: 48px 24px 38px; }
  #page-home .editorial-hero h1 { font-size: clamp(36px, 9.5vw, 58px); line-height: 1.05; overflow-wrap: anywhere; }
  #page-home .editorial-hero .eyebrow { font-size: 10px; letter-spacing: 1.6px; line-height: 1.8; }
  #page-home .editorial-hero p { font-size: 16px; line-height: 1.65; }
  .text-link { max-width: 100%; gap: 12px; white-space: normal; }
  .hero:not(.editorial-hero) h1 { font-size: clamp(34px, 8.5vw, 56px); overflow-wrap: anywhere; }
  .services-grid, .service-list, .why-wrap, .reviews-layout, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .services-grid > *, .steps > *, .why-wrap > *, .reviews-layout > *, .footer-grid > * { min-width: 0; }
  .section, .editorial-intro, .cta-section { padding-inline: 22px; }
  .service-card h3 { font-size: 34px; margin-inline: 0; }
  .service-heading .label { font-size: 26px; overflow-wrap: anywhere; }
  .service-explanation, .footer-bottom, .review-form { overflow-wrap: anywhere; }
  .service-explanation ul { padding-left: 22px; }
  .btn { max-width: 100%; white-space: normal; text-align: center; }
  .review-form input[type=text], .review-form textarea { font-size: 16px; }
  .footer-brand .brand-word { font-size: 25px; }
}
@media (max-width: 360px) {
  nav { padding-inline: 12px; }
  nav .header-contact-wrap { gap: 5px; }
  nav .header-contact { font-size: 10px; padding-inline: 7px; }
  .language-switch button { padding-inline: 3px; }
  .language-switch svg { width: 18px; height: 12px; }
  #page-home .editorial-hero .hero-story { padding-inline: 20px; }
  .section, .editorial-intro, .cta-section, footer { padding-inline: 18px; }
}
@media (max-width: 800px) and (max-height: 500px) {
  header { position: relative; }
  .nav-links { max-height: 65dvh; }
}
