:root {
  --deep-sea: #193746;
  --canvas: #fff;
  --sea-mist: #e6f0f1;
  --cream: #f9f9f9;
  --link: #285b70;
  --action: #145f7b;
  --detail: #9cbfc6;
  --ink: #233139;
  --background: var(--canvas);
  --surface: #ffffff;
  --text: var(--ink);
  --muted: #5c6870;
  --line: rgba(25, 55, 70, 0.14);
  --accent: var(--action);
  --gold: var(--link);
  --paper: var(--canvas);
  --paper-text: var(--ink);
  --paper-muted: #5c6870;
  --header-height: 132px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 18px 48px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
input,
select,
textarea {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -80px;
  z-index: 10000;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
}

.skip-link:focus {
  top: 20px;
}

/* Header layout mirrors tema/css/header-layout.css. */
.cph-header {
  --cph-header-bg: transparent;
  --cph-header-text: #ffffff;
  --cph-header-border: rgba(255, 255, 255, 0.34);
  --cph-header-button-text: #ffffff;
  --cph-header-button-border: rgba(255, 255, 255, 0.72);
  --cph-header-booking-bg: rgba(255, 255, 255, 0.16);
  --cph-header-booking-text: #ffffff;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: var(--cph-header-bg);
  border-bottom: 1px solid var(--cph-header-border);
  color: var(--cph-header-text);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cph-header__inner {
  width: calc(100% - 48px);
  max-width: 90%;
  margin: 0 auto;
  padding: 14px 0 10px;
}

.cph-header__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.cph-header__menu {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--cph-header-text);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.cph-header__menu-icon {
  width: 22px;
  height: 14px;
  display: grid;
  gap: 5px;
}

.cph-header__menu-icon::before,
.cph-header__menu-icon::after,
.cph-header__menu-icon span {
  content: "";
  display: block;
  height: 1px;
  background: currentColor;
}

.cph-header__logo {
  justify-self: center;
  display: block;
  width: clamp(270px, 28vw, 360px);
  min-width: 0;
  line-height: 0;
}

.cph-header__logo img {
  display: block;
  width: 100%;
}

.cph-header__logo img {
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}

.cph-header.is-sticky .cph-header__logo img,
.cph-header:hover .cph-header__logo img,
.cph-header:focus-within .cph-header__logo img {
  filter: none;
}

.cph-header__actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cph-header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--cph-header-button-border);
  border-radius: 999px;
  color: var(--cph-header-button-text);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04);
}

.cph-header__button--booking {
  background: var(--cph-header-booking-bg);
  color: var(--cph-header-booking-text);
}

.cph-header__button:hover,
.cph-header__button:focus-visible {
  transform: translateY(-1px);
}

.cph-header__nav {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--cph-header-border);
}

.cph-header__nav .nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cph-header__nav a {
  position: relative;
  color: var(--cph-header-text);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding-bottom: 6px;
}

.cph-header__nav a:hover,
.cph-header__nav a:focus-visible {
  color: var(--cph-header-button-border);
}

.cph-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.cph-header__nav a:hover::after,
.cph-header__nav a:focus-visible::after,
.cph-header__nav a.is-current::after {
  transform: scaleX(1);
}

.cph-header.is-sticky,
.cph-header:hover,
.cph-header:focus-within {
  --cph-header-bg: rgba(248, 250, 249, 0.96);
  --cph-header-text: var(--deep-sea);
  --cph-header-border: var(--line);
  --cph-header-button-text: var(--action);
  --cph-header-button-border: var(--action);
  --cph-header-booking-bg: var(--action);
  --cph-header-booking-text: #ffffff;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-open .mobile-panel {
  pointer-events: auto;
  opacity: 1;
}

.mobile-panel__menu {
  background: var(--background);
  padding: 35px;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.nav-open .mobile-panel__menu {
  transform: translateX(0);
}

.mobile-panel__backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(2px);
}

.mobile-panel__close {
  margin: 0 0 45px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper-text);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-panel__logo {
  display: block;
  width: min(220px, 100%);
  margin: 0 0 30px;
}

.mobile-panel__logo img {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .mobile-panel__logo {
    display: none;
  }
}

.mobile-panel nav {
  display: grid;
  gap: 15px;
}

.mobile-panel nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  color: var(--paper-text);
}

.mobile-panel nav a:hover,
.mobile-panel nav a:focus-visible {
  color: var(--gold);
}

.mobile-panel__nav-icon,
.mobile-panel nav a > svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
  transition: color 0.25s ease, transform 0.25s ease;
}

.mobile-panel nav a:hover > svg,
.mobile-panel nav a:focus-visible > svg,
.mobile-panel nav a.is-current > svg {
  color: currentColor;
  transform: translateX(2px);
}

.mobile-panel nav a.is-current {
  color: var(--gold);
}

.mobile-panel__languages {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.mobile-panel__language {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.13em;
  line-height: 1;
}

.mobile-panel__language:hover,
.mobile-panel__language:focus-visible,
.mobile-panel__language.is-current {
  color: var(--gold);
}

.mobile-panel__language-flag {
  font-family: system-ui, sans-serif;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0;
}

.mobile-panel__note {
  margin-top: 45px;
  color: var(--muted);
  font-size: 13px;
}

.elementor-section-wrap {
  overflow: hidden;
}

.slider_parallax_wrapper {
  position: relative;
  height: 800px;
  min-height: 680px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: inset 0 -120px 180px rgba(0, 0, 0, 0.22);
}

.slider_parallax_inner,
.slider_parallax_slides,
.slide,
.image-container,
.image-container img,
.video-container,
.video-container video,
.video-container img {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
  transition: opacity 900ms ease;
}

.slide.is-active {
  opacity: 1;
}

.image-container::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
}

.video-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.35);
}

.image-container img,
.video-container video,
.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.video-container {
  z-index: 0;
  opacity: 1;
}

.slider_parallax_slides {
  z-index: 2;
}

.slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 170px 8% 80px;
  text-align: center;
}

.caption {
  width: min(760px, 90vw);
  color: #fff;
}

.caption .title,
.caption .text,
.page-hero .kicker {
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.caption .title h1,
.caption .title h2,
.page-hero h1 {
  margin: 0;
  color: inherit;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 500;
  line-height: 1;
  text-transform: none;
  text-wrap: balance;
}

.caption .text {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 3px;
}

.pagination {
  position: absolute;
  right: 45px;
  bottom: 45px;
  z-index: 5;
  display: flex;
  gap: 12px;
}

.pagination .item {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.pagination .item.is-active {
  background: rgba(255, 255, 255, 0.22);
}

.pagination .item:hover,
.pagination .item:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.availability_search_wrapper {
  position: relative;
  z-index: 20;
  width: min(1170px, calc(100% - 50px));
  margin: -55px auto 0;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--paper-text);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mphb_sc_search-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  align-items: end;
}

.mphb_sc_search-form .full {
  grid-column: 1 / -1;
}

.mphb-required-fields-tip {
  display: none;
}

.mphb_sc_search-form p,
.request-form p {
  margin: 0;
}

.mphb_sc_search-form label,
.request-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--paper-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mphb_sc_search-form input,
.mphb_sc_search-form select,
.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d4d4d4;
  border-radius: var(--radius-md);
  background: transparent;
  padding: 0 12px;
  color: var(--paper-text);
  outline: none;
}

.request-form textarea {
  min-height: 130px;
  padding-top: 12px;
  resize: vertical;
}

.mphb_sc_search-form input:focus,
.mphb_sc_search-form select:focus,
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 95, 123, 0.14);
}

.mphb_sc_search-submit-button-wrapper input,
.button,
.room-card__cta,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.mphb_sc_search-submit-button-wrapper input:hover,
.button:hover,
.room-card__cta:hover,
.form-submit:hover {
  background: #fff;
  color: var(--accent);
  transform: translateY(-1px);
}

.section {
  padding: 100px 25px;
}

.section--paper {
  background: var(--paper);
  color: var(--paper-text);
}

.editorial-homes-cta {
  background-color: #fff;
}

.section--dark {
  background: var(--background);
  color: var(--paper-text);
}

.watermark-background {
  --watermark-image: none;
  --watermark-color: transparent;
  --watermark-opacity: 1;
  --watermark-size: auto;
  --watermark-side: left;
  --watermark-offset-x: 0px;
  --watermark-offset-y: 0px;
  --watermark-parallax-y: 0px;
  --watermark-repeat: no-repeat;
  position: relative;
  isolation: isolate;
}

.watermark-background--mitoraj {
  --watermark-image: url("../img/filigrana/piccola-atene-mitoraj.svg");
  --watermark-color: var(--detail);
  --watermark-opacity: 0.8;
  --watermark-size: clamp(340px, 24vw, 460px);
  --watermark-offset-x: -60px;
  --watermark-offset-y: 80px;
}

.watermark-background--mitoraj-2 {
  --watermark-image: url("../img/filigrana/piccola-atene-mitoraj-2.svg");
  --watermark-color: var(--detail);
  --watermark-opacity: 0.78;
  --watermark-size: clamp(330px, 26vw, 500px);
  --watermark-offset-x: -55px;
  --watermark-offset-y: 72px;
}

.watermark-background--duomo {
  --watermark-image: url("../img/filigrana/piccola-atene-duomo.svg");
  --watermark-color: var(--detail);
  --watermark-opacity: 0.78;
  --watermark-size: clamp(360px, 28vw, 520px);
  --watermark-offset-x: -50px;
  --watermark-offset-y: 76px;
}

.watermark-background--portale {
  --watermark-image: url("../img/filigrana/piccola-atene-portale.svg");
  --watermark-color: var(--detail);
  --watermark-opacity: 0.78;
  --watermark-size: clamp(250px, 20vw, 360px);
  --watermark-offset-x: -40px;
  --watermark-offset-y: 66px;
}

.watermark-background--left {
  --watermark-side: left;
}

.watermark-background--right {
  --watermark-side: right;
}

.watermark-background > * {
  position: relative;
  z-index: 1;
}

@supports ((mask-image: linear-gradient(#000, #000)) or (-webkit-mask-image: linear-gradient(#000, #000))) {
  .watermark-background::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--watermark-color);
    opacity: var(--watermark-opacity);
    pointer-events: none;
    transform: translate3d(0, var(--watermark-parallax-y), 0);
    will-change: transform;
    -webkit-mask-image: var(--watermark-image);
    -webkit-mask-position: var(--watermark-side) var(--watermark-offset-x) top var(--watermark-offset-y);
    -webkit-mask-repeat: var(--watermark-repeat);
    -webkit-mask-size: var(--watermark-size);
    mask-image: var(--watermark-image);
    mask-mode: alpha;
    mask-position: var(--watermark-side) var(--watermark-offset-x) top var(--watermark-offset-y);
    mask-repeat: var(--watermark-repeat);
    mask-size: var(--watermark-size);
  }
}

#richiesta {
  background:
    linear-gradient(90deg, rgba(15, 14, 12, 0.74), rgba(15, 14, 12, 0.54)),
    url("../img/territorio/lido-pontile-sera.webp") center / cover no-repeat;
}

#richiesta .split {
  grid-template-columns: minmax(0, 1fr);
}

#richiesta .split__image {
  display: none;
}

#richiesta .request-panel {
  width: min(760px, 100%);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
}

.section--editorial-center {
  padding-top: 86px;
}

.editorial-panorama {
  width: min(1170px, 100%);
  margin: 0 auto 58px;
  overflow: hidden;
}

.editorial-panorama img {
  width: 100%;
  height: clamp(240px, 26vw, 335px);
  object-fit: cover;
}

.intro--editorial {
  width: min(830px, 100%);
}

.parallax-banner {
  min-height: 50vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.section--pietrasanta-text .button {
  margin-top: 14px;
}

.container {
  width: min(1170px, 100%);
  margin: 0 auto;
}

.intro {
  width: min(930px, 100%);
  margin: 0 auto;
  text-align: center;
}

.intro-logo {
  width: min(180px, 50vw);
  height: auto;
  margin: 0 auto 24px;
}

.kicker {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.intro h2,
.split h2,
.section-title,
.footer-cta h2,
.contact-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

/* Le schede di contatto richiedono un titolo più discreto dei titoli di sezione. */
.contact-card h2 {
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.12;
}

.intro p,
.split p,
.contact-card p,
.footer-cta p {
  color: var(--paper-muted);
  font-size: 17px;
  line-height: 1.9;
}

.section--dark .intro p,
.section--dark .split p,
.section--dark .footer-cta p {
  color: var(--muted);
}

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

.split__image img {
  width: 100%;
  aspect-ratio: 545 / 800;
  object-fit: cover;
}

.split--reverse .split__image {
  order: 2;
}

.rooms-strip {
  padding: 38px 25px;
  background: linear-gradient(180deg, #fff, var(--paper));
  color: var(--paper-text);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rooms-strip .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
}

.rooms-strip a {
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  color: var(--ink);
}

.rooms-strip a:hover,
.rooms-strip a:focus-visible {
  color: var(--gold);
  transform: translateY(-1px);
}

.rooms-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.room-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--paper-text);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.room-card__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

body[data-page-key="home"] .room-card__image img,
body[data-page-key="apartments"] .room-card__image img {
  aspect-ratio: 8 / 5;
}

body[data-page-key="home"] .room-card__body,
body[data-page-key="apartments"] .room-card__body {
  background: #fff;
}

.room-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.room-card.is-video-playing .room-card__image img {
  opacity: 0;
}

.room-card.is-video-playing .room-card__video {
  opacity: 1;
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.room-card:hover .room-card__image img {
  transform: scale(1.03);
}

.room-card__body {
  flex: 1;
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.room-card h2,
.room-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 500;
}

.room-card p {
  margin: 0;
  color: var(--paper-muted);
}

.room-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-card__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(156, 191, 198, 0.5);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.room-card__cta {
  align-self: flex-start;
  margin-top: auto;
}

.page-hero {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
  padding: 170px 25px 80px;
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.page-hero.apartment-hero {
  color: #fff;
}

.page-hero.apartment-hero::before {
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42));
}

.page-hero.apartment-hero > div {
  max-width: 760px;
  padding: 34px 42px 38px;
  border-radius: 28px;
  background: rgba(20, 18, 15, 0.24);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.page-hero.apartment-hero h1,
.page-hero.apartment-hero .kicker {
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.66);
}

.page-hero.apartment-hero .kicker {
  color: var(--canvas);
}

.page-hero > * {
  position: relative;
  z-index: 2;
}

.page-hero.apartment-hero--image-only {
  min-height: 610px;
  padding: 0;
}

.page-hero.apartment-hero--image-only::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.16));
}

.page-hero.apartment-hero--video .apartment-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: rgba(18, 42, 54, 0.12);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-hero.apartment-hero--video {
  height: 100vh;
  min-height: 100vh;
}

.page-hero.apartment-hero--video .apartment-hero__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@supports (height: 100svh) {
  .page-hero.apartment-hero--video {
    height: 100svh;
    min-height: 100svh;
  }
}

@media (max-width: 767px) {
  .page-hero.apartment-hero--video {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

.apartment-heading {
  padding-top: 34px;
}

.room-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 86px;
  color: var(--paper-muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.room-breadcrumb span::before {
  content: "/";
  margin-right: 10px;
  color: rgba(35, 49, 57, 0.32);
}

.room-breadcrumb a:hover,
.room-breadcrumb a:focus-visible {
  color: var(--gold);
}

.apartment-heading__intro {
  width: min(930px, 100%);
  margin: 0 auto;
  text-align: center;
}

.apartment-heading__intro h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 500;
  line-height: 1;
  text-wrap: balance;
}

.apartment-heading__intro p:not(.kicker) {
  width: min(760px, 100%);
  margin: 26px auto 44px;
  color: var(--paper-text);
  font-size: 16px;
  line-height: 1.8;
}

.button--small {
  min-height: 36px;
  padding: 0 18px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.apartment-showcase {
  padding-top: 22px;
  padding-bottom: 60px;
}

.apartment-showcase .container,
.apartment-practical .container {
  width: min(980px, 100%);
}

.apartment-showcase figure {
  margin: 0;
}

.apartment-showcase img {
  width: 100%;
  aspect-ratio: 980 / 650;
  object-fit: cover;
}

.apartment-showcase figcaption {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 18px;
  color: var(--paper-muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.apartment-gallery {
  position: relative;
}

.apartment-gallery__track {
  position: relative;
  aspect-ratio: 980 / 650;
  overflow: hidden;
  background: var(--sea-mist);
}

.apartment-gallery__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.apartment-gallery__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.apartment-gallery__slide--portrait {
  display: grid;
  place-items: center;
  padding: 18px;
}

.apartment-gallery__slide--portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gallery-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(28px);
  transform: scale(1.12);
  opacity: 0.82;
}

.apartment-gallery__slide--portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(248, 250, 249, 0.16), rgba(35, 49, 57, 0.16));
}

.apartment-gallery__slide--portrait img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: min(72%, 380px);
  max-height: calc(100% - 36px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(35, 49, 57, 0.24);
}

.apartment-gallery__slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.apartment-gallery__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0 0 3px;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.apartment-gallery__control:hover,
.apartment-gallery__control:focus-visible {
  background: rgba(0, 0, 0, 0.55);
}

.apartment-gallery__control--prev {
  left: 22px;
}

.apartment-gallery__control--next {
  right: 22px;
}

.apartment-gallery__meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  color: var(--paper-muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.apartment-gallery__dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.apartment-gallery__dots button {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.apartment-gallery__dots button.is-active {
  background: #fff;
}

.apartment-description {
  padding-top: 28px;
  padding-bottom: 58px;
}

.apartment-description .intro {
  width: min(780px, 100%);
}

.apartment-description .intro h2 {
  font-size: clamp(34px, 4vw, 47px);
}

.apartment-description .intro p {
  margin-top: 28px;
  color: var(--paper-text);
  font-size: 15px;
  line-height: 1.85;
}

.apartment-practical {
  padding-top: 48px;
}

.apartment-practical h2 {
  margin: 0 0 28px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.house-map {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #d7d7d3;
}

.house-map__canvas,
.house-map__canvas iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.house-map__canvas {
  position: relative;
  filter: grayscale(1) contrast(0.92) brightness(1.08);
}

.house-map__canvas iframe {
  pointer-events: none;
}

.house-map__canvas.is-interactive iframe {
  pointer-events: auto;
}

.house-map__activate {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 24px;
  border: 0;
  background: rgba(18, 42, 54, 0.12);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.house-map__activate:hover,
.house-map__activate:focus-visible {
  background: rgba(18, 42, 54, 0.24);
}

.house-map__activate:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -8px;
}

.house-map__activate.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.house-map__caption {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 6vw, 96px);
  bottom: 32px;
  max-width: min(390px, calc(100% - 48px));
  padding: 18px 22px;
  color: #fff;
  background: rgba(18, 42, 54, 0.92);
  box-shadow: 0 10px 24px rgba(18, 42, 54, 0.18);
}

.house-map__caption .kicker {
  margin: 0 0 5px;
  color: #b9d0d7;
}

.house-map__caption p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.info-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.info-table > div {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 44px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.info-table dt {
  color: var(--paper-muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-table dd {
  margin: 0;
  color: var(--paper-text);
  font-size: 14px;
  line-height: 1.65;
}

.info-table ul {
  margin: 0;
  padding-left: 18px;
}

.info-table a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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

.related-apartments a {
  min-height: 410px;
  display: grid;
  place-items: center;
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
}

.related-apartments span {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.related-carousel {
  position: relative;
  overflow: hidden;
}

.related-carousel__viewport {
  overflow: hidden;
}

.related-carousel__track.related-apartments {
  display: flex;
  grid-template-columns: none;
  transition: transform 0.5s ease;
  will-change: transform;
}

.related-carousel__track.related-apartments > a {
  flex: 0 0 50%;
  min-width: 0;
}

.related-carousel__control:disabled {
  opacity: 0.38;
  cursor: default;
}

.related-homes {
  overflow: hidden;
  padding-top: 86px;
  padding-bottom: 72px;
}

.related-homes > .container {
  width: 100%;
}

.related-homes__header {
  margin-bottom: 38px;
  text-align: center;
}

.related-homes__header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

.related-homes__carousel {
  position: relative;
  padding-inline: clamp(50px, 4vw, 72px);
}

.related-homes__viewport {
  overflow-x: clip;
  overflow-y: visible;
  margin-inline: -27px;
  padding: 8px 27px 22px;
  touch-action: pan-y;
}

.related-homes__track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.22, 0.7, 0.25, 1);
  will-change: transform;
}

.related-homes__track > .room-card {
  display: flex;
  flex: 0 0 calc((100% - 56px) / 3);
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
}

.related-homes__track > .room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.related-homes__track .room-card__image {
  aspect-ratio: 16 / 9;
}

.related-homes__track .room-card__image img,
.related-homes__track .room-card__image video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.related-homes__track .room-card__body {
  flex: 1;
  background: #fff;
}

.related-homes__track .room-card__cta {
  margin-top: auto;
}

.related-homes .related-carousel__control {
  top: 34%;
}

.related-homes .related-carousel__control--prev {
  left: 0;
}

.related-homes .related-carousel__control--next {
  right: 0;
}

@media (max-width: 1050px) {
  .related-homes__track > .room-card {
    flex-basis: calc((100% - 28px) / 2);
  }
}

@media (max-width: 767px) {
  .house-map__caption {
    right: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
    padding: 14px 16px;
  }

  .related-carousel__track.related-apartments > a {
    flex-basis: 100%;
  }

  .related-homes {
    padding-top: 66px;
    padding-bottom: 58px;
  }

  .related-homes__header {
    margin-bottom: 25px;
  }

  .related-homes__carousel {
    padding: 0 0 58px;
  }

  .related-homes__viewport {
    margin-inline: -17px;
    padding-inline: 17px;
  }

  .related-homes__track {
    gap: 18px;
  }

  .related-homes__track > .room-card {
    flex-basis: 100%;
  }

  .related-homes .related-carousel__control {
    top: auto;
    bottom: 4px;
    transform: none;
  }

  .related-homes .related-carousel__control--prev {
    left: calc(50% - 76px);
  }

  .related-homes .related-carousel__control--next {
    right: calc(50% - 76px);
  }
}

.feature-strip {
  background: var(--canvas);
  color: var(--ink);
  padding: 35px 80px;
}

.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  max-width: 1170px;
  margin: 0 auto;
  text-align: center;
}

.feature-strip h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  font-weight: 500;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 15px;
}

.gallery-row img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.services-grid,
.contact-grid,
.text-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.service-box,
.contact-card,
.faq-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.72));
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-box--link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.service-box:hover,
.service-box:focus-visible,
.contact-card:hover,
.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(156, 191, 198, 0.5);
  box-shadow: var(--shadow-lift);
}

.service-box:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.service-box h3,
.faq-item h2 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
  font-weight: 500;
}

.service-box__label {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(40, 91, 112, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-box p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.request-panel {
  background: #fff;
  color: var(--paper-text);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

#booking .request-panel {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 32px;
}

#booking .request-form {
  gap: 14px;
}

#booking .request-form input,
#booking .request-form select {
  min-height: 40px;
}

#booking .request-form textarea {
  min-height: 96px;
}

.form-note {
  margin: 0 0 24px;
  color: var(--muted);
}

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

.request-form .full {
  grid-column: 1 / -1;
}

.request-form label {
  color: var(--paper-text);
}

.request-form input,
.request-form select,
.request-form textarea {
  border-color: rgba(35, 49, 57, 0.18);
  color: var(--paper-text);
  background: #fff;
}

.request-form select option {
  color: var(--paper-text);
}

.request-form .privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
}

.request-form .privacy input {
  width: auto;
  min-height: auto;
  margin-top: 5px;
}

.privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
}

.privacy input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-success {
  color: #166534;
}

.form-status.is-error {
  color: #b42318;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.is-sending [type="submit"] {
  cursor: wait;
  opacity: 0.72;
}

.form-submit {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.form-submit:hover {
  color: var(--accent);
  background: #fff;
}

.map-frame {
  width: 100%;
  min-height: 430px;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

.footer-cta {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 70px 25px;
  background: var(--deep-sea) url("../img/territorio/lido-pontile.webp") center 50% / cover no-repeat;
  text-align: center;
}

.footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.footer-cta > div {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.footer-cta h2 {
  color: #fff;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.86);
}

.footer-cta .kicker {
  color: var(--gold);
}

.footer-main {
  background: var(--paper);
  padding: 60px 25px 55px;
  color: var(--paper-text);
  border-top: 1px solid var(--line);
}

.footer-main .footer-logo {
  display: grid;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto 30px;
}

.footer-main .footer-logo strong {
  white-space: nowrap;
}

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

.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 45px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--line);
}

.footer-main .footer-newsletter h3 {
  margin-bottom: 8px;
}

.footer-main .footer-newsletter p {
  margin: 0;
}

.footer-newsletter__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.footer-newsletter__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-newsletter input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--paper-text);
  outline: none;
}

.footer-newsletter input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 95, 123, 0.14);
}

.footer-newsletter input[type="email"]::placeholder {
  color: var(--paper-muted);
  opacity: 1;
}

.footer-newsletter input[type="submit"] {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.footer-newsletter input[type="submit"]:hover,
.footer-newsletter input[type="submit"]:focus-visible {
  background: #fff;
  color: var(--accent);
}

.footer-newsletter #mce-responses {
  grid-column: 1 / -1;
}

.footer-newsletter .response:empty {
  display: none;
}

.footer-newsletter__honeypot {
  position: absolute;
  left: -5000px;
}

.footer-main h3 {
  margin: 0 0 20px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-main a,
.footer-main p {
  display: block;
  margin: 0 0 8px;
  color: var(--paper-muted);
}

.footer-main a.is-current {
  color: var(--gold);
}

.footer-main a:hover,
.footer-main a:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 45px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--paper-muted);
  font-size: 12px;
}

.footer-bottom a {
  display: inline;
  margin: 0;
}

.whatsapp-fixed {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 1090;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.34), 0 8px 20px rgba(0, 0, 0, 0.22);
}

.whatsapp-fixed:hover,
.whatsapp-fixed:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.42), 0 10px 24px rgba(0, 0, 0, 0.24);
}

.whatsapp-fixed svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .watermark-background--mitoraj {
    --watermark-opacity: 0.7;
    --watermark-size: 340px;
    --watermark-offset-x: -110px;
    --watermark-offset-y: -65px;
  }

  .cph-header__actions .cph-header__button--language {
    display: none;
  }

  .mphb_sc_search-form,
  .rooms-grid,
  .services-grid,
  .contact-grid,
  .text-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .parallax-banner {
    background-attachment: scroll;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 76px;
  }

  .watermark-background--mitoraj {
    --watermark-opacity: 0.6;
    --watermark-size: clamp(240px, 72vw, 300px);
    --watermark-offset-x: -90px;
    --watermark-offset-y: -55px;
  }

  .cph-header__inner {
    width: calc(100% - 24px);
    padding: 12px 0 10px;
  }

  .cph-header__top {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo menu";
    gap: 16px;
  }

  .cph-header__menu {
    grid-area: menu;
    justify-self: end;
  }

  .cph-header__actions {
    display: none;
  }

  .cph-header__logo {
    grid-area: logo;
    justify-self: start;
    width: min(250px, 100%);
  }

  .cph-header__menu > span:not(.cph-header__menu-icon),
  .cph-header__button--language {
    display: none;
  }

  .cph-header__button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 10px;
  }

  .cph-header__nav {
    display: none;
  }

  .slider_parallax_wrapper,
  .page-hero {
    height: auto;
    min-height: 620px;
  }

  .slide-content {
    padding: 130px 25px 90px;
  }

  .caption {
    width: 100%;
  }

  .caption .title h1,
  .caption .title h2,
  .page-hero h1 {
    font-size: 46px;
  }

  .page-hero.apartment-hero > div {
    width: min(100%, 520px);
    padding: 28px 22px 32px;
    border-radius: 22px;
  }

  .page-hero.apartment-hero--image-only {
    min-height: 520px;
  }

  .availability_search_wrapper {
    width: calc(100% - 30px);
    margin-top: -40px;
    padding: 20px;
  }

  .mphb_sc_search-form,
  .split,
  .rooms-grid,
  .services-grid,
  .contact-grid,
  .text-grid,
  .request-form,
  .footer-grid,
  .footer-newsletter,
  .gallery-row {
    grid-template-columns: 1fr;
  }

  .split,
  .split--reverse .split__image {
    gap: 35px;
    order: initial;
  }

  .section {
    padding: 70px 20px;
  }

  .section--editorial-center {
    padding-top: 62px;
  }

  .apartment-heading {
    padding-top: 28px;
  }

  .room-breadcrumb {
    margin-bottom: 54px;
  }

  .apartment-heading__intro p:not(.kicker) {
    margin-bottom: 34px;
  }

  .apartment-showcase {
    padding-top: 0;
    padding-bottom: 44px;
  }

  .apartment-showcase img {
    aspect-ratio: 4 / 5;
  }

  .apartment-showcase figcaption {
    justify-content: space-between;
  }

  .apartment-gallery__track {
    aspect-ratio: 4 / 5;
  }

  .apartment-gallery__control {
    width: 38px;
    height: 38px;
    font-size: 30px;
  }

  .apartment-gallery__control--prev {
    left: 14px;
  }

  .apartment-gallery__control--next {
    right: 14px;
  }

  .apartment-gallery__meta {
    justify-content: space-between;
  }

  .info-table > div {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .related-apartments {
    grid-template-columns: 1fr;
  }

  .related-apartments a {
    min-height: 300px;
  }

  .editorial-panorama {
    margin-bottom: 40px;
  }

  .editorial-panorama img {
    height: 220px;
  }

  .parallax-banner {
    min-height: 50vh;
  }

  .rooms-strip .container {
    gap: 18px;
  }

  .rooms-strip a {
    font-size: 20px;
  }

  .feature-strip {
    padding: 30px 20px;
  }

  .feature-strip__grid {
    grid-template-columns: 1fr;
  }

  .gallery-row img {
    height: 300px;
  }

  .footer-bottom {
    flex-direction: column;
  }

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

  .footer-newsletter {
    gap: 28px;
    margin-bottom: 35px;
    padding-bottom: 30px;
  }

  .footer-newsletter input[type="submit"] {
    width: 100%;
  }

  .footer-main .footer-logo {
    width: max-content;
  }

  .whatsapp-fixed {
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .mobile-panel {
    grid-template-columns: minmax(260px, 86vw) 1fr;
  }
}

.room-card__image {
  position: relative;
  display: block;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .room-card__video {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Palette e tipografia della nuova direzione. */
.cph-header__menu,
.cph-header__nav a,
.mphb_sc_search-form label,
.request-form label {
  font-weight: 500;
}

.mphb_sc_search-submit-button-wrapper input,
.button,
.room-card__cta,
.form-submit,
.footer-newsletter input[type="submit"] {
  font-weight: 700;
}

.section--paper h1,
.section--paper h2,
.section--paper h3,
.section--dark h1,
.section--dark h2,
.section--dark h3,
.rooms-strip a,
.room-card h2,
.room-card h3,
.feature-strip h3,
.footer-main h3 {
  color: var(--deep-sea);
}

.intro h2,
.split h2,
.section-title,
.contact-card h2,
.related-homes__header h2,
.apartment-heading__intro h1 {
  font-weight: 600;
}

.section--dark {
  background: var(--cream);
  color: var(--ink);
}

.section--dark .split h2,
.section--dark > .container > .intro h2 {
  color: var(--deep-sea);
}

.section--dark .split p,
.section--dark .intro p {
  color: var(--muted);
}

.section--dark .kicker {
  color: var(--link);
}

.section--dark .request-panel h2 {
  color: var(--deep-sea);
}

.section--dark .request-panel p {
  color: var(--ink);
}

.section--dark .request-panel .kicker {
  color: var(--link);
}

.section--dark .service-box h3 {
  color: var(--deep-sea);
}

.availability_search_wrapper,
#richiesta .request-panel {
  background: rgba(255, 255, 255, 0.96);
}

.room-card,
body[data-page-key="home"] .room-card__body,
body[data-page-key="apartments"] .room-card__body,
.related-homes__track .room-card__body,
.service-box,
.contact-card,
.faq-item,
.feature-strip {
  background: var(--surface);
}

.room-card__facts span {
  border-color: var(--detail);
  color: var(--link);
}

.service-box__label {
  background: rgba(40, 91, 112, 0.1);
  color: var(--link);
}

.feature-strip,
.rooms-strip a {
  color: var(--deep-sea);
}

.rooms-strip {
  background: var(--canvas);
}

.page-hero.apartment-hero .kicker,
.footer-cta .kicker {
  color: var(--canvas);
}

.footer-main {
  background: var(--deep-sea);
  color: var(--canvas);
  border-color: rgba(230, 240, 241, 0.3);
}

.footer-main h3,
.footer-main .footer-logo {
  color: var(--canvas);
}

.footer-main a,
.footer-main p,
.footer-bottom {
  color: var(--sea-mist);
}

.footer-main a:hover,
.footer-main a:focus-visible,
.footer-main a.is-current {
  color: var(--canvas);
}

.footer-newsletter input[type="email"] {
  background: var(--canvas);
}

.footer-newsletter input[type="email"]:focus,
.mphb_sc_search-form input:focus,
.mphb_sc_search-form select:focus,
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(20, 95, 123, 0.14);
}

/* Editorial sections: alternating, full-height image and copy panels. */
.editorial-split.section {
  padding: 0;
}

.editorial-split .editorial-split__grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  min-height: 100vh;
  min-height: 100svh;
}

.editorial-split .split__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(56px, 5vw, 110px);
}

.editorial-split .split__copy > * {
  max-width: 540px;
}

.editorial-split .split__image {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.editorial-split .split__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

/* Keep the Lucca bell tower in frame in the destinations panel. */
.editorial-split .split__image--tower-view img {
  object-position: center top;
}

@media (max-width: 900px) {
  .editorial-split .editorial-split__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .editorial-split .split__copy {
    padding: 64px clamp(24px, 7vw, 64px);
  }

  .editorial-split .split__image {
    min-height: clamp(340px, 65vw, 560px);
  }
}

.home-parallax-banner {
  height: 100vh;
  height: 100svh;
}

@media (max-width: 767px) {
  .home-parallax-banner {
    background-position: 32% center;
  }
}

@media (max-width: 767px) {
  .rooms-page {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Desktop header: menu, brand, navigation and actions on one row. */
@media (min-width: 1051px) {
  :root { --header-height: 88px; }
  .cph-header {
    --cph-header-bg: rgba(248, 250, 249, 0.96);
    --cph-header-text: var(--deep-sea);
    --cph-header-border: var(--line);
    --cph-header-button-text: var(--action);
    --cph-header-button-border: var(--action);
    --cph-header-booking-bg: var(--action);
    --cph-header-booking-text: #ffffff;
  }
  .cph-header__inner {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(16px, 2vw, 32px);
    min-height: 88px;
    padding: 12px 0;
  }
  .cph-header__top { display: contents; }
  .cph-header__menu { grid-column: 1; grid-row: 1; font-size: 10px; }
  .cph-header__logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    width: clamp(210px, 19vw, 280px);
  }
  .cph-header__logo img { filter: none; }
  .cph-header__nav {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .cph-header__nav .nav { flex-wrap: nowrap; gap: clamp(12px, 1.35vw, 22px); }
  .cph-header__nav a { font-size: clamp(10px, 0.78vw, 12px); white-space: nowrap; padding-bottom: 4px; }
  .cph-header__actions { grid-column: 4; grid-row: 1; gap: 8px; }
  .cph-header__button { min-height: 32px; padding: 0 12px; font-size: 10px; }
}