@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .wrap,
  .nav-container,
  .mf-shell {
    width: min(100% - 28px, 1240px) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .topbar-in,
  .nav-container {
    min-height: auto !important;
    height: auto !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .brand img,
  .nav-logo img {
    max-width: min(64vw, 190px) !important;
    height: auto !important;
  }

  .top-links,
  .top-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
    align-items: stretch !important;
  }

  .top-links > *,
  .top-actions > * {
    min-width: 0 !important;
  }

  .top-links > .menu-dropdown,
  .top-links > .menu-search-form,
  .top-actions > .page-menu,
  .top-actions > .services-menu,
  .top-actions > .menu-search-form {
    grid-column: 1 / -1;
    width: 100% !important;
  }

  .topbar .link-btn,
  .topbar .btn,
  .topbar .btn-gold,
  .topbar .btn-line,
  .topbar .page-menu summary,
  .topbar .services-menu summary {
    width: 100% !important;
    min-height: 46px !important;
    padding: 12px 14px !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 14px !important;
  }

  .topbar .menu-search-form {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 6px !important;
  }

  .topbar .menu-search-input {
    width: auto !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .topbar .menu-search-btn {
    width: auto !important;
    min-width: 96px;
    padding-inline: 18px !important;
    flex: 0 0 auto;
  }

  .topbar .menu-list,
  .topbar .page-menu-list,
  .topbar .services-menu-list {
    position: static !important;
    top: auto !important;
    right: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  .breadcrumb-wrap {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .breadcrumb {
    font-size: 12px !important;
    gap: 6px !important;
  }

  .hero,
  .mf-hero {
    padding-top: 34px !important;
    padding-bottom: 22px !important;
  }

  .hero-grid,
  .mf-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .hero h1,
  .hero-copy h1,
  .hero-grid h1,
  .mf-hero-copy h1 {
    font-size: clamp(28px, 8.4vw, 38px) !important;
    line-height: 1.34 !important;
  }

  .hero p,
  .hero-copy p,
  .mf-hero-copy p,
  .mf-section-copy p {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  .hero .btn,
  .hero .btn-gold,
  .hero .btn-line,
  .hero .cta-btn,
  .mf-action {
    width: 100% !important;
  }

  .mf-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px !important;
  }

  .mf-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .mf-hero-visual {
    min-height: auto !important;
  }

  .mf-hero-summary {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin-top: 14px !important;
  }

  #hero .hero-content-wrap {
    padding: 98px 16px 34px !important;
    gap: 22px !important;
  }

  #hero .hero-title {
    font-size: clamp(32px, 10vw, 42px) !important;
    line-height: 1.28 !important;
  }

  #hero .hero-subtitle {
    font-size: 14px !important;
    line-height: 1.9 !important;
    margin-bottom: 24px !important;
  }

  #hero .hero-badge {
    margin-bottom: 14px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    max-width: 100% !important;
  }

  #hero .hero-actions {
    gap: 10px !important;
  }

  #hero .hero-actions .btn-primary,
  #hero .hero-actions .btn-outline {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 18px !important;
  }

  #hero .hero-stats {
    gap: 12px !important;
    justify-content: center !important;
  }

  #hero .hero-stats > div {
    padding: 0 10px !important;
  }

  #hero .hero-person-media {
    max-width: 270px !important;
    margin-inline: auto !important;
  }

  #hero .hero-person {
    max-width: 250px !important;
  }

  #hero .hero-card-float {
    display: none !important;
  }

  #whatsapp-btn {
    width: 62px !important;
    height: 62px !important;
    left: 12px !important;
    bottom: 12px !important;
    box-shadow: 0 12px 28px rgba(15, 35, 71, 0.28) !important;
  }

  #whatsapp-btn svg {
    width: 30px !important;
    height: 30px !important;
  }

  #scrollTop {
    left: 12px !important;
    bottom: 86px !important;
    width: 44px !important;
    height: 44px !important;
  }

  .site-footer-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .site-footer-bottom {
    align-items: flex-start !important;
  }
}

@media (max-width: 560px) {
  .wrap,
  .nav-container,
  .mf-shell {
    width: min(100% - 22px, 1240px) !important;
    padding-left: 11px !important;
    padding-right: 11px !important;
  }

  .hero h1,
  .hero-copy h1,
  .hero-grid h1,
  .mf-hero-copy h1 {
    font-size: clamp(28px, 10.5vw, 36px) !important;
  }

  #hero .hero-title {
    font-size: clamp(30px, 11vw, 38px) !important;
  }
}

@media (max-width: 380px) {
  .top-links,
  .top-actions,
  .mf-metrics {
    grid-template-columns: 1fr !important;
  }
}
