:root {
  --ink: #17211d;
  --muted: #5c6861;
  --line: #dbe3dd;
  --paper: #fbfbf7;
  --surface: #ffffff;
  --sea: #146c78;
  --pine: #2e6b4f;
  --coral: #d86545;
  --sand: #f1eadc;
  --shadow: 0 18px 50px rgba(18, 32, 28, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

body.lightbox-open {
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(0,0,0,.58), rgba(0,0,0,.12));
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-logo {
  width: 58px;
  height: 42px;
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
}

.brand-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sea);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.custom-logo-wrap,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img,
.custom-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: .86;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.nav a { opacity: .92; }

.nav-item,
.nav .menu-item-has-children {
  position: relative;
}

.submenu,
.nav .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  z-index: 25;
  display: grid;
  min-width: 180px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}

.submenu::before,
.nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.submenu a,
.nav .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: calc(var(--radius) - 2px);
  white-space: nowrap;
}

.submenu a:hover,
.nav .sub-menu a:hover {
  background: #f3f7f2;
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu,
.nav-dropdown.is-open .submenu,
.nav .menu-item-has-children:hover > .sub-menu,
.nav .menu-item-has-children:focus-within > .sub-menu,
.nav .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.header-cta {
  background: #fff;
  color: var(--ink);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: var(--radius);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 34px;
  min-height: 32px;
  padding: 0 7px;
  border-radius: calc(var(--radius) - 2px);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  opacity: .88;
}

.language-flag {
  font-size: 15px;
  line-height: 1;
}

.language-switcher a.is-active {
  background: #fff;
  color: var(--ink);
  opacity: 1;
}

.btn:hover,
.header-cta:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-quiet { border-color: var(--line); background: var(--surface); color: var(--ink); }

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding: 116px clamp(18px, 4vw, 56px) 62px;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.34) 48%, rgba(0,0,0,.18)),
    url("../images/hero/sunset-mola-kaliva.jpg") center / cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,0));
  z-index: -1;
}

.subpage-hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(18px, 4vw, 56px) 82px;
  color: #fff;
  overflow: hidden;
}

.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.36) 52%, rgba(0,0,0,.2)),
    var(--hero-image, url("../images/apartment-1/20250422_114949(1).jpg")) center / cover;
  z-index: -2;
}

.subpage-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0));
  z-index: -1;
}

.apartment-one-hero {
  --hero-image: url("../images/apartment-1/20250422_115135.jpg");
}

.apartment-two-hero {
  --hero-image: url("../images/apartment-2/20250617_134934.jpg");
}

.contact-hero {
  --hero-image: url("../images/hero/sunset-mola-kaliva.jpg");
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .56fr);
  gap: 34px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(18px, 2.1vw, 23px);
  color: rgba(255,255,255,.9);
}

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

.booking-panel {
  position: relative;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(12px);
}

.booking-panel h2 {
  margin-bottom: 4px;
  font-size: 20px;
  line-height: 1.2;
}

.booking-panel p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

input, select {
  width: 100%;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

input[readonly][data-date-field] {
  cursor: pointer;
  caret-color: transparent;
}

input[readonly][data-date-field].is-active {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(216,101,69,.14);
}

.booking-panel .btn {
  width: 100%;
  margin-top: 12px;
}

.booking-calendar-popover {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
  box-shadow: 0 14px 34px rgba(18,32,28,.14);
}

.booking-calendar-popover[hidden] {
  display: none;
}

.booking-calendar-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.booking-calendar-head strong {
  text-align: center;
  font-size: 16px;
}

.calendar-step {
  display: grid;
  place-items: center;
  width: 36px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

.booking-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.booking-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.booking-calendar-legend i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.booking-calendar-legend .is-free {
  background: #dff2e6;
}

.booking-calendar-legend .is-booked {
  background: #ffe1d8;
}

.booking-calendar-weekdays,
.booking-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.booking-calendar-weekdays {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.booking-date {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #dff2e6;
  color: var(--pine);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.booking-date.is-empty {
  visibility: hidden;
}

.booking-date.is-past,
.booking-date.is-booked {
  cursor: not-allowed;
}

.booking-date.is-past {
  background: #ece9e2;
  color: #918a7d;
}

.booking-date.is-booked {
  background: #ffe1d8;
  color: #9a3d26;
  text-decoration: line-through;
}

.booking-date.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.booking-date.is-in-range {
  border-color: rgba(46,107,79,.22);
  background: #c7ead4;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18,32,28,.62);
}

.booking-modal[hidden] {
  display: none;
}

body.booking-modal-open {
  overflow: hidden;
}

.booking-modal-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(18,32,28,.32);
  padding: 18px;
}

.booking-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.booking-modal-head {
  padding: 6px 46px 10px 0;
}

.booking-modal-head h2 {
  margin-top: 4px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.booking-panel-modal {
  box-shadow: none;
  border: 1px solid var(--line);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: -1px auto 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.quick-fact {
  background: var(--surface);
  padding: 18px;
}

.quick-fact strong {
  display: block;
  font-size: 21px;
  line-height: 1.15;
}

.quick-fact span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 56px);
}

.section.alt { background: var(--sand); }

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

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
}

.apartment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.apartment {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(18,32,28,.06);
}

.apartment-media {
  aspect-ratio: 16 / 11;
  background: #d5ddd7;
}

.apartment-body { padding: 20px; }

.apartment-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}

.apartment h3 {
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1.15;
}

.price {
  color: var(--sea);
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.apartment p {
  color: var(--muted);
  margin-bottom: 16px;
}

.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.amenities li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #f8faf7;
  font-size: 13px;
  font-weight: 750;
  color: #33423b;
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-template-rows: 230px 230px;
  gap: 12px;
}

.gallery-strip figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d9e2dc;
}

.gallery-strip figure:first-child { grid-row: span 2; }

.gallery-strip figure.is-clickable,
.apartment-gallery figure.is-clickable {
  cursor: zoom-in;
}

.gallery-strip figure.is-clickable img,
.apartment-gallery figure.is-clickable img {
  transition: transform .22s ease, filter .22s ease;
}

.gallery-strip figure.is-clickable:hover img,
.apartment-gallery figure.is-clickable:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

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

.apartment-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d9e2dc;
}

.apartment-gallery figure.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px clamp(16px, 5vw, 72px) 40px;
  background: rgba(8, 14, 12, .88);
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox figure {
  width: min(1080px, 100%);
  max-height: 82vh;
  margin: 0;
}

.gallery-lightbox img {
  width: 100%;
  height: auto;
  max-height: 76vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
}

.gallery-lightbox figcaption {
  min-height: 24px;
  margin-top: 12px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.gallery-lightbox button {
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(0,0,0,.22);
}

.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  font-size: 34px;
  line-height: 1;
}

.gallery-lightbox-prev { left: 18px; }
.gallery-lightbox-next { right: 18px; }

.apartment-video {
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}

.apartment-video video {
  display: block;
  width: 100%;
  max-height: 720px;
  background: #111;
}

.location {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
}

.location-copy {
  display: grid;
  align-content: center;
}

.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--sea);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.location-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.destination-copy p {
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 650;
}

.love-panel {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
}

.love-panel h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}

.love-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.love-list li {
  position: relative;
  padding-left: 18px;
  color: #33423b;
  font-weight: 760;
}

.love-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.nearby {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.nearby li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23,33,29,.16);
  font-weight: 800;
}

.nearby span {
  color: var(--muted);
  font-weight: 700;
}

.map-card {
  height: min(70vh, 560px);
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(20,108,120,.15), rgba(20,108,120,.15)),
    url("../images/apartment-1/20250422_115021(1)(1).jpg") center / cover;
  position: relative;
}

.location-map-column {
  display: grid;
  gap: 16px;
}

.interactive-map-card {
  background: #dbe3dd;
}

.bunterakis-map {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.leaflet-container {
  font-family: inherit;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  border-radius: var(--radius);
}

.leaflet-popup-content {
  margin: 12px 14px;
  color: var(--ink);
  font-weight: 700;
}

.bunterakis-map-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  margin-left: -21px !important;
  margin-top: -42px !important;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 6px;
  background: var(--coral);
  box-shadow: 0 12px 26px rgba(18,32,28,.28);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  transform: rotate(-45deg);
}

.bunterakis-map-pin::before {
  content: "B";
  transform: rotate(45deg);
}

.bunterakis-map-pin {
  font-size: 0;
}

.map-place-pin {
  width: 20px !important;
  height: 20px !important;
  margin-left: -10px !important;
  margin-top: -10px !important;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: 0 8px 20px rgba(18,32,28,.22);
}

.map-card .pin {
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 2;
  max-width: 300px;
  padding: 16px;
  background: rgba(255,255,255,.94);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pin strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.map-places {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
}

.map-places h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}

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

.map-place-list button {
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(23,33,29,.14);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.map-place-list button:hover,
.map-place-list button:focus-visible,
.map-place-list button.is-active {
  border-color: var(--coral);
  box-shadow: 0 8px 20px rgba(18,32,28,.12);
  outline: none;
  transform: translateY(-1px);
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.reviews-summary > div {
  display: grid;
  gap: 3px;
}

.reviews-summary strong {
  font-size: 22px;
  line-height: 1.15;
}

.reviews-summary span:last-child {
  color: var(--muted);
  font-weight: 700;
}

.stars {
  color: #f4b400;
  letter-spacing: 1px;
}

.reviews-carousel {
  position: relative;
  margin-top: 18px;
  padding: 0 54px 34px;
}

.reviews-viewport {
  overflow: hidden;
  padding: 18px 0;
}

.reviews {
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform .42s ease;
  will-change: transform;
}

.reviews-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(18,32,28,.14);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  transform: translateY(-50%);
}

.reviews-arrow:hover,
.reviews-arrow:focus-visible {
  border-color: var(--coral);
  outline: none;
}

.reviews-prev {
  left: 0;
}

.reviews-next {
  right: 0;
}

.reviews-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  transform: translateX(-50%);
}

.reviews-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(23,33,29,.25);
  cursor: pointer;
  padding: 0;
}

.reviews-dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--coral);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 30px;
  align-items: start;
}

.detail-layout h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.detail-layout p {
  color: var(--muted);
  font-weight: 650;
}

.detail-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(18,32,28,.06);
}

.detail-panel-collapsible {
  position: relative;
  overflow: visible;
}

.detail-panel-collapsible.has-more:not(.is-open) .detail-list div:nth-child(n+12) {
  display: none;
}

.detail-panel-collapsible.has-more:not(.is-open) .detail-list div:nth-child(11) {
  border-bottom: 0;
}

.detail-toggle {
  display: none;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--sea);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.detail-panel-collapsible.has-more .detail-toggle {
  display: block;
}

.detail-list {
  margin: 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: minmax(120px, .55fr) 1fr;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.detail-list div:last-child {
  border-bottom: 0;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
  font-weight: 800;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 clamp(360px, 56vw, 640px);
  min-height: 230px;
  max-height: 420px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  opacity: .42;
  filter: blur(1.1px);
  transform: scale(.92);
  transition: opacity .36s ease, filter .36s ease, transform .36s ease;
}

.review.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1);
  box-shadow: 0 18px 44px rgba(18,32,28,.12);
}

.review strong {
  display: block;
  margin-top: auto;
  margin-bottom: 0;
  color: var(--ink);
}

.review p {
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.availability-section {
  background: #fff;
}

.availability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.availability-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.availability-legend i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.availability-legend .is-free {
  background: #dff2e6;
  border-color: rgba(46,107,79,.3);
}

.availability-legend .is-booked {
  background: #ffe1d8;
  border-color: rgba(216,101,69,.34);
}

.availability-legend .is-past {
  background: #ece9e2;
  border-color: #d7d0c4;
}

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

.calendar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 16px;
  box-shadow: 0 8px 22px rgba(18,32,28,.06);
}

.calendar-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.calendar-weekdays {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.calendar-day.is-empty {
  visibility: hidden;
}

.calendar-day.is-free {
  border-color: rgba(46,107,79,.22);
  background: #dff2e6;
  color: var(--pine);
}

.calendar-day.is-booked {
  border-color: rgba(216,101,69,.26);
  background: #ffe1d8;
  color: #9a3d26;
  text-decoration: line-through;
}

.calendar-day.is-past {
  background: #ece9e2;
  color: #918a7d;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.contact-copy p {
  color: var(--muted);
  font-weight: 650;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
  font-weight: 700;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .btn {
  width: 100%;
  margin-top: 4px;
}

.recaptcha-wrap {
  display: flex;
  justify-content: flex-start;
  margin: 2px 0 16px;
  min-height: 78px;
}

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

.form-notice {
  margin-bottom: 16px;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-weight: 800;
}

.form-notice p {
  margin: 0;
}

.form-notice.success {
  border: 1px solid rgba(46,107,79,.28);
  background: #edf7f1;
  color: var(--pine);
}

.form-notice.error {
  border: 1px solid rgba(216,101,69,.32);
  background: #fff1ec;
  color: #9a3d26;
}

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

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--sea);
  color: #fff;
}

.final-cta h2 {
  margin-bottom: 6px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
}

.final-cta p {
  margin-bottom: 0;
  color: rgba(255,255,255,.86);
  max-width: 660px;
}

.final-cta .btn {
  background: #fff;
  color: var(--ink);
}

footer {
  padding: 28px clamp(18px, 4vw, 56px) 92px;
  color: var(--muted);
  background: var(--paper);
  font-size: 14px;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.footer-credit a {
  font-weight: 800;
  color: var(--ink);
}

.mobile-book {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}

.mobile-book .btn {
  min-height: 46px;
  padding: 0 10px;
}

.mobile-book.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

@media (max-width: 940px) {
  .nav { display: none; }
  .language-switcher { margin-left: auto; }
  .hero { min-height: auto; padding-top: 92px; }
  .hero-inner,
  .location,
  .detail-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(44px, 8vw, 64px); }
  .booking-panel { max-width: 520px; }
  .quick-facts,
  .apartment-grid { grid-template-columns: 1fr 1fr; }
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .gallery-strip figure:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .apartment-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }
  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reviews-carousel {
    padding-inline: 46px;
  }
  .review {
    flex-basis: clamp(340px, 72vw, 560px);
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  body { padding-bottom: 78px; }
  .site-header { padding: 12px 16px; }
  .brand { gap: 9px; }
  .brand-logo {
    width: 48px;
    height: 36px;
  }
  .brand strong { font-size: 15px; }
  .brand strong span { display: none; }
  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }
  .language-switcher {
    padding: 3px;
    gap: 2px;
  }
  .language-switcher a {
    min-width: 31px;
    min-height: 28px;
    padding: 0 5px;
    font-size: 11px;
  }

  .language-flag { font-size: 13px; }
  .hero {
    padding: 82px 16px 22px;
    align-items: start;
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,.66), rgba(0,0,0,.32) 42%, rgba(0,0,0,.68)),
      url("../images/hero/sunset-mola-kaliva.jpg") center / cover;
  }
  .hero-inner { gap: 20px; }
  .subpage-hero { padding: 94px 16px 38px; min-height: 58vh; }
  h1 { font-size: clamp(34px, 10.5vw, 42px); line-height: 1; }
  .eyebrow {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }
  .hero-copy {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.45;
  }
  .hero-actions .btn { flex: 1 1 150px; }
  .booking-panel {
    width: 100%;
    margin-bottom: 88px;
    padding: 16px;
  }
  .booking-panel h2 { font-size: 19px; }
  .booking-panel p { margin-bottom: 12px; }
  .booking-grid,
  .quick-facts,
  .apartment-grid,
  .final-cta { grid-template-columns: 1fr; }
  .contact-form { padding: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-methods .btn { width: 100%; }
  .recaptcha-wrap {
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .reviews-summary {
    align-items: stretch;
    flex-direction: column;
  }
  .reviews-summary .btn {
    width: 100%;
  }
  .reviews-carousel {
    padding: 0 18px 34px;
  }
  .reviews-viewport {
    padding: 10px 0 14px;
  }
  .review {
    flex-basis: min(78vw, 380px);
    min-height: 260px;
    max-height: 360px;
    padding: 16px;
  }
  .reviews-arrow {
    top: auto;
    bottom: -4px;
    width: 34px;
    height: 34px;
    font-size: 24px;
    transform: none;
  }
  .reviews-prev {
    left: 18px;
  }
  .reviews-next {
    right: 18px;
  }
  .review-meta {
    align-items: flex-start;
    gap: 6px;
  }
  .section-head { display: block; }
  .section-head h2 { margin-bottom: 10px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .love-list { grid-template-columns: 1fr; }
  .map-place-list { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: 1fr; }
  .calendar-card { padding: 14px; }
  .calendar-day { border-radius: 7px; font-size: 12px; }
  .gallery-strip {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 210px);
  }
  .gallery-strip figure:first-child { grid-column: span 1; }
  .apartment-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }
  .apartment-gallery figure.featured {
    grid-column: span 1;
    grid-row: span 1;
  }
  .apartment-top { display: block; }
  .price { text-align: left; }
  .map-card { min-height: 360px; }
  .map-card .pin {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }
  .gallery-lightbox {
    padding: 64px 12px 34px;
  }
  .gallery-lightbox img {
    max-height: 70vh;
  }
  .gallery-lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 42px;
    height: 42px;
    transform: none;
  }
  .gallery-lightbox-prev { left: 18px; }
  .gallery-lightbox-next { right: 18px; }
  .detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .mobile-book {
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    padding: 7px;
  }
  .mobile-book .btn {
    min-height: 44px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .site-header {
    flex-wrap: wrap;
    gap: 7px 8px;
    padding: 9px 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 7px;
  }

  .brand-logo {
    width: 42px;
    height: 32px;
  }

  .brand strong {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-switcher {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .language-switcher a {
    flex: 1 1 0;
    max-width: 74px;
  }

  .hero {
    padding-top: 120px;
  }

  .subpage-hero {
    padding-top: 126px;
  }
}
