﻿:root {
  --paper: #f7f4ee;
  --paper-strong: #fffdf8;
  --ink: #171716;
  --muted: #5e635f;
  --line: rgba(23, 23, 22, 0.16);
  --teal: #0d6f6b;
  --teal-dark: #064844;
  --gold: #b68b43;
  --sea-soft: #d6ebe8;
  --header-h: 72px;
  --radius: 6px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

body {
  margin: 0;
  font-family: var(--sans);
  background:
    linear-gradient(180deg, var(--paper-strong) 0%, var(--paper) 48%, #eef6f3 100%);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

#case,
#prenota,
#territorio,
#contatti {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.site-header {
  --scroll-progress: 0;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  color: #fff;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  transform: scaleX(var(--scroll-progress));
  transform-origin: left;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: 0.95;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(23, 23, 22, 0.06);
  backdrop-filter: blur(14px);
}

.brand-mark {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark span {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 18px;
}

.site-nav a {
  text-decoration: none;
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 74px;
  min-height: 40px;
  padding: 0 12px 0 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.site-nav .language-link::after {
  display: none;
}

.site-header.is-scrolled .language-link,
.site-header.is-open .language-link {
  background: rgba(13, 111, 107, 0.05);
}

.language-flag {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.site-header.is-scrolled .language-flag,
.site-header.is-open .language-flag {
  box-shadow: 0 0 0 1px rgba(23, 23, 22, 0.14);
}

.language-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.language-code {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-name {
  display: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  border: 1px solid currentColor;
  border-radius: var(--radius);
  padding: 10px 16px;
}

.menu-toggle {
  display: none;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  min-height: 42px;
  padding: 0 14px;
  font: inherit;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.34) 39%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.16) 54%, rgba(0, 0, 0, 0.46) 100%);
}

.hero-copy {
  width: min(620px, calc(100% - 44px));
  margin: 0 0 76px 7vw;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.hero .eyebrow {
  color: #d9f6f0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  margin-bottom: 16px;
  font-size: 74px;
  line-height: 0.94;
}

.hero-line {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.08;
}

.hero-text {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.qr-page {
  min-height: 100svh;
  background: var(--teal-dark);
}

.qr-landing {
  position: relative;
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  isolation: isolate;
}

.qr-landing-media,
.qr-landing-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.qr-landing-media {
  z-index: -3;
  object-fit: cover;
}

.qr-landing-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.34) 100%);
}

.qr-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: 34px clamp(22px, 6vw, 72px) 48px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 42px;
}

.qr-brand {
  justify-self: start;
  color: #fff;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
}

.qr-panel {
  align-self: center;
  width: min(760px, 100%);
  color: #fff;
}

.qr-panel h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(54px, 8vw, 92px);
}

.qr-panel p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.qr-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.qr-choice {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.qr-choice:hover,
.qr-choice:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.62);
}

.qr-choice span {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.qr-choice strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.qr-choice-guest {
  color: var(--teal-dark);
  background: var(--paper-strong);
  border-color: var(--paper-strong);
}

.qr-choice-guest:hover,
.qr-choice-guest:focus-visible {
  background: #fff;
  border-color: #fff;
}

.qr-choice-guest strong {
  color: rgba(6, 72, 68, 0.72);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

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

.button-light {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.button-dark {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.text-link {
  font-weight: 700;
  text-underline-offset: 6px;
}

.text-link.on-dark {
  color: #fff;
}

.booking-strip {
  position: relative;
  z-index: 4;
  padding: 24px 34px;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.booking-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(360px, 0.64fr);
  gap: 28px;
  align-items: center;
}

.booking-copy {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.booking-copy .section-kicker {
  margin-bottom: 10px;
}

.booking-copy h2 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
}

.booking-copy p:last-child,
.booking-widget-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.booking-widget-panel {
  min-width: 0;
}

.booking-widget-panel .avaibook-search-widget {
  width: 100%;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.booking-widget-note {
  margin-top: 10px;
  font-size: 13px;
}

.booking-widget-note a {
  color: var(--teal-dark);
  font-weight: 700;
  text-underline-offset: 5px;
}

.section-pad {
  padding: 112px 34px;
}

.intro-grid,
.section-heading,
.territory,
.site-footer {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 0.7fr);
  gap: 80px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.territory h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: 44px;
  line-height: 1.08;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.feature-media {
  position: relative;
  min-height: 68svh;
  overflow: hidden;
}

.feature-media img {
  width: 100%;
  height: 68svh;
  min-height: 520px;
  object-fit: cover;
}

.feature-caption {
  position: absolute;
  left: 34px;
  bottom: 34px;
  width: min(410px, calc(100% - 68px));
  color: #fff;
  background: rgba(6, 72, 68, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(10px);
}

.feature-caption span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.feature-caption p {
  margin: 0;
  line-height: 1.55;
}

.homes {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(240px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -42px;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.home-carousel-shell,
.home-list {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.home-carousel-shell {
  position: relative;
}

.home-swipe-hint {
  display: none;
}

.home-list {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.home-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.home-card-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.home-card:hover,
.home-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(13, 111, 107, 0.36);
  box-shadow: 0 18px 42px rgba(23, 23, 22, 0.1);
}

.home-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sea-soft);
}

.home-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.home-card:hover .home-image img,
.home-card:focus-within .home-image img {
  transform: scale(1.04);
}

.home-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  flex: 1;
}

.home-body h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.1;
}

.home-title {
  margin: 0;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

.home-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.home-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  color: var(--ink);
}

.meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--teal-dark);
}

.meta-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.meta-number {
  font-weight: 700;
}

.meta-label {
  color: var(--muted);
}

.home-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.home-highlights span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  background: #fff;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

.home-link::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.home-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 22px 22px;
}

.home-booking-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: var(--radius);
  padding: 0 14px;
  color: #fff;
  background: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.territory {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(300px, 0.92fr);
  gap: 70px;
  align-items: center;
}

.territory-copy p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.territory-images {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 18px;
  align-items: end;
}

.territory-images img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.territory-images img:first-child {
  height: 520px;
}

.territory-images img:last-child {
  height: 380px;
}

.place-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
}

.place-list span {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  min-width: 140px;
  color: var(--teal-dark);
  font-weight: 700;
}

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

.property-hero {
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.property-hero-media,
.property-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.property-hero-media {
  object-fit: cover;
  z-index: -3;
}

.property-hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.36) 42%, rgba(0, 0, 0, 0.14) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.54) 100%);
}

.property-hero-copy {
  width: min(760px, calc(100% - 68px));
  margin: 0 34px 62px 7vw;
  color: #fff;
}

.property-hero .eyebrow {
  color: #d9f6f0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.84);
}

.breadcrumb a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.breadcrumb span[aria-hidden="true"] {
  opacity: 0.72;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.property-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
}

.property-meta .meta-label {
  color: rgba(255, 255, 255, 0.78);
}

.property-overview,
.property-gallery,
.property-booking,
.property-related {
  background: transparent;
}

.property-overview-grid,
.property-gallery-grid,
.property-booking-grid,
.related-grid,
.property-section-heading,
.property-inline-cta {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.property-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.52fr);
  gap: 56px;
  align-items: start;
}

.property-copy h2,
.property-section-heading h2 {
  font-size: 42px;
  line-height: 1.08;
  margin-bottom: 0;
}

.property-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.property-side {
  display: grid;
  gap: 28px;
}

.property-block {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.property-block h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.property-section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(240px, 0.58fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 42px;
}

.property-section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -30px;
}

.property-section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.property-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 120px;
  gap: 18px;
}

.property-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sea-soft);
}

.property-gallery-grid figure:nth-child(1) {
  grid-column: span 7;
  grid-row: span 3;
}

.property-gallery-grid figure:nth-child(2),
.property-gallery-grid figure:nth-child(3) {
  grid-column: span 5;
}

.property-gallery-grid figure:nth-child(4),
.property-gallery-grid figure:nth-child(5) {
  grid-column: span 6;
  grid-row: span 2;
}

.property-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-inline-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.property-inline-cta p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.6;
}

.property-booking {
  background: var(--paper-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.property-booking-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(420px, 0.66fr);
  gap: 42px;
  align-items: start;
}

.property-booking-copy {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.property-booking-copy h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.08;
}

.property-booking-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.booking-direct-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--teal-dark);
}

.property-booking-tools {
  display: grid;
  gap: 22px;
}

.property-booking-tools .avaibook-search-widget {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.availability-frame {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.availability-frame iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}

.property-territory {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.32), rgba(214, 235, 232, 0.28));
}

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

.related-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.related-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.related-card p,
.related-card span {
  margin: 0;
}

.related-card p {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

.related-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.related-card span {
  color: var(--muted);
  line-height: 1.6;
}

.final-cta {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: center;
  padding: 96px 34px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 72, 68, 0.9), rgba(6, 72, 68, 0.58)),
    url("../assets/media/hero-poster.jpg") center / cover;
}

.final-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(280px, 0.58fr);
  gap: 54px;
  align-items: center;
}

.final-copy {
  width: min(620px, 100%);
}

.final-copy .section-kicker {
  color: #d9f6f0;
}

.final-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.6;
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.1);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
  letter-spacing: 0;
}

.contact-form textarea {
  resize: vertical;
  min-height: 112px;
}

.contact-form .button {
  width: max-content;
  cursor: pointer;
}

.contact-direct {
  display: grid;
  gap: 10px;
}

.contact-direct p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.contact-direct-links,
.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-direct-links a {
  min-width: 154px;
  flex: 1 1 154px;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.contact-direct-links a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.contact-direct-links span,
.footer-contact-links span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.contact-direct-links strong,
.footer-contact-links strong {
  font: inherit;
  font-weight: 800;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 34px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.footer-contact-links {
  gap: 8px 14px;
}

.footer-contact-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.footer-contact-links span {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

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

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

@media (max-width: 1020px) {
  .booking-inner,
  .final-content,
  .section-heading,
  .intro-grid,
  .territory,
  .property-overview-grid,
  .property-booking-grid,
  .property-section-heading,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .booking-inner {
    gap: 22px;
  }

  .booking-copy {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .section-heading,
  .intro-grid,
  .territory,
  .property-overview-grid,
  .property-booking-grid,
  .property-section-heading {
    gap: 32px;
  }

  .property-booking-copy {
    position: static;
  }

  .section-heading .section-kicker {
    margin-bottom: -10px;
  }

  .property-section-heading .section-kicker {
    margin-bottom: -8px;
  }

  .property-gallery-grid figure:nth-child(1),
  .property-gallery-grid figure:nth-child(2),
  .property-gallery-grid figure:nth-child(3),
  .property-gallery-grid figure:nth-child(4),
  .property-gallery-grid figure:nth-child(5) {
    grid-column: span 6;
    grid-row: span 2;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand-mark {
    font-size: 22px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: grid;
    gap: 0;
    padding: 12px 18px 24px;
    background: rgba(255, 253, 248, 0.98);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    pointer-events: none;
    transform: translate3d(0, calc(-100% - var(--header-h) - 2px), 0);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 18px;
    padding: 14px 16px;
    text-align: center;
    border: 1px solid var(--ink);
  }

  .site-nav .language-link {
    margin-top: 18px;
    min-height: 48px;
    padding: 0 16px;
    justify-content: center;
    text-align: center;
  }

  .site-nav .language-code {
    display: none;
  }

  .site-nav .language-name {
    display: inline;
  }

  .hero {
    min-height: 84svh;
  }

  .property-hero {
    min-height: auto;
    display: grid;
    align-items: end;
    padding: calc(var(--header-h) + 24px) 0 38px;
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin: 0 18px 44px;
  }

  .qr-shell {
    padding: 26px 18px 32px;
    gap: 32px;
  }

  .qr-brand {
    font-size: 23px;
  }

  .qr-panel {
    align-self: end;
    padding-bottom: 10px;
  }

  .qr-panel h1 {
    font-size: 48px;
  }

  .qr-panel p {
    font-size: 17px;
  }

  .qr-actions {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .qr-choice {
    min-height: 96px;
    padding: 18px;
  }

  .property-hero-copy {
    width: calc(100% - 36px);
    margin: 0 18px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-line {
    font-size: 25px;
  }

  .hero-text,
  .intro-copy,
  .final-copy p {
    font-size: 16px;
  }

  .booking-strip,
  .section-pad {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.has-mobile-booking-bar {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .mobile-booking-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: block;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 248, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 28px rgba(23, 23, 22, 0.08);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + env(safe-area-inset-bottom)));
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

  .mobile-booking-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-booking-bar__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
  }

  .section-pad {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .booking-inner {
    gap: 18px;
  }

  .booking-copy h2 {
    font-size: 28px;
  }

  .booking-widget-panel .avaibook-search-widget {
    min-height: 170px;
  }

  .intro h2,
  .section-heading h2,
  .territory h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .feature-media img {
    height: 560px;
    min-height: 560px;
  }

  .feature-caption {
    left: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
  }

  .home-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    touch-action: pan-x pan-y;
    padding: 0 18px 12px;
    margin: 0;
    scroll-padding-inline: 18px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .home-list::-webkit-scrollbar {
    display: none;
  }

  .home-carousel-shell {
    width: calc(100% + 36px);
    margin-left: -18px;
    margin-right: -18px;
  }

  .home-carousel-shell::after {
    content: "";
    position: absolute;
    right: 0;
    top: 40px;
    bottom: 12px;
    width: 44px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(250, 247, 239, 0), var(--paper) 82%);
  }

  .home-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: -18px 18px 16px;
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .home-swipe-arrow {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 24px;
    border: 1px solid rgba(13, 111, 107, 0.28);
    border-radius: var(--radius);
  }

  .home-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .home-body h3 {
    font-size: 24px;
  }

  .property-copy h2,
  .property-booking-copy h2,
  .property-section-heading h2 {
    font-size: 34px;
  }

  .property-copy p,
  .property-inline-cta p {
    font-size: 16px;
  }

  .property-booking-tools .avaibook-search-widget {
    min-height: 210px;
  }

  .availability-frame iframe {
    height: 360px;
  }

  .breadcrumb {
    gap: 8px;
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.35;
  }

  .property-meta {
    gap: 12px 18px;
  }

  .property-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .property-gallery-grid figure:nth-child(1),
  .property-gallery-grid figure:nth-child(2),
  .property-gallery-grid figure:nth-child(3),
  .property-gallery-grid figure:nth-child(4),
  .property-gallery-grid figure:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .property-gallery-grid figure {
    aspect-ratio: 4 / 3;
  }

  .property-inline-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .territory-images {
    grid-template-columns: 1fr;
  }

  .territory-images img:first-child,
  .territory-images img:last-child {
    height: 360px;
  }

  .place-list span {
    min-width: 124px;
  }

  .final-cta {
    min-height: 68svh;
    padding: 78px 18px;
  }

  .final-content {
    gap: 30px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 42px;
  }

  .hero-line {
    font-size: 22px;
  }

  .qr-panel h1 {
    font-size: 40px;
  }

  .qr-choice span {
    font-size: 20px;
  }

  .hero-actions .button,
  .final-copy .button {
    width: 100%;
  }

  .hero-actions {
    gap: 16px;
  }

  .home-card {
    flex-basis: 86%;
  }

  .property-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
  }

  .property-inline-cta .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media {
    display: none;
  }

  .hero {
    background: url("../assets/media/hero-poster.jpg") center / cover;
  }
}
