/* Vee Uribe Real Estate — styles
   Colors: teal #006B6B, gold #C9A961, white on dark teal
   Fonts: Playfair Display (headings), Inter (body)
*/

:root {
  --teal: #006B6B;
  --teal-700: #00504F;
  --teal-900: #002424;
  --gold: #C9A961;
  --gold-soft: #E0C891;
  --ink: #0e1f1f;
  --paper: #f7f4ee;
  --paper-2: #ffffff;
  --line: #e7e1d3;
  --muted: #6b7574;
  --shadow: 0 8px 24px rgba(0, 32, 32, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .4em;
  color: var(--teal-900);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-700); text-decoration: underline; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; color: var(--gold); font-weight: 600; margin-bottom: .75em; }

/* ---------- header ---------- */
.site-header {
  background: var(--teal-900);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--teal-900);
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem;
}
.brand-text strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.05rem; letter-spacing: .02em; }
.brand-text small { color: var(--gold-soft); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

.primary-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.primary-nav a { color: #fff; font-weight: 500; font-size: .95rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.primary-nav a:hover { color: var(--gold-soft); text-decoration: none; }
.primary-nav a.active { border-bottom-color: var(--gold); color: var(--gold-soft); }
.primary-nav a.cta {
  background: var(--gold); color: var(--teal-900);
  padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
.primary-nav a.cta:hover { background: var(--gold-soft); color: var(--teal-900); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, var(--teal-900), var(--teal) 80%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(201,169,97,.25), transparent 60%),
    radial-gradient(700px 500px at 90% 80%, rgba(0,107,107,.45), transparent 60%);
  pointer-events: none;
}
.hero-overlay { position: absolute; inset: 0; background:
  linear-gradient(0deg, rgba(0,36,36,.55), rgba(0,36,36,.15) 60%, rgba(0,36,36,0));
  pointer-events: none;
}
.hero-content { position: relative; padding: 96px 0 80px; }
.hero-content h1 { color: #fff; max-width: 16ch; }
.hero-content .lede { font-size: 1.2rem; max-width: 50ch; color: #f1ece1; }
.hero-ctas { display: flex; gap: 14px; margin: 28px 0 32px; flex-wrap: wrap; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold); }
.hero-stats span { color: #efe6d3; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; cursor: pointer;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn.primary { background: var(--gold); color: var(--teal-900); }
.btn.primary:hover { background: var(--gold-soft); color: var(--teal-900); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn.small { padding: 8px 14px; font-size: .9rem; }
.btn.lg { padding: 16px 28px; font-size: 1.05rem; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.more { color: var(--teal); font-weight: 600; }

.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 820px) {
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
}

/* ---------- card ---------- */
.card {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.card.feature h3 { color: var(--teal); }
.feature-icon { font-size: 1.6rem; margin-bottom: 8px; }

/* ---------- listings ---------- */
.listing-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.listing-media { display: block; }
.listing-photo {
  height: 180px;
  background:
    linear-gradient(135deg, rgba(0,107,107,.4), rgba(201,169,97,.25)),
    linear-gradient(45deg, #1d4747 0%, #006b6b 50%, #c9a961 100%);
  position: relative;
}
.listing-photo::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 60%, rgba(255,255,255,.18) 0 30%, transparent 35%),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.10) 0 25%, transparent 30%);
  pointer-events: none;
}
.price-pin {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(14,31,31,.85); color: var(--gold);
  padding: 6px 10px; border-radius: 8px; font-weight: 700; font-size: .9rem;
}
.listing-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.listing-title { font-size: 1.05rem; margin: 0; }
.listing-title a { color: var(--teal-900); }
.listing-area { color: var(--muted); font-size: .9rem; margin: 0; }
.listing-stats {
  list-style: none; padding: 0; margin: 4px 0 8px;
  display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem;
}
.listing-stats strong { color: var(--teal); }

/* ---------- page hero (sub pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--teal-900), var(--teal)); color: #fff; padding: 80px 0 60px; }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #efe6d3; max-width: 60ch; }
.page-hero.small { padding: 64px 0 48px; }

/* ---------- neighborhoods ---------- */
.neighborhood-hero {
  position: relative; color: #fff; padding: 100px 0 70px;
  background: linear-gradient(160deg, var(--teal-900), var(--teal));
}
.n-hero-overlay { position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 20%, rgba(201,169,97,.25), transparent 60%); }
.n-hero-content { position: relative; }
.neighborhood-card { padding: 0; overflow: hidden; }
.n-media { height: 180px; background: linear-gradient(135deg, var(--teal), var(--gold-soft)); }
.n-body { padding: 20px; }
.n-vibe { color: var(--muted); font-style: italic; }

/* ---------- listing detail ---------- */
.crumbs { font-size: .9rem; color: var(--muted); margin: 24px 0 12px; }
.crumbs a { color: var(--teal); }
.crumbs span { margin: 0 6px; opacity: .6; }
.detail-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(280px,1fr); gap: 32px; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-photo {
  height: 360px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal-900), var(--teal) 60%, var(--gold-soft));
  margin-bottom: 18px;
}
.detail-header { padding: 0 0 12px; }
.detail-header .price { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--teal); margin: 6px 0 12px; }
.detail-stats { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 22px; flex-wrap: wrap; }
.detail-stats li { background: var(--paper); border: 1px solid var(--line); padding: 8px 14px; border-radius: 10px; }
.detail-stats strong { color: var(--teal); }
.detail-section { margin: 28px 0; }
.detail-aside .sticky { position: sticky; top: 96px; }
.chip-list { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: .9rem; }

/* ---------- forms ---------- */
.lead-form { display: flex; flex-direction: column; gap: 10px; }
.lead-form label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; color: var(--ink); font-weight: 500; }
.lead-form input, .lead-form textarea, .lead-form select {
  font: inherit; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.lead-form button { margin-top: 6px; align-self: flex-start; }
.form-msg { font-size: .9rem; min-height: 1.2em; }
.form-msg.ok  { color: #146b3b; }
.form-msg.err { color: #b3261e; }

/* ---------- stats ---------- */
.stats .stat { background: var(--paper-2); padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); text-align: center; }
.stat-label { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--muted); }
.stat-value { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--teal); margin-top: 4px; }

/* ---------- testimonials ---------- */
.quote blockquote { margin: 0 0 10px; font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--teal-900); }
.quote figcaption { color: var(--muted); font-size: .9rem; }

/* ---------- cta band ---------- */
.cta-band { padding: 32px 0 80px; }
.cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--teal-900); color: #fff; padding: 32px; border-radius: var(--radius);
  flex-wrap: wrap;
}
.cta-card h2 { color: #fff; margin-bottom: 6px; }
.cta-card p  { color: #efe6d3; margin: 0; max-width: 60ch; }

/* ---------- filter bar ---------- */
.filter-bar { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-bar input, .filter-bar select { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: #fff; }
.filter-bar input { flex: 1 1 280px; }

/* ---------- post ---------- */
.post { background: #fff; border: 1px solid var(--line); padding: 36px; border-radius: var(--radius); }
.post p { font-size: 1.05rem; }
.post-cta { margin-top: 24px; }
.post-list .post-card h2 { font-size: 1.25rem; }

/* ---------- about ---------- */
.about-grid { gap: 40px; }
.about-grid h2 { margin-top: 22px; }
.vcard { background: var(--teal-900); color: #fff; border: none; }
.vcard h3 { color: var(--gold); }
.vcard p, .vcard a { color: #efe6d3; }
.vcard .btn { margin-top: 8px; }

/* ---------- contact ---------- */
.contact-grid { gap: 40px; }
.contact-grid p { font-size: 1.05rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-900); color: #f1ece1; margin-top: 60px; }
.footer-wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; padding: 56px 0 24px; }
@media (max-width: 900px) { .footer-wrap { grid-template-columns: 1fr 1fr; } }
.footer-wrap h4 { color: var(--gold); margin-bottom: 12px; }
.footer-wrap ul { list-style: none; padding: 0; margin: 0; }
.footer-wrap li { margin-bottom: 8px; }
.footer-wrap a { color: #f1ece1; }
.footer-wrap a:hover { color: var(--gold-soft); text-decoration: none; }
.lic { color: #c2baa3; font-size: .85rem; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; color: #c2baa3; font-size: .85rem; }
.footer-bottom a { color: #c2baa3; }
.footer-bottom p { margin: 4px 0; }

/* ---------- intro ---------- */
.intro { max-width: 70ch; font-size: 1.05rem; color: var(--ink); }

/* ---------- sale card ---------- */
.sale-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.sale-card p { margin: 0 0 4px; }
