/* footer01 — layout referenced from dreamhub finance footer:
   dark 4-column footer (brand + social / contact / quick links / newsletter)
   + hairline bottom bar. Colours mapped to the tenant theme tokens. */

.footer01 {
  --f-bg: var(--color-text);
  --f-fg: var(--color-bg);
  --f-muted: color-mix(in srgb, var(--color-bg) 68%, transparent);
  --f-dim: color-mix(in srgb, var(--color-bg) 52%, transparent);
  --f-line: color-mix(in srgb, var(--color-bg) 14%, transparent);
  --f-field: color-mix(in srgb, var(--color-bg) 7%, transparent);

  background: var(--f-bg);
  color: var(--f-fg);
  padding: 4rem var(--page-pad) 1.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer01__inner {
  max-width: var(--content-max);
  margin-inline: auto;
}

.footer01__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
}

/* ---------- brand ---------- */
.footer01__brand {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 26rem;
}

.footer01__brand .footerlogo01 img {
  width: auto;
  height: 2rem;
}

.footer01__lead {
  color: var(--f-muted);
  max-width: 30ch;
}

.footer01__social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.footer01__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: var(--line) solid var(--f-line);
  border-radius: var(--radius-pill);
  color: var(--f-muted);
  transition: color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.footer01__social-link:hover,
.footer01__social-link:focus-visible {
  color: var(--f-bg);
  background: var(--f-fg);
  border-color: var(--f-fg);
  transform: translateY(-2px);
}

.footer01__social-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* ---------- column titles ---------- */
.footer01__col-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f-fg);
  margin-bottom: 1.15rem;
}

/* ---------- contact ---------- */
.footer01__contact {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.footer01__contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--f-dim);
  margin-bottom: 0.15rem;
}

.footer01__contact-value {
  display: inline-block;
  color: var(--f-muted);
  transition: color var(--t-fast) var(--ease);
}

a.footer01__contact-value:hover,
a.footer01__contact-value:focus-visible {
  color: var(--f-fg);
}

/* ---------- quick links (footernav01 forced to a vertical list) ---------- */
.footer01 .footernav01__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.7rem;
}

.footer01 .footernav01__link {
  display: inline-block;
  color: var(--f-muted);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.footer01 .footernav01__link:hover,
.footer01 .footernav01__link:focus-visible {
  color: var(--f-fg);
  transform: translateX(3px);
}

/* ---------- newsletter ---------- */
.footer01__news-text {
  color: var(--f-muted);
  max-width: 30ch;
  margin-bottom: 1.1rem;
}

.footer01__form {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  background: var(--f-field);
  border: var(--line) solid var(--f-line);
  border-radius: var(--radius-pill);
  transition: border-color var(--t-fast) var(--ease);
}

.footer01__form:focus-within {
  border-color: color-mix(in srgb, var(--color-bg) 44%, transparent);
}

.footer01__input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--f-fg);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.footer01__input::placeholder {
  color: var(--f-dim);
}

.footer01__submit {
  flex: 0 0 auto;
  background: var(--f-fg);
  color: var(--f-bg);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.05rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  transition: opacity var(--t-fast) var(--ease);
}

.footer01__submit:hover,
.footer01__submit:focus-visible {
  opacity: 0.84;
}

.footer01__note {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  color: var(--f-dim);
}

.footer01__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- bottom bar ---------- */
.footer01__bar {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-top: 1.5rem;
  border-top: var(--line) solid var(--f-line);
  font-size: 0.8rem;
  color: var(--f-dim);
}

.footer01 .footercopy01 {
  color: var(--f-dim);
}

.footer01__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.footer01__legal a {
  color: var(--f-dim);
  transition: color var(--t-fast) var(--ease);
}

.footer01__legal a:hover,
.footer01__legal a:focus-visible {
  color: var(--f-fg);
}

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .footer01__top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .footer01__brand,
  .footer01__news {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer01 {
    padding: 5rem var(--page-pad) 1.75rem;
  }

  .footer01__top {
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
    gap: 3rem 2.5rem;
    padding-bottom: 3.25rem;
  }

  .footer01__brand,
  .footer01__news {
    grid-column: auto;
  }

  .footer01__bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
