@font-face {
  font-family: Poppins;
  src: url("../media/fonts/poppins-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Proza Libre";
  src: url("../media/fonts/proza-libre-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../media/fonts/dm-sans-400-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "PT Serif";
  src: url("../media/fonts/pt-serif-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("../media/fonts/poppins-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("../media/fonts/poppins-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  --gold: #e4a853;
  --gold-dark: #dd9127;
  --ink: #000;
  --muted: #686868;
  --cream: #f3f1eb;
  --night: #333239;
  --white: #fff;
  --content: 1290px;
  --shadow: 0 12px 32px rgba(30, 30, 30, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--muted);
  font:
    400 16px/1.875 Poppins,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open,
body.lightbox-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Proza Libre", Georgia, serif;
  font-weight: 400;
  line-height: 1.22;
}
h1 {
  font-size: 58px;
}
h2 {
  font-size: 42px;
}
h3 {
  font-size: 20px;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 12px;
  top: -80px;
  background: var(--night);
  color: #fff;
  padding: 10px 16px;
}
.skip-link:focus {
  top: 12px;
}
.container {
  width: min(calc(100% - 64px), var(--content));
  margin-inline: auto;
}
.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0 29px;
  text-transform: uppercase;
  transition: 0.25s ease;
}
.button:hover,
.button:focus-visible {
  background: var(--gold-dark);
  transform: translateY(-1px);
}
.button::after {
  content: "\2192";
  margin-left: 10px;
  font-size: 17px;
}
.button-dark {
  background: var(--night);
}
.button-dark:hover,
.button-dark:focus-visible {
  background: #1e1e24;
}
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(100px);
}
.reveal-ready [data-reveal].is-revealed {
  animation: opal-move-up 0.75s ease both;
}
@keyframes opal-move-up {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
:focus-visible {
  outline: 3px solid #2f92bb;
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 50;
  inset: 0 0 auto;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 126px;
  width: min(calc(100% - 64px), 1370px);
  margin: auto;
}
.brand {
  flex: none;
  width: 145px;
}
.brand img {
  width: 145px;
  height: auto;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 34px;
}
.primary-nav > a,
.nav-group > button {
  border: 0;
  background: none;
  color: inherit;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.primary-nav .active {
  color: var(--gold);
}
.nav-group {
  position: relative;
}
.nav-group > button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  letter-spacing: 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-group:hover > button::after,
.nav-group:focus-within > button::after,
.nav-group.open > button::after {
  transform: translateY(2px) rotate(225deg);
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -22px;
  width: 210px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 12px 0;
}
.submenu a {
  display: block;
  padding: 10px 22px;
  font-size: 13px;
}
.submenu a:hover,
.submenu a:focus-visible {
  color: var(--gold);
}
.nav-group:hover .submenu,
.nav-group:focus-within .submenu,
.nav-group.open .submenu {
  display: block;
}
.header-socials {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #fff;
}
.header-socials a {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 17px;
  font-size: 0;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.header-socials a:nth-child(1) {
  background-image: url("../media/icon-facebook.svg");
}
.header-socials a:nth-child(2) {
  background-image: url("../media/icon-instagram.svg");
}
.header-socials a:nth-child(3) {
  background-image: url("../media/icon-whatsapp.svg");
}
.header-socials a:nth-child(4) {
  background-image: url("../media/icon-viber.svg");
}
.header-socials a:hover,
.header-socials a:focus-visible {
  background-color: rgba(255, 255, 255, 0.14);
}
.header-book {
  margin-left: 18px;
  min-width: 155px;
}
.header-book::after {
  content: none;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 45px;
  height: 45px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 27px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: 0.2s;
}
.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-8px) rotate(-45deg);
}

.home-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 840px;
  background: url("../media/images/webp/Heliophos-Aelia-sm-Exports-114.webp")
    center 52% / cover no-repeat;
  color: var(--gold);
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  z-index: 0;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--hero-focus-x, 50%) var(--hero-focus-y, 52%);
  opacity: 0;
  filter: brightness(0.9) saturate(0.96);
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  transition:
    opacity 0.9s ease-in-out,
    filter 0.9s ease-out,
    transform var(--hero-motion-duration, 7000ms) linear;
  will-change: opacity, transform;
}
.hero-slide:nth-child(1) {
  --hero-focus-x: 48%;
  --hero-focus-y: 52%;
  --hero-drift-x: 0.35%;
  --hero-drift-y: -0.4%;
}
.hero-slide:nth-child(2) {
  --hero-focus-x: 64%;
  --hero-focus-y: 50%;
  --hero-drift-x: -1%;
  --hero-drift-y: 0.25%;
}
.hero-slide:nth-child(3),
.hero-slide:nth-child(4) {
  --hero-focus-x: 40%;
  --hero-focus-y: 58%;
  --hero-drift-x: 0.8%;
  --hero-drift-y: -0.35%;
}
.hero-slide.is-active {
  filter: brightness(1) saturate(1);
  transform: translate3d(var(--hero-drift-x, 0), var(--hero-drift-y, 0), 0)
    scale(1.18);
}
.hero-slide.is-placeholder,
.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}
.home-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 15, 0.14),
    rgba(10, 10, 15, 0.03)
  );
}
.home-hero::after {
  z-index: 1;
  background:
    radial-gradient(
      ellipse at center,
      rgba(7, 11, 16, 0.4) 0%,
      rgba(7, 11, 16, 0.2) 42%,
      rgba(7, 11, 16, 0.08) 75%
    ),
    linear-gradient(90deg, rgba(7, 11, 16, 0.18), rgba(7, 11, 16, 0.06));
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 880px);
  padding-inline: clamp(20px, 5vw, 60px);
  text-align: center;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
}
.hero-copy h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(62px, 8vw, 116px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  animation: hero-copy-enter 0.85s 0.2s ease-out both;
}
.hero-copy p {
  margin: 22px 0 0;
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.2;
  animation: hero-copy-enter 0.75s 0.38s ease-out both;
}
@keyframes hero-copy-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.booking-panel {
  position: relative;
  z-index: 3;
  margin: -75px auto 0;
  width: min(calc(100% - 64px), 961px);
  min-height: 151px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px 60px 18px;
}
.booking-form {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 0.42fr 0.42fr 0.42fr;
  gap: 13px 18px;
  align-items: end;
}
.field {
  display: grid;
  gap: 3px;
}
.field label {
  color: #111;
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}
.field input,
.field select {
  width: 100%;
  height: 34px;
  border: 1px solid #d0d0d0;
  background: #f2f2f2;
  color: #747474;
  padding: 0 13px;
  border-radius: 3px;
}
.booking-form .button {
  grid-column: 2/3;
  gap: 10px;
  margin: 0 auto;
  width: 230px;
  min-height: 44px;
  padding-block: 8px;
  white-space: nowrap;
}
.booking-form .button::after {
  content: none;
}
.booking-form .button-icon {
  flex: none;
  width: 16px;
  height: 16px;
}
.booking-note {
  display: none;
  margin: 0;
  text-align: center;
  font-size: 11px;
}

.section {
  padding: 105px 0;
}
.section-white {
  background: #fff;
}
.section-dark {
  background: #3b3b3b;
  color: #eee;
}
.section-heading {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 790px;
}
.section-heading h2 {
  margin: 8px 0 18px;
}
.section-heading p {
  margin: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about-photos img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.about-photos img:last-child {
  margin-top: 52px;
}
.about-copy h2 {
  font-size: 50px;
}
.about-copy p {
  font-size: 16px;
}
.villa-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.villa-card {
  background: #fff;
}
.villa-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}
.villa-card-body {
  padding: 24px 3px;
}
.villa-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.villa-card p {
  font-size: 13px;
}
.text-link {
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}
.text-link::after {
  content: " \2192";
}
.split-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  padding: 150px 30px;
  background: url("../media/images/webp/Heliophos-Aelia-sm-Exports-14.webp")
    center/cover fixed no-repeat;
}
.split-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.split-feature-image {
  position: relative;
  background: url("../media/images/webp/Heliophos-Aelia-sm-Exports-133.webp")
    center/cover;
}
.split-feature-copy {
  position: relative;
  display: grid;
  align-content: center;
  color: #fff;
  padding: 40px max(30px, 7vw);
}
.split-feature-copy h2 {
  color: #fff;
}
.split-feature-copy p {
  max-width: 520px;
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 55px;
}
.amenity:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.amenity:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.amenity:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
}
.amenity:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}
.amenity:nth-child(5) {
  grid-column: 3;
  grid-row: 1;
}
.amenity:nth-child(6) {
  grid-column: 3;
  grid-row: 2;
}
.amenity {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
}
.amenity-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 22px;
}
.amenity h3 {
  margin: 0 0 6px;
}
.home-amenities .amenity h3 {
  font-size: 18px;
  line-height: 21.6px;
}
.amenity p {
  margin: 0;
  font-size: 13px;
}
.home-amenities {
  position: relative;
  overflow: hidden;
  background: url("../media/images/webp/home1_erios03.webp") top left repeat;
  color: #fff;
  height: auto;
  padding: 100px 0;
}
.home-amenities::before {
  content: none;
}
.home-amenities .container {
  position: relative;
}
.home-amenities h2,
.home-amenities h3 {
  color: #fff;
}
.home-amenities .amenity-icon {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 27px;
  font-size: 0;
}
.home-amenities .amenity:nth-child(1) .amenity-icon {
  background-image: url("../media/icon-amenity-pool.svg");
}
.home-amenities .amenity:nth-child(2) .amenity-icon {
  background-image: url("../media/icon-amenity-groups.svg");
}
.home-amenities .amenity:nth-child(3) .amenity-icon {
  background-image: url("../media/icon-amenity-parking.svg");
}
.home-amenities .amenity:nth-child(4) .amenity-icon {
  background-image: url("../media/icon-amenity-washer.svg");
}
.home-amenities .amenity:nth-child(5) .amenity-icon {
  background-image: url("../media/icon-amenity-wifi.svg");
}
.home-amenities .amenity:nth-child(6) .amenity-icon {
  background-image: url("../media/icon-amenity-location.svg");
}
.home-about {
  margin-top: 0;
  padding: 90px 0 80px;
}
.home-about .about-copy {
  max-width: 750px;
  text-align: center;
}
.home-about .about-copy h2 {
  max-width: 570px;
  margin: 0 auto 27px;
  padding: 30px 0 27px;
  background: url("../media/images/webp/H5_images_11.webp") center/contain no-repeat;
  font-size: 50px;
  line-height: 1;
}
.home-villas {
  padding: 0 0 100px;
}
.home-villas .section-heading {
  display: none;
}
.home-villas > .container {
  width: calc(100% - 30px);
  max-width: 1395px;
}
.home-villas .villa-cards {
  gap: 30px;
}
.home-villas .villa-card {
  display: flex;
  flex-direction: column;
}
.home-villas .villa-card img {
  height: 297px;
}
.home-villas .villa-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 40px 0 0;
}
.home-villas .villa-card h3 {
  margin-bottom: 20px;
  font-size: 30px;
  line-height: 30px;
}
.home-villas .villa-card p {
  flex: 1;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 30px;
}
.amenities-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  padding: 100px 30px;
  background: #fff;
}
.amenities-photo {
  min-width: 0;
}
.amenities-photo img {
  width: 100%;
  height: clamp(560px, 48vw, 760px);
  object-fit: cover;
}
.amenities-copy {
  align-self: center;
  max-width: 550px;
  margin: 0;
  padding: 40px 0;
}
.amenities-copy h2 {
  margin-bottom: 22px;
  font-size: 42px;
  line-height: 50px;
}
.testimonials {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 100px 0;
}
.testimonial-heading {
  width: min(calc(100% - 60px), 750px);
  margin: 0 auto;
  text-align: center;
}
.testimonial-heading h2 {
  margin: 0;
  padding: 24px 0 36px;
  background: url("../media/images/webp/H5_images_11.webp") center/contain no-repeat;
}
.testimonial-stage {
  position: relative;
  width: min(calc(100% - 60px), 800px);
  height: max(410px, calc(var(--testimonial-card-height, 350px) + 60px));
  margin: 5px auto 0;
}
.quote-card {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(calc(100% - 70px), 650px);
  height: var(--testimonial-card-height, auto);
  min-height: 350px;
  padding: 44px 80px 38px;
  background: #fff;
  border: 1px solid #dfdfdf;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.07);
  visibility: hidden;
  opacity: 0;
  transform: translateX(calc(-50% + 28px));
  transition: visibility 0s linear 0.5s, transform 0.5s ease, opacity 0.5s ease;
}
.quote-card.active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%);
  transition-delay: 0s;
}
.quote-card.is-previous,
.quote-card.is-next {
  visibility: visible;
  opacity: 0.28;
  pointer-events: none;
  transition-delay: 0s;
}
.quote-card.is-previous {
  transform: translateX(calc(-150% - 30px));
}
.quote-card.is-next {
  transform: translateX(calc(50% + 30px));
}
.quote-card.is-leaving,
.villa-quote.is-leaving {
  z-index: 3;
  visibility: visible;
}
.quote-card.no-transition,
.villa-quote.no-transition {
  transition: none;
}
.stars {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  color: var(--gold);
  letter-spacing: 0.25em;
  font-size: 15px;
}
.quote-card h3 {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 21px 0;
  color: #000;
  font-size: 24px;
}
.quote-card blockquote {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0 15px 15px;
  color: #686868;
  font-size: 24px;
  font-style: normal;
  line-height: 36px;
}
.quote-card cite {
  display: grid;
  color: #000;
  font-size: 14px;
  font-style: normal;
}
.quote-card cite strong {
  font-family: "Proza Libre", Georgia, serif;
  font-size: 18px;
  line-height: 24px;
}
.quote-card cite span {
  color: #bdbdbd;
  font-weight: 700;
  line-height: 24px;
}
.testimonial-guest {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
}
.testimonial-guest img {
  width: 80px;
  height: 80px;
  margin-right: 20px;
  border-radius: 50%;
  object-fit: cover;
}
.slider-controls {
  position: absolute;
  z-index: 3;
  inset: 50% 0 auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}
.slider-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #fff;
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.slider-controls button:hover,
.slider-controls button:focus-visible {
  background: var(--gold);
  color: #fff;
}
.testimonial-rating {
  display: grid;
  justify-items: center;
  margin: 45px auto 0;
}
.testimonial-rating img:first-child {
  margin-bottom: 3px;
}
.testimonial-rating img:nth-child(2) {
  margin-bottom: 6px;
}
.testimonial-rating p {
  margin: 0;
  font-size: 16px;
}
.instagram-strip {
  display: grid;
  grid-template-columns: 17% 83%;
  height: 320px;
  min-height: 320px;
  overflow: hidden;
  background: var(--gold);
}
.instagram-intro {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  color: #fff;
  padding: 34px;
  background: var(--gold);
  transition: background-color 0.25s ease;
}
.instagram-strip:hover .instagram-intro,
.instagram-strip:focus-visible .instagram-intro {
  background: var(--gold-dark);
}
.instagram-intro strong {
  font-family: "Proza Libre", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
}
.instagram-intro small {
  font-size: 14px;
  line-height: 18px;
}
.instagram-mark {
  width: 40px;
  height: 40px;
  margin-bottom: 70px;
  background: url("../media/icon-instagram.svg") center/contain no-repeat;
}
.instagram-marquee {
  min-width: 0;
  overflow: hidden;
}
.instagram-track,
.instagram-set {
  display: flex;
  flex: none;
  height: 320px;
}
.instagram-track {
  width: max-content;
  animation: instagram-marquee 50s linear infinite;
}
.instagram-strip:hover .instagram-track,
.instagram-strip:focus-visible .instagram-track {
  animation-play-state: paused;
}
.instagram-tile {
  position: relative;
  flex: 0 0 320px;
  width: 320px;
  height: 320px;
  overflow: hidden;
}
.instagram-tile::after,
.instagram-tile::before {
  content: "";
  position: absolute;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.instagram-tile::after {
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
}
.instagram-tile::before {
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: url("../media/icon-search.svg") center/contain no-repeat;
  transform: translate(-50%, -50%);
}
.instagram-tile:hover::after,
.instagram-tile:hover::before,
.instagram-strip:focus-visible .instagram-tile:first-child::after,
.instagram-strip:focus-visible .instagram-tile:first-child::before {
  opacity: 1;
}
.instagram-tile img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  transform-origin: bottom right;
  transition: transform 0.6s ease;
}
.instagram-tile:hover img {
  transform: scale(1.2);
}
@keyframes instagram-marquee {
  to {
    transform: translateX(-50%);
  }
}
.group-feature {
  --group-parallax-y: 0px;
  position: relative;
  display: grid;
  align-items: center;
  height: auto;
  min-height: 792px;
  padding: 150px 30px;
  color: #fff;
  overflow: hidden;
}
.group-feature::before {
  content: "";
  position: absolute;
  inset: -150px 0;
  background: url("../media/images/webp/Heliophos-Aelia-sm-Exports-78.webp")
    center/cover no-repeat;
  pointer-events: none;
  transform: translate3d(0, var(--group-parallax-y), 0);
  will-change: transform;
}
.group-feature .container {
  position: relative;
  z-index: 1;
}
.group-feature-copy {
  width: 49%;
  max-width: 630px;
  padding: 66px 70px 70px 83px;
  background: #fff;
  color: var(--muted);
}
.group-feature h2 {
  color: var(--ink);
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.offer-card {
  background: #fff;
  box-shadow: var(--shadow);
  padding-bottom: 28px;
  text-align: center;
}
.offer-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.offer-card h3 {
  margin: 24px 18px 10px;
  font-size: 22px;
}
.offer-card p {
  padding: 0 25px;
}
.offer-highlight {
  display: grid;
  place-items: center;
  background: var(--night) url("../media/images/webp/H5_images_09.webp")
    center/contain no-repeat;
  color: #fff;
}
.offer-highlight h3,
.offer-highlight p {
  color: #fff;
}
.offer-highlight strong {
  display: block;
  color: var(--gold);
  font-size: 34px;
  font-weight: 500;
}

.page-hero {
  position: relative;
  display: grid;
  place-items: center;
  height: 497px;
  min-height: 497px;
  background-position: center top;
  background-size: cover;
  color: #fff;
  text-align: center;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
  margin: 65px 0 16px;
}
.breadcrumbs {
  font-size: 14px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero-aelia {
  background-image: url("../media/images/webp/Heliophos-Aelia-sm-Exports-133.webp");
}
.hero-amalthia {
  background-image: url("../media/images/webp/Heliophos-Villa-Aitheria-ext-17-1.webp");
}
.hero-aitheria {
  background-image: url("../media/images/webp/Heliophos-Villa-Aitheria-ext-17.webp");
}
.page-hero.hero-aelia::after,
.page-hero.hero-amalthia::after,
.page-hero.hero-aitheria::after {
  background: linear-gradient(
    90deg,
    rgba(7, 11, 16, 0.38),
    rgba(7, 11, 16, 0.24)
  );
}
.hero-gallery,
.hero-rent {
  background-image: url("../media/images/webp/Heliophos-Aelia-sm-Exports-133ααα.webp");
}
.hero-contact {
  background-image: url("../media/images/webp/Heliophos-Aelia-sm-Exports-56.webp");
}
.villa-intro {
  width: min(calc(100% - 135px), 1290px);
  max-width: 1290px;
  margin: auto;
  text-align: center;
}
.page-hero + .section:has(.villa-intro) {
  padding: 140px 0 0;
}
.villa-intro > .eyebrow {
  display: none;
}
.villa-intro h2 {
  width: 450px;
  max-width: 100%;
  margin: 0 auto 70px;
  font-size: 50px;
  line-height: 60px;
}
.villa-intro-text {
  text-align: left;
  max-height: none;
  overflow: hidden;
  transition: max-height 0.35s;
}
.villa-intro-text p {
  margin-bottom: 24px;
}
.villa-intro-text p:nth-child(n + 5) {
  display: none;
}
.villa-intro-text::after {
  content: "";
  display: block;
  height: 30px;
}
.hero-aelia + .section:has(.villa-intro) {
  min-height: 772px;
}
.hero-amalthia + .section:has(.villa-intro) {
  min-height: 718px;
}
.hero-aitheria + .section:has(.villa-intro) {
  min-height: 688px;
}
.villa-intro-text.expanded {
  max-height: none;
}
.villa-intro-text.expanded p:nth-child(n) {
  display: block;
}
.villa-intro-text.expanded::after {
  display: none;
}
.read-more {
  width: 100%;
  height: 46px;
  margin-top: 0;
  border: 0;
  background: none;
  color: #444;
  font-size: 12px;
}
.read-more::before {
  content: "\203a";
  color: var(--gold);
  font-size: 18px;
  margin-right: 8px;
}
.villa-amenities {
  position: relative;
  display: flex;
  align-items: center;
  height: 1222px;
  margin-top: 90px;
  padding: 0;
  color: #fff;
  background-position: center;
  background-size: cover;
}
.villa-amenities::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 25, 29, 0.72);
}
.villa-amenities .container {
  position: relative;
}
.villa-amenities .section-heading {
  text-align: left;
}
.villa-amenities .amenity-grid {
  grid-template-columns: repeat(4, 1fr);
}
.villa-amenities .amenity:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}
.villa-amenities .amenity:nth-child(9) {
  display: none;
}
.villa-amenities h2,
.villa-amenities h3 {
  color: #fff;
}
.villa-amenities .amenity h3 {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 700;
}
.villa-amenities .amenity-icon {
  border: 0;
  border-radius: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 32px;
  font-size: 0;
}
.villa-amenities .amenity:nth-child(1) .amenity-icon {
  background-image: url("../media/icon-amenity-pool.svg");
}
.villa-amenities .amenity:nth-child(2) .amenity-icon {
  background-image: url("../media/icon-amenity-parking.svg");
}
.villa-amenities .amenity:nth-child(3) .amenity-icon {
  background-image: url("../media/icon-amenity-coffee.svg");
}
.villa-amenities .amenity:nth-child(4) .amenity-icon {
  background-image: url("../media/icon-amenity-wifi.svg");
}
.villa-amenities .amenity:nth-child(5) .amenity-icon {
  background-image: url("../media/icon-amenity-groups.svg");
}
.villa-amenities .amenity:nth-child(6) .amenity-icon {
  background-image: url("../media/icon-amenity-washer.svg");
}
.villa-amenities .amenity:nth-child(7) .amenity-icon {
  background-image: url("../media/icon-amenity-shopping.svg");
}
.villa-amenities .amenity:nth-child(8) .amenity-icon {
  background-image: url("../media/icon-amenity-location.svg");
}
.villa-amenities .amenity:nth-child(9) .amenity-icon {
  background-image: url("../media/icon-amenity-transfer.svg");
}
.features-aelia {
  background-image: url("../media/images/webp/Heliophos-Aelia-sm-Exports-3685.webp");
}
.features-amalthia {
  background-image: url("../media/images/webp/Untitled-design-1.webp");
}
.features-aitheria {
  background-image: url("../media/images/webp/Untitled-design-2.webp");
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 576px);
  gap: 150px 30px;
}
.villa-amenities + .section {
  padding: 120px 0 0;
}
.story-card {
  text-align: center;
}
.story-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s;
}
.story-card:hover img {
  transform: scale(1.03);
}
.story-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 36px;
  text-shadow: none;
}
.story-card .eyebrow {
  margin: 55px 0 11px;
  font-size: 12px;
  line-height: 22.5px;
}
.villa-testimonials {
  position: relative;
  overflow: hidden;
  height: 667px;
  padding: 125px 0;
  background: var(--cream);
  text-align: center;
}
.villa-testimonials::before {
  content: "Testimonials";
  position: absolute;
  top: 55px;
  left: 50%;
  color: rgba(93, 88, 82, 0.08);
  font-size: clamp(62px, 9vw, 130px);
  line-height: 1;
  transform: translateX(-50%);
}
.villa-quote-stage {
  position: relative;
  width: min(calc(100% - 160px), 1120px);
  min-height: var(--testimonial-card-height, 300px);
  margin: auto;
}
.villa-quote {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  justify-items: center;
  align-content: start;
  width: min(calc(100% - 70px), 760px);
  height: var(--testimonial-card-height, auto);
  min-height: 300px;
  padding: 0 30px 28px;
  border: 1px solid rgba(93, 88, 82, 0.12);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 40px rgba(46, 43, 40, 0.05);
  visibility: hidden;
  opacity: 0;
  transform: translateX(calc(-50% + 40px));
  transition: visibility 0s linear 0.5s, opacity 0.5s ease, transform 0.5s ease;
}
.villa-quote.active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%);
  transition-delay: 0s;
}
.villa-quote.is-previous,
.villa-quote.is-next {
  visibility: visible;
  opacity: 0.62;
  pointer-events: none;
  transition-delay: 0s;
}
.villa-quote.is-previous {
  transform: translateX(calc(-150% - 30px));
}
.villa-quote.is-next {
  transform: translateX(calc(50% + 30px));
}
.villa-quote blockquote {
  max-width: 850px;
  margin: 45px auto 28px;
  color: #333;
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-style: italic;
  line-height: 36px;
}
.villa-quote .stars {
  grid-column: auto;
  grid-row: auto;
  margin-bottom: 14px;
}
.villa-quote img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.villa-quote cite {
  display: grid;
  margin-top: 4px;
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}
.villa-quote cite span {
  color: #aaa;
  font-weight: 400;
}
.villa-quote-controls button {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  background: #333239;
  color: #fff;
  transform: translateY(-50%);
}
.villa-quote-controls [data-villa-quote-prev] {
  left: 0;
}
.villa-quote-controls [data-villa-quote-next] {
  right: 0;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px 30px;
  margin: 0 0 33px;
  padding: 0;
  list-style: none;
}
.gallery-filters button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #222;
  padding: 6px 0;
}
.gallery-filters button.active,
.gallery-filters button:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 3 / 2;
  min-height: 0;
  border: 0;
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.gallery-item[hidden] {
  display: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.gallery-item::after {
  content: "+";
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 36px;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
}
.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 200;
  inset: 0;
  background: rgba(12, 12, 15, 0.95);
  padding: 70px 90px;
}
.lightbox.open {
  display: grid;
  place-items: center;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 52px;
  height: 52px;
  font-size: 28px;
}
.lightbox-close {
  right: 24px;
  top: 20px;
}
.lightbox-prev {
  left: 20px;
  top: 50%;
}
.lightbox-next {
  right: 20px;
  top: 50%;
}
.lightbox-caption {
  position: absolute;
  bottom: 18px;
  color: #fff;
  font-size: 13px;
}

.embed-section {
  padding: 80px 0;
}
.embed-frame {
  width: 100%;
  height: 430px;
  border: 0;
  background: #fff;
  box-shadow: var(--shadow);
}
.embed-fallback {
  text-align: center;
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 18px;
}
.contact-summary {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 44px;
  align-items: start;
  min-height: 317px;
}
.contact-summary h2 {
  font-size: 45px;
}
.contact-block {
  border-left: 1px solid #d9d7d1;
  padding-left: 38px;
}
.contact-block::before {
  content: "";
  display: block;
  width: 31px;
  height: 31px;
  margin-bottom: 11px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 25px;
}
.contact-block:nth-child(2)::before {
  background-image: url("../media/icon-contact-phone.svg");
}
.contact-block:nth-child(3)::before {
  background-image: url("../media/icon-contact-address.svg");
}
.contact-block:nth-child(4)::before {
  background-image: url("../media/icon-contact-email.svg");
}
.gallery-section {
  padding-top: 140px;
  padding-bottom: 150px;
}
main:has(.contact-summary) > .section {
  padding: 140px 0 180px;
}
.contact-block h3 {
  font-size: 11px;
  letter-spacing: 0.33em;
  text-transform: uppercase;
}
.contact-block p {
  margin: 0;
}
.messaging-icons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.messaging-icons img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  margin-top: 100px;
  align-items: stretch;
}
.contact-form {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 18px 30px;
  min-height: 810px;
  background: #fff;
  padding: 68px 75px;
}
.contact-form > div,
.contact-form label,
.contact-form small,
.contact-form .button,
.contact-form .form-status {
  grid-column: 1/-1;
}
.contact-form .eyebrow {
  display: none;
}
.contact-form h3 {
  margin-bottom: 18px;
  font-size: 32px;
  font-weight: 400;
}
.contact-form > div p:last-child {
  margin-bottom: 10px;
}
.contact-form label {
  display: grid;
  gap: 0;
  color: transparent;
  font-size: 0;
}
.contact-form label:nth-of-type(2) {
  grid-column: 1;
}
.contact-form label:nth-of-type(3) {
  grid-column: 2;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d9d7d1;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.8;
  outline-offset: 3px;
}
.newsletter-form input {
  border: 1px solid #ddd;
  background: #f8f8f8;
  padding: 13px;
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form small {
  color: #888;
  font-size: 11px;
  line-height: 1.5;
}
.contact-form .button {
  justify-self: start;
  width: 216px;
  background: var(--gold);
}
.contact-form .button:hover,
.contact-form .button:focus-visible {
  background: var(--gold-dark);
}
.map-frame {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-height: 810px;
  border: 0;
  background: #e4e2de;
}
.contact-layout > .map-frame:only-child {
  grid-column: 1 / -1;
}
.form-status {
  min-height: 24px;
  font-size: 12px;
}

.contact-widget {
  position: fixed;
  z-index: 100;
  left: 25px;
  bottom: 25px;
  width: 54px;
  height: 54px;
}
.contact-widget::before,
.contact-widget::after {
  position: absolute;
  z-index: 4;
  top: 50%;
  pointer-events: none;
}
.contact-widget::before {
  content: "";
  left: 59px;
  border: 5px solid transparent;
  border-right-color: #fff;
  transform: translateY(-50%);
}
.contact-widget::after {
  content: "Contact us";
  left: 69px;
  padding: 5px 15px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #333;
  font-size: 14px;
  line-height: 21px;
  white-space: nowrap;
  transform: translateY(-50%);
}
.contact-widget.has-interacted::before,
.contact-widget.has-interacted::after {
  display: none;
}
.contact-widget-toggle {
  position: relative;
  z-index: 3;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background-color: #86cd91;
  background-image: url("../media/icon-contact.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 54px;
  color: #fff;
  box-shadow: 0 16px 24px rgba(73, 104, 126, 0.16);
  font-size: 0;
  transition: transform 0.5s ease;
}
.contact-widget:not(.open) .contact-widget-toggle {
  animation: contact-widget-waggle 5s infinite;
}
.contact-widget.open .contact-widget-toggle {
  background-image: url("../media/icon-contact-close.svg");
  transform: rotate(180deg);
}
@keyframes contact-widget-waggle {
  0% { transform: none; }
  10% { transform: rotate(-20deg) scale(1.2); }
  13% { transform: rotate(25deg) scale(1.2); }
  15% { transform: rotate(-15deg) scale(1.2); }
  17% { transform: rotate(15deg) scale(1.2); }
  20% { transform: rotate(-12deg) scale(1.2); }
  22% { transform: rotate(0) scale(1.2); }
  24%, 100% { transform: rotate(0) scale(1); }
}
.contact-widget-links {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: -4px;
  width: 62px;
  height: 124px;
  pointer-events: none;
}
.contact-widget.open .contact-widget-links {
  pointer-events: auto;
}
.contact-widget-links a {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 54px;
  height: 54px;
  margin: 4px;
  border-radius: 50%;
  box-shadow: 0 16px 24px rgba(73, 104, 126, 0.16);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.contact-widget.open .contact-widget-links a {
  opacity: 1;
}
.contact-widget.open .contact-widget-links a:nth-child(1) {
  transform: translateY(-124px);
}
.contact-widget.open .contact-widget-links a:nth-child(2) {
  transform: translateY(-62px);
}
.contact-widget-links a::before,
.contact-widget-links a::after {
  position: absolute;
  top: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.contact-widget-links a::before {
  content: "";
  left: 59px;
  border: 5px solid transparent;
  border-right-color: #fff;
  transform: translate(8px, -50%);
}
.contact-widget-links a::after {
  content: attr(aria-label);
  left: 69px;
  padding: 5px 15px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #333;
  font-size: 14px;
  line-height: 21px;
  white-space: nowrap;
  transform: translate(8px, -50%);
}
.contact-widget-links a:hover::before,
.contact-widget-links a:hover::after,
.contact-widget-links a:focus-visible::before,
.contact-widget-links a:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}
.contact-widget-links img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 50%;
}
.back-to-top {
  position: fixed;
  z-index: 70;
  right: 24px;
  bottom: 25px;
  display: none;
  width: 55px;
  height: 55px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 0;
}
.back-to-top::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(225deg);
}
.back-to-top.visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer {
  background: var(--night);
  color: #8e8e93;
  padding: 80px 0 25px;
  min-height: 669px;
}
body:has(.villa-intro) .site-footer,
body:has(.gallery-grid) .site-footer,
body:has(.embed-section) .site-footer {
  min-height: 684px;
}
body:has(.villa-intro) .site-footer {
  margin-top: 1px;
}
.footer-logo {
  width: 130px;
  height: auto;
  margin: 0 auto 45px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1.45fr;
  gap: 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 55px 0;
}
.footer-grid > * {
  min-width: 0;
}
.site-footer h2 {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.footer-nav {
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.footer-nav a:hover {
  color: var(--gold);
}
.footer-contact p {
  margin: 0;
}
.newsletter-form {
  display: flex;
  gap: 20px;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  font-size: 12px;
}
.footer-bottom a {
  color: var(--gold);
}

@media (min-width: 1025px) and (max-width: 1239px) {
  .header-inner {
    gap: 20px;
  }
  .primary-nav {
    gap: 20px;
    margin-left: 0;
  }
  .header-socials {
    gap: 2px;
  }
  .header-book {
    min-width: 140px;
    margin-left: 0;
  }
}
@media (max-width: 1024px) {
  .header-inner {
    height: 100px;
  }
  .header-socials,
  .header-book {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .primary-nav {
    display: none;
    position: fixed;
    inset: 100px 0 0;
    background: var(--night);
    margin: 0;
    padding: 30px;
    overflow: auto;
    align-items: stretch;
  }
  .primary-nav.open {
    display: flex;
    flex-direction: column;
  }
  .primary-nav > a,
  .nav-group > button {
    text-align: left;
    width: 100%;
    font-size: 16px;
  }
  .nav-group > button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }
  .primary-nav .nav-group > button::after {
    flex: none;
    margin: -4px 0 0;
    transform: rotate(45deg);
  }
  .primary-nav .nav-group.open > button::after {
    transform: rotate(225deg);
  }
  .submenu {
    position: static;
    width: auto;
    background: transparent;
    color: #fff;
    box-shadow: none;
    padding-left: 14px;
  }
  .nav-group:not(.open) .submenu {
    display: none;
  }
  .home-hero {
    height: calc(100vw * 840 / 778);
    min-height: calc(100vw * 840 / 778);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .villa-cards {
    grid-template-columns: 1fr 1fr;
  }
  .amenity-grid {
    grid-template-columns: 1fr 1fr;
  }
  .villa-amenities .amenity-grid {
    grid-template-columns: 1fr 1fr;
  }
  .amenity:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-summary {
    grid-template-columns: 1fr 1fr;
  }
  .contact-block {
    border: 0;
    padding: 0;
  }
  .footer-grid {
    gap: 40px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .group-feature-copy {
    width: min(72%, 630px);
  }
  .instagram-strip {
    position: relative;
    grid-template-columns: 1fr;
  }
  .instagram-intro {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: 40px auto;
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    justify-content: start;
    min-height: 88px;
    padding: 16px 28px;
    column-gap: 16px;
    text-align: left;
  }
  .instagram-mark {
    grid-column: 1;
    grid-row: 1 / 3;
    margin-bottom: 0;
  }
  .instagram-intro strong {
    grid-column: 2;
    grid-row: 1;
  }
  .instagram-intro small {
    grid-column: 2;
    grid-row: 2;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .booking-panel {
    width: min(calc(100% - 40px), 961px);
    min-height: 0;
    padding: 24px 32px 28px;
  }
  .booking-form {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px 16px;
  }
  .booking-form .field:nth-child(1) {
    grid-column: 1 / 4;
  }
  .booking-form .field:nth-child(2) {
    grid-column: 4 / 7;
  }
  .booking-form .field:nth-child(3) {
    grid-column: 1 / 3;
  }
  .booking-form .field:nth-child(4) {
    grid-column: 3 / 5;
  }
  .booking-form .field:nth-child(5) {
    grid-column: 5 / 7;
  }
  .booking-form .button {
    grid-column: 3 / 5;
  }
}
@media (max-width: 767px) {
  body {
    font-size: clamp(15px, 4.1vw, 16px);
    line-height: 1.75;
  }
  .container {
    width: min(calc(100% - 40px), var(--content));
  }
  .header-inner {
    width: calc(100% - 34px);
  }
  .brand,
  .brand img {
    width: 125px;
  }
  .home-hero {
    height: calc(100vw * 840 / 778);
    min-height: calc(100vw * 840 / 778);
    background-position: center;
  }
  .hero-slide {
    object-position: var(--hero-focus-x, 50%) var(--hero-focus-y, 52%);
  }
  .hero-copy {
    width: min(calc(100% - 24px), 520px);
    text-align: left;
    padding-inline: clamp(20px, 8vw, 60px);
  }
  .hero-copy h1 {
    font-size: clamp(48px, 16vw, 62px);
  }
  .hero-copy p {
    max-width: 17em;
    margin-top: 20px;
    font-size: clamp(18px, 5.5vw, 24px);
    line-height: 1.3;
  }
  .booking-panel {
    margin: 0;
    height: auto;
    min-height: 0;
    width: 100%;
    box-shadow: none;
    padding: 28px 20px 36px;
  }
  .booking-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .booking-form .button {
    grid-column: auto;
    margin-top: 10px;
  }
  .field label {
    text-align: center;
    font-size: 16px;
  }
  .field input,
  .field select {
    height: 42px;
  }
  .section {
    padding: 64px 0;
  }
  h1 {
    font-size: clamp(36px, 10.75vw, 42px);
  }
  h2 {
    font-size: clamp(28px, 8.2vw, 32px);
  }
  h3 {
    font-size: 19px;
  }
  .about-grid {
    gap: 35px;
  }
  .about-photos img {
    height: 260px;
  }
  .about-copy h2 {
    font-size: 32px;
  }
  .villa-cards,
  .amenity-grid,
  .story-grid,
  .offer-grid,
  .contact-summary,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .amenity:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }
  .villa-amenities .amenity-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .amenity {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }
  .split-feature {
    grid-template-columns: 1fr;
    gap: 24px;
    height: auto;
    min-height: 0;
    padding: 48px 20px;
    background-attachment: scroll;
  }
  .split-feature-image {
    grid-row: 2;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
  .split-feature-copy {
    padding: 32px 24px;
  }
  .home-about {
    margin-top: 0;
    padding: 64px 0;
  }
  .home-about .about-copy h2 {
    padding: 0;
    background-size: 0;
    font-size: 32px;
    line-height: 1.2;
  }
  .amenities-intro {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 48px 20px;
  }
  .amenities-photo {
    margin-top: 0;
  }
  .amenities-photo img {
    height: min(105vw, 460px);
    object-position: center 42%;
  }
  .amenities-copy {
    margin: 0;
    max-width: none;
    padding: 40px 0 0;
    text-align: center;
  }
  .amenities-copy h2 {
    font-size: 32px;
    line-height: 1.2;
  }
  .home-amenities {
    height: auto;
    padding: 64px 0;
  }
  .testimonials {
    padding: 64px 0;
  }
  .testimonial-heading h2 {
    padding: 18px 0 30px;
    background-size: 0;
  }
  .testimonial-stage {
    width: calc(100% - 30px);
    height: max(470px, calc(var(--testimonial-card-height, 420px) + 50px));
    margin-top: 0;
  }
  .quote-card {
    min-height: 420px;
    padding: 30px 15px;
    opacity: 0;
  }
  .quote-card.active {
    opacity: 1;
  }
  .quote-card h3 {
    margin-top: 20px;
  }
  .quote-card blockquote {
    margin-inline: 0;
    font-size: 20px;
    line-height: 30px;
  }
  .testimonial-guest img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
  }
  .testimonial-rating {
    margin: 30px auto 0;
  }
  .slider-controls {
    inset: auto 50% 0 auto;
    gap: 14px;
    justify-content: center;
    transform: translateX(50%);
  }
  .group-feature {
    height: auto;
    min-height: 0;
    padding: 48px 16px;
  }
  .group-feature::before {
    inset-block: -85px;
    background-position: 65% center;
  }
  .group-feature-copy {
    width: 100%;
    padding: 32px 20px;
  }
  .instagram-strip {
    --instagram-tile-size: min(50vw, 240px);
    grid-template-columns: 1fr;
    height: var(--instagram-tile-size);
    min-height: 0;
    margin-top: 0;
    padding: 0;
  }
  .instagram-intro {
    grid-template-columns: 32px auto;
    min-height: 68px;
    padding: 10px 20px;
    column-gap: 12px;
  }
  .instagram-mark {
    width: 32px;
    height: 32px;
  }
  .instagram-track,
  .instagram-set,
  .instagram-tile,
  .instagram-tile img {
    height: var(--instagram-tile-size);
  }
  .instagram-tile {
    flex-basis: var(--instagram-tile-size);
    width: var(--instagram-tile-size);
  }
  .instagram-tile img {
    width: 100%;
  }
  .page-hero {
    height: 300px;
    min-height: 300px;
  }
  .page-hero h1 {
    font-size: clamp(36px, 10.75vw, 42px);
  }
  .page-hero + .section:has(.villa-intro) {
    min-height: 0;
    padding: 56px 16px 64px;
  }
  .villa-intro {
    width: 100%;
  }
  .villa-intro h2 {
    margin-bottom: 30px;
    font-size: clamp(28px, 8.2vw, 32px);
    line-height: 1.2;
    white-space: normal;
  }
  .villa-intro h2 br {
    display: inline-block;
    width: 0.25em;
    content: "";
  }
  .villa-intro-text {
    max-height: none;
  }
  .villa-amenities {
    height: auto;
    min-height: 0;
    margin-top: 0;
    padding: 64px 0;
  }
  .villa-amenities .section-heading {
    text-align: center;
  }
  .story-card img {
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .villa-amenities + .section {
    height: auto;
    margin-top: 0;
    padding: 64px 16px;
  }
  .story-grid {
    grid-template-rows: none;
    gap: 48px;
  }
  .story-card .eyebrow {
    margin-top: 35px;
  }
  .villa-testimonials {
    height: auto;
    min-height: 0;
    padding: 60px 15px;
  }
  .villa-quote-stage {
    width: 100%;
    min-height: 390px;
  }
  .villa-quote blockquote {
    margin: 35px 15px 25px;
    font-size: 20px;
    line-height: 30px;
  }
  .villa-quote {
    width: min(calc(100% - 20px), 760px);
    padding-inline: 15px;
  }
  .villa-quote-controls button {
    width: 42px;
    height: 42px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .gallery-filters {
    min-height: 0;
    gap: 8px 16px;
    margin-bottom: 32px;
  }
  .gallery-filters button {
    min-height: 44px;
    padding: 8px;
    font-size: 11px;
    letter-spacing: 0.2em;
  }
  .gallery-section {
    margin: 0;
    padding: 56px 16px 64px;
  }
  .gallery-section .container {
    width: 100%;
    max-width: 100%;
  }
  .lightbox {
    padding: 55px 12px;
  }
  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 18px;
  }
  .embed-section {
    padding: 50px 0;
  }
  .embed-frame {
    height: 160px;
    min-height: 160px;
  }
  .contact-summary {
    height: auto;
    min-height: 0;
    gap: 36px;
    text-align: center;
  }
  .contact-summary h2 {
    font-size: 32px;
  }
  .contact-summary > section:first-child {
    margin-bottom: 0;
  }
  .contact-block {
    border-left: 0;
    padding-left: 0;
    margin-bottom: 0;
  }
  .contact-block::before {
    margin-right: auto;
    margin-left: auto;
  }
  .messaging-icons {
    justify-content: center;
  }
  .contact-layout {
    gap: 0;
    margin-top: 64px;
    min-height: 0;
  }
  .contact-form {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 1fr;
    height: 798px;
    min-height: 798px;
    padding: 30px;
    text-align: center;
  }
  .contact-form label:nth-of-type(2),
  .contact-form label:nth-of-type(3) {
    grid-column: 1;
  }
  .map-frame {
    grid-column: 1;
    grid-row: 2;
    height: 800px;
    min-height: 800px;
  }
  .contact-layout > .map-frame:only-child {
    grid-row: 1;
  }
  .contact-layout:has(> .map-frame:only-child) {
    min-height: 800px;
  }
  main:has(.contact-summary) > .section {
    padding: 56px 0 64px;
  }
  .home-villas {
    padding-bottom: 60px;
  }
  .home-villas .villa-cards {
    gap: 40px;
  }
  .home-villas .villa-card img {
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .site-footer {
    min-height: 0;
    padding: 48px 0 24px;
  }
  body:has(.gallery-grid) .site-footer,
  body:has(.embed-section) .site-footer {
    min-height: 0;
  }
  body:has(.villa-intro) .site-footer {
    min-height: 0;
  }
  body:has(.instagram-strip) .site-footer {
    margin-top: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 0;
  }
  .footer-contact,
  .footer-grid > section:last-child {
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .contact-widget {
    left: 25px;
    bottom: 25px;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
  .quote-card {
    padding: 28px 22px;
  }
}
@media (min-width: 1025px) and (max-width: 1239px) {
  .home-hero {
    height: calc(100vw * 840 / 1240);
    min-height: calc(100vw * 840 / 1240);
  }
}
@media (min-width: 779px) and (max-width: 1024px) {
  .home-hero {
    height: calc(100vw * 840 / 1024);
    min-height: calc(100vw * 840 / 1024);
  }
}
@media (max-width: 480px) {
  .home-hero {
    height: 150vw;
    min-height: 150vw;
  }
}
@media (max-width: 360px) {
  .villa-intro h2 {
    white-space: normal;
  }
  .villa-intro h2 br {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero-slide {
    filter: none;
    transform: none;
  }
  .group-feature::before {
    transform: none;
    will-change: auto;
  }
  .instagram-track {
    animation: none;
  }
}
