/* Private-preview behavior only; the captured visual system remains authoritative. */
.local-section-anchor { display: block; position: relative; top: -150px; height: 0; }
.header__logo .logo__img.light { filter: invert(1); }
.header__logo { flex: 0 0 auto; width: clamp(220px, 25vw, 380px); }
.header__logo a.logo { width: 100%; }
.header__logo .logo__img { width: 100%; height: auto; }
.header .navigation__item,
.header .navigation__link { visibility: visible !important; }
/* The captured runtime expanded these list items after load; without it their
   zero-height boxes place the original dropdown chevron above the label. */
#global-navbar .navigation__item { height: auto !important; }
#global-navbar:not(.scroll) .header__logo .logo__img.dark { filter: invert(1); }
#global-navbar:not(.scroll) .header .navigation__item,
#global-navbar:not(.scroll) .header .navigation__link { color: #b89b65 !important; }
#global-navbar:not(.scroll) .header__hamburger circle { fill: #b89b65 !important; }
#global-navbar:not(.scroll) .header__hamburger rect,
body[data-local-detail] nav#global-navbar.scroll .header .header__hamburger svg rect { fill: #172b38 !important; }
.opening-title:after { filter: invert(1); }
.site-footer__logo-container img { filter: invert(1); }
/* Scale the approved artwork, not the shield or wordmark proportions. */
#section-f824c838-25d6-4f04-bb9d-43e361868514 .opening-with-search .opening-title::after {
  width: clamp(280px, 48vw, 700px) !important;
  max-width: calc(100vw - 48px);
  height: clamp(150px, 22vw, 300px) !important;
  background-size: 100% auto !important;
}
#section-4a0659c7-4df5-4901-8005-f249df878bc0 .work-with-us .lp-title-group .lp-h2::after {
  width: clamp(280px, 50vw, 720px) !important;
  max-width: 100%;
  background-size: 100% auto !important;
}
.site-footer__logo-container img {
  width: min(400px, 75vw);
  max-width: 100%;
  height: auto;
}
.testimonials-section .avatar img,
.press-carousel-component img { object-fit: contain !important; }
.testimonials-section .sliders-container { align-items: center; }
.testimonials-section .avatar-slider { width: 280px; flex: 0 0 280px; }
.testimonials-section .avatar-slide { display: flex; align-items: center; justify-content: center; }
.testimonials-section .avatar { width: 280px !important; height: 280px !important; background: rgba(255,255,255,.75); }
/* The approved SVG canvas is 324 units wide, but its visible artwork is
   centred at x=133.761. A 267.522-unit window removes the spare right margin
   without changing the artwork. Keep the circular background on the avatar. */
.testimonials-section .avatar img { width: 121.112% !important; max-width: none !important; padding: 0; background: transparent; }
@media (max-width: 767px) {
  .testimonials-section .avatar-slider { width: 220px !important; flex: 0 0 auto; }
  .testimonials-section .avatar { width: 220px !important; height: 220px !important; }
}
.press-carousel-component img { max-height: 80px; opacity: .75 !important; filter: none !important; }
.featured-properties .collection:not(.slick-initialized) {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.featured-properties .collection:not(.slick-initialized) > a.item {
  flex: 0 0 calc((100% - 32px) / 3) !important;
  min-width: 0;
  scroll-snap-align: start;
}
.featured-properties .js-arrows button {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin: 0 5px;
  cursor: pointer;
}
.featured-properties .js-arrows button:hover { background: #b89b65; }
.video-section .full-screen-video-component .video-wrapper.playing video { opacity: 1 !important; }
.jsIGContainer .item-box { display: inline-block; }
.jsIGContainer .item__img { min-height: 280px; background-size: cover; background-position: center; }
.local-about-image { margin: 0 0 clamp(30px, 4vw, 64px); overflow: hidden; }
.local-about-image img {
  display: block;
  width: 100%;
  height: clamp(180px, 18vw, 330px);
  object-fit: cover;
  object-position: center 48%;
  transition: transform .9s cubic-bezier(.645,.045,.355,1);
}
.hoverable-image__text-wrap:hover .local-about-image img { transform: scale(1.025); }
#global-footer .site-footer__subscribe { padding-top: clamp(80px, 9vw, 150px); padding-bottom: clamp(80px, 9vw, 150px); }
#global-footer .footer-subscribe {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
#global-footer .footer-subscribe__title-wrap { width: 100%; max-width: 1120px; }
#global-footer .footer-subscribe__title {
  max-width: 980px;
  margin: 0 auto 26px;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.05;
}
#global-footer .footer-subscribe__sub-title { max-width: 980px; margin: 0 auto; line-height: 1.65; }
#global-footer .footer-subscribe__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(180px, .8fr);
  gap: 16px;
  width: 100% !important;
  max-width: 1040px !important;
  margin-top: 42px;
  text-align: left;
}
#global-footer .footer-subscribe__form > .local-footer-name { grid-column: 1; grid-row: 1; }
#global-footer .footer-subscribe__form > input[type="email"] { grid-column: 2; grid-row: 1; }
#global-footer .footer-subscribe__form > .footer-subscribe__submit { grid-column: 3; grid-row: 1; margin: 0; min-height: 52px; }
#global-footer .footer-subscribe__form > .lp-disclaimer { grid-column: 1 / -1; grid-row: 2; margin-top: 2px; }
#global-footer .footer-subscribe__form .lp-tcr-content { justify-content: flex-start; }
#global-footer .site-footer__socials { display: flex; flex-wrap: wrap; gap: 12px; }
#global-footer .site-footer__socials li { margin: 0; }
#global-footer .site-footer__copy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; }
#global-footer .local-site-credit { color: inherit; font-size: 13px; line-height: 1.6; text-decoration: none; }
#global-footer .local-site-credit span { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
#global-footer .local-site-credit:hover span { border-bottom-color: transparent; }
#global-footer .local-site-credit:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
@media (max-width: 767px) {
  #global-footer .site-footer__copy { padding-bottom: 60px; }
}
/* Preserve the source two-panel translateY transition, including its exit. */
body > .sidemenu:not(.visible) { pointer-events: none; }
body.local-menu-open { overflow: hidden; }
body.local-search-filters-open { overflow: hidden; }
body[data-local-neighborhoods] .video-section__play-button { display: none; }
/* Identity and menu are available immediately, independently of content reveals. */
body[data-local-route-motion]:not(.local-header-ready) #global-navbar .header__logo,
body[data-local-route-motion]:not(.local-header-ready) #global-navbar .header__right .navigation__item {
  opacity: 1;
  transform: none;
}
body[data-local-route-motion] #global-navbar .header__logo,
body[data-local-route-motion] #global-navbar .header__right .navigation__item {
  transition: none;
}
body[data-local-route-motion] #global-navbar .header__right .navigation__item:nth-child(2) { transition-delay: 70ms; }
body[data-local-route-motion] #global-navbar .header__right .navigation__item:nth-child(3) { transition-delay: 140ms; }
body[data-local-route-motion] #global-navbar .header__right .navigation__item:nth-child(4) { transition-delay: 210ms; }
body[data-local-route-motion]:not(.local-page-ready) .local-intro-reveal {
  opacity: 0;
  transform: translateY(28px);
}
.local-intro-reveal {
  transition: opacity .72s ease, transform .9s cubic-bezier(.645,.045,.355,1);
}
.local-intro-reveal + .local-intro-reveal { transition-delay: 120ms; }
.local-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .72s ease var(--local-reveal-delay, 0ms), transform .9s cubic-bezier(.645,.045,.355,1) var(--local-reveal-delay, 0ms);
}
.local-reveal.local-in-view { opacity: 1; transform: none; }
.local-route-leaving > section,
.local-route-leaving #global-navbar .header__logo,
.local-route-leaving #global-navbar .header__right {
  opacity: 0 !important;
  transform: translateY(-14px) !important;
  transition: opacity .48s ease, transform .58s cubic-bezier(.645,.045,.355,1) !important;
}
.local-search-warning,
.local-search-count,
.local-search-empty { max-width: 1400px; margin: 12px auto 20px; color: #172b38; line-height: 1.5; }
.local-search-warning { font-size: 14px; border-left: 2px solid #172b38; padding-left: 16px; }
.local-search-count { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.local-search-empty { padding: 40px 12px; text-align: center; }
.local-search-pending { font-size: 13px; opacity: .65; }
body[data-local-search] .range-slider { padding-top: 28px; }
.local-search-map-placeholder {
  min-height: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(8, 46, 32, .7), rgba(8, 46, 32, .7)), url('company/algarve-hero.webp') center / cover;
}
.local-search-map-placeholder p { margin: 0; font-size: clamp(24px, 3vw, 42px); line-height: 1.3; }
.local-search-map-placeholder small { max-width: 600px; font-size: 15px; line-height: 1.5; }
.properties-grid__item[hidden], .local-search-empty[hidden] { display: none !important; }
#modal-global-contact-us {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(9, 35, 27, .75);
  transition: opacity .42s ease, visibility 0s linear .52s;
}
#modal-global-contact-us.local-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
#modal-global-contact-us .modal-content {
  margin: auto;
  opacity: 0;
  transform: translateY(36px) scale(.985);
  transition: opacity .46s ease, transform .58s cubic-bezier(.645,.045,.355,1);
}
#modal-global-contact-us.local-open .modal-content {
  opacity: 1;
  transform: none;
}
#modal-global-contact-us .close { cursor: pointer; }
body.local-contact-open { overflow: hidden; }
#global-mobile-contact .btn-holder { z-index: 950; }
#global-mobile-contact .btn-holder.visible { bottom: 28px; opacity: 1; }
#global-mobile-contact .pop-up {
  display: block;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(28px) scale(.985);
  transform-origin: left bottom;
  transition: opacity .4s ease, transform .52s cubic-bezier(.645,.045,.355,1), visibility 0s linear .52s;
}
#global-mobile-contact .pop-up.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
#global-mobile-contact .close-btn { cursor: pointer; }
[data-local-preview] input:disabled,
[data-local-preview] textarea:disabled,
[data-local-preview] button:disabled { opacity: .66; cursor: not-allowed; }
body[data-local-detail] #section-a496514c-352a-4549-81e7-3aef0720094a .collection > .item { display: none !important; }
body[data-local-detail] #section-a496514c-352a-4549-81e7-3aef0720094a .collection > .item.local-active { display: block !important; }
body[data-local-detail] #section-a496514c-352a-4549-81e7-3aef0720094a .collection > .item img { width: 100%; height: min(58vw, 760px); object-fit: cover; }
body[data-local-detail] #section-a496514c-352a-4549-81e7-3aef0720094a .arrows button { border: 1px solid white; border-radius: 50%; width: 48px; height: 48px; margin-right: 8px; background: rgba(0,0,0,.2); color: white; cursor: pointer; }
body[data-local-detail] #tabs.local-gallery-modal { display: none !important; }
body[data-local-detail] #tabs.local-gallery-modal.local-open { display: flex !important; position: fixed; inset: 0; z-index: 2000; align-items: center; justify-content: center; background: rgba(0,0,0,.94); }
.local-gallery-image { display: block; max-width: 86vw; max-height: 86vh; object-fit: contain; }
.local-gallery-close,.local-gallery-prev,.local-gallery-next { position: absolute; border: 1px solid white; background: rgba(0,0,0,.25); color: white; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; }
.local-gallery-close { top: 18px; right: 18px; }
.local-gallery-prev { left: 18px; top: 50%; }
.local-gallery-next { right: 18px; top: 50%; }
body[data-local-detail] .header__logo .logo__img.dark,
body[data-local-detail] .header__logo .logo__img.light { filter: none !important; }
body[data-local-detail] .header { background-image: none !important; background-color: #fbf6ed !important; }
body[data-local-detail] #global-navbar .header .navigation__item,
body[data-local-detail] #global-navbar .header .navigation__link { color: #172b38 !important; }
body[data-local-detail] #global-navbar .header__hamburger circle { fill: #b89b65 !important; }
body[data-local-detail] .info__buttons-wrap .lp-btn {
  max-width: min(100%, 560px);
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
body[data-local-detail] #section-665b4829-88e5-4af1-b4f5-446d63d79cc0 .lp-title-group .lp-h2 {
  font-size: clamp(36px, 5vw, 70px) !important;
}
body[data-local-detail] #section-665b4829-88e5-4af1-b4f5-446d63d79cc0 .lp-title-group .lp-h2::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
@media (max-width: 600px) {
  .featured-properties .collection:not(.slick-initialized) > a.item { flex-basis: 100% !important; }
  .header__logo { width: min(190px, 48vw); }
  body[data-local-detail] #section-a496514c-352a-4549-81e7-3aef0720094a .collection { height: auto !important; }
  body[data-local-detail] #section-a496514c-352a-4549-81e7-3aef0720094a .collection > .item img { height: 300px !important; }
  #global-footer .footer-subscribe__form { grid-template-columns: 1fr; gap: 14px; }
  #global-footer .footer-subscribe__form > .local-footer-name,
  #global-footer .footer-subscribe__form > input[type="email"],
  #global-footer .footer-subscribe__form > .footer-subscribe__submit,
  #global-footer .footer-subscribe__form > .lp-disclaimer { grid-column: 1; grid-row: auto; }
}
@media (min-width: 601px) and (max-width: 1199px) {
  .featured-properties .collection:not(.slick-initialized) > a.item { flex-basis: calc((100% - 16px) / 2) !important; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-local-route-motion] #global-navbar .header__logo,
  body[data-local-route-motion] #global-navbar .header__right .navigation__item,
  .local-intro-reveal,
  .local-reveal,
  .local-route-leaving > section,
  .local-route-leaving #global-navbar .header__logo,
  .local-route-leaving #global-navbar .header__right,
  #modal-global-contact-us,
  #modal-global-contact-us .modal-content,
  #global-mobile-contact .pop-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
#section-462c0133-75bb-44f2-bdf1-37422193beff .map-container {
  height: clamp(420px, 48vw, 720px);
  overflow: hidden;
  position: relative;
}

.local-static-map {
  background: #dfe8dc;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.local-static-map__tiles {
  display: grid;
  position: absolute;
}

.local-map-tile {
  display: block;
  height: 257px;
  max-width: none;
  width: 257px;
}

.local-static-map__marker {
  align-items: center;
  background: #b89b65;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .34);
  display: flex;
  height: 42px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  z-index: 10;
}

.local-static-map__marker::after {
  background: #172b38;
  border-radius: 50%;
  content: "";
  height: 12px;
  width: 12px;
}

.local-static-map__credit {
  background: rgba(255, 255, 255, .9);
  bottom: 0;
  color: #172b38;
  font-size: 11px;
  padding: 3px 7px;
  position: absolute;
  right: 0;
  z-index: 3;
}
