:root {
  --ink: #18323a;
  --purple: #563368;
  --sale-red: #ef332c;
  --muted: #667a78;
  --paper: #ffffff;
  --panel: #ffffff;
  --line: #d6e8ef;
  --green: #6f8f55;
  --green-2: #0c5f75;
  --clay: #e07d43;
  --sky: #dff6fb;
  --sea: #0087a8;
  --sun: #ffc36b;
  --sand: #f2ddb9;
  --wood: #8a5638;
  --shadow: 0 18px 42px rgba(24, 50, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(223, 246, 251, 0.92), rgba(255, 255, 255, 0) 520px),
    linear-gradient(135deg, rgba(0, 135, 168, 0.08), rgba(255, 255, 255, 0) 46%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  hyphens: auto;
  overflow-wrap: break-word;
}

body.edit-mode {
  padding-top: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 104px;
  padding: 12px clamp(16px, 4vw, 48px);
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid rgba(86, 51, 104, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(24, 50, 58, 0.08);
  backdrop-filter: blur(12px);
}

body.edit-mode .site-header {
  top: 76px;
}

.editor-bar {
  position: fixed;
  z-index: 40;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100vw - 24px);
  padding: 8px;
  border: 1px solid rgba(25, 32, 29, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(25, 32, 29, 0.16);
  backdrop-filter: blur(14px);
}

.editor-bar[hidden] {
  display: none;
}

.editor-button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--sea);
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--sea), #00a6c8);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.editor-button.ghost {
  color: var(--sea);
  background: #ffffff;
}

.editor-button.text-tool {
  min-width: 38px;
  border-color: rgba(0, 135, 168, 0.36);
}

#text-clear {
  margin-left: 8px;
  border-color: rgba(215, 25, 32, 0.36);
  color: var(--sale-red);
}

.editor-status {
  min-width: 84px;
  color: var(--sea);
  font-size: 0.86rem;
  font-weight: 800;
}

[contenteditable="true"] {
  cursor: text;
}

body.edit-mode [data-edit-key] {
  outline: 2px dashed rgba(201, 111, 61, 0.58);
  outline-offset: 4px;
  border-radius: 4px;
}

body.edit-mode [data-edit-key]:focus {
  outline: 3px solid rgba(201, 111, 61, 0.82);
  background: rgba(255, 255, 255, 0.36);
}

body.edit-mode [data-edit-key].is-active-edit-text {
  outline: 3px solid rgba(215, 25, 32, 0.78);
  background: rgba(255, 255, 255, 0.76);
}

body.edit-mode .site-header {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
}

body.edit-mode .brand {
  flex: 1 1 320px;
  align-items: flex-start;
  max-width: 100%;
}

body.edit-mode .brand > span:last-child {
  min-width: min(280px, calc(100vw - 120px));
  gap: 8px;
}

body.edit-mode .site-header [data-edit-key] {
  display: inline-block;
  max-width: 100%;
  min-height: 28px;
  min-width: 120px;
  padding: 4px 6px;
  outline-offset: 1px;
  white-space: normal;
  overflow-wrap: anywhere;
  background: rgba(255, 255, 255, 0.62);
}

body.edit-mode .brand [data-edit-key] {
  min-width: 220px;
}

body.edit-mode .header-sale-pill {
  margin-left: 0;
  min-width: 240px;
  line-height: 1.25;
}

body.edit-mode .site-header nav {
  order: 4;
  width: 100%;
  flex-wrap: wrap;
}

body.edit-mode .language-switcher {
  order: 5;
}

.editable-image {
  position: relative;
}

.hero > .editable-image {
  height: 86vh;
  min-height: 560px;
}

.hero > .editable-image > img {
  height: 100%;
}

.image-edit-button {
  display: none;
  position: absolute;
  z-index: 6;
  top: 14px;
  right: 14px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 119, 148, 0.88);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

body.edit-mode .image-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.edit-mode .hero > .editable-image > .image-edit-button {
  top: 154px;
}

body.edit-mode .gallery-item .image-edit-button {
  top: 8px;
  left: 8px;
  right: auto;
  bottom: auto;
  max-width: none;
  min-height: 0;
  padding: 6px 8px;
  border-radius: 0;
  background: rgba(0, 119, 148, 0.78);
  font-size: 0.72rem;
  line-height: 1;
}

body.edit-mode .surroundings-item .image-edit-button {
  top: 8px;
  left: 8px;
  right: auto;
  bottom: auto;
  min-height: 0;
  padding: 6px 8px;
  border-radius: 0;
  background: rgba(0, 119, 148, 0.78);
  font-size: 0.72rem;
  line-height: 1;
}

.gallery-move-controls {
  display: none;
  position: absolute;
  z-index: 8;
  right: 8px;
  top: 8px;
  gap: 6px;
}

.gallery-move-button {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: #fff;
  background: rgba(85, 50, 105, 0.92);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

body.edit-mode .gallery-item .gallery-move-controls,
body.edit-mode .surroundings-item .gallery-move-controls {
  display: flex;
}

body.edit-mode .gallery-item .gallery-move-button,
body.edit-mode .surroundings-item .gallery-move-button {
  display: grid;
}

body.edit-mode .surroundings-item .gallery-move-controls {
  top: auto;
  right: 8px;
  bottom: 8px;
}

body.edit-mode .surroundings-item .gallery-move-button {
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
}

.gallery-move-button:hover,
.gallery-move-button:focus-visible {
  background: rgba(211, 48, 48, 0.96);
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 2px;
}

.image-remove-button {
  display: none;
  position: absolute;
  z-index: 7;
  right: 8px;
  bottom: 8px;
  min-height: 0;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  color: #fff;
  background: rgba(211, 48, 48, 0.88);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

body.edit-mode .image-remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.edit-mode .surroundings-item .image-remove-button {
  top: 8px;
  right: 8px;
  bottom: auto;
}

.gallery-add-button {
  display: none;
  margin-top: 18px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px dashed var(--sea);
  border-radius: 8px;
  color: var(--sea);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

body.edit-mode .gallery-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surroundings-add-button {
  display: none;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px dashed var(--sea);
  border-radius: 0;
  color: var(--sea);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
}

body.edit-mode .surroundings-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gallery-item.is-added {
  grid-column: auto;
  grid-row: auto;
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  min-width: 360px;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--purple);
  text-transform: uppercase;
  text-wrap: balance;
}

.brand > span:last-child {
  display: grid;
  gap: 1px;
}

.brand small {
  color: #72507f;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: none;
  text-wrap: balance;
}

.brand-mark {
  display: block;
  width: 104px;
  height: 76px;
  overflow: hidden;
  border: 1px solid rgba(86, 51, 104, 0.16);
  background: #f2f2f2;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 54%;
  filter: brightness(1.16) contrast(1.06) saturate(1.08);
}

.header-sale-pill {
  display: none;
}

nav {
  margin-left: auto;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 900;
  color: #171717;
  opacity: 0.94;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--purple);
  border-color: var(--purple);
  background: transparent;
  opacity: 1;
}

.nav-sale {
  color: var(--purple);
  background: transparent;
  box-shadow: none;
  border-color: var(--purple);
}

.nav-sale:hover,
.nav-sale:focus-visible {
  color: var(--purple);
  background: transparent;
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(0, 135, 168, 0.2);
  background: rgba(255, 255, 255, 0.68);
}

.language-switcher :is(button,a) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 34px;
  min-height: 34px;
  padding: 7px 9px;
  border: 0;
  border-left: 1px solid rgba(0, 135, 168, 0.16);
  color: #24414a;
  background: transparent;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  unicode-bidi: isolate;
  cursor: pointer;
}

.language-switcher .flag {
  font-size: 1rem;
  line-height: 1;
}

.language-switcher :is(button,a):first-child {
  border-left: 0;
}

.language-switcher :is(button,a).is-active {
  color: #fffef9;
  background: var(--sea);
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  background: #0d93b7;
}

.hero img {
  width: 100%;
  height: 86vh;
  min-height: 560px;
  object-fit: cover;
  filter: brightness(1.08) contrast(1.04) saturate(1.08);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 47, 59, 0.44), rgba(6, 47, 59, 0.12) 52%, rgba(6, 47, 59, 0)),
    linear-gradient(0deg, rgba(6, 47, 59, 0.18), rgba(6, 47, 59, 0));
}

.hero-overlay {
  position: absolute;
  z-index: 2;
  left: clamp(32px, 7vw, 112px);
  bottom: clamp(58px, 13vh, 132px);
  width: min(680px, calc(100% - 64px));
  color: #fff;
  text-align: left;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.sale-badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(224, 125, 67, 0.95), rgba(244, 155, 85, 0.92));
  box-shadow: 0 12px 26px rgba(103, 62, 36, 0.24);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero .kicker {
  color: #ffe3aa;
  margin-bottom: 8px;
}

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

h1 {
  margin-bottom: 18px;
  max-width: min(12ch, 100%);
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.25vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  text-wrap: balance;
}









.hero-copy {
  max-width: 620px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(1.06rem, 1.55vw, 1.34rem);
  font-weight: 750;
  line-height: 1.45;
  text-wrap: pretty;
}

.hero-actions,
.facts,
.details-grid,
.gallery,
.contact {
  display: grid;
}

.hero-actions {
  grid-template-columns: repeat(2, max-content);
  justify-content: start;
  gap: 12px;
}

.for-sale-stamp {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 5vw, 72px);
  top: 34%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: clamp(134px, 12vw, 178px);
  aspect-ratio: 1.42 / 0.82;
  border: 5px solid #fff;
  border-radius: 8px;
  color: #fff;
  background: var(--sale-red);
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.28);
  font-size: clamp(1.02rem, 1.42vw, 1.62rem);
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
}

.for-sale-stamp span {
  display: block;
  max-width: calc(100% - 14px);
  line-height: 1;
  overflow-wrap: normal;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--sea), #00aecd);
  box-shadow: 0 12px 24px rgba(0, 135, 168, 0.22);
}

.button.secondary {
  color: #fff7e8;
  border-color: rgba(255, 247, 232, 0.72);
  background: rgba(255, 248, 237, 0.2);
}

.button:hover,
.gallery-item:hover {
  transform: translateY(-1px);
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.overview {
  padding-bottom: clamp(22px, 3vw, 38px);
}

.overview + .gallery-section {
  padding-top: clamp(24px, 3.2vw, 42px);
  padding-bottom: clamp(24px, 3.2vw, 42px);
}

.gallery-section + .video-section,
.video-section + .location-section {
  padding-top: clamp(24px, 3.2vw, 42px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(16px, 2.4vw, 24px);
}

.section-heading p:not(.kicker) {
  color: var(--muted);
  font-size: 1rem;
  text-wrap: pretty;
}

.facts {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 0 24px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.facts div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 44px;
  padding: 11px 14px;
  border-bottom: 1px solid #cfcfcf;
  background: #eeeeee;
}

.facts div:nth-child(even) {
  background: #f7f7f7;
}

.facts div:first-child,
.facts div:nth-child(2) {
  border-bottom: 0;
  color: #fff;
  background: var(--purple);
  font-weight: 900;
}

.facts strong {
  display: block;
  color: inherit;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.25;
  text-wrap: balance;
}

.facts span {
  color: inherit;
  font-weight: 650;
  text-wrap: balance;
}

.note {
  color: var(--muted);
}

.details-grid {
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.details-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #eef9fc);
  box-shadow: 0 14px 30px rgba(0, 119, 148, 0.06);
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li + li {
  margin-top: 8px;
}

.content-add-button {
  display: none;
  width: max-content;
  margin-top: 14px;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px dashed var(--sea);
  border-radius: 6px;
  color: var(--sea);
  background: #ffffff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.content-add-actions {
  display: none;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 24px;
}

body.edit-mode .content-add-actions {
  display: grid;
}

body.edit-mode .content-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.edit-mode .facts div {
  padding-right: 104px;
}

.facts [data-fact-side="left"] {
  grid-column: 1;
}

.facts [data-fact-side="right"] {
  grid-column: 2;
}

.dynamic-remove-button {
  display: none;
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(215, 25, 32, 0.32);
  border-radius: 4px;
  color: var(--sale-red);
  background: #ffffff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
  transform: translateY(-50%);
}

body.edit-mode .dynamic-remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

[data-added-highlight] {
  position: relative;
  padding-right: 88px;
}

.list-remove-button {
  right: 0;
}

.price {
  margin-bottom: 6px;
  color: var(--sea);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 850;
  line-height: 1;
}

.gallery-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(223, 246, 251, 0.96)),
    linear-gradient(135deg, #ffffff, var(--sky));
}

.gallery-viewer {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 135, 168, 0.16);
  border-radius: 8px;
  background: #073f52;
  box-shadow: 0 18px 42px rgba(0, 119, 148, 0.13);
}

.gallery-viewer-main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.2;
  padding: 0;
  border: 0;
  color: #fff;
  background: #073f52;
  cursor: zoom-in;
}

.gallery-viewer-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-viewer-main span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 9px 12px;
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 119, 148, 0.82);
  font-weight: 850;
}

.gallery-viewer-nav,
.gallery-viewer-fullscreen {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: rgba(7, 63, 82, 0.58);
  font: inherit;
  cursor: pointer;
}

.gallery-viewer-nav {
  top: 50%;
  width: 46px;
  height: 66px;
  font-size: 2.2rem;
  transform: translateY(-50%);
}

.gallery-viewer-prev {
  left: 0;
}

.gallery-viewer-next {
  right: 0;
}

.gallery-viewer-fullscreen {
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  font-size: 1.2rem;
}

.gallery-viewer-nav:hover,
.gallery-viewer-fullscreen:hover,
.gallery-viewer-nav:focus-visible,
.gallery-viewer-fullscreen:focus-visible {
  background: rgba(7, 63, 82, 0.86);
}

.gallery {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 0 2px;
  scroll-snap-type: x mandatory;
}

body.edit-mode .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  overflow: visible;
  padding: 14px 0 4px;
  scroll-snap-type: none;
}

.gallery-item {
  position: relative;
  flex: 0 0 clamp(96px, 13vw, 154px);
  overflow: hidden;
  min-height: 72px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0;
  background: #0d93b7;
  box-shadow: none;
  cursor: pointer;
  opacity: 0.78;
  scroll-snap-align: start;
}

body.edit-mode .gallery-item {
  flex: none;
  min-height: 150px;
  aspect-ratio: 4 / 3;
  border-color: rgba(0, 135, 168, 0.24);
  opacity: 1;
}

.gallery-item.is-active-gallery {
  border-color: var(--sea);
  opacity: 1;
}

.gallery-item.is-large {
  grid-column: auto;
  grid-row: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item span {
  display: none;
}

body.edit-mode .gallery-item > span[data-edit-key],
body.edit-mode .gallery-item > span[data-gallery-item-title] {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 5;
  display: block;
  padding: 6px 8px;
  color: #fff;
  background: rgba(7, 63, 82, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.gallery-pagination {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.gallery-pagination button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(0, 135, 168, 0.28);
  border-radius: 0;
  color: var(--sea);
  background: rgba(255, 254, 249, 0.82);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
}

.gallery-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.gallery-pagination span {
  min-width: 104px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.video-section {
  padding-bottom: clamp(24px, 3.2vw, 42px);
  background: linear-gradient(180deg, rgba(223, 246, 251, 0.96), rgba(255, 255, 255, 0.96));
}

.tour-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.compact-heading {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: 7px;
  min-height: 0;
  margin-bottom: 10px;
}

.compact-heading h2 {
  max-width: min(22ch, 100%);
  font-size: clamp(1.55rem, 2.25vw, 2.15rem);
  line-height: 1.1;
  min-height: 0;
}

.compact-heading p:last-child {
  max-width: 54ch;
  min-height: 0;
  text-wrap: pretty;
}

.surroundings-gallery {
  display: contents;
  min-width: 0;
}

.video-column {
  display: contents;
  min-width: 0;
}

.surroundings-gallery > .compact-heading {
  grid-column: 1;
  grid-row: 1;
}

.surroundings-viewer {
  grid-column: 1;
  grid-row: 2;
}

.surroundings-grid {
  grid-column: 1;
  grid-row: 3;
}

.surroundings-add-button {
  grid-column: 1;
  grid-row: 4;
}

.video-column > .compact-heading {
  grid-column: 2;
  grid-row: 1;
}

.video-panel {
  grid-column: 2;
  grid-row: 2;
}

.surroundings-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(0, 135, 168, 0.16);
  background: #dff6fb;
  box-shadow: 0 12px 28px rgba(0, 119, 148, 0.09);
}

.surroundings-viewer {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(0, 135, 168, 0.16);
  background: #dff6fb;
  box-shadow: 0 12px 28px rgba(0, 119, 148, 0.09);
}

.surroundings-viewer img,
.surroundings-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surroundings-viewer span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 11px 13px;
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 63, 82, 0), rgba(7, 63, 82, 0.8));
  font-size: 0.95rem;
  font-weight: 850;
}

.surroundings-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 34px;
  height: 48px;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(7, 63, 82, 0.56);
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.surroundings-nav:hover,
.surroundings-nav:focus-visible {
  background: rgba(7, 63, 82, 0.86);
}

.surroundings-prev {
  left: 0;
}

.surroundings-next {
  right: 0;
}

.surroundings-grid {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-snap-type: x mandatory;
}

.surroundings-grid figure {
  flex: 0 0 86px;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  opacity: 0.72;
  scroll-snap-align: start;
}

.surroundings-grid figure.is-active-surroundings {
  border-color: var(--sea);
  opacity: 1;
}

.surroundings-gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 63, 82, 0), rgba(7, 63, 82, 0.78));
  font-size: 0.86rem;
  font-weight: 850;
}

.surroundings-grid figcaption {
  display: none;
}

.video-panel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(0, 135, 168, 0.16);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(6, 55, 68, 0.68), rgba(6, 55, 68, 0.22)),
    url("assets/villa-meer-header-4227.webp") center / cover;
  box-shadow: 0 18px 42px rgba(0, 119, 148, 0.13);
}

.video-panel.has-video {
  background: #052f3b;
}

.video-panel video {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #052f3b;
}

.video-panel.has-video video {
  display: block;
}

.video-placeholder {
  position: absolute;
  inset: auto 24px 24px;
  max-width: 560px;
  color: #fffef9;
}

.video-panel.has-video .video-placeholder {
  display: none;
}

.video-placeholder span {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 850;
  line-height: 1.08;
  text-wrap: balance;
}

.video-placeholder p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 254, 249, 0.86);
  font-size: 1.04rem;
}

.video-edit-button {
  display: none;
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 18px;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  color: #fff;
  background: rgba(0, 119, 148, 0.88);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

body.edit-mode .video-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.location-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(223, 246, 251, 0.9)),
    linear-gradient(135deg, rgba(0, 135, 168, 0.12), rgba(255, 255, 255, 0.18));
}

.map-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.map-copy-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #eef9fc);
  box-shadow: 0 14px 30px rgba(0, 119, 148, 0.08);
}

.map-label {
  width: max-content;
  margin-bottom: 18px;
  padding: 8px 11px;
  border-radius: 6px;
  border: 1px solid rgba(0, 135, 168, 0.2);
  color: var(--sea);
  background: linear-gradient(135deg, #ffffff, #dff6fb);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.map-copy-card address {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.35;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-link {
  width: max-content;
}

.map-panel iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
  background: var(--sky);
  box-shadow: 0 18px 42px rgba(0, 119, 148, 0.13);
}

.contact {
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
  font-size: 1rem;
  text-wrap: pretty;
}

.contact-recipient-editor {
  margin-top: 24px;
  padding: 14px;
  border: 1px dashed var(--sea);
  border-radius: 8px;
  color: var(--sea);
  background: #ffffff;
  font-weight: 850;
}

.contact-recipient-editor[hidden] {
  display: none;
}

.spam-check {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

address {
  margin-top: 28px;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.contact-form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #eef9fc);
  box-shadow: 0 12px 32px rgba(0, 119, 148, 0.1);
}

.form-message-field {
  grid-column: auto;
  grid-row: auto;
}

.form-message-field textarea {
  min-height: 150px;
}

label {
  display: grid;
  gap: 7px;
  color: #4a4038;
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(201, 111, 61, 0.35);
  outline-offset: 2px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--sea);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, #0087a8, #33b8cc);
}

#lightbox,
#image-editor,
#video-editor {
  width: min(980px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #0d93b7;
  box-shadow: var(--shadow);
}

#lightbox::backdrop,
#image-editor::backdrop,
#video-editor::backdrop {
  background: rgba(0, 105, 132, 0.68);
}

#lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

#lightbox p {
  margin: 0;
  padding: 15px 18px 18px;
  color: #fff;
  font-weight: 800;
}

.lightbox-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 44px;
  height: 56px;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: rgba(0, 119, 148, 0.82);
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(0, 119, 148, 0.96);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 119, 148, 0.88);
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.image-editor-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #eef9fc);
}

.image-editor-form h2 {
  margin-bottom: 2px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

#image-editor .button.secondary {
  color: var(--sea);
  border-color: var(--sea);
  background: #fff;
}

.dialog-status {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: #7a241d;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    flex-direction: column;
    align-items: flex-start;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px;
  }

  .header-sale-pill {
    margin-left: 0;
  }

  .language-switcher {
    margin-left: auto;
  }

  .hero img {
    height: 88vh;
  }

  .hero > .editable-image {
    height: 88vh;
  }

  .hero-overlay {
    left: 28px;
    bottom: 58px;
    width: min(620px, calc(100% - 56px));
  }

  .hero h1 {
    max-width: min(12ch, 100%);
  }



  .facts,
  .details-grid,
  .map-panel,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .details-grid article:first-child,
  .map-copy-card {
    grid-column: 1 / -1;
  }

  .gallery {
    display: flex;
    grid-template-columns: none;
    grid-auto-rows: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 10px;
  }

  .brand {
    flex: 1 1 100%;
    min-width: 0;
    font-size: 1.45rem;
  }

  .brand-mark {
    width: 74px;
    height: 54px;
  }

  .header-sale-pill {
    flex: 0 0 auto;
    padding: 6px 8px;
    font-size: 0.64rem;
  }

  .editor-bar {
    left: 10px;
    right: 10px;
    justify-content: space-between;
    gap: 6px;
  }

  .editor-button {
    padding: 8px 9px;
    font-size: 0.8rem;
  }

  .editor-status {
    display: none;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
  }

  .language-switcher {
    margin-left: 0;
  }

  nav a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.8rem;
    white-space: normal;
  }

  .nav-sale {
    min-height: 34px;
    padding: 8px 10px;
  }

  .gallery-viewer-main {
    aspect-ratio: 4 / 3;
  }

  .gallery-viewer-nav {
    width: 38px;
    height: 54px;
  }

  .gallery-viewer-main span {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    font-size: 0.9rem;
  }

  .gallery-item {
    flex-basis: 92px;
  }

  .hero,
  .hero img,
  .hero > .editable-image {
    min-height: 720px;
  }

  .hero-overlay {
    left: 20px;
    right: 20px;
    bottom: 42px;
    width: auto;
  }

  .hero h1 {
    max-width: min(11ch, 100%);
    font-size: clamp(2.8rem, 16vw, 4.7rem);
  }



  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .for-sale-stamp {
    right: 18px;
    top: 28%;
    width: 122px;
    border-width: 3px;
    font-size: 0.9rem;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(6, 47, 59, 0.48), rgba(6, 47, 59, 0.16) 70%, rgba(6, 47, 59, 0.04)),
      linear-gradient(0deg, rgba(0, 105, 132, 0.22), rgba(0, 105, 132, 0.04));
  }

  .hero-actions,
  .facts,
  .details-grid,
  .map-panel,
  .tour-layout,
  .gallery,
  .contact,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-message-field {
    grid-column: auto;
    grid-row: auto;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .content-add-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .facts [data-fact-side="left"],
  .facts [data-fact-side="right"] {
    grid-column: auto;
  }

  .map-copy-card,
  .map-panel iframe {
    min-height: 300px;
  }

  .map-actions,
  .map-link {
    width: 100%;
  }

  .video-panel {
    aspect-ratio: 4 / 3;
  }

  .surroundings-gallery,
  .video-column {
    display: grid;
    gap: 12px;
  }

  .surroundings-gallery > .compact-heading,
  .surroundings-viewer,
  .surroundings-grid,
  .surroundings-add-button,
  .video-column > .compact-heading,
  .video-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .surroundings-grid {
    display: flex;
  }

  .compact-heading {
    min-height: 0;
  }

  .video-placeholder {
    inset: auto 16px 16px;
  }

  .gallery-item.is-large {
    grid-column: auto;
    grid-row: auto;
  }

  footer {
    flex-direction: column;
  }
}

/* Rebollo Beach — editorial coastal redesign, September 2026.
   Presentation only: original content, editor and interactions are retained. */
:root{--ink:#163c39;--purple:#163c39;--sea:#214f49;--green-2:#214f49;--clay:#ab5738;--paper:#f4f1e9;--panel:#fcfaf5;--muted:#64716a;--line:#d5d9cf;--sky:#e4e9df;--shadow:0 20px 60px #102d3920}
body{background:var(--paper);font-family:"Avenir Next",Avenir,"Helvetica Neue",sans-serif;font-weight:400;-webkit-font-smoothing:antialiased}
.site-header{position:relative;min-height:100px;padding:20px 4vw;background:var(--paper);box-shadow:none;border-bottom:1px solid var(--line);gap:20px;backdrop-filter:none}
.brand{min-width:0;gap:12px;font-size:clamp(1.1rem,1.8vw,1.7rem);letter-spacing:-.06em;text-transform:none;font-weight:650;white-space:nowrap}
.brand-mark{width:48px;height:48px;border-radius:50%;border:0;flex-shrink:0}
.brand small{font-size:.62rem;font-weight:500;letter-spacing:.09em;margin-top:6px;color:var(--muted)}
nav{gap:12px}nav a{font-size:.7rem;letter-spacing:.08em;font-weight:600;padding:10px 8px;text-transform:uppercase;border-bottom-width:1px;color:var(--ink)}
.nav-sale{border:1px solid var(--ink);border-radius:30px;padding:12px 22px}
.language-switcher{border-radius:30px;overflow:hidden;border-color:var(--line);background:transparent}
.language-switcher :is(button,a){min-height:38px;font-size:.65rem;padding:7px;border:0}.language-switcher .flag{font-size:.8rem}
.hero{min-height:720px;height:calc(100svh - 100px);max-height:1000px;display:grid;grid-template-columns:46% 54%;background:var(--ink);overflow:hidden}
.hero>.editable-image{grid-column:2;grid-row:1;height:100%;min-height:0}
.hero>.editable-image>img{height:100%;min-height:0;object-position:55% center;filter:none}
.hero::after{inset:auto 0 0 46%;height:22%;background:linear-gradient(0deg,#163c3977,transparent);pointer-events:none}
.hero-overlay{position:relative;left:auto;bottom:auto;grid-column:1;grid-row:1;width:auto;padding:70px 4vw;align-self:center;text-shadow:none;color:#f5f0e5}
.sale-badge{background:transparent;color:#eee6cf;border:1px solid #a6b8aa66;box-shadow:none;border-radius:30px;padding:10px 15px;font-size:.65rem;letter-spacing:.16em;margin-bottom:38px;font-weight:500}
.sale-badge::before{content:"";width:6px;height:6px;background:#d7e8a0;border-radius:50%;align-self:center;margin-right:10px}
.kicker{font-weight:600;font-size:.68rem;letter-spacing:.18em;margin-bottom:18px}.hero .kicker{color:#b9c9b7;font-size:.62rem;letter-spacing:.13em;margin-bottom:20px}
h1,:lang(en) h1,:lang(es) h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(4rem,7.2vw,8rem);line-height:.98;letter-spacing:-.065em;max-width:9ch;text-wrap:balance;margin-bottom:28px;hyphens:none}
h2,:lang(en) h2,:lang(es) h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.5rem,4.2vw,4.6rem);font-weight:400;letter-spacing:-.045em;line-height:1.08;max-width:19ch}
h3{font-weight:500;font-size:1.45rem;letter-spacing:-.03em}
.hero-copy,:lang(en) .hero-copy,:lang(es) .hero-copy{color:#cdd8cc;font-size:1rem;line-height:1.8;font-weight:400;max-width:38ch;margin-bottom:32px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.button{border-radius:40px;min-height:50px;padding:15px 22px;font-size:.78rem;font-weight:600;transition:background .2s,transform .2s}
.button.primary{background:#d8e8ac;color:#173b37;box-shadow:none}.button.primary:hover{background:#e7f2c9}
.button.secondary{background:transparent;border-color:#97ada1;color:#fff}.button.secondary:hover{background:#ffffff12}
.for-sale-stamp{right:30px;top:auto;bottom:32px;width:108px;aspect-ratio:1;border-radius:50%;border:1px solid #e7edcf;background:#173c39dd;box-shadow:none;transform:rotate(10deg);font-size:.75rem;letter-spacing:.09em;font-weight:500;gap:5px}
.section{padding:96px 6vw;scroll-margin-top:24px}
.section-heading{max-width:860px;margin-bottom:45px}.section-heading p:not(.kicker){max-width:62ch;line-height:1.8;font-weight:400}
.overview{display:grid;grid-template-columns:.85fr 1.15fr;gap:36px 7vw}
.overview>.section-heading{margin:0}.overview>.section-heading h2{max-width:11ch}
.facts{grid-template-columns:1fr 1fr;gap:0 28px;align-content:start}
.facts div,.facts div:nth-child(even),.facts div:first-child,.facts div:nth-child(2){display:flex;flex-direction:column;gap:9px;min-height:108px;padding:18px 0;background:transparent;color:var(--ink);border-bottom:1px solid #b9c6b7}
.facts span{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;font-weight:500;color:var(--muted)}.facts strong{font-size:clamp(1.3rem,2.15vw,2rem);font-weight:500;letter-spacing:-.04em}.facts div:first-child strong{color:#a64b2d}
.details-grid{grid-column:1/-1;grid-template-columns:1.2fr 1fr;gap:5vw;margin-top:25px;border-top:1px solid var(--line);padding-top:40px}
.details-grid article{padding:0;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--muted);line-height:1.8}.details-grid h3{color:var(--ink)}
.details-grid ul{list-style:none;padding:0}.details-grid li{position:relative;padding-left:23px}.details-grid li::before{content:"↗";position:absolute;left:0;color:#9c5536}
.overview+.gallery-section{padding:90px 6vw;background:#163c39;color:#f4f1e9}
.gallery-section .kicker{color:#d8e8ac}.gallery-section .section-heading p:not(.kicker){color:#c0d0c5}.gallery-section .section-heading{max-width:100%}
.gallery-viewer{border:0;border-radius:3px;box-shadow:none;background:#102c29}.gallery-viewer-main{aspect-ratio:16/8.5;background:#102c29}
.gallery-viewer-main span{left:26px;bottom:26px;background:#153b38df;border-radius:30px;padding:12px 20px;font-size:.8rem;font-weight:500}
.gallery-viewer-nav{width:46px;height:46px;border-radius:50%;background:#f4f1e9e8;color:var(--ink)}.gallery-viewer-prev{left:20px}.gallery-viewer-next{right:20px}.gallery-viewer-fullscreen{border-radius:50%}
.gallery{gap:10px;padding-top:18px}.gallery-item{flex-basis:135px;border-radius:3px;opacity:.65;background:var(--ink)}.gallery-item.is-active-gallery{border-color:#d8e8ac;opacity:1}
.gallery-section+.video-section{padding:96px 6vw;background:#e6e9df}.tour-layout{gap:24px 5vw}.compact-heading h2,:lang(en) .compact-heading h2,:lang(es) .compact-heading h2{font-size:clamp(2rem,3vw,3.3rem);font-weight:400;max-width:18ch}
.surroundings-viewer,.surroundings-gallery figure,.video-panel{border:0;border-radius:3px;box-shadow:none}.surroundings-grid{gap:9px}.surroundings-grid figure{flex-basis:100px}.surroundings-viewer span{font-weight:500}.video-placeholder span{font-family:Georgia,serif;font-weight:400;font-size:2rem}.video-placeholder p{font-size:.9rem;line-height:1.6}
.video-section+.location-section{padding:96px 6vw;background:var(--paper)}.map-panel{gap:0;grid-template-columns:.75fr 1.25fr}.map-copy-card{background:#e4e8da;border:0;border-radius:0;box-shadow:none;padding:38px}.map-label{background:transparent;border:0;padding:0;letter-spacing:.15em;font-weight:500}.map-copy-card address{font-size:1.4rem;font-weight:400;line-height:1.6}.map-panel iframe{border-radius:0;box-shadow:none}.map-actions .primary{background:var(--ink);color:#fff}.map-actions .ghost{border-color:var(--ink)}
.contact{background:#163c39;color:var(--paper);gap:9vw}.contact-copy .kicker{color:#d8e8ac}.contact-copy p{color:#c5d2c7;line-height:1.8}.contact h2{font-size:clamp(3.2rem,5.8vw,6rem)}.contact-form{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;gap:24px}.contact-form label{color:#d4dece;font-size:.76rem;letter-spacing:.03em;font-weight:400}.contact-form input,.contact-form textarea{border:0;border-bottom:1px solid #6b8578;border-radius:0;background:#ffffff08;color:#fff;padding:14px}.contact-form .button{justify-self:start;min-width:180px}.form-status{color:#d8e8ac}
footer{background:#102e2b;color:#b8c9bd;padding:28px 6vw;font-size:.8rem;border-top:1px solid #6a857655}footer p{margin:0}
#lightbox{background:var(--ink)}#lightbox::backdrop{background:#071f1be8}
:focus-visible{outline:3px solid #bd713e;outline-offset:5px}
body.edit-mode .site-header{top:76px;position:relative;margin-bottom:76px}body.edit-mode .hero>.editable-image>.image-edit-button{top:20px}
@media(min-width:1500px){.section{padding-left:max(6vw,calc((100vw - 1380px)/2));padding-right:max(6vw,calc((100vw - 1380px)/2))}}
@media(max-width:1050px){.site-header{flex-wrap:wrap;gap:12px}.brand{flex:1}nav{order:3;width:100%;justify-content:center;margin:0}.hero{height:auto;min-height:690px;grid-template-columns:48% 52%}.hero-overlay{padding:55px 5vw}.hero::after{left:48%}.overview{gap:30px}.hero-actions .button{font-size:.7rem;padding:14px 16px}}
@media(max-width:700px){.site-header{padding:16px 20px;min-height:0}.brand{font-size:1.25rem}.brand-mark{width:38px;height:38px}.brand small{font-size:.5rem}.language-switcher :is(button,a){min-width:30px;min-height:36px}.language-switcher .flag{display:none}nav{gap:10px;justify-content:space-between}nav a,:lang(en) nav a,:lang(es) nav a{font-size:.6rem;padding:8px 5px}.nav-sale{padding:8px 14px}
.hero{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none}.hero>.editable-image{order:0;width:100%;height:340px;min-height:0}.hero>.editable-image>img{height:340px;min-height:0;object-position:center 58%}.hero-overlay{order:1;padding:35px 24px 44px;width:100%;position:relative;left:auto;bottom:auto}.hero::after{display:none}.sale-badge{margin-bottom:24px}h1,:lang(en) h1,:lang(es) h1{font-size:4.5rem;max-width:100%;margin-bottom:20px}.hero-copy,:lang(en) .hero-copy,:lang(es) .hero-copy{font-size:.95rem;max-width:100%}.hero-actions{display:flex;gap:10px}.for-sale-stamp{top:230px;bottom:auto;right:20px;width:85px;font-size:.6rem}
.section,.overview+.gallery-section,.gallery-section+.video-section,.video-section+.location-section{padding:60px 24px}.overview{display:block}.overview>.section-heading{margin-bottom:30px}.overview>.section-heading h2{max-width:17ch}h2,:lang(en) h2,:lang(es) h2{font-size:2.8rem}.facts{grid-template-columns:1fr 1fr;gap:0 20px}.facts div{min-height:100px}.facts strong{font-size:1.5rem}.facts span{font-size:.62rem}.details-grid{grid-template-columns:1fr;gap:30px;margin-top:35px;padding-top:30px}.section-heading{margin-bottom:30px}.gallery-viewer-main{aspect-ratio:4/3}.gallery-viewer-main span{left:12px;bottom:12px;font-size:.7rem;padding:8px 12px}.gallery-viewer-nav{width:36px;height:36px}.gallery-viewer-prev{left:10px}.gallery-viewer-next{right:10px}.gallery-item{flex-basis:100px}
.tour-layout{display:flex;flex-direction:column;gap:0}.surroundings-gallery,.video-column{display:block;width:100%}.video-column{margin-top:45px}.surroundings-grid{margin-top:12px}.map-panel{grid-template-columns:1fr}.map-copy-card{padding:28px;min-height:300px}.map-panel iframe{min-height:320px}.contact{grid-template-columns:1fr;gap:35px}.contact h2{font-size:3.6rem}.contact-form{padding:0}footer{padding:25px 24px;flex-wrap:wrap}.content-add-actions{grid-template-columns:1fr}body.edit-mode .site-header{margin-bottom:100px}body.edit-mode .facts div{padding-right:0;padding-bottom:40px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Sunny coastal direction — light surfaces and panoramic photography. */
:root{--ink:#233f45;--purple:#233f45;--sea:#087c83;--green-2:#087c83;--clay:#bb563d;--paper:#fff;--panel:#fff;--muted:#62767a;--line:#dce8e7;--sky:#edf8f7}
body{background:#fff;font-family:"Avenir Next","Helvetica Neue",Arial,sans-serif}
.site-header{background:#fff;border-bottom:0;padding:20px 5vw}
.brand{font-weight:750;letter-spacing:-.045em}.brand small{letter-spacing:.06em;color:#708286}.brand-mark{border-radius:14px}
nav a{letter-spacing:.025em;text-transform:none;font-size:.83rem}.nav-sale{background:#e8f6f4;color:#076d73;border:0}.nav-sale:hover{background:#d4eeeb}
.language-switcher{background:#f5f8f7;border:0}.language-switcher :is(button,a).is-active{background:#087c83}
.hero{display:block;height:auto;min-height:0;max-height:none;overflow:visible;background:#fff;padding-bottom:15px}
.hero>.editable-image{height:clamp(420px,57vw,720px);min-height:0;margin:0 20px;overflow:hidden;border-radius:24px}
.hero>.editable-image>img{width:100%;height:100%;min-height:0;object-position:center 55%;filter:none}
.hero::after{display:none}
.hero-overlay{position:relative;left:auto;bottom:auto;width:calc(100% - 12vw);max-width:1320px;margin:-115px auto 0;padding:42px 48px;background:#fff;border:1px solid #eef1eb;border-radius:22px;box-shadow:0 18px 55px #2a555311;color:var(--ink);display:grid;grid-template-columns:1.1fr 1fr;column-gap:55px;align-items:center}
.sale-badge{grid-column:1;justify-self:start;margin:0 0 18px;background:#fff0e8;color:#ad4e35;border:0;letter-spacing:.09em;font-size:.68rem;padding:10px 14px;font-weight:700}.sale-badge::before{background:#e98968}
.hero .kicker{grid-column:1;color:#087c83;letter-spacing:.1em;font-size:.65rem;margin-bottom:12px}
h1,:lang(en) h1,:lang(es) h1{grid-column:1;max-width:10ch;font-family:inherit;font-size:clamp(3rem,5.8vw,6rem);line-height:1.02;font-weight:750;letter-spacing:-.065em;margin:0;text-wrap:balance}
.hero-copy,:lang(en) .hero-copy,:lang(es) .hero-copy{grid-column:2;grid-row:1/4;align-self:center;color:#62767a;font-size:1.05rem;line-height:1.8;max-width:43ch;margin:0 0 15px}
.hero-actions{grid-column:2;grid-row:4;align-self:end;gap:10px;margin-top:18px}.button{border-radius:12px;font-size:.8rem;padding:16px 22px;font-weight:650}.button.primary{background:#087c83;color:#fff}.button.primary:hover{background:#05676e}.button.secondary{color:#08727a;background:#edf7f6;border:1px solid #d9eeeb}.button.secondary:hover{background:#dff1ee}
.for-sale-stamp{top:30px;right:50px;bottom:auto;border-radius:14px;width:110px;aspect-ratio:1.4;background:#fff2e9;color:#a84931;border:0;transform:rotate(5deg);box-shadow:0 8px 25px #39534415}
h2,:lang(en) h2,:lang(es) h2,.compact-heading h2,:lang(en) .compact-heading h2,:lang(es) .compact-heading h2{font-family:inherit;font-weight:650;font-size:clamp(2.1rem,3.7vw,3.8rem);letter-spacing:-.05em;line-height:1.13}h3{font-weight:650;letter-spacing:-.025em}.kicker{color:#087c83;letter-spacing:.13em}
.section{padding-top:85px;padding-bottom:85px}.overview>.section-heading h2{max-width:14ch}
.facts{gap:12px}.facts div,.facts div:nth-child(even),.facts div:first-child,.facts div:nth-child(2){padding:20px;background:#f2f8f7;border:0;border-radius:14px;min-height:110px;gap:10px}.facts div:first-child{background:#fff0e7}.facts div:first-child strong{color:#ac4f36}.facts strong{font-weight:650}.facts span{font-size:.65rem}
.details-grid{border:0;padding-top:0;gap:24px}.details-grid article{padding:30px;background:#faf8f2;border-radius:18px}.details-grid article:last-child{background:#f0f8f6}.details-grid li::before{color:#087c83}
.overview+.gallery-section{background:#f7f5ee;color:var(--ink);padding-top:80px;padding-bottom:80px}.gallery-section .kicker{color:#087c83}.gallery-section .section-heading p:not(.kicker){color:var(--muted)}.gallery-viewer{border-radius:20px;background:#edf7f6}.gallery-viewer-main{background:#edf7f6}.gallery-viewer-main span{background:#fffffff2;color:#23474c;box-shadow:0 4px 20px #23474c12}.gallery-viewer-nav{background:#fff;color:#087c83}.gallery-viewer-nav:hover{background:#ddf4ef;color:#087c83}.gallery-item{border-radius:10px;background:#d8efec}.gallery-item.is-active-gallery{border-color:#087c83}.gallery-viewer-fullscreen{background:#fffffff0;color:#087c83}
.gallery-section+.video-section{background:#fff}.surroundings-viewer,.video-panel{border-radius:18px}.surroundings-gallery figure{border-radius:9px}.video-placeholder span{font-family:inherit;font-weight:600;font-size:1.7rem}
.video-section+.location-section{background:#eef8f6}.map-panel{gap:20px}.map-copy-card{background:#fff;border-radius:18px}.map-copy-card address{font-size:1.3rem}.map-panel iframe{border-radius:18px}.map-actions .primary{background:#087c83}.map-actions .ghost{border-color:#d6e7e3;color:#087c83}
.contact{background:#fff8ef;color:var(--ink)}.contact-copy .kicker{color:#bb563d}.contact-copy p{color:var(--muted)}.contact h2{font-size:clamp(2.8rem,4.8vw,5rem);font-weight:650}.contact-form{background:#fff;border:1px solid #eee9df;border-radius:22px;padding:32px;box-shadow:0 12px 40px #79533406}.contact-form label{color:#405b5d;font-weight:600}.contact-form input,.contact-form textarea{background:#f7faf9;border:1px solid #dbe6e2;border-radius:9px;color:#233f45}.contact-form .button{justify-self:stretch}.form-status{color:#087c83}footer{background:#fff;color:#607b7b;border-top:1px solid #e4eeea}
@media(max-width:1050px){.hero-overlay{column-gap:30px;padding:32px}.hero-actions .button{padding:14px 16px}.hero-copy,:lang(en) .hero-copy,:lang(es) .hero-copy{font-size:.95rem}}
@media(max-width:700px){.site-header{padding:16px 20px}nav a,:lang(en) nav a,:lang(es) nav a{font-size:.72rem}.hero>.editable-image{height:340px;margin:0 12px;border-radius:17px}.hero>.editable-image>img{height:100%;object-position:center 55%}.hero-overlay{display:block;width:calc(100% - 40px);margin:-42px auto 0;padding:26px 22px;border-radius:18px}.sale-badge{margin-bottom:18px}.hero .kicker{font-size:.6rem}h1,:lang(en) h1,:lang(es) h1{font-size:3.5rem;max-width:100%;margin-bottom:20px}.hero-copy,:lang(en) .hero-copy,:lang(es) .hero-copy{font-size:.95rem;margin:0 0 22px}.hero-actions{margin:0;display:flex;flex-direction:column;gap:10px}.hero-actions .button{font-size:.8rem;width:100%}.for-sale-stamp{top:18px;right:28px;width:88px;font-size:.6rem}.section,.overview+.gallery-section,.gallery-section+.video-section,.video-section+.location-section{padding:55px 22px}h2,:lang(en) h2,:lang(es) h2,.compact-heading h2,:lang(en) .compact-heading h2,:lang(es) .compact-heading h2{font-size:2.2rem}.facts{gap:10px}.facts div,.facts div:nth-child(even),.facts div:first-child,.facts div:nth-child(2){padding:17px 13px;min-height:100px}.facts strong{font-size:1.35rem}.facts span{font-size:.6rem}.details-grid article{padding:24px}.contact h2{font-size:2.8rem}.contact-form{padding:22px}.map-copy-card{padding:26px}.gallery-viewer{border-radius:15px}}

/* Compact presentation: restrained typography and closely grouped content. */
.site-header{min-height:76px;padding:12px 4vw;gap:16px}.brand{font-size:1.3rem}.brand-mark{width:42px;height:42px;border-radius:6px}.brand small{margin-top:4px}.nav-sale,.language-switcher{border-radius:6px}
.hero>.editable-image{height:clamp(280px,36vw,480px);margin:0 4vw;border-radius:8px}
.hero-overlay{width:92%;max-width:none;margin:0 auto;padding:24px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px 35px;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}
.sale-badge{margin:0 0 4px;font-size:.64rem;padding:6px 10px;border-radius:4px}.hero .kicker{margin:0;font-size:.65rem;letter-spacing:.05em}
h1,:lang(en) h1,:lang(es) h1{font-size:clamp(1.8rem,2.7vw,2.6rem);line-height:1.15;letter-spacing:-.03em;max-width:none;margin:0;font-weight:650}
.hero-copy,:lang(en) .hero-copy,:lang(es) .hero-copy{font-size:.93rem;line-height:1.55;max-width:65ch;margin:0;grid-row:1/4}
.hero-actions{grid-row:4;grid-column:1/-1;margin-top:8px;gap:10px}.button{min-height:40px;border-radius:6px;padding:10px 16px;font-size:.8rem}.for-sale-stamp{width:85px;right:6vw;top:18px;font-size:.6rem;border-radius:6px;transform:none}
.section,.overview+.gallery-section,.gallery-section+.video-section,.video-section+.location-section{padding:36px 4vw}
h2,:lang(en) h2,:lang(es) h2,.compact-heading h2,:lang(en) .compact-heading h2,:lang(es) .compact-heading h2,.contact h2{font-size:clamp(1.4rem,2vw,1.9rem);line-height:1.2;letter-spacing:-.025em;max-width:none;margin-bottom:10px;font-weight:650}
h3{font-size:1.08rem;margin-bottom:10px}.kicker{font-size:.65rem;letter-spacing:.07em;margin-bottom:8px}.section-heading{margin-bottom:20px;max-width:100%}.section-heading p:not(.kicker){font-size:.92rem;line-height:1.6;max-width:85ch;margin-bottom:0}
.overview{grid-template-columns:.85fr 1.15fr;gap:20px 35px}.overview>.section-heading h2{max-width:none}.facts{gap:0 18px}.facts div,.facts div:nth-child(even),.facts div:first-child,.facts div:nth-child(2){min-height:47px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:10px 8px;gap:12px;border-radius:0;background:transparent;border-bottom:1px solid var(--line)}.facts div:first-child{background:#fff1e8}.facts span{font-size:.75rem;text-transform:none;letter-spacing:0}.facts strong{font-size:1rem;letter-spacing:0;white-space:nowrap}
.details-grid{margin-top:0;gap:20px}.details-grid article{padding:18px 20px;border-radius:6px;font-size:.9rem;line-height:1.55}.details-grid article p{margin-bottom:0}.details-grid li+li{margin-top:5px}
.gallery-viewer{border-radius:6px;max-width:1100px;margin:0 auto}.gallery-viewer-main{aspect-ratio:16/7.5}.gallery{max-width:1100px;margin:0 auto;padding-top:10px;gap:8px}.gallery-item{flex-basis:110px;border-radius:4px}.gallery-viewer-main span{font-size:.75rem;border-radius:5px;padding:8px 12px;bottom:15px;left:15px}
.tour-layout{gap:14px 24px}.compact-heading{gap:3px;margin-bottom:8px}.surroundings-viewer,.video-panel{border-radius:6px;aspect-ratio:16/9}.video-placeholder span{font-size:1.2rem}.video-placeholder p{font-size:.85rem}.surroundings-grid figure{border-radius:4px}.map-panel{gap:16px}.map-copy-card{padding:22px;border-radius:6px;min-height:280px}.map-copy-card address{font-size:1rem;line-height:1.6;margin-bottom:20px}.map-panel iframe{min-height:280px;border-radius:6px}.map-label{margin-bottom:12px}
.contact{gap:35px}.contact-copy p{font-size:.92rem;line-height:1.6}.contact-form{padding:20px;border-radius:7px;gap:13px}.contact-form input,.contact-form textarea{padding:10px;border-radius:4px}.form-message-field textarea{min-height:110px}footer{padding:20px 4vw;font-size:.75rem}
@media(max-width:700px){.site-header{padding:12px 16px;gap:10px}.brand{font-size:1.15rem}.hero>.editable-image{height:260px;margin:0 12px;border-radius:6px}.hero-overlay{width:calc(100% - 32px);display:block;padding:20px 0;margin:0 auto}.sale-badge{margin-bottom:10px}.hero .kicker{margin-bottom:7px}h1,:lang(en) h1,:lang(es) h1{font-size:1.9rem;margin-bottom:12px}.hero-copy,:lang(en) .hero-copy,:lang(es) .hero-copy{font-size:.9rem;margin-bottom:15px}.hero-actions{flex-direction:row;flex-wrap:wrap;margin:0;gap:8px}.hero-actions .button{width:auto;min-height:40px;padding:10px 13px;font-size:.75rem}.for-sale-stamp{right:25px;width:75px}.section,.overview+.gallery-section,.gallery-section+.video-section,.video-section+.location-section{padding:28px 16px}.overview>.section-heading{margin-bottom:18px}h2,:lang(en) h2,:lang(es) h2,.compact-heading h2,:lang(en) .compact-heading h2,:lang(es) .compact-heading h2,.contact h2{font-size:1.45rem}.facts{grid-template-columns:1fr;gap:0}.facts div,.facts div:nth-child(even),.facts div:first-child,.facts div:nth-child(2){min-height:40px;padding:9px 8px}.facts span{font-size:.78rem}.facts strong{font-size:1rem}.details-grid{margin-top:20px;gap:14px;padding-top:0}.details-grid article{padding:16px}.section-heading{margin-bottom:16px}.gallery-viewer-main{aspect-ratio:4/3}.video-column{margin-top:28px}.contact{gap:20px}.contact-form{padding:16px}.map-copy-card{min-height:0;padding:20px}.map-panel iframe{min-height:260px}}

/* Compact hero overlay and improved reading sizes. */
.site-header nav a,:lang(en) .site-header nav a,:lang(es) .site-header nav a{font-size:1rem;padding:11px 14px;font-weight:650}
.hero{position:relative;padding-bottom:0}
.hero>.editable-image{height:clamp(440px,39vw,560px)}
.hero-overlay{position:absolute;z-index:2;left:6vw;bottom:24px;width:min(570px,calc(100% - 12vw));max-width:none;margin:0;padding:22px 26px;display:block;background:rgba(255,255,255,.95);border:1px solid rgba(255,255,255,.8);border-radius:8px;box-shadow:0 8px 30px #24464b12}
.hero-overlay .sale-badge{margin-bottom:10px}.hero .kicker{margin-bottom:7px}
h1,:lang(en) h1,:lang(es) h1{font-size:clamp(1.9rem,2.7vw,2.6rem);margin-bottom:12px}
.hero-copy,:lang(en) .hero-copy,:lang(es) .hero-copy{font-size:1rem;line-height:1.6;margin:0 0 16px;max-width:none}
.hero-actions{margin-top:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:10px}
.section-heading p:not(.kicker),.details-grid article,.contact-copy p{font-size:1rem;line-height:1.7}
.details-grid li+li{margin-top:8px}.details-grid article{color:#465f63}.section-heading p:not(.kicker),.contact-copy p{color:#4d666a}
.facts span{font-size:.88rem;color:#4d666a}.facts strong{font-size:1.05rem}
.video-placeholder p{font-size:.95rem;line-height:1.6}.contact-form label{font-size:.88rem}
@media(max-width:1050px) and (min-width:701px){.hero>.editable-image{height:510px}}
@media(max-width:700px){.site-header nav a,:lang(en) .site-header nav a,:lang(es) .site-header nav a{font-size:.87rem;padding:9px 6px}.hero>.editable-image{height:530px}.hero-overlay{position:absolute;left:24px;bottom:14px;width:calc(100% - 48px);margin:0;padding:18px;background:rgba(255,255,255,.95);border-radius:7px}.hero-overlay .sale-badge{margin-bottom:8px}h1,:lang(en) h1,:lang(es) h1{font-size:1.9rem;margin-bottom:10px}.hero-copy,:lang(en) .hero-copy,:lang(es) .hero-copy{font-size:1rem;line-height:1.55;margin-bottom:14px}.hero-actions{gap:8px}.hero-actions .button{font-size:.78rem;padding:10px 12px}.section-heading p:not(.kicker),.details-grid article,.contact-copy p{font-size:1rem;line-height:1.65}.facts span{font-size:.88rem}.facts strong{font-size:1.05rem}}
@media(max-width:380px){.hero>.editable-image{height:590px}.hero-overlay{left:20px;width:calc(100% - 40px);padding:16px}.site-header nav{gap:3px}.site-header nav a,:lang(en) .site-header nav a,:lang(es) .site-header nav a{font-size:.8rem;padding:9px 5px}}

/* Transparent title overlay: retain the photograph without a white panel. */
.hero-overlay{background:transparent;border:0;box-shadow:none;color:#fff;text-shadow:0 2px 5px rgba(0,0,0,.85),0 0 22px rgba(0,0,0,.5)}
.hero-overlay h1,.hero .kicker,.hero-copy,:lang(en) .hero-copy,:lang(es) .hero-copy{color:#fff}
.hero .kicker{font-weight:750}.hero-copy,:lang(en) .hero-copy,:lang(es) .hero-copy{font-weight:550}
.hero-overlay .sale-badge,.hero-overlay .button{text-shadow:none}
.hero-overlay .button.secondary{background:rgba(255,255,255,.88);color:#08656c;border-color:transparent}
@media(max-width:700px){.hero-overlay{background:transparent}}

/* Prominent sale sign, positioned within the photograph. */
.hero .for-sale-stamp{top:32%;right:8vw;bottom:auto;width:clamp(145px,13vw,185px);aspect-ratio:1.45;border:4px solid #fff;border-radius:8px;background:#e6372e;color:#fff;box-shadow:0 8px 22px rgba(45,32,25,.3);transform:rotate(8deg);font-size:clamp(1rem,1.4vw,1.35rem);font-weight:850;letter-spacing:.025em;gap:5px;text-shadow:none}
@media(max-width:700px){.hero .for-sale-stamp{top:30px;right:30px;width:136px;font-size:.97rem;border-width:3px;transform:rotate(7deg)}}

/* Slim sale sign with room for all three translated labels. */
.hero .for-sale-stamp{width:max-content;min-width:164px;max-width:calc(100% - 48px);aspect-ratio:auto;padding:10px 18px;gap:3px;border-width:2px;border-radius:5px;font-size:1rem;line-height:1.1;letter-spacing:.025em;transform:rotate(5deg);box-shadow:0 4px 12px rgba(45,32,25,.2)}
.hero .for-sale-stamp span{max-width:none;white-space:nowrap;line-height:1.1}
@media(max-width:700px){.hero .for-sale-stamp{min-width:145px;width:max-content;padding:8px 15px;font-size:.9rem;border-width:2px;transform:rotate(5deg)}}

/* A single clear sale label keeps the property photograph unobstructed. */
.hero .for-sale-stamp{display:none}
.hero-overlay .sale-badge{display:inline-flex;align-items:center;padding:10px 17px;margin-bottom:13px;border:2px solid #fff;border-radius:6px;background:#d93b30;color:#fff;font-size:.9rem;font-weight:800;line-height:1.2;letter-spacing:.045em;box-shadow:0 3px 10px rgba(0,0,0,.18);text-shadow:none;max-width:100%;white-space:normal}
.hero-overlay .sale-badge::before{display:none}
@media(max-width:700px){.hero-overlay .sale-badge{font-size:.85rem;padding:9px 14px;margin-bottom:12px}}

/* Lighter header lettering. */
.site-header .brand{font-weight:500}
.site-header .brand small{font-weight:400}

/* Four equally sized language choices. */
.language-switcher{grid-template-columns:repeat(4,1fr)}
@media(max-width:700px){.site-header .brand{white-space:normal;flex:1 1 160px}.language-switcher{flex-shrink:0}}

/* Clearly visible, comfortably sized language selector on every screen. */
.site-header .language-switcher{grid-template-columns:repeat(4,1fr);background:#f0f8f7;border:1px solid #b8d8d5;border-radius:9px;padding:4px;gap:3px;flex-shrink:0}
.site-header .language-switcher :is(button,a){min-width:65px;min-height:44px;padding:9px 10px;gap:7px;font-size:.88rem;font-weight:750;border:0;border-radius:5px;color:#25565b}
.site-header .language-switcher .flag{display:inline-block;font-size:1.3rem;line-height:1}
.site-header .language-switcher :is(button,a).is-active{background:#087c83;color:#fff}
.site-header .language-switcher :is(button,a):hover:not(.is-active){background:#dcefeb}
@media(max-width:1200px){.site-header{flex-wrap:wrap}.site-header nav{order:3;width:100%;margin:0;justify-content:center}.site-header .brand{flex:1}}
@media(max-width:700px){.site-header .language-switcher{width:100%;order:4;gap:4px}.site-header .language-switcher :is(button,a){min-width:0;min-height:44px;font-size:.9rem;padding:9px 6px}.site-header .language-switcher .flag{display:inline-block;font-size:1.35rem}.site-header nav{justify-content:space-between}.site-header .brand{flex:1 1 auto}}

/* Neutral language selector; keep the selected language clearly marked. */
.site-header .language-switcher{background:transparent;border-color:transparent}
.site-header .language-switcher :is(button,a):hover:not(.is-active){background:#f1f3f2}

.language-switcher a{text-decoration:none;text-align:center}

/* Hide unfinished video from visitors; keep upload controls in the editor. */





/* Let mobile text determine the image height, avoiding clipped translations. */
@media(max-width:700px){
 .hero{display:grid;grid-template-columns:minmax(0,1fr);isolation:isolate}
 .hero>.editable-image{grid-area:1/1;height:auto;min-height:520px;align-self:stretch}
 .hero>.editable-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
 .hero-overlay{grid-area:1/1;position:relative;left:auto;bottom:auto;width:auto;max-width:none;margin:160px 24px 18px;align-self:end;padding:16px;min-width:0}
 .hero-actions .button{min-height:44px}
 .gallery-viewer-nav,.surroundings-nav{width:44px;height:44px}
 .map-link{width:auto;max-width:100%;white-space:normal}
 .map-actions{flex-wrap:wrap}
 .contact-form input,.contact-form textarea{font-size:16px}
 .tour-layout,.map-panel,.contact>*{min-width:0}
 
}

/* Floor plan stays private until a real image has been added. */
body:not(.edit-mode) .floorplan-section:not(.has-floorplan){display:none}
.floorplan-section{background:#f7faf8}
.floorplan-image img{width:auto;max-width:100%;max-height:850px;height:auto;margin:auto;object-fit:contain}
.floorplan-image img:not([src]){display:none}
.floorplan-editor-hint{display:none}
body.edit-mode .floorplan-image{min-height:130px;padding:60px 20px 20px;border:1px dashed #8ba9a1}
body.edit-mode .floorplan-editor-hint{display:block;color:#405f58}
