/* Raju Gari Real Estate – Attractive white theme, customer-focused */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f5f8;
  --bg-warm: #fdfbf7;
  --surface: #ffffff;
  --text: #1a1d24;
  --muted: #5c6370;
  --accent: #b8860b;
  --accent-dark: #8b6914;
  --accent-soft: rgba(184, 134, 11, 0.1);
  --accent-glow: rgba(184, 134, 11, 0.15);
  --border: #e2e6ec;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
  --shadow-accent: 0 8px 32px rgba(184, 134, 11, 0.2);
  --radius: 12px;
  --radius-lg: 18px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Subtle dot pattern (base64 SVG) for textured backgrounds */
  --pattern-dots: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='0.75' fill='%23e2e6ec' fill-opacity='0.6'/%3E%3C/svg%3E");
  --pattern-grid: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40V0h1v40H0zm40 0H0v-1h40v1z' fill='%23e2e6ec' fill-opacity='0.25'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    var(--pattern-dots),
    radial-gradient(ellipse 140% 90% at 50% -15%, var(--accent-soft) 0%, transparent 45%),
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(184, 134, 11, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  background-attachment: fixed;
  background-size: 24px 24px, 100% 100%, 100% 100%, 100% 100%;
  background-position: 0 0, 0 0, 0 0, 0 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header – clean bar, no dark overlay */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo .logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
}

/* Hero – eye-catching with subtle pattern and accent */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  background: linear-gradient(165deg, var(--bg-warm) 0%, var(--bg-soft) 45%, var(--bg) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse 80% 70% at 90% 30%, var(--accent-glow) 0%, transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.35;
}

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

/* Hero photo slideshow (home only) */
.hero-with-slideshow {
  padding: 0;
  min-height: 520px;
  display: flex;
  align-items: center;
}

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

.hero-with-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-with-slideshow .hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slideshow-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(26, 29, 36, 0.75) 0%, rgba(26, 29, 36, 0.5) 50%, rgba(26, 29, 36, 0.4) 100%);
  pointer-events: none;
}

.hero-with-slideshow .container {
  z-index: 3;
  padding: 4rem 0 5rem;
}

.hero-with-slideshow .hero-content h1,
.hero-with-slideshow .hero-content .hero-sub,
.hero-with-slideshow .hero-content .eyebrow {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-with-slideshow .hero-content .eyebrow {
  color: rgba(255, 255, 255, 0.95);
}

.hero-with-slideshow .hero-content .hero-sub {
  color: rgba(255, 255, 255, 0.9);
}

.hero-with-slideshow .hero-card {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-slideshow-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
}

.hero-slideshow-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hero-slideshow-dots button:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-slideshow-dots button.active {
  background: var(--accent);
  transform: scale(1.2);
}

.hero-with-slideshow::before,
.hero-with-slideshow::after {
  display: none;
}

.hero-content {
  animation: fadeInUp 0.7s ease-out;
}

.hero-content .eyebrow {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-content h1 {
  animation: fadeInUp 0.7s ease-out 0.15s both;
}

.hero-content .hero-sub {
  animation: fadeInUp 0.7s ease-out 0.25s both;
}

.hero-content .btn-row {
  animation: fadeInUp 0.7s ease-out 0.35s both;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-card {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.25;
  margin: 0 0 0.6rem;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 600;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

.hero-sub {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.0625rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.hero-card h3 {
  color: var(--accent);
  margin-top: 0;
}

.hero-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: transform 0.2s ease, background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #6b5012 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Sections – effective backgrounds on all pages */
.section {
  padding: 4rem 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 70% 50% at 0% 30%, rgba(184, 134, 11, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-alt {
  background-color: var(--bg-soft);
  background-image:
    var(--pattern-dots),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-warm) 50%, #faf9f6 100%);
  background-size: 24px 24px, 100% 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 25%, var(--accent-soft) 0%, transparent 45%),
    radial-gradient(circle at 25% 75%, rgba(184, 134, 11, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.section-alt > * {
  position: relative;
  z-index: 1;
}

.section-stats {
  padding-top: 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 60ch;
}

.section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.0625rem;
}

/* Stats / trust strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
  align-items: stretch;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}

.stats-strip .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  animation: fadeInUp 0.6s ease-out both;
}

.stats-strip .stat-item:nth-child(1) { animation-delay: 0.1s; }
.stats-strip .stat-item:nth-child(2) { animation-delay: 0.2s; }
.stats-strip .stat-item:nth-child(3) { animation-delay: 0.3s; }
.stats-strip .stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  display: block;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Why choose us / trust grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 134, 11, 0.25);
}

.trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
}

.trust-item h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.trust-item p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid .card {
  animation: fadeInUp 0.5s ease-out both;
}

.card-grid.three .card:nth-child(1) { animation-delay: 0.05s; }
.card-grid.three .card:nth-child(2) { animation-delay: 0.1s; }
.card-grid.three .card:nth-child(3) { animation-delay: 0.15s; }
.card-grid.three .card:nth-child(4) { animation-delay: 0.2s; }
.card-grid.three .card:nth-child(5) { animation-delay: 0.25s; }
.card-grid.three .card:nth-child(6) { animation-delay: 0.3s; }
.card-grid.two .card:nth-child(1) { animation-delay: 0.05s; }
.card-grid.two .card:nth-child(2) { animation-delay: 0.15s; }

/* Rate reference cards: small icons above titles */
.rate-cards .rate-card-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.rate-cards .rate-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent-dark);
}

.service-card {
  position: relative;
}

.service-card h3 {
  font-size: 1.25rem;
  padding-left: 0.25rem;
}

.card-features {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.card-features li {
  position: relative;
  padding-left: 1rem;
  margin-top: 0.35rem;
}

.card-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.muted-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.7;
}

.text-center {
  text-align: center;
  margin-top: 1.5rem;
}

.property-card {
  overflow: hidden;
}

.property-card-clickable {
  cursor: pointer;
}

.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  transition: transform 0.5s ease;
}

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

.property-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  color: var(--accent);
  font-weight: 700;
}

/* Page banner (inner pages) – strong, effective background */
.page-banner {
  position: relative;
  padding: 4.5rem 0 3rem;
  background-color: var(--bg-warm);
  background-image:
    var(--pattern-dots),
    linear-gradient(165deg, var(--bg-warm) 0%, var(--bg-soft) 40%, rgba(255, 255, 255, 0.97) 100%);
  background-size: 24px 24px, 100% 100%;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 90% 70% at 85% 15%, var(--accent-glow) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 15% 70%, rgba(184, 134, 11, 0.1) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

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

.page-banner .eyebrow {
  margin-bottom: 0.35rem;
}

.page-banner h1 {
  animation: fadeInUp 0.6s ease-out;
}

.page-banner p {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 56ch;
}

/* Homepage founder spotlight – reversed layout, effective background */
.founder-spotlight {
  background-color: var(--bg-warm);
  background-image:
    var(--pattern-dots),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-soft) 60%, #f8f7f5 100%);
  background-size: 24px 24px, 100% 100%;
  position: relative;
}

.founder-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 100% 50%, var(--accent-soft) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.founder-spotlight .founder-spotlight-grid {
  position: relative;
  z-index: 1;
}

.founder-spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.founder-spotlight-content .eyebrow {
  margin-bottom: 0.5rem;
}

.founder-spotlight-content h2 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.founder-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.25rem;
}

.founder-spotlight-content p:not(.founder-role) {
  margin-bottom: 1rem;
}

.founder-spotlight-content .btn {
  margin-top: 0.5rem;
}

.founder-spotlight-photo {
  position: relative;
  max-width: 320px;
  margin-left: auto;
}

.founder-spotlight-photo::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--accent);
  opacity: 0.4;
  z-index: 0;
}

.founder-spotlight-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* About page: centered founder content */
.about-founder .content-block-centered {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-founder .owner-photo {
  margin-left: auto;
  margin-right: auto;
}

.about-founder .pull-quote {
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}

.owner-photo {
  margin: 0 0 1.25rem;
  max-width: 260px;
}

.owner-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
}

.owner-photo figcaption {
  margin-top: 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.owner-photo .owner-role {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.15rem;
}

.pull-quote {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--bg-warm);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.timeline {
  border-left: 3px solid var(--accent);
  margin-left: 0.5rem;
  padding-left: 1.25rem;
}

.timeline-item {
  margin-bottom: 1.1rem;
}

.timeline-item span {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.2rem;
  font-size: 0.9375rem;
}

/* Filters */
.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0.65rem 0.75rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.social-follow {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.social-follow-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.social-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.social-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.social-btn svg {
  width: 22px;
  height: 22px;
}

.cta-box {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--bg-warm);
  background-image:
    var(--pattern-dots),
    linear-gradient(135deg, var(--bg-warm) 0%, rgba(184, 134, 11, 0.08) 50%, rgba(184, 134, 11, 0.04) 100%);
  background-size: 24px 24px, 100% 100%;
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: var(--radius-lg);
  position: relative;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, var(--accent-soft) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box h2,
.cta-box p,
.cta-box .btn-row {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  margin-bottom: 0.5rem;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.cta-box .btn-row {
  justify-content: center;
  margin-top: 0;
}

.map-wrap {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.small-note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.text-link {
  color: var(--accent);
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
}

.no-results {
  color: var(--muted);
  text-align: center;
  padding: 2rem;
}

.hidden {
  display: none !important;
}

/* Footer – professional multi-column layout */
.footer {
  border-top: 1px solid var(--border);
  background-color: #1a1d24;
  color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 2.5rem 0 2rem;
  align-items: start;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo:hover {
  color: var(--accent);
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links nav a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact p {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
}

.footer-contact p:last-child {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact .dynamic-address {
  color: rgba(255, 255, 255, 0.7);
}

.footer-map-btn {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  color: #fff !important;
}

.footer-map-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

.footer-bottom .container p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0 1.5rem;
    text-align: center;
  }

  .footer-brand {
    max-width: none;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-links nav {
    align-items: center;
  }

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

/* Property modal (popup on card click) */
.property-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.property-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.property-modal {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.property-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-soft);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  z-index: 1;
}

.property-modal-close:hover {
  background: var(--accent);
  color: #fff;
}

.property-modal-body {
  display: grid;
  grid-template-columns: 1fr;
}

.property-modal-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.property-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-modal-content {
  padding: 1.5rem;
}

.property-modal-title {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.property-modal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
}

.property-modal-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.property-modal-area {
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.property-modal-rates h3 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.property-modal-rates-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.property-modal-rates-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

.property-modal-rates-list li:last-child {
  border-bottom: none;
}

.property-modal-rates-list li.rate-highlight {
  color: var(--accent);
  font-weight: 600;
}

.property-modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .property-modal-body {
    grid-template-columns: 1.2fr 1fr;
  }

  .property-modal-image-wrap {
    aspect-ratio: auto;
    min-height: 280px;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-with-slideshow {
    min-height: 420px;
  }

  .hero-with-slideshow .container {
    padding: 3rem 0 4rem;
  }

  .hero-grid,
  .split,
  .founder-spotlight-grid,
  .card-grid.three,
  .card-grid.two {
    grid-template-columns: 1fr;
  }

  .founder-spotlight-photo {
    margin-left: auto;
    margin-right: auto;
    max-width: 280px;
  }

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

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

@media (max-width: 720px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
  }
}

@media (max-width: 520px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.5rem 0;
  }

  .stat-value {
    font-size: 1.65rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content .hero-sub,
  .hero-content .btn-row,
  .hero-card,
  .page-banner h1,
  .card-grid .card,
  .stats-strip .stat-item {
    animation: none;
  }

  .hero-with-slideshow .hero-slide {
    transition: none;
  }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.6rem 0.75rem;
  }
}
