/* About + contacts (makets About-Final / About-Mobile). */

.a-h2 { margin: 0; font-size: 38px; font-weight: 800; letter-spacing: -0.03em; }
.a-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; }
.a-head__link { font-weight: 800; text-decoration: none; }

/* hero */
.a-hero { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.a-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.a-title { margin: 0; font-size: 54px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.a-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.a-hero__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.a-hero__btns .btn--line { height: 52px; padding: 0 22px; border-radius: 14px; font-size: 16px; font-weight: 700; }
.a-stats { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.a-stats--1 { grid-template-columns: minmax(0, 1fr); max-width: 320px; }
.a-stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.a-stat span { display: block; font-size: 13px; color: var(--muted); }
.a-stat strong { font-size: 28px; font-weight: 800; }

/* promises */
.a-promises { background: var(--ink); color: #fff; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.a-promises h2 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.a-promises__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.a-promise { background: #0B2240; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.a-promise__check { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.a-promise__body { display: flex; flex-direction: column; gap: 8px; }
.a-promise strong { font-weight: 800; font-size: 17px; }
.a-promise__body span { color: #C8D3E0; font-size: 14px; line-height: 1.5; }

/* team (admin section "Agents") */
.a-team { padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.a-team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.a-member { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.a-member__photo { height: 240px; background: var(--line); display: flex; align-items: center; justify-content: center; }
.a-member__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a-member__photo span { font-size: 44px; font-weight: 800; color: var(--muted); }
.a-member__text { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.a-member__text strong { font-weight: 800; font-size: 18px; }
.a-member__text span { color: var(--muted); font-size: 14px; }

/* recently sold */
.a-sold { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.a-sold .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.a-table { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.a-table__row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--bg-soft); align-items: center; }
.a-table__row:first-child { border-top: 0; }
.a-table__row--head { padding: 12px 20px; background: var(--bg-soft); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.a-table__home { display: flex; gap: 12px; align-items: center; min-width: 0; }
.a-table__home > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.a-table__thumb { width: 56px; height: 40px; flex: none; border-radius: 8px; background: #B9D0D6; overflow: hidden; }
.a-table__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a-table__home strong { font-weight: 700; }
.a-table__price { font-weight: 800; }

/* reviews */
.a-reviews { padding-top: 64px; display: flex; flex-direction: column; gap: 24px; }
.a-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.a-reviews .review { border-radius: 22px; }

/* contact */
.a-contact { padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 80px; }
.a-contact__intro { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.a-contact__title { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.a-contact__intro p { margin: 0; font-size: 18px; color: var(--muted); line-height: 1.6; }
.a-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.a-channel { border-radius: 22px; padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; color: #fff; }
.a-channel:hover { color: #fff; filter: brightness(1.06); }
.a-channel .ico { width: 24px; height: 24px; }
.a-channel strong { font-weight: 800; font-size: 20px; }
.a-channel span { font-size: 14px; opacity: .9; }
.a-channel--wa { background: var(--wa); }
.a-channel--ms { background: var(--messenger); }
.a-channel--ms span { opacity: 1; }  /* white at .9 on the Messenger blue was under 4.5:1 */
.a-channel--call { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.a-channel--call:hover { color: var(--ink); border-color: var(--line-2); filter: none; }
.a-channel--call span { color: var(--muted); opacity: 1; }
.a-channel--video { background: var(--ink); }

.a-duo { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.a-form { flex: 1 1 520px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.a-form__title { margin: 0; font-size: 26px; font-weight: 800; }
.a-topics { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.a-topic input { position: absolute; opacity: 0; pointer-events: none; }
.a-topic span { height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; text-align: center; padding: 0 6px; }
.a-topic input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.a-topic input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.a-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.a-form .field input, .a-form .field select { height: 48px; }
.a-form textarea { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font: 500 15px var(--font); color: var(--ink); resize: vertical; }
.a-form textarea:focus { border-color: var(--link); outline: 2px solid rgba(0, 102, 255, .2); }
.a-form__send { height: 52px; border-radius: 14px; font-size: 16px; font-weight: 800; }

.a-office { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.a-map { flex-grow: 1; min-height: 300px; border-radius: 28px; overflow: hidden; background: #DCEBEF; z-index: 0; }
.a-office__card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.a-office__card strong { font-weight: 800; font-size: 18px; }
.a-office__addr { color: var(--ink-2); }
.a-office__hours { color: var(--ink-2); font-size: 14px; }
.a-office__mail { color: var(--muted); font-size: 14px; text-decoration: none; }
.a-office__social { display: flex; gap: 8px; margin-top: 6px; }
.a-office__social a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.a-office__social .ico { width: 18px; height: 18px; }
.office-pin { background: var(--ink); color: #fff; font: 800 13px var(--font); padding: 8px 12px; border-radius: 10px; white-space: nowrap; transform: translate(-50%, -100%); display: inline-block; box-shadow: 0 4px 12px rgba(0, 18, 41, .3); }
.leaflet-div-icon.office-pin-wrap { background: none; border: none; }

@media (max-width: 1080px) {
  .a-promises__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .page-about .bottom-bar { display: none; }
  .a-h2 { font-size: 22px; letter-spacing: -0.01em; }

  .a-hero { padding-top: 16px; padding-bottom: 0; gap: 16px; }
  .a-hero__text { flex: 1 1 100%; gap: 10px; }
  .a-title { font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; }
  .a-lead { font-size: 16px; line-height: 1.5; }
  .a-stats { flex: 1 1 100%; gap: 10px; }
  .a-stats--1 { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-stat { padding: 14px; border-radius: 16px; }
  .a-stat strong { font-size: 22px; }

  .a-promises { margin-top: 20px; margin-bottom: 0; padding: 18px; border-radius: 22px; gap: 14px; }
  .a-promises h2 { font-size: 20px; }
  .a-promises__grid { grid-template-columns: 1fr; gap: 14px; }
  .a-promise { background: none; padding: 0; flex-direction: row; gap: 12px; }
  .a-promise__check { width: 26px; height: 26px; border-radius: 8px; font-size: 14px; }
  .a-promise__body { gap: 2px; }
  .a-promise strong { font-size: 16px; }
  .a-promise__body span { font-size: 13px; }

  .a-team { padding-top: 28px; padding-bottom: 0; gap: 12px; }
  .a-team__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .a-member { border-radius: 18px; }
  .a-member__photo { height: 120px; }
  .a-member__photo span { font-size: 30px; }
  .a-member__text { padding: 12px 14px 14px; gap: 2px; }
  .a-member__text strong { font-size: 15px; }
  .a-member__text span { font-size: 12px; }
  .a-sold { background: none; border: 0; }
  .a-sold .wrap { padding-top: 28px; padding-bottom: 0; gap: 12px; }
  .a-table { border-radius: 18px; }
  .a-table__row { grid-template-columns: minmax(0, 1fr) auto; padding: 12px; }
  .a-table__thumb { width: 48px; height: 36px; }
  .a-table__home strong { font-size: 14px; }
  .a-table__place { font-size: 12px; color: var(--muted); }
  .a-table__price { font-size: 14px; }

  .a-reviews { padding-top: 20px; gap: 0; }
  .a-reviews .review { padding: 18px; }

  .a-contact { padding-top: 28px; padding-bottom: 28px; gap: 12px; }
  .a-contact__title { font-size: 22px; letter-spacing: -0.01em; }
  .a-channels { grid-template-columns: 1fr 1fr; gap: 8px; }
  .a-channel { height: 64px; padding: 0 12px; border-radius: 16px; align-items: center; justify-content: center; }
  .a-channel strong { font-size: 16px; }
  .a-duo { flex-direction: column; gap: 12px; }
  .a-form { flex: none; padding: 16px; border-radius: 20px; gap: 12px; }
  .a-form__grid { grid-template-columns: 1fr; }
  .a-office { flex: none; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
  .a-map { flex-grow: 0; min-height: 0; height: 140px; border-radius: 0; }
  .a-office__card { border: 0; border-radius: 0; padding: 14px 16px; gap: 2px; }
  .a-office__addr { color: var(--ink); font-weight: 800; font-size: 14px; }
  .a-office__mail { font-size: 14px; }
}
