/* Gillooly lead capture: the header phone, consultation popup, bottom bar,
   closing band, Equal Housing line and the success page. Shared by the Lux,
   Home Strategies and Commercial pages, so it uses only the tokens all three
   brands define (colour, font and nothing else) and falls back to plain
   values where a brand lacks one. Classes are prefixed lc-. */

.lc-icon { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }

/* Header phone ---------------------------------------------------------- */
.lc-phone { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 2.75rem; min-height: 2.75rem; color: inherit; text-decoration: none; white-space: nowrap; line-height: 1.15; }
.lc-phone__text { display: grid; }
.lc-phone__number { font-weight: 600; letter-spacing: 0.01em; }
.lc-phone__caption { font-size: 0.72em; opacity: 0.75; }
.lc-phone:hover .lc-phone__number { text-decoration: underline; text-underline-offset: 3px; }
/* Lux: the desktop number sits in the right-hand menu; on a phone a round
   call button sits beside the menu button. */
.site-nav__links .lc-phone { text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
.lc-navphone { display: none; }
@media (max-width: 1400px) {
  .site-nav > .lc-navphone { position: absolute; top: 50%; right: calc(1rem + 6.25rem); display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid color-mix(in srgb, currentColor 45%, transparent); border-radius: 999px; color: inherit; transform: translateY(-50%); }
}
/* the wider desktop nav padding: hold the call button clear of the Menu button */
@media (min-width: 901px) and (max-width: 1400px) {
  .site-nav > .lc-navphone { right: 9.5rem; }
}
/* Home Strategies and Commercial: the number before the call to action. */
.site-nav__bar > .lc-phone { margin-left: auto; font-size: 1.25rem; }
.site-nav__inner > .lc-phone { margin-left: auto; padding: 0 1.5rem; color: var(--color-white); font-size: 1.125rem; }
@media (max-width: 640px) {
  .site-nav__bar > .lc-phone .lc-phone__text, .site-nav__inner > .lc-phone .lc-phone__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-nav__bar > .lc-phone, .site-nav__inner > .lc-phone { justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 999px; }
}

/* Shared form inside the popup ----------------------------------------- */
.lc-form { display: grid; gap: 0.875rem; margin: 0; }
.lc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
@media (max-width: 600px) { .lc-form__row { grid-template-columns: 1fr; } }
.lc-field { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem; font-size: 0.875rem; font-weight: 600; }
.lc-field input, .lc-field textarea { flex: 1 0 100%; }
.lc-field small { font-weight: 400; opacity: 0.7; }
.lc-field input, .lc-field textarea { width: 100%; min-width: 0; padding: 0.7rem 0.8rem; border: 1.5px solid var(--color-line, #c9ced6); border-radius: 6px; background: var(--color-white, #fff); color: #1b1f24; font: inherit; font-size: 1rem; font-weight: 400; }
.lc-field textarea { min-height: 5rem; resize: vertical; }
.lc-field input:focus, .lc-field textarea:focus { outline: 3px solid color-mix(in srgb, var(--color-accent, #b08d57) 55%, transparent); outline-offset: 1px; }
.lc-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0 1.5rem; border: 0; border-radius: 999px; background: var(--color-accent, #b08d57); color: var(--color-accent-ink, var(--color-navy, #10223a)); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.lc-button:hover { filter: brightness(1.06); }
.lc-button[disabled], form[aria-busy="true"] .lc-button { opacity: 0.7; cursor: progress; }
.lc-button--ghost { border: 1.5px solid currentColor; background: transparent; color: inherit; }
.lc-form__note { margin: 0; font-size: 0.8125rem; opacity: 0.8; }
.lc-form__status { margin: 0; font-size: 0.875rem; font-weight: 600; }

/* Consultation popup ---------------------------------------------------- */
.lc-popup { width: min(520px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 2rem 1.75rem 1.5rem; overflow: auto; border: 0; border-radius: 14px; background: var(--color-navy, #10223a); color: var(--color-white, #fff); font-family: var(--font-sans, system-ui, sans-serif); box-shadow: 0 24px 60px rgb(0 0 0 / 0.35); }
.lc-popup::backdrop { background: rgb(8 14 24 / 0.62); }
.lc-popup__close { position: absolute; top: 0.6rem; right: 0.6rem; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: transparent; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lc-popup__close:hover { background: rgb(255 255 255 / 0.1); }
.lc-eyebrow { margin: 0 0 0.35rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent, #b08d57); }
.lc-popup__title { margin: 0 2rem 0.5rem 0; font-family: var(--font-serif, Georgia, serif); font-size: 1.75rem; font-weight: 400; line-height: 1.15; }
.lc-popup__intro { margin: 0 0 1.25rem; font-size: 0.95rem; opacity: 0.88; }
.lc-popup__call { margin: 1rem 0 0; font-size: 0.875rem; opacity: 0.9; }
.lc-popup__call a { color: inherit; font-weight: 700; }

/* Bottom bar ------------------------------------------------------------ */
.lc-bar { position: fixed; inset: auto 0 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); background: var(--color-navy, #10223a); color: var(--color-white, #fff); font-family: var(--font-sans, system-ui, sans-serif); box-shadow: 0 -8px 24px rgb(0 0 0 / 0.18); transform: translateY(110%); transition: transform 0.3s ease; }
.lc-bar.is-shown { transform: none; }
.lc-bar[hidden] { display: none; }
.lc-bar__text { margin: 0; font-weight: 600; }
.lc-bar__call { display: none; }
@media (max-width: 600px) {
  .lc-bar { flex-wrap: wrap; gap: 0.5rem; }
  .lc-bar__text { flex: 1 0 100%; text-align: center; font-size: 0.875rem; }
  .lc-bar .lc-button { flex: 1 1 0; min-height: 2.75rem; padding: 0 0.75rem; }
  .lc-bar__call { display: inline-flex; }
}
@media (max-width: 359px) { .lc-bar__text { display: none; } }
/* While the bar is up, the footer keeps its last lines clear of it. */
body:has(.lc-bar.is-shown) .site-footer { padding-bottom: 6rem; }
@media (max-width: 600px) {
  body:has(.lc-bar.is-shown) .site-footer { padding-bottom: 8.5rem; }
}

/* Closing band ---------------------------------------------------------- */
.lc-band { padding: clamp(3rem, 7vw, 5.5rem) 1.25rem; background: var(--color-navy, #10223a); color: var(--color-white, #fff); font-family: var(--font-sans, system-ui, sans-serif); }
.lc-band__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; max-width: 64rem; margin: 0 auto; }
.lc-band__face { width: clamp(7rem, 16vw, 10rem); aspect-ratio: 1; border-radius: 999px; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--color-accent, #b08d57); }
.lc-band__title { margin: 0 0 0.5rem; font-family: var(--font-serif, Georgia, serif); font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 400; line-height: 1.15; color: inherit; }
.lc-band__line { margin: 0 0 1.25rem; opacity: 0.88; }
.lc-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.lc-band__name { margin: 0.75rem 0 0; font-size: 0.8125rem; opacity: 0.75; }
@media (max-width: 600px) { .lc-band__inner { grid-template-columns: 1fr; justify-items: start; } }

/* Equal Housing Opportunity line --------------------------------------- */
.lc-eho { display: flex; align-items: center; gap: 0.5rem; margin: 1rem 0 0; font-size: 0.8125rem; }
.lc-eho svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }

/* Success page ---------------------------------------------------------- */
.lc-success { min-height: 100dvh; background: var(--color-canvas, #f6f3ee); color: var(--color-ink, #1b1f24); font-family: var(--font-sans, system-ui, sans-serif); }
.lc-success__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 64rem; margin: 0 auto; padding: 1.25rem; }
.lc-success__top img { height: 3rem; width: auto; }
.lc-logo-dark { display: none; }
.lc-success__hero { max-width: 44rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; text-align: center; }
.lc-success__hero h1 { margin: 0 0 0.75rem; font-family: var(--font-serif, Georgia, serif); font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; line-height: 1.1; }
.lc-success__lede { margin: 0 auto 2rem; max-width: 34rem; font-size: 1.0625rem; }
.lc-card { display: grid; justify-items: center; gap: 0.75rem; max-width: 26rem; margin: 0 auto; padding: 1.75rem 1.5rem; border-radius: 16px; background: var(--color-navy, #10223a); color: var(--color-white, #fff); text-align: center; box-shadow: 0 18px 40px rgb(16 34 58 / 0.22); }
.lc-card__face { width: 6.5rem; aspect-ratio: 1; border-radius: 999px; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--color-accent, #b08d57); }
.lc-card__live { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lc-card__live::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 999px; background: #3ccf6e; box-shadow: 0 0 0 4px rgb(60 207 110 / 0.25); }
.lc-card__title { margin: 0; font-family: var(--font-serif, Georgia, serif); font-size: 1.5rem; font-weight: 400; }
.lc-card p { margin: 0; }
.lc-card .lc-button { width: 100%; }
.lc-card__alt { font-size: 0.875rem; opacity: 0.85; }
.lc-card__alt a { color: inherit; }
.lc-points { display: grid; gap: 0.5rem; max-width: 30rem; margin: 1.5rem auto 0; padding: 0; list-style: none; text-align: left; }
.lc-points li { padding-left: 1.5rem; position: relative; }
.lc-points li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent, #b08d57); font-weight: 700; }
.lc-steps { max-width: 64rem; margin: 0 auto; padding: 3rem 1.25rem; border-top: 1px solid var(--color-line, #d9d4cb); }
.lc-steps h2, .lc-trust h2 { margin: 0 0 1.5rem; font-family: var(--font-serif, Georgia, serif); font-size: 1.75rem; font-weight: 400; text-align: center; }
.lc-steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.lc-steps li { counter-increment: step; }
.lc-steps li::before { content: counter(step); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: 0.75rem; border-radius: 999px; background: var(--color-navy, #10223a); color: var(--color-white, #fff); font-weight: 700; }
.lc-steps h3 { margin: 0 0 0.35rem; font-size: 1.0625rem; }
.lc-steps p { margin: 0; color: var(--color-muted, #5d6570); }
@media (max-width: 760px) { .lc-steps ol { grid-template-columns: 1fr; } }
.lc-trust { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem 4rem; text-align: center; }
.lc-trust p { margin: 0 0 2rem; }
.lc-success__foot { padding: 1.5rem 1.25rem 2.5rem; border-top: 1px solid var(--color-line, #d9d4cb); text-align: center; font-size: 0.8125rem; color: var(--color-muted, #5d6570); }
.lc-success__foot .lc-eho { justify-content: center; }
/* The open state shows by default (and with scripts off). */
.lc-closed { display: none; }
html[data-office="closed"] .lc-open { display: none; }
html[data-office="closed"] .lc-closed { display: revert; }
html[data-office="closed"] .lc-card.lc-closed { display: grid; }
html[data-office="closed"] .lc-button.lc-closed { display: inline-flex; }

@media (prefers-reduced-motion: reduce) { .lc-bar { transition: none; } }
@media (prefers-color-scheme: dark) {
  .lc-success { background: var(--color-dark-canvas, #0e1520); color: var(--color-dark-ink, #eef1f5); }
  .lc-steps p, .lc-success__foot { color: var(--color-dark-muted, #a9b2be); }
  .lc-success .lc-logo-light { display: none; }
  .lc-success .lc-logo-dark { display: inline; }
}

/* lc-band people: Steve and a second agent side by side, each with a face, name, role and direct line */
.lc-band:has(.lc-band__people) { border-top: 1px solid color-mix(in srgb, var(--color-white, #fff) 14%, transparent); padding-block: clamp(4rem, 8vw, 6.5rem); }
.lc-band__inner:has(.lc-band__people) { grid-template-columns: auto minmax(0, 40rem); justify-content: center; gap: clamp(2.5rem, 5vw, 5rem); max-width: 80rem; }
.lc-band__inner:has(.lc-band__people) .lc-band__line { max-width: 38rem; margin-bottom: 1.75rem; font-size: 1.0625rem; line-height: 1.7; }
.lc-band__people { display: flex; gap: clamp(2rem, 4vw, 3.5rem); align-items: flex-start; }
.lc-person { display: grid; justify-items: center; gap: 1.25rem; margin: 0; text-align: center; }
.lc-person__face { display: block; box-sizing: border-box; width: clamp(9.5rem, 14vw, 12.5rem); aspect-ratio: 1; border-radius: 999px; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--color-accent, #b08d57); }
.lc-person__face--placeholder { display: grid; place-items: center; background: color-mix(in srgb, var(--color-white, #fff) 8%, transparent); }
.lc-person__face--placeholder svg { width: 50%; height: 50%; fill: color-mix(in srgb, var(--color-white, #fff) 45%, transparent); }
.lc-person figcaption { display: grid; justify-items: center; gap: 0.35rem; }
.lc-person__name { font-family: var(--font-serif, Georgia, serif); font-size: 1.5rem; font-weight: 400; line-height: 1.15; }
.lc-person__role { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.lc-person__phone { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; margin-top: 0.25rem; padding: 0 1.1rem; border: 1px solid color-mix(in srgb, var(--color-gold-bright, #d8b878) 55%, transparent); border-radius: 999px; color: var(--color-gold-bright, #d8b878); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease; }
.lc-person__phone:hover, .lc-person__phone:focus-visible { background: var(--color-gold-bright, #d8b878); color: var(--color-navy, #10223a); }
@media (max-width: 1100px) { .lc-band__inner:has(.lc-band__people) { grid-template-columns: 1fr; justify-items: center; text-align: center; } .lc-band__inner:has(.lc-band__people) .lc-band__line { margin-inline: auto; } .lc-band__inner:has(.lc-band__people) .lc-band__actions { justify-content: center; } }
@media (max-width: 480px) { .lc-band__people { gap: 1.25rem; } .lc-person__face { width: 8.5rem; } .lc-person__name { font-size: 1.25rem; } .lc-person__phone { font-size: 0.9375rem; padding: 0 0.8rem; } }

/* Shared form confirmation */
.receipt {
  background: var(--color-navy, #10223a);
  color: var(--color-white, #fff);
}
.receipt__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 68rem;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 7rem) 1.5rem;
}
.receipt__intro h1 {
  margin: 0;
  color: inherit;
  font: 400 clamp(3.1rem, 6vw, 5.6rem)/0.98 var(--font-serif, Georgia, serif);
  letter-spacing: -0.035em;
}
.receipt__intro p { max-width: 34ch; margin: 1.5rem 0 0; font-size: 1.2rem; line-height: 1.55; }
.receipt__call {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--color-accent, #b08d57);
  border-radius: 1rem;
  background: rgb(255 255 255 / 6%);
  color: inherit;
  text-decoration: none;
}
.receipt__contact { display: flex; gap: 1rem; align-items: center; }
.receipt__contact img { width: clamp(3.5rem, 6vw, 5rem); height: auto; aspect-ratio: 1; }
.receipt__contact strong { display: block; color: inherit; font-size: clamp(1.35rem, 3vw, 2.15rem); line-height: 1.25; }
.receipt__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding-inline: 1.25rem;
  border-radius: 2rem;
  background: var(--color-gold-bright, #d8b878);
  color: var(--color-navy, #10223a);
  font-weight: 700;
}
.receipt__call:hover .receipt__action, .receipt__call:focus-visible .receipt__action { background: white; }
.receipt__call:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.receipt__note { margin: 1rem 0 0; line-height: 1.5; }
.receipt__note a { color: inherit; text-decoration: underline; }
@media (max-width: 760px) {
  .receipt__inner { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.25rem 1.25rem; }
  .receipt__intro h1 { max-width: 14ch; }
}
