@layer components {
  .global-footer {
    position: relative;
    min-height: auto;
    overflow: hidden;
    color: var(--color-white);
    background: linear-gradient(160deg, #22242a 0%, #2b2e35 52%, #1d1f24 100%);
  }

  .global-footer__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .26;
    background:
      radial-gradient(circle at 12% 24%, rgb(253 239 124 / 12%), transparent 28%),
      linear-gradient(135deg, transparent 0 46%, rgb(255 255 255 / 3%) 46% 47%, transparent 47% 100%);
  }

  .global-footer__layout,
  .global-footer__bottom {
    position: relative;
    z-index: 1;
  }

  .global-footer__layout {
    display: grid;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 36px;
  }

  .global-footer__title {
    margin: 0 0 14px;
    color: var(--color-accent);
    font-size: clamp(26px, 6.4vw, 50px);
    line-height: 1.12;
    letter-spacing: -.03em;
  }

  .global-footer__description {
    max-width: 560px;
    margin: 0 0 18px;
    color: rgb(255 255 255 / 72%);
    font-size: clamp(14px, 1.05vw, 18px);
    line-height: 1.7;
  }

  .global-footer__contacts {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: rgb(255 255 255 / 84%);
    font-size: clamp(14px, 1.05vw, 18px);
    line-height: 1.55;
  }

  .global-footer__contacts a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
  }

  .global-footer__contacts svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .global-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
  }

  .global-footer__socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: rgb(255 255 255 / 88%);
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 5px;
    background: rgb(255 255 255 / 6%);
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
  }

  .global-footer__socials a:hover,
  .global-footer__socials a:focus-visible {
    color: var(--color-green-950);
    border-color: var(--color-accent);
    background: var(--color-accent);
  }

  .global-footer__socials svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .global-footer__social-play {
    fill: var(--color-green-900);
  }

  .global-footer__offices {
    display: grid;
    align-content: start;
    gap: 16px;
  }

  .global-footer__office {
    padding-top: 14px;
    border-top: 1px solid rgb(255 255 255 / 18%);
  }

  .global-footer__office strong {
    font-size: 15px;
  }

  .global-footer__office p {
    margin-top: 6px;
    color: rgb(255 255 255 / 70%);
    font-size: 13px;
    line-height: 1.5;
  }

  .global-footer__office a {
    display: inline-block;
    margin-top: 7px;
    color: var(--color-accent);
    font-size: 11px;
  }

  .global-footer__map {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 10%);
  }

  .global-footer__map img,
  .global-footer__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
    object-fit: cover;
  }

  .global-footer__map img {
    opacity: .6;
  }

  .global-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding-block: 13px max(13px, env(safe-area-inset-bottom));
    color: rgb(255 255 255 / 62%);
    text-align: center;
  }

  .global-footer__bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--container-inline);
    right: var(--container-inline);
    height: 1px;
    background: linear-gradient(90deg, rgb(253 239 124 / 52%), rgb(255 255 255 / 16%) 34%, rgb(255 255 255 / 6%) 100%);
  }

  .global-footer__copyright {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .075em;
    text-transform: uppercase;
  }

  .global-footer__copyright-mark {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    margin-right: 3px;
    color: var(--color-green-950);
    border-radius: 50%;
    background: var(--color-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .global-footer__copyright strong {
    color: var(--color-white);
    font-size: inherit;
    font-weight: 700;
    letter-spacing: .09em;
  }

  .global-footer__top {
    display: none;
  }

  @media (min-width: 768px) {
    .global-footer__layout {
      grid-template-columns: minmax(250px, .75fr) minmax(280px, .8fr) minmax(380px, 1.45fr);
      align-items: center;
      min-height: auto;
      gap: clamp(36px, 4vw, 80px);
      padding-top: 60px;
      padding-bottom: 44px;
    }

    .global-footer__offices {
      gap: 22px;
      padding-left: 34px;
      border-left: 1px solid rgb(255 255 255 / 16%);
    }

    .global-footer__office {
      padding-top: 18px;
    }

    .global-footer__office strong {
      font-size: clamp(14px, 1.1vw, 16px);
    }

    .global-footer__office p {
      margin-top: 8px;
      font-size: clamp(12px, .95vw, 14px);
      line-height: 1.55;
    }

    .global-footer__map {
      height: min(65vh, 650px);
      min-height: 330px;
    }

    .global-footer__map img,
    .global-footer__map iframe {
      min-height: 330px;
    }

    .global-footer__bottom {
      justify-content: space-between;
      gap: 24px;
      min-height: 52px;
      padding-block: 14px;
      text-align: left;
    }

    .global-footer__copyright {
      justify-content: flex-start;
    }

    .global-footer__top {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      min-height: 42px;
      padding: 4px 5px 4px 17px;
      color: rgb(255 255 255 / 86%);
      border: 1px solid rgb(255 255 255 / 22%);
      border-radius: var(--radius-pill);
      background: rgb(255 255 255 / 6%);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .055em;
      text-transform: uppercase;
      backdrop-filter: blur(10px);
      transition: color .25s ease, border-color .25s ease, background-color .25s ease, transform .25s var(--ease-out);
    }

    .global-footer__top i {
      display: grid;
      place-items: center;
      width: 32px;
      height: 32px;
      color: var(--color-green-950);
      border-radius: 50%;
      background: var(--color-accent);
      font-size: 15px;
      font-style: normal;
      line-height: 1;
      transition: transform .25s var(--ease-out);
    }

    .global-footer__top:hover,
    .global-footer__top:focus-visible {
      color: var(--color-white);
      border-color: rgb(253 239 124 / 58%);
      background: rgb(255 255 255 / 9%);
      transform: translateY(-2px);
    }

    .global-footer__top:hover i,
    .global-footer__top:focus-visible i {
      transform: translateY(-2px);
    }
  }

  @media (min-width: 1025px) {
    .global-footer__layout {
      padding-top: 72px;
      padding-bottom: 48px;
    }
  }
}

@layer components {
  .global-footer__legal {
    display: block;
    width: fit-content;
    color: rgb(255 255 255 / 70%);
    font-size: 13px;
  }
}


/* Prime Realty palette refinement v1.1.234 */
@layer components {
  .global-footer {
    background:
      radial-gradient(circle at 88% 12%, rgb(253 239 124 / 10%), transparent 28%),
      linear-gradient(160deg, #24262b 0%, #303238 54%, #1d1f24 100%);
  }
}

/* Footer title and CTA refinement v1.1.236 */
@layer components {
  .global-footer__company {
    min-width: 0;
  }

  .global-footer__title {
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: baseline;
    gap: .24em;
    max-width: 100%;
    white-space: nowrap;
  }

  .global-footer__title-prefix,
  .global-footer__title-name {
    display: inline;
  }

  .global-footer__title-prefix {
    color: rgb(253 239 124 / 96%);
  }

  .global-footer__title-name {
    white-space: nowrap;
  }

  .global-footer .button--accent {
    min-width: 168px;
  }

  .global-footer__socials a {
    background: linear-gradient(135deg, rgb(255 255 255 / 8%) 0%, rgb(255 255 255 / 4%) 100%);
    backdrop-filter: blur(8px);
  }

  .global-footer__socials a:hover,
  .global-footer__socials a:focus-visible {
    color: var(--color-cement-950);
    border-color: rgb(253 239 124 / 68%);
    background: linear-gradient(135deg, #fff8cd 0%, #fdef7c 48%, #dcc458 100%);
  }

  @media (min-width: 768px) {
    .global-footer__layout {
      grid-template-columns: minmax(300px, .92fr) minmax(280px, .8fr) minmax(380px, 1.38fr);
    }
  }

  @media (max-width: 767.98px) {
    .global-footer__title {
      font-size: clamp(20px, 6.4vw, 26px);
    }
  }
}

/* Prime Realty unified footer typography v1.1.238 */
@layer components {
  .global-footer__title {
    font-size: clamp(22px, 1.7vw, 28px);
    line-height: 1.18;
    letter-spacing: -.03em;
  }

  .global-footer__description,
  .global-footer__contacts {
    font-size: var(--text-body);
    line-height: var(--leading-body);
  }

  .global-footer__office strong {
    font-size: var(--text-h6);
    line-height: var(--leading-h6);
  }

  .global-footer__office p,
  .global-footer__legal {
    font-size: var(--text-small);
    line-height: var(--leading-small);
  }

  .global-footer__office a,
  .global-footer__copyright,
  .global-footer__top {
    font-size: var(--text-caption);
  }
}

/* Homepage footer viewport alignment v1.1.276 */
@layer components {
  @media (min-width: 1200px) {
    .global-footer--home {
      display: grid;
      grid-template-rows: minmax(0, 1fr) auto;
      min-height: 100vh;
      min-height: 100svh;
    }

    .global-footer--home .global-footer__layout {
      width: 100%;
      min-height: 0;
      align-content: center;
      padding-top: calc(var(--header-height) + 24px);
      padding-bottom: 24px;
    }

    .global-footer--home .global-footer__map {
      height: clamp(340px, 52svh, 560px);
      min-height: 0;
    }

    .global-footer--home .global-footer__map img,
    .global-footer--home .global-footer__map iframe {
      min-height: 0;
    }
  }
}
