:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f8f8f8;
  --ink: #232323;
  --muted: #6f6a63;
  --line: #e6e6e6;
  --accent: #7895a8;
  --accent-dark: #476d83;
  --warm: #c7a57f;
  --booked: #eec7c7;
  --available: #dcebdc;
  --shadow: 0 16px 45px rgba(40, 31, 20, 0.10);
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: #3e3a35;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.mobile-phone-link {
  display: none;
}

.phone-pill,
.soft-action,
.call-link,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.phone-pill {
  padding: 10px 16px;
  background: #476d83;
  border: 1px solid var(--line);
  color: #fff;
  gap: 8px;
}

.phone-pill svg,
.mobile-phone-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.lang-switch a {
  color: var(--ink);
}

.lang-switch .is-active {
  color: var(--accent-dark);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-open .menu-toggle span {
  background: transparent;
}

.menu-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.listing-hero {
  padding: 42px 0 28px;
}

.home-hero {
  padding: 0 0 46px;
}

.home-hero > .container {
  width: 100%;
}

.home-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 0;
  background: #111111;
}

.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.home-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.home-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.home-hero-content {
  position: absolute;
  left: 52px;
  bottom: 58px;
  z-index: 2;
  max-width: 690px;
  color: #ffffff;
}

.home-hero-content .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.home-hero-content h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 74px);
  color: #ffffff;
}

.home-hero-content p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.home-actions .primary-btn,
.home-actions .soft-action {
  width: auto;
  margin: 0;
}

.home-hero-content .soft-action {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.home-slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transform: translateY(-50%);
}

.home-slider-btn::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.home-slider-prev {
  left: 18px;
}

.home-slider-prev::before {
  transform: rotate(-45deg);
}

.home-slider-next {
  right: 18px;
}

.home-slider-next::before {
  transform: rotate(135deg);
}

.home-slider-dots {
  position: absolute;
  left: 52px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.home-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.home-slider-dot.is-active {
  width: 26px;
  background: #ffffff;
}

.home-intro {
  max-width: 820px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.property-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(40, 31, 20, 0.07);
}

.property-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.property-card-content {
  padding: 26px;
}

.property-card h3 {
  margin-bottom: 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.property-card p {
  color: var(--muted);
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 24px;
}

.property-features span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #3d3833;
  font-weight: 750;
  font-size: 14px;
}

.property-features img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

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

.property-actions .primary-btn,
.property-actions .outline-btn {
  width: auto;
  margin: 0;
}

.beach-band {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.54)),
    url("https://magdalinihouse.gr/assets/images/paralio-astros/paralio-astros-6.jpg") center/cover no-repeat;
  color: #ffffff;
  text-align: center;
}

.beach-band-content {
  width: min(780px, calc(100% - 40px));
}

.beach-band h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.beach-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.area-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-top: 24px;
}

.area-scroller img {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  object-fit: cover;
}

.home-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 40px 48px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f8f8f8;
}

.home-cta h2 {
  margin-bottom: 8px;
}

.home-cta p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.quick-info {
  margin: 0;
  color: var(--muted);
  max-width: 650px;
  font-size: 18px;
}

.soft-action {
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(40, 31, 20, 0.08);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.52fr 0.52fr;
  grid-template-rows: 245px 245px;
  gap: 10px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.photo-tile {
  position: relative;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #e9e5df;
  cursor: pointer;
}

.photo-main {
  grid-row: span 2;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.photo-tile:hover img {
  transform: scale(1.065);
  filter: saturate(1.05);
}

.show-all {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  font-size: 14px;
  font-weight: 850;
}

.content-shell {
  padding: 26px 0 78px;
}

.content-grid {
  display: block;
}

.main-content {
  min-width: 0;
  max-width: 1180px;
}

.section-block {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.section-block:first-child {
  padding-top: 0;
}

.section-block h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.section-block p {
  color: #4d4842;
  font-size: 17px;
}

.registration-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

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

.registration-box strong {
  letter-spacing: 0.04em;
}

.intro-section {
  display: block;
}

.intro-copy {
  min-width: 0;
  max-width: 850px;
}

.overview-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.overview-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.overview-facts img {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  object-fit: contain;
}

.overview-facts strong {
  display: block;
  margin-bottom: 2px;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.overview-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.overview-facts small {
  display: block;
  color: #4d4842;
  font-size: 13px;
  line-height: 1.35;
}

.sleep-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.sleep-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.sleep-row:last-child {
  border-bottom: 1px solid var(--line);
}

.sleep-row h3 {
  margin: 0 0 3px;
  font-size: 17px;
}

.sleep-row p {
  margin: 0;
  color: var(--muted);
}

.sleep-icon,
.amenity-group,
.booking-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sleep-icon {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 28px;
  border: 2px solid var(--accent);
  border-top: 0;
  border-radius: 4px;
  position: relative;
}

.sleep-icon::before,
.sleep-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
}

.bed-icon::before,
.twin-icon::before,
.sofa-icon::before {
  left: 0;
  right: 0;
  top: -7px;
  height: 2px;
}

.twin-icon::after {
  top: -7px;
  bottom: 0;
  left: 50%;
  width: 2px;
}

.sofa-icon {
  border-radius: 10px 10px 4px 4px;
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
  margin-top: 24px;
}

.listing-house .spaces-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-garden .spaces-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.space-card {
  min-width: 0;
}

.space-photo {
  width: 100%;
  height: 176px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #eeeeee;
  cursor: pointer;
}

.space-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.space-photo:hover img {
  transform: scale(1.055);
  filter: saturate(1.04);
}

.space-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.space-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.45;
}

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

.amenities-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-bottom: 22px;
}

.amenity-line {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 38px;
  color: #302d29;
  font-size: 17px;
}

.amenity-line img,
.amenity-row img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  color: var(--ink);
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.amenity-group {
  position: relative;
  padding: 22px;
}

.amenity-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f2f7f8 100%);
  color: transparent;
  font-size: 0;
  position: relative;
}

.amenity-icon::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid var(--accent);
  border-top: 0;
  border-radius: 3px;
}

.amenity-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  left: 10px;
  top: 10px;
  background: var(--accent);
  border-radius: 999px;
}

.amenity-group h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.amenity-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4d4842;
}

.amenity-group li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
}

.amenity-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

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

.rules-grid > div {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rules-grid p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.booking-card {
  position: sticky;
  top: 96px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.booking-card h2 {
  margin-bottom: 10px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.booking-card p {
  color: var(--muted);
}

.primary-btn {
  width: 100%;
  margin: 8px 0 22px;
  padding: 15px 18px;
  background: #476d83;
  color: var(--surface);
  font-size: 18px;
}

.booking-card dl {
  margin: 0;
}

.booking-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.booking-card dt {
  color: var(--muted);
}

.booking-card dd {
  margin: 0;
  font-weight: 800;
}

.contact-section {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbfc 100%);
}

.host-photo {
  width: 120px;
  height: 120px;
  flex: 0 0 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.contact-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.contact-section h2 {
  margin-bottom: 10px;
}

.contact-section p:last-child {
  margin-bottom: 0;
}

.contact-btn {
  width: auto;
  min-width: 210px;
  margin: 0;
}

.contact-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

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

.section-head h2 {
  margin-bottom: 8px;
}

.section-head p {
  margin: 0;
}

.call-link {
  padding: 12px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.external-calendar {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  overflow-x: auto;
}

.calendar-loading {
  min-height: 120px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.external-calendar table {
  max-width: 100%;
}

.video-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #111111;
  box-shadow: var(--shadow);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-hero {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.36)),
    url("https://magdalinihouse.gr/assets/images/magdalini-house/31-magdalini-house.jpg") center/cover no-repeat;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  padding: 84px 0 76px;
}

.contact-hero .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.contact-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
}

.contact-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: stretch;
}

.contact-host-card,
.contact-details-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
}

.contact-host-card {
  text-align: center;
}

.contact-host-card img {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.contact-host-card h2,
.contact-details-card h2 {
  margin-bottom: 12px;
}

.big-contact-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.big-contact-list a {
  display: block;
  color: var(--accent-dark);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.message-actions .contact-btn {
  min-width: 180px;
}

.map-embed {
  overflow: hidden;
  width: 100%;
  height: 430px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #eeeeee;
  box-shadow: var(--shadow);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.month-btn {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 800;
}

.calendar-legend {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.available-dot,
.booked-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.available-dot {
  background: var(--available);
  border: 1px solid #bdd3bd;
}

.booked-dot {
  background: var(--booked);
  border: 1px solid #ddb0b0;
}

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

.month-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.month-card h3 {
  margin-bottom: 14px;
  font-size: 20px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.day-name,
.day-cell {
  display: grid;
  min-height: 34px;
  place-items: center;
  border-radius: 10px;
  font-size: 13px;
}

.day-name {
  color: var(--muted);
  font-weight: 800;
}

.day-cell {
  background: var(--available);
  border: 1px solid #c5d9c5;
}

.day-cell.is-empty {
  background: transparent;
  border-color: transparent;
}

.day-cell.is-booked {
  background: var(--booked);
  border-color: #deb6b6;
  color: #6e2e2e;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.amenities-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
}

.amenities-modal.is-open {
  display: block;
}

.amenities-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(780px, calc(100% - 36px));
  max-height: min(860px, calc(100vh - 42px));
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 30px 34px 34px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.amenities-close {
  width: 38px;
  height: 38px;
  margin: 0 0 18px;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: var(--ink);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.amenities-panel h2 {
  margin-bottom: 22px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.amenities-full-list section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.amenities-full-list h3 {
  margin-bottom: 14px;
  font-size: 20px;
}

.amenity-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  color: #302d29;
  font-size: 17px;
}

.gallery-modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.78);
}

.modal-panel {
  position: absolute;
  inset: 24px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 22px;
  background: #11100f;
  color: var(--surface);
  overflow: hidden;
}

.modal-close {
  justify-self: end;
  margin: 14px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.13);
  color: var(--surface);
  cursor: pointer;
  font-weight: 800;
}

.modal-panel figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  margin: 0;
  padding: 0 70px 14px;
}

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

.modal-panel figcaption {
  margin-top: 10px;
  text-align: center;
  color: rgba(255,255,255,0.76);
  font-weight: 750;
}

.modal-arrow {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  cursor: pointer;
}

.modal-arrow::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.modal-prev {
  left: 18px;
}

.modal-prev::before {
  transform: rotate(-45deg);
}

.modal-next {
  right: 18px;
}

.modal-next::before {
  transform: rotate(135deg);
}

.thumb-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px 16px;
  background: rgba(255,255,255,0.06);
}

.thumb-strip button {
  flex: 0 0 82px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.thumb-strip button.is-active {
  border-color: var(--surface);
}

.thumb-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #f8f8f8;
  color: var(--ink);
}

.footer-inner {
  display: grid;
  gap: 8px;
  max-width: 1180px;
  text-align: center;
  justify-items: center;
}

.footer-logo {
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.footer-inner strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: nowrap;
    position: sticky;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    z-index: 30;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 13px 12px;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: var(--surface-soft);
  }

  .mobile-phone-link {
    display: block;
    margin-top: 6px;
    background: #476d83;
    color: #ffffff;
    font-weight: 850;
  }

  .mobile-phone-link:hover {
    background: #476d83;
    color: #ffffff;
  }

  .title-row,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-slider {
    min-height: 580px;
  }

  .property-grid,
  .home-cta {
    grid-template-columns: 1fr;
  }

  .home-cta {
    align-items: start;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 180px 180px;
  }

  .photo-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .content-grid {
    display: block;
  }

  .booking-card {
    position: static;
  }

  .spaces-grid,
  .amenities-grid,
  .calendar-wrap {
    grid-template-columns: 1fr;
  }

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

  .listing-house .spaces-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .listing-garden .spaces-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .overview-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .listing-house .spaces-grid,
  .listing-garden .spaces-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    padding: 12px 14px;
  }

  .phone-pill {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }

  .listing-hero {
    padding-top: 34px;
  }

  .home-hero {
    padding-top: 20px;
  }

  .home-slider {
    min-height: 620px;
  }

  .home-hero-content {
    left: 22px;
    right: 22px;
    bottom: 58px;
  }

  .home-hero-content p {
    font-size: 17px;
  }

  .home-actions,
  .home-actions .primary-btn,
  .home-actions .soft-action,
  .property-actions,
  .property-actions .primary-btn,
  .property-actions .outline-btn {
    width: 100%;
  }

  .home-slider-btn {
    display: none;
  }

  .home-slider-dots {
    left: 22px;
  }

  .property-card img {
    height: 245px;
  }

  .beach-band {
    min-height: 430px;
  }

  .home-cta {
    padding: 28px 22px;
  }

  .contact-hero {
    min-height: 410px;
  }

  .contact-hero-inner {
    padding: 64px 0 54px;
  }

  .message-actions,
  .message-actions .contact-btn,
  .message-actions .outline-btn {
    width: 100%;
  }

  .map-embed {
    height: 340px;
  }

  .photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 132px 132px;
    gap: 8px;
    border-radius: 18px;
    background: var(--line);
    box-shadow: var(--shadow);
  }

  .photo-tile,
  .photo-main {
    height: auto;
    border-radius: 18px;
  }

  .photo-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .show-all {
    display: inline-flex;
    right: 12px;
    bottom: 12px;
    padding: 9px 12px;
    font-size: 13px;
  }

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

  .calendar-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-legend {
    justify-content: center;
  }

  .modal-panel {
    inset: 0;
    border-radius: 0;
  }

  .modal-panel figure {
    padding: 0 14px 12px;
  }

  .modal-arrow {
    top: auto;
    bottom: 88px;
  }

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

  .spaces-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .listing-house .spaces-grid,
  .listing-garden .spaces-grid {
    grid-template-columns: 1fr;
  }

  .space-photo {
    height: 205px;
  }

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

  .amenities-panel {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    padding: 22px;
  }

  .contact-section,
  .contact-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-btn,
  .email-link {
    width: 100%;
  }

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