/* FIVES Lifestyle — premium footer + Lokrio-style payment strip */
.ffs-footer {
  --ffs-ink: #1f1f1f;
  --ffs-muted: #6b7280;
  --ffs-line: #e8e4e0;
  --ffs-soft: #f7f5f3;
  --ffs-brand: #8b1e4f;
  --ffs-max: 72rem;
  margin-top: 3rem;
  background:
    linear-gradient(180deg, #faf8f6 0%, #f3f0ed 100%);
  border-top: 1px solid var(--ffs-line);
  color: var(--ffs-ink);
  font-family: Manrope, system-ui, sans-serif;
}

@media (min-width: 768px) {
  .ffs-footer { margin-top: 4rem; }
}

.ffs-main {
  max-width: var(--ffs-max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}

@media (min-width: 640px) {
  .ffs-main { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.ffs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
}

@media (min-width: 640px) {
  .ffs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .ffs-grid {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
}

.ffs-brand { grid-column: span 2; }
@media (min-width: 640px) { .ffs-brand { grid-column: span 3; } }
@media (min-width: 1024px) { .ffs-brand { grid-column: span 1; } }

.ffs-logo {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.85rem;
  background: transparent;
}

.ffs-about {
  max-width: 18rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(31, 31, 31, 0.68);
}

.ffs-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  margin-top: 1rem;
}

.ffs-social a {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(31, 31, 31, 0.55);
  text-decoration: none;
  transition: color 0.15s ease;
}

.ffs-social a:hover { color: var(--ffs-brand); }

.ffs-h {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ffs-ink);
}

.ffs-care,
.ffs-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: rgba(31, 31, 31, 0.7);
}

.ffs-care .ffs-legal {
  font-weight: 700;
  color: var(--ffs-ink);
}

.ffs-care .ffs-meta {
  font-size: 0.75rem;
  color: rgba(31, 31, 31, 0.5);
}

.ffs-care a,
.ffs-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ffs-care a:hover,
.ffs-links a:hover { color: var(--ffs-brand); }

.ffs-more {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(31, 31, 31, 0.55);
  white-space: pre-line;
}

/* Lokrio-style payment strip */
.ffs-strip {
  max-width: var(--ffs-max);
  margin: 0.5rem auto 0;
  padding: 0 1.25rem 1.75rem;
}

@media (min-width: 640px) {
  .ffs-strip { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.ffs-strip-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-height: 56px;
  padding: 10px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ffs-line);
  box-shadow: 0 1px 0 rgba(31, 31, 31, 0.03);
  box-sizing: border-box;
}

.ffs-pay-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 0 0 auto;
  padding-right: 14px;
  border-right: 1px solid var(--ffs-line);
}

.ffs-pay-label strong {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ffs-ink);
  white-space: nowrap;
}

.ffs-pay-secure {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #047857;
  white-space: nowrap;
}

.ffs-pay-logos {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.ffs-pay-stack {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.ffs-pay-divider {
  flex: 0 0 1px;
  width: 1px;
  height: 28px;
  background: var(--ffs-line);
}

.ffs-pay-logo {
  flex: 0 0 auto;
  width: 52px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e8edf3;
}

.ffs-pay-logo img {
  display: block;
  max-width: 46px;
  max-height: 18px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ffs-pay-logo--wide {
  width: 64px;
}

.ffs-pay-logo--wide img {
  max-width: 56px;
  max-height: 20px;
}

/* Bottom legal bar */
.ffs-bar {
  background: #1a1518;
  color: #a8a29e;
}

.ffs-bar-inner {
  max-width: var(--ffs-max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .ffs-bar-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.ffs-bar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.65rem;
  color: #78716c;
}

.ffs-bar-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 0.65rem;
  color: #57534e;
}

.ffs-bar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.ffs-bar-links a {
  color: #d6d3d1;
  text-decoration: none;
  font-weight: 600;
}

.ffs-bar-links a:hover { color: #fff; }

@media (max-width: 640px) {
  .ffs-strip-card {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ffs-pay-label {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-right: 0;
    padding-bottom: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--ffs-line);
  }

  .ffs-pay-logos {
    width: 100%;
  }
}
