/* ==========================================================================
   Starlight Property Management – site styles
   Brand: navy #0d203b, orange #ff910a, gold #ffde59
   ========================================================================== */

:root {
  --navy: #0d203b;
  --navy-2: #16305a;
  --navy-3: #22406f;
  --orange: #ff910a;
  --orange-dark: #d97400;
  --gold: #ffde59;
  --ink: #1b2433;
  --muted: #5b6575;
  --line: #e3e7ee;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --surface-3: #eef2f8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(13, 32, 59, .06), 0 8px 24px rgba(13, 32, 59, .08);
  --shadow-lg: 0 20px 50px rgba(13, 32, 59, .16);
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2, .h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); font-weight: 700; }
h4, .h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--surface-2); }
.section--navy { background: var(--navy); color: #dbe3f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--navy .section-head p { color: #b9c6db; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: .75rem;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 720px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.tag { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .08em; background: var(--gold); color: var(--navy); border-radius: 4px; padding: 1px 6px; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
  line-height: 1.2; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--orange); color: var(--navy); }
.btn--accent:hover { background: var(--gold); color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--gold); color: var(--navy); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--lg { font-size: 1.08rem; padding: .95em 1.7em; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Utility bar + header ---------- */
.utility-bar { background: var(--navy); color: #cdd7e6; font-size: .88rem; }
.utility-bar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.utility-bar a { color: #e6ecf5; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.utility-bar a:hover { color: var(--gold); }
.utility-bar__phone { font-weight: 700; }
.utility-bar__links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.site-header__logo img { width: 92px; height: auto; }
.primary-nav { display: flex; align-items: center; flex: 1; gap: 16px; }
.primary-nav__list { display: flex; list-style: none; margin: 0 auto; padding: 0; gap: 4px; }
.primary-nav__item { position: relative; }
.primary-nav__item > a, .primary-nav__trigger {
  display: inline-flex; align-items: center; gap: 4px;
  font: 700 .98rem var(--font-head); color: var(--navy); text-decoration: none;
  background: none; border: 0; padding: 10px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap;
}
.primary-nav__trigger .icon { width: 16px; height: 16px; transition: transform .2s; }
.primary-nav__item > a:hover, .primary-nav__trigger:hover, .primary-nav__trigger[aria-expanded="true"] { background: var(--surface-3); color: var(--navy); }
.primary-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.primary-nav__cta { display: flex; gap: 8px; }
.primary-nav__cta .btn { padding: .65em 1.1em; font-size: .92rem; }

.mega {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px; display: none; gap: 24px;
}
.mega--wide { min-width: 460px; }
.has-menu.is-open > .mega { display: flex; }
.mega__col { flex: 1; min-width: 180px; }
.mega__heading { font: 700 .75rem var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 4px 10px 8px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .97rem; }
.mega a:hover { background: var(--surface-3); color: var(--navy); }

.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 6px; background: none; border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 700 .95rem var(--font-head); color: var(--navy); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 1180px) {
  .primary-nav__cta .btn--ghost { display: none; }
}
@media (max-width: 1100px) {
  .utility-bar__links li:nth-child(-n+2) { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { min-height: 72px; }
  .site-header__logo img { width: 76px; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 12px var(--gutter) 24px; max-height: calc(100vh - 112px); overflow-y: auto;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav__list { flex-direction: column; margin: 0; width: 100%; }
  .primary-nav__item > a, .primary-nav__trigger { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega, .mega--wide { position: static; box-shadow: none; border: 0; min-width: 0; padding: 4px 0 12px 8px; flex-direction: column; gap: 4px; }
  .primary-nav__cta { flex-direction: column; margin-top: 12px; }
  .primary-nav__cta .btn--ghost { display: inline-flex; }
}
@media (max-width: 560px) {
  .utility-bar__links { gap: 14px; }
  .utility-bar__links li:nth-child(4) { display: none; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,32,59,.96) 0%, rgba(13,32,59,.75) 55%, rgba(13,32,59,.35) 100%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { color: #d5deeb; }
.hero__markets { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; padding: 0; list-style: none; }
.hero__markets a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500; }
.hero__markets a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.hero__card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.hero__card h2 { font-size: 1.5rem; margin-bottom: .25em; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }

/* ---------- Audience split ---------- */
.split-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: -48px; position: relative; z-index: 2; }
.split-card { display: flex; gap: 20px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.split-card__icon { flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-3); color: var(--navy); }
.split-card__icon .icon { width: 28px; height: 28px; }
.split-card h2 { font-size: 1.35rem; margin-bottom: .3em; }
.split-card p { color: var(--muted); margin-bottom: 1em; }
@media (max-width: 760px) { .split-cards { grid-template-columns: 1fr; margin-top: 24px; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfd7e4; color: inherit; }
.card--form { padding: 24px; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--orange)); color: var(--navy); margin-bottom: 18px; }
.card__icon .icon { width: 26px; height: 26px; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; color: var(--navy-3); }
.sticky { position: sticky; top: 104px; }

/* Market cards */
.market-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 200px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: var(--navy); box-shadow: var(--shadow); }
.market-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.market-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,32,59,.92), rgba(13,32,59,.15) 70%); }
.market-card:hover img { transform: scale(1.05); }
.market-card__body { position: relative; z-index: 1; padding: 20px; }
.market-card__body h3 { color: #fff; margin: 0; font-size: 1.35rem; }
.market-card__body span { font-size: .9rem; color: #d5deeb; }
.market-card:hover { color: #fff; }

/* Feature list (checks) */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: .6em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d203b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--navy .checklist li::before { background-color: var(--orange); }

/* Two-column media/text */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.media-split--reverse > :first-child { order: 2; }
.media-split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .media-split { grid-template-columns: 1fr; } .media-split--reverse > :first-child { order: 0; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 20px 12px; }
.stat__num { font: 800 clamp(2rem, 4vw, 2.8rem) var(--font-head); color: var(--gold); line-height: 1; }
.stat__label { color: #c4d0e2; margin-top: 8px; font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Pricing */
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin-inline: auto; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card--featured { border: 2px solid var(--orange); position: relative; }
.price-card--featured::before { content: "Most popular"; position: absolute; top: -14px; left: 32px; background: var(--orange); color: var(--navy); font: 700 .78rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.price-card__price { font: 800 3rem var(--font-head); color: var(--navy); line-height: 1; margin: 8px 0 4px; }
.price-card__price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card .checklist { flex: 1; margin-top: 20px; }
@media (max-width: 760px) { .price-cards { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: var(--surface-2); }
td.num, th.num { text-align: right; white-space: nowrap; }
.table-group td { background: var(--surface-3) !important; font-weight: 700; color: var(--navy); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 280px)); justify-content: center; gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.team-card__photo { aspect-ratio: 1; object-fit: cover; object-position: top; width: 100%; background: var(--surface-3); }
.team-card__placeholder { aspect-ratio: 1; display: grid; place-items: center; background: linear-gradient(135deg, var(--surface-3), #dfe6f1); color: var(--navy-3); }
.team-card__placeholder .icon { width: 64px; height: 64px; opacity: .5; }
.team-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.team-card__body h3 { margin: 0; font-size: 1.2rem; }
.team-card__role { color: var(--orange-dark); font-weight: 700; font-size: .9rem; margin-bottom: .6em; }
.team-card details { margin-top: auto; }
.team-card summary { cursor: pointer; font-weight: 700; color: var(--navy-3); list-style: none; }
.team-card summary::-webkit-details-marker { display: none; }
.team-card summary::after { content: " +"; }
.team-card details[open] summary::after { content: " –"; }
.team-card details p { font-size: .95rem; color: var(--muted); margin: .6em 0 0; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 700 1.1rem var(--font-head); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .faq__a { padding: 0 0 20px; color: var(--ink); }
.faq-group { margin-bottom: 48px; }
.faq-group > h2 { font-size: 1.5rem; }

/* Testimonials */
.quote { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote__stars { color: var(--orange); display: flex; gap: 2px; margin-bottom: 12px; }
.quote__stars .icon { fill: currentColor; width: 18px; height: 18px; }
.quote blockquote { margin: 0 0 16px; font-size: 1.02rem; flex: 1; }
.quote cite { font-style: normal; font-weight: 700; color: var(--navy); }

/* Page hero (interior) */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,222,89,.18), transparent 45%), radial-gradient(circle at 10% 110%, rgba(255,145,10,.18), transparent 40%); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,32,59,.95), rgba(13,32,59,.6)); }
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 88px); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lede { color: #d0dae8; margin: 0; }
.breadcrumbs { font-size: .88rem; margin-bottom: 12px; color: #b6c3d7; }
.breadcrumbs a { color: #fff; }

/* Page body */
.page-body { padding-block: clamp(48px, 7vw, 80px); }
.page-body--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .page-body--sidebar { grid-template-columns: 1fr; } .sticky { position: static; } }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.callout { background: var(--surface-2); border-left: 4px solid var(--orange); border-radius: var(--radius-sm); padding: 20px 24px; margin: 1.6em 0; }
.callout p:last-child { margin-bottom: 0; }
.note-todo { background: #fff7d6; border: 1px dashed #d9a400; color: #6b5200; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .9rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(40px, 6vw, 64px); flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { color: #cbd6e6; margin: 0; }

/* ---------- Forms ---------- */
.lead-form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid--compact { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #cfd6e2; border-radius: var(--radius-sm); padding: 11px 13px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-3); outline: 3px solid rgba(255,145,10,.35); outline-offset: 0; }
.role-picker { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
.role-picker legend { width: 100%; margin-bottom: 6px; padding: 0; }
.role-picker label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-weight: 700; }
.form-status.is-error { color: #b42318; }
.form-status.is-ok { color: #157f3b; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Calculators */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.calc__inputs { display: grid; gap: 14px; }
.calc__result { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; position: sticky; top: 104px; }
.calc__result h2, .calc__result h3 { color: #fff; }
.calc__big { font: 800 2.6rem var(--font-head); color: var(--gold); line-height: 1.1; margin: 4px 0 12px; }
.calc__rows { list-style: none; padding: 0; margin: 0; }
.calc__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.calc__rows li:last-child { border-bottom: 0; }
.calc__rows strong { color: #fff; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-prefix input { padding-left: 28px; }
.input-suffix { position: relative; }
.input-suffix span { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc__result { position: static; } }

/* Listings iframe */
.listings-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.listings-frame iframe { display: block; width: 100%; height: 90vh; min-height: 640px; border: 0; }

/* Blog */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card__body { padding: 22px; }
.post-card time { font-size: .85rem; color: var(--muted); }
.post-card h3 { margin: .3em 0 .4em; }

/* ---------- Footer ---------- */
.site-footer { background: #091729; color: #b3c0d4; font-size: .96rem; }
.site-footer a { color: #e3e9f3; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 40px; padding-block: 64px 48px; }
.site-footer__logo { width: 110px; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 16px; }
.site-footer__heading { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.site-footer__links, .site-footer__contact { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--orange); margin-top: 4px; }
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--orange); color: var(--navy); }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.08); padding-block: 24px; font-size: .86rem; }
.site-footer__legal p { margin: 0 0 8px; }
/* TREC requires these links at 10pt or larger: keep at 1rem (16px = 12pt). Do not shrink. */
.trec-notices { font-size: 1rem; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); color: #e3e9f3; }
.trec-notices ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.trec-notices a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.eho { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.eho p { margin: 0; }
.eho__logo { flex: none; width: 58px; height: auto; color: #fff; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: 32px; }
.center-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Footer slogan */
.site-footer__slogan { font: 700 1.05rem var(--font-head); color: var(--gold); margin-bottom: .5em; }

/* Dropdown hover bridge: invisible strip over the gap between the menu item and its panel,
   so moving the mouse down into the submenu does not close it. */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
@media (max-width: 1100px) { .mega::before { display: none; } }

/* Listing-site chips (Marketing page) */
.listing-sites { list-style: none; padding: 0 !important; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px; }
.listing-sites li { margin: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); font-weight: 700; color: var(--navy); font-size: .95rem; }
