/* ============================================================
   Aptomix — Footer CSS
   Enqueued by: Aptomix_Footer_Widget::get_style_depends()
   Google Fonts: enqueued globally via wp_enqueue_scripts
   ============================================================ */

/* ── Scoped reset ────────────────────────────────────────────── */
.aptomix-footer *,
.aptomix-footer *::before,
.aptomix-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Footer wrapper ──────────────────────────────────────────── */
.aptomix-footer {
  background: #0D1B2A;
  padding: 40px 0 32px;
  font-family: 'DM Sans', sans-serif;
}

/* ── Container ───────────────────────────────────────────────── */
.aptomix-footer__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

/* ── Brand (logo + tagline) ──────────────────────────────────── */
.aptomix-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aptomix-footer__logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.aptomix-footer__logo img {
  max-width: 130px;
  height: auto;
  display: block;
  /* Invert dark logos to white on the dark footer bg */
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.aptomix-footer__tagline {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  max-width: 260px;
}

/* ── Social icons ────────────────────────────────────────────── */
.aptomix-footer__social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.aptomix-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  color: rgba(255, 255, 255, 0.55);
}

.aptomix-footer__social-link:hover {
  background: rgba(0, 176, 240, 0.12);
  border-color: rgba(0, 176, 240, 0.35);
  color: #00B0F0;
}

/* SVG icon color — driven by currentColor */
.aptomix-footer__social-link svg {
  width: 18px;
  height: 18px;
  display: block;
  color: inherit;
}

/* YouTube inner play triangle is filled dark — keep as-is */
.aptomix-footer__social-link--youtube svg polygon {
  fill: #0D1B2A;
}

/* ── Copyright ───────────────────────────────────────────────── */
.aptomix-footer__copyright {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.40);
  text-align: right;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .aptomix-footer__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .aptomix-footer__copyright {
    text-align: left;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .aptomix-footer__container { padding: 0 20px; }
  .aptomix-footer             { padding: 32px 0 24px; }
}
