/* Walsh Real Estate — core stylesheet
   Global tokens are printed inline by inc/customizer.php as CSS variables. */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--walsh-bg);
  color: var(--walsh-text);
  font-family: var(--walsh-font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--walsh-font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }

.walsh-container {
  width: 100%;
  max-width: var(--walsh-container);
  margin: 0 auto;
  padding: 0 24px;
}

.walsh-section { padding: var(--walsh-section-space) 0; position: relative; }
.walsh-section--tight { padding: calc(var(--walsh-section-space) / 2) 0; }
.walsh-section--alt { background: var(--walsh-surface); }

.walsh-eyebrow {
  display: inline-block;
  font-family: var(--walsh-font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  color: var(--walsh-muted);
  margin-bottom: 14px;
}

.walsh-rule {
  width: 84px;
  height: 3px;
  background: var(--walsh-accent);
  margin-bottom: 26px;
  border-radius: 2px;
}

.walsh-lead { color: var(--walsh-muted); font-size: 1.05rem; }
.walsh-center { text-align: center; }
.walsh-center .walsh-rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.walsh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--walsh-btn-bg);
  color: var(--walsh-btn-text);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.walsh-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.walsh-btn--ghost {
  background: transparent;
  color: var(--walsh-text);
  border-color: rgba(255,255,255,.35);
}
.walsh-btn--ghost:hover { background: var(--walsh-text); color: var(--walsh-bg); }
.walsh-btn--sm { padding: 11px 22px; font-size: .85rem; }

/* ---------- Header ---------- */
.walsh-header {
  position: relative;
  z-index: 90;
  background: var(--walsh-header-bg);
  border-bottom: 0;
  min-width: 980px;
}
.walsh-header.is-sticky {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(140%) blur(8px);
}
.walsh-header.is-transparent {
  position: absolute;
  left: 0; right: 0; top: 0;
  background: transparent;
  border-bottom-color: transparent;
}
.walsh-header__inner {
  display: grid;
  grid-template-columns: 25% 50% 25%;
  align-items: center;
  gap: 0;
  min-height: var(--walsh-header-h, 123px);
  padding: 0;
  max-width: 1920px;
  margin: 0 auto;
}
.walsh-header[data-layout="left"] .walsh-header__inner { grid-template-columns: auto auto 1fr; }
.walsh-header[data-layout="left"] .walsh-nav { justify-content: flex-start; }
.walsh-header[data-layout="left"] .walsh-header__cta { justify-self: end; }

.walsh-brand { display: flex; align-items: center; justify-content: center; align-self: start; min-width: 0; margin-top: 23px; }
.walsh-brand img,
.walsh-brand .custom-logo { width: 255px; height: 53px; max-width: none; max-height: none; object-fit: contain; }
.walsh-brand__logo { display: block; width: 255px; height: 53px; }
.walsh-brand__text {
  font-family: var(--walsh-font-heading);
  font-size: 1.56rem;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1;
  display: inline-block;
  color: var(--walsh-text);
  white-space: nowrap;
}
.walsh-brand__line { display: flex; align-items: center; gap: 5px; }
.walsh-brand__line i { width: 1px; height: 27px; background: currentColor; transform: rotate(18deg); opacity: .9; }
.walsh-brand__text small {
  display: block;
  font-size: .67rem;
  letter-spacing: .12em;
  color: var(--walsh-text);
  text-align: center;
  margin-top: 1px;
  line-height: 1;
}

.walsh-nav { display: flex; justify-content: center; justify-self: center; align-self: start; width: 490px; margin-top: 35px; }
.walsh-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 490px;
}
.walsh-nav li { flex: 0 0 auto; }
.walsh-nav li:nth-child(1) { width: 69px; }
.walsh-nav li:nth-child(2) { width: 94px; }
.walsh-nav li:nth-child(3) { width: 83px; }
.walsh-nav li:nth-child(4) { width: 114.75px; }
.walsh-nav li:nth-child(5) { width: 121.25px; }
.walsh-nav a {
  display: block;
  font-size: 15px;
  font-weight: 300;
  line-height: 23px;
  letter-spacing: .75px;
  padding: 5px 9px;
  position: relative;
  color: #dbdbdb;
  opacity: 1;
  white-space: nowrap;
  transition: color .08s cubic-bezier(0, 0, 1, 1);
}
.walsh-header.is-uppercase .walsh-nav a,
.walsh-header.is-uppercase .walsh-mobile-nav a { text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }
.walsh-nav a::after {
  content: none;
}
.walsh-nav a:hover { opacity: 1; }
.walsh-nav a:hover { color: #fdfdfd; }
.walsh-nav li:first-child > a,
.walsh-nav .current-menu-item > a,
.walsh-nav .current_page_item > a { color: #fdfdfd; }

.walsh-header__cta { flex-shrink: 0; justify-self: center; align-self: start; margin-top: 22px; transform: translateX(.5px); }
.walsh-header__cta:empty { display: none; }
.walsh-header__cta .walsh-btn,
.walsh-mobile-nav .walsh-btn {
  width: 246px;
  max-width: 100%;
  min-height: 56px;
  height: 56px;
  padding: 12px 18px;
  border: 0;
  border-radius: 5px;
  background: #e5f0fe;
  color: #000000;
  font-family: var(--walsh-font-body);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  box-shadow: none;
}
.walsh-header__cta .walsh-btn:hover,
.walsh-mobile-nav .walsh-btn:hover {
  transform: none;
  box-shadow: none;
  background: #ffffff;
  color: #000000;
}

.walsh-burger {
  display: none;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  padding: 12px 11px;
  flex-direction: column;
  justify-content: space-between;
  justify-self: end;
}
.walsh-burger span {
  display: block;
  height: 2px;
  background: var(--walsh-text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.walsh-burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.walsh-burger.is-open span:nth-child(2) { opacity: 0; }
.walsh-burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.walsh-mobile-nav {
  display: none;
  border-top: 1px solid rgba(255,255,255,.08);
  background: var(--walsh-header-bg);
  padding: 12px 24px 26px;
}
.walsh-mobile-nav.is-open { display: block; }
.walsh-mobile-nav ul { list-style: none; margin: 0 0 18px; padding: 0; }
.walsh-mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.07); }
.walsh-mobile-nav a { display: block; padding: 15px 2px; font-size: 1.02rem; }
.walsh-mobile-nav__tel { display: inline-block; margin-top: 14px; color: var(--walsh-muted); }


/* ---------- Hero ---------- */
.walsh-hero {
  position: relative;
  width: 100%;
  height: 711px;
  min-height: 711px;
  text-align: center;
  overflow: hidden;
}
.walsh-hero__video,
.walsh-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background-size: cover;
  background-position: center;
}
.walsh-hero__overlay {
  display: none;
}
.walsh-hero__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.walsh-hero h1 {
  position: absolute;
  top: 135px;
  left: 50%;
  width: 834px;
  height: 147px;
  margin: 0;
  transform: translateX(-50%);
  color: #ffffff;
  font-family: var(--walsh-font-heading);
  font-size: 35px;
  font-weight: 700;
  line-height: 49px;
  letter-spacing: normal;
  text-shadow: none;
}
.walsh-hero .walsh-btn {
  position: absolute;
  top: 307px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 198px;
  height: 55px;
  min-height: 55px;
  padding: 0 10px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 5px;
  background: #ffffff;
  color: #000000;
  font-family: var(--walsh-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 1.6px;
  white-space: nowrap;
  box-shadow: none;
}

.walsh-hero .walsh-btn:hover {
  transform: translateX(-50%);
  box-shadow: none;
}
.walsh-hero__sub {
  position: absolute;
  top: 646px;
  left: 50%;
  width: auto;
  max-width: 96%;
  margin: 0;
  transform: translateX(-50%);
  color: #ffffff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 15.6px;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
  text-shadow: none;
}
.walsh-hero__tag {
  position: absolute;
  top: 675px;
  left: 50%;
  width: max-content;
  max-width: 90%;
  height: 16px;
  padding: 0;
  transform: translateX(-50%);
  background: #ffffff;
  color: #000000;
  font-size: 11px;
  font-weight: 300;
  line-height: 15.4px;
  letter-spacing: 0;
  border-radius: 0;
}

/* ---------- Split (about / team) — matched to reference geometry ---------- */
.walsh-about { position: relative; height: 713px; padding: 0; background: #000000; overflow: hidden; }
.walsh-about__container { position: relative; width: 1186px; max-width: none; margin: 0 auto; padding: 0; }
.walsh-split { position: relative; display: block; width: 1186px; height: 713px; }
.walsh-split__media {
  position: absolute;
  top: 52px;
  left: 0;
  width: 596px;
  height: 557px;
  margin: 0;
  overflow: hidden;
}
.walsh-split--reverse .walsh-split__media { left: auto; right: 0; }
.walsh-split__media img {
  display: block;
  width: 596px;
  height: 557px;
  border-radius: 0;
  object-fit: cover;
}
.walsh-split__seo { position: absolute; top: 425px; left: 18px; right: auto; bottom: auto; width: 589px; text-align: left; }
.walsh-split__seo-line,
.walsh-split__seo-caption {
  margin: 0 0 9px;
  color: #ffffff;
  font-family: var(--walsh-font-body);
  font-size: 8px;
  font-weight: 300;
  line-height: 11.2px;
  letter-spacing: 0;
}
.walsh-split__seo-caption { margin: 0 0 0 108px; text-decoration: underline; text-align: left; max-width: 343px; }
.walsh-split__seo-location {
  position: absolute;
  top: 579px;
  left: 657px;
  width: 380px;
  margin: 0;
  color: #ffffff;
  font-family: 'avenir-lt-w01_35-light1475496', Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.08px;
  white-space: normal;
  text-align: left;
}
.walsh-split__body {
  position: absolute;
  top: 144px;
  left: 607px;
  width: 579px;
  padding: 0;
  color: #ffffff;
}
.walsh-split--reverse .walsh-split__body { left: 0; }
.walsh-split__body::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  width: 106px;
  height: 2px;
  background: #dedede;
}
.walsh-split__body .walsh-eyebrow { display: none; }
.walsh-split__body h3 {
  width: 310px;
  margin: 0 0 14px;
  color: #ffffff;
  font-family: var(--walsh-font-heading);
  font-size: 38px;
  font-weight: 700;
  line-height: 53.2px;
  letter-spacing: 0;
}
.walsh-split__body p {
  margin: 0;
  width: 579px;
  max-width: 100%;
  color: #ffffff;
  font-family: var(--walsh-font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 25.2px;
  letter-spacing: normal;
}
.walsh-split__body p:last-of-type { margin-bottom: 26px; }
.walsh-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 428px;
  height: 55px;
  margin: 0 0 0 26px;
  padding: 0;
  border: 2px solid #fdfdfd;
  border-radius: 5px;
  background: #ffffff;
  color: #000000;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-family: var(--walsh-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 1.6px;
  white-space: nowrap;
  box-shadow: none;
}
.walsh-about__btn:hover,
.walsh-about__btn:focus-visible {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
  transform: none;
}


/* ---------- Cards ---------- */
.walsh-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.walsh-card {
  background: var(--walsh-surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--walsh-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.walsh-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 24px 50px rgba(0,0,0,.5);
}
.walsh-card__media { aspect-ratio: 357 / 292; overflow: hidden; }
.walsh-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.walsh-card:hover .walsh-card__media img { transform: scale(1.06); }
.walsh-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.walsh-card__body h4 { margin: 0; font-family: var(--walsh-font-body); font-weight: 700; font-size: 1.06rem; }
.walsh-card__body p { color: var(--walsh-muted); font-size: .94rem; margin: 0; }
.walsh-card__link {
  margin-top: auto;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ---------- Program / feature block (legacy grid, kept for builder) ---------- */
.walsh-program__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.walsh-program__stack { display: grid; gap: 18px; }
.walsh-program__stack img { border-radius: var(--walsh-radius); width: 100%; }
.walsh-program__stack-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }

/* ---------- CTA ---------- */
.walsh-cta { text-align: center; }
.walsh-cta h2 { max-width: 1000px; margin: 0 auto 32px; }

/* ---------- Gallery ---------- */
.walsh-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.walsh-gallery img { border-radius: var(--walsh-radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- Contact ---------- */
.walsh-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.walsh-field { display: grid; gap: 8px; margin-bottom: 18px; }
.walsh-field label { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--walsh-muted); }
.walsh-field input,
.walsh-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: var(--walsh-text);
  font: inherit;
  font-size: .95rem;
}
.walsh-field textarea { min-height: 150px; resize: vertical; }
.walsh-field input:focus,
.walsh-field textarea:focus { outline: 2px solid var(--walsh-accent); outline-offset: 1px; }
.walsh-contact-info { display: grid; gap: 18px; align-content: start; }
.walsh-contact-info a { text-decoration: underline; text-underline-offset: 4px; }
.walsh-note { font-size: .9rem; color: var(--walsh-muted); }
.walsh-alert {
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  margin-bottom: 20px;
}

/* ---------- Posts ---------- */
.walsh-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.walsh-post-meta { font-size: .8rem; color: var(--walsh-muted); letter-spacing: .06em; text-transform: uppercase; }
.walsh-entry { max-width: 780px; margin: 0 auto; }
.walsh-entry img { border-radius: var(--walsh-radius); }
.walsh-pagination { margin-top: 44px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.walsh-pagination .page-numbers {
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  font-size: .9rem;
}
.walsh-pagination .current { background: var(--walsh-text); color: var(--walsh-bg); }

/* ---------- Page hero (inner pages) ---------- */
.walsh-page-hero {
  padding: clamp(70px, 10vw, 130px) 0 clamp(46px, 6vw, 76px);
  background: var(--walsh-surface);
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: center;
}

/* ---------- Footer ---------- */
.walsh-footer {
  background: var(--walsh-footer-bg);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 62px 0 30px;
  font-size: .93rem;
}
.walsh-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.walsh-footer h4 { letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--walsh-muted); font-family: var(--walsh-font-body); }
.walsh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.walsh-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.walsh-social { display: flex; gap: 14px; margin-top: 16px; }
.walsh-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  font-size: .75rem;
  letter-spacing: .02em;
}
.walsh-social a:hover { background: var(--walsh-text); color: var(--walsh-bg); }
.walsh-footer__bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--walsh-muted);
  font-size: .85rem;
}

/* ---------- Reveal on scroll ---------- */
.walsh-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.walsh-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .walsh-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  width: auto; height: auto; clip: auto;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 8px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  body.walsh-menu-open { overflow: hidden; }
  .walsh-header.is-sticky,
  .walsh-header.is-transparent { position: relative; top: auto; }
  .walsh-header { min-width: 0; width: 100%; height: 123px; background: var(--walsh-header-bg); }
  .walsh-header__inner,
  .walsh-header[data-layout="left"] .walsh-header__inner { position: relative; display: block; width: 100%; min-width: 0; min-height: 123px; height: 123px; padding: 0; }
  .walsh-brand { position: absolute; top: 23px; left: 0; width: 255px; height: 53px; margin: 0; }
  .walsh-nav { display: none; }
  .walsh-header__cta { position: absolute; display: flex; top: 22px; right: 82px; width: 246px; height: 56px; margin: 0; transform: none; }
  .walsh-burger { position: absolute; display: flex; top: 25px; right: 16px; width: 50px; height: 50px; padding: 13px 11px; z-index: 100001; }
  .walsh-burger span { width: 28px; height: 3px; border-radius: 0; background: #dedede; transform-origin: center; }
  .walsh-burger.is-open span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
  .walsh-burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .walsh-mobile-nav { position: fixed; display: block; z-index: 100000; inset: 0; width: 100%; height: 100vh; height: 100dvh; min-height: 568px; padding: 65px 0 24px 13.75%; border: 0; background: #000000; opacity: 0; visibility: hidden; transform: translateX(100%); transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .2s ease, visibility 0s linear .4s; }
  .walsh-mobile-nav.is-open { display: block; opacity: 1; visibility: visible; transform: translateX(0); transition-delay: 0s; }
  .walsh-mobile-nav > ul { width: 71.56%; margin: 0; padding: 0; }
  .walsh-mobile-nav li { position: relative; min-height: 40px; border: 0; }
  .walsh-mobile-nav a { display: block; height: 40px; padding: 0 0 0 10px; color: #ffffff; font-family: Fahkwang, sans-serif; font-size: 14px; font-weight: 400; line-height: 40px; letter-spacing: 0; }
  .walsh-submenu-toggle { position: absolute; z-index: 2; top: 0; right: 0; width: 50px; height: 40px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .walsh-submenu-toggle span { position: absolute; top: 14px; right: 18px; width: 9px; height: 9px; border-right: 1.5px solid #ffffff; border-bottom: 1.5px solid #ffffff; transform: rotate(45deg); transition: transform .2s ease; }
  .walsh-mobile-nav li.is-submenu-open > .walsh-submenu-toggle span { top: 18px; transform: rotate(225deg); }
  .walsh-mobile-nav .sub-menu { display: none; width: 100%; margin: 0; padding: 0; }
  .walsh-mobile-nav .is-submenu-open > .sub-menu { display: block; }
  .walsh-mobile-nav .sub-menu li { height: 40px; min-height: 40px; background: rgba(255,255,255,.04); }
  .walsh-mobile-nav .sub-menu a { padding-left: 25px; }
  .walsh-mobile-nav .walsh-btn,
  .walsh-mobile-nav__tel { display: none; }
  .walsh-cards, .walsh-posts, .walsh-gallery { grid-template-columns: repeat(2, 1fr); }
  .walsh-footer__grid { grid-template-columns: 1fr 1fr; }
  .walsh-program__grid { grid-template-columns: 1fr; gap: 34px; }
  .walsh-hero { width: 980px; }
  /* About: fluid stack on tablet */
  .walsh-about { width: 100%; height: auto; padding: 40px 0 48px; }
  .walsh-about__container { width: 100%; max-width: 680px; height: auto; margin: 0 auto; padding: 0 24px; transform: none; }
  .walsh-split { position: relative; display: block; width: 100%; height: auto; }
  .walsh-split__media,
  .walsh-split--reverse .walsh-split__media { position: relative; top: auto; left: auto; right: auto; width: 100%; height: auto; margin: 0 0 22px; }
  .walsh-split__media img { width: 100%; height: 360px; object-fit: cover; }
  .walsh-split__seo { position: relative; top: auto; left: auto; width: 100%; margin: 0 0 22px; }
  .walsh-split__seo-line,
  .walsh-split__seo-caption { position: static; width: 100%; max-width: none; height: auto; margin: 0 0 8px; font-size: 14px; line-height: 20px; text-align: left; overflow: visible; }
  .walsh-split__seo-caption { margin: 0; font-size: 14px; line-height: 20px; text-decoration: underline; }
  .walsh-split__seo-location { display: none; }
  .walsh-split__body,
  .walsh-split--reverse .walsh-split__body { position: relative; top: auto; left: auto; width: 100%; padding: 26px 0 0; }
  .walsh-split__body::before { top: 0; left: 0; width: 100%; height: 1px; }
  .walsh-split__body h3 { width: 100%; margin: 0 0 16px; font-size: 30px; line-height: 40px; }
  .walsh-split__body p { width: 100%; margin: 0 0 14px; font-size: 16px; line-height: 24px; }
  .walsh-split__body p:last-of-type { margin-bottom: 22px; }
  .walsh-about__btn { width: 100%; max-width: 420px; height: 55px; min-height: 55px; margin: 0; padding: 0 12px; font-size: 14px; line-height: normal; letter-spacing: 1.4px; white-space: normal; }


}

@media (min-width: 1025px) {
  .walsh-about__container { transform: translateX(-4px); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .walsh-header {
    min-width: 0;
    width: 100%;
    height: 185px;
    background: var(--walsh-header-bg);
  }
  .walsh-header__inner,
  .walsh-header[data-layout="left"] .walsh-header__inner {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 185px;
    height: 185px;
  }
  .walsh-brand {
    position: absolute;
    top: 20px;
    left: 6px;
    width: 191px;
    height: 42px;
    margin: 0;
  }
  .walsh-brand img,
  .walsh-brand .custom-logo,
  .walsh-brand__logo {
    width: 191px;
    height: 42px;
  }
  .walsh-nav { display: none; }
  .walsh-burger {
    position: absolute;
    display: flex;
    top: 13px;
    right: 12px;
    width: 50px;
    height: 50px;
    padding: 13px 11px;
    z-index: 100001;
  }
  .walsh-burger span {
    width: 28px;
    height: 3px;
    border-radius: 0;
    background: #dedede;
    transform-origin: center;
  }
  .walsh-burger.is-open span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
  .walsh-burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .walsh-header__cta {
    position: absolute;
    top: 105px;
    left: 50%;
    right: auto;
    width: 198px;
    height: 60px;
    margin: 0;
    transform: translateX(-50%);
  }
  .walsh-header__cta .walsh-btn {
    width: 198px;
    height: 60px;
    min-height: 60px;
    padding: 8px 18px;
    white-space: normal;
  }
  .walsh-header__cta { justify-content: center; }
  .walsh-header__cta .walsh-btn { margin: 0 auto; }
  .walsh-hero {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 320 / 557;
    margin: 3px auto 0;
  }
  .walsh-hero h1 {
    top: 190px;
    width: 280px;
    height: auto;
    font-size: 17px;
    font-weight: 700;
    line-height: 23.8px;
    letter-spacing: normal;
  }
  .walsh-hero .walsh-btn {
    top: 478px;
    width: 174px;
    height: 42px;
    min-height: 42px;
    padding: 0 4px;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 1.4px;
  }

  .walsh-hero__sub {
    top: 34px;
    width: 297px;
    font-size: 5px;
    line-height: 6px;
  }
  .walsh-hero__tag {
    top: 12px;
    width: max-content;
    max-width: calc(100% - 8px);
    height: 9px;
    font-size: 6px;
    line-height: 8.4px;
    white-space: nowrap;
  }
  .walsh-mobile-nav {
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 568px;
    padding: 65px 0 24px 13.75%;
    border: 0;
    background: #000000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .2s ease, visibility 0s linear .4s;
  }
  .walsh-mobile-nav.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
  }
  .walsh-mobile-nav > ul {
    width: 71.56%;
    margin: 0;
    padding: 0;
  }
  .walsh-mobile-nav li {
    position: relative;
    min-height: 40px;
    height: auto;
    border: 0;
  }
  .walsh-mobile-nav a {
    display: block;
    height: 40px;
    padding: 0 0 0 10px;
    color: #ffffff;
    font-family: Fahkwang, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0;
  }
  .walsh-mobile-nav .sub-menu {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .walsh-mobile-nav .is-submenu-open > .sub-menu { display: block; }
  .walsh-mobile-nav .sub-menu li {
    height: 40px;
    min-height: 40px;
    background: rgba(255,255,255,.04);
  }
  .walsh-mobile-nav .sub-menu a { padding-left: 25px; }
  .walsh-mobile-nav .walsh-btn { display: none; }
  .walsh-mobile-nav__tel { display: none; }
  .walsh-container { padding: 0 18px; }
  .walsh-about {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 32px 0 40px;
    border-bottom: 1px solid #dedede;
  }
  .walsh-about__container {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0 20px;
    transform: none;
  }
  .walsh-split { position: relative; display: block; width: 100%; height: auto; }
  .walsh-split__media,
  .walsh-split--reverse .walsh-split__media {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: auto;
    margin: 0 0 18px;
    overflow: hidden;
  }
  .walsh-split__media img { width: 100%; height: 282px; object-fit: cover; }
  .walsh-split__seo {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0 0 18px;
  }
  .walsh-split__seo-line,
  .walsh-split__seo-caption {
    position: static;
    width: 100%;
    max-width: none;
    height: auto;
    color: #ffffff;
    font-family: var(--walsh-font-body);
    text-align: left;
    overflow: visible;
  }
  .walsh-split__seo-line {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 19px;
  }
  .walsh-split__seo-location { display: none; }
  .walsh-split__seo-caption {
    margin: 0;
    font-size: 13px;
    line-height: 19px;
    text-decoration: underline;
  }
  .walsh-split__body,
  .walsh-split--reverse .walsh-split__body {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding: 24px 0 0;
  }
  .walsh-split__body::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
  }
  .walsh-split__body h3 {
    width: 100%;
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 33px;
  }
  .walsh-split__body p {
    width: 100%;
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 23px;
  }
  .walsh-split__body p:last-of-type { margin-bottom: 20px; }
  .walsh-about__btn {
    display: flex;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 52px;
    margin: 0;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 1.3px;
    white-space: normal;
    text-align: center;
    overflow: visible;
  }

  .walsh-program__grid,
  .walsh-contact-grid { grid-template-columns: 1fr; }
  .walsh-cards, .walsh-posts, .walsh-gallery, .walsh-footer__grid { grid-template-columns: 1fr; }
  .walsh-hero__inner { padding: 0; }
  .walsh-btn { padding: 13px 24px; }

}


/* ---------- Trusted Home Service Providers (reference exact — desktop) ---------- */
.walsh-providers {
  background: #f4f4f4;
  padding: 56px 0 68px;
  overflow: hidden;
}
.walsh-providers.walsh-section--alt,
.walsh-providers.walsh-section--dark { background: #f4f4f4; }
.walsh-providers__inner { width: 1179px; max-width: calc(100% - 60px); margin: 0 auto; }
.walsh-providers__head { position: relative; padding-bottom: 0; }
.walsh-providers__title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 56px;
  letter-spacing: normal;
  color: #000000;
}
.walsh-providers__cta {
  position: absolute;
  top: 1px;
  right: -36px;
  width: 311px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border: 2px solid #000000;
  border-radius: 5px;
  text-decoration: none;
  font-size: 10px;
  line-height: normal;
  transition: background .3s ease, color .3s ease;
}
.walsh-providers__cta span {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 10px;
  line-height: 25px;
  letter-spacing: 1.6px;
  color: #ffffff;
  white-space: nowrap;
}
.walsh-providers__cta:hover { background: #ffffff; }
.walsh-providers__cta:hover span { color: #000000; }
.walsh-providers__rule {
  position: absolute;
  left: 0;
  right: 0;
  top: 85px;
  height: 1px;
  background: #d9d9d9;
  z-index: 0;
}
.walsh-providers__text {
  position: relative;
  z-index: 1;
  margin: 7px 0 0 115px;
  width: 673px;
  max-width: 100%;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 25.2px;
  color: #000000;
}
.walsh-providers__grid {
  display: grid;
  grid-template-columns: repeat(3, 357px);
  gap: 54px;
  margin-top: 37px;
  justify-content: start;
}
.walsh-provider {
  position: relative;
  width: 357px;
  height: 292px;
  background: #000000;
  overflow: hidden;
  border-radius: 20px;
  transform: scale(1);
  transform-origin: center;
  transition: transform .3s ease;
  z-index: 1;
}
.walsh-provider:hover {
  transform: scale(1.1);
  z-index: 2;
}
.walsh-provider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.walsh-provider__name {
  position: absolute;
  top: 160px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 30.8px;
  color: #ffffff;
}
.walsh-provider__btn {
  position: absolute;
  top: 215px;
  left: 28px;
  width: 301px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #fdfdfd;
  border-radius: 5px;
  text-decoration: none;
  color: #000000;
  font-size: 10px;
  line-height: normal;
  transition: background .2s ease, border-color .2s ease;
}
.walsh-provider__btn span {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 10px;
  line-height: 25px;
  letter-spacing: 1.6px;
  color: #000000;
  transition: color .2s ease;
}
.walsh-provider__btn:hover {
  background: transparent;
  border-color: #ffffff;
}
.walsh-provider__btn:hover span { color: #ffffff; }

@media (max-width: 1279px) and (min-width: 1024px) {
  .walsh-providers {
    width: 980px;
    min-width: 980px;
    height: 567.2px;
    padding: 56px 0 68px;
  }
  .walsh-providers__inner {
    width: 1179px;
    max-width: none;
    margin-right: 0;
    margin-left: -99px;
  }
  .walsh-providers__title { width: 904px; }
  .walsh-provider__name {
    left: 23px;
    right: auto;
    width: 310px;
  }
}

/* ---------- Providers: reference mobile + tablet fixed canvas ---------- */
@media (max-width: 1023px) {
  .walsh-providers {
    width: 980px;
    min-width: 980px;
    height: 567.2px;
    margin: 0;
    padding: 56px 0 68px;
    overflow: hidden;
  }
  .walsh-providers__inner {
    width: 1179px;
    max-width: none;
    margin: 0 0 0 -99px;
    padding: 0;
    text-align: left;
  }
  .walsh-providers__head { position: relative; padding: 0; }
  .walsh-providers__title {
    width: 875px;
    margin: 0;
    font-size: 40px;
    line-height: 56px;
    text-align: left;
    white-space: nowrap;
  }
  .walsh-providers__cta {
    position: absolute;
    top: 1px;
    right: -36px;
    width: 311px;
    height: 55px;
    margin: 0;
  }
  .walsh-providers__cta span {
    font-size: 10px;
    line-height: 25px;
    letter-spacing: 1.6px;
  }
  .walsh-providers__rule {
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    top: 85px;
    width: auto;
    height: 1px;
    margin: 0;
  }
  .walsh-providers__text {
    position: relative;
    width: 673px;
    max-width: none;
    margin: 7px 0 0 115px;
    font-size: 18px;
    line-height: 25.2px;
    text-align: left;
  }
  .walsh-providers__grid {
    display: grid;
    grid-template-columns: repeat(3, 357px);
    gap: 54px;
    margin-top: 37px;
    justify-content: start;
  }
  .walsh-provider {
    width: 357px;
    height: 292px;
    margin: 0;
    border: 0;
    border-radius: 20px;
    transform: scale(1);
  }
  .walsh-provider:hover { transform: scale(1.1); }
  .walsh-provider__img { border: 0; }
  .walsh-provider__name {
    top: 160px;
    left: 0;
    right: 0;
    width: auto;
    text-align: center;
    font-size: 22px;
    line-height: 30.8px;
  }
  .walsh-provider__btn {
    top: 215px;
    left: 28px;
    right: auto;
    width: 301px;
    height: 45px;
  }
  .walsh-provider__btn span {
    font-size: 10px;
    line-height: 25px;
    letter-spacing: 1.6px;
  }
}

/* ---------- Providers: screenshot-matched phone layout ---------- */
@media (max-width: 767px) {
  .walsh-providers {
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 20px 20px 36px;
    background: #f4f4f4;
    overflow: hidden;
  }
  .walsh-providers__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .walsh-providers__head {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .walsh-providers__title {
    order: 1;
    width: 100%;
    margin: 0 0 13px;
    font-size: 24px;
    line-height: 29px;
    text-align: left;
    white-space: normal;
  }
  .walsh-providers__cta {
    position: static;
    order: 2;
    width: 100%;
    height: 42px;
    margin: 0 0 9px;
    border-radius: 5px;
  }
  .walsh-providers__cta span {
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 1px;
  }
  .walsh-providers__rule { display: none; }
  .walsh-providers__text {
    position: static;
    order: 3;
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 16px;
    line-height: 21px;
    text-align: left;
  }
  .walsh-providers__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    margin-top: 18px;
  }
  .walsh-provider {
    width: 100%;
    height: auto;
    aspect-ratio: 280 / 177;
    margin: 0;
    border: 0;
    border-radius: 15px;
    transform: none;
  }
  .walsh-provider:hover { transform: none; }
  .walsh-provider__img {
    border: 0;
    border-radius: inherit;
  }
  .walsh-provider__name {
    top: auto;
    bottom: 74px;
    left: 12px;
    right: 12px;
    width: auto;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 30.8px;
    text-align: center;
  }
  .walsh-provider__btn {
    top: auto;
    bottom: 18px;
    left: 50%;
    right: auto;
    width: 301px;
    max-width: calc(100% - 24px);
    height: 45px;
    border-radius: 5px;
    transform: translateX(-50%);
    font-size: 10px;
  }
  .walsh-provider__btn span {
    font-size: 10px;
    line-height: 25px;
    letter-spacing: 1.6px;
  }
}




/* ---------- Our Clients Appreciation Program (reference exact) ---------- */
.walsh-program.walsh-section {
  position: relative;
  width: 100%;
  height: 566px;
  padding: 0;
  margin: 0;
  background: #ffffff;
  overflow: hidden;
}
.walsh-program.walsh-section--alt { background: #f4f4f4; }
.walsh-program.walsh-section--dark { background: #000000; }
.walsh-program__inner {
  position: relative;
  width: 1179px;
  max-width: calc(100% - 60px);
  height: 566px;
  margin: 0 auto;
}
.walsh-program__rule {
  position: absolute;
  top: 76px;
  left: 0;
  width: 99px;
  height: 7px;
  background: #000000;
}
.walsh-program__title {
  position: absolute;
  top: 83px;
  left: 0;
  width: 611px;
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 53.2px;
  color: #000000;
  text-align: left;
}
.walsh-program__text {
  position: absolute;
  top: 150px;
  left: 0;
  width: 578px;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 22.4px;
  color: #000000;
  text-align: left;
}
.walsh-program__btn {
  position: absolute;
  top: 384px;
  left: 1px;
  width: 162px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: #000000;
  border: 2px solid #000000;
  border-radius: 5px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.walsh-program__btn span {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 25px;
  color: #ffffff;
  text-align: center;
  transition: color .2s ease;
}
.walsh-program__btn:hover { background: transparent; border-color: #000000; }
.walsh-program__btn:hover span { color: #000000; }
.walsh-program__media {
  position: absolute;
  top: 64px;
  left: 632px;
  width: 547px;
  height: 327px;
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
}
.walsh-program__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Program: mobile + tablet */
@media (max-width: 1023px) {
  .walsh-program.walsh-section {
    height: auto;
    padding: 32px 20px 36px;
  }
  .walsh-program__inner {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .walsh-program__rule {
    position: relative;
    top: 0;
    margin: 0 0 14px;
  }
  .walsh-program__title,
  .walsh-program__text,
  .walsh-program__btn,
  .walsh-program__media {
    position: relative;
    top: auto;
    left: auto;
  }
  .walsh-program__title {
    width: 100%;
    font-size: 24px;
    line-height: 33.6px;
    text-align: left;
  }
  .walsh-program__text {
    width: 100%;
    margin-top: 14px;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
  }
  .walsh-program__btn {
    width: 162px;
    height: 55px;
    margin-top: 20px;
  }
  .walsh-program__media {
    width: 100%;
    height: auto;
    aspect-ratio: 547 / 327;
    margin-top: 24px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .walsh-program__inner { max-width: 600px; }
  .walsh-program__title { font-size: 30px; line-height: 42px; }
}

/* Appreciation Program phone composition. */
@media (max-width: 767px) {
  /* Appreciation Program — matches demo 320px mobile canvas (scaled by vw) */
  .walsh-program.walsh-section {
    height: auto;
    padding: 10vw 6.25vw 22.19vw;
    background: #ffffff;
  }
  .walsh-program__inner {
    width: 100%;
    max-width: none;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .walsh-program__rule {
    position: relative;
    top: 0;
    left: 0;
    width: 33.125vw;
    height: 2.19vw;
    margin: 0 0 1.87vw;
    background: #000000;
  }
  .walsh-program__title {
    width: 87.5vw;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 6.25vw;
    line-height: 8.75vw;
    text-align: left;
  }
  .walsh-program__text {
    width: 87.5vw;
    margin-top: 3.12vw;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 3.75vw;
    line-height: 5.25vw;
    text-align: left;
  }
  .walsh-program__btn {
    width: 45.94vw;
    height: 13.12vw;
    margin-top: 5.94vw;
    background: #000000;
    border: 0.62vw solid #000000;
    border-radius: 1.56vw;
  }
  .walsh-program__btn span {
    font-size: 4.37vw;
    line-height: 6.56vw;
  }
  .walsh-program__media {
    width: 87.5vw;
    height: 52.19vw;
    margin-top: 3.12vw;
    aspect-ratio: auto;
    border-radius: 4.69vw;
  }
}


/* ---------- Per-section design overrides from the Site Builder ---------- */
.walsh-sec--styled > section,
.walsh-sec--styled > .walsh-section { background: var(--walsh-sec-bg, inherit); }
.walsh-sec--styled { color: var(--walsh-sec-text, inherit); }
.walsh-sec--styled p,
.walsh-sec--styled li,
.walsh-sec--styled .walsh-lead { color: var(--walsh-sec-text, inherit); font-size: var(--walsh-sec-text-size, inherit); }
.walsh-sec--styled h1,
.walsh-sec--styled h2,
.walsh-sec--styled h3 { color: var(--walsh-sec-heading, inherit); font-size: var(--walsh-sec-title-size, inherit); }
.walsh-sec--styled a.walsh-btn,
.walsh-sec--styled .walsh-providers__cta,
.walsh-sec--styled .walsh-program__btn,
.walsh-sec--styled .walsh-cta-band__btn,
.walsh-sec--styled .walsh-provider__btn {
  background: var(--walsh-sec-btn-bg, inherit);
  color: var(--walsh-sec-btn-text, inherit);
}
.walsh-sec--styled .walsh-providers__cta span,
.walsh-sec--styled .walsh-program__btn span,
.walsh-sec--styled .walsh-cta-band__btn span,
.walsh-sec--styled .walsh-provider__btn span {
  color: var(--walsh-sec-btn-text, inherit);
  font-size: var(--walsh-sec-btn-size, inherit);
}

.walsh-sec[style*="--walsh-sec-pad-top"] { padding-top: var(--walsh-sec-pad-top, 0); }
.walsh-sec[style*="--walsh-sec-pad-bottom"] { padding-bottom: var(--walsh-sec-pad-bottom, 0); }
.walsh-sec--align-left,
.walsh-sec--align-left h1, .walsh-sec--align-left h2, .walsh-sec--align-left h3,
.walsh-sec--align-left p { text-align: left; }
.walsh-sec--align-center,
.walsh-sec--align-center h1, .walsh-sec--align-center h2, .walsh-sec--align-center h3,
.walsh-sec--align-center p { text-align: center; }
.walsh-sec--align-right,
.walsh-sec--align-right h1, .walsh-sec--align-right h2, .walsh-sec--align-right h3,
.walsh-sec--align-right p { text-align: right; }

/* ---------- Provider card button — exact reference treatment ---------- */
.walsh-provider__btn,
.walsh-provider__btn:hover {
  width: 301px;
  height: 45px;
  padding: 0;
  background: #ffffff;
  border: 2px solid #fdfdfd;
  border-radius: 5px;
}
.walsh-provider__btn span {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 1.6px;
  color: #000000;
  text-align: center;
  text-decoration: none;
}
.walsh-provider__btn:hover {
  background: transparent;
  border-color: #ffffff;
}
.walsh-provider__btn:hover span { color: #ffffff; }

@media (max-width: 767px) {
  .walsh-provider__btn {
    top: auto;
    bottom: 18px;
    left: 50%;
    right: auto;
    width: 301px;
    max-width: calc(100% - 24px);
    height: 45px;
    transform: translateX(-50%);
  }
  .walsh-provider__btn span { font-size: 16px; line-height: 25px; letter-spacing: 1.6px; }
}

/* ---------- Full-bleed CTA band (reference: "ready to list your home") ---------- */
.walsh-cta-band {
  position: relative;
  width: 100%;
  height: 687px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.walsh-cta-band__stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 687px;
  overflow: hidden;
  z-index: 0;
}
/* Reference uses a 900px tall image inside a 687px band that scrolls slower
   than the page (parallax reveal). */
.walsh-cta-band__bg {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 900px;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, -50%, 0);
  will-change: transform;
  z-index: 0;
}
.walsh-cta-band__badge {
  position: absolute;
  z-index: 2;
  top: -93px;
  left: 50%;
  width: 284px;
  height: 180px;
  object-fit: contain;
  transform: translateX(-50%);
  pointer-events: none;
}
.walsh-cta-band__inner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 980px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding-top: 276px;
  text-align: center;
}
.walsh-cta-band__title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 56px;
  color: #ffffff;
  text-align: center;
}
.walsh-cta-band__text {
  margin: 14px auto 0;
  max-width: 720px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 27px;
  color: #ffffff;
}
.walsh-cta-band__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 55px;
  margin-top: 40px;
  background: #ffffff;
  border: 2px solid #fdfdfd;
  border-radius: 5px;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease;
}
.walsh-cta-band__btn span {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 1.6px;
  color: #000000;
  transition: color .25s ease;
}
.walsh-cta-band__btn:hover { background: transparent; border-color: #ffffff; }
.walsh-cta-band__btn:hover span { color: #ffffff; }

/* The reference keeps a 980px canvas on phone and tablet. */
@media (max-width: 1023px) {
  .walsh-cta-band {
    width: 980px;
    min-width: 980px;
    height: 687px;
  }
  .walsh-cta-band__bg { object-position: center 50%; }
  .walsh-cta-band__badge { top: -93px; width: 284px; height: 180px; }
  .walsh-cta-band__inner {
    width: 980px;
    max-width: none;
    padding-top: 276px;
  }
  .walsh-cta-band__title { font-size: 40px; line-height: 56px; }
  .walsh-cta-band__text { font-size: 18px; line-height: 27px; }
  .walsh-cta-band__btn { width: 180px; height: 55px; margin-top: 40px; }
  .walsh-cta-band__btn span { font-size: 16px; letter-spacing: 1.6px; }
}

/* CTA band button must stay white with dark label even under builder styling. */
.walsh-sec--styled .walsh-cta-band__btn { background: var(--walsh-sec-btn-bg, #ffffff); }
.walsh-sec--styled .walsh-cta-band__btn span { color: var(--walsh-sec-btn-text, #000000); }
.walsh-sec--styled .walsh-cta-band__btn:hover { background: transparent; }
.walsh-sec--styled .walsh-cta-band__btn:hover span { color: #ffffff; }
