/**
 * AC Groups Polska — Branding Footer Styles
 * ──────────────────────────────────────────
 * Stylizacja sekcji brandingowej wstrzykiwanej przez ac-branding.js
 */

/* ─── Kontener główny ─── */
.ac-brand {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2147483647;
}

/* ─── Overlay — delikatnie wygasza skopiowane tło ─── */
.ac-brand__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ac-brand--dark .ac-brand__overlay {
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.ac-brand--light .ac-brand__overlay {
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

/* ─── Treść ─── */
.ac-brand__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Separator (cienka linia) ─── */
.ac-brand__separator {
  height: 1px;
  margin-bottom: 20px;
}

.ac-brand--dark .ac-brand__separator {
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 20%,
    rgba(255, 255, 255, 0.06) 80%,
    transparent 100%
  );
}

.ac-brand--light .ac-brand__separator {
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 20%,
    rgba(0, 0, 0, 0.08) 80%,
    transparent 100%
  );
}

/* ─── Wewnętrzny kontener (wycentrowany) ─── */
.ac-brand__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 0 20px;
}

/* ─── Link / wrapper logo ─── */
.ac-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: default;
}

a.ac-brand__link {
  cursor: pointer;
}

a.ac-brand__link:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

/* ─── Logo SVG ─── */
.ac-brand__logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.ac-brand__logo-svg {
  width: 100%;
  height: 100%;
}

.ac-brand--dark .ac-brand__logo-svg {
  color: rgba(255, 255, 255, 0.35);
}

.ac-brand--light .ac-brand__logo-svg {
  color: rgba(0, 0, 0, 0.3);
}

/* ─── Tekst ─── */
.ac-brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ac-brand__label {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ac-brand--dark .ac-brand__label {
  color: rgba(255, 255, 255, 0.25);
}

.ac-brand--light .ac-brand__label {
  color: rgba(0, 0, 0, 0.3);
}

.ac-brand__name {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ac-brand--dark .ac-brand__name {
  color: rgba(255, 255, 255, 0.4);
}

.ac-brand--light .ac-brand__name {
  color: rgba(0, 0, 0, 0.35);
}

/* ─── Responsywność ─── */
@media (max-width: 768px) {
  .ac-brand__inner {
    justify-content: center;
  }

  .ac-brand__content {
    padding: 0 16px;
  }

  .ac-brand__logo {
    width: 22px;
    height: 22px;
  }

  .ac-brand__name {
    font-size: 0.75rem;
  }

  .ac-brand__label {
    font-size: 0.5625rem;
  }
}
