:root {
  color-scheme: only light;
  --bg: #111;
  --text: #f5f5f5;
  --map-height: clamp(205px, 27vw, 340px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 10px;
}

.menu-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.menu-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.menu-contact {
  position: absolute;
  left: 0.4%;
  right: 0.4%;
  bottom: 1.6%;
  z-index: 1;
}

.map-wrap {
  width: 100%;
  border-radius: 11px;
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: var(--map-height);
  border: 0;
  display: block;
}

.outside-actions {
  position: absolute;
  left: 0.8%;
  right: 0.8%;
  bottom: calc(1.6% + var(--map-height) + 22px);
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  justify-items: center;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #ffe7b3;
  background: linear-gradient(180deg, #d11b1b 0%, #950a0a 100%);
  border: 1px solid rgba(255, 214, 130, 0.58);
  border-radius: 12px;
  padding: 12px 10px;
  font-size: clamp(0.95rem, 2.1vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.35), 0 6px 14px rgba(0, 0, 0, 0.35);
  width: min(100%, 360px);
}

.action-link svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.action-link:hover,
.action-link:focus-visible {
  filter: brightness(1.08);
}

@media (max-width: 640px) {
  html,
  body {
    background: #e8d8a8;
  }

  .page {
    padding: 0;
  }

  .menu-visual {
    display: block;
    overflow: hidden;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .menu-contact {
    position: absolute;
    left: 0.6%;
    right: 0.6%;
    bottom: calc(5.2% - 30px);
    z-index: 1;
  }

  .outside-actions {
    position: absolute;
    left: 1%;
    right: 1%;
    bottom: calc(5.2% + 145px - 30px);
    z-index: 2;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .map-wrap iframe {
    height: 145px;
  }

  .action-link {
    justify-content: center;
    padding: 10px 8px;
    width: 100%;
    font-size: 0.92rem;
  }

  .action-link svg {
    width: 22px;
    height: 22px;
  }
}
