/* Palakkad Land Properties — static site */

:root {
  --green-dark: #1e3a1f;
  --green-mid: #2d5016;
  --green-light: #4a7c3f;
  --brown-dark: #3d2914;
  --brown-mid: #6b4423;
  --brown-light: #a67c52;
  --cream: #f7f4ef;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-muted: #5c5c5c;
  --border: #e0d9cf;
  --shadow: 0 4px 24px rgba(30, 58, 31, 0.08);
  --shadow-lg: 0 12px 48px rgba(30, 58, 31, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --nav-height: 72px;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--green-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brown-mid); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--green-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--alt { background: var(--white); }

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Header / Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.header.scrolled .nav-link { color: var(--text); }
.header.scrolled .logo-text { color: var(--green-dark); }
.header.scrolled .nav-toggle span { background: var(--green-dark); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--green-mid);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

@font-face {
  font-family: 'Higuen Elegant Serif';
  src: local('Higuen Elegant Serif'), local('Higuen');
  font-display: swap;
}

@font-face {
  font-family: 'Hello Paris';
  src: local('Hello Paris');
  font-display: swap;
}

.logo-text {
  font-size: 1.35rem;
  color: var(--white);
  transition: color var(--transition);
  display: flex;
  flex-direction: column;
}

.logo-brand {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.mannil-font {
  font-family: 'Higuen Elegant Serif', var(--font-heading);
  font-weight: 400;
}

.group-font {
  font-family: 'Hello Paris', var(--font-heading);
  font-weight: 400;
}

.logo-tagline { 
  font-size: 0.85rem; 
  display: block; 
  font-family: var(--font-body); 
  font-weight: 400; 
  letter-spacing: 0.05em; 
  opacity: 0.85; 
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav-link.active { color: var(--brown-light); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  background: var(--brown-mid);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--brown-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-cta--whatsapp {
  background: #128c7e;
  border-color: #128c7e;
}

.nav-cta--whatsapp:hover {
  background: #0d6b60;
  border-color: #0d6b60;
  color: var(--white) !important;
}

.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #0b141a !important;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #0b141a !important;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: #fff;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 58, 31, 0.55) 0%,
    rgba(30, 58, 31, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 1.5rem 4rem;
  max-width: 900px;
}

.hero-phone {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brown-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions__break {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--brown-mid);
  color: var(--white);
  border-color: var(--brown-mid);
}

.btn-primary:hover {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-green {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}

.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.btn-orange {
  background: var(--brown-mid);
  color: var(--white) !important;
  border-color: var(--brown-mid);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1rem 2.25rem;
  border-radius: 4px;
}

.btn-orange:hover {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 68, 35, 0.25);
}

.btn-orange-outline {
  background: transparent;
  color: var(--white) !important;
  border-color: var(--white);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1rem 2.25rem;
  border-radius: 4px;
}

.btn-orange-outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--green-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-mid);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.service-card .service-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 1rem;
}

.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Property cards */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.property-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  color: var(--white);
}

.property-badge--land { background: var(--green-mid); }
.property-badge--residential { background: var(--brown-mid); }

.property-card__body { padding: 1.25rem 1.5rem 1.5rem; }

.property-card__price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--green-dark);
  margin-bottom: 0.25rem;
}

.property-card__location {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.property-card__meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown-mid);
  letter-spacing: 0.04em;
}

.property-card__link {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-mid);
}

/* About blurb */
.about-blurb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-blurb__quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--green-dark);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--brown-mid);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: rgba(107, 68, 35, 0.04);
  border-radius: var(--radius-lg);
}

.about-blurb__author {
  font-weight: 600;
  color: var(--brown-mid);
}

.about-blurb__credentials {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.about-blurb__cta {
  margin-top: 1.5rem;
}

/* CTA band & FAQ */
.cta-band {
  padding: 5rem 1.5rem;
  background: var(--bg);
}

.cta-band .container {
  background: linear-gradient(135deg, var(--brown-mid), var(--brown-dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  max-width: 1050px;
  box-shadow: 0 20px 40px rgba(107, 68, 35, 0.15);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-primary { background: var(--brown-mid); border-color: var(--brown-mid); }

.cta-band .btn-primary.btn-whatsapp {
  background: var(--white);
  color: var(--brown-dark) !important;
  border-color: var(--white);
}

.cta-band .btn-primary.btn-whatsapp:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--brown-dark) !important;
  transform: translateY(-2px);
}

/* CTA Band Split Layout */
.cta-band__layout {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.cta-band__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-band__col--fees {
  align-items: stretch;
}

.cta-band__divider {
  background: rgba(255, 255, 255, 0.15);
  align-self: stretch;
}

.cta-band__col h2 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.cta-band__col p {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  opacity: 0.85;
  font-size: 0.9rem !important;
  margin-bottom: 1.25rem !important;
}

.fees-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.fee-badge-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background var(--transition);
}

.fee-badge-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.fee-badge-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
  margin-bottom: 0.25rem;
}

.fee-badge-card__val {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--white);
  line-height: 1;
  margin: 0.25rem 0;
}

.fee-badge-card__desc {
  font-size: 0.7rem;
  opacity: 0.65;
}

.fee-note {
  font-size: 0.8rem !important;
  opacity: 0.75;
  margin-bottom: 0 !important;
  text-align: center;
}

/* FAQ Section */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  transition: color var(--transition);
}

@media (hover: hover) {
  .faq-item summary:hover {
    color: var(--green-mid);
  }
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--green-mid);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-content {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  background: var(--green-dark);
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1600&q=60') center/cover;
  opacity: 0.25;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.page-hero .page-hero__tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-light);
}

/* Listings page layout */
.listings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
  align-items: start;
}

.filters-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.filters-sidebar h2,
.filters-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.filter-group input[type="text"],
.filter-group input[type="number"],
.filter-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--cream);
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--green-mid);
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-checkboxes label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  cursor: pointer;
}

.filter-checkboxes input { accent-color: var(--green-mid); }

.filter-reset {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.6rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-reset:hover {
  border-color: var(--green-mid);
  color: var(--green-mid);
}

/* Listings request card at bottom */
.listings-request-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  margin-top: 4rem;
  border: 1px solid var(--border);
}

.listings-request-card h3 {
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 0.25rem;
}

.listings-request-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.listings-request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.listings-request-grid__left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.listings-request-grid__right {
  display: flex;
  flex-direction: column;
}

.listings-request-grid__right .form-group {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.listings-request-grid__right textarea {
  flex-grow: 1;
  min-height: 180px;
  resize: none;
}

.listings-request-btn-wrap {
  grid-column: span 2;
  margin-top: 1rem;
}

.listings-main__search {
  margin-bottom: 1.5rem;
}

.search-bar {
  display: flex;
  gap: 0.75rem;
}

.search-bar input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--green-mid);
}

.listings-count {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

/* Single listing */
.listing-detail { padding-top: 3rem; padding-bottom: 5rem; }

.listing-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 280px 200px;
  gap: 0.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.listing-gallery__main {
  grid-row: 1 / 3;
  grid-column: 1;
}

.listing-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.listing-gallery--single {
  display: flex !important;
  justify-content: center;
  align-items: center;
  background: rgba(30, 58, 31, 0.03); /* subtle green tint background */
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  height: auto !important; /* expand to fit image height */
}

.listing-gallery--single > div {
  max-width: 500px; /* standard flyer width */
  width: 100%;
  aspect-ratio: 1 / 1; /* keep square */
  height: auto;
}

.listing-gallery--single img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.listing-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.listing-header h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); }

.listing-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--green-mid);
}

.listing-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.listing-meta-item {
  font-size: 0.9rem;
}

.listing-meta-item strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.listing-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.listing-description h2,
.listing-features h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.listing-description p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.feature-list li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-mid);
  font-weight: 700;
}

.listing-map {
  margin-top: 2.5rem;
}

.listing-map h2 { font-size: 1.35rem; margin-bottom: 1rem; }

.map-embed {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: var(--radius-lg);
}

/* Forms */
.inquiry-form,
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.inquiry-form h2,
.inquiry-form h3,
.contact-form h2,
.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.inquiry-form > p,
.contact-form > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
}

.form-success {
  display: none;
  padding: 1rem;
  background: #e8f5e9;
  color: var(--green-dark);
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.form-success.visible { display: block; }

/* About page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-card__image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green-mid), var(--brown-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 3rem;
}

.team-card__body { padding: 1.5rem; }

.team-card h3 { font-size: 1.25rem; margin-bottom: 0.15rem; }

.team-card .role {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brown-mid);
  margin-bottom: 0.75rem;
}

.team-card .contact-info {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.team-card .contact-info a { color: var(--green-mid); }

.team-card p { font-size: 0.9rem; color: var(--text-muted); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.value-card p { font-size: 0.9rem; color: var(--text-muted); }

.story-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-card a:hover { color: var(--green-mid); }

.valuation-list {
  list-style: none;
  margin-top: 1rem;
}

.valuation-list li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.valuation-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brown-mid);
}

/* Footer */
.footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer .logo-text { color: var(--white); }

.footer-tagline {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  opacity: 0.8;
  line-height: 1.5;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 0.85rem; }

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.footer-contact a { 
  color: var(--white); 
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

.footer-contact a:hover { 
  color: var(--green-light); 
  text-decoration-color: var(--green-light);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background var(--transition);
}

.social-icons a:hover {
  background: var(--brown-mid);
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

.mobile-only { display: none; }

/* Mobile */
@media (max-width: 992px) {
  .listings-layout {
    grid-template-columns: 1fr;
  }

  .listings-main {
    order: 1;
  }

  .filters-sidebar {
    position: static;
    order: 2;
  }

  .listing-content {
    grid-template-columns: 1fr;
  }

  .listing-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .listing-gallery__main {
    grid-row: auto;
    aspect-ratio: 16/10;
  }

  .about-blurb {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout > div:first-child {
    order: 2;
  }

  .contact-layout > div:last-child {
    order: 1;
  }

  .contact-layout .contact-form {
    margin-top: 0 !important;
  }

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

/* Investments Page */
.invest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.invest-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.invest-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.invest-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-mid), var(--brown-mid));
}

.invest-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.invest-card:hover .invest-card__image img {
  transform: scale(1.04);
}

.invest-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  color: var(--white);
  z-index: 2;
}

.invest-badge--growth { background: #2563eb; }
.invest-badge--yield { background: #dc2626; }
.invest-badge--passive { background: #059669; }
.invest-badge--dev { background: #d97706; }
.invest-badge--jv { background: #7c3aed; }

.invest-card__body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.invest-card__body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}

.invest-card__body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-block; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li { width: 100%; }

  .nav-link {
    display: block;
    padding: 0.85rem 0;
    color: var(--text) !important;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    display: flex;
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }

  .hero-actions__break {
    flex-basis: 100%;
    margin-top: 0.25rem;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 135px;
    padding: 0.8rem 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border-radius: 4px;
  }

  .hero-actions__break .btn {
    width: auto;
    flex: 0 1 auto;
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }

  .section {
    padding: 3rem 0;
  }

  .page-hero {
    padding: calc(var(--nav-height) + 2rem) 0 2rem;
  }

  .cta-band {
    padding: 3rem 1.5rem;
  }

  .services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .service-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 1.5rem 0;
    border-bottom: 1px solid var(--border);
  }

  .service-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    border-left: 3px solid var(--green-mid);
    padding-left: 0.75rem;
    line-height: 1.2;
  }

  .service-card .service-tag {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    padding-left: 0.75rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    padding-left: 0.75rem;
  }

  .listings-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Featured scroll band on mobile */
  #featured-listings-buy,
  #featured-listings-sold {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.5rem 1.5rem 1.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #featured-listings-buy::-webkit-scrollbar,
  #featured-listings-sold::-webkit-scrollbar {
    display: none;
  }

  #featured-listings-buy .property-card,
  #featured-listings-sold .property-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    display: block;
  }

  #featured-listings-buy .property-card > a,
  #featured-listings-sold .property-card > a {
    display: block;
    min-height: auto;
  }

  #featured-listings-buy .property-card__image,
  #featured-listings-sold .property-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  #featured-listings-buy .property-card__body,
  #featured-listings-sold .property-card__body {
    width: 100%;
    padding: 1.25rem;
  }

  #featured-listings-buy .property-card__price,
  #featured-listings-sold .property-card__price {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }

  #featured-listings-buy .property-card__location,
  #featured-listings-sold .property-card__location {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  #featured-listings-buy .property-card__meta,
  #featured-listings-sold .property-card__meta {
    font-size: 0.75rem;
  }

  #featured-listings-buy .property-card__link,
  #featured-listings-sold .property-card__link {
    margin-top: 1rem;
    font-size: 0.85rem;
  }

  /* Catalog page list style card fallback */
  .property-card {
    display: block; /* container is block */
  }

  .property-card > a {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 130px;
  }
  
  .property-card__image {
    width: 40%;
    aspect-ratio: auto;
    position: relative;
    flex-shrink: 0;
  }
  
  .property-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .property-card__body {
    width: 60%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .property-card__price {
    font-size: 1.15rem;
    margin-bottom: 0.15rem;
  }
  
  .property-card__location {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
  }
  
  .property-card__meta {
    font-size: 0.75rem;
  }
  
  .property-card__link {
    margin-top: 0.25rem;
    font-size: 0.85rem;
  }
  
  .property-badge {
    padding: 0.2rem 0.4rem;
    font-size: 0.6rem;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
  }

  /* Single Listing Detail Page Fixes */
  .listing-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    border-radius: 0;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  
  .listing-gallery::-webkit-scrollbar {
    display: none;
  }

  .listing-gallery > div {
    flex: 0 0 85%;
    scroll-snap-align: center;
    aspect-ratio: 4/3;
  }
  
  .listing-gallery__main {
    aspect-ratio: 4/3;
  }

  .listing-gallery img {
    border-radius: var(--radius-lg);
  }

  .listing-gallery--single {
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: rgba(30, 58, 31, 0.03);
    border-radius: var(--radius-lg);
    padding: 1.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: auto !important;
  }

  .listing-gallery--single > div {
    flex: none !important;
    max-width: 400px !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
  }

  .listing-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .listing-price {
    font-size: 1.75rem;
    margin-top: 0.25rem;
  }

  .feature-list { grid-template-columns: 1fr; }

  .footer-grid { 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem 0.5rem;
    text-align: left;
  }
  
  .footer-grid > div {
    display: block;
    width: auto;
  }

  .footer-grid > div:nth-child(1) {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-grid > div:nth-child(4) {
    width: auto; /* reset full width */
  }
  
  .footer h4 {
    text-align: left;
    font-size: 0.85rem;
  }

  .footer-links li a,
  .footer-contact p,
  .footer-contact a {
    font-size: 0.9rem;
  }

  .footer-links {
    display: block;
  }

  .footer-tagline {
    max-width: none;
    margin-top: 0.75rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
  }

  .invest-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .invest-card__image {
    aspect-ratio: 16 / 10;
  }

  /* CTA Band Mobile Overrides */
  .cta-band__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .cta-band__col {
    align-items: center;
  }

  .cta-band__col--fees {
    align-items: stretch;
  }

  .cta-band__divider {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
  }

  .cta-band__col h2 {
    font-size: 1.6rem;
  }

  /* About Blurb Mobile overrides */
  .about-blurb {
    gap: 1.5rem;
  }

  .about-blurb p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .about-blurb__quote {
    font-size: 1.1rem;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    margin-bottom: 1rem;
  }

  .about-blurb__author {
    font-size: 0.875rem;
    padding-left: 0.25rem;
  }

  .about-blurb__credentials {
    font-size: 0.8rem;
    margin-top: 0.15rem;
    padding-left: 0.25rem;
  }

  .about-blurb__cta {
    margin-top: 1rem;
  }

  /* FAQ Mobile overrides */
  .faq-grid {
    gap: 0;
  }

  .faq-item {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--border);
  }

  .faq-item:first-child {
    border-top: 1px solid var(--border);
  }

  .faq-item summary {
    padding: 1rem 0.25rem;
    font-size: 0.975rem;
  }

  .faq-content {
    padding: 0 0.25rem 1rem;
    font-size: 0.9rem;
  }

  /* CTA Band Mobile Card Overrides */
  .cta-band {
    padding: 2.5rem 1rem;
  }

  .cta-band .container {
    padding: 2rem 1.25rem;
  }

  .cta-band__layout {
    gap: 1.75rem;
  }

  .cta-band h2 {
    font-size: 1.5rem;
  }

  .cta-band p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  /* Borderless Fee Columns */
  .fees-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .fee-badge-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.25rem 0.5rem;
    box-shadow: none;
  }

  .fee-badge-card:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .fee-badge-card__label {
    font-size: 0.7rem;
  }

  .fee-badge-card__val {
    font-size: 1.85rem;
    margin: 0.15rem 0;
  }

  .fee-badge-card__desc {
    font-size: 0.65rem;
  }

  /* Listings Request Card Mobile overrides */
  .listings-request-card {
    padding: 1.5rem;
    margin-top: 2.5rem;
  }
  
  .listings-request-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .listings-request-btn-wrap {
    grid-column: span 1;
    margin-top: 0.5rem;
  }
  
  .listings-request-grid__right textarea {
    min-height: 120px;
  }

  .filters-sidebar {
    display: block;
    position: static;
    order: 1;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .filters-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .filters-sidebar h2 {
    font-size: 1.15rem;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .filters-sidebar__toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green-mid);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background var(--transition);
  }

  .filters-sidebar__toggle:hover {
    background: rgba(45, 80, 22, 0.05);
  }

  .filters-sidebar__toggle .chevron {
    transition: transform var(--transition);
  }

  .filters-sidebar.open .filters-sidebar__toggle .chevron {
    transform: rotate(180deg);
  }

  .filters-sidebar__content {
    display: none;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
  }

  .filters-sidebar.open .filters-sidebar__content {
    display: block;
  }
}

.loading-dot {
  width: 8px;
  height: 8px;
  background-color: var(--green-mid);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}
