/* ── Google Fonts ─────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Josefin+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --brand-50:  #eff6ff;
  --brand-100: #dbeafe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;
  --brand-950: #172554;
  --accent:    #f97316;
  --surface:   #f8fafc;
  --surface-muted: #f1f5f9;
  --border:    #e2e8f0;
  --ink:       #1e293b;
  --ink-muted: #64748b;
  --ink-subtle:#94a3b8;
  --white:     #ffffff;
  --header-h:  72px;
  --radius-xl: 14px;
  --radius-2xl:20px;
  --radius-3xl:28px;
  --shadow-card: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.08);
  --shadow-lg:   0 4px 24px -4px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.08);
  --shadow-xl:   0 20px 60px -12px rgba(0,0,0,.16);
  --transition:  200ms cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Josefin Sans', system-ui, sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width:640px)  { .container { padding: 0 1.5rem; } }
@media (min-width:1024px) { .container { padding: 0 2rem; } }

.section-py { padding: 4rem 0; }
@media (min-width:768px)  { .section-py { padding: 6rem 0; } }
@media (min-width:1024px) { .section-py { padding: 8rem 0; } }

/* ── Typography helpers ────────────────────────────────────────────────── */
.eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: .75rem;
  display: block;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -.025em;
}

.section-sub {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.0625rem;
  color: var(--ink-muted);
  max-width: 42rem;
  line-height: 1.7;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #fff;
}

.display-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -.025em;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: .875rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  user-select: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; }

.btn-primary {
  background: var(--brand-600);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-700); box-shadow: 0 4px 16px rgba(37,99,235,.4); }
.btn-primary:active { transform: scale(.98); }

.btn-outline {
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover { background: var(--surface-muted); border-color: var(--brand-300); }

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  padding: .5rem 1rem;
}
.btn-ghost:hover { background: var(--surface-muted); color: var(--ink); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius-2xl); }
.btn-white { background: #fff; color: var(--brand-700); }
.btn-white:hover { background: #eff6ff; }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  transition: all 300ms ease;
}
.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* ── Badges ────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem .75rem;
  border-radius: 99px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .75rem;
  font-weight: 500;
}
.badge-brand  { background: var(--brand-50);  color: var(--brand-700); }
.badge-accent { background: #fff7ed; color: var(--accent); }
.badge-muted  { background: var(--surface-muted); color: var(--ink-muted); }
.badge-white  { background: rgba(255,255,255,.9); color: var(--ink); }
.badge-green  { background: #f0fdf4; color: #16a34a; }

/* ── Form inputs ───────────────────────────────────────────────────────── */
.input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  background: #fff;
  padding: .75rem 1rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .875rem;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.input::placeholder { color: var(--ink-subtle); }
.input:focus { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.input.error { border-color: #ef4444; }

.label {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: .375rem;
}

/* ── Header ────────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  transition: all 300ms ease;
}
.header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: #fff;
  transition: color var(--transition);
}
.logo .dot { color: var(--brand-400); }
.header.scrolled .logo { color: var(--ink); }

.nav { display: none; align-items: center; gap: .25rem; }
@media (min-width:1024px) { .nav { display: flex; } }

.nav-link {
  position: relative;
  padding: .5rem .875rem;
  border-radius: .5rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .875rem;
  font-weight: 400;
  color: rgba(255,255,255,.88);
  transition: all var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: .25rem;
  left: .875rem;
  right: .875rem;
  height: 1px;
  background: rgba(255,255,255,.6);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 1px;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--brand-400); }
.nav-link.active::after { background: var(--brand-400); transform: scaleX(1); }

.header.scrolled .nav-link { color: var(--ink-muted); }
.header.scrolled .nav-link:hover { color: var(--ink); background: var(--surface-muted); }
.header.scrolled .nav-link::after { background: var(--brand-400); }
.header.scrolled .nav-link.active { color: var(--brand-600); }

.header-cta { display: none; }
@media (min-width:768px) { .header-cta { display: inline-flex; } }
.header.scrolled .header-cta { background: var(--brand-600); color: #fff; }
.header:not(.scrolled) .header-cta { background: #fff; color: var(--brand-700); }
.header:not(.scrolled) .header-cta:hover { background: #eff6ff; }

.burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: .5rem;
  color: #fff;
  transition: all var(--transition);
}
@media (min-width:1024px) { .burger { display: none; } }
.header.scrolled .burger { color: var(--ink); }
.burger:hover { background: rgba(255,255,255,.1); }
.header.scrolled .burger:hover { background: var(--surface-muted); }

/* Mobile menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(0,0,.2,1), opacity 300ms;
  opacity: 0;
}
.mobile-menu.open { max-height: 80vh; opacity: 1; }
.mobile-menu-inner { padding: 1rem; display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  border-radius: .75rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .875rem;
  color: var(--ink-muted);
  transition: all var(--transition);
}
.mobile-nav-link:hover { background: var(--surface-muted); color: var(--ink); }
.mobile-nav-link.active { background: var(--brand-50); color: var(--brand-700); font-weight: 500; }
.mobile-menu .btn { margin-top: .75rem; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: #fff; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.1); padding: 4rem 0; }
.footer-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width:768px) {
  .footer-cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0;
}
@media (min-width:640px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .05em;
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-col-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer-link {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
  display: block;
  padding: .25rem 0;
}
.footer-link:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width:640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom-text { font-size: .75rem; color: rgba(255,255,255,.35); font-family: 'Josefin Sans'; }

.social-links { display: flex; gap: .5rem; margin-top: 1.5rem; }
.social-link {
  width: 34px;
  height: 34px;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.45);
  transition: all var(--transition);
}
.social-link:hover { color: #fff; background: rgba(255,255,255,.1); }

/* Newsletter */
.newsletter-form { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; }
.newsletter-input {
  width: 100%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: .625rem 1rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .875rem;
  color: #fff;
  outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-input:focus { border-color: var(--brand-400); }
.newsletter-btn {
  background: var(--brand-600);
  color: #fff;
  border: none;
  border-radius: var(--radius-xl);
  padding: .625rem 1rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-btn:hover { background: var(--brand-500); }

/* ── Hero sections ─────────────────────────────────────────────────────── */
.page-hero {
  padding-top: var(--header-h);
  background: var(--ink);
}
.page-hero-inner { padding: 5rem 0; }

/* ── Stats bar ─────────────────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
}
@media (min-width:768px) { .stats-bar { grid-template-columns: repeat(4,1fr); } }
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-value { font-family: 'Cinzel', serif; font-size: 1.5rem; color: #fff; font-weight: 600; }
.stat-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); margin-top: .25rem; }

/* ── Property cards ────────────────────────────────────────────────────── */
.prop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width:768px)  { .prop-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1280px) { .prop-grid { grid-template-columns: repeat(3,1fr); } }

.prop-card { display: flex; flex-direction: column; }
.prop-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}
.prop-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.prop-card:hover .prop-img-wrap img { transform: scale(1.05); }
.prop-badges { position: absolute; top: .75rem; left: .75rem; display: flex; gap: .375rem; }
.prop-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.prop-location { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-subtle); margin-bottom: .25rem; }
.prop-name { font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.prop-price { font-family: 'Cinzel', serif; font-size: 1.5rem; color: var(--brand-600); font-weight: 600; margin-bottom: 1rem; }
.prop-meta { display: flex; gap: 1rem; font-size: .8125rem; color: var(--ink-muted); margin-bottom: 1.25rem; }
.prop-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--brand-600);
  transition: color var(--transition);
  margin-top: auto;
}
.prop-link:hover { color: var(--brand-800); }
.prop-link:hover .arrow { transform: translateX(3px); }
.arrow { transition: transform var(--transition); }

/* ── Service cards ─────────────────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width:640px)  { .service-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1024px) { .service-grid { grid-template-columns: repeat(4,1fr); } }

.service-card {
  padding: 1.5rem;
  cursor: pointer;
  display: block;
}
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card:hover .service-name { color: var(--brand-600); }
.service-name { font-family: 'Cinzel', serif; font-size: 1.125rem; font-weight: 600; margin-bottom: .5rem; transition: color var(--transition); }
.service-desc { font-size: .875rem; color: var(--ink-muted); line-height: 1.65; }

/* ── Testimonials ──────────────────────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width:768px) { .testi-grid { grid-template-columns: repeat(3,1fr); } }

.testi-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.stars { display: flex; gap: .25rem; margin-bottom: 1rem; color: #fbbf24; font-size: .875rem; }
.testi-quote { font-size: .9375rem; color: rgba(255,255,255,.75); line-height: 1.7; flex: 1; font-style: italic; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(37,99,235,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 600;
  color: var(--brand-300);
  flex-shrink: 0;
}
.testi-name { font-size: .875rem; font-weight: 500; color: #fff; }
.testi-role { font-size: .75rem; color: rgba(255,255,255,.45); }

/* ── Section CTA box ───────────────────────────────────────────────────── */
.cta-box {
  background: var(--brand-600);
  border-radius: var(--radius-3xl);
  padding: 3rem 2rem;
  text-align: center;
}
@media (min-width:768px) { .cta-box { padding: 4rem; } }
.cta-box-title { font-family: 'Cinzel', serif; font-size: clamp(1.75rem, 4vw, 3rem); color: #fff; font-weight: 600; margin-bottom: 1rem; }
.cta-box-sub { font-size: 1.0625rem; color: rgba(219,234,254,.9); margin-bottom: 2rem; max-width: 36rem; margin-left: auto; margin-right: auto; }

/* ── Values grid ───────────────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width:640px)  { .values-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1024px) { .values-grid { grid-template-columns: repeat(4,1fr); } }

.value-card { padding: 1.5rem; }
.value-icon-wrap {
  width: 40px; height: 40px;
  border-radius: .75rem;
  background: var(--brand-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-600);
  margin-bottom: 1rem;
}
.value-title { font-family: 'Cinzel', serif; font-size: 1.0625rem; font-weight: 600; margin-bottom: .5rem; }
.value-desc { font-size: .875rem; color: var(--ink-muted); line-height: 1.7; }

/* ── Team ──────────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width:640px)  { .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1024px) { .team-grid { grid-template-columns: repeat(3,1fr); } }

.team-card { padding: 1.5rem; }
.team-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-100);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-700);
  flex-shrink: 0;
}
.team-name { font-family: 'Cinzel', serif; font-size: .9375rem; font-weight: 600; }
.team-role { font-size: .75rem; color: var(--brand-600); font-weight: 500; margin-top: .125rem; }
.team-bio { font-size: .875rem; color: var(--ink-muted); line-height: 1.65; }
.team-area {
  display: flex;
  align-items: center;
  gap: .375rem;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  color: var(--ink-subtle);
}

/* ── Timeline ──────────────────────────────────────────────────────────── */
.timeline { position: relative; border-left: 2px solid var(--brand-200); margin-left: 1rem; }
.timeline-item { position: relative; padding-left: 2rem; margin-bottom: 2.5rem; }
.timeline-dot {
  position: absolute;
  left: -12px;
  top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-600);
  border: 4px solid var(--surface);
}
.timeline-year { font-size: .875rem; font-weight: 600; color: var(--brand-600); margin-bottom: .25rem; font-family: 'Cinzel', serif; }
.timeline-event { font-size: .875rem; color: var(--ink-muted); line-height: 1.65; }

/* ── Stats grid (brand bg) ─────────────────────────────────────────────── */
.stats-brand {
  background: var(--brand-600);
}
.stats-brand-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  border-left: none;
}
@media (min-width:768px) { .stats-brand-grid { grid-template-columns: repeat(4,1fr); } }
.stats-brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.stats-brand-value { font-family: 'Cinzel', serif; font-size: clamp(1.75rem,4vw,2.5rem); color: #fff; font-weight: 600; margin-bottom: .25rem; }
.stats-brand-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(219,234,254,.75); }

/* ── FAQ accordion ─────────────────────────────────────────────────────── */
.faq-group { margin-bottom: 3rem; }
.faq-group-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: .5rem;
  background: #fff;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--brand-200); }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.faq-q { font-size: .9375rem; font-weight: 500; color: var(--ink); line-height: 1.45; }
.faq-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 300ms;
  color: var(--ink-muted);
}
.faq-item.open .faq-icon { background: var(--brand-600); border-color: var(--brand-600); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding 300ms ease;
  padding: 0 1.5rem;
  font-size: .9rem;
  color: var(--ink-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 600px; padding: 0 1.5rem 1.5rem; }

/* ── Blog ──────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width:768px)  { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1280px) { .blog-grid { grid-template-columns: repeat(3,1fr); } }

.blog-card { display: flex; flex-direction: column; }
.blog-img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-title { font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 600; margin-bottom: .75rem; line-height: 1.3; flex: 1; }
.blog-title a:hover { color: var(--brand-600); }
.blog-excerpt { font-size: .875rem; color: var(--ink-muted); line-height: 1.65; margin-bottom: 1rem; }
.blog-meta { display: flex; align-items: center; gap: .75rem; font-size: .75rem; color: var(--ink-subtle); padding-top: 1rem; border-top: 1px solid var(--border); margin-top: auto; }
.blog-meta-sep { color: var(--border); }

/* Featured blog */
.blog-featured { margin-bottom: 2.5rem; }
.blog-featured-inner { display: grid; grid-template-columns: 1fr; }
@media (min-width:1024px) { .blog-featured-inner { grid-template-columns: repeat(2,1fr); } }
.blog-featured-img { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; }
@media (min-width:1024px) { .blog-featured-img { border-radius: var(--radius-2xl) 0 0 var(--radius-2xl); aspect-ratio: unset; min-height: 360px; } }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms; }
.blog-featured:hover .blog-featured-img img { transform: scale(1.04); }
.blog-featured-body {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}
@media (min-width:1024px) { .blog-featured-body { border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0; } }
.blog-featured-title { font-family: 'Cinzel', serif; font-size: clamp(1.25rem,2.5vw,1.875rem); font-weight: 600; margin-bottom: .75rem; line-height: 1.25; }
.blog-featured-title a:hover { color: var(--brand-600); }

/* ── Contact form ──────────────────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width:640px) { .form-row { grid-template-columns: repeat(2,1fr); } }
.form-group { margin-bottom: 1.25rem; }
.field-error { font-size: .75rem; color: #ef4444; margin-top: .375rem; display: none; }
.field-error.show { display: block; }
.form-note { font-size: .75rem; color: var(--ink-subtle); text-align: center; margin-top: .75rem; }

.success-state {
  text-align: center;
  padding: 2.5rem;
  display: none;
}
.success-state.show { display: block; }
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}

/* ── Contact info ──────────────────────────────────────────────────────── */
.contact-item { display: flex; gap: .75rem; margin-bottom: 1rem; align-items: flex-start; }
.contact-icon { color: var(--brand-600); flex-shrink: 0; margin-top: 2px; }
.contact-text { font-size: .9rem; color: var(--ink-muted); line-height: 1.6; }
.contact-text a { color: var(--ink-muted); transition: color var(--transition); }
.contact-text a:hover { color: var(--brand-600); }

/* ── Prose (legal pages) ───────────────────────────────────────────────── */
.prose { max-width: 48rem; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.prose h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.prose p { font-size: .9375rem; color: var(--ink-muted); line-height: 1.75; margin-bottom: 1rem; }
.prose ul { margin: .75rem 0 1rem 1.25rem; }
.prose ul li { font-size: .9375rem; color: var(--ink-muted); line-height: 1.75; margin-bottom: .375rem; list-style: disc; }
.prose a { color: var(--brand-600); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--ink); }
.prose address {
  background: var(--surface-muted);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  font-size: .875rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin: 1rem 0;
}

/* ── Property detail ───────────────────────────────────────────────────── */
.prop-hero { position: relative; height: 50vh; min-height: 360px; background: var(--ink); overflow: hidden; }
@media (min-width:768px) { .prop-hero { height: 60vh; } }
.prop-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.thumb-strip {
  background: rgba(30,41,59,.95);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: .75rem 0;
}
.thumb-strip-inner { display: flex; gap: .75rem; overflow-x: auto; scrollbar-width: thin; }
.thumb-strip-inner::-webkit-scrollbar { height: 4px; }
.thumb { width: 96px; height: 64px; flex-shrink: 0; border-radius: .5rem; overflow: hidden; cursor: pointer; opacity: .65; transition: opacity var(--transition); }
.thumb:hover { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.prop-detail-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width:1024px) { .prop-detail-grid { grid-template-columns: 1fr 340px; } }
.prop-specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.spec-box { text-align: center; padding: 1rem; }
.spec-val { font-family: 'Cinzel', serif; font-size: 1.5rem; font-weight: 600; }
.spec-lbl { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); margin-top: .25rem; }
.features-list { display: grid; grid-template-columns: 1fr; gap: .5rem; }
@media (min-width:640px) { .features-list { grid-template-columns: repeat(2,1fr); } }
.feature-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-muted); }
.feature-check { color: var(--brand-600); flex-shrink: 0; }

.agent-card { padding: 1.5rem; }
.agent-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.agent-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-100);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand-700);
  flex-shrink: 0;
}
.agent-name { font-size: .9375rem; font-weight: 500; }
.agent-title { font-size: .75rem; color: var(--brand-600); margin-top: .125rem; }

/* ── Category filters ──────────────────────────────────────────────────── */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  padding: 1rem 0;
}
.filter-inner { display: flex; flex-wrap: wrap; gap: .625rem; align-items: center; }
.filter-btn {
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: transparent;
  padding: .375rem .875rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--brand-300); background: var(--brand-50); color: var(--brand-700); }
.filter-btn.active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-brand  { color: var(--brand-600); }
.text-brand-400 { color: var(--brand-400); }
.mb-2  { margin-bottom: .5rem; }
.mb-3  { margin-bottom: .75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-auto { margin-top: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.bg-white { background: #fff; }
.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); }
.bg-brand { background: var(--brand-600); }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Animations ────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-in  { animation: fadeIn .5s ease both; }
.animate-fade-up  { animation: fadeUp .6s cubic-bezier(.4,0,.2,1) both; }
.anim-delay-100   { animation-delay: 100ms; }
.anim-delay-200   { animation-delay: 200ms; }
.anim-delay-300   { animation-delay: 300ms; }

.aoe { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.aoe.visible { opacity: 1; transform: translateY(0); }

/* ── Skip link ─────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brand-600);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 500;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ── Map embed ─────────────────────────────────────────────────────────── */
.map-embed { border-radius: var(--radius-xl); overflow: hidden; }
.map-embed iframe { display: block; border: 0; }

/* ── Your Real Estate — logo size fix for longer brand name ────────────── */
.logo {
  font-size: 1rem !important;
  letter-spacing: 0.01em;
}
@media (min-width: 640px) {
  .logo { font-size: 1.1rem !important; }
}
.footer-logo {
  font-size: 1.1rem !important;
}
