/* Villa Xamerli homepage additions — intentionally isolated from site-wide styles. */
.vx-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(760px, calc(100svh - 76px));
  min-height: max(600px, min(760px, calc(100svh - 76px)));
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #596d70 url("/images/villa/pool1.jpg") center 54% / cover no-repeat;
}

.vx-hero-slide {
  z-index: -2;
  background-repeat: no-repeat;
}

.vx-hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgb(18 34 37 / 20%), rgb(18 34 37 / 35%));
}

.vx-hero-stage {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 30px 20px 62px;
  text-align: center;
}

.vx-hero-content {
  box-sizing: border-box;
  display: flex;
  width: min(100%, 560px);
  flex-direction: column;
  align-items: center;
  padding: 20px clamp(24px, 4vw, 42px) 22px;
  color: #344448;
  background: rgb(250 248 242 / 91%);
  box-shadow: 0 18px 60px rgb(21 34 35 / 15%);
  backdrop-filter: blur(3px);
}

.vx-hero-logo {
  display: block;
  width: auto;
  height: clamp(48px, 5vw, 62px);
  max-width: min(68vw, 230px);
  object-fit: contain;
  margin: 0 auto 10px;
}

.vx-hero-heading {
  max-width: 28ch;
  margin: 0;
  color: #38494b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 2.1vw, 28px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.vx-hero-subtitle {
  max-width: 54ch;
  margin: 10px 0 16px;
  color: #566365;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.55;
}

.vx-hero-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 1px solid #a8874e;
  color: #fff;
  background: #a8874e;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.vx-hero-cta:hover,
.vx-hero-cta:focus-visible {
  border-color: #82683d;
  color: #fff;
  background: #82683d;
}

.vx-hero-cta:focus-visible,
.vx-hero-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.vx-hero-dots {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 24px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 11px;
}

.vx-hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 90%);
  border-radius: 50%;
  background: rgb(255 255 255 / 58%);
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease;
}

.vx-hero-dot:hover {
  transform: scale(1.15);
}

.vx-hero-dot.bg-opacity-100 {
  background: #fff;
}

.vx-introduction {
  padding: clamp(62px, 9vw, 112px) 24px clamp(68px, 10vw, 124px);
  color: #38494b;
  background: #f5f3ed;
}

.vx-introduction-inner {
  display: grid;
  width: min(100%, 1080px);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: center;
  margin: 0 auto;
}

.vx-introduction-header {
  max-width: 580px;
}

.vx-introduction-kicker {
  display: block;
  margin-bottom: 17px;
  color: #a8874e;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.vx-introduction-title {
  margin: 0;
  color: #38494b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.vx-introduction-rule {
  display: block;
  width: 54px;
  height: 1px;
  margin: 23px 0 20px;
  background: #b49662;
}

.vx-introduction-copy {
  max-width: 58ch;
  margin: 0;
  color: #626e6d;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  line-height: 1.9;
}

.vx-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d9d6cc;
  list-style: none;
}

.vx-feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: baseline;
  padding: 14px 0 13px;
  border-bottom: 1px solid #d9d6cc;
}

.vx-feature-index {
  color: #aa8b55;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.vx-feature-text {
  color: #455657;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.87rem, 1.2vw, 0.95rem);
  font-weight: 500;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .vx-hero {
    min-height: max(580px, calc(100svh - 66px));
    background-position: 56% center;
  }

  .vx-hero-stage {
    padding: 24px 7vw 62px;
  }

  .vx-hero-content {
    width: min(100%, 380px);
    padding: 16px 20px 18px;
  }

  .vx-hero-logo {
    height: clamp(42px, 12vw, 50px);
    max-width: min(66vw, 190px);
    margin-bottom: 8px;
  }

  .vx-hero-heading {
    max-width: 25ch;
    font-size: clamp(21px, 5.7vw, 23px);
    line-height: 1.18;
  }

  .vx-hero-subtitle {
    margin: 9px 0 14px;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .vx-introduction {
    padding: 60px 22px 72px;
  }

  .vx-introduction-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vx-hero-cta,
  .vx-hero-dot {
    transition: none;
  }
}
