
/*
Theme Name: RJ Theme
Template: waw-theme
Description: Child theme for RJ with Team custom post type
Author: RJ
Version: 1.0.1
*/

/* ========================================
   FONT IMPORTS
   ======================================== */

@font-face {
	font-family: 'Calibre';
	src: url('assets/fonts/Calibre-Thin.otf') format('opentype');
	font-weight: 100;
	font-style: normal;
  font-display: swap;
}

@font-face {
	font-family: 'Calibre';
	src: url('assets/fonts/Calibre-Light.otf') format('opentype');
	font-weight: 200;
	font-style: normal;
  font-display: swap;
}

@font-face {
	font-family: 'Calibre';
	src: url('assets/fonts/Calibre-Regular.otf') format('opentype');
	font-weight: 300;
	font-style: normal;
  font-display: swap;
}

@font-face {
	font-family: 'Calibre';
	src: url('assets/fonts/Calibre-Medium.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
  font-display: swap;
}

@font-face {
	font-family: 'Calibre';
	src: url('assets/fonts/Calibre-Semibold.otf') format('opentype');
	font-weight: 600;
	font-style: normal;
  font-display: swap;
}

@font-face {
	font-family: 'Calibre';
	src: url('assets/fonts/Calibre-Bold.otf') format('opentype');
	font-weight: 700;
	font-style: normal;
  font-display: swap;
}

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ======================================== */

:root {
	/* Color Palette */
	--color-primary: #E86A64;        /* Primary/Accent - Button backgrounds */
	--color-secondary: #081F2C;      /* Secondary - Dark blue/black */
	--color-bg-page: #F9F9F9;        /* Page background */
	--color-text-dark: #081F2C;      /* Primary text color */
	--color-text-body: #666;         /* Body/paragraph text */
	--color-text-light: #999;        /* Light text */
	--color-white: #ffffff;          /* White */
	--color-black: #000000;          /* Pure black */
	--color-border: #e0e0e0;         /* Border color */
	--color-border-light: #f0f0f0;   /* Light border */

	/* Font Family */
	--font-primary: 'Calibre', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/* Font Sizes */
	--font-size-base: 18px;          /* Paragraph */
	--font-size-h1: 40px;            /* H1/Title */
	--font-size-h2: 32px;            /* H2 */
	--font-size-h4: 24px;            /* H4 */

	/* Additional font sizes for consistency */
	--font-size-small: 14px;
  --font-size-button: 16px;
	--font-size-large: 18px;
	--font-size-xlarge: 48px;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
}

html {
  visibility: visible;
  opacity: 1;
  /* transition: opacity 0.3s ease, visibility 0.3s ease; */
}

body {
	font-family: 'Calibre';
	color: var(--color-text-dark);
	/* line-height: 1; */
	background-color: var(--color-bg-page);
	font-size: var(--font-size-base);
}

h1 {
	font-size: var(--font-size-h1);
  /* opacity: 0; */
  /* transform: translateY(30%); */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

h2 {
	font-size: var(--font-size-h2);
  font-weight: 200;
    /* opacity: 0; */
  /* transform: translateY(30%); */
  /* transition: opacity 0.3s ease, transform 0.3s ease; */
}

h4 {
	font-size: var(--font-size-h4);
}

p {
	font-size: var(--font-size-base);
  font-weight: 300;
}

.container-1440 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.body-text {
  color: var(--color-text-dark);
  font-family: 'Calibre';
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%;

  &.dark {
    color: var(--color-text-dark);
  }

  p {
    margin-bottom: 16px;
  }

  &.bold {
    font-weight: 500;
  }

  &.white {
    color: var(--color-white);
  }

}

.h3-label {
  color: var(--color-text-dark);
  font-family: var(--font-primary);
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 100%;
}

.h2-title {
  color: var(--color-text-dark);
  font-family: var(--font-primary);
  font-size: var(--font-size-xlarge);
  font-style: normal;
  font-weight: 200;
  line-height: 100%;
  /* opacity: 0;
  transform: translateY(30%); */
}

.h2-title-32 {
  color: var(--color-text-dark);
  font-family: var(--font-primary);
  font-size: 32px;
  font-style: normal;
  font-weight: 200;
  line-height: 140%;
    /* opacity: 0; */
  /* transform: translateY(30%); */
  /* transition: opacity 0.3s ease, transform 0.3s ease; */
}


/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 400;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: var(--font-size-button);
    line-height: 1;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 36px;
    font-weight: 400;
    font-size: var(--font-size-button);
}

.btn--primary:hover {
    background-color: var(--color-secondary);
}

.btn--secondary {
    background-color: var(--color-white);
    color: var(--color-text-dark);
    border: 1px solid var(--color-border);
}

.btn--secondary:hover {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.btn--outline {
    border-radius: 46px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(19.450000762939453px);
    color: var(--color-white);
    border-radius: 36px;
    font-weight: 400;
    width: fit-content;
}

.btn--outline:hover {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.btn--outline-medium {
  padding: 10px 24px;
  width: fit-content;
  font-weight: 400;
	border-radius: 36px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(19.45px);
	color: var(--color-white);
	font-size: 0.875rem;
}

.btn--outline-medium:hover {
  background-color: var(--color-text-body);
  color: var(--color-white);
}

.btn--outline-small {
  padding: 0.5rem 1rem;
  width: fit-content;
  font-weight: 400;
	border-radius: 36px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(19.45px);
	color: var(--color-white);
	font-size: 0.875rem;
}
.btn--outline-small:hover {
  background-color: var(--color-text-dark);
  color: var(--color-white);
}
.btn--outline-primary {
	display: inline-block;
	padding: 0.875rem 2rem;
	font-size: 1rem;
	font-weight: 400;
	color: var(--color-primary);
	background-color: transparent;
	border: 1px solid var(--color-primary);
	border-radius: 50px;
	text-decoration: none;
	transition: all 0.3s ease;
	line-height: 1;
  width: fit-content;
}
.btn--outline-primary:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
}
.btn--outline-transparent {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 1px solid transparent;
}
.btn--outline-transparent:hover {
  background-color: var(--color-border-light);
}

.title-left {
	font-size: 2.5rem;
	font-weight: 300;
	text-align: start;
	margin-bottom: 2rem;
  width:40%;
}

/* View All Button - Outline Style */
.btn--view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-primary);
    background-color: transparent;
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
}

.btn--view-all:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Filter Tabs - Reusable Component */

.filter-mobile-toggle {
    display: none;
}
.filter-tabs__container {
  margin: 40px 0;
}
.filter-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 0.25rem;
        box-shadow: 0 4px 11.8px rgba(0, 0, 0, 0.03);

  .dark
    {
    /* border-radius: 100px;
    background: var(--color-secondary);
    backdrop-filter: blur(10.899999618530273px);
    filter: drop-shadow(0 4px 11.8px rgba(0, 0, 0, 0.03)); */
  }

  &.full-width {
    width: 100%;
    justify-content: space-between;
  }
}


.filter-tabs__item {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-dark);
    background-color: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    min-width: 100px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;

    &.dark {
    /* background-color: var(--color-text-dark);
    color: #ffffff;
    border-color: var(--color-text-dark); */
  }
  
  &.full-width {
    padding: 0.75rem 5.5rem;
  }
}

.filter-tabs__item:hover {
    background-color: rgba(232, 93, 90, 0.1);
}

.filter-tabs__item.dark:hover {
    background-color: rgba(0, 0, 0, 0.105);
    color: var(--color-text-dark);
}

.filter-tabs__item--active {
    background-color: var(--color-primary);
    color: var(--color-white);
  
    .dark {
    background-color: var(--color-text-dark);
    color: #ffffff;
  }
    .full-width {
    padding: 0.75rem 5.5rem;
  }

  &:hover {
    background-color: var(--color-primary);
  }
}

.filter-tabs__item--active.dark {
  background-color: var(--color-text-dark);
    color: #ffffff;
}
.filter-tabs__item--active.dark:hover {
    background-color: var(--color-text-dark);
    color: #ffffff;
}


.divider {
  margin: 3rem 0;
  border-bottom: 1px solid #E0E0E0;
}
/* High-Level Stats Section */
.home-stats {
	padding: 2rem 0;
	/* background-color: #F5F5F5; */
}

.home-stats__container {
	max-width: 1440px;
	margin: 0 auto;
	/* padding: 0 20px; */
}

.home-stats__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(150px, 1fr));
	gap: 0;
	margin-bottom: 3rem;
  margin-top: 1rem;
  padding: 0 20px;
}

.stat-item {
	text-align: left;
	padding: 0 0rem 0.5rem;
  margin-right: 2rem;
	position: relative;
}

.stat-item:not(:last-child)::after {
	content: '';
	position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
	background-color: var(--color-black);
}

.stat-item__number {
	font-size: 3.5rem;
	font-weight: 200;
	color: var(--color-text-dark);
	margin-bottom: 0.75rem;
	line-height: 1;
}

/* Make dollar signs and percent symbols smaller */
.stat-item__number .stat-symbol {
	font-size: 4rem;
}

.stat-item__label {
	font-size: 16px;
	color: var(--color-text-dark);
	line-height: 1.4;
	font-weight: 300;
	max-width: 120px;
}

.home-stats__cta {
	text-align: center;
}

.brandmark-logo {
  display: flex;
}
/* ===========================
   Properties Page Stylesheet
   =========================== */

/* Note: Global * selector moved to top of file */

/* ===========================
   Site Header (Navigation)
   =========================== */

.site-header {
  border-radius: 79px;
  background: rgba(70, 78, 84, 0.4);
  backdrop-filter: blur(32px);
  padding: 8px 4px;
  max-width: 1440px;
  margin: 0 auto;
  /*make it sticky and float over content */
  position: sticky;
  top: 32px;
  z-index: 1000;
  font-family: var(--font-primary);
}

/* Light version of header */
.site-header--light {
  background: rgba(70, 78, 84, 0.04);
  backdrop-filter: blur(32px);
}

.site-header--light .site-header__nav-link {
  color: var(--color-text-dark);
}

.site-header--light .site-header__nav-link::after {
  background-color: var(--color-text-dark);
}

.site-header--light .site-header__dropdown {
  /* background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(32px); */
}

.site-header__dropdown-heading {
    font-size: 14px;
    /* letter-spacing: 0.12em; */
    text-transform: uppercase;
    opacity: 0.7;
    padding: 18px 0px 4px;
    color: var(--color-white);
}

.site-header--light .site-header__dropdown-heading {
  color: var(--color-text-dark);
}
.site-header--light .site-header__dropdown-link {
  color: var(--color-text-dark);
}

.site-header--light .site-header__dropdown-link span::after {
  background-color: var(--color-text-dark);
}

.site-header--light .site-header__location {
  color: var(--color-text-dark);
}

.site-header__container {
  max-width: 1430px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* width: 100%; */
}

.site-header__logo {
  flex-shrink: 0;
}
 .site-header__logo .logo-mobile { display: none; }

.site-header__logo img {
  height: 16px;
  width: auto;
  display: block;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
      justify-content: center;
}

.site-header__nav-link {
  font-size: 16px;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 300;
  white-space: nowrap;
  position: relative;
  display: inline-block;
}

.site-header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-white);
  transition: width 0.3s ease;
}

.site-header__nav-link:hover::after {
  width: 100%;
}

.site-header__nav-caret {
  display: inline-block;
  width: 10px;
  height: 5px;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.site-header__nav-item--dropdown:hover .site-header__nav-caret {
  transform: rotate(180deg);
}

.site-header__nav-item {
  position: relative;
}

.site-header__nav-item--dropdown {
  position: relative;
}

.site-header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  /* background: var(--color-white); */
  border-radius: 8px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); */
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 0.5rem;
}

.site-header__dropdown--suburbs {
    display: flex;
    flex-direction: column; /* top half / bottom half */
    gap: 16px;
}

.site-header__dropdown-section {
    padding: 8px 0px;
}


.site-header__dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 2px 74px;
}

@media (max-width: 768px) {

    .site-header__dropdown-grid {
          grid-template-columns: 1fr;
    }
}

.site-header__nav-item--dropdown:hover .site-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header__dropdown-link {
  display: block;
  padding: 0rem 0rem;
  color: var(--color-white);
  text-decoration: none;
  font-size: 21px;
  font-weight: 300;
  white-space: nowrap;
}

.site-header__dropdown-link span {
  position: relative;
  display: inline-block;
      white-space: normal;
    word-wrap: break-word;
}

.site-header__dropdown-link span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-white);
  transition: width 0.3s ease;
}

.site-header__dropdown-link:hover span::after {
  width: 100%;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.site-header__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-white);
  padding: 8px 12px;
  border-radius: 4px;
}

.site-header__btn {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.48px;
  border-radius: 39px;
  padding: 9px 22px;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: normal;
}

.site-header__btn--primary {
  background-color: #081F2C;
  color: #FFF;
  border: none;
}

.site-header__btn--primary:hover {
 opacity: 0.8;
}

.site-header__btn--secondary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.site-header__btn--secondary:hover {
 opacity: 0.8;
}

/* Mobile nav toggle (hamburger / close icons) */
.site-header__menu-toggle {
  display: none;
  margin-left: auto;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
}

.site-header__menu-icon {
  width: 30px;
  height: 30px;
  display: block;
}

.site-header__menu-icon--close {
  display: none;
}

.site-header--mobile-open .site-header__menu-icon--open {
  display: none;
}

.site-header--mobile-open .site-header__menu-icon--close {
  display: block;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.pagination-wrapper ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper li {
    margin: 0;
}

.pagination-wrapper a,
.pagination-wrapper span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    color: #646970;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pagination-wrapper a:hover {
    background-color: rgba(232, 93, 90, 0.1);
    color: var(--color-primary);
}

.pagination-wrapper .current {
    color: var(--color-primary);
}

.pagination-wrapper .prev,
.pagination-wrapper .next {
    padding: 8px;
}

.pagination-wrapper .prev img,
.pagination-wrapper .next img {
    width: 9px;
    height: 17px;
    filter: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(362%) hue-rotate(169deg) brightness(95%) contrast(88%);
}

.pagination-wrapper .prev:hover img,
.pagination-wrapper .next:hover img {
    filter: brightness(0) saturate(100%) invert(47%) sepia(89%) saturate(1686%) hue-rotate(333deg) brightness(96%) contrast(92%);
}

.pagination-wrapper .dots {
    pointer-events: none;
}

/* ===========================
   Container
   =========================== */

/* Popup slide-in animation for property pages */
.single-property .properties-container,
.page-template-template-properties-page .properties-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 0px;
  animation: slideInFromBottom 0.5s ease-out forwards;
  position: relative;
  z-index: 100;
  background: var(--color-bg-page);
  min-height: 100vh;
}

.properties-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 0px;
}



/* ===========================
   Close Button & Back Link
   =========================== */

.property-back-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 40px;
  /* padding: 0 40px; */
  max-width: 1440px;
  margin: 0 auto 40px;
}

.property-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: var(--color-text-dark);
  text-decoration: underline;
  font-size: 16px;
  font-weight: 300;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.property-back-link:hover {
  color: var(--color-secondary);
  /* background-color: rgba(0, 0, 0, 0.02); */
}

.property-back-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.property-back-link:hover svg {
  transform: translateX(-4px);
}

.property-close-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  padding: 0 40px;
}

.property-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: 36px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.property-close-btn__icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* ===========================
   Header Section
   =========================== */

.property-header {
  margin-bottom: 60px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.property-header__breadcrumb {
  font-size: 16px;
  color: white;
  font-weight: 300;
  margin-bottom: 16px;
  text-transform: capitalize;
      padding: 4px 11px;
    width: fit-content;
    border-radius: 46px;
    border: 1px solid rgba(8, 31, 44, 0.15);
    background: rgba(8, 31, 44, 0.60);
    backdrop-filter: blur(19.450000762939453px);
}

.property-header__title {
  font-size: 48px;
  line-height: 1.2;
  color: var(--color-text-dark);
  margin: 0;
  max-width: 600px;
}

/* ===========================
   Statistics Section
   =========================== */

.property-statistics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
  padding: 0;
  position: relative;
}

.property-statistics__item {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  border-right: 1px solid #e0e0e0;
}

.property-statistics__item:last-child {
  border-right: none;
}

.property-statistics__value {
  font-size: 42px;
  line-height: 1.2;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.property-statistics__label {
  font-size: 13px;
  color: #666;
  text-transform: none;
}

/* ===========================
   Gallery Section
   =========================== */

.property-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.property-gallery__image {
  width: 60vw;
  height: auto;
  display: block;
  border-radius: 4px;
  overflow: hidden;
}

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

/* ===========================
   Details Wrapper (Sidebar + Content)
   =========================== */

.property-details-wrapper {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 20px;
  margin-bottom: 80px;
  width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   Sidebar Section
   =========================== */

.property-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.property-agent {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 36px;
  /* border-bottom: 1px solid #e0e0e0; */
}

.property-agent__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d4a574;
}

.property-agent__name {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text-dark);
  margin: 0;
}

.property-agent__contact {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.property-agent__cta {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #d4a574;
  color: #d4a574;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 300;
  transition: all 0.3s ease;
  width: fit-content;
}

.property-agent__cta:hover {
  background-color: #d4a574;
  color: #ffffff;
}

.property-specs {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
}

.property-specs__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 4px 0;
  /* border-bottom: 1px solid #f0f0f0; */
  font-size: 16px;
}

.property-specs__label {
  color: #666;
  font-weight: 300;
}

.property-specs__value {
  color: var(--color-text-dark);
  font-weight: 300;
}

.property-main-content {
  border-left: 1px solid var(--color-black);
  padding-left: 20px;
  width: 70%;
}

/* ===========================
   Case Study Content
   =========================== */

.case-study {
  display: flex;
  flex-direction: column;
  gap: 40px;
}



.case-study__intro-title {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-dark);
  margin: 0 0 20px 0;
}

.case-study__intro-text {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin: 0 0 16px 0;
}

.case-study__intro-text:last-child {
  margin-bottom: 0;
}

.case-study__testimonial-section {
  margin-top: 40px;
  padding-top: 40px;
  margin-bottom: 20px;
  /* border-top: 1px solid #e0e0e0; */
}

/* ===========================
   Testimonial Section
   =========================== */

.testimonial-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 0px;
  margin-bottom: 20px;
}

.testimonial-rating__score {
  font-size: 64px;
  font-weight: 300;
  color: var(--color-text-dark);
  display: flex;
  gap: 16px;
}

.testimonial-rating__stars {
  display: flex;
  gap: 4px;
  font-size: 20px;
}

/* Testimonial Card - updated to match Figma (node 2:290) */
.testimonial-card {
    background: #ebebeb; /* light grey from design */
    padding: 18px; /* matches Figma spacing */
    border-radius: 4px;
    /* max-width: 360px; */
    width: 100%;
    height: fit-content;
    max-height: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  margin-bottom: 8px;
}

.testimonial-card__image {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-card__placeholder {
  width: 35px;
  height: 35px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
}

.testimonial-card__name {
  flex: 1;
  font-size: 16px;
  font-weight: 400;
  color: #081f2c;
  margin: 0;
  line-height: 1;
}

.testimonial-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  right: 12px;
  top: 12px;
}

.testimonial-card__rating-number {
  font-size: 14px;
  font-weight: 400;
  color: #081f2c;
}

.testimonial-card__star {
  width: 14px;
  height: 14px;
  color: #081f2c;
}

.testimonial-card__review {
  color: rgba(8,31,44,0.8);
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  font-weight: 300;
  margin-top: 8px;
  /* max-width: 281px;  */
}
/* .testimonial-card {
  display: flex;
  grid-template-columns: auto 1fr auto; 
  gap: 16px;
  align-items: flex-start;
  flex-direction: column;
  padding: 24px;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.testimonial-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e0e0e0;
  flex-shrink: 0;
}

.testimonial-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-card__author {
  font-weight: 300;
  color: var(--color-text-dark);
  font-size: 14px;
}

.testimonial-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

.testimonial-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--color-text-dark);
  align-self: flex-start;
} */


/* ===========================
   CTA Block
   =========================== */

.cta-block {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.cta-block__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-color: rgba(0, 0, 0, 0); */
  z-index: 1;
}

.cta-block__container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-block__heading {
  font-size: 48px;
  font-weight: 200;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 20px 0;
}
.cta-block__description {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
  font-family: 'Calibre';
  color: #ffffff;
  margin: 0 0 40px 0;
      padding: 0 10%;
}

.cta-block__button {
  display: inline-block;
  padding: 16px 48px;
  background-color: #ffffff;
  color: var(--color-text-dark);
  font-size: 16px;
  font-weight: 300;
  text-decoration: none;
  border-radius: 32px;
  transition: all 0.3s ease;
  line-height: 1;
}

.cta-block__button:hover {
  background-color: var(--color-text-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Team Grid: Filters & Cards
   =========================== */

.team-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 40px;
}

.team-filter__button {
  border-radius: 999px;
  padding: 8px 18px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #111827;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.team-filter__button.is-active {
  background-color: #111827;
  color: #ffffff;
  border-color: #111827;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.team-member__description {
  margin-top: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
}

@media (max-width: 1480px) {
  .site-header {
    margin: 0 20px;
  }
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1024px) {
  .site-header__nav {
    gap: 20px;
  }

  .site-header__nav-link {
        font-size: 32px;
        line-height: 140%;
        font-weight: 200;
  }
  
  .home-stats {
    padding: 0;
  }

  .property-main-content {
    border-left: none;
    padding-left: 0;
    width: 100%;
  }
  
  .property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: stretch;
  }

  .property-agent {
    align-items: center;
  }
  .what-we-buy__title {
    font-size: 36px;
    max-width: 80%;
  }

  .what-we-buy__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .about-hero__title {
    font-size: 48px;
    max-width: 70%;
  }

  .about-hero__text {
    max-width: 85%;
  }

  .about-hero__quote {
    font-size: 24px;
  }

  .about-leadership__container {
    gap: 60px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .property-statistics {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .property-details-wrapper {
        display: flex;
        gap: 40px;
        width: 100%;
        flex-direction: column-reverse;
  }

  .property-specs__item {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .case-study__testimonial-section {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 1024px) {

  .container-1440 {
    padding: 0 20px;
  }

  .h2-title {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .h2-title-32 {
    font-size: 24px;
    line-height: 100%;
  }

  .h3-label {
    font-size: 18px;
  }
  .site-header {
    top: 12px;
    max-width: none;
    margin: 0 8px;
    padding: 4px;
    /* border-radius: 0; */
    z-index: 1100;
    transition: all 0.3s ease;
  }

  .site-header__container {
    padding: 0px 12px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-header__bar {
    width: 100%;
  }
  .site-header__nav {
    display: none;
    flex-direction: column;
    gap: 0px;
    width: 100%;
  }
  
  .site-header__logo .logo-desktop { display: none; }
  .site-header__logo .logo-mobile  { display: block; }

  .site-header__logo img {
    height: auto;
  }
  .site-header--mobile-open {
    margin: 0;
    border-radius: 0;
    top: 0;
    transition: all 0.3s ease;
    padding-top: 8px;
    height: 100vh;
    overflow: scroll;
  }

  .site-header__actions {
    display: none;
    gap: 12px;
    width: 100%;
  }

  /* Mobile header nav layout: full-width, left-aligned list */
  .site-header__nav {
    align-items: flex-start;
  }

  .site-header__nav-item,
  .site-header__nav-item--dropdown {
    width: 100%;
  }

  .site-header__nav-link {
    display: block;
    width: 100%;
    text-align: left;
  }

  .site-header__nav-link::after {
    display: none;
  }
  /* Dropdowns behave like accordions on mobile */
  .site-header__nav-link--dropdown {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
  }

  .site-header__nav-item--dropdown .site-header__nav-caret {
    margin-left: 8px;
    margin-top: 5px;
    width: 18px;
    height: 6px;
  }

  .site-header__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 4px;
    display: none;
  }

  .site-header__nav-item--dropdown.is-open .site-header__dropdown {
    display: block;
  }

  .site-header__nav-item--dropdown.is-open .site-header__nav-caret {
    transform: rotate(180deg);
  }

  .site-header__dropdown-heading {
    font-size: 14px;
    padding: 4px 0px 4px;
  }

  .site-header__dropdown-link {
         font-size: 24px;
        font-weight: 200;
        white-space: normal;
        padding: 0 !important;
  }

  .site-header__btn {
    padding: 9px 22px;
    font-size: 16px;
    height: 38px;
  }

  .site-header__menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header--mobile-open .site-header__container {
    padding-bottom: 16px;
    flex-direction: column;
        align-items: flex-start;
  }

  .site-header--mobile-open .site-header__nav,
  .site-header--mobile-open .site-header__actions {
    display: flex;
    flex-direction: column;
    flex: 0;
  }

  .site-header--mobile-open .site-header__actions {
    align-items: stretch;
  }

  .site-header--mobile-open .site-header__btn {
    width: fit-content;
    align-items: anchor-center;
  }

  .site-header__location--dropdown {
    padding: 8px 0 !important;
  }

  /* button styles */

  .btn--outline-primary {
    width: 100%;
    text-align: center;
  }

	/* home stats grid for mobile */
	
	.home-stats__grid{
		display:flex;
    flex-wrap:wrap;
    padding: 0;
	}

  .stat-item {
    padding: 18px 8px 18px 0px;
    margin-right: 4px;
    width: 47%;
  }

  .stat-item:nth-child(2n) {
  padding-left: 18px; 
}

  .stat-item__number {
    font-size: 3rem;
  }

  .stat-item__number .stat-symbol {
    font-size: 2.5rem;
  }

  .stat-item__label {
    max-width: 100%;
  }

  .stat-item:nth-child(2n)::after {
    display: none;
  }

  .what-we-buy-container {
    padding: 40px 20px;
  }

  .what-we-buy__title {
    font-size: 28px;
    max-width: 100%;
  }

  .what-we-buy__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .filter-mobile-toggle {
    align-self: flex-end;
    display: flex;
    gap: 4px;
    align-items: flex-end;
  }

  .filter-mobile-toggle__btn {
        background: none;
    border: none;
    padding: 0 10px;
  }
  .filter-group--secondary {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-select {
    width: 100% !important;
  }

  .about-hero {
    padding: 60px 0;
  }

  .about-hero__container {
    padding: 0 20px;
  }

  .about-hero__title {
    font-size: 32px;
  }

  .about-hero__text {
    max-width: 100%;
    font-size: 16px;
  }

  .about-hero__quote-container {
    grid-template-columns: 100px 1fr;
    gap: 30px;
  }

  .about-hero__quote-main {
    font-size: 20px;
  }

  .about-leadership {
    padding: 60px 0;
  }

  .about-leadership__container {
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-leadership__title {
    font-size: 32px;
  }

  .about-team-grid {
    padding: 20px 0;
  }

  .about-team-grid__container {
    padding: 0 20px;
  }

  .about-team-grid__title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .cta-block {
    padding: 80px 20px;
    min-height: 400px;
  }

  .cta-block__heading {
    font-size: 36px;
    margin-bottom: 32px;
  }

  .cta-block__button {
    padding: 14px 40px;
    font-size: 15px;
  }

  .property-back-wrapper {
    padding: 0 20px;
    margin-bottom: 30px;
  }

  .property-header__title {
    font-size: 32px;
  }

  .property-statistics {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .property-statistics__item {
    padding-right: 15px;
  }

  .property-gallery {
    grid-template-columns: 1fr;
  }

  .testimonial-rating {
    text-align: center;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
  }
    .about-hero__quote-divider {
    width: 100%;
    display: none;
    height: 1px;
  }
}

@media (max-width: 1024px) {
    .filter-group--secondary {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        z-index: 1000;
        padding: 60px 20px 20px;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        display: none;

    }

    .filter-group--secondary.is-open {
        z-index: 9999;
        position: inherit;
        width: 100%;
        overflow: clip;
        padding-top: 7rem;
        height: 70vh;
        transform: translate(0px, -40%);
        display: block;
        transition: transform 0.3s ease;
        
    }

    .filter-group--secondary::before {
        content: "";
        position: fixed;
        top: 0px;
        left: 0;
        transform: translate(0px, -10%);
        width: 90vw;
        height: 90vh;
        background: rgb(255 255 255);
        transition: opacity 0.3s ease;
        z-index: -1;
        border-radius: 14px;
        display: none;
    }

    .filter-group--secondary.is-open::before {
        opacity: 1;
        pointer-events: auto;
        display: block;
    }

    .filter-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        cursor: pointer;
        /* padding: 8px; */
    }

    .filter-close img {
        width: 24px;
        height: 24px;
    }

    .filter-group--secondary .filter-select {
        width: 100%;
        margin-bottom: 15px;
    }

    .filter-select {
        background-position: right 8px !important;
        background-position-y: 14px !important;
        padding: 4px 4px 20px 0 !important;
        margin-bottom: 15px;
        border-bottom: solid 1px var(--color-border) !important;
    }
}

@media (max-width: 480px) {
  .about-hero__title {
    font-size: 28px;
  }

  .about-hero__quote-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-hero__quote-header {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .about-hero__quote-divider {
    width: 100%;
    display: none;
    height: 1px;
  }

  .about-hero__quote-main {
    font-size: 18px;
  }

  .cta-block {
    padding: 60px 20px;
    min-height: 350px;
  }

  .cta-block__heading {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .cta-block__button {
    padding: 12px 32px;
    font-size: 14px;
  }

  .about-leadership__title,
  .about-team-grid__title {
    font-size: 28px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .property-header__title {
    font-size: 24px;
  }

  .property-statistics {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .property-statistics__value {
    font-size: 28px;
  }



  /* Testimonial card - stack header on small screens */
  .testimonial-card__header {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-card__rating {
    position: static;
    margin-top: 6px;
    justify-content: center;
  }

  /* .testimonial-card__review {
    max-width: 100%;
    text-align: center;
  } */
}

/* ===========================
   Meet and Greet Popup
   =========================== */

.meet-and-greet-popup {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1200;
  pointer-events: none; /* container is non-interactive; inner card handles events */
  opacity: 0;
  visibility: hidden;
  transform: translateY(120px);
  transition: transform 0.5s ease-out, opacity 0.35s ease-out, visibility 0s linear 1s;
}

.meet-and-greet-popup__container {
  pointer-events: auto;
}

.meet-and-greet-popup--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.meet-and-greet-popup__content {
  position: relative;
  max-width: 320px;
  width: 320px;
  padding: 24px 28px 28px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.meet-and-greet-popup__headline {
  margin: 0 0 16px;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.meet-and-greet-popup__description {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.meet-and-greet-popup__button {
  margin-top: 4px;
}

.meet-and-greet-popup__close {
  position: absolute;
  top: 16px;
  right: 18px;
}

.meet-and-greet-popup__close-btn {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.meet-and-greet-popup__close-icon {
  display: block;
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .meet-and-greet-popup {
    top: auto;
    right: 16px;
    left: 16px;
    bottom: 24px;
  }

  .meet-and-greet-popup__content {
    width: 100%;
    max-width: none;
  }
}

/* Footer Location Dropdown */
.site-footer__location--dropdown {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-footer__location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 80px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.site-footer__location--dropdown.is-open .site-footer__location-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-footer__location-option {
    display: block;
    padding: 8px 12px;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.site-footer__location-option:last-child {
    border-bottom: none;
}

.site-footer__location-option:hover {
    background-color: #f5f5f5;
}

.site-footer__location-caret {
    transition: transform 0.2s ease;
}

.site-footer__location--dropdown.is-open .site-footer__location-caret {
    transform: rotate(180deg);
}

/* Header Location Dropdown - All Screen Sizes */
.site-header__location--dropdown {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.site-header__location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 80px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.site-header__location--dropdown.is-open .site-header__location-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header__location-option {
    display: block;
    padding: 8px 12px;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.site-header__location-option:last-child {
    border-bottom: none;
}

.site-header__location-option:hover {
    background-color: #f5f5f5;
}

.site-header__location-caret {
    transition: transform 0.2s ease;
}

.site-header__location--dropdown.is-open .site-header__location-caret {
    transform: rotate(180deg);
}
