*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 100%;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  touch-action: manipulation;
}
body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: break-word;
  overflow-x: hidden;
  color: #333;
}
/* Desktop: hotel a sinistra e restaurant a destra, due colonne verticali affiancate */
.split-layout {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
}
.panel {
  position: relative;
  flex: 1 1 50%;
  width: 50%;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.panel__content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2.5rem 3rem;
}
.panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}
.panel__col-sx {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.panel__logo {
  display: block;
  flex-shrink: 0;
}
/* Pulsanti centrati orizzontalmente e verticalmente, stesso livello in entrambi i pannelli */
.panel__siti {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 0;
  width: max-content;
}
.panel__siti .bottone {
  text-align: center;
}
.bottone--prenota {
  flex-shrink: 0;
}
.sfondo-hotel {
  background-image: url("../img/gio-hotel.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.sfondo-ristorante {
  background-image: url("../img/noir.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.panel__logo--hotel .logoresponsive {
  width: auto;
  max-width: 220px;
  height: auto;
  display: block;
}
.logoresponsive {
  width: auto;
  max-width: 160px;
  height: auto;
  display: block;
}
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}
.bottone {
  margin: 0;
  flex-shrink: 0;
  background-color: #DEAA78;
  padding: 15px 25px;
  border-radius: 30px 30px 30px 30px;
}
.bottone--sito {
  background-color: #b63640;
  border-radius: 30px 30px 30px 30px;
}
.bottone a {
  font-family: "Merriweather", serif;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 100;
  color: #fff;
  white-space: nowrap;
}
/* Hover (solo desktop): overlay sulla sezione non in esame */
@media (hover: hover) and (pointer: fine) {
  .split-layout:hover .panel:not(:hover)::after {
    opacity: 1;
  }
}
@media screen and (max-width: 1024px) {
  .panel__content {
    padding: 2rem;
  }
  .panel__logo--hotel .logoresponsive {
    max-width: 190px;
  }
  .logoresponsive {
    max-width: 140px;
  }
}
@media screen and (max-width: 768px) {
  .split-layout {
    flex-direction: column;
  }
  .panel {
    flex: 0 0 50vh;
    width: 100%;
    min-height: 50vh;
  }
  .panel__content {
    padding: 1.5rem;
  }
  .panel__logo--hotel .logoresponsive {
    max-width: 160px;
  }
  .logoresponsive {
    max-width: 120px;
  }
  .panel__header {
    gap: 1rem;
  }
}
@media only screen and (max-width: 568px) {
  .bottone {
    padding: 12px 16px;
  }
  .bottone a {
    font-size: 15px;
    white-space: normal;
  }
}