@media (max-width: 1100px) {
  .page {
    width: min(100% - 32px, 760px);
  }

  .top,
  .hero-inner,
  .about,
  .services,
  .seo-text,
  .delivery,
  .contacts {
    grid-template-columns: 1fr;
  }

  .menu {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px 28px;
    padding-top: 0;
  }

  .intro {
    width: auto;
  }

  .photo-place {
    height: 360px;
    margin-top: 34px;
  }

  .photo-place > span {
    left: 0;
    top: 20px;
  }

  .about-points,
  .product-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products,
  .seo-text,
  .delivery,
  .catalog,
  .contacts {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .all-products-link {
    justify-self: start;
  }

  .seo-text {
    margin-left: 0;
    margin-right: 0;
  }

  .seo-text div {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services {
    grid-template-areas:
      "title"
      "left-photo"
      "card-one"
      "card-two"
      "right-photo";
    margin-left: 0;
    margin-right: 0;
  }

  .service-side-photo,
  .service-side-photo.right {
    transform: none;
  }

  .delivery {
    grid-template-columns: 1fr 1fr;
  }

  .delivery h2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .page {
    width: calc(100% - 24px);
    padding-top: 16px;
  }

  .menu {
    gap: 12px 18px;
    font-size: 14px;
  }

  h1 {
    font-size: 42px;
  }

  .categories,
  .buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .photo-place {
    height: 280px;
  }

  .about-points,
  .product-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .map-label {
    left: 16px;
    right: 16px;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .page {
    width: calc(100% - 28px);
  }

  .top {
    grid-template-columns: 1fr auto;
    align-items: start;
    row-gap: 0;
    margin-bottom: 24px;
    position: relative;
  }

  .logo {
    width: 148px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #b8aa98;
    border-radius: 50%;
    background: rgba(255, 250, 241, 0.72);
    box-shadow: 0 8px 24px rgba(74, 55, 36, 0.12);
    backdrop-filter: blur(8px);
    color: var(--text);
    position: fixed;
    top: 16px;
    right: 14px;
    z-index: 30;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    z-index: 29;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0 solid transparent;
    border-radius: 18px;
    opacity: 0;
    pointer-events: none;
    background: rgba(255, 250, 241, 0.96);
    box-shadow: 0 18px 34px rgba(74, 55, 36, 0.13);
    backdrop-filter: blur(10px);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: max-height 0.24s ease, opacity 0.18s ease, padding 0.18s ease, border-width 0.18s ease;
  }

  .catalog-top .menu {
    display: grid;
  }

  .menu-open .menu {
    max-height: 330px;
    padding: 8px;
    border-width: 1px;
    border-color: #e4d2bf;
    opacity: 1;
    pointer-events: auto;
  }

  .menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(245, 237, 223, 0.58);
  }

  .hero {
    margin-bottom: 26px;
  }

  .hero-inner {
    display: block;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-top: 12px;
  }

  .copy {
    position: relative;
    z-index: 1;
  }

  h1 {
    max-width: 8.6em;
    font-size: clamp(34px, 9.4vw, 43px);
    line-height: 1.02;
    text-shadow: 0 1px 0 var(--bg), 0 0 18px var(--bg), 0 0 28px var(--bg);
  }

  h2 {
    font-size: 31px;
  }

  .intro {
    max-width: 25em;
    margin: 20px 0 20px;
    font-size: 15px;
    line-height: 1.5;
    text-shadow: 0 1px 0 var(--bg), 0 0 16px var(--bg);
  }

  .categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 20px;
  }

  .categories div {
    gap: 7px;
    font-size: 12px;
  }

  .buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .photo-place {
    width: min(82vw, 360px);
    height: 292px;
    min-height: 0;
    position: absolute;
    top: 18px;
    right: -74px;
    z-index: 0;
    opacity: 0.34;
    pointer-events: none;
  }

  .photo-place > span {
    display: none;
  }

  .photo-mask {
    height: 100%;
  }

  .about {
    gap: 18px;
    margin-bottom: 20px;
  }

  .about-photo {
    width: 136px;
    height: 108px;
  }

  .about-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    margin-top: 8px;
  }

  .products {
    padding: 18px 16px;
  }

  .section-kicker {
    margin-top: 8px;
  }

  .seo-text {
    gap: 14px;
    padding: 22px 16px;
  }

  .seo-text h2 {
    font-size: 27px;
  }

  .catalog {
    padding: 24px 16px 28px;
  }

  .catalog-head {
    flex-direction: column;
  }

  .catalog-top {
    margin-bottom: 18px;
  }

  .catalog-head h1 {
    font-size: 42px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .all-products-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    border-radius: 24px;
    color: #fff;
    background: var(--orange);
    font-size: 15px;
    position: static;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .back-link {
    min-height: 40px;
    padding: 0 16px;
    top: auto;
    right: 14px;
    bottom: 14px;
    font-size: 14px;
  }

  .catalog-page {
    padding-bottom: 74px;
  }

  .product-photo {
    height: 260px;
  }

  .product-meta {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-info {
    min-height: auto;
  }

  .product-price {
    font-size: 19px;
  }

  .photo-nav {
    width: 44px;
    height: 52px;
  }

  .services {
    gap: 14px;
    grid-template-areas:
      "title"
      "card-one"
      "card-two";
    position: relative;
    padding-bottom: 8px;
  }

  .service-side-photo,
  .service-side-photo.right {
    width: 76px;
    height: 70px;
    position: absolute;
    z-index: 3;
    pointer-events: none;
  }

  .service-side-photo img,
  .service-side-photo.right img {
    width: 96px;
    height: 72px;
  }

  .service-side-photo {
    top: 44px;
    right: -24px;
    justify-content: flex-end;
    transform: none;
  }

  .service-side-photo.right {
    top: 210px;
    right: -24px;
    justify-content: flex-end;
    transform: none;
  }

  .service-card {
    grid-template-columns: 104px 1fr;
    gap: 16px;
    height: auto;
    min-height: 146px;
    padding: 18px 16px;
  }

  .service-icon {
    width: 100px;
    height: 100px;
  }

  .delivery {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 16px 24px;
  }

  .delivery h2 {
    margin-bottom: 4px;
  }

  .delivery-item {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px;
    min-height: 78px;
    align-items: center;
  }

  .delivery-item p {
    align-self: center;
  }

  .delivery-item:nth-of-type(4) .round-icon,
  .delivery-item:nth-of-type(5) .round-icon {
    justify-self: center;
    transform: none;
  }

  .round-icon {
    justify-self: center;
  }

  .contacts {
    gap: 24px;
    padding: 0 16px 24px;
  }

  .contact-list p,
  .social-list p {
    margin-top: 11px;
    font-size: 15px;
    line-height: 1.35;
  }

  .map-place {
    height: 220px;
  }
}

@media (max-width: 420px) {
  .page {
    width: calc(100% - 20px);
  }

  .menu {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 38px;
  }

  .about-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .service-side-photo {
    top: 44px;
    right: -22px;
  }

  .service-side-photo.right {
    top: 196px;
    right: -22px;
  }

  .service-side-photo img,
  .service-side-photo.right img {
    width: 90px;
    height: 68px;
  }

  .service-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    min-height: 132px;
  }

  .service-card h3 {
    white-space: normal;
    font-size: 17px;
  }

  .service-icon {
    width: 86px;
    height: 86px;
  }

  .delivery {
    padding-left: 14px;
    padding-right: 14px;
  }

  .delivery-item {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
  }

  .round-icon {
    width: 72px;
    height: 72px;
  }

  .map-label {
    padding: 12px 16px;
    font-size: 16px;
  }
}
