/* 1907 Property Management -- site styles. No framework, no build step. */

:root {
  --navy: #0c3f61;
  --navy-dark: #082539;
  --navy-tint: #eef4f8;
  --teal: #16a099;
  --teal-dark: #0d7f79;
  --teal-tint: #e6f7f6;
  --ink: #16232b;
  --gray-700: #48555d;
  --gray-500: #6d7b83;
  --gray-300: #cdd7db;
  --gray-200: #e4eaec;
  --gray-100: #f5f7f8;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(8, 37, 57, 0.06);
  --shadow: 0 10px 30px rgba(8, 37, 57, 0.09);
  --shadow-lg: 0 24px 60px rgba(8, 37, 57, 0.18);
  --max-width: 1220px;
  --font-head: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: .96rem; border: 2px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 8px 20px rgba(22, 160, 153, .32); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22, 160, 153, .4); }
.btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: var(--white); color: var(--white); transform: translateY(-2px); }
.btn-secondary { border-color: var(--gray-300); color: var(--navy); background: var(--white); }
.btn-secondary:hover { border-color: var(--navy); background: var(--navy-tint); color: var(--navy); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

.phone-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.phone-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.phone-link.light { color: var(--white); margin-left: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--gray-200); }
.header-inner { display: flex; align-items: center; gap: 16px; padding: 8px 20px; max-width: 1440px; margin: 0 auto; }
.brand { flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.main-nav { flex: 1; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 4px; padding: 9px 11px; border-radius: 8px;
  font-weight: 600; color: var(--ink); font-size: .92rem; transition: background-color .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
}
.main-nav > ul > li > a:hover { background: var(--navy-tint); color: var(--navy); }
.caret { font-size: .55em; opacity: .6; transition: transform .15s var(--ease); }
.has-children:hover .caret { transform: rotate(180deg); }
.submenu {
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .16s var(--ease), transform .16s var(--ease);
  position: absolute; top: 100%; left: 0; background: var(--white);
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); border-radius: var(--radius); list-style: none; margin: 6px 0 0; padding: 8px;
  min-width: 250px;
}
.has-children:hover .submenu, .has-children:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
/* Transparent bridge across the 6px gap between the nav item and its dropdown, so the
   pointer never lands on a non-hovered strip and close the menu on the way down. */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.submenu li a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: .93rem; white-space: nowrap; color: var(--ink); }
.submenu li a:hover { background: var(--teal-tint); color: var(--teal-dark); }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-cta .phone-link { font-family: var(--font-head); font-size: .93rem; }
.nav-toggle { display: none; }

.mobile-nav { display: none; }

@media (max-width: 1320px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px;
    margin-left: auto; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; border-radius: 2px; background: var(--navy); display: block; }
  .mobile-nav {
    display: none; flex-direction: column; gap: 8px; padding: 16px 24px 24px; border-top: 1px solid var(--gray-200);
    background: var(--white);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav ul ul { padding-left: 16px; }
  .mobile-nav a { display: block; padding: 9px 0; font-weight: 600; color: var(--ink); }
  .mobile-nav .phone-link { display: block; margin-top: 8px; }
  .mobile-nav a.btn { display: inline-flex; padding: 13px 24px; color: var(--white); margin-top: 4px; }
}

/* Breadcrumbs */
.breadcrumbs { padding: 14px 24px; font-size: .85rem; color: var(--gray-500); background: var(--navy-tint); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; max-width: var(--max-width); margin: 0 auto; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--gray-300); }
.breadcrumbs a { color: var(--gray-500); }
.breadcrumbs a:hover { color: var(--teal-dark); }

/* Hero */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(8,37,57,.95) 0%, rgba(8,37,57,.86) 38%, rgba(12,63,97,.55) 68%, rgba(12,63,97,.35) 100%);
}
.hero::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; z-index: 1;
  background: radial-gradient(circle, rgba(22,160,153,.25), transparent 65%);
}
.hero-content { position: relative; z-index: 2; padding: 100px 24px 88px; max-width: 720px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; color: var(--teal); font-size: .8rem; margin-bottom: 14px; font-family: var(--font-head); }
.hero h1 { color: var(--white); }
.hero-subtitle { font-size: 1.18rem; color: rgba(255,255,255,.88); max-width: 600px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: 1.08rem; font-family: var(--font-head); }
.hero-phone svg { flex-shrink: 0; width: 19px; height: 19px; }

/* Sections */
.section { padding: 84px 0; }
.section + .section { padding-top: 0; }
.bg-light { background: var(--gray-100); }
.bg-white { background: var(--white); }
.bg-navy { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow { text-align: center; }

.prose { max-width: 100%; }
.prose.narrow { max-width: 800px; margin: 0 auto; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul li, .prose ol li { margin-bottom: .4em; }

/* Icons */
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 14px; background: var(--teal-tint); color: var(--teal-dark); margin-bottom: 18px;
}
.icon-circle svg { width: 26px; height: 26px; }

/* Grid / cards */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gray-300); }
.card h3 { margin-bottom: .4em; }
.card h3 a { color: var(--navy); }
.card-icon { font-size: 1.6rem; color: var(--teal); margin-bottom: 10px; }

.area-card {
  display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 22px; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.area-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.area-card span { color: var(--teal-dark); font-weight: 700; font-size: .88rem; }
.area-card.is-current { border-color: var(--navy); background: var(--navy-tint); }

.client-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 30px; text-align: left; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.client-card .quote-mark { font-family: var(--font-head); font-size: 2.4rem; color: var(--teal); line-height: 1; display: block; margin-bottom: 4px; }
.client-card .stars { color: var(--teal); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.client-card p:not(.review-source) { color: var(--gray-700); flex: 1; }
.client-card h3 { margin-bottom: 2px; font-size: 1.02rem; }
.client-card .review-source { color: var(--gray-500); font-size: .82rem; margin: 0; }

/* Trust bar */
.trust-bar { background: var(--navy-tint); padding: 28px 0; border-bottom: 1px solid var(--gray-200); }
.trust-bar .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: .95rem; font-family: var(--font-head); }
.trust-item svg { color: var(--teal-dark); flex-shrink: 0; width: 22px; height: 22px; }

/* Key takeaways */
.key-takeaways { padding: 40px 24px 0; }
.key-takeaways-box {
  background: var(--teal-tint); border: 1px solid #bfe7e4; border-radius: var(--radius); padding: 30px 34px;
  position: relative;
}
.key-takeaways-box h2 { margin-top: 0; font-size: 1.15rem; color: var(--teal-dark); display: flex; align-items: center; gap: 10px; }
.key-takeaways-box h2 svg { width: 22px; height: 22px; flex-shrink: 0; }
.key-takeaways-box ul { margin: 0; padding-left: 1.2em; }
.key-takeaways-box li { margin-bottom: 8px; }
.key-takeaways-box li::marker { color: var(--teal-dark); }

/* Feature list (service breakdowns) */
.feature-list { display: flex; flex-direction: column; gap: 36px; }
.feature-block { padding-bottom: 32px; border-bottom: 1px solid var(--gray-200); }
.feature-block:last-child { border-bottom: none; padding-bottom: 0; }
.feature-block h3 { color: var(--navy); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 4px 22px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.faq-item:hover { border-color: var(--gray-300); }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--teal); }
.faq-item summary { cursor: pointer; font-weight: 700; font-family: var(--font-head); padding: 18px 0; list-style: none; position: relative; padding-right: 32px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--teal-dark);
  transition: transform .2s var(--ease); font-weight: 400;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding-bottom: 18px; color: var(--gray-700); }
.faq-answer p:last-child { margin-bottom: 0; }

/* CTA banner */
.cta-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: var(--white); padding: 72px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; left: -10%; top: -40%; width: 50%; height: 180%; background: radial-gradient(circle, rgba(22,160,153,.25), transparent 65%); }
.cta-banner .wrap { position: relative; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { max-width: 620px; margin: 0 auto 28px; color: rgba(255,255,255,.85); font-size: 1.05rem; }

/* Team */
.team-card { text-align: center; }
.team-card img { border-radius: var(--radius); margin: 0 auto 18px; box-shadow: var(--shadow); }
.team-title { color: var(--teal-dark); font-weight: 700; margin-top: -8px; font-family: var(--font-head); font-size: .95rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); position: relative; }
.price-card.featured:hover { transform: translateY(-6px); }
.price-card.featured::before { content: "Most Popular"; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--teal); color: var(--white); font-size: .75rem; font-weight: 800; padding: 5px 16px; border-radius: 999px; font-family: var(--font-head); letter-spacing: .02em; }
.price-amount { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--navy); margin: 14px 0 4px; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--gray-500); font-family: var(--font-body); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0; flex: 1; }
.price-card ul li { padding: 9px 0; border-bottom: 1px solid var(--gray-100); font-size: .94rem; padding-left: 26px; position: relative; }
.price-card ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-tint); border: 1.5px solid var(--teal); }
.price-card ul li.na { color: var(--gray-500); text-decoration: line-through; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.85); padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h3 { color: var(--white); font-size: 1rem; font-family: var(--font-head); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: rgba(255,255,255,.72); }
.footer-col a:hover { color: var(--teal); }
.footer-col a.btn.btn-secondary { color: var(--navy); }
.footer-col a.btn.btn-secondary:hover { color: var(--navy); }
.footer-brand img { filter: brightness(0) invert(1); opacity: .92; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.72); }
.footer-brand p a { color: var(--teal); }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: rgba(255,255,255,.85); transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.social-links a:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--teal); }

/* Contact form */
.contact-form { display: grid; gap: 18px; max-width: 640px; }
.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font: inherit;
  transition: border-color .15s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); }
.contact-form textarea { min-height: 130px; }
.form-note { font-size: .84rem; color: var(--gray-500); }

/* Realtor referral form -- two fieldsets (agent, client), paired fields side by side */
.form-narrow { max-width: 760px; margin: 0 auto; }
.referral-form { max-width: none; }
.referral-form fieldset {
  display: grid; gap: 16px; margin: 0; padding: 20px 22px 22px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
}
.referral-form legend { font-family: var(--font-head); font-weight: 700; color: var(--navy); padding: 0 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

/* Click-to-play video thumbnails */
.yt-facade, .yt-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm); overflow: hidden; background: #000; margin-bottom: 16px; border: 0;
}
/* YouTube's auto-captured frames are 4:3 with letterbox bars; cover-cropping to 16:9 removes them */
.yt-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.yt-facade:hover img { transform: scale(1.03); }
.yt-play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%);
  background: rgba(8, 37, 57, .82); border-radius: 12px; transition: background-color .2s var(--ease);
}
.yt-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
}
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { background: var(--teal); }
.yt-duration {
  position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .78); color: #fff;
  font-size: .78rem; font-weight: 600; padding: 2px 6px; border-radius: 4px;
}
.video-card p { color: var(--gray-500); font-size: .94rem; margin-bottom: 0; }

/* Recent Work gallery */
.work-project { margin-bottom: 56px; }
.work-project:last-child { margin-bottom: 0; }
.work-project-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 1px solid var(--gray-200); padding-bottom: 10px; }
.work-project-head h3 { margin: 0; }
.work-meta { margin: 0; color: var(--gray-500); font-size: .92rem; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-thumb { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 2; background: var(--gray-100); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.work-thumb:hover img, .work-thumb:focus-visible img { transform: scale(1.04); }
.work-pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 20px; }
@media (max-width: 900px) { .work-pairs { grid-template-columns: 1fr; } }
.work-pair { margin: 0; }
.work-pair-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.work-pair figcaption { font-weight: 600; margin-top: 8px; font-size: .95rem; }
.work-tag { position: absolute; left: 8px; top: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; color: #fff; }
.work-tag-before { background: rgba(8, 37, 57, .85); }
.work-tag-after { background: var(--teal); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 18, 28, .9); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; max-width: 92vw; max-height: 84vh; width: auto; height: auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 10px; font-size: .95rem; }
.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; font-size: 2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; }
.lightbox button:hover, .lightbox button:focus-visible { background: var(--teal); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Contact page office block */
.appointment-note {
  background: var(--teal-tint); border-left: 4px solid var(--teal); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: .95rem;
}
.map-embed { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); margin: 18px 0 10px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-appt { font-size: .85rem; opacity: .75; margin-top: -6px; }

/* Anchor jumps shouldn't tuck the target heading under the sticky header */
section[id] { scroll-margin-top: 90px; }

/* Homepage band inviting agents into the referral program */
.realtor-band { background: var(--navy); color: var(--white); }
.realtor-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.realtor-band h2 { color: var(--white); margin: 0 0 6px; }
.realtor-band p { margin: 0; color: rgba(255,255,255,.82); max-width: 640px; }
.realtor-band .eyebrow { color: var(--teal); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.badge-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.badge-row img { height: 52px; width: auto; opacity: .85; }

table.pricing-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
table.pricing-table th, table.pricing-table td { border: 1px solid var(--gray-200); padding: 10px 14px; text-align: left; }
table.pricing-table th { background: var(--gray-100); }
.table-scroll { overflow-x: auto; }

/* FAQ hub section jump links */
.faq-jump-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.faq-jump {
  display: inline-block; padding: 9px 16px; border-radius: 999px; font-weight: 600;
  font-size: .92rem; background: var(--navy-tint); color: var(--navy);
  border: 1px solid var(--gray-200); transition: background-color .15s var(--ease), color .15s var(--ease);
}
.faq-jump:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.faq-section .section-head p { color: var(--gray-500); margin-top: 6px; }
.faq-section[id] { scroll-margin-top: 90px; }

/* Netlify Forms honeypot -- must stay in the DOM but never be seen or focused. */
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Available rentals */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .listing-grid { grid-template-columns: 1fr; } }
.listing-card {
  display: block; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.listing-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--gray-100); }
.listing-card-media img { width: 100%; height: 100%; object-fit: cover; }
.listing-badge {
  position: absolute; left: 12px; top: 12px; background: var(--teal); color: var(--white);
  font-size: .76rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .01em;
}
.listing-card-body { padding: 18px 20px 22px; }
.listing-card-body h3 { margin: 4px 0 2px; font-size: 1.05rem; }
.listing-price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 0; }
.listing-price span { font-size: .85rem; font-weight: 600; color: var(--gray-500); }
.listing-city { color: var(--gray-500); margin: 0 0 6px; font-size: .92rem; }
.listing-meta { color: var(--ink); font-weight: 600; margin: 0; font-size: .92rem; }
.listing-updated { color: var(--gray-500); font-size: .9rem; margin-top: 22px; text-align: center; }
.listing-headline { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin: 14px 0 6px; }
.listing-headline .listing-price { font-size: 2rem; }
.listing-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 26px; }
.listing-special {
  background: var(--teal-tint); border-left: 4px solid var(--teal); border-radius: var(--radius-sm);
  padding: 14px 18px; margin: 16px 0;
}
.listing-special strong { color: var(--teal-dark); display: block; margin-bottom: 4px; }
.listing-special ul { margin: 0; padding-left: 18px; }
.listing-lead-photo { width: 100%; border-radius: var(--radius); margin-bottom: 16px; }
.listing-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.listing-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 900px) { .listing-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .listing-gallery { grid-template-columns: repeat(2, 1fr); } }
.amenity-list { columns: 2; list-style: none; padding: 0; }
.amenity-list li { padding-left: 22px; position: relative; break-inside: avoid; margin-bottom: 6px; }
.amenity-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
@media (max-width: 560px) { .amenity-list { columns: 1; } }
