@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400&family=Playfair+Display:wght@400&family=Quicksand:wght@300;400;500;700&display=swap");

:root {
  --ink: #1d2520;
  --muted: #5f6f63;
  --paper: #ffffff;
  --mist: #f4f7f1;
  --stone: #dfe5d8;
  --forest: #24513a;
  --forest-dark: #173829;
  --moss: #8ca55a;
  --wood: #9a5b34;
  --sun: #d99b49;
  --shadow: 0 18px 50px rgba(21, 43, 31, 0.12);
  --radius: 6px;
  --max: 1080px;
  --header-h: 226px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Quicksand", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--forest-dark);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 0;
}

.site-header::before {
  position: absolute;
  top: 30px;
  right: 60px;
  width: 274px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  color: #111;
  content: "🇮🇹  IT          🇬🇧  EN";
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  letter-spacing: 0;
  white-space: pre;
}

.site-header::before {
  display: none;
}

.header-inner {
  position: relative;
  width: min(100% - 36px, var(--max));
  min-height: var(--header-h);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    ". brand actions"
    ". nav .";
  align-items: center;
  gap: 10px 22px;
  padding: 28px 0 24px;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand img {
  width: 290px;
  max-height: 105px;
  object-fit: contain;
}

.site-nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  gap: 34px;
}

.site-nav a {
  min-height: 48px;
  padding: 17px 0 0;
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #8b8b8b;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #000;
  background: transparent;
  outline: none;
}

.site-nav a[aria-current="page"]::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 64px;
  height: 4px;
  background: #000;
  content: "";
  transform: translateX(-50%);
}

.header-actions {
  grid-area: actions;
  position: absolute;
  top: 136px;
  right: -74px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  position: absolute;
  top: 30px;
  right: -74px;
  width: 274px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  color: #111;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.language-switch a {
  min-width: 0;
  height: 100%;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}

html[lang="it"] .language-switch a[lang="it"],
html[lang="en"] .language-switch a[lang="en"] {
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

.icon-link {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: var(--paper);
}

.icon-link img {
  width: 20px;
  height: 20px;
}

.hero {
  min-height: min(740px, calc(100vh - var(--header-h)));
  display: grid;
  align-items: center;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: 0;
  color: var(--paper);
}

.hero-copy {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  transform: translateY(-54px);
}

.hero h1,
.page-title h1 {
  margin: 0;
  font-family: "Quicksand", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.12;
  font-weight: 300;
}

.hero h2 {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 500;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 1.12rem;
}

.hero h2,
.hero p,
.hero-actions {
  display: none;
}

.hero-actions,
.cta-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .hero-actions {
  display: none;
}

.button {
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: var(--paper);
  background: var(--forest);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--forest-dark);
}

.button.secondary {
  color: var(--forest-dark);
  background: var(--paper);
  border-color: rgba(255, 255, 255, 0.7);
}

.button.ghost {
  color: var(--forest-dark);
  background: transparent;
  border-color: var(--forest);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  color: var(--paper);
  background: var(--forest);
}

.section,
.section-band {
  padding: 68px 0;
}

.section-band {
  background: #fafafa;
}

body[data-page="alloggi"] .section-band {
  padding-top: 0;
}

.container {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 850px;
}

.section-title {
  margin: 0 0 28px;
  font-family: "Quicksand", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  font-weight: 300;
  color: #000;
}

.section-lead {
  max-width: 820px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.split.reverse .media-frame {
  order: -1;
}

.text-flow > * + * {
  margin-top: 16px;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--stone);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.fact-grid,
.service-grid,
.room-grid,
.activity-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.room-grid {
  display: block;
}

.fact,
.service,
.activity,
.contact-card,
.notice {
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(21, 43, 31, 0.08);
}

.room {
  max-width: 940px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.2fr);
  gap: 52px;
  align-items: center;
  color: #000;
  background: transparent;
}

.room:last-child {
  margin-bottom: 0;
}

.room img {
  order: 2;
}

.room-body {
  order: 1;
}

.room:nth-child(even) {
  grid-template-columns: minmax(320px, 1.2fr) minmax(0, 0.9fr);
}

.room:nth-child(even) img {
  order: 1;
}

.room:nth-child(even) .room-body {
  order: 2;
}

.fact {
  padding: 22px;
}

.fact strong {
  display: block;
  color: var(--forest-dark);
  font-size: 1.35rem;
}

.fact span,
.service p,
.activity p,
.notice p {
  color: var(--muted);
}

.room p {
  margin: 0;
  color: #111;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
}

.room p + p {
  margin-top: 0.8rem;
}

.service img,
.activity img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.room img {
  width: 100%;
  min-height: 310px;
  max-height: 360px;
  object-fit: cover;
}

.service-body,
.activity-body,
.contact-card,
.notice {
  padding: 22px;
}

.room-body {
  padding: 0;
}

.service h3,
.activity h3,
.contact-card h3,
.notice h3 {
  margin: 0 0 10px;
  color: var(--forest-dark);
  font-size: 1.18rem;
  line-height: 1.25;
}

.room h3 {
  margin: 0 0 6px;
  color: #000;
  font-family: "Quicksand", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 300;
  line-height: 1.16;
}

.page-title {
  padding: 36px 0 48px;
  background: #fff;
  color: #000;
  text-align: center;
}

.page-title h1 {
  font-size: clamp(2rem, 3.1vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
}

.page-title p {
  max-width: 780px;
  margin: 24px auto 0;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
}

.price-list,
.directions {
  margin: 0;
  padding-left: 1.1rem;
}

.price-list li,
.directions li {
  margin: 12px 0;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.text-link {
  color: var(--forest-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--moss);
  text-underline-offset: 4px;
}

.gallery-section {
  padding: 56px 0 78px;
}

.gallery-group + .gallery-group {
  margin-top: 56px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-button {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--stone);
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-button img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-button:hover img,
.gallery-button:focus-visible img {
  transform: scale(1.035);
}

.map-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card a {
  color: var(--forest-dark);
  font-weight: 700;
}

.contact-band {
  padding: 46px 0;
  color: var(--paper);
  background: var(--forest-dark);
}

.contact-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-band h2 {
  margin: 0;
  font-family: "Quicksand", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
}

.contact-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 38px 0;
  background: #111813;
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
}

.site-footer img {
  width: 230px;
  filter: invert(1);
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 10px;
  color: var(--paper);
  font-size: 1rem;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer a {
  color: var(--paper);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 11, 7, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: min(84vh, 900px);
  max-width: min(92vw, 1200px);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.35);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  :root {
    --header-h: 120px;
  }

  .header-inner {
    position: static;
    min-height: var(--header-h);
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand actions";
  }

  .site-header::before {
    display: none;
  }

  .header-actions {
    position: static;
    justify-self: end;
  }

  .brand img {
    width: min(250px, 56vw);
    max-height: 90px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--stone);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .site-nav a[aria-current="page"]::before {
    display: none;
  }

  .split,
  .split.reverse,
  .fact-grid,
  .service-grid,
  .activity-grid {
    grid-template-columns: 1fr 1fr;
  }

  .room,
  .room:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .room:nth-child(even) img {
    order: 0;
  }

  .room img,
  .room-body,
  .room:nth-child(even) .room-body {
    order: 0;
  }

  .split.reverse .media-frame {
    order: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    width: min(100% - 24px, var(--max));
    gap: 10px;
  }

  .header-actions .button {
    display: none;
  }

  .hero-inner,
  .container,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: 640px;
    align-items: center;
    background-image: var(--hero-image);
  }

  .hero-inner {
    padding: 0;
  }

  .hero-copy {
    transform: translateY(-24px);
  }

  .section,
  .section-band {
    padding: 52px 0;
  }

  .page-title {
    padding: 52px 0 42px;
  }

  .hero h1,
  .page-title h1 {
    font-size: clamp(2.6rem, 13vw, 4.3rem);
  }

  .page-title h1 {
    font-size: clamp(2.2rem, 8vw, 2.6rem);
  }

  .split,
  .split.reverse,
  .fact-grid,
  .service-grid,
  .activity-grid,
  .contact-grid,
  .map-pair,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .media-frame img {
    min-height: 260px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Wix fidelity pass */
body {
  color: #000;
  font-weight: 400;
}

.button,
.media-frame,
.fact,
.service,
.activity,
.contact-card,
.notice,
.gallery-button {
  box-shadow: none;
}

.button,
.media-frame,
.gallery-button,
.fact,
.service,
.activity,
.contact-card,
.notice {
  border-radius: 0;
}

.contact-band {
  display: none;
}

.site-footer {
  padding: 33px 0 57px;
  background: #fff;
  color: #000;
}

.footer-inner {
  width: 231px;
  display: block;
  text-align: center;
}

.site-footer img,
.footer-inner > div:nth-child(2),
.footer-inner > div:nth-child(3) {
  display: none;
}

.site-footer p {
  margin: 0;
  color: #000;
  font-family: "Quicksand", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.875;
}

.site-footer a {
  color: #000;
  text-decoration: none;
}

.hero {
  position: relative;
  height: 740px;
  min-height: 740px;
  overflow: hidden;
  background: #000;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.brand {
  transform: translateY(14px);
}

.site-nav {
  transform: translateY(8px);
}

.hero-copy {
  transform: translateY(-74px);
}

.hero h1 {
  color: #fff;
  font-family: "Quicksand", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 90px;
}

.home-intro,
.home-contact {
  background: #fff;
  text-align: center;
}

.home-intro {
  padding: 112px 0 46px;
}

.home-contact {
  padding: 92px 0 88px;
}

.home-text {
  width: min(100% - 36px, 780px);
  margin: 0 auto;
}

.home-text h2 {
  margin: 0 0 30px;
  font-family: "Quicksand", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 54px;
}

.home-text p {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
}

.home-text p + p {
  margin-top: 20px;
}

.home-video {
  background: #fff;
  padding: 44px 0 70px;
}

.home-video iframe {
  display: block;
  width: min(100% - 36px, 1240px);
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0 auto;
  border: 0;
}

.home-photo img {
  width: 100%;
  height: 720px;
  object-fit: cover;
  object-position: center;
}

.home-google-map {
  width: 100%;
  height: 470px;
  display: block;
  border: 0;
}

body[data-page="alloggi"] .page-title {
  padding: 24px 0 40px;
}

body[data-page="alloggi"] .page-title h1 {
  font-size: 40px;
  line-height: 54px;
}

body[data-page="alloggi"] .page-title p {
  margin-top: 26px;
  color: #000;
  font-size: 18px;
  line-height: 1.75;
}

body[data-page="alloggi"] .section-band {
  padding: 0;
  background: #f8f8f8;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

body[data-page="alloggi"] .room {
  max-width: 940px;
  margin-bottom: 64px;
  grid-template-columns: 397px 482px;
  gap: 52px;
}

body[data-page="alloggi"] .room:nth-child(even) {
  grid-template-columns: 482px 397px;
}

body[data-page="alloggi"] .room img {
  width: 482px;
  height: 309px;
  min-height: 309px;
  max-height: 309px;
}

body[data-page="alloggi"] .room h3 {
  font-size: 40px;
  line-height: 54px;
  font-weight: 400;
}

body[data-page="alloggi"] .room p {
  font-size: 20px;
  line-height: 1.65;
}

.alloggi-stage {
  position: relative;
  width: 980px;
  height: 2439px;
  margin: 0 auto;
}

.alloggi-room-copy {
  position: absolute;
  width: 474px;
  color: #000;
}

.alloggi-room-title {
  position: absolute;
  margin: 0;
  color: #000;
  font-size: 40px;
  font-weight: 400;
  line-height: 54px;
}

.alloggi-room-copy p {
  margin: 0;
  color: #111;
  font-size: 20px;
  font-weight: 400;
  line-height: 33.4px;
}

.alloggi-room-copy p + p {
  margin-top: 0;
}

.alloggi-room-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.alloggi-room-copy li {
  position: relative;
  margin: 0;
  color: #111;
  font-size: 18px;
  font-weight: 400;
  line-height: 31.5px;
}

body[data-page="alloggi"][data-lang="en"] .alloggi-room-copy li {
  font-size: 16px;
  line-height: 27px;
}

.alloggi-room-copy li + li {
  margin-top: 0;
}

.alloggi-room-copy li::before {
  content: "•";
  position: absolute;
  top: 0;
  left: -20px;
}

.alloggi-room-copy strong {
  font-weight: 700;
}

.alloggi-title-apartment {
  top: 0;
  left: 21px;
}

.alloggi-copy-apartment {
  top: 53px;
  left: 21px;
  width: 410px;
}

.alloggi-title-suite {
  top: 713px;
  left: 23px;
  width: 410px;
}

.alloggi-copy-suite {
  top: 831px;
  left: 32px;
}

.alloggi-title-standard {
  top: 1118px;
  left: 23px;
  width: 410px;
}

.alloggi-copy-standard {
  top: 1224px;
  left: 32px;
}

.alloggi-title-small {
  top: 1516px;
  left: 23px;
  width: 475px;
}

.alloggi-copy-small {
  top: 1568px;
  left: 37px;
}

.alloggi-title-single {
  top: 1824px;
  left: 23px;
  width: 410px;
}

.alloggi-copy-single {
  top: 1876px;
  left: 32px;
}

.alloggi-divider {
  position: absolute;
  left: 0;
  width: 980px;
  height: 2px;
  background: #000;
}

.alloggi-divider-standard {
  top: 1107px;
}

.alloggi-divider-small {
  top: 1508px;
}

.alloggi-divider-single {
  top: 1816px;
}

.room-gallery {
  position: relative;
  width: 482px;
  height: 309px;
  overflow: hidden;
  background: #eee;
}

.room-gallery img {
  position: absolute;
  inset: 0;
  width: 482px;
  height: 309px;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 360ms ease;
}

.room-gallery img.is-active {
  opacity: 1;
  visibility: visible;
}

.alloggi-main-gallery {
  position: absolute;
  top: 62px;
  left: 469px;
}

.alloggi-photo-strip,
.alloggi-side-strip {
  position: absolute;
  display: flex;
  gap: 10px;
  max-width: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.alloggi-photo-strip img,
.alloggi-side-strip img {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  object-fit: cover;
  scroll-snap-align: center;
}

.alloggi-photo-strip-apartment {
  top: 435px;
  left: -727px;
  width: 2445px;
  height: 265px;
}

.alloggi-photo-strip-apartment img {
  height: 265px;
}

.alloggi-side-strip-suite {
  top: 766px;
  left: 517px;
  width: 473px;
  height: 286px;
}

.alloggi-side-strip-suite img {
  height: 286px;
}

.alloggi-side-strip-standard {
  top: 1170px;
  left: 517px;
  width: 473px;
  height: 278px;
}

.alloggi-side-strip-standard img {
  height: 278px;
}

.alloggi-single-photo {
  position: absolute;
  top: 1529px;
  left: 506px;
  width: 463px;
  height: 265px;
  max-width: none;
  object-fit: cover;
}

.alloggi-photo-strip-final {
  top: 1980px;
  left: -727px;
  width: 2445px;
  height: 459px;
}

.alloggi-photo-strip-final img {
  height: 459px;
}

.alloggi-prices {
  margin-top: 18px;
  padding: 13px 0 20px;
  text-align: center;
}

.alloggi-prices .container {
  width: 980px;
}

.alloggi-prices .section-title {
  width: 620px;
  margin: 0 auto 5px;
  font-size: 50px;
  font-weight: 400;
  line-height: 67px;
  text-align: center;
}

.alloggi-prices p {
  margin: 0;
  font-size: 18px;
  line-height: 31.5px;
}

.alloggi-prices .price-contact {
  width: 980px;
  margin: 0 auto;
}

.alloggi-prices .price-contact .price-intro {
  line-height: 32px;
  font-weight: 700;
}

.alloggi-prices .price-contact p:not(.price-intro) {
  font-size: 15px;
  line-height: 28px;
}

.alloggi-prices .price-notes {
  width: 789px;
  margin: 0 auto;
}

.alloggi-prices .price-notes p:first-child,
.alloggi-prices .price-notes p:nth-child(3) {
  line-height: 32px;
}

body[data-page="servizi"] .page-title {
  height: 193px;
  padding: 0;
  display: grid;
  align-items: start;
}

body[data-page="servizi"] .page-title .container {
  padding-top: 16px;
}

body[data-page="servizi"] .page-title h1 {
  font-size: 50px;
  font-weight: 400;
  line-height: 67px;
}

body[data-page="servizi"] .page-title p {
  margin-top: 8px;
  font-size: 40px;
  line-height: 54px;
}

body[data-page="servizi"] .section-band {
  padding: 0;
  background: #fff;
}

body[data-page="servizi"] .section-band .container {
  width: 720px;
}

body[data-page="servizi"] .service-grid {
  display: grid;
  grid-template-columns: 360px 360px;
  grid-auto-rows: 300px;
  gap: 0;
}

body[data-page="servizi"] .service {
  display: contents;
  border: 0;
  background: transparent;
}

body[data-page="servizi"] .service img {
  width: 360px;
  height: 300px;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
}

body[data-page="servizi"] .service-body {
  width: 360px;
  height: 300px;
  padding: 0 36px;
  display: grid;
  place-items: center;
  text-align: center;
}

body[data-page="servizi"] .service h3 {
  margin: 0;
  color: #000;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.35;
}

body[data-page="servizi"] .service:nth-child(1) .service-body {
  grid-column: 1;
  grid-row: 1;
}

body[data-page="servizi"] .service:nth-child(1) img {
  grid-column: 2;
  grid-row: 1;
}

body[data-page="servizi"] .service:nth-child(2) img {
  grid-column: 1;
  grid-row: 2;
}

body[data-page="servizi"] .service:nth-child(2) .service-body {
  grid-column: 2;
  grid-row: 2;
}

body[data-page="servizi"] .service:nth-child(3) .service-body {
  grid-column: 1;
  grid-row: 3;
}

body[data-page="servizi"] .service:nth-child(3) img {
  grid-column: 2;
  grid-row: 3;
}

body[data-page="servizi"] .service:nth-child(4) img {
  grid-column: 1;
  grid-row: 4;
}

body[data-page="servizi"] .service:nth-child(4) .service-body {
  grid-column: 2;
  grid-row: 4;
}

body[data-page="attivita"] .page-title {
  height: 316px;
  padding: 0;
}

body[data-page="attivita"] .page-title .container {
  padding-top: 34px;
}

body[data-page="attivita"] .page-title h1 {
  font-size: 56px;
  line-height: 67px;
  font-weight: 400;
}

body[data-page="attivita"] .page-title p {
  margin-top: 22px;
  font-size: 20px;
  line-height: 28px;
}

.agenda-button {
  width: 579px;
  max-width: calc(100vw - 48px);
  min-height: 40px;
  margin-top: 28px;
  padding: 7px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  color: #000;
  background: #fff;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.agenda-button::after {
  content: "\203A";
  margin-left: 12px;
  font-size: 22px;
  line-height: 1;
}

body[data-page="attivita"] .section-band {
  padding: 0;
  background: #fff;
}

body[data-page="attivita"] .activity-grid {
  width: 100%;
  max-width: none;
  display: block;
}

body[data-page="attivita"] .activity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 494px;
  border: 0;
  border-top: 1px solid #000;
  background: #fff;
  overflow: hidden;
}

body[data-page="attivita"] .activity:nth-child(2) {
  height: 666px;
}

body[data-page="attivita"] .activity:nth-child(3) {
  height: 550px;
}

body[data-page="attivita"] .activity:nth-child(4) {
  height: 529px;
  border-bottom: 1px solid #000;
}

body[data-page="attivita"] .activity:nth-child(even) img {
  order: 2;
}

body[data-page="attivita"] .activity:nth-child(even) .activity-body {
  order: 1;
}

body[data-page="attivita"] .activity img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
}

body[data-page="attivita"] .activity-body {
  padding: 62px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body[data-page="attivita"] .activity-body > * {
  width: 477px;
  max-width: calc(100% - 138px);
}

body[data-page="attivita"] .activity h3 {
  margin: 0 0 20px;
  color: #000;
  font-size: 38px;
  font-weight: 400;
  line-height: 47.5px;
}

body[data-page="attivita"] .activity p {
  margin: 0;
  color: #000;
  font-size: 20px;
  line-height: 33.4px;
}

body[data-page="attivita"] .activity p + p {
  margin-top: 18px;
}

.activity-links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.activity-links a {
  min-height: 40px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.activity-links a:first-child {
  width: 192px;
}

.activity-links a:nth-child(2) {
  width: 247px;
}

body[data-page="gallery"] .gallery-section {
  padding: 13px 0 9px;
}

body[data-page="gallery"] {
  overflow-x: hidden;
}

body[data-page="gallery"] .container {
  width: min(100% - 36px, 940px);
}

body[data-page="gallery"] .gallery-group {
  position: relative;
  margin: 0 0 8px;
  text-align: center;
}

body[data-page="gallery"] .gallery-group + .gallery-group {
  margin-top: 0;
}

body[data-page="gallery"] .gallery-group:nth-child(2) {
  margin-bottom: 18px;
}

body[data-page="gallery"] .gallery-group:last-child {
  margin-bottom: 0;
}

body[data-page="gallery"] .section-title {
  margin: 0 0 11px;
  color: #000;
  font-size: 56px;
  font-weight: 400;
  line-height: 69px;
  text-align: center;
}

body[data-page="gallery"] .gallery-group:nth-child(2) .section-title {
  margin-bottom: 20px;
}

body[data-page="gallery"] .gallery-group:nth-child(3) .section-title {
  width: min(1099px, 100vw - 36px);
  margin-left: 50%;
  transform: translateX(-50%);
  margin-bottom: 15px;
}

body[data-page="gallery"] .gallery-grid {
  position: relative;
  width: min(1640px, 100%);
  height: 420px;
  margin: 0 0 0 50%;
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  transform: translateX(-50%);
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body[data-page="gallery"] .gallery-button {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  scroll-snap-align: center;
  transition: none;
}

body[data-page="gallery"] .gallery-button img,
body[data-page="gallery"] .gallery-button:first-child img,
body[data-page="gallery"] .gallery-button:not(:first-child) img {
  width: auto;
  height: 420px;
  max-width: 100%;
}

body[data-page="gallery"] .gallery-button:not(:first-child) {
  width: 100%;
}

body[data-page="gallery"] .gallery-button img {
  aspect-ratio: auto;
  object-fit: contain;
  transition: none;
}

body[data-page="gallery"] .gallery-button:hover img,
body[data-page="gallery"] .gallery-button:focus-visible img {
  transform: none;
}

body[data-page="gallery"] .gallery-thumbs {
  width: min(1640px, 100%);
  height: 120px;
  margin: 0 0 0 50%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  transform: translateX(-50%);
  scroll-behavior: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body[data-page="gallery"] .gallery-thumb-button {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body[data-page="gallery"] .gallery-thumb-button img {
  width: 120px;
  height: 120px;
  display: block;
  object-fit: cover;
}

body[data-page="gallery"] .gallery-thumb-button.is-active {
  opacity: 0.35;
}

body[data-page="gallery"] .gallery-grid::-webkit-scrollbar,
body[data-page="gallery"] .gallery-thumbs::-webkit-scrollbar,
.alloggi-photo-strip::-webkit-scrollbar,
.alloggi-side-strip::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.is-scroll-gallery.is-dragging {
  cursor: grabbing;
}

.scroll-button,
.slider-arrow {
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  z-index: 8;
}

.scroll-button {
  width: 23px;
  height: 39px;
  opacity: 0.9;
}

.scroll-button[hidden] {
  display: none;
}

.slideshow-arrow {
  display: block;
  width: 23px;
  height: 39px;
  fill: currentColor;
}

.scroll-button:hover,
.scroll-button:focus-visible,
.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: transparent;
  opacity: 1;
}

body[data-page="gallery"] .gallery-group > .scroll-button {
  position: absolute;
  top: 270px;
  color: rgba(0, 0, 0, 0.45);
}

body[data-page="gallery"] .gallery-group > .scroll-prev-button {
  left: max(12px, calc(50% - 360px));
}

body[data-page="gallery"] .gallery-group > .scroll-next-button {
  right: max(12px, calc(50% - 360px));
  left: auto;
}

body[data-page="gallery"] .gallery-group > .scroll-button:hover,
body[data-page="gallery"] .gallery-group > .scroll-button:focus-visible {
  color: rgba(0, 0, 0, 0.75);
}

body[data-page="gallery"] .gallery-group > .gallery-thumb-scroll-button {
  position: absolute;
  top: 540px;
  width: 34px;
  height: 48px;
  color: #fff;
  background: rgba(0, 0, 0, 0.38);
}

body[data-page="gallery"] .gallery-group > .gallery-thumb-prev-button {
  left: max(18px, calc(50% - min(820px, 50vw) + 18px));
}

body[data-page="gallery"] .gallery-group > .gallery-thumb-next-button {
  right: max(18px, calc(50% - min(820px, 50vw) + 18px));
  left: auto;
}

body[data-page="gallery"] .gallery-group > .gallery-thumb-scroll-button:hover,
body[data-page="gallery"] .gallery-group > .gallery-thumb-scroll-button:focus-visible {
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

body[data-page="alloggi"] .alloggi-stage > .scroll-button {
  position: absolute;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-button[data-scroll-target="alloggi-photo-strip-apartment"] {
  top: 548px;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-prev-button[data-scroll-target="alloggi-photo-strip-apartment"] {
  left: 0;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-next-button[data-scroll-target="alloggi-photo-strip-apartment"] {
  left: 933px;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-button[data-scroll-target="alloggi-side-strip-suite"] {
  top: 890px;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-prev-button[data-scroll-target="alloggi-side-strip-suite"] {
  left: 540px;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-next-button[data-scroll-target="alloggi-side-strip-suite"] {
  left: 934px;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-button[data-scroll-target="alloggi-side-strip-standard"] {
  top: 1290px;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-prev-button[data-scroll-target="alloggi-side-strip-standard"] {
  left: 540px;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-next-button[data-scroll-target="alloggi-side-strip-standard"] {
  left: 934px;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-button[data-scroll-target="alloggi-photo-strip-final"] {
  top: 2190px;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-prev-button[data-scroll-target="alloggi-photo-strip-final"] {
  left: 0;
}

body[data-page="alloggi"] .alloggi-stage > .scroll-next-button[data-scroll-target="alloggi-photo-strip-final"] {
  left: 933px;
}

.slider-arrow {
  position: absolute;
  width: 45px;
  top: 50%;
  height: 70px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.18);
  opacity: 0.82;
  transform: translateY(-50%);
}

.slider-arrow-prev {
  left: 20px;
}

.slider-arrow-next {
  right: 20px;
}

.directions-page {
  background: #fff;
}

.directions-content {
  padding: 68px 0 64px;
  text-align: center;
}

.directions-text {
  width: min(100% - 36px, 980px);
  margin: 0 auto;
}

.directions-text h1 {
  margin: 0 0 55px;
  font-family: "Quicksand", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 63px;
}

.directions-text p {
  width: min(100%, 826px);
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.48;
}

.directions-text p + p {
  margin-top: 28px;
}

.directions-steps {
  width: min(100%, 826px);
  margin: 0 auto;
  padding-left: 24px;
  font-size: 19px;
  line-height: 1.48;
  text-align: left;
  list-style-position: outside;
}

.directions-steps li + li {
  margin-top: 28px;
}

.directions-steps + p {
  margin-top: 28px;
}

.maps-button {
  width: 142px;
  height: 40px;
  margin: 44px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #000;
  font-size: 14px;
  text-decoration: none;
}

.directions-map {
  margin-right: auto;
  margin-left: auto;
  object-fit: contain;
}

.directions-map-large {
  width: 500px;
  height: 374px;
  margin-top: 51px;
}

.directions-map-small {
  width: 329px;
  height: 320px;
  margin-top: 18px;
}

.directions-google-map {
  width: min(100% - 36px, 980px);
  height: 470px;
  margin: 51px auto 0;
}

.contact-page {
  background: #fff;
}

.contact-content {
  width: min(100% - 36px, 920px);
  min-height: 377px;
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
}

.contact-content h1 {
  margin: 0 0 34px;
  font-family: "Quicksand", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 54px;
}

.contact-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.875;
}

.contact-content p + p {
  margin-top: 0;
}

.legal-page {
  background: #fff;
}

.legal-content {
  width: min(100% - 36px, 920px);
  margin: 0 auto;
  padding: 36px 0 72px;
}

.legal-content h1 {
  margin: 0 0 10px;
  font-family: "Quicksand", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

.legal-updated {
  margin: 0 0 34px;
  color: var(--muted);
  text-align: center;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.legal-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content a {
  color: var(--forest);
  font-weight: 500;
}

.google-map {
  width: 100%;
  height: 470px;
  display: block;
  border: 0;
}

@media (max-width: 980px) {
  .hero {
    height: 640px;
    min-height: 640px;
  }

  .brand,
  .site-nav {
    transform: none;
  }

  .hero h1 {
    font-size: clamp(46px, 9vw, 72px);
    line-height: 1.22;
  }

  .home-photo img {
    height: 72vw;
    min-height: 520px;
  }

  body[data-page="alloggi"] .room,
  body[data-page="alloggi"] .room:nth-child(even),
  body[data-page="attivita"] .activity {
    grid-template-columns: 1fr;
  }

  body[data-page="alloggi"] .room img,
  body[data-page="attivita"] .activity:nth-child(even) img,
  body[data-page="attivita"] .activity:nth-child(even) .activity-body {
    order: 0;
  }

  body[data-page="alloggi"] .room img {
    width: 100%;
  }

  body[data-page="servizi"] .section-band .container {
    width: min(100% - 28px, 720px);
  }

  body[data-page="servizi"] .service-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  body[data-page="servizi"] .service img,
  body[data-page="servizi"] .service-body {
    width: 100%;
  }

  body[data-page="attivita"] .activity-body {
    padding: 48px 32px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: auto;
  }

  .home-intro,
  .home-contact {
    padding: 58px 0;
  }

  .home-text h2,
  body[data-page="alloggi"] .page-title h1,
  body[data-page="servizi"] .page-title p,
  .contact-content h1 {
    font-size: 34px;
    line-height: 1.25;
  }

  .home-text p,
  body[data-page="alloggi"] .page-title p,
  body[data-page="alloggi"] .room p,
  .directions-text p {
    font-size: 16px;
  }

  .home-photo img {
    height: 86vw;
    min-height: 360px;
  }

  .home-video {
    padding: 24px 0 46px;
  }

  .home-video iframe {
    width: min(100% - 28px, 1240px);
  }

  body[data-page="servizi"] .page-title,
  body[data-page="attivita"] .page-title {
    height: auto;
    padding: 36px 0 46px;
  }

  body[data-page="servizi"] .service-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  body[data-page="servizi"] .service {
    display: grid;
  }

  body[data-page="servizi"] .service img,
  body[data-page="servizi"] .service-body,
  body[data-page="servizi"] .service:nth-child(n) img,
  body[data-page="servizi"] .service:nth-child(n) .service-body {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .agenda-button {
    min-width: 0;
    width: 100%;
  }

  body[data-page="attivita"] .activity h3,
  body[data-page="gallery"] .section-title,
  .directions-text h1 {
    font-size: 34px;
    line-height: 1.25;
  }

  body[data-page="gallery"] .gallery-button:first-child {
    width: 100%;
    flex-basis: 100%;
  }

  body[data-page="gallery"] .gallery-button:first-child img {
    width: auto;
    height: 420px;
  }

  .directions-map-large,
  .directions-map-small {
    width: min(100% - 28px, 500px);
    height: auto;
  }
}

/* Mobile usability pass keeps the Wix content but avoids a forced desktop canvas. */
@media (max-width: 980px) {
  :root {
    --header-h: 226px;
  }

  html {
    overflow-x: hidden;
  }

  body,
  .site-header,
  main,
  .site-footer {
    min-width: 0;
  }

  body[data-page="alloggi"],
  body[data-page="alloggi"] .site-header,
  body[data-page="alloggi"] main,
  body[data-page="alloggi"] .site-footer {
    min-width: 0;
    overflow-x: hidden;
  }

  body[data-page="alloggi"] .site-header::before {
    display: none;
  }

  body[data-page="alloggi"] .header-inner {
    width: min(100% - 36px, 940px);
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "actions";
    justify-items: center;
  }

  body[data-page="alloggi"] .brand {
    transform: none;
  }

  body[data-page="alloggi"] .brand img {
    width: min(290px, 74vw);
  }

  body[data-page="alloggi"] .site-nav,
  body[data-page="alloggi"] .site-nav.open {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 4px 24px;
    transform: none;
  }

  body[data-page="alloggi"] .site-nav a {
    min-height: 34px;
    padding-top: 10px;
  }

  body[data-page="alloggi"] .header-actions {
    position: static;
    justify-self: center;
  }

  body[data-page="alloggi"] .section-band {
    height: calc(2439px * var(--alloggi-scale, 1));
    overflow: hidden;
  }

  body[data-page="alloggi"] .alloggi-stage {
    margin-left: 50%;
    transform: translateX(-50%) scale(var(--alloggi-scale));
    transform-origin: top center;
  }

  body[data-page="gallery"],
  body[data-page="gallery"] .site-header,
  body[data-page="gallery"] main,
  body[data-page="gallery"] .site-footer {
    min-width: 0;
  }

  body[data-page="gallery"] .site-header::before {
    display: none;
  }

  .site-header::before {
    display: flex;
  }

  .header-inner {
    position: relative;
    width: min(100% - 36px, var(--max));
    min-height: var(--header-h);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      ". brand actions"
      ". nav .";
    align-items: center;
    gap: 10px 22px;
    padding: 28px 0 24px;
  }

  .brand {
    transform: translateY(14px);
  }

  .brand img {
    width: 290px;
    max-height: 105px;
  }

  .site-nav,
  .site-nav.open {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateY(8px);
  }

  .site-nav a {
    justify-content: initial;
  }

  .site-nav a[aria-current="page"]::before {
    display: block;
  }

  .header-actions {
    position: absolute;
    top: 136px;
    right: -74px;
    justify-self: auto;
  }

  body[data-page="gallery"] .header-inner {
    width: min(100% - 36px, 940px);
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "actions";
    justify-items: center;
  }

  body[data-page="gallery"] .brand {
    transform: none;
  }

  body[data-page="gallery"] .brand img {
    width: min(290px, 74vw);
  }

  body[data-page="gallery"] .site-nav,
  body[data-page="gallery"] .site-nav.open {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 4px 24px;
    transform: none;
  }

  body[data-page="gallery"] .site-nav a {
    min-height: 34px;
    padding-top: 10px;
  }

  body[data-page="gallery"] .header-actions {
    position: static;
    justify-self: center;
  }

  .hero {
    height: 740px;
    min-height: 740px;
  }

  .hero-copy {
    transform: translateY(-74px);
  }

  .hero h1 {
    font-size: 72px;
    line-height: 90px;
  }

  .hero-inner,
  .container,
  .footer-inner {
    width: min(100% - 36px, var(--max));
  }

  .footer-inner {
    width: 231px;
  }

  .home-intro {
    padding: 112px 0 46px;
  }

  .home-contact {
    padding: 92px 0 88px;
  }

  .home-text h2,
  body[data-page="alloggi"] .page-title h1,
  body[data-page="servizi"] .page-title p,
  .contact-content h1 {
    font-size: 40px;
    line-height: 54px;
  }

  .home-text p,
  body[data-page="alloggi"] .page-title p,
  body[data-page="alloggi"] .room p,
  .directions-text p {
    font-size: 18px;
  }

  .home-photo img {
    height: 720px;
    min-height: 720px;
  }

  body[data-page="alloggi"] .room {
    grid-template-columns: 397px 482px;
  }

  body[data-page="alloggi"] .room:nth-child(even) {
    grid-template-columns: 482px 397px;
  }

  body[data-page="alloggi"] .room img,
  body[data-page="alloggi"] .room:nth-child(even) img {
    width: 482px;
    order: 2;
  }

  body[data-page="alloggi"] .room:nth-child(even) img {
    order: 1;
  }

  body[data-page="alloggi"] .room-body,
  body[data-page="alloggi"] .room:nth-child(even) .room-body {
    order: 1;
  }

  body[data-page="alloggi"] .room:nth-child(even) .room-body {
    order: 2;
  }

  body[data-page="servizi"] .page-title,
  body[data-page="attivita"] .page-title {
    padding: 0;
  }

  body[data-page="servizi"] .page-title {
    height: 193px;
  }

  body[data-page="attivita"] .page-title {
    height: 316px;
  }

  body[data-page="servizi"] .section-band .container {
    width: 720px;
  }

  body[data-page="servizi"] .service-grid {
    grid-template-columns: 360px 360px;
    grid-auto-rows: 300px;
  }

  body[data-page="servizi"] .service {
    display: contents;
  }

  body[data-page="servizi"] .service img,
  body[data-page="servizi"] .service-body {
    width: 360px;
  }

  body[data-page="attivita"] .activity {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="attivita"] .activity:nth-child(even) img {
    order: 2;
  }

  body[data-page="attivita"] .activity:nth-child(even) .activity-body {
    order: 1;
  }

  body[data-page="attivita"] .activity-body {
    padding: 62px 0;
  }

  body[data-page="gallery"] .section-title {
    font-size: clamp(34px, 9vw, 56px);
    line-height: 1.23;
  }

  body[data-page="gallery"] .gallery-group:nth-child(3) .section-title {
    width: min(1099px, 100vw - 36px);
    margin-left: 50%;
    transform: translateX(-50%);
  }

  body[data-page="gallery"] .gallery-button:first-child {
    width: 100%;
    flex-basis: 100%;
  }

  body[data-page="gallery"] .gallery-button:first-child img {
    width: auto;
    height: 420px;
  }

  .directions-text h1 {
    font-size: 50px;
    line-height: 63px;
  }

  .directions-map-large {
    width: 500px;
    height: 374px;
  }

  .directions-map-small {
    width: 329px;
    height: 320px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 120px;
  }

  body,
  .site-header,
  main,
  .site-footer {
    min-width: 0;
  }

  .site-header::before {
    display: none;
  }

  .header-inner,
  body[data-page="alloggi"] .header-inner,
  body[data-page="gallery"] .header-inner {
    width: min(100% - 28px, var(--max));
    min-height: var(--header-h);
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "brand actions menu"
      "language language language"
      "nav nav nav";
    justify-items: initial;
    align-items: center;
    gap: 10px 14px;
    padding: 14px 0;
  }

  .brand,
  body[data-page="alloggi"] .brand,
  body[data-page="gallery"] .brand {
    justify-content: flex-start;
    transform: none;
  }

  .brand img,
  body[data-page="alloggi"] .brand img,
  body[data-page="gallery"] .brand img {
    width: min(236px, 54vw);
    max-height: 86px;
  }

  .header-actions,
  body[data-page="alloggi"] .header-actions,
  body[data-page="gallery"] .header-actions {
    position: static;
    grid-area: actions;
    justify-self: end;
  }

  .language-switch {
    position: static;
    grid-area: language;
    justify-self: center;
    width: min(274px, 100%);
    height: 38px;
    font-size: 0.86rem;
  }

  .language-switch a {
    padding: 0 16px;
  }

  .menu-toggle {
    grid-area: menu;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #d6d6d6;
    border-radius: 0;
    color: #000;
    background: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 20px;
    height: 1px;
    display: block;
    background: currentColor;
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav,
  .site-nav.open,
  body[data-page="alloggi"] .site-nav,
  body[data-page="alloggi"] .site-nav.open,
  body[data-page="gallery"] .site-nav,
  body[data-page="gallery"] .site-nav.open {
    position: static;
    grid-area: nav;
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid #ececec;
    border-bottom: 0;
    background: #fff;
    transform: none;
  }

  .site-nav {
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a,
  body[data-page="alloggi"] .site-nav a,
  body[data-page="gallery"] .site-nav a {
    min-height: 38px;
    padding: 8px 0;
    justify-content: center;
    text-align: center;
  }

  .site-nav a[aria-current="page"]::before {
    display: none;
  }

  .hero {
    height: clamp(520px, calc(100svh - var(--header-h)), 640px);
    min-height: clamp(520px, calc(100svh - var(--header-h)), 640px);
  }

  .hero-copy {
    transform: translateY(-24px);
  }

  .hero h1 {
    font-size: clamp(46px, 11vw, 72px);
    line-height: 1.22;
  }

  .home-photo img {
    height: clamp(360px, 86vw, 560px);
    min-height: 360px;
  }

  body[data-page="servizi"] .section-band .container,
  body[data-page="alloggi"] .alloggi-prices .container,
  body[data-page="alloggi"] .alloggi-prices .price-contact,
  body[data-page="alloggi"] .alloggi-prices .price-notes {
    width: min(100% - 28px, 980px);
  }

  body[data-page="alloggi"] .alloggi-prices .section-title {
    width: min(100%, 620px);
  }

  .directions-google-map,
  .google-map,
  .home-google-map {
    height: 380px;
  }
}

@media (max-width: 680px) {
  .header-inner,
  body[data-page="alloggi"] .header-inner,
  body[data-page="gallery"] .header-inner {
    width: min(100% - 24px, var(--max));
  }

  .brand img,
  body[data-page="alloggi"] .brand img,
  body[data-page="gallery"] .brand img {
    width: min(214px, 52vw);
  }

  .icon-link {
    width: 40px;
    height: 40px;
  }

  .icon-link img {
    width: 19px;
    height: 19px;
  }

  .home-intro,
  .home-contact {
    padding: 58px 0;
  }

  body[data-page="servizi"] .page-title,
  body[data-page="attivita"] .page-title {
    height: auto;
    padding: 36px 0 46px;
  }

  body[data-page="servizi"] .service-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  body[data-page="servizi"] .service {
    display: grid;
  }

  body[data-page="servizi"] .service img,
  body[data-page="servizi"] .service-body,
  body[data-page="servizi"] .service:nth-child(n) img,
  body[data-page="servizi"] .service:nth-child(n) .service-body {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  body[data-page="servizi"] .service-body {
    min-height: 220px;
  }

  body[data-page="attivita"] .activity,
  body[data-page="attivita"] .activity:nth-child(2),
  body[data-page="attivita"] .activity:nth-child(3),
  body[data-page="attivita"] .activity:nth-child(4) {
    height: auto;
    grid-template-columns: 1fr;
  }

  body[data-page="attivita"] .activity:nth-child(even) img,
  body[data-page="attivita"] .activity:nth-child(even) .activity-body {
    order: 0;
  }

  body[data-page="attivita"] .activity img {
    height: clamp(280px, 70vw, 420px);
  }

  body[data-page="attivita"] .activity-body {
    padding: 42px 24px;
  }

  body[data-page="attivita"] .activity-body > * {
    width: 100%;
    max-width: none;
  }

  .activity-links {
    gap: 12px;
  }

  .activity-links a,
  .activity-links a:first-child,
  .activity-links a:nth-child(2) {
    width: 100%;
  }

  body[data-page="gallery"] .gallery-grid,
  body[data-page="gallery"] .gallery-button,
  body[data-page="gallery"] .gallery-button:not(:first-child),
  body[data-page="gallery"] .gallery-button:first-child {
    width: 100%;
    flex-basis: 100%;
  }

  body[data-page="gallery"] .gallery-button img,
  body[data-page="gallery"] .gallery-button:first-child img {
    max-width: 100%;
  }

  .directions-content {
    padding: 46px 0 52px;
  }

  .directions-map-large,
  .directions-map-small {
    width: min(100% - 28px, 500px);
    height: auto;
  }

  .directions-google-map,
  .google-map,
  .home-google-map {
    height: 340px;
  }
}
