/* ==========================================================================
   ASSUKNA REAL ESTATE — Website Stylesheet
   Brand colors extracted from logo SVG
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand colors */
  --green-deep: #053220;
  --green-medium: #236E4A;
  --gold: #B89847;
  --gold-bright: #D9B563;

  /* Neutrals */
  --cream: #FAF7F2;
  --cream-warm: #F2EDE4;
  --off-white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-muted: #5C5C5C;
  --border-light: #E5E0D6;

  /* Typography */
  --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --container-max: 1240px;
  --section-padding: clamp(3rem, 8vw, 7rem);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(5, 50, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(5, 50, 32, 0.10);
  --shadow-lg: 0 20px 50px rgba(5, 50, 32, 0.15);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--green-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   2. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: var(--section-padding) 0;
}

.section-dark {
  background: var(--green-deep);
  color: var(--cream);
}

.section-dark h2,
.section-dark h3 {
  color: var(--cream);
}

.section-cream {
  background: var(--cream-warm);
}

/* --------------------------------------------------------------------------
   3. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

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

.nav-logo img {
  height: 48px;
  width: auto;
}

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

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--green-deep);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-deep);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-deep);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 50, 32, 0.15) 0%,
    rgba(5, 50, 32, 0.35) 50%,
    rgba(5, 50, 32, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-left: 3rem;
  position: relative;
}

.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: var(--gold-bright);
}

.hero-headline {
  color: var(--cream);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-sub {
  color: var(--cream);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.5;
  max-width: 560px;
  margin-bottom: 2.5rem;
  opacity: 0.92;
}

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

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-deep);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--cream);
  color: var(--green-deep);
}

.btn-dark {
  background: var(--green-deep);
  color: var(--cream);
  border-color: var(--green-deep);
}

.btn-dark:hover {
  background: var(--green-medium);
  border-color: var(--green-medium);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.15rem 2.5rem;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   6. Intro Section
   -------------------------------------------------------------------------- */
.intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.intro-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.intro h2 {
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 400;
}

.intro p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   7. Value Props Grid
   -------------------------------------------------------------------------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.value-card {
  padding: 2.5rem 2rem;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.value-card:hover::before {
  transform: scaleX(1);
}

.value-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. CTA Section (Browse Properties)
   -------------------------------------------------------------------------- */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
}

.cta-section p {
  color: var(--cream);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   9. Hot Deals Section — Infinite Horizontal Carousel
   -------------------------------------------------------------------------- */
.hot-deals-section { background: var(--cream); overflow: hidden; padding-bottom: var(--section-padding); }

.hot-deals-eyebrow {
  color: var(--gold) !important;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.hot-deals-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 3rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.hot-deals-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 1rem 0 1.5rem;
  animation: hd-scroll 40s linear infinite;
  will-change: transform;
}

@keyframes hd-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hd-card {
  flex: 0 0 280px;
  width: 280px;
  background: var(--off-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hd-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.hd-thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.hd-thumb--photo { padding: 0; }
.hd-thumb--photo img { width: 100%; height: 100%; object-fit: cover; }

.hd-thumb-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 12px);
  pointer-events: none;
}

.hd-type-tag {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.25);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.hd-body { padding: 1.1rem 1.25rem 1.25rem; }

.hd-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
  background: var(--cream-warm);
  color: var(--green-medium);
  border: 1px solid var(--border-light);
}
.hd-badge--hot  { background: #FFF4E0; color: #B45309; border-color: #F5CFA0; }
.hd-badge--excl { background: #E8F0EC; color: var(--green-deep); border-color: #B8D4C4; }
.hd-badge--rent { background: #EEF2FF; color: #3730A3; border-color: #C7D2FE; }
.hd-badge--inv  { background: #F0FDF4; color: #166534; border-color: #BBF7D0; }

.hd-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-deep);
  margin: 0 0 0.4rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hd-location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.hd-meta { display: flex; gap: 0.9rem; margin-bottom: 0.85rem; }
.hd-meta-item { display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; color: var(--text-muted); }

.hd-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0;
  letter-spacing: -0.01em;
}

.hot-deals-cta { margin-top: 2.5rem; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .hot-deals-track { animation: none; flex-wrap: wrap; width: 100%; }
}

/* --------------------------------------------------------------------------
   10. Page Headers (for inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  background: var(--green-deep);
  color: var(--cream);
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.page-header .eyebrow {
  display: inline-block;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.page-header h1 {
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.88;
}

/* --------------------------------------------------------------------------
   10. Properties Page (Airtable Embed)
   -------------------------------------------------------------------------- */
.embed-wrap {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
}

/* Full-bleed variant: breaks out of any parent max-width so the embed
   fills the viewport edge-to-edge. */
.embed-wrap-full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  max-width: 100vw;
}

.embed-wrap-full iframe {
  min-height: 88vh;
  height: 88vh;
}

/* Tighter vertical padding on the section that wraps a full-bleed embed */
.section-embed {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-embed .inventory-note {
  margin-top: 2.5rem;
}

@media (max-width: 720px) {
  .embed-wrap-full iframe {
    min-height: 78vh;
    height: 78vh;
  }
}

.inventory-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.inventory-note a {
  color: var(--green-medium);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
}

/* --------------------------------------------------------------------------
   11. Contact Page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: var(--cream-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--green-deep);
}

.contact-card-icon svg {
  width: 26px;
  height: 26px;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-card-value {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  word-break: break-word;
}

.contact-card a.btn-small {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: var(--green-deep);
  color: var(--cream);
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.contact-card a.btn-small:hover {
  background: var(--gold);
  color: var(--green-deep);
}

.form-section {
  max-width: 920px;
  margin: 0 auto;
}

.form-section h2 {
  text-align: center;
  margin-bottom: 0.75rem;
  font-style: italic;
  font-weight: 400;
}

.form-section > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* Native Inquiry Form */
.inquiry-form {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 680px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

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

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

.form-status {
  font-size: 0.95rem;
  padding: 0.6rem 0;
  min-height: 1.6rem;
  margin-bottom: 0.5rem;
}

.form-success { color: #1a6b35; font-weight: 600; }
.form-error   { color: #b91c1c; }

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .inquiry-form { padding: 1.5rem; }
}

/* --------------------------------------------------------------------------
   12. Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
}

/* Pulse animation on load */
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--green-deep);
  color: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

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

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1) sepia(0.3) hue-rotate(340deg) saturate(2);
}

.footer-brand p {
  color: var(--cream);
  opacity: 0.75;
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.65rem;
}

.footer ul a {
  color: var(--cream);
  opacity: 0.75;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.footer ul a:hover {
  opacity: 1;
  color: var(--gold-bright);
  padding-left: 4px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 247, 242, 0.25);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: var(--cream);
  transition: fill 0.25s ease;
}

.footer-socials a:hover svg {
  fill: var(--green-deep);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 247, 242, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   14. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 1rem 0;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .values {
    gap: 1.5rem;
    margin-top: 3rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .wa-float {
    width: 52px;
    height: 52px;
    bottom: 1rem;
    right: 1rem;
  }

  .wa-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .nav-logo img {
    height: 40px;
  }

  .hero-headline {
    font-size: 2.75rem;
  }
}

/* --------------------------------------------------------------------------
   15. Scroll Animations
   -------------------------------------------------------------------------- */
.will-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.will-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger value cards slightly */
.values .will-animate:nth-child(1) { transition-delay: 0s; }
.values .will-animate:nth-child(2) { transition-delay: 0.1s; }
.values .will-animate:nth-child(3) { transition-delay: 0.2s; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .will-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .wa-float::before {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   16. Mobile menu hamburger animation
   -------------------------------------------------------------------------- */
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   17. Article (Insights) Typography
   -------------------------------------------------------------------------- */
.article-header {
  background: var(--green-deep);
  color: var(--cream);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
}

.article-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.article-header .container { max-width: 820px; }

.article-tag {
  display: inline-block;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.article-header h1 {
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.article-header .article-deck {
  color: var(--cream);
  opacity: 0.85;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--cream);
  opacity: 0.8;
  flex-wrap: wrap;
}

.article-byline-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
}
.article-byline-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-byline strong { color: var(--cream); opacity: 1; font-weight: 600; }
.article-byline .sep { opacity: 0.4; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.article-body > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 500;
  float: left;
  line-height: 0.9;
  margin: 0.4rem 0.6rem 0 0;
  color: var(--gold);
}

.article-body p { margin-bottom: 1.5rem; }

.article-body h2 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
}

.article-body h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.4rem);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.article-body h2 + p,
.article-body h3 + p { margin-top: 0; }

.article-body ul,
.article-body ol {
  margin: 0 0 1.75rem 1.5rem;
  padding: 0;
}

.article-body li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.article-body a {
  color: var(--green-medium);
  border-bottom: 1px solid var(--gold);
  transition: all 0.2s ease;
}

.article-body a:hover {
  color: var(--green-deep);
  background: rgba(184, 152, 71, 0.1);
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.75rem;
  margin: 2rem 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--green-deep);
}

.article-body strong {
  color: var(--green-deep);
  font-weight: 600;
}

.article-body hr {
  border: none;
  height: 1px;
  background: var(--border-light);
  margin: 3rem 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.article-body th,
.article-body td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.article-body th {
  background: var(--cream-warm);
  font-weight: 600;
  color: var(--green-deep);
}

.article-body figure {
  margin: 2rem 0;
}

.article-body figure img {
  border-radius: 4px;
  width: 100%;
}

.article-body figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

.article-body .pull-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-style: italic;
  color: var(--green-deep);
  text-align: center;
  margin: 3rem 0;
  padding: 0 1rem;
  line-height: 1.4;
}

/* Article FAQ section (rendered after main body) */
.article-faq {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid var(--border-light);
}

.article-faq h2 {
  font-style: italic;
  font-weight: 400;
  margin-bottom: 2rem;
}

.article-faq .faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
}

.article-faq .faq-item:last-child { border-bottom: none; }

.article-faq .faq-q {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.article-faq .faq-a { color: var(--text-muted); line-height: 1.75; }

/* End-of-article CTA */
.article-cta {
  background: var(--cream-warm);
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: 4px;
  margin: 3rem auto;
  max-width: 720px;
}

.article-cta h3 {
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1rem;
}

.article-cta p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* --------------------------------------------------------------------------
   18. Newsletter Signup Section
   -------------------------------------------------------------------------- */
.newsletter-section {
  background: var(--green-deep);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.newsletter-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.newsletter-card .eyebrow {
  display: inline-block;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.newsletter-card h2 {
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

.newsletter-card .lead {
  color: var(--cream);
  opacity: 0.85;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.newsletter-iframe-wrap {
  background: var(--cream);
  border-radius: 4px;
  padding: 0.5rem;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

/* Native newsletter form (replaces Airtable iframe) */
.newsletter-form {
  width: 100%;
  margin-top: 0.5rem;
}

.newsletter-form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.newsletter-input {
  flex: 1;
  min-width: 180px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  color: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.15);
}

.newsletter-btn {
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
}

.newsletter-form-status {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  min-height: 1.4rem;
}

/* Light variant overrides for inputs */
.newsletter-section.newsletter-light .newsletter-input {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.newsletter-section.newsletter-light .newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-section.newsletter-light .newsletter-input:focus { border-color: var(--gold); }

@media (max-width: 600px) {
  .newsletter-form-row { flex-direction: column; }
  .newsletter-input, .newsletter-btn { width: 100%; }
}

.newsletter-fineprint {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.newsletter-fineprint a {
  color: var(--gold-bright);
  border-bottom: 1px solid var(--gold-bright);
}

.newsletter-fineprint a:hover {
  opacity: 1;
}

/* Lighter variant — for end-of-article placement against cream background */
.newsletter-section.newsletter-light {
  background: var(--cream-warm);
  color: var(--text-dark);
}

.newsletter-section.newsletter-light .newsletter-card h2 {
  color: var(--green-deep);
}

.newsletter-section.newsletter-light .newsletter-card .lead {
  color: var(--text-muted);
  opacity: 1;
}

.newsletter-section.newsletter-light .newsletter-card .eyebrow {
  color: var(--gold);
}

.newsletter-section.newsletter-light .newsletter-fineprint {
  color: var(--text-muted);
  opacity: 1;
}

.newsletter-section.newsletter-light .newsletter-fineprint a {
  color: var(--green-medium);
  border-bottom-color: var(--gold);
}

.newsletter-section.newsletter-light .newsletter-iframe-wrap {
  background: var(--off-white);
  box-shadow: var(--shadow-sm);
}


/* ==========================================================================
   PROPERTIES — Listings Grid + Cards + Filters
   Phase 2 of the Airtable-native rebuild.
   Added after the existing stylesheet — never modifies existing classes.
   ========================================================================== */

/* ── Filter bar ─────────────────────────────────────────────────────────── */

.properties-filter-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 0;
  background: var(--cream-warm);
  border-bottom: 1px solid var(--border-light);
}

.property-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--off-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C5C5C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.55rem 2.25rem 0.55rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  min-width: 160px;
  transition: border-color 0.2s ease;
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--green-medium);
  outline: none;
  box-shadow: 0 0 0 3px rgba(35, 110, 74, 0.1);
}

.filter-reset-group {
  padding-bottom: 1px; /* align baseline with selects */
}

.filter-reset-btn {
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.55rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-reset-btn:hover {
  border-color: var(--gold);
  color: var(--text-dark);
}

.filter-count {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Properties grid ────────────────────────────────────────────────────── */

.properties-grid-section {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* ── Individual property card ───────────────────────────────────────────── */

.property-card {
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.property-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.property-card:hover::after {
  transform: scaleX(1);
}

/* Card image area — fixed-height background image */
.property-card-image {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--green-medium);
  flex-shrink: 0;
}

.property-card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--green-deep);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
}

.property-card-price {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(5, 50, 32, 0.88);
  color: var(--gold-bright);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

/* Card body */
.property-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.property-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}

.property-card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── No results / inventory note ────────────────────────────────────────── */

.no-results-msg {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 0;
  font-size: 0.95rem;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--green-medium);
  font-family: var(--font-body);
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-btn:hover {
  color: var(--gold);
}

.inventory-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid var(--border-light);
  margin-top: 1rem;
}

.inventory-note a {
  color: var(--green-medium);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inventory-note a:hover {
  color: var(--gold);
}

/* ── Responsive adjustments ─────────────────────────────────────────────── */

@media (max-width: 768px) {
  .property-filters {
    gap: 0.85rem 1rem;
  }

  .filter-select {
    min-width: 140px;
    font-size: 0.85rem;
  }

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

  .property-card-image {
    height: 200px;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Phase 3 — Individual Property Detail Page
   ========================================================================== */

/* Breadcrumb bar */
.breadcrumb-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border-light);
  padding: 0.6rem 0;
  font-size: 0.85rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--text-muted);
  margin-right: 0.4rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb li[aria-current="page"] {
  color: var(--forest);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

/* Detail page wrapper */
.property-detail-page {
  padding: 2.5rem 0 4rem;
}

/* Gallery */
.property-gallery {
  margin-bottom: 2.5rem;
}

.gallery-main-wrap {
  position: relative;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 520px;
}

.gallery-main-img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-prev { left: 0.75rem; }
.gallery-next { right: 0.75rem; }
.gallery-arrow:hover { background: var(--gold); }

.gallery-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color 0.2s;
}

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

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--gold);
}

/* Two-column layout */
.property-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

/* Header */
.property-detail-header {
  margin-bottom: 1.5rem;
}

.property-detail-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

.property-detail-area {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.property-detail-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest);
  font-family: var(--font-serif);
}

/* Spec chips */
.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.spec-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.88rem;
  color: var(--forest);
}

.spec-icon { font-size: 1rem; }

/* Sections */
.property-detail-section {
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.property-detail-section h2 {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0.75rem;
  color: var(--forest);
}

.property-detail-desc {
  color: var(--text);
  line-height: 1.75;
  font-size: 1rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.4rem 0;
}

.features-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Sidebar */
.property-detail-sidebar {
  position: sticky;
  top: 5rem;
}

.sidebar-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sidebar-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest);
  font-family: var(--font-serif);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.sidebar-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.sidebar-cta-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.sidebar-link {
  text-align: center;
  font-size: 0.9rem;
  color: var(--green-medium);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: block;
}

.sidebar-link:hover { color: var(--gold); }

.sidebar-back {
  margin-top: 0.75rem;
}

/* Responsive */
@media (max-width: 900px) {
  .property-detail-layout {
    grid-template-columns: 1fr;
  }

  .property-detail-sidebar {
    position: static;
    order: -1;
  }

  .sidebar-card {
    padding: 1.25rem;
  }
}

@media (max-width: 600px) {
  .gallery-main-img { max-height: 280px; }
  .gallery-thumb { width: 64px; height: 48px; }
  .features-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Language switcher (shared — EN and AR pages)
   ========================================================================== */
.nav-menu .lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0;
}
.nav-menu .lang-switch a { color: var(--text-muted); }
.nav-menu .lang-switch a:hover { color: var(--gold); }
.lang-switch__active { color: var(--green-deep); }
.lang-switch__sep { opacity: 0.35; }

/* ==========================================================================
   Arabic / RTL overrides
   ========================================================================== */
[dir="rtl"] {
  --font-heading: 'Amiri', 'Noto Serif Arabic', Georgia, serif;
  --font-body: 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
  letter-spacing: 0;
}

/* Hero eyebrow decorative line — flip to right side */
[dir="rtl"] .hero-eyebrow {
  padding-left: 0;
  padding-right: 3rem;
}
[dir="rtl"] .hero-eyebrow::before {
  left: auto;
  right: 0;
}

/* Nav underline animation — grow from right */
[dir="rtl"] .nav-menu a::after {
  left: auto;
  right: 0;
  transform-origin: right;
}

/* Value card hover border — sweep from right */
[dir="rtl"] .value-card::before {
  transform-origin: right;
}

/* Footer link hover indent */
[dir="rtl"] .footer a:hover {
  padding-left: 0;
  padding-right: 4px;
}

/* Gallery prev/next swap positions */
[dir="rtl"] .gallery-prev {
  left: auto;
  right: 0.75rem;
}
[dir="rtl"] .gallery-next {
  right: auto;
  left: 0.75rem;
}

/* Button arrow — flip to point left */
[dir="rtl"] .btn svg {
  transform: scaleX(-1);
}

/* Article drop-cap — float right */
[dir="rtl"] .article-body p:first-of-type::first-letter {
  float: right;
  margin-right: 0;
  margin-left: 0.15em;
}
