@import url("brand-fonts.css?v=20260727-roboto");

:root {
  color-scheme: light;
  --brand: #00a5ca;
  --brand-dark: #123b70;
  --ink: #172231;
  --muted: #66788b;
  --line: #dbe5ee;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --mint: #2f8f70;
  --coral: #d4614f;
  --shadow: 0 18px 44px rgba(14, 39, 62, .14);
}

/* Homepage intent and MAYRASA method refresh - 2026-08-24 */
.home-paths-section.page-section {
  padding: 44px 42px 38px;
  border-radius: 18px;
}

.section-head.home-paths-head {
  justify-content: flex-start;
  margin-bottom: 28px;
  text-align: left;
}

.section-head.home-paths-head > div {
  justify-items: start;
  max-width: 820px;
}

.home-paths-head .site-eyebrow {
  margin: 0 0 10px;
  color: #2686ca;
  font-size: 13px;
  letter-spacing: .055em;
}

.home-paths-head h2 {
  font-size: clamp(32px, 3vw, 42px);
}

.home-paths-head h2::after {
  margin: 13px 0 0;
}

.home-paths-head .home-paths-intro {
  max-width: 790px;
  margin: 15px 0 0;
  color: #526176;
  font-size: 17px;
  line-height: 1.58;
}

.home-path-grid {
  gap: 16px;
}

.home-path-card {
  min-height: 272px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 24px 22px 21px;
  border-radius: 16px;
}

.home-path-card:hover {
  transform: translateY(-3px);
}

.home-path-card:focus-visible {
  outline: 3px solid rgba(0, 165, 202, .24);
  outline-offset: 3px;
}

.home-path-card .home-path-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 2px;
  background: linear-gradient(145deg, #e8f5fc, #f4f8fd);
  color: #176fae;
}

.home-path-card .home-path-icon svg {
  width: 30px;
  height: 30px;
}

.home-path-card h3 {
  margin: 0;
  color: #102c55;
  font-size: 19px;
  line-height: 1.22;
}

.home-path-card p {
  margin: 0;
  color: #5d6a7d;
  font-size: 14px;
  line-height: 1.5;
}

.home-path-card .home-path-cta {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #176fae;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: none;
}

.home-path-card .home-path-cta span {
  font-size: 18px;
  line-height: 1;
  transition: transform .16s ease;
}

.home-path-card:hover .home-path-cta span {
  transform: translateX(3px);
}

.home-objective-band {
  padding: 10px 0 58px;
}

.home-objective-panel {
  padding: 50px 42px 30px;
  border: 1px solid #dce7f0;
  border-radius: 18px;
}

.home-objective-head {
  max-width: 920px;
}

.home-objective-band .home-objective-head h2 {
  max-width: 900px;
  font-size: clamp(32px, 3vw, 42px);
}

.home-objective-head > p:not(.site-eyebrow) {
  max-width: 860px;
  margin-bottom: 30px;
}

.home-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-method-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #d9e5ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 38px rgba(14, 39, 62, .065);
}

.home-method-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-method-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eaf5fc;
  color: #176fae;
}

.home-method-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-method-card h3 {
  margin: 0;
  color: #102c55;
  font-size: 24px;
  line-height: 1.2;
}

.home-method-card > p {
  margin: 18px 0 0;
  color: #5d6a7d;
  font-size: 15px;
  line-height: 1.55;
}

.home-method-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.home-method-card li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  color: #33465f;
  font-size: 14px;
  line-height: 1.45;
}

.home-method-card li span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f7f2;
  color: #167558;
  font-size: 12px;
  font-weight: 950;
}

.home-method-card > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin-top: auto;
  color: #176fae;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.home-method-card > a span {
  font-size: 19px;
  transition: transform .16s ease;
}

.home-method-card > a:hover span {
  transform: translateX(3px);
}

.home-method-card > a:focus-visible {
  border-radius: 5px;
  outline: 3px solid rgba(0, 165, 202, .22);
  outline-offset: 4px;
}

.home-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #d7e5ee;
  border-radius: 14px;
  background: #edf6fc;
}

.home-trust-strip > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #183b63;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.home-trust-strip i {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #1b7dbb;
  color: #fff;
  font-size: 12px;
  font-style: normal;
}

@media (max-width: 760px) {
  .home-paths-section.page-section {
    padding: 30px 18px 22px;
    border-radius: 16px;
  }

  .section-head.home-paths-head {
    margin-bottom: 22px;
    text-align: left;
  }

  .section-head.home-paths-head > div {
    justify-items: start;
    max-width: none;
  }

  .home-paths-head h2 {
    max-width: none;
    font-size: 30px;
    overflow-wrap: normal;
  }

  .home-paths-head .home-paths-intro {
    max-width: none;
    font-size: 15px;
    overflow-wrap: normal;
  }

  .home-path-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-path-card {
    min-height: 0;
    gap: 11px;
    padding: 19px 18px 17px;
  }

  .home-path-card .home-path-icon {
    width: 48px;
    height: 48px;
  }

  .home-path-card h3 {
    font-size: 18px;
  }

  .home-path-card p {
    font-size: 14px;
  }

  .home-path-card .home-path-cta {
    margin-top: 3px;
  }

  .home-objective-band {
    padding-bottom: 44px;
  }

  .home-objective-panel {
    width: calc(100% - 16px);
    padding: 34px 18px 20px;
    border-radius: 16px;
  }

  .home-objective-band .home-objective-head h2 {
    font-size: 30px;
  }

  .home-objective-head > p:not(.site-eyebrow) {
    margin: 13px 0 22px;
    font-size: 15px;
  }

  .home-method-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-method-card {
    padding: 22px 18px;
  }

  .home-method-card h3 {
    font-size: 21px;
  }

  .home-method-card ul {
    margin: 18px 0 22px;
  }

  .home-trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 13px 10px;
    padding: 16px;
  }

  .home-trust-strip > span {
    align-items: flex-start;
    font-size: 12px;
  }
}

/* Connected buyer header: one continuous, personal navigation system. */
.public-header.is-client-logged {
  min-height: 88px;
  flex-wrap: nowrap;
  gap: clamp(16px, 2vw, 30px);
  padding-top: 10px;
  padding-bottom: 10px;
}

.public-header.is-client-logged .public-brand,
.public-header.is-client-logged .public-nav,
.public-header.is-client-logged .public-header-actions {
  order: 0;
}

.public-header.is-client-logged .public-nav {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: center;
  gap: 2px;
  overflow-x: auto;
  padding: 0;
  border: 0;
  scrollbar-width: none;
}

.public-header.is-client-logged .public-nav::-webkit-scrollbar {
  display: none;
}

.public-header.is-client-logged .public-nav a {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 9px 11px;
  border-radius: 11px;
  font-size: 14px;
  letter-spacing: 0;
  white-space: nowrap;
}

.public-header.is-client-logged .public-nav a.active {
  background: linear-gradient(135deg, #123b70 0%, #248fd3 100%);
  color: #fff;
  box-shadow: 0 9px 22px rgba(18, 59, 112, .16);
}

.public-header.is-client-logged .public-header-actions {
  flex: 0 0 auto;
  margin-left: 0;
  gap: 9px;
}

.public-member-hub,
.public-client-profile-menu {
  position: relative;
}

.public-member-hub {
  display: inline-flex;
  align-items: center;
}

.public-client-profile-menu > summary {
  list-style: none;
}

.public-client-profile-menu > summary::-webkit-details-marker {
  display: none;
}

.public-member-hub .public-client-access.is-logged {
  min-height: 48px;
  gap: 9px;
  padding: 5px 10px 5px 6px;
  border: 1px solid rgba(202, 218, 229, .94);
  border-radius: 15px;
  background: linear-gradient(180deg, #fff, #f4f9fc);
  box-shadow: 0 10px 24px rgba(18, 59, 112, .08);
  cursor: pointer;
}

.public-client-profile-menu[open] .public-client-access.is-logged,
.public-member-hub .public-client-access.is-logged:hover {
  border-color: rgba(0, 165, 202, .34);
  background: #f2fbfd;
}

.public-member-hub .client-access-copy {
  display: inline-grid !important;
  gap: 2px;
}

.public-member-hub .client-access-copy small,
.public-member-hub .client-access-copy strong {
  max-width: 12ch;
}

.client-access-chevron {
  width: 8px;
  height: 8px;
  margin: 0 2px 4px 3px;
  border-right: 2px solid #60758a;
  border-bottom: 2px solid #60758a;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.public-client-profile-menu[open] .client-access-chevron {
  margin-bottom: -2px;
  transform: rotate(225deg);
}

.public-client-profile-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: 230px;
  display: grid;
  gap: 4px;
  padding: 9px;
  border: 1px solid #d7e4ec;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(18, 40, 68, .17);
}

.public-client-profile-popover a {
  padding: 11px 12px;
  border-radius: 10px;
  color: #29445e;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.public-client-profile-popover a:hover {
  background: #eef8fb;
  color: #123b70;
}

.public-client-profile-popover a.is-logout {
  border-top: 1px solid #e3ebf0;
  border-radius: 0 0 10px 10px;
  color: #6d4650;
}

.public-mobile-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #d5e2ea;
  border-radius: 12px;
  color: #526a7d;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1240px) and (min-width: 996px) {
  .public-header.is-client-logged {
    gap: 12px;
  }

  .public-header.is-client-logged .public-brand img {
    width: 132px;
  }

  .public-header.is-client-logged .public-nav a {
    padding-inline: 8px;
    font-size: 13px;
  }
}

@media (max-width: 995px), (max-height: 648px) {
  .public-header.is-client-logged {
    min-height: 76px;
    gap: 12px;
    padding: 10px max(14px, env(safe-area-inset-left));
  }

  .public-header.is-client-logged .public-header-actions {
    gap: 7px;
  }

  .public-member-hub .public-client-access.is-logged {
    min-height: 44px;
    padding: 4px 7px 4px 4px;
  }

  .public-member-hub .client-access-copy strong,
  .public-member-hub .client-access-chevron {
    display: none;
  }
}

@media (max-width: 390px) {
  .public-header.is-client-logged {
    gap: 8px;
    padding-inline: 10px;
  }

  .public-header.is-client-logged .public-brand {
    min-width: 0;
  }

  .public-header.is-client-logged .public-brand img {
    width: 108px;
  }
}

html {
  scroll-padding-top: 104px;
}

.web-chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2200;
  font-family: inherit;
}

.web-chat-widget [hidden],
.web-chat-launcher[hidden],
.web-chat-panel[hidden],
.web-chat-contact[hidden] {
  display: none !important;
}

.web-chat-launcher {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: #38405f;
  box-shadow: 0 18px 42px rgba(18, 31, 52, .28);
  cursor: pointer;
  position: relative;
}

.web-chat-widget.attention .web-chat-panel,
.web-chat-widget.attention .web-chat-launcher {
  animation: web-chat-attention .42s ease-in-out 0s 1;
  box-shadow: 0 0 0 3px rgba(88, 201, 83, .14), 0 24px 64px rgba(20, 31, 52, .24);
}

@keyframes web-chat-attention {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-3px, 0, 0); }
  42% { transform: translate3d(3px, 0, 0); }
  64% { transform: translate3d(-1px, 0, 0); }
  82% { transform: translate3d(1px, 0, 0); }
}

.web-chat-launcher-bear,
.web-chat-avatar {
  background: linear-gradient(135deg, #eaf7fb 0%, #ffffff 100%);
  color: #17375f;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, .48),
    0 0 18px rgba(0, 165, 202, .18);
}

.web-chat-launcher-bear {
  position: absolute;
  display: block;
  inset: 8px;
}

.web-chat-launcher-bear:not(.has-photo):not(.has-initials),
.web-chat-avatar:not(.has-photo):not(.has-initials) {
  transform-origin: 50% 80%;
  animation: teddy-breathe 2.8s ease-in-out infinite;
}

.web-chat-launcher:not([hidden]) .web-chat-launcher-bear:not(.has-photo):not(.has-initials) {
  animation: teddy-breathe 2.8s ease-in-out infinite, teddy-pop 4.8s ease-in-out infinite;
}

.web-chat-launcher-bear:not(.has-photo):not(.has-initials)::after,
.web-chat-avatar:not(.has-photo):not(.has-initials)::after {
  content: "";
  display: none;
}

.web-chat-launcher-bear:not(.has-photo):not(.has-initials)::before,
.web-chat-avatar:not(.has-photo):not(.has-initials)::before {
  content: "";
  display: none;
}

.web-chat-avatar:not(.has-photo):not(.has-initials) {
  position: relative;
}

.web-chat-launcher-bear:not(.has-photo):not(.has-initials) {
  position: absolute;
}

.web-chat-avatar:not(.has-photo):not(.has-initials)::after {
  right: -1px;
  bottom: 9px;
}

@keyframes teddy-breathe {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.035) translateY(-1px); }
}

@keyframes teddy-pop {
  0%, 72%, 100% { filter: drop-shadow(0 0 0 rgba(81, 200, 90, 0)); }
  78% { filter: drop-shadow(0 0 8px rgba(81, 200, 90, .45)); }
  84% { filter: drop-shadow(0 0 0 rgba(81, 200, 90, 0)); }
}

@keyframes teddy-wave {
  0%, 64%, 100% { transform: rotate(8deg); }
  70% { transform: rotate(-24deg); }
  76% { transform: rotate(18deg); }
  82% { transform: rotate(-14deg); }
  88% { transform: rotate(8deg); }
}

.web-chat-launcher-bear.has-photo,
.web-chat-avatar.has-photo {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.web-chat-launcher-bear.has-initials,
.web-chat-avatar.has-initials {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf7fb 0%, #ffffff 100%);
  color: #17375f;
  font-weight: 950;
  letter-spacing: 0;
}

.web-chat-launcher-bear.has-photo,
.web-chat-launcher-bear.has-initials {
  overflow: hidden;
  border-radius: 50%;
}

.web-chat-launcher-bear.has-initials {
  font-size: 18px;
}

.web-chat-launcher-dot {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 14px;
  height: 14px;
  border: 3px solid #38405f;
  border-radius: 50%;
  background: #51c85a;
}

.web-chat-panel {
  width: min(430px, calc(100vw - 28px));
  height: auto;
  max-height: calc(100vh - 36px);
  overflow: hidden;
  border: 1px solid rgba(203, 216, 228, .92);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 72px rgba(14, 28, 52, .26);
  display: grid;
  grid-template-rows: auto auto auto;
}

.web-chat-widget.is-started .web-chat-panel {
  height: min(560px, calc(100vh - 36px));
  grid-template-rows: auto 1fr auto auto auto;
}

.web-chat-widget:not(.is-started) .web-chat-panel {
  overflow: auto;
}

.web-chat-head {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 111, 211, .72) 0 20%, rgba(45, 111, 211, 0) 39%),
    linear-gradient(135deg, #0d367d 0%, #071a44 100%);
  color: #fff;
  position: relative;
}

.web-chat-head > div:not(.web-chat-avatar):not(.web-chat-head-actions) {
  min-width: 0;
}

.web-chat-head::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 165, 202, .78), rgba(88, 201, 83, .64), rgba(255, 255, 255, 0));
}

.web-chat-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: #f4d0a1;
  flex: 0 0 auto;
  border: 3px solid rgba(255, 255, 255, .9);
}

.web-chat-avatar.has-initials {
  font-size: 16px;
}

.web-chat-head strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-chat-head span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-chat-head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.web-chat-prestart {
  align-self: start;
  align-content: start;
  display: grid;
  gap: 14px;
  padding: 28px 24px 20px;
  background: #fff;
}

.web-chat-prestart[hidden] {
  display: none;
}

.web-chat-prestart-copy {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}

.web-chat-prestart strong {
  color: #0c1f49;
  font-size: 24px;
  line-height: 1.2;
}

.web-chat-prestart p {
  max-width: 330px;
  margin: 0;
  color: #6c778f;
  font-size: 18px;
  line-height: 1.35;
}

.web-chat-prestart-field {
  min-width: 0;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #d6dfeb;
  border-radius: 10px;
  padding: 0 16px;
  background: rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.web-chat-prestart-field svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #586274;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.web-chat-prestart-field:focus-within {
  border-color: rgba(37, 101, 203, .7);
  outline: 3px solid rgba(37, 101, 203, .12);
}

.web-chat-prestart input {
  min-width: 0;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #172231;
  font: inherit;
  font-size: 18px;
  outline: 0;
  box-shadow: none;
}

.web-chat-prestart input:focus {
  outline: 0;
}

.web-chat-prestart button {
  height: 58px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #0c3a95 0%, #123f9b 48%, #2f8ceb 100%);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(37, 101, 203, .24);
}

.web-chat-prestart button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(18, 59, 112, .24);
}

.web-chat-prestart span {
  min-height: 18px;
  color: #b23b2f;
  font-size: 13px;
}

.web-chat-trust {
  display: grid;
  gap: 18px;
  padding: 18px 24px 20px;
  border-top: 1px solid #edf1f6;
  background: #fff;
}

.web-chat-trust[hidden],
.web-chat-widget.is-started .web-chat-trust {
  display: none;
}

.web-chat-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.web-chat-trust-row span {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  color: #283856;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.web-chat-trust-row span + span {
  border-left: 1px solid #d9e1ec;
}

.web-chat-trust svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: #1d5bc4;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.web-chat-trust p {
  margin: 0;
  color: #7a879e;
  font-size: 13px;
  line-height: 1.35;
}

.web-chat-trust a {
  color: #1d5bc4;
  font-weight: 800;
  text-decoration: none;
}

.web-chat-widget.is-started .web-chat-head {
  min-height: 92px;
  gap: 14px;
  padding: 17px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 44%),
    linear-gradient(135deg, #343957 0%, #15284a 100%);
}

.web-chat-widget.is-started .web-chat-avatar {
  width: 54px;
  height: 54px;
  border-width: 2px;
}

.web-chat-widget.is-started .web-chat-head strong {
  font-size: 21px;
}

.web-chat-widget.is-started .web-chat-head span {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 650;
}

.web-chat-minimize {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(63, 104, 194, .58);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.web-chat-widget.is-started .web-chat-minimize {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, .14);
  font-size: 22px;
}

.web-chat-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  overflow: auto;
  background: #fbfcfd;
}

.web-chat-log[hidden] {
  display: none;
}

.web-chat-message {
  max-width: 88%;
}

.web-chat-message p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: #eef2f5;
  color: #263241;
  line-height: 1.35;
}

.web-chat-message.from-client {
  margin-left: auto;
}

.web-chat-message.from-client p {
  background: #40b83f;
  color: #fff;
}

.web-chat-message.is-typing p {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #526277;
  background: #eef3f7;
}

.web-chat-typing-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.web-chat-typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8a9aad;
  animation: web-chat-typing-dot 1s ease-in-out infinite;
}

.web-chat-typing-dots i:nth-child(2) {
  animation-delay: .16s;
}

.web-chat-typing-dots i:nth-child(3) {
  animation-delay: .32s;
}

@keyframes web-chat-typing-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: .42; }
  40% { transform: translateY(-3px); opacity: 1; }
}

.web-chat-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e5edf3;
  background: #fff;
}

.web-chat-contact[hidden] {
  display: none;
}

.web-chat-contact input,
.web-chat-form input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid #d8e3ec;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.web-chat-contact input[name="email"],
.web-chat-contact button {
  grid-column: 1 / -1;
}

.web-chat-contact button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #123b70;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.web-chat-session-actions {
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px 0;
  background: #fff;
}

.web-chat-session-actions[hidden],
.web-chat-form[hidden],
.web-chat-rating[hidden] {
  display: none;
}

.web-chat-finish {
  min-height: 30px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  background: #eef3f8;
  color: #36465b;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.web-chat-finish:disabled {
  opacity: .62;
  cursor: wait;
}

.web-chat-form {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e5edf3;
  background: #fff;
}

.web-chat-form button {
  width: 46px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #40b83f;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.web-chat-rating {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #e5edf3;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.web-chat-rating strong {
  color: #172231;
  font-size: 16px;
  line-height: 1.2;
}

.web-chat-rating p {
  margin: -4px 0 0;
  color: #66788b;
  font-size: 13px;
}

.web-chat-rating-stars {
  display: flex;
  gap: 4px;
}

.web-chat-rating-stars button {
  width: 38px;
  height: 38px;
  border: 1px solid #d8e3ec;
  border-radius: 8px;
  background: #fff;
  color: #aeb8c3;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.web-chat-rating-stars button.active {
  color: #e5a72f;
  border-color: rgba(229, 167, 47, .55);
  background: #fff8e8;
}

.web-chat-rating textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid #d8e3ec;
  border-radius: 8px;
  padding: 10px 12px;
  color: #172231;
  font: inherit;
  resize: vertical;
}

.web-chat-rating > div:last-of-type {
  display: flex;
  gap: 8px;
}

.web-chat-rating > div:last-of-type button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  background: #123b70;
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.web-chat-rating > div:last-of-type button.secondary {
  background: #eef3f8;
  color: #36465b;
}

.web-chat-rating > span {
  min-height: 17px;
  color: #b23b2f;
  font-size: 12px;
}

.web-chat-widget.mission-created .web-chat-contact {
  display: none;
}

@media (max-width: 640px) {
  .web-chat-widget {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
  }

  .web-chat-launcher {
    width: 58px;
    height: 58px;
    margin-left: auto;
  }

  .web-chat-launcher-bear {
    inset: 7px;
  }

  .web-chat-panel {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 10px;
  }

  .web-chat-head {
    min-height: 100px;
    gap: 15px;
    padding: 18px;
  }

  .web-chat-avatar {
    width: 64px;
    height: 64px;
  }

  .web-chat-head strong {
    font-size: 24px;
  }

  .web-chat-head span {
    margin-top: 7px;
    font-size: 15px;
  }

  .web-chat-minimize {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .web-chat-widget.is-started .web-chat-panel {
    height: min(465px, calc(100dvh - 92px));
    max-height: calc(100dvh - 92px);
    grid-template-rows: auto 1fr auto auto auto;
  }

  .web-chat-widget.is-started .web-chat-head {
    min-height: 74px;
    gap: 11px;
    padding: 12px 13px;
  }

  .web-chat-widget.is-started .web-chat-avatar {
    width: 46px;
    height: 46px;
  }

  .web-chat-widget.is-started .web-chat-head strong {
    font-size: 18px;
  }

  .web-chat-widget.is-started .web-chat-head span {
    margin-top: 4px;
    font-size: 12px;
  }

  .web-chat-widget.is-started .web-chat-minimize {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .web-chat-prestart {
    gap: 12px;
    padding: 22px 18px 16px;
  }

  .web-chat-prestart strong {
    font-size: 22px;
  }

  .web-chat-prestart p {
    max-width: 300px;
    font-size: 16px;
  }

  .web-chat-prestart-field,
  .web-chat-prestart button {
    height: 52px;
  }

  .web-chat-prestart input {
    font-size: 16px;
  }

  .web-chat-prestart button {
    font-size: 17px;
  }

  .web-chat-trust {
    gap: 14px;
    padding: 15px 12px 16px;
  }

  .web-chat-trust-row span {
    gap: 5px;
    padding: 0 6px;
    font-size: 11px;
  }

  .web-chat-trust svg {
    width: 18px;
    height: 18px;
  }

  .web-chat-trust p {
    padding: 0 6px;
    font-size: 12px;
  }

  .web-chat-widget.is-started .web-chat-log {
    gap: 10px;
    padding: 11px;
  }

  .web-chat-widget.is-started .web-chat-message {
    max-width: 92%;
  }

  .web-chat-widget.is-started .web-chat-message p {
    padding: 10px 12px;
    border-radius: 16px;
    font-size: 14px;
  }

  .web-chat-widget.is-started .web-chat-session-actions {
    padding: 6px 10px 0;
  }

  .web-chat-widget.is-started .web-chat-finish {
    min-height: 28px;
    max-width: 100%;
    padding: 0 9px;
    font-size: 11px;
  }

  .web-chat-widget.is-started .web-chat-form {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 7px;
    padding: 9px 10px 10px;
  }

  .web-chat-widget.is-started .web-chat-form input,
  .web-chat-widget.is-started .web-chat-contact input {
    min-height: 40px;
    font-size: 15px;
  }

  .web-chat-widget.is-started .web-chat-form button {
    width: 42px;
    height: 40px;
    font-size: 20px;
  }

  .web-chat-contact {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .web-chat-rating {
    gap: 8px;
    padding: 12px;
  }

  .web-chat-rating-stars {
    justify-content: space-between;
  }

  .web-chat-rating-stars button {
    width: 34px;
    height: 34px;
    font-size: 21px;
  }

  .web-chat-rating > div:last-of-type {
    flex-wrap: wrap;
  }

  .web-chat-rating > div:last-of-type button {
    flex: 1 1 130px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.public-site {
  margin: 0;
  min-height: 100vh;
  background: #f7fafc;
  color: var(--ink);
  font-family: var(--site-font);
  font-size: 16px;
  line-height: 1.5;
}

/*
 * The reference site uses Roboto throughout. Keep the whole public experience
 * on that family, including headings and deliberate serif/script accents from
 * older sections, while leaving icon glyphs and SVG artwork untouched.
 */
.public-site :where(
  h1, h2, h3, h4, h5, h6,
  p, a, button, input, textarea, select, option, label,
  span, strong, b, em, small, summary, li, dt, dd,
  blockquote, figcaption, th, td
) {
  font-family: var(--site-font) !important;
}

.public-site a {
  color: inherit;
}

.single-agent-popup[hidden] {
  display: none !important;
}

.single-agent-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.single-agent-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.single-agent-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 48, .52);
  backdrop-filter: blur(5px);
}

.single-agent-popup-dialog {
  position: relative;
  width: min(930px, 100%);
  max-height: min(96vh, 760px);
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(219, 229, 238, .95);
  border-radius: 28px;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(11, 32, 54, .28);
  transform: translateY(14px) scale(.985);
  transition: transform .22s ease;
}

.single-agent-popup.is-open .single-agent-popup-dialog {
  transform: translateY(0) scale(1);
}

.single-agent-popup-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(219, 229, 238, .96);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #17375f;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(18, 59, 112, .14);
}

.single-agent-popup-media {
  position: relative;
  min-height: 100%;
  margin: 0;
  background: linear-gradient(160deg, #eaf7fb 0%, #f9f1e9 100%);
}

.single-agent-popup-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.single-agent-popup-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(18, 59, 112, 0) 0%, rgba(18, 59, 112, .58) 100%);
}

.single-agent-popup-media figcaption {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 20px;
  color: #fff;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(10, 24, 38, .32);
}

.single-agent-popup-content {
  padding: clamp(22px, 2.6vw, 30px);
  overflow-y: auto;
}

.single-agent-popup-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.single-agent-popup-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: var(--brand);
}

.single-agent-popup-content h2 {
  margin: 0;
  color: #102a45;
  font-size: clamp(26px, 2.7vw, 32px);
  line-height: 1.08;
}

.single-agent-popup-content > p {
  margin: 10px 0 14px;
  color: #53687c;
  font-size: 16px;
}

.single-agent-popup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
}

.single-agent-popup-form label {
  display: grid;
  gap: 7px;
  color: #263d55;
  font-size: 13px;
  font-weight: 800;
}

.single-agent-popup-form label span {
  min-height: 20px;
}

.single-agent-popup-form input,
.single-agent-popup-form select,
.single-agent-popup-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d6e3ed;
  border-radius: 14px;
  background: #fff;
  color: #172231;
  font: inherit;
  padding: 11px 13px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.single-agent-popup-form textarea {
  resize: vertical;
  min-height: 54px;
}

.single-agent-popup-form input:focus,
.single-agent-popup-form select:focus,
.single-agent-popup-form textarea:focus {
  border-color: rgba(0, 165, 202, .72);
  box-shadow: 0 0 0 4px rgba(0, 165, 202, .12);
}

.single-agent-popup-wide,
.single-agent-popup-form button,
.single-agent-popup-form small,
.single-agent-popup-form output {
  grid-column: 1 / -1;
}

.single-agent-popup-form button {
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #123b70 0%, #00a5ca 100%);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(18, 59, 112, .22);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.single-agent-popup-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 38px rgba(18, 59, 112, .28);
}

.single-agent-popup-form.is-sending button {
  opacity: .72;
  pointer-events: none;
}

.single-agent-popup-form small {
  color: #66788b;
  font-size: 11px;
  line-height: 1.2;
}

.single-agent-popup-form output {
  min-height: 20px;
  color: #23415f;
  font-size: 13px;
  font-weight: 800;
}

.single-agent-popup-form output.is-success {
  color: #24775f;
}

.single-agent-popup-form output.is-error {
  color: #b3493d;
}

.property-request-modal .single-agent-popup-dialog {
  width: min(940px, 100%);
}

@media (min-width: 1101px) {
  .property-request-modal .single-agent-popup-dialog {
    max-height: calc(100dvh - 48px);
    grid-template-rows: minmax(0, 1fr);
  }
}

.property-request-modal {
  z-index: 2400;
}

.property-request-modal .single-agent-popup-content {
  min-height: 0;
  padding: clamp(20px, 2.35vw, 28px);
  overscroll-behavior: contain;
}

.property-request-modal .single-agent-popup-content > p {
  margin-bottom: 16px;
}

.property-request-options {
  display: grid;
  gap: 14px;
}

.property-request-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dbe7ef;
  border-radius: 8px;
  background: #fff;
}

.property-request-account-section {
  background: linear-gradient(180deg, #f6fbfd 0%, #ffffff 100%);
}

.property-request-section h3 {
  margin: 0;
  color: #102a45;
  font-size: 20px;
  line-height: 1.15;
}

.property-request-section p {
  margin: 5px 0 0;
  color: #607286;
  font-size: 14px;
  line-height: 1.42;
}

.property-request-account-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.property-request-modal .property-request-account-actions .site-button {
  min-height: 48px;
  border-color: #4aa7c8;
  background: #4aa7c8;
  color: #fff;
  box-shadow: 0 12px 26px rgba(45, 132, 169, .2);
}

.property-request-modal .property-request-account-actions .site-button:hover {
  border-color: #3794b7;
  background: #3794b7;
  color: #fff;
}

.property-request-form {
  gap: 10px 12px;
}

.property-request-form button {
  border: 1px solid #4aa7c8;
  border-radius: 8px;
  background: #4aa7c8;
  color: #fff;
  box-shadow: 0 12px 26px rgba(45, 132, 169, .2);
}

.property-request-form button:hover {
  border-color: #3794b7;
  background: #3794b7;
  color: #fff;
  box-shadow: 0 16px 30px rgba(45, 132, 169, .26);
}

.property-request-privacy {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  color: #53687c !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35;
}

.property-request-privacy input {
  width: 18px !important;
  min-width: 18px;
  height: 18px;
  min-height: 18px !important;
  margin-top: 1px;
  padding: 0 !important;
  border-radius: 4px !important;
}

.property-request-privacy span {
  min-height: 0 !important;
}

@media (max-width: 620px) {
  .property-request-account-actions {
    grid-template-columns: 1fr;
  }
}

.single-agent-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.public-shell {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.public-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  padding: 8px max(24px, calc((100vw - 1240px) / 2));
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(219, 229, 238, .92);
  box-shadow: 0 10px 28px rgba(14, 39, 62, .07);
  backdrop-filter: blur(18px);
}

.public-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.public-brand img {
  width: clamp(122px, 9vw, 150px);
  height: auto;
  display: block;
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
  min-width: 0;
}

.public-nav a,
.public-header-phone,
.public-client-access,
.public-staff-access,
.public-lang a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.public-nav a {
  padding: 8px 9px;
  color: #1f2f3f;
  font-size: 17px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-nav a:hover,
.public-nav a.active {
  color: var(--brand-dark);
  background: linear-gradient(180deg, #f2f8fb 0%, #e8f3f8 100%);
  box-shadow: inset 0 0 0 1px rgba(190, 210, 223, .72);
}

.public-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.public-header-phone {
  color: #1f2f3f;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-mobile-menu-toggle,
.public-mobile-menu,
.public-mobile-menu-backdrop {
  display: none;
}

.public-lang {
  position: relative;
  display: block;
}

.public-lang-menu {
  position: relative;
}

.public-lang-menu summary {
  min-width: 64px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(199, 216, 228, .96);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
  box-shadow: 0 14px 30px rgba(18, 59, 112, .1);
  cursor: pointer;
  list-style: none;
}

.public-lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-chevron {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid #61758a;
  border-bottom: 2px solid #61758a;
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.public-lang-menu[open] .lang-chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

.public-lang-list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(199, 216, 228, .96);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 42px rgba(18, 59, 112, .16);
}

.public-lang a {
  min-width: 46px;
  min-height: 38px;
  padding: 0;
  color: #506477;
  font-size: 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.public-lang a.active {
  background: #fff;
  color: var(--brand-dark);
  border-color: rgba(20, 63, 117, .22);
  box-shadow: 0 10px 20px rgba(18, 59, 112, .12);
}

.public-lang a:not(.active):hover {
  background: rgba(255,255,255,.86);
  border-color: rgba(199, 216, 228, .92);
  color: var(--brand-dark);
}

.lang-flag {
  width: 25px;
  height: 18px;
  flex: 0 0 25px;
  overflow: hidden;
  border-radius: 4px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(20, 40, 60, .12);
}

.flag-es { background-image: url("https://flagcdn.com/w40/es.png"); }
.flag-en { background-image: url("https://flagcdn.com/w40/gb.png"); }
.flag-fr { background-image: url("https://flagcdn.com/w40/fr.png"); }
.flag-de { background-image: url("https://flagcdn.com/w40/de.png"); }
.flag-nl { background-image: url("https://flagcdn.com/w40/nl.png"); }
.flag-sv { background-image: url("https://flagcdn.com/w40/se.png"); }
.flag-ru { background-image: url("https://flagcdn.com/w40/ru.png"); }
.flag-uk { background-image: url("https://flagcdn.com/w40/ua.png"); }

.public-lang a.active .lang-flag,
.public-lang-menu summary .lang-flag {
  width: 27px;
  height: 19px;
}

.public-client-access {
  min-height: 40px;
  min-width: 0;
  gap: 0;
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  color: #31475c;
  border: 0;
  box-shadow: none;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.public-client-access.is-logged {
  min-width: 0;
  justify-content: center;
  padding: 8px 0;
  background: transparent;
  border-color: transparent;
}

.client-access-copy {
  display: inline-flex !important;
  gap: 0;
  min-width: 0;
  line-height: 1;
}

.client-access-copy small {
  overflow: hidden;
  color: #5a7087;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-access-copy strong {
  overflow: hidden;
  color: #31475c;
  font-size: 15px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-access-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf7fb 0%, #d9eef7 100%);
  color: #12618d;
  box-shadow: inset 0 0 0 1px rgba(0, 165, 202, .18);
}

.client-access-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-client-access > span:not(.client-access-icon) {
  display: inline-block;
}

.public-client-access:hover {
  color: var(--brand-dark);
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.account-access-backdrop,
.account-signup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(8, 19, 33, .48);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.account-access-backdrop[hidden],
.account-signup-modal[hidden] {
  display: none !important;
}

.public-site.account-access-open,
.public-site.account-signup-open {
  overflow: hidden;
}

.public-site.account-access-open .account-access-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.account-access-drawer {
  position: fixed;
  z-index: 3010;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 100vw);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #fff;
  box-shadow: -28px 0 70px rgba(8, 22, 38, .24);
  pointer-events: none;
  transform: translateX(104%);
  transition: transform .24s ease;
}

.public-site.account-access-open .account-access-drawer {
  pointer-events: auto;
  transform: translateX(0);
}

.account-access-head {
  min-height: 76px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 10px;
  padding: 6px 22px 6px;
}

.account-access-head h2 {
  grid-column: 2;
  margin: 0;
  color: #050d1d;
  font-size: 30px;
  line-height: 1.05;
  text-align: center;
}

.account-access-close,
.account-signup-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #07101f;
  cursor: pointer;
  font: inherit;
  font-size: 36px;
  line-height: 1;
}

.account-access-body {
  display: grid;
  align-content: start;
  gap: 30px;
  padding: 10px 28px 64px;
  overflow-y: auto;
}

.account-access-section {
  display: grid;
  gap: 18px;
}

.account-access-section h3 {
  margin: 0;
  color: #050d1d;
  font-size: 25px;
  line-height: 1.15;
}

.account-access-section p,
.account-access-recovery p,
.account-signup-copy p {
  margin: 0;
  color: #536579;
  font-size: 16px;
  line-height: 1.5;
}

.account-access-form {
  display: grid;
  gap: 16px;
}

.account-access-form label,
.account-signup-form label {
  display: grid;
  gap: 7px;
  color: #26384e;
  font-size: 13px;
  font-weight: 850;
}

.account-access-form input,
.account-signup-form input,
.account-signup-form select,
.account-signup-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  border: 1px solid #d6dee8;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 16px;
  padding: 0 24px;
  outline: none;
}

.account-signup-form textarea {
  min-height: 96px;
  border-radius: 18px;
  padding-top: 14px;
  resize: vertical;
}

.account-access-form input:focus,
.account-signup-form input:focus,
.account-signup-form select:focus,
.account-signup-form textarea:focus {
  border-color: rgba(0, 165, 202, .72);
  box-shadow: 0 0 0 4px rgba(0, 165, 202, .12);
}

.account-access-form button,
.account-access-new button,
.account-signup-actions button {
  min-height: 58px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 950;
}

.account-access-form button:hover,
.account-access-new button:hover,
.account-signup-actions button:hover {
  background: #058fb0;
  border-color: #058fb0;
}

.account-access-recovery {
  display: grid;
  gap: 10px;
}

.account-access-recovery summary {
  color: #b64b72;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  text-decoration: underline;
}

.account-access-recovery a {
  width: max-content;
  color: #123b70;
  font-weight: 900;
}

.account-access-new {
  padding-top: 28px;
  border-top: 2px solid #e6ebf1;
}

.account-access-new button,
.account-signup-actions button.secondary {
  border-color: #111827;
  background: #fff;
  color: #07101f;
}

.account-access-new button:hover,
.account-signup-actions button.secondary:hover {
  border-color: #123b70;
  background: #f4f9fc;
  color: #123b70;
}

.account-signup-modal {
  position: fixed;
  inset: 0;
  z-index: 3040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.public-site.account-signup-open .account-signup-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.account-signup-dialog {
  position: relative;
  z-index: 3050;
  width: min(840px, 100%);
  max-height: min(92vh, 760px);
  display: grid;
  gap: 22px;
  overflow-y: auto;
  border: 1px solid rgba(203, 216, 228, .96);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 86px rgba(8, 22, 38, .3);
  padding: 34px;
}

.account-signup-close {
  position: absolute;
  top: 14px;
  right: 16px;
}

.account-signup-copy {
  max-width: 650px;
  display: grid;
  gap: 10px;
  padding-right: 42px;
}

.account-signup-copy h2 {
  margin: 0;
  color: #07101f;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.02;
}

.account-signup-form {
  display: grid;
  gap: 18px;
}

.account-signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.account-signup-wide,
.account-signup-privacy,
.account-signup-actions,
.account-signup-form output {
  grid-column: 1 / -1;
}

.account-signup-privacy {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px !important;
  font-weight: 650 !important;
}

.account-signup-privacy input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--brand);
}

.account-signup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.account-signup-actions button {
  min-width: 180px;
  padding: 0 22px;
}

.account-signup-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 680px) {
  .account-access-drawer {
    width: 100vw;
  }

  .account-access-head {
    min-height: 68px;
    padding: 12px 16px 6px;
  }

  .account-access-head h2 {
    font-size: 26px;
  }

  .account-access-body {
    gap: 24px;
    padding: 18px 20px 30px;
  }

  .account-access-section h3 {
    font-size: 23px;
  }

  .account-signup-modal {
    align-items: stretch;
    padding: 10px;
  }

  .account-signup-dialog {
    max-height: calc(100dvh - 20px);
    gap: 18px;
    padding: 26px 18px 20px;
  }

  .account-signup-grid {
    grid-template-columns: 1fr;
  }

  .account-signup-copy {
    padding-right: 34px;
  }

  .account-signup-copy h2 {
    font-size: 31px;
  }

  .account-signup-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-signup-actions button {
    width: 100%;
  }
}

.account-access-drawer {
  width: min(568px, 100vw);
  background:
    radial-gradient(circle at 16% 0%, rgba(222, 238, 247, .54), transparent 34%),
    linear-gradient(180deg, #fffdf9 0%, #fbfaf7 58%, #ffffff 100%);
  box-shadow: -30px 0 80px rgba(8, 22, 38, .22);
}

.account-access-head {
  min-height: 104px;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  padding: 18px 30px;
  background:
    radial-gradient(circle at 72% -45%, rgba(128, 190, 222, .72), transparent 54%),
    linear-gradient(135deg, #173b58 0%, #285f84 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 14px 34px rgba(17, 51, 75, .18);
}

.account-access-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.account-access-brand img {
  width: 122px;
  height: auto;
  display: block;
  object-fit: contain;
}

.account-access-head h2 {
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .28);
  color: #ffffff;
  font-family: var(--site-font);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.05;
}

.account-access-close {
  width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.account-access-close:hover {
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  transform: rotate(2deg);
}

.account-access-close:focus-visible {
  outline: 2px solid rgba(47, 113, 159, .72);
  outline-offset: 3px;
}

.account-access-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 135, 82, .34);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 253, 248, .96), rgba(245, 237, 224, .82));
  box-shadow: 0 7px 18px rgba(95, 69, 31, .08);
  color: #a88752;
}

.account-ui-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

.account-access-mark .account-ui-icon {
  width: 27px;
  height: 27px;
}

.account-access-body {
  gap: 20px;
  padding: 4px 28px 34px;
}

.account-access-card {
  display: grid;
  gap: 16px;
  padding: 28px 26px 18px;
  border: 1px solid rgba(221, 225, 230, .82);
  border-radius: 18px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 18px 48px rgba(24, 38, 58, .12);
}

.account-access-card h3 {
  margin: 0;
  color: #142033;
  font-family: var(--site-font);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.18;
}

.account-access-card h3::first-letter {
  letter-spacing: 0;
}

.account-access-card p {
  margin: 0;
  color: #3f4d5f;
  font-size: 16px;
  line-height: 1.48;
}

.account-access-quick-signup {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--brand);
  border-radius: 11px;
  background: var(--brand);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.account-access-quick-signup > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.account-access-quick-signup .account-ui-icon {
  width: 19px;
  height: 19px;
}

.account-access-quick-signup:hover {
  border-color: #058fb0;
  background: #058fb0;
  color: #ffffff;
}

.account-access-form {
  gap: 14px;
  margin-top: 10px;
  padding: 18px 0 0;
}

.account-access-form label {
  gap: 8px;
  color: #1d2a3c;
  font-size: 14px;
  font-weight: 900;
}

.account-field-control {
  min-height: 50px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #d9dde4;
  border-radius: 8px;
  background: #fff;
  padding: 0 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.account-field-control:focus-within {
  border-color: rgba(74, 139, 181, .72);
  box-shadow: 0 0 0 4px rgba(74, 139, 181, .12);
}

.account-field-control i {
  width: 21px;
  height: 21px;
  color: #7b8490;
}

.account-field-control i .account-ui-icon {
  width: 21px;
  height: 21px;
}

.account-access-form .account-field-control input {
  min-height: 48px;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.account-access-form .account-field-control input:focus {
  box-shadow: none;
}

.account-access-form input::placeholder {
  color: #9aa1aa;
}

.account-password-toggle {
  width: 34px;
  height: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6e7885;
  cursor: pointer;
}

.account-access-form .account-password-toggle,
.account-access-form .account-password-toggle:hover {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #6e7885;
  box-shadow: none;
  padding: 0;
}

.account-password-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-access-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 2px 0 10px;
}

.account-access-options a {
  color: #2c6e99;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.account-remember {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  color: #2e3847 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

.account-remember input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  padding: 0;
  border-radius: 4px;
  accent-color: #4f93bc;
}

.account-access-form > button,
.account-access-new button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 900;
}

.account-access-form > button {
  background: var(--brand);
  box-shadow: 0 15px 32px rgba(47, 113, 159, .24);
}

.account-access-form > button:hover {
  background: #058fb0;
}

.account-button-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  transition: transform .18s ease;
}

.account-access-form > button:hover .account-button-icon,
.account-access-new button:hover .account-button-icon {
  transform: translateX(3px);
}

.account-access-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin: 10px 4px 2px;
  color: #233145;
}

.account-access-divider span {
  height: 1px;
  background: #dde1e7;
}

.account-access-divider b {
  font-size: 16px;
  font-weight: 800;
}

.account-access-new {
  position: relative;
  gap: 16px;
  margin-top: 0;
  padding: 20px 18px 18px;
  border: 1px solid rgba(102, 158, 190, .34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(142, 200, 226, .38), transparent 38%),
    linear-gradient(145deg, #f7fbfd 0%, #edf6fa 54%, #fffaf2 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 14px 34px rgba(36, 91, 125, .1);
}

.account-access-new-kicker {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 7px 11px;
  border: 1px solid rgba(47, 113, 159, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: #2b648a !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .08em;
  line-height: 1.1 !important;
  text-transform: uppercase;
}

.account-access-new-kicker .account-ui-icon {
  width: 15px;
  height: 15px;
  color: #b28a4c;
}

.account-access-new-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.account-access-new-head > span {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(173, 138, 82, .16);
  background: linear-gradient(145deg, #f6f0e7, #eee4d5);
  color: #ad8a52;
}

.account-access-new-head .account-ui-icon {
  width: 29px;
  height: 29px;
}

.account-access-new h4 {
  margin: 0 0 8px;
  color: #1b2638;
  font-family: var(--site-font);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.2;
}

.account-access-new p {
  margin: 0;
  color: #4d5969;
  font-size: 14px;
  line-height: 1.45;
}

.account-access-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-access-benefits li {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  color: #2f3b4b;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
}

.account-access-benefits .account-ui-icon {
  width: 18px;
  height: 18px;
  margin-top: -1px;
  color: #8b6b3d;
  stroke-width: 2.2;
}

.account-access-new-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
  color: #52677a !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  text-align: center;
}

.account-access-new-note .account-ui-icon {
  width: 17px;
  height: 17px;
  color: #3d7a9f;
}

.account-access-new button {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 13px 26px rgba(30, 83, 119, .2);
}

.account-access-new button:hover {
  border-color: #058fb0;
  background: #058fb0;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(30, 83, 119, .26);
}

.account-access-protected {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  color: #7a8492;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.account-access-protected span {
  width: 19px;
  height: 19px;
  color: #6e8190;
  flex: 0 0 auto;
}

.account-access-protected .account-ui-icon {
  width: 19px;
  height: 19px;
}

@media (max-width: 680px) {
  .account-access-head {
    min-height: 92px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding: 14px 14px;
  }

  .account-access-brand {
    gap: 10px;
  }

  .account-access-brand img {
    width: 98px;
  }

  .account-access-head h2 {
    padding-left: 10px;
    font-size: 22px;
  }

  .account-access-mark {
    width: 40px;
    height: 40px;
  }

  .account-access-body {
    padding: 8px 10px 24px;
  }

  .account-access-card {
    gap: 14px;
    padding: 22px 18px 16px;
  }

  .account-access-card h3 {
    font-size: 25px;
  }

  .account-access-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .account-access-benefits {
    grid-template-columns: 1fr;
  }

  .account-access-new-head {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  .account-access-new-head > span {
    width: 50px;
    height: 50px;
  }
}

.account-signup-modal {
  align-items: center;
  justify-content: center;
  padding: 0;
}

.account-signup-backdrop {
  background: rgba(8, 16, 28, .42);
  backdrop-filter: blur(6px);
}

.account-signup-dialog {
  width: min(1334px, 100vw);
  max-height: 100vh;
  min-height: min(1180px, 100vh);
  display: grid;
  grid-template-columns: minmax(300px, 376px) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 34px 92px rgba(8, 22, 38, .34);
  padding: 0;
}

.account-signup-close {
  z-index: 6;
  top: 28px;
  right: 34px;
  width: 46px;
  height: 46px;
  color: #08111f;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.account-signup-close:hover {
  background: rgba(8, 17, 31, .07);
  color: #2f719f;
  transform: rotate(2deg);
}

.account-signup-close:focus-visible {
  outline: 2px solid rgba(47, 113, 159, .72);
  outline-offset: 3px;
}

.account-signup-side {
  position: relative;
  min-height: 100%;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 34px;
  overflow: hidden;
  padding: 72px 28px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72) 0%, rgba(255, 248, 235, .46) 34%, rgba(53, 35, 18, .08) 100%),
    url("home-paths/specific-home.jpg") center / cover no-repeat;
}

.account-signup-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0 0, rgba(132, 95, 42, .14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, .46) 0%, rgba(255, 252, 244, .08) 42%, rgba(255, 228, 181, .16) 100%);
  pointer-events: none;
}

.account-signup-side > * {
  position: relative;
  z-index: 1;
}

.account-signup-side-brand {
  width: 220px;
  margin-top: 8px;
  padding: 0;
}

.account-signup-side-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.account-signup-side-copy {
  width: min(280px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: 16px;
  color: #07101f;
  text-align: center;
}

.account-signup-side-copy h3 {
  margin: 0;
  font-family: var(--site-font);
  font-size: 39px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.account-signup-side-copy > span {
  width: 188px;
  height: 22px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b18b50;
  font-family: var(--site-font);
  font-size: 30px;
  line-height: 1;
}

.account-signup-side-copy > span::before,
.account-signup-side-copy > span::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 78px;
  height: 1px;
  background: rgba(179, 143, 83, .62);
}

.account-signup-side-copy > span::before {
  left: 0;
}

.account-signup-side-copy > span::after {
  right: 0;
}

.account-signup-side-copy > span::selection {
  background: transparent;
}

.account-signup-side-copy > span .account-ui-icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}

.account-signup-side-copy p {
  margin: 0;
  color: #102033;
  font-size: 17px;
  line-height: 1.52;
}

.account-signup-side-benefits {
  width: min(286px, 100%);
  display: grid;
  gap: 18px;
  margin: auto 0 0;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 20px 52px rgba(26, 32, 44, .16);
  list-style: none;
  backdrop-filter: blur(10px);
}

.account-signup-side-benefits li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  color: #101929;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.account-signup-side-benefits span {
  width: 28px;
  height: 28px;
  color: #08111f;
}

.account-signup-side-benefits svg,
.account-signup-field-control svg,
.account-signup-actions svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-signup-main {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 22px;
  overflow-y: auto;
  padding: 60px 64px 20px 58px;
}

.account-signup-copy {
  max-width: 760px;
  gap: 16px;
  padding-right: 58px;
}

.account-signup-copy .site-eyebrow {
  margin: 0;
  color: #b4935f;
  font-size: 17px;
  font-weight: 950;
}

.account-signup-copy h2 {
  color: #111827;
  font-family: var(--site-font);
  font-size: clamp(52px, 5.4vw, 76px);
  font-weight: 500;
  line-height: .92;
  letter-spacing: 0;
}

.account-signup-copy h2 span {
  color: #3f7ea6;
}

.account-signup-copy p:not(.site-eyebrow) {
  max-width: 760px;
  color: #4b5e77;
  font-size: 20px;
  line-height: 1.46;
}

.account-signup-form {
  gap: 22px;
}

.account-signup-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 26px;
}

.account-signup-form label {
  gap: 10px;
  color: #111827;
  font-size: 16px;
  font-weight: 950;
}

.account-signup-field-control {
  min-height: 64px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid #d5dce5;
  border-radius: 13px;
  background: #fff;
  padding: 0 22px;
  color: #5d6979;
}

.account-signup-field-control:focus-within {
  border-color: rgba(98, 169, 208, .86);
  box-shadow: 0 0 0 5px rgba(98, 169, 208, .16);
}

.account-signup-field-control i {
  width: 25px;
  height: 25px;
  color: #4e5968;
}

.account-signup-form .account-signup-field-control input,
.account-signup-form .account-signup-field-control select,
.account-signup-form .account-signup-field-control textarea {
  min-height: 62px;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111827;
  font-size: 16px;
  padding: 0;
}

.account-signup-form .account-signup-field-control input:focus,
.account-signup-form .account-signup-field-control select:focus,
.account-signup-form .account-signup-field-control textarea:focus {
  box-shadow: none;
}

.account-signup-form .account-signup-field-control input::placeholder,
.account-signup-form .account-signup-field-control textarea::placeholder {
  color: #a1a9b5;
}

.account-signup-form .account-signup-field-control select {
  appearance: auto;
  font-weight: 850;
}

.account-signup-form .account-password-toggle,
.account-signup-form .account-password-toggle:hover {
  min-height: 34px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #5d6979;
  box-shadow: none;
  padding: 0;
}

.account-signup-form .account-password-toggle .account-ui-icon {
  width: 22px;
  height: 22px;
}

.account-signup-textarea-control {
  min-height: 128px;
  grid-template-rows: minmax(72px, 1fr) auto;
  align-items: start;
  padding-top: 20px;
  padding-bottom: 14px;
}

.account-signup-textarea-control i {
  margin-top: 6px;
}

.account-signup-form .account-signup-textarea-control textarea {
  min-height: 62px;
  resize: vertical;
  line-height: 1.5;
}

.account-signup-textarea-control small {
  grid-column: 2 / -1;
  color: #8b95a3;
  font-size: 13px;
  font-weight: 650;
}

.account-signup-actions,
.account-signup-form output {
  grid-column: 1 / -1;
}

.account-signup-actions {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(300px, 496px);
  align-items: center;
  gap: 28px;
  margin-top: 2px;
  padding: 16px 28px 16px 30px;
  border: 1px solid rgba(221, 226, 233, .86);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 -16px 46px rgba(24, 38, 58, .06);
}

.account-signup-actions p {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  margin: 0;
  color: #41536b;
}

.account-signup-actions p span {
  grid-row: span 2;
  width: 31px;
  height: 31px;
  color: #3f7ea6;
}

.account-signup-actions strong,
.account-signup-actions em {
  display: block;
  font-style: normal;
  line-height: 1.28;
}

.account-signup-actions strong {
  font-size: 14px;
  font-weight: 850;
}

.account-signup-actions em {
  color: #4b5e77;
  font-size: 13px;
  font-weight: 650;
}

.account-signup-actions button,
.account-signup-actions button:hover {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 38px rgba(47, 113, 159, .25);
  font-size: 19px;
  font-weight: 950;
}

.account-signup-actions button:hover {
  background: #058fb0;
}

.account-signup-actions button .account-button-icon {
  width: 22px;
  height: 22px;
}

.account-signup-actions button:hover .account-button-icon {
  transform: translateX(3px);
}

.account-signup-form output {
  color: #2f719f;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .account-signup-dialog {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .account-signup-main {
    padding: 58px 42px 22px;
  }

  .account-signup-copy h2 {
    font-size: clamp(44px, 6vw, 62px);
  }
}

@media (max-width: 860px) {
  .account-signup-modal {
    align-items: stretch;
    padding: 8px;
  }

  .account-signup-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    min-height: calc(100dvh - 16px);
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .account-signup-side {
    min-height: 360px;
    gap: 16px;
    padding: 36px 24px 24px;
  }

  .account-signup-side-brand {
    width: 176px;
  }

  .account-signup-side-copy {
    margin-top: 0;
  }

  .account-signup-side-copy h3 {
    font-size: 32px;
  }

  .account-signup-side-benefits {
    width: min(460px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
  }

  .account-signup-main {
    overflow: visible;
    padding: 34px 22px 18px;
  }

  .account-signup-copy {
    padding-right: 42px;
  }

  .account-signup-copy h2 {
    font-size: 43px;
  }

  .account-signup-copy p:not(.site-eyebrow) {
    font-size: 17px;
  }

  .account-signup-grid {
    grid-template-columns: 1fr;
  }

  .account-signup-actions {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .account-signup-actions button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .account-signup-close {
    top: 18px;
    right: 18px;
  }

  .account-signup-side {
    min-height: 306px;
  }

  .account-signup-side-benefits {
    grid-template-columns: 1fr;
  }

  .account-signup-copy h2 {
    font-size: 36px;
  }

  .account-signup-field-control {
    min-height: 58px;
    border-radius: 10px;
    padding: 0 16px;
  }

  .account-signup-form .account-signup-field-control input,
  .account-signup-form .account-signup-field-control select,
  .account-signup-form .account-signup-field-control textarea {
    min-height: 56px;
  }
}

/* Keep buyer sign-up inside the My Account drawer instead of opening a modal. */
.account-signup-view[hidden] {
  display: none !important;
}

.account-signup-view {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 0;
  padding: 4px 28px 34px;
  overflow-y: auto;
}

.account-signup-back {
  width: max-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #2f719f;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  padding: 0 12px 0 4px;
}

.account-signup-back:hover {
  background: rgba(47, 113, 159, .08);
  color: #245e85;
}

.account-signup-back .account-ui-icon {
  width: 20px;
  height: 20px;
}

.account-access-drawer .account-signup-main {
  display: grid;
  gap: 20px;
  overflow: visible;
  padding: 0;
}

.account-access-drawer .account-signup-copy {
  max-width: none;
  gap: 10px;
  padding: 0;
}

.account-access-drawer .account-signup-copy .site-eyebrow {
  font-size: 13px;
}

.account-access-drawer .account-signup-copy h2 {
  font-size: 40px;
  line-height: .98;
}

.account-access-drawer .account-signup-copy p:not(.site-eyebrow) {
  font-size: 15px;
  line-height: 1.45;
}

.account-access-drawer .account-signup-form {
  gap: 18px;
}

.account-access-drawer .account-signup-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.account-access-drawer .account-signup-form label {
  gap: 8px;
  font-size: 14px;
}

.account-access-drawer .account-signup-field-control {
  min-height: 56px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  border-radius: 10px;
  padding: 0 15px;
}

.account-access-drawer .account-signup-field-control i {
  width: 21px;
  height: 21px;
}

.account-access-drawer .account-signup-form .account-signup-field-control input,
.account-access-drawer .account-signup-form .account-signup-field-control select,
.account-access-drawer .account-signup-form .account-signup-field-control textarea {
  min-height: 54px;
  font-size: 15px;
}

.account-access-drawer .account-signup-textarea-control {
  min-height: 116px;
  grid-template-rows: minmax(64px, 1fr) auto;
  padding-top: 14px;
  padding-bottom: 12px;
}

.account-access-drawer .account-signup-actions {
  min-height: 0;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
}

.account-access-drawer .account-signup-actions button {
  width: 100%;
  min-width: 0;
}

@media (max-width: 680px) {
  .account-signup-view {
    padding: 8px 10px 24px;
  }

  .account-access-drawer .account-signup-main {
    padding: 18px;
    border: 1px solid rgba(221, 225, 230, .82);
    border-radius: 14px;
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 18px 48px rgba(24, 38, 58, .12);
  }

  .account-access-drawer .account-signup-copy h2 {
    font-size: 34px;
  }
}

.public-favorites-menu {
  position: relative;
  flex: 0 0 auto;
}

.public-favorites-menu summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #31475c;
  font-weight: 950;
  list-style: none;
  cursor: pointer;
  box-shadow: none;
}

.public-favorites-menu summary::-webkit-details-marker {
  display: none;
}

.public-favorites-menu[open] summary,
.public-favorites-menu summary:hover {
  color: var(--brand-dark);
  border-color: transparent;
  box-shadow: none;
}

.public-favorites-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e9fbef;
  color: #24775f;
}

.public-favorites-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-favorites-copy {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.public-favorites-copy small {
  color: inherit;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-favorites-copy strong {
  min-width: 22px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #edf4f6;
  color: #123b70;
  font-size: 12px;
  font-weight: 950;
}

.public-favorites-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 10px);
  right: 0;
  width: min(380px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(215, 229, 236, .96);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(14, 39, 62, .22);
}

.public-favorites-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e4edf3;
}

.public-favorites-head strong {
  color: #17375f;
  font-size: 16px;
}

.public-favorites-head span {
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eaf7fb;
  color: var(--brand-dark);
  font-weight: 950;
}

.public-favorites-list {
  max-height: min(440px, calc(100vh - 190px));
  overflow-y: auto;
  padding: 8px;
}

.public-favorites-empty {
  margin: 0;
  padding: 18px 14px;
  color: #5d7185;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.public-favorite-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 10px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  color: #10253b;
  text-decoration: none;
}

.public-favorite-item:hover {
  background: #f3f9fb;
}

.public-favorite-item img,
.public-favorite-item > span {
  grid-row: 1 / span 2;
  width: 70px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #dfe9ef;
  object-fit: cover;
  color: var(--brand-dark);
  font-weight: 950;
}

.public-favorite-item b {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-favorite-item small {
  color: #5d7185;
  font-size: 13px;
  font-weight: 900;
}

.public-favorites-all {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #e4edf3;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
}

.public-favorites-all:hover {
  background: #eef9fb;
}

.public-staff-access {
  min-width: 72px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  color: #20354d;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  border: 1px solid rgba(199, 216, 228, .96);
  box-shadow: 0 12px 26px rgba(18, 59, 112, .08);
  font-size: 15px;
}

.public-staff-access:hover {
  color: var(--brand-dark);
  background: #fff;
  border-color: rgba(20, 63, 117, .22);
  box-shadow: 0 16px 30px rgba(18, 59, 112, .12);
}

.public-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 86px 0 140px;
  background-image:
    linear-gradient(90deg, rgba(8, 28, 51, .82), rgba(8, 28, 51, .52) 48%, rgba(8, 28, 51, .18)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.public-hero.has-video {
  background-image: var(--hero-image);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #10243a;
}

.public-hero.has-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 22, 39, .82) 0%, rgba(6, 22, 39, .58) 44%, rgba(6, 22, 39, .2) 100%),
    linear-gradient(180deg, rgba(6, 22, 39, .18) 0%, rgba(6, 22, 39, .3) 100%);
  pointer-events: none;
}

.estate-hero {
  min-height: 760px;
  align-items: flex-start;
  padding-top: clamp(58px, 6vh, 86px);
  padding-bottom: 300px;
  background-image:
    linear-gradient(90deg, rgba(8, 28, 51, .82), rgba(8, 28, 51, .46) 52%, rgba(8, 28, 51, .16)),
    var(--hero-image);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 720px;
}

.site-eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.public-hero .site-eyebrow,
.seller-cta .site-eyebrow,
.review-band .site-eyebrow {
  color: #92e9ff;
}

.hero-copy h1,
.listing-head h1,
.detail-hero h1 {
  margin: 0;
  max-width: 800px;
  font-size: 56px;
  line-height: 1.02;
}

.estate-hero .hero-copy h1 {
  font-size: clamp(48px, 4.7vw, 70px);
}

.hero-copy p:not(.site-eyebrow) {
  max-width: 670px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.site-button,
.public-search button,
.clear-filters {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 17px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 165, 202, .24);
}

.site-button:hover,
.public-search button:hover,
.clear-filters:hover {
  transform: translateY(-1px);
}

.site-button.ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .5);
  box-shadow: none;
}

.site-button.secondary {
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--line);
  box-shadow: none;
}

.hero-search-wrap {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 72px;
  width: min(1180px, calc(100vw - 36px));
  transform: translateX(-50%);
}

.hero-search-tabs {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: end;
  gap: 10px;
  margin: 0 0 -1px;
}

.hero-search-tabs .site-button {
  min-height: 52px;
  border: 1px solid rgba(220, 231, 239, .72);
  border-bottom-color: transparent;
  border-radius: 12px 12px 0 0;
  padding: 13px 24px 14px;
  box-shadow: none;
}

.hero-search-tabs .site-button:hover {
  transform: none;
}

.hero-search-tabs .site-button.ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .46);
  border-bottom-color: rgba(220, 231, 239, .42);
  color: #fff;
  backdrop-filter: blur(8px);
}

.public-search {
  display: grid;
  grid-template-columns: minmax(132px, .95fr) minmax(132px, .95fr) minmax(132px, .95fr) minmax(132px, .95fr) minmax(132px, .95fr) minmax(132px, .95fr) minmax(170px, 1.15fr) auto;
  gap: 10px;
  align-items: end;
  padding: 16px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(219, 229, 238, .96);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.public-search-toggle {
  display: none;
}

.search-actions {
  min-width: 224px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-self: stretch;
}

.search-actions button,
.hero-search .search-actions button {
  grid-column: auto;
  min-width: 0;
  width: 100%;
}

.search-actions.is-map-view {
  grid-template-columns: 1fr;
}

.public-search .map-submit-button {
  border-color: #c9dce8;
  background: #f3f9fc;
  color: var(--brand-dark);
}

.hero-search {
  width: 100%;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 9px;
  align-items: end;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(220, 231, 239, .74);
  box-shadow: 0 20px 46px rgba(9, 28, 48, .22);
  backdrop-filter: blur(18px);
}

.hero-search-tabs + .hero-search {
  border-top-left-radius: 0;
}

.hero-search label,
.hero-search .search-location-filter,
.hero-search .search-type-filter {
  min-height: 52px;
  gap: 2px;
  padding: 7px 10px;
  border: 1px solid rgba(203, 216, 226, .78);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
}

.hero-search label,
.hero-search .search-location-filter,
.hero-search .search-type-filter,
.hero-search .search-keyword,
.hero-search .search-actions {
  grid-column: span 2;
  min-height: 52px;
}

.hero-search span {
  color: #718092;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-search .multi-select-value,
.hero-search .multi-options span {
  letter-spacing: 0;
  text-transform: none;
}

.hero-search select,
.hero-search input {
  min-height: 25px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #16263a;
  font-size: 13px;
  font-weight: 800;
  outline: none;
}

.hero-search select:disabled {
  background-color: transparent;
  background-repeat: no-repeat;
}

.hero-search button {
  min-width: 0;
  min-height: 52px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 22px rgba(18, 59, 112, .2);
}

.hero-search .map-submit-button {
  background: #f4fbfe;
  color: #123b70;
  box-shadow: none;
}

.listing-search .search-actions {
  min-height: 78px;
}

.finance-filter {
  grid-column: 1 / -1;
  border: 1px solid rgba(204, 221, 232, .96);
  border-radius: 12px;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  overflow: hidden;
}

.finance-filter summary {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  cursor: pointer;
  list-style: none;
}

.finance-filter summary::-webkit-details-marker {
  display: none;
}

.finance-filter summary span {
  color: var(--brand);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.finance-filter summary strong {
  color: #10253b;
  font-size: 15px;
}

.finance-filter summary sup {
  color: var(--brand);
  font-size: 13px;
  line-height: 1;
}

.finance-filter summary::after {
  content: "";
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid #c9dce8;
  border-radius: 50%;
  color: var(--brand-dark);
  background-color: #f3f9fc;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px 1.5px, 1.5px 10px;
}

.finance-filter[open] summary::after {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 10px 1.5px;
}

.finance-filter-fields {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(260px, 1fr);
  gap: 14px;
  align-items: center;
  padding: 0 12px 12px;
}

.finance-filter-fields label {
  display: grid;
  gap: 6px;
}

.finance-filter-fields label span {
  color: #66788b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.finance-filter-fields input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d7e5ec;
  border-radius: 10px;
  padding: 0 12px;
  color: #16263a;
  font: inherit;
  font-weight: 850;
}

.finance-filter-fields p {
  margin: 18px 0 0;
  color: #4f6378;
  font-size: 14px;
  line-height: 1.45;
}

.finance-filter-fields p {
  margin: 0;
  color: #53697c;
  font-size: 13px;
  line-height: 1.45;
}

.finance-results-summary {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 165, 202, .24);
  border-radius: 12px;
  background: #eef9fb;
}

.finance-results-summary strong {
  color: #10253b;
  font-size: 18px;
}

.finance-results-summary span {
  color: #1e435f;
  font-size: 14px;
  font-weight: 850;
}

.finance-results-summary small {
  color: #5c7184;
  font-size: 12px;
  line-height: 1.45;
}

.single-agent-section {
  padding: 38px 0 32px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.single-agent-section-home {
  padding-top: 28px;
}

.single-agent-section-buyer {
  padding-top: 34px;
}

.single-agent-inner {
  display: grid;
  gap: 14px;
  padding: 26px 28px 22px;
  border: 1px solid rgba(199, 216, 228, .82);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 4%, rgba(126, 186, 229, .16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(247, 251, 253, .97) 100%);
  box-shadow: 0 18px 46px rgba(18, 59, 112, .08);
}

.single-agent-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 510px);
  gap: 30px;
  align-items: start;
}

.single-agent-copy {
  max-width: 760px;
  padding: 12px 0 4px;
}

.single-agent-copy .site-eyebrow {
  margin-bottom: 18px;
}

.single-agent-copy .site-eyebrow::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 20px;
  border-radius: 999px;
  background: #74b5ea;
}

.single-agent-copy h2 {
  margin: 0;
  max-width: 720px;
  color: #071f4f;
  font-family: var(--site-font);
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: .98;
}

.single-agent-copy h2 span {
  color: #66adeb;
  font-family: inherit;
  font-weight: 400;
}

.single-agent-copy p:not(.site-eyebrow) {
  max-width: 690px;
  margin: 20px 0 0;
  color: #293f5e;
  font-size: 21px;
  line-height: 1.46;
}

.single-agent-copy strong {
  display: inline-flex;
  margin-top: 22px;
  color: #052a68;
  font-size: 18px;
  line-height: 1.35;
}

.single-agent-client-photos {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  padding-right: 2px;
}

.single-agent-client-photos figure {
  position: relative;
  width: clamp(190px, 14vw, 258px);
  margin: 0;
  overflow: visible;
  padding: 12px;
  border: 1px solid rgba(199, 216, 228, .72);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  box-shadow: 0 22px 50px rgba(18, 59, 112, .13);
}

.single-agent-client-photos figure:first-child {
  transform: rotate(-2.5deg) translateY(8px);
}

.single-agent-client-photos figure:nth-child(2) {
  transform: rotate(4deg) translateY(20px);
}

.single-agent-client-photos figure::after {
  display: none;
}

.single-agent-client-photos img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: #eef5f8;
}

.single-agent-client-photos figcaption {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  margin-top: 12px;
  color: #082656;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.28;
}

.single-agent-client-photos figcaption span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #2f8fe7;
  background: #f1f8fd;
  box-shadow: 0 8px 18px rgba(18, 59, 112, .08);
}

.single-agent-client-photos figcaption svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.single-agent-journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
  padding: 18px 22px 18px;
  border: 1px solid rgba(199, 216, 228, .84);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 44px rgba(18, 59, 112, .08);
}

.single-agent-journey article {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  min-height: 150px;
  padding: 4px 14px 0;
}

.single-agent-journey article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -48px;
  top: 48px;
  width: 96px;
  height: 2px;
  background: #8ec4f1;
  z-index: 0;
}

.single-agent-journey strong {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #23384f;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
}

.single-agent-journey strong span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #2f8fe7;
  font-size: 13px;
  font-weight: 900;
}

.single-agent-step-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.single-agent-step-copy p {
  max-width: 210px;
  margin: 0;
  color: #2d4363;
  font-size: 14px;
  line-height: 1.42;
  text-align: center;
}

.single-agent-avatar {
  position: relative;
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eff6fb;
  border: 1px solid rgba(199, 216, 228, .72);
  box-shadow: 0 10px 24px rgba(18, 59, 112, .10);
  overflow: hidden;
  z-index: 1;
}

.single-agent-avatar img {
  width: 98%;
  height: 98%;
  display: block;
  object-fit: contain;
}

.single-agent-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.single-agent-card-grid article {
  min-height: 194px;
  padding: 20px 18px;
  border: 1px solid rgba(199, 216, 228, .84);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 59, 112, .07);
}

.single-agent-card-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #eef8fb 100%);
  border: 1px solid rgba(199, 216, 228, .76);
  color: #123b70;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 24px rgba(18, 59, 112, .08);
}

.single-agent-card-icon svg {
  width: 31px;
  height: 31px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.single-agent-card-grid strong {
  display: block;
  color: #061f50;
  font-size: 17px;
  line-height: 1.25;
}

.single-agent-card-grid p {
  margin: 8px 0 0;
  color: #263f61;
  font-size: 15px;
  line-height: 1.45;
}

.single-agent-footer {
  display: grid;
  grid-template-columns: auto auto 1px minmax(180px, auto) 1px auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, #eff7fd 0%, #f8fbfe 48%, #eff7fd 100%);
  color: #0b2d63;
}

.single-agent-footer-badge {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #74b5ea 0%, #2f8fe7 100%);
  box-shadow: 0 10px 24px rgba(47, 143, 231, .24);
}

.single-agent-footer-badge svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.single-agent-footer strong {
  font-size: 17px;
  font-weight: 900;
}

.single-agent-footer p {
  margin: 0;
  color: #445a77;
  font-size: 15px;
}

.single-agent-footer em {
  color: #2f8fe7;
  font-family: var(--site-font);
  font-size: 24px;
  font-style: normal;
  line-height: 1;
}

.single-agent-footer-divider {
  width: 1px;
  height: 30px;
  background: rgba(132, 168, 198, .5);
}

.public-search label,
.public-search .search-location-filter,
.public-search .search-type-filter {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.public-search span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.public-search select,
.public-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.public-search .search-location-filter,
.public-search .search-type-filter {
  position: relative;
}

.public-search .multi-select {
  position: relative;
}

.public-search .multi-select summary {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  list-style: none;
}

.public-search .multi-select summary::-webkit-details-marker {
  display: none;
}

.public-search .multi-select summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid #152235;
  border-bottom: 2px solid #152235;
  transform: rotate(45deg) translateY(-2px);
}

.public-search .multi-select.is-disabled summary {
  background-color: #eef3f7;
  color: #7a8796;
  cursor: not-allowed;
}

.public-search .multi-select.is-disabled summary::after {
  border-color: #7a8796;
}

.public-search .multi-select-value {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-search .multi-options {
  position: absolute;
  z-index: 35;
  top: calc(100% + 6px);
  left: 0;
  width: max(100%, 260px);
  max-height: 300px;
  overflow: auto;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(14, 39, 62, .18);
}

.public-search .multi-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.public-search .multi-options label:hover {
  background: #f1f6fa;
}

.public-search .multi-options input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 0;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.public-search .multi-options span {
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-overflow: ellipsis;
}

.public-search select:disabled {
  background-color: #eef3f7;
  background-repeat: no-repeat;
  color: #7a8796;
  cursor: not-allowed;
}

.public-search button {
  min-width: 104px;
  box-shadow: none;
}

.public-search.hero-search select,
.public-search.hero-search input,
.public-search.hero-search .multi-select summary {
  min-height: 25px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #16263a;
  font-size: 13px;
  font-weight: 800;
}

.public-search.hero-search .multi-select summary {
  display: flex;
  align-items: center;
}

.public-search.hero-search button {
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 12px 22px rgba(18, 59, 112, .2);
}

.public-search.hero-search .map-submit-button {
  box-shadow: none;
}

@media (min-width: 781px) {
  .hero-search .search-actions {
    height: 57px;
    min-height: 57px;
    align-self: end;
  }

  .hero-search .search-actions button {
    height: 57px;
    min-height: 57px;
    padding-block: 5px;
    line-height: 1.1;
  }
}

@media (min-width: 1340px) {
  .hero-search {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 16px;
  }

  .hero-search label,
  .hero-search .search-location-filter,
  .hero-search .search-type-filter,
  .hero-search .search-keyword {
    grid-column: span 1;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    gap: 5px;
    align-items: stretch;
  }

  .hero-search label > span,
  .hero-search .search-location-filter > span,
  .hero-search .search-type-filter > span {
    color: var(--muted);
    font-size: 12px;
    line-height: normal;
    letter-spacing: normal;
    text-transform: none;
  }

  .public-search.hero-search select,
  .public-search.hero-search input,
  .public-search.hero-search .multi-select summary {
    min-width: 0;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
    background-color: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: inherit;
  }

  .public-search.hero-search select {
    padding-right: 34px;
    background-position: right 12px center;
    background-size: 10px 7px;
  }

  .hero-search .search-actions {
    grid-column: span 2;
    height: 58px;
    min-height: 58px;
    gap: 8px;
  }

  .hero-search .search-actions button {
    height: 58px;
    min-height: 58px;
    padding: 10px 17px;
    border-radius: 8px;
    font: inherit;
    white-space: nowrap;
  }

  .hero-search .finance-filter {
    grid-column: span 3;
    align-self: stretch;
  }

  .hero-search .finance-filter summary {
    min-height: 58px;
    padding: 8px 16px;
  }

  .hero-search .finance-filter summary span {
    font-size: 10px;
  }

  .hero-search .finance-filter summary strong {
    font-size: 15px;
  }
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.quick-card {
  min-height: 144px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(14, 39, 62, .08);
}

.quick-card strong {
  color: var(--brand-dark);
  font-size: 18px;
}

.quick-card span {
  color: var(--muted);
}

.quick-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.page-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 0 76px;
}

.page-link-grid a {
  min-height: 170px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(14, 39, 62, .08);
}

.page-link-grid a:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.page-link-grid span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.page-link-grid strong {
  color: var(--brand-dark);
  font-size: 19px;
  line-height: 1.25;
}

.mayrasa-selection-section {
  padding: clamp(46px, 6vw, 76px) 0 18px;
  background:
    linear-gradient(180deg, #f6f7f7 0%, #ffffff 72%),
    #f6f7f7;
}

.mayrasa-selection-shell {
  display: grid;
  gap: 28px;
}

.section-head.mayrasa-selection-head {
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  text-align: center;
}

.mayrasa-selection-head > div {
  display: grid;
  justify-items: center;
  max-width: none;
  width: 100%;
}

.mayrasa-selection-head .site-eyebrow {
  color: #6d737c;
}

.mayrasa-selection-head h2 {
  display: block;
  margin: 0;
  color: #0b1e46;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.mayrasa-selection-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: #4796df;
}

.mayrasa-selection-intro {
  max-width: 850px;
  margin: 18px auto 0;
  color: #5f6b7a;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.45;
}

.mayrasa-selection-intro strong {
  color: #0b1e46;
  font-weight: 900;
}

.mayrasa-selection-link {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border: 1px solid #c9d1dc;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(17, 24, 39, .08);
}

.mayrasa-selection-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mayrasa-selection-grid {
  margin-top: 0;
}

.mayrasa-selection-section.property-listing-page .public-property-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mayrasa-selection-section.property-listing-page .public-property-card {
  border-color: #d7dde5;
  background: #fff;
  box-shadow: 0 22px 54px rgba(17, 24, 39, .1);
}

.mayrasa-selection-section .public-property-image {
  filter: grayscale(1) contrast(1.06) brightness(.97);
  transition: transform .24s ease, filter .28s ease;
}

.mayrasa-selection-section .public-property-card:hover .public-property-image,
.mayrasa-selection-section .public-property-card:focus-within .public-property-image {
  filter: grayscale(.05) contrast(1.02) brightness(1);
}

.mayrasa-selection-section .public-property-media mark {
  background: rgba(17, 24, 39, .9);
}

.home-paths-section.page-section {
  width: min(1160px, calc(100vw - 36px));
  margin-top: 38px;
  margin-bottom: 54px;
  padding: 34px 36px 28px;
  border: 1px solid #d7e3ed;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 165, 202, .08), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(18, 59, 112, .07), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f6fafe 100%);
  box-shadow: 0 18px 46px rgba(14, 39, 62, .08);
}

.section-head.home-paths-head {
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  text-align: center;
}

.section-head.home-paths-head > div {
  display: grid;
  justify-items: center;
  max-width: 680px;
}

.home-paths-head h2 {
  margin: 0;
  color: #11264a;
  font-size: 31px;
  line-height: 1.12;
}

.home-paths-head h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #3f96d8;
}

.home-paths-head .home-paths-intro {
  max-width: 660px;
  margin-top: 13px;
  color: #667386;
  font-size: 15px;
  line-height: 1.4;
}

.home-paths-intro strong {
  color: #11264a;
  font-weight: 850;
}

.home-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-path-card {
  min-height: 300px;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(32px, auto) minmax(76px, 1fr) auto;
  align-content: start;
  gap: 13px;
  padding: 18px;
  border: 1px solid #dde7ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(14, 39, 62, .07);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.home-path-card:hover {
  border-color: rgba(0, 165, 202, .58);
  box-shadow: 0 18px 38px rgba(14, 39, 62, .11);
  transform: translateY(-2px);
}

.home-path-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f5fb;
  color: #1f5c9d;
}

.home-path-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-path-card > span:not(.home-path-icon) {
  min-height: 32px;
  display: flex;
  align-items: flex-start;
  color: #3397dc;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.home-path-card strong {
  display: -webkit-box;
  align-self: start;
  overflow: hidden;
  color: #153463;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.34;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home-path-card img {
  width: 100%;
  min-width: 0;
  height: 124px;
  display: block;
  align-self: end;
  object-fit: cover;
  border-radius: 8px;
  background: #e8f0f6;
}

.home-path-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
  min-height: 74px;
  padding: 14px 34px;
  border-radius: 8px;
  background: rgba(237, 245, 253, .82);
  color: #183765;
}

.home-path-note-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #58aee9;
  color: #fff;
}

.home-path-note-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-path-note strong {
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}

.home-path-note em {
  color: #3a95d4;
  font-family: var(--site-font);
  font-size: 18px;
  font-style: normal;
  line-height: 1.1;
  white-space: nowrap;
}

.home-path-note-divider {
  width: 1px;
  height: 26px;
  background: #b8c9da;
}

.home-path-note p {
  margin: 0;
  color: #7a8798;
  font-size: 15px;
  line-height: 1.4;
}

.welcome-section {
  align-items: center;
}

.welcome-card {
  min-height: 260px;
  display: grid;
  align-content: end;
  padding: 26px;
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(16, 39, 66, .84), rgba(16, 39, 66, .22)),
    url("public-hero.jpg") center / cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.welcome-card strong {
  font-size: 48px;
  line-height: 1;
}

.welcome-card p {
  max-width: 300px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .84);
  font-weight: 750;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: start;
  padding: 74px 0;
}

.split-section h2,
.service-band h2,
.property-section h2,
.seller-cta h2,
.benefits-section h2,
.review-band h2,
.detail-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.12;
}

.split-section p:not(.site-eyebrow),
.section-head p,
.seller-cta p,
.benefits-section p,
.review-band p,
.detail-content p {
  color: var(--muted);
  font-size: 17px;
}

.location-panel {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.location-panel h3 {
  margin: 0 0 16px;
  color: var(--brand-dark);
}

.location-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.location-panel a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  background: #eef7fa;
  border: 1px solid #cdebf3;
  border-radius: 8px;
  color: #205374;
  font-weight: 800;
  text-decoration: none;
}

.service-band {
  padding: 70px 0;
  background: #102742;
  color: #fff;
}

.service-band h2 {
  color: #fff;
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.service-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article {
  min-height: 222px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}

.service-grid span {
  color: #92e9ff;
  font-weight: 950;
}

.service-grid h3 {
  margin: 0;
  font-size: 18px;
}

.service-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
}

.home-objective-band {
  padding: 12px 0 56px;
  background: #fff;
  color: var(--ink);
}

.home-objective-panel {
  box-sizing: border-box;
  width: min(1180px, calc(100vw - 36px));
  padding: 48px 36px 22px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 6%, rgba(0, 165, 202, .08), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(18, 59, 112, .06), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #f6fafe 100%);
  box-shadow: 0 24px 70px rgba(14, 39, 62, .09);
}

.home-objective-head {
  max-width: 900px;
}

.home-objective-head .site-eyebrow {
  margin-bottom: 12px;
  color: #3397dc;
  font-size: 16px;
  letter-spacing: 0;
}

.home-objective-band .home-objective-head h2 {
  max-width: 900px;
  margin: 0;
  color: #11264a;
  font-size: 38px;
  line-height: 1.13;
}

.home-objective-head h2 span {
  color: #3397dc;
  font-weight: 700;
}

.home-objective-head > p:not(.site-eyebrow) {
  max-width: 820px;
  margin: 14px 0 26px;
  color: #596477;
  font-size: 17px;
  line-height: 1.55;
}

.home-objective-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  margin: 26px auto 22px;
  padding-inline: 110px;
}

.home-objective-steps div {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
}

.home-objective-steps div:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 24px;
  right: calc(50% + 36px);
  width: calc(100% - 72px);
  border-top: 1px dashed #c7d8e8;
}

.home-objective-steps span {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c7d8e8;
  border-radius: 50%;
  background: #f8fbff;
  color: #11264a;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 10px 26px rgba(14, 39, 62, .06);
}

.home-objective-steps div:first-child span {
  border-color: #3b99d9;
  background: #3b99d9;
  color: #fff;
}

.home-objective-steps strong {
  color: #11264a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.home-objective-grid.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

.home-objective-grid.service-grid article {
  box-sizing: border-box;
  min-height: 330px;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(50px, auto) minmax(68px, 1fr) auto;
  align-content: start;
  gap: 12px;
  padding: 22px 22px 18px;
  border: 1px solid #dde7ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 38px rgba(14, 39, 62, .07);
}

.home-objective-card-icon {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.home-objective-card-icon > svg {
  width: 64px;
  height: 64px;
  padding: 15px;
  border-radius: 50%;
  background: #f0f5fb;
  color: #1f72b8;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-objective-card-icon > span {
  color: #3397dc;
  font-size: 14px;
  font-weight: 950;
}

.home-objective-grid.service-grid h3 {
  min-height: 50px;
  display: flex;
  align-items: flex-start;
  margin: 0;
  color: #11264a;
  font-size: 17px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.home-objective-grid.service-grid p {
  display: -webkit-box;
  max-height: 63px;
  overflow: hidden;
  margin: 0;
  color: #596477;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-objective-grid.service-grid img {
  width: 100%;
  height: 132px;
  align-self: end;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  background: #e8f0f6;
}

.home-objective-footer {
  display: grid;
  grid-template-columns: auto auto auto 1px auto minmax(260px, 1fr) 1px auto minmax(180px, .55fr);
  align-items: center;
  gap: 14px 18px;
  min-height: 72px;
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: 8px;
  background: rgba(237, 245, 253, .86);
  color: #183765;
}

.home-objective-footer-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #3b99d9;
  color: #fff;
}

.home-objective-footer-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-objective-footer strong {
  color: #11264a;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.home-objective-footer em {
  color: #3397dc;
  font-family: var(--site-font);
  font-size: 17px;
  font-style: normal;
  line-height: 1.1;
  white-space: nowrap;
}

.home-objective-footer p {
  margin: 0;
  color: #596477;
  font-size: 14px;
  line-height: 1.35;
}

.home-objective-footer-divider {
  width: 1px;
  height: 34px;
  background: #c0d0df;
}

.buyer-advisory-section {
  padding: 76px 0;
  background: #fff;
}

.buyer-advisory-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr);
  gap: 54px;
  align-items: center;
}

.buyer-advisory-intro h2 {
  max-width: 640px;
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
}

.buyer-advisory-intro p:not(.site-eyebrow) {
  max-width: 680px;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 18px;
}

.buyer-advisory-media {
  position: relative;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 52px rgba(14, 39, 62, .16);
}

.buyer-advisory-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 39, 66, .02), rgba(16, 39, 66, .18));
}

.buyer-advisory-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
  object-fit: cover;
}

.buyer-signup-panel {
  scroll-margin-top: 116px;
  margin-top: 46px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(207, 224, 238, .86);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 0%, rgba(128, 193, 237, .18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(247, 251, 254, .95) 100%);
  box-shadow: 0 26px 70px rgba(19, 48, 78, .12);
}

.buyer-signup-wizard {
  margin-top: 0;
}

.buyer-signup-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.buyer-signup-head h2 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-family: var(--site-font);
  font-size: clamp(31px, 2.8vw, 42px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.buyer-signup-head p:not(.site-eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.buyer-signup-head > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  border-radius: 999px;
  padding: 8px 16px;
  background: #eef7fc;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.buyer-signup-head > span svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.buyer-signup-alert {
  margin-bottom: 18px;
  border: 1px solid #f0c1bc;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff4f2;
  color: #9a3d34;
  font-weight: 800;
}

.buyer-wizard-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.buyer-wizard-progress span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6e3ed;
  border-radius: 8px;
  background: #fff;
  color: #53687c;
  font-size: 13px;
  font-weight: 950;
}

.buyer-wizard-progress span.is-active,
.buyer-wizard-progress span.is-done {
  border-color: rgba(0, 165, 202, .34);
  background: #eaf7fb;
  color: var(--brand-dark);
}

.buyer-signup-form {
  display: grid;
  gap: 14px;
}

.buyer-signup-form fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #fff;
}

.buyer-wizard-step[hidden] {
  display: none;
}

.buyer-signup-form legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  padding: 0;
  color: var(--brand-dark);
  font-weight: 950;
}

.buyer-signup-form legend strong,
.buyer-signup-form legend small {
  display: block;
}

.buyer-signup-form legend strong {
  color: #12233a;
  font-size: 21px;
  line-height: 1.1;
}

.buyer-signup-form legend small {
  margin-top: 3px;
  color: #66788b;
  font-size: 14px;
  font-weight: 750;
}

.buyer-step-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef7fc;
  color: #66aee8;
}

.buyer-step-icon svg,
.buyer-field-control i svg,
.buyer-wizard-actions button svg,
.buyer-advisor-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.buyer-signup-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.buyer-signup-grid-text {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.buyer-signup-grid-text label:last-child {
  grid-column: 1 / -1;
}

.buyer-signup-form label {
  display: grid;
  gap: 7px;
  color: #263d55;
  font-size: 13px;
  font-weight: 850;
}

.buyer-signup-grid > label {
  grid-column: span 2;
}

.buyer-signup-grid > .buyer-field-wide {
  grid-column: span 3;
}

.buyer-signup-grid.buyer-home-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.buyer-signup-grid.buyer-home-metrics > label {
  min-width: 0;
  grid-column: auto;
}

.buyer-signup-form input,
.buyer-signup-form select,
.buyer-signup-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dbe6ef;
  border-radius: 14px;
  background: #fff;
  color: #172231;
  font: inherit;
  padding: 10px 13px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 24px rgba(23, 45, 68, .04);
}

.buyer-signup-form textarea {
  min-height: 96px;
  resize: vertical;
}

.buyer-signup-form input:focus,
.buyer-signup-form select:focus,
.buyer-signup-form textarea:focus {
  border-color: rgba(0, 165, 202, .74);
  box-shadow: 0 0 0 4px rgba(0, 165, 202, .12);
}

.buyer-field {
  min-height: 76px;
  align-content: start;
  border: 1px solid #dbe6ef;
  border-radius: 14px;
  padding: 10px 13px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 45, 68, .05);
}

.buyer-field > span:first-child {
  color: #4b5d72;
  font-size: 13px;
  font-weight: 900;
}

.buyer-field-control {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

.buyer-field-control i {
  display: inline-flex;
  color: #8e9dad;
}

.buyer-field-control input,
.buyer-field-control select {
  min-height: 30px;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.buyer-field-control input:focus,
.buyer-field-control select:focus {
  box-shadow: none;
}

.buyer-home-step {
  gap: 18px !important;
}

.buyer-choice-section {
  display: grid;
  gap: 10px;
  border: 1px solid #e1ebf3;
  border-radius: 16px;
  padding: 14px 16px 16px;
  background: rgba(248, 251, 253, .82);
}

.buyer-choice-title {
  margin: 0;
  color: #53687c;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.buyer-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.buyer-choice-group label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid #d6e3ed;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f8fbfd;
  color: #263d55;
  cursor: pointer;
}

.buyer-choice-group input {
  width: 15px;
  min-height: 15px;
  accent-color: var(--brand);
}

.buyer-privacy-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px !important;
  color: var(--muted) !important;
  line-height: 1.45;
}

.buyer-privacy-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.buyer-signup-actions,
.buyer-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.buyer-wizard-actions {
  margin-top: 2px;
  border-top: 1px solid #e4edf4;
  padding-top: 16px;
}

.buyer-signup-actions button,
.buyer-wizard-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 17px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 165, 202, .24);
}

.buyer-wizard-actions button.secondary {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.buyer-signup-actions button:hover,
.buyer-wizard-actions button:hover {
  transform: translateY(-1px);
}

.buyer-signup-actions small,
.buyer-wizard-note {
  color: var(--muted);
  font-weight: 750;
}

.buyer-wizard-note {
  display: block;
  position: relative;
  padding-left: 26px;
}

.buyer-wizard-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border: 2px solid #9aaabc;
  border-radius: 4px;
}

.buyer-signup-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.buyer-wizard-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: clamp(20px, 2.5vw, 30px);
  align-items: start;
}

.buyer-wizard-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.buyer-wizard-progress span {
  position: relative;
  display: grid;
  grid-template-columns: 38px auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #6b7888;
  font-size: 13px;
  font-weight: 900;
  justify-content: initial;
}

.buyer-wizard-progress b {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe3ea;
  border-radius: 50%;
  background: #fff;
  color: #172231;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(23, 45, 68, .06);
}

.buyer-wizard-progress em {
  font-style: normal;
}

.buyer-wizard-progress span.is-active {
  border-color: transparent;
  background: transparent;
  color: #5fa9e4;
}

.buyer-wizard-progress span.is-done {
  border-color: transparent;
  background: transparent;
}

.buyer-wizard-progress span.is-active b,
.buyer-wizard-progress span.is-done b {
  border-color: rgba(95, 169, 228, .5);
  background: linear-gradient(135deg, #7ec5f4 0%, #4a9dde 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(74, 157, 222, .26);
}

.buyer-advisor-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
  margin-top: -66px;
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(180deg, #f3f8fc 0%, #edf5fb 100%);
  color: #172231;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
}

.buyer-advisor-photo {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 2px;
  border: 7px solid #fff;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(23, 45, 68, .12);
}

.buyer-advisor-photo img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: 44% 20%;
}

.buyer-advisor-photo span {
  position: absolute;
  right: 5px;
  bottom: 8px;
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #6fc77d;
}

.buyer-advisor-note {
  margin: -4px 0 0;
  color: #6eaee3;
  font-family: var(--site-font);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.buyer-advisor-card h3 {
  margin: 0;
  color: #1b2b44;
  font-size: 18px;
  line-height: 1.32;
}

.buyer-advisor-line {
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: #66aee8;
}

.buyer-advisor-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.buyer-advisor-card li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #34485d;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.buyer-advisor-card li span,
.buyer-advisor-secure span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6caee7;
}

.buyer-advisor-secure {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 2px;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, .58);
  color: #586b80;
}

.buyer-advisor-secure strong {
  color: #61778d;
  font-size: 14px;
  line-height: 1.35;
}

.buyer-promise-panel {
  margin-top: 34px;
  padding: 26px 26px 24px;
  border: 1px solid rgba(207, 224, 238, .92);
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 0%, rgba(128, 193, 237, .13), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 252, 254, .96));
  box-shadow: 0 24px 64px rgba(19, 48, 78, .09);
}

.buyer-promise-head {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.buyer-promise-head h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  color: #172231;
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.buyer-promise-head > p:last-child {
  margin: 0;
  color: #6a7481;
  font-size: 19px;
  line-height: 1.4;
}

.buyer-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 28px;
}

.buyer-promise-card {
  position: relative;
  min-height: 468px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 26px 26px 22px;
  border: 1px solid rgba(207, 224, 238, .95);
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 42px rgba(19, 48, 78, .05);
}

.buyer-promise-card:not(:last-child)::after {
  content: none;
}

.buyer-promise-card small {
  margin-top: 5px;
  color: #4fa7dc;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 950;
  text-transform: uppercase;
}

.buyer-promise-card h3 {
  max-width: 330px;
  margin: 0;
  color: #1b2b44;
  font-size: 24px;
  line-height: 1.18;
}

.buyer-promise-card p {
  margin: 0;
  color: #6a7481;
  font-size: 17px;
  line-height: 1.48;
}

.buyer-promise-card img {
  width: 100%;
  height: 126px;
  display: block;
  margin-top: 8px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(19, 48, 78, .08);
}

.buyer-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.buyer-process-grid article {
  min-height: 292px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
}

.buyer-process-grid span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf7fb;
  color: var(--brand-dark);
  font-weight: 950;
}

.buyer-process-grid small {
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.buyer-process-grid h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1.22;
}

.buyer-process-grid p {
  margin: 0;
  color: var(--muted);
}

.property-section {
  padding: 72px 0;
}

.featured-section {
  padding-top: 38px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 640px;
  margin: 10px 0 0;
}

.public-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.public-property-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(14, 39, 62, .08);
}

.public-property-media {
  position: relative;
  height: 228px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeaf0, #f7fafc);
  color: var(--brand-dark);
  font-size: 48px;
  font-weight: 950;
}

.public-property-image-link {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: inherit;
  text-decoration: none;
}

.public-property-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}

.public-property-card:hover .public-property-image-link img {
  transform: scale(1.035);
}

.listing-gallery-zone {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 27%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.listing-gallery-zone-left {
  left: 0;
}

.listing-gallery-zone-right {
  right: 0;
}

.listing-gallery-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(15, 34, 52, .5);
  color: #fff;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .16s ease, background .16s ease;
  backdrop-filter: blur(8px);
}

.listing-gallery-prev {
  left: 10px;
}

.listing-gallery-next {
  right: 10px;
}

.public-property-media:hover .listing-gallery-arrow,
.listing-gallery-arrow:focus-visible {
  opacity: 1;
}

.listing-gallery-arrow:hover {
  background: rgba(15, 34, 52, .72);
}

.listing-gallery-count {
  position: absolute;
  z-index: 4;
  right: 10px;
  bottom: 10px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(23, 34, 49, .72);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.public-property-media mark {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(16, 39, 66, .86);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.public-property-media mark.has-monthly-badge {
  top: 50px;
}

.public-property-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.public-property-body small {
  color: var(--muted);
  font-weight: 850;
}

.public-property-body h2 {
  min-height: 50px;
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.24;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.public-property-body h2 a {
  text-decoration: none;
}

.public-property-body strong {
  color: var(--brand-dark);
  font-size: 22px;
}

.property-monthly {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(0, 165, 202, .22);
  border-radius: 8px;
  background: #eef9fb;
  color: #123b70;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.property-monthly-badge {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  border-color: rgba(255, 255, 255, .42);
  background: rgba(16, 39, 66, .88);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 28, 45, .18);
  backdrop-filter: blur(8px);
}

.public-property-body p {
  margin: 0;
  color: var(--muted);
}

.public-facts,
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.public-facts span,
.detail-facts span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 8px;
  background: #eff6f9;
  color: #35556e;
  font-size: 13px;
  font-weight: 850;
}

.text-link {
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.public-property-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.public-property-card {
  min-height: 0;
  border: 1px solid #d9e5ef;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(14, 39, 62, .12);
}

.public-property-media {
  height: clamp(340px, 32vw, 470px);
  border-radius: 28px 28px 0 0;
  background: #dfeaf2;
}

.public-property-card:hover .public-property-image-link img {
  transform: scale(1.025);
}

.property-monthly-badge {
  top: 34px;
  left: 34px;
  min-height: 54px;
  gap: 12px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 32, 70, .96);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 18px 34px rgba(4, 18, 40, .22);
}

.property-monthly-badge svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-monthly-badge strong,
.property-monthly-badge b {
  color: #8db8ff;
}

.listing-gallery-count {
  left: 34px;
  right: auto;
  bottom: 28px;
  min-height: 58px;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: #0b1e46;
  font-size: 18px;
  box-shadow: 0 16px 34px rgba(8, 30, 58, .18);
}

.listing-gallery-count svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-favorite-form,
.property-favorite-login-button {
  position: absolute;
  z-index: 9;
  top: 34px;
  right: 34px;
  margin: 0;
}

.property-card-choice-actions {
  position: absolute;
  z-index: 9;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-card-choice-actions .property-favorite-form,
.property-card-choice-actions .property-discard-form {
  position: static;
  margin: 0;
}

.property-discard-button {
  border-color: rgba(18, 59, 112, .18);
  color: #123b70;
}

.property-discard-button:hover,
.property-discard-button:focus-visible {
  border-color: rgba(190, 65, 65, .45);
  background: #fff5f3;
  color: #b43d3d;
}

.property-discard-button svg path:last-child {
  stroke-width: 2.55;
}

.public-property-card.is-removing {
  opacity: 0;
  transform: scale(.985);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.property-favorite-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 165, 202, .24);
  border-radius: 50%;
  background: rgba(255, 255, 255, .98);
  color: var(--brand);
  box-shadow: 0 16px 34px rgba(8, 30, 58, .2);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.property-favorite-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-favorite-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(8, 30, 58, .24);
}

.property-favorite-button.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.property-favorite-button.is-active svg {
  fill: currentColor;
}

.property-favorite-form.is-saving .property-favorite-button {
  opacity: .72;
  pointer-events: none;
}

.property-favorite-button.is-error {
  background: #fff4f1;
  color: #b9402e;
}

.property-favorite-login-button.is-prompting {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.favorite-signup-section[hidden] {
  display: none;
}

.favorite-signup-alert {
  border-color: rgba(0, 165, 202, .35);
  background: #eef9fb;
  color: #123b70;
}

.favorite-signup-section.is-favorite-focus .buyer-signup-panel {
  box-shadow: 0 30px 84px rgba(0, 165, 202, .22);
}

.public-property-media mark {
  top: auto;
  left: auto;
  right: 34px;
  bottom: 102px;
  border-radius: 999px;
  padding: 8px 12px;
}

.public-property-media mark.has-monthly-badge {
  top: auto;
}

.public-property-body {
  gap: 14px;
  padding: 32px 34px 28px;
}

.property-reference {
  color: #637391;
  font-size: 19px;
  font-weight: 950;
}

.public-property-body h2 {
  min-height: 0;
  margin-top: -2px;
  color: #071f4f;
  font-size: clamp(31px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
  -webkit-line-clamp: 2;
}

.property-title-rule {
  width: 48px;
  height: 4px;
  display: block;
  margin: 4px 0 4px;
  border-radius: 999px;
  background: #1163d6;
}

.property-price {
  color: #1157ca;
  font-size: clamp(40px, 4vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.property-location {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #667391;
  font-size: 21px;
  line-height: 1.25;
}

.property-location svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: #0b1e46;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 6px;
  padding: 18px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5fa 100%);
}

.public-facts span {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 0;
  background: transparent;
  color: #0b1e46;
  font-size: 16px;
  font-weight: 950;
  text-align: left;
}

.public-facts span + span {
  border-left: 1px solid #d1ddea;
}

.public-facts i,
.property-ai-highlight > span {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6f0ff;
  color: #0b1e46;
}

.public-facts svg,
.property-ai-highlight svg,
.property-detail-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-facts b {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
}

.public-facts em {
  display: block;
  color: #6d7890;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.property-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .86fr);
  gap: 22px;
  align-items: center;
  padding: 28px 34px 34px;
  border-top: 1px solid #d9e5ef;
}

.property-ai-highlight {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.property-ai-highlight > span {
  background: #f0f3f7;
  color: #0b1e46;
}

.property-ai-highlight p {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 5px;
}

.property-ai-highlight strong {
  color: #0b1e46;
  font-size: 18px;
  line-height: 1.18;
}

.property-ai-highlight small {
  color: #4d607d;
  font-size: 16px;
  line-height: 1.35;
}

.property-detail-button {
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f54c8 0%, #0663e4 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(17, 87, 202, .22);
}

.property-detail-button:hover {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .public-property-grid {
    grid-template-columns: 1fr;
  }

  .public-property-media {
    height: clamp(300px, 68vw, 430px);
  }
}

@media (max-width: 640px) {
  .public-property-card {
    border-radius: 22px;
  }

  .public-property-media {
    height: 285px;
    border-radius: 22px 22px 0 0;
  }

  .property-monthly-badge {
    top: 18px;
    left: 18px;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .listing-gallery-count {
    left: 18px;
    bottom: 16px;
    min-height: 46px;
    padding: 10px 16px;
    font-size: 15px;
  }

  .property-favorite-form,
  .property-favorite-login-button {
    right: 18px;
    top: 18px;
  }

  .property-card-choice-actions {
    top: 18px;
    right: 18px;
  }

  .property-favorite-button {
    width: 40px;
    height: 40px;
  }

  .public-property-body {
    padding: 24px 20px 22px;
  }

  .property-reference {
    font-size: 15px;
  }

  .public-property-body h2 {
    font-size: 30px;
  }

  .property-price {
    font-size: 42px;
  }

  .property-location {
    font-size: 17px;
  }

  .public-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 0;
    padding: 14px;
  }

  .public-facts span {
    justify-content: flex-start;
    min-height: 50px;
    padding: 0 10px;
  }

  .public-facts span + span {
    border-left: 0;
  }

  .public-facts span:nth-child(even) {
    border-left: 1px solid #d1ddea;
  }

  .property-card-footer {
    grid-template-columns: 1fr;
    padding: 22px 20px 24px;
  }

  .property-detail-button {
    min-height: 58px;
    font-size: 19px;
  }
}

.seller-cta {
  background:
    linear-gradient(90deg, rgba(16, 39, 66, .94), rgba(16, 39, 66, .82)),
    url("public-hero.jpg") center / cover;
  color: #fff;
}

.seller-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 70px 0;
}

.seller-cta h2,
.review-band h2 {
  color: #fff;
}

.seller-cta p,
.review-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, .78);
}

.benefits-section {
  padding: 72px 0;
}

.seller-services,
.about-section,
.team-section,
.contact-section {
  padding: 76px 0;
}

.seller-grid {
  grid-template-columns: repeat(3, 1fr);
}

.seller-landing {
  --seller-accent: #00a5ca;
  --seller-accent-soft: #92e9ff;
  --seller-accent-strong: #123b70;
  --seller-ink: #172231;
  --seller-charcoal: #102742;
  --seller-cream: #f7fbfd;
  --seller-soft: #eef7fc;
  background: #f7fafc;
}

.seller-landing .site-eyebrow {
  color: var(--brand);
}

.seller-hero {
  padding: clamp(70px, 8vw, 108px) 0 clamp(58px, 7vw, 92px);
  background:
    linear-gradient(90deg, rgba(6, 22, 39, .86) 0%, rgba(6, 22, 39, .58) 48%, rgba(6, 22, 39, .22) 100%),
    linear-gradient(180deg, rgba(6, 22, 39, .1) 0%, rgba(6, 22, 39, .5) 100%),
    url("public-hero.jpg") center / cover;
}

.seller-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 22, 39, .86) 0%, rgba(6, 22, 39, .58) 48%, rgba(6, 22, 39, .22) 100%),
    linear-gradient(180deg, rgba(6, 22, 39, .1) 0%, rgba(6, 22, 39, .5) 100%);
  pointer-events: none;
}

.seller-hero .site-eyebrow {
  color: #92e9ff;
}

.seller-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.seller-hero-copy h1 {
  margin: 0;
  max-width: 880px;
  color: #fff;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02;
  text-wrap: balance;
}

.seller-hero-copy > p:not(.site-eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.55;
}

.seller-hero .site-button.ghost {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.seller-hero-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(146, 233, 255, .3);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 70px rgba(14, 39, 62, .22);
  transform: translateY(30px);
}

.seller-hero-panel article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 3px 13px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(219, 229, 238, .96);
  border-radius: 8px;
  background: #fff;
}

.seller-hero-panel article span {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #123b70 0%, #00a5ca 100%);
}

.seller-hero-panel article span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg) translate(-1px, -2px);
}

.seller-hero-panel strong {
  color: var(--seller-ink);
  font-size: 17px;
  line-height: 1.2;
}

.seller-hero-panel p {
  margin: 0;
  color: #5c6470;
  font-size: 14px;
  line-height: 1.45;
}

.seller-proof-section {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  padding: 0 0 clamp(14px, 2.2vw, 28px);
}

.seller-proof-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(220px, .6fr));
  gap: 14px;
  align-items: stretch;
}

.seller-proof-wrap article {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 14px;
  align-content: center;
  padding: 22px;
  border: 1px solid rgba(190, 213, 226, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 48px rgba(13, 42, 66, .12);
}

.seller-proof-wrap article > span:not(.seller-proof-check) {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eef7fb;
  position: relative;
}

.seller-proof-wrap article > span:not(.seller-proof-check)::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 12px;
  width: 14px;
  height: 9px;
  border-left: 3px solid #1f6f9f;
  border-bottom: 3px solid #1f6f9f;
  transform: rotate(-45deg);
}

.seller-proof-wrap strong {
  color: var(--seller-ink);
  font-size: 18px;
  line-height: 1.2;
}

.seller-proof-wrap p {
  margin: 0;
  color: #5c6470;
  line-height: 1.5;
}

.seller-proof-wrap .seller-proof-feature {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border-color: rgba(31, 111, 159, .22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .99), rgba(241, 249, 252, .98));
}

.seller-proof-feature .seller-proof-check {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #1f6f9f;
  position: relative;
  box-shadow: 0 14px 28px rgba(31, 111, 159, .2);
}

.seller-proof-feature .seller-proof-check::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 17px;
  width: 19px;
  height: 12px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
}

.seller-proof-feature strong {
  font-size: clamp(22px, 2vw, 30px);
}

.seller-proof-feature p {
  margin-top: 6px;
  max-width: 620px;
  font-size: 17px;
}

.seller-proof-wrap .seller-proof-cta {
  align-self: center;
  width: auto;
  min-width: 230px;
  color: #fff;
  white-space: nowrap;
}

.seller-focus-section {
  --mayrasa-navy: #123b70;
  --mayrasa-navy-2: #102742;
  --mayrasa-accent: #00a5ca;
  --mayrasa-accent-soft: #92e9ff;
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 36px) 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(234, 247, 251, .9) 66%, rgba(255, 255, 255, .9) 100%),
    url("public-hero.jpg") center / cover;
}

.seller-focus-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(234, 247, 251, .84) 0%, rgba(255, 255, 255, .5) 28%, rgba(232, 243, 248, .72) 100%);
  pointer-events: none;
}

.seller-focus-section > .public-shell,
.seller-focus-trust {
  position: relative;
  z-index: 1;
}

.seller-focus-head {
  max-width: 1160px;
  margin: 0 auto 38px;
  text-align: center;
}

.seller-focus-head .site-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--mayrasa-accent);
  font-family: var(--site-font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.seller-focus-head .site-eyebrow::before,
.seller-focus-head .site-eyebrow::after {
  content: "";
  width: 52px;
  height: 1px;
  background: currentColor;
}

.seller-focus-head h2 {
  margin: 0;
  color: var(--mayrasa-navy);
  font-family: var(--site-font);
  font-size: clamp(42px, 4.45vw, 66px);
  font-weight: 700;
  line-height: 1.02;
  text-wrap: balance;
}

.seller-focus-head h2 span {
  color: var(--mayrasa-accent);
}

.seller-focus-head > p:not(.site-eyebrow) {
  max-width: 790px;
  margin: 24px auto 0;
  color: #59606c;
  font-family: var(--site-font);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.34;
}

.seller-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
}

.seller-focus-grid article {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px 36px;
  border: 1px solid rgba(6, 29, 60, .08);
  border-bottom: 5px solid var(--mayrasa-accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 48px rgba(6, 29, 60, .14);
  text-align: center;
}

.seller-focus-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 104px solid var(--mayrasa-navy);
  border-right: 104px solid transparent;
}

.seller-focus-number {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  color: var(--mayrasa-accent-soft);
  font-family: var(--site-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.seller-focus-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 18px auto 22px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #153b68, #0f789e);
  color: #fff;
  box-shadow: 0 0 0 1px #cce5ef, 0 10px 24px rgba(15, 78, 112, .18);
}

.seller-focus-icon svg {
  width: 34px;
  height: 34px;
}

.seller-focus-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seller-focus-rule {
  width: 46px;
  height: 1px;
  margin-bottom: 19px;
  background: var(--mayrasa-accent);
}

.seller-focus-grid strong {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mayrasa-navy);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.18;
  text-transform: uppercase;
}

.seller-focus-grid p {
  margin: 22px 0 0;
  color: #071732;
  font-size: 17px;
  line-height: 1.72;
}

.seller-focus-trust {
  margin-top: 18px;
  background: linear-gradient(135deg, #102742 0%, #123b70 68%, #00a5ca 100%);
}

.seller-focus-trust .public-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.seller-focus-trust article {
  min-height: 142px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  color: #fff;
}

.seller-focus-trust article + article {
  border-left: 1px solid rgba(255, 255, 255, .5);
}

.seller-focus-trust-asset {
  width: 96px;
  height: 96px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.seller-focus-trust strong {
  display: block;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  text-transform: uppercase;
}

.seller-focus-trust p {
  margin: 4px 0 0;
  color: var(--mayrasa-accent-soft);
  font-size: 18px;
  line-height: 1.25;
}

.seller-services-strip {
  padding-top: 52px;
  padding-bottom: 54px;
}

.seller-services-strip .benefit-grid,
.seller-single-agent .benefit-grid,
.seller-promise-section .benefit-grid,
.seller-ready-section .benefit-grid {
  margin-top: 0;
}

.seller-services-strip article,
.seller-single-agent article,
.seller-promise-section article,
.seller-ready-section article,
.seller-concern-grid article {
  box-shadow: 0 16px 34px rgba(25, 29, 34, .07);
}

.seller-services-strip article,
.seller-single-agent article,
.seller-promise-section article,
.seller-ready-section article {
  position: relative;
  padding-top: 54px;
}

.seller-services-strip article::before,
.seller-single-agent article::before,
.seller-promise-section article::before,
.seller-ready-section article::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #7ec5f4 0%, #4a9dde 100%);
  box-shadow: inset 0 0 0 6px rgba(238, 247, 252, .76);
}

.seller-single-agent,
.seller-valuation-section {
  background: #fff;
}

.seller-method-band {
  background:
    linear-gradient(135deg, #102742 0%, #123b70 70%, #174b7d 100%);
}

.seller-method-band .site-eyebrow {
  color: #92e9ff;
}

.seller-method-band > .public-shell > p:not(.site-eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, .74);
  font-size: 17px;
}

.seller-process-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
}

.seller-process-line article {
  position: relative;
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.seller-process-line article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  right: -10px;
  width: 10px;
  height: 2px;
  background: rgba(146, 233, 255, .46);
}

.seller-process-line span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #92e9ff;
  color: #102742;
  font-weight: 950;
}

.seller-process-line h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.seller-process-line p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.5;
}

.seller-concerns {
  background: var(--seller-cream);
}

.seller-concern-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.seller-concern-grid article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(219, 229, 238, .92);
  border-radius: 8px;
  background: #fff;
}

.seller-concern-grid strong {
  display: block;
  color: var(--seller-ink);
  font-size: 17px;
  line-height: 1.25;
}

.seller-concern-grid p {
  margin: 12px 0 0;
  color: #5c6470;
  font-size: 14px;
  line-height: 1.5;
}

.seller-valuation-note {
  display: grid;
  gap: 6px;
  margin: -8px 0 22px;
  padding: 18px 20px;
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  background: var(--seller-cream);
}

.seller-valuation-note strong {
  color: var(--seller-ink);
  font-size: 18px;
}

.seller-valuation-note p {
  margin: 0;
  color: #5d6670;
}

.seller-valuation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seller-valuation-grid article {
  min-height: 168px;
  border-color: rgba(219, 229, 238, .96);
  background: #fff;
  box-shadow: 0 14px 30px rgba(25, 29, 34, .07);
}

.seller-valuation-grid h3 {
  color: var(--seller-ink);
}

.seller-valuation-grid p {
  color: #5c6470;
}

.seller-landing .seller-cta {
  background:
    linear-gradient(90deg, rgba(16, 39, 66, .94), rgba(16, 39, 66, .82)),
    url("public-hero.jpg") center / cover;
}

.seller-landing .seller-cta .site-eyebrow {
  color: #92e9ff;
}

.seller-landing .seller-cta .site-button {
  background: linear-gradient(135deg, #123b70 0%, #00a5ca 100%);
  color: #fff;
}

.seller-selection-section {
  padding-top: clamp(36px, 4vw, 56px);
  padding-bottom: clamp(42px, 4vw, 58px);
  border-bottom: 1px solid rgba(18, 59, 112, .08);
}

.seller-selection-section .mayrasa-selection-shell {
  gap: 34px;
}

.seller-selection-section .mayrasa-selection-head .site-eyebrow {
  margin-bottom: 12px;
  color: var(--brand);
}

.seller-showcase-video {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, .58fr);
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(18, 59, 112, .12);
  border-radius: 22px;
  background: #0f2848;
  box-shadow: 0 30px 72px rgba(16, 39, 66, .18);
}

.seller-showcase-player {
  min-width: 0;
  background: #07182d;
}

.seller-showcase-player video {
  width: 100%;
  height: 100%;
  min-height: 470px;
  display: block;
  object-fit: cover;
}

.seller-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(36px, 4.5vw, 64px);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 165, 202, .28), transparent 44%),
    linear-gradient(145deg, #123b70 0%, #0e294b 100%);
}

.seller-showcase-copy .site-eyebrow {
  margin: 0 0 16px;
  color: #82e6ff;
}

.seller-showcase-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.seller-showcase-copy > p:not(.site-eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  line-height: 1.7;
}

.seller-showcase-copy .site-button {
  margin-top: 30px;
  background: #fff;
  color: #123b70;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .16);
}

.seller-showcase-copy .site-button:hover {
  background: #eafaff;
  color: #0b2c55;
}

.seller-listing-preview-head {
  max-width: 850px;
  margin: 10px auto 0;
  text-align: center;
}

.seller-listing-preview-head .site-eyebrow {
  margin-bottom: 10px;
  color: var(--brand);
}

.seller-listing-preview-head h3 {
  margin: 0;
  color: #102742;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.seller-listing-preview-head > p:last-child {
  max-width: 760px;
  margin: 15px auto 0;
  color: #687584;
  font-size: 17px;
  line-height: 1.65;
}

.seller-selection-actions {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.seller-selection-actions .mayrasa-selection-link:hover {
  border-color: #8db7dc;
  color: #123b70;
  transform: translateY(-2px);
}

.seller-story-section {
  padding: clamp(74px, 9vw, 124px) 0;
  background: #fff;
}

.seller-story-grid {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}

.seller-story-media {
  position: relative;
  min-height: 610px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #dfeaf2;
  box-shadow: 0 26px 70px rgba(16, 39, 66, .16);
}

.seller-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(7, 25, 45, .62));
  pointer-events: none;
}

.seller-story-media img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  display: block;
  object-fit: cover;
}

.seller-story-media figcaption {
  position: absolute;
  z-index: 1;
  left: 30px;
  bottom: 26px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .2em;
}

.seller-story-copy h2,
.seller-method-band h2,
.seller-valuation-head h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.seller-story-lead {
  margin: 22px 0 0;
  color: #5b6672;
  font-size: 18px;
  line-height: 1.75;
}

.seller-story-points {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(18, 59, 112, .14);
}

.seller-story-points article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(18, 59, 112, .14);
}

.seller-story-points article > span {
  color: #43a9c7;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
}

.seller-story-points strong {
  display: block;
  color: #102742;
  font-size: 19px;
  line-height: 1.25;
}

.seller-story-points p {
  margin: 8px 0 0;
  color: #68727d;
  line-height: 1.6;
}

.seller-method-band h2 {
  max-width: 850px;
  color: #fff;
}

.seller-valuation-head {
  align-items: center;
}

.seller-valuation-head > div {
  max-width: 770px;
}

.seller-valuation-head > div > p:last-child {
  line-height: 1.7;
}

.seller-valuation-grid article {
  min-height: 200px;
}

@media (max-width: 1100px) {
  .seller-showcase-video {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .seller-showcase-player video {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .seller-hero-inner {
    grid-template-columns: 1fr;
  }

  .seller-hero-panel {
    max-width: 720px;
  }

  .seller-proof-wrap {
    grid-template-columns: 1fr;
  }

  .seller-proof-wrap .seller-proof-feature {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .seller-proof-wrap .seller-proof-cta {
    grid-column: 2;
    justify-self: start;
  }

  .seller-process-line,
  .seller-concern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-process-line article:not(:last-child)::after {
    display: none;
  }

  .seller-story-grid {
    grid-template-columns: 1fr;
  }

  .seller-story-media,
  .seller-story-media img {
    min-height: 520px;
  }
}

@media (max-width: 780px) {
  .seller-selection-section {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .seller-selection-section .mayrasa-selection-shell {
    gap: 26px;
  }

  .seller-showcase-video {
    border-radius: 16px;
  }

  .seller-showcase-copy {
    padding: 28px 24px 30px;
  }

  .seller-showcase-copy h3 {
    font-size: 30px;
  }

  .seller-showcase-copy > p:not(.site-eyebrow) {
    margin-top: 17px;
    font-size: 16px;
  }

  .seller-showcase-copy .site-button {
    width: 100%;
    margin-top: 24px;
  }

  .seller-listing-preview-head {
    margin-top: 2px;
  }

  .seller-listing-preview-head h3 {
    font-size: 30px;
  }

  .seller-listing-preview-head > p:last-child {
    font-size: 16px;
  }

  .seller-hero {
    padding: 46px 0 44px;
  }

  .seller-hero-copy h1 {
    font-size: 34px;
  }

  .seller-hero-copy > p:not(.site-eyebrow) {
    font-size: 16px;
  }

  .seller-hero .hero-actions,
  .seller-valuation-section .section-head .site-button,
  .seller-inner .site-button {
    width: 100%;
  }

  .seller-hero .site-button,
  .seller-valuation-section .section-head .site-button,
  .seller-inner .site-button {
    width: 100%;
    min-height: 48px;
  }

  .seller-hero-panel {
    padding: 12px;
    transform: none;
  }

  .seller-hero-panel article {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px;
  }

  .seller-hero-panel article span {
    width: 34px;
    height: 34px;
  }

  .seller-proof-section {
    margin-top: -22px;
    padding-bottom: 18px;
  }

  .seller-proof-wrap article,
  .seller-proof-wrap .seller-proof-feature {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 20px;
  }

  .seller-proof-feature .seller-proof-check {
    width: 44px;
    height: 44px;
  }

  .seller-proof-feature .seller-proof-check::before {
    left: 14px;
    top: 13px;
    width: 15px;
    height: 9px;
    border-left-width: 3px;
    border-bottom-width: 3px;
  }

  .seller-proof-wrap .seller-proof-cta {
    grid-column: 1 / -1;
    justify-self: stretch;
    min-width: 0;
    white-space: normal;
  }

  .seller-focus-section,
  .seller-services-strip,
  .seller-single-agent,
  .seller-concerns,
  .seller-promise-section,
  .seller-valuation-section,
  .seller-ready-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .seller-focus-section {
    padding-top: 32px;
    padding-bottom: 0;
  }

  .seller-process-line,
  .seller-concern-grid,
  .seller-valuation-grid {
    grid-template-columns: 1fr;
  }

  .seller-process-line article,
  .seller-concern-grid article {
    min-height: 0;
  }

  .seller-focus-head {
    margin-bottom: 28px;
  }

  .seller-focus-head .site-eyebrow {
    gap: 10px;
    font-size: 14px;
  }

  .seller-focus-head .site-eyebrow::before,
  .seller-focus-head .site-eyebrow::after {
    width: 34px;
  }

  .seller-focus-head h2 {
    font-size: 40px;
  }

  .seller-focus-head > p:not(.site-eyebrow) {
    font-size: 18px;
  }

  .seller-focus-grid {
    grid-template-columns: 1fr;
  }

  .seller-focus-grid article {
    min-height: 0;
    padding: 52px 22px 30px;
  }

  .seller-focus-icon {
    width: 68px;
    height: 68px;
    margin-top: 12px;
  }

  .seller-focus-grid strong {
    min-height: 0;
  }

  .seller-focus-grid p {
    font-size: 16px;
    line-height: 1.62;
  }

  .seller-focus-trust .public-shell {
    grid-template-columns: 1fr;
  }

  .seller-focus-trust article {
    min-height: 116px;
    justify-content: flex-start;
    padding: 14px 0;
  }

  .seller-focus-trust-asset {
    width: 84px;
    height: 84px;
  }

  .seller-focus-trust article + article {
    border-top: 1px solid rgba(255, 255, 255, .28);
    border-left: 0;
  }

  .seller-selection-section {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .seller-story-section {
    padding: 58px 0;
  }

  .seller-story-grid {
    gap: 34px;
  }

  .seller-story-media,
  .seller-story-media img {
    min-height: 390px;
  }

  .seller-story-media figcaption {
    left: 22px;
    bottom: 20px;
  }

  .seller-story-copy h2,
  .seller-method-band h2,
  .seller-valuation-head h2 {
    font-size: 36px;
  }

  .seller-story-points article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }
}

/* Atlas MAYRASA: conocimiento territorial separado del inventario */
.atlas-location-page {
  --atlas-ink: #172231;
  --atlas-green: #123b70;
  --atlas-sand: #f4f8fb;
  --atlas-gold: #00a5ca;
}

.atlas-guide-hero {
  min-height: 590px;
  background:
    radial-gradient(circle at 78% 24%, rgba(216, 185, 123, .24) 0 8%, transparent 8.2%),
    linear-gradient(125deg, #102f28 0%, #1d4b40 58%, #8c7450 145%);
}

.atlas-guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(30deg, transparent 48%, rgba(255,255,255,.13) 49%, transparent 50%);
  background-size: 46px 46px;
}

.atlas-guide-hero .zone-hero-shade {
  background: linear-gradient(90deg, rgba(8, 30, 25, .82), rgba(8, 30, 25, .08));
}

.atlas-guide-hero .zone-hero-facts article {
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(8px);
}

.atlas-guide-nav {
  display: grid;
  grid-template-columns: minmax(150px, .3fr) minmax(0, 1.7fr);
  gap: 24px;
  align-items: start;
  padding-top: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(22, 53, 46, .14);
}

.atlas-guide-nav strong {
  color: var(--atlas-ink);
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.atlas-guide-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.atlas-guide-nav nav a {
  color: #365a51;
  text-decoration: underline;
  text-decoration-color: rgba(188, 146, 84, .5);
  text-underline-offset: 5px;
}

.atlas-preview-flag {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #dfbc72;
  background: #fff5d8;
  color: #674c12;
  font-weight: 700;
}

.atlas-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  background: rgba(22, 53, 46, .14);
}

.atlas-knowledge-grid article {
  min-height: 430px;
  padding: clamp(34px, 5vw, 68px);
  background: #fff;
  scroll-margin-top: 120px;
}

.atlas-knowledge-grid article:first-child,
.atlas-knowledge-grid article:last-child {
  background: #f1ede5;
}

.atlas-knowledge-grid h2,
.atlas-microareas-section h2,
.atlas-decisions-grid h2,
.atlas-sources-section h2 {
  color: var(--atlas-ink);
  font-size: clamp(2rem, 3.7vw, 3.7rem);
  line-height: 1.03;
}

.atlas-knowledge-grid h3 {
  margin: 34px 0 8px;
  color: var(--atlas-green);
  font-size: 1rem;
}

.atlas-knowledge-grid article > p:not(.site-eyebrow) {
  color: #4f625d;
  font-size: 1.02rem;
  line-height: 1.82;
}

.atlas-section-sources {
  display: block;
  margin-top: 24px;
  color: #687872;
  font-size: .76rem;
  line-height: 1.6;
}

.atlas-section-sources a {
  color: #315c51;
  text-decoration: underline;
}

.atlas-microareas-section {
  padding: clamp(68px, 8vw, 112px) 0;
  background: var(--atlas-green);
  color: #fff;
  scroll-margin-top: 100px;
}

.atlas-microareas-section .site-eyebrow,
.atlas-microareas-section .atlas-section-sources,
.atlas-microareas-section .atlas-section-sources a {
  color: #e0bd7b;
}

.atlas-microareas-section h2 {
  color: #fff;
}

.atlas-microarea-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.atlas-microarea-grid article {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(255,255,255,.055);
}

.atlas-microarea-grid h3 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
}

.atlas-microarea-grid dl,
.atlas-microarea-grid dd {
  margin: 0;
}

.atlas-microarea-grid dl > div {
  padding: 17px 0;
  border-top: 1px solid rgba(255,255,255,.13);
}

.atlas-microarea-grid dt {
  margin-bottom: 6px;
  color: #e0bd7b;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.atlas-microarea-grid dd {
  color: rgba(255,255,255,.82);
  line-height: 1.58;
}

.atlas-decisions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: clamp(64px, 8vw, 112px);
  margin-bottom: clamp(64px, 8vw, 112px);
  background: rgba(22, 53, 46, .16);
}

.atlas-decisions-grid article {
  padding: clamp(34px, 5vw, 68px);
  background: #f2eee6;
}

.atlas-decisions-grid article:last-child {
  background: #fff;
}

.atlas-decisions-grid ul,
.atlas-decisions-grid ol {
  margin: 30px 0 0;
  padding-left: 24px;
}

.atlas-decisions-grid li {
  padding: 13px 0 13px 7px;
  border-top: 1px solid rgba(22, 53, 46, .13);
  color: #4b5e58;
  line-height: 1.55;
}

.atlas-sources-section {
  padding-top: 20px;
  padding-bottom: clamp(68px, 8vw, 112px);
  scroll-margin-top: 100px;
}

.atlas-source-list {
  margin-top: 34px;
  border-top: 1px solid rgba(22, 53, 46, .16);
}

.atlas-source-list article {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(210px, .7fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(22, 53, 46, .16);
}

.atlas-source-list strong,
.atlas-source-list span {
  display: block;
}

.atlas-source-list span,
.atlas-source-list p {
  margin: 4px 0 0;
  color: #708079;
  font-size: .82rem;
}

.atlas-source-list a {
  color: var(--atlas-green);
  font-weight: 750;
}

@media (max-width: 780px) {
  .atlas-guide-hero {
    min-height: 690px;
  }

  .atlas-guide-nav,
  .atlas-knowledge-grid,
  .atlas-microarea-grid,
  .atlas-decisions-grid {
    grid-template-columns: 1fr;
  }

  .atlas-guide-nav nav {
    display: grid;
    gap: 13px;
  }

  .atlas-knowledge-grid {
    margin-right: 16px;
    margin-left: 16px;
  }

  .atlas-knowledge-grid article {
    min-height: 0;
    padding: 34px 24px;
  }

  .atlas-microarea-grid article,
  .atlas-decisions-grid article {
    padding: 30px 22px;
  }

  .atlas-source-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.finance-info-page {
  background: #fff;
}

.finance-info-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
  background:
    linear-gradient(90deg, rgba(15, 43, 72, .94), rgba(15, 43, 72, .74)),
    url("public-hero.jpg") center / cover;
  color: #fff;
}

.finance-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.finance-hero-copy {
  max-width: 760px;
}

.finance-hero-copy .site-eyebrow {
  color: #94e8fb;
}

.finance-hero-copy h1 {
  max-width: 820px;
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.02;
}

.finance-hero-copy > p:not(.site-eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
}

.finance-info-hero .site-button.ghost {
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: none;
}

.finance-hero-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(4, 20, 36, .24);
  color: var(--ink);
}

.finance-hero-panel strong {
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1.14;
}

.finance-hero-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finance-hero-panel li {
  position: relative;
  min-height: 34px;
  padding-left: 42px;
  color: #4c5e70;
  font-weight: 800;
  line-height: 1.4;
}

.finance-hero-panel li::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f7f4;
  color: var(--mint);
  content: "✓";
  font-weight: 950;
}

.finance-planner-section,
.finance-documents-section,
.finance-faq-section {
  background: #f5f9fb;
}

.finance-planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 24px;
  align-items: stretch;
}

.finance-calculator,
.finance-example-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(14, 39, 62, .08);
}

.finance-calculator .section-head {
  margin-bottom: 20px;
}

.finance-calculator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.finance-calculator-form label {
  display: grid;
  gap: 7px;
  color: var(--brand-dark);
  font-weight: 900;
}

.finance-calculator-form span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.finance-calculator-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cad8e4;
  border-radius: 8px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.finance-calculator-form input:focus {
  outline: 3px solid rgba(0, 165, 202, .18);
  border-color: var(--brand);
}

.finance-calculator-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.finance-calculator-results article {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background: #eef7fa;
}

.finance-calculator-results span {
  color: #5d6e80;
  font-size: 13px;
  font-weight: 900;
}

.finance-calculator-results strong {
  color: var(--brand-dark);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
}

.finance-calculator-status {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 5px solid var(--mint);
  border-radius: 8px;
  background: #edf9f4;
  color: #286b56;
  font-weight: 900;
}

.finance-calculator-status.is-warning {
  border-left-color: var(--coral);
  background: #fff1ee;
  color: #9a4236;
}

.finance-small-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.finance-example-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfd 100%);
}

.finance-example-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.08;
}

.finance-example-panel > p:not(.site-eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.finance-example-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.finance-example-list article {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid #dbe7ef;
  border-radius: 8px;
  background: #fff;
}

.finance-example-list strong {
  color: var(--brand-dark);
  font-size: 24px;
}

.finance-example-list span {
  color: var(--ink);
  font-weight: 900;
}

.finance-example-list small {
  color: var(--muted);
  font-weight: 800;
}

.finance-example-list article {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.finance-example-list article:hover,
.finance-example-list article:focus-within {
  border-color: rgba(14, 63, 138, .48);
  box-shadow: 0 14px 30px rgba(14, 63, 138, .11);
  transform: translateY(-1px);
}

.finance-example-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.finance-example-card-link:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.finance-example-list small.finance-example-property-meta {
  overflow: hidden;
  max-width: 100%;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finance-profile-grid,
.finance-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.finance-doc-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.finance-profile-grid article,
.finance-doc-grid article {
  min-height: 178px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(14, 39, 62, .06);
}

.finance-profile-grid strong,
.finance-doc-grid strong {
  color: var(--brand-dark);
  font-size: 18px;
}

.finance-profile-grid p,
.finance-doc-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.finance-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.finance-timeline article {
  min-height: 188px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-top: 4px solid var(--brand);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(14, 39, 62, .06);
}

.finance-timeline span {
  color: var(--coral);
  font-weight: 950;
}

.finance-timeline strong {
  color: var(--brand-dark);
  line-height: 1.2;
}

.finance-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.finance-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

.finance-faq-layout h2 {
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.08;
}

.finance-faq-layout > div > p:not(.site-eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.finance-faq-list {
  display: grid;
  gap: 10px;
}

.finance-faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(14, 39, 62, .05);
}

.finance-faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 950;
}

.finance-faq-list summary::after {
  content: "+";
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
}

.finance-faq-list details[open] summary::after {
  content: "-";
}

.finance-faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.6;
}

.finance-info-note .seller-cta {
  margin-top: 26px;
}

@media (max-width: 1100px) {
  .finance-hero-inner,
  .finance-planner-layout,
  .finance-faq-layout {
    grid-template-columns: 1fr;
  }

  .finance-hero-panel {
    max-width: 620px;
  }

  .finance-doc-grid,
  .finance-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .finance-info-hero {
    padding: 54px 0 48px;
  }

  .finance-hero-copy h1 {
    font-size: 38px;
  }

  .finance-info-hero .hero-actions,
  .finance-info-hero .site-button {
    width: 100%;
  }

  .finance-hero-panel,
  .finance-calculator,
  .finance-example-panel {
    padding: 20px;
  }

  .finance-calculator-form,
  .finance-calculator-results,
  .finance-profile-grid,
  .finance-doc-grid,
  .finance-timeline {
    grid-template-columns: 1fr;
  }

  .finance-calculator-results article,
  .finance-profile-grid article,
  .finance-doc-grid article,
  .finance-timeline article {
    min-height: 0;
  }
}

.finance-info-page {
  background: #fff;
  --finance-navy: #082c58;
  --finance-navy-2: #123964;
  --finance-gold: #d7ad63;
  --finance-gold-soft: #f6e8c7;
  --finance-ink: #0b2b57;
  --finance-muted: #53657a;
}

.finance-info-page .public-header {
  box-shadow: 0 8px 28px rgba(14, 39, 62, .06);
}

.finance-info-hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 92px 0 88px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0 0 18px 18px;
  background: #0b2b57 url("public-hero.jpg") center / cover;
  color: #fff;
}

.finance-info-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 44, 88, .96) 0%, rgba(8, 44, 88, .84) 40%, rgba(8, 44, 88, .28) 100%),
    linear-gradient(180deg, rgba(4, 18, 34, .08) 0%, rgba(4, 18, 34, .18) 100%);
  content: "";
  pointer-events: none;
}

.finance-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.finance-hero-inner {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.finance-hero-copy {
  max-width: 650px;
}

.finance-hero-copy .site-eyebrow {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .03em;
}

.finance-hero-copy .site-eyebrow::before {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  content: "⌂";
  font-size: 14px;
  line-height: 1;
}

.finance-hero-copy .site-eyebrow::after {
  display: none;
}

.finance-hero-copy h1 {
  max-width: 640px;
  margin: 0 0 28px;
  color: #fff;
  font-family: var(--site-font);
  font-size: clamp(50px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.06;
}

.finance-hero-copy h1 span {
  display: block;
}

.finance-title-accent {
  color: var(--finance-gold);
}

.finance-hero-copy > p:not(.site-eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, .96);
  font-size: 20px;
  line-height: 1.55;
}

.finance-info-hero .hero-actions {
  gap: 16px;
  margin-top: 46px;
}

.finance-info-hero .site-button {
  min-height: 74px;
  gap: 16px;
  padding: 18px 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f2c96f 0%, #d7a64f 100%);
  color: var(--finance-ink);
  font-size: 18px;
  box-shadow: 0 18px 38px rgba(7, 25, 44, .18);
}

.finance-info-hero .site-button svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.finance-info-hero .site-button.ghost {
  border: 1px solid rgba(255, 255, 255, .68);
  background: rgba(7, 26, 50, .14);
  color: #fff;
  box-shadow: none;
}

.finance-hero-panel {
  min-height: 535px;
  align-content: start;
  gap: 26px;
  padding: 36px 38px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 30px 80px rgba(7, 25, 44, .24);
}

.finance-hero-panel li > span svg,
.finance-trust-grid article > span svg,
.finance-card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.finance-hero-panel > strong {
  max-width: 300px;
  color: var(--finance-ink);
  font-family: var(--site-font);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.24;
}

.finance-hero-panel ul {
  gap: 24px;
}

.finance-hero-panel li {
  min-height: 64px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 0;
  color: var(--finance-ink);
  font-weight: 400;
}

.finance-hero-panel li::before {
  content: none;
}

.finance-hero-panel li > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fbf1df;
  color: var(--finance-ink);
}

.finance-hero-panel li p {
  margin: 0;
  color: #172231;
  line-height: 1.45;
}

.finance-hero-panel li p strong {
  display: block;
  margin-bottom: 4px;
  color: var(--finance-ink);
  font-family: var(--site-font);
  font-size: 16px;
  font-weight: 950;
}

.finance-trust-strip {
  margin-top: 64px;
  margin-bottom: 0;
  padding: 44px 46px 36px;
  border: 1px solid #f0e4d4;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 226, 193, .42), transparent 58%),
    linear-gradient(135deg, #fffdf8 0%, #fbf4ea 100%);
  box-shadow: 0 20px 52px rgba(24, 43, 65, .08);
}

.finance-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.finance-trust-grid article {
  min-height: 88px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 0 32px;
}

.finance-trust-grid article + article {
  border-left: 1px solid #e6d8c2;
}

.finance-trust-grid article > span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--finance-navy);
  color: #fff;
}

.finance-trust-grid p {
  margin: 0;
  color: #172231;
  line-height: 1.45;
}

.finance-trust-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--finance-ink);
  font-size: 17px;
  font-weight: 950;
}

.finance-script-line {
  margin: 18px 0 0;
  color: var(--finance-ink);
  font-family: var(--site-font);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  text-align: center;
}

.page-section.finance-info-intro {
  width: min(1180px, calc(100vw - 36px));
  padding-top: 64px;
}

.finance-info-intro .section-head {
  display: block;
  margin-bottom: 34px;
}

.finance-info-intro .site-eyebrow {
  color: #c8953d;
  font-size: 14px;
  letter-spacing: .05em;
}

.finance-info-intro .site-eyebrow::after {
  display: none;
}

.finance-info-intro h2 {
  max-width: 760px;
  margin: 12px 0 18px;
  color: var(--finance-ink);
  font-family: var(--site-font);
  font-size: clamp(34px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.13;
}

.finance-info-intro .section-head p:not(.site-eyebrow) {
  max-width: 830px;
  margin: 0;
  color: #293d54;
  font-size: 16px;
  line-height: 1.55;
}

.finance-info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.finance-info-grid article {
  min-height: 376px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  border: 1px solid #e9edf3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(27, 48, 71, .09);
}

.finance-card-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8eef6;
  color: var(--finance-ink);
}

.finance-info-grid article > strong {
  margin-top: 10px;
  color: var(--finance-ink);
  font-size: 19px;
  font-weight: 950;
}

.finance-info-grid article > i {
  width: 28px;
  height: 2px;
  display: block;
  background: var(--finance-gold);
}

.finance-info-grid article p {
  margin: 0;
  color: #172231;
  font-size: 15px;
  line-height: 1.6;
}

.finance-intro-note {
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin-top: 40px;
  padding: 28px 34px;
  border-left: 4px solid #c8953d;
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 149, 61, .1), transparent 34%),
    linear-gradient(90deg, #edf4fb 0%, #f8fbff 100%);
}

.finance-intro-note strong {
  color: var(--finance-ink);
  font-size: 20px;
  font-weight: 950;
}

.finance-intro-note p {
  margin: 10px 0 0;
  color: #273c55;
}

@media (max-width: 1100px) {
  .finance-info-hero {
    min-height: 0;
  }

  .finance-hero-inner,
  .finance-trust-grid,
  .finance-info-grid,
  .finance-intro-note {
    grid-template-columns: 1fr;
  }

  .finance-hero-panel {
    max-width: none;
    min-height: 0;
  }

  .finance-trust-grid article {
    padding: 22px 0;
  }

  .finance-trust-grid article + article {
    border-top: 1px solid #e6d8c2;
    border-left: 0;
  }

  .finance-intro-note {
    justify-items: start;
  }
}

@media (max-width: 780px) {
  .finance-info-hero {
    padding: 44px 0 46px;
    border-radius: 0 0 14px 14px;
  }

  .finance-hero-copy .site-eyebrow {
    margin-bottom: 30px;
    font-size: 12px;
  }

  .finance-hero-copy h1 {
    font-size: 42px;
  }

  .finance-hero-copy > p:not(.site-eyebrow) {
    font-size: 17px;
  }

  .finance-info-hero .site-button {
    min-height: 58px;
    justify-content: center;
    font-size: 16px;
  }

  .finance-hero-panel {
    padding: 28px 24px;
  }

  .finance-hero-panel > strong {
    font-size: 28px;
  }

  .finance-hero-panel li {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .finance-hero-panel li > span {
    width: 52px;
    height: 52px;
  }

  .finance-trust-strip {
    margin-top: 34px;
    margin-bottom: 0;
    padding: 24px;
  }

  .page-section.finance-info-intro {
    padding-top: 34px;
  }

  .finance-trust-grid article {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
  }

  .finance-trust-grid article > span {
    width: 56px;
    height: 56px;
  }

  .finance-script-line {
    font-size: 24px;
  }

  .finance-info-intro h2 {
    font-size: 31px;
  }

  .finance-info-grid article {
    min-height: 0;
  }

  .finance-intro-note {
    padding: 22px;
  }

}

.finance-planner-section {
  scroll-margin-top: 118px;
  padding: 40px 0 46px;
  background:
    radial-gradient(circle at 50% 0%, rgba(236, 223, 205, .26), transparent 44%),
    #faf8f5;
}

.finance-planner-layout {
  width: min(1180px, calc(100vw - 36px));
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 42px;
}

.finance-calculator,
.finance-example-panel {
  padding: clamp(24px, 2.5vw, 38px);
  border: 1px solid #ece7df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 33, 54, .09);
}

.finance-panel-heading {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.finance-panel-icon,
.finance-result-icon,
.finance-example-footer > span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f0f8;
  color: var(--finance-ink);
}

.finance-panel-icon {
  width: 64px;
  height: 64px;
}

.finance-panel-icon svg,
.finance-field i svg,
.finance-result-icon svg,
.finance-calculator-status > span svg,
.finance-example-footer > span svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.finance-panel-heading .site-eyebrow {
  margin: 2px 0 10px;
  color: #0c4c8f;
  font-size: 13px;
  letter-spacing: .04em;
}

.finance-panel-heading .site-eyebrow::after {
  display: none;
}

.finance-panel-heading h2 {
  margin: 0;
  color: var(--finance-ink);
  font-family: var(--site-font);
  font-size: clamp(30px, 2.35vw, 40px);
  font-weight: 500;
  line-height: 1.12;
}

.finance-panel-heading p:not(.site-eyebrow) {
  max-width: 650px;
  margin: 12px 0 0;
  color: #53657f;
  font-size: 15px;
  line-height: 1.48;
}

.finance-calculator-form {
  gap: 18px 28px;
}

.finance-calculator-form label {
  gap: 10px;
}

.finance-calculator-form .finance-field > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--finance-ink);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.finance-field i {
  width: 24px;
  height: 24px;
  display: inline-grid;
  flex: 0 0 24px;
  place-items: center;
  color: #bd7f28;
}

.finance-field i svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}

.finance-calculator-form .finance-input-wrap {
  position: relative;
  display: block;
  letter-spacing: 0;
  text-transform: none;
}

.finance-calculator-form input {
  min-height: 58px;
  padding: 13px 20px;
  border: 1px solid #d7dee8;
  border-radius: 10px;
  background: #fff;
  color: #172231;
  font-size: 21px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.finance-calculator-form .finance-field-money input {
  padding-right: 56px;
}

.finance-input-wrap em {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: #546680;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  pointer-events: none;
}

.finance-calculator-form input:focus {
  outline: 3px solid rgba(8, 44, 88, .12);
  border-color: var(--finance-ink);
}

.finance-calculator-results {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.finance-calculator-results article {
  min-height: 128px;
  align-content: start;
  gap: 9px;
  padding: 18px 20px;
  border: 0;
  border-radius: 10px;
  background: #f0f5fc;
}

.finance-calculator-results article:nth-child(2) {
  background: #f6f0e8;
}

.finance-calculator-results article:nth-child(3) {
  background: #eef7f3;
}

.finance-result-icon {
  width: 46px;
  height: 46px;
}

.finance-result-icon svg {
  width: 24px;
  height: 24px;
}

.finance-calculator-results article > span:not(.finance-result-icon) {
  margin-top: 8px;
  color: #293d54;
  font-size: 15px;
  font-weight: 500;
}

.finance-calculator-results strong {
  color: var(--finance-ink);
  font-family: var(--site-font);
  font-size: clamp(24px, 1.55vw, 30px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  white-space: nowrap;
}

.finance-calculator-status {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 18px 0 0;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #ecf8f1 0%, #f7fbf9 100%);
  color: #2b7258;
  font-size: 15px;
  font-weight: 950;
}

.finance-calculator-status > span {
  color: #2b7258;
}

.finance-calculator-status.is-warning {
  background: linear-gradient(90deg, #fff1ee 0%, #fff8f6 100%);
  color: #9a4236;
}

.finance-calculator-status b {
  font-weight: 950;
}

.finance-small-note {
  margin: 18px 0 0;
  color: #67748a;
  font-size: 14px;
  line-height: 1.5;
}

.finance-example-panel {
  display: grid;
  align-content: start;
  gap: 0;
  background: #fff;
}

.finance-example-panel .finance-panel-heading {
  margin-bottom: 22px;
}

.finance-example-list {
  gap: 12px;
  margin-top: 0;
}

.finance-example-list article {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 10px 18px 10px 10px;
  border: 1px solid #dde3ea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 33, 54, .04);
}

.finance-example-list img {
  width: 150px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
}

.finance-example-list article > div {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding-left: 20px;
  border-left: 1px solid #d9dee7;
}

.finance-example-list strong {
  color: var(--finance-ink);
  font-family: var(--site-font);
  font-size: clamp(25px, 2vw, 33px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.finance-example-list span {
  color: #172231;
  font-size: 15px;
  font-weight: 950;
}

.finance-example-list small {
  max-width: 240px;
  color: #5c6d84;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.finance-example-footer {
  min-height: 68px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 13px 20px;
  border-radius: 10px;
  background: linear-gradient(90deg, #fbf1e2 0%, #fff 62%);
}

.finance-example-footer > span {
  width: 44px;
  height: 44px;
  background: #fbf1df;
}

.finance-example-footer p {
  margin: 0;
  color: #52657c;
  font-size: 14px;
  line-height: 1.35;
}

.finance-example-footer strong {
  display: block;
  margin-bottom: 2px;
  color: var(--finance-ink);
  font-size: 15px;
  font-weight: 950;
}

@media (max-width: 1180px) {
  .finance-planner-layout {
    grid-template-columns: 1fr;
  }

  .finance-example-panel {
    max-width: none;
  }
}

@media (max-width: 780px) {
  .finance-planner-section {
    scroll-margin-top: 92px;
    padding: 48px 0 56px;
  }

  .finance-planner-layout {
    width: calc(100vw - 32px);
  }

  .finance-calculator,
  .finance-example-panel {
    padding: 24px;
  }

  .finance-panel-heading,
  .finance-calculator-form,
  .finance-calculator-results,
  .finance-example-footer {
    grid-template-columns: 1fr;
  }

  .finance-panel-heading {
    gap: 16px;
    margin-bottom: 28px;
  }

  .finance-panel-heading h2 {
    font-size: 31px;
  }

  .finance-calculator-form input {
    min-height: 64px;
    font-size: 21px;
  }

  .finance-calculator-results article {
    min-height: 0;
  }

  .finance-calculator-results strong {
    font-size: 30px;
  }

  .finance-calculator-status {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px 18px;
  }

  .finance-example-list article {
    grid-template-columns: 122px minmax(0, 1fr);
    gap: 16px;
    padding: 12px;
  }

  .finance-example-list img {
    width: 122px;
    height: 94px;
  }

  .finance-example-list article > div {
    min-height: 0;
    padding-left: 16px;
  }

  .finance-example-list strong {
    font-size: 24px;
  }

  .finance-example-list span,
  .finance-example-list small {
    font-size: 14px;
  }

  .finance-example-footer {
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .finance-example-list article {
    grid-template-columns: 1fr;
  }

  .finance-example-list img {
    width: 100%;
    height: 150px;
  }

  .finance-example-list article > div {
    padding-left: 0;
    border-left: 0;
  }
}

.finance-info-page .page-section {
  padding-top: clamp(42px, 5vw, 70px);
  padding-bottom: clamp(42px, 5vw, 70px);
}

.finance-info-hero {
  min-height: 560px;
  padding: 68px 0 58px;
  border-radius: 0 0 12px 12px;
}

.finance-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 345px);
  gap: clamp(28px, 4vw, 54px);
}

.finance-hero-copy .site-eyebrow {
  min-height: 34px;
  margin-bottom: 24px;
  padding: 7px 14px;
  font-size: 12px;
}

.finance-hero-copy .site-eyebrow::before {
  width: 18px;
  height: 18px;
  font-size: 12px;
}

.finance-hero-copy h1 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.06;
}

.finance-hero-copy > p:not(.site-eyebrow) {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.48;
}

.finance-info-hero .hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.finance-info-hero .site-button {
  min-height: 54px;
  gap: 10px;
  padding: 12px 18px;
  font-size: 15px;
}

.finance-info-hero .site-button svg {
  width: 20px;
  height: 20px;
}

.finance-hero-panel {
  min-height: 0;
  gap: 18px;
  padding: 24px;
  border-radius: 12px;
}

.finance-hero-panel > strong {
  max-width: none;
  font-size: 23px;
}

.finance-hero-panel ul {
  gap: 14px;
}

.finance-hero-panel li {
  min-height: 0;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
}

.finance-hero-panel li > span {
  width: 42px;
  height: 42px;
}

.finance-hero-panel li > span svg,
.finance-trust-grid article > span svg,
.finance-card-icon svg {
  width: 22px;
  height: 22px;
}

.finance-hero-panel li p {
  font-size: 13px;
  line-height: 1.35;
}

.finance-hero-panel li p strong {
  margin-bottom: 2px;
  font-size: 14px;
}

.finance-trust-strip {
  margin-top: 32px;
  padding: 24px 28px 22px;
  border-radius: 10px;
}

.finance-trust-grid article {
  min-height: 68px;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  padding: 0 22px;
}

.finance-trust-grid article > span {
  width: 50px;
  height: 50px;
}

.finance-trust-grid strong {
  margin-bottom: 3px;
  font-size: 15px;
}

.finance-trust-grid p {
  font-size: 13px;
  line-height: 1.35;
}

.finance-script-line {
  margin-top: 12px;
  font-size: clamp(20px, 2vw, 26px);
}

.page-section.finance-info-intro {
  padding-top: 46px;
}

.finance-info-intro .section-head {
  margin-bottom: 22px;
}

.finance-info-intro h2 {
  max-width: 720px;
  margin: 8px 0 12px;
  font-size: clamp(29px, 2.6vw, 38px);
}

.finance-info-grid {
  gap: 14px;
  margin-top: 20px;
}

.finance-info-grid article {
  min-height: 245px;
  gap: 11px;
  padding: 20px;
  border-radius: 8px;
}

.finance-card-icon {
  width: 48px;
  height: 48px;
}

.finance-info-grid article > strong {
  margin-top: 4px;
  font-size: 16px;
}

.finance-info-grid article p {
  font-size: 14px;
  line-height: 1.48;
}

.finance-intro-note {
  min-height: 0;
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: 8px;
}

.finance-planner-section {
  padding: 42px 0;
}

.finance-planner-layout {
  gap: 26px;
}

.finance-calculator,
.finance-example-panel {
  padding: 26px;
  border-radius: 10px;
}

.finance-panel-heading {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.finance-panel-icon {
  width: 50px;
  height: 50px;
}

.finance-panel-heading h2 {
  font-size: clamp(25px, 2vw, 32px);
}

.finance-panel-heading p:not(.site-eyebrow) {
  margin-top: 8px;
  line-height: 1.42;
}

.finance-calculator-form {
  gap: 13px 18px;
}

.finance-calculator-form input {
  min-height: 50px;
  padding: 10px 16px;
  font-size: 18px;
}

.finance-calculator-results {
  gap: 12px;
  margin-top: 18px;
}

.finance-calculator-results article {
  min-height: 102px;
  padding: 14px 16px;
}

.finance-result-icon {
  width: 38px;
  height: 38px;
}

.finance-calculator-results strong {
  font-size: clamp(21px, 1.35vw, 26px);
}

.finance-calculator-status {
  min-height: 48px;
  margin-top: 14px;
  padding: 10px 16px;
}

.finance-small-note {
  margin-top: 12px;
}

.finance-example-list article {
  min-height: 86px;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 14px 8px 8px;
  border-radius: 10px;
}

.finance-example-list img {
  width: 116px;
  height: 70px;
}

.finance-example-list article > div {
  min-height: 68px;
  gap: 4px;
  padding-left: 14px;
}

.finance-example-list strong {
  font-size: clamp(21px, 1.7vw, 27px);
}

.finance-example-list span,
.finance-example-list small {
  font-size: 13px;
}

.finance-example-footer {
  min-height: 58px;
  margin-top: 14px;
  padding: 11px 16px;
}

.finance-profile-grid article,
.finance-doc-grid article {
  min-height: 132px;
  padding: 17px;
}

.finance-profile-grid strong,
.finance-doc-grid strong {
  font-size: 16px;
}

.finance-profile-grid p,
.finance-doc-grid p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.42;
}

.finance-timeline {
  gap: 8px;
  margin-top: 20px;
}

.finance-timeline article {
  min-height: 148px;
  gap: 7px;
  padding: 14px;
}

.finance-timeline p {
  line-height: 1.38;
}

.finance-faq-layout {
  gap: 24px;
}

.finance-faq-layout h2 {
  font-size: clamp(29px, 2.5vw, 36px);
}

.finance-faq-layout > div > p:not(.site-eyebrow) {
  font-size: 15px;
  line-height: 1.5;
}

.finance-faq-list summary {
  min-height: 48px;
  padding: 12px 16px;
}

.finance-info-note .seller-cta {
  margin-top: 18px;
}

@media (max-width: 780px) {
  .finance-info-page .page-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .finance-info-hero {
    padding: 34px 0 32px;
  }

  .finance-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .finance-hero-copy,
  .finance-hero-copy h1,
  .finance-hero-copy > p:not(.site-eyebrow) {
    max-width: 640px;
  }

  .finance-hero-copy .site-eyebrow {
    margin-bottom: 18px;
  }

  .finance-hero-copy h1 {
    font-size: 33px;
    line-height: 1.08;
  }

  .finance-hero-copy > p:not(.site-eyebrow) {
    font-size: 15px;
  }

  .finance-info-hero .hero-actions {
    margin-top: 20px;
  }

  .finance-hero-panel {
    width: 100%;
    max-width: 560px;
    justify-self: start;
    padding: 18px;
  }

  .finance-hero-panel > strong {
    font-size: 20px;
  }

  .finance-trust-strip {
    margin-top: 22px;
    padding: 18px;
  }

  .finance-trust-grid article {
    min-height: 0;
    padding: 14px 0;
  }

  .page-section.finance-info-intro {
    padding-top: 30px;
  }

  .finance-info-grid,
  .finance-profile-grid,
  .finance-doc-grid,
  .finance-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-info-grid article,
  .finance-profile-grid article,
  .finance-doc-grid article,
  .finance-timeline article {
    min-height: 0;
    padding: 16px;
  }

  .finance-card-icon {
    width: 42px;
    height: 42px;
  }

  .finance-planner-section {
    padding: 34px 0;
  }

  .finance-calculator,
  .finance-example-panel {
    padding: 18px;
  }

  .finance-panel-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 18px;
  }

  .finance-panel-icon {
    width: 42px;
    height: 42px;
  }

  .finance-panel-heading h2,
  .finance-info-intro h2 {
    font-size: 26px;
  }

  .finance-calculator-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-calculator-form input {
    min-height: 48px;
    font-size: 17px;
  }

  .finance-example-list article {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .finance-example-list img {
    width: 96px;
    height: 72px;
  }

  .finance-example-list strong {
    font-size: 20px;
  }

  .finance-faq-layout {
    gap: 18px;
  }
}

@media (max-width: 430px) {
  .finance-info-hero {
    min-height: 0;
    padding: 26px 0 24px;
  }

  .finance-hero-inner {
    grid-template-columns: 1fr;
  }

  .finance-hero-copy,
  .finance-hero-copy h1,
  .finance-hero-copy > p:not(.site-eyebrow),
  .finance-info-hero .hero-actions {
    width: 100%;
  }

  .finance-hero-copy h1 {
    font-size: 29px;
    line-height: 1.08;
  }

  .finance-hero-copy h1 span {
    display: inline;
  }

  .finance-info-hero .site-button {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .finance-info-hero .site-button svg {
    width: 17px;
    height: 17px;
  }

  .finance-hero-panel {
    display: grid;
    max-width: none;
    gap: 14px;
  }

  .finance-trust-strip {
    margin-top: 18px;
  }

  .finance-calculator-form,
  .finance-calculator-results,
  .finance-example-footer {
    grid-template-columns: 1fr;
  }

  .finance-info-grid,
  .finance-profile-grid,
  .finance-doc-grid,
  .finance-timeline {
    gap: 10px;
  }

  .finance-info-grid article,
  .finance-profile-grid article,
  .finance-doc-grid article,
  .finance-timeline article {
    padding: 14px;
  }
}

/* Keep the finance guide easy to scan without leaving oversized gaps between steps. */
.finance-info-page .page-section {
  padding-top: clamp(32px, 3.5vw, 48px);
  padding-bottom: clamp(32px, 3.5vw, 48px);
}

.page-section.finance-info-intro {
  padding-top: 38px;
}

.finance-planner-section {
  padding: 34px 0 38px;
}

@media (max-width: 780px) {
  .finance-info-page .page-section {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .page-section.finance-info-intro {
    padding-top: 26px;
  }

  .finance-planner-section {
    padding: 28px 0;
  }
}

@media (max-width: 430px) {
  .finance-info-page .page-section {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .finance-planner-section {
    padding: 24px 0;
  }
}

.zones-section {
  padding: 78px 0;
  background: #eef7fa;
}

.zones-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 48px;
  align-items: start;
}

.zones-inner h2,
.seller-services h2,
.about-section h2,
.team-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.12;
}

.zones-inner p,
.about-section p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
}

.about-section {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.about-media {
  min-height: 390px;
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(16, 39, 66, .18), rgba(16, 39, 66, .04)),
    url("public-hero.jpg") center / cover;
  box-shadow: var(--shadow);
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.about-values span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 8px;
  background: #eef7fa;
  color: #205374;
  font-weight: 900;
}

.about-landing .page-hero .listing-head > div {
  max-width: 850px;
}

.about-landing .page-section .section-head h2,
.about-services-section h2,
.about-philosophy-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.12;
}

.about-landing .benefit-grid article {
  box-shadow: 0 14px 34px rgba(14, 39, 62, .07);
}

.about-landing .benefit-grid article p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-services-section {
  padding: 10px 0 78px;
  background: linear-gradient(180deg, #f4fafc 0%, #edf7fa 100%);
}

.about-services-section .page-section {
  padding-bottom: 0;
}

.about-centered-head {
  justify-content: center;
  text-align: center;
}

.about-centered-head > div {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.about-centered-head .site-eyebrow {
  justify-content: center;
}

.about-centered-head p:not(.site-eyebrow) {
  max-width: 780px;
  margin: 14px auto 0;
}

.about-service-grid article {
  position: relative;
  min-height: 246px;
  padding: 64px 24px 24px;
}

.about-service-number {
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .14em;
}

.about-service-grid strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

.about-philosophy-section {
  padding: 78px 0;
  background:
    linear-gradient(100deg, rgba(9, 34, 62, .96), rgba(18, 59, 112, .88)),
    url("public-hero.jpg") center / cover;
  color: #fff;
}

.about-philosophy-inner {
  max-width: 900px;
  text-align: center;
}

.about-philosophy-section .site-eyebrow {
  justify-content: center;
  color: #92e9ff;
}

.about-philosophy-section h2 {
  color: #fff;
  font-size: clamp(34px, 4.5vw, 54px);
}

.about-philosophy-section p:not(.site-eyebrow) {
  max-width: 820px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
  line-height: 1.65;
}

.about-philosophy-section + .page-link-grid {
  padding-top: 76px;
}

.about-closing-section {
  margin-top: 0;
}

.about-closing-inner {
  align-items: center;
}

.about-closing-actions {
  min-width: 270px;
  display: grid;
  gap: 10px;
}

.about-closing-actions .site-button {
  justify-content: center;
}

@media (max-width: 900px) {
  .about-closing-inner {
    align-items: stretch;
  }

  .about-closing-actions {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .about-services-section,
  .about-philosophy-section {
    padding: 54px 0;
  }

  .about-philosophy-section + .page-link-grid {
    padding-top: 54px;
  }

  .about-service-grid article {
    min-height: auto;
  }
}

/* Rich visual narrative for the MAYRASA company page. */
.about-landing {
  background: #f7fafc;
}

.about-hero {
  position: relative;
  min-height: clamp(410px, 34vw, 460px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 4vw, 56px) 0;
  background: #0a2a47 url("about-mayrasa-hero-poster.jpg") center / cover;
}

.about-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  z-index: 0;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

.about-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 24, 43, .93) 0%, rgba(9, 38, 67, .78) 48%, rgba(9, 38, 67, .26) 100%),
    linear-gradient(180deg, rgba(5, 24, 43, .08), rgba(5, 24, 43, .5));
  pointer-events: none;
}

.about-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, rgba(4, 20, 36, .4));
  pointer-events: none;
}

.about-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-hero-copy {
  max-width: 850px;
}

.about-hero .site-eyebrow {
  color: #8fe8ff;
}

.about-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.5vw, 70px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.about-hero-copy > p:not(.site-eyebrow) {
  max-width: 730px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
}

.about-hero-trust-card {
  width: 100%;
  min-height: 176px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 38px;
  gap: 18px;
  align-items: center;
  justify-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 22px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 24px 70px rgba(4, 20, 36, .28);
  backdrop-filter: blur(18px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.about-hero-trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 232, 255, .72);
  background: rgba(255, 255, 255, .18);
}

.about-hero-trust-icon,
.about-hero-trust-card b {
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(143, 232, 255, .18);
  color: #8fe8ff;
}

.about-hero-trust-icon {
  width: 62px;
  height: 62px;
}

.about-hero-trust-card b {
  width: 38px;
  height: 38px;
}

.about-hero-trust-icon svg {
  width: 30px;
  height: 30px;
}

.about-hero-trust-card b svg {
  width: 19px;
  height: 19px;
}

.about-hero-trust-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.about-hero-trust-copy small {
  color: #8fe8ff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-hero-trust-copy strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.about-hero .site-button {
  margin-top: 30px;
  gap: 10px;
  background: linear-gradient(135deg, #0ba8ce, #2076bd);
  box-shadow: 0 18px 38px rgba(0, 123, 174, .32);
}

.about-hero .site-button span,
.about-hero .site-button svg {
  width: 19px;
  height: 19px;
  display: block;
}

.about-hero .site-button svg,
.about-hero-trust-card svg,
.about-values svg,
.about-fact-icon svg,
.about-service-icon svg,
.about-philosophy-mark svg,
.about-path-grid svg,
.about-team-section svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-story-section {
  padding: clamp(28px, 4vw, 46px) 0 clamp(30px, 4vw, 46px);
  background:
    radial-gradient(circle at 8% 15%, rgba(123, 213, 238, .16), transparent 28%),
    #fff;
}

.about-story-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(42px, 6vw, 78px);
  align-items: center;
}

.about-story-copy h2 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.about-story-copy > p:not(.site-eyebrow) {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.about-values span {
  min-height: 72px;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(35, 113, 154, .13);
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #f1f9fc);
  color: #173c64;
  box-shadow: 0 10px 24px rgba(14, 39, 62, .06);
}

.about-values i {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  background: #e7f6fb;
  color: #1488b0;
}

.about-values i svg {
  width: 23px;
  height: 23px;
}

.about-values strong {
  font-size: 15px;
  line-height: 1.25;
}

.about-story-gallery {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}

.about-story-gallery::before {
  content: "";
  position: absolute;
  inset: 36px -18px -24px 50px;
  z-index: 0;
  border-radius: 26px;
  background: linear-gradient(135deg, #dff4fa, #edf7fb);
}

.about-story-gallery figure {
  min-height: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 20px;
  background: #dbeaf0;
  box-shadow: 0 22px 46px rgba(14, 39, 62, .15);
}

.about-story-gallery .about-story-photo-main {
  grid-row: 1 / span 2;
}

.about-story-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-story-gallery figure:nth-child(2) img {
  object-position: center 38%;
}

.about-facts-section {
  padding: 0 0 clamp(14px, 2vw, 20px);
  background: linear-gradient(180deg, #f3f9fc 0%, #eaf5fa 100%);
}

.about-facts-section .page-section {
  padding: clamp(42px, 5vw, 56px) 0 0;
}

.about-services-section .page-section {
  padding-bottom: 0;
}

.about-centered-head h2 {
  max-width: 860px;
  margin-inline: auto;
  font-size: clamp(32px, 4vw, 45px) !important;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.about-fact-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  padding: 30px 20px 26px;
  border: 1px solid rgba(27, 75, 112, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 52px rgba(14, 39, 62, .08);
}

.about-fact-journey article {
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-rows: 86px minmax(48px, auto) 1fr;
  padding: 0 20px;
  text-align: center;
}

.about-fact-journey article:not(:last-child)::after {
  content: "";
  width: calc(100% - 92px);
  height: 2px;
  position: absolute;
  z-index: 0;
  top: 43px;
  left: calc(50% + 46px);
  background: linear-gradient(90deg, #82c9e5, #d7edf5);
}

.about-fact-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  margin: 0 auto 17px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #153b68, #0f789e);
  color: #fff;
  box-shadow: 0 0 0 1px #cce5ef, 0 10px 24px rgba(15, 78, 112, .18);
}

.about-fact-icon svg {
  width: 40px;
  height: 40px;
}

.about-fact-journey strong {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 17px;
  line-height: 1.25;
  align-self: center;
}

.about-fact-journey strong span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: #58abe0;
  color: #fff;
  font-size: 12px;
}

.about-fact-journey p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.about-team-section {
  padding: clamp(18px, 2.5vw, 28px) 0 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 6%, rgba(90, 190, 222, .15), transparent 27%),
    #fff;
}

.about-team-head {
  display: flex;
  justify-content: space-between;
  gap: 38px;
  align-items: flex-end;
  margin-bottom: 38px;
}

.about-team-head > div {
  max-width: 790px;
}

.about-team-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.about-team-head p:not(.site-eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.about-team-link {
  min-height: 46px;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid #cde5ee;
  border-radius: 14px;
  background: #f2f9fc;
  color: #175a7f;
  text-decoration: none;
  font-weight: 900;
}

.about-team-link span,
.about-team-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.about-team-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 78, 113, .12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(14, 39, 62, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.about-team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(14, 39, 62, .13);
}

.about-team-card figure {
  height: 224px;
  display: grid;
  place-items: end center;
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, #fff 0%, #edf7fa 68%, #dceff5 100%);
}

.about-team-card figure::after {
  content: "";
  height: 30%;
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(180deg, transparent, rgba(15, 65, 94, .08));
  pointer-events: none;
}

.about-team-card img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center bottom;
}

.about-team-card-body {
  min-height: 198px;
  display: flex;
  flex-direction: column;
  padding: 21px 21px 20px;
}

.about-team-card h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1.15;
}

.about-team-card-body > p {
  min-height: 42px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.about-team-languages {
  min-height: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 13px 0 16px;
}

.about-team-languages .team-flag {
  width: 25px;
  height: 17px;
}

.about-team-card-body > a {
  min-height: 38px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: auto;
  color: #185b7f;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
}

.about-team-card-body > a i {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 11px;
  background: #e8f6fa;
  color: #1684aa;
}

.about-team-card-body > a svg {
  width: 18px;
  height: 18px;
}

.about-services-section {
  padding: 74px 0 88px;
  background: #fff;
}

.about-service-grid {
  gap: 16px;
  margin-top: 36px;
}

.about-service-grid article {
  min-height: 300px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(25, 75, 112, .12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(117, 207, 235, .18), transparent 38%),
    #fff;
  box-shadow: 0 16px 38px rgba(14, 39, 62, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.about-service-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(14, 39, 62, .13);
}

.about-service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.about-service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #d2e9f2;
  border-radius: 16px;
  background: linear-gradient(145deg, #f9fdff, #eaf7fb);
  color: #155f89;
  box-shadow: 0 9px 20px rgba(16, 93, 132, .1);
}

.about-service-icon svg {
  width: 29px;
  height: 29px;
}

.about-service-number {
  position: static;
  color: #79a8bc;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .14em;
}

.about-service-grid strong {
  display: block;
  color: var(--brand-dark);
  font-size: 21px;
  line-height: 1.25;
}

.about-service-grid p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.about-philosophy-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    linear-gradient(100deg, rgba(5, 26, 48, .96), rgba(13, 62, 103, .9)),
    url("team/founders-sebastian-israel-working.jpg") center 42% / cover;
}

.about-philosophy-section::before,
.about-philosophy-section::after {
  content: "";
  width: 300px;
  height: 300px;
  position: absolute;
  border-radius: 50%;
  background: rgba(88, 200, 232, .08);
}

.about-philosophy-section::before {
  top: -170px;
  left: -80px;
}

.about-philosophy-section::after {
  right: -100px;
  bottom: -200px;
}

.about-philosophy-inner {
  position: relative;
  z-index: 1;
}

.about-philosophy-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(146, 233, 255, .4);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #92e9ff;
  backdrop-filter: blur(7px);
}

.about-philosophy-mark svg {
  width: 30px;
  height: 30px;
}

.about-path-grid {
  gap: 16px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.about-path-grid a {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: 25px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f0f8fb);
  box-shadow: 0 16px 38px rgba(14, 39, 62, .08);
}

.about-path-grid a::after {
  content: "";
  width: 130px;
  height: 130px;
  position: absolute;
  right: -65px;
  bottom: -65px;
  border-radius: 50%;
  background: rgba(66, 177, 215, .1);
}

.about-path-grid a > i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  background: #e5f5fa;
  color: #17658b;
}

.about-path-grid a > i svg {
  width: 28px;
  height: 28px;
}

.about-path-grid a > span {
  color: var(--brand);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-path-grid a > strong {
  margin-top: 9px;
  color: var(--brand-dark);
  font-size: 17px;
  line-height: 1.45;
}

.about-path-grid a > b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-top: auto;
  border-radius: 50%;
  background: #fff;
  color: #1783ad;
  box-shadow: 0 8px 18px rgba(14, 72, 104, .12);
}

.about-path-grid a > b svg {
  width: 18px;
  height: 18px;
}

.about-closing-section {
  background:
    linear-gradient(135deg, rgba(13, 55, 94, .98), rgba(19, 103, 139, .94)),
    url("team/founders-sebastian-israel-sea.jpg") center 48% / cover;
}

.about-closing-actions .site-button:first-child {
  background: linear-gradient(135deg, #00a8cc, #3e9bd5);
  box-shadow: 0 14px 30px rgba(0, 133, 178, .24);
}

@media (max-width: 1080px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
  }

  .about-hero-trust-card {
    justify-self: start;
    max-width: 520px;
  }

  .about-story-layout {
    grid-template-columns: 1fr;
  }

  .about-story-copy {
    max-width: 820px;
  }

  .about-story-gallery {
    min-height: 520px;
  }

  .about-fact-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 0;
  }

  .about-fact-journey article:nth-child(2)::after {
    display: none;
  }

  .about-service-grid,
  .about-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .about-team-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-hero {
    min-height: 590px;
    align-items: flex-end;
    padding: 74px 0 54px;
    background-position: center;
  }

  .about-hero::before {
    background: linear-gradient(180deg, rgba(5, 24, 43, .22) 0%, rgba(5, 24, 43, .86) 60%, rgba(5, 24, 43, .98) 100%);
  }

  .about-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .about-hero-copy > p:not(.site-eyebrow) {
    font-size: 17px;
  }

  .about-hero-inner {
    gap: 24px;
  }

  .about-hero-trust-card {
    width: 100%;
    min-height: 0;
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    gap: 13px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .16);
  }

  .about-hero-trust-card:hover {
    transform: none;
  }

  .about-hero-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .about-hero-trust-icon svg {
    width: 24px;
    height: 24px;
  }

  .about-hero-trust-card b {
    width: 34px;
    height: 34px;
    border-radius: 13px;
  }

  .about-hero-trust-copy small {
    font-size: 12px;
  }

  .about-hero-trust-copy strong {
    font-size: 15px;
    line-height: 1.32;
  }

  .about-hero .site-button {
    width: 100%;
    justify-content: center;
  }

  .about-services-section {
    padding: 54px 0;
  }

  .about-team-section {
    padding: 20px 0 54px;
  }

  .about-story-section {
    padding: 30px 0 28px;
  }

  .about-values,
  .about-service-grid,
  .about-path-grid,
  .about-fact-journey {
    grid-template-columns: 1fr;
  }

  .about-story-gallery {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 10px;
  }

  .about-story-gallery figure {
    aspect-ratio: 1 / 1;
    border-width: 4px;
    border-radius: 16px;
  }

  .about-story-gallery .about-story-photo-main {
    aspect-ratio: 4 / 3;
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .about-story-gallery .about-story-photo-main img {
    object-position: center top;
  }

  .about-story-gallery::before {
    inset: 20px -8px -10px 16px;
    border-radius: 20px;
  }

  .about-facts-section {
    padding-bottom: 16px;
  }

  .about-facts-section .page-section {
    padding-top: 38px;
  }

  .about-fact-journey {
    gap: 0;
    padding: 24px 18px;
  }

  .about-fact-journey article {
    padding: 0 4px 34px;
  }

  .about-fact-journey article:last-child {
    padding-bottom: 0;
  }

  .about-fact-journey article:not(:last-child)::after,
  .about-fact-journey article:nth-child(2)::after {
    width: 2px;
    height: 30px;
    display: block;
    top: auto;
    bottom: 2px;
    left: 50%;
    background: linear-gradient(180deg, #82c9e5, #d7edf5);
  }

  .about-service-grid article,
  .about-path-grid a {
    min-height: 0;
  }

  .about-team-head {
    gap: 24px;
    margin-bottom: 28px;
  }

  .about-team-head p:not(.site-eyebrow) {
    font-size: 16px;
  }

  .about-team-link {
    width: 100%;
  }

  .about-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-right: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .about-team-card {
    min-height: 172px;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    scroll-snap-align: none;
  }

  .about-team-card:hover {
    transform: none;
  }

  .about-team-card figure {
    min-height: 172px;
    height: 100%;
  }

  .about-team-card-body {
    min-height: 0;
    justify-content: center;
    padding: 18px 16px;
  }

  .about-team-card h3 {
    font-size: 18px;
  }

  .about-team-card-body > p {
    min-height: 0;
    margin-top: 6px;
    font-size: 13px;
  }

  .about-team-languages {
    min-height: 0;
    margin: 11px 0 12px;
  }

  .about-team-card-body > a {
    min-height: 34px;
    font-size: 14px;
  }

  .about-path-grid {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .about-philosophy-section {
    padding: 66px 0;
  }
}

@media (max-width: 370px) {
  .about-team-card {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .about-team-card-body {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-video {
    display: none;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  min-height: 232px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(21, 60, 90, .1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 15px 34px rgba(14, 39, 62, .18);
}

.team-card-photo {
  width: 142px;
  height: 142px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.team-grid h3 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 21px;
  line-height: 1.15;
}

.team-grid p {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 18px;
}

.team-card-languages {
  min-height: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 12px;
}

.team-flag {
  width: 24px;
  height: 16px;
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(12, 34, 56, .12), 0 2px 5px rgba(12, 34, 56, .14);
}

.team-flag-es {
  background: linear-gradient(#c81724 0 25%, #ffc400 25% 75%, #c81724 75%);
}

.team-flag-fr {
  background: linear-gradient(90deg, #1d4f9f 0 33.33%, #fff 33.33% 66.66%, #d52b1e 66.66%);
}

.team-flag-de {
  background: linear-gradient(#111 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%);
}

.team-flag-ru {
  background: linear-gradient(#fff 0 33.33%, #2242a4 33.33% 66.66%, #d52b1e 66.66%);
}

.team-flag-uk {
  background: linear-gradient(#1f75d6 0 50%, #ffd034 50%);
}

.team-flag-pl {
  background: linear-gradient(#fff 0 50%, #dc143c 50%);
}

.team-flag-ro {
  background: linear-gradient(90deg, #0033a0 0 33.33%, #fcd116 33.33% 66.66%, #ce1126 66.66%);
}

.team-flag-it {
  background: linear-gradient(90deg, #008c45 0 33.33%, #fff 33.33% 66.66%, #cd212a 66.66%);
}

.team-flag-sv {
  background:
    linear-gradient(90deg, transparent 0 31%, #fecc00 31% 45%, transparent 45%),
    linear-gradient(transparent 0 38%, #fecc00 38% 58%, transparent 58%),
    #006aa7;
}

.team-flag-no {
  background:
    linear-gradient(90deg, transparent 0 27%, #fff 27% 36%, #00205b 36% 48%, #fff 48% 57%, transparent 57%),
    linear-gradient(transparent 0 31%, #fff 31% 41%, #00205b 41% 56%, #fff 56% 66%, transparent 66%),
    #ba0c2f;
}

.team-flag-en {
  background:
    linear-gradient(27deg, transparent 0 44%, #fff 44% 49%, #c8102e 49% 54%, #fff 54% 59%, transparent 59%),
    linear-gradient(153deg, transparent 0 44%, #fff 44% 49%, #c8102e 49% 54%, #fff 54% 59%, transparent 59%),
    linear-gradient(90deg, transparent 0 40%, #fff 40% 44%, #c8102e 44% 56%, #fff 56% 60%, transparent 60%),
    linear-gradient(transparent 0 35%, #fff 35% 42%, #c8102e 42% 58%, #fff 58% 65%, transparent 65%),
    #012169;
}

.team-card-phone,
.team-card-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 850;
}

.team-card-phone {
  color: #4f5964;
  font-size: 18px;
}

.team-phone-icon::before {
  content: "\260e";
  color: var(--brand-dark);
  font-size: 17px;
  line-height: 1;
}

.team-card-more {
  margin-top: 18px;
  color: var(--brand);
  font-size: 18px;
}

.team-card-more span {
  color: var(--brand);
  font-size: 28px;
  line-height: 1;
}

.team-card-more:hover,
.team-card-phone:hover {
  color: var(--brand-dark);
}

.founder-story {
  padding: 78px 0 28px;
  background: #f4fafc;
}

.founder-story + .team-section {
  padding-top: 34px;
}

.founder-story-layout {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  gap: 44px;
  align-items: center;
}

.founder-story-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.1;
}

.founder-story-copy > p:not(.site-eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.founder-story-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.founder-story-cards article {
  min-height: 188px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(14, 39, 62, .06);
}

.founder-story-cards strong {
  color: var(--brand-dark);
  font-size: 17px;
}

.founder-story-cards p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.founder-story-media {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, .78fr);
  gap: 12px;
  align-items: stretch;
}

.founder-story-media figure {
  min-height: 190px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dceaf0;
  box-shadow: var(--shadow);
}

.founder-story-media figure:first-child {
  grid-row: span 2;
  min-height: 520px;
}

.founder-story-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.benefit-grid article {
  min-height: 178px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.benefit-grid strong {
  color: var(--brand-dark);
  font-size: 18px;
}

.seller-services-strip .benefit-grid article,
.seller-single-agent .benefit-grid article,
.seller-promise-section .benefit-grid article,
.seller-ready-section .benefit-grid article {
  position: relative;
  padding: 58px 20px 20px;
  box-shadow: 0 16px 34px rgba(25, 29, 34, .07);
}

.google-reviews-band {
  padding: 72px 0;
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
  border-top: 1px solid rgba(219, 229, 238, .74);
  border-bottom: 1px solid rgba(219, 229, 238, .74);
}

.google-reviews-inner {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: stretch;
}

.google-reviews-summary {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 16px;
}

.google-reviews-summary h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 38px;
  line-height: 1.08;
}

.google-reviews-summary p:not(.site-eyebrow) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.google-reviews-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding-top: 4px;
}

.google-reviews-score strong {
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
}

.google-review-stars {
  display: inline-flex;
  gap: 2px;
  color: #f5a623;
  font-size: 18px;
  letter-spacing: 0;
  white-space: nowrap;
}

.google-reviews-score > span:not(.google-review-stars) {
  color: var(--muted);
  font-weight: 800;
}

.google-reviews-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 4px;
}

.google-reviews-attribution {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.google-reviews-attribution span {
  white-space: nowrap;
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.google-review-card {
  min-height: 268px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(14, 39, 62, .08);
}

.google-review-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.google-review-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf7fb;
  color: var(--brand-dark);
  font-weight: 950;
}

.google-review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.google-review-card strong {
  display: block;
  color: var(--brand-dark);
  line-height: 1.15;
}

.google-review-card p {
  margin: 0;
  color: #394a5c;
  line-height: 1.55;
}

.google-review-card small {
  color: var(--muted);
  font-weight: 800;
}

.review-band {
  padding: 22px 0 74px;
  background: #fff;
  color: #172747;
}

.trust-showcase {
  overflow: hidden;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid #e7edf6;
  border-radius: 12px;
  background:
    radial-gradient(circle at 16% 10%, rgba(78, 145, 214, .12), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 58%, #f1f7ff 100%);
  box-shadow: 0 22px 70px rgba(23, 39, 71, .10);
}

.trust-showcase-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 3.6vw, 56px);
  align-items: center;
}

.trust-showcase-copy {
  padding-left: clamp(0px, 1.8vw, 26px);
}

.trust-showcase .site-eyebrow {
  color: #4f96df;
}

.trust-showcase .site-eyebrow::after {
  background: #4f96df;
}

.trust-showcase h1 {
  max-width: 640px;
  margin: 18px 0 20px;
  color: #172747;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.08;
}

.trust-showcase h1 span {
  color: #579ce0;
  font-weight: 500;
}

.trust-showcase-copy > p:not(.site-eyebrow) {
  max-width: 620px;
  margin: 0;
  color: #5d6882;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.45;
}

.trust-showcase-media {
  position: relative;
  min-height: 320px;
  margin: 0;
}

.trust-showcase-media img {
  display: block;
  width: 100%;
  height: clamp(248px, 23vw, 318px);
  border-radius: 14px;
  object-fit: cover;
  object-position: 34% 50%;
  box-shadow: 0 18px 42px rgba(23, 64, 110, .12);
}

.trust-showcase-media figcaption {
  position: absolute;
  right: -12px;
  bottom: -22px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: min(330px, 58%);
  min-height: 108px;
  padding: 18px 26px;
  border: 1px solid #edf2f8;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 48px rgba(25, 49, 82, .16);
  color: #172747;
  font-size: 17px;
  line-height: 1.45;
}

.trust-showcase-media figcaption strong {
  max-width: 210px;
}

.trust-showcase-badge-icon,
.trust-kpi-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #4f96df;
  box-shadow: 0 14px 34px rgba(44, 89, 139, .12);
}

.trust-showcase-badge-icon {
  width: 58px;
  height: 58px;
}

.trust-showcase-badge-icon svg,
.trust-kpi-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.trust-showcase-badge-icon svg path:last-child {
  opacity: .16;
  fill: currentColor;
  stroke: none;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.trust-review-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  margin: 0;
  padding: 18px;
  border: 1px solid #e5ebf4;
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 40px rgba(26, 53, 91, .08);
  color: #172747;
  font-size: 18px;
}

.trust-quote {
  display: inline-grid;
  width: 62px;
  height: 62px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f0f5fb;
  color: #5b9ee2;
  font-family: var(--site-font);
  font-size: 52px;
  line-height: 1;
}

.trust-review-card p {
  margin: 16px 0 20px;
  color: #16254a;
  font-size: clamp(16px, 1.12vw, 18px);
  font-weight: 650;
  line-height: 1.58;
}

.trust-stars {
  margin-top: auto;
  color: #4f96df;
  font-size: 18px;
  letter-spacing: 0;
}

.trust-review-card footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.trust-review-card footer img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.trust-review-card footer span {
  display: grid;
  gap: 4px;
}

.trust-review-card footer strong {
  color: #16254a;
  font-size: 17px;
  font-weight: 900;
}

.trust-review-card footer small {
  color: #7a849a;
  font-size: 15px;
  font-weight: 700;
}

.trust-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin-top: 26px;
  padding: 20px 28px;
  border: 1px solid #e5edf7;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(245, 250, 255, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 18px 46px rgba(36, 76, 122, .08);
}

.trust-kpi-row article {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 82px;
  padding: 0 26px;
  border-right: 1px solid #bfd3ec;
}

.trust-kpi-row article:last-child {
  border-right: 0;
}

.trust-kpi-icon {
  width: 74px;
  height: 74px;
}

.trust-kpi-icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.45;
}

.trust-kpi-row strong {
  display: block;
  color: #3f86d1;
  font-size: clamp(38px, 3.5vw, 52px);
  font-weight: 950;
  line-height: .95;
}

.trust-kpi-row p {
  margin: 4px 0 0;
  color: #172747;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.client-success {
  margin: 46px 0 0;
}

.client-success-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

.client-success-head h2 {
  max-width: 720px;
  margin: 0;
  color: #172747;
  font-size: clamp(32px, 4vw, 56px);
  line-height: .96;
}

.client-success-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #5d6882;
}

.client-success-actions {
  display: flex;
  gap: 10px;
}

.client-success-actions button {
  width: 46px;
  height: 46px;
  border: 1px solid #d9e4f2;
  border-radius: 8px;
  background: #fff;
  color: #3f86d1;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.client-success-actions button:hover {
  background: #eef6ff;
}

.client-success-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.client-success-viewport::-webkit-scrollbar {
  display: none;
}

.client-success-track {
  display: flex;
  gap: 16px;
}

.client-success-card {
  flex: 0 0 clamp(230px, 28vw, 360px);
  margin: 0;
  overflow: hidden;
  border: 1px solid #e5ebf4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(26, 53, 91, .08);
  scroll-snap-align: start;
}

.client-success-card img {
  width: 100%;
  height: clamp(330px, 38vw, 470px);
  display: block;
  object-fit: cover;
  object-position: center;
}

.client-success-card figcaption {
  padding: 14px 16px;
  color: #172747;
  font-weight: 850;
}

@media (max-width: 1180px) {
  .trust-showcase-hero {
    grid-template-columns: 1fr;
  }

  .trust-showcase-media {
    min-height: 0;
  }

  .trust-showcase-media figcaption {
    right: 22px;
    width: min(330px, 70%);
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-kpi-row article {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 16px;
    padding: 0 18px;
  }

  .trust-kpi-icon {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 760px) {
  .review-band {
    padding: 12px 0 48px;
  }

  .trust-showcase {
    padding: 22px;
    border-radius: 10px;
  }

  .trust-showcase-copy {
    padding-left: 0;
  }

  .trust-showcase h1 {
    margin-top: 14px;
    font-size: 39px;
    line-height: 1.08;
  }

  .trust-showcase-copy > p:not(.site-eyebrow) {
    font-size: 18px;
  }

  .trust-showcase-media img {
    height: 230px;
  }

  .trust-showcase-media figcaption {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 0;
    margin-top: 14px;
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 16px;
  }

  .trust-showcase-badge-icon {
    width: 52px;
    height: 52px;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .trust-review-card {
    min-height: 0;
  }

  .trust-kpi-row {
    grid-template-columns: 1fr;
    padding: 8px 18px;
  }

  .trust-kpi-row article {
    min-height: 94px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid #d6e3f2;
  }

  .trust-kpi-row article:last-child {
    border-bottom: 0;
  }

  .trust-kpi-row strong {
    font-size: 42px;
  }
}

.contact-section {
  background: #f7fafc;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 44px;
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card a,
.contact-card span {
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.contact-card span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 38px;
  background:
    radial-gradient(circle at 14% 8%, rgba(0, 165, 202, .18), transparent 32%),
    radial-gradient(circle at 86% 16%, rgba(146, 233, 255, .16), transparent 30%),
    linear-gradient(135deg, #102742 0%, #123b70 62%, #174b7d 100%);
  border-bottom: 1px solid rgba(18, 59, 112, .24);
  color: #fff;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 30, 55, .9) 0%, rgba(10, 45, 82, .74) 48%, rgba(15, 61, 100, .54) 100%),
    linear-gradient(180deg, rgba(4, 18, 34, .14), rgba(4, 18, 34, .28));
  pointer-events: none;
}

.contact-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 28px;
  align-items: center;
}

.contact-hero-copy {
  display: grid;
  gap: 16px;
}

.contact-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.contact-hero-copy > p:not(.site-eyebrow) {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.5;
}

.contact-hero .site-eyebrow {
  color: #92e9ff;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-option-grid a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(146, 233, 255, .16);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(14, 39, 62, .08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-lead-form button {
  background: linear-gradient(135deg, #123b70 0%, #00a5ca 100%);
  color: #fff;
  border-color: rgba(16, 39, 66, .12);
}

.contact-option-grid a:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(14, 39, 62, .12);
}

.contact-hero-note {
  max-width: 640px;
  display: grid;
  gap: 5px;
  padding: 13px 16px;
  border: 1px solid rgba(146, 233, 255, .18);
  border-left: 5px solid #92e9ff;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 16px 34px rgba(4, 18, 34, .16);
}

.contact-hero-note strong {
  color: #fff;
  font-size: 18px;
}

.contact-hero-note span {
  color: rgba(255, 255, 255, .74);
  line-height: 1.55;
}

.contact-hero-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(4, 18, 34, .22);
}

.contact-hero-card figure {
  position: relative;
  margin: 0;
  height: clamp(255px, 27vw, 340px);
  min-height: 0;
  background: #dbeaf0;
}

.contact-hero-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
}

.contact-hero-card > div {
  display: grid;
  gap: 7px;
  padding: 18px 20px 8px;
}

.contact-hero-card > div span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff1b8;
  color: #6c4c00;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-hero-card strong {
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1.12;
}

.contact-hero-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.contact-hero-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 8px 20px 18px;
  list-style: none;
}

.contact-hero-card li,
.contact-hero-card a {
  color: var(--brand-dark);
  font-weight: 850;
  text-decoration: none;
}

.contact-hero-card li:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.contact-form-section {
  padding: 42px 0 22px;
  background:
    radial-gradient(circle at 12% 0%, rgba(128, 193, 237, .16), transparent 32%),
    linear-gradient(180deg, #f7fbfe 0%, #ffffff 72%);
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(260px, .68fr) minmax(420px, 1.32fr);
  gap: 28px;
  align-items: start;
}

.contact-form-copy h2,
.contact-options-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.1;
}

.contact-form-copy > p:not(.site-eyebrow) {
  max-width: 440px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.contact-form-promises {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.contact-form-promises article,
.contact-option-grid article,
.contact-timeline article {
  border: 1px solid rgba(219, 229, 238, .92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(14, 39, 62, .07);
}

.contact-form-promises article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  align-items: start;
  padding: 14px 16px;
  border-left: 4px solid #52afd0;
}

.contact-form-promises span,
.contact-option-grid span,
.contact-timeline span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #eef8fb 100%);
  color: var(--brand-dark);
  border: 1px solid rgba(199, 216, 228, .76);
}

.contact-form-promises svg,
.contact-option-grid svg,
.contact-timeline svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form-promises strong {
  color: var(--brand-dark);
  font-size: 17px;
}

.contact-form-promises p {
  grid-column: auto;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.contact-lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(207, 224, 238, .86);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(128, 193, 237, .16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(247, 251, 254, .95) 100%);
  box-shadow: 0 26px 70px rgba(19, 48, 78, .12);
}

.contact-lead-form label:not(.contact-privacy):not(.contact-hp) {
  display: grid;
  gap: 7px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
}

.contact-lead-form input,
.contact-lead-form select,
.contact-lead-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dbe6ef;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
  outline: none;
}

.contact-lead-form textarea {
  min-height: 136px;
  resize: vertical;
}

.contact-lead-form input:focus,
.contact-lead-form select:focus,
.contact-lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 165, 202, .12);
}

.contact-lead-wide,
.contact-lead-form button,
.contact-lead-form small,
.contact-lead-form output {
  grid-column: 1 / -1;
}

.contact-privacy {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.contact-privacy input {
  min-height: 20px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.contact-lead-form button {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 950;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
  box-shadow: 0 16px 30px rgba(0, 165, 202, .24);
}

.contact-lead-form button:hover {
  transform: translateY(-1px);
}

.contact-lead-form.is-sending button {
  opacity: .65;
  pointer-events: none;
}

.contact-lead-form small {
  color: var(--muted);
  line-height: 1.45;
}

.contact-lead-form output {
  min-height: 20px;
  font-weight: 850;
}

.contact-lead-form output.is-success {
  color: #16703a;
}

.contact-lead-form output.is-error {
  color: #b42318;
}

.contact-hp {
  position: absolute;
  left: -9999px;
}

.valuation-page {
  background: #f7fafc;
}

.valuation-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 50px;
  background: #102742;
  border-bottom: 1px solid rgba(16, 39, 66, .1);
  color: #fff;
}

.valuation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 22, 39, .86) 0%, rgba(6, 22, 39, .6) 48%, rgba(6, 22, 39, .24) 100%),
    linear-gradient(180deg, rgba(6, 22, 39, .08) 0%, rgba(6, 22, 39, .54) 100%);
  pointer-events: none;
}

.valuation-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #102742;
}

.valuation-hero-inner {
  position: relative;
  z-index: 2;
  display: block;
}

.valuation-hero-copy {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.valuation-hero-copy h1 {
  max-width: 840px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

.valuation-hero-copy > p:not(.site-eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 20px;
  line-height: 1.65;
}

.valuation-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.valuation-hero-points span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(16, 39, 66, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
}

.valuation-hero-form-shell {
  width: min(1120px, 100%);
  display: grid;
  gap: 14px;
  margin-right: auto;
  margin-left: 0;
}

.valuation-main {
  width: min(1180px, calc(100vw - 36px));
  padding-top: 50px;
  padding-bottom: 72px;
}

.valuation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .75fr);
  gap: 28px;
  align-items: start;
}

.valuation-form,
.valuation-side,
.valuation-result,
.valuation-error {
  border: 1px solid rgba(16, 39, 66, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(14, 39, 62, .1);
}

.valuation-form {
  display: grid;
  gap: 20px;
  padding: 26px;
}

.valuation-hero-form-shell .valuation-form {
  gap: 18px;
  padding: 28px 32px 30px;
  box-shadow: 0 28px 70px rgba(4, 16, 32, .24);
}

.valuation-hero-form-shell .valuation-result,
.valuation-hero-form-shell .valuation-error {
  margin-bottom: 0;
}

.valuation-hero-form-shell .valuation-step-meta {
  font-size: 12px;
}

.valuation-hero-form-shell .valuation-progress-wrap {
  gap: 9px;
  padding-inline: 70px;
}

.valuation-hero-form-shell .valuation-progress::before {
  left: 34px;
  right: 34px;
  height: 2px;
}

.valuation-hero-form-shell .valuation-progress span {
  width: 42px;
  height: 42px;
}

.valuation-hero-form-shell .valuation-step-labels {
  font-size: 13px;
}

.valuation-hero-form-shell .valuation-trust-note {
  width: calc(100% - 240px);
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 207, 41, .36);
  font-size: 15px;
  line-height: 1.45;
}

.valuation-hero-form-shell .valuation-trust-note strong {
  font-size: 18px;
}

.valuation-hero-form-shell .valuation-note-icon,
.valuation-hero-form-shell .valuation-fieldset-icon {
  width: 52px;
  height: 52px;
}

.valuation-hero-form-shell .valuation-note-icon svg,
.valuation-hero-form-shell .valuation-fieldset-icon svg,
.valuation-hero-form-shell .valuation-choice-grid svg {
  width: 25px;
  height: 25px;
}

.valuation-hero-form-shell .valuation-form fieldset {
  gap: 16px;
}

.valuation-hero-form-shell .valuation-form legend {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 0;
}

.valuation-hero-form-shell .valuation-form legend strong {
  font-size: 28px;
}

.valuation-hero-form-shell .valuation-form legend small {
  font-size: 16px;
  line-height: 1.35;
}

.valuation-hero-form-shell .valuation-form label:not(.valuation-hp):not(.valuation-privacy),
.valuation-hero-form-shell .valuation-privacy {
  gap: 7px;
  font-size: 15px;
}

.valuation-hero-form-shell .valuation-form input,
.valuation-hero-form-shell .valuation-form select,
.valuation-hero-form-shell .valuation-form textarea {
  min-height: 52px;
  padding: 12px 15px;
}

.valuation-hero-form-shell .valuation-form textarea {
  min-height: 88px;
}

.valuation-hero-form-shell .valuation-two-cols,
.valuation-hero-form-shell .valuation-choice-grid {
  gap: 14px;
}

.valuation-hero-form-shell .valuation-choice-grid label,
.valuation-hero-form-shell .valuation-choice-grid span {
  min-height: 58px;
}

.valuation-hero-form-shell .valuation-choice-grid span {
  gap: 10px;
  padding: 10px 12px;
}

.valuation-hero-form-shell .valuation-choice-grid span b {
  font-size: 15px;
}

.valuation-hero-form-shell .valuation-actions .site-button {
  width: min(190px, 100%);
  min-height: 54px;
}

.valuation-hero-form-shell .valuation-form-note {
  font-size: 12px;
}

.valuation-property-step-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: center;
}

.valuation-property-fields {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 20px;
}

.valuation-property-fields > label {
  grid-column: span 3;
}

.valuation-property-fields > label:nth-of-type(3),
.valuation-property-fields > label:nth-of-type(4) {
  grid-column: span 3;
}

.valuation-property-fields > .valuation-field-unit {
  grid-column: span 2;
}

.valuation-type-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 6px;
}

.valuation-hero-form-shell .valuation-type-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.valuation-input-with-unit {
  position: relative;
  display: block;
}

.valuation-input-with-unit input {
  padding-right: 46px;
}

.valuation-input-with-unit em {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 950;
}

.valuation-secure-card {
  min-height: 244px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 24px 20px;
  border: 1px solid rgba(159, 175, 190, .28);
  border-radius: 8px;
  background: #f7fafc;
  color: var(--brand-dark);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
}

.valuation-secure-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 14px 32px rgba(14, 39, 62, .1);
}

.valuation-secure-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.valuation-secure-card strong {
  font-size: 16px;
  line-height: 1.2;
}

.valuation-secure-card p {
  max-width: 158px;
  margin: 0;
  color: #62748a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

.valuation-step-meta {
  display: flex;
  justify-content: space-between;
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.valuation-progress-wrap {
  display: grid;
  gap: 10px;
  padding-inline: 34px;
}

.valuation-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
}

.valuation-progress::before {
  content: "";
  position: absolute;
  left: 42px;
  right: 42px;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(159, 175, 190, .32);
}

.valuation-progress span {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 2px solid rgba(159, 175, 190, .38);
  border-radius: 50%;
  background: #fff;
  color: #748299;
  box-shadow: 0 8px 18px rgba(14, 39, 62, .06);
}

.valuation-progress b {
  font-size: 13px;
  font-weight: 950;
}

.valuation-progress span.is-active,
.valuation-progress span.is-done {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.valuation-step-labels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  color: #748299;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.valuation-step-labels span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.valuation-step-labels span.is-active {
  color: var(--brand-dark);
}

.valuation-trust-note {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 16px;
  border-radius: 8px;
  background: #fff8dc;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.valuation-trust-note p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.valuation-trust-note strong {
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 950;
}

.valuation-trust-note p span {
  color: var(--brand-dark);
  font-weight: 650;
}

.valuation-note-icon,
.valuation-fieldset-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef7fc;
  color: var(--brand);
}

.valuation-note-icon svg,
.valuation-fieldset-icon svg,
.valuation-choice-grid svg,
.valuation-benefits svg,
.valuation-heart svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.valuation-form fieldset {
  display: grid;
  gap: 16px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.valuation-form fieldset[hidden],
.valuation-actions [hidden] {
  display: none !important;
}

.valuation-form legend {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
}

.valuation-form legend strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.08;
}

.valuation-form legend > span:last-child {
  display: grid;
  gap: 6px;
}

.valuation-form legend small,
.valuation-form-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.valuation-form label:not(.valuation-hp):not(.valuation-privacy),
.valuation-privacy {
  display: grid;
  gap: 7px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
}

.valuation-form input,
.valuation-form select,
.valuation-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(159, 175, 190, .72);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
  outline: none;
  font-weight: 800;
}

.valuation-form textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}

.valuation-form input:focus,
.valuation-form select:focus,
.valuation-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 207, 41, .2);
}

.valuation-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.valuation-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.valuation-choice-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.valuation-choice-grid label {
  position: relative;
  min-height: 62px;
  display: grid;
}

.valuation-choice-grid input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.valuation-choice-grid span {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(159, 175, 190, .72);
  border-radius: 8px;
  background: #fff;
  color: var(--brand);
  text-align: center;
}

.valuation-choice-grid span b {
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 950;
}

.valuation-choice-grid svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.valuation-choice-grid input:checked + span {
  border-color: var(--brand);
  background: #fff1b8;
  box-shadow: inset 0 0 0 2px rgba(255, 207, 41, .42);
}

.valuation-privacy {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.valuation-privacy input {
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.valuation-actions {
  display: grid;
  grid-template-columns: minmax(120px, .4fr) minmax(0, 1fr);
  gap: 10px;
}

.valuation-actions .site-button {
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
  cursor: pointer;
}

.valuation-actions .site-button:disabled {
  cursor: wait;
  opacity: .86;
}

.valuation-actions .site-button.is-loading {
  position: relative;
  gap: 10px;
}

.valuation-actions .site-button.is-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: valuation-spin .7s linear infinite;
}

@keyframes valuation-spin {
  to { transform: rotate(360deg); }
}

.valuation-actions [data-valuation-submit] {
  grid-column: 1 / -1;
}

.valuation-form-note {
  margin: 0;
  font-size: 13px;
}

.valuation-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.valuation-side {
  display: grid;
  gap: 14px;
  padding: 26px;
  position: sticky;
  top: 92px;
}

.valuation-side h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.valuation-heart {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--brand);
  vertical-align: middle;
}

.valuation-side p {
  margin: 0;
  color: var(--brand-dark);
  font-size: 15px;
  line-height: 1.55;
}

.valuation-advisor-note,
.valuation-one-agent-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  background: #fff8dc;
}

.valuation-advisor-note p,
.valuation-one-agent-card p {
  display: grid;
  gap: 8px;
  margin: 0;
}

.valuation-advisor-note strong,
.valuation-one-agent-card strong {
  color: var(--brand-dark);
  font-size: 16px;
  line-height: 1.24;
}

.valuation-advisor-note strong::after {
  content: "";
  width: 38px;
  height: 2px;
  display: block;
  margin-top: 10px;
  background: var(--accent);
}

.valuation-advisor-note span,
.valuation-one-agent-card span {
  color: var(--brand-dark);
  font-weight: 650;
  line-height: 1.5;
  font-size: 14px;
}

.valuation-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.valuation-benefits article {
  display: grid;
  gap: 8px;
  justify-items: center;
  align-content: start;
  min-height: 68px;
  padding: 0 8px;
  color: var(--brand);
  text-align: center;
  border-right: 1px solid rgba(159, 175, 190, .34);
}

.valuation-benefits article:last-child {
  border-right: 0;
}

.valuation-benefits strong {
  color: var(--brand-dark);
  font-size: 12px;
  line-height: 1.35;
}

.valuation-side-image {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #dbeaf0;
}

.valuation-side-image img {
  width: 100%;
  height: 160px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.valuation-result,
.valuation-error {
  margin-bottom: 24px;
  padding: 26px;
}

.valuation-result {
  display: grid;
  gap: 12px;
  background: #fff;
  color: var(--ink);
}

.valuation-result .site-eyebrow {
  color: var(--brand);
}

.valuation-result h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.14;
}

.valuation-result p {
  max-width: 880px;
  margin: 0;
  color: var(--brand-dark);
  font-size: 15px;
  line-height: 1.62;
}

.valuation-result strong {
  display: block;
  color: var(--brand-dark);
  font-size: 15px;
  line-height: 1.55;
}

.valuation-result .valuation-range {
  margin: 12px 0;
  color: var(--brand-dark);
  font-size: 30px;
  font-weight: 950;
  line-height: 1.05;
}

.valuation-error {
  border-color: rgba(180, 35, 24, .18);
  background: #fff4f2;
  color: #b42318;
  font-weight: 850;
}

@media (max-width: 900px) {
  .valuation-main {
    width: min(1180px, calc(100vw - 36px));
  }

  .valuation-hero-inner,
  .valuation-layout {
    grid-template-columns: 1fr;
  }

  .valuation-hero-form-shell {
    width: 100%;
    max-width: 680px;
  }

  .valuation-hero-form-shell .valuation-trust-note {
    width: 100%;
  }

  .valuation-property-step-grid {
    grid-template-columns: 1fr;
  }

  .valuation-secure-card {
    min-height: 0;
  }

  .valuation-side {
    position: static;
  }

  .valuation-two-cols,
  .valuation-choice-grid,
  .valuation-choice-grid-wide {
    grid-template-columns: 1fr;
  }

  .valuation-property-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .valuation-property-fields > label,
  .valuation-property-fields > label:nth-of-type(3),
  .valuation-property-fields > label:nth-of-type(4),
  .valuation-property-fields > .valuation-field-unit {
    grid-column: span 1;
  }

  .valuation-hero-form-shell .valuation-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .valuation-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .valuation-benefits article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .valuation-hero {
    padding: 46px 0 34px;
  }

  .valuation-hero-copy h1 {
    font-size: 38px;
  }

  .valuation-hero-copy > p:not(.site-eyebrow) {
    font-size: 17px;
  }

  .valuation-form,
  .valuation-side,
  .valuation-result,
  .valuation-error {
    padding: 18px;
  }

  .valuation-hero-form-shell .valuation-form,
  .valuation-hero-form-shell .valuation-result,
  .valuation-hero-form-shell .valuation-error {
    padding: 16px;
  }

  .valuation-property-fields,
  .valuation-hero-form-shell .valuation-type-grid {
    grid-template-columns: 1fr;
  }

  .valuation-progress-wrap {
    padding-inline: 0;
  }

  .valuation-progress span {
    width: 42px;
    height: 42px;
  }

  .valuation-progress::before {
    left: 24px;
    right: 24px;
  }

  .valuation-trust-note,
  .valuation-advisor-note,
  .valuation-one-agent-card,
  .valuation-form legend {
    grid-template-columns: 1fr;
  }

  .valuation-note-icon,
  .valuation-fieldset-icon {
    width: 56px;
    height: 56px;
  }

  .valuation-form fieldset {
    min-height: 0;
  }

  .valuation-step-labels {
    font-size: 11px;
  }

  .valuation-form legend strong {
    font-size: 25px;
  }

  .valuation-benefits {
    grid-template-columns: 1fr;
  }

  .valuation-benefits article {
    border-right: 0;
    border-bottom: 1px solid rgba(159, 175, 190, .34);
    padding-bottom: 14px;
  }

  .valuation-benefits article:last-child {
    border-bottom: 0;
  }

  .valuation-actions {
    grid-template-columns: 1fr;
  }

  .valuation-result .valuation-range {
    font-size: 30px;
  }
}

.page-section.contact-options-section {
  width: min(1180px, calc(100vw - 36px));
  margin-right: auto;
  margin-left: auto;
  padding: clamp(38px, 4vw, 48px) clamp(22px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(187, 214, 231, .72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 6%, rgba(0, 165, 202, .12), transparent 28%),
    linear-gradient(145deg, #f8fcfe 0%, #edf7fb 100%);
  box-shadow: 0 24px 58px rgba(14, 39, 62, .09);
}

.contact-options-section .section-head {
  max-width: 720px;
  margin-bottom: 0;
}

.contact-options-section .site-eyebrow {
  margin-bottom: 8px;
  color: var(--brand);
}

.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.contact-option-grid article {
  position: relative;
  min-height: 268px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(201, 218, 230, .88);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 34px rgba(14, 39, 62, .08);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.contact-option-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand);
  opacity: .82;
}

.contact-option-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 165, 202, .34);
  box-shadow: 0 22px 42px rgba(14, 39, 62, .13);
}

.contact-option-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-option-grid .contact-option-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0, 165, 202, .2);
  border-radius: 16px;
  background: rgba(0, 165, 202, .1);
  color: var(--brand-dark);
}

.contact-option-card-top small {
  color: #afbfca;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
}

.contact-option-grid strong {
  color: var(--brand-dark);
  font-size: 21px;
  line-height: 1.22;
}

.contact-option-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.contact-option-grid a {
  width: fit-content;
  min-height: 42px;
  align-self: end;
  margin-top: auto;
  gap: 12px;
  padding: 10px 16px;
  border-color: var(--brand);
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 165, 202, .2);
}

.contact-option-grid a::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
  transition: transform .18s ease;
}

.contact-option-grid a:hover {
  background: #008eaf;
  box-shadow: 0 14px 26px rgba(0, 165, 202, .26);
}

.contact-option-grid a:hover::after {
  transform: translateX(3px);
}

.contact-timeline {
  counter-reset: contact-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.contact-timeline article {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.contact-timeline article::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -18px;
  width: 18px;
  height: 2px;
  background: rgba(255, 207, 41, .9);
}

.contact-timeline article:last-child::after {
  display: none;
}

.contact-timeline h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 21px;
}

.contact-timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.public-footer {
  padding: 26px 0 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(33, 91, 136, .22), transparent 44%),
    linear-gradient(180deg, #081c31 0%, #061629 100%);
  color: rgba(235, 246, 255, .84);
}

.footer-panel {
  width: min(100% - 48px, 1560px);
  padding: 44px 56px 24px;
  border: 1px solid rgba(104, 171, 224, .12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 5%, rgba(43, 110, 166, .22), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(30, 85, 134, .18), transparent 30%),
    linear-gradient(135deg, rgba(14, 48, 80, .98), rgba(7, 27, 48, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, .95fr) minmax(300px, 1.18fr) minmax(280px, 1fr) minmax(250px, .92fr);
  gap: 36px;
  align-items: start;
}

.footer-grid > * + * {
  min-height: 330px;
  padding-left: 36px;
  border-left: 1px solid rgba(92, 163, 218, .34);
}

.footer-logo {
  width: 232px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 28px;
}

.footer-brand p {
  max-width: 310px;
  margin: 0;
  color: rgba(236, 246, 255, .88);
  font-size: 20px;
  line-height: 1.55;
}

.footer-socials {
  display: flex;
  gap: 28px;
  margin-top: 52px;
  padding-top: 42px;
  border-top: 1px solid rgba(112, 177, 226, .28);
}

.footer-socials a,
.footer-socials span {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(109, 153, 195, .22);
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: rgba(91, 180, 255, .34);
}

.footer-legal-list a {
  color: inherit;
  text-decoration: none;
}

.footer-legal-list a:hover {
  color: #65c7ff;
  text-decoration: underline;
}

.footer-socials svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials svg path,
.footer-socials svg rect,
.footer-socials svg circle {
  fill: currentColor;
  stroke: none;
}

.footer-socials a:nth-child(2) svg path,
.footer-socials a:nth-child(2) svg rect,
.footer-socials a:nth-child(2) svg circle {
  fill: none;
  stroke: currentColor;
}

.public-footer h2 {
  margin: 0 0 32px;
  color: #60baff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.public-footer a {
  color: inherit;
  text-decoration: none;
}

.footer-links div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
}

.footer-links a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(92, 163, 218, .22);
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.footer-links a:hover {
  color: #75c6ff;
}

.footer-links a svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: rgba(209, 232, 247, .7);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-legal-list {
  display: grid;
  gap: 32px;
}

.footer-legal-list p {
  display: grid;
  margin: 0;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.footer-legal-list svg {
  width: 24px;
  height: 24px;
  color: #60baff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-legal-list span {
  color: rgba(218, 234, 249, .76);
  font-size: 20px;
  line-height: 1.45;
}

.footer-credentials {
  display: grid;
  gap: 0;
  max-width: 280px;
}

.footer-api-card {
  width: min(100%, 280px);
  box-sizing: border-box;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
}

.footer-api-card img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-finance-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 36px;
  padding: 30px 38px;
  border: 1px solid rgba(92, 163, 218, .16);
  border-radius: 14px;
  background: rgba(39, 91, 133, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.footer-finance-note > span {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #5dbbff;
  color: #06213b;
}

.footer-finance-note svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-finance-note p {
  max-width: 1120px;
  margin: 0;
  color: rgba(225, 238, 250, .82);
  font-size: 15px;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(92, 163, 218, .22);
  color: rgba(218, 234, 249, .76);
  font-size: 15px;
}

.footer-bottom em {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-width: 310px;
  justify-content: center;
  border-left: 1px solid rgba(92, 163, 218, .28);
  color: #5dbbff;
  font-family: var(--site-font);
  font-size: 23px;
  font-style: italic;
  line-height: 1.2;
}

.footer-bottom em svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1180px) {
  .footer-panel {
    padding: 34px 28px 22px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > * + * {
    min-height: 0;
  }

  .footer-grid > :nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 780px) {
  .public-footer {
    padding: 14px 0 18px;
  }

  .footer-panel {
    width: min(100% - 24px, 1180px);
    padding: 28px 18px 18px;
    border-radius: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid > * + * {
    padding-left: 0;
    border-left: 0;
  }

  .footer-logo {
    width: 210px;
    margin-bottom: 20px;
  }

  .footer-brand p {
    font-size: 18px;
  }

  .footer-socials {
    gap: 16px;
    margin-top: 28px;
    padding-top: 28px;
  }

  .footer-links div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-legal-list {
    gap: 22px;
  }

  .footer-legal-list p {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 16px;
  }

  .footer-legal-list span {
    font-size: 17px;
  }

  .footer-credentials,
  .footer-api-card {
    max-width: 280px;
  }

  .footer-finance-note {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
    padding: 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom em {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
    border-left: 0;
    font-size: 21px;
  }
}

.listing-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 44px;
  background: #102742;
  color: #fff;
}

.listing-hero.has-video {
  background: #102742;
}

.listing-hero.has-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 22, 39, .9) 0%, rgba(6, 22, 39, .68) 48%, rgba(6, 22, 39, .34) 100%),
    linear-gradient(180deg, rgba(6, 22, 39, .18) 0%, rgba(6, 22, 39, .48) 100%);
  pointer-events: none;
}

.listing-hero .listing-head {
  position: relative;
  z-index: 2;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 62px;
  background:
    linear-gradient(90deg, rgba(16, 39, 66, .95), rgba(16, 39, 66, .74)),
    url("public-hero.jpg") center / cover;
  color: #fff;
}

.buyer-video-hero {
  min-height: 440px;
  display: flex;
  align-items: end;
  background: #102742;
}

@media (min-width: 781px) {
  .buyer-video-hero {
    padding-bottom: clamp(108px, 8vw, 132px);
  }
}

.buyer-video-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 22, 39, .86) 0%, rgba(6, 22, 39, .58) 48%, rgba(6, 22, 39, .22) 100%),
    linear-gradient(180deg, rgba(6, 22, 39, .1) 0%, rgba(6, 22, 39, .5) 100%);
  pointer-events: none;
}

.buyer-video-hero .listing-head {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100vw - 36px));
}

.buyer-video-hero h1 {
  text-wrap: balance;
}

.buyer-proof-section {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  padding: 0 0 clamp(14px, 2.2vw, 28px);
}

.buyer-proof-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(220px, .6fr));
  gap: 14px;
  align-items: stretch;
}

.buyer-proof-wrap article {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 14px;
  align-content: center;
  padding: 22px;
  border: 1px solid rgba(190, 213, 226, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 48px rgba(13, 42, 66, .12);
}

.buyer-proof-wrap article > span:not(.buyer-proof-check) {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  position: relative;
  border-radius: 8px;
  background: #eef7fb;
}

.buyer-proof-wrap article > span:not(.buyer-proof-check)::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 12px;
  width: 14px;
  height: 9px;
  border-left: 3px solid #1f6f9f;
  border-bottom: 3px solid #1f6f9f;
  transform: rotate(-45deg);
}

.buyer-proof-wrap strong {
  color: #172231;
  font-size: 18px;
  line-height: 1.2;
}

.buyer-proof-wrap p {
  margin: 0;
  color: #5c6470;
  line-height: 1.5;
}

.buyer-proof-wrap .buyer-proof-feature {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border-color: rgba(31, 111, 159, .22);
  background: linear-gradient(135deg, rgba(255, 255, 255, .99), rgba(241, 249, 252, .98));
}

.buyer-proof-feature .buyer-proof-check {
  width: 58px;
  height: 58px;
  position: relative;
  border-radius: 8px;
  background: #1f6f9f;
  box-shadow: 0 14px 28px rgba(31, 111, 159, .2);
}

.buyer-proof-feature .buyer-proof-check::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 17px;
  width: 19px;
  height: 12px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
}

.buyer-proof-feature strong {
  font-size: clamp(22px, 2vw, 30px);
}

.buyer-proof-feature p {
  margin-top: 6px;
  max-width: 620px;
  font-size: 17px;
}

@media (max-width: 1040px) {
  .buyer-proof-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .buyer-proof-wrap .buyer-proof-feature {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .buyer-proof-section {
    margin-top: -20px;
  }

  .buyer-proof-wrap {
    width: min(100%, calc(100vw - 24px));
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .buyer-proof-wrap .buyer-proof-feature {
    grid-column: auto;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 18px;
  }

  .buyer-proof-feature .buyer-proof-check {
    width: 48px;
    height: 48px;
  }

  .buyer-proof-feature .buyer-proof-check::before {
    left: 15px;
    top: 14px;
    width: 16px;
    height: 10px;
  }

  .buyer-proof-wrap article {
    padding: 18px;
  }
}

.page-section {
  padding: 76px 0;
}

.page-review {
  padding: 86px 0;
}

.page-contact {
  padding: 86px 0;
}

.listing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.listing-head p:not(.site-eyebrow) {
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
}

.page-hero h1,
.page-review h1,
.page-contact h1 {
  margin: 0;
  max-width: 840px;
  color: #fff;
  font-size: 48px;
  line-height: 1.06;
}

.review-band.page-review {
  padding: 22px 0 54px;
}

.page-review .public-shell {
  width: min(1480px, calc(100vw - 36px));
}

.page-review .trust-showcase h1 {
  max-width: 640px;
  margin: 18px 0 20px;
  color: #172747;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.08;
}

.contact-section.page-contact h1 {
  color: var(--ink);
}

.contact-section.page-contact .site-eyebrow {
  color: var(--brand);
}

.contact-hero.page-contact {
  padding: 36px 0 38px;
}

.contact-hero.page-contact h1 {
  color: #fff;
}

.contact-hero.page-contact .site-eyebrow {
  color: #92e9ff;
}

.listing-head strong {
  flex: 0 0 auto;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .09);
}

.listing-filter {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  color: var(--ink);
}

.property-listing-page.listing-view-map .listing-filter {
  margin-top: 28px;
}

.listing-search {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.listing-search select,
.property-sort-form select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23071a44' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.listing-search select {
  padding-right: 34px;
  background-position: right 12px center;
  background-size: 10px 7px;
}

.listing-search select:disabled {
  background-color: #eef3f7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%237a8796' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 7px;
}

.listing-search .search-keyword,
.listing-search .search-actions {
  grid-column: span 2;
  min-width: 0;
}

.listing-search .search-actions.is-map-view {
  grid-column: span 1;
  min-height: 62px;
  align-self: end;
}

.listing-search .search-actions.is-map-view .map-submit-button {
  min-height: 62px;
}

.listing-search .search-keyword.is-map-view {
  grid-column: span 1;
}

.listing-search .finance-filter {
  grid-column: span 2;
  align-self: stretch;
}

.listing-search .finance-filter summary {
  min-height: 78px;
  padding: 10px 18px;
}

.listing-search .finance-filter[open] {
  grid-column: 1 / -1;
}

.listing-search .finance-filter[open] summary {
  min-height: 48px;
  padding: 10px 12px;
}

@media (min-width: 1101px) {
  .listing-search .search-keyword {
    grid-column: span 1;
  }

  .listing-search .search-actions {
    min-height: 0;
    align-self: start;
  }

  .listing-search .search-actions button {
    min-height: 58px;
    padding-block: 10px;
  }

  .listing-search .finance-filter {
    align-self: start;
  }

  .listing-search .finance-filter summary {
    min-height: 58px;
    padding: 8px 16px;
  }

  .listing-search .finance-filter[open] {
    grid-column: span 2;
  }

  .listing-search .finance-filter[open] summary {
    min-height: 42px;
    padding: 8px 14px;
  }

  .listing-search .finance-filter-fields {
    grid-template-columns: minmax(130px, 160px) minmax(0, 1fr);
    gap: 10px;
    padding: 0 14px 12px;
  }
}

.listing-view-switch {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.listing-view-switch a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 6px;
  color: #31465d;
  font-weight: 900;
  text-decoration: none;
}

.listing-view-switch a:hover,
.listing-view-switch a.is-active {
  background: #123b70;
  color: #fff;
}

.clear-filters {
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--line);
  box-shadow: none;
}

.listing-filter-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.listing-filter-tools .property-sort-form {
  margin-left: auto;
}

.listing-results-tools {
  margin: 0 0 24px;
}

.listing-results-tools-shell {
  padding-top: 28px;
}

.listing-results-tools-shell .listing-results-tools {
  margin-bottom: 0;
}

.listing-map-section {
  display: grid;
  gap: 24px;
  padding-top: 18px;
}

.map-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
}

.map-title-block {
  display: grid;
  gap: 10px;
}

.map-title-block h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1;
}

.map-title-block p:last-child {
  max-width: 640px;
  margin: 0;
  color: #667894;
  font-size: 18px;
  line-height: 1.5;
}

.map-head-actions {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.map-result-card,
.map-soft-action,
.map-primary-action {
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9e4ee;
  border-radius: 8px;
  background: #fff;
  color: #172747;
  box-shadow: 0 16px 36px rgba(15, 39, 72, .08);
}

.map-result-card {
  min-width: 210px;
  gap: 12px;
  padding: 12px 18px;
}

.map-result-card > span,
.map-panel-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #edf5ff;
  color: #2361c8;
  font-size: 22px;
  font-weight: 950;
}

.map-result-card strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.map-result-card small {
  display: block;
  margin-top: 4px;
  color: #667894;
  font-weight: 800;
}

.map-soft-action,
.map-primary-action {
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.map-primary-action {
  border-color: transparent;
  background: linear-gradient(135deg, #123b70 0%, #1e3f9a 100%);
  color: #fff;
}

.public-site .map-primary-action {
  color: #fff;
}

.public-site .map-soft-action {
  color: #172747;
}

.map-experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 16px;
  align-items: stretch;
}

.map-sidebar {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 14px;
  align-content: start;
  min-height: 680px;
}

.map-featured-panel {
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.map-featured-panel .map-feature-list {
  align-content: start;
}

.map-panel {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid #d9e4ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 42px rgba(15, 39, 72, .09);
}

.map-zone-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.map-zone-summary span:not(.map-panel-icon),
.map-panel-head strong,
.map-featured-panel > strong {
  color: #526686;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.map-zone-summary strong {
  display: block;
  margin-top: 5px;
  color: #172747;
  line-height: 1.25;
}

.map-zone-close,
.map-feature-like {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e4ee;
  border-radius: 999px;
  background: #fff;
  color: #244c86;
  font-size: 22px;
  font-weight: 850;
  text-decoration: none;
}

.map-zone-clear {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0d2d2;
  border-radius: 6px;
  background: #fff8f8;
  color: #d95f63;
  font-weight: 950;
  text-decoration: none;
}

.map-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-panel-head a {
  color: #2361c8;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.map-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-filter-chips span,
.map-extra-filters {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #d9e4ee;
  border-radius: 6px;
  background: #f4f8fe;
  color: #244c86;
  font-size: 13px;
  font-weight: 850;
}

.map-filter-chips b {
  color: #4f7ed9;
  font-size: 16px;
  line-height: 1;
}

.map-extra-filters {
  width: fit-content;
  border: 0;
  background: transparent;
  color: #2361c8;
  padding: 0;
}

.map-panel-empty {
  margin: 0;
  color: #667894;
  line-height: 1.45;
}

.map-feature-list {
  display: grid;
  gap: 12px;
}

.map-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 112px;
  padding: 10px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fff;
}

.map-feature-image {
  width: 100%;
  min-height: 92px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background: #edf4f7;
  color: #123b70;
  font-weight: 950;
  text-decoration: none;
}

.map-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-feature-card h3 {
  margin: 0;
  padding-right: 42px;
  font-size: 14px;
  line-height: 1.25;
}

.map-feature-card > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 5px;
}

.map-feature-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  color: #172747;
  text-decoration: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.map-feature-card p,
.map-feature-card small {
  display: block;
  margin: 0;
  color: #667894;
  font-size: 12px;
  line-height: 1.3;
}

.map-feature-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.map-feature-card strong {
  display: block;
  margin-top: 2px;
  color: #123b70;
  font-size: 16px;
  line-height: 1.15;
}

.map-feature-like {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.map-more-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d9e4ee;
  border-radius: 6px;
  color: #2361c8;
  font-weight: 950;
  text-decoration: none;
}

.property-map-shell {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
}

.property-map {
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e8eff3;
  box-shadow: 0 20px 48px rgba(9, 28, 48, .12);
}

.map-canvas-shell .property-map {
  height: 100%;
  min-height: 680px;
}

.map-buyer-section {
  padding-top: 34px;
  background: #f7fafc;
}

.map-buyer-section .buyer-signup-panel {
  margin-top: 0;
}

.map-search-area {
  position: absolute;
  z-index: 440;
  top: 18px;
  left: 50%;
  min-height: 44px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  background: #123b70;
  color: #fff;
  box-shadow: 0 14px 30px rgba(18, 59, 112, .26);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  white-space: nowrap;
}

.map-search-area:hover {
  transform: translateX(-50%) translateY(-1px);
}

.map-legend,
.map-layer-switch {
  position: absolute;
  z-index: 430;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9e4ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 36px rgba(15, 39, 72, .12);
}

.map-legend {
  left: 18px;
  bottom: 18px;
  gap: 14px;
  padding: 10px 14px;
  color: #53697c;
  font-size: 12px;
  font-weight: 850;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.map-legend i {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  background: url("map-house-cluster.png?v=20260527-plain") center / contain no-repeat;
  box-shadow: 0 4px 10px rgba(9, 28, 48, .12);
}

.map-legend i::before {
  content: none;
}

.map-legend i.is-high {
  filter: saturate(1.4) brightness(.86) contrast(1.08);
}

.map-legend i.is-mid {
  filter: saturate(1.2) brightness(.98);
}

.map-legend i.is-low {
  filter: saturate(.9) brightness(1.05);
}

.map-layer-switch {
  right: 18px;
  bottom: 18px;
  padding: 7px;
  gap: 4px;
}

.map-layer-switch button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  background: transparent;
  color: #526686;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.map-layer-switch button.is-active {
  background: #fff;
  color: #2361c8;
  box-shadow: 0 8px 18px rgba(15, 39, 72, .1);
}

.property-map-house-cluster {
  display: grid;
  place-items: end center;
  border: 0;
  background: transparent;
}

.property-map-house-cluster span {
  position: relative;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: url("map-house-cluster.png?v=20260527-plain") center / contain no-repeat;
  color: #123b70;
  box-shadow: none;
  filter: drop-shadow(0 10px 10px rgba(9, 28, 48, .2)) saturate(.9) brightness(1.05);
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

.property-map-house-cluster span::before {
  content: none;
}

.property-map-house-cluster span::after {
  content: none;
}

.property-map-house-cluster i {
  display: none;
}

.property-map-house-cluster b {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 58%;
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #eaf7fb;
  color: #123b70;
  padding: 0 4px;
  box-shadow: 0 5px 12px rgba(9, 28, 48, .18);
  transform: translate(-50%, -50%);
}

.property-map-house-cluster.is-mid span {
  box-shadow: none;
  filter: drop-shadow(0 10px 10px rgba(9, 28, 48, .22)) saturate(1.2) brightness(.98);
}

.property-map-house-cluster.is-high span {
  box-shadow: none;
  filter: drop-shadow(0 11px 12px rgba(9, 28, 48, .28)) saturate(1.4) brightness(.86) contrast(1.08);
}

.property-map-house-cluster.is-mid b {
  background: #00a5ca;
  color: #fff;
}

.property-map-house-cluster.is-high b {
  background: #123b70;
  color: #fff;
}

.property-map .leaflet-popup-content-wrapper {
  border-radius: 8px;
}

.property-map .leaflet-popup-content {
  margin: 0;
}

.property-map-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.property-map-pin span {
  min-width: 74px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #123b70;
  color: #fff;
  box-shadow: 0 8px 20px rgba(9, 28, 48, .24);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.property-map-pin.is-approx span {
  background: #2f8fac;
}

.property-map-popup {
  width: min(260px, 72vw);
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.property-map-popup img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
  background: #edf4f7;
}

.property-map-popup div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.property-map-popup strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.property-map-popup span,
.property-map-popup small {
  color: #53697c;
  font-size: 12px;
  line-height: 1.25;
}

.property-map-popup a {
  width: fit-content;
  margin-top: 4px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .map-page-head {
    grid-template-columns: 1fr;
  }

  .map-head-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .map-result-card,
  .map-soft-action,
  .map-primary-action {
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  .map-experience {
    grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  }
}

.listing-results {
  padding-top: 34px;
}

.listing-location-spotlight {
  min-height: 126px;
  display: grid;
  grid-template-columns: minmax(128px, 210px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  padding: 12px 16px 12px 12px;
  border: 1px solid #dbe6ef;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(15, 39, 72, .07);
  overflow: hidden;
}

.listing-location-spotlight:hover {
  border-color: rgba(0, 165, 202, .42);
  box-shadow: 0 18px 42px rgba(15, 39, 72, .11);
}

.listing-location-spotlight-image {
  width: 100%;
  height: 102px;
  display: block;
  border-radius: 6px;
  background: #e8eef4;
  overflow: hidden;
}

.listing-location-spotlight-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.listing-location-spotlight-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.listing-location-spotlight-copy .site-eyebrow {
  margin: 0;
  color: var(--brand);
}

.listing-location-spotlight-copy strong {
  display: block;
  color: #102742;
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1.08;
}

.listing-location-spotlight-copy > span:last-child {
  max-width: 720px;
  color: #687789;
  font-size: 15px;
  line-height: 1.45;
}

.listing-location-spotlight-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eff7fb;
  color: #123b70;
  font-weight: 900;
  white-space: nowrap;
}

.listing-location-spotlight-action svg {
  width: 18px;
  height: 18px;
}

.listing-results-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 22px;
}

.property-sort-form {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.property-sort-form label {
  color: #6d788a;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.property-sort-form select {
  min-width: 230px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 42px 9px 20px;
  background-position: right 20px center;
  background-size: 10px 7px;
  color: #071a44;
  font: inherit;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(14, 39, 62, .08);
  cursor: pointer;
}

.property-sort-form select:focus {
  border-color: rgba(0, 165, 202, .62);
  outline: 3px solid rgba(0, 165, 202, .16);
}

.public-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.public-pager a,
.public-pager span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: none;
}

.public-pager a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.empty-public {
  grid-column: 1 / -1;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.property-showcase {
  padding: 18px 0 8px;
  background: #f7fafc;
}

.detail-hero {
  min-height: 470px;
  display: flex;
  align-items: end;
  padding: 70px 0;
  background-image:
    linear-gradient(0deg, rgba(8, 28, 51, .86), rgba(8, 28, 51, .28)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.detail-hero-inner {
  display: grid;
  gap: 14px;
}

.back-link {
  width: fit-content;
  color: rgba(255, 255, 255, .86);
  font-weight: 900;
  text-underline-offset: 4px;
}

.detail-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.detail-summary strong,
.detail-summary span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  padding: 18px 0 56px;
}

.detail-main {
  display: grid;
  gap: 18px;
}

.detail-main > section {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-aside {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 16px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.detail-back {
  display: inline-flex;
  margin-bottom: 10px;
  color: #52677b;
}

.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 340px);
  gap: 16px;
  align-items: stretch;
}

.detail-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 8px;
  height: clamp(340px, 39vw, 480px);
  min-height: 0;
}

.detail-media-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 229, 236, .96);
  border-radius: 8px;
  background: #dfe9ef;
}

.detail-media-main,
.detail-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  background: #dfe9ef;
  border-radius: 8px;
}

.detail-media-main {
  min-height: 0;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
}

.detail-media-main:focus-visible {
  outline: 3px solid rgba(0, 165, 202, .92);
  outline-offset: -4px;
}

.detail-media-strip {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 7px;
  min-height: 0;
  overflow: hidden;
}

.detail-thumb {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.detail-thumb img {
  object-fit: cover;
  opacity: .72;
  transition: opacity .16s ease, box-shadow .16s ease;
}

.detail-thumb.active img,
.detail-thumb:hover img {
  opacity: 1;
  box-shadow: inset 0 0 0 3px rgba(0, 165, 202, .72);
}

.detail-gallery-zone {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.detail-gallery-zone-left {
  left: 0;
}

.detail-gallery-zone-right {
  right: 0;
}

.detail-gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 999px;
  background: rgba(15, 34, 52, .56);
  color: #fff;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
  opacity: .84;
  transform: translateY(-50%);
  transition: opacity .16s ease, background .16s ease;
  backdrop-filter: blur(8px);
}

.detail-gallery-prev {
  left: 12px;
}

.detail-gallery-next {
  right: 12px;
}

.detail-media:hover .detail-gallery-arrow,
.detail-gallery-arrow:focus-visible {
  opacity: 1;
  background: rgba(15, 34, 52, .72);
}

.detail-photo-count {
  position: absolute;
  z-index: 4;
  right: 16px;
  bottom: 16px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 8px;
  background: rgba(23, 34, 49, .78);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: zoom-in;
  backdrop-filter: blur(10px);
  transition: background .16s ease, transform .16s ease;
}

.detail-photo-count:hover,
.detail-photo-count:focus-visible {
  background: rgba(9, 30, 50, .94);
  transform: translateY(-1px);
}

.detail-photo-count:focus-visible {
  outline: 3px solid rgba(143, 220, 243, .55);
  outline-offset: 2px;
}

body.detail-gallery-open {
  overflow: hidden;
}

.detail-gallery-viewer[hidden] {
  display: none;
}

.detail-gallery-viewer {
  position: fixed;
  z-index: 4200;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(58px, 1fr) minmax(0, 1180px) minmax(58px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: rgba(5, 18, 31, .94);
  opacity: 0;
  transition: opacity .16s ease;
  backdrop-filter: blur(14px);
}

.detail-gallery-viewer.is-open {
  opacity: 1;
}

.detail-gallery-viewer figure {
  grid-column: 2;
  min-width: 0;
  max-height: calc(100dvh - 56px);
  display: grid;
  place-items: center;
  gap: 12px;
  margin: 0;
}

.detail-gallery-viewer-image {
  max-width: 100%;
  max-height: calc(100dvh - 108px);
  display: block;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

.detail-gallery-viewer-count {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.detail-gallery-viewer-close,
.detail-gallery-viewer-arrow {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(15, 39, 61, .78);
  color: #fff;
  cursor: pointer;
}

.detail-gallery-viewer-close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  font-size: 31px;
  line-height: 1;
}

.detail-gallery-viewer-arrow {
  width: 52px;
  height: 52px;
  justify-self: center;
  font-size: 38px;
  line-height: 1;
}

.detail-gallery-viewer-prev {
  grid-column: 1;
}

.detail-gallery-viewer-next {
  grid-column: 3;
}

.detail-gallery-viewer-close:hover,
.detail-gallery-viewer-arrow:hover,
.detail-gallery-viewer-close:focus-visible,
.detail-gallery-viewer-arrow:focus-visible {
  background: rgba(0, 165, 202, .88);
  outline: 0;
}

.detail-purchase-stack {
  display: grid;
  gap: 12px;
  align-content: stretch;
  align-self: stretch;
  height: clamp(340px, 39vw, 480px);
  min-height: 0;
}

.detail-purchase {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(219, 229, 238, .96);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(14, 39, 62, .08);
}

.detail-action-card {
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(219, 229, 238, .96);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(14, 39, 62, .08);
}

.detail-purchase h1 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  color: #10253b;
  font-size: clamp(24px, 1.85vw, 29px);
  line-height: 1.12;
}

.detail-price {
  margin-top: 0;
  color: var(--brand-dark);
  font-size: clamp(27px, 2.35vw, 34px);
  line-height: 1;
  font-weight: 950;
}

.detail-location,
.detail-reference,
.detail-mortgage-teaser {
  margin: 0;
  color: #506477;
}

.detail-mortgage-teaser {
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(0, 165, 202, .22);
  border-radius: 8px;
  background: #eef9fb;
  color: #123b70;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.detail-location {
  font-size: 16px;
  font-weight: 850;
}

.detail-reference {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
}

.detail-reference span {
  color: #6a7b8d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.detail-reference strong {
  color: #183752;
  font-size: 14px;
}

.detail-purchase-actions {
  display: grid;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.detail-purchase-actions .site-button {
  width: 100%;
  justify-content: center;
  color: #fff;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 4px;
}

.detail-action-card .detail-actions {
  margin-top: 0;
}

.detail-client-mode {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 165, 202, .22);
  border-radius: 8px;
  background: #f4fbfd;
}

.detail-client-mode span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.detail-client-mode strong {
  color: #17375f;
  font-size: 17px;
  line-height: 1.2;
}

.detail-client-action-ok {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(36, 119, 95, .2);
  border-radius: 8px;
  background: #f2fbf7;
  color: #24775f;
  font-size: 13px;
  font-weight: 850;
}

.detail-client-action-form {
  display: grid;
  margin: 0;
}

.detail-client-action-form .site-button {
  width: 100%;
}

.detail-favorite-saved {
  width: 100%;
  border-color: rgba(36, 119, 95, .24);
  background: #f1fbf7;
  color: #24775f;
  cursor: default;
}

.detail-favorite-saved::before {
  content: "";
  width: 9px;
  height: 14px;
  margin-right: 2px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(42deg) translateY(-1px);
}

.detail-share {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #d7e5ec;
  border-radius: 8px;
  background: #f8fbfd;
}

.detail-share > span {
  color: #53697c;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.detail-share-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.detail-share-button {
  width: 100%;
  aspect-ratio: 1;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d7e5ec;
  border-radius: 8px;
  background: #fff;
  color: #123b70;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(14, 39, 62, .08);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.detail-share-button:hover {
  border-color: rgba(0, 165, 202, .4);
  transform: translateY(-1px);
  box-shadow: 0 11px 24px rgba(14, 39, 62, .14);
}

.detail-share-button:focus-visible {
  outline: 3px solid rgba(0, 165, 202, .28);
  outline-offset: 2px;
}

.detail-share-button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
}

.detail-share-button svg path {
  fill: currentColor;
}

.detail-share-email svg {
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-share-email svg path {
  fill: none;
}

.detail-share a.detail-share-whatsapp {
  color: #25d366;
}

.detail-share a.detail-share-facebook {
  color: #1877f2;
}

.detail-share a.detail-share-x {
  color: #111827;
}

.detail-share a.detail-share-linkedin {
  color: #0a66c2;
}

.detail-share a.detail-share-email {
  color: #123b70;
}

.detail-fact-panel,
.detail-map-card,
.detail-description-card,
.detail-gallery-card,
.detail-contact-card,
.detail-mortgage-card,
.detail-meta-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-main .detail-fact-panel,
.detail-main .detail-map-card,
.detail-main .detail-description-card,
.detail-main .detail-gallery-card {
  padding: 20px;
}

.detail-section-head {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
}

.detail-section-head h2,
.detail-contact-card h2 {
  margin: 0;
}

.detail-section-head h2 {
  font-size: 28px;
}

.detail-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.detail-fact-grid article {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid #d7e5ec;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fafb 100%);
}

.detail-fact-grid span,
.detail-meta-card span {
  color: #66788b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.detail-fact-grid strong {
  color: #10253b;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.05;
}

.detail-map-frame {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid #d7e5ec;
  border-radius: 8px;
  background: #e7f0f4;
}

.detail-map-frame iframe {
  width: 100%;
  height: 250px;
  display: block;
  border: 0;
}

.detail-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  color: #5f7284;
  font-size: 14px;
  font-weight: 800;
}

.detail-map-footer a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid #cddde7;
  border-radius: 8px;
  color: #123b70;
  background: #f7fbfd;
  text-decoration: none;
}

.detail-map-footer a:hover {
  border-color: rgba(0, 165, 202, .42);
  background: #eef8fb;
}

.detail-description {
  display: grid;
  gap: 12px;
}

.detail-description p {
  margin: 0;
  color: #374d62;
  font-size: 16px;
  line-height: 1.65;
}

.detail-contact-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  box-shadow: 0 12px 26px rgba(14, 39, 62, .08);
}

.detail-contact-card h2 {
  font-size: 27px;
  line-height: 1.14;
}

.detail-contact-card p {
  margin: 0;
  color: #5e7184;
}

.detail-mortgage-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f2fbfd 100%);
  box-shadow: 0 12px 26px rgba(14, 39, 62, .08);
}

.detail-mortgage-card h2 {
  margin: 0;
  color: #10253b;
  font-size: 24px;
  line-height: 1.12;
}

.detail-mortgage-card > strong {
  color: var(--brand-dark);
  font-size: 31px;
  line-height: 1;
}

.detail-mortgage-card p {
  margin: 0;
  color: #53697c;
  font-size: 14px;
  line-height: 1.5;
}

.detail-mortgage-facts {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.detail-mortgage-facts span {
  display: block;
  padding: 10px;
  border: 1px solid #d7e5ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: #5a6f82;
  font-size: 12px;
  line-height: 1.45;
}

.detail-mortgage-facts b {
  display: block;
  margin-top: 3px;
  color: #21364a;
  font-size: 15px;
}

.detail-meta-card {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.detail-meta-card div {
  display: grid;
  gap: 4px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
}

.detail-meta-card div:first-child {
  border-top: 0;
}

.detail-meta-card strong {
  color: #22384d;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .single-agent-popup-dialog {
    width: min(760px, 100%);
    grid-template-columns: 1fr;
  }

  .single-agent-popup-media {
    min-height: 220px;
  }

  .single-agent-popup-media img {
    min-height: 220px;
    max-height: 300px;
  }

  .public-header {
    flex-wrap: wrap;
    padding-inline: 18px;
  }

  .public-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .public-search,
  .listing-search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-search {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .finance-filter-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-search-copy {
    display: block;
  }

  .hero-search label,
  .hero-search .search-type-filter,
  .hero-search label:nth-of-type(1),
  .hero-search label:nth-of-type(2),
  .hero-search label:nth-of-type(3),
  .hero-search label:nth-of-type(4),
  .hero-search label:nth-of-type(5),
  .hero-search label:nth-of-type(6),
  .hero-search .search-keyword,
  .hero-search .search-actions {
    grid-column: span 1;
  }

  .hero-search .search-keyword {
    grid-column: span 2;
  }

  .hero-search .search-actions {
    grid-column: span 2;
  }

  .search-keyword {
    grid-column: span 2;
  }

  .service-grid,
  .benefit-grid,
  .seller-grid,
  .team-grid,
  .review-grid,
  .google-reviews-inner,
  .buyer-process-grid,
  .single-agent-card-grid,
  .page-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-path-card {
    min-height: 330px;
  }

  .home-path-note {
    flex-wrap: wrap;
  }

  .home-path-note p {
    flex-basis: 100%;
    text-align: center;
  }

  .home-objective-panel {
    width: min(1180px, calc(100% - 36px));
    padding: 34px 24px 18px;
  }

  .home-objective-steps {
    padding-inline: 0;
  }

  .home-objective-grid.service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-objective-grid.service-grid article {
    min-height: 390px;
  }

  .home-objective-footer {
    grid-template-columns: auto auto auto;
    justify-content: center;
  }

  .home-objective-footer-divider {
    display: none;
  }

  .home-objective-footer p {
    grid-column: 1 / -1;
    text-align: center;
  }

  .google-reviews-grid {
    grid-template-columns: 1fr;
  }

  .single-agent-journey {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    overflow-x: auto;
  }

  .single-agent-top {
    grid-template-columns: 1fr;
  }

  .single-agent-client-photos {
    max-width: 520px;
    justify-content: flex-start;
  }

  .public-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-top {
    grid-template-columns: 1fr;
  }

  .detail-media {
    min-height: 360px;
  }

  .detail-media-main {
    min-height: 360px;
  }

  .detail-media-stage {
    min-height: 360px;
  }

  .detail-purchase-stack {
    height: auto;
  }

  .detail-purchase {
    overflow: visible;
  }

  .detail-purchase h1 {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .detail-intro p {
    -webkit-line-clamp: 6;
  }

  .detail-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zones-inner,
  .about-section,
  .buyer-advisory-intro,
  .founder-story-layout,
  .contact-inner,
  .contact-hero-inner,
  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .contact-hero-card {
    max-width: 520px;
  }

  .contact-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyer-signup-grid,
  .buyer-signup-grid-text {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyer-signup-grid.buyer-home-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyer-wizard-body {
    grid-template-columns: 1fr;
  }

  .buyer-advisor-card {
    position: static;
    margin-top: 0;
  }

  .buyer-promise-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .buyer-promise-card {
    min-height: 0;
  }

  .buyer-promise-card:not(:last-child)::after {
    display: none;
  }

  .founder-story-media figure:first-child {
    min-height: 440px;
  }
}

@media (max-width: 995px), (max-height: 648px) {
  .public-site.mobile-menu-open {
    overflow: hidden;
  }

  .public-header {
    min-height: 84px;
    flex-wrap: nowrap;
    gap: 14px;
    padding: 12px max(14px, env(safe-area-inset-left)) 12px max(14px, env(safe-area-inset-left));
  }

  .public-mobile-menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #31475c;
    cursor: pointer;
  }

  .public-mobile-menu-toggle span {
    width: 26px;
    height: 2.5px;
    display: block;
    border-radius: 999px;
    background: currentColor;
  }

  .public-brand {
    min-width: 0;
  }

  .public-brand img {
    width: clamp(124px, 22vw, 156px);
  }

  .public-nav {
    display: none;
  }

  .public-header-actions {
    margin-left: auto;
    gap: 10px;
  }

  .public-client-access {
    display: none;
  }

  .public-header-phone {
    display: none;
  }

  .client-access-copy strong,
  .public-client-access > span:not(.client-access-icon) {
    max-width: 11ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .public-lang-menu summary {
    min-width: 56px;
    min-height: 42px;
    border-radius: 14px;
  }

  .public-mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2580;
    display: block;
    background: rgba(9, 24, 42, .52);
    backdrop-filter: blur(5px);
  }

  .public-mobile-menu-backdrop[hidden] {
    display: none;
  }

  .public-mobile-menu {
    position: fixed;
    z-index: 2600;
    top: 8px;
    bottom: 8px;
    left: 8px;
    width: min(390px, calc(100vw - 28px));
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 14px;
    padding: max(16px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 1px solid rgba(205, 221, 235, .9);
    border-radius: 24px;
    background:
      linear-gradient(180deg, #ffffff 0%, #f4f8fc 58%, #eef5fb 100%);
    box-shadow: 24px 18px 70px rgba(8, 22, 38, .28);
    pointer-events: none;
    transform: translateX(calc(-100% - 18px));
    transition: transform .24s ease;
  }

  .public-site.mobile-menu-open .public-mobile-menu {
    pointer-events: auto;
    transform: translateX(0);
  }

  .public-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 54px;
    padding: 0 2px 2px 6px;
  }

  .public-mobile-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }

  .public-mobile-brand img {
    width: 154px;
    height: auto;
    display: block;
  }

  .public-mobile-menu-close {
    width: 44px;
    height: 44px;
    border: 1px solid #cfe0ed;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: #123b70;
    cursor: pointer;
    font: inherit;
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(18, 59, 112, .08);
  }

  .public-mobile-account-card {
    min-height: 82px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(190, 215, 234, .95);
    border-radius: 18px;
    background:
      linear-gradient(135deg, rgba(237, 248, 255, .98) 0%, rgba(255, 255, 255, .96) 100%);
    color: #0d2238;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(18, 59, 112, .10);
  }

  .public-mobile-account-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #123b70;
    color: #ffffff;
  }

  .public-mobile-account-icon svg,
  .public-mobile-nav svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .public-mobile-account-card small,
  .public-mobile-account-card strong {
    display: block;
    min-width: 0;
  }

  .public-mobile-account-card small {
    color: #64758a;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .public-mobile-account-card strong {
    margin-top: 2px;
    color: #123b70;
    font-size: 18px;
    line-height: 1.1;
  }

  .public-mobile-account-card b {
    color: #7890a5;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
  }

  .public-mobile-nav {
    display: grid;
    align-content: start;
    gap: 9px;
    padding-top: 2px;
  }

  .public-mobile-nav a {
    min-height: 58px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 8px;
    border: 1px solid rgba(211, 224, 235, .86);
    border-radius: 16px;
    background: rgba(255, 255, 255, .76);
    color: #12233a;
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: 0 10px 24px rgba(18, 59, 112, .05);
  }

  .public-mobile-nav i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eef7ff;
    color: #287cc1;
  }

  .public-mobile-nav a.active {
    border-color: rgba(40, 124, 193, .36);
    background: #eaf5ff;
    color: #123b70;
    font-weight: 950;
  }

  .public-mobile-nav a.active i {
    background: #123b70;
    color: #ffffff;
  }

  .public-mobile-nav b {
    color: #8ba0b4;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
  }

  .public-mobile-menu-actions {
    display: grid;
    gap: 12px;
    padding: 12px 0 0;
    border-top: 1px solid #dbe8f2;
  }

  .public-mobile-phone {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eef7fb;
    color: #123b70;
    font-size: 16px;
    font-weight: 950;
    text-decoration: none;
  }

  .public-mobile-lang {
    display: flex;
    justify-content: center;
  }

  .public-mobile-lang .public-lang-list {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 780px) {
  .public-shell {
    width: min(100% - 28px, 1180px);
  }

  .single-agent-popup {
    align-items: center;
    padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
  }

  .single-agent-popup-dialog {
    width: min(100%, 430px);
    max-height: calc(100dvh - 16px);
    grid-template-rows: auto minmax(0, 1fr);
    border-radius: 20px;
  }

  .single-agent-popup-close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .single-agent-popup-media {
    min-height: 86px;
  }

  .single-agent-popup-media img {
    min-height: 86px;
    max-height: 118px;
    object-position: center 28%;
  }

  .single-agent-popup-media::after,
  .single-agent-popup-media figcaption {
    display: none;
  }

  .single-agent-popup-content {
    min-height: 0;
    padding: 14px 16px 16px;
    overflow-y: auto;
  }

  .single-agent-popup-kicker {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .single-agent-popup-kicker::before {
    width: 22px;
  }

  .single-agent-popup-content h2 {
    font-size: 21px;
    line-height: 1.14;
  }

  .single-agent-popup-content > p {
    margin: 7px 0 10px;
    font-size: 13px;
    line-height: 1.32;
  }

  .single-agent-popup-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
  }

  .single-agent-popup-form label {
    gap: 4px;
    font-size: 11px;
  }

  .single-agent-popup-form label span {
    min-height: 15px;
  }

  .single-agent-popup-form input,
  .single-agent-popup-form select,
  .single-agent-popup-form textarea {
    min-height: 36px;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .single-agent-popup-form textarea {
    min-height: 42px;
  }

  .single-agent-popup-form button {
    min-height: 40px;
    border-radius: 12px;
    font-size: 14px;
  }

  .single-agent-popup-form small {
    font-size: 10px;
  }

  .single-agent-popup-form output {
    min-height: 16px;
    font-size: 12px;
  }

  .buyer-signup-panel {
    padding: 22px;
    border-radius: 18px;
  }

  .buyer-signup-head {
    display: grid;
    gap: 12px;
  }

  .buyer-signup-head h2 {
    font-size: 34px;
  }

  .buyer-wizard-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
  }

  .buyer-wizard-progress span {
    grid-template-columns: 40px auto;
    min-height: 40px;
  }

  .buyer-wizard-progress b {
    width: 40px;
    height: 40px;
  }

  .buyer-signup-grid,
  .buyer-signup-grid-text {
    grid-template-columns: 1fr;
  }

  .buyer-signup-grid.buyer-home-metrics {
    grid-template-columns: 1fr;
  }

  .buyer-signup-grid > label,
  .buyer-signup-grid > .buyer-field-wide {
    grid-column: auto;
  }

  .buyer-signup-grid-text label:last-child {
    grid-column: auto;
  }

  .buyer-choice-group label {
    width: 100%;
  }

  .buyer-wizard-actions {
    justify-content: stretch;
  }

  .buyer-wizard-actions button {
    width: 100%;
  }

  .buyer-advisor-card {
    padding: 24px;
  }

  .public-header {
    padding: 12px 14px;
    gap: 10px 12px;
  }

  .public-brand {
    min-width: 118px;
  }

  .public-brand img {
    width: 128px;
  }

  .public-header-actions {
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .public-lang {
    max-width: none;
    overflow: visible;
  }

  .public-client-access,
  .public-staff-access {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .public-nav a {
    min-width: 0;
    padding: 7px 8px;
    font-size: 13px;
  }

  .public-nav {
    flex-wrap: wrap;
    gap: 3px;
    overflow: visible;
  }

  .public-hero {
    min-height: auto;
    display: block;
    align-items: start;
    padding: 34px 0 24px;
  }

  .hero-copy h1,
  .page-hero h1,
  .page-review h1,
  .page-contact h1,
  .listing-head h1,
  .detail-hero h1 {
    font-size: 33px;
    line-height: 1.08;
  }

  .estate-hero .hero-copy h1 {
    font-size: clamp(34px, 10.25vw, 40px);
    line-height: 1.06;
  }

  .estate-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .estate-hero .hero-search-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 10px;
  }

  .estate-hero .hero-search-tabs .site-button {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .estate-hero .hero-search-tabs .site-button + .site-button {
    margin-left: 0;
  }

  .estate-hero .hero-search-tabs .site-button.ghost {
    background: rgba(255, 255, 255, .11);
    border-color: rgba(255, 255, 255, .36);
  }

  .hero-search-tabs + .public-search-toggle {
    min-height: 52px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 165, 202, .18);
  }

  .estate-hero .hero-actions .site-button {
    width: 100%;
  }

  .buyer-video-hero .listing-head {
    width: min(100%, calc(100vw - 24px));
    align-items: stretch;
    gap: 26px;
  }

  .buyer-video-hero .listing-head > div {
    width: 100%;
    max-width: 100%;
  }

  .buyer-video-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(33px, 9.25vw, 42px);
  }

  .buyer-video-hero .listing-head p:not(.site-eyebrow) {
    max-width: 100%;
  }

  .buyer-video-hero .site-button {
    width: 100%;
    min-height: 58px;
    justify-content: center;
    border-radius: 14px;
    font-size: 18px;
    text-align: center;
  }

  .hero-copy p:not(.site-eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-search-wrap {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(430px, calc(100vw - 24px));
    transform: none;
    margin-top: 24px;
  }

  .public-search,
  .listing-search {
    grid-template-columns: 1fr;
  }

  .public-search-toggle {
    width: 100%;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    padding: 11px 17px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 14px 28px rgba(18, 59, 112, .24);
  }

  .public-site.search-open {
    overflow: auto;
  }

  .public-site.search-open::before {
    display: none;
  }

  .public-site.search-open .hero-search-wrap,
  .public-site.search-open .listing-filter {
    position: relative;
    z-index: 4;
  }

  .public-site.search-open .web-chat-widget {
    display: none;
  }

  .public-search-toggle[aria-expanded="true"] {
    position: absolute;
    top: -58px;
    right: 0;
    left: auto;
    z-index: 8;
    width: 48px;
    min-height: 48px;
    padding: 0;
    border: 2px solid #cfe4f0;
    border-radius: 12px;
    background: #fff;
    color: #123b70;
    font-size: 0;
    box-shadow: none;
  }

  .public-search-toggle[aria-expanded="true"]::before {
    content: "\00d7";
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
  }

  .listing-filter .public-search-toggle {
    border-color: rgba(219, 229, 238, .96);
  }

  .public-search {
    display: none;
  }

  .public-search.is-open {
    display: grid;
    position: relative;
    z-index: 5;
    align-content: start;
    gap: 14px;
    margin: 18px calc(50% - 50vw) -24px;
    padding: 20px 20px 28px;
    overflow: visible;
    border: 0;
    border-radius: 24px 24px 0 0;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 -10px 26px rgba(8, 22, 38, .08);
  }

  .hero-search {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .public-search.is-open label,
  .public-search.is-open .search-location-filter,
  .public-search.is-open .search-type-filter,
  .public-search.is-open .finance-filter {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
  }

  .public-search.is-open > label > span,
  .public-search.is-open > .search-location-filter > span,
  .public-search.is-open > .search-type-filter > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .public-search.is-open select,
  .public-search.is-open input,
  .public-search.is-open .multi-select summary {
    width: 100%;
    min-height: 72px;
    border: 1px solid rgba(209, 218, 226, .92);
    border-radius: 14px;
    padding: 0 22px;
    background: #fff;
    color: #182234;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(14, 39, 62, .04);
  }

  .public-search.is-open .search-actions {
    order: 9;
    min-height: 0;
    padding: 0;
    background: transparent;
  }

  .public-search.is-open .finance-filter {
    order: 8;
  }

  .public-search.is-open .search-actions button {
    min-height: 58px;
    border-radius: 14px;
    font-size: 18px;
  }

  .public-search.is-open .map-submit-button {
    min-height: 58px;
    border-color: #d5e5ee;
    background: #f7fcff;
  }

  .finance-filter {
    border-radius: 12px;
  }

  .finance-filter summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .finance-filter summary::after {
    position: absolute;
    right: 14px;
    top: 12px;
  }

  .finance-filter-fields {
    grid-template-columns: 1fr;
  }

  .finance-filter-fields p {
    margin-top: 0;
  }

  .listing-view-switch {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .listing-view-switch a {
    min-width: 0;
  }

  .map-page-head,
  .map-experience {
    grid-template-columns: 1fr;
  }

  .map-sidebar,
  .property-map-shell {
    grid-column: auto;
    grid-row: auto;
  }

  .property-map-shell {
    order: 1;
  }

  .map-sidebar {
    order: 2;
    min-height: 0;
  }

  .map-featured-panel {
    height: auto;
  }

  .map-head-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .map-title-block h2 {
    font-size: 28px;
  }

  .map-title-block p:last-child {
    font-size: 16px;
  }

  .property-map,
  .map-canvas-shell .property-map {
    min-height: 430px;
  }

  .map-search-area {
    top: 12px;
    max-width: calc(100% - 28px);
    white-space: normal;
  }

  .map-legend {
    left: 12px;
    right: 12px;
    bottom: 70px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .map-layer-switch {
    right: 12px;
    bottom: 12px;
  }

  .property-map-popup {
    grid-template-columns: 1fr;
  }

  .property-map-popup img {
    width: 100%;
    height: 120px;
  }

  .hero-search label,
  .hero-search .search-type-filter,
  .hero-search .search-keyword,
  .hero-search .search-actions {
    grid-column: auto;
  }

  .search-actions {
    min-width: 0;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .search-keyword {
    grid-column: auto;
  }

  .hero-search-wrap {
    width: min(100%, calc(100vw - 24px));
  }

  .estate-hero .hero-search-wrap {
    width: min(430px, calc(100vw - 24px));
  }

  .public-search-toggle[aria-expanded="true"] {
    top: -58px;
    right: 0;
    left: auto;
    width: 46px;
    min-height: 46px;
    border: 1px solid #cfe0ed;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(16, 38, 62, .08);
  }

  .public-search.is-open {
    width: min(100%, 520px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px auto -16px;
    padding: 18px 14px;
    border: 1px solid rgba(211, 224, 235, .9);
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 254, .98) 100%);
    box-shadow: 0 22px 54px rgba(8, 22, 38, .18);
  }

  .public-search.is-open label,
  .public-search.is-open .search-location-filter,
  .public-search.is-open .search-type-filter,
  .public-search.is-open .finance-filter {
    min-height: 58px;
    display: grid;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(207, 221, 234, .92);
    border-radius: 15px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 24px rgba(16, 38, 62, .05);
  }

  .public-search.is-open label:nth-of-type(7),
  .public-search.is-open .search-keyword,
  .public-search.is-open .finance-filter,
  .public-search.is-open .search-actions {
    grid-column: 1 / -1;
  }

  .public-search.is-open select,
  .public-search.is-open input,
  .public-search.is-open .multi-select summary {
    min-height: 56px;
    border: 0;
    border-radius: 0;
    padding: 0 8px;
    background-color: transparent;
    color: #152235;
    font-size: 15px;
    font-weight: 850;
    box-shadow: none;
  }

  .public-search.is-open .multi-options {
    z-index: 90;
    width: min(420px, calc(100vw - 64px));
    max-width: calc(100vw - 64px);
  }

  .public-search.is-open .multi-options label {
    min-height: 48px;
    padding: 10px 12px;
    color: #172231;
    font-size: 15px;
    font-weight: 850;
  }

  .public-search.is-open .multi-options label > span {
    position: static;
    width: auto;
    height: auto;
    overflow: hidden;
    clip: auto;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: normal;
  }

  .public-search.is-open select:disabled,
  .public-search.is-open .multi-select.is-disabled summary,
  .public-search.is-open input::placeholder {
    color: #7a8795;
    opacity: 1;
  }

  .public-search.is-open .finance-filter {
    padding: 0;
    overflow: hidden;
  }

  .public-search.is-open .finance-filter summary {
    min-height: 58px;
    align-items: center;
    flex-direction: row;
    padding: 0 14px;
  }

  .public-search.is-open .finance-filter summary::after {
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
  }

  .public-search.is-open .finance-filter-fields {
    padding: 0 12px 14px;
  }

  .public-search.is-open .search-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 2px;
  }

  .public-search.is-open .search-actions button {
    min-height: 54px;
    border-radius: 15px;
    font-size: 15px;
    box-shadow: 0 12px 24px rgba(18, 59, 112, .18);
  }

  .public-search.is-open .map-submit-button {
    min-height: 54px;
    border-color: rgba(39, 120, 168, .28);
    background: #eef7ff;
    color: #123b70;
    box-shadow: none;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .single-agent-section,
  .single-agent-section-home,
  .single-agent-section-buyer {
    padding: 48px 0 26px;
  }

  .single-agent-inner,
  .single-agent-top,
  .single-agent-copy,
  .single-agent-client-photos,
  .single-agent-journey,
  .single-agent-card-grid,
  .single-agent-footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .single-agent-inner {
    padding: 22px 14px 16px;
    overflow-x: hidden;
  }

  .single-agent-copy h2 {
    font-size: 30px;
  }

  .single-agent-copy p:not(.site-eyebrow) {
    font-size: 16px;
  }

  .single-agent-card-grid {
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .single-agent-client-photos {
    gap: 10px;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px 0 12px;
  }

  .single-agent-client-photos figure:first-child {
    transform: rotate(-1.5deg);
  }

  .single-agent-client-photos figure:nth-child(2) {
    transform: rotate(1.5deg);
  }

  .single-agent-client-photos figure {
    flex: 0 0 168px;
    padding: 8px;
    border-radius: 18px;
  }

  .single-agent-client-photos img {
    height: 178px;
  }

  .single-agent-journey,
  .single-agent-card-grid,
  .single-agent-client-photos {
    overscroll-behavior-x: contain;
  }

  .single-agent-footer {
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: stretch;
    gap: 10px 12px;
    padding: 14px;
  }

  .single-agent-footer strong,
  .single-agent-footer p,
  .single-agent-footer em {
    grid-column: 2;
    min-width: 0;
    text-align: left;
    white-space: normal;
  }

  .single-agent-footer-badge {
    grid-column: 1;
  }

  .single-agent-footer-divider {
    display: none;
  }

  .page-link-grid {
    grid-template-columns: 1fr;
    padding-bottom: 54px;
  }

  .home-paths-section.page-section {
    width: min(100% - 28px, 1180px);
    margin-top: 30px;
    margin-bottom: 42px;
    padding: 26px 14px 16px;
    overflow-x: hidden;
  }

  .home-paths-head {
    margin-bottom: 18px;
  }

  .home-paths-head h2 {
    max-width: 320px;
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  .home-paths-head .home-paths-intro {
    max-width: 310px;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .home-path-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-path-card {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    grid-template-rows: auto auto auto;
    gap: 14px;
    padding: 20px 18px 16px;
    overflow: hidden;
  }

  .home-path-card > span:not(.home-path-icon) {
    min-height: 0;
  }

  .home-path-card strong {
    -webkit-line-clamp: 3;
  }

  .home-path-card img {
    height: 134px;
  }

  .home-path-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 16px;
  }

  .home-path-note strong,
  .home-path-note em {
    white-space: normal;
  }

  .home-path-note-divider {
    width: 100%;
    height: 1px;
  }

  .home-path-note p {
    text-align: left;
  }

  .home-objective-band {
    padding: 36px 0 42px;
    overflow-x: hidden;
  }

  .home-objective-panel {
    width: min(1180px, calc(100% - 24px));
    padding: 28px 10px 14px;
    overflow-x: hidden;
  }

  .home-objective-head {
    text-align: left;
  }

  .home-objective-head .site-eyebrow {
    font-size: 14px;
  }

  .home-objective-band .home-objective-head h2 {
    max-width: 310px;
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  .home-objective-head > p:not(.site-eyebrow) {
    max-width: 310px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .home-objective-steps {
    grid-template-columns: repeat(5, minmax(96px, 1fr));
    max-width: 100%;
    overflow-x: auto;
    margin: 22px 0 18px;
    padding-bottom: 8px;
  }

  .home-objective-steps div:not(:first-child)::before {
    width: 46px;
    right: calc(50% + 30px);
  }

  .home-objective-steps span {
    width: 44px;
    height: 44px;
  }

  .home-objective-grid.service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    min-width: 0;
    overflow-x: hidden;
  }

  .home-objective-grid.service-grid article {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    grid-template-rows: auto auto auto;
    gap: 13px;
    padding: 20px 14px 16px;
    overflow: hidden;
  }

  .home-objective-grid.service-grid p {
    max-width: 270px;
  }

  .home-objective-grid.service-grid img {
    max-width: 100%;
    height: 138px;
  }

  .home-objective-footer {
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: stretch;
    align-items: start;
    gap: 10px 12px;
    padding: 16px;
  }

  .home-objective-footer strong,
  .home-objective-footer em,
  .home-objective-footer p {
    grid-column: 2;
    text-align: left;
    white-space: normal;
  }

  .home-objective-footer-icon {
    grid-column: 1;
  }

  .split-section,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-section,
  .property-section,
  .benefits-section,
  .google-reviews-band {
    padding: 54px 0;
  }

  .split-section h2,
  .service-band h2,
  .buyer-advisory-intro h2,
  .seller-services h2,
  .zones-inner h2,
  .about-section h2,
  .founder-story-copy h2,
  .team-section h2,
  .contact-section h2,
  .property-section h2,
  .seller-cta h2,
  .benefits-section h2,
  .google-reviews-summary h2,
  .review-band h2,
  .detail-content h2 {
    font-size: 29px;
  }

  .service-grid,
  .service-grid-three,
  .benefit-grid,
  .google-reviews-inner,
  .google-reviews-grid,
  .founder-story-cards,
  .seller-grid,
  .buyer-process-grid,
  .public-property-grid,
  .team-grid,
  .review-grid,
  .contact-option-grid,
  .contact-timeline {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    min-height: 190px;
    padding: 18px;
  }

  .team-card-photo {
    width: 106px;
    height: 106px;
  }

  .team-grid h3 {
    font-size: 19px;
  }

  .team-grid p,
  .team-card-phone,
  .team-card-more {
    font-size: 16px;
  }

  .contact-hero,
  .contact-hero.page-contact {
    padding: 30px 0 32px;
  }

  .contact-hero-copy h1 {
    font-size: 34px;
    line-height: 1.04;
  }

  .contact-hero-copy > p:not(.site-eyebrow) {
    font-size: 17px;
  }

  .contact-hero-actions a {
    width: 100%;
  }

  .contact-hero-card figure,
  .contact-hero-card img {
    height: 240px;
    min-height: 0;
  }

  .contact-form-section {
    padding: 32px 0 18px;
  }

  .page-section.contact-options-section {
    width: min(100% - 28px, 1180px);
    padding: 34px 18px;
  }

  .contact-form-copy h2,
  .contact-options-section h2 {
    font-size: 29px;
  }

  .contact-lead-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .contact-form-promises article {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-promises p {
    grid-column: 1 / -1;
  }

  .contact-timeline article::after {
    display: none;
  }

  .welcome-card,
  .buyer-advisory-media,
  .buyer-advisory-media img,
  .about-media {
    min-height: 260px;
  }

  .founder-story-media {
    grid-template-columns: 1fr;
  }

  .founder-story-media figure,
  .founder-story-media figure:first-child {
    min-height: 310px;
  }

  .buyer-advisory-section {
    padding: 54px 0;
  }

  .buyer-promise-panel {
    padding: 22px;
  }

  .buyer-promise-head h2 {
    font-size: 28px;
  }

  .buyer-promise-head > p:last-child {
    font-size: 16px;
  }

  .buyer-promise-card {
    padding: 22px;
  }

  .buyer-promise-card h3 {
    font-size: 22px;
  }

  .buyer-promise-card p {
    font-size: 15px;
  }

  .buyer-promise-footer {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
  }

  .buyer-promise-footer::before {
    display: none;
  }

  .buyer-promise-footer strong,
  .buyer-promise-footer p {
    grid-column: 2;
  }

  .buyer-promise-footer p {
    border-left: 0;
    padding-left: 0;
  }

  .buyer-promise-footer > span {
    grid-row: 1 / span 2;
  }

  .seller-services,
  .about-section,
  .team-section,
  .founder-story,
  .contact-section,
  .zones-section {
    padding: 54px 0;
  }

  .section-head,
  .client-success-head,
  .seller-inner,
  .listing-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-success-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .client-success-card {
    flex-basis: min(82vw, 340px);
  }

  .client-success-card img {
    height: 390px;
  }

  .seller-inner {
    padding: 52px 0;
  }

  .detail-aside {
    position: static;
  }

  .property-showcase {
    padding: 16px 0 12px;
  }

  .detail-top {
    gap: 14px;
  }

  .detail-media {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .detail-media-main {
    aspect-ratio: 4 / 3;
  }

  .detail-media-stage {
    height: min(74vw, 380px);
    min-height: 260px;
  }

  .detail-media-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .detail-thumb img {
    aspect-ratio: 1 / 1;
  }

  .detail-gallery-viewer {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 12px;
  }

  .detail-gallery-viewer figure {
    grid-column: 1;
    width: 100%;
    max-height: calc(100dvh - 24px);
  }

  .detail-gallery-viewer-image {
    max-height: calc(100dvh - 82px);
  }

  .detail-gallery-viewer-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 27px;
  }

  .detail-gallery-viewer-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 42px;
    height: 42px;
    font-size: 32px;
    transform: translateY(-50%);
  }

  .detail-gallery-viewer-prev {
    left: 12px;
  }

  .detail-gallery-viewer-next {
    right: 12px;
  }

  .listing-gallery-arrow {
    opacity: .88;
  }

  .listing-gallery-zone {
    width: 34%;
  }

  .detail-purchase-stack {
    align-self: auto;
  }

  .detail-purchase {
    height: auto;
    padding: 20px;
  }

  .detail-purchase h1 {
    font-size: 27px;
  }

  .detail-price {
    font-size: 28px;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }

  .detail-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-fact-grid article {
    min-height: 74px;
  }

  .detail-main .detail-fact-panel,
  .detail-main .detail-map-card,
  .detail-main .detail-description-card,
  .detail-main .detail-gallery-card {
    padding: 20px;
  }

  .detail-map-frame {
    min-height: 220px;
  }

  .detail-map-frame iframe {
    height: 220px;
  }

  .detail-map-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .detail-gallery-viewer {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 8px;
    overflow: hidden;
    isolation: isolate;
  }

  .detail-gallery-viewer::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -36px;
    background-image: linear-gradient(rgba(5, 18, 31, .46), rgba(5, 18, 31, .62)), var(--detail-gallery-backdrop, none);
    background-position: center;
    background-size: cover;
    filter: blur(24px) saturate(.86);
    opacity: .7;
    transform: scale(1.08);
    pointer-events: none;
  }

  .detail-gallery-viewer figure {
    position: relative;
    z-index: 1;
    grid-column: 1;
    width: 100%;
    height: calc(100dvh - 16px);
    max-height: none;
    overflow: hidden;
    gap: 0;
  }

  .detail-gallery-viewer-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    border-radius: 8px;
  }

  .detail-gallery-viewer-count {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(5, 18, 31, .72);
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
  }

  .detail-gallery-viewer-close {
    z-index: 4;
    top: 8px;
    right: 8px;
  }

  .detail-gallery-viewer-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
  }

  .detail-gallery-viewer-prev {
    left: 10px;
  }

  .detail-gallery-viewer-next {
    right: 10px;
  }
}

@media (max-width: 380px), (max-height: 700px) {
  .single-agent-popup-dialog {
    max-height: calc(100dvh - 12px);
    border-radius: 18px;
  }

  .single-agent-popup-media,
  .single-agent-popup-media img {
    min-height: 72px;
    max-height: 92px;
  }

  .single-agent-popup-content {
    padding: 12px 13px 13px;
  }

  .single-agent-popup-kicker {
    display: none;
  }

  .single-agent-popup-content h2 {
    font-size: 19px;
  }

  .single-agent-popup-content > p {
    font-size: 12px;
  }

  .single-agent-popup-form {
    gap: 5px 7px;
  }
}

.property-listing-page .public-property-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
  gap: 24px;
}

.property-listing-page .public-property-card {
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(14, 39, 62, .11);
}

.property-listing-page .public-property-media {
  height: clamp(230px, 19vw, 310px);
  border-radius: 22px 22px 0 0;
}

.property-listing-page .property-monthly-badge {
  top: 20px;
  left: 20px;
  min-height: 44px;
  gap: 9px;
  padding: 10px 18px;
  font-size: 14px;
}

.property-listing-page .property-monthly-badge svg {
  width: 19px;
  height: 19px;
}

.property-listing-page .listing-gallery-count {
  left: 20px;
  bottom: 18px;
  min-height: 46px;
  gap: 8px;
  padding: 11px 18px;
  font-size: 15px;
}

.property-listing-page .listing-gallery-count svg {
  width: 18px;
  height: 18px;
}

.property-listing-page .property-favorite-form,
.property-listing-page .property-favorite-login-button {
  right: 16px;
  top: 16px;
}

.property-listing-page .property-favorite-button {
  width: 38px;
  height: 38px;
}

.property-listing-page .property-favorite-button svg {
  width: 20px;
  height: 20px;
}

.property-listing-page .public-property-body {
  gap: 11px;
  padding: 24px 24px 22px;
}

.property-listing-page .property-reference {
  font-size: 15px;
}

.property-listing-page .public-property-body h2 {
  font-size: clamp(24px, 1.75vw, 32px);
  line-height: 1.08;
}

.property-listing-page .property-title-rule {
  width: 40px;
  height: 3px;
}

.property-listing-page .property-price {
  font-size: clamp(31px, 2.4vw, 42px);
}

.property-listing-page .property-location {
  gap: 8px;
  font-size: 16px;
}

.property-listing-page .property-location svg {
  width: 20px;
  height: 20px;
}

.property-listing-page .public-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border-radius: 15px;
}

.property-listing-page .public-facts span {
  min-height: 44px;
  justify-content: flex-start;
  gap: 9px;
  padding: 0 8px;
  font-size: 14px;
}

.property-listing-page .public-facts span + span {
  border-left: 0;
}

.property-listing-page .public-facts span:nth-child(4) {
  grid-column: 1 / -1;
}

.property-listing-page .public-facts b {
  overflow-wrap: normal;
  word-break: keep-all;
}

.property-listing-page .public-facts span:nth-child(4) b,
.property-listing-page .public-facts span:nth-child(4) em {
  white-space: nowrap;
}

.property-listing-page .public-facts span:nth-child(4) em {
  display: inline;
}

.property-listing-page .public-facts i,
.property-listing-page .property-ai-highlight > span {
  width: 38px;
  height: 38px;
}

.property-listing-page .public-facts svg,
.property-listing-page .property-ai-highlight svg,
.property-listing-page .property-detail-button svg {
  width: 20px;
  height: 20px;
}

.property-listing-page .public-facts em {
  font-size: 12px;
}

.property-listing-page .property-card-footer {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 20px 24px 24px;
}

.property-listing-page .property-ai-highlight {
  gap: 12px;
}

.property-listing-page .property-ai-highlight strong {
  font-size: 16px;
}

.property-listing-page .property-ai-highlight small {
  font-size: 14px;
}

.property-listing-page .property-detail-button {
  min-height: 56px;
  gap: 12px;
  font-size: 18px;
}

.property-listing-page .public-property-card {
  border-radius: 18px;
  height: 100%;
}

.property-listing-page .public-property-media {
  height: clamp(220px, 18vw, 285px);
  border-radius: 18px 18px 0 0;
}

.property-listing-page .property-monthly-badge {
  top: 16px;
  left: 16px;
  min-height: 0;
  max-width: calc(100% - 32px);
  align-items: flex-start;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 12px;
  line-height: 1.1;
}

.property-listing-page .property-monthly-badge svg {
  width: 17px;
  height: 17px;
  margin-top: 1px;
}

.property-listing-page .property-badge-copy {
  display: grid;
  gap: 3px;
}

.property-listing-page .property-badge-copy > span {
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 900;
}

.property-listing-page .property-badge-copy strong {
  color: #fff;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}

.property-listing-page .property-photo-facts {
  position: absolute;
  z-index: 5;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(8, 30, 58, .16);
  backdrop-filter: blur(10px);
}

.property-listing-page .property-photo-facts span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0b1e46;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.12;
}

.property-listing-page .property-photo-facts i {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6f0ff;
  color: #0b1e46;
}

.property-listing-page .property-photo-facts svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-listing-page .property-photo-facts b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-listing-page .public-property-body {
  gap: 8px;
  grid-template-rows: 52px 20px;
  padding: 16px 18px 12px;
  flex: 1 1 auto;
}

.property-listing-page .property-reference,
.property-listing-page .property-title-rule,
.property-listing-page .property-price,
.property-listing-page .public-facts {
  display: none;
}

.property-listing-page .public-property-body h2 {
  min-height: 52px;
  font-size: clamp(18px, 1.28vw, 23px);
  line-height: 1.12;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
}

.property-listing-page .property-location {
  gap: 7px;
  min-height: 20px;
  font-size: 13px;
}

.property-listing-page .property-location svg {
  width: 18px;
  height: 18px;
}

.property-listing-page .property-ai-highlight {
  align-items: flex-start;
  gap: 8px;
  min-height: 76px;
  padding: 10px;
  border-radius: 12px;
  background: #f5f8fc;
}

.property-listing-page .property-ai-highlight > span {
  width: 30px;
  height: 30px;
}

.property-listing-page .property-ai-highlight svg {
  width: 16px;
  height: 16px;
}

.property-listing-page .property-ai-highlight strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.property-listing-page .property-ai-highlight small {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.property-listing-page .property-card-footer {
  margin-top: auto;
  padding: 0 18px 18px;
  border-top: 0;
}

.property-listing-page .property-detail-button {
  min-height: 40px;
  gap: 9px;
  font-size: 14px;
}

.property-detail-button,
.property-detail-button:visited,
.property-detail-button:hover {
  color: #fff;
}

.property-detail-button span,
.property-detail-button svg {
  color: #fff;
  stroke: #fff;
}

@media (max-width: 1100px) {
  .property-listing-page .public-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-listing-page .public-property-media {
    height: clamp(250px, 35vw, 340px);
  }
}

@media (max-width: 760px) {
  .listing-filter-tools {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .listing-filter-tools .property-sort-form {
    margin-left: 0;
  }

  .property-sort-form {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .property-sort-form select {
    width: 100%;
    min-width: 0;
  }

  .property-listing-page .public-property-grid {
    grid-template-columns: 1fr;
  }

  .listing-location-spotlight {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px;
  }

  .listing-location-spotlight-image {
    height: 132px;
  }

  .listing-location-spotlight-action {
    width: 100%;
  }

  .property-listing-page .public-property-media {
    height: clamp(285px, 68vw, 430px);
  }
}

@media (max-width: 1100px) {
  .mayrasa-selection-section.property-listing-page .public-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section-head.mayrasa-selection-head {
    align-items: center;
    flex-direction: column;
  }

  .mayrasa-selection-intro {
    max-width: 32rem;
  }

  .mayrasa-selection-link {
    width: 100%;
  }

  .mayrasa-selection-section.property-listing-page .public-property-grid {
    grid-template-columns: 1fr;
  }
}

.cookie-consent {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 1200;
  width: min(420px, calc(100vw - 36px));
}

.cookie-consent-card {
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(28, 35, 43, .14);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(16, 24, 32, .18);
  color: #1e252d;
  padding: 18px;
}

.cookie-consent-copy {
  display: grid;
  gap: 8px;
}

.cookie-consent-copy .site-eyebrow {
  margin: 0;
}

.cookie-consent h2 {
  font-size: 21px;
  line-height: 1.14;
  margin: 0;
}

.cookie-consent p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.cookie-consent-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.cookie-consent-option {
  align-items: center;
  border: 1px solid rgba(28, 35, 43, .12);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.cookie-consent-option strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.cookie-consent-option small,
.cookie-consent-panel > p {
  color: #5b6672;
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 4px;
}

.cookie-consent-option input {
  accent-color: #1f5a52;
  height: 20px;
  width: 20px;
}

.cookie-consent-option.is-required input {
  opacity: .72;
}

.cookie-consent-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.cookie-consent-actions button {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(28, 35, 43, .22);
  border-radius: 8px;
  color: #1e252d;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  text-align: center;
}

.cookie-consent-actions button:hover,
.cookie-consent-actions button:focus-visible {
  border-color: #1f5a52;
  outline: none;
}

.cookie-consent-actions [data-cookie-consent-accept],
.cookie-consent-actions [data-cookie-consent-reject],
.cookie-consent-actions [data-cookie-consent-save] {
  background: #1f5a52;
  border-color: #1f5a52;
  color: #ffffff;
}

.cookie-consent-actions [data-cookie-consent-configure] {
  grid-column: 1 / -1;
  order: 3;
}

.cookie-consent-actions [data-cookie-consent-save] {
  grid-column: 1 / -1;
  order: 4;
}

@media (max-width: 560px) {
  .cookie-consent {
    bottom: 12px;
    left: 12px;
    width: calc(100vw - 24px);
  }

  .cookie-consent-card {
    padding: 15px;
  }

  .cookie-consent-actions {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions [data-cookie-consent-configure],
  .cookie-consent-actions [data-cookie-consent-save] {
    grid-column: auto;
  }
}
/* Dynamic location landing pages */
.zone-landing-page{background:#f7f5f0;color:#172522}.zone-landing-page main{overflow:hidden}.zone-hero{position:relative;min-height:clamp(570px,76vh,780px);display:flex;align-items:flex-end;background:#18332d}.zone-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.zone-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,25,21,.88) 0%,rgba(8,25,21,.58) 48%,rgba(8,25,21,.15) 100%),linear-gradient(0deg,rgba(8,25,21,.55),transparent 55%)}.zone-hero-content{position:relative;z-index:1;color:#fff;padding-top:150px;padding-bottom:clamp(70px,10vw,118px);max-width:1180px;width:100%}.zone-hero-content nav{display:flex;gap:10px;align-items:center;margin-bottom:32px;font-size:.8rem;text-transform:uppercase;letter-spacing:.14em;color:rgba(255,255,255,.74)}.zone-hero-content nav a{color:inherit}.zone-hero-content .site-eyebrow{color:#d8b97b}.zone-hero-content h1{max-width:940px;margin:.15em 0 .2em;font-size:clamp(3.2rem,7vw,6.8rem);line-height:.93;letter-spacing:-.055em;color:#fff}.zone-hero-content>p:not(.site-eyebrow){max-width:760px;font-size:clamp(1.05rem,2vw,1.36rem);line-height:1.55;color:rgba(255,255,255,.9)}.zone-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.zone-hero-actions .site-button.secondary{border-color:rgba(255,255,255,.56);color:#fff;background:rgba(255,255,255,.08)}.zone-intro{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);gap:clamp(48px,8vw,110px);align-items:center}.zone-lead{font-family: var(--site-font);font-size:clamp(1.45rem,2.3vw,2.15rem);line-height:1.45;color:#203b34}.zone-market-summary{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid rgba(23,55,47,.14);background:#fff;box-shadow:0 22px 70px rgba(19,48,41,.08)}.zone-market-summary article{min-height:150px;padding:30px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid rgba(23,55,47,.1);border-bottom:1px solid rgba(23,55,47,.1)}.zone-market-summary article:nth-child(2n){border-right:0}.zone-market-summary article:nth-last-child(-n+2){border-bottom:0}.zone-market-summary strong{font-family: var(--site-font);font-size:clamp(1.8rem,3vw,2.65rem);font-weight:500;color:#173a31}.zone-market-summary span{margin-top:8px;font-size:.76rem;text-transform:uppercase;letter-spacing:.12em;color:#6f7c77}.zone-story-section{padding:clamp(76px,9vw,130px) 0;background:#173a31;color:#f7f2e8}.zone-story-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,8vw,120px);align-items:center}.zone-story-grid article{max-width:620px}.zone-story-grid .site-eyebrow{color:#d8b97b}.zone-story-grid h2{font-size:clamp(2.2rem,4.4vw,4.2rem);line-height:1;color:#fff}.zone-story-grid p:last-child{font-size:1.05rem;line-height:1.85;color:rgba(255,255,255,.78)}.zone-story-card{padding:clamp(34px,5vw,64px);border:1px solid rgba(216,185,123,.34);background:rgba(255,255,255,.055)}.zone-market-grid{display:grid;grid-template-columns:repeat(4,1fr);margin:42px 0 18px;border-top:1px solid rgba(23,55,47,.16);border-bottom:1px solid rgba(23,55,47,.16)}.zone-market-grid article{padding:34px 24px;border-right:1px solid rgba(23,55,47,.13)}.zone-market-grid article:last-child{border-right:0}.zone-market-grid span{display:block;margin-bottom:12px;color:#75827e;font-size:.74rem;text-transform:uppercase;letter-spacing:.12em}.zone-market-grid strong{font-family: var(--site-font);font-size:clamp(1.65rem,2.7vw,2.5rem);font-weight:500;color:#173a31}.zone-market-note{max-width:800px;color:#6c7874;font-size:.89rem}.zone-taxonomy-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:70px;margin-top:62px}.zone-taxonomy-grid h3{margin-bottom:22px;font-size:1.45rem}.zone-chip-list{display:flex;flex-wrap:wrap;gap:10px}.zone-chip-list a{display:flex;align-items:center;gap:12px;padding:11px 15px;border:1px solid rgba(23,55,47,.14);border-radius:999px;background:#fff;color:#29473f;transition:.2s ease}.zone-chip-list a:hover{transform:translateY(-2px);border-color:#b58c4c}.zone-chip-list b{display:grid;place-items:center;min-width:25px;height:25px;padding:0 6px;border-radius:50%;background:#eef1ed;font-size:.72rem}.zone-map-section{padding:clamp(68px,8vw,116px) 0;background:#e8e5dd}.zone-map-grid{display:grid;grid-template-columns:minmax(280px,.65fr) minmax(0,1.35fr);gap:60px;align-items:center}.zone-map-grid h2{font-size:clamp(2.7rem,5vw,5rem);margin:.2em 0}.zone-map-grid p:not(.site-eyebrow){max-width:480px;line-height:1.7;color:#62706b}.zone-map-grid iframe{width:100%;height:500px;border:0;box-shadow:0 22px 70px rgba(19,48,41,.13);filter:saturate(.62) contrast(.96)}.zone-featured .public-property-grid{margin-top:38px}.zone-balance-section{padding:clamp(76px,9vw,130px) 0;background:#f0ede6}.zone-balance-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(23,55,47,.15);border:1px solid rgba(23,55,47,.15)}.zone-balance-grid article{padding:clamp(36px,6vw,72px);background:#f7f5f0}.zone-balance-grid article:last-child{background:#203f37;color:#fff}.zone-balance-grid article:last-child .site-eyebrow{color:#d8b97b}.zone-balance-grid article:last-child h2{color:#fff}.zone-balance-grid h2{font-size:clamp(2.25rem,4vw,3.8rem);margin:.25em 0 .75em}.zone-balance-grid ul{list-style:none;padding:0;margin:0}.zone-balance-grid li{position:relative;padding:18px 0 18px 28px;border-top:1px solid rgba(23,55,47,.13);line-height:1.55}.zone-balance-grid article:last-child li{border-color:rgba(255,255,255,.14)}.zone-balance-grid li:before{content:"";position:absolute;left:2px;top:27px;width:7px;height:7px;border-radius:50%;background:#b58c4c}.zone-faq>div:last-child{max-width:950px;margin-top:36px}.zone-faq details{border-top:1px solid rgba(23,55,47,.16)}.zone-faq details:last-child{border-bottom:1px solid rgba(23,55,47,.16)}.zone-faq summary{position:relative;padding:25px 54px 25px 0;cursor:pointer;list-style:none;font-size:1.12rem;font-weight:650;color:#203d35}.zone-faq summary::-webkit-details-marker{display:none}.zone-faq summary:after{content:"+";position:absolute;right:12px;top:18px;font-family: var(--site-font);font-size:2rem;font-weight:300;color:#b58c4c}.zone-faq details[open] summary:after{content:"−"}.zone-faq details p{max-width:790px;padding:0 0 28px;margin:0;color:#65736e;line-height:1.7}.zone-cta{display:flex;justify-content:space-between;align-items:center;gap:50px;margin-top:30px;margin-bottom:clamp(70px,8vw,120px);padding:clamp(38px,6vw,72px);background:#173a31;color:#fff}.zone-cta h2{max-width:730px;margin:.2em 0;font-size:clamp(2.1rem,4vw,4rem);line-height:1.05;color:#fff}.zone-cta p:not(.site-eyebrow){max-width:720px;color:rgba(255,255,255,.76);line-height:1.7}.zone-cta .site-eyebrow{color:#d8b97b}.zone-cta>div:last-child{display:flex;flex-direction:column;gap:12px;min-width:250px}.zone-cta .site-button.secondary{border-color:rgba(255,255,255,.46);color:#fff;background:transparent}
@media (max-width:900px){.zone-intro,.zone-story-grid,.zone-map-grid,.zone-balance-grid{grid-template-columns:1fr}.zone-intro{gap:42px}.zone-taxonomy-grid{grid-template-columns:1fr;gap:40px}.zone-market-grid{grid-template-columns:repeat(2,1fr)}.zone-market-grid article:nth-child(2){border-right:0}.zone-market-grid article:nth-child(-n+2){border-bottom:1px solid rgba(23,55,47,.13)}.zone-map-grid iframe{height:390px}.zone-cta{align-items:flex-start;flex-direction:column}.zone-cta>div:last-child{width:100%;flex-direction:row;flex-wrap:wrap}}
@media (max-width:620px){.zone-hero{min-height:650px}.zone-hero-shade{background:linear-gradient(0deg,rgba(8,25,21,.92),rgba(8,25,21,.26))}.zone-hero-content{padding-top:130px;padding-bottom:54px}.zone-hero-content h1{font-size:clamp(2.8rem,15vw,4.5rem)}.zone-hero-actions{display:grid}.zone-market-summary{grid-template-columns:1fr}.zone-market-summary article{min-height:112px;border-right:0}.zone-market-summary article:nth-last-child(-n+2){border-bottom:1px solid rgba(23,55,47,.1)}.zone-market-summary article:last-child{border-bottom:0}.zone-market-grid{grid-template-columns:1fr}.zone-market-grid article,.zone-market-grid article:nth-child(2){border-right:0;border-bottom:1px solid rgba(23,55,47,.13)}.zone-market-grid article:last-child{border-bottom:0}.zone-map-grid iframe{height:330px}.zone-story-card,.zone-balance-grid article{padding:32px 24px}.zone-cta{margin-left:16px;margin-right:16px;padding:34px 24px}.zone-cta>div:last-child{display:grid;min-width:0}.zone-hero-actions .site-button,.zone-cta .site-button{text-align:center}}

/* Premium local area guide */
.zone-landing-page {
  background: #f6f3ee;
  color: #132b2d;
}

.zone-guide-hero {
  min-height: min(700px, calc(100vh - 72px));
  align-items: center;
  background: #dceaf0;
}

.zone-guide-hero > img {
  filter: saturate(1.08) contrast(1.02);
}

.zone-guide-hero .zone-hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 34, 43, .72) 0%, rgba(12, 34, 43, .36) 47%, rgba(255, 255, 255, .12) 100%),
    linear-gradient(0deg, rgba(12, 34, 43, .44), rgba(12, 34, 43, .02) 58%);
}

.zone-guide-hero .zone-hero-content {
  max-width: 1180px;
  padding-top: 72px;
  padding-bottom: 58px;
}

.zone-guide-hero .zone-hero-content nav {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .82);
  letter-spacing: .08em;
}

.zone-guide-hero .site-eyebrow {
  color: #d9f4ff;
}

.zone-guide-hero h1 {
  max-width: 820px;
  font-size: clamp(2.9rem, 5.8vw, 5.9rem);
  line-height: .98;
  letter-spacing: 0;
}

.zone-guide-hero .zone-hero-content > p:not(.site-eyebrow) {
  max-width: 690px;
  font-size: clamp(1.03rem, 1.8vw, 1.28rem);
}

.zone-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 790px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .25);
  backdrop-filter: blur(14px);
}

.zone-hero-facts article {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .15);
}

.zone-hero-facts strong {
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
  line-height: 1.05;
}

.zone-hero-facts span {
  color: rgba(255, 255, 255, .82);
  font-size: .77rem;
  font-weight: 850;
  text-transform: uppercase;
}

.zone-guide-intro {
  display: block;
  padding: clamp(62px, 8vw, 112px) 0;
}

.zone-guide-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 58px);
}

.zone-guide-cards article {
  min-height: clamp(260px, 30vw, 360px);
  display: grid;
  grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.zone-guide-cards article:nth-child(even) figure {
  order: 2;
}

.zone-guide-cards article > div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 8px 0;
  max-width: 620px;
}

.zone-guide-cards figure {
  min-height: clamp(260px, 30vw, 360px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dceaf0;
  box-shadow: 0 18px 42px rgba(23, 46, 57, .08);
}

.zone-guide-cards img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.zone-guide-cards article span {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: #51b7c8;
}

.zone-guide-cards h2 {
  margin: 0;
  color: #10343f;
  font-size: clamp(1.7rem, 2.8vw, 2.65rem);
  line-height: 1.15;
}

.zone-guide-cards p {
  margin: 0;
  color: #52646b;
  font-size: clamp(1rem, 1.24vw, 1.12rem);
  line-height: 1.68;
}

.zone-residential-featured {
  padding-top: 0;
}

.zone-residential-featured.property-listing-page .public-property-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zone-areas-section {
  padding: clamp(66px, 8vw, 108px) 0;
  background: #e9f2f4;
}

.zone-area-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.zone-area-card,
.zone-area-card a {
  min-width: 0;
}

.zone-area-card a {
  min-height: 100%;
  display: grid;
  grid-template-rows: 180px 1fr;
  overflow: hidden;
  border: 1px solid rgba(31, 72, 82, .12);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(17, 54, 66, .08);
}

.zone-area-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zone-area-card div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.zone-area-card h3 {
  margin: 0;
  color: #10343f;
  font-size: 1.18rem;
}

.zone-area-card p {
  margin: 0;
  color: #5d6c72;
  line-height: 1.45;
}

.zone-area-card small {
  color: #7a4b34;
  font-weight: 850;
}

.zone-area-card span {
  color: #0d6d83;
  font-weight: 900;
}

.zone-all-areas {
  margin-top: 28px;
}

.zone-all-areas summary {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(19, 52, 63, .18);
  border-radius: 8px;
  background: #fff;
  color: #10343f;
  cursor: pointer;
  font-weight: 900;
}

.zone-all-areas .zone-chip-list {
  margin-top: 18px;
}

.zone-fit-tool {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.15fr) minmax(260px, .6fr);
  gap: 22px;
  align-items: stretch;
  margin-top: clamp(62px, 8vw, 106px);
  margin-bottom: clamp(62px, 8vw, 106px);
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(25, 68, 78, .14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(20, 48, 62, .1);
}

.zone-fit-tool h2 {
  margin: .15em 0 .35em;
  color: #10343f;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.03;
}

.zone-fit-tool p {
  color: #596970;
  line-height: 1.62;
}

.zone-fit-tool form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.zone-fit-tool label {
  display: grid;
  gap: 7px;
}

.zone-fit-tool label span,
.zone-fit-tool aside span {
  color: #63727a;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.zone-fit-tool select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(23, 57, 68, .18);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fbfc;
  color: #15313a;
  font: inherit;
  font-weight: 750;
}

.zone-fit-tool aside {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border-radius: 8px;
  background: #12343f;
  color: #fff;
}

.zone-fit-tool aside strong {
  font-size: 1.55rem;
  line-height: 1.12;
}

.zone-fit-tool aside p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
}

.zone-fit-tool aside .site-button {
  width: 100%;
}

.zone-map-frame {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 8px;
  background: #d7e5e8;
  box-shadow: 0 22px 70px rgba(19, 48, 41, .13);
}

.zone-map-frame iframe,
.zone-map-static {
  position: absolute;
  inset: 0;
}

.zone-map-grid .zone-map-frame iframe {
  width: 100%;
  height: 100%;
  box-shadow: none;
}

.zone-map-static {
  display: grid;
  place-items: center;
  color: #fff;
}

.zone-map-static img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) brightness(.72);
}

.zone-map-static p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(9, 32, 39, .72);
  color: #fff;
  text-align: center;
}

.zone-map-frame.has-live-map .zone-map-static {
  display: none;
}

.zone-authority-section {
  padding: clamp(70px, 9vw, 124px) 0;
  background: #102f39;
  color: #fff;
}

.zone-authority-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.zone-authority-copy .site-eyebrow {
  color: #8fe6f4;
}

.zone-authority-copy h2 {
  max-width: 760px;
  margin: .2em 0;
  color: #fff;
  font-size: clamp(2.3rem, 4.5vw, 4.35rem);
  line-height: 1.02;
}

.zone-authority-copy p:not(.site-eyebrow) {
  color: rgba(255, 255, 255, .78);
  line-height: 1.72;
}

.zone-authority-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.zone-authority-facts span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 850;
}

.zone-authority-team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.zone-authority-team article {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.zone-authority-team img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  display: block;
  object-fit: cover;
}

.zone-authority-team strong {
  display: block;
  padding: 12px;
  color: #fff;
  font-size: .93rem;
}

.zone-authority-reviews {
  display: grid;
  grid-template-columns: .55fr 1fr 1fr;
  gap: 16px;
  margin-top: 38px;
}

.zone-authority-reviews h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
}

.zone-authority-reviews blockquote {
  margin: 0;
  padding: 22px;
  border-left: 4px solid #8fe6f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .8);
  line-height: 1.62;
}

@media (max-width: 1180px) {
  .zone-area-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zone-residential-featured.property-listing-page .public-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .zone-guide-intro,
  .zone-fit-tool,
  .zone-authority-grid,
  .zone-authority-reviews {
    grid-template-columns: 1fr;
  }

  .zone-fit-tool form,
  .zone-authority-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zone-map-frame {
    min-height: 390px;
  }
}

@media (max-width: 620px) {
  .zone-guide-hero {
    min-height: 620px;
  }

  .zone-guide-hero .zone-hero-content {
    padding-top: 88px;
    padding-bottom: 42px;
  }

  .zone-hero-facts,
  .zone-area-card-grid,
  .zone-fit-tool form,
  .zone-authority-team {
    grid-template-columns: 1fr;
  }

  .zone-guide-cards article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .zone-guide-cards article:nth-child(even) figure {
    order: 0;
  }

  .zone-guide-cards figure {
    min-height: 180px;
  }

  .zone-residential-featured.property-listing-page .public-property-grid {
    grid-template-columns: 1fr;
  }

  .zone-hero-facts article {
    min-height: 78px;
  }

  .zone-guide-intro {
    padding-top: 48px;
  }

  .zone-area-card a {
    grid-template-rows: 164px 1fr;
  }

  .zone-fit-tool {
    padding: 22px;
  }
}

/* Final finance spacing overrides: keep short informational sections connected. */
.finance-info-page .page-section,
.finance-info-page .finance-profile-section,
.finance-info-page .finance-documents-section,
.finance-info-page .finance-timeline-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.finance-info-page .finance-planner-section {
  padding: 30px 0;
}

@media (max-width: 780px) {
  .finance-info-page .page-section,
  .finance-info-page .finance-profile-section,
  .finance-info-page .finance-documents-section,
  .finance-info-page .finance-timeline-section {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .finance-info-page .finance-planner-section {
    padding: 24px 0;
  }
}

/* Keep the finance hero in the same visual system as the public page heroes. */
.finance-info-page .finance-info-hero {
  min-height: 440px;
  padding: 76px 0 62px;
  border-radius: 0;
  background: #102742 url("public-hero.jpg") center / cover;
}

.finance-info-page .finance-info-hero::before {
  background:
    linear-gradient(90deg, rgba(6, 22, 39, .9) 0%, rgba(6, 22, 39, .68) 48%, rgba(6, 22, 39, .34) 100%),
    linear-gradient(180deg, rgba(6, 22, 39, .18) 0%, rgba(6, 22, 39, .48) 100%);
}

.finance-info-page .finance-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(28px, 5vw, 62px);
}

.finance-info-page .finance-hero-copy {
  max-width: 760px;
}

.finance-info-page .finance-hero-copy .site-eyebrow {
  min-height: 0;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #92e9ff;
  font-size: 13px;
  letter-spacing: 0;
}

.finance-info-page .finance-hero-copy .site-eyebrow::before {
  content: none;
}

.finance-info-page .finance-hero-copy h1 {
  max-width: 840px;
  margin: 0;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.06;
}

.finance-info-page .finance-hero-copy h1 span {
  display: inline;
}

.finance-info-page .finance-title-accent {
  color: inherit;
}

.finance-info-page .finance-hero-copy > p:not(.site-eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.55;
}

.finance-info-page .finance-info-hero .hero-actions {
  gap: 12px;
  margin-top: 24px;
}

.finance-info-page .finance-info-hero .site-button {
  min-height: 44px;
  gap: 8px;
  padding: 11px 17px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 12px 28px rgba(0, 165, 202, .24);
}

.finance-info-page .finance-info-hero .site-button svg {
  width: 18px;
  height: 18px;
}

.finance-info-page .finance-info-hero .site-button.ghost {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  box-shadow: none;
}

.finance-info-page .finance-hero-panel {
  min-height: 0;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(6, 22, 39, .58);
  box-shadow: 0 18px 44px rgba(6, 22, 39, .22);
  backdrop-filter: blur(10px);
}

.finance-info-page .finance-hero-panel > strong {
  max-width: none;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.finance-info-page .finance-hero-panel ul {
  gap: 14px;
}

.finance-info-page .finance-hero-panel li {
  min-height: 0;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  color: rgba(255, 255, 255, .82);
}

.finance-info-page .finance-hero-panel li > span {
  width: 44px;
  height: 44px;
  background: rgba(146, 233, 255, .14);
  color: #92e9ff;
}

.finance-info-page .finance-hero-panel li > span svg {
  width: 22px;
  height: 22px;
}

.finance-info-page .finance-hero-panel li p {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.4;
}

.finance-info-page .finance-hero-panel li p strong {
  margin-bottom: 2px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 780px) {
  .finance-info-page .finance-info-hero {
    min-height: 0;
    padding: 46px 0 44px;
  }

  .finance-info-page .finance-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .finance-info-page .finance-hero-copy .site-eyebrow {
    margin-bottom: 10px;
  }

  .finance-info-page .finance-hero-copy h1 {
    font-size: 33px;
    line-height: 1.08;
  }

  .finance-info-page .finance-hero-copy > p:not(.site-eyebrow) {
    font-size: 16px;
  }

  .finance-info-page .finance-hero-panel {
    width: 100%;
    max-width: 560px;
    padding: 20px;
  }
}

/* Compact MAYRASA search bar: the control itself carries its field name. */
@media (min-width: 781px) {
  .public-search.compact-search {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(120px, 1.05fr) minmax(170px, 1.35fr) minmax(104px, .82fr) minmax(112px, .9fr) minmax(112px, .9fr) minmax(86px, .7fr) minmax(138px, .92fr);
    grid-template-areas:
      "type place bedrooms price-min price-max reference search"
      "finance finance finance finance map map map";
    gap: 10px 0;
    align-items: stretch;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .compact-search-tabs + .compact-search {
    border-top-left-radius: 0;
  }

  .hero-market-switch {
    position: absolute;
    right: 8px;
    bottom: calc(100% + 18px);
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .hero-market-switch label {
    position: relative;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .hero-market-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .hero-market-switch span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: 0 2px 8px rgba(4, 18, 32, .48);
  }

  .hero-market-switch span::before {
    content: "";
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    border: 2px solid rgba(255, 255, 255, .86);
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
    box-shadow: 0 8px 20px rgba(7, 25, 42, .18);
  }

  .hero-market-switch input:checked + span::before {
    border-color: var(--brand);
    background: var(--brand);
  }

  .hero-market-switch input:checked + span::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 8px;
    width: 8px;
    height: 5px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg);
  }

  .public-search.compact-search > .search-market-field {
    display: none;
  }

  .public-search.compact-search > .search-type-filter {
    grid-area: type;
    border-left: 1px solid rgba(207, 220, 230, .9);
    border-radius: 20px 0 0 20px;
  }

  .public-search.compact-search > .search-place-filter {
    grid-area: place;
  }

  .public-search.compact-search > .search-bedrooms-field {
    grid-area: bedrooms;
  }

  .public-search.compact-search > .search-price-min-field {
    grid-area: price-min;
  }

  .public-search.compact-search > .search-price-max-field {
    grid-area: price-max;
  }

  .public-search.compact-search > .search-keyword {
    grid-area: reference;
  }

  .public-search.compact-search > .search-type-filter,
  .public-search.compact-search > .search-place-filter,
  .public-search.compact-search > .search-bedrooms-field,
  .public-search.compact-search > .search-price-min-field,
  .public-search.compact-search > .search-price-max-field,
  .public-search.compact-search > .search-keyword {
    position: relative;
    min-width: 0;
    min-height: 60px;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 14px;
    border-top: 1px solid rgba(207, 220, 230, .9);
    border-right: 1px solid rgba(218, 227, 234, .94);
    border-bottom: 1px solid rgba(207, 220, 230, .9);
    background: rgba(255, 255, 255, .98);
  }

  .public-search.compact-search > .search-type-filter > span,
  .public-search.compact-search > .search-place-filter > span,
  .public-search.compact-search > label > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .public-search.compact-search > .search-type-filter > .multi-select,
  .public-search.compact-search > .search-place-filter > .search-place-picker {
    width: 100%;
    min-width: 0;
  }

  .public-search.compact-search > .search-type-filter .multi-select > summary,
  .public-search.compact-search > .search-place-filter .search-place-picker > summary,
  .public-search.compact-search > label > select,
  .public-search.compact-search > .search-keyword > input {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    display: flex;
    align-items: center;
    border: 0;
    border-radius: 0;
    padding: 0 22px 0 0;
    background-color: transparent;
    color: #182234;
    font: inherit;
    font-size: 15px;
    font-weight: 650;
    outline: 0;
    box-shadow: none;
  }

  .public-search.compact-search > .search-type-filter .multi-select > summary,
  .public-search.compact-search > .search-place-filter .search-place-picker > summary {
    position: relative;
    cursor: pointer;
    list-style: none;
  }

  .public-search.compact-search > .search-place-filter .search-place-picker > summary::-webkit-details-marker {
    display: none;
  }

  .public-search.compact-search > .search-type-filter .multi-select > summary::after,
  .public-search.compact-search > .search-place-filter .search-place-picker > summary::after {
    content: "";
    position: absolute;
    right: 1px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #66717e;
    border-bottom: 2px solid #66717e;
    transform: translateY(-65%) rotate(45deg);
  }

  .public-search.compact-search .multi-select-value,
  .public-search.compact-search .search-place-value {
    min-width: 0;
    overflow: hidden;
    color: #182234;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
  }

  .public-search.compact-search > .search-keyword > input::placeholder {
    color: #596573;
    opacity: 1;
  }

  .public-search.compact-search > .search-keyword > input {
    padding-right: 0;
  }

  .public-search.compact-search .search-place-panel {
    position: absolute;
    z-index: 70;
    top: calc(100% + 8px);
    left: 0;
    width: min(620px, calc(100vw - 48px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(202, 218, 229, .96);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 54px rgba(9, 28, 48, .2);
  }

  .public-search.compact-search .search-place-panel > label,
  .public-search.compact-search .search-place-panel > .search-location-filter {
    min-width: 0;
    min-height: 0;
    display: grid;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .public-search.compact-search .search-place-panel > .search-location-filter {
    grid-column: 1 / -1;
  }

  .public-search.compact-search .search-place-panel > label > span,
  .public-search.compact-search .search-place-panel > .search-location-filter > span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    color: #66788b;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: normal;
  }

  .public-search.compact-search .search-place-panel select,
  .public-search.compact-search .search-place-panel .multi-select > summary {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d6e2ea;
    border-radius: 10px;
    padding: 0 13px;
    background-color: #fff;
    color: #182234;
    font: inherit;
    font-size: 14px;
  }

  .public-search.compact-search .search-place-panel .multi-options {
    width: 100%;
    min-width: 280px;
  }

  .public-search.compact-search > .search-actions {
    display: contents;
  }

  .public-search.compact-search > .search-actions > button:not(.map-submit-button) {
    grid-area: search;
    min-width: 138px;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--brand);
    border-radius: 0 20px 20px 0;
    padding: 0 20px;
    background: var(--brand);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 18px 32px rgba(0, 165, 202, .24);
    white-space: nowrap;
  }

  .public-search.compact-search > .search-actions > button:not(.map-submit-button)::before {
    content: "";
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: 7px 7px 0 -5px currentColor;
  }

  .public-search.compact-search > .search-actions > .map-submit-button {
    grid-area: map;
    justify-self: end;
    width: auto;
    height: 44px;
    min-width: 0;
    min-height: 44px;
    margin-top: 0;
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, .92);
    color: #173f70;
    font-size: 14px;
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(8, 28, 51, .1);
  }

  .public-hero.estate-hero {
    z-index: 2;
    flex-direction: column;
    overflow: visible;
    padding-bottom: 64px;
  }

  .public-hero.estate-hero .hero-search-wrap {
    position: relative;
    left: auto;
    bottom: auto;
    flex: 0 0 auto;
    transform: none;
    margin-top: clamp(34px, 4vh, 44px);
  }

  .listing-hero {
    z-index: 2;
    overflow: visible;
  }

  .listing-filter:has(> .compact-search) {
    margin-top: 66px;
  }

  .public-search.listing-search > .hero-market-switch {
    right: auto;
    left: 8px;
  }

  .public-search.compact-search > .search-actions.is-map-view > .map-submit-button {
    grid-area: search;
    justify-self: stretch;
    width: 100%;
    height: 60px;
    min-height: 60px;
    border: 1px solid var(--brand);
    border-radius: 0 20px 20px 0;
    padding: 0 18px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 18px 32px rgba(0, 165, 202, .24);
  }

  .public-search.compact-search > .finance-filter {
    grid-area: finance;
    align-self: start;
    width: fit-content;
    max-width: 100%;
    margin-top: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 24px rgba(8, 28, 51, .1);
  }

  .public-search.compact-search > .finance-filter summary {
    min-height: 44px;
    padding: 7px 12px 7px 16px;
  }

  .public-search.compact-search > .finance-filter[open] {
    width: min(620px, 100%);
    border-radius: 16px;
  }

  .public-search.compact-search > .finance-filter .finance-filter-fields {
    padding: 0 16px 16px;
  }
}

@media (min-width: 781px) and (max-width: 1050px) {
  .public-search.compact-search {
    grid-template-columns: minmax(104px, 1fr) minmax(142px, 1.25fr) minmax(88px, .76fr) minmax(96px, .85fr) minmax(96px, .85fr) minmax(70px, .62fr) minmax(122px, .88fr);
  }

  .public-search.compact-search > .search-type-filter,
  .public-search.compact-search > .search-place-filter,
  .public-search.compact-search > .search-bedrooms-field,
  .public-search.compact-search > .search-price-min-field,
  .public-search.compact-search > .search-price-max-field,
  .public-search.compact-search > .search-keyword {
    padding-right: 11px;
    padding-left: 11px;
  }

  .public-search.compact-search .multi-select-value,
  .public-search.compact-search .search-place-value,
  .public-search.compact-search > label > select,
  .public-search.compact-search > .search-keyword > input {
    font-size: 13px;
  }

  .hero-market-switch {
    gap: 14px;
  }
}

@media (max-width: 780px) {
  .public-search.is-open > .search-market-field {
    display: none;
  }

  .public-search.is-open > .hero-market-switch {
    position: static;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .public-search.is-open > .hero-market-switch label {
    position: relative;
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(207, 221, 234, .92);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 38, 62, .05);
  }

  .public-search.is-open > .hero-market-switch input {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0;
    accent-color: var(--brand);
  }

  .public-search.is-open > .hero-market-switch span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    color: #182234;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    white-space: normal;
  }

  .public-search.is-open > .search-place-filter {
    position: relative;
    grid-column: 1 / -1;
    min-height: 58px;
    display: grid;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(207, 221, 234, .92);
    border-radius: 15px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 24px rgba(16, 38, 62, .05);
  }

  .public-search.is-open > .search-place-filter > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .public-search.is-open .search-place-picker > summary {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    padding: 0 8px;
    color: #152235;
    cursor: pointer;
    list-style: none;
  }

  .public-search.is-open .search-place-picker > summary::-webkit-details-marker {
    display: none;
  }

  .public-search.is-open .search-place-picker > summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #66717e;
    border-bottom: 2px solid #66717e;
    transform: rotate(45deg) translateY(-2px);
  }

  .public-search.is-open .search-place-value {
    min-width: 0;
    overflow: hidden;
    color: #152235;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .public-search.is-open .search-place-panel {
    position: absolute;
    z-index: 100;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(202, 218, 229, .96);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(9, 28, 48, .2);
  }

  .public-search.is-open .search-place-panel > label,
  .public-search.is-open .search-place-panel > .search-location-filter {
    min-height: 0;
    display: grid;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .public-search.is-open .search-place-panel > label > span,
  .public-search.is-open .search-place-panel > .search-location-filter > span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    color: #66788b;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    white-space: normal;
  }

  .public-search.is-open .search-place-panel select,
  .public-search.is-open .search-place-panel .multi-select > summary {
    min-height: 50px;
    border: 1px solid #d6e2ea;
    border-radius: 12px;
    padding: 0 13px;
    background-color: #fff;
    font-size: 14px;
  }
}

/* Keep the homepage refresh authoritative after legacy component rules. */
.public-site .home-paths-section.page-section {
  padding: 44px 42px 38px;
  border-radius: 18px;
}

.public-site .section-head.home-paths-head {
  justify-content: flex-start;
  margin-bottom: 28px;
  text-align: left;
}

.public-site .section-head.home-paths-head > div {
  justify-items: start;
  max-width: 820px;
}

.public-site .home-paths-head h2 {
  max-width: none;
  font-size: clamp(32px, 3vw, 42px);
}

.public-site .home-paths-head h2::after {
  margin: 13px 0 0;
}

.public-site .home-paths-head .home-paths-intro {
  max-width: 790px;
  margin: 15px 0 0;
  font-size: 17px;
  line-height: 1.58;
}

.public-site .home-path-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.public-site .home-path-card {
  min-height: 272px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 24px 22px 21px;
  border-radius: 16px;
}

.public-site .home-path-card .home-path-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 2px;
}

.public-site .home-path-card .home-path-icon svg {
  width: 30px;
  height: 30px;
}

.public-site .home-objective-band {
  padding: 10px 0 58px;
}

.public-site .home-objective-panel {
  padding: 50px 42px 30px;
  border: 1px solid #dce7f0;
  border-radius: 18px;
}

.public-site .home-objective-band .home-objective-head h2 {
  font-size: clamp(32px, 3vw, 42px);
}

.public-site .home-objective-head > p:not(.site-eyebrow) {
  max-width: 860px;
  margin: 14px 0 30px;
}

@media (max-width: 760px) {
  .public-site .home-paths-section.page-section {
    width: min(100% - 28px, 1180px);
    padding: 30px 18px 22px;
    border-radius: 16px;
  }

  .public-site .section-head.home-paths-head {
    margin-bottom: 22px;
    text-align: left;
  }

  .public-site .section-head.home-paths-head > div {
    justify-items: start;
    max-width: none;
  }

  .public-site .home-paths-head h2 {
    max-width: none;
    font-size: 30px;
    overflow-wrap: normal;
  }

  .public-site .home-paths-head .home-paths-intro {
    max-width: none;
    font-size: 15px;
    overflow-wrap: normal;
  }

  .public-site .home-path-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .public-site .home-path-card {
    min-height: 0;
    gap: 11px;
    padding: 19px 18px 17px;
  }

  .public-site .home-path-card .home-path-icon {
    width: 48px;
    height: 48px;
  }

  .public-site .home-objective-band {
    padding: 10px 0 44px;
  }

  .public-site .home-objective-panel {
    width: calc(100% - 16px);
    padding: 34px 18px 20px;
    border-radius: 16px;
  }

  .public-site .home-objective-band .home-objective-head h2 {
    font-size: 30px;
  }

  .public-site .home-objective-head > p:not(.site-eyebrow) {
    margin: 13px 0 22px;
    font-size: 15px;
  }
}

/* Desktop spacing between the compact hero search and the first result section. */
@media (min-width: 781px) {
  .public-site .public-hero.estate-hero {
    min-height: 0;
    padding-bottom: 28px;
  }

  .public-site .mayrasa-selection-section {
    padding-top: 34px;
  }
}

/* Finance profiles: editorial international story and interactive document path. */
.finance-info-page .finance-international-section {
  padding-top: 36px;
  padding-bottom: 36px;
}

.finance-international-layout {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  overflow: hidden;
  border: 1px solid #d7e5ee;
  border-radius: 24px;
  background: linear-gradient(145deg, #f7fbfd 0%, #eef6fa 100%);
  box-shadow: 0 24px 56px rgba(12, 43, 73, .09);
}

.finance-international-visual {
  position: relative;
  min-height: 530px;
  margin: 0;
  overflow: hidden;
  background: #d8e7ee;
}

.finance-international-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 62%, rgba(239, 247, 250, .3) 100%);
  content: "";
  pointer-events: none;
}

.finance-international-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% center;
}

.finance-international-content {
  align-self: center;
  padding: 42px clamp(30px, 4vw, 54px);
}

.finance-international-content .section-head {
  margin-bottom: 24px;
}

.finance-international-content .section-head > div {
  max-width: 620px;
}

.finance-international-content .section-head h2 {
  max-width: 610px;
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1.08;
}

.finance-international-content .section-head p:not(.site-eyebrow) {
  max-width: 590px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
}

.finance-profile-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finance-profile-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  padding: 16px 0;
  border-top: 1px solid rgba(179, 201, 216, .66);
}

.finance-profile-step-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  color: #1b7dbb;
  box-shadow: 0 10px 24px rgba(17, 67, 104, .09);
}

.finance-profile-step-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.finance-profile-steps small,
.finance-doc-panel small {
  display: block;
  margin-bottom: 3px;
  color: #3499c4;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
}

.finance-profile-steps strong {
  display: block;
  color: #123b70;
  font-size: 16px;
  line-height: 1.25;
}

.finance-profile-steps p {
  margin: 5px 0 0;
  color: #5f6f80;
  font-size: 14px;
  line-height: 1.46;
}

.finance-documents-section.finance-document-experience {
  padding: 54px 0 50px;
  background:
    radial-gradient(circle at 88% 14%, rgba(84, 182, 219, .12), transparent 30%),
    linear-gradient(180deg, #edf6fb 0%, #f7fafc 100%);
}

.finance-document-experience .section-head {
  max-width: 820px;
  margin-bottom: 26px;
}

.finance-document-experience .section-head h2 {
  font-size: clamp(31px, 3vw, 42px);
}

.finance-document-experience .section-head p:not(.site-eyebrow) {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.55;
}

.finance-doc-selector {
  overflow: hidden;
  border: 1px solid #d4e2ec;
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 52px rgba(12, 43, 73, .1);
}

.finance-doc-tabs {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #dbe7ef;
  background: #f8fbfd;
}

.finance-document-experience.is-enhanced .finance-doc-tabs {
  display: grid;
}

.finance-doc-tabs button {
  min-width: 0;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-right: 1px solid #dbe7ef;
  padding: 16px 13px;
  background: transparent;
  color: #4e6073;
  font: inherit;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.finance-doc-tabs button:last-child {
  border-right: 0;
}

.finance-doc-tabs button > span {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: #eaf4f9;
  color: #237fac;
}

.finance-doc-tabs button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.finance-doc-tabs button strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.25;
  text-align: left;
}

.finance-doc-tabs button[aria-selected="true"] {
  position: relative;
  background: #fff;
  color: #123b70;
  box-shadow: inset 0 -4px 0 #2d9fca;
}

.finance-doc-tabs button[aria-selected="true"] > span {
  background: #123b70;
  color: #fff;
}

.finance-doc-tabs button:focus-visible {
  z-index: 1;
  outline: 3px solid rgba(0, 165, 202, .26);
  outline-offset: -4px;
}

.finance-doc-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #dbe7ef;
}

.finance-document-experience.is-enhanced .finance-doc-panels {
  display: block;
  background: #fff;
}

.finance-doc-panel {
  min-width: 0;
  min-height: 190px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 34px 38px;
  background: #fff;
}

.finance-document-experience.is-enhanced .finance-doc-panel {
  min-height: 232px;
  grid-template-columns: 82px minmax(0, 1fr);
  padding: 42px clamp(30px, 5vw, 64px);
  animation: finance-panel-in .24s ease both;
}

.finance-doc-panel[hidden] {
  display: none;
}

.finance-doc-panel-icon {
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #e7f5fb, #f4f9fc);
  color: #176fae;
}

.finance-document-experience.is-enhanced .finance-doc-panel-icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
}

.finance-doc-panel-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.finance-doc-panel h3 {
  margin: 0;
  color: #102f59;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
}

.finance-doc-panel p {
  max-width: 780px;
  margin: 11px 0 0;
  color: #58697b;
  font-size: 16px;
  line-height: 1.58;
}

.finance-profile-cta {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 20px;
  padding: 24px 28px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 20%, rgba(71, 174, 213, .32), transparent 34%),
    linear-gradient(135deg, #0b2d55, #123b70);
  color: #fff;
  box-shadow: 0 20px 42px rgba(10, 43, 80, .18);
}

.finance-profile-cta > div {
  min-width: 0;
}

.finance-profile-cta .site-eyebrow {
  margin: 0 0 7px;
  color: #8fdcf3;
  font-size: 11px;
}

.finance-profile-cta strong {
  display: block;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.18;
}

.finance-profile-cta span:not(.site-button span) {
  display: block;
  max-width: 720px;
  margin-top: 7px;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
  line-height: 1.45;
}

.finance-profile-cta .site-button {
  min-height: 48px;
  flex: 0 0 auto;
  gap: 8px;
  background: #fff;
  color: #123b70;
  box-shadow: none;
}

.finance-profile-cta .site-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes finance-panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .finance-international-layout {
    grid-template-columns: 1fr;
  }

  .finance-international-visual {
    min-height: 360px;
  }

  .finance-international-visual::after {
    background: linear-gradient(180deg, transparent 68%, rgba(239, 247, 250, .3) 100%);
  }

  .finance-international-content {
    padding: 34px 30px;
  }

  .finance-doc-tabs button {
    min-height: 84px;
    flex-direction: column;
    gap: 7px;
  }

  .finance-doc-tabs button strong {
    text-align: center;
  }
}

@media (max-width: 780px) {
  .finance-info-page .finance-international-section {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .finance-international-layout,
  .finance-doc-selector {
    border-radius: 18px;
  }

  .finance-international-visual {
    min-height: 270px;
  }

  .finance-international-content {
    padding: 28px 20px 24px;
  }

  .finance-international-content .section-head h2,
  .finance-document-experience .section-head h2 {
    font-size: 29px;
  }

  .finance-profile-steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
  }

  .finance-profile-step-icon {
    width: 40px;
    height: 40px;
  }

  .finance-documents-section.finance-document-experience {
    padding: 36px 0 34px;
  }

  .finance-doc-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-doc-tabs button {
    min-height: 76px;
    flex-direction: row;
    justify-content: flex-start;
    border-bottom: 1px solid #dbe7ef;
    padding: 12px;
  }

  .finance-doc-tabs button:nth-child(2n) {
    border-right: 0;
  }

  .finance-doc-tabs button:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .finance-doc-tabs button strong {
    font-size: 13px;
    text-align: left;
  }

  .finance-doc-panels {
    grid-template-columns: 1fr;
  }

  .finance-doc-panel,
  .finance-document-experience.is-enhanced .finance-doc-panel {
    min-height: 0;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 26px 20px;
  }

  .finance-doc-panel-icon,
  .finance-document-experience.is-enhanced .finance-doc-panel-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .finance-doc-panel-icon svg {
    width: 28px;
    height: 28px;
  }

  .finance-doc-panel h3 {
    font-size: 23px;
  }

  .finance-doc-panel p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.48;
  }

  .finance-profile-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 22px 20px;
  }

  .finance-profile-cta .site-button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .finance-document-experience.is-enhanced .finance-doc-panel {
    animation: none;
  }
}

/* Compact finance profiles: reduce inherited heading gaps and keep the story moving. */
.finance-info-page .finance-international-section {
  padding-top: 22px;
  padding-bottom: 22px;
}

.finance-international-visual {
  min-height: 540px;
}

.finance-international-content {
  padding: 30px clamp(28px, 3.2vw, 44px);
}

.finance-international-content .section-head {
  margin-bottom: 15px;
}

.finance-international-content .section-head .site-eyebrow,
.finance-document-experience .section-head .site-eyebrow {
  margin: 0 0 9px;
}

.finance-international-content .section-head h2,
.finance-document-experience .section-head h2 {
  margin: 0;
}

.finance-international-content .section-head h2 {
  font-size: clamp(30px, 2.6vw, 38px);
}

.finance-international-content .section-head p:not(.site-eyebrow) {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.48;
}

.finance-profile-steps li {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  padding: 11px 0;
}

.finance-profile-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.finance-profile-step-icon svg {
  width: 21px;
  height: 21px;
}

.finance-profile-steps strong {
  font-size: 15px;
}

.finance-profile-steps p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
}

.finance-documents-section.finance-document-experience {
  padding-top: 36px;
  padding-bottom: 34px;
}

.finance-document-experience .section-head {
  max-width: none;
  margin-bottom: 18px;
}

.finance-document-experience .section-head > div {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(360px, .86fr) minmax(360px, 1.14fr);
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: clamp(40px, 6vw, 88px);
}

.finance-document-experience .section-head .site-eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.finance-document-experience .section-head h2 {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(30px, 2.6vw, 38px);
  line-height: 1.08;
}

.finance-document-experience .section-head p:not(.site-eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 620px;
  margin: 0 0 2px;
  font-size: 14px;
  line-height: 1.5;
}

.finance-doc-tabs button {
  min-height: 72px;
  padding: 11px 13px;
}

.finance-doc-tabs button > span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.finance-doc-tabs button svg {
  width: 18px;
  height: 18px;
}

.finance-document-experience.is-enhanced .finance-doc-panel {
  min-height: 168px;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  padding: 25px clamp(28px, 4vw, 48px);
}

.finance-document-experience.is-enhanced .finance-doc-panel-icon {
  width: 60px;
  height: 60px;
  border-radius: 17px;
}

.finance-doc-panel-icon svg {
  width: 30px;
  height: 30px;
}

.finance-doc-panel h3 {
  font-size: clamp(22px, 2vw, 28px);
}

.finance-doc-panel p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.48;
}

.finance-profile-cta {
  min-height: 108px;
  gap: 24px;
  margin-top: 16px;
  padding: 19px 24px;
}

.finance-profile-cta strong {
  font-size: clamp(20px, 1.8vw, 25px);
}

.finance-profile-cta span:not(.site-button span) {
  margin-top: 5px;
  font-size: 13px;
}

@media (max-width: 780px) {
  .finance-info-page .finance-international-section {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .finance-international-visual {
    min-height: 240px;
  }

  .finance-international-content {
    padding: 23px 18px 20px;
  }

  .finance-international-content .section-head h2,
  .finance-document-experience .section-head h2 {
    font-size: 28px;
  }

  .finance-profile-steps li {
    padding: 10px 0;
  }

  .finance-documents-section.finance-document-experience {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .finance-document-experience .section-head > div {
    display: block;
  }

  .finance-document-experience .section-head p:not(.site-eyebrow) {
    margin: 12px 0 0;
  }

  .finance-doc-tabs button {
    min-height: 70px;
  }

  .finance-document-experience.is-enhanced .finance-doc-panel {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 21px 17px;
  }

  .finance-document-experience.is-enhanced .finance-doc-panel-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .finance-doc-panel-icon svg {
    width: 25px;
    height: 25px;
  }

  .finance-profile-cta {
    min-height: 0;
    padding: 19px 18px;
  }
}

/* Keep Atlas hero overrides after the legacy zone landing rules. */
.zone-guide-hero.atlas-guide-hero {
  min-height: 590px;
  background:
    radial-gradient(circle at 78% 24%, rgba(216, 185, 123, .24) 0 8%, transparent 8.2%),
    linear-gradient(125deg, #102f28 0%, #1d4b40 58%, #8c7450 145%);
}

.zone-guide-hero.atlas-guide-hero .zone-hero-shade {
  background: linear-gradient(90deg, rgba(8, 30, 25, .82), rgba(8, 30, 25, .08));
}

@media (max-width: 780px) {
  .zone-guide-hero.atlas-guide-hero {
    min-height: 690px;
  }
}

/* Atlas editorial experience: territorio primero, conocimiento por capas. */
.atlas-location-page .atlas-guide-hero {
  min-height: 590px;
  background: #102742;
}

.atlas-location-page .atlas-guide-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.atlas-location-page .atlas-guide-hero .zone-hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 22, 39, .9) 0%, rgba(6, 22, 39, .64) 48%, rgba(6, 22, 39, .2) 82%),
    linear-gradient(0deg, rgba(6, 22, 39, .56), transparent 46%);
}

.atlas-location-page .atlas-guide-hero h1 {
  max-width: 820px;
  font-size: clamp(2.9rem, 5.25vw, 4.8rem);
  line-height: 1;
}

.atlas-location-page .atlas-guide-hero .site-eyebrow {
  color: #7ec5f4;
}

.atlas-location-page .atlas-guide-hero .zone-hero-content > p:not(.site-eyebrow) {
  max-width: 730px;
  font-size: clamp(1.04rem, 1.6vw, 1.24rem);
  line-height: 1.58;
}

.atlas-photo-credit {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 14px;
  max-width: min(520px, calc(100% - 36px));
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(6, 22, 39, .76);
  color: rgba(255,255,255,.8);
  font-size: .68rem;
  backdrop-filter: blur(8px);
}

.atlas-photo-credit a {
  color: #fff;
}

.atlas-location-page .atlas-guide-nav {
  position: sticky;
  z-index: 12;
  top: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(255,255,255,.94);
  border-bottom-color: #dbe5ee;
  backdrop-filter: blur(14px);
}

.atlas-location-page .atlas-guide-nav nav {
  justify-content: flex-end;
}

.atlas-location-page .atlas-guide-nav nav a {
  padding: 7px 0;
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
  color: #123b70;
}

.atlas-location-page .atlas-guide-nav strong {
  color: #172231;
}

.atlas-location-page .atlas-knowledge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: clamp(54px, 6vw, 82px);
  padding-bottom: clamp(54px, 6vw, 82px);
  background: transparent;
}

.atlas-location-page .atlas-knowledge-grid article,
.atlas-location-page .atlas-knowledge-grid article:first-child,
.atlas-location-page .atlas-knowledge-grid article:last-child {
  position: relative;
  min-height: 0;
  padding: clamp(27px, 3vw, 40px);
  border: 1px solid rgba(199,216,228,.9);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(18,59,112,.07);
}

.atlas-location-page .atlas-knowledge-grid article:nth-child(1),
.atlas-location-page .atlas-knowledge-grid article:nth-child(5) {
  background: linear-gradient(135deg, #fff 0%, #f1f8fc 100%);
}

.atlas-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #eef7fb;
  color: #1f6f9f;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.atlas-location-page .atlas-knowledge-grid h2 {
  margin-bottom: 18px;
  color: #172231;
  font-size: clamp(1.65rem, 2.15vw, 2.05rem);
  line-height: 1.08;
}

.atlas-location-page .atlas-knowledge-grid article > p:not(.site-eyebrow),
.atlas-more p {
  margin: 0;
  color: #5c6470;
  font-size: .97rem;
  line-height: 1.68;
}

.atlas-more,
.atlas-list-more,
.atlas-sources-more {
  margin-top: 18px;
}

.atlas-more summary,
.atlas-list-more summary,
.atlas-sources-more summary {
  width: fit-content;
  cursor: pointer;
  color: #176fae;
  font-size: .84rem;
  font-weight: 850;
  list-style: none;
}

.atlas-more summary::-webkit-details-marker,
.atlas-list-more summary::-webkit-details-marker,
.atlas-sources-more summary::-webkit-details-marker {
  display: none;
}

.atlas-more summary::after,
.atlas-list-more summary::after,
.atlas-sources-more summary::after {
  content: " +";
  color: var(--atlas-gold);
}

.atlas-more[open] summary::after,
.atlas-list-more[open] summary::after,
.atlas-sources-more[open] summary::after {
  content: " −";
}

.atlas-more p {
  margin-top: 14px;
}

.atlas-location-page .atlas-section-sources {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #dbe5ee;
  color: #66788b;
}

.atlas-location-page .atlas-section-sources a {
  color: #176fae;
}

.atlas-photo-story {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 18px;
  padding-bottom: clamp(64px, 8vw, 110px);
}

.atlas-photo-story figure {
  position: relative;
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #dbe8f1;
  box-shadow: 0 18px 46px rgba(18,59,112,.1);
}

.atlas-photo-story img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .6s ease;
}

.atlas-photo-story figure:hover img {
  transform: scale(1.02);
}

.atlas-photo-story figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(6,22,39,.82);
  color: #fff;
  font-size: .73rem;
  backdrop-filter: blur(10px);
}

.atlas-photo-story figcaption a {
  color: #8fe6f4;
}

.atlas-location-page .atlas-microareas-section {
  padding: clamp(66px, 8vw, 108px) 0;
  background:
    radial-gradient(circle at 90% 12%, rgba(126,197,244,.16), transparent 30%),
    #102742;
}

.atlas-location-page .atlas-microareas-section .site-eyebrow,
.atlas-location-page .atlas-microareas-section .atlas-section-sources,
.atlas-location-page .atlas-microareas-section .atlas-section-sources a {
  color: #8fe6f4;
}

.atlas-location-page .atlas-microareas-section h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}

.atlas-location-page .atlas-microareas-section .section-head p:not(.site-eyebrow) {
  max-width: 680px;
  color: rgba(255,255,255,.72);
}

.atlas-microarea-tabs {
  display: grid;
  grid-template-columns: minmax(230px,.72fr) minmax(0,1.28fr);
  gap: 26px;
  margin-top: 42px;
}

.atlas-microarea-tablist {
  display: grid;
  align-content: start;
  gap: 8px;
}

.atlas-microarea-tablist button {
  width: 100%;
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.76);
  font: inherit;
  font-weight: 760;
  line-height: 1.28;
  text-align: left;
  cursor: pointer;
}

.atlas-microarea-tablist button[aria-selected="true"] {
  border-color: rgba(126,197,244,.7);
  background: #fff;
  color: var(--atlas-ink);
  box-shadow: 0 16px 38px rgba(6,22,39,.24);
}

.atlas-microarea-panels article {
  min-height: 100%;
  padding: clamp(30px,4vw,52px);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 14px;
  background: rgba(255,255,255,.075);
}

.atlas-microarea-panels h3 {
  max-width: 760px;
}

.atlas-microarea-panels dl,
.atlas-microarea-panels dd {
  margin: 0;
}

.atlas-microarea-panels dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.atlas-microarea-panels dl > div {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.13);
}

.atlas-microarea-panels dt {
  margin-bottom: 7px;
  color: #8fe6f4;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.atlas-microarea-panels dd {
  color: rgba(255,255,255,.84);
  line-height: 1.58;
}

.atlas-location-page .atlas-decisions-grid {
  gap: 18px;
  background: transparent;
}

.atlas-location-page .atlas-decisions-grid article,
.atlas-location-page .atlas-decisions-grid article:last-child {
  border-radius: 14px;
  background: #f4f8fb;
}

.atlas-location-page .atlas-decisions-grid article:last-child {
  background: #fff;
  border: 1px solid #dbe5ee;
}

.atlas-location-page .atlas-decisions-grid h2 {
  color: #172231;
  font-size: clamp(1.8rem,3vw,2.7rem);
}

.atlas-list-more ul,
.atlas-list-more ol {
  margin-top: 12px;
}

.atlas-location-page .atlas-sources-section .section-head p:not(.site-eyebrow) {
  color: #66788b;
  font-weight: 750;
}

.atlas-sources-more {
  border-bottom: 1px solid #dbe5ee;
}

.atlas-sources-more > summary {
  margin: 18px 0 22px;
  padding: 10px 0;
}

@media (max-width: 1050px) {
  .atlas-location-page .atlas-knowledge-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .atlas-photo-story {
    grid-template-columns: 1.2fr .8fr;
  }
}

@media (max-width: 780px) {
  .atlas-location-page .atlas-guide-hero {
    min-height: 720px;
  }

  .atlas-location-page .atlas-guide-hero > img {
    object-position: 61% center;
  }

  .atlas-location-page .atlas-guide-hero .zone-hero-shade {
    background: linear-gradient(0deg, rgba(7,22,19,.94) 0%, rgba(7,22,19,.7) 60%, rgba(7,22,19,.28) 100%);
  }

  .atlas-photo-credit {
    right: 10px;
    bottom: 8px;
    left: 10px;
    max-width: none;
    border-radius: 10px;
    text-align: center;
  }

  .atlas-location-page .atlas-guide-nav {
    top: 0;
    display: block;
    margin: 0;
    padding: 12px 16px;
  }

  .atlas-location-page .atlas-guide-nav > strong {
    display: none;
  }

  .atlas-location-page .atlas-guide-nav nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .atlas-location-page .atlas-guide-nav nav::-webkit-scrollbar {
    display: none;
  }

  .atlas-location-page .atlas-guide-nav nav a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 999px;
    background: #edf3ef;
    font-size: .78rem;
  }

  .atlas-location-page .atlas-knowledge-grid {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 38px 16px 44px;
    overflow-x: auto;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(22,53,46,.22) transparent;
  }

  .atlas-location-page .atlas-knowledge-grid article,
  .atlas-location-page .atlas-knowledge-grid article:first-child,
  .atlas-location-page .atlas-knowledge-grid article:last-child {
    flex: 0 0 min(78vw,320px);
    padding: 27px 23px;
    border-radius: 17px;
    scroll-snap-align: start;
  }

  .atlas-card-number {
    width: 36px;
    height: 36px;
    margin-bottom: 17px;
  }

  .atlas-location-page .atlas-knowledge-grid h2 {
    font-size: 1.7rem;
  }

  .atlas-photo-story {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px 56px;
  }

  .atlas-photo-story figure {
    min-height: 330px;
    border-radius: 18px;
  }

  .atlas-photo-story figure.portrait {
    min-height: 390px;
  }

  .atlas-microarea-tabs {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }

  .atlas-microarea-tablist {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .atlas-microarea-tablist::-webkit-scrollbar {
    display: none;
  }

  .atlas-microarea-tablist button {
    width: min(78vw,300px);
    flex: 0 0 auto;
    padding: 14px 15px;
  }

  .atlas-microarea-panels article {
    padding: 28px 22px;
    border-radius: 17px;
  }

  .atlas-microarea-panels dl {
    grid-template-columns: 1fr;
  }

  .atlas-location-page .atlas-decisions-grid {
    gap: 12px;
    margin: 52px 16px;
  }

  .atlas-location-page .atlas-decisions-grid article,
  .atlas-location-page .atlas-decisions-grid article:last-child {
    padding: 28px 23px;
    border-radius: 17px;
  }

  .atlas-location-page .atlas-sources-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .atlas-location-page .atlas-source-list article {
    padding: 17px 0;
  }
}

/* Atlas aligned with the public MAYRASA visual system. */
.atlas-location-page {
  background: #f4f8fb;
  color: #172231;
}

.atlas-location-page .zone-hero-facts {
  gap: 14px;
  overflow: visible;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.atlas-location-page .zone-hero-facts article {
  border: 1px solid rgba(190, 213, 226, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 48px rgba(13, 42, 66, .14);
}

.atlas-location-page .zone-hero-facts strong {
  color: #172231;
}

.atlas-location-page .zone-hero-facts span {
  color: #5c6470;
}

.atlas-location-page .atlas-decisions-grid li {
  border-color: #dbe5ee;
  color: #5c6470;
}

.atlas-location-page .atlas-sources-section h2,
.atlas-location-page .zone-featured .section-head h2,
.atlas-location-page .zone-faq .section-head h2 {
  color: #172231;
  font-size: clamp(2.15rem, 3.5vw, 3rem);
}

.atlas-location-page .atlas-sources-section .site-eyebrow,
.atlas-location-page .zone-featured .site-eyebrow,
.atlas-location-page .zone-map-section .site-eyebrow,
.atlas-location-page .zone-faq .site-eyebrow {
  color: #2686ca;
}

.atlas-location-page .atlas-source-list,
.atlas-location-page .atlas-source-list article {
  border-color: #dbe5ee;
}

.atlas-location-page .atlas-source-list strong {
  color: #172231;
}

.atlas-location-page .atlas-source-list span,
.atlas-location-page .atlas-source-list p {
  color: #66788b;
}

.atlas-location-page .atlas-source-list a {
  color: #176fae;
}

.atlas-location-page .zone-map-section {
  background: #edf5fb;
}

.atlas-location-page .zone-map-grid h2 {
  color: #172231;
  font-size: clamp(2.5rem, 4.2vw, 3.5rem);
}

.atlas-location-page .zone-map-grid p:not(.site-eyebrow) {
  color: #66788b;
}

.atlas-location-page .zone-map-grid iframe {
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(18, 59, 112, .14);
  filter: saturate(.88) contrast(.98);
}

.atlas-location-page .zone-faq details {
  border-color: #dbe5ee;
}

.atlas-location-page .zone-faq summary {
  color: #172231;
}

.atlas-location-page .zone-faq summary::after {
  color: #00a5ca;
}

.atlas-location-page .zone-faq details p {
  color: #66788b;
}

.atlas-location-page .zone-authority-section {
  background: #102742;
}

.atlas-location-page .zone-authority-copy h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.atlas-location-page .zone-authority-copy .site-eyebrow {
  color: #8fe6f4;
}

.atlas-location-page .zone-authority-team article,
.atlas-location-page .zone-authority-reviews blockquote {
  border: 1px solid rgba(126, 197, 244, .16);
  background: rgba(255, 255, 255, .075);
}

.atlas-location-page .zone-cta {
  border: 1px solid rgba(126, 197, 244, .18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 12%, rgba(126, 197, 244, .16), transparent 32%),
    #102742;
  box-shadow: 0 24px 64px rgba(19, 48, 78, .14);
}

.atlas-location-page .zone-cta .site-eyebrow {
  color: #8fe6f4;
}

.atlas-location-page .zone-cta h2 {
  font-size: clamp(2.1rem, 3.5vw, 3.2rem);
}

@media (max-width: 780px) {
  .atlas-location-page .atlas-guide-hero {
    min-height: 680px;
  }

  .atlas-location-page .atlas-guide-hero .zone-hero-shade {
    background: linear-gradient(0deg, rgba(6, 22, 39, .94) 0%, rgba(6, 22, 39, .68) 60%, rgba(6, 22, 39, .26) 100%);
  }

  .atlas-location-page .atlas-guide-nav nav a {
    background: #eef7fb;
    color: #123b70;
  }

  .atlas-location-page .atlas-knowledge-grid {
    scrollbar-color: rgba(31, 111, 159, .26) transparent;
  }

  .atlas-location-page .zone-hero-facts {
    gap: 8px;
  }

  .atlas-location-page .zone-cta {
    border-radius: 14px;
  }
}

/* Premium Atlas rhythm: natural card heights and photography throughout. */
.atlas-location-page .atlas-knowledge-grid article::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  width: 72px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #00a5ca, #7ec5f4);
}

.atlas-editorial-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(190, 213, 226, .9);
  border-radius: 14px;
  background: #dbe8f1;
  box-shadow: 0 20px 52px rgba(18, 59, 112, .12);
}

.atlas-editorial-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .65s ease;
}

.atlas-editorial-photo:hover img {
  transform: scale(1.025);
}

.atlas-editorial-photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(6, 22, 39, .84);
  color: #fff;
  font-size: .72rem;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.atlas-editorial-photo figcaption a {
  color: #8fe6f4;
}

.atlas-knowledge-photo {
  min-height: 360px;
  break-inside: avoid;
  margin-bottom: 16px;
}

.atlas-knowledge-photo img {
  object-position: 58% center;
}

.atlas-location-page .atlas-microareas-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.atlas-microarea-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .34;
  filter: saturate(.82) contrast(1.08);
}

.atlas-location-page .atlas-microareas-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 22, 39, .98) 0%, rgba(16, 39, 66, .92) 48%, rgba(16, 39, 66, .76) 100%),
    linear-gradient(0deg, rgba(6, 22, 39, .76), transparent 60%);
}

.atlas-decision-photo {
  min-height: 100%;
}

.atlas-decision-photo img {
  position: absolute;
  inset: 0;
  object-position: center 48%;
}

.atlas-location-page .atlas-sources-section {
  padding-bottom: clamp(54px, 6vw, 76px);
}

.atlas-location-page .zone-residential-featured {
  padding-bottom: clamp(58px, 7vw, 86px);
}

.atlas-faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}

.atlas-faq-photo {
  min-height: 500px;
}

.atlas-faq-photo img {
  object-position: center 72%;
}

.atlas-faq-list {
  align-self: center;
}

.atlas-location-page .zone-faq.atlas-faq-with-photo > .section-head {
  margin-bottom: 30px;
}

@media (min-width: 1051px) {
  .atlas-location-page .atlas-knowledge-grid {
    display: block;
    columns: 3;
    column-gap: 16px;
  }

  .atlas-location-page .atlas-knowledge-grid > article {
    width: 100%;
    display: inline-block;
    break-inside: avoid;
    margin: 0 0 16px;
  }

  .atlas-location-page .atlas-decisions-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(250px, .7fr);
    align-items: stretch;
  }
}

@media (min-width: 781px) and (max-width: 1050px) {
  .atlas-location-page .atlas-knowledge-grid {
    display: block;
    columns: 2;
    column-gap: 16px;
  }

  .atlas-location-page .atlas-knowledge-grid > article {
    width: 100%;
    display: inline-block;
    break-inside: avoid;
    margin: 0 0 16px;
  }

  .atlas-location-page .atlas-decisions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .atlas-decision-photo {
    grid-column: 1 / -1;
    min-height: 380px;
  }
}

@media (max-width: 780px) {
  .atlas-location-page .atlas-knowledge-grid {
    columns: auto;
    align-items: flex-start;
  }

  .atlas-location-page .atlas-knowledge-grid > article,
  .atlas-location-page .atlas-knowledge-grid > .atlas-knowledge-photo {
    flex: 0 0 min(78vw, 320px);
    margin: 0;
    scroll-snap-align: start;
  }

  .atlas-knowledge-photo {
    min-height: 360px;
  }

  .atlas-decision-photo {
    min-height: 390px;
  }

  .atlas-decision-photo img {
    position: static;
  }

  .atlas-faq-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .atlas-faq-photo {
    min-height: 290px;
  }

  .atlas-editorial-photo figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .atlas-microarea-backdrop {
    opacity: .27;
  }
}

/* Atlas editorial blend: the visual warmth of the classic zone guide with Atlas knowledge. */
.atlas-location-page {
  background: #f6f3ee;
  color: #17313a;
}

.atlas-location-page .atlas-guide-hero {
  min-height: min(700px, calc(100vh - 72px));
  background: #cddfe6;
}

.atlas-location-page .atlas-guide-hero > img {
  object-position: center 52%;
  filter: saturate(1.06) contrast(1.02) brightness(1.06);
}

.atlas-location-page .atlas-guide-hero .zone-hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 34, 43, .78) 0%, rgba(10, 34, 43, .4) 47%, rgba(255, 255, 255, .05) 100%),
    linear-gradient(0deg, rgba(10, 34, 43, .48), transparent 58%);
}

.atlas-location-page .atlas-guide-hero h1 {
  max-width: 850px;
  font-size: clamp(3rem, 5.7vw, 5.45rem);
  line-height: .98;
  letter-spacing: -.035em;
}

.atlas-location-page .atlas-guide-hero .site-eyebrow {
  color: #d9f4ff;
}

.atlas-location-page .zone-hero-facts {
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  background: rgba(255, 255, 255, .23);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.atlas-location-page .zone-hero-facts article {
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .13);
  box-shadow: none;
}

.atlas-location-page .zone-hero-facts strong {
  color: #fff;
}

.atlas-location-page .zone-hero-facts span {
  color: rgba(255, 255, 255, .84);
}

.atlas-location-page .atlas-guide-nav {
  position: relative;
  top: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  border-color: rgba(19, 52, 63, .1);
  background: rgba(246, 243, 238, .97);
  backdrop-filter: none;
}

.atlas-location-page .atlas-guide-nav nav a {
  color: #0d6d83;
}

.atlas-editorial-guide {
  display: grid;
  gap: clamp(36px, 4vw, 54px);
  padding-top: clamp(44px, 5vw, 68px);
  padding-bottom: clamp(46px, 5vw, 70px);
}

.atlas-editorial-chapter {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(360px, .94fr) minmax(0, 1.06fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: stretch;
}

.atlas-editorial-chapter.is-reversed .atlas-chapter-photo {
  order: 2;
}

.atlas-chapter-photo {
  min-height: 440px;
  isolation: isolate;
  overflow: visible;
  padding: 8px;
  border: 1px solid rgba(24, 73, 86, .16);
  border-radius: 9px;
  background: #fffdf8;
  box-shadow: 0 22px 58px rgba(20, 48, 62, .12);
}

.atlas-chapter-photo::before,
.atlas-decision-photo::before,
.atlas-faq-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14px -12px -12px 14px;
  border: 1px solid rgba(46, 151, 170, .2);
  border-radius: 7px;
  background: rgba(81, 183, 200, .17);
}

.atlas-editorial-chapter.is-reversed .atlas-chapter-photo::before {
  inset: 14px 14px -12px -12px;
}

.atlas-editorial-chapter:nth-child(3) .atlas-chapter-photo::before,
.atlas-faq-photo::before {
  border-color: rgba(183, 145, 78, .2);
  background: rgba(216, 185, 123, .2);
}

.atlas-chapter-photo img {
  border-radius: 5px;
  object-position: center;
}

.atlas-chapter-photo:hover img,
.atlas-decision-photo:hover img,
.atlas-faq-photo:hover img {
  transform: none;
}

.atlas-chapter-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 0;
  max-width: 660px;
}

.atlas-chapter-line {
  width: 38px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: #51b7c8;
}

.atlas-chapter-topic {
  padding: 0 0 26px;
}

.atlas-chapter-topic + .atlas-chapter-topic {
  padding-top: 28px;
  border-top: 1px solid rgba(19, 52, 63, .13);
}

.atlas-topic-number {
  margin: 0 0 8px;
  color: #0d8298;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.atlas-chapter-topic h2 {
  margin: 0 0 14px;
  color: #10343f;
  font-size: clamp(1.75rem, 2.8vw, 2.7rem);
  line-height: 1.08;
}

.atlas-chapter-topic > p:not(.atlas-topic-number),
.atlas-chapter-topic .atlas-more p {
  margin: 0;
  color: #52646b;
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  line-height: 1.66;
}

.atlas-chapter-topic .atlas-section-sources {
  margin-top: 14px;
  padding-top: 0;
  border: 0;
  font-size: .7rem;
}

.atlas-chapter-topic .atlas-more {
  margin-top: 12px;
}

.atlas-location-page .atlas-microareas-editorial {
  position: relative;
  isolation: auto;
  overflow: hidden;
  padding: clamp(54px, 6vw, 80px) 0;
  background: #e9f2f4;
}

.atlas-location-page .atlas-microareas-editorial::after {
  content: none;
}

.atlas-location-page .atlas-microareas-editorial::before,
.atlas-location-page .zone-map-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 38px;
  pointer-events: none;
  opacity: .32;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 40'%3E%3Cpath d='M0 20C80 2 160 38 240 20S400 2 480 20' fill='none' stroke='%2351b7c8' stroke-width='1.2'/%3E%3Cpath d='M0 29C80 11 160 47 240 29S400 11 480 29' fill='none' stroke='%23d8b97b' stroke-width='.8'/%3E%3C/svg%3E") repeat-x center top / 480px 40px;
}

.atlas-location-page .atlas-microareas-editorial > .public-shell,
.atlas-location-page .zone-map-section > .public-shell {
  position: relative;
  z-index: 1;
}

.atlas-heading-with-icon,
.atlas-decision-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.atlas-heading-with-icon {
  width: 100%;
}

.atlas-section-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(27, 113, 134, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .76);
  color: #0d8298;
  box-shadow: 0 12px 30px rgba(17, 83, 98, .08);
}

.atlas-section-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.atlas-heading-with-icon .site-eyebrow {
  margin-bottom: 4px;
}

.atlas-location-page .atlas-microareas-editorial .site-eyebrow {
  color: #0d8298;
}

.atlas-location-page .atlas-microareas-editorial h2 {
  color: #10343f;
}

.atlas-location-page .atlas-microareas-editorial .section-head p:not(.site-eyebrow) {
  color: #5d6c72;
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 30px;
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-tablist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-tablist button {
  position: relative;
  min-width: 0;
  min-height: 260px;
  display: grid;
  grid-template-rows: 190px 1fr;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(31, 72, 82, .12);
  border-radius: 8px;
  background: #fff;
  color: #10343f;
  box-shadow: 0 18px 44px rgba(17, 54, 66, .08);
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-tablist button img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, .72);
  outline-offset: -8px;
}

.atlas-area-index {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: rgba(10, 39, 50, .78);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 8px 22px rgba(7, 35, 46, .18);
  backdrop-filter: blur(8px);
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-tablist button span {
  display: flex;
  align-items: center;
  padding: 18px;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.3;
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-tablist button[aria-selected="true"] {
  border-color: #37a9bc;
  background: #fff;
  color: #10343f;
  box-shadow: 0 20px 48px rgba(17, 83, 98, .16);
  transform: translateY(-4px);
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-tablist button[aria-selected="true"] .atlas-area-index {
  border-color: rgba(255, 255, 255, .72);
  background: #0d8298;
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-panels article {
  min-height: 0;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(31, 72, 82, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 52px rgba(17, 54, 66, .08);
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-panels h3 {
  color: #10343f;
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-panels dl {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-panels dl > div {
  border-color: rgba(31, 72, 82, .14);
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-panels dt {
  color: #0d8298;
}

.atlas-location-page .atlas-microareas-editorial .atlas-microarea-panels dd {
  color: #52646b;
}

.atlas-microarea-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: -10px;
  font-size: .66rem;
}

.atlas-microarea-credits a,
.atlas-location-page .atlas-microareas-editorial .atlas-section-sources,
.atlas-location-page .atlas-microareas-editorial .atlas-section-sources a {
  color: #52727b;
}

.atlas-location-page .atlas-decisions-grid {
  gap: clamp(24px, 4vw, 52px);
  margin-top: clamp(50px, 6vw, 76px);
  margin-bottom: clamp(50px, 6vw, 76px);
}

.atlas-location-page .atlas-decisions-grid article,
.atlas-location-page .atlas-decisions-grid article:last-child {
  padding: 8px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.atlas-location-page .atlas-decisions-grid h2 {
  margin: 0;
  color: #10343f;
}

.atlas-decision-heading {
  margin-bottom: 20px;
}

.atlas-decision-heading .atlas-section-icon {
  width: 46px;
  height: 46px;
}

.atlas-decision-heading .atlas-section-icon svg {
  width: 24px;
  height: 24px;
}

.atlas-location-page .atlas-decisions-grid li {
  border-color: rgba(19, 52, 63, .13);
  color: #52646b;
}

.atlas-location-page .atlas-decision-photo {
  min-height: 420px;
  isolation: isolate;
  overflow: visible;
  padding: 8px;
  border: 1px solid rgba(24, 73, 86, .16);
  border-radius: 9px;
  background: #fffdf8;
}

.atlas-location-page .atlas-decision-photo img {
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border-radius: 5px;
}

.atlas-location-page .atlas-faq-photo {
  isolation: isolate;
  overflow: visible;
  padding: 8px;
  border: 1px solid rgba(24, 73, 86, .16);
  border-radius: 9px;
  background: #fffdf8;
}

.atlas-location-page .atlas-faq-photo img {
  border-radius: 5px;
}

.atlas-sources-compact {
  margin-bottom: clamp(64px, 8vw, 104px);
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(31, 72, 82, .13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(17, 54, 66, .07);
}

.atlas-source-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.atlas-source-intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.55rem) !important;
}

.atlas-source-intro > strong {
  color: #0d6d83;
  font-size: 1rem;
}

.atlas-sources-drawer {
  margin-top: 18px;
  border-top: 1px solid rgba(31, 72, 82, .12);
}

.atlas-sources-drawer > summary {
  width: fit-content;
  padding-top: 18px;
  color: #0d6d83;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.atlas-sources-drawer > summary::-webkit-details-marker {
  display: none;
}

.atlas-sources-drawer > summary::after {
  content: " +";
  color: #51b7c8;
}

.atlas-sources-drawer[open] > summary::after {
  content: " −";
}

.atlas-sources-drawer .atlas-source-list {
  margin-top: 18px;
}

.atlas-location-page .zone-residential-featured,
.atlas-location-page .zone-faq {
  background: #f6f3ee;
}

.atlas-location-page .zone-map-section {
  position: relative;
  background: #e9f2f4;
}

.atlas-location-page .zone-cta {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid rgba(123, 222, 238, .2);
  border-radius: 10px;
  background: linear-gradient(135deg, #102742 0%, #123b70 72%, #0e6f85 125%);
  box-shadow: 0 26px 64px rgba(16, 39, 66, .16);
}

.atlas-location-page .zone-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14px -10px -10px 14px;
  border: 1px solid rgba(183, 145, 78, .18);
  border-radius: 8px;
  background: rgba(216, 185, 123, .2);
}

.atlas-photo-credits {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(19, 52, 63, .12);
  color: #6c777b;
  font-size: .68rem;
  line-height: 1.45;
}

.atlas-photo-credits::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 96px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #51b7c8 0 64%, #d8b97b 64% 100%);
}

.atlas-photo-credits > strong {
  flex: 0 0 auto;
  color: #52646b;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.atlas-photo-credits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atlas-photo-credits a,
.atlas-photo-credits span {
  color: inherit;
}

@media (max-width: 1050px) {
  .atlas-editorial-chapter {
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
    gap: 38px;
  }

  .atlas-location-page .atlas-microareas-editorial .atlas-microarea-tablist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atlas-location-page .atlas-microareas-editorial .atlas-microarea-panels dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .atlas-location-page .atlas-guide-hero {
    min-height: 700px;
  }

  .atlas-location-page .atlas-guide-hero > img {
    object-position: 58% center;
  }

  .atlas-location-page .atlas-guide-hero .zone-hero-shade {
    background: linear-gradient(0deg, rgba(10, 34, 43, .92) 0%, rgba(10, 34, 43, .66) 58%, rgba(10, 34, 43, .2) 100%);
  }

  .atlas-location-page .atlas-guide-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .atlas-location-page .zone-hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .atlas-location-page .zone-hero-facts article {
    min-height: 92px;
    padding: 14px 10px;
  }

  .atlas-location-page .zone-hero-facts strong {
    font-size: clamp(1rem, 5vw, 1.35rem);
  }

  .atlas-location-page .zone-hero-facts span {
    font-size: .58rem;
    line-height: 1.25;
  }

  .atlas-location-page .atlas-guide-nav {
    display: block;
    padding: 11px 16px;
  }

  .atlas-editorial-guide {
    gap: 40px;
    padding: 42px 16px 52px;
  }

  .atlas-editorial-chapter {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .atlas-editorial-chapter.is-reversed .atlas-chapter-photo {
    order: 0;
  }

  .atlas-chapter-photo {
    min-height: 250px;
    padding: 5px;
  }

  .atlas-chapter-photo::before,
  .atlas-decision-photo::before,
  .atlas-faq-photo::before {
    inset: 9px -5px -5px 9px;
  }

  .atlas-editorial-chapter.is-reversed .atlas-chapter-photo::before {
    inset: 9px 9px -5px -5px;
  }

  .atlas-chapter-copy {
    max-width: none;
  }

  .atlas-chapter-line {
    margin-bottom: 18px;
  }

  .atlas-chapter-topic {
    padding-bottom: 22px;
  }

  .atlas-chapter-topic + .atlas-chapter-topic {
    padding-top: 23px;
  }

  .atlas-chapter-topic h2 {
    font-size: 1.85rem;
  }

  .atlas-location-page .atlas-microareas-editorial {
    padding: 48px 0 54px;
  }

  .atlas-heading-with-icon,
  .atlas-decision-heading {
    gap: 12px;
  }

  .atlas-section-icon {
    width: 42px;
    height: 42px;
  }

  .atlas-section-icon svg {
    width: 22px;
    height: 22px;
  }

  .atlas-location-page .atlas-microareas-editorial .atlas-microarea-tablist {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .atlas-location-page .atlas-microareas-editorial .atlas-microarea-tablist button {
    width: min(76vw, 280px);
    min-height: 250px;
    flex: 0 0 auto;
    grid-template-rows: 174px 1fr;
    scroll-snap-align: start;
  }

  .atlas-location-page .atlas-microareas-editorial .atlas-microarea-tablist button img {
    height: 174px;
  }

  .atlas-location-page .atlas-microareas-editorial .atlas-microarea-panels article {
    padding: 28px 22px;
  }

  .atlas-location-page .atlas-microareas-editorial .atlas-microarea-panels dl {
    grid-template-columns: 1fr;
  }

  .atlas-location-page .atlas-decisions-grid {
    display: grid;
    margin: 46px 16px 54px;
  }

  .atlas-location-page .atlas-decision-photo {
    min-height: 280px;
    padding: 5px;
  }

  .atlas-location-page .atlas-decision-photo img {
    inset: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
  }

  .atlas-location-page .atlas-faq-photo {
    padding: 5px;
  }

  .atlas-location-page .zone-cta::before {
    inset: 8px -5px -5px 8px;
  }

  .atlas-source-intro {
    display: grid;
    gap: 10px;
  }

  .atlas-sources-compact {
    margin: 0 16px 68px;
    padding: 24px 20px;
  }

  .atlas-photo-credits {
    display: grid;
    gap: 8px;
    margin: 8px 16px 22px;
  }
}
