/*
Theme Name: Montecito Template
Theme URI: https://homepage.studio
Description: Structural clone of montecitoproperties.com for template use
Version: 1.0
Author: HomePage Studios
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  color: #222;
  letter-spacing: 0.25px;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.8; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1199px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Libre Caslon Display", serif;
  font-weight: 400;
  text-transform: uppercase;
  color: #100d0c;
  line-height: 1.3;
  letter-spacing: 0.25px;
}

h1 { font-size: 55px; }
h2 { font-size: 50px; }
h3 { font-size: 35px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; font-weight: 800; }

p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: #222;
  margin-bottom: 1em;
}

.script-text {
  font-family: "DollynScript", "Dancing Script", cursive;
  font-weight: 300;
  text-transform: none;
}

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background: transparent;
  border: 1px solid #100d0c;
  border-radius: 0;
  padding: 14px 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #100d0c;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: #100d0c;
  color: #fff;
  opacity: 1;
}

.btn--white {
  border-color: #fff;
  color: #fff;
}

.btn--white:hover {
  background: #fff;
  color: #100d0c;
}

.btn--nav {
  font-family: "Libre Caslon Display", serif;
  font-size: 18px;
  font-weight: 500;
  padding: 14px 22px 12px;
  letter-spacing: normal;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 15px 20px;
}

.site-header .container {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 89px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-family: "Libre Caslon Display", serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: normal;
}

.nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Social sidebar */
.social-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background: rgba(0,0,0,0.3);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-sidebar a {
  color: #fff;
  font-size: 16px;
  display: block;
  text-align: center;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 160px 0 80px;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(16,13,12,0.4) 0%, rgba(16,13,12,0.1) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__content h1 {
  color: #fff;
  font-size: 55px;
  margin-bottom: 20px;
}

.hero__content .script-text {
  color: #fff;
  font-size: 45px;
}

/* ===== FEATURED LISTINGS SECTION ===== */
.featured-listings {
  padding: 80px 0 40px;
  background: #fff;
  text-align: center;
}

.featured-listings h2 {
  margin-bottom: 12px;
}

.featured-listings .section-subtext {
  font-size: 16px;
  color: #222;
  margin-bottom: 24px;
}

.featured-listings .btn {
  margin-bottom: 48px;
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 80px 0;
  text-align: center;
}

.stats-section h2 {
  margin-bottom: 8px;
}

.stats-section .section-subtext {
  margin-bottom: 48px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 100%;
  width: 100%;
}

.stat-item {
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid #ddd;
}

.stat-item:last-child {
  border-right: none;
}


.stat-item .stat-number {
  font-family: "Libre Caslon Display", serif;
  font-size: 48px;
  font-weight: 400;
  color: #100d0c;
  line-height: 1.2;
}

.stat-item .stat-label {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222;
  margin-top: 8px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 0;
}

.about-section .container {
  max-width: 100%;
  padding: 0;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
}

.about-photo {
  flex: 0 0 50%;
  max-width: 50%;
  min-height: 700px;
  background-size: cover;
  background-position: center top;
}

.about-text {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text .eyebrow {
  color: #100d0c;
}

.about-text h4 {
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 16px;
}

.about-text .btn {
  align-self: flex-start;
  margin-top: 16px;
}

/* ===== TEAM SECTION ===== */
.team-section {
  background: #f8f7f2;
  padding: 0 0 80px;
}

.team-section .container {
  max-width: 100%;
  padding: 0;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
}

.team-photo {
  flex: 0 0 50%;
  max-width: 50%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  order: 1;
}

.team-text {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  order: 0;
}

.team-text .eyebrow {
  color: #100d0c;
  margin-bottom: 12px;
}

.team-text h5 {
  margin-bottom: 8px;
  font-weight: 800;
}

.team-text h2 {
  margin-bottom: 24px;
}

.team-text .btn {
  align-self: flex-start;
}

/* ===== AREAS OF EXPERTISE (Communities Grid) ===== */
.areas-section {
  padding: 80px 0;
}

.areas-section .container {
  max-width: 100%;
  padding: 0 0;
}

.areas-section h2 {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 16px;
}

.areas-grid {
  display: flex;
  gap: 16px;
  width: 100%;
}

.areas-col-left {
  flex: 0 0 60%;
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.areas-col-right {
  flex: 0 0 calc(40% - 16px);
  width: calc(40% - 16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.areas-small-row {
  display: flex;
  gap: 16px;
}

.area-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.area-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.area-card:hover img {
  transform: scale(1.05);
}

.area-card--large {
  height: 340px;
}

.area-card--small {
  flex: 1;
  height: 220px;
}

.area-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  z-index: 2;
}

.area-card h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 4px;
}

.area-card h3 span {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ===== LISTING FEED SECTION ===== */


/* ===== BLOG SECTION ===== */
.blog-section {
  padding: 80px 0;
  text-align: center;
}

.blog-section h2 {
  margin-bottom: 12px;
}

.blog-section .section-subtext {
  margin-bottom: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.blog-card {
  text-align: left;
  overflow: hidden;
}

.blog-card__image {
  aspect-ratio: 16/10;
  background: #e0ddd5;
  margin-bottom: 16px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__category {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin-bottom: 8px;
}

.blog-card__title {
  font-family: "Libre Caslon Display", serif;
  font-size: 18px;
  font-weight: 400;
  color: #100d0c;
  line-height: 1.4;
  text-transform: none;
}

.blog-card__date {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 80px 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.cta-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 24px;
}

.cta-section p {
  color: #fff;
  max-width: 800px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.65;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #f8f7f2;
  padding: 64px 0 48px;
}

.footer-newsletter {
  text-align: center;
  margin-bottom: 48px;
}

.footer-newsletter h4 {
  margin-bottom: 8px;
}

.footer-newsletter p {
  margin-bottom: 24px;
  font-size: 16px;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #fff;
  border-bottom-color: #ccc;
  background: #fbfbfb;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  outline: none;
}

.newsletter-form input[type="email"]:focus {
  border-bottom-color: #828384;
  background: #fff;
}

.newsletter-form button {
  padding: 12px 24px;
  background: #100d0c;
  color: #fff;
  border: none;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  padding: 0 16px;
  margin-bottom: 32px;
}

.footer-info__col {
  flex: 1;
  min-width: 200px;
}

.footer-info__col--center {
  text-align: center;
}

.footer-info__col h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
  text-transform: none;
}

.footer-info__col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 4px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 32px 0;
}

.footer-social a {
  font-size: 20px;
  color: #222;
}

.footer-legal {
  text-align: center;
  padding: 24px 16px 0;
  border-top: 1px solid #ddd;
}

.footer-legal p {
  font-size: 12px;
  line-height: 1.6;
  color: #666;
}

.footer-legal nav {
  margin-top: 16px;
}

.footer-legal nav a {
  font-size: 12px;
  color: #666;
  margin: 0 12px;
}

.footer-credits {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: #888;
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 575px) {
  h1 { font-size: 35px; }
  h2 { font-size: 30px; }
  h3 { font-size: 26px; }

  .hero { padding: 4em 0; min-height: 60vh; }
  .hero__content h1 { font-size: 35px; }
  .hero__content .script-text { font-size: 28px; }

  .main-nav { display: none; }

  .about-photo, .about-text { flex: 0 0 100%; max-width: 100%; }
  .about-photo { min-height: 280px; }
  .about-text { padding: 2em 1em; }

  .team-photo, .team-text { flex: 0 0 100%; max-width: 100%; }
  .team-photo { min-height: 280px; order: 0; }
  .team-text { padding: 2em 1em; order: 1; }

  .areas-grid { flex-direction: column; }
  .areas-col-left, .areas-col-right { flex: 0 0 100%; max-width: 100%; }
  .areas-small-row { flex-direction: column; }
  .area-card--small { height: 200px; }

  .blog-grid { grid-template-columns: 1fr; }


  .footer-info { flex-direction: column; gap: 24px; text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 576px) and (max-width: 767px) {
  h1 { font-size: 40px; }
  h2 { font-size: 35px; }
  h3 { font-size: 26px; }

  .hero__content h1 { font-size: 40px; }
  .hero__content .script-text { font-size: 32px; }

  .main-nav { display: none; }

  .about-photo, .about-text { flex: 0 0 100%; max-width: 100%; }
  .about-photo { min-height: 400px; }
  .about-text { padding: 2em; }

  .team-photo, .team-text { flex: 0 0 100%; max-width: 100%; }
  .team-photo { min-height: 400px; order: 0; }
  .team-text { padding: 2em; order: 1; }

  .areas-grid { flex-direction: column; }
  .areas-col-left, .areas-col-right { flex: 0 0 100%; max-width: 100%; }

}

@media (min-width: 768px) and (max-width: 991px) {
  h1 { font-size: 45px; }
  h2 { font-size: 40px; }
  h3 { font-size: 28px; }

  .about-photo, .about-text { flex: 0 0 100%; max-width: 100%; }
  .about-photo { min-height: 450px; }
  .about-text { padding: 2em; }

  .team-photo, .team-text { flex: 0 0 100%; max-width: 100%; }
  .team-photo { min-height: 450px; order: 0; }
  .team-text { padding: 2em; order: 1; }

  .areas-grid { flex-direction: column; }
  .areas-col-left, .areas-col-right { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  h1 { font-size: 42px; }
  h2 { font-size: 40px; }
  h3 { font-size: 30px; }
}

/* Hamburger menu */
.hamburger-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f8f7f2;
  z-index: 200;
  padding: 21px 30px 30px;
  flex-direction: column;
}

.hamburger-menu.active { display: flex; }

.hamburger-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.hamburger-menu__links {
  list-style: none;
  padding: 0;
}

.hamburger-menu__links li {
  margin-bottom: 16px;
}

.hamburger-menu__links a {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(0,0,0,0.8);
}

.hamburger-menu__social {
  display: flex;
  gap: 20px;
  margin-top: auto;
  padding-top: 40px;
}

.hamburger-menu__social a {
  font-size: 26px;
  color: rgba(0,0,0,0.8);
}

/* ===== LISTING SLIDE INFO OVERLAY ===== */
.listing-slide__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.listing-slide__status {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 4px;
}

.listing-slide__price {
  font-family: "Libre Caslon Display", serif;
  font-size: 28px;
  color: #fff;
  font-weight: 400;
}

.listing-slide__address {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.listing-slide__location {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}

/* ===== ABOUT SUBTITLE ===== */
.about-subtitle {
  font-family: "Libre Caslon Display", serif;
  font-size: 18px;
  font-weight: 400;
  color: #100d0c;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  margin-bottom: 24px;
}

.about-text h2 {
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ===== TEAM SCRIPT TEXT ===== */
.team-script {
  font-size: 45px;
  color: #100d0c;
  margin: 8px 0;
  line-height: 1.2;
}

.team-text h3 {
  font-size: 35px;
  margin-bottom: 0;
}

/* ===== NOTABLE SALES SECTION ===== */



/* ===== HAMBURGER MENU CONTACT ===== */
.hamburger-menu__contact {
  margin-top: 24px;
}

.hamburger-menu__contact a {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #100d0c;
  letter-spacing: 0.5px;
}

/* ===== LISTING CAROUSEL (Swiper) ===== */
.listing-carousel {
  position: relative;
  width: 100%;
  padding: 0 0 16px;
}

.listing-swiper { overflow: hidden; }

.listing-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e0ddd5;
}

.listing-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.listing-card:hover img { transform: scale(1.05); }

.listing-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
}

.listing-card__status {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 4px;
}

.listing-card__price {
  font-family: "Libre Caslon Display", serif;
  font-size: 28px;
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
}

.listing-card__address {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-top: 4px;
}

.listing-card__location {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}

/* Carousel Navigation */
.listing-carousel__nav {
  position: absolute;
  top: calc(50% - 24px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  pointer-events: none;
  z-index: 10;
}

.listing-carousel__prev,
.listing-carousel__next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #100d0c;
  pointer-events: all;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.listing-carousel__prev:hover,
.listing-carousel__next:hover {
  background: #fff;
  transform: scale(1.1);
}

.listing-carousel__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.listing-carousel__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  opacity: 1;
  transition: background 0.3s, transform 0.3s;
}

.listing-carousel__pagination .swiper-pagination-bullet-active {
  background: #100d0c;
  transform: scale(1.2);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 0;
  background: #fff;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  min-height: 600px;
}

.testimonials-content {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials-content .eyebrow {
  color: #100d0c;
  margin-bottom: 8px;
}

.testimonials-content h2 {
  margin-bottom: 40px;
}

.testimonials-image {
  flex: 0 0 50%;
  max-width: 50%;
  min-height: 600px;
  background-size: cover;
  background-position: center;
}

/* Testimonial Slider */
.testimonial-slider {
  position: relative;
  min-height: 220px;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonial-stars {
  margin-bottom: 20px;
  color: #c9a96e;
  font-size: 16px;
  letter-spacing: 4px;
}

.testimonial-quote {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #222;
  font-style: normal;
  margin-bottom: 20px;
  border: none;
  padding: 0;
}

.testimonial-author {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #100d0c;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.testimonial-dot.active {
  background: #100d0c;
}

/* Testimonials responsive */
@media (max-width: 991px) {
  .testimonials-content,
  .testimonials-image {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .testimonials-image {
    min-height: 350px;
    order: -1;
  }
  .testimonials-content {
    padding: 48px 24px;
  }
}

/* Fix testimonials button - prevent flex stretch */
.testimonials-content .btn {
  align-self: flex-start;
  display: inline-block;
  width: auto;
}

/* FORCE: Kill any residual stat pseudo-elements and fix button */
.stat-item::before,
.stat-item::after,
.stat-item + .stat-item::before {
  content: none !important;
  display: none !important;
  border: none !important;
  width: 0 !important;
  height: 0 !important;
}

.testimonials-content .btn {
  align-self: flex-start !important;
  display: inline-block !important;
  width: auto !important;
}

/* ===== PAGE HERO (Internal Pages) ===== */
.page-hero {
  position: relative;
  height: 540px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(16,13,12,0.4) 0%, rgba(16,13,12,0.1) 100%);
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__content h1 {
  color: #fff;
  margin-bottom: 24px;
}

.btn--white-fill {
  display: inline-block;
  background: #fff;
  color: #100d0c;
  border: 1px solid #fff;
  border-radius: 0;
  padding: 14px 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn--white-fill:hover {
  background: transparent;
  color: #fff;
}

/* ===== LISTINGS INTRO ===== */
.listings-intro {
  padding: 60px 0;
  text-align: center;
}

.listings-intro .script-text {
  font-size: 60px;
  color: #100d0c;
  margin-bottom: 16px;
}

.listings-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: #222;
  letter-spacing: 0.25px;
}

/* ===== LISTING GRID ===== */
.listings-grid-section {
  padding: 0 0 80px;
}

.listings-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.listing-grid-card {
  flex: 0 0 33.333%;
  padding: 0 15px 30px;
}

.listing-grid-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #F8F7F2;
  transition: box-shadow 0.3s;
}

.listing-grid-card__link:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.listing-grid-card__thumb {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.listing-grid-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.listing-grid-card__link:hover .listing-grid-card__thumb img {
  transform: scale(1.05);
}

.listing-grid-card__price {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: "Libre Caslon Display", serif;
  font-size: 30px;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  z-index: 2;
}

.listing-grid-card__badge {
  position: absolute;
  bottom: 20px;
  right: 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.listing-grid-card__details {
  padding: 16px 16px 12px;
}

.listing-grid-card__street {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #100d0c;
  margin-bottom: 4px;
}

.listing-grid-card__city {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #222;
}

.listing-grid-card__specs {
  display: flex;
  border-top: 1px solid #eaeaea;
  padding: 12px 16px;
}

.listing-grid-card__spec {
  flex: 1;
  text-align: center;
}

.listing-grid-card__spec:first-child {
  text-align: left;
}

.listing-grid-card__spec:last-child {
  text-align: right;
}

.listing-grid-card__spec-value {
  font-family: "Libre Caslon Display", serif;
  font-size: 16px;
  font-weight: 500;
  color: #100d0c;
  margin-bottom: 2px;
}

.listing-grid-card__spec-title {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #666;
}

/* Listing Grid Responsive */
@media (max-width: 991px) {
  .listing-grid-card { flex: 0 0 50%; }
  .page-hero { height: 400px; }
  .listings-intro .script-text { font-size: 45px; }
}

@media (max-width: 767px) {
  .listing-grid-card { flex: 0 0 100%; }
  .page-hero { height: 350px; }
  .listings-intro .script-text { font-size: 36px; }
  .listing-grid-card__price { font-size: 24px; }
  .listing-grid-card__specs { flex-wrap: wrap; gap: 8px; }
  .listing-grid-card__spec { flex: 0 0 100%; text-align: left !important; }
}
