:root {
  --color-text: #1e2328;
  --color-muted: #5d6a73;
  --color-border: #e4e8ec;
  --color-surface: #f7f8fa;
  --color-accent: #1b4b5a;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1100px;
  --radius: 12px;
  --shadow-soft: 0 12px 30px rgba(20, 29, 36, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
  line-height: 1.6;
}

body.lightbox-open {
  overflow: hidden;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.1rem;
  color: var(--color-muted);
  margin: 0 0 12px;
}

.eyebrow-with-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  height: 85px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.dropdown-toggle {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.dropdown {
  position: relative;
}

.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 12px;
  margin-top: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--color-text);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--color-surface);
}

.dropdown:focus-within .dropdown-menu,
.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 90px;
}

.villa-story main {
  max-width: 100%;
  padding: 0;
}

.photo-story {
  display: flex;
  flex-direction: column;
}

.villa-page-header {
  padding: 22px 6vw 18px;
  background: #ffffff;
}

.villa-page-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.villa-page-header h2 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.title-mark--header {
  width: 36px;
  height: auto;
}

.villa-details {
  padding: 60px 6vw 40px;
  background: #ffffff;
}

.villa-details__header {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.villa-details__header h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.villa-details__header p {
  margin: 0;
  color: var(--color-muted);
}

.villa-details__summary {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.villa-details__facts {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.villa-details__fact {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.villa-details__amenities h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.villa-details__amenities ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.villa-details__amenities li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.villa-details__divider {
  height: 1px;
  background: var(--color-border);
  margin: 32px 0;
}

.villa-details__section {
  max-width: var(--max-width);
  margin: 0 auto;
}

.villa-details__section-header {
  margin-bottom: 20px;
}

.villa-details__section-header h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
}

.villa-details__meta {
  margin: 0;
  color: var(--color-muted);
  font-weight: 600;
}

.villa-details__items {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.villa-details__item {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.villa-details__item h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.villa-details__item p {
  margin: 0;
  color: var(--color-muted);
}

.villa-details__chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.villa-details__chips li {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 0.95rem;
}

.calendar-placeholder {
  padding: 60px 6vw 90px;
  background: #ffffff;
}

.calendar-placeholder__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px dashed var(--color-border);
  background: var(--color-surface);
  padding: 48px 24px;
  text-align: center;
}

.calendar-placeholder__inner h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.calendar-placeholder__inner p {
  margin: 0;
  color: var(--color-muted);
}

.reviews-carousel {
  padding: 32px 6vw 90px;
  background: #ffffff;
}

.reviews-carousel__header {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.reviews-carousel__header h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.reviews-carousel__header p {
  margin: 0;
  color: var(--color-muted);
}

.carousel {
  max-width: var(--max-width);
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 10px 18px;
}

.review-card {
  flex: 0 0 min(360px, 82vw);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
}

.review-card--compact {
  cursor: pointer;
}

.review-card p {
  margin: 0 0 16px;
  color: var(--color-text);
  font-size: 1.05rem;
}

.review-card--compact p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
}

.review-rating__score {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.review-rating__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
}

.review-highlights {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.review-card--compact .review-highlights {
  -webkit-line-clamp: 2;
}

.review-author {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 600;
}

.review-meta {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.review-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 14, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
  padding: 32px 16px;
}

.review-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.review-lightbox__frame {
  width: min(92vw, 720px);
  max-height: 80vh;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(12, 16, 20, 0.35);
  overflow: hidden;
}

.review-lightbox__content {
  padding: 28px;
  max-height: 80vh;
  overflow-y: auto;
}

.review-lightbox__content p,
.review-lightbox__content .review-highlights {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.review-lightbox__close,
.review-lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(30, 35, 40, 0.15);
  color: var(--color-text);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
}

.review-lightbox__close {
  top: 20px;
  right: 20px;
}

.review-lightbox__nav--prev {
  left: 16px;
}

.review-lightbox__nav--next {
  right: 16px;
}

body.review-lightbox-open {
  overflow: hidden;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.carousel-button {
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  padding: 10px 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--color-accent);
  color: #ffffff;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 14, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
  padding: 32px 16px;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__frame {
  margin: 0;
  display: grid;
  gap: 12px;
  max-width: min(92vw, 1100px);
}

.lightbox__image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  background: #0d0f12;
}


.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox__close {
  top: 20px;
  right: 20px;
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

.photo-story > section {
  margin: 0;
}

.photo-story > * {
  position: relative;
  z-index: 0;
}

.photo-stack {
  position: relative;
  z-index: 2;
}

.photo-stack .photo-panel {
  margin: 0;
}

.photo-stack .photo-panel {
  height: 86vh;
}

.photo-stack__overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  width: min(80vw, 900px);
  pointer-events: auto;
  z-index: 3;
}

.photo-stack__overlay--bottom {
  top: auto;
  bottom: 0;
  transform: translate(-50%, 50%);
}

.photo-stack__overlay--top {
  top: 0;
  transform: translate(-50%, -50%);
}

.photo-stack__overlay img {
  width: clamp(360px, 32vw, 520px);
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 26px 45px rgba(12, 16, 20, 0.3);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  pointer-events: auto;
  cursor: zoom-in;
}

@media (max-width: 1024px) {
  .photo-stack__overlay {
    width: min(92vw, 720px);
    justify-content: center;
    gap: 16px;
  }

  .photo-stack__overlay img {
    width: clamp(220px, 34vw, 320px);
  }
}

.photo-panel {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

.photo-panel--full {
  height: 86vh;
}

.photo-feature {
  position: relative;
  height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.photo-feature__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-feature__inset {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 6vw 8vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(15, 20, 24, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.photo-feature__inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

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

.lightbox-trigger {
  cursor: zoom-in;
}

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

.hero {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: center;
  padding: 40px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.hero-media {
  min-height: 260px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--color-border);
  background: linear-gradient(140deg, #f7f8fa, #ffffff 55%, #eef2f4);
}

.hero-slider {
  min-height: 260px;
  height: 320px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-surface);
}

.hero-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.media-frame {
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-surface);
}

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

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin: 0 0 12px;
}

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

.section {
  margin-top: 70px;
}

.section-center {
  text-align: center;
}

.section-center .button {
  margin: 0 auto;
}

.section-split {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: center;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.title-with-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.title-with-mark h2 {
  margin: 0;
}

.title-mark {
  width: 27.5px;
  height: auto;
  flex: 0 0 auto;
}

.eyebrow-with-mark .title-mark {
  width: 22.5px;
  height: auto;
}

.eyebrow-with-mark .title-mark--hero {
  width: 45px;
  height: auto;
}


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

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 24px;
}

.card {
  padding: 26px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card--image {
  color: #ffffff;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.card--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 20, 0.25), rgba(12, 16, 20, 0.82));
  transition: opacity 0.3s ease;
}

.card--image > * {
  position: relative;
  z-index: 1;
}

.card--image h3,
.card--image p,
.card--image span {
  color: #ffffff;
}

.card--image p {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.card--image:hover::before,
.card--image:focus-visible::before {
  opacity: 0.3;
}

.card--image:hover,
.card--image:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.villa-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  text-decoration: none;
}

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

.villa-tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(180deg, rgba(12, 16, 20, 0.25), rgba(12, 16, 20, 0.82));
  color: #ffffff;
  transition: opacity 0.3s ease;
}

.villa-tile__overlay h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: var(--font-serif);
}

.villa-tile__overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.villa-tile:hover .villa-tile__overlay,
.villa-tile:focus-visible .villa-tile__overlay {
  opacity: 0.75;
}

.villa-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.villa-card .villa-tile {
  aspect-ratio: 4 / 3;
  min-height: 260px;
}

.villa-card__actions {
  display: flex;
  justify-content: center;
}

.villa-card__actions .button {
  width: 100%;
  max-width: 260px;
}

.card h3 {
  font-family: var(--font-serif);
  margin-top: 0;
  margin-bottom: 10px;
}

.card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 600;
}

.detail-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 24px;
}

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

.detail-list li {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.callout {
  margin-top: 28px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #ffffff;
  display: grid;
  gap: 10px;
}

.callout--image {
  color: #ffffff;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  min-height: 220px;
  align-content: end;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.callout--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 20, 0.25), rgba(12, 16, 20, 0.82));
  transition: opacity 0.3s ease;
}

.callout--image > * {
  position: relative;
  z-index: 1;
}

.callout--image h3,
.callout--image p {
  color: #ffffff;
}

.callout--image p {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.callout--image:hover::before,
.callout--image:focus-visible::before {
  opacity: 0.35;
}

.callout--image:hover,
.callout--image:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 20px;
}

label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

input,
textarea,
select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: 1rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.section-center .button-group {
  justify-content: center;
}

.button.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 24px 40px;
  background: #ffffff;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.footer-logo img {
  height: 57px;
  width: auto;
  display: block;
}

.footer-inner > :first-child {
  justify-self: start;
}

.footer-inner > :nth-child(2) {
  justify-self: center;
  text-align: center;
}

.footer-inner > :last-child {
  justify-self: end;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 720px) {
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .footer-inner > * {
    justify-self: center;
  }

  .footer-actions {
    justify-content: center;
  }

  .footer-logo img {
    height: 68px;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .dropdown-menu {
    right: auto;
    left: 0;
  }

  .brand img {
    height: 84px;
  }

  main {
    padding: 40px 20px 70px;
  }

  .hero {
    padding: 28px;
  }

  .hero {
    text-align: center;
  }

  .hero .eyebrow-with-mark {
    justify-content: center;
  }

  .section-split > div:last-child,
  .section > .title-with-mark {
    text-align: center;
  }

  .section > .title-with-mark {
    justify-content: center;
    width: 100%;
  }

  .section h2 {
    text-align: center;
  }

  .section > .title-with-mark + p {
    text-align: center;
  }

  .hero-slider {
    height: 240px;
  }

  .photo-panel {
    height: 40vh;
  }

  .photo-panel--full {
    height: 60vh;
  }

  .photo-stack .photo-panel {
    height: 60vh;
  }

  .photo-stack__overlay {
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    width: min(92vw, 520px);
  }

  .photo-stack__overlay img {
    width: clamp(140px, 40vw, 240px);
    max-width: none;
  }

  .photo-stack__overlay--top {
    transform: translate(-50%, -50%);
  }

  .photo-stack__overlay--bottom {
    transform: translate(-50%, 50%);
  }

  .photo-feature {
    height: 60vh;
    align-items: flex-end;
  }

  .villa-details__facts {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }

  .villa-details__fact {
    flex: 0 0 calc(50% - 6px);
    text-align: center;
  }

  .villa-details__amenities ul {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: center;
  }

  .villa-details__items {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    justify-items: center;
  }

  .villa-details__item {
    width: 100%;
    max-width: 240px;
  }

  .villa-details__items .villa-details__item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .villa-details__items--even .villa-details__item:last-child {
    grid-column: auto;
    justify-self: stretch;
  }

  .villa-details__section-header {
    text-align: center;
  }

  .villa-details__meta {
    text-align: center;
  }

  .photo-feature__inset {
    grid-template-columns: 1fr;
    margin: 0 6vw 6vh;
  }

  .section {
    margin-top: 48px;
  }

  .villa-details {
    padding: 48px 6vw 70px;
  }

  .calendar-placeholder {
    padding: 48px 6vw 70px;
  }

  .reviews-carousel {
    padding: 48px 6vw 70px;
  }

  .lightbox__image {
    max-height: 70vh;
  }

  .lightbox__nav {
    width: 36px;
    height: 36px;
  }

  .section-split {
    gap: 22px;
  }

  .section-split .media-frame {
    order: 2;
  }

  .section-split > :not(.media-frame) {
    order: 1;
  }

  .card-grid {
    gap: 18px;
  }

  .detail-grid {
    gap: 20px;
  }

  .card {
    min-height: 200px;
  }

  .callout--image {
    min-height: 200px;
  }

  .eyebrow {
    font-size: 0.95rem;
  }
}
