* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #0d1c37;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.site {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: #0d1c37;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.28);
}

.art-block {
  position: relative;
  width: 100%;
  line-height: 0;
}

.art-image {
  display: block;
  width: 100%;
  height: auto;
}

.site-menu {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  line-height: 1;
}

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(201, 137, 74, 0.92);
  border-radius: 999px;
  background: rgba(13, 28, 55, 0.72);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.menu-panel {
  position: absolute;
  top: 52px;
  right: 0;
  width: 172px;
  padding: 8px;
  border: 1px solid rgba(201, 137, 74, 0.86);
  border-radius: 12px;
  background: rgba(13, 28, 55, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.menu-panel a {
  display: block;
  padding: 11px 12px;
  color: #fff;
  font: 600 13px/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: 0.02em;
  text-align: right;
  text-decoration: none;
  border-radius: 8px;
}

.menu-panel a:hover,
.menu-panel a:focus-visible {
  background: rgba(201, 137, 74, 0.22);
  outline: none;
}

.hotspot {
  position: absolute;
  z-index: 5;
  display: block;
  background: transparent;
  border: 0;
  text-decoration: none;
}

.hotspot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

.carousel-section {
  position: relative;
  background: #0d1c37;
  padding: 18px 0 30px;
}

.carousel-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 34px 16px;
  scroll-behavior: smooth;
  scroll-padding-inline: 34px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.slide {
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  margin: 0;
  padding: 0;
  scroll-snap-align: center;
}

.slide img {
  display: block;
  width: min(100%, 390px);
  height: auto;
}

.consultas-carousel {
  padding-top: 10px;
}

.consultas-carousel .carousel-track {
  padding-inline: 18px;
  scroll-padding-inline: 18px;
}

.consultas-carousel .slide img {
  width: min(100%, 450px);
  border: 2px solid #c8894a;
  border-radius: 14px;
}

.carousel-button {
  position: absolute;
  top: 45%;
  z-index: 4;
  width: 34px;
  height: 46px;
  border: 1px solid rgba(201, 137, 74, 0.72);
  border-radius: 999px;
  background: rgba(13, 28, 55, 0.82);
  color: #fff;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.carousel-prev {
  left: 7px;
}

.carousel-next {
  right: 7px;
}

.carousel-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 2px;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.carousel-dots button.is-active {
  width: 20px;
  background: #c8894a;
}

@media (max-width: 360px) {
  .carousel-track {
    padding-inline: 28px;
    scroll-padding-inline: 28px;
  }

  .carousel-button {
    width: 30px;
    height: 40px;
  }

  .consultas-carousel .carousel-track {
    padding-inline: 14px;
    scroll-padding-inline: 14px;
  }

  .site-menu {
    top: 10px;
    right: 10px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }
}
