:root {
  --ink: #123a42;
  --ink-deep: #082d34;
  --sea: #0b6470;
  --sea-light: #dceff0;
  --foam: #f6f5ef;
  --sand: #e8dfd2;
  --coral: #ee735e;
  --white: #fff;
  --muted: #617377;
  --line: rgba(18, 58, 66, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 0.5rem;
  box-shadow: 0 12px 30px rgba(8, 45, 52, 0.15);
}

.skip-link:focus {
  top: 1rem;
}

.top-note {
  min-height: 34px;
  padding: 0.55rem 6vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.top-note i {
  color: var(--coral);
}

.top-note a {
  color: var(--white);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 88px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 245, 239, 0.94);
  border-bottom: 1px solid rgba(18, 58, 66, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand > span:last-child {
  display: grid;
  gap: 0.08rem;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1;
}

.brand small {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--muted);
}

.brand-logo {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: cover;
  border: 2px solid rgba(18, 58, 66, 0.12);
  border-radius: 50%;
  box-shadow: 0 9px 24px rgba(8, 45, 52, 0.14);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 2px;
  border: 1px solid rgba(18, 58, 66, 0.22);
  border-radius: 50%;
}

.brand-mark span {
  width: 22px;
  height: 4px;
  display: block;
  border-top: 1.5px solid var(--sea);
  border-radius: 50%;
  transform: rotate(-5deg);
}

.brand-mark span:nth-child(2) {
  width: 17px;
  margin-left: 5px;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.8rem);
  font-size: 0.78rem;
  font-weight: 600;
}

.main-navigation > a {
  position: relative;
  padding: 1.8rem 0;
}

.main-navigation > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1.35rem;
  width: 100%;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-navigation > a:hover::after,
.main-navigation > a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 42px;
  padding: 0 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-weight: 650;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: clamp(4.2rem, 8vw, 7.2rem) 5vw 8rem;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 5vw;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(130deg, #f8f6ef 0%, #f2eee5 56%, #d9e8e6 100%);
}

.hero-wash {
  position: absolute;
  width: 44rem;
  height: 44rem;
  left: -26rem;
  top: 3rem;
  border: 1px solid rgba(11, 100, 112, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(11, 100, 112, 0.025),
    0 0 0 10rem rgba(11, 100, 112, 0.018);
}

.hero-copy,
.hero-visual,
.availability-bar {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--sea);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.eyebrow > span {
  width: 34px;
  height: 1px;
  display: inline-block;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.comfort-intro h2,
.photo-story h2,
.faq-heading h2,
.booking-form-wrap h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(4rem, 7vw, 7.7rem);
  line-height: 0.85;
}

.hero h1 em {
  position: relative;
  color: var(--coral);
  font-weight: 400;
}

.hero-intro {
  max-width: 535px;
  margin: 2rem 0 0;
  color: #4c676b;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.button {
  min-height: 54px;
  padding: 0.2rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--sea);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(11, 100, 112, 0.18);
}

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

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-coral {
  width: 100%;
  background: var(--coral);
  color: var(--white);
}

.text-link,
.gallery-link {
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid rgba(18, 58, 66, 0.35);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-facts {
  margin-top: 3.2rem;
  padding-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-facts span {
  min-width: 88px;
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-facts b {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-visual {
  min-height: 525px;
  align-self: stretch;
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(8, 45, 52, 0.18);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-main {
  width: 64%;
  height: 100%;
  right: 2%;
  top: 0;
  border-radius: 50% 50% 5px 5px / 24% 24% 5px 5px;
}

.hero-photo-small {
  width: 36%;
  height: 56%;
  left: 0;
  bottom: 0;
  border: 7px solid rgba(246, 245, 239, 0.9);
  border-radius: 2px;
}

.hero-photo-small img {
  object-position: 50% 40%;
}

.hero-seal {
  position: absolute;
  width: 128px;
  height: 128px;
  left: 24%;
  top: 7%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(238, 115, 94, 0.25);
  transform: rotate(-8deg);
}

.hero-seal span {
  margin-bottom: -0.3rem;
  font-size: 1.8rem;
}

.hero-seal img {
  width: 34px;
  height: 34px;
  margin: 0 auto 0.2rem;
  object-fit: cover;
  border-radius: 50%;
}

.hero-seal-logo {
  width: 152px;
  height: 152px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 20px 48px rgba(8, 45, 52, 0.24);
  transform: rotate(-5deg);
}

.hero-seal-logo img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  border-radius: 50%;
}

.hero-seal strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.hero-seal small {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-caption {
  position: absolute;
  right: 4%;
  bottom: 2.5%;
  min-width: 185px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.hero-caption span {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.hero-caption p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
}

.availability-bar {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  width: min(90%, 1040px);
  min-height: 92px;
  padding: 0.7rem;
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr 1.25fr;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(8, 45, 52, 0.14);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.availability-bar label {
  min-width: 0;
  padding: 0.8rem 1.25rem;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  border-right: 1px solid var(--line);
}

.availability-bar label > span,
.booking-form label > span {
  font-size: 0.61rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.availability-bar input,
.availability-bar select {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
}

.availability-bar button {
  margin-left: 0.7rem;
  border: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.intro-band {
  min-height: 175px;
  padding: 2.6rem 6vw;
  display: grid;
  grid-template-columns: 0.6fr 2fr 0.8fr;
  gap: 4vw;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.intro-band > p,
.intro-band > span {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.intro-band > span {
  text-align: right;
}

.intro-band blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  line-height: 1.4;
  text-align: center;
}

.section {
  padding: clamp(5.5rem, 9vw, 9rem) 5vw;
}

.section-heading {
  max-width: 1280px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 7vw;
  align-items: end;
}

.section-heading h2,
.comfort-intro h2,
.photo-story h2,
.faq-heading h2,
.booking-form-wrap h2 {
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 0.96;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.apartment-list {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.apartment-card {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(400px, 0.84fr);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 45, 52, 0.07);
}

.apartment-card:nth-child(even) {
  grid-template-columns: minmax(400px, 0.84fr) minmax(0, 1.16fr);
}

.apartment-card:nth-child(even) .apartment-gallery-preview {
  order: 2;
}

.apartment-gallery-preview {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.65fr 0.75fr;
  gap: 0.35rem;
  background: var(--sand);
}

.apartment-gallery-preview button {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: none;
  cursor: pointer;
}

.apartment-gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.gallery-main img {
  object-position: 50% 43%;
}

.gallery-secondary img {
  object-position: center;
}

.photo-count {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.67rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.apartment-content {
  position: relative;
  padding: clamp(2.4rem, 4vw, 4.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.apartment-number {
  position: absolute;
  right: 2.2rem;
  top: 1.9rem;
  color: rgba(18, 58, 66, 0.18);
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 1;
}

.apartment-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--coral);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.apartment-content h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  font-weight: 400;
  line-height: 0.95;
}

.apartment-description {
  max-width: 470px;
  margin: 1.3rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.capacity-row {
  padding: 1rem 0;
  display: flex;
  gap: 1.6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capacity-row span {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.capacity-row b {
  margin-right: 0.2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.amenity-list {
  margin: 1.35rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  list-style: none;
}

.amenity-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #405d61;
  font-size: 0.73rem;
}

.amenity-list li span {
  color: var(--coral);
}

.apartment-actions {
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.gallery-link {
  border-bottom-style: dotted;
}

.comfort-section {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
  gap: 8vw;
  background: var(--sea);
  color: var(--white);
}

.eyebrow-light {
  color: #bde2e3;
}

.comfort-intro {
  align-self: center;
}

.comfort-intro p:last-child {
  max-width: 500px;
  margin: 1.7rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.comfort-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comfort-grid article {
  min-height: 235px;
  padding: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.comfort-grid article:nth-child(-n + 2) {
  border-top: 0;
}

.comfort-grid article > span {
  color: #91cace;
  font-family: var(--serif);
  font-size: 1rem;
}

.comfort-grid h3 {
  margin: 2.7rem 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.comfort-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
  line-height: 1.6;
}

.photo-story {
  padding: clamp(5.5rem, 9vw, 9rem) 5vw;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: 7vw;
  align-items: center;
  background: #eef4f2;
}

.photo-story-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 1.6rem 0;
  color: var(--muted);
  line-height: 1.75;
}

.photo-story-grid {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 1rem;
  align-items: end;
}

.photo-story-grid img {
  width: 100%;
  height: 88%;
  object-fit: cover;
}

.photo-story-grid img:nth-child(2) {
  height: 72%;
  align-self: start;
}

.round-note {
  position: absolute;
  width: 154px;
  height: 154px;
  left: 46%;
  top: 38%;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.88rem;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 15px 45px rgba(8, 45, 52, 0.12);
}

.round-note b {
  color: var(--coral);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 0.8;
}

.compact-heading {
  grid-template-columns: 1fr;
  margin-bottom: 2.6rem;
}

.booking-steps {
  background: var(--foam);
}

.booking-steps ol {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.booking-steps li {
  min-height: 220px;
  padding: 2.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.3rem;
  align-content: center;
  border-left: 1px solid var(--line);
}

.booking-steps li:first-child {
  border-left: 0;
}

.booking-steps li > span {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.booking-steps h3 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.booking-steps li p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 9vw;
  background: var(--white);
}

.faq-heading > p:last-child {
  max-width: 400px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 1.55rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--coral);
  font-family: var(--sans);
  font-size: 1rem;
  font-style: normal;
  transition: transform 180ms ease;
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 760px;
  margin: -0.4rem 3rem 1.7rem 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.booking-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--white);
}

.booking-photo {
  position: relative;
  min-height: 790px;
}

.booking-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 45, 52, 0.55));
}

.booking-photo-note {
  position: absolute;
  z-index: 2;
  left: 2.5rem;
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.3;
}

.booking-photo-note span {
  font-size: 2.5rem;
}

.booking-photo-note img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 9px 25px rgba(8, 45, 52, 0.24);
}

.booking-photo-note p {
  margin: 0;
}

.booking-form-wrap {
  padding: clamp(4rem, 7vw, 7rem);
  align-self: center;
}

.booking-form-wrap h2 {
  max-width: 600px;
}

.booking-lead {
  max-width: 570px;
  margin: 1.4rem 0 2.2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.87rem;
  line-height: 1.7;
}

.booking-contact-line {
  margin: -0.8rem 0 1.8rem;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
}

.booking-contact-line strong {
  color: var(--white);
}

.booking-contact-line:hover,
.booking-contact-line:focus-visible {
  border-color: #8bd2d6;
  background: rgba(139, 210, 214, 0.08);
}

.booking-form {
  display: grid;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.booking-form label {
  display: grid;
  gap: 0.5rem;
}

.booking-form label > span {
  color: rgba(255, 255, 255, 0.68);
}

.booking-form label small {
  text-transform: none;
  letter-spacing: normal;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  outline: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  color-scheme: dark;
  font-size: 0.78rem;
}

.booking-form textarea {
  min-height: 90px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: #8bd2d6;
  box-shadow: 0 0 0 3px rgba(139, 210, 214, 0.12);
}

.privacy-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem !important;
}

.privacy-check input {
  width: 18px;
  min-height: 18px;
  margin: 0.05rem 0 0;
  accent-color: var(--coral);
}

.privacy-check span {
  font-size: 0.65rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.form-status {
  margin: 0;
  padding: 0.8rem 1rem;
  border-left: 2px solid #8bd2d6;
  background: rgba(139, 210, 214, 0.08);
  color: #d9f7f8;
  font-size: 0.72rem;
}

.site-footer {
  padding: 4.5rem 5vw 2rem;
  display: grid;
  grid-template-columns: 1.4fr 0.65fr 0.8fr;
  gap: 5vw;
  background: #06252b;
  color: var(--white);
}

.brand-light small {
  color: rgba(255, 255, 255, 0.55);
}

.brand-light .brand-mark {
  border-color: rgba(255, 255, 255, 0.28);
}

.brand-light .brand-mark span {
  border-color: #8bd2d6;
}

.site-footer .brand-logo {
  width: 76px;
  height: 76px;
  flex-basis: 76px;
  border-color: rgba(255, 255, 255, 0.3);
}

.footer-brand p {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  line-height: 1.7;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.75rem;
}

.footer-nav p,
.footer-contact p {
  margin: 0 0 0.4rem;
  color: #8bd2d6;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-address {
  line-height: 1.65;
}

.footer-address:hover,
.footer-address:focus-visible,
.booking-phone:hover,
.booking-phone:focus-visible {
  color: #8bd2d6;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.66rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mobile-booking-cta {
  display: none;
}

.gallery-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  padding: 2.5rem 5vw 2rem;
  display: grid;
  grid-template-columns: 0.28fr minmax(0, 1fr) 0.28fr;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1.5rem;
  background: rgba(4, 24, 28, 0.97);
  color: var(--white);
  animation: modal-in 180ms ease-out;
}

@keyframes modal-in {
  from {
    opacity: 0;
  }
}

.gallery-close {
  position: absolute;
  right: 2rem;
  top: 1.5rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.gallery-modal-heading {
  grid-column: 2;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.gallery-modal-heading span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.gallery-modal-heading strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.gallery-modal figure {
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.8rem;
}

.gallery-modal figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.gallery-modal figcaption {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.67rem;
}

.gallery-modal figcaption b {
  color: var(--white);
}

.gallery-controls {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.gallery-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible,
.gallery-close:hover,
.gallery-close:focus-visible {
  border-color: var(--coral);
  background: var(--coral);
}

.cookie-banner {
  position: fixed;
  z-index: 150;
  left: 1.2rem;
  bottom: 1.2rem;
  width: min(520px, calc(100% - 2.4rem));
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(8, 45, 52, 0.97);
  color: var(--white);
  box-shadow: 0 18px 50px rgba(8, 45, 52, 0.25);
}

.cookie-banner strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.cookie-banner p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.65rem;
  line-height: 1.5;
}

.cookie-actions {
  display: grid;
  gap: 0.45rem;
}

.cookie-actions button {
  min-width: 100px;
  min-height: 34px;
  padding: 0 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 0.6rem;
  font-weight: 700;
}

.cookie-actions button:last-child {
  border-color: var(--coral);
  background: var(--coral);
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .hero h1 {
    font-size: clamp(4rem, 8vw, 6.5rem);
  }

  .apartment-card,
  .apartment-card:nth-child(even) {
    grid-template-columns: 1fr 0.78fr;
  }

  .apartment-gallery-preview {
    grid-template-columns: 1fr;
  }

  .gallery-secondary {
    display: none;
  }

  .booking-form-wrap {
    padding: 4.5rem;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 74px;
  }

  .top-note {
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .top-note span:last-child,
  .top-note i:last-of-type {
    display: none;
  }

  .site-header {
    min-height: 76px;
    padding: 0 1.2rem;
  }

  .brand strong {
    font-size: 1.15rem;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .menu-lines {
    width: 22px;
    display: grid;
    gap: 5px;
  }

  .menu-lines i {
    height: 1px;
    display: block;
    background: var(--ink);
  }

  .main-navigation {
    position: fixed;
    left: 0;
    right: 0;
    top: 110px;
    padding: 1.4rem;
    display: grid;
    gap: 0;
    background: var(--foam);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 35px rgba(8, 45, 52, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .main-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-navigation > a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .main-navigation > a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 4.2rem 1.2rem 8.6rem;
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 16vw, 6rem);
  }

  .hero-intro {
    font-size: 0.98rem;
  }

  .hero-visual {
    min-height: 600px;
  }

  .hero-facts {
    gap: 1rem;
  }

  .hero-photo-main {
    width: 72%;
  }

  .hero-photo-small {
    width: 40%;
    height: 48%;
  }

  .hero-seal {
    left: 17%;
  }

  .hero-seal-logo {
    width: 136px;
    height: 136px;
  }

  .availability-bar {
    width: calc(100% - 2.4rem);
    bottom: 1rem;
    grid-template-columns: 1fr 1fr;
  }

  .availability-bar label {
    padding: 0.7rem 0.8rem;
  }

  .availability-bar label:nth-child(2) {
    border-right: 0;
  }

  .availability-bar label:nth-child(3) {
    display: none;
  }

  .availability-bar button {
    margin-left: 0;
  }

  .intro-band {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .intro-band > span {
    text-align: center;
  }

  .section {
    padding: 5.5rem 1.2rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .apartment-card,
  .apartment-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .apartment-card:nth-child(even) .apartment-gallery-preview {
    order: 0;
  }

  .apartment-gallery-preview {
    min-height: 520px;
  }

  .apartment-content {
    padding: 3.2rem 1.7rem 2rem;
  }

  .comfort-section,
  .photo-story,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .comfort-section,
  .photo-story {
    gap: 4rem;
  }

  .photo-story {
    padding: 5.5rem 1.2rem;
  }

  .photo-story-grid {
    min-height: 560px;
  }

  .booking-steps ol {
    grid-template-columns: 1fr;
  }

  .booking-steps li {
    min-height: 150px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .booking-steps li:first-child {
    border-top: 0;
  }

  .booking-section {
    grid-template-columns: 1fr;
  }

  .booking-photo {
    min-height: 540px;
  }

  .booking-form-wrap {
    padding: 5rem 1.2rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .gallery-modal {
    padding: 4.8rem 1rem 1rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .gallery-modal-heading,
  .gallery-modal figure,
  .gallery-controls {
    grid-column: 1;
  }

  .gallery-modal figure {
    grid-row: 2;
  }

  .gallery-controls {
    grid-row: 3;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 68px;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-facts {
    justify-content: space-between;
  }

  .hero-facts span {
    min-width: 0;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-photo-main {
    width: 76%;
  }

  .hero-photo-small {
    width: 46%;
  }

  .hero-seal {
    width: 104px;
    height: 104px;
    left: 7%;
  }

  .hero-seal-logo {
    width: 122px;
    height: 122px;
  }

  .hero-seal strong {
    font-size: 0.85rem;
  }

  .hero-caption {
    min-width: 160px;
  }

  .intro-band {
    padding: 2.7rem 1.2rem;
  }

  .intro-band blockquote {
    font-size: 1.25rem;
  }

  .section-heading h2,
  .comfort-intro h2,
  .photo-story h2,
  .faq-heading h2,
  .booking-form-wrap h2 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .apartment-gallery-preview {
    min-height: 460px;
  }

  .apartment-content h3 {
    font-size: 3.5rem;
  }

  .apartment-number {
    font-size: 3rem;
  }

  .capacity-row {
    gap: 0.8rem;
    justify-content: space-between;
  }

  .amenity-list {
    grid-template-columns: 1fr;
  }

  .apartment-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-link {
    align-self: flex-start;
  }

  .comfort-grid {
    grid-template-columns: 1fr;
  }

  .comfort-grid article,
  .comfort-grid article:nth-child(-n + 2) {
    min-height: 190px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .comfort-grid article:first-child {
    border-top: 0;
  }

  .comfort-grid h3 {
    margin-top: 1.7rem;
  }

  .photo-story-grid {
    min-height: 500px;
    gap: 0.6rem;
  }

  .round-note {
    width: 124px;
    height: 124px;
    left: 39%;
    font-size: 0.74rem;
  }

  .round-note b {
    font-size: 2rem;
  }

  .faq-list summary {
    font-size: 1.05rem;
  }

  .booking-photo {
    min-height: 430px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 4rem 1.2rem 2rem;
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1;
  }

  .footer-nav,
  .footer-contact {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .mobile-booking-cta {
    position: fixed;
    z-index: 90;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.65rem;
    min-height: 52px;
    padding: 0 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 3px;
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 15px 35px rgba(8, 45, 52, 0.26);
    font-size: 0.75rem;
    font-weight: 750;
  }

  .cookie-banner {
    bottom: 4.6rem;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-modal figcaption span {
    max-width: 72%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Pagine SEO dedicate agli appartamenti e alla sede */
.detail-link {
  align-items: center;
  color: var(--deep, #123a42);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 0.55rem;
  margin-top: 1.2rem;
  text-decoration: underline;
  text-decoration-color: rgba(18, 58, 66, 0.25);
  text-underline-offset: 0.35rem;
}

.detail-link:hover,
.detail-link:focus-visible {
  text-decoration-color: currentColor;
}

.footer-contact {
  font-style: normal;
}

.detail-main {
  background: #f6f1e9;
  color: #183b40;
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.breadcrumbs {
  margin: 0 auto;
  max-width: 1320px;
  padding: 1.25rem clamp(1.25rem, 5vw, 4rem);
}

.breadcrumbs ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  color: #b56557;
  content: "/";
  margin-left: 0.55rem;
}

.breadcrumbs a {
  color: #36575c;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.breadcrumbs [aria-current="page"] {
  color: #6d7777;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: 700px;
}

.detail-hero-copy {
  align-items: flex-start;
  background: #e6ede8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}

.detail-hero-coral .detail-hero-copy {
  background: #f0dfd8;
}

.location-hero .detail-hero-copy {
  background: #dce9e7;
}

.detail-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 5.8vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 1rem 0 1.5rem;
  max-width: 12ch;
}

.detail-hero-copy > p:not(.eyebrow) {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  max-width: 39rem;
}

.detail-facts {
  border-bottom: 1px solid rgba(18, 58, 66, 0.18);
  border-top: 1px solid rgba(18, 58, 66, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 2rem 0;
  padding: 1rem 0;
  width: 100%;
}

.detail-facts span {
  font-size: 0.85rem;
  text-transform: uppercase;
}

.detail-facts b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-right: 0.3rem;
}

.detail-hero-photo {
  margin: 0;
  min-height: 700px;
  overflow: hidden;
  position: relative;
}

.detail-hero-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.detail-hero-photo figcaption {
  background: rgba(18, 58, 66, 0.9);
  bottom: 1.25rem;
  color: #fff;
  font-size: 0.78rem;
  left: 1.25rem;
  letter-spacing: 0.06em;
  padding: 0.8rem 1rem;
  position: absolute;
  text-transform: uppercase;
}

.detail-section {
  margin: 0 auto;
  max-width: 1320px;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 4rem) 0;
}

.detail-section h2,
.detail-booking h2,
.related-pages h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0.8rem 0 1.5rem;
}

.detail-section p,
.detail-booking p {
  line-height: 1.75;
}

.detail-overview {
  align-items: start;
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.detail-overview > div p:last-child {
  font-size: 1.05rem;
  max-width: 46rem;
}

.detail-amenities {
  background: #123a42;
  color: #fff;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 1.5rem 2rem;
}

.detail-amenities li {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  display: flex;
  gap: 0.75rem;
  padding: 1rem 0;
}

.detail-amenities li::before {
  color: #ef826d;
  content: "✓";
  font-weight: 700;
}

.detail-amenities li:last-child {
  border-bottom: 0;
}

.detail-section-heading {
  margin-bottom: 2.5rem;
  max-width: 54rem;
}

.detail-gallery {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-gallery figure {
  background: #fff;
  margin: 0;
  overflow: hidden;
}

.detail-gallery img {
  aspect-ratio: 4 / 5;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 250ms ease;
  width: 100%;
}

.detail-gallery figure:hover img {
  transform: scale(1.015);
}

.detail-gallery figcaption {
  color: #36575c;
  font-size: 0.82rem;
  padding: 0.85rem 1rem 1rem;
}

.detail-booking {
  align-items: center;
  background: #123a42;
  color: #fff;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  max-width: 1320px;
  padding: clamp(3rem, 6vw, 6rem);
}

.detail-booking h2 {
  max-width: 13ch;
}

.detail-booking p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 45rem;
}

.detail-booking-actions {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-booking-actions .button {
  justify-content: center;
  text-align: center;
}

.detail-phone {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 700;
  padding: 1rem 1.25rem;
  text-align: center;
}

.related-pages {
  margin: 0 auto;
  max-width: 1320px;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 5vw, 4rem) 0;
}

.related-pages h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.related-pages > div {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-pages a {
  background: #fff;
  border: 1px solid rgba(18, 58, 66, 0.12);
  color: #183b40;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  transition: border-color 180ms ease, transform 180ms ease;
}

.related-pages a:hover,
.related-pages a:focus-visible {
  border-color: #b56557;
  transform: translateY(-2px);
}

.related-pages span {
  color: #5c6f71;
  font-size: 0.9rem;
}

.detail-footer {
  margin-top: 0;
}

.location-address {
  border-left: 3px solid #ef826d;
  display: flex;
  flex-direction: column;
  font-style: normal;
  gap: 0.3rem;
  margin: 1.5rem 0 2rem;
  padding-left: 1.25rem;
}

.location-address strong {
  font-size: 1.05rem;
}

.location-address span {
  color: #36575c;
}

.location-intro > .detail-section-heading {
  max-width: 60rem;
}

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

.location-apartments article {
  background: #fff;
  display: grid;
  grid-template-columns: minmax(140px, 0.75fr) minmax(0, 1.25fr);
  min-height: 350px;
  overflow: hidden;
}

.location-apartments img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.location-apartments article > div {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.location-apartments h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  font-weight: 400;
  margin: 0 0 0.8rem;
}

.location-apartments a {
  color: #123a42;
  font-weight: 700;
  margin-top: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.location-contact {
  align-items: start;
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
}

.location-contact-card {
  background: #123a42;
  display: grid;
  padding: 1rem 2rem;
}

.location-contact-card a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 0;
}

.location-contact-card a:last-child {
  border-bottom: 0;
}

.location-contact-card span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-hero-copy {
    min-height: 560px;
  }

  .detail-hero-photo {
    min-height: 620px;
  }

  .detail-overview,
  .detail-booking,
  .location-contact {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .detail-hero-copy {
    min-height: 0;
    padding-bottom: 3.5rem;
    padding-top: 3.5rem;
  }

  .detail-hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .detail-hero-photo {
    min-height: 480px;
  }

  .detail-overview {
    gap: 2rem;
  }

  .detail-gallery,
  .related-pages > div {
    grid-template-columns: 1fr;
  }

  .detail-booking {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 2.5rem 1.5rem;
  }

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

  .location-apartments img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

/* Privacy, cookie e dati identificativi della struttura */
.privacy-check a,
.whatsapp-privacy-note a {
  color: #8bd2d6;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.whatsapp-privacy-note {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
  line-height: 1.55;
  margin: -0.15rem 0 0;
}

.footer-brand .footer-identifiers {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.8;
  margin-top: 1rem;
  text-transform: uppercase;
}

.cookie-banner a {
  color: #bdebef;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

.legal-main {
  background: #f6f1e9;
  color: #183b40;
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.legal-document {
  margin: 0 auto;
  max-width: 1040px;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
}

.legal-hero {
  background: #dce9e7;
  border-left: 5px solid #ef826d;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(2.5rem, 6vw, 5rem);
}

.legal-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 1rem 0 1.5rem;
}

.legal-hero > p:not(.eyebrow, .legal-updated) {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  max-width: 50rem;
}

.legal-updated {
  color: #587074;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin: 2rem 0 0;
  text-transform: uppercase;
}

.legal-summary {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.legal-summary > div {
  background: #123a42;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 120px;
  padding: 1.5rem;
}

.legal-summary span {
  color: #8bd2d6;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-summary strong {
  font-size: clamp(0.86rem, 1.5vw, 1.08rem);
  overflow-wrap: anywhere;
}

.legal-document > section {
  border-top: 1px solid rgba(18, 58, 66, 0.16);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
}

.legal-document > section + section {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.legal-document h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 1.5rem;
}

.legal-document p,
.legal-document li,
.legal-document td,
.legal-document th {
  line-height: 1.75;
}

.legal-document p,
.legal-document ul {
  max-width: 55rem;
}

.legal-document li + li {
  margin-top: 0.7rem;
}

.legal-document a {
  color: #0c6873;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(12, 104, 115, 0.35);
  text-underline-offset: 0.22rem;
}

.legal-document a:hover,
.legal-document a:focus-visible {
  text-decoration-color: currentColor;
}

.legal-table-wrap {
  margin: 1.75rem 0;
  overflow-x: auto;
  width: 100%;
}

.legal-document table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.legal-document th,
.legal-document td {
  border: 1px solid rgba(18, 58, 66, 0.16);
  padding: 1rem 1.1rem;
  text-align: left;
  vertical-align: top;
}

.legal-document th {
  background: #123a42;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-document td {
  background: rgba(255, 255, 255, 0.7);
}

.legal-document code {
  background: #e0e9e6;
  border-radius: 3px;
  color: #123a42;
  font-size: 0.82rem;
  padding: 0.2rem 0.35rem;
}

@media (max-width: 640px) {
  .legal-hero {
    border-left-width: 3px;
    padding: 2.25rem 1.35rem;
  }

  .legal-summary {
    grid-template-columns: 1fr;
  }

  .legal-summary > div {
    min-height: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}
