/*
Theme Name: Mint Condition Realty
Theme URI: https://mintconditionrealty.com
Author: Mint Condition Realty
Author URI: https://mintconditionrealty.com
Description: A bold, multi-page luxury real estate theme with properties, interiors portfolio, and Forum typography.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mint-condition
Tags: one-page, custom-logo, real-estate, luxury
*/

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

:root {
  --deep: #0F2321;
  --forest: #142626;
  --black: #000000;
  --cream: #EFE7D2;
  --light: #F2F2F2;
  --gold: #C8B88A;
}

html { scroll-behavior: smooth; }

/* Global overflow prevention */
html, body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
img, video, iframe { max-width: 100%; height: auto; }

body {
  font-family: 'Forum', serif;
  background: var(--deep);
  color: var(--cream);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(15,35,33,0.92) 0%, rgba(15,35,33,0) 100%);
  transition: background 0.4s;
}
.site-nav.scrolled {
  background: rgba(15,35,33,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-logo {
  font-size: 22px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
}
.nav-center { display: flex; align-items: center; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links li { position: relative; }
.nav-links a {
  color: var(--cream); text-decoration: none; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase; opacity: 0.75;
  transition: opacity 0.3s;
}
.nav-links a:hover { opacity: 1; }

/* Dropdown */
.nav-links li.has-dropdown > a::after {
  content: ''; display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 4px solid var(--cream); margin-left: 6px;
  vertical-align: middle; opacity: 0.5; transition: transform 0.3s;
}
.nav-links li.has-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 200px; padding: 16px 0; margin-top: 16px;
  background: rgba(15,35,33,0.97); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(239,231,210,0.08);
  list-style: none; opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, margin-top 0.3s;
}
.nav-links li.has-dropdown:hover .nav-dropdown {
  opacity: 1; visibility: visible; margin-top: 8px;
}
.nav-dropdown li { padding: 0; }
.nav-dropdown a {
  display: block; padding: 10px 24px; font-size: 12px;
  letter-spacing: 2px; white-space: nowrap;
}
.nav-dropdown a:hover { background: rgba(239,231,210,0.05); }

/* Interiors CTA in nav */
.nav-interiors-btn {
  display: inline-block; padding: 10px 24px;
  font-family: 'Forum', serif; font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--deep); background: var(--gold);
  text-decoration: none; border: 1px solid var(--gold);
  transition: all 0.4s; white-space: nowrap;
}
.nav-interiors-btn:hover {
  background: transparent; color: var(--cream);
}

.nav-hamburger {
  display: none; flex-direction: column; gap: 6px; cursor: pointer;
  background: none; border: none; padding: 8px; z-index: 101;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px; background: var(--cream);
  transition: transform 0.35s, opacity 0.25s; transform-origin: center;
}
body.mobile-open .nav-hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.mobile-open .nav-hamburger span:nth-child(2) { opacity: 0; }
body.mobile-open .nav-hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: #091615; flex-direction: column;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid rgba(239,231,210,0.06);
}
.mobile-menu-logo {
  font-family: 'Forum', serif; font-size: 18px;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
}
.mobile-close {
  position: relative; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.mobile-close span {
  position: absolute; top: 50%; left: 50%;
  width: 22px; height: 1.5px; background: var(--cream);
}
.mobile-close span:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.mobile-close span:last-child  { transform: translate(-50%,-50%) rotate(-45deg); }
.mobile-menu-links {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 32px 24px; gap: 0;
}
.mobile-menu-links > a,
.mobile-dropdown-toggle {
  display: block; width: 100%; text-align: center; padding: 18px 0;
  color: var(--cream); text-decoration: none;
  font-family: 'Forum', serif; font-size: 20px;
  letter-spacing: 5px; text-transform: uppercase;
  border-bottom: 1px solid rgba(239,231,210,0.06); transition: color 0.3s;
}
.mobile-menu-links > a:first-child { border-top: 1px solid rgba(239,231,210,0.06); }
.mobile-menu-links > a:hover { color: var(--gold); }
.mobile-dropdown { width: 100%; text-align: center; }
.mobile-dropdown-toggle {
  background: none; border: none; cursor: pointer;
  border-bottom: 1px solid rgba(239,231,210,0.06);
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
}
.mobile-dropdown-toggle:hover { color: var(--gold); }
.mobile-drop-icon { transition: transform 0.3s; }
.mobile-dropdown.open .mobile-drop-icon { transform: rotate(180deg); }
.mobile-dropdown-menu {
  display: none; flex-direction: column;
  background: rgba(239,231,210,0.04);
  border-bottom: 1px solid rgba(239,231,210,0.06);
}
.mobile-dropdown.open .mobile-dropdown-menu { display: flex; }
.mobile-dropdown-menu a {
  display: block; padding: 14px 0; text-align: center;
  color: rgba(239,231,210,0.6); text-decoration: none;
  font-family: 'Forum', serif; font-size: 16px;
  letter-spacing: 3px; text-transform: uppercase; transition: color 0.3s;
}
.mobile-dropdown-menu a:hover { color: var(--gold); }
.mobile-menu-actions {
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid rgba(239,231,210,0.06);
}
.mobile-action-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px; text-align: center;
  font-family: 'Forum', serif; font-size: 14px;
  letter-spacing: 3px; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s;
}
.mobile-action-btn.interiors {
  background: var(--gold); color: var(--deep); border: 1px solid var(--gold);
}
.mobile-action-btn.interiors:hover { background: transparent; color: var(--cream); }
.mobile-action-btn.call {
  background: transparent; color: var(--cream); border: 1px solid rgba(239,231,210,0.2);
}
.mobile-action-btn.call:hover { border-color: var(--cream); }
.mobile-action-btn.call svg { flex-shrink: 0; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block; padding: 16px 40px;
  font-family: 'Forum', serif; font-size: 13px;
  letter-spacing: 4px; text-transform: uppercase;
  text-decoration: none; transition: all 0.4s; cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold); color: var(--deep); border: 1px solid var(--gold);
}
.btn-primary:hover { background: transparent; color: var(--cream); }
.btn-outline {
  background: transparent; color: var(--cream); border: 1px solid rgba(239,231,210,0.35);
}
.btn-outline:hover { border-color: var(--cream); background: rgba(239,231,210,0.08); }

/* ─── HERO ─── */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(15,35,33,0.55) 0%,
    rgba(15,35,33,0.3) 40%,
    rgba(15,35,33,0.75) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 920px; padding: 0 24px;
}
.hero-eyebrow {
  font-size: 13px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px; opacity: 0.9;
}
.hero-title {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: clamp(46px, 7.5vw, 96px);
  line-height: 1.05; letter-spacing: 4px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.5;
}
.hero-scroll span { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.scroll-line {
  width: 1px; height: 40px; background: var(--cream);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── SECTION COMMON ─── */
.section-eyebrow {
  font-size: 12px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}

/* ─── ABOUT ─── */
.about { background: var(--deep); padding: 140px 0; }
.about-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 48px; text-align: center;
}
.about-title {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.15; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 32px;
}
.about-text {
  max-width: 780px; margin: 0 auto 24px;
  font-size: 16px; line-height: 1.85; color: rgba(239,231,210,0.7);
}
.about-subtext {
  max-width: 640px; margin: 0 auto;
  font-size: 14px; line-height: 1.8; color: rgba(239,231,210,0.5);
}

/* ─── STATS ─── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border-top: 1px solid rgba(239,231,210,0.12);
  border-bottom: 1px solid rgba(239,231,210,0.12);
}
.stat {
  padding: 48px 24px; text-align: center;
  border-right: 1px solid rgba(239,231,210,0.12);
}
.stat:last-child { border-right: none; }
.stat-number {
  font-family: 'Forum', serif; font-size: clamp(24px, 4vw, 56px);
  letter-spacing: 2px; color: var(--cream); margin-bottom: 8px;
  word-break: break-word; overflow-wrap: break-word;
}
.stat-label {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(239,231,210,0.45);
}

/* ═══════════════════════════════════════════════
   SERVICES — 4 BOXES SIDE BY SIDE
   ═══════════════════════════════════════════════ */
.services {
  background: var(--forest);
  padding: 120px 0;
}
.services-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-box {
  background: var(--deep);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-box:hover { transform: translateY(-6px); }

/* Image */
.service-box-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-box-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-box:hover .service-box-image img {
  transform: scale(1.06);
}

/* Body */
.service-box-body {
  padding: 28px 24px 32px;
  flex: 1; display: flex; flex-direction: column;
}

/* Icon + Heading row */
.service-box-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.service-box-icon {
  width: 28px; height: 28px; flex-shrink: 0;
}
.service-box-title {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: 17px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cream); line-height: 1.3;
}

/* Description */
.service-box-desc {
  font-size: 13px; line-height: 1.75;
  color: rgba(239,231,210,0.5);
  flex: 1;
}

/* ═══════════════════════════════════════════════
   TEXT BLOCK
   ═══════════════════════════════════════════════ */
.text-block {
  background: var(--deep);
  padding: 140px 0;
}
.text-block--alt {
  background: var(--forest);
}
.text-block-inner {
  max-width: 820px; margin: 0 auto; padding: 0 48px;
  text-align: center;
}
.text-block-title {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 36px;
}
.text-block-body {
  font-size: 16px; line-height: 1.85;
  color: rgba(239,231,210,0.65);
  margin-bottom: 24px;
}
.text-block-body:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════
   FULL-WIDTH IMAGE
   ═══════════════════════════════════════════════ */
.fullwidth-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}
.fullwidth-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── CTA ─── */
.cta-section {
  position: relative; padding: 180px 0; text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute; inset: 0;
  background: rgba(15,35,33,0.82);
}
.cta-content {
  position: relative; z-index: 2; max-width: 700px;
  margin: 0 auto; padding: 0 24px;
}
.cta-title {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15; letter-spacing: 4px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 20px;
}
.cta-text {
  font-size: 15px; line-height: 1.8; color: rgba(239,231,210,0.6);
  margin-bottom: 40px;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--black); padding: 80px 48px 40px;
}
.footer-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 60px;
}
.footer-logo-text {
  font-family: 'Forum', serif; font-size: 22px;
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 16px;
}
.footer-tagline {
  font-size: 13px; line-height: 1.7; color: rgba(239,231,210,0.4);
  max-width: 280px;
}
.footer-col h4 {
  font-family: 'Forum', serif; font-size: 13px; font-weight: 400;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(239,231,210,0.4); text-decoration: none;
  font-size: 13px; letter-spacing: 0.5px; transition: color 0.3s;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1320px; margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(239,231,210,0.08);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-size: 12px; color: rgba(239,231,210,0.3); letter-spacing: 1px;
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-inner { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .site-nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-title { letter-spacing: 2px; }
  .about { padding: 100px 0; }
  .about-inner { padding: 0 24px; }
  .services { padding: 80px 0; }
  .services-inner { padding: 0 24px; grid-template-columns: 1fr; gap: 20px; }
  .text-block { padding: 100px 0; }
  .text-block-inner { padding: 0 24px; }
  .fullwidth-image { max-height: 400px; }
  .cta-section { padding: 120px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .site-footer { padding: 60px 24px 32px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; text-align: center; }
  .fullwidth-image { max-height: 280px; }
}

/* ═══════════════════════════════════════════════
   PAGE HERO (Properties, Interiors, generic pages)
   ═══════════════════════════════════════════════ */
.page-hero {
  position: relative; height: 50vh; min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(15,35,33,0.72);
}
.page-hero-content {
  position: relative; z-index: 2; max-width: 800px; padding: 0 24px;
}
.page-hero-title {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.1; letter-spacing: 4px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 16px;
}
.page-hero-subtitle {
  font-size: 15px; line-height: 1.8; color: rgba(239,231,210,0.6);
  max-width: 560px; margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   FILTER TABS (Properties & Interiors)
   ═══════════════════════════════════════════════ */
.properties-filters,
.portfolio-filters {
  background: var(--deep);
  border-bottom: 1px solid rgba(239,231,210,0.08);
  padding: 0;
}
.filters-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 48px;
  display: flex; gap: 0;
}
.filter-tab {
  padding: 24px 32px;
  font-family: 'Forum', serif; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(239,231,210,0.45); text-decoration: none;
  border: none; background: none; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.filter-tab:hover { color: var(--cream); }
.filter-tab.active {
  color: var(--gold); border-bottom-color: var(--gold);
}

/* ═══════════════════════════════════════════════
   PROPERTY CARDS (all pages)
   ═══════════════════════════════════════════════ */
.properties-grid-section {
  background: var(--deep);
  padding: 80px 0 120px;
}
.properties-grid {
  max-width: 1320px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.property-card {
  background: var(--forest); overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0; /* prevent grid blowout */
}
.property-card:hover { transform: translateY(-6px); }
.property-card-link {
  text-decoration: none; color: inherit; display: block;
  overflow: hidden;
}
.property-card-image {
  position: relative; width: 100%; height: 0;
  padding-bottom: 62.5%; /* 16:10 ratio */
  overflow: hidden;
}
.property-card-image img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.property-card:hover .property-card-image img { transform: scale(1.06); }
.property-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 14px; font-family: 'Forum', serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  background: var(--gold); color: var(--deep);
}
.property-type-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 5px 14px; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3); color: #fff;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.property-card-body {
  padding: 20px; overflow: hidden;
}
.property-price {
  font-family: 'Forum', serif; font-size: 20px;
  color: var(--cream); letter-spacing: 1px; margin-bottom: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.property-title {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: 15px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 8px; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.property-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(239,231,210,0.45);
  margin-bottom: 14px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.property-location svg { opacity: 0.6; flex-shrink: 0; }
.property-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid rgba(239,231,210,0.08);
}
.property-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: rgba(239,231,210,0.5); letter-spacing: 0.5px;
  white-space: nowrap;
}
.property-meta-item svg { opacity: 0.5; flex-shrink: 0; }
.no-properties {
  grid-column: 1 / -1; text-align: center; padding: 80px 24px;
}
.no-properties-text {
  font-size: 15px; line-height: 1.8; color: rgba(239,231,210,0.5);
  max-width: 480px; margin: 0 auto 32px;
}

/* ═══════════════════════════════════════════════
   PORTFOLIO CARDS (Interiors)
   ═══════════════════════════════════════════════ */
.portfolio-section {
  background: var(--deep);
  padding: 80px 0 120px;
}
.portfolio-grid {
  max-width: 1320px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card.hidden { display: none; }
.portfolio-card:hover { transform: translateY(-4px); }
.portfolio-card-link { text-decoration: none; color: inherit; display: block; }

.portfolio-card-image {
  position: relative; aspect-ratio: 9/7; overflow: hidden;
}
.portfolio-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover .portfolio-card-image img { transform: scale(1.06); }

.portfolio-card-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,35,33,0.6);
  opacity: 0; transition: opacity 0.4s;
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-card-view {
  font-family: 'Forum', serif; font-size: 13px;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--cream); padding: 12px 28px;
  border: 1px solid rgba(239,231,210,0.5);
}

.portfolio-card-body { padding: 20px 4px; }
.portfolio-card-title {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: 17px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 4px;
}
.portfolio-card-cat {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); opacity: 0.7;
}

/* ═══════════════════════════════════════════════
   GENERIC PAGE CONTENT
   ═══════════════════════════════════════════════ */
.page-content {
  background: var(--deep); padding: 80px 0 120px;
}
.page-content-inner {
  max-width: 820px; margin: 0 auto; padding: 0 48px;
  font-size: 16px; line-height: 1.85; color: rgba(239,231,210,0.7);
}
.page-content-inner h2, .page-content-inner h3 {
  font-family: 'Forum', serif; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--cream); margin: 48px 0 16px;
}
.page-content-inner p { margin-bottom: 24px; }
.page-content-inner a { color: var(--gold); }

/* ═══════════════════════════════════════════════
   RESPONSIVE — new components
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-interiors-btn { display: none; }
}
@media (max-width: 768px) {
  .properties-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .portfolio-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .properties-grid-section { padding: 60px 0 80px; }
  .portfolio-section { padding: 60px 0 80px; }
  .filters-inner { padding: 0 24px; overflow-x: auto; }
  .filter-tab { padding: 20px 20px; white-space: nowrap; }
  .page-hero { height: 40vh; min-height: 320px; }
  .nav-interiors-btn { display: none; }
  .page-content-inner { padding: 0 24px; }
}

/* ═══════════════════════════════════════════════
   SINGLE PROPERTY
   ═══════════════════════════════════════════════ */
.single-property {
  background: var(--deep); padding: 0 0 120px;
}
.single-property-inner {
  max-width: 1000px; margin: 0 auto; padding: 0 48px;
}
.single-property-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(239,231,210,0.12);
  margin-bottom: 60px;
}
.single-property-stats .stat {
  padding: 48px 24px; text-align: center;
  border-right: 1px solid rgba(239,231,210,0.12);
}
.single-property-stats .stat:last-child { border-right: none; }
.single-property-content {
  font-size: 16px; line-height: 1.85; color: rgba(239,231,210,0.7);
  margin-bottom: 48px;
}
.single-property-content p { margin-bottom: 24px; }
.single-property-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
}

@media (max-width: 768px) {
  .single-property-stats { grid-template-columns: 1fr 1fr; }
  .single-property-stats .stat:nth-child(2) { border-right: none; }
  .single-property-inner { padding: 0 24px; }
  .single-property-cta { flex-direction: column; }
  .single-property-cta .btn { text-align: center; }
}
@media (max-width: 480px) {
  .single-property-stats { grid-template-columns: 1fr; }
  .single-property-stats .stat { border-right: none; }
}

/* ═══════════════════════════════════════════════
   ABOUT — VALUES SECTION
   ═══════════════════════════════════════════════ */
.about-values {
  background: var(--forest); padding: 140px 0;
}
.about-values-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 48px;
}
.about-values-text {
  text-align: center; margin-bottom: 64px;
}
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.value-card {
  padding: 36px 28px;
  border: 1px solid rgba(239,231,210,0.08);
  transition: border-color 0.4s;
}
.value-card:hover { border-color: rgba(200,184,138,0.3); }
.value-number {
  font-family: 'Forum', serif; font-size: 32px;
  color: var(--gold); opacity: 0.4; margin-bottom: 16px;
}
.value-title {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: 17px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 12px;
}
.value-desc {
  font-size: 13px; line-height: 1.75; color: rgba(239,231,210,0.5);
}

.about-stats-section {
  background: var(--deep); padding: 0;
}
.about-stats-section .about-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 48px;
}

/* ═══════════════════════════════════════════════
   TEAM SECTION
   ═══════════════════════════════════════════════ */
.team-section {
  background: var(--deep); padding: 140px 0;
}
.team-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 48px;
}
.team-header { text-align: center; margin-bottom: 64px; }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.team-card { text-align: center; }
.team-card-image {
  aspect-ratio: 3/4; overflow: hidden; margin-bottom: 20px;
  background: var(--forest);
}
.team-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.5s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover .team-card-image img {
  filter: grayscale(0%); transform: scale(1.04);
}
.team-card-name {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: 18px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 4px;
}
.team-card-role {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); opacity: 0.7;
}

/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */
.contact-section {
  background: var(--deep); padding: 100px 0 140px;
}
.contact-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.contact-intro {
  font-size: 15px; line-height: 1.8; color: rgba(239,231,210,0.6);
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-detail-item svg { margin-top: 2px; flex-shrink: 0; }
.contact-detail-label {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 4px;
}
.contact-detail-value {
  font-size: 14px; color: rgba(239,231,210,0.55);
  text-decoration: none; transition: color 0.3s;
}
a.contact-detail-value:hover { color: var(--cream); }

/* Form */
.mcr-form { display: flex; flex-direction: column; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: 'Forum', serif; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(239,231,210,0.6);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: 1px solid rgba(239,231,210,0.15);
  padding: 14px 16px;
  font-family: 'Forum', serif; font-size: 15px;
  color: var(--cream); letter-spacing: 0.5px;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23EFE7D2' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option {
  background: var(--deep); color: var(--cream);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── RESPONSIVE — About & Contact ─── */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 768px) {
  .about-values { padding: 100px 0; }
  .about-values-inner { padding: 0 24px; }
  .values-grid { grid-template-columns: 1fr; gap: 20px; }
  .team-section { padding: 100px 0; }
  .team-inner { padding: 0 24px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .contact-section { padding: 80px 0 100px; }
  .contact-inner { padding: 0 24px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   FEATURED PROPERTIES — HOMEPAGE
   ═══════════════════════════════════════════════ */
.featured-properties {
  background: var(--forest); padding: 120px 0;
}
.featured-properties-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 48px;
}
.featured-header {
  text-align: center; margin-bottom: 56px;
}
.featured-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.featured-cta {
  text-align: center; margin-top: 48px;
}

/* ═══════════════════════════════════════════════
   FOOTER CREDIT
   ═══════════════════════════════════════════════ */
.footer-credit a {
  color: var(--gold); text-decoration: none;
  transition: color 0.3s;
}
.footer-credit a:hover { color: var(--cream); }

/* ─── RESPONSIVE — featured properties ─── */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .featured-properties { padding: 80px 0; }
  .featured-properties-inner { padding: 0 24px; }
  .featured-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ═══════════════════════════════════════════════
   SINGLE PROPERTY ENHANCEMENTS
   ═══════════════════════════════════════════════ */
.stat-number {
  word-break: break-word;
  overflow-wrap: break-word;
}
.single-property-stats .stat {
  overflow: hidden;
}

/* Single property details grid */
.single-property-details-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(239,231,210,0.08);
  margin-bottom: 48px;
}
.single-detail-item {
  padding: 20px 16px;
  border-right: 1px solid rgba(239,231,210,0.08);
  border-bottom: 1px solid rgba(239,231,210,0.08);
}
.single-detail-item:last-child { border-right: none; }
.single-detail-label {
  display: block; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(239,231,210,0.4);
  margin-bottom: 6px;
}
.single-detail-value {
  display: block; font-size: 15px; color: var(--cream);
}

/* Amenities */
.single-property-amenities { margin-bottom: 48px; }
.single-property-section-title {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: 18px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(239,231,210,0.08);
}
.single-amenities-wrap {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.single-amenity-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(239,231,210,0.1);
  font-size: 13px; color: rgba(239,231,210,0.7);
}
.single-amenity-tag svg { color: var(--gold); }

/* CTA and back row */
.single-property-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.single-property-back {
  padding-top: 16px;
}

/* Filter divider between status and type tabs */
.filter-divider {
  display: block; width: 1px; height: 20px; align-self: center;
  background: rgba(239,231,210,0.15); margin: 0 8px;
}
.filter-tab--type {
  font-size: 12px; letter-spacing: 2px;
}

/* ─── Responsive fixes ─── */
@media (max-width: 1024px) {
  .single-property-details-grid { grid-template-columns: repeat(2, 1fr); }
  .single-detail-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 768px) {
  .single-property-stats { grid-template-columns: 1fr 1fr; }
  .single-property-stats .stat:nth-child(2) { border-right: none; }
  .single-property-inner { padding: 0 24px; }
  .single-property-details-grid { grid-template-columns: 1fr 1fr; }
  .single-property-cta { flex-direction: column; }
  .single-property-cta .btn { text-align: center; }
  .filter-divider { display: none; }
  .filters-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) {
  .single-property-stats { grid-template-columns: 1fr; }
  .single-property-stats .stat { border-right: none; }
  .single-property-details-grid { grid-template-columns: 1fr; }
  .single-detail-item { border-right: none !important; }
  .stat-number { font-size: clamp(20px, 6vw, 36px); }
}

/* ═══════════════════════════════════════════════
   SEARCH BAR
   ═══════════════════════════════════════════════ */
.mcr-search-bar {
  background: var(--forest);
  padding: 0;
  position: relative; z-index: 10;
  border-bottom: 1px solid rgba(239,231,210,0.06);
}
.mcr-search-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 48px;
}

/* Buy / Rent toggle */
.mcr-search-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid rgba(239,231,210,0.08);
}
.mcr-search-tab {
  padding: 16px 32px;
  font-family: 'Forum', serif; font-size: 14px;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(239,231,210,0.4);
  background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.mcr-search-tab:hover { color: var(--cream); }
.mcr-search-tab.active {
  color: var(--gold); border-bottom-color: var(--gold);
}

/* Form fields */
.mcr-search-fields {
  display: flex; gap: 16px; padding: 24px 0;
  align-items: flex-end;
}
.mcr-search-field {
  flex: 1; display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
}
.mcr-search-field label {
  font-size: 10px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(239,231,210,0.4);
}
.mcr-search-field select {
  background: var(--deep); border: 1px solid rgba(239,231,210,0.12);
  padding: 12px 14px; border-radius: 4px;
  font-family: 'Forum', serif; font-size: 14px;
  color: var(--cream); cursor: pointer;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23EFE7D2' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.mcr-search-field select:focus {
  outline: none; border-color: var(--gold);
}
.mcr-search-field select option {
  background: var(--deep); color: var(--cream);
}
.mcr-search-field select optgroup {
  color: var(--gold); font-style: normal;
}

/* Search button */
.mcr-search-submit { flex: 0 0 auto; }
.mcr-search-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: var(--gold); color: var(--deep);
  border: 1px solid var(--gold); border-radius: 4px;
  font-family: 'Forum', serif; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s;
  white-space: nowrap;
}
.mcr-search-btn:hover {
  background: transparent; color: var(--cream);
}

/* ─── Search bar responsive ─── */
@media (max-width: 1024px) {
  .mcr-search-fields { flex-wrap: wrap; }
  .mcr-search-field { flex: 1 1 calc(50% - 8px); min-width: calc(50% - 8px); }
  .mcr-search-submit { flex: 1 1 100%; }
  .mcr-search-btn { width: 100%; justify-content: center; }
}
@media (max-width: 768px) {
  .mcr-search-inner { padding: 0 20px; }
  .mcr-search-fields { flex-direction: column; gap: 12px; }
  .mcr-search-field { flex: 1 1 100%; min-width: 100%; }
  .mcr-search-tab { padding: 14px 24px; font-size: 13px; }
}

/* ═══════════════════════════════════════════════
   PROPERTY CARD — title bigger than price
   ═══════════════════════════════════════════════ */
.property-title {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: 18px !important; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cream); margin-bottom: 4px; line-height: 1.3;
}
.property-price {
  font-family: 'Forum', serif;
  font-size: 15px !important; letter-spacing: 0.5px;
  color: var(--gold) !important; margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════
   SINGLE PROPERTY — larger text
   ═══════════════════════════════════════════════ */
.single-property-content {
  font-size: 18px !important; line-height: 1.9 !important;
  color: rgba(239,231,210,0.75) !important;
}
.single-property-content p {
  margin-bottom: 24px;
}
.single-property-stats .stat-number {
  font-size: clamp(20px, 3vw, 40px);
}
.single-property-section-title {
  font-size: 22px;
}
.single-amenity-tag {
  font-size: 15px;
  padding: 12px 20px;
}
.single-detail-value {
  font-size: 17px;
}
.single-detail-label {
  font-size: 12px;
}
