@media (max-width: 768px) {
  html { scroll-padding-top: 84px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding-block: 64px; }

  .header-grid { min-height: 72px; gap: 16px; }
  .brand-mark { width: 34px; height: 33px; }
  .brand-name { width: 142px; }
  .menu-toggle { width: 44px; height: 44px; }
  .mobile-menu { max-height: calc(100dvh - 72px); }

  .hero { gap: 0; padding-top: 84px; }
  .hero-copy { display: contents; }
  .hero-copy h1 { order: 1; font-size: clamp(39px, 10.2vw, 52px); line-height: 1.035; }
  .hero-description { order: 2; margin-top: 22px; font-size: 16px; line-height: 1.5; }
  .hero-media { order: 3; display: block; width: 100%; min-height: 0; margin-top: 22px; aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .hero-media img { width: 100%; height: 100%; object-fit: cover; }
  .hero-media figcaption { display: none; }
  .hero-offer { order: 4; margin-top: 22px; font-size: 17px; line-height: 1.4; }
  .hero-actions { order: 5; align-items: stretch; flex-direction: column; margin-top: 18px; }
  .hero-actions .button { width: 100%; min-height: 56px; }
  .hero-actions .button-secondary { display: none; }
  .hero-gift-banner { order: 6; display: block; width: 100%; max-width: 560px; margin-top: 22px; }
  .hero-gift-banner picture, .hero-gift-banner img { display: block; width: 100%; height: auto; }
  .hero-gift-banner img { object-fit: contain; }
  .hero-benefits { order: 7; margin-top: 30px; }
  .hero-benefits { grid-template-columns: 1fr; padding-block: 6px; }
  .hero-benefits > div { min-height: 0; gap: 12px; padding: 11px 0; border-right: 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
  .hero-benefits > div:last-child { border-bottom: 0; }
  .hero-benefits .feature-icon { width: 28px; height: 28px; }

  .section-heading { gap: 10px; margin-bottom: 22px; }
  .section-heading > p { font-size: 16px; line-height: 1.5; }
  .carousel-hint { display: block; margin: -5px 0 17px; color: var(--wood-dark); font-size: 15px; font-weight: 600; line-height: 1.4; }
  .carousel-hint span { display: inline-block; margin-left: 3px; }
  .catalog-section { padding-top: 60px; }
  .works-section { padding-top: 64px; }

  .catalog-grid, .works-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .catalog-grid::-webkit-scrollbar, .works-grid::-webkit-scrollbar { display: none; }
  .catalog-card {
    display: flex;
    flex: 0 0 84%;
    max-width: none;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    scroll-snap-align: start;
  }
  .catalog-card:hover { transform: none; box-shadow: none; }
  .catalog-card > img {
    order: -1;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    flex: none;
    object-fit: cover;
  }
  .catalog-content { min-height: 152px; flex: 1; padding: 17px 20px 19px; }
  .catalog-content h3 { font-size: clamp(23px, 6vw, 27px); }
  .catalog-content p { margin-top: 7px; font-size: 16px; line-height: 1.45; }
  .catalog-content a { min-height: 44px; margin-top: auto; padding-top: 12px; }

  .project-card { flex: 0 0 88%; max-width: none; scroll-snap-align: start; }
  .project-card > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  .project-content { display: block; padding-top: 16px; }
  .project-content h3 { font-size: clamp(23px, 6vw, 27px); }
  .project-content p { margin-top: 7px; font-size: 16px; line-height: 1.5; }
  .project-link { min-height: 44px; margin-top: 10px; padding-bottom: 0; white-space: normal; }

  .advantages-layout { gap: 24px; }
  .advantages-intro p { margin-top: 14px; font-size: 16px; line-height: 1.55; }
  .advantages-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .advantages-list article, .advantages-list article:nth-child(odd) { display: block; min-width: 0; padding: 17px 0 14px; border-right: 0; }
  .advantages-list .feature-icon { width: 30px; height: 30px; margin-bottom: 10px; }
  .advantages-list article h3 { font-size: 19px; line-height: 1.25; }
  .advantages-list article p { margin-top: 8px; font-size: 15px; line-height: 1.5; }

  .process-section .section-heading { margin-bottom: 20px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; border-top-width: 1px; }
  .steps span { grid-row: 1 / span 2; font-size: 25px; }
  .steps h3 { margin-top: 0; font-size: 20px; }
  .steps p { grid-column: 2; margin-top: 0; font-size: 15px; line-height: 1.5; }

  .seo-layout { gap: 20px; }
  .seo-copy { gap: 13px; }
  .seo-copy p { font-size: 16px; line-height: 1.55; }
  .faq-section { gap: 24px; }
  .faq-intro p { margin-top: 12px; font-size: 16px; }
  .faq-list summary { padding-block: 18px; font-size: 16px; }
  .faq-list details > p { padding: 0 22px 18px 0; font-size: 15px; line-height: 1.55; }
  .contacts-section { padding-block: 64px; }
  .contacts-layout { gap: 30px; }
  .site-footer { padding-top: 30px; }

  .offer-section { padding-top: 64px; }
  .offer-panel { padding: 22px 20px; }
  .offer-panel h2 { font-size: clamp(23px, 6vw, 28px); }
  .offer-section + .quiz-section { padding-top: 12px; }
  .quiz-section { padding-bottom: 64px; }
  .quiz-panel { min-height: 0; }
  .quiz-content { padding: 28px 22px 32px; }
  .quiz-intro h2 { font-size: clamp(30px, 7.5vw, 40px); }
  .quiz-intro p { margin-top: 14px; font-size: 16px; }
  .quiz-progress { margin-top: 24px; }
  .quiz-steps { margin-top: 24px; }
  .quiz-controls { padding-top: 24px; }
  .quiz-photo { display: none; }

  .mobile-sticky-cta:not([hidden]) {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 9px 16px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(247, 244, 238, .98);
    box-shadow: 0 -8px 28px rgba(47, 40, 34, .07);
  }
  .mobile-sticky-cta .button { display: flex; width: 100%; max-width: 520px; min-height: 52px; margin-inline: auto; }
  body.menu-open .mobile-sticky-cta { display: none !important; }
}

@media (min-width: 600px) and (max-width: 768px) {
  .catalog-card > img, .project-card > img { aspect-ratio: 16 / 9; }
}

@media (max-width: 359px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-name { width: 132px; }
  .hero-copy h1 { font-size: 38px; }
  .catalog-content { padding-inline: 16px; }
  .advantages-list { grid-template-columns: 1fr; }
  .advantages-list article, .advantages-list article:nth-child(odd) { display: flex; gap: 12px; padding-block: 14px; }
  .advantages-list .feature-icon { flex: 0 0 27px; width: 27px; height: 27px; margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 768px) {
  .catalog-grid, .works-grid { scroll-behavior: auto; }
}

