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

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  input[type="date"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    inline-size: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    line-height: 1.2 !important;
  }

  input[type="date"]::-webkit-date-and-time-value {
    min-width: 0 !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 18px !important;
  }

  .container {
    width: min(100% - 18px, 1180px) !important;
  }

  .nav,
  .topbar-inner {
    gap: 10px !important;
  }

  .menu {
    gap: 8px 10px !important;
    justify-content: center !important;
    line-height: 1.2 !important;
  }

  .field,
  .form-section,
  .request-form,
  .search-panel,
  .result-card,
  .choice-card,
  .card,
  .panel {
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 760px) {
  body.home-page {
    background: #f5f2ec;
  }

  body.home-page .page {
    min-height: 100svh;
    overflow: hidden;
  }

  body.home-page .page::before,
  body.home-page .page::after {
    display: none;
  }

  body.home-page header {
    padding: 18px 0 8px;
  }

  body.home-page .logo {
    width: min(250px, 72vw);
  }

  body.home-page main {
    align-items: flex-start;
    padding: 22px 0 34px;
  }

  body.home-page .hero {
    text-align: left;
  }

  body.home-page .icon {
    display: none;
  }

  body.home-page h1 {
    max-width: 320px;
    font-size: 30px !important;
    line-height: 1.08;
    letter-spacing: 0;
    margin: 0 0 10px;
  }

  body.home-page .intro {
    max-width: 320px;
    margin: 0 0 18px;
    color: #5d6873;
    font-size: 14px;
    line-height: 1.45;
  }

  body.home-page .choice-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: none;
    margin: 0;
  }

  body.home-page .choice-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px 12px;
    min-height: 0;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fffefa 0%, #f4f0e8 100%);
    border: 1px solid rgba(31, 41, 51, .12);
    box-shadow: 0 10px 24px rgba(24, 35, 47, .07);
  }

  body.home-page .choice-card::after {
    display: none;
  }

  body.home-page .choice-icon {
    grid-row: 1 / span 3;
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 12px;
    font-size: 22px;
    background: #172333;
  }

  body.home-page .choice-card h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.14;
    letter-spacing: 0;
  }

  body.home-page .choice-card p {
    margin: 0;
    max-width: none;
    color: #5d6873;
    font-size: 13px;
    line-height: 1.38;
  }

  body.home-page .choice-action {
    width: fit-content;
    min-height: 34px;
    margin-top: 2px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #172333;
    color: #fff;
    font-size: 12px;
    font-weight: 720;
  }

  body.home-page footer {
    padding: 18px 0;
    font-size: 12px;
    line-height: 1.45;
  }
}

@media (max-width: 390px) {
  body.home-page h1 {
    font-size: 27px !important;
  }

  body.home-page .choice-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 12px;
  }

  body.home-page .choice-icon {
    width: 42px;
    height: 42px;
  }
}
