/* Homepage brand/header/footer polish */

.figma-header {
  background: rgba(250, 249, 244, 0.97);
  border-bottom: 1px solid #d9d6cc;
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
}

.figma-header .row-header-inner {
  min-height: 82px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.figma-header .figma-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 250px;
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.figma-header .figma-logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.08);
}

.figma-header .figma-logo img {
  display: block;
  width: 205px !important;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.figma-header .figma-nav {
  gap: 8px;
  padding: 5px;
  border: 1px solid #e0ddd4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.figma-header .figma-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 11px;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.figma-header .figma-nav a.active,
.figma-header .figma-nav a:hover {
  background: #111111;
  color: #ffffff;
}

.figma-header .figma-nav a.active::after,
.figma-header .figma-nav a:hover::after {
  display: none;
}

.figma-header .header-cta {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  box-shadow: 3px 3px 0 #111111;
}

.figma-header .header-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #111111;
}

/* Footer */
.figma-footer.row-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #222222;
  background: #111111;
  color: #ffffff;
}

.figma-footer .row-footer-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
  background: #f5c400;
}

.figma-footer .row-footer-contact a {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 24px;
  border-right: 1px solid rgba(17, 17, 17, 0.18);
  color: #111111;
  text-decoration: none;
  transition: background 160ms ease;
}

.figma-footer .row-footer-contact a:last-child {
  border-right: 0;
}

.figma-footer .row-footer-contact a:hover {
  background: #ffd52f;
}

.figma-footer .row-footer-contact span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.figma-footer .row-footer-contact strong {
  font-size: 13px;
}

.figma-footer .row-footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 54px;
  padding-top: 58px;
  padding-bottom: 52px;
}

.figma-footer .row-footer-main > div:first-child {
  max-width: 330px;
  padding: 20px;
  border: 1px solid #343434;
  border-radius: 18px;
  background: #f7f7f3;
}

.figma-footer .row-footer-main .figma-logo {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  padding: 0;
  background: transparent;
}

.figma-footer .row-footer-main .figma-logo img {
  display: block;
  width: 220px !important;
  max-width: 100%;
  height: auto;
}

.figma-footer .row-footer-main > div:first-child p {
  margin: 18px 0 0;
  color: #66645d;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.8;
}

.figma-footer .row-footer-main h3 {
  margin: 0 0 15px;
  color: #f5c400;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.figma-footer .row-footer-main > div:not(:first-child) a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  text-decoration: none;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.figma-footer .row-footer-main > div:not(:first-child) a:hover {
  color: #f5c400;
  transform: translateX(3px);
}

.figma-footer .row-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #292929;
  padding: 18px 34px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .figma-header .figma-nav,
  .figma-header .header-cta {
    display: none;
  }

  .figma-header .figma-menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #d2cfc5;
    border-radius: 50%;
    background: #ffffff;
  }

  .figma-header .figma-logo img {
    width: 185px !important;
  }

  .figma-footer .row-footer-contact {
    grid-template-columns: 1fr;
  }

  .figma-footer .row-footer-contact a {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.16);
  }

  .figma-footer .row-footer-contact a:last-child {
    border-bottom: 0;
  }

  .figma-footer .row-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 38px;
  }

  .figma-footer .row-footer-main > div:first-child {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .figma-header .row-header-inner {
    min-height: 72px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .figma-header .figma-logo img {
    width: 165px !important;
  }

  .figma-footer .row-footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .figma-footer .row-footer-bottom {
    flex-direction: column;
    padding: 16px;
  }
}
