/* San Diego Senior Moves: shared styles.
   Same look and feel as SellingEastlake.com (deep navy + gold, Playfair Display + Inter),
   with slightly larger, heavier body text for older readers. */
:root {
  --ink: #134d61;          /* deep teal: footer, bands, button text */
  --brand: #1f6f8b;        /* brand teal (from the Having the Talk guide card) */
  --header: #2f87a3;       /* lighter teal for the header */
  --ink-2: #134d61;        /* credential strip, bands */
  --navy: #134d61;         /* headings */
  --lake: #17607a;         /* links */
  --gold: #c9a84c;
  --gold-soft: #dcc078;
  --gold-dark: #8a6d1f;    /* gold text on white (readable) */
  --sand: #f6f1e9;
  --sand-2: #efe6d6;
  --text: #1d2730;
  --muted: #4b5862;
  --line: #dde3e8;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 12px 32px rgba(11, 26, 42, 0.12);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.7; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.32rem; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 840px; }
.section { padding: 84px 0; }
.section.alt { background: var(--sand); }
.section.sage { background: #eaf4f5; }
.eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .8em; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 40px; }
.leaf { display: block; width: 64px; height: 1px; background: var(--gold); margin: 18px 0 0; }
.center .leaf { margin-left: auto; margin-right: auto; }

/* ---------- Header: eXp logo | Betty logo | phone, then the menu row ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #2f87a3; border-bottom: 2px solid rgba(201, 168, 76, .55); }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 12px 4px; }
.header-exp { justify-self: start; }
.header-exp img { height: 52px; width: auto; }
.brand { justify-self: center; display: block; text-decoration: none; }
.brand-logo { height: 82px; width: auto; }
.brand-combo { display: none; }
.header-contact { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.header-phone { color: var(--gold); font-size: 1.35rem; font-weight: 700; letter-spacing: .03em; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--gold-soft); }
.header-note { color: #fff; opacity: .9; font-size: .78rem; letter-spacing: .04em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 22px; padding-block: 6px 12px; }
.nav a { color: rgba(255, 255, 255, .9); text-decoration: none; text-transform: uppercase; font-size: .76rem; font-weight: 600; letter-spacing: .12em; padding-block: 6px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.nav a.btn { background: transparent; color: var(--gold); border: 1px solid var(--gold); padding: 8px 14px; }
.nav a.btn:hover { background: var(--gold); color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: #f0d68a; border-bottom-color: #f0d68a; }
.nav a.btn { color: #f0d68a; border-color: #f0d68a; }
.header-phone, .header-phone:hover { color: #f6dd92; }
.nav-toggle { display: none; background: none; color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--radius); padding: 8px 14px; font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; }
@media (min-width: 961px) and (max-width: 1340px) { .nav { gap: 4px 13px; } .nav a { letter-spacing: .06em; font-size: .72rem; } .nav a.btn { padding: 7px 11px; } }
/* Desktop: keep Free Consultation at the right end of the menu row (like SellingEastlake.com) */
@media (min-width: 961px) { .nav a.btn { font-size: .72rem; letter-spacing: .08em; padding: 7px 12px; margin-left: 6px; } }
@media (min-width: 961px) and (max-width: 1340px) { .nav a.btn { letter-spacing: .05em; padding: 6px 10px; } }
@media (min-width: 1341px) { .nav { gap: 4px 18px; } }
@media (min-width: 961px) and (max-width: 1100px) { .nav { gap: 4px 8px; } .nav a { letter-spacing: .04em; } }
@media (max-width: 960px) {
  .header-top { grid-template-columns: auto 1fr auto; padding-block: 10px; }
  .header-exp, .brand-logo, .header-note { display: none; }
  .brand { justify-self: start; }
  .brand-combo { display: block; height: 44px; width: auto; }
  .header-phone { font-size: 1.05rem; }
  .header-contact { justify-self: end; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--brand); padding: 0; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 70px); overflow-y: auto; border-bottom: 1px solid var(--gold); }
  .nav.open { display: flex; }
  .nav a { padding: 15px 20px; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 0; font-size: .9rem; }
  .nav a.btn { margin: 14px 20px; text-align: center; }
}
@media (max-width: 420px) { .brand-combo { height: 36px; } .header-phone { font-size: .95rem; } .header-top { gap: 10px; } }

/* ---------- Buttons: square, gold ---------- */
.btn { display: inline-block; background: var(--gold); color: var(--ink); text-decoration: none; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; padding: 16px 26px; border-radius: 2px; border: 1px solid var(--gold); cursor: pointer; font-size: 1rem; line-height: 1.3; text-align: center; transition: background .15s ease, color .15s ease; }
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.btn span { margin-left: 8px; }
.btn.secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.secondary:hover { background: var(--navy); color: #fff; }
.btn-outline-light, .btn.light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn-outline-light:hover, .btn.light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.small { padding: 11px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.call-link { font-weight: 600; text-decoration: none; }

/* ---------- Home hero: copy on blue at left, photo of a senior couple on the right ---------- */
.hero-home {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, #1f6f8b 0%, #2f87a3 60%, #3a92ad 100%);
  color: #fff;
  padding: 88px 0 96px;
}
.hero-home::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 54%;
  background: url("../img/cover-home.jpg") 70% 25% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.hero-grid { display: block; position: relative; z-index: 1; }
.hero-copy { max-width: 560px; text-shadow: 0 1px 10px rgba(10, 30, 60, .35); }
.hero-copy .btn { text-shadow: none; }
.hero-name { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); color: #fff; margin: 0 0 2px; line-height: 1.1; }
.hero-role { color: #f6dd92; font-size: 1.05rem; letter-spacing: .03em; margin: 0 0 28px; }
.hero-home h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08; margin-bottom: 24px; }
.hero-home h1 em { color: #f6dd92; font-style: italic; }
.hero-home .lead { color: rgba(255, 255, 255, .88); font-size: 1.12rem; max-width: 580px; }
.hero-call { margin: 22px 0 0; color: rgba(255, 255, 255, .85); }
.hero-call a { color: #f6dd92; font-weight: 600; text-decoration: none; }
.hero-call a:hover { color: var(--gold-soft); }
.hero-portrait { align-self: end; display: flex; justify-content: center; }
.hero-portrait img { width: auto; height: min(600px, 70vh); max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
@media (max-width: 900px) {
  .hero-home { padding: 0 0 56px; }
  .hero-home::before { position: relative; display: block; width: 100%; height: 260px; margin-bottom: 36px;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .hero-copy { max-width: none; }
}

/* Credentials strip under the hero */
.cred-band { background: var(--ink-2); border-top: 1px solid rgba(201, 168, 76, .4); color: #fff; }
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 32px; text-align: center; }
.cred-grid div { padding: 4px 20px; border-left: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.cred-grid div:first-child { border-left: 0; }
.cred-grid strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 1.9vw, 1.55rem); color: var(--gold); line-height: 1.25; }
.cred-grid span { font-size: .88rem; color: rgba(255, 255, 255, .84); }
@media (max-width: 800px) { .cred-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; } .cred-grid div:nth-child(3) { border-left: 0; } }

/* Inner-page heroes: deep navy over the photo */
.page-hero {
  background:
    linear-gradient(180deg, rgba(47, 135, 163, .72) 0%, rgba(31, 111, 139, .92) 100%),
    url("../img/hero-san-diego.jpg") center/cover no-repeat,
    var(--brand);
  color: #fff; padding: 72px 0 64px; border-bottom: 1px solid rgba(201, 168, 76, .4);
}
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: #f6dd92; }
.page-hero .lead { color: rgba(255, 255, 255, .86); margin-bottom: 0; }
.crumbs { font-size: .88rem; margin-bottom: 14px; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: var(--gold); }
.section .crumbs, .alt .crumbs { color: var(--muted); }
.section .crumbs a { color: var(--muted); }

/* ---------- "Which describes you?" paths ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.path { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 30px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .15s ease; }
.path:hover { transform: translateY(-3px); color: var(--text); }
.path.static:hover { transform: none; }
.path p strong { color: var(--text); }
.path .who { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); }
.path h3 { margin: 10px 0 10px; font-size: 1.45rem; font-weight: 400; }
.path p { color: var(--muted); flex: 1; }
.path .go { font-weight: 600; color: var(--navy); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.paths.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
@media (max-width: 860px) { .paths, .paths.two { grid-template-columns: 1fr; } }

/* ---------- Grids, cards, lists ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.section.alt .card, .section.sage .card { border-color: transparent; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .eyebrow { margin-bottom: .5em; }
.num { display: inline-block; font-family: var(--serif); font-size: 2rem; color: var(--gold-dark); line-height: 1; margin-bottom: 12px; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 34px; margin-bottom: .65em; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(-45deg); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split.center-v { align-items: center; }
.feature-img { width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow); border-bottom: 4px solid var(--gold); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split > *, .grid > * { min-width: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 28px 72px; margin: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--serif); font-size: 2rem; color: var(--gold-dark); line-height: 1; }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; border-bottom: 1px solid var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .25em; }
.note { background: var(--sand); border-left: 3px solid var(--gold); padding: 20px 24px; margin: 26px 0; }
.note p:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
table.compare { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: .98rem; background: var(--white); }
.compare th, .compare td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { background: var(--ink-2); color: #fff; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; }
.table-scroll { overflow-x: auto; }

/* ---------- Free guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.guide-cover { background: linear-gradient(160deg, var(--brand) 0%, var(--header) 100%); padding: 30px 24px 26px; text-align: center; border-bottom: 3px solid var(--gold); }
.guide-cover span { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .72); margin-bottom: 10px; }
.guide-cover strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.2; color: #f6dd92; }

.guide-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.guide-body h3 { margin-bottom: .35em; }
.guide-body p { color: var(--muted); font-size: 1rem; flex: 1; }
.guide-body .btn { align-self: flex-start; }
.tag { align-self: flex-start; color: var(--gold-dark); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }
.review { margin: 0; background: var(--white); box-shadow: var(--shadow); padding: 34px; border-top: 3px solid var(--gold); }
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 4px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: 1.18rem; line-height: 1.6; color: var(--navy); }
.review figcaption { color: var(--muted); font-size: .95rem; }
.review figcaption strong { color: var(--navy); }

/* ---------- Meet Betty ---------- */
.meet { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.meet img { width: 300px; background: transparent; }
@media (max-width: 860px) { .meet { grid-template-columns: 1fr; } .meet img { width: 240px; } }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.creds li { border: 2px solid var(--gold-dark); color: var(--gold-dark); padding: 6px 14px; font-size: .82rem; font-weight: 600; letter-spacing: .06em; margin: 0; }

/* ---------- Services list ---------- */
.services { display: grid; gap: 14px; }
.service { display: grid; grid-template-columns: 280px 1fr; background: var(--white); box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.service h3 { margin: 0; background: #eaf4f5; color: var(--brand); font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 22px 24px; display: flex; align-items: center; }
.service p { margin: 0; padding: 18px 24px; display: flex; align-items: center; }
@media (max-width: 700px) { .service { grid-template-columns: 1fr; } .service h3 { padding: 14px 20px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; padding: 72px 0; border-top: 1px solid rgba(201, 168, 76, .4); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; max-width: 640px; color: rgba(255, 255, 255, .85); }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: none; }
.cta-actions .btn.light { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cta-actions .btn.light:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.cta-phone { color: var(--gold); font-weight: 600; text-decoration: none; }
.cta-phone:hover { color: var(--gold-soft); }
@media (max-width: 860px) { .cta-inner { flex-direction: column; align-items: flex-start; } .cta-actions { align-items: flex-start; } }

/* ---------- Forms ---------- */
.form-card { background: var(--white); box-shadow: var(--shadow); padding: 32px; border-top: 3px solid var(--gold); }
.form-card h3 { margin-top: 0; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row > * { min-width: 0; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input:not([type]), select, textarea {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 13px 14px; border: 1px solid #aeb9c2; border-radius: 2px; background: var(--white); color: var(--text);
}
input:focus, select:focus, textarea:focus { border-color: var(--gold-dark); outline: none; box-shadow: 0 0 0 3px rgba(201, 168, 76, .25); }
fieldset.who-for { border: 0; padding: 0; margin: 0 0 16px; }
.who-for legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; color: var(--navy); }
.who-for label { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--text); border: 1px solid var(--line); padding: 11px 14px; margin-bottom: 8px; cursor: pointer; }
.who-for label:has(input:checked) { border-color: var(--gold); background: #fbf7ec; }
.who-for input, .sms-consent input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin: 0; }
.sms-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .8rem; line-height: 1.5; color: var(--muted); margin-bottom: 12px; }
.sms-consent input { width: 18px; height: 18px; margin-top: 2px; }
.lead-form .btn { width: 100%; margin-top: 6px; }
.consent { font-size: .8rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.email-hint { font-size: .9rem; margin: 6px 0 0; }
.email-hint button { background: none; border: 0; padding: 0; color: var(--lake); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* Guide popup */
.dialog { border: 0; border-radius: 2px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); color: var(--text); border-top: 4px solid var(--gold); }
.dialog::backdrop { background: rgba(19, 77, 97, .7); }
.dialog form { padding: 32px; position: relative; }
.dialog h3 { font-size: 1.6rem; margin-bottom: .25em; padding-right: 30px; font-weight: 400; }
.dialog-sub { color: var(--muted); }
.dialog-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 2.2rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 10px; }
.dialog-close:hover { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 52px 20px 22px; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--gold-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details > p, .faq details > ul { padding: 0 22px; }
.faq details > :last-child { padding-bottom: 20px; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 64px 0 100px; font-size: .95rem; border-top: 1px solid var(--gold); }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--gold); }
.site-footer h3 { color: #fff; font-size: 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-logo { width: 220px; margin-bottom: 18px; }
.designations { color: var(--gold); font-weight: 600; letter-spacing: .08em; margin-top: -.4em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 36px; padding-top: 24px; font-size: .8rem; color: rgba(255, 255, 255, .62); }
.legal a { color: rgba(255, 255, 255, .7); }

/* ---------- Mobile call bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 18px rgba(0, 0, 0, .2); padding-bottom: env(safe-area-inset-bottom); background: var(--brand); border-top: 1px solid var(--gold); }
  .mobile-cta a { padding: 16px; text-align: center; font-weight: 600; text-decoration: none; font-size: 1.02rem; letter-spacing: .03em; }
  .mobile-cta .call { background: var(--gold); color: var(--ink); }
  .mobile-cta .value { background: var(--brand); color: #f6dd92; }
  .section { padding: 60px 0; }
}

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

/* ---------- Areas served ---------- */
.areas { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 18px; }
.areas li { position: relative; padding-left: 18px; margin: 0; font-weight: 500; color: var(--navy); }
.areas li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }


/* Links to a section (#faq, #sell-before-or-after) land below the sticky header */
[id] { scroll-margin-top: 150px; }
@media (max-width: 960px) { [id] { scroll-margin-top: 80px; } }

/* Inner-page banners with a cover photo: title on blue at left, photo on the right (like the home page) */
.page-hero.has-cover { position: relative; overflow: hidden; background: linear-gradient(100deg, #1f6f8b 0%, #2f87a3 60%, #3a92ad 100%); padding: 80px 0 76px; min-height: 380px; display: flex; align-items: center; }
.page-hero.has-cover::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  background: var(--cover) var(--cover-pos, center 30%) / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
}
.page-hero.has-cover > .wrap { position: relative; z-index: 1; width: 100%; }
.page-hero.has-cover h1, .page-hero.has-cover .lead, .page-hero.has-cover .crumbs, .page-hero.has-cover .eyebrow { max-width: 560px; text-shadow: 0 1px 10px rgba(10, 30, 60, .3); }
@media (max-width: 900px) {
  .page-hero.has-cover { display: block; padding: 0 0 48px; min-height: 0; }
  .page-hero.has-cover::before { position: relative; display: block; width: 100%; height: 220px; margin-bottom: 30px;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .page-hero.has-cover h1, .page-hero.has-cover .lead, .page-hero.has-cover .crumbs, .page-hero.has-cover .eyebrow { max-width: none; }
}

/* About page: larger photo of Betty */
.meet.meet-lg { grid-template-columns: 400px 1fr; }
.meet.meet-lg img { width: 400px; }
@media (max-width: 860px) { .meet.meet-lg { grid-template-columns: 1fr; } .meet.meet-lg img { width: 300px; } }
