/* Rixtar footer v2 - snippets/rixtar_footer.liquid */
.hf-footer {
  --hf-accent: var(--rx-accent);
  --hf-bg: var(--rx-dark);
  --hf-type: 1.15; /* same text scale as the homepage (hp_type_scale); the snippet overrides it inline */
  --hf-fs: calc(13.5px * var(--hf-type)); /* ONE font size for all footer text (titles differ by weight only); only the RIXTAR wordmark is 2x */
  position: relative;
  background: var(--hf-bg);
  color: var(--rx-on-dark-muted);
  border-top: 1px solid var(--rx-on-dark-line);
  padding: clamp(48px, 5vw, 72px) 0 clamp(36px, 4vw, 56px);
  font-size: var(--hf-fs);
  line-height: 1.6;
}
.hf-footer.has-toolbar { padding-bottom: 80px; }
.hf-footer *, .hf-footer *::before, .hf-footer *::after { box-sizing: border-box; }
.hf-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.hf-footer a:hover { color: var(--hf-accent); }
:where(.hf-footer) ul, :where(.hf-footer) p { margin-top: 0; }
.hf-footer ul { margin-bottom: 0; padding: 0; list-style: none; }
.hf-footer li, .hf-footer p { margin-bottom: 0; }

.hf-container { width: min(100% - (var(--rx-gutter) * 2), var(--rx-wrap)); margin-inline: auto; }

.hf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 40px clamp(32px, 5vw, 72px);
}

.hf-col__title { font-family: inherit; margin: 0 0 18px; font-size: var(--hf-fs); line-height: 1.3; font-weight: 800; color: #fff; }

/* brand */
.hf-brand__name { font-family: inherit; display: inline-block; padding: 4px 0; font-size: calc(var(--hf-fs) * 2); /* wordmark = 2x body size */ line-height: 1; font-weight: 800; letter-spacing: .02em; color: #fff !important; }
.hf-brand__logo img { display: block; max-height: 48px; width: auto; }
.hf-brand__tagline { margin-top: 8px; font-size: calc(var(--hf-fs) * 1.25); line-height: 1.35; font-weight: 500; color: #fff; }
.hf-brand__hl { color: var(--hf-accent); font-weight: 700; }
.hf-brand__bar { display: block; width: 64px; height: 4px; margin-top: 18px; background: var(--hf-accent); }
.hf-brand__desc { max-width: 340px; margin-top: 18px; font-size: var(--hf-fs); line-height: 1.7; color: var(--rx-on-dark-muted); }
.hf-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hf-social__link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--rx-on-dark-muted);
  border-radius: 50%;
  color: #fff !important;
  transition: background .2s, border-color .2s, color .2s;
}
.hf-social__link:hover { background: var(--hf-accent); border-color: var(--hf-accent); color: var(--rx-btn-txt) !important; }
.hf-social__ico { width: 18px; height: 18px; }

/* link columns */
.hf-links { display: flex; flex-direction: column; gap: 8px; }
.hf-links a { display: inline-block; font-size: var(--hf-fs); color: var(--rx-on-dark-muted); }

/* contact */
.hf-contact__list { display: flex; flex-direction: column; gap: 14px; }
.hf-contact__list li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--hf-fs); }
.hf-contact__list .hf-ico { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; color: var(--hf-accent); }
.hf-contact__list a, .hf-contact__list span { color: var(--rx-on-dark-muted); }

.hf-copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rx-on-dark-line); text-align: center; font-size: var(--hf-fs); color: var(--rx-on-dark-soft); }

@media (max-width: 991px) {
  .hf-social__link { width: 42px; height: 42px; }
  .hf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-brand { grid-column: 1 / -1; }
  .hf-brand__desc { max-width: 520px; }
}
@media (max-width: 575px) {
  .hf-links { gap: 2px; }
  .hf-links a { padding: 7px 0; }
  .hf-social__link { width: 44px; height: 44px; }
  .hf-contact__list a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  
  .hf-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .hf-contact { grid-column: 1 / -1; }
}
