.villa-brand-section,
.villa-brand-section * {
  box-sizing: border-box;
}

.villa-brand-section {
  --cream: #fff7ed;
  --cream-light: #fffaf4;
  --green: #2f9f91;
  --green-dark: #1f756d;
  --dark: #1f1f1f;
  --text: #69635d;
  --line: rgba(47, 159, 145, 0.17);
  --soft-shadow: 0 24px 70px rgba(35, 30, 25, 0.1);
  --hard-shadow: 0 32px 90px rgba(26, 24, 22, 0.18);
  width: 100%;
  padding: clamp(42px, 6vw, 96px) 12px;
  direction: rtl;
  font-family: inherit;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 24%, rgba(47, 159, 145, 0.1), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 210, 158, 0.3), transparent 30%),
    linear-gradient(180deg, var(--cream-light), var(--cream));
}

.villa-brand-section__inner {
  direction: ltr;
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  grid-template-areas: "media content";
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
  position: relative;
}

.villa-brand-section__inner::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(rgba(47, 159, 145, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.38;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.villa-brand-section__content {
  direction: rtl;
  grid-area: content;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.villa-brand-section.is-visible .villa-brand-section__content {
  opacity: 1;
  transform: translateY(0);
}

.villa-brand-section--with-video .villa-brand-section__tag {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--green-dark);
  font-size: var(--vbs-fs-tag, 13.5px);
  font-weight: 900;
  letter-spacing: 0.02em;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.villa-brand-section--with-video .villa-brand-section__tag span {
  box-shadow: 0 0 0 5px rgba(47, 159, 145, 0.1);
}

.villa-brand-section__tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--green-dark);
  font-size: var(--vbs-fs-tag, 13.5px);
  font-weight: 900;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.villa-brand-section__tag span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(47, 159, 145, 0.12);
  flex-shrink: 0;
}

.villa-brand-section__title {
  margin: 0;
  color: var(--dark);
  font-size: var(--vbs-fs-title, clamp(31px, 4vw, 58px));
  line-height: 1.32;
  font-weight: 950;
  letter-spacing: -1.7px;
  white-space: pre-line;
}

.villa-brand-section__text {
  margin: 22px 0 0;
  max-width: 690px;
  color: var(--text);
  font-size: var(--vbs-fs-text, clamp(15.5px, 1.2vw, 18px));
  line-height: 2.15;
  font-weight: 500;
  white-space: pre-line;
}

.villa-brand-section__features {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.villa-brand-section__feature {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(47, 159, 145, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(35, 30, 25, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.villa-brand-section__feature:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(47, 159, 145, 0.28);
  box-shadow: 0 20px 48px rgba(35, 30, 25, 0.08);
}

.villa-brand-section__feature i {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47, 159, 145, 0.22), rgba(47, 159, 145, 0.06));
  border: 1px solid rgba(47, 159, 145, 0.18);
  position: relative;
  display: block;
}

.villa-brand-section__feature i::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 6px;
  border-right: 2px solid var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  top: 12px;
  right: 10px;
  transform: rotate(45deg);
}

.villa-brand-section__feature b {
  display: block;
  color: var(--dark);
  font-size: var(--vbs-fs-feature-title, 15.5px);
  line-height: 1.5;
  font-weight: 950;
}

.villa-brand-section__feature span {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: var(--vbs-fs-feature-text, 13.8px);
  line-height: 1.9;
  font-weight: 600;
}

.villa-brand-section__stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.villa-brand-section__stats div {
  min-height: 96px;
  padding: 17px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(47, 159, 145, 0.13);
  box-shadow: 0 14px 34px rgba(35, 30, 25, 0.045);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.villa-brand-section__stats div:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 159, 145, 0.28);
  box-shadow: 0 18px 46px rgba(35, 30, 25, 0.08);
}

.villa-brand-section__stats strong {
  display: block;
  color: var(--green-dark);
  font-size: var(--vbs-fs-stat-value, clamp(25px, 2.4vw, 38px));
  line-height: 1;
  font-weight: 950;
}

.villa-brand-section__stats span {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: var(--vbs-fs-stat-label, 13.5px);
  line-height: 1.7;
  font-weight: 800;
}

.villa-brand-section__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.villa-brand-section__btn {
  min-height: 52px;
  padding: 14px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: var(--vbs-fs-btn, 15px);
  font-weight: 950;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.villa-brand-section__btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: -120%;
  width: 90%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: 0.55s ease;
}

.villa-brand-section__btn:hover::after {
  right: 130%;
}

.villa-brand-section__btn:hover {
  transform: translateY(-3px);
}

.villa-brand-section__btn--primary {
  background: var(--green) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(47, 159, 145, 0.28);
  border: 0 !important;
}

.villa-brand-section__btn--primary:hover {
  background: var(--green-dark) !important;
  color: #fff !important;
  box-shadow: 0 20px 44px rgba(47, 159, 145, 0.33);
}

.villa-brand-section__btn--ghost {
  background: rgba(255, 255, 255, 0.64) !important;
  color: var(--green-dark) !important;
  border: 1px solid rgba(47, 159, 145, 0.22) !important;
}

.villa-brand-section__btn--ghost:hover {
  background: #fff !important;
  box-shadow: 0 16px 34px rgba(35, 30, 25, 0.08);
}

.villa-brand-section__media {
  grid-area: media;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.9s ease 0.12s, transform 0.9s ease 0.12s;
}

.villa-brand-section.is-visible .villa-brand-section__media {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.villa-brand-section__video-card {
  position: relative;
  min-height: var(--vbs-video-min-height, clamp(420px, 46vw, 650px));
  overflow: hidden;
  border-radius: 36px;
  background: #ddd;
  box-shadow: var(--hard-shadow);
  isolation: isolate;
}

.villa-brand-section__video-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 26px;
  z-index: 4;
  pointer-events: none;
}

.villa-brand-section__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.villa-brand-section__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.28) 46%, rgba(0, 0, 0, 0.48) 100%),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.18), transparent 58%);
}

.villa-brand-section__video-center {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(24px, 4vw, 42px);
  text-align: center;
  pointer-events: none;
}

.villa-brand-section__video-center .villa-brand-section__play {
  position: relative;
  top: auto;
  left: auto;
  flex-shrink: 0;
  pointer-events: auto;
  transform: none;
}

.villa-brand-section__video-center .villa-brand-section__video-label {
  position: static;
  right: auto;
  left: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  max-width: min(560px, 92%);
  pointer-events: none;
}

.villa-brand-section__play {
  width: clamp(82px, 7vw, 118px);
  height: clamp(82px, 7vw, 118px);
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.villa-brand-section__play::before,
.villa-brand-section__play::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.68);
  animation: villaBrandPulse 2s infinite;
}

.villa-brand-section__play::after {
  animation-delay: 0.55s;
}

.villa-brand-section__play:hover {
  transform: scale(1.06);
}

.villa-brand-section__video-center .villa-brand-section__play:hover {
  transform: scale(1.06);
}

.villa-brand-section__play span {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid #fff;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
  transform: translate(-50%, -50%);
}

@keyframes villaBrandPulse {
  0% {
    transform: scale(0.88);
    opacity: 0.95;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.villa-brand-section__video-label {
  color: #fff;
  direction: rtl;
}

.villa-brand-section__video-label small {
  display: inline-flex;
  margin-bottom: 0;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: var(--vbs-fs-video-kicker, 12.5px);
  line-height: 1;
  font-weight: 900;
}

.villa-brand-section__video-label strong {
  display: block;
  max-width: 100%;
  color: #fff;
  font-size: var(--vbs-fs-video-title, clamp(23px, 2.3vw, 38px));
  line-height: 1.45;
  font-weight: 950;
  letter-spacing: -1px;
  white-space: pre-line;
  text-align: center;
}

.villa-brand-section__mini-badge {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 5;
  width: min(178px, calc(100% - 52px));
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  direction: rtl;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.13);
}

.villa-brand-section__mini-badge b {
  display: block;
  color: var(--green-dark);
  font-size: var(--vbs-fs-badge-value, 29px);
  line-height: 1;
  font-weight: 950;
}

.villa-brand-section__mini-badge span {
  display: block;
  margin-top: 7px;
  color: #4d4741;
  font-size: var(--vbs-fs-badge-label, 13px);
  line-height: 1.7;
  font-weight: 800;
}

.villa-brand-section__modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 2147483646 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 0 !important;
  pointer-events: none;
}

body > .villa-brand-section__modal,
body > .villa-brand-section__modal.vbs-modal--in-body {
  z-index: 2147483646 !important;
}

.villa-brand-section__modal.is-open {
  display: flex !important;
  pointer-events: auto;
}

.villa-brand-section__modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.villa-brand-section__modal-box {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #000;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.45);
}

.villa-brand-section__player,
.villa-brand-section__player iframe,
.villa-brand-section__player video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 24px;
  overflow: hidden;
}

.villa-brand-section__close {
  position: absolute;
  top: -18px;
  left: -18px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.villa-brand-section[dir="ltr"] .villa-brand-section__content,
.villa-brand-section[dir="ltr"] .villa-brand-section__video-label,
.villa-brand-section[dir="ltr"] .villa-brand-section__mini-badge {
  direction: ltr;
}

html.vbs-modal-lock,
body.vbs-modal-lock {
  overflow: hidden !important;
}

body.vbs-modal-lock header,
body.vbs-modal-lock .elementor-location-header,
body.vbs-modal-lock .elementor-sticky,
body.vbs-modal-lock .elementor-sticky--active {
  z-index: 100 !important;
}

@media (max-width: 980px) {
  .villa-brand-section__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media";
    gap: 34px;
  }

  .villa-brand-section__content {
    max-width: 820px;
    margin-inline: auto;
  }

  .villa-brand-section__video-card {
    min-height: clamp(360px, 68vw, 560px);
  }
}

@media (max-width: 640px) {
  .villa-brand-section {
    padding: 42px 10px;
  }

  .villa-brand-section__title {
    font-size: 28px;
    line-height: 1.45;
  }

  .villa-brand-section__text {
    font-size: 15px;
    line-height: 2;
  }

  .villa-brand-section__stats {
    grid-template-columns: 1fr;
  }

  .villa-brand-section__actions {
    flex-direction: column;
  }

  .villa-brand-section__btn {
    width: 100%;
  }

  .villa-brand-section__video-card {
    min-height: 390px;
    border-radius: 28px;
  }

  .villa-brand-section__video-card::before {
    border-radius: 20px;
  }

  .villa-brand-section__mini-badge {
    display: none;
  }

  .villa-brand-section__video-label strong {
    font-size: 22px;
  }

  .villa-brand-section__close {
    top: -54px;
    left: 0;
  }

  .villa-brand-section__modal-box,
  .villa-brand-section__player,
  .villa-brand-section__player iframe,
  .villa-brand-section__player video {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .villa-brand-section__content,
  .villa-brand-section__media,
  .villa-brand-section__feature,
  .villa-brand-section__btn,
  .villa-brand-section__play::before,
  .villa-brand-section__play::after {
    transition: none !important;
    animation: none !important;
  }
}
